/* =========================================================
   Доктор Гальченко — главная
   ========================================================= */

/* ---------- CSS variables ---------- */
:root {
  /* Light theme */
  --bg:                 #ffffff;
  --bg-soft:            #f5f6f8;
  --bg-card:            #ffffff;
  --bg-dark:            #11192c;     /* тёмные секции */
  --bg-dark-soft:       #1a2540;

  --text:               #14171c;
  --text-secondary:     #4b5563;
  --text-muted:         #9aa3b2;     /* для серых половин заголовков */
  --text-on-dark:       #f4f6fa;
  --text-on-dark-muted: #6b7791;

  --accent:             #1e3a5f;     /* тёмно-синий */
  --accent-hover:       #294f80;
  --accent-light:       #c9d3e2;     /* мягкая тень акцента для подложек */
  --accent-soft:        rgba(30, 58, 95, 0.07);
  --accent-border:      rgba(30, 58, 95, 0.16);

  --border:             #e5e7ec;
  --border-strong:      #d0d4dc;

  --radius-xl:          28px;
  --radius-lg:          22px;
  --radius-md:          16px;
  --radius-sm:          10px;
  --radius-pill:        999px;

  --container:          1280px;
  --gutter:             clamp(20px, 4vw, 40px);

  --section-pad:        clamp(72px, 9vw, 120px);

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

  --shadow-sm:          0 1px 2px rgba(20,23,28,0.04), 0 1px 1px rgba(20,23,28,0.02);
  --shadow-md:          0 8px 24px rgba(20,23,28,0.06), 0 2px 6px rgba(20,23,28,0.04);
  --shadow-lg:          0 24px 60px rgba(20,23,28,0.10), 0 8px 20px rgba(20,23,28,0.06);

  --t:                  220ms cubic-bezier(.4,.0,.2,1);
}

/* ---------- Dark theme overrides ---------- */
[data-theme="dark"] {
  --bg:                 #0a0f1d;       /* page */
  --bg-soft:            #0f1626;       /* secondary section bg (slightly elevated) */
  --bg-card:            #141c30;       /* cards (more elevated) */
  --bg-dark:            #1a2540;       /* контрастные секции в тёмной теме — приподняты, чтобы читалось */
  --bg-dark-soft:       #243155;

  --text:               #eef1f6;
  --text-secondary:     #b3bccc;
  --text-muted:         #5f6a7e;
  --text-on-dark:       #f4f6fa;
  --text-on-dark-muted: #8d97ac;

  --accent:             #6e94c8;
  --accent-hover:       #88a8d6;
  --accent-light:       rgba(110, 148, 200, 0.18);
  --accent-soft:        rgba(110, 148, 200, 0.10);
  --accent-border:      rgba(110, 148, 200, 0.25);

  --border:             #1d2740;
  --border-strong:      #2a364f;

  --shadow-sm:          0 1px 2px rgba(0,0,0,0.4);
  --shadow-md:          0 12px 32px rgba(0,0,0,0.5);
  --shadow-lg:          0 24px 60px rgba(0,0,0,0.6);
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--t), color var(--t);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }

p { margin: 0; }

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-color: #fff;
  --btn-border: var(--accent);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-color);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t);
  white-space: nowrap;
}
.btn:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }

.btn--ghost {
  --btn-bg: var(--bg);
  --btn-color: var(--text);
  --btn-border: var(--border-strong);
}
.btn--ghost:hover {
  --btn-bg: var(--bg);
  --btn-border: var(--accent);
  --btn-color: var(--accent);
}

.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}

/* ---------- Section title (двухцветные заголовки à la Юров) ---------- */
.section-header {
  margin-bottom: 40px;
}
.section-header .section-lead { max-width: 720px; }
.section-header--light * { color: var(--text-on-dark); }

.section-title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.section-title--muted,
.section-title > .section-title--muted {
  color: var(--text-muted);
  font-weight: 400;
}
.section-title--light { color: var(--text-on-dark); }
.section-title--muted-light { color: var(--text-on-dark-muted); }

