/* ==========================================================================
   ПСИХОЛОГИЧЕСКОЕ ПРОСТРАНСТВО «ОТ ВНУТРЕННЕГО ХАОСА К АВТОРСТВУ ЖИЗНИ»
   Палитра концепции бренда:
     Молочный   #F2EBDD
     Песочный   #D8C6AD
     Оливковый  #899078
     Лесной     #344638
     Лавандовый #D6C4DA
   ========================================================================== */

:root {
  --bg-milk: #F2EBDD;
  --bg-milk-alt: #EBE2D0;
  --bg-paper: #FAF6EE;
  --bg-white: #FFFDF8;

  --sand: #D8C6AD;
  --sand-soft: rgba(216, 198, 173, 0.35);
  --olive: #899078;
  --olive-soft: rgba(137, 144, 120, 0.16);
  --olive-ink: #5A624B;
  --forest: #344638;
  --forest-deep: #253328;
  --forest-soft: rgba(52, 70, 56, 0.08);
  --lavender: #D6C4DA;
  --lavender-soft: rgba(214, 196, 218, 0.42);
  --lavender-ink: #644E6B;

  --ink-primary: #242D26;
  --ink-secondary: #4C564E;
  --ink-muted: #6C756D;

  --border-sand: rgba(137, 144, 120, 0.24);
  --border-strong: rgba(52, 70, 56, 0.22);

  --shadow-sm: 0 4px 16px rgba(52, 70, 56, 0.06);
  --shadow-md: 0 12px 32px rgba(52, 70, 56, 0.09);
  --shadow-lg: 0 22px 54px rgba(52, 70, 56, 0.14);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-full: 999px;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --t-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --t-norm: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-milk);
  color: var(--ink-primary);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-block {
  padding: 88px 0;
  position: relative;
}

.section-milk-alt {
  background-color: var(--bg-milk-alt);
  border-top: 1px solid var(--border-sand);
  border-bottom: 1px solid var(--border-sand);
}

.section-paper {
  background-color: var(--bg-paper);
  background-image:
    radial-gradient(circle at 8% 18%, rgba(137, 144, 120, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 92% 82%, rgba(214, 196, 218, 0.14) 0%, transparent 42%);
  border-top: 1px solid var(--border-sand);
  border-bottom: 1px solid var(--border-sand);
}

/* Индикатор прокрутки */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--olive), var(--forest), var(--lavender));
  transform-origin: left center;
  transform: scaleX(0);
  z-index: 1200;
  pointer-events: none;
}

/* Типографика заголовков */
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 44px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 5px 15px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow-olive {
  background: var(--olive-soft);
  color: var(--olive-ink);
  border: 1px solid rgba(137, 144, 120, 0.25);
}

.eyebrow-sand {
  background: var(--sand-soft);
  color: var(--forest);
  border: 1px solid rgba(216, 198, 173, 0.6);
}

.eyebrow-lavender {
  background: var(--lavender-soft);
  color: var(--lavender-ink);
  border: 1px solid rgba(214, 196, 218, 0.65);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--forest);
  margin-bottom: 14px;
}

.section-title span {
  font-style: italic;
  color: var(--olive-ink);
}

.section-desc {
  color: var(--ink-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
}

.section-desc--left {
  text-align: left;
  margin-bottom: 24px;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

.btn-forest {
  background: var(--forest);
  color: var(--bg-white);
  box-shadow: 0 8px 20px rgba(52, 70, 56, 0.2);
}

.btn-forest:hover {
  background: var(--forest-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(52, 70, 56, 0.26);
}

.btn-sand {
  background: var(--bg-paper);
  color: var(--forest);
  border: 1px solid var(--sand);
}

.btn-sand:hover {
  background: var(--sand-soft);
  border-color: var(--olive);
  transform: translateY(-2px);
}

.btn-outline-forest {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--border-strong);
}

.btn-outline-forest:hover {
  background: var(--forest-soft);
  border-color: var(--forest);
  transform: translateY(-1px);
}

.btn-text-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--olive-ink);
  padding: 8px 4px;
  transition: color var(--t-fast), transform var(--t-fast);
}

.btn-text-link:hover {
  color: var(--forest);
  transform: translateX(3px);
}

/* 1. ШАПКА */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 235, 221, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-norm), border-color var(--t-norm), box-shadow var(--t-norm);
}

