/* ============================================================================
   СКАЗЁНОК — style.css
   Дизайн-токены в 3 слоя: primitive → semantic → component.
   Mobile-first, доступность AA, focus-состояния, prefers-reduced-motion.
   ============================================================================ */

/* ─────────────────────────────────────────────────────────────
   СЛОЙ 1 — PRIMITIVE TOKENS (сырые значения бренда)
   ───────────────────────────────────────────────────────────── */
:root {
  /* Палитра */
  --c-night:        #0f1b3a;   /* тёмно-синий фон секций */
  --c-night-900:    #0a1329;   /* глубже ночи */
  --c-night-800:    #142451;   /* приподнятая поверхность */
  --c-night-700:    #1c3068;   /* обводки/границы на тёмном */
  --c-gold:         #c9a961;   /* золото — акценты/CTA */
  --c-gold-bright:  #e4c988;   /* светлое золото (градиент) */
  --c-gold-deep:    #a8863f;   /* тёмное золото */
  --c-cream:        #faf4e6;   /* карточки/текст на тёмном */
  --c-cream-dim:    #d9d2c4;   /* приглушённый кремовый (вторичный текст) */
  --c-peach:        #f4c9a3;   /* тёплый персиковый — капля уюта */
  --c-white:        #ffffff;

  /* Типографика */
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Скругления */
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Тени */
  --sh-sm:  0 4px 14px rgba(6, 12, 30, .25);
  --sh-md:  0 16px 40px rgba(6, 12, 30, .35);
  --sh-lg:  0 30px 70px rgba(6, 12, 30, .45);
  --sh-gold: 0 10px 40px rgba(201, 169, 97, .35);

  /* Ритм / контейнер */
  --maxw: 1200px;
  --maxw-narrow: 780px;
  --gap: clamp(1rem, 3vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 7rem);

  /* Движение */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .45s;
}

/* ─────────────────────────────────────────────────────────────
   СЛОЙ 2 — SEMANTIC TOKENS (роли, а не значения)
   ───────────────────────────────────────────────────────────── */
:root {
  --bg:            var(--c-night);
  --bg-deep:       var(--c-night-900);
  --surface:       var(--c-night-800);
  --border:        rgba(201, 169, 97, .18);
  --border-strong: rgba(201, 169, 97, .45);

  --text:          var(--c-cream);
  --text-dim:      var(--c-cream-dim);
  --accent:        var(--c-gold);
  --accent-2:      var(--c-peach);

  --on-accent:     var(--c-night-900);          /* текст на золотой кнопке */
  --focus-ring:    0 0 0 3px rgba(244, 201, 163, .55);

  /* Градиенты звёздного неба */
  --grad-sky: radial-gradient(120% 90% at 80% -10%, #24346b 0%, #16224a 42%, var(--c-night) 72%, var(--c-night-900) 100%);
  --grad-gold: linear-gradient(135deg, var(--c-gold-bright) 0%, var(--c-gold) 50%, var(--c-gold-deep) 100%);
  --grad-glow: radial-gradient(closest-side, rgba(201,169,97,.55), rgba(201,169,97,0) 70%);
}

/* ─────────────────────────────────────────────────────────────
   RESET / БАЗА
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .3vw, 1.1rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; }

/* Контейнеры */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}
.container--narrow { max-width: var(--maxw-narrow); }

/* Скрытые поля (honeypot / служебные) */
.hidden-field { position: absolute; left: -9999px; opacity: 0; }

/* ─────────────────────────────────────────────────────────────
   СЛОЙ 3 — COMPONENT TOKENS + компоненты
   ───────────────────────────────────────────────────────────── */

/* ===== Кнопки ===== */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  transition: transform .25s var(--ease), box-shadow .3s var(--ease),
              background .3s var(--ease), filter .3s var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }

.btn--primary {
  --btn-bg: var(--grad-gold);
  --btn-fg: var(--on-accent);
  box-shadow: var(--sh-sm);
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: var(--sh-gold);
  filter: brightness(1.05);
}
.btn--ghost {
  --btn-fg: var(--text);
  border: 1.5px solid var(--border-strong);
  background: rgba(250, 244, 230, .04);
}
.btn--ghost:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--accent);
  background: rgba(201, 169, 97, .1);
  box-shadow: var(--sh-sm);
}
.btn:active { transform: translateY(-1px) scale(.99); }   /* мягкий отклик нажатия */

.btn--lg { padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ===== Полоса прогресса скролла ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad-gold);
  z-index: 200;
  box-shadow: 0 0 12px rgba(201, 169, 97, .7);
}