.section-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.6;
}
.section-lead--light { color: var(--text-on-dark-muted); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t), backdrop-filter var(--t);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(20, 23, 28, 0.05);
}
[data-theme="dark"] .header.is-scrolled {
  background: rgba(10, 15, 29, 0.85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.logo__name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  letter-spacing: -0.01em;
}
.logo__name-line:first-child {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.logo__name-line:last-child {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.015em;
}
.logo__pipe {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  margin: 6px 0;
}
.logo__role {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: -0.005em;
  display: block;
  max-width: 14ch;
  line-height: 1.25;
  white-space: normal;
  transition: opacity 600ms cubic-bezier(.45, 0, .35, 1),
              transform 600ms cubic-bezier(.45, 0, .35, 1),
              filter 600ms cubic-bezier(.45, 0, .35, 1);
  will-change: opacity, transform, filter;
}
.logo__role.is-fading {
  opacity: 0;
  transform: translateY(-4px);
  filter: blur(3px);
}
@media (max-width: 1100px) {
  .logo__pipe, .logo__role { display: none; }
}

.nav {
  margin-left: 12px;
  flex: 1;
}
.nav { min-width: 0; }
.nav__list {
  display: flex;
  gap: 0;
  flex-wrap: nowrap;
  justify-content: center;
}
.nav__list a {
  display: inline-block;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}
.nav__list a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

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

.theme-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background var(--t), color var(--t);
}
.theme-toggle:hover { background: var(--accent-soft); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle__moon { display: block; }

.burger {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: var(--radius-sm);
}
.burger span {
  width: 22px;
  height: 1.8px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(20px, 3vw, 36px) 0 0;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 500px at 75% 20%, var(--accent-soft), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* мягкая горизонтальная тень под фигурой — переход к следующей секции */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent 0%, rgba(20, 23, 28, 0.04) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hero__content {
  align-self: center;
  padding-bottom: 64px;
}

.hero__media {
  position: relative;
  align-self: stretch;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  isolation: isolate;
  margin-bottom: 0;
}

/* мягкая светло-серая «подушка» под фигурой — даёт ground-эффект как у Юрова */
.hero__media-halo {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 95%;
  height: 55%;
  background:
    radial-gradient(ellipse at center bottom,
      #e8ecf2 0%,
      #eef1f6 35%,
      rgba(238, 242, 247, 0.4) 65%,
      transparent 85%);
  z-index: 0;
  pointer-events: none;
}
[data-theme="dark"] .hero__media-halo {
  background:
    radial-gradient(ellipse at center bottom,
      rgba(36, 49, 85, 0.45) 0%,
      rgba(36, 49, 85, 0.20) 50%,
      transparent 85%);
}

.hero__photo {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 660px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 24px rgba(17, 25, 44, 0.10));
}

/* плавающая карточка с регалиями — лежит «на земле» внизу-слева, как MEDALL у Юрова */
.hero__media-card {
  position: absolute;
  left: -12px;
  bottom: 48px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 24px 40px rgba(17, 25, 44, 0.08), 0 4px 12px rgba(17, 25, 44, 0.04);
  min-width: 240px;
}
.hero__media-card-num {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.hero__media-card-plus {
  color: var(--accent);
  font-weight: 600;
}
.hero__media-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero__media-card-label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.hero__media-card-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.005em;
}

.hero__title {
  font-size: clamp(40px, 5.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero__title-line {
  display: block;
}
.hero__title-line--muted {
  color: var(--text-muted);
  font-weight: 400;
}

.hero__lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 32px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__bases {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
}
.base-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px 8px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.base-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.base-link__icon { width: 16px; height: 16px; color: var(--accent); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px dashed var(--accent-border);
  color: var(--text-secondary);
  font-size: 13px;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

/* ---------- ABOUT ---------- */
.about {
  padding: var(--section-pad) 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.about__head { margin-bottom: 64px; }
.about__head .section-title { max-width: none; }

.about__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 64px;
  padding: 36px 32px;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-size: clamp(40px, 4.8vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
}
.stat__plus {
  color: var(--accent);
  margin-left: 2px;
  font-size: 0.7em;
}
.stat__label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 56px;
  align-items: start;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.about__lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}
.about__body strong { color: var(--text); font-weight: 600; }
.about__body em { color: var(--text); font-style: normal; font-weight: 500; }

.inline-link {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-border);
  font-weight: 500;
  transition: color var(--t), border-color var(--t);
  white-space: nowrap;
}
.inline-link:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.about__aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__quote {
  position: relative;
  margin: 0;
  padding: 36px 32px 28px;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.about__quote-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  color: var(--accent);
  opacity: 0.6;
}
[data-theme="dark"] .about__quote-mark { color: #88a8d6; }
.about__quote p {
  font-size: 18px;
  line-height: 1.55;
  font-weight: 500;
  margin-bottom: 16px;
}
.about__quote footer {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  font-style: normal;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about__highlight {
  display: flex;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--t), transform var(--t);
}
.about__highlight:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}
.about__highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.about__highlight-icon svg { width: 20px; height: 20px; }
.about__highlight strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.about__highlight p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ---------- HELP (Чем могу помочь) ---------- */
.help {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
}

.help__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: end;
  margin-bottom: 56px;
}
.help__top .section-header { margin-bottom: 0; }

.help__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 520px;
  justify-self: end;
  width: 100%;
}
.help__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.help__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.help-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.help-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.help-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.help-card__icon svg { width: 26px; height: 26px; }

.help-card__title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.help-card__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.help-card__list li {
  position: relative;
  padding-left: 18px;
}
.help-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- PRINCIPLES ---------- */
.principles {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
  position: relative;
}

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

.principle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.principle-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.principle-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.principle-card__num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  line-height: 1;
}
.principle-card__icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
}
.principle-card__icon svg { width: 22px; height: 22px; }

