/* site-ai - лендинг бизнес-экскурсии HappyBrands.
   Фирменный стиль podarkioptom.ru (решение Димы 2026-09-04): Manrope + Inter, жёлтый #FCDB23, чёрный #1a1a1a,
   красная точка #E03A2F как едва заметный акцент, линейки вместо карточек, чёрные панели с жёлтыми цифрами. */
:root {
  --paper: #f7f5ef; --white: #fff; --ink: #1a1a1a; --ink-2: #2a2a2a; --sec: #3a3a3a; --mut: #6b6b60; --mut-2: #8a8a7a;
  --gold: #FCDB23; --gold-d: #ecc400; --red: #E03A2F; --err: #b42318;
  --rule: rgba(26, 26, 26, .16); --rule-s: rgba(26, 26, 26, .34); --rule-b: #1a1a1a;
  --font-h: Manrope, Inter, system-ui, sans-serif; --font-t: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --maxw: 1120px; --gutter: clamp(20px, 4vw, 56px); --r: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-t); color: var(--ink); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-h); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -.035em; line-height: 1.02; }
h3 { font-size: 22px; letter-spacing: -.02em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 96px 0; position: relative; }
@media (max-width: 760px) { section { padding: 64px 0; } }
.white { background: var(--white); }
.eyebrow, .kicker { font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before, .kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: 0 0 auto; }
.h-sub { font-size: clamp(16px, 1.25vw, 19px); color: var(--sec); line-height: 1.5; max-width: 52ch; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: 38px; }
.head .h-sub { justify-self: end; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; gap: 18px; } .head .h-sub { justify-self: start; } }
.muted { color: var(--sec); }
.u { text-decoration: underline; text-underline-offset: 3px; }
.nw { white-space: nowrap; }
.rdot { color: var(--red); }
.caption { font-size: 13.5px; color: var(--mut); line-height: 1.5; max-width: 72ch; margin-top: 28px; }
.caption + .caption { margin-top: 8px; }
.mark { background: linear-gradient(180deg, transparent 78%, var(--gold) 78%, var(--gold) 96%, transparent 96%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* --- кнопки --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: 15px; line-height: 1.15; border-radius: var(--r); padding: 14px 24px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.btn-ink, .btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ink:hover, .btn-primary:hover { background: #000; color: #fff; }
.btn-line, .btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover, .btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-gold, .btn-yellow { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover, .btn-yellow:hover { background: var(--gold-d); border-color: var(--gold-d); color: var(--ink); }
.btn-white, .btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-white:hover, .btn-ghost-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; margin-top: 8px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .dot { display: none; }
.btn:focus-visible, a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.arrow-link { font-family: var(--font-h); font-weight: 700; font-size: 15.5px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.arrow-link::after { content: "→"; transition: transform .25s ease; }
.arrow-link:hover::after { transform: translateX(4px); }
@media (max-width: 380px) { .btn { white-space: normal; } }

/* --- шапка --- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-stuck { border-bottom-color: var(--rule); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { font-family: var(--font-h); font-weight: 800; font-size: 20px; color: var(--ink); letter-spacing: -.02em; display: inline-flex; align-items: center; white-space: nowrap; }
.brand::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); margin-right: 9px; flex: 0 0 auto; }
.brand i { font-style: normal; color: var(--red); }
.brand small { font-family: var(--font-h); font-weight: 700; font-size: 11px; color: var(--mut); margin-left: 12px; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; font-weight: 500; color: var(--sec); }
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--ink); }
.nav .btn { margin-left: 8px; padding: 10px 18px; font-size: 14.5px; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--rule-s); border-radius: var(--r); width: 40px; height: 40px; cursor: pointer; color: var(--ink); flex: 0 0 40px; }
@media (max-width: 1100px) { .brand small { display: none; } .nav .wrap { gap: 18px; } .nav-links { gap: 16px; font-size: 14px; } .nav .btn { padding: 9px 15px; font-size: 14px; } }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--white); flex-direction: column; gap: 0; padding: 6px 0; border-bottom: 1px solid var(--rule); }
  .nav-links a { padding: 14px var(--gutter); border-top: 1px solid var(--rule); }
  .nav.open .nav-links { display: flex; }
  .nav .btn-primary { margin-left: auto; padding: 9px 14px; font-size: 14px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
}
@media (max-width: 360px) { .nav .btn-primary { padding: 9px 11px; font-size: 13px; } }

/* --- hero (жёлтый, как главная podarkioptom.ru) --- */
.hero { background: var(--gold); padding: 84px 0 64px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .eyebrow { color: var(--ink); }
.hero h1 { font-size: clamp(42px, 6.2vw, 78px); letter-spacing: -.04em; line-height: .98; max-width: 14ch; }
.hero .h-sub { margin-top: 24px; color: var(--ink); font-size: clamp(16px, 1.25vw, 18.5px); max-width: 48ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero .brandline { grid-column: 1 / -1; margin-top: 36px; padding-top: 16px; border-top: 1.5px solid rgba(26, 26, 26, .3); border-image: linear-gradient(90deg, var(--red) 0 40px, rgba(26, 26, 26, .3) 40px) 1; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--font-h); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(26, 26, 26, .72); }
.hero .brandline b { color: var(--ink); }
@media (max-width: 900px) { .hero { padding: 56px 0 44px; } .hero .wrap { grid-template-columns: 1fr; gap: 36px; } .hero h1 { max-width: none; } .hero .cta .btn { width: 100%; } .hero .brandline { margin-top: 8px; } }

/* терминальная панель в hero */
.term { background: var(--ink); color: #e6e6e0; border-radius: 8px; font-family: var(--mono); font-size: 13px; line-height: 1.55; overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 12px; color: #9a9a90; }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; display: inline-block; }
.term-bar i:first-child { background: var(--gold); }
.term pre { margin: 0; padding: 18px 20px 22px; white-space: pre; overflow-x: auto; font-family: inherit; }
.term .c { color: #9a9a90; }
.term .k { color: var(--gold); }
.term .g { color: #8be0a6; }
.term .w { color: #fff; }
.term-note { font-size: 13px; color: rgba(26, 26, 26, .72); margin-top: 14px; line-height: 1.45; }
@media (max-width: 420px) { .term { font-size: 12px; } .term pre { padding: 16px; } }

/* строка глав (как строка категорий на главной) */
.ticker { background: var(--ink); color: #fff; padding: 14px 0; border-top: 1px solid #000; }
.ticker .wrap { display: flex; flex-wrap: wrap; gap: 8px 0; justify-content: center; font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.ticker a { display: inline-flex; align-items: center; gap: 14px; padding: 2px 14px; white-space: nowrap; }
.ticker a::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex: 0 0 auto; }
.ticker a:hover { color: var(--gold); }
@media (max-width: 600px) { .ticker .wrap { justify-content: flex-start; font-size: 11px; gap: 6px 0; } .ticker a { padding: 2px 10px 2px 0; gap: 10px; } }

/* факты под hero - типографика с линейками */
.ledger { background: var(--white); padding: 0; }
.ledger .rows { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--rule-b); }
.ledger .r { padding: 26px 24px 28px 0; border-right: 1px solid var(--rule); }
.ledger .r + .r { padding-left: 24px; }
.ledger .r:last-child { border-right: 0; }
.ledger .v { font-family: var(--font-h); font-weight: 800; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.ledger .l { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--mut); }
@media (max-width: 860px) { .ledger .rows { grid-template-columns: 1fr 1fr; } .ledger .r { padding: 20px 16px 22px 0; border-bottom: 1px solid var(--rule); } .ledger .r:nth-child(even) { border-right: 0; padding-left: 16px; } .ledger .r:nth-child(odd) { padding-left: 0; } }
@media (max-width: 420px) { .ledger .rows { grid-template-columns: 1fr; } .ledger .r { border-right: 0; padding-left: 0 !important; } }

/* --- главы «Что увидите» - журнальные развороты --- */
.chapters { border-top: 1.5px solid var(--rule-b); }
.ch { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "head fig" "body fig"; gap: 0 clamp(32px, 5vw, 72px); align-items: start; padding: 56px 0 64px; border-bottom: 1px solid var(--rule-s); scroll-margin-top: 80px; }
.ch:nth-child(even) { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-areas: "fig head" "fig body"; }
.ch > header { grid-area: head; }
.ch .fig { grid-area: fig; position: sticky; top: 88px; align-self: start; }
.ch .body { grid-area: body; }
.ch .n { font-family: var(--font-h); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); display: flex; gap: 14px; align-items: center; }
.ch .n b { color: var(--ink); }
.ch h3 { font-size: clamp(28px, 3.3vw, 44px); letter-spacing: -.035em; line-height: 1.02; margin: 14px 0 0; max-width: 16ch; text-wrap: balance; }
.ch .lede { margin-top: 18px; font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.5; color: var(--ink-2); max-width: 50ch; }
.ch .show { margin-top: 24px; border-top: 1px solid var(--rule-s); }
.ch .show li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rule); font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.ch .show li::before { content: ""; width: 7px; height: 7px; background: var(--ink); margin-top: 8px; }
.ch .give { margin-top: 20px; background: var(--gold); border-radius: var(--r); padding: 16px 18px 17px; font-size: 15px; line-height: 1.45; color: var(--ink); }
.ch .give b { font-family: var(--font-h); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; display: block; margin-bottom: 5px; }
.fig figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r); background: #111; aspect-ratio: 4 / 3; }
.fig figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig figcaption { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-h); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: rgba(26, 26, 26, .72); padding: 6px 10px; border-radius: 3px; }
/* «экраны» - чёрные панели с данными */
.screen { background: var(--ink); color: #e6e6e0; border-radius: var(--r); padding: 22px 24px 24px; position: relative; overflow: hidden; }
.screen::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 48px); pointer-events: none; }
.screen > * { position: relative; }
.screen .t { font-family: var(--font-h); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; }
.screen .t span { color: #9a9a90; }
.screen ul { display: grid; }
.screen li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; line-height: 1.4; color: #d9d9d0; align-items: baseline; }
.screen li b { font-family: var(--font-h); font-weight: 800; color: var(--gold); font-size: 15px; letter-spacing: -.01em; }
.screen li.ok { grid-template-columns: 22px 1fr; }
.screen li.ok b { font-size: 14px; }
.screen .foot { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .22); font-size: 12.5px; color: #9a9a90; line-height: 1.45; }
.screen.num li { grid-template-columns: 1fr 96px; }
.screen.num li b { text-align: right; font-size: 16px; }
@media (max-width: 900px) {
  .ch, .ch:nth-child(even) { grid-template-columns: 1fr; grid-template-areas: "head" "fig" "body"; gap: 22px 0; padding: 44px 0 48px; }
  .ch .fig { position: static; }
  .ch h3 { max-width: none; }
  .ch .lede { margin-top: 0; }
}

/* --- для кого: две колонки с линейками --- */
.who .two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 72px); border-top: 1.5px solid var(--rule-b); }
.who .col { padding-top: 22px; }
.who .col + .col { border-left: 1px solid var(--rule); padding-left: clamp(24px, 3vw, 40px); margin-left: calc(clamp(32px, 5vw, 72px) * -0.5); }
.who .tag { font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 10px; display: block; }
.list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.list li::before { content: "✓"; font-family: var(--font-h); font-weight: 800; color: var(--ink); line-height: 1.35; }
.list.no li::before { content: "×"; color: var(--mut); }
@media (max-width: 760px) { .who .two { grid-template-columns: 1fr; } .who .col + .col { border-left: 0; padding-left: 0; margin-left: 0; border-top: 1px solid var(--rule-s); margin-top: 8px; } }

/* --- чёрная секция «AI-native» --- */
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow, .dark .kicker { color: var(--gold); }
.dark .eyebrow::before, .dark .kicker::before { background: var(--gold); }
.dark h2 { color: #fff; }
.dark .h-sub { color: rgba(255, 255, 255, .78); }
.native { margin-top: 36px; border-top: 1px solid rgba(255, 255, 255, .3); }
.native li { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); align-items: baseline; }
.native li b { font-family: var(--font-h); font-weight: 800; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.1; color: var(--gold); }
.native li p { margin: 0; color: rgba(255, 255, 255, .8); font-size: 16px; line-height: 1.5; max-width: 56ch; }
@media (max-width: 640px) { .native li { grid-template-columns: 1fr; gap: 6px; } }

/* --- что получите: сетка с линейками --- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--rule-b); }
.grid3 .g { padding: 26px 26px 30px 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); position: relative; }
.grid3 .g:nth-child(3n) { border-right: 0; }
.grid3 .g:nth-child(3n+2), .grid3 .g:nth-child(3n) { padding-left: 26px; }
.grid3 .n { font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.grid3 h3 { font-size: 21px; margin: 16px 0 10px; }
.grid3 p { font-size: 15px; line-height: 1.5; color: var(--sec); }
.grid3 .g::after { content: ""; position: absolute; left: 0; top: -1.5px; height: 1.5px; width: 0; background: var(--gold); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.grid3 .g:hover::after { width: 100%; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } .grid3 .g { padding-left: 0 !important; padding-right: 20px; border-right: 1px solid var(--rule); } .grid3 .g:nth-child(2n) { border-right: 0; padding-left: 20px !important; padding-right: 0; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } .grid3 .g { border-right: 0 !important; padding: 20px 0 24px !important; } }

/* --- программа по неделям --- */
.ritm { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1.5px solid var(--rule-b); margin: 32px 0 44px; }
.ritm div { padding: 16px 20px 18px 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.45; color: var(--sec); }
.ritm div:nth-child(3n) { border-right: 0; }
.ritm div:nth-child(3n+2), .ritm div:nth-child(3n) { padding-left: 20px; }
.ritm b { font-family: var(--font-h); font-weight: 800; color: var(--ink); display: block; font-size: 17px; letter-spacing: -.02em; margin-bottom: 4px; }
@media (max-width: 760px) { .ritm { grid-template-columns: 1fr 1fr; } .ritm div { padding-left: 0 !important; padding-right: 16px; border-right: 1px solid var(--rule); } .ritm div:nth-child(2n) { border-right: 0; padding-left: 16px !important; padding-right: 0; } }
@media (max-width: 440px) { .ritm { grid-template-columns: 1fr; } .ritm div { border-right: 0 !important; padding: 12px 0 14px !important; } }
.weeks { border-top: 1.5px solid var(--rule-b); }
.week { display: grid; grid-template-columns: 150px minmax(0, 1.25fr) minmax(0, .9fr); gap: 24px; padding: 28px 0 32px; border-bottom: 1px solid var(--rule-s); }
.week .n { font-family: var(--font-h); font-weight: 800; font-size: 54px; line-height: .9; letter-spacing: -.04em; color: var(--ink); }
.week .n small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-top: 12px; line-height: 1.3; }
.week h3 { font-size: 23px; margin-bottom: 10px; }
.week p { margin: 0; color: var(--sec); font-size: 15.5px; line-height: 1.5; }
.week .you { border-left: 1px solid var(--rule-s); padding-left: 20px; }
.week .you .lbl { font-family: var(--font-h); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.week.hl { background: var(--gold); margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); border-bottom: 0; }
.week.hl .you { border-left-color: rgba(26, 26, 26, .35); }
.week.hl p { color: var(--ink-2); }
@media (max-width: 900px) { .week { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 28px; } .week .n { font-size: 34px; display: flex; align-items: baseline; gap: 12px; } .week .n small { margin-top: 0; } .week .you { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 14px; } }

/* --- люди: строки с линейками --- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1.5px solid var(--rule-b); }
.person { padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.person .name { font-family: var(--font-h); font-weight: 800; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.person .role { font-size: 13.5px; color: var(--mut); margin: 4px 0 10px; }
.person .show { font-size: 14.5px; line-height: 1.5; margin: 0; color: var(--ink-2); }
.person .show b { font-family: var(--font-h); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); display: block; margin-bottom: 4px; }
@media (max-width: 960px) { .people { grid-template-columns: 1fr 1fr; gap: 0 28px; } }
@media (max-width: 600px) { .people { grid-template-columns: 1fr; } .person { padding: 16px 0 18px; } }

/* --- цена --- */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.price-card { background: var(--ink); color: #fff; border-radius: 8px; padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; }
.price-card .kicker { color: var(--gold); margin-bottom: 10px; }
.price-card .kicker::before { background: var(--gold); }
.price-card .sum { font-family: var(--font-h); font-weight: 800; font-size: clamp(44px, 5vw, 64px); letter-spacing: -.045em; line-height: 1; color: var(--gold); }
.price-card .vat { font-size: 13.5px; color: rgba(255, 255, 255, .7); margin: 8px 0 24px; }
.price-card .tiers { border-top: 1px solid rgba(255, 255, 255, .25); margin-bottom: 22px; }
.price-card .tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 14.5px; color: rgba(255, 255, 255, .7); }
.price-card .tiers li b { font-family: var(--font-h); font-weight: 800; color: rgba(255, 255, 255, .8); }
.price-card .tiers li.now { color: #fff; }
.price-card .tiers li.now b { color: var(--gold); }
.price-card .tiers li.now span::before { content: "● "; color: var(--gold); font-size: 10px; vertical-align: 2px; }
.price-card .tiers li.past { text-decoration: line-through; color: rgba(255, 255, 255, .4); }
.price-card .tiers li.past b { color: rgba(255, 255, 255, .4); }
.price-card .meta { border-top: 1px solid rgba(255, 255, 255, .25); margin-bottom: 26px; }
.price-card .meta li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .88); }
.price-card .btns { display: flex; flex-wrap: wrap; gap: 10px; }
.price-card .note { font-size: 13px; color: rgba(255, 255, 255, .66); line-height: 1.5; margin: auto 0 0; padding-top: 18px; }
.incl { border-top: 1.5px solid var(--rule-b); }
.incl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.incl th { text-align: left; font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); padding: 18px 0 10px; }
.incl td { padding: 11px 0; border-top: 1px solid var(--rule); vertical-align: top; line-height: 1.45; color: var(--ink-2); }
.incl td:first-child { width: 32px; padding-right: 0; font-family: var(--font-h); font-weight: 800; color: var(--ink); }
.incl tr.no td { color: var(--sec); }
.incl tr.no td:first-child { color: var(--mut); }
@media (max-width: 900px) { .price { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .price-card .btns .btn { flex: 1 1 100%; white-space: normal; } }

/* --- FAQ --- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-head { position: sticky; top: 88px; }
.faq-head p { font-size: 15.5px; max-width: 34ch; margin-top: 16px; }
.faq { border-top: 1.5px solid var(--rule-b); }
.faq details { border-bottom: 1px solid var(--rule-s); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-family: var(--font-h); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-h); font-weight: 400; font-size: 24px; color: var(--mut); flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--sec); font-size: 15.5px; line-height: 1.5; padding-bottom: 20px; margin: 0; max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-head { position: static; } }

/* --- как попасть + форма --- */
.apply-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.apply .side { position: sticky; top: 88px; }
.steps { border-top: 1.5px solid var(--rule-b); margin-top: 24px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--rule); counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-h); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; color: var(--mut); padding-top: 5px; }
.steps h3 { font-size: 19px; margin-bottom: 4px; grid-column: 2; }
.steps p { margin: 0; color: var(--sec); font-size: 15px; line-height: 1.5; grid-column: 2; }
.apply .caption { margin-top: 20px; }
.form { border-top: 1.5px solid var(--rule-b); padding-top: 8px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { display: grid; gap: 6px; padding: 14px 0 0; }
.field label { font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.field label .opt { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--mut); }
.field input, .field select, .field textarea { font-family: var(--font-t); font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--rule-s); border-radius: 0; padding: 10px 0 12px; width: 100%; transition: border-color .15s; }
.field select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='%231a1a1a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") right center / 14px no-repeat; padding-right: 22px; }
.field input::placeholder, .field textarea::placeholder { color: var(--mut-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.is-err input, .field.is-err select, .field.is-err textarea { border-bottom-color: var(--err); }
.field textarea { min-height: 72px; resize: vertical; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--sec); margin: 16px 0 0; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check.is-err { color: var(--err); }
.form-status { min-height: 22px; font-size: 14px; margin: 14px 0 0; }
.form-status.err { color: var(--err); font-weight: 600; }
.form .btn-block { margin-top: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; gap: 32px; } .apply .side { position: static; } }
@media (max-width: 520px) { .f2 { grid-template-columns: 1fr; gap: 0; } }

/* --- футер (чёрный, как на podarkioptom.ru) --- */
footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 56px 0 40px; font-size: 13.5px; line-height: 1.55; }
footer .brand { color: #fff; margin-bottom: 28px; }
footer .brand small { color: rgba(255, 255, 255, .55); }
footer .foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
footer .foot h3 { font-family: var(--font-h); font-weight: 700; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
footer .foot ul { display: grid; gap: 8px; }
footer .foot a:hover { color: #fff; text-decoration: underline; }
footer .foot .soon { font-family: var(--font-h); font-weight: 700; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .3); border-radius: 3px; padding: 2px 6px; margin-left: 6px; white-space: nowrap; display: inline-block; vertical-align: middle; }
.legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 12.5px; line-height: 1.6; color: rgba(255, 255, 255, .6); }
@media (max-width: 760px) { footer .foot { grid-template-columns: 1fr; } }

/* --- cookie --- */
.cookie-bar { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60; max-width: 420px; background: var(--ink); color: rgba(255, 255, 255, .88); border-radius: 8px; padding: 16px 18px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; font-size: 13px; line-height: 1.45; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
.cookie-bar a { color: var(--gold); text-decoration: underline; }
.cookie-bar .cookie-btns { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-bar button { font-family: var(--font-h); font-size: 13px; font-weight: 700; border-radius: var(--r); padding: 9px 14px; cursor: pointer; border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; }
.cookie-bar button.cookie-ok { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (max-width: 640px) {
  .cookie-bar { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); max-width: none; padding: 12px 14px; font-size: 12.5px; gap: 10px; }
  .cookie-bar .cookie-btns { justify-content: stretch; }
  .cookie-bar button { flex: 1; padding: 8px 10px; }
}

/* --- появление при скролле --- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .rv.in, .js.no-rv .rv { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; } .js .rv-d2 { transition-delay: .16s; } .js .rv-d3 { transition-delay: .24s; } .js .rv-d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .grid3 .g::after, .arrow-link::after, .faq summary::after { transition: none; }
}
@media print { .js .rv { opacity: 1; transform: none; } .nav, .cookie-bar { display: none; } .ch .fig { position: static; } }

/* --- страница «спасибо» и документы --- */
.thanks { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--white); }
.thanks .card { max-width: 640px; margin: 0 auto; }
.thanks .kicker { justify-content: center; }
.thanks h2 { text-wrap: balance; }
.thanks .muted { margin-top: 16px; }
.thanks .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.thanks .caption { margin: 22px auto 0; }
.doc { max-width: 820px; margin: 0 auto; padding: 72px var(--gutter); }
.doc h1 { font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 18px; }
.doc h2 { font-size: 22px; margin: 36px 0 12px; }
.doc p, .doc li { font-size: 16px; color: var(--ink-2); line-height: 1.55; margin-bottom: .6em; }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin-bottom: 1em; }
.doc .stub { background: var(--gold); border-radius: var(--r); padding: 16px 18px; font-size: 15px; }
.doc .meta { font-family: var(--font-h); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); margin-bottom: 28px; }
