/* =========================================================
   «Путь Преодоления» · Дзержинск — основной стиль
   Палитра: глубокий тёмно-бордовый + тёплое золото
   ========================================================= */

:root {
  --bg: #13050a;
  --bg-2: #1a070d;
  --bg-3: #210912;
  --card: #2a0d16;
  --card-2: #34111c;
  --card-hover: #3b1420;
  --wine-900: #3a0c17;
  --wine-800: #52111f;
  --wine-700: #6d1629;
  --wine-600: #8c1d34;
  --wine-500: #b02a45;
  --rose: #e98a98;
  --gold: #f2c36b;
  --gold-2: #ffe1a6;
  --gold-3: #ffd27f;
  --gold-dark: #c98f3c;
  --on-gold: #2b0810;
  --ink: #fff8f3;
  --text: #f3e4e2;
  --muted: #cfb3b5;
  --soft: #a98a8e;
  --line: rgba(255, 214, 196, .12);
  --line-2: rgba(255, 214, 196, .2);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 30px 60px -32px rgba(0, 0, 0, .85);
  --shadow-lg: 0 44px 100px -40px rgba(0, 0, 0, .95);
  --glow-gold: 0 18px 40px -16px rgba(242, 176, 80, .75);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 84px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Caveat", "Segoe Script", cursive;
  --serif: "Cormorant Garamond", Georgia, serif;
  --brand-grad: linear-gradient(135deg, #2c0912 0%, #4a0f1d 40%, #6a1528 75%, #7e1a31 100%);
  --gold-grad: linear-gradient(135deg, #fff0c9 0%, #ffd78c 30%, #f2b85c 65%, #d8923a 100%);
  --card-grad: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; background: var(--bg); }
main, .footer { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.text-accent {
  color: var(--gold);
  background: linear-gradient(100deg, #ffe7b3 0%, #f2c36b 45%, #e59f4c 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Кнопки ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 0 30px;
  border-radius: 16px;
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  isolation: isolate; overflow: hidden;
}
.btn .icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--accent {
  color: var(--on-gold);
  background: var(--gold-grad);
  box-shadow: var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, .6), inset 0 -3px 8px rgba(160, 80, 20, .25);
}
.btn--accent::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(242, 176, 80, .95), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn--accent:hover::after { transform: translateX(120%); transition: transform .9s var(--ease); }
/* мягкий «пульс» главной кнопки */
.btn--pulse { animation: btnPulse 3.2s var(--ease) infinite; }
@keyframes btnPulse {
  0%, 100% { box-shadow: var(--glow-gold), 0 0 0 0 rgba(242, 195, 107, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
  50% { box-shadow: var(--glow-gold), 0 0 0 12px rgba(242, 195, 107, 0), inset 0 1px 0 rgba(255, 255, 255, .6); }
}
.btn--wine { color: var(--ink); background: linear-gradient(135deg, #a3243d, #6d1629); box-shadow: 0 18px 36px -18px rgba(200, 40, 70, .9), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--wine:hover { transform: translateY(-2px); box-shadow: 0 24px 44px -18px rgba(200, 40, 70, 1), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--ghost { color: var(--ink); border: 1.5px solid rgba(255, 225, 200, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .13); border-color: rgba(255, 225, 170, .6); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 15px; border-radius: 13px; }
.btn--2line { flex-direction: column; gap: 2px; min-height: 64px; padding: 10px 34px; }
.btn--2line b { font-size: 17px; font-weight: 800; }
.btn--2line small { font-size: 13px; font-weight: 600; opacity: .8; }

/* ---------- Шапка ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(22, 6, 11, .82); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 14px 40px -24px rgba(0, 0, 0, .9); }
.header__inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.header .container { max-width: 1380px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  position: relative; width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--gold-grad);
  box-shadow: 0 10px 24px -10px rgba(242, 176, 80, .9), inset 0 -4px 8px rgba(140, 70, 10, .3), inset 0 3px 6px rgba(255, 255, 255, .6);
  display: grid; place-items: center;
}
.logo__mark svg { width: 26px; height: 26px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__title { font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.logo__title b { color: var(--gold); font-weight: 800; }
.logo__sub { font-size: 12px; color: var(--soft); margin-top: 4px; white-space: nowrap; }

.header__menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 12px; border-radius: 12px; white-space: nowrap;
  font-weight: 600; font-size: 15px; color: var(--text);
  transition: background .25s, color .25s;
}
.nav-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.nav-link:hover, .nav-link.is-active { color: var(--gold-2); background: rgba(255, 255, 255, .06); }
.submenu-toggle { display: none; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -10px; min-width: 370px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dropdown__inner { background: #240a12; border-radius: 22px; padding: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.dropdown__inner a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px;
  font-weight: 600; font-size: 15px; color: var(--text); transition: background .2s, color .2s;
}
.dropdown__inner a:hover { background: rgba(255, 255, 255, .06); color: var(--gold-2); }
.dd-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
@media (hover: hover) {
  .has-submenu:hover .dropdown, .has-submenu:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; }
  .has-submenu:hover .nav-link .icon { transform: rotate(180deg); }
}

.header__side { display: flex; align-items: center; gap: 14px; }
.header__cta { white-space: nowrap; }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; text-align: right; }
.header__phone a { font-weight: 800; font-size: 18px; color: var(--ink); white-space: nowrap; }
.header__phone a:hover { color: var(--gold-2); }
.header__phone span { font-size: 12px; color: var(--soft); margin-top: 3px; white-space: nowrap; }

/* Мессенджеры: фирменные цвета */
.messengers { display: flex; gap: 8px; }
.messengers a {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s;
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .9);
}
.messengers a:hover { transform: translateY(-3px) scale(1.05); filter: brightness(1.08); }
.messengers img { width: 100%; height: 100%; border-radius: inherit; }
.messengers--sm a { width: 34px; height: 34px; border-radius: 10px; }
.messengers--lg a { width: 52px; height: 52px; border-radius: 15px; }

/* Классический бургер: три полоски, при открытии — крестик */
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; flex: none; }
.burger span { display: block; width: 26px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s, background .2s; }
.burger:hover span { background: var(--gold-2); }
.burger.is-open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.header__mob { display: none; }

/* =========================================================
   Первый экран с живыми словами
   ========================================================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center;
  background: radial-gradient(120% 90% at 50% 0%, #4d0f1e 0%, #2a0811 45%, #13050a 100%);
  color: var(--ink);
}
.hero__photo { position: absolute; inset: 0; z-index: -3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: .2; filter: saturate(.6) contrast(1.05); }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 50% 45%, rgba(19, 5, 10, .35), rgba(19, 5, 10, .88) 75%),
    linear-gradient(180deg, rgba(19, 5, 10, .6) 0%, rgba(19, 5, 10, .25) 40%, var(--bg) 100%);
}
/* луч света сверху */
.hero__light {
  position: absolute; z-index: -2; left: 50%; top: -18%; width: 900px; height: 900px; margin-left: -450px; pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, transparent 150deg, rgba(255, 214, 150, .18) 170deg, rgba(255, 234, 196, .28) 180deg, rgba(255, 214, 150, .18) 190deg, transparent 210deg);
  filter: blur(18px); animation: lightBreath 9s ease-in-out infinite;
}
@keyframes lightBreath { 0%, 100% { opacity: .75; transform: scaleX(1); } 50% { opacity: 1; transform: scaleX(1.12); } }
.hero__glow { position: absolute; z-index: -2; border-radius: 50%; pointer-events: none; filter: blur(60px); }
.hero__glow--1 { width: 520px; height: 520px; left: -140px; bottom: -160px; background: radial-gradient(circle, rgba(176, 42, 69, .55), transparent 70%); }
.hero__glow--2 { width: 480px; height: 480px; right: -120px; top: 10%; background: radial-gradient(circle, rgba(242, 176, 80, .22), transparent 70%); }
/* пылинки света */
.hero__dust { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__dust i { position: absolute; width: var(--sz, 3px); height: var(--sz, 3px); border-radius: 50%; background: #ffe6b0; box-shadow: 0 0 8px 2px rgba(255, 214, 140, .6); opacity: 0; animation: dust var(--t, 12s) linear var(--dl, 0s) infinite; }
@keyframes dust { 0% { opacity: 0; transform: translateY(40px); } 15% { opacity: .9; } 85% { opacity: .6; } 100% { opacity: 0; transform: translateY(-260px); } }

.hero__inner { position: relative; z-index: 2; width: 100%; padding-top: 70px; padding-bottom: 90px; }
.hero__content { position: relative; z-index: 3; max-width: 880px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-2); margin-bottom: 18px;
  padding: 8px 15px; border-radius: 100px;
  background: rgba(242, 195, 107, .08); border: 1px solid rgba(242, 195, 107, .28);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(242, 195, 107, .2), 0 0 12px rgba(242, 195, 107, .8); }
.hero__title { font-size: clamp(36px, 5vw, 66px); letter-spacing: -.035em; line-height: 1.04; margin-bottom: 22px; text-wrap: balance; }
.hero__title span { display: block; }
.hero__lead { font-size: 20px; color: var(--text); max-width: 640px; margin: 0 auto 30px; opacity: .92; }

/* Форма прямо в первом экране */
.hero-form {
  width: 100%; max-width: 720px; padding: 10px; border-radius: 24px;
  background: rgba(40, 10, 18, .6); border: 1px solid rgba(255, 220, 180, .2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.hero-form__row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; }
.hero-form .field input { height: 58px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 220, 190, .16); }
.hero-form .btn { min-height: 58px; }
.hero-form .consent { justify-content: center; margin: 10px 6px 2px; font-size: 13px; }
.hero__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--text); }
.hero__perks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__perks .icon { width: 20px; height: 20px; color: var(--gold); }
.hero__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 18px; margin-top: 22px; font-size: 15px; color: var(--muted); }
.hero__contact a.hero__tel { font-weight: 800; color: var(--ink); font-size: 18px; }
.hero__contact a.hero__tel:hover { color: var(--gold-2); }

/* Всплывающие слова */
.float-words { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fw {
  position: absolute; left: 0; top: 0; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; color: rgba(255, 244, 236, .92); letter-spacing: .01em;
  opacity: 0; transform: translate3d(0, 20px, 0) scale(.85);
  will-change: opacity, transform;
  transition: opacity 1.6s var(--ease), transform 1.8s var(--ease), filter 1.6s var(--ease);
  filter: blur(6px);
}
.fw.is-in { opacity: 1; transform: translate3d(0, 0, 0) scale(1); filter: blur(0); }
.fw.is-in .fw__drift { animation: fwDrift 7s ease-in-out infinite; }
.fw.is-out { opacity: 0; transform: translate3d(var(--dx, 8px), -14px, 0) scale(1.03); filter: blur(8px); transition-duration: 2.2s; }
.fw__drift { display: inline-flex; align-items: center; gap: 10px; }
@keyframes fwDrift { 0%, 100% { translate: 0 0; } 50% { translate: var(--dx, 6px) -6px; } }
.fw--glass .fw__drift {
  padding: 11px 18px; border-radius: 100px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 230, 200, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -22px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .15);
}
.fw--icon .fw__drift { padding: 8px 18px 8px 8px; border-radius: 100px; background: rgba(34, 9, 15, .55); border: 1px solid rgba(255, 220, 180, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.fw--icon img { width: 38px; height: 38px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .5)); }
.fw--glow { font-size: 22px; color: #fff4dc; text-shadow: 0 0 18px rgba(255, 210, 130, .75), 0 0 42px rgba(242, 176, 80, .45); }
.fw--script { font-family: var(--script); font-weight: 700; font-size: 38px; color: var(--gold-2); letter-spacing: 0; text-shadow: 0 0 22px rgba(242, 195, 107, .4); }
.fw--plain { font-size: 17px; color: rgba(255, 238, 228, .75); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.fw--gold .fw__drift { color: var(--gold-2); }
/* Особый элемент «Новая жизнь»: из тумана — в чёткость — в золотое свечение */
.fw--special { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 44px; color: #fff7e6; letter-spacing: .01em; transition: opacity 2.6s var(--ease), transform 2.6s var(--ease), filter 2.6s var(--ease), text-shadow 2.4s var(--ease); filter: blur(14px); }
.fw--special.is-in { filter: blur(0); }
.fw--special.is-glow { text-shadow: 0 0 20px rgba(255, 214, 140, .9), 0 0 60px rgba(242, 176, 80, .6), 0 0 110px rgba(242, 176, 80, .35); }

/* Крупные 3D-фигуры */
.hero-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.h3d { position: absolute; width: var(--w, 150px); transition: transform .8s var(--ease); }
.h3d img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); animation: h3dFloat var(--t, 9s) ease-in-out var(--dl, 0s) infinite; }
.h3d--blur img { filter: blur(3px) drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); opacity: .55; }
@keyframes h3dFloat { 0%, 100% { translate: 0 0; rotate: var(--r0, -6deg); } 50% { translate: 0 -22px; rotate: var(--r1, 6deg); } }

/* Всплывающее окно в первом экране */
.hero-pop {
  position: absolute; z-index: 4; right: 28px; bottom: 28px; width: 340px;
  padding: 18px 18px 18px 18px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(62, 16, 28, .92), rgba(30, 8, 14, .94));
  border: 1px solid rgba(255, 215, 160, .28);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(30px) scale(.92); transform-origin: bottom right;
  transition: opacity .6s var(--ease), transform .8s cubic-bezier(.2, 1.4, .4, 1), visibility .6s;
}
.hero-pop.is-open { opacity: 1; visibility: visible; transform: none; }
.hero-pop__close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .06); transition: background .2s, color .2s; }
.hero-pop__close:hover { background: rgba(255, 255, 255, .14); color: var(--ink); }
.hero-pop__close .icon { width: 16px; height: 16px; }
.hero-pop__top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-right: 26px; }
.hero-pop__ava { position: relative; width: 50px; height: 50px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--gold-grad); box-shadow: var(--glow-gold); }
.hero-pop__ava img { width: 40px; height: 40px; }
.hero-pop__ava::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #3ddc84; border: 2.5px solid #2a0a12; animation: online 2s ease-in-out infinite; }
@keyframes online { 0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); } 50% { box-shadow: 0 0 0 6px rgba(61, 220, 132, 0); } }
.hero-pop__name { font-weight: 800; color: var(--ink); font-size: 16px; line-height: 1.2; }
.hero-pop__status { font-size: 13px; color: #8ee8b4; }
.hero-pop__msg { position: relative; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, .07); font-size: 15px; line-height: 1.45; color: var(--text); margin-bottom: 14px; }
.hero-pop__typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, .07); margin-bottom: 14px; }
.hero-pop__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s ease-in-out infinite; }
.hero-pop__typing i:nth-child(2) { animation-delay: .15s; }
.hero-pop__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.hero-pop__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.hero-pop__actions .btn { min-height: 46px; font-size: 15px; padding: 0 16px; }