.header.scrolled {
  background: rgba(250, 246, 238, 0.95);
  border-bottom-color: var(--border-sand);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--sand);
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--forest);
  transition: width var(--t-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  transition: background-color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.theme-toggle:hover {
  border-color: var(--forest);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-only {
  display: none;
}

@media (max-width: 1140px) {
  .menu-toggle {
    display: flex;
  }

  .nav-mobile-only {
    display: block;
    margin-top: 8px;
  }

  .nav-link--cta {
    color: var(--forest);
    font-weight: 700;
  }

  .nav-list {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: var(--bg-paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 24px 28px;
    gap: 14px;
    border-bottom: 1px solid var(--border-sand);
    box-shadow: var(--shadow-lg);
    transition: transform var(--t-fast), opacity var(--t-fast), visibility var(--t-fast);
    z-index: 999;
  }

  .nav-list.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
  }
}

@media (max-width: 540px) {
  .container {
    padding: 0 16px;
  }

  .section-block {
    padding: 64px 0;
  }

  .btn-header-cta {
    display: none;
  }

  .brand-name {
    font-size: 1.12rem;
  }
}

/* 2. ГЛАВНЫЙ ЭКРАН */
.hero-section {
  padding: 28px 0 60px;
  background:
    radial-gradient(circle at 12% 15%, rgba(214, 196, 218, 0.34) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(137, 144, 120, 0.18) 0%, transparent 45%),
    var(--bg-milk);
}

.hero-top {
  max-width: 960px;
  margin: 0 auto 22px;
  text-align: center;
}

.hero-state-pill {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest);
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  max-width: 100%;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.05rem, 3.8vw, 3.05rem);
  font-weight: 600;
  line-height: 1.08;
  color: var(--forest);
  margin-bottom: 10px;
}

.hero-title span {
  font-style: italic;
  color: var(--olive-ink);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 10px;
}

.hero-lead {
  color: var(--ink-secondary);
  max-width: 660px;
  margin: 0 auto 20px;
  font-size: 0.98rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.hero-banner-frame {
  max-width: 920px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 5px solid var(--bg-paper);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--sand);
  background: var(--bg-paper);
}

.hero-banner-img {
  width: 100%;
  height: auto;
}

/* 3. ВОЗРАСТНАЯ АДАПТАЦИЯ И НАПРАВЛЕНИЯ */
.age-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.age-switcher-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.age-pills {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
  gap: 6px;
  padding: 5px;
  background: var(--bg-paper);
  border-radius: 22px;
  border: 1px solid var(--sand);
}

.age-pill {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.age-pill.active {
  background: var(--forest);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.age-pills--compact .age-pill {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 960px) {
  .directions-grid {
    grid-template-columns: 1fr;
  }
}

.direction-card {
  min-width: 0;
  background: var(--bg-paper);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-norm), box-shadow var(--t-norm), border-color var(--t-norm);
}

.direction-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--olive);
}

.direction-card--olive { border-top: 4px solid var(--olive); }
.direction-card--sand { border-top: 4px solid var(--sand); }
.direction-card--lavender { border-top: 4px solid var(--lavender); }

.dir-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-milk);
  border-bottom: 1px solid var(--border-sand);
}

.dir-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.direction-card:hover .dir-cover-img {
  transform: scale(1.045);
}

.dir-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  min-width: 38px;
  height: 34px;
  padding: 0 11px;
  border-radius: var(--radius-full);
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--sand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest);
  box-shadow: var(--shadow-sm);
}

.dir-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.modal-dir-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--sand);
  margin-bottom: 18px;
  background: var(--bg-milk);
}

.modal-dir-visual img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.dir-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
  margin-bottom: 12px;
}

.dir-question {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--forest);
  padding: 12px 14px;
  background: var(--bg-milk);
  border-left: 3px solid var(--olive);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 16px;
}

.dir-card--lavender-q {
  border-left-color: var(--lavender-ink);
}

.dir-focus {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 16px;
}

.dir-sample-box {
  background: var(--bg-white);
  border: 1px dashed var(--sand);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.875rem;
  color: var(--ink-primary);
  margin-bottom: 20px;
}

.dir-sample-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--olive-ink);
  margin-bottom: 4px;
}

.dir-actions {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-sand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.card-action-btn {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest);
  transition: color var(--t-fast), transform var(--t-fast);
}

.card-action-btn:hover {
  color: var(--olive-ink);
  transform: translateX(3px);
}

.dir-workshop-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--lavender-ink);
}

.dir-workshop-link:hover {
  text-decoration: underline;
}

/* 4. ТВОРЧЕСКАЯ МАСТЕРСКАЯ */
.separation-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  margin: 22px auto 0;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-milk);
  border: 1px solid var(--sand);
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.separation-notice a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
}

