/* ============================================================
   LUNÉVI - Главная №1 (lunevi.ru)
   Дизайн-система по ТЗ Часть 1: обсидиан + шампань-золото + Playfair.
   Эстетика «притяжения»: тихая сила, золото < 10%, много воздуха.
   ============================================================ */

/* ---------- 1.1 Токены ---------- */
:root{
  /* Фон и поверхности */
  --bg:#0A0D16;            /* Обсидиан - основной фон */
  --bg-glow:#16223C;       /* Глубокая ночь - радиальное свечение */
  --surface:#13161F;       /* Карточки */
  --surface-2:#1A1E28;     /* Поля форм, пилюли, поднятые элементы */
  --border:#242833;        /* Тонкая граница (hairline) */
  /* Текст */
  --text:#F2ECDC;          /* Лунный свет - заголовки и крупные цифры */
  --text-body:#B5BCC8;     /* Серебро луны - основной текст */
  --text-muted:#8A909B;    /* Подписи, второстепенное */
  /* Золото (акцент, <10%) */
  --gold:#D8B45E;          /* Шампань-золото */
  --gold-bright:#E6C879;   /* Светлый блик металла */
  --gold-deep:#B7975A;     /* Тёмное золото - линии, границы */
  --gold-metal:linear-gradient(150deg,#E6CB84 0%,#D0AC64 50%,#B0904F 100%);
  /* Геометрия и эффекты */
  --radius:18px; --radius-sm:12px; --container:1240px;
  --glow-gold:0 0 40px rgba(216,180,94,.12);
  --ring-gold:0 0 0 2px rgba(216,180,94,.45);
  --font-display:'Playfair Display', Georgia, serif;
  --font-body:'Inter', system-ui, -apple-system, sans-serif;
  --ease:cubic-bezier(.22,1,.36,1);
  --section-y:clamp(64px,9vw,140px);
}

/* ---------- Сброс / база ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion:reduce){ html{scroll-behavior:auto;} }
body{
  margin:0; background:var(--bg); color:var(--text-body);
  font-family:var(--font-body); font-weight:400; line-height:1.6;
  font-size:clamp(1rem,1.2vw,1.125rem);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
/* Глубина фона: радиальные свечения + лёгкое зерно (не плоский чёрный) */
body::before{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(22,34,60,.55) 0%, transparent 60%),
    radial-gradient(80% 60% at 85% 110%, rgba(183,151,90,.05) 0%, transparent 55%);
}
body::after{
  content:""; position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.04;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
main,.site-header,.site-footer,.mobile-cta{position:relative; z-index:1;}

img,svg{display:block; max-width:100%;}
a{color:inherit; text-decoration:none; transition:color .35s var(--ease);}
a:hover{color:var(--gold);}
:focus-visible{outline:2px solid var(--gold); outline-offset:3px; border-radius:2px;}
button{font:inherit;}

.container{width:100%; max-width:var(--container); margin-inline:auto; padding-inline:clamp(20px,5vw,64px);}
.section{padding-block:var(--section-y); position:relative;}
.rule{height:1px; border:0; background:rgba(183,151,90,.25); margin:0;}
.section + .section{border-top:1px solid rgba(201,206,218,.06);}

.skip-link{position:absolute; left:-9999px; top:0; z-index:100; background:var(--surface-2); color:var(--text); padding:12px 18px; border-radius:0 0 8px 0;}
.skip-link:focus{left:0;}

/* ---------- 1.2 Типографика ---------- */
h1,.h1{font-family:var(--font-display); font-weight:700; color:var(--text); font-size:clamp(2.6rem,6vw,4.6rem); line-height:1.04; letter-spacing:-.01em; margin:0;}
h2,.h2{font-family:var(--font-display); font-weight:700; color:var(--text); font-size:clamp(2rem,4vw,3.2rem); line-height:1.08; margin:0;}
h3,.h3{font-family:var(--font-display); font-weight:600; color:var(--text); font-size:clamp(1.25rem,2vw,1.6rem); line-height:1.2; margin:0;}
p{margin:0;}
.body{font-size:clamp(1rem,1.2vw,1.125rem); color:var(--text-body); line-height:1.65;}
.lead{font-size:clamp(1.1rem,1.6vw,1.35rem); color:var(--text-body); line-height:1.55;}

/* ПОДПИСЬ-ПРИЁМ: золотой курсив в заголовке */
h1 em,h2 em,.display em,.gold-em{font-style:italic; font-weight:600; color:var(--gold);}

/* Кикер - надсекционная метка */
.kicker{font-family:var(--font-body); text-transform:uppercase; letter-spacing:.2em; font-size:.78rem; font-weight:600; color:var(--gold); display:inline-flex; gap:.6em; align-items:center;}
.kicker::before{content:""; width:18px; height:1px; flex:none; background:linear-gradient(90deg,transparent,var(--gold-deep)); align-self:center;}

/* Заголовок секции */
.section-head{max-width:62ch; margin-bottom:clamp(36px,5vw,64px);}
.section-head--center{margin-inline:auto; text-align:center;}
.section-head .kicker{margin-bottom:1rem;}
.section-head p.sub{margin-top:1rem; color:var(--text-body); max-width:54ch;}
.section-head--center p.sub{margin-inline:auto;}

/* Крупные цифры */
.stat-num{font-family:var(--font-display); font-weight:700; line-height:1; font-size:clamp(2.4rem,5vw,3.6rem); color:var(--text); font-variant-numeric:tabular-nums;}
.stat-num--gold{color:var(--gold);}
.stat-cap{font-size:.95rem; color:var(--text-muted); margin-top:.4em;}

/* ---------- 1.4 Кнопки ---------- */
.btn{font-family:var(--font-body); font-weight:600; border-radius:999px; padding:.85em 1.7em; cursor:pointer; transition:.25s var(--ease); display:inline-flex; align-items:center; justify-content:center; gap:.5em; border:1px solid transparent; font-size:.95rem; line-height:1;}
.btn--primary{background:transparent; color:var(--gold); border-color:var(--gold);}
.btn--primary:hover{background:rgba(216,180,94,.08); box-shadow:var(--glow-gold); color:var(--gold-bright);}
.btn--solid{background:var(--gold); color:#0A0D16; border-color:var(--gold);}
.btn--solid:hover{background:var(--gold-bright); color:#0A0D16;}
.btn--ghost{background:transparent; color:var(--text); border-color:var(--border);}
.btn--ghost:hover{border-color:var(--gold-deep); color:var(--text);}
.btn--block{width:100%;}

/* ---------- 1.4 Карточки ---------- */
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:clamp(20px,2.4vw,32px); transition:border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);}
.card--hover:hover{border-color:rgba(216,180,94,.4); box-shadow:var(--glow-gold); transform:translateY(-2px);}
.card--gold{background:linear-gradient(160deg,#1E1A12 0%,#15141C 55%,#13161F 100%); border:1px solid rgba(216,180,94,.45); box-shadow:var(--glow-gold);}
.step-num{font-family:var(--font-display); color:var(--gold); font-size:1.4rem; line-height:1;}

/* «было / стало / сегодня» - золотая левая кайма */
.shift{border-left:2px solid var(--gold-deep); padding-left:18px;}

/* ---------- 1.4 Прайс-таблица ---------- */
.price{width:100%; border-collapse:collapse; font-size:.96rem;}
.price th{font-family:var(--font-body); text-transform:uppercase; letter-spacing:.08em; font-size:.72rem; color:var(--text-muted); text-align:left; padding:16px 18px; background:#21262F;}
.price td{padding:16px 18px; border-top:1px solid var(--border); color:var(--text);}
.price .num{font-family:var(--font-display); text-align:right; white-space:nowrap;}
.price .unit{color:var(--text-muted);}
.price tr.total td{background:rgba(216,180,94,.08);}
.price tr.total .num{color:var(--gold); font-weight:700;}
.price-old{color:var(--text-muted); text-decoration:line-through; font-family:var(--font-display);}
.price-new{color:var(--gold); font-family:var(--font-display); font-weight:700;}

/* ---------- 1.4 Пилюля ---------- */
.pill{display:inline-flex; align-items:center; gap:.55em; border:1px solid rgba(216,180,94,.4); border-radius:999px; padding:.5em 1em; color:var(--text-body); font-size:.92rem; background:transparent;}
.pill::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--gold); flex:none;}
.pill--btn{cursor:pointer; transition:.25s var(--ease);}
.pill--btn:hover{border-color:var(--gold); color:var(--text); box-shadow:var(--glow-gold);}

/* ---------- 1.4 Поля форм ---------- */
.input{width:100%; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); padding:.95em 1em; font-family:var(--font-body); font-size:1rem; transition:border-color .25s var(--ease), box-shadow .25s var(--ease);}
.input::placeholder{color:var(--text-muted);}
.input:focus{outline:none; border-color:var(--gold); box-shadow:var(--ring-gold);}
textarea.input{resize:vertical; min-height:92px;}
.input[aria-invalid="true"]{border-color:#C2683E;}
.form-label{color:var(--text-muted); font-size:.85rem; margin-bottom:.4em; display:block;}
.consent{color:var(--text-muted); font-size:.78rem; line-height:1.5;}
.consent a{color:var(--text-body); text-decoration:underline; text-underline-offset:2px;}
.field{margin-bottom:14px;}
.field:last-of-type{margin-bottom:0;}
.form-note{color:var(--text-body); font-size:.86rem; margin-top:.5em;}
.form-status{margin:.6em 0 0; font-size:.9rem; color:var(--gold); min-height:1.2em;}
/* радио «способ связи / куда прислать» */
.radios{display:flex; gap:10px; flex-wrap:wrap;}
.radios label{display:inline-flex; align-items:center; gap:.5em; padding:.55em 1em; border:1px solid var(--border); border-radius:999px; cursor:pointer; color:var(--text-body); font-size:.9rem; background:var(--surface-2); transition:.2s var(--ease);}
.radios input{position:absolute; opacity:0; width:0; height:0;}
.radios label:has(input:checked){border-color:var(--gold); color:var(--text); box-shadow:var(--ring-gold);}

/* ============================================================
   Сквозная гравитация - орбита + спутник (язык «притяжения»)
   ============================================================ */
.gravity{position:fixed; inset:0; z-index:0; pointer-events:none;}
.gravity__arc{position:absolute; inset:-10% 0 auto; width:100%; height:130vh; transform:translateY(var(--arc-shift,0)); transition:transform .6s linear;}
.gravity__satellite{position:fixed; top:0; left:0; width:7px; height:7px; border-radius:50%; background:var(--gold-metal); box-shadow:0 0 14px 2px rgba(216,180,94,.5); transform:translate(-100px,-100px); transition:opacity .4s var(--ease); opacity:0;}
@media (hover:hover) and (pointer:fine){ .gravity__satellite.is-active{opacity:.8;} }

/* ============================================================
   C1. Шапка (sticky)
   ============================================================ */
.site-header{position:fixed; top:0; left:0; right:0; z-index:50; display:flex; align-items:center; gap:1.6rem; padding:clamp(14px,2vw,22px) clamp(20px,5vw,64px); transition:background .4s var(--ease), border-color .4s var(--ease), padding .4s var(--ease); border-bottom:1px solid transparent;}
.site-header[data-scrolled]{background:rgba(10,13,22,.92); border-bottom-color:var(--border); padding-block:clamp(10px,1.4vw,14px);}
@supports ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .site-header[data-scrolled]{background:rgba(10,13,22,.72); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px);}
}
.header__brand{display:inline-flex; align-items:center; gap:.7rem;}
.header__lockup{height:30px; width:auto;}
.header__desc{color:var(--text-muted); font-size:.74rem; letter-spacing:.04em; border-left:1px solid var(--border); padding-left:.7rem; max-width:16ch; line-height:1.25;}
.nav{display:flex; gap:1.8rem; margin-left:auto; align-items:center;}
.nav__item{font-size:.82rem; color:var(--text-body); position:relative; padding-block:4px;}
.nav__item:hover{color:var(--gold);}
.nav__phone{font-size:.88rem; color:var(--text); white-space:nowrap;}
.nav__phone:hover{color:var(--gold);}
.header__cta{padding:.62em 1.2em; font-size:.82rem;}
.burger{display:none; margin-left:auto; width:44px; height:44px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); cursor:pointer; align-items:center; justify-content:center; flex-direction:column; gap:5px;}
.burger span{display:block; width:18px; height:2px; background:var(--text); transition:.25s var(--ease);}
body.nav-open .burger span:nth-child(1){transform:translateY(7px) rotate(45deg);}
body.nav-open .burger span:nth-child(2){opacity:0;}
body.nav-open .burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-nav{display:none;} /* по умолчанию скрыто (на десктопе); на мобильном показывается по бургеру */

