/* ============================================================
   Invisible Net VPN — минималистичный премиум-дизайн
   Палитра логотипа: cloud dancer · warm gold · charcoal
   ============================================================ */

/* Шрифты подключаются <link>'ом в <head> каждой страницы (быстрее @import). */

:root {
  --bg: #f6f3ea;          /* cloud dancer — основной фон */
  --bg-alt: #fffdf7;      /* секции-чередование */
  --surface: #ffffff;     /* карточки */
  --ink: #1c1b18;         /* charcoal — основной текст */
  --ink-2: #4f4a42;       /* вторичный текст */
  --muted: #6e6757;       /* приглушённый (затемнён до AA-контраста на креме) */
  --gold: #c9a876;        /* тёплое золото */
  --gold-deep: #8b6f47;   /* тёмное золото (контраст на светлом) */
  --gold-soft: #ece0c8;   /* светлое золото (фоны) */
  --line: #e4ddcd;        /* тонкие границы */
  --charcoal: #1f1f1f;
  --radius: 14px;
  --maxw: 1140px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* токены, перекрываемые тёмной темой */
  --header-bg: rgba(246, 243, 234, 0.88);
  --btn-primary-bg: var(--charcoal);
  --btn-primary-fg: var(--bg);
  --cta-bg: #12291f; /* глубокий изумруд — цветовой акцент светлой темы */
  --cta-fg: var(--bg);
  --cta-border: transparent;
  --sel-bg: var(--gold-soft);
  --sel-fg: var(--ink);
  /* градиент акцента в h1 (тёмный край держит контраст ≥3:1 на креме) */
  --h1-grad-1: #8b6f47;
  --h1-grad-2: #a5814e;
  --hero-glow: rgba(201, 168, 118, 0.28);
  /* второй фирменный цвет — изумруд (иконки, галочки, CTA-панель, свечение) */
  --em: #14654f;
  --em-soft: #e2efe8;
  --em-line: #c4dfd2;
  --hero-glow-2: rgba(20, 101, 79, 0.16);
  color-scheme: light;
}

/* ============================================================
   ТЁМНАЯ ТЕМА
   — применяется по системной настройке (если пользователь
     явно не выбрал светлую) и по ручному выбору data-theme="dark"
   ============================================================ */
:root[data-theme="dark"] {
  /* тёмная тема = глубокий изумруд («малахит»), а не чёрный */
  --bg: #0a120e;
  --bg-alt: #0e1813;
  --surface: #131f19;
  --ink: #eef3ee;
  --ink-2: #c0ccc2;
  --muted: #8b998c;
  --gold: #d9bd8c;
  --gold-deep: #e4cc9f;
  --gold-soft: #22301f;
  --line: #24342b;
  --header-bg: rgba(10, 18, 14, 0.82);
  --btn-primary-bg: #f0ecdf;
  --btn-primary-fg: #0c150f;
  --cta-bg: #11241b;
  --cta-fg: var(--ink);
  --cta-border: #24342b;
  --sel-bg: #d9bd8c;
  --sel-fg: #14130f;
  --h1-grad-1: #d9bd8c;
  --h1-grad-2: #f0dcae;
  --hero-glow: rgba(217, 189, 140, 0.13);
  --em: #7fd7b2;
  --em-soft: #16281f;
  --em-line: #2b4636;
  --hero-glow-2: rgba(88, 201, 154, 0.10);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a120e;
    --bg-alt: #0e1813;
    --surface: #131f19;
    --ink: #eef3ee;
    --ink-2: #c0ccc2;
    --muted: #8b998c;
    --gold: #d9bd8c;
    --gold-deep: #e4cc9f;
    --gold-soft: #22301f;
    --line: #24342b;
    --header-bg: rgba(10, 18, 14, 0.82);
    --btn-primary-bg: #f0ecdf;
    --btn-primary-fg: #0c150f;
    --cta-bg: #11241b;
    --cta-fg: var(--ink);
    --cta-border: #24342b;
    --sel-bg: #d9bd8c;
    --sel-fg: #14130f;
    --h1-grad-1: #d9bd8c;
    --h1-grad-2: #f0dcae;
    --hero-glow: rgba(217, 189, 140, 0.13);
    --em: #7fd7b2;
    --em-soft: #16281f;
    --em-line: #2b4636;
    --hero-glow-2: rgba(88, 201, 154, 0.10);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--gold-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
/* ссылки внутри текста подчёркнуты (WCAG 1.4.1 — не только цветом) */
p a, li a, .callout a { text-decoration: underline; text-underline-offset: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
::selection { background: var(--sel-bg); color: var(--sel-fg); }

/* надпись-лейбл в стиле логотипа «— ESTABLISHED —» */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
}

/* ===================== ШАПКА ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
/* класс вешает app.js после начала прокрутки */
.site-header.scrolled { box-shadow: 0 8px 28px rgba(31, 31, 31, 0.10); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo:hover { color: var(--ink); }
.logo img { height: 52px; width: auto; display: block; }
.logo-text {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--ink);
  white-space: nowrap;
}
.lt-vpn {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-left: 1px;
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--gold-deep); }