.principle-card__title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 4px;
}
.principle-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* первая и последняя карточки — featured (тёмно-синие, как у Юрова веер) */
.principle-card--featured {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-on-dark);
  grid-column: span 2;
}
.principle-card--featured .principle-card__num {
  color: #88a8d6;
}
.principle-card--featured .principle-card__icon {
  background: rgba(110, 148, 200, 0.18);
  color: #b1c5e0;
}
.principle-card--featured .principle-card__title {
  color: #fff;
  font-size: 24px;
}
.principle-card--featured p {
  color: rgba(244, 246, 250, 0.78);
  font-size: 15px;
}

.principle-card--accent {
  background: linear-gradient(160deg, var(--accent-soft), var(--bg-card));
  border-color: var(--accent-border);
  grid-column: span 2;
}
.principle-card--accent .principle-card__title {
  font-size: 22px;
}

/* ---------- NOT-ME (editorial-style) ---------- */
.not-me {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.not-me::before {
  content: '';
  position: absolute;
  top: 6%;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.not-me__head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}
.not-me__lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 380px;
  padding-bottom: 8px;
}

.not-me__list {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
}

.not-me__row {
  position: relative;
  display: grid;
  grid-template-columns: 80px 56px minmax(0, 1fr);
  align-items: start;
  gap: clamp(20px, 3vw, 40px);
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
/* тонкая акцентная вертикальная линия слева появляется на ховер */
.not-me__row::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 3px;
  transform: translateY(-50%);
  transition: height 380ms cubic-bezier(.4, 0, .2, 1);
}
.not-me__row:hover::before { height: 50%; }

.not-me__num {
  font-size: 22px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
  transition: color 380ms cubic-bezier(.4, 0, .2, 1);
}
.not-me__row:hover .not-me__num { color: var(--accent); }

.not-me__cross {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent-border);
  color: var(--accent);
  flex-shrink: 0;
  background: var(--bg);
  transition: background 380ms cubic-bezier(.4, 0, .2, 1),
              border-color 380ms cubic-bezier(.4, 0, .2, 1),
              color 380ms cubic-bezier(.4, 0, .2, 1);
}
.not-me__cross svg { width: 22px; height: 22px; transition: transform 380ms cubic-bezier(.4, 0, .2, 1); }
.not-me__row:hover .not-me__cross {
  background: var(--bg);
  border-color: var(--accent);
}
.not-me__row:hover .not-me__cross svg { transform: scale(1.15); }

.not-me__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.not-me__title {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  transition: color 380ms cubic-bezier(.4, 0, .2, 1);
}
.not-me__row:hover .not-me__title { color: var(--accent); }
.not-me__body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 720px;
}

/* ---------- PRICES ---------- */
.prices {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
}