/* ============================================================
   ЭКРАН 1 - Hero: оффер + захват
   ============================================================ */
.hero{padding-top:clamp(120px,16vh,180px); padding-bottom:var(--section-y); overflow:hidden;}
.hero__glow{position:absolute; left:18%; top:0; width:min(110vw,1100px); aspect-ratio:1/.6; transform:translate(-30%,-30%); background:radial-gradient(closest-side, rgba(22,34,60,.65), transparent 70%); pointer-events:none;}
.hero__grid{display:grid; grid-template-columns:minmax(0,0.9fr) minmax(0,1.1fr); gap:clamp(32px,5vw,72px); align-items:center; position:relative;}
.hero__col{min-width:0;}
.hero__title{margin:.6rem 0 0;}
.hero__sub{margin:1.4rem 0 0; max-width:34ch; color:var(--text-body);}
.hero__bullets{list-style:none; margin:2rem 0 0; padding:0; display:grid; gap:.9rem;}
.hero__bullets li{display:flex; gap:.8rem; align-items:flex-start; color:var(--text-body); font-size:1rem;}
.hero__bullets svg{flex:none; width:22px; height:22px; color:var(--gold); margin-top:1px;}
.expert-anchor{display:inline-flex; align-items:center; gap:.9rem; margin-top:2.2rem; padding:.6rem .9rem .6rem .6rem; border:1px solid var(--border); border-radius:999px; background:var(--surface);}
.expert-anchor img{width:44px; height:44px; border-radius:50%; border:1px solid rgba(216,180,94,.4); object-fit:cover;}
.expert-anchor__meta b{color:var(--text); font-weight:600; font-size:.92rem; display:block;}
.expert-anchor__meta span{color:var(--gold); font-size:.78rem;}
.hero__form{align-self:start;}
.hero__right{display:flex; flex-direction:column; gap:14px; min-width:0;}
.hero__cta{margin-top:2.2rem;}
.hero__cta .btn{font-size:1.02rem; padding:1em 1.9em;}
.hero__cta-note{color:var(--text-muted); font-size:.86rem; line-height:1.5; margin-top:.9rem; max-width:44ch;}
.hero__pnl-cap{color:var(--text-muted); font-size:.82rem; line-height:1.5; text-align:center;}
.form-card__title{font-family:var(--font-display); font-weight:600; font-size:1.3rem; color:var(--text); margin-bottom:.4rem;}
.form-card__note{color:var(--text-muted); font-size:.86rem; margin-bottom:1.2rem;}