/* ===================== КНОПКИ ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 30px;
  border-radius: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .2s ease, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* видимое кольцо фокуса для клавиатуры — по всему сайту */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible, .theme-toggle:focus-visible { outline-offset: 2px; }
.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
}
.btn-primary:hover {
  color: var(--btn-primary-fg);
  box-shadow: 0 10px 26px rgba(31, 31, 31, 0.22);
}
.btn-gold {
  background: var(--gold);
  color: var(--charcoal);
}
.btn-gold:hover {
  color: var(--charcoal);
  background: #d4b585;
  box-shadow: 0 10px 26px rgba(201, 168, 118, 0.4);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { color: var(--ink); background: rgba(31, 31, 31, 0.05); }
.btn-lg { padding: 17px 38px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* переключатель темы (вставляется скриптом в шапку) */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .18s;
}
.theme-toggle:hover {
  color: var(--gold-deep);
  border-color: var(--gold);
  transform: translateY(-1px);
}
.theme-toggle svg { width: 18px; height: 18px; display: block; }

/* ===================== HERO ===================== */
.hero {
  text-align: center;
  padding: 80px 0 96px;
}
.hero-logo {
  width: 224px;
  height: auto;
  margin: 0 auto 18px;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(31, 31, 31, 0.22));
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 22px 0 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-deep); /* фолбэк, если clip-градиент не поддержан */
  background: linear-gradient(105deg, var(--h1-grad-1), var(--h1-grad-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--ink-2);
  max-width: 580px;
  margin: 0 auto 34px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}
/* вторичная кнопка в hero — тише основной, чтобы CTA доминировал
   (золотая рамка: подчинена сплошному CTA, но проходит non-text контраст 1.4.11) */
.hero-actions .btn-ghost { border-color: var(--gold-deep); color: var(--ink-2); }
.hero-actions .btn-ghost:hover { border-color: var(--ink); color: var(--ink); }

/* строка живых цифр под кнопками hero */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(28px, 6vw, 64px);
  margin-top: 44px;
}
.hero-stats .stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}
.hero-stats .stat + .stat::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(14px, 3vw, 32px));
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}
.stat-label { font-size: 13px; color: var(--muted); }

/* ===================== БЕГУЩАЯ СТРОКА ЛОКАЦИЙ ===================== */
.locations-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 15px 0;
  /* растворение краёв */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.locations-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.marquee-group li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
  padding: 0 18px;
  position: relative;
}
.marquee-group .flag {
  width: 21px; height: 14px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--line);
  flex-shrink: 0;
}
.marquee-group li::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===================== СЕКЦИИ ===================== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-2); font-size: 16.5px; }

/* ===================== ВОЗМОЖНОСТИ (bento) ===================== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
/* первая карточка — крупная, задаёт асимметрию сетки */
.feature-lg {
  grid-column: span 2;
  background:
    radial-gradient(420px 220px at 85% -20%, var(--hero-glow-2), transparent 70%),
    var(--surface);
}
.feature-lg p { max-width: 52ch; }
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(31, 31, 31, 0.08);
  border-color: var(--gold);
}
.feature .ico {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--em-line);
  background: var(--em-soft);
  color: var(--em);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 9px;
}
.feature p { color: var(--ink-2); font-size: 15px; }

/* ===================== ТАРИФЫ ===================== */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured {
  border: 1px solid var(--gold);
  box-shadow: 0 18px 48px rgba(201, 168, 118, 0.22);
  background:
    radial-gradient(360px 200px at 50% -12%, var(--hero-glow), transparent 70%),
    var(--surface);
}
.plan-tag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}
.plan h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.plan .price {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1px;
  margin: 14px 0 2px;
}
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 400; }
.plan .price-alt {
  color: var(--gold-deep);
  font-size: 14px;
  margin-bottom: 24px;
}
/* чипы способов оплаты в карточке тарифа */
.pay-methods {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: -12px 0 20px;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--bg-alt);
}
.pay-chip svg { width: 14px; height: 14px; color: var(--gold-deep); }
.plan .divider { height: 1px; background: var(--line); margin-bottom: 22px; }
.plan ul { list-style: none; margin: 0 0 28px; flex: 1; }
.plan ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: var(--ink-2);
}
.plan ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 15px;
  width: 12px; height: 6px;
  border-left: 1.6px solid var(--em);
  border-bottom: 1.6px solid var(--em);
  transform: rotate(-45deg);
}
.plan .btn { width: 100%; justify-content: center; }

/* тихая кнопка «Картой, без Telegram» под основной кнопкой тарифа */
.btn-plati {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.btn-plati svg { width: 16px; height: 16px; color: var(--gold-deep); }
.btn-plati:hover { color: var(--ink); background: var(--gold-soft); }

/* ===================== ПОКУПКА БЕЗ TELEGRAM ===================== */
.section-plati { padding-top: 0; }
.plati-panel {
  background: var(--surface);
  border: 1px solid var(--gold);
  border-radius: 22px;
  padding: clamp(36px, 6vw, 64px);
  background:
    radial-gradient(480px 260px at 12% -30%, var(--hero-glow), transparent 70%),
    var(--surface);
}
.plati-panel .section-head { margin-bottom: 44px; }
.plati-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: pstep;
  margin-bottom: 40px;
}
.plati-step { text-align: center; }
.plati-step .num {
  counter-increment: pstep;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold);
  width: 54px; height: 54px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.plati-step .num::before { content: "0" counter(pstep); }