.separation-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.workshop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.workshop-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ws-tab {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: var(--bg-milk);
  border: 1px solid var(--sand);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.ws-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.ws-tab.active {
  background: var(--forest);
  color: var(--bg-white);
  border-color: var(--forest);
  box-shadow: var(--shadow-sm);
}

.ws-panel[hidden] {
  display: none;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.filter-bar--center {
  justify-content: center;
}

.filter-chip {
  padding: 7px 15px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--sand);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.filter-chip:hover {
  border-color: var(--olive);
  color: var(--forest);
}

.filter-chip.active {
  background: var(--olive);
  color: var(--bg-white);
  border-color: var(--olive);
}

/* Исследовательская карта */
.deck-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.research-card-scene {
  position: relative;
  perspective: 1200px;
  width: min(460px, 100%);
  min-height: 465px;
  margin-bottom: 28px;
}

.research-card-scene::before,
.research-card-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  border: 1.5px solid var(--sand);
  z-index: 1;
}

.research-card-scene::before {
  background: linear-gradient(155deg, #2B3B2E 0%, #1F2B21 100%);
  transform: translate(-8px, 6px) rotate(-2deg);
  opacity: 0.45;
}

.research-card-scene::after {
  background: linear-gradient(155deg, #324436 0%, #243227 100%);
  transform: translate(7px, 4px) rotate(1.6deg);
  opacity: 0.72;
}

@media (max-width: 540px) {
  .research-card-scene::before {
    transform: translate(-4px, 4px) rotate(-1.2deg);
  }
  .research-card-scene::after {
    transform: translate(4px, 3px) rotate(1deg);
  }
}

.research-card-flipper {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 465px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  cursor: pointer;
}

.research-card-scene.is-drawing .research-card-flipper {
  animation: deckCardPop 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes deckCardPop {
  0% { transform: scale(0.97) translateY(6px); opacity: 0.85; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.research-card-flipper.flipped {
  transform: rotateY(180deg);
}

.research-face {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

@media (max-width: 540px) {
  .research-card-scene,
  .research-card-flipper {
    min-height: 520px;
  }

  .research-face {
    padding: 22px 18px;
  }

  .back-title {
    font-size: 1.38rem;
  }

  .back-prompts li {
    font-size: 0.875rem;
    line-height: 1.44;
  }
}

.research-front {
  background:
    radial-gradient(circle at 20% 20%, rgba(214, 196, 218, 0.25), transparent 55%),
    linear-gradient(155deg, var(--forest) 0%, #27372B 100%);
  color: var(--bg-white);
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 2px solid var(--sand);
}

.card-dir-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(242, 235, 221, 0.16);
  color: var(--sand);
  margin-bottom: 22px;
}

.card-front-symbol {
  font-size: 3.4rem;
  margin-bottom: 16px;
}

.card-front-art {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 1.5px solid rgba(216, 198, 173, 0.7);
  background: rgba(250, 246, 238, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.card-front-art--self {
  background: radial-gradient(circle at 30% 30%, rgba(169, 178, 150, 0.45), rgba(137, 144, 120, 0.25));
}

.card-front-art--relations {
  background: radial-gradient(circle at 30% 30%, rgba(214, 196, 218, 0.45), rgba(176, 154, 182, 0.25));
}

.card-front-art--choice {
  background: radial-gradient(circle at 30% 30%, rgba(232, 216, 192, 0.48), rgba(216, 198, 173, 0.28));
}

.card-front-mini-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3.1rem;
  line-height: 1;
}

.card-front-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 12px;
}

.card-front-hint {
  font-size: 0.9rem;
  color: rgba(242, 235, 221, 0.78);
}

.research-back {
  background: var(--bg-white);
  border: 1.5px solid var(--sand);
  transform: rotateY(180deg);
  overflow-y: auto;
  text-align: left;
  justify-content: space-between;
}

.back-dir-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--olive-soft);
  color: var(--olive-ink);
  margin-bottom: 10px;
}

.back-title {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 6px;
}

.back-metaphor {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--ink-muted);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-sand);
}

.back-prompts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.back-prompts li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-primary);
  line-height: 1.48;
}

.back-prompts li::before {
  content: '•';
  position: absolute;
  left: 4px;
  color: var(--olive-ink);
  font-weight: 700;
}

.back-hint {
  background: var(--bg-milk);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.84rem;
  color: var(--forest);
}

.deck-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.deck-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* Рабочие листы */
.worksheet-sheet {
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .worksheet-sheet {
    padding: 22px 18px;
  }
}

.ws-sheet-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-sand);
}

.ws-sheet-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--forest);
  margin: 6px 0;
}

.ws-sheet-desc {
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.ws-time-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--lavender-soft);
  color: var(--lavender-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.ws-fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.ws-field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-primary);
  margin-bottom: 8px;
}