/* ============================================================
   ЭКРАН 2 - Инструменты
   ============================================================ */
.tools__row{display:grid; grid-template-columns:repeat(5,1fr); gap:18px;}
.tool{display:flex; flex-direction:column; gap:.8rem;}
.tool__icon{width:34px; height:34px; color:var(--gold);}
.tool__name{margin-top:.2rem;}
.tool__result{color:var(--text-body); font-size:.94rem; flex:1;}
.tool__link{color:var(--gold); font-size:.85rem; display:inline-flex; align-items:center; gap:.4em; margin-top:.4rem;}
.tool__link::after{content:"→"; transition:transform .25s var(--ease);}
.tool:hover .tool__link::after{transform:translateX(3px);}
/* Метка «Скоро» (услуги и блог, без перехода) */
.soon-tag{color:var(--text-muted); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase; display:inline-flex; align-items:center; gap:.5em;}
.soon-tag::before{content:""; width:5px; height:5px; border-radius:50%; background:var(--gold-deep); flex:none;}
.post .soon-tag{margin-top:1rem;}
.blog__soon{color:var(--text-muted); font-size:.92rem;}

/* ============================================================
   P&L дашборд (нативный, лёгкий) - превью в герое + зум в модалке.
   Масштабируется по ширине контейнера (cqw): узкий = мелко, широкий = крупно.
   ============================================================ */