.hero-scroll { position: absolute; left: 50%; bottom: 22px; z-index: 3; width: 28px; height: 44px; margin-left: -14px; border-radius: 20px; border: 1.5px solid rgba(255, 230, 200, .35); }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Появление контента первого экрана */
.hero-anim > * { animation: heroIn 1s var(--ease) both; }
.hero-anim > *:nth-child(2) { animation-delay: .1s; }
.hero-anim > *:nth-child(3) { animation-delay: .2s; }
.hero-anim > *:nth-child(4) { animation-delay: .3s; }
.hero-anim > *:nth-child(5) { animation-delay: .4s; }
.hero-anim > *:nth-child(6) { animation-delay: .5s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Внутренние страницы ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(100% 120% at 80% 0%, #561222 0%, #2a0811 50%, #13050a 100%); color: var(--ink); padding: 64px 0 80px; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 220, 190, .07) 1px, transparent 1.2px); background-size: 24px 24px; -webkit-mask: linear-gradient(180deg, #000, transparent); mask: linear-gradient(180deg, #000, transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-hero__title { font-size: clamp(34px, 4.6vw, 60px); letter-spacing: -.03em; margin-bottom: 20px; text-wrap: balance; }
.page-hero__lead { font-size: 19px; color: var(--text); opacity: .92; max-width: 720px; margin-bottom: 28px; }
.page-hero--simple { padding: 54px 0 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--soft); margin-bottom: 22px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a:hover { color: var(--gold-2); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.hero__note .icon { width: 18px; height: 18px; color: var(--gold); }

/* композиция справа на страницах услуг */
.svc-visual { position: relative; height: 470px; }
.svc-orb {
  position: absolute; left: 50%; top: 50%; width: 250px; height: 250px; margin: -125px 0 0 -125px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 34% 28%, #7a1c33 0%, #4d0f1e 55%, #2a0811 100%);
  box-shadow: inset -20px -24px 44px rgba(0, 0, 0, .45), inset 14px 16px 34px rgba(255, 190, 170, .12), 0 50px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 220, 190, .1);
  animation: orbFloat 7s ease-in-out infinite;
}
.svc-orb img { width: 82%; filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .55)); }
@keyframes orbFloat { 0%, 100% { translate: 0 0; rotate: -4deg; } 50% { translate: 0 -14px; rotate: 4deg; } }
.svc-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1.5px dashed rgba(242, 195, 107, .35); animation: spin 30s linear infinite; }
.svc-ring--1 { width: 350px; height: 350px; margin: -175px 0 0 -175px; }
.svc-ring--2 { width: 460px; height: 460px; margin: -230px 0 0 -230px; border-style: solid; border-color: rgba(255, 220, 190, .1); animation-duration: 46s; animation-direction: reverse; }
.svc-ring i { position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(242, 195, 107, .2), 0 0 16px rgba(242, 195, 107, .9); }
.svc-ring--2 i { background: var(--rose); box-shadow: 0 0 0 5px rgba(233, 138, 152, .2); top: auto; bottom: -7px; }
@keyframes spin { to { rotate: 360deg; } }
.svc-card {
  position: absolute; display: flex; align-items: center; gap: 12px; max-width: 250px;
  padding: 12px 18px 12px 12px; border-radius: 20px; font-size: 14px; line-height: 1.3; color: var(--muted);
  background: rgba(44, 12, 21, .82); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .9);
  animation: floatY 7s ease-in-out infinite;
}
.svc-card b { display: block; color: var(--ink); font-size: 15px; font-weight: 800; }
.svc-card img { width: 46px; height: 46px; flex: none; }
.svc-card--1 { left: -10px; top: 40px; animation-delay: -1s; }
.svc-card--2 { right: -10px; bottom: 150px; animation-delay: -3s; }
.svc-card--3 { left: 20px; bottom: 20px; animation-delay: -5s; }
.svc-chip { position: absolute; right: 20px; top: 50px; padding: 11px 20px; border-radius: 100px; background: var(--gold-grad); color: var(--on-gold); font-weight: 800; font-size: 15px; transform: rotate(-6deg); box-shadow: var(--glow-gold); }
.svc-word { position: absolute; font-family: var(--script); font-size: 36px; color: var(--gold-2); text-shadow: 0 0 20px rgba(242, 195, 107, .5); animation: wordPulse 6s ease-in-out infinite; }
@keyframes wordPulse { 0%, 100% { opacity: .35; transform: translateY(6px); } 50% { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- Бегущая строка ---------- */
.marquee { position: relative; background: linear-gradient(90deg, #6d1629, #8c1d34 50%, #6d1629); color: var(--ink); overflow: hidden; padding: 17px 0; border-block: 1px solid rgba(255, 220, 190, .15); }
.marquee__track { display: flex; width: max-content; }
.marquee__track:not(.is-js) { animation: marquee 40s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.marquee__item .icon { color: var(--gold-2); }
.marquee__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; box-shadow: 0 0 10px var(--gold); }

/* ---------- Секции ---------- */
.section { position: relative; padding: 100px 0; }
.section--white { background: var(--bg); }
.section--soft { background: var(--bg-3); background-image: radial-gradient(rgba(255, 220, 190, .05) 1px, transparent 1.2px); background-size: 22px 22px; }
.section--brand { background: var(--brand-grad); overflow: hidden; }
.section--brand::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 460px at 100% 0%, rgba(242, 176, 80, .16), transparent 65%), radial-gradient(700px 460px at 0% 100%, rgba(0, 0, 0, .45), transparent 60%); }
.section--brand > .container { position: relative; }
.section-head { max-width: 800px; margin: 0 0 50px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(30px, 3.9vw, 52px); letter-spacing: -.03em; margin-bottom: 18px; text-wrap: balance; }
.section-lead { font-size: 19px; color: var(--muted); }
.section-cta { margin-top: 50px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.section-cta p { font-size: 19px; font-weight: 700; color: var(--ink); margin: 0; }

/* Заголовки по словам */
.split-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s var(--ease); transition-delay: calc(var(--i) * .05s); }
.split-title.is-visible .w > span { transform: none; }

.reveal, .reveal-left, .reveal-right { opacity: 0; transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal { transform: translateY(34px); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.is-visible, .reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: none; }

/* Базовая «карточка» — тёмная, контрастная, читабельная */
.card, .who__card, .free__list li, .step, .service-card, .sign, .type-card, .doubt, .faq__item, .visit__item, .faith__card, .num-card, .case, .contacts__form, .res-card, .gallery__item {
  background: linear-gradient(160deg, #2e0f18 0%, #250b13 100%);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

/* ---------- 3D-иконки ---------- */
.is-3d {
  overflow: visible; display: grid; place-items: center;
  background: radial-gradient(120% 90% at 28% 18%, rgba(255, 220, 190, .16), rgba(255, 255, 255, 0) 60%), linear-gradient(145deg, #4a1422 0%, #2c0b14 100%);
  box-shadow: inset 2px 3px 5px rgba(255, 220, 200, .12), inset -3px -5px 10px rgba(0, 0, 0, .4), 0 16px 26px -14px rgba(0, 0, 0, .9);
  border: 1px solid rgba(255, 220, 190, .1);
}
.ico3d { width: 128%; height: 128%; max-width: none; object-fit: contain; flex: none; filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .45)); transition: transform .5s var(--ease); pointer-events: none; }
.ico3d--inline { width: 52px; height: 52px; margin-top: -4px; flex: none; }
.service-card:hover .ico3d, .type-card:hover .ico3d, .who__card:hover .ico3d, a.sign:hover .ico3d,
.visit__item:hover .ico3d, .free__list li:hover .ico3d, .dropdown__inner a:hover .ico3d, .doubt:hover .ico3d, .faith__card:hover .ico3d { transform: rotate(-8deg) scale(1.12); }

/* ---------- Кому нужна помощь ---------- */
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.who__card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: 42px; border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.who__card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 195, 107, .16), transparent 70%); pointer-events: none; }
.who__card:nth-child(2) { background: linear-gradient(150deg, #7a1a31 0%, #4a0f1d 100%); border-color: rgba(255, 210, 170, .2); }
.who__card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242, 195, 107, .35); }
.who__icon { width: 72px; height: 72px; border-radius: 22px; margin-bottom: 26px; }
.who__card h3 { font-size: 30px; margin-bottom: 12px; }
.who__card p { color: var(--muted); margin-bottom: 28px; flex: 1; }
.who__card:nth-child(2) p { color: var(--text); }

/* ---------- Бесплатно ---------- */
.free { display: grid; grid-template-columns: 380px 1fr; gap: 24px; align-items: stretch; }
.free__price {
  position: relative; overflow: hidden; padding: 40px; border-radius: var(--radius);
  background: linear-gradient(160deg, #7a1a31, #3a0c17); border: 1px solid rgba(255, 210, 170, .2);
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px;
}
.free__price::before { content: ""; position: absolute; left: 50%; top: -30%; width: 300px; height: 300px; margin-left: -150px; background: radial-gradient(circle, rgba(242, 195, 107, .3), transparent 65%); filter: blur(10px); }
.free__price > * { position: relative; }
.big-zero { font-size: 128px; font-weight: 900; line-height: .9; letter-spacing: -.06em; color: #ffd98f;
  text-shadow: 1px 1px 0 #e9b25c, 2px 2px 0 #dca24e, 3px 3px 0 #cf9342, 4px 4px 0 #c08337, 5px 5px 0 #af742d, 6px 6px 0 #9c6424, 0 24px 44px rgba(0, 0, 0, .6);
  margin-bottom: 18px; }
.free__price p { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.free__price span { font-size: 15px; color: var(--text); opacity: .85; }
.free__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.free__list li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 22px; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.free__list li:hover { border-color: rgba(242, 195, 107, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.free__list b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.free__list span { font-size: 15px; color: var(--muted); }

/* ---------- Результаты «до/после» ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.res-card { position: relative; border-radius: 26px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.res-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(242, 195, 107, .3); }
.res-card__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #1a070d; cursor: zoom-in; }
.res-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.res-card:hover .res-card__media img { transform: scale(1.04); }
.res-card__label { position: absolute; bottom: 12px; z-index: 1; padding: 6px 12px; border-radius: 100px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.res-card__label--before { left: 12px; background: rgba(20, 5, 10, .7); color: var(--muted); border: 1px solid rgba(255, 255, 255, .15); }
.res-card__label--after { left: calc(50% + 10px); background: var(--gold-grad); color: var(--on-gold); box-shadow: var(--glow-gold); }
.res-card__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(180deg, transparent, rgba(255, 225, 170, .9), transparent); box-shadow: 0 0 14px rgba(242, 195, 107, .8); opacity: 0; transition: opacity .5s; }
.res-card:hover .res-card__media::after { opacity: 1; }
.res-card__body { padding: 20px 22px 24px; }
.res-card__body b { display: block; font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 6px; line-height: 1.3; }
.res-card__body p { font-size: 15px; color: var(--muted); margin: 0; }
.res-card__body .res-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.res-tags span { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: rgba(242, 195, 107, .12); color: var(--gold-2); border: 1px solid rgba(242, 195, 107, .22); }
.results__note { margin: 24px 0 0; text-align: center; font-size: 14px; color: var(--soft); }

/* ---------- Дорога ---------- */
.route { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.route__list { display: grid; gap: 14px; margin: 8px 0 32px; }
.route__list li { display: flex; gap: 14px; align-items: flex-start; font-size: 18px; color: var(--ink); }
.route__list .icon { color: var(--gold); flex: none; margin-top: 2px; }
.route__ticket {
  position: relative; padding: 36px; border-radius: 30px; color: var(--on-gold); transform: rotate(2deg);
  background: linear-gradient(150deg, #fff6e6 0%, #ffe6b8 100%);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95);
  -webkit-mask: radial-gradient(circle 18px at 0 60%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 60%, transparent 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 18px at 0 60%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 18px at 100% 60%, transparent 97%, #000) right / 51% 100% no-repeat;
}
.route__ticket-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.route__ticket-top span { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8a5a3a; }
.route__ticket-top .icon { width: 40px; height: 40px; color: var(--wine-600); }
.route__path { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin-bottom: 26px; }
.route__city small { display: block; font-size: 13px; color: #8a5a3a; }
.route__city b { font-size: 24px; font-weight: 800; color: #3a0c17; }
.route__city:last-child { text-align: right; }
.route__line { width: 90px; height: 2px; background: repeating-linear-gradient(90deg, var(--wine-600) 0 8px, transparent 8px 14px); position: relative; }
.route__line::after { content: ""; position: absolute; right: -4px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--wine-600); }
.route__price { border-top: 2px dashed rgba(90, 30, 20, .2); padding-top: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.route__price small { display: block; font-size: 14px; color: #8a5a3a; }
.route__price b { font-size: 20px; font-weight: 800; color: #3a0c17; }
.route__price strong { font-size: 48px; font-weight: 900; color: var(--wine-600); letter-spacing: -.04em; line-height: 1; }

/* ---------- Отказ ---------- */
.refuse { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.refuse__list, .check-list { display: grid; gap: 12px; margin: 8px 0 32px; }
.refuse__list li, .check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text); }
.refuse__list .icon, .check .icon { width: 26px; height: 26px; padding: 4px; border-radius: 8px; background: var(--gold-grad); color: var(--on-gold); stroke-width: 2.6; margin-top: 1px; flex: none; }
.check { display: contents; }
.refuse__note { position: relative; padding: 40px; border-radius: var(--radius); background: linear-gradient(150deg, #7a1a31, #3a0c17); border: 1px solid rgba(255, 210, 170, .2); box-shadow: var(--shadow-lg); }
.refuse__note b { display: block; font-size: 24px; font-weight: 800; line-height: 1.25; margin-bottom: 16px; color: var(--ink); }
.refuse__note p { color: var(--text); }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.step { position: relative; padding: 30px 24px; border-radius: 24px; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(242, 195, 107, .3); }
.step__num { width: 54px; height: 54px; border-radius: 17px; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: var(--on-gold); background: var(--gold-grad); margin-bottom: 20px; box-shadow: var(--glow-gold), inset 0 -3px 6px rgba(150, 70, 10, .3); transform: rotate(-6deg); transition: transform .5s var(--ease); }
.step:hover .step__num { transform: rotate(4deg) scale(1.08); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Направления ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 26px; transition: transform .45s var(--ease), box-shadow .45s, border-color .3s; overflow: hidden; }
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(242, 195, 107, .14), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.service-card:hover::before { opacity: 1; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(242, 195, 107, .35); }
.service-card__num { position: absolute; top: 24px; right: 24px; font-size: 14px; font-weight: 800; color: rgba(242, 195, 107, .5); }
.service-card__icon { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 22px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 15px; color: var(--muted); flex: 1; margin-bottom: 20px; }
.service-card__more, .type-card__link, .case__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold); }
.service-card__more .icon, .type-card__link .icon, .case__link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.service-card:hover .service-card__more .icon, .case:hover .case__link .icon { transform: translateX(4px); }

.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.signs--links { margin-top: 18px; }
.sign { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
a.sign:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(242, 195, 107, .35); }
.sign__icon { width: 54px; height: 54px; border-radius: 16px; flex: none; }
.sign h3 { font-size: 18px; margin-bottom: 6px; }
.sign p { font-size: 15px; color: var(--muted); }
.signs-cta { margin-top: 36px; padding: 32px 36px; border-radius: 26px; background: linear-gradient(120deg, #7a1a31, #4a0f1d); border: 1px solid rgba(255, 210, 170, .2); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.signs-cta p { font-size: 18px; font-weight: 500; max-width: 720px; margin: 0; color: var(--ink); }

/* ---------- Типы/консультация ---------- */
.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type-card { display: flex; flex-direction: column; padding: 30px; border-radius: 26px; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; }
.type-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(242, 195, 107, .3); }
.type-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.type-card__icon { width: 58px; height: 58px; border-radius: 18px; }
.type-card__num { font-weight: 800; color: rgba(242, 195, 107, .55); }
.type-card h3 { font-size: 21px; margin-bottom: 10px; }
.type-card p { font-size: 15px; color: var(--muted); }
.type-card__list { display: grid; gap: 8px; margin: 6px 0 22px; flex: 1; }
.type-card__list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); }
.type-card__list li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(242, 195, 107, .6); }
.type-card--cta { background: var(--gold-grad); border-color: transparent; justify-content: center; }
.type-card--cta h3 { color: var(--on-gold); font-size: 26px; }
.type-card--cta p { color: rgba(43, 8, 16, .82); margin-bottom: 24px; }
.type-card--cta .btn { background: var(--on-gold); color: var(--gold-2); align-self: flex-start; }

/* ---------- Split / цитата ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.split__text > p { color: var(--muted); }
.quote-card { position: relative; padding: 44px; border-radius: 30px; background: linear-gradient(150deg, #6d1629, #33101a); border: 1px solid rgba(255, 210, 170, .2); box-shadow: var(--shadow-lg); overflow: hidden; }
.quote-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 195, 107, .25), transparent 70%); }
.quote-card > * { position: relative; }
.quote-card > .icon { width: 48px; height: 48px; color: var(--gold); margin-bottom: 18px; }
.quote-card blockquote { margin: 0 0 16px; font-family: var(--serif); font-style: italic; font-size: 30px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.quote-card cite { display: block; font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: .12em; color: var(--gold); margin-bottom: 22px; }
.quote-card p { color: var(--text); font-size: 15px; }

.story-card { margin: 0; border-radius: 30px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: rotate(1.5deg); }
.story-card__media img { width: 100%; height: auto; }
.story-card figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 26px 26px; }
.story-card figcaption b { font-size: 21px; font-weight: 800; color: var(--ink); }
.story-card figcaption > span:last-child { font-size: 15px; color: var(--muted); }

/* ---------- Квиз ---------- */
.quiz { display: grid; grid-template-columns: 340px 1fr; border-radius: 32px; overflow: hidden; background: #240a12; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
.quiz__aside { padding: 40px; background: linear-gradient(160deg, #7a1a31, #3a0c17); }
.quiz__aside h3 { font-size: 26px; margin-bottom: 12px; }
.quiz__aside p { color: var(--text); font-size: 16px; }
.quiz__perks { display: grid; gap: 14px; margin-top: 28px; }
.quiz__perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.quiz__perks .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--gold); }
.quiz__main { padding: 40px; display: flex; flex-direction: column; min-height: 520px; }
.quiz__top { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--soft); margin-bottom: 12px; }
.quiz__counter { font-weight: 800; color: var(--ink); }
.quiz__progress { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 32px; }
.quiz__bar { height: 100%; width: 20%; border-radius: 8px; background: var(--gold-grad); box-shadow: 0 0 14px rgba(242, 195, 107, .7); transition: width .5s var(--ease); }
.quiz__step { display: none; animation: stepIn .5s var(--ease); flex: 1; }
.quiz__step.is-active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.quiz__q { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; margin-bottom: 22px; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt { position: relative; cursor: pointer; }
.quiz__opt input { position: absolute; opacity: 0; }
.quiz__opt span { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 14px 18px; border-radius: 16px; border: 1.5px solid var(--line-2); background: rgba(255, 255, 255, .04); font-weight: 600; color: var(--text); transition: border-color .2s, background .2s, color .2s; }
.quiz__opt span::before { content: ""; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(242, 195, 107, .5); flex: none; transition: border-color .2s, box-shadow .2s; }
.quiz__opt:hover span { border-color: rgba(242, 195, 107, .6); background: rgba(255, 255, 255, .07); }
.quiz__opt input:checked + span { border-color: var(--gold); background: rgba(242, 195, 107, .12); color: var(--ink); }
.quiz__opt input:checked + span::before { border-color: var(--gold); box-shadow: inset 0 0 0 4px #240a12, inset 0 0 0 10px var(--gold); }
.quiz__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.quiz__summary { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.quiz__summary span { padding: 6px 12px; border-radius: 100px; background: rgba(242, 195, 107, .12); color: var(--gold-2); font-size: 14px; font-weight: 600; }
.quiz__final { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quiz__final .quiz__contact, .quiz__final .consent, .quiz__final .btn { grid-column: 1 / -1; }
.quiz__contact { grid-template-columns: repeat(4, 1fr); }
.quiz__contact .quiz__opt span { min-height: 50px; justify-content: center; padding: 10px; font-size: 15px; }
.quiz__contact .quiz__opt span::before { display: none; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 26px; gap: 12px; }
.quiz__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--gold); }
.quiz__back .icon { width: 18px; height: 18px; }
.quiz__hint { font-size: 14px; color: var(--soft); margin-left: auto; }

/* ---------- Галерея ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.gallery-filter button { min-height: 46px; padding: 0 22px; border-radius: 13px; font-weight: 700; font-size: 15px; background: rgba(255, 255, 255, .05); color: var(--text); border: 1.5px solid var(--line-2); transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.gallery-filter button:hover { border-color: rgba(242, 195, 107, .6); transform: translateY(-2px); }
.gallery-filter button.is-active { background: var(--gold-grad); color: var(--on-gold); border-color: transparent; box-shadow: var(--glow-gold); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; transition: opacity .38s var(--ease), transform .38s var(--ease), box-shadow .4s; }
.gallery__item:hover { box-shadow: var(--shadow); }
.gallery__item.is-hiding { opacity: 0; transform: scale(.94); }
.gallery__item.is-hidden { display: none; }
.gallery__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in; background: #1a070d; }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .8s var(--ease); }
.gallery__item:hover .gallery__media img { transform: scale(1.06); }
.gallery__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(19, 5, 10, .55)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover .gallery__media::after { opacity: 1; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s var(--ease); }
.gallery__item:hover .gallery__zoom { opacity: 1; transform: none; }
.gallery__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 26px; }
.gallery__tag { display: inline-block; padding: 5px 12px; border-radius: 100px; background: rgba(242, 195, 107, .12); color: var(--gold-2); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; border: 1px solid rgba(242, 195, 107, .22); }
.gallery__body h3 { font-size: 20px; margin-bottom: 8px; }
.gallery__body p { font-size: 15px; color: var(--muted); flex: 1; margin: 0; }

/* Галерея реальных фото: подпись всегда видна под фото */
/* Плитка: фото в своих пропорциях, без обрезки */
.gallery--photos { display: block; columns: 3 260px; column-gap: 18px; }
.gallery--photos .gallery__item { width: 100%; margin: 0 0 18px; border-radius: 24px; break-inside: avoid; page-break-inside: avoid; }
.gallery--photos .gallery__media { aspect-ratio: auto; }
.gallery--photos .gallery__media img { height: auto; }
.gallery--photos .gallery__body { padding: 18px 22px 22px; }
.gallery--photos .gallery__body h3 { font-size: 19px; margin-bottom: 6px; }
.gallery--photos .gallery__body p { font-size: 15px; }

/* Навигация по разделам галереи */
.gallery-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.gallery-jump a { padding: 10px 18px; border-radius: 100px; font-size: 15px; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.gallery-jump a:hover { background: rgba(242, 195, 107, .12); border-color: rgba(242, 195, 107, .5); color: var(--gold-2); transform: translateY(-2px); }

/* Полоса с кнопками между разделами */
.cta-strip {
  position: relative; overflow: hidden; margin-top: 34px; padding: 28px 32px; border-radius: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, #7a1a31 0%, #4a0f1d 100%); border: 1px solid rgba(255, 210, 170, .22);
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .9);
}
.cta-strip::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 195, 107, .22), transparent 70%); pointer-events: none; }
.cta-strip > * { position: relative; }
.cta-strip__text b { display: block; font-size: 22px; font-weight: 800; color: var(--ink); line-height: 1.25; margin-bottom: 4px; }
.cta-strip__text span { font-size: 15px; color: var(--text); }
.cta-strip__btns { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
@media (max-width: 960px) {
  .cta-strip { flex-direction: column; align-items: flex-start; padding: 24px; }
}
@media (max-width: 640px) {
  .cta-strip { padding: 22px 18px; }
  .cta-strip__text b { font-size: 19px; }
  .cta-strip__btns, .cta-strip__btns .btn { width: 100%; }
  .gallery-jump { flex-wrap: nowrap; overflow-x: auto; margin: 6px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
  .gallery-jump a { flex: none; }
}

.gallery--bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 16px; }
.gallery--bento .gallery__item { position: relative; border: 0; border-radius: 24px; }
.gallery--bento .g--tall { grid-row: span 2; }
.gallery--bento .g--wide { grid-column: span 2; }
.gallery--bento .g--big { grid-column: span 2; grid-row: span 2; }
.gallery--bento .gallery__media { position: absolute; inset: 0; aspect-ratio: auto; }
.gallery--bento .gallery__media::after { opacity: 1; background: linear-gradient(180deg, transparent 45%, rgba(19, 5, 10, .88)); }
.gallery--bento .gallery__zoom { top: 14px; bottom: auto; }
.gallery--bento .gallery__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 20px 20px; pointer-events: none; flex: none; }
.gallery--bento .gallery__tag { background: rgba(20, 5, 10, .55); backdrop-filter: blur(6px); margin-bottom: 8px; }
.gallery--bento .gallery__body h3 { font-size: 19px; margin: 0; }
.gallery--bento .gallery__body p { color: var(--text); font-size: 14px; margin: 6px 0 0; max-width: 460px; display: none; }
.gallery--bento .g--big .gallery__body h3 { font-size: 24px; }
.gallery--bento .g--big .gallery__body p, .gallery--bento .g--wide .gallery__body p { display: block; }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 70px 80px; background: rgba(12, 3, 6, .94); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 1200px; text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); margin: 0 auto; border-radius: 20px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9); }
.lightbox figcaption { margin-top: 16px; color: var(--ink); font-size: 18px; font-weight: 700; }
.lightbox__btn { position: absolute; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--ink); transition: background .25s, color .25s; }
.lightbox__btn:hover { background: var(--gold); color: var(--on-gold); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -27px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -27px; }

/* ---------- Приехать в гости ---------- */
.visit { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.visit__text > p { color: var(--muted); }
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 32px; }
.visit__item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; transition: border-color .3s, box-shadow .3s, transform .4s var(--ease); }
.visit__item:hover { border-color: rgba(242, 195, 107, .35); box-shadow: var(--shadow); transform: translateY(-3px); }
.visit__item b { display: block; color: var(--ink); font-size: 16px; line-height: 1.3; margin-bottom: 2px; }
.visit__item span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.visit__photo { position: relative; }
.visit__photo .story-card { transform: rotate(-1.5deg); }
.visit__badge { position: absolute; left: -18px; top: 26px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff6e6; color: #3a0c17; font-weight: 800; font-size: 15px; box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .9); animation: floatY 6s ease-in-out infinite; }
.visit__badge i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); font-style: normal; }
.visit__badge i .icon { width: 20px; height: 20px; }
.visit__badge small { display: block; font-weight: 500; font-size: 13px; color: #8a5a3a; }

/* ---------- О нас ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about__text > p { color: var(--muted); }
.about__sign { display: flex; gap: 14px; align-items: center; margin-top: 26px; padding: 20px 22px; border-radius: 20px; background: rgba(242, 195, 107, .1); border: 1px solid rgba(242, 195, 107, .25); color: var(--ink); font-weight: 700; }
.about__sign .icon { width: 34px; height: 34px; color: var(--gold); }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.num-card { padding: 30px 26px; border-radius: 26px; }
.num-card--dark { background: linear-gradient(150deg, #7a1a31, #3a0c17); border-color: rgba(255, 210, 170, .2); }
.num-card__num { font-size: 54px; font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 12px; }
.num-card__num { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.num-card__label { font-size: 15px; color: var(--muted); }
.num-card--dark .num-card__label { color: var(--text); }

/* ---------- Принципы ---------- */
.faith { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.faith__text > p { color: var(--muted); }
.faith__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 26px; }
.faith__card { padding: 22px; border-radius: 22px; transition: border-color .3s, transform .4s var(--ease); }
.faith__card:hover { border-color: rgba(242, 195, 107, .3); transform: translateY(-3px); }
.faith__card .ico3d--inline { display: block; width: 56px; height: 56px; margin: -6px 0 8px -4px; }
.faith__card b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.faith__card span { font-size: 15px; color: var(--muted); }
.faith__free { display: grid; gap: 10px; margin-top: 8px; }
.faith__free li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-size: 15px; }
.faith__free .icon { width: 22px; height: 22px; color: var(--gold); stroke-width: 2.4; margin-top: 1px; }

/* ---------- Ситуации ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.case { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 26px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(242, 195, 107, .3); }
.case__tag { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: rgba(242, 195, 107, .12); color: var(--gold-2); border: 1px solid rgba(242, 195, 107, .22); margin-bottom: 18px; }
.case__q { font-family: var(--serif); font-style: italic; font-size: 25px; font-weight: 600; line-height: 1.3; color: var(--ink); margin: 0 0 22px; padding-left: 20px; border-left: 3px solid var(--gold); }
.case__do { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: 12px; }
.case__list { display: grid; gap: 10px; margin-bottom: 24px; flex: 1; }
.case__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--text); }
.case__list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--gold-grad); color: var(--on-gold); stroke-width: 2.6; margin-top: 1px; }
.cases__note { margin: 22px 0 0; text-align: center; font-size: 13px; color: var(--soft); }

/* ---------- Сомнения ---------- */
.doubts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.doubt { padding: 28px; border-radius: 24px; transition: border-color .3s, transform .4s var(--ease); }
.doubt:hover { border-color: rgba(242, 195, 107, .3); transform: translateY(-3px); }
.doubt__q { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.doubt__q .ico3d--inline { width: 46px; height: 46px; margin: 0; }
.doubt p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { border-radius: 22px; overflow: hidden; transition: box-shadow .3s, border-color .3s; }
.faq__item[open] { border-color: rgba(242, 195, 107, .35); box-shadow: var(--shadow); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 700; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--gold); flex: none; transition: transform .35s var(--ease), background .3s, color .3s; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--gold-grad); color: var(--on-gold); }
.faq__answer { overflow: hidden; }
.faq__answer-inner { padding: 0 26px 24px; color: var(--muted); }

/* ---------- Формы ---------- */
.cta-block { display: grid; grid-template-columns: 1fr 470px; gap: 56px; align-items: center; }
.cta-block__list { display: grid; gap: 14px; margin-top: 26px; }
.cta-block__list li { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; color: var(--ink); }
.cta-block__list .icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: var(--gold); }
.cta-block__contacts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.cta-block__contacts > a:first-child { font-size: 24px; font-weight: 900; color: var(--ink); }
.form-card { position: relative; padding: 38px; border-radius: 30px; background: linear-gradient(160deg, #fffaf2 0%, #fbeede 100%); color: #3a1a1f; box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 31px; background: var(--gold-grad); opacity: .7; filter: blur(14px); }
.form-card__title { font-size: 27px; font-weight: 800; letter-spacing: -.02em; color: #2b0810; margin-bottom: 8px; line-height: 1.15; }
.form-card__sub { color: #6b4a4d; font-size: 15px; margin-bottom: 22px; }
.lead-form { display: grid; gap: 14px; }
.lead-form.is-sending { opacity: .7; pointer-events: none; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; height: 60px; padding: 24px 18px 8px; border-radius: 16px;
  border: 1.5px solid rgba(255, 220, 190, .18); background: rgba(255, 255, 255, .06); outline: none; font-size: 16px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { height: 120px; resize: vertical; padding-top: 28px; }
.field label { position: absolute; left: 19px; top: 19px; font-size: 16px; color: var(--muted); pointer-events: none; transition: top .2s, font-size .2s, color .2s; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(255, 255, 255, .1); box-shadow: 0 0 0 4px rgba(242, 195, 107, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: 12px; color: var(--gold-2); }
.field__error { display: none; font-size: 13px; color: #ff8d8d; margin-top: 6px; padding-left: 4px; text-align: left; }
.field.is-error input, .field.is-error textarea { border-color: #ff6b6b; }
.field.is-error .field__error { display: block; }
/* светлая карточка формы */
.form-card .field input, .form-card .field textarea, .modal__body .field input, .modal__body .field textarea { background: #fff; border-color: rgba(90, 30, 40, .16); color: #2b0810; }
.form-card .field label, .modal__body .field label { color: #7a5a5d; }
.form-card .field input:focus, .form-card .field textarea:focus, .modal__body .field input:focus, .modal__body .field textarea:focus { border-color: var(--wine-600); background: #fff; box-shadow: 0 0 0 4px rgba(140, 29, 52, .12); }
.form-card .field input:focus + label, .form-card .field input:not(:placeholder-shown) + label, .modal__body .field input:focus + label, .modal__body .field input:not(:placeholder-shown) + label,
.form-card .field textarea:focus + label, .form-card .field textarea:not(:placeholder-shown) + label, .modal__body .field textarea:focus + label, .modal__body .field textarea:not(:placeholder-shown) + label { color: var(--wine-600); }
.form-card .field__error, .modal__body .field__error { color: #c62828; }
.form-card .field.is-error input, .modal__body .field.is-error input { background: #fff4f4; border-color: #d33; }
.form-card .btn--accent, .modal__body .btn--accent { color: #fff; background: linear-gradient(135deg, #b02a45 0%, #8c1d34 50%, #6d1629 100%); box-shadow: 0 18px 36px -16px rgba(140, 29, 52, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.form-card .btn--accent:hover, .modal__body .btn--accent:hover { box-shadow: 0 24px 44px -16px rgba(140, 29, 52, 1), inset 0 1px 0 rgba(255, 255, 255, .3); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.45; text-align: left; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent__box { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgba(242, 195, 107, .55); display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .05); transition: background .2s, border-color .2s; }
.consent__box .icon { width: 14px; height: 14px; stroke-width: 3; color: var(--on-gold); opacity: 0; }
.consent input:checked + .consent__box { background: var(--gold); border-color: var(--gold); }
.consent input:checked + .consent__box .icon { opacity: 1; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent a { color: var(--gold-2); text-decoration: underline; }
.consent.is-error .consent__box { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255, 107, 107, .2); }
.form-card .consent, .modal__body .consent { color: #6b4a4d; }
.form-card .consent__box, .modal__body .consent__box { border-color: rgba(140, 29, 52, .4); background: #fff; }
.form-card .consent input:checked + .consent__box, .modal__body .consent input:checked + .consent__box { background: var(--wine-600); border-color: var(--wine-600); }
.form-card .consent__box .icon, .modal__body .consent__box .icon { color: #fff; }
.form-card .consent a, .modal__body .consent a { color: var(--wine-600); }
.form-note { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: 13px; color: #7a5a5d; margin: 0; }
.form-note .icon { width: 16px; height: 16px; color: var(--wine-600); }
.form-alt { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; font-size: 13px; color: #7a5a5d; }

/* ---------- Всплывающее окно ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: start center; padding: 20px; background: rgba(12, 3, 6, .7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; overflow-y: auto; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__dialog {
  position: relative; width: 100%; max-width: 900px; margin: auto 0; display: grid; grid-template-columns: .92fr 1.08fr;
  border-radius: 32px; overflow: hidden; background: #fffaf2; box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 1), 0 0 0 1px rgba(242, 195, 107, .3);
  transform: translateY(40px) scale(.94); opacity: 0; transition: transform .6s cubic-bezier(.2, 1.2, .4, 1), opacity .4s;
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__side { position: relative; overflow: hidden; padding: 42px 34px; background: radial-gradient(120% 80% at 50% 0%, #7a1a31 0%, #3a0c17 60%, #22070e 100%); color: var(--ink); display: flex; flex-direction: column; isolation: isolate; }
.modal__side::before { content: ""; position: absolute; left: 50%; top: -120px; width: 400px; height: 400px; margin-left: -200px; z-index: -1; background: conic-gradient(from 180deg at 50% 0%, transparent 150deg, rgba(255, 214, 150, .22) 175deg, rgba(255, 214, 150, .22) 185deg, transparent 210deg); filter: blur(12px); }
.modal__side .modal__title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; }
.modal__side p { color: var(--text); font-size: 15px; }
.modal__side ul { display: grid; gap: 12px; margin-top: 22px; }
.modal__side li { display: flex; gap: 12px; align-items: center; font-weight: 700; font-size: 16px; }
.modal__side li img { width: 44px; height: 44px; flex: none; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5)); }
.modal__script { margin-top: auto; padding-top: 26px; font-family: var(--script); font-size: 40px; line-height: 1; color: var(--gold-2); text-shadow: 0 0 24px rgba(242, 195, 107, .5); }
.modal__3d { position: absolute; right: -30px; bottom: -20px; width: 150px; opacity: .9; z-index: -1; animation: h3dFloat 8s ease-in-out infinite; }
.modal__body { padding: 42px 38px; color: #3a1a1f; }
.modal__body .form-card__title { padding-right: 40px; }
.modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(90, 30, 40, .08); color: #3a0c17; transition: background .2s, transform .3s var(--ease); }
.modal__close:hover { background: rgba(90, 30, 40, .16); transform: rotate(90deg); }
.modal__msgs { display: flex; gap: 8px; justify-content: center; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.contacts__info { padding: 40px; border-radius: 30px; background: linear-gradient(150deg, #7a1a31, #3a0c17); border: 1px solid rgba(255, 210, 170, .2); box-shadow: var(--shadow-lg); }
.contacts__phone { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.contacts__phone:hover { color: var(--gold-2); }
.contacts__caption { color: var(--text); margin: 8px 0 26px; }
.contact-btns { display: grid; gap: 10px; margin-bottom: 30px; }
.contact-btn { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); font-weight: 700; color: var(--ink); transition: background .25s, transform .3s var(--ease); }
.contact-btn:hover { background: rgba(255, 255, 255, .15); transform: translateX(4px); }
.contact-btn img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.contact-btn small { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.contact-btn--main { background: var(--gold-grad); color: var(--on-gold); }
.contact-btn--main small { color: rgba(43, 8, 16, .7); }
.contact-btn--main:hover { background: var(--gold-grad); filter: brightness(1.05); }
.contact-btn__ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(43, 8, 16, .15); flex: none; }
.contact-btn__arrow { margin-left: auto; width: 20px; height: 20px; }
.contacts__meta { display: grid; gap: 16px; }
.contacts__meta li { display: flex; gap: 14px; align-items: flex-start; }
.contacts__meta .icon { color: var(--gold); margin-top: 2px; }
.contacts__meta b { display: block; color: var(--ink); }
.contacts__meta span, .contacts__meta a { color: var(--text); }
.contacts__meta a:hover { color: var(--gold-2); text-decoration: underline; }
.contacts__form { padding: 40px; border-radius: 30px; }
.map { margin-top: 28px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line-2); height: 440px; background: #1a070d; box-shadow: var(--shadow-lg); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9); }

/* ---------- Спасибо ---------- */
.thanks { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 80px 0; overflow: hidden; isolation: isolate; background: radial-gradient(90% 80% at 50% 0%, #5a1424 0%, #2a0811 50%, #13050a 100%); }
.thanks__inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; max-width: 820px; margin: 0 auto; }
.thanks__icon { position: relative; width: 110px; height: 110px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: var(--on-gold); margin-bottom: 30px; box-shadow: 0 0 0 12px rgba(242, 195, 107, .1), 0 0 0 26px rgba(242, 195, 107, .05), 0 30px 60px -20px rgba(242, 176, 80, .9); animation: thanksPop 1s cubic-bezier(.2, 1.5, .4, 1) both; }
.thanks__icon .icon { width: 54px; height: 54px; stroke-width: 2.8; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .8s .5s var(--ease) forwards; }
@keyframes thanksPop { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks__title { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.03em; margin-bottom: 18px; }
.thanks__lead { font-size: 19px; color: var(--text); max-width: 640px; margin: 0 auto 30px; }
.thanks__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; margin: 6px 0 34px; text-align: left; }
.thanks__steps li { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(8px); }
.thanks__steps b { display: block; color: var(--ink); margin: 8px 0 4px; }
.thanks__steps span { font-size: 14px; color: var(--muted); }
.thanks__steps em { font-style: normal; font-weight: 900; font-size: 13px; letter-spacing: .1em; color: var(--gold); }
.thanks__urgent { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; padding: 18px 22px; border-radius: 22px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line-2); margin-bottom: 30px; }
.thanks__urgent span { color: var(--text); font-weight: 600; }
.thanks__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.thanks__verse { margin-top: 40px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-2); opacity: .9; }
.thanks__verse small { display: block; font-family: var(--font); font-style: normal; font-size: 12px; letter-spacing: .14em; color: var(--soft); margin-top: 6px; }

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 26px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { display: grid; gap: 8px; margin: 0 0 1em; }
.prose li { position: relative; padding-left: 20px; }
.prose li::before { content: ""; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.prose a { color: var(--gold-2); text-decoration: underline; }

/* ---------- Подвал ---------- */
.footer { position: relative; background: linear-gradient(180deg, #1c070d 0%, #0e0306 100%); color: var(--muted); padding: 76px 0 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1.15fr; gap: 40px; }
.footer__about { font-size: 15px; margin: 20px 0 0; max-width: 380px; }
.footer__title { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: 15px; transition: color .2s; }
.footer__links a:hover { color: var(--gold-2); }
.footer__phone { display: block; font-size: 24px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.footer__phone:hover { color: var(--gold-2); }
.footer__info { display: grid; gap: 10px; margin-bottom: 20px; }
.footer__info li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.footer__info .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; }
.footer__info a:hover { color: var(--ink); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.footer__bottom a:hover { color: var(--ink); }
.footer__disclaimer { width: 100%; margin: 0; font-size: 13px; color: rgba(207, 179, 181, .6); }
.footer__legal { margin-top: -6px; font-size: 11.5px; line-height: 1.5; color: rgba(207, 179, 181, .42); }

/* ---------- Адаптив ---------- */
@media (min-width: 1281px) and (max-width: 1540px) {
  .header__cta { display: none; }
  .nav-link { padding: 10px 9px; font-size: 14.5px; }
  .header__phone span { display: none; }
}
@media (max-width: 1280px) {
  .burger { display: flex; }
  .header__mob { display: flex; margin-left: auto; }
  .header__mob + .burger { margin-left: 0; }
  .header__menu {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 24px;
    padding: 20px 24px 40px; background: #16060b; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .35s var(--ease), visibility .3s;
  }
  .header__menu.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; padding: 14px 12px; font-size: 18px; }
  .has-submenu { display: grid; grid-template-columns: 1fr auto; }
  .has-submenu > .nav-link .icon { display: none; }
  .submenu-toggle { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(255, 255, 255, .06); color: var(--ink); }
  .submenu-toggle .icon { width: 20px; height: 20px; transition: transform .3s var(--ease); }
  .nav-item.is-open .submenu-toggle .icon { transform: rotate(180deg); }
  .dropdown { grid-column: 1 / -1; position: static; min-width: 0; opacity: 1; visibility: visible; transform: none; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .dropdown::before { display: none; }
  .dropdown__inner { box-shadow: none; border: 0; padding: 4px 0 8px; background: transparent; }
  .header__side { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); }
  .header__phone { text-align: left; }
  .header__phone a { font-size: 24px; }
  .header__cta { min-height: 56px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .svc-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .free { grid-template-columns: 1fr; }
  .free__price { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero-pop { right: 16px; bottom: 16px; }
}
@media (max-width: 960px) {
  .section { padding: 76px 0; }
  .who, .refuse, .route, .split, .about, .cta-block, .contacts, .visit, .faith, .cases { grid-template-columns: 1fr; }
  .signs, .types, .doubts, .gallery, .results { grid-template-columns: 1fr 1fr; }
  .lightbox { padding: 70px 16px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; margin-top: 0; }
  .story-card, .visit__photo .story-card, .route__ticket { transform: none; }
  .visit__badge { left: 12px; }
  .quiz { grid-template-columns: 1fr; }
  .quiz__aside { padding: 30px; }
  .quiz__perks { grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; }
  .signs-cta { flex-direction: column; align-items: flex-start; }
  .modal__dialog { grid-template-columns: 1fr; max-width: 540px; }
  .modal__side { padding: 30px 28px 26px; }
  .modal__side ul, .modal__script, .modal__3d { display: none; }
  .modal__side .modal__title { font-size: 25px; padding-right: 40px; }
  .modal__close { background: rgba(255, 255, 255, .14); color: #fff; }
  .gallery--bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .thanks__steps { grid-template-columns: 1fr; }
  .hero-form__row { grid-template-columns: 1fr 1fr; }
  .hero-form__row .btn { grid-column: 1 / -1; }
  .hero-3d .h3d:nth-child(n+4) { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__mark svg { width: 22px; height: 22px; }
  .logo__title { font-size: 16px; }
  .logo__sub { font-size: 10.5px; }
  .header__inner { gap: 10px; }
  .header__mob .messengers a { width: 36px; height: 36px; border-radius: 11px; }
  .header__mob .messengers a.m-hide { display: none; }
  .burger { width: 40px; height: 40px; }
  .logo { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .logo__text { min-width: 0; overflow: hidden; }
  .logo__title, .logo__sub { overflow: hidden; text-overflow: ellipsis; }
  .header__menu { padding: 16px 16px 32px; }
  .section { padding: 62px 0; }
  .section-head { margin-bottom: 32px; }
  .hero { min-height: 0; }
  .hero__inner { padding-top: 110px; padding-bottom: 120px; }
  .hero__lead, .page-hero__lead, .section-lead { font-size: 17px; }
  .hero-form { padding: 8px; border-radius: 20px; }
  .hero-form__row { grid-template-columns: 1fr; }
  .hero__perks { gap: 8px 14px; font-size: 14px; }
  .hero-pop { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); width: auto; z-index: 44; padding: 14px; }
  .hero-pop__msg, .hero-pop__typing { display: none !important; }
  .hero-pop__top { margin-bottom: 10px; }
  .h3d { width: calc(var(--w, 150px) * .45); opacity: .85; }
  .hero-3d .h3d:nth-child(1) { left: -14px !important; top: 64px !important; }
  .hero-3d .h3d:nth-child(2) { right: -14px !important; top: 40px !important; }
  .hero-3d .h3d:nth-child(3) { right: -10px !important; bottom: 30px !important; }
  .hero-scroll { display: none; }
  .fw--special { font-size: 32px; }
  .fw--script { font-size: 30px; }
  .fw { font-size: 15px; }
  .fw--glow { font-size: 18px; }
  .fw--icon img { width: 30px; height: 30px; }
  .hero__actions .btn { width: 100%; }
  .svc-visual { height: 360px; overflow: hidden; margin: 0 -16px; width: auto; }
  .svc-orb { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .svc-ring--1 { width: 250px; height: 250px; margin: -125px 0 0 -125px; }
  .svc-ring--2 { width: 330px; height: 330px; margin: -165px 0 0 -165px; }
  .svc-card { max-width: 190px; font-size: 13px; padding: 10px 14px 10px 10px; }
  .svc-card img { width: 36px; height: 36px; }
  .svc-card--1 { left: 12px; top: 18px; }
  .svc-card--2 { right: 12px; bottom: 20px; }
  .svc-card--3 { display: none; }
  .svc-chip { right: 14px; top: 110px; font-size: 13px; padding: 8px 14px; }
  .services-grid, .signs, .types, .doubts, .steps, .free__list, .about__cards, .gallery, .results, .visit__grid, .faith__cards { grid-template-columns: 1fr; }
  .gallery-filter { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 26px; padding: 0 16px 4px; scrollbar-width: none; }
  .gallery-filter button { flex: none; }
  .gallery__zoom { opacity: 1; transform: none; }
  .gallery--bento { grid-auto-rows: 170px; gap: 10px; }
  .gallery--bento .gallery__item { border-radius: 18px; }
  .gallery--bento .gallery__body { padding: 12px 14px 14px; }
  .gallery--bento .gallery__body h3 { font-size: 15px; }
  .gallery--bento .g--big .gallery__body h3 { font-size: 19px; }
  .gallery--bento .gallery__tag { display: none; }
  .gallery--bento .g--wide .gallery__body p, .gallery--bento .g--big .gallery__body p { display: none; }
  .who__card, .free__price, .refuse__note, .quote-card, .form-card, .contacts__form, .contacts__info, .quiz__main, .case { padding: 26px 20px; }
  .who__card h3 { font-size: 24px; }
  .big-zero { font-size: 100px; }
  .quiz__options, .quiz__final { grid-template-columns: 1fr; }
  .quiz__contact { grid-template-columns: 1fr 1fr; }
  .quiz__perks { grid-template-columns: 1fr; }
  .quiz__q { font-size: 21px; }
  .quiz__main { min-height: 0; }
  .route__ticket { padding: 26px 20px; }
  .route__line { width: 40px; }
  .route__city b { font-size: 19px; }
  .route__price strong { font-size: 36px; }
  .faq__item summary { padding: 18px; font-size: 16px; }
  .faq__answer-inner { padding: 0 18px 20px; }
  .case__q { font-size: 21px; }
  .quote-card blockquote { font-size: 24px; }
  .modal { padding: 10px; }
  .modal__body { padding: 26px 20px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { padding: 0 22px; }
  .map { height: 340px; }
  .visit__actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .split-title .w > span { transform: none; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