.ws-textarea {
  width: 100%;
  min-height: 92px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand);
  background: var(--bg-paper);
  resize: vertical;
  transition: border-color var(--t-fast), background-color var(--t-fast);
}

.ws-textarea:focus {
  border-color: var(--forest);
  background: var(--bg-white);
  outline: none;
}

.ws-sheet-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border-sand);
}

.ws-privacy-note {
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.ws-sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Подборки вопросов */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .questions-grid {
    grid-template-columns: 1fr;
  }
}

.qset-card,
.atlas-card,
.note-card,
.individual-media,
.individual-content,
.booking-info,
.booking-form-card {
  min-width: 0;
}

.qset-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.qset-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--olive);
}

.qset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qset-head .eyebrow {
  margin-bottom: 0;
}

.qset-icon,
.pricing-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--olive-soft);
  color: var(--forest);
  flex-shrink: 0;
}

.qset-icon svg,
.pricing-icon svg {
  width: 17px;
  height: 17px;
}

.qset-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
  margin: 8px 0 16px;
}

.qset-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.qset-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.qset-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 700;
}

.qset-copy-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Атлас сигналов чувств */
.atlas-intro {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.atlas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 960px) {
  .atlas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .atlas-grid {
    grid-template-columns: 1fr;
  }
}

.atlas-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.atlas-card--olive {
  border-top: 3px solid var(--olive);
  background: linear-gradient(155deg, rgba(137, 144, 120, 0.11) 0%, rgba(250, 246, 238, 0.72) 100%), var(--bg-white);
}
.atlas-card--sand {
  border-top: 3px solid var(--sand);
  background: linear-gradient(155deg, rgba(216, 198, 173, 0.22) 0%, rgba(250, 246, 238, 0.75) 100%), var(--bg-white);
}
.atlas-card--lavender {
  border-top: 3px solid var(--lavender);
  background: linear-gradient(155deg, rgba(214, 196, 218, 0.22) 0%, rgba(250, 246, 238, 0.75) 100%), var(--bg-white);
}

.atlas-cover {
  margin: -6px -6px 6px;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-sand);
  background: var(--bg-milk);
}

.atlas-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-norm);
}

.atlas-card:hover .atlas-cover img {
  transform: scale(1.03);
}

.atlas-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--forest);
}

.atlas-signal {
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.atlas-cue {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.atlas-question {
  margin-top: auto;
  padding: 12px 14px;
  background: rgba(242, 235, 221, 0.75);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--forest);
  font-weight: 500;
}

/* 5. ПУБЛИКАЦИИ-ИНСТРУМЕНТЫ */
.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }
}

.note-card {
  background: var(--bg-paper);
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform var(--t-norm), box-shadow var(--t-norm), border-color var(--t-norm);
}

.note-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--olive);
}

.note-cover {
  margin: -6px -6px 14px;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-sand);
  background: var(--bg-milk);
}

.note-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-norm);
}

.note-card:hover .note-cover img {
  transform: scale(1.035);
}

.modal-note-cover {
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-sand);
  background: var(--bg-milk);
}

.modal-note-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.note-dir-pill {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--olive-soft);
  color: var(--olive-ink);
  font-weight: 700;
}

.note-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--forest);
  margin-bottom: 10px;
}

.note-excerpt {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  margin-bottom: 18px;
}

.note-action-preview {
  margin-top: auto;
  padding: 12px 14px;
  background: var(--bg-milk);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.note-action-preview strong {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--olive-ink);
  margin-bottom: 4px;
}

.note-read-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--forest);
}

/* 6. ИНДИВИДУАЛЬНАЯ РАБОТА С ПСИХОЛОГОМ */
.individual-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .individual-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.individual-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--bg-white);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--sand);
  background: var(--bg-milk);
}

.individual-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.individual-lead {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--forest);
  margin-bottom: 12px;
}

.individual-text {
  color: var(--ink-secondary);
  margin-bottom: 24px;
}

.individual-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.fact-row {
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.fact-row--interactive {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.fact-row--interactive:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--forest);
}

.fact-diplom-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--olive-soft);
  border: 1px solid rgba(137, 144, 120, 0.25);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-diplom-icon svg {
  width: 34px;
  height: 34px;
}

.fact-diplom-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.fact-action-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--sand-soft);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--forest);
  transition: background-color var(--t-fast), color var(--t-fast);
}

.fact-row--interactive:hover .fact-action-hint {
  background: var(--forest);
  color: var(--bg-white);
}

.fact-row-text {
  display: block;
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.fact-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--olive-ink);
  margin-bottom: 4px;
}

.fact-row p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.individual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Блок стоимости встреч */
.pricing-block {
  margin-top: 46px;
  padding-top: 38px;
  border-top: 1px solid var(--border-sand);
}