.pnl{width:900px; background:linear-gradient(160deg,#161A24,#0E121B); border:1px solid var(--border); border-radius:18px; padding:26px; transform-origin:top left; box-shadow:0 24px 60px rgba(0,0,0,.45);}
.pnl__head{display:flex; justify-content:space-between; align-items:baseline; gap:16px; flex-wrap:wrap; margin-bottom:20px;}
.pnl__period{font-size:14px; color:var(--text-muted); letter-spacing:.02em;}
.pnl__title{font-family:var(--font-display); font-weight:600; font-size:21px; color:var(--gold);}
.pnl__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.pnl__cell{position:relative; background:var(--surface); border:1px solid var(--border); border-radius:14px; padding:18px 16px;}
.pnl__badge{position:absolute; top:14px; right:14px; font-size:12px; font-weight:700; padding:.2em .55em; border-radius:1em; line-height:1;}
.pnl__badge.is-up{color:#7BE0A3; background:rgba(96,200,140,.14);}
.pnl__badge.is-down{color:var(--gold-bright); background:rgba(216,180,94,.14);}
.pnl__label{font-size:11px; line-height:1.3; letter-spacing:.04em; text-transform:uppercase; color:var(--text-muted); max-width:82%; margin-bottom:11px;}
.pnl__num{font-family:var(--font-display); font-weight:700; font-size:27px; line-height:1; color:var(--text);}
.pnl__plan{font-size:13px; color:var(--text-muted); margin-top:5px;}
.pnl__foot{display:flex; justify-content:space-between; align-items:center; gap:16px; margin-top:20px; font-size:13px; color:var(--text-muted);}
.pnl__foot-ok{color:#7BE0A3;}
/* Превью в герое: дашборд фикс. ширины 900px, ужимается через transform:scale (высоту считает JS) */
.pnl-card{position:relative; cursor:zoom-in; overflow:hidden; border-radius:18px; max-width:100%;}
.pnl-card::after{content:"Нажмите, чтобы увеличить"; position:absolute; bottom:10px; right:14px; font-size:.7rem; color:var(--text-body); background:rgba(10,13,22,.72); padding:.35em .7em; border-radius:8px; pointer-events:none; opacity:0; transition:opacity .25s; z-index:2;}
.pnl-card:hover::after{opacity:1;}
.pnl-card:hover .pnl{border-color:rgba(216,180,94,.45); box-shadow:var(--glow-gold);}
#pnl-zoom{overflow:hidden;}
.modal__card--wide{max-width:min(960px,95vw); max-height:92vh; overflow:auto;}

/* ============================================================
   ЭКРАН 3 - Готовое решение
   ============================================================ */
.solution__grid{display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(28px,4vw,56px); align-items:center;}
.solution__lead{margin-top:1.2rem; color:var(--text-body);}
.stats-inline{display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:0;}
.stats-inline .stat-cap{max-width:18ch;}

/* ============================================================
   ЭКРАН 4 - Боль
   ============================================================ */
.pains__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.pain{display:flex; gap:.9rem; align-items:flex-start;}
.pain__icon{flex:none; width:26px; height:26px; color:var(--gold-deep); margin-top:2px;}
.pain b{color:var(--text); font-weight:600; display:block; margin-bottom:.25rem; font-family:var(--font-display); font-size:1.08rem;}
.pain span{color:var(--text-body); font-size:.94rem;}

/* ============================================================
   ЭКРАН 5 - Метод / этапы
   ============================================================ */
.method__list{display:grid; gap:16px;}
.step{display:grid; grid-template-columns:auto 1fr auto; gap:1.2rem; align-items:center;}
.step__body h3{font-size:1.2rem;}
.step__result{color:var(--text-body); font-size:.95rem; margin-top:.3rem;}
.step__anchor{color:var(--gold); font-size:.86rem; white-space:nowrap; text-align:right; font-family:var(--font-display);}
/* Мобильный аккордеон через <details> */
.method__list details summary{list-style:none; cursor:pointer;}
.method__list details summary::-webkit-details-marker{display:none;}

/* ============================================================
   ЭКРАН 6 - Кейсы (C3)
   ============================================================ */
.cases__ticker{overflow:hidden; white-space:nowrap; border-block:1px solid var(--border); padding-block:.8rem; margin-bottom:clamp(24px,3vw,40px); -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent); mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);}
.cases__ticker ul{display:inline-flex; gap:2.4rem; margin:0; padding:0; list-style:none; animation:ticker 38s linear infinite;}
.cases__ticker li{text-transform:uppercase; letter-spacing:.14em; font-size:.78rem; color:var(--text-muted);}
.cases__ticker li::after{content:"·"; color:var(--gold); margin-left:2.4rem;}
@keyframes ticker{from{transform:translateX(0);} to{transform:translateX(-50%);}}
.cases__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.case__niche{color:var(--gold); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; margin-bottom:.8rem;}
.case__result{font-family:var(--font-display); color:var(--gold); font-size:1.5rem; line-height:1.15; margin-bottom:.4rem;}
.case__sub{color:var(--text-body); font-size:.92rem;}
.case__link{color:var(--text); font-size:.85rem; margin-top:1.1rem; display:inline-flex; gap:.4em;}
.case__link:hover{color:var(--gold);}
.cases__actions{display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:clamp(28px,4vw,44px);}

/* ============================================================
   ЭКРАН 7 - Витрина результатов
   ============================================================ */
.showcase{text-align:center;}
.showcase__row{display:grid; grid-template-columns:repeat(5,1fr); gap:clamp(20px,3vw,40px); margin-top:clamp(28px,4vw,48px);}
.showcase__row .stat-cap{max-width:14ch; margin-inline:auto;}

/* ============================================================
   ЭКРАН 8 - Эксперт + гарантия (C4 + C5)
   ============================================================ */
.expert__grid{display:grid; grid-template-columns:1.2fr .8fr; gap:24px; align-items:stretch;}
.expert-card{display:grid; grid-template-columns:auto 1fr; gap:clamp(20px,3vw,36px); align-items:start;}
.expert-card__photo{width:clamp(120px,16vw,180px); aspect-ratio:1; border-radius:var(--radius); object-fit:cover; border:1px solid rgba(216,180,94,.4);}
.expert-card__regalia{list-style:none; margin:1rem 0 0; padding:0; display:grid; gap:.6rem;}
.expert-card__regalia li{display:flex; gap:.6rem; color:var(--text-body); font-size:.96rem;}
.expert-card__regalia li::before{content:""; width:6px; height:6px; border-radius:50%; background:var(--gold); margin-top:.55em; flex:none;}
.expert-card__cert{color:var(--gold); text-decoration:underline; text-underline-offset:3px;}
.expert-card__tg{margin-top:1.2rem;}
.guarantees{display:flex; flex-direction:column; gap:14px; justify-content:center;}
.guarantees .card{display:flex; gap:.8rem; align-items:flex-start;}
.guarantees svg{flex:none; width:24px; height:24px; color:var(--gold);}
.guarantees b{color:var(--text); font-family:var(--font-display); font-weight:600; display:block; margin-bottom:.2rem;}
.guarantees span{color:var(--text-body); font-size:.9rem;}

/* ============================================================
   ЭКРАН 9 - Преимущества + доп.услуги
   ============================================================ */
.adv__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.adv__item b{color:var(--text); font-family:var(--font-display); font-weight:600; font-size:1.1rem; display:block; margin-bottom:.4rem;}
.adv__item span{color:var(--text-body); font-size:.94rem;}
.extra{margin-top:clamp(32px,4vw,52px);}
.extra h3{margin-bottom:1.2rem;}
.extra__pills{display:flex; flex-wrap:wrap; gap:12px;}

/* ============================================================
   ЭКРАН 10 - Отзывы
   ============================================================ */
.reviews__videos{display:flex; flex-wrap:wrap; gap:18px; justify-content:center; align-items:center; margin-bottom:28px;}
.video-embed{position:relative; flex:0 0 auto; height:clamp(260px,42vw,330px); overflow:hidden; border-radius:var(--radius); border:1px solid var(--border); background:#10131B; box-shadow:var(--glow-gold);}
.video-embed iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
.reviews__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.review__text{color:var(--text-body); font-size:.96rem;}
.review__meta{margin-top:1rem; color:var(--text-muted); font-size:.86rem;}
.review__meta b{color:var(--gold); font-family:var(--font-display);}

/* ============================================================
   ЭКРАН 11 - Блог
   ============================================================ */
.blog__grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.post__tag{color:var(--gold); font-size:.74rem; letter-spacing:.12em; text-transform:uppercase;}
.post__title{font-family:var(--font-display); font-weight:600; font-size:1.2rem; color:var(--text); margin:.6rem 0 0; line-height:1.25;}
.post__excerpt{color:var(--text-body); font-size:.92rem; line-height:1.5; margin:.6rem 0 0;}
.post__link{color:var(--text-muted); font-size:.84rem; margin-top:1rem; display:inline-flex; gap:.4em;}
.post:hover .post__title{color:var(--gold-bright);}
.blog__more{margin-top:clamp(28px,4vw,44px); text-align:center;}

/* ============================================================
   ЭКРАН 12 - Финал + контакты
   ============================================================ */
.final{text-align:center; overflow:hidden;}
.final__glow{position:absolute; left:50%; top:0; width:min(120vw,900px); aspect-ratio:1; transform:translate(-50%,-40%); background:radial-gradient(closest-side, rgba(22,34,60,.6), transparent 70%); pointer-events:none;}
.final__title{margin:1rem auto 0; max-width:18ch;}
.final__sub{margin:1.2rem auto 0; max-width:46ch; color:var(--text-body);}
.final__form{max-width:520px; margin:clamp(32px,4vw,48px) auto 0; text-align:left;}
.contacts{max-width:760px; margin:clamp(28px,4vw,44px) auto 0; display:grid; grid-template-columns:repeat(3,1fr); gap:24px; text-align:left;}
.contact-row .kicker{margin-bottom:.5rem;}
.contact-row a,.contact-row span{color:var(--text); font-size:1rem;}
.contact-row a:hover{color:var(--gold);}

/* ============================================================
   C6. Подвал
   ============================================================ */
.site-footer{border-top:1px solid var(--border); padding-block:clamp(40px,5vw,64px);}
.footer__inner{display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:clamp(24px,4vw,48px); align-items:start;}
.footer__lockup{height:34px; width:auto; margin-bottom:1rem;}
.footer__tag{color:var(--text-muted); font-size:.86rem; max-width:30ch;}
.footer__col .kicker{margin-bottom:.8rem;}
.footer__col a,.footer__col p{display:block; color:var(--text-body); font-size:.95rem; margin-bottom:.4rem;}
.footer__col a:hover{color:var(--gold);}
.footer__legal{margin-top:clamp(28px,4vw,40px); padding-top:1.4rem; border-top:1px solid var(--border); color:var(--text-muted); font-size:.82rem; line-height:1.7;}

/* ============================================================
   C7. Sticky mobile CTA
   ============================================================ */
.mobile-cta{display:none; position:fixed; left:0; right:0; bottom:0; z-index:48; padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px)); background:rgba(10,13,22,.92); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); border-top:1px solid var(--border);}
.mobile-cta .btn{width:100%;}