/* ===== Шапка ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease),
              box-shadow .35s var(--ease), padding .35s var(--ease);
  padding-block: .55rem;
}
.header.is-scrolled {
  background: rgba(10, 19, 41, .72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.header__logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-right: auto;
  transition: transform .3s var(--ease);
}
.header__logo:hover { transform: scale(1.04); }
.header__logo img {
  width: clamp(56px, 8vw, 76px);
  height: auto;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,.45));
}
.header__logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.2rem + .6vw, 1.7rem);
  color: var(--c-cream);
  letter-spacing: .01em;
}
.nav { display: none; gap: 1.6rem; }
.nav__link {
  position: relative;
  font-weight: 600;
  color: var(--text-dim);
  padding: .3rem 0;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav__link:hover { color: var(--c-cream); }
.nav__link:hover::after { width: 100%; }

.header__cta { display: none; }

/* Телефон в шапке. На мобиле — только иконка (tap-to-call), число прячем. */
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.header__phone svg { flex: none; }
.header__phone span { display: none; }        /* число видно с 900px */
.header__phone:hover { color: var(--c-cream); transform: scale(1.03); }

/* Гамбургер */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--c-cream);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu {
  display: grid;
  gap: .35rem;
  padding: 0 clamp(1.1rem, 4vw, 2.5rem);
  max-height: 0;
  overflow: hidden;
  background: rgba(10, 19, 41, .96);
  backdrop-filter: blur(14px);
  transition: max-height .4s var(--ease), padding .4s var(--ease);
}
.mobile-menu.is-open {
  max-height: 380px;
  padding-block: 1rem 1.4rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link {
  padding: .7rem .2rem;
  font-weight: 600;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.mobile-menu__phone { color: var(--accent); font-weight: 700; }
.mobile-menu__cta { margin-top: .6rem; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  padding-bottom: 3rem;
  background: var(--grad-sky);
  overflow: hidden;
}
.hero__sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__stars { position: absolute; inset: -20% 0; }
.hero__stars span {                 /* отдельная звезда (создаётся в JS) */
  position: absolute;
  border-radius: 50%;
  background: #fff;
  animation: twinkle var(--tw, 4s) ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .25; } to { opacity: 1; } }

.hero__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 640px; max-height: 640px;
  right: -8%; top: 8%;
  background: var(--grad-glow);
  opacity: .5;
  filter: blur(10px);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  margin-bottom: 1rem;
  padding: .35rem .9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-pill);
  background: rgba(201, 169, 97, .08);
}
.hero__title {
  font-size: clamp(2.2rem, 6.5vw, 4.1rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}
.hero__title-accent {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.hero__subtitle {
  color: var(--text-dim);
  font-size: clamp(1.02rem, .98rem + .4vw, 1.2rem);
  line-height: 1.75;              /* больше воздуха между строк */
  max-width: 42ch;               /* шире строка — меньше рваных переносов */
  margin-bottom: 1.8rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.8rem;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .9rem;
}
.hero__badges li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .92rem;
  color: var(--text-dim);
}
.hero__badges li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Обложка справа — золотое свечение + float.
   На мобилке (базовый стиль) фото идёт СВЕРХУ колонкой, текст под ним. */
.hero__media { display: flex; justify-content: center; order: -1; }
.hero__photo {
  position: relative;
  width: min(88vw, 420px);
  aspect-ratio: 67 / 92;
  max-height: 80vh;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg), 0 0 60px rgba(201, 169, 97, .35);
  border: 1.5px solid var(--border-strong);
}
.hero__photo::after {          /* мягкое золотое свечение по краю */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 60px rgba(201, 169, 97, .25);
  pointer-events: none;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Подсказка «листайте вниз» */
.hero__scroll-hint {
  position: absolute;
  left: 50%; bottom: 1.4rem;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: var(--r-pill);
  z-index: 3;
}
.hero__scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* ===== Общие блоки секций ===== */
.section { padding-block: var(--section-y); position: relative; }
.section__head { text-align: center; max-width: 46ch; margin: 0 auto clamp(2rem, 5vw, 3.2rem); }
.section__eyebrow {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: .7rem;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 700; }
.section__lead { color: var(--text-dim); margin-top: .8rem; font-size: 1.08rem; }

/* Секции с чуть иным фоном для ритма */
.how    { background: var(--bg-deep); }
.formats{ background: var(--bg-deep); }
.faq    { background: var(--bg-deep); }

/* ===== КАК РАБОТАЕТ ===== */
.how__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.steps { display: grid; gap: 1.2rem; }
.step {
  display: flex;
  gap: 1.1rem;
  padding: 1.3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), border-color .35s var(--ease),
              box-shadow .35s var(--ease);
}
.step:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--sh-md);
}
.step__icon {
  flex: none;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  color: var(--on-accent);
  background: var(--grad-gold);
  box-shadow: var(--sh-gold);
}
.step__icon svg { width: 26px; height: 26px; }
.step__num {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}
.step__title { font-size: 1.2rem; margin-bottom: .3rem; }
.step__text { color: var(--text-dim); font-size: .98rem; }