.pricing-head {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: var(--forest);
  margin-top: 8px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
}

.pricing-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.25;
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-sand);
}

.pricing-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pricing-item-name {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.pricing-item-name small {
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.pricing-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--forest);
  white-space: nowrap;
  margin-left: auto;
}

/* 7. ЗАПИСЬ И КОНТАКТЫ */
.booking-shell {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

@media (max-width: 900px) {
  .booking-shell {
    grid-template-columns: 1fr;
  }
}

.contact-cards {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-cards li {
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.contact-label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}

.contact-cards a,
.contact-cards strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
}

.contact-links-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.contact-links-inline a:hover {
  text-decoration: underline;
}

.booking-form-card {
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

@media (max-width: 600px) {
  .booking-form-card {
    padding: 24px 18px;
  }
}

.form-row {
  margin-bottom: 16px;
}

.form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 560px) {
  .form-split {
    grid-template-columns: 1fr;
  }
}

.field-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 6px;
}

.field-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--sand);
  background: var(--bg-white);
  transition: border-color var(--t-fast);
}

.field-input:focus {
  border-color: var(--forest);
  outline: none;
}

.field-textarea {
  min-height: 92px;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  margin-bottom: 20px;
}

.form-consent input {
  margin-top: 3px;
  accent-color: var(--forest);
}

.form-consent a {
  color: var(--forest);
  text-decoration: underline;
}

.form-note {
  margin-top: 12px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* ПОДВАЛ */
.footer {
  background: var(--forest);
  color: var(--bg-milk);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(242, 235, 221, 0.16);
}

@media (max-width: 780px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sand);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg-white);
}

.footer-sub {
  font-size: 0.82rem;
  color: var(--sand);
}

.footer-formula {
  font-size: 0.9rem;
  color: rgba(242, 235, 221, 0.78);
  max-width: 420px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sand);
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-col a {
  color: rgba(242, 235, 221, 0.84);
  transition: color var(--t-fast);
}

.footer-col a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.84rem;
  color: rgba(242, 235, 221, 0.7);
}

.footer-bottom a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* МОДАЛЬНЫЕ ОКНА */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 45, 38, 0.56);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1500;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  scrollbar-color: var(--sand) transparent;
  scrollbar-width: thin;
  animation: modalIn 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-box--md {
  max-width: 620px;
}

.modal-box--lg {
  max-width: 900px;
}

.diploms-modal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

@media (max-width: 780px) {
  .diploms-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .diploms-modal-grid {
    grid-template-columns: 1fr;
  }
}

.diplom-mini-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  background: var(--bg-milk);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.diplom-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--forest);
}

.diplom-mini-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-sand);
}

.diplom-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-norm);
}

.diplom-mini-card:hover .diplom-mini-thumb img {
  transform: scale(1.04);
}

.diplom-mini-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.diplom-mini-meta {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--olive-ink);
}

.diplom-mini-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--forest);
}

.diplom-mini-org {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: auto;
  padding-top: 4px;
}

.diplom-zoom-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--sand);
  background: var(--bg-milk);
}

.diplom-zoom-wrap--clickable {
  cursor: pointer;
}

.diplom-zoom-wrap img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
}

.diplom-zoom-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.diplom-zoom-counter {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-muted);
  min-width: 44px;
  text-align: center;
}

html[data-theme="dark"] .fact-action-hint,
html[data-theme="dark"] .diplom-mini-title {
  color: #8FCF9E;
}

html[data-theme="dark"] .fact-row--interactive:hover,
html[data-theme="dark"] .diplom-mini-card:hover {
  border-color: #8FCF9E;
}

@media (max-width: 600px) {
  .modal-box {
    padding: 24px 20px;
  }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-milk);
  border: 1px solid var(--sand);
  color: var(--forest);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--t-fast), transform var(--t-fast);
}

.modal-close:hover {
  background: var(--sand);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
  margin: 8px 40px 16px 0;
}

.modal-content-body p {
  color: var(--ink-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.modal-content-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin: 18px 0 10px;
}

.modal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.modal-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-primary);
}

.modal-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--olive-ink);
  font-weight: 700;
}

.note-quote {
  margin: 20px 0;
  padding: 16px 20px;
  background: var(--bg-milk);
  border-left: 4px solid var(--olive);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--forest);
}

.modal-action-box {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-milk);
  border: 1px solid var(--sand);
}

.modal-action-box h4 {
  margin-top: 0;
}

.modal-footer-actions {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border-sand);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.policy-body h3 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--forest);
  margin-bottom: 12px;
}

.policy-body h4 {
  font-size: 1rem;
  color: var(--forest);
  margin: 16px 0 6px;
}