/* ============================================================
   Модалка F-short («перезвоним»)
   ============================================================ */
.modal{position:fixed; inset:0; z-index:80; display:none; align-items:center; justify-content:center; padding:20px;}
.modal.is-open{display:flex;}
.modal__backdrop{position:absolute; inset:0; background:rgba(5,7,12,.72); -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);}
.modal__card{position:relative; z-index:1; width:100%; max-width:420px; animation:modal-in .35s var(--ease);}
@keyframes modal-in{from{opacity:0; transform:translateY(16px) scale(.98);} to{opacity:1; transform:none;}}
.modal__close{position:absolute; top:14px; right:14px; width:36px; height:36px; border-radius:50%; border:1px solid var(--border); background:var(--surface-2); color:var(--text-body); cursor:pointer; display:flex; align-items:center; justify-content:center;}
.modal__close:hover{color:var(--gold); border-color:var(--gold-deep);}
.exit-trust{margin-top:1.1rem; text-align:center; color:var(--text-muted); font-size:.8rem; letter-spacing:.04em;}

/* ============================================================
   Reveal - «притяжение» в позицию
   ============================================================ */
.reveal{opacity:0; transform:translateY(20px); transition:opacity .6s var(--ease), transform .6s var(--ease);}
.reveal.is-in{opacity:1; transform:none;}
[data-stagger] > *{opacity:0; transform:translateY(18px); transition:opacity .55s var(--ease), transform .55s var(--ease);}
[data-stagger].is-in > *{opacity:1; transform:none;}
[data-stagger].is-in > *:nth-child(2){transition-delay:.06s;}
[data-stagger].is-in > *:nth-child(3){transition-delay:.12s;}
[data-stagger].is-in > *:nth-child(4){transition-delay:.18s;}
[data-stagger].is-in > *:nth-child(5){transition-delay:.24s;}
[data-stagger].is-in > *:nth-child(6){transition-delay:.30s;}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
  .reveal,[data-stagger] > *{opacity:1; transform:none;}
  .cases__ticker ul{animation:none;}
  .gravity__satellite{display:none;}
}

/* ============================================================
   Адаптив (1.6)
   ============================================================ */
@media (max-width:1080px){
  .tools__row{grid-template-columns:repeat(3,1fr);}
  .showcase__row{grid-template-columns:repeat(3,1fr); row-gap:32px;}
}
@media (max-width:960px){
  .hero__grid{grid-template-columns:minmax(0,1fr); gap:32px;}
  .hero__form{order:2;}
  .solution__grid,.expert__grid{grid-template-columns:1fr;}
  .pains__grid,.cases__grid,.adv__grid,.blog__grid,.reviews__grid,.reviews__videos{grid-template-columns:repeat(2,1fr);}
  .contacts{grid-template-columns:1fr; gap:18px;}
  .footer__inner{grid-template-columns:1fr 1fr;}
}
@media (max-width:760px){
  .nav,.header__cta,.header__desc{display:none;}
  .burger{display:inline-flex;}
  body.nav-open .mobile-nav{display:flex;}
  .mobile-nav{display:none; position:fixed; inset:0; z-index:49; flex-direction:column; gap:1.2rem; align-items:center; justify-content:center; background:rgba(10,13,22,.97); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);}
  .mobile-nav a{font-family:var(--font-display); font-size:1.5rem; color:var(--text);}
  .mobile-nav a:hover{color:var(--gold);}
  .mobile-cta{display:block;}
  .stats-inline{grid-template-columns:1fr 1fr;}
  /* горизонтальный скролл рядов инструментов и кейсов */
  .tools__row,.cases__grid{grid-auto-flow:column; grid-auto-columns:78%; grid-template-columns:none; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; -webkit-overflow-scrolling:touch;}
  .tools__row > *,.cases__grid > *{scroll-snap-align:start;}
  /* метод - вертикальный аккордеон */
  .step{grid-template-columns:auto 1fr; }
  .step__anchor{grid-column:2; text-align:left; margin-top:.4rem;}
}
@media (max-width:560px){
  .pains__grid,.adv__grid,.blog__grid,.reviews__grid,.reviews__videos,.showcase__row,.footer__inner,.stats-inline{grid-template-columns:1fr;}
  h1,.h1{font-size:clamp(2.2rem,9vw,2.8rem);}
}

/* ============================================================
   Страница /cases - грид-шаблон с фильтром
   ============================================================ */
.cases-intro{padding-top:clamp(120px,16vh,180px);}
.cases-intro__stats{display:flex; flex-wrap:wrap; gap:clamp(24px,4vw,52px); margin-top:1.8rem;}
.cases-intro__stats > div{display:flex; flex-direction:column;}
.cases-intro__stats .stat-num{font-size:clamp(1.8rem,3.4vw,2.6rem);}
.cases-filter{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:clamp(24px,3vw,40px);}
.filter-chip{font-family:var(--font-body); font-size:.88rem; color:var(--text-body); background:var(--surface-2); border:1px solid var(--border); border-radius:999px; padding:.5em 1.1em; cursor:pointer; transition:.2s var(--ease);}
.filter-chip:hover{border-color:var(--gold-deep); color:var(--text);}
.filter-chip.is-active{border-color:var(--gold); color:var(--text); box-shadow:var(--ring-gold);}
.casegrid{display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:18px;}
.casecard{display:flex; flex-direction:column;}
.casecard .case__sub{margin-top:.25rem; flex:1;}
.casecard .case__period{margin-top:1rem; color:var(--text-muted); font-size:.8rem; letter-spacing:.06em; text-transform:uppercase;}
.cta-band{text-align:center;}
.cta-band__actions{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:1.6rem;}

/* Фильтр кейсов - два уровня (канал / сфера) */
.cases-filterwrap{margin-bottom:clamp(26px,3.4vw,40px);}
.filterbar{display:flex; align-items:baseline; gap:14px; margin-bottom:12px; flex-wrap:wrap;}
.filterbar__label{font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; color:var(--text-muted); min-width:52px; padding-top:.55em;}
.chips{display:flex; gap:.5em; flex-wrap:wrap;}
.chip{font-family:var(--font-body); font-size:.88rem; color:var(--text-body); background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:.5em 1.1em; cursor:pointer; transition:.2s var(--ease);}
.chip:hover:not(:disabled){border-color:rgba(216,180,94,.4); color:var(--text);}
.chip.is-active{border-color:var(--gold); color:var(--gold); background:rgba(216,180,94,.06);}
.chip.is-soon{opacity:.5; cursor:default; font-size:.8rem;}
.chip:disabled{cursor:default;}