.how__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 1.5px solid var(--border);
}
.how__figure img { width: 100%; aspect-ratio: 67/92; max-height: 620px; object-fit: cover; }
.how__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.2rem 1rem;
  font-family: var(--font-head);
  font-style: italic;
  color: var(--c-cream);
  background: linear-gradient(transparent, rgba(10, 19, 41, .85));
}

/* ===== ГАЛЕРЕЯ ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(.8rem, 2vw, 1.2rem);
}
.gallery__item {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  aspect-ratio: 4/5;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: var(--border-strong); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.8rem .9rem .8rem;
  font-weight: 600;
  font-size: .95rem;
  background: linear-gradient(transparent, rgba(10, 19, 41, .82));
}
/* Пустые плитки-плейсхолдеры */
.gallery__item--empty {
  background: repeating-linear-gradient(45deg, rgba(201,169,97,.05) 0 12px, transparent 12px 24px), var(--surface);
  border: 1.5px dashed var(--border-strong);
  box-shadow: none;
}
.gallery__ph {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center;
  gap: .4rem;
  color: var(--text-dim);
  font-size: .9rem;
  letter-spacing: .03em;
}
.gallery__ph span { font-size: 1.8rem; color: var(--accent); line-height: 1; }
.gallery__item--empty:hover { transform: none; }

/* ===== ФОРМАТЫ ===== */
.formats__grid {
  display: grid;
  gap: 1.1rem;
}
.format-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease),
              border-color .4s var(--ease);
}
.format-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.format-card--featured {
  border-color: var(--border-strong);
  background:
    linear-gradient(160deg, rgba(201,169,97,.1), rgba(201,169,97,0) 55%),
    var(--surface);
  box-shadow: var(--sh-md), 0 0 40px rgba(201, 169, 97, .18);
}
.format-card__badge {
  position: absolute; top: 1.1rem; right: 1.1rem;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--grad-gold);
}
/* Бейдж «Новинка» — тёмный с золотой обводкой, не перетягивает внимание с комплекта */
.format-card__badge--new {
  color: var(--accent);
  background: rgba(201, 169, 97, .12);
  border: 1px solid var(--border-strong);
}
.format-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  color: var(--accent);
  border: 1px solid var(--border-strong);
  background: rgba(201, 169, 97, .08);
  margin-bottom: 1.1rem;
}
.format-card__icon svg { width: 28px; height: 28px; }
.format-card__title { font-size: 1.3rem; margin-bottom: .5rem; }
.format-card__desc { color: var(--text-dim); margin-bottom: 1.1rem; font-size: .95rem; }
.format-card__list { display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.format-card__list li {
  position: relative; padding-left: 1.7rem;
  color: var(--text); font-size: .96rem;
}
.format-card__list li::before {
  content: "✦";
  position: absolute; left: 0;
  color: var(--accent);
}
.format-card__price {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--c-cream);
  margin-bottom: 1.2rem;
  margin-top: auto;             /* цена и кнопка прижаты вниз */
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .1rem .4rem;
}
.format-card__price small,
.format-card__price span { font-family: var(--font-body); font-size: .9rem; color: var(--text-dim); font-weight: 600; }
/* ===== Новый графический знак белорусского рубля =====
   Утверждён Нацбанком РБ 27.01.2026 (пост. №25): заглавная «Б» с горизонтальной
   чертой по центру. Отдельного Unicode-символа/шрифта пока нет, поэтому рисуем
   черту псевдоэлементом через currentColor — знак масштабируется с текстом. */
.byn {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  padding: 0 .06em;
}
.byn::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  top: 50%;
  height: .11em;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 1px;
}

/* Старая цена (зачёркнута) у комплекта */
.format-card__old {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dim);
  opacity: .7;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
}