.policy-body p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
}

.policy-body a {
  color: var(--forest);
  text-decoration: underline;
}

/* Тосты и кнопка наверх */
.toast-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--forest);
  color: var(--bg-white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  color: var(--forest);
  font-weight: 700;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--t-fast), transform var(--t-fast), background-color var(--t-fast);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--forest);
  color: var(--bg-white);
}

@media (max-width: 540px) {
  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   АНИМАЦИЯ ПОЯВЛЕНИЯ ПРИ СКРОЛЛЕ (Intersection Observer)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ==========================================================================
   ТЁМНАЯ ТЕМА (переключатель data-theme="dark")
   ========================================================================== */
html[data-theme="dark"] {
  color-scheme: dark;

  /* Фоны — тёплые тёмные тона */
  --bg-milk: #1C1A15;
  --bg-milk-alt: #22201B;
  --bg-paper: #272420;
  --bg-white: #2C2926;

  /* Текст */
  --ink-primary: #E8E4DC;
  --ink-secondary: #B8B3A9;
  --ink-muted: #8E897F;

  /* Акценты — смягчённые для тёмного фона */
  --sand: #6B5F4E;
  --sand-soft: rgba(107, 95, 78, 0.22);
  --olive-soft: rgba(154, 161, 139, 0.12);
  --forest-soft: rgba(143, 207, 158, 0.06);
  --lavender-soft: rgba(169, 146, 174, 0.18);

  /* Границы и тени */
  --border-sand: rgba(107, 95, 78, 0.28);
  --border-strong: rgba(143, 207, 158, 0.18);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.5);
}

/* --- Шапка --- */
html[data-theme="dark"] .header {
  background: rgba(28, 26, 21, 0.9);
}
html[data-theme="dark"] .header.scrolled {
  background: rgba(39, 36, 32, 0.95);
}
html[data-theme="dark"] .theme-toggle:hover {
  border-color: #8FCF9E;
}

/* --- Заголовки: лесной → мятный для контраста на тёмном --- */
html[data-theme="dark"] .section-title,
html[data-theme="dark"] .hero-title,
html[data-theme="dark"] .hero-state-pill,
html[data-theme="dark"] .dir-title,
html[data-theme="dark"] .dir-question,
html[data-theme="dark"] .back-title,
html[data-theme="dark"] .qset-title,
html[data-theme="dark"] .atlas-name,
html[data-theme="dark"] .note-title,
html[data-theme="dark"] .ws-sheet-title,
html[data-theme="dark"] .individual-lead,
html[data-theme="dark"] .pricing-heading,
html[data-theme="dark"] .pricing-title,
html[data-theme="dark"] .pricing-value,
html[data-theme="dark"] .modal-title,
html[data-theme="dark"] .policy-body h3,
html[data-theme="dark"] .policy-body h4,
html[data-theme="dark"] .modal-content-body h4,
html[data-theme="dark"] .brand-name {
  color: #8FCF9E;
}

html[data-theme="dark"] .section-title span,
html[data-theme="dark"] .hero-title span {
  color: #B5BFA8;
}

html[data-theme="dark"] .dir-num-badge {
  background: rgba(39, 36, 32, 0.88);
  color: #8FCF9E;
}

/* --- Навигация --- */
html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: #8FCF9E;
}
html[data-theme="dark"] .nav-link::after {
  background: #8FCF9E;
}
html[data-theme="dark"] .menu-toggle span {
  background: #8FCF9E;
}

/* --- Ссылки и текстовые акценты --- */
html[data-theme="dark"] .card-action-btn,
html[data-theme="dark"] .note-read-link,
html[data-theme="dark"] .btn-text-link,
html[data-theme="dark"] .contact-cards a,
html[data-theme="dark"] .contact-cards strong,
html[data-theme="dark"] .separation-notice a,
html[data-theme="dark"] .back-hint,
html[data-theme="dark"] .atlas-question,
html[data-theme="dark"] .dir-workshop-link,
html[data-theme="dark"] .form-consent a,
html[data-theme="dark"] .policy-body a {
  color: #8FCF9E;
}

/* --- Кнопки: лесной фон остаётся тёмным --- */
html[data-theme="dark"] .btn-forest {
  background: #2A4834;
  color: #E8E4DC;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .btn-forest:hover {
  background: #1E3B28;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .btn-sand {
  background: var(--bg-paper);
  color: #B5BFA8;
  border-color: var(--sand);
}

html[data-theme="dark"] .btn-outline-forest {
  color: #8FCF9E;
  border-color: rgba(143, 207, 158, 0.3);
}
html[data-theme="dark"] .btn-outline-forest:hover {
  background: rgba(143, 207, 158, 0.08);
  border-color: #8FCF9E;
}

