/* ============================================================
   Weekend Bonus Landing — Aura7 DS v2.0
   Brand register: warm committed palette, portrait-photo cards.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ol[role='list'], ul[role='list'] { list-style: none; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
img, svg { display: block; max-width: 100%; height: auto; }
button { background: none; border: 0; cursor: pointer; padding: 0; font: inherit; color: inherit; }

:root {
  /* Brand gradients */
  --a7-cta-gradient:        linear-gradient(135deg, #F6735F 0%, #EA5E83 100%);
  --a7-aura-gradient:       linear-gradient(120deg, #FFD585 0%, #FE8272 48%, #E472AD 100%);
  --a7-aura-gradient-soft:  linear-gradient(135deg, #FFF4E6 0%, #FFE2D6 46%, #FBD6EC 100%);

  /* Neutrals (warm-tinted) */
  --a7-neutral-50:  #FAF7F4;
  --a7-neutral-100: #F2EDE8;
  --a7-neutral-200: #E4DCD4;
  --a7-neutral-300: #C9BFB5;
  --a7-neutral-400: #9C9289;
  --a7-neutral-500: #6E655D;
  --a7-neutral-700: #3E3832;
  --a7-neutral-900: #1A1715;

  /* Brand solids */
  --a7-coral: #F6735F;
  --a7-pink:  #EA5E83;
  --state-success: #2FBF6B;

  /* Semantic */
  --brand-primary-gradient: var(--a7-cta-gradient);
  --surface-page:   var(--a7-neutral-50);
  --surface-card:   #FFFFFF;
  --surface-nested: var(--a7-neutral-100);
  --text-primary:   var(--a7-neutral-900);
  --text-secondary: var(--a7-neutral-700);
  --text-tertiary:  var(--a7-neutral-500);
  --stroke-default: var(--a7-neutral-200);

  /* Radius */
  --radius-sm:  12px;
  --radius-md:  16px;
  --radius-lg:  22px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  /* Shadows — warm-tinted, soft */
  --shadow-sm: 0 2px 8px rgba(60,30,40,.05), 0 1px 2px rgba(60,30,40,.04);
  --shadow-md: 0 14px 34px -12px rgba(80,40,55,.18), 0 4px 10px rgba(80,40,55,.06);
  --shadow-cta: 0 16px 40px -12px rgba(234,94,131,.55);

  /* Type */
  --font-sans: 'Golos Text', 'Helvetica Neue', system-ui, sans-serif;

  /* Fluid rhythm */
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(32px, 4.5vw, 64px);
  --maxw: 1240px;
  --maxw-narrow: 760px;
}

body {
  font-family: var(--font-sans);
  background: var(--surface-page);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a7-pink);
  background: rgba(234,94,131,.07);
  border: 1px solid rgba(234,94,131,.18);
  padding: 6px 14px 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-kicker::before {
  content: '✦';
  font-size: 12px;
  line-height: 1;
  color: var(--a7-coral);
}
.section-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

/* ===== HEADER (sticky + glass on scroll) ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled {
  background: rgba(250, 247, 244, .55);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom-color: rgba(228, 220, 212, .6);
  box-shadow: 0 6px 24px -16px rgba(80, 40, 55, .35);
}
.site-header__inner {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(14px, 2.4vw, 22px) var(--gutter);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.site-header__brand { flex-shrink: 0; display: flex; }
.site-header__logo { height: clamp(26px, 3.4vw, 34px); width: auto; }
.site-header__tagline {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-tertiary);
  max-width: 40ch;
}
.site-header__phone {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__phone:hover { color: var(--a7-pink); }
@media (max-width: 767px) {
  .site-header__tagline { display: none; }
}

/* ===== HERO (full-width, light, centered, compact) ===== */
.hero {
  position: relative;
  /* лёгкое тепло сверху → светлеет книзу; верх не «персиковый», а почти светлый */
  background: linear-gradient(180deg, #FFF5EE 0%, #FCF7F3 52%, var(--surface-page) 100%);
  padding: clamp(24px, 3vw, 44px) 0 clamp(20px, 2.5vw, 34px);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}
/* мягкие тёплые свечения — дают «жизнь», но рассеянно (не плотная полоса) */
.hero::before {
  content: '';
  position: absolute;
  inset: -24% -16% auto auto;
  width: min(54vw, 580px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(254,130,114,.18) 0%, rgba(228,114,173,.08) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: -10% auto auto -16%;
  width: min(48vw, 500px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,193,126,.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}
.hero__text { max-width: 620px; width: 100%; }
.hero__aside { width: 100%; }
/* Десктоп: текст слева, ступеньки справа — всё в один экран */
@media (min-width: 980px) {
  .hero { text-align: left; }
  .hero__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: clamp(48px, 5vw, 88px); }
  .hero__text { flex: 1 1 560px; }
  .hero__aside { flex: 0 1 470px; min-width: 0; }
  .hero__title { margin-inline: 0; max-width: 18ch; }
  .hero__sub { margin-inline: 0; max-width: 42ch; }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--a7-neutral-700);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(12px) saturate(1.4);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  padding: 9px 18px 9px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}
.hero__eyebrow-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--a7-coral);
  flex-shrink: 0;
  /* Статичное мягкое свечение — без мигания */
  box-shadow: 0 0 0 4px rgba(246,115,95,.16), 0 0 12px 2px rgba(246,115,95,.55);
}
.hero__title {
  font-size: clamp(29px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
  margin-inline: auto;
  max-width: 20ch;
}
.hero__title em { font-style: normal; color: var(--a7-pink); }
.hero__sub {
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 52ch;
  /* Расстояние до ступенек задаёт gap у .hero__inner — не дублируем margin'ом */
  margin: 0 auto;
}
/* CTA вынесена под обе колонки и центрирована по всему hero */
.hero__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 44px);
}