.plati-step h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 7px;
}
.plati-step p { color: var(--ink-2); font-size: 15px; }
.plati-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.plati-note {
  text-align: center;
  margin-top: 22px;
  font-size: 14px;
  color: var(--muted);
}

/* ===================== ШАГИ ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  counter-reset: step;
}
.step { text-align: center; }
.step .num {
  counter-increment: step;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--gold);
  width: 72px; height: 72px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step .num::before { content: "0" counter(step); }
.step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.step p { color: var(--ink-2); font-size: 15px; }

/* ===================== ПЛАТФОРМЫ ===================== */
.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 52px;
}
.platform {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: border-color .2s, color .2s;
}
.platform:hover { border-color: var(--gold); color: var(--ink); }
.platform svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--gold-deep); }

/* ===================== CTA ===================== */
.cta {
  text-align: center;
  background: var(--cta-bg);
  border: 1px solid var(--cta-border);
  border-radius: 22px;
  padding: 72px 32px;
  color: var(--cta-fg);
}
.cta .eyebrow { color: var(--gold); margin-bottom: 18px; }
.cta .eyebrow::before, .cta .eyebrow::after { background: var(--gold); }
.cta h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 600;
  margin-bottom: 14px;
  color: #fff;
}
.cta p { color: #b8b2a6; margin-bottom: 30px; }
.cta-alt { margin: 22px 0 0 !important; font-size: 14px; }
.cta-alt a { color: var(--gold); }
.cta-alt a:hover { color: #fff; }

/* ===================== КОНТЕНТНЫЕ СТРАНИЦЫ ===================== */
.content { padding: 76px 0; }
.content-wrap { max-width: 760px; margin: 0 auto; }
.content .eyebrow { margin-bottom: 20px; }
.content h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5.2vw, 48px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.content .updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 40px;
}
.content h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 14px;
}
.content h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 8px;
}
.content p, .content li { color: var(--ink-2); font-size: 16px; }
.content ul, .content ol { margin: 12px 0 12px 24px; }
.content li { margin: 7px 0; }
.content .lead { color: var(--ink); font-size: 18px; line-height: 1.75; }

/* FAQ-аккордеон на нативном <details> */
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq-item:hover { border-color: var(--gold); box-shadow: 0 10px 28px rgba(31, 31, 31, 0.06); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 26px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-deep); }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 9px; height: 9px;
  margin-right: 4px;
  border-right: 1.8px solid var(--gold-deep);
  border-bottom: 1.8px solid var(--gold-deep);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item > p { color: var(--ink-2); font-size: 15px; padding: 0 26px 22px; }

/* список мини-FAQ на главной */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-more { text-align: center; margin-top: 28px; }

.callout {
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 15px;
  color: var(--ink);
}
.callout.info {
  background: var(--bg-alt);
  border-color: var(--line);
}

/* ===================== ОТЗЫВЫ ===================== */
.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 900px;
  margin: 0 auto;
}
.review {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px 24px;
}
.review::before {
  content: "\201C";
  display: block;
  font-family: var(--serif);
  font-size: 46px;
  line-height: 0.6;
  color: var(--gold);
  margin-bottom: 14px;
}
.review blockquote {
  margin: 0 0 14px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.review figcaption {
  font-size: 13px;
  color: var(--muted);
}

/* ===================== ПОДВАЛ ===================== */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-deep);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--ink-2);
  font-size: 15px;
  margin: 9px 0;
}
.footer-col a:hover { color: var(--gold-deep); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--muted);
  font-size: 13.5px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===================== SCROLL-REVEAL ===================== */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ===================== АДАПТИВ ===================== */
@media (max-width: 880px) {
  .features, .plans, .steps, .plati-steps, .reviews { grid-template-columns: 1fr; }
  .feature-lg { grid-column: auto; }
  .section { padding: 66px 0; }
  .hero { padding: 56px 0 70px; }
  .nav-links { gap: 16px; }
  .nav-links a.hide-sm { display: none; }
  .plan.featured { order: -1; }
  .steps { gap: 36px; }
  .hero-stats { margin-top: 36px; }
}
@media (max-width: 460px) {
  .footer-bottom { flex-direction: column; }
  .logo-text { font-size: 17px; }
  /* в шапке на телефоне оставляем только герб — текст бренда прячем,
     чтобы не переносился и не теснил кнопку (в футере вордмарк остаётся) */
  .site-header .logo-text { display: none; }
  .site-header .logo img { height: 42px; }
  .stat-label { font-size: 12px; }
  .plati-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
  /* бегущая строка замирает и превращается в обычный список с переносами */
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .locations-marquee { -webkit-mask-image: none; mask-image: none; }
}