/* ===== ПОЧЕМУ ОСОБЕННО ===== */
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.why-card {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.why-card:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--sh-md); }
.why-card__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: var(--r-md);
  background: rgba(244, 201, 163, .1);
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.why-card__title { font-size: 1.2rem; margin-bottom: .4rem; }
.why-card__text { color: var(--text-dim); font-size: .96rem; }

/* ===== ОТЗЫВЫ ===== */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}
.review-card {
  padding: 1.8rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.review-card__stars { color: var(--accent); letter-spacing: .15em; font-size: 1.05rem; }
.review-card__text {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.5;
  color: var(--c-cream);
}
.review-card__author {
  display: flex; align-items: center; gap: .8rem;
  margin-top: auto;
}
.review-card__avatar {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--on-accent);
  background: var(--grad-gold);
}
.review-card__author b { display: block; font-size: .98rem; }
.review-card__author small { color: var(--text-dim); font-size: .85rem; }

/* ===== FAQ (аккордеон) ===== */
.faq__list {
  display: grid;
  gap: .8rem;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq__item.is-open { border-color: var(--border-strong); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.3rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-cream);
}
.faq__icon {
  flex: none;
  position: relative;
  width: 20px; height: 20px;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 12px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq__a p {
  padding: 0 1.3rem 1.2rem;
  color: var(--text-dim);
}

/* ===== ФОРМА ЗАЯВКИ ===== */
.order { background: var(--bg-deep); }
.order__grid {
  display: grid;
  gap: 1.4rem;
}
.order-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}
.order-form__row { display: grid; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field__label { font-weight: 600; font-size: .9rem; color: var(--text-dim); }
.field__input {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: rgba(10, 19, 41, .5);
  color: var(--text);
  font: inherit;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field__input::placeholder { color: rgba(217, 210, 196, .5); }
.field__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .18);
}
.field__input--area { resize: vertical; min-height: 110px; }
.order-form__note { font-size: .82rem; color: var(--text-dim); text-align: center; }

.order-direct {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  background:
    linear-gradient(160deg, rgba(201,169,97,.1), rgba(201,169,97,0) 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
}
.order-direct__title { font-size: 1.4rem; }
.order-direct__text { color: var(--text-dim); }
.order-direct__buttons { display: grid; gap: .7rem; margin-top: .4rem; }

/* ===== ФУТЕР ===== */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding-top: clamp(2.5rem, 6vw, 4rem);
}
.footer__inner {
  display: grid;
  gap: 1rem;
  text-align: center;
  justify-items: center;
  padding-bottom: 2rem;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  transition: transform .3s var(--ease);
}
.footer__brand:hover { transform: scale(1.04); }
.footer__brand img { width: 68px; height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
.footer__brand { font-size: 1.6rem; }
.footer__tagline { color: var(--text-dim); max-width: 40ch; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  justify-content: center;
}
.footer__links a {
  color: var(--text-dim);
  font-weight: 600;
  position: relative;
  transition: color .25s var(--ease);
}
.footer__links a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.3rem;
  text-align: center;
  color: rgba(217, 210, 196, .6);
  font-size: .85rem;
}

/* ─────────────────────────────────────────────────────────────
   REVEAL-АНИМАЦИИ (стартовое состояние; GSAP снимает через .is-in)
   Если JS/GSAP не загрузился — контент показывается через no-js fallback.
   ───────────────────────────────────────────────────────────── */
.js [data-reveal],
.js [data-step] { opacity: 0; transform: translateY(28px); }

/* ─────────────────────────────────────────────────────────────
   АДАПТИВ (mobile-first → расширяем)
   ───────────────────────────────────────────────────────────── */
@media (min-width: 620px) {
  .order-form__row { grid-template-columns: 1fr 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16/9; }
  .formats__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .header__phone span { display: inline; }   /* на десктопе показываем номер */
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }

  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero__media { order: 0; }            /* на десктопе фото возвращается вправо */
  .hero__subtitle { font-size: 1.2rem; }

  .how__grid { grid-template-columns: 1.1fr .9fr; }
  .why__grid { grid-template-columns: repeat(4, 1fr); }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/5; }
  .order__grid { grid-template-columns: 1.2fr .8fr; }
}

/* Все 4 тарифа в один ряд на широких экранах */
@media (min-width: 1080px) {
  .formats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ─────────────────────────────────────────────────────────────
   ДОСТУПНОСТЬ: уважаем prefers-reduced-motion — выключаем всю анимацию
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal],
  .js [data-step] { opacity: 1 !important; transform: none !important; }
  .hero__stars span { animation: none; opacity: .7; }
  .hero__scroll-hint span { animation: none; }
}