/* ===== BONUS BAND ===== */
.bonus-section { padding: var(--section-y) 0 0; }
.bonus-head { text-align: center; margin-bottom: clamp(32px, 4vw, 48px); }
/* Ступеньки: карточки разной высоты, бонус «растёт» слева направо */
.bonus-band {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.6vw, 18px);
}
@media (min-width: 640px) {
  .bonus-band { flex-direction: row; align-items: stretch; }
}
.bonus-tier {
  flex: 1;
  background: var(--surface-card);
  border: 1px solid var(--stroke-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s;
}
.bonus-tier:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -22px rgba(80,40,55,.3); }
/* Выделяем только «Максимум» — масштабом, без рваных высот */
@media (min-width: 640px) {
  .bonus-tier--featured { transform: scale(1.04); }
  .bonus-tier--featured:hover { transform: translateY(-5px) scale(1.04); }
}
.bonus-tier__num {
  font-size: clamp(42px, 4.2vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--a7-coral);
}
.bonus-tier--featured .bonus-tier__num { color: var(--a7-pink); font-size: clamp(48px, 4.6vw, 64px); }
.bonus-tier__unit { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; color: var(--text-primary); margin-left: 5px; letter-spacing: -0.01em; }
.bonus-tier__desc { font-size: 13.5px; line-height: 1.45; color: var(--text-tertiary); margin-top: 3px; }
/* Выделенный «максимум» — три ячейки перестают быть одинаковыми + коралловое свечение */
.bonus-tier--featured {
  background: linear-gradient(180deg, rgba(255,231,201,.55), rgba(251,214,236,.4));
  box-shadow: 0 24px 50px -18px rgba(234,94,131,.5);
}
.bonus-tier--featured:hover { box-shadow: 0 32px 62px -20px rgba(234,94,131,.6); }
.bonus-tier__tag {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--a7-cta-gradient);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px -4px rgba(234,94,131,.5);
}
.bonus-hint {
  margin-top: clamp(20px, 2.6vw, 28px);
  text-align: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-tertiary);
}

/* ===== STEPS (тёплый band во всю ширину; карточки «плавают») ===== */
.steps-section {
  padding: var(--section-y) 0;
  margin-top: var(--section-y);
  /* растушёванный по вертикали band: мягко появляется и исчезает, без резких краёв */
  background: linear-gradient(180deg,
    rgba(255,244,230,0) 0%,
    rgba(255,236,222,.9) 15%,
    rgba(251,216,236,.7) 85%,
    rgba(251,216,236,0) 100%);
}
.steps-head { margin-bottom: clamp(28px, 3.6vw, 44px); text-align: center; }
.steps-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 24px);
}
@media (min-width: 760px) { .steps-list { grid-template-columns: repeat(3, 1fr); } }
.step-item {
  background: var(--surface-card);
  border: 0;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.8vw, 30px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-item__num {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--a7-aura-gradient-soft);
  border: 1px solid rgba(246,115,95,.25);
  color: var(--a7-coral);
  font-size: 19px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step-item__text { font-size: clamp(15px, 1.7vw, 17px); line-height: 1.5; color: var(--text-secondary); }

/* ===== EXPERTS ===== */
.experts-section { padding: clamp(16px, 2.5vw, 32px) 0 0; display: none; position: relative; }
.experts-section.is-visible { display: block; }
.experts-section .container { position: relative; z-index: 1; }
/* мягкое фоновое свечение для глубины (только десктоп — на мобиле давало оверфлоу) */
@media (min-width: 900px) {
  .experts-section::before {
    content: '';
    position: absolute;
    top: 6%; right: 0;
    width: min(38vw, 460px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(254,130,114,.16) 0%, rgba(228,114,173,.10) 45%, transparent 70%);
    z-index: 0;
    pointer-events: none;
  }
}
.experts-head { text-align: center; margin-bottom: clamp(30px, 4vw, 46px); }

/* Horizontal scroll carousel on ALL viewports — shows every online expert */
.experts-carousel { position: relative; }
.experts-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Первая карточка садится на gutter (контейнер уже даёт отступ слева),
     «вылет» только справа: последняя карточка уходит за край = сигнал листать. */
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
  scroll-padding-left: 0;
  padding-bottom: 6px;
}
.experts-grid::-webkit-scrollbar { display: none; }
.experts-grid > .expert-card { flex: 0 0 82%; scroll-snap-align: start; max-width: 300px; }
@media (min-width: 560px) {
  .experts-grid > .expert-card { flex: 0 0 48%; }
}
@media (min-width: 900px) {
  .experts-grid {
    margin-inline: 0;
    padding-inline: 0;
    gap: 20px;
  }
  /* ~3.3 cards visible → cards stay wide, the next one peeks to signal scroll */
  .experts-grid > .expert-card { flex: 0 0 calc((100% - 2 * 20px) / 3.3); max-width: none; }
}