html[data-theme="dark"] .btn-text-link:hover {
  color: #A5DEAD;
}

/* --- Переключатели возраста и вкладок --- */
html[data-theme="dark"] .age-pill.active,
html[data-theme="dark"] .ws-tab.active {
  background: #2A4834;
  color: #E8E4DC;
  border-color: #2A4834;
}

html[data-theme="dark"] .filter-chip.active {
  background: #6B7960;
  color: #E8E4DC;
  border-color: #6B7960;
}

/* --- Hero --- */
html[data-theme="dark"] .hero-section {
  background:
    radial-gradient(circle at 12% 15%, rgba(169, 146, 174, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(137, 144, 120, 0.06) 0%, transparent 45%),
    var(--bg-milk);
}
html[data-theme="dark"] .hero-banner-frame {
  border-color: var(--bg-paper);
}

/* --- Карта (лицевая сторона) --- */
html[data-theme="dark"] .research-front {
  background:
    radial-gradient(circle at 20% 20%, rgba(169, 146, 174, 0.12), transparent 55%),
    linear-gradient(155deg, #1E3528 0%, #141E16 100%);
  border-color: var(--sand);
  color: #F2EBDD;
}
html[data-theme="dark"] .card-front-title {
  color: #F2EBDD;
}
html[data-theme="dark"] .card-dir-tag {
  background: rgba(242, 235, 221, 0.14);
  color: #D8C6AD;
}

/* --- Атлас сигналов чувств --- */
html[data-theme="dark"] .atlas-card--olive {
  background: linear-gradient(155deg, rgba(137, 144, 120, 0.13) 0%, rgba(39, 36, 32, 0.94) 100%), var(--bg-white);
}
html[data-theme="dark"] .atlas-card--sand {
  background: linear-gradient(155deg, rgba(216, 198, 173, 0.11) 0%, rgba(39, 36, 32, 0.94) 100%), var(--bg-white);
}
html[data-theme="dark"] .atlas-card--lavender {
  background: linear-gradient(155deg, rgba(214, 196, 218, 0.12) 0%, rgba(39, 36, 32, 0.94) 100%), var(--bg-white);
}
html[data-theme="dark"] .atlas-question {
  background: rgba(255, 255, 255, 0.045);
}

/* --- Индикатор прокрутки --- */
html[data-theme="dark"] .scroll-progress {
  background: linear-gradient(90deg, #6B7960, #2A4834, #A992AE);
}

/* --- Футер: остаётся тёмным --- */
html[data-theme="dark"] .footer {
  background: #121110;
}
html[data-theme="dark"] .footer-title {
  color: #E8E4DC;
}

/* --- Тосты и кнопка наверх --- */
html[data-theme="dark"] .toast {
  background: #2A4834;
  color: #E8E4DC;
}
html[data-theme="dark"] .back-to-top:hover {
  background: #2A4834;
  color: #E8E4DC;
}

/* --- Фокус --- */
html[data-theme="dark"] :focus-visible {
  outline-color: #8FCF9E;
}

/* --- Модальные окна --- */
html[data-theme="dark"] .modal-overlay {
  background: rgba(10, 10, 8, 0.72);
}
html[data-theme="dark"] .note-quote {
  border-left-color: #6B7960;
}

/* --- Смягчение яркости изображений --- */
html[data-theme="dark"] .dir-cover-img,
html[data-theme="dark"] .individual-photo,
html[data-theme="dark"] .hero-banner-img,
html[data-theme="dark"] .note-cover img,
html[data-theme="dark"] .modal-note-cover img,
html[data-theme="dark"] .atlas-cover img {
  filter: brightness(0.88) contrast(1.04);
}

/* --- Визуальные акценты в тёмной теме --- */
html[data-theme="dark"] .qset-icon,
html[data-theme="dark"] .pricing-icon,
html[data-theme="dark"] .fact-diplom-icon {
  color: #8FCF9E;
}
html[data-theme="dark"] .fact-action-hint {
  background: rgba(143, 207, 158, 0.14);
  color: #8FCF9E;
}
html[data-theme="dark"] .fact-row--interactive:hover .fact-action-hint {
  background: #2A4834;
  color: #E8E4DC;
}
html[data-theme="dark"] .booking-steps {
  background: var(--bg-paper);
  border-color: var(--border-sand);
}
html[data-theme="dark"] .step-num {
  background: #2A4834;
  color: #E8E4DC;
}
html[data-theme="dark"] .section-divider {
  color: #8E897F;
}

/* Плавный ботанический разделитель секций */
.section-divider {
  display: flex;
  justify-content: center;
  padding: 12px 0;
  color: var(--olive);
  background: var(--bg-milk);
}

.section-divider svg {
  width: 120px;
  height: 24px;
}

/* Шапка и hover-эффект карточек цен */
.pricing-card {
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.pricing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--olive);
}

.pricing-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.pricing-top-row .fact-badge {
  margin-bottom: 0;
}

/* Мини-маршрут «Что будет после заявки» */
.booking-steps {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-paper);
  border: 1px solid var(--sand);
}

.booking-steps-title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

html[data-theme="dark"] .booking-steps-title {
  color: #8FCF9E;
}

.booking-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.45;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Чистые миниатюры инструментов в модальной сетке */
.instrument-mini-thumb {
  border-bottom: none;
  flex: 1;
}

/* 7. ГРУППОВАЯ РАБОТА ДЛЯ ПОДРОСТКОВ */
.group-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .group-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.group-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.group-benefits li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.group-benefits li::before {
  content: '🌿';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
}

.group-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

@media (max-width: 600px) {
  .group-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.group-fact-pill {
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.group-fact-pill strong {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--forest);
  line-height: 1.15;
}

.group-fact-pill span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.group-routes-block {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-sand);
}

.group-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 860px) {
  .group-routes-grid {
    grid-template-columns: 1fr;
  }
}