/* Флагман-кейсы (featured) */
.featured-wrap{display:flex; flex-direction:column; gap:16px; margin-bottom:clamp(30px,4vw,48px);}
.featured{display:grid; grid-template-columns:.82fr 1.18fr; background:var(--surface); border:1px solid rgba(216,180,94,.4); border-radius:var(--radius); overflow:hidden; box-shadow:var(--glow-gold); transition:transform .25s var(--ease), box-shadow .25s var(--ease);}
.featured:hover{transform:translateY(-2px);}
.featured__metric{background:linear-gradient(160deg,#1E1A12,#13161F); padding:clamp(22px,3vw,38px); display:flex; flex-direction:column; justify-content:center; border-right:1px solid rgba(216,180,94,.22);}
.featured__big{font-family:var(--font-display); font-weight:700; color:var(--gold); font-size:clamp(1.9rem,3.6vw,2.9rem); line-height:1.05;}
.featured__big small{display:block; font-size:.34em; color:var(--text-muted); font-family:var(--font-body); font-weight:500; letter-spacing:.05em; margin-top:.7em; text-transform:uppercase;}
.featured__meta{padding:clamp(22px,3vw,38px); display:flex; flex-direction:column; gap:.6rem;}
.featured__niche{color:var(--gold); font-size:.76rem; letter-spacing:.12em; text-transform:uppercase;}
.featured__title{font-family:var(--font-display); font-weight:600; color:var(--text); font-size:clamp(1.15rem,1.9vw,1.45rem); line-height:1.22; margin:0;}
.featured__sub{color:var(--text-body); font-size:.95rem; margin:0;}
.featured__row{display:flex; gap:1em; align-items:center; flex-wrap:wrap; margin-top:.3rem;}

/* Бейдж канала + верх карточки кейса + «читать» */
.badge-ch{font-size:.7rem; text-transform:uppercase; letter-spacing:.1em; color:var(--gold-deep); border:1px solid var(--border); border-radius:999px; padding:.25em .7em; white-space:nowrap;}
.case__top{display:flex; justify-content:space-between; align-items:flex-start; gap:.7em; margin-bottom:.7rem;}
.case__top .case__niche{margin-bottom:0;}
.more{color:var(--gold); font-weight:600; cursor:pointer; background:none; border:0; font-family:var(--font-body); font-size:.92rem; padding:0;}
.more:hover{color:var(--gold-bright);}
.grid-more{text-align:center; margin-top:clamp(24px,3vw,38px);}

/* CTA-баннер «кейс по своей нише» */
.cta-banner{background:linear-gradient(160deg,#1E1A12,#13161F); border:1px solid rgba(216,180,94,.45); border-radius:var(--radius); padding:clamp(24px,4vw,44px); box-shadow:var(--glow-gold); display:flex; gap:1.6em; align-items:center; justify-content:space-between; flex-wrap:wrap;}
.cta-banner__text{max-width:54ch;}
.cta-banner__text h2{margin:.3rem 0 0;}
.cta-banner__text p{margin:.7rem 0 0;}
.cta-banner__actions{display:flex; gap:14px; flex-wrap:wrap;}

/* Финальная форма на странице кейсов */
.cases-final{text-align:center;}
.cases-final .card{max-width:560px; margin:clamp(24px,3vw,36px) auto 0; text-align:left;}

@media (max-width:680px){
  .featured{grid-template-columns:1fr;}
  .featured__metric{border-right:0; border-bottom:1px solid rgba(216,180,94,.22);}
  .filterbar__label{min-width:100%; padding-top:0;}
}

/* ============================================================
   Ниша-страницы (/clinic, /dostavka) + лонгрид
   ============================================================ */
/* Лонгрид (.prose) - разбор кейса, статьи блога */
.prose{color:var(--text-body); font-size:1.06rem; line-height:1.75; max-width:760px;}
.prose h3{font-family:var(--font-display); color:var(--text); font-size:1.3rem; margin:1.4em 0 .5em;}
.prose p{margin:0 0 1.1em;}
.prose ul{margin:0 0 1.1em 1.2em;} .prose li{margin:.4em 0;} .prose li::marker{color:var(--gold);}
.prose a{color:var(--gold); text-decoration:underline; text-underline-offset:3px;} .prose strong{color:var(--text);}
.prose blockquote{border-left:2px solid var(--gold); padding-left:1.2em; margin:1.4em 0; color:var(--text); font-family:var(--font-display); font-style:italic; font-size:1.2rem;}

/* Сегментация - две карточки */
.seg-grid{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.seg-card{display:flex; flex-direction:column; gap:.8rem;}
.seg-card h3{font-family:var(--font-display); color:var(--text); font-size:clamp(1.25rem,2vw,1.55rem);}
.seg-card .seg-lead{color:var(--text-body); font-size:.96rem;}
.seg-list{margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:.5rem;}
.seg-list li{position:relative; padding-left:1.4em; color:var(--text-body); font-size:.93rem;}
.seg-list li::before{content:""; position:absolute; left:0; top:.55em; width:6px; height:6px; border-radius:50%; background:var(--gold);}
.seg-card .btn{margin-top:auto; align-self:flex-start;}

/* Витрина: флагман-строка */
.flagship{margin-top:18px; display:flex; gap:1.4em 2.4em; align-items:center; flex-wrap:wrap; justify-content:space-between;}
.flagship__big{display:flex; flex-direction:column; gap:.2rem;}
.flagship .stat-num{font-size:clamp(2rem,4vw,3rem);}
.flagship__txt{max-width:42ch; color:var(--text-body);}

/* Детальный разбор кейса */
.case-detail{display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:clamp(28px,4vw,52px); align-items:start;}
.case-detail > *{min-width:0;}
.price-wrap{overflow-x:auto; border:1px solid var(--border); border-radius:var(--radius-sm); max-width:100%;}
.price-wrap .price{min-width:480px;}

/* Заметка о медрекламе / нюансах */
.med-note{margin-top:clamp(22px,3vw,30px); border-left:2px solid var(--gold-deep); padding:14px 18px; background:var(--surface); border-radius:0 var(--radius-sm) var(--radius-sm) 0; color:var(--text-muted); font-size:.9rem; line-height:1.6;}
.med-note b{color:var(--text-body);}

@media (max-width:860px){ .case-detail{grid-template-columns:minmax(0,1fr);} }
@media (max-width:680px){ .seg-grid{grid-template-columns:1fr;} }

/* Под-заголовок сегмента (доставка / рестораны) */
.subhead{display:flex; align-items:center; gap:1em; margin:clamp(30px,4vw,48px) 0 1.1rem;}
.subhead:first-child{margin-top:0;}
.subhead .kicker{margin:0; white-space:nowrap;}
.subhead hr{flex:1; border:0; height:1px; background:rgba(183,151,90,.25); margin:0;}

/* Карточка-плейсхолдер (реальные food-кейсы подставит заказчик) */
.placeholder-card{border-style:dashed; border-color:var(--gold-deep); background:rgba(216,180,94,.03); display:flex; flex-direction:column; gap:.7rem; align-items:flex-start;}
.placeholder-card .ph-tag{font-size:.7rem; text-transform:uppercase; letter-spacing:.12em; color:var(--gold-deep); border:1px solid var(--gold-deep); border-radius:999px; padding:.25em .7em;}
.placeholder-card h3{font-family:var(--font-display); color:var(--text); font-size:1.15rem;}
.placeholder-card p{color:var(--text-muted); font-size:.93rem;}

/* ============================================================
   Блог: индекс + шаблон статьи
   ============================================================ */
.crumbs{font-size:.85rem; color:var(--text-muted);}
.crumbs a{color:var(--text-muted);} .crumbs a:hover{color:var(--gold);}
.crumbs .sep{margin:0 .5em; color:var(--gold-deep);}
.article-meta{color:var(--text-muted); font-size:.9rem; display:flex; gap:1.2em; align-items:center; flex-wrap:wrap; margin-top:1.1rem;}
.article-meta .author{color:var(--text);}
.article-cover{aspect-ratio:16/6; border-radius:var(--radius-sm); border:1px solid var(--border); background:linear-gradient(160deg,#161A24,#0E121B); display:grid; place-items:center; color:var(--gold-deep); font-family:var(--font-display); font-size:1.1rem; margin-top:clamp(22px,3vw,32px); box-shadow:var(--glow-gold);}
.toc{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); padding:18px 22px; margin:0 0 clamp(22px,3vw,34px);}
.toc p{font-size:.72rem; text-transform:uppercase; letter-spacing:.14em; color:var(--text-muted); margin:0 0 .5rem;}
.toc a{color:var(--text-body); display:block; padding:.28em 0;} .toc a:hover{color:var(--gold);}
.post--lead .post__title{font-size:clamp(1.4rem,2.4vw,2rem);}
.post--lead .post__excerpt{font-size:1rem;}
/* h2/ol для лонгрида */
.prose h2{font-family:var(--font-display); color:var(--text); font-size:clamp(1.45rem,2.4vw,1.95rem); margin:1.7em 0 .55em; line-height:1.15;}
.prose ol{margin:0 0 1.1em 1.2em;} .prose ol li{margin:.4em 0;} .prose ol li::marker{color:var(--gold);}

/* ============================================================
   Услуговые страницы: спец-блоки .compare (/sites) и .timeline (/seo)
   ============================================================ */
/* Экономика конверсии: «было → стало» на одном бюджете */
.compare{display:grid; grid-template-columns:1fr 1fr; gap:clamp(16px,2.5vw,28px);}
.compare .col{border:1px solid var(--border); border-radius:var(--radius); padding:clamp(22px,3vw,34px); background:var(--surface);}
.compare .col--win{border-color:rgba(216,180,94,.45); background:linear-gradient(160deg,#1E1A12,#13161F); box-shadow:var(--glow-gold);}
.compare .col h4{font-family:var(--font-body); text-transform:uppercase; letter-spacing:.12em; font-size:.76rem; color:var(--text-muted); margin:0 0 .8rem;}
.compare .big{font-family:var(--font-display); font-weight:700; font-size:clamp(2rem,4vw,2.8rem); color:var(--text); line-height:1;}
.compare .col--win .big{color:var(--gold);}
.compare .col p{margin:.7rem 0 0; color:var(--text-body); font-size:.95rem;}

/* Вертикальный таймлайн с золотыми точками */
.timeline{max-width:760px; margin-top:clamp(8px,2vw,16px);}
.timeline .tstep{position:relative; padding:0 0 30px 30px; border-left:1px solid var(--border);}
.timeline .tstep::before{content:""; position:absolute; left:-6px; top:3px; width:11px; height:11px; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(216,180,94,.12);}
.timeline .tstep:last-child{border-left-color:transparent; padding-bottom:0;}
.timeline .mo{font-family:var(--font-display); color:var(--gold); font-size:1.1rem;}
.timeline .tstep h3{font-family:var(--font-display); color:var(--text); font-size:1.12rem; margin:.2rem 0 0;}
.timeline .tstep p{margin:.4rem 0 0; color:var(--text-body); font-size:.96rem;}

@media (max-width:680px){ .compare{grid-template-columns:1fr;} }

/* Утилиты */
.muted{color:var(--text-muted);}

/* Cookie-баннер согласия */
.cookie-bar{position:fixed; left:0; right:0; bottom:0; z-index:60; background:rgba(13,16,24,.97); backdrop-filter:blur(10px); border-top:1px solid var(--border); padding:14px clamp(16px,4vw,40px); display:flex; gap:.9em 1.4em; align-items:center; justify-content:center; flex-wrap:wrap; transform:translateY(110%); transition:transform .4s var(--ease);}
.cookie-bar.is-in{transform:none;}
.cookie-bar__text{color:var(--text-body); font-size:.86rem; line-height:1.5; max-width:72ch; margin:0;}
.cookie-bar__text a{color:var(--gold); text-decoration:underline; text-underline-offset:2px;}
.cookie-bar__btn{flex:none; padding:.6em 1.6em;}
@media (max-width:560px){ .cookie-bar{flex-direction:column; align-items:stretch; text-align:center; gap:.7em;} .cookie-bar__btn{align-self:center;} }

/* Реквизиты */
.reqs{margin:0;}
.reqs > div{padding:16px 0; border-top:1px solid var(--border);}
.reqs > div:first-child{border-top:0; padding-top:0;}
.reqs dt{color:var(--text-muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.1em;}
.reqs dd{color:var(--text); margin:.3rem 0 0; font-size:1.05rem; word-break:break-word; font-variant-numeric:tabular-nums;}

/* Юридический текст (политика конфиденциальности) */
.legal{margin-top:clamp(28px,4vw,44px);}
.legal h2{font-family:var(--font-display); font-weight:600; color:var(--text); font-size:clamp(1.25rem,2.2vw,1.6rem); line-height:1.25; margin:2.2rem 0 0;}
.legal h3{font-family:var(--font-body); font-weight:600; color:var(--text); font-size:1.02rem; margin:1.4rem 0 0;}
.legal p,.legal li{color:var(--text-body); line-height:1.7; margin-top:.7rem;}
.legal ul{margin:.5rem 0 0; padding-left:1.2rem;}
.legal li{margin-top:.4rem;}
.legal a{color:var(--gold); text-decoration:underline; text-underline-offset:2px;}

/* ===== NAP в футере (адрес, часы) ===== */
.footer__col--contacts a,
.footer__col--contacts .footer__org,
.footer__col--contacts .footer__line{ display:block; }
.footer__org{ color:var(--text); font-weight:600; margin:2px 0 8px; }
.footer__line{ color:var(--text-muted); margin:2px 0; }

/* ===== Страница «Контакты» ===== */
.contacts__grid{ display:grid; grid-template-columns:1fr 1.1fr; gap:clamp(24px,4vw,56px); align-items:start; }
.contacts__block{ margin-bottom:26px; }
.contacts__lg{ display:block; font-family:var(--font-display); font-size:clamp(20px,2.4vw,26px); color:var(--text); margin:4px 0; }
.contacts__lg:hover{ color:var(--gold); }
.contacts__addr{ color:var(--text-body); font-size:18px; margin:4px 0; }
.contacts__actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
.contacts__map iframe{ width:100%; height:460px; border:0; border-radius:var(--radius); box-shadow:var(--glow-gold); background:var(--surface-2); }
.contacts__map-note{ margin-top:10px; font-size:14px; }
.contacts__form{ max-width:640px; }
@media (max-width:860px){
  .contacts__grid{ grid-template-columns:1fr; }
  .contacts__map iframe{ height:340px; }
}

/* ===== Фаза 2: страницы Директ / директолог ===== */
.narrow{ max-width:840px; }
.measure{ max-width:65ch; color:var(--text-body); }
.cta-row{ display:flex; flex-wrap:wrap; gap:12px; margin-top:clamp(20px,3vw,28px); }
.note{ margin-top:20px; color:var(--text-body); max-width:72ch; }
.note strong{ color:var(--text); }
.btn--outline{ border:1px solid var(--gold-deep); color:var(--gold); background:transparent; }
.btn--outline:hover{ border-color:var(--gold); }
.expert-card__body{ flex:1; min-width:0; }
.form--lead{ margin-top:1.1rem; }
.alt-contacts{ margin-top:1rem; color:var(--text-muted); }
.alt-contacts a{ color:var(--text-body); }

/* features (буллеты) */
.features{ list-style:none; margin:clamp(18px,3vw,26px) 0 0; padding:0; display:grid; gap:14px; grid-template-columns:1fr; }
.features li{ display:flex; gap:.7rem; align-items:flex-start; color:var(--text-body); }
.features__ic{ flex:none; width:12px; height:12px; margin-top:.42em; border-radius:50%; background:var(--gold); box-shadow:0 0 0 4px rgba(216,180,94,.14); }
@media (min-width:37.5em){ .features{ grid-template-columns:repeat(2,minmax(0,1fr)); } }

/* steps (что входит) */
.steps{ list-style:none; counter-reset:st; margin:clamp(18px,3vw,26px) 0 0; padding:0; display:grid; gap:16px; }
.steps li{ counter-increment:st; position:relative; padding:18px 18px 18px 62px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); }
.steps li::before{ content:counter(st); position:absolute; left:16px; top:16px; width:32px; height:32px; display:flex; align-items:center; justify-content:center; border-radius:50%; background:var(--surface-2); color:var(--gold); font-weight:700; border:1px solid var(--gold-deep); }
.steps h3{ margin:0 0 .3rem; }
.steps p{ margin:0; color:var(--text-body); }
.steps__res{ margin-top:.5rem !important; color:var(--gold); font-style:italic; }

/* plans (тарифы карточками) */
.plans{ display:grid; gap:16px; grid-template-columns:1fr; margin-top:clamp(18px,3vw,26px); }
@media (min-width:48em){ .plans{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.plan{ display:flex; flex-direction:column; padding:24px; }
.plan--feat{ border-color:var(--gold-deep); box-shadow:var(--glow-gold); }
.plan__name{ font-family:var(--font-display); font-size:1.3rem; color:var(--text); margin:0 0 .5rem; }
.plan__price{ font-size:1.8rem; font-weight:700; color:var(--text); display:flex; flex-direction:column; line-height:1.1; }
.plan__price span{ font-size:.78rem; font-weight:400; color:var(--text-muted); margin-top:.2rem; }
.plan__next{ color:var(--gold); margin:.5rem 0 1rem; }
.plan__ph{ color:var(--text-muted); font-size:.9rem; flex:1; }
.plan__cta{ margin-top:16px; }

/* teaser */
.teaser{ padding:clamp(24px,4vw,40px); text-align:center; border-color:var(--gold-deep); }
.teaser h2{ margin-top:0; }

/* FAQ (details) */
.faq details{ border-bottom:1px solid var(--border); }
.faq summary{ min-height:48px; display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.9rem 0; cursor:pointer; list-style:none; font-weight:600; color:var(--text); }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--gold); font-size:1.4rem; line-height:1; flex:none; }
.faq details[open] summary::after{ content:"\2212"; }
.faq__body{ padding:0 0 1rem; color:var(--text-body); max-width:72ch; }
.faq__body p{ margin:0; }

/* плейсхолдеры и мелочи */
.case__num{ margin-top:.6rem; color:var(--text); }
.case__ph{ margin-top:.5rem; color:var(--gold-deep); font-size:.85rem; }
.ph-block{ padding:24px; border:1px dashed var(--gold-deep); border-radius:var(--radius-sm); color:var(--text-muted); }
.ph-photo{ display:flex; align-items:center; justify-content:center; background:var(--surface-2); color:var(--text-muted); font-size:.85rem; min-height:120px; }
.badge-cert{ color:var(--gold); text-decoration:underline; text-underline-offset:2px; }

/* ===== Фаза 2: директолог - доп. компоненты ===== */
.section--tight{ padding-top:clamp(24px,4vw,40px); padding-bottom:clamp(24px,4vw,40px); }
.utp{ list-style:none; margin:0; padding:0; display:grid; gap:12px; grid-template-columns:1fr; }
.utp li{ position:relative; padding-left:26px; color:var(--text-body); }
.utp li::before{ content:""; position:absolute; left:6px; top:.55em; width:8px; height:8px; border-radius:50%; background:var(--gold); }
@media (min-width:37.5em){ .utp{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:64em){ .utp{ grid-template-columns:repeat(4,minmax(0,1fr)); } }

/* сравнительная таблица: скролл + липкая первая колонка */
.cmp-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:clamp(18px,3vw,26px); border:1px solid var(--border); border-radius:var(--radius-sm); }
.cmp{ width:100%; min-width:640px; border-collapse:collapse; }
.cmp th, .cmp td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--border); vertical-align:top; color:var(--text-body); }
.cmp thead th{ color:var(--text); font-weight:600; background:var(--surface); white-space:nowrap; }
.cmp thead th:last-child{ color:var(--gold); }
.cmp th[scope="row"]{ color:var(--text); font-weight:600; position:sticky; left:0; background:var(--surface); z-index:1; }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td{ border-bottom:0; }

.map-embed{ margin-top:clamp(18px,3vw,26px); }
.map-embed iframe{ width:100%; height:400px; border:0; border-radius:var(--radius); background:var(--surface-2); }

.related{ list-style:none; margin:clamp(16px,3vw,24px) 0 0; padding:0; display:grid; gap:10px; grid-template-columns:1fr; }
@media (min-width:37.5em){ .related{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
.related a{ display:block; padding:14px 16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); }
.related a:hover{ border-color:var(--gold-deep); color:var(--gold); }