/* Glass arrows (desktop only) */
.experts-arrow { display: none; }
@media (min-width: 900px) {
  .experts-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 54px; height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(14px) saturate(1.5);
    -webkit-backdrop-filter: blur(14px) saturate(1.5);
    border: 1px solid rgba(255,255,255,.75);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    z-index: 5;
    cursor: pointer;
    transition: transform .2s cubic-bezier(.22,1,.36,1), background .2s;
  }
  .experts-arrow:hover { background: rgba(255,255,255,.85); transform: translateY(-50%) scale(1.06); }
  .experts-arrow:disabled { opacity: 0; pointer-events: none; }
  .experts-arrow--prev { left: -16px; }
  .experts-arrow--next { right: -16px; }
}

.expert-card {
  background: var(--surface-card);
  border: 1px solid var(--stroke-default);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s cubic-bezier(.22,1,.36,1);
}
.expert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.expert-card--clickable { cursor: pointer; }
.expert-card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--surface-nested);
  overflow: hidden;
}
.expert-card__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.expert-card__status {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,.55);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border: 1px solid rgba(255,255,255,.65);
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 4px 14px -4px rgba(60,30,40,.25);
}
.expert-card__status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--state-success);
  flex-shrink: 0;
  /* Статичное мягкое свечение — без мигания */
  box-shadow: 0 0 0 3px rgba(47,191,107,.16), 0 0 9px 2px rgba(47,191,107,.6);
}
.expert-card__body {
  padding: clamp(14px, 1.8vw, 18px);
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.expert-card__name {
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.expert-card__spec {
  font-size: 13px;
  color: var(--text-tertiary);
}
.expert-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 6px;
  margin-bottom: 16px;
}
.expert-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.expert-card__rating svg { flex-shrink: 0; }
.expert-card__exp { font-size: 12.5px; color: var(--text-tertiary); }
.expert-card__btn {
  margin-top: auto;
  width: 100%;
  padding: 13px 0;
  background: var(--a7-neutral-900);
  border: 1.5px solid var(--a7-neutral-900);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  transition: background .2s, color .2s, border-color .2s;
}
.expert-card__btn:hover {
  background: #fff;
  color: var(--a7-neutral-900);
  border-color: var(--a7-neutral-900);
}

/* ===== CTA SECTION ===== */
.cta-section { padding: var(--section-y) 0; }
.cta-panel {
  position: relative;
  background: var(--a7-aura-gradient-soft);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: auto auto -40% -10%;
  width: min(50vw, 480px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(228,114,173,.4) 0%, transparent 70%);
  z-index: -1;
}
.cta-panel__title {
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-primary-gradient);
  color: #fff;
  border-radius: var(--radius-pill);
  height: 60px;
  padding: 0 clamp(28px, 4vw, 44px);
  font-size: clamp(16px, 1.9vw, 18px);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  box-shadow: var(--shadow-cta);
  transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -12px rgba(234,94,131,.6); }
.btn-primary:active { transform: translateY(0); }

.cta-phone-note { font-size: 13px; color: var(--text-tertiary); margin-top: 8px; }
.cta-messenger-label { font-size: 15px; color: var(--text-secondary); margin: clamp(28px, 4vw, 40px) 0 16px; }
.messenger-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn-messenger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  background: rgba(255,255,255,.75);
  border: 1.5px solid rgba(255,255,255,.9);
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, background .2s;
}
.btn-messenger:hover { transform: translateY(-2px); background: #fff; }
.btn-messenger svg { width: 21px; height: 21px; flex-shrink: 0; }
.cta-disclaimer {
  margin-top: clamp(28px, 4vw, 40px);
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--surface-card);
  border-top: 1px solid var(--stroke-default);
  padding: clamp(40px, 5vw, 56px) 0;
}
.footer-legal { max-width: 80ch; }
.footer-legal p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--text-tertiary);
  margin-bottom: 12px;
}
.footer-legal a { color: var(--text-secondary); text-decoration: underline; text-decoration-color: var(--a7-neutral-300); text-underline-offset: 0.15em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 20px 0 16px; }
.footer-links a { font-size: 13px; font-weight: 500; color: var(--text-secondary); text-decoration: none; }
.footer-links a:hover { color: var(--a7-pink); }
.footer-copyright { font-size: 13px; color: var(--text-tertiary); }