.prices__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.prices__group {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.prices__group--accent {
  background: linear-gradient(168deg, var(--accent-soft), var(--bg-card));
  border-color: var(--accent-border);
}
.prices__subtitle {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
}
.prices__list {
  display: flex;
  flex-direction: column;
}
.prices__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  font-size: 15.5px;
  color: var(--text);
}
.prices__row:first-child { border-top: 0; }
.prices__price {
  color: var(--accent);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.prices__note {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.prices__footer-note {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
}

.prices__policy {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
.prices__policy-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.prices__policy p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}
.prices__policy strong { color: var(--text); font-weight: 600; }

/* ---------- CALCULATOR ---------- */
.calc {
  padding: var(--section-pad) 0;
}

.calc__widget {
  margin-top: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.calc__progress {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.calc__progress::before {
  content: '';
  display: block;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.calc__progress { position: relative; }
.calc__progress-bar {
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -2px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  width: 14%;
  max-width: calc(100% - 60px);
  transition: width var(--t);
  z-index: 1;
}
.calc__progress-label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}

.calc__stage {
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.calc__step {
  display: none;
  flex-direction: column;
  gap: 24px;
}
.calc__step.is-active { display: flex; }

.calc__q-head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.calc__q-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}
.calc__q-icon svg { width: 26px; height: 26px; }

.calc__q {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
}

.calc__hint {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: -8px;
}

.calc__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc__opt {
  text-align: left;
  padding: 18px 22px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  font-size: 16px;
  color: var(--text);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.calc__opt:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

/* result */
.calc__result { gap: 16px; }
.calc__result-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.calc__result-title {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.calc__result-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}
.calc__result-alt {
  font-size: 16px;
  color: var(--text-secondary);
  padding: 16px 20px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  max-width: 640px;
}
.calc__result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.calc__nav { margin-top: 20px; }
.calc__back {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--t), background var(--t);
}
.calc__back:hover { background: var(--accent-soft); color: var(--accent); }

/* ---------- SUPPORT ---------- */
.support {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
}

.support__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.support-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.support-card__title {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.support-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.support__cta {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
}
.support__cta h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.support__cta p {
  color: var(--text-on-dark-muted);
  font-size: 17px;
  max-width: 540px;
}
.support__cta .btn {
  background: #fff;
  color: var(--bg-dark);
  border-color: #fff;
}
.support__cta .btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ---------- FOOTER ---------- */
.footer {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: clamp(56px, 7vw, 96px) 0 32px;
  overflow: hidden;
  isolation: isolate;
}
.footer__bg {
  position: absolute;
  bottom: -0.32em;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 320px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.04);
  line-height: 0.85;
  z-index: 0;
  pointer-events: none;
  white-space: nowrap;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__col--brand .footer__logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  display: block;
}
.footer__tagline {
  color: var(--text-on-dark-muted);
  max-width: 320px;
  font-size: 15px;
  line-height: 1.55;
}

.footer__h {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col a {
  color: var(--text-on-dark);
  font-size: 15px;
  transition: color var(--t);
}
.footer__col a:hover { color: var(--accent); }
[data-theme="dark"] .footer__col a:hover { color: #88a8d6; }

.footer__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer__contact-icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}
[data-theme="dark"] .footer__contact-icon { color: #88a8d6; }

.footer__bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}
.footer__bottom a { color: var(--text-on-dark-muted); transition: color var(--t); }
.footer__bottom a:hover { color: var(--text-on-dark); }

/* footer__bottom: левая группа (© + privacy) + кредит справа */
.footer__bottom-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ===== Po Plan credit ===== */
.footer__bottom .po-plan-credit,
.po-plan-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  letter-spacing: .01em;
  color: #b9c5cf;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s ease;
}
.po-plan-credit:hover { opacity: 1; }
.po-plan-credit__logo {
  height: 12px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.po-plan-credit__text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.po-plan-credit__prefix { color: inherit; }
.po-plan-credit__brand {
  color: #88a8d6;
  text-decoration: underline dashed;
  text-decoration-color: #88a8d6;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 600;
}
.po-plan-credit:hover .po-plan-credit__brand { filter: brightness(1.15); }

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1100px) {
  .nav__list { gap: 2px; }
  .nav__list a { padding: 8px 10px; font-size: 13.5px; }
}

@media (max-width: 960px) {
  .header__inner { gap: 12px; }
  .nav { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter);
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 4px; }
  .nav.is-open .nav__list a { padding: 12px 14px; font-size: 15px; }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .hero__media {
    min-height: 440px;
    max-width: 460px;
    margin: 0 auto;
  }
  .hero__title { text-align: left; }

  .help__top { grid-template-columns: 1fr; gap: 32px; }
  .help__media { max-width: none; justify-self: stretch; }
  .help__grid { grid-template-columns: 1fr; }
  .not-me__head { grid-template-columns: 1fr; gap: 24px; align-items: start; margin-bottom: 48px; }
  .not-me__row { grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .not-me__num { display: none; }
  .suits__grid { grid-template-columns: 1fr; gap: 40px; }
  .suits__media { max-width: 480px; margin: 0 auto; }
  .support__grid { grid-template-columns: 1fr; }
  .support__cta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__aside { position: static; }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 28px 24px; }

  .principles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .principle-card--featured,
  .principle-card--accent { grid-column: span 2; }
}

@media (max-width: 600px) {
  .header__cta { display: none; }
  .logo__pipe, .logo__role { display: none; }
  .logo__name { font-size: 16px; }

  .hero__chips { gap: 6px; }
  .chip { font-size: 12px; padding: 6px 12px; }

  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }

  .hero__media-card { right: 0; bottom: 0; min-width: 0; padding: 12px 16px; }
  .hero__media-card-num { font-size: 32px; }
  .hero__media-tag { left: 0; top: 12px; font-size: 11px; padding: 6px 12px; }

  .help-card { padding: 28px 24px; }
  .help-card__title { font-size: 21px; }

  .not-me__row { padding: 24px 0; }
  .not-me__title { font-size: 22px; }
  .not-me__cross { width: 44px; height: 44px; }
  .not-me__cross svg { width: 18px; height: 18px; }

  .principles__grid { grid-template-columns: 1fr; }
  .principle-card--featured,
  .principle-card--accent { grid-column: span 1; }
  .principle-card { padding: 24px 22px; }

  .prices__group { padding: 24px 22px; }

  .calc__widget { padding: 24px 20px; }
  .calc__opt { padding: 14px 16px; font-size: 15px; }
  .calc__q-icon { width: 44px; height: 44px; }
  .calc__q-icon svg { width: 22px; height: 22px; }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .about__stats { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
}

/* =========================================================
   Универсальный плейсхолдер для будущей картинки
   ========================================================= */
.placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  border: 1.5px dashed var(--border-strong);
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-soft) 0px,
      var(--bg-soft) 14px,
      var(--bg) 14px,
      var(--bg) 28px
    );
  color: var(--text-secondary);
  min-height: 220px;
}
.placeholder--dark {
  border-color: rgba(255, 255, 255, 0.15);
  background:
    repeating-linear-gradient(
      45deg,
      var(--bg-dark-soft) 0px,
      var(--bg-dark-soft) 14px,
      var(--bg-dark) 14px,
      var(--bg-dark) 28px
    );
  color: var(--text-on-dark-muted);
  min-height: 100%;
}
.placeholder__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.placeholder--dark .placeholder__label { color: #88a8d6; }
.placeholder__hint {
  font-size: 12.5px;
  font-style: italic;
  opacity: 0.75;
  max-width: 280px;
  line-height: 1.45;
}

/* about aside image slot */
.about__aside-img {
  aspect-ratio: 4 / 3;
  margin-bottom: 24px;
}
.about__aside-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  display: block;
}