.group-route-card {
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.group-route-card--olive {
  border-top: 3px solid var(--olive);
  background: linear-gradient(155deg, rgba(137, 144, 120, 0.1) 0%, rgba(250, 246, 238, 0.72) 100%), var(--bg-white);
}

.group-route-card--sand {
  border-top: 3px solid var(--sand);
  background: linear-gradient(155deg, rgba(216, 198, 173, 0.2) 0%, rgba(250, 246, 238, 0.75) 100%), var(--bg-white);
}

.group-route-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.2;
}

.group-route-sub {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

.group-route-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group-route-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border-sand);
}

.group-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand-soft);
  border: 1px solid rgba(137, 144, 120, 0.22);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.group-item-icon svg {
  width: 17px;
  height: 17px;
}

.group-route-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.group-route-list strong {
  color: var(--forest);
}

.group-methods-bar {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-paper);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
}

.group-methods-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.group-methods-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-white);
  border: 1px solid var(--sand);
  font-size: 0.88rem;
  color: var(--ink-primary);
}

.group-method-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.group-method-icon svg {
  width: 14px;
  height: 14px;
}

html[data-theme="dark"] .group-fact-pill strong,
html[data-theme="dark"] .group-route-title,
html[data-theme="dark"] .group-route-list strong,
html[data-theme="dark"] .group-item-icon,
html[data-theme="dark"] .group-method-icon {
  color: #8FCF9E;
}

html[data-theme="dark"] .group-route-card--olive {
  background: linear-gradient(155deg, rgba(137, 144, 120, 0.13) 0%, rgba(39, 36, 32, 0.94) 100%), var(--bg-white);
}

html[data-theme="dark"] .group-route-card--sand {
  background: linear-gradient(155deg, rgba(216, 198, 173, 0.11) 0%, rgba(39, 36, 32, 0.94) 100%), var(--bg-white);
}

html[data-theme="dark"] .group-methods-bar {
  background: var(--bg-paper);
  border-color: var(--border-sand);
}

/* 8. ОТЗЫВЫ И ОТКЛИКИ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--sand);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}

.review-leaf-corner {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 78px;
  height: 78px;
  pointer-events: none;
  color: var(--olive);
  opacity: 0.45;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.review-leaf-corner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.review-card:hover .review-leaf-corner {
  opacity: 0.72;
  transform: scale(1.04);
}

html[data-theme="dark"] .review-leaf-corner {
  color: #8FCF9E;
  opacity: 0.34;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: var(--olive);
}

.review-quote-mark {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 0.7;
  color: var(--olive);
  opacity: 0.55;
}

.review-text {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

.review-author {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author strong {
  font-size: 0.92rem;
  color: var(--forest);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--ink-muted);
}

.review-card--clickable {
  cursor: pointer;
}

.review-read-more {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--forest);
}

.review-modal-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 10px;
}

html[data-theme="dark"] .review-read-more {
  color: #8FCF9E;
}

.reviews-empty {
  grid-column: 1 / -1;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 24px;
  background: var(--bg-white);
  border: 1px dashed var(--sand);
  border-radius: var(--radius-md);
  color: var(--ink-secondary);
}

.reviews-empty-hint {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

html[data-theme="dark"] .review-author strong {
  color: #8FCF9E;
}

html[data-theme="dark"] .review-quote-mark {
  color: #8FCF9E;
}

/* Уважение reduced-motion для reveal-анимаций */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