/* ===== OVERLAY ===== */
.overlay-backdrop {
  display: none;
  position: fixed; inset: 0;
  background: rgba(26,23,21,.5);
  backdrop-filter: blur(3px);
  z-index: 1100;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.overlay-backdrop.is-open { display: flex; animation: fade .3s ease-out; }
@media (min-width: 640px) { .overlay-backdrop { align-items: center; padding: 24px; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.overlay-sheet {
  background: var(--surface-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: clamp(28px, 5vw, 40px) var(--gutter) clamp(32px, 5vw, 44px);
  width: 100%;
  max-width: 460px;
  position: relative;
  text-align: center;
  animation: sheetIn .38s cubic-bezier(.22,1,.36,1);
}
@media (min-width: 640px) { .overlay-sheet { border-radius: var(--radius-xl); } }
@keyframes sheetIn { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }

.overlay-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--surface-nested);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--text-tertiary);
  transition: background .2s;
}
.overlay-close:hover { background: var(--stroke-default); }
.overlay-expert {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(22px, 3vw, 28px);
  text-align: left;
}
.overlay-expert__avatar {
  /* Портрет 3/4 как на карточках — лицо кадрируется одинаково и помещается */
  width: 60px;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  background: var(--surface-nested);
  flex-shrink: 0;
}
.overlay-expert__name { font-size: 18px; font-weight: 700; }
.overlay-expert__spec { font-size: 13px; color: var(--text-tertiary); }
.overlay-expert__status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; color: var(--state-success);
  margin-top: 4px;
}
.overlay-expert__status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--state-success); }
.overlay-bonus {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  margin: 0 auto 14px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--a7-aura-gradient-soft);
  border: 1px solid rgba(246,115,95,.25);
  font-size: 13px;
  font-weight: 700;
  color: var(--a7-coral);
}
.overlay-bonus__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--a7-coral);
  filter: drop-shadow(0 0 3px rgba(246,115,95,.8));
}
.overlay-body__title {
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.overlay-body__note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-tertiary);
  margin-bottom: clamp(20px, 3vw, 26px);
}
.overlay-sheet .btn-primary { width: 100%; margin-bottom: 6px; }
.overlay-sheet .cta-phone-note { text-align: center; margin: 0 0 12px; }

/* Звонок в Telegram — вторичная кнопка (бесплатная альтернатива телефону) */
.btn-tg-call {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1.5px solid #229ED9;
  color: #1B8AC4;
  font-size: 16px; font-weight: 700;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-tg-call:hover { background: #F1F9FE; transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(34,158,217,.5); }
.btn-tg-call:active { transform: translateY(0); }
.btn-tg-call svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Подсказка под кнопкой звонка в Telegram: куда нажать после перехода */
.tg-call-hint {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--text-tertiary);
  margin: 9px auto 0;
  max-width: 31ch;
}
.tg-call-hint__ic { font-style: normal; }

/* Режим модалки «без эксперта» (открыта из кнопки «Заказать консультацию») */
#expert-overlay.is-generic .overlay-expert { display: none; }

/* Нет хотлайн-номера под страну → прячем телефон, остаётся звонок в Telegram */
body.no-phone #overlay-phone-btn,
body.no-phone .overlay-sheet .cta-phone-note,
body.no-phone #header-phone { display: none; }

/* Подзаголовок нижнего CTA-блока */
.cta-panel__sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 34ch;
  margin: 0 auto clamp(20px, 3vw, 26px);
}


/* ===== EXPERTS FALLBACK ===== */
.experts-fallback {
  grid-column: 1 / -1;
  flex: 1 1 100%;
  text-align: center;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.55;
  color: var(--text-secondary);
  background: var(--surface-card);
  border: 1px solid var(--stroke-default);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
}

/* ===== SCROLL-REVEAL (мягкое появление, композитно — без мигания) ===== */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease-out, transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }
.bonus-band .reveal:nth-child(2) { transition-delay: .12s; }
.bonus-band .reveal:nth-child(3) { transition-delay: .24s; }
.steps-list .reveal:nth-child(2) { transition-delay: .12s; }
.steps-list .reveal:nth-child(3) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