/* =========================================================
   SUITS — «Кому подойдёт мой подход» (тёмная секция)
   ========================================================= */
.suits {
  padding: var(--section-pad) 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}
.suits::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -15%;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 148, 200, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.suits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.suits__media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-dark-soft);
}
.suits__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.suits__content { display: flex; flex-direction: column; }
.suits__content .section-title { margin-top: 8px; }
.suits__lead {
  margin-top: 18px;
  font-size: 16px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  max-width: 520px;
}
.eyebrow--on-dark {
  background: rgba(110, 148, 200, 0.15);
  color: #b6cbe6;
}

.section-title--muted-light { color: var(--text-on-dark-muted); font-weight: 400; }

.suits__list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
}
.suits__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.suits__item:first-child { border-top: 0; padding-top: 4px; }
.suits__no {
  font-size: 18px;
  font-weight: 500;
  color: #88a8d6;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.suits__item h3 {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-on-dark);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.suits__item p {
  font-size: 14.5px;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
}

/* =========================================================
   Sub-pages — page-hero
   ========================================================= */
.page-hero {
  padding: clamp(48px, 6vw, 96px) 0 clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 350px at 80% 20%, var(--accent-soft), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.page-hero__title {
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 6px 0 4px;
  max-width: none;
}

/* breadcrumbs */
.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  align-self: flex-start;
}
.breadcrumbs a {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--t);
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }
.page-hero__title > .section-title--muted { font-weight: 400; }
.page-hero__lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 680px;
}
.page-hero__anchors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.page-hero__anchors a {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.page-hero__anchors a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.page-hero--compact { padding: clamp(40px, 5vw, 72px) 0 clamp(20px, 3vw, 36px); }

/* nav active state */
.nav__list a.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

/* =========================================================
   Societies
   ========================================================= */
.societies {
  padding: var(--section-pad) 0;
  background: var(--bg-soft);
}
.societies__list {
  border-top: 1px solid var(--border);
}
.society {
  position: relative;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 24px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: background 380ms cubic-bezier(.4, 0, .2, 1), padding 380ms cubic-bezier(.4, 0, .2, 1);
}
.society::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 3px;
  transform: translateY(-50%);
  transition: height 380ms cubic-bezier(.4, 0, .2, 1);
}
.society:hover::before { height: 60%; }
.society:hover .society__no { color: var(--accent); }
.society__no {
  transition: color 380ms cubic-bezier(.4, 0, .2, 1);
}
.society__no {
  font-size: 14px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.society__name {
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.3;
}
.society__region {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
  display: inline-block;
}
.society__status {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}
.society__status--primary { color: var(--accent); border-color: var(--accent-border); background: var(--accent-soft); }
.society__status--accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.society__status--gold { color: #b48a3b; border-color: rgba(180, 138, 59, 0.3); background: rgba(180, 138, 59, 0.08); }

/* =========================================================
   Publications
   ========================================================= */
.pubs {
  padding: var(--section-pad) 0;
}
.pubs__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.pubs__tabs {
  display: inline-flex;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}
.pubs__tab {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: background var(--t), color var(--t);
}
.pubs__tab:hover { color: var(--text); }
.pubs__tab.is-active {
  background: var(--bg-card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.pubs__count {
  font-size: 13px;
  color: var(--text-secondary);
}

.pubs__list {
  display: flex;
  flex-direction: column;
}
.pubs__group {
  margin-bottom: 32px;
}
.pubs__group-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.pub {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--t), padding var(--t);
  position: relative;
}
.pub:hover { background: var(--bg-soft); padding-left: 14px; padding-right: 14px; }
.pub__no {
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  padding-top: 4px;
}
.pub__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  line-height: 1.4;
  margin-bottom: 6px;
}
.pub__meta {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.pub__meta em { font-style: normal; font-weight: 500; color: var(--text); }
.pub__doi-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
  align-self: center;
}

/* =========================================================
   Education
   ========================================================= */
.edu {
  padding: var(--section-pad) 0;
}
.edu--alt { background: var(--bg-soft); }
.edu--refresh { padding-top: clamp(64px, 8vw, 96px); }

.edu__timeline {
  border-top: 1px solid var(--border);
}
.edu__item {
  position: relative;
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 24px;
  padding: 30px 16px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 380ms cubic-bezier(.4, 0, .2, 1);
}
.edu__item::before {
  content: '';
  position: absolute;
  left: -4px;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 3px;
  transform: translateY(-50%);
  transition: height 380ms cubic-bezier(.4, 0, .2, 1);
}
.edu__item:hover::before { height: 60%; }
.edu__item:hover .edu__year { color: var(--accent-hover); }
.edu__year {
  font-size: 22px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.edu__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}
.edu__univ {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.edu__direction {
  font-size: 13px;
  color: var(--text-muted);
}
.edu__zoom {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.edu__zoom svg { width: 20px; height: 20px; }
.edu__item:hover .edu__zoom,
.edu-card:hover .edu__zoom {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.edu__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.edu-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 26px;
  cursor: pointer;
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.edu-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.edu-card__year {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  display: inline-block;
  margin-bottom: 14px;
}
.edu-card__title {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.edu-card__univ {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.45;
}
.edu-card__meta { display: flex; gap: 8px; flex-wrap: wrap; }
.edu-card__chip {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.edu__years {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.edu-year {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.edu-year__num {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.edu-year__list {
  display: flex;
  flex-direction: column;
}
.edu-line {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 64px;
  align-items: center;
  gap: 16px;
  padding: 18px 8px;
  border-top: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--t), padding var(--t);
}
.edu-line:first-child { border-top: 0; }
.edu-line:hover { background: var(--accent-soft); padding-left: 14px; padding-right: 14px; }
.edu-line__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.edu-line__univ {
  font-size: 13.5px;
  color: var(--text-secondary);
}
.edu-line__hours {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.edu__note {
  margin-top: 32px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* =========================================================
   Contacts — badge + form
   ========================================================= */
.contact {
  padding: clamp(32px, 4vw, 64px) 0 var(--section-pad);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* бейдж врача на верёвочке */
.badge {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
}
.badge__lanyard {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 90px;
  background:
    linear-gradient(90deg, transparent 40%, var(--text) 40%, var(--text) 60%, transparent 60%),
    linear-gradient(180deg, var(--text), var(--text-secondary));
  background-blend-mode: multiply;
  background-color: var(--text);
  border-radius: 6px 6px 0 0;
  z-index: 1;
}
.badge__lanyard::before,
.badge__lanyard::after {
  content: '';
  position: absolute;
  top: 100%;
  width: 6px;
  height: 14px;
  background: var(--text);
  border-radius: 0 0 3px 3px;
}
.badge__lanyard::before { left: 6px; transform: rotate(-12deg) translateY(-2px); transform-origin: top center; }
.badge__lanyard::after  { right: 6px; transform: rotate(12deg) translateY(-2px); transform-origin: top center; }

.badge__card {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 72px 28px 32px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  z-index: 2;
}
.badge__clip {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 28px;
  background: linear-gradient(180deg, #c8ccd4, #9aa0aa);
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}
.badge__clip::before {
  content: '';
  position: absolute;
  inset: 6px 14px;
  border: 2px solid rgba(0,0,0,0.25);
  border-radius: 4px;
}
.badge__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(170deg, var(--bg-dark) 0%, var(--bg-dark-soft) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.badge__photo img {
  width: 130%;
  height: auto;
  object-fit: contain;
  object-position: top center;
  margin-top: -10px;
}
.badge__name {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.badge__role {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 20px;
}
.badge__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: left;
}
.badge__contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.badge__contacts svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }
.badge__contacts a { color: var(--text); transition: color var(--t); word-break: break-word; }
.badge__contacts a:hover { color: var(--accent); }

/* форма */
.contact__form-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.contact__form-title > .section-title--muted { font-weight: 400; }
.contact__form-lead {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form__row { display: flex; gap: 18px; }
.form__field { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
.form__input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  transition: border-color var(--t), background var(--t);
}
.form__input::placeholder { color: var(--text-muted); }
.form__input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
}
.form__input--textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}
.form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
  margin: 8px 0 6px;
}
.form__check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form__submit { align-self: flex-start; }
.form__status {
  padding: 14px 18px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
}

/* =========================================================
   Modal (universal)
   ========================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(.4, 0, .2, 1);
}
.modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.55);
  backdrop-filter: blur(4px);
}
.modal__inner {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
  width: 100%;
  max-width: 720px;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: transform 320ms cubic-bezier(.22, .61, .36, 1);
}
.modal__inner--narrow {
  max-width: 440px;
  padding: 28px;
}
.modal__inner--narrow .modal__title {
  font-size: 22px;
  margin-bottom: 0;
  letter-spacing: -0.015em;
}
.modal__inner--narrow .modal__content { gap: 14px; }
.modal__inner--narrow .form { gap: 10px; }
.modal__inner--narrow .form__field { gap: 4px; }
.modal__inner--narrow .form__label {
  font-size: 11px;
  letter-spacing: 0.04em;
}
.modal__inner--narrow .form__input { padding: 10px 14px; font-size: 14.5px; border-radius: 10px; }
.modal__inner--narrow .form__input--textarea { min-height: 70px; }
.modal__inner--narrow .form__check { font-size: 12.5px; margin: 4px 0; }
.modal__inner--narrow .form__check input { width: 16px; height: 16px; }
.modal__inner--narrow .form__submit { padding: 12px 22px; font-size: 14px; margin-top: 4px; }
.modal__inner--narrow .form__submit svg { width: 16px; height: 16px; }
.modal[aria-hidden="false"] .modal__inner {
  transform: translateY(0) scale(1);
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), color var(--t);
}
.modal__close:hover { background: var(--accent); color: #fff; }
.modal__close svg { width: 18px; height: 18px; }

.modal__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal__eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.modal__title {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-right: 40px;
}
.modal__authors {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.modal__meta {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.modal__meta em { font-style: normal; font-weight: 500; color: var(--text); }
.modal__abstract {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.modal__abstract h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.modal__abstract p { margin-bottom: 10px; }
.modal__abstract p:last-child { margin-bottom: 0; }
.modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* =========================================================
   Cookie banner (152-ФЗ)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%) translateY(120%);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 50px rgba(20, 23, 28, 0.15);
  max-width: min(720px, calc(100vw - 32px));
  width: max-content;
  transition: transform 380ms cubic-bezier(.22, .61, .36, 1);
}
[data-theme="dark"] .cookie-banner { box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); }
.cookie-banner__text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-border);
  text-underline-offset: 2px;
  font-weight: 500;
}
.cookie-banner__link:hover { text-decoration-color: var(--accent); }
.cookie-banner__btn {
  padding: 10px 22px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: 12px;
    border-radius: var(--radius-xl);
    padding: 16px 18px;
  }
  .cookie-banner__text { text-align: left; }
  .cookie-banner__btn { width: 100%; }
}

/* =========================================================
   Easter egg overlay (Melodia Vitae)
   ========================================================= */
.easter-egg {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 250ms cubic-bezier(.4, 0, .2, 1);
}
.easter-egg.is-visible { opacity: 1; }
.easter-egg.is-fading { opacity: 0; transition-duration: 500ms; }
.easter-egg__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 36px 56px;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.88);
  transition: transform 300ms cubic-bezier(.34, 1.5, .64, 1);
}
.easter-egg.is-visible .easter-egg__inner { transform: scale(1); }
.easter-egg__icon {
  width: 110px;
  height: 110px;
  filter: drop-shadow(0 6px 16px rgba(125, 163, 208, 0.4));
}
.easter-egg__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* eyebrow utility */
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: var(--radius-pill);
  align-self: flex-start;
}

/* =========================================================
   Responsive — subpages
   ========================================================= */
@media (max-width: 960px) {
  .society { grid-template-columns: 40px minmax(0, 1fr); }
  .society__status { grid-column: 2 / 3; margin-top: 4px; justify-self: start; }

  .pub { grid-template-columns: 36px minmax(0, 1fr); }
  .pub__doi-tag { grid-column: 2 / 3; justify-self: start; margin-top: 4px; }

  .pubs__controls { flex-direction: column; align-items: stretch; }

  .edu__item { grid-template-columns: 80px minmax(0, 1fr) 40px; gap: 16px; }
  .edu__cards { grid-template-columns: 1fr; }
  .edu-year { grid-template-columns: 1fr; gap: 12px; }
  .edu-line { grid-template-columns: 1fr; gap: 4px; }
  .edu-line__hours { text-align: left; }

  .contact__grid { grid-template-columns: 1fr; gap: 56px; }
  .badge { max-width: 360px; margin: 0 auto; }

  .form__row { flex-direction: column; }
}

/* ---------- Scroll reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.22,.61,.36,1),
              transform 700ms cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"].is-revealed { transition-delay: 80ms; }
[data-reveal-delay="2"].is-revealed { transition-delay: 160ms; }
[data-reveal-delay="3"].is-revealed { transition-delay: 240ms; }
[data-reveal-delay="4"].is-revealed { transition-delay: 320ms; }
[data-reveal-delay="5"].is-revealed { transition-delay: 400ms; }
[data-reveal-delay="6"].is-revealed { transition-delay: 480ms; }

/* Hero — небольшая стартовая анимация без скролл-наблюдения */
.hero__chips,
.hero__title,
.hero__lead,
.hero__cta,
.hero__bases,
.hero__badge,
.hero__photo,
.hero__media-card {
  opacity: 0;
  animation: hero-in 800ms cubic-bezier(.22,.61,.36,1) forwards;
}
.hero__chips { animation-delay: 80ms; }
.hero__title { animation-delay: 180ms; }
.hero__lead  { animation-delay: 280ms; }
.hero__cta   { animation-delay: 360ms; }
.hero__bases { animation-delay: 440ms; }
.hero__badge { animation-delay: 520ms; }
.hero__photo { animation-delay: 100ms; animation-name: hero-photo-in; animation-duration: 900ms; }
.hero__media-card { animation-delay: 700ms; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-photo-in {
  from { opacity: 0; transform: translateY(30px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
