/* Aziza Freedom Life — «Эвкалипт». Split hero (photo | name), sand bands, ruled program lists. Single light look by choice. */
:root {
  --milk: #F6F1E8;
  --sand: #E9DFCF;
  --line: #D5CBB7;
  --euca: #6E8060;
  --euca-l: #8A9A7B;
  --euca-d: #55654A;
  --ink: #3B4632;
  --soft: #5F6656;
  --mute: #7E8474;
  --on: #F6F1E8;
  --ok: #55654A;
  --err: #9A4B3C;
  --f-display: 'Forum', 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Golos Text', 'Segoe UI', Roboto, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--milk); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--euca); }
:focus-visible { outline: 2px solid var(--euca); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: 0.02em; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(72px, 10vw, 128px); }
.band.sand { background: var(--sand); }
.band.euca { background: var(--euca); color: var(--on); }
.band.euca a { color: var(--on); }

.eyebrow { font-size: 12px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--euca); font-weight: 500; }
.band.euca .eyebrow { color: #DCE3D0; }
.h-xl { font-size: clamp(48px, 7vw, 100px); line-height: 0.98; text-transform: uppercase; letter-spacing: 0.04em; }
.h-l { font-size: clamp(38px, 4.8vw, 64px); line-height: 1.05; }
.h-m { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.lead { font-family: var(--f-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; color: var(--euca); }
.band.euca .lead { color: #E7EBDF; }
.muted { color: var(--soft); }
.rule { width: 64px; height: 1px; background: var(--euca-l); }
.measure { max-width: 62ch; }

/* top bar */
.top { position: sticky; top: 0; padding-top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(246, 241, 232, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 21; background: var(--milk); }
.top::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 240px; background: inherit; pointer-events: none; } /* 08.11: на iPhone (Safari 26) над шапкой просвечивал текст — заливаем цветом шапки */
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.logo { font-family: var(--f-display); font-size: 21px; letter-spacing: 0.12em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.logo small { font-family: var(--f-body); font-size: 10px; letter-spacing: 0.3em; color: var(--euca); margin-left: 8px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 14px; }
.nav a { text-decoration: none; padding-block: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; background: var(--euca); color: var(--on); text-decoration: none; font: 500 15px/1.2 var(--f-body); letter-spacing: 0.04em; border: 1px solid var(--euca); cursor: pointer; transition: background .2s, color .2s; }
.btn:hover { background: var(--euca-d); color: var(--on); border-color: var(--euca-d); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--euca-l); }
.btn.ghost:hover { background: var(--sand); color: var(--ink); }
.btn.light { background: var(--on); color: var(--ink); border-color: var(--on); }
.btn.light:hover { background: var(--sand); color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* split hero */
.hero { display: flex; flex-wrap: wrap; }
.hero-photo { flex: 1 1 480px; min-width: 0; min-height: 560px; position: relative; background: var(--sand); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-block: clamp(56px, 8vw, 112px); padding-left: max(24px, min(6vw, 80px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.hero-text .muted { max-width: 46ch; }

/* format cards */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: #CFC3AC; border: 1px solid #CFC3AC; }
.card { display: flex; flex-direction: column; gap: 14px; padding: 36px 30px; background: var(--milk); text-decoration: none; min-height: 100%; }
.card .num { font-family: var(--f-display); font-size: 42px; line-height: 1; color: var(--euca-l); }
.card .t { font-family: var(--f-display); font-size: 30px; line-height: 1.1; }
.card .d { color: var(--soft); font-size: 15px; }
.card .meta { font-size: 13px; letter-spacing: 0.08em; color: var(--mute); }
.card .price { font-family: var(--f-display); font-size: 28px; }
.card .go { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--euca); }
.card.feat { background: var(--euca); color: var(--on); }
.card.feat .num { color: #D6DDC6; }
.card.feat .d, .card.feat .meta { color: #E7EADF; }
.card.feat .go { color: var(--on); }
.card:hover .go { text-decoration: underline; }

/* ruled list */
.rows { border-top: 1px solid var(--ink); }
.row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row .k { flex: 0 0 150px; font-size: 12px; letter-spacing: 0.24em; color: var(--euca); font-weight: 500; text-transform: uppercase; }
.row .v { flex: 1 1 280px; min-width: 0; }
.row .v h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
.row .v p { margin-top: 6px; color: var(--soft); font-size: 15.5px; }

.two { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 7vw, 96px); align-items: flex-start; }
.two > * { flex: 1 1 360px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 22px; }
.photo-tall { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-wide { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.points li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.points li::before { content: "◆"; color: var(--euca-l); font-size: 11px; line-height: 2.4; }
.band.euca .points li { border-color: rgba(246, 241, 232, 0.25); }
.band.euca .points li::before { color: #D6DDC6; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps > div { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.steps > div::before { content: "0" counter(s); font-family: var(--f-display); font-size: 34px; color: var(--euca-l); line-height: 1; }
.steps h3 { font-size: 24px; }
.steps p { color: var(--soft); font-size: 15.5px; }

/* price box */
.pricebox { background: var(--milk); color: var(--ink); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px; }
.pricebox .label { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--euca); font-weight: 500; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.price-now { font-family: var(--f-display); font-size: clamp(48px, 6vw, 72px); line-height: 1; font-variant-numeric: lining-nums; }
.price-old { font-size: 22px; color: var(--mute); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.price-note { font-size: 14px; color: var(--soft); }
.promo { display: flex; flex-wrap: wrap; gap: 10px; }
.promo label { flex: 1 1 100%; font-size: 14px; color: var(--soft); }
.promo input { flex: 1 1 180px; min-width: 0; min-height: 52px; padding: 0 16px; border: 1px solid var(--euca-l); background: #FFFDF8; color: var(--ink); font: 500 16px var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; }
.promo input:focus { outline: 2px solid var(--euca); outline-offset: 0; }
.promo button { min-height: 52px; padding: 0 22px; background: transparent; border: 1px solid var(--ink); color: var(--ink); font: 500 15px var(--f-body); cursor: pointer; }
.promo button:hover { background: var(--sand); }
.promo-msg { font-size: 14px; min-height: 1.4em; }
.promo-msg.ok { color: var(--ok); font-weight: 500; }
.promo-msg.err { color: var(--err); }
.pricebox .btn { width: 100%; }
.small { font-size: 13px; color: var(--mute); }

.copyline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.copyline code { font: 500 15px var(--f-body); background: var(--sand); padding: 8px 12px; user-select: all; }
.copyline button { min-height: 40px; padding: 0 14px; border: 1px solid var(--euca-l); background: transparent; color: inherit; font: 14px var(--f-body); cursor: pointer; }

.quote { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.2; max-width: 22ch; }

footer.foot { background: var(--euca-l); color: var(--on); }
footer.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 56px; }
footer.foot a { color: var(--on); }
footer.foot .name { font-family: var(--f-display); font-size: 30px; letter-spacing: 0.06em; text-transform: uppercase; }
footer.foot .links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-photo { min-height: 440px; flex-basis: 100%; }
  .row .k { flex-basis: 100%; }
  .btn { width: 100%; }
  .top .nav { display: none; }
}
.band.euca a.btn.light, .band.euca a.btn.light:hover { color: var(--ink); }
.hero-photo { min-height: min(86vh, 760px); }

/* ---- v2: multipage additions ---- */
.top .wrap { flex-wrap: nowrap; }
.nav { justify-content: flex-end; }
.nav a[aria-current="page"] { color: var(--euca); text-decoration: underline; text-underline-offset: 6px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary span::after { content: " ×"; }
.menu .drop { position: absolute; right: 0; top: calc(100% + 8px); background: var(--milk); border: 1px solid var(--line); padding: 10px 0; min-width: 230px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(59, 70, 50, 0.12); }
.menu .drop a { padding: 11px 20px; text-decoration: none; }
@media (max-width: 980px) { .top .nav { display: none; } .menu { display: block; } }

.page-head { padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 56px); }
.page-head .h-l { max-width: 18ch; }
.page-head .lead { max-width: 34ch; }

.voice { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; max-width: 30ch; }
.voice cite { display: block; margin-top: 14px; font: 500 12px/1.4 var(--f-body); letter-spacing: 0.24em; text-transform: uppercase; color: var(--euca); font-style: normal; }
.band.euca .voice cite { color: #DCE3D0; }

.lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 56px; }
.line-item { border-top: 1px solid var(--line); padding: 26px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.line-item h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; }
.line-item p { color: var(--soft); font-size: 16px; }
.line-item .q { font-family: var(--f-display); font-size: 20px; color: var(--euca); line-height: 1.3; }

.shadows { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.shadows div { background: var(--milk); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.shadows b { font-family: var(--f-display); font-weight: 400; font-size: 23px; }
.shadows span { font-size: 14px; color: var(--soft); }

.media-list { border-top: 1px solid var(--ink); }
.media { display: grid; grid-template-columns: 96px 1fr auto; gap: 8px 28px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.media .kind { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--euca); font-weight: 500; padding-top: 8px; }
.media h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; }
.media p { color: var(--soft); font-size: 15.5px; margin-top: 6px; }
.media .dur { font-size: 14px; color: var(--mute); padding-top: 8px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.media .slot { grid-column: 2 / -1; margin-top: 8px; font-size: 13px; color: var(--mute); border: 1px dashed var(--euca-l); padding: 10px 14px; }
@media (max-width: 640px) { .media { grid-template-columns: 1fr; } .media .slot { grid-column: 1; } }

.review { background: var(--milk); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; }
.review p { font-family: var(--f-display); font-size: 21px; line-height: 1.35; }
.review small { font-size: 13px; color: var(--mute); letter-spacing: 0.04em; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.tag { display: inline-block; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--euca-l); color: var(--euca); }
.note { font-size: 14px; color: var(--soft); border-left: 2px solid var(--euca-l); padding: 6px 0 6px 16px; }
details.faq { border-bottom: 1px solid var(--line); padding: 18px 0; }
details.faq summary { cursor: pointer; font-family: var(--f-display); font-size: 23px; list-style: none; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; color: var(--euca); }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 12px; color: var(--soft); max-width: 64ch; }
.menu { flex: none; }
@media (max-width: 560px) {
  .logo { font-size: 18px; letter-spacing: 0.08em; line-height: 1.15; }
  .logo small { display: block; margin-left: 0; margin-top: 3px; font-size: 9px; }
}
@media (min-width: 981px) {
  .shadows { grid-template-columns: repeat(5, 1fr); }
  .lines:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); }
}
/* карточки с промокодом */
.card a.t { text-decoration: none; color: inherit; }
.card a.t:hover { text-decoration: underline; text-underline-offset: 4px; }
.card .sub { font-family: var(--f-display); font-size: 21px; margin-top: -6px; color: #E7EADF; }
.card .go { text-decoration: none; }
.card .go:hover { text-decoration: underline; }
.mini-pay { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini-pay .price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mini-pay .price-old { font-size: 18px; }
.mini-pay .js-note:empty { display: none; }
.mini-pay .promo input, .mini-pay .promo button { min-height: 46px; }
.mini-pay .promo input { flex-basis: 120px; }
.mini-pay .promo-msg:empty { display: none; }
.mini-pay .btn { width: 100%; }
.card.feat .btn.light { width: 100%; }
/* v3 типографика: Playfair Display для заголовков, плотнее основной текст */
:root { --f-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; }
body { font-weight: 450; color: #343F2C; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; }
.h-xl { letter-spacing: 0.01em; }
.logo { font-weight: 600; letter-spacing: 0.08em; }
.lead, .quote, .voice, .review p, .line-item .q, .card .sub { font-weight: 500; }
.card .t, .card .price, .shadows b, details.faq summary, footer.foot .name { font-weight: 600; }
.card .num, .steps > div::before { font-weight: 500; }
.price-now { font-weight: 600; }
.muted, .card .d { font-weight: 450; }
.btn { font-weight: 600; }
.price, .price-now, .price-old, .card .num, .steps > div::before, .media .dur, h1, h2, h3 { font-variant-numeric: lining-nums; }
.media audio.player { grid-column: 2 / -1; width: 100%; height: 48px; margin-top: 6px; }
@media (max-width: 640px) { .media audio.player { grid-column: 1; } }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--milk); border: 1px solid var(--line); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; }
.band:not(.sand) .contact-card { background: #FFFDF8; }
.contact-card .label { font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--euca); font-weight: 500; margin: 0; }
.contact-card h3 { font-size: 28px; line-height: 1.2; }
.contact-card .btn { align-self: flex-start; }
.js-paynote:empty { display: none; }
/* ===== v4: страницы продуктов ===== */
.hero-product .hero-text { gap: 22px; justify-content: flex-start; padding-top: clamp(48px, 6vw, 88px); }
.hero-product .lead { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; color: var(--euca-d); }
.hero-body { display: flex; flex-direction: column; gap: 14px; max-width: 54ch; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-body p { margin: 0; color: var(--soft); }
.hero-body p:first-child { font-family: var(--f-display); font-size: 21px; line-height: 1.4; color: var(--ink); font-weight: 500; }

.recog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.recog li { background: var(--milk); border: 1px solid var(--line); padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.recog .n { font-family: var(--f-display); font-size: 15px; letter-spacing: 0.12em; color: var(--euca); font-weight: 600; }
.recog p { margin: 0; font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 23px); line-height: 1.35; font-weight: 500; color: var(--ink); }

.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.journey .step { position: relative; padding: 0 28px 0 0; display: flex; flex-direction: column; gap: 20px; }
.journey .step::before { content: ""; position: absolute; top: 36px; left: 72px; right: 0; height: 1px; background: var(--line); }
.journey .step:last-child::before { display: none; }
.step-n { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--euca); color: var(--on); font-family: var(--f-display); font-size: 32px; font-weight: 600; font-variant-numeric: lining-nums; position: relative; z-index: 1; }
.step-b { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.step-b h3 { font-size: 26px; }
.step-b p { margin: 0; color: var(--soft); max-width: 34ch; }
.btn-s { min-height: 44px; padding: 0 18px; font-size: 14px; }
.link-s { font-size: 14px; font-weight: 600; color: var(--euca); }
@media (max-width: 860px) {
  .journey { grid-template-columns: 1fr; gap: 28px; }
  .journey .step { flex-direction: row; padding: 0; gap: 18px; }
  .journey .step::before { top: 64px; bottom: -28px; left: 28px; right: auto; width: 1px; height: auto; }
  .step-n { width: 56px; height: 56px; font-size: 26px; flex: none; }
}

/* подвал */
.foot-quote { font-family: var(--f-display); font-size: 20px; font-style: italic; font-weight: 500; opacity: .95; margin: 0; }

/* ===== Виджет вопроса ===== */
.ask { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ask-fab { width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--euca); color: var(--on); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px rgba(59, 70, 50, 0.28); transition: transform .2s, background .2s; order: 3; }
.ask-fab:hover { background: var(--euca-d); transform: translateY(-2px); }
.ask.open .ask-fab { background: var(--ink); }
.ask-hint { order: 2; background: var(--milk); border: 1px solid var(--line); padding: 10px 14px; font-size: 14px; box-shadow: 0 8px 22px rgba(59,70,50,.12); cursor: pointer; }
.ask-panel { order: 1; width: min(380px, calc(100vw - 36px)); max-height: calc(100vh - 120px); overflow-y: auto; background: var(--milk); border: 1px solid var(--line); box-shadow: 0 22px 50px rgba(59, 70, 50, 0.2); padding: 22px; }
.ask-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ask-t { font-family: var(--f-display); font-size: 24px; font-weight: 600; margin: 0; line-height: 1.2; }
.ask-s { margin: 4px 0 0; font-size: 14px; color: var(--soft); }
.ask-x { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: var(--soft); width: 36px; height: 36px; }
.ask-form { display: flex; flex-direction: column; gap: 12px; }
.ask-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--soft); }
.ask-form input[type=text], .ask-form input[type=tel], .ask-form textarea { font: 16px var(--f-body); color: var(--ink); padding: 10px 12px; border: 1px solid var(--euca-l); background: #FFFDF8; min-height: 44px; resize: vertical; }
.ask-form fieldset { border: 0; padding: 0; margin: 0; }
.ask-form legend { font-size: 13px; color: var(--soft); margin-bottom: 6px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chips label { flex-direction: row; }
.ask-chips input { position: absolute; opacity: 0; }
.ask-chips span { padding: 8px 12px; border: 1px solid var(--euca-l); font-size: 14px; color: var(--ink); cursor: pointer; }
.ask-chips input:checked + span { background: var(--euca); color: var(--on); border-color: var(--euca); }
.ask-chips input:focus-visible + span { outline: 2px solid var(--euca-d); outline-offset: 2px; }
.ask-consent { flex-direction: row !important; align-items: flex-start; gap: 8px !important; font-size: 12.5px !important; }
.ask-consent input { margin-top: 3px; }
.ask-msg { margin: 0; font-size: 13px; min-height: 1em; }
.ask-msg.err { color: var(--err); }
.ask-form .btn { width: 100%; }
.ask-copy { background: var(--sand); padding: 10px 12px; font-size: 14px; user-select: all; }
.ask-done p, .ask-fallback p { margin: 0 0 10px; }
@media print { .ask { display: none; } }
.hero-meta { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--euca); font-weight: 600; }
.hero-product .hero-body { padding-top: 0; border-top: 0; }
.hero-product .hero-body p:first-child { font-family: var(--f-body); font-size: inherit; color: var(--soft); font-weight: inherit; }
.pay-btns { display: flex; flex-direction: column; gap: 10px; }
.pay-btns .btn, .mini-pay .js-pay-intl { width: 100%; }
.band.euca .pricebox .btn.ghost { color: var(--ink); border-color: var(--ink); }
footer.foot { background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
footer.foot a { color: var(--ink); }
footer.foot .foot-quote { color: var(--euca-d); }
@media (max-width: 560px) { .pay-btns .btn, .mini-pay .btn { padding: 12px 14px; min-height: 52px; text-align: center; font-size: 14.5px; } }
/* подвал контрастирует с последним блоком: после бежевого — зелёный, после зелёного — бежевый */
main:has(> section:last-of-type:not(.euca)) + footer.foot { background: var(--euca); color: var(--on); border-top: 0; }
main:has(> section:last-of-type:not(.euca)) + footer.foot a { color: var(--on); }
main:has(> section:last-of-type:not(.euca)) + footer.foot .foot-quote { color: #E7EADF; }
.notice { border: 1px solid var(--euca-l); border-left: 4px solid var(--euca); background: #FFFDF8; padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.notice p { margin: 0; color: var(--soft); }
.notice b { color: var(--ink); font-weight: 600; }
.notice-t { font-size: 12px !important; letter-spacing: 0.24em; text-transform: uppercase; color: var(--euca) !important; font-weight: 600; }
/* Форматы работы — раскрывающийся список без цен */
.fmts { border-top: 1px solid var(--ink); }
.fmt { border-bottom: 1px solid var(--line); }
.fmt summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 44px; align-items: center; gap: 12px; padding: 26px 0; }
.fmt summary::-webkit-details-marker { display: none; }
.fmt-n { font-family: var(--f-display); font-size: 26px; color: var(--euca-l); font-weight: 500; }
.fmt-t { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; line-height: 1.15; }
.fmt-ico { width: 44px; height: 44px; border: 1px solid var(--euca-l); border-radius: 50%; position: relative; transition: transform .25s, background .25s; }
.fmt-ico::before { content: ""; position: absolute; left: 50%; top: 45%; width: 10px; height: 10px; border-right: 1.6px solid var(--euca-d); border-bottom: 1.6px solid var(--euca-d); transform: translate(-50%, -50%) rotate(45deg); }
.fmt[open] .fmt-ico { transform: rotate(180deg); background: var(--sand); }
.fmt summary:hover .fmt-t { color: var(--euca-d); }
.fmt-b { padding: 0 0 30px 76px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; max-width: 820px; }
.fmt-b p { margin: 0; color: var(--soft); }
.fmt-b b { color: var(--ink); }
.fmt-meta { font-size: 13px !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--euca) !important; font-weight: 600; }
@media (max-width: 640px) { .fmt summary { grid-template-columns: 40px 1fr 40px; } .fmt-ico { width: 40px; height: 40px; } .fmt-b { padding-left: 0; } }
/* Маяк — самопрезентация */
.mayak .wrap { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); }
.mayak-head { display: flex; flex-direction: column; gap: 18px; max-width: 980px; }
.mayak-q { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4.2vw, 58px); line-height: 1.12; color: var(--on); }
.mayak-src { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: #DCE3D0; }
.mayak-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 clamp(32px, 5vw, 72px); padding-top: 32px; border-top: 1px solid rgba(246, 241, 232, 0.3); }
.mayak-col p { margin: 0 0 16px; color: #EEF0E8; }
.mayak-ask { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); color: var(--on); }
/* соцсети в шапке */
.top .wrap { gap: 12px 20px; }
.social { display: flex; gap: 14px; margin-right: auto; padding-left: 8px; border-left: 1px solid var(--line); }
.social a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; text-decoration: none; color: var(--euca-d); min-height: 36px; }
.social a:hover { color: var(--ink); }
@media (max-width: 1180px) { .social span { display: none; } }
@media (max-width: 560px) { .social { border-left: 0; padding-left: 0; gap: 10px; } }
.btn-down span { font-size: 18px; transition: transform .2s; }
.btn-down:hover span { transform: translateY(3px); }
/* ===== Окно «Перед оплатой» ===== */
.payc-lock, .payc-lock body { overflow: hidden; }
.payc { position: fixed; inset: 0; z-index: 100; background: rgba(43, 52, 37, 0.55); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; }
.payc-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--milk); border: 1px solid var(--line); box-shadow: 10px 10px 0 var(--euca-d), 0 30px 60px rgba(0,0,0,.2); padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.payc-x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; background: var(--sand); font-size: 26px; line-height: 1; cursor: pointer; color: var(--ink); }
.payc-t { margin: 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 4vw, 40px); line-height: 1.1; padding-right: 48px; }
.payc-s { margin: 0; color: var(--soft); font-size: 15px; }
.payc-h { margin: 6px 0 0; font-weight: 600; }
.payc-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.payc-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.payc-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--euca); }
.payc-list li.payc-red { color: #9E2B25; font-weight: 600; }
.payc-list li.payc-red::before { background: #9E2B25; }
.payc-check { display: flex; gap: 12px; align-items: flex-start; background: var(--sand); border: 1px solid var(--euca-d); padding: 16px 18px; cursor: pointer; font-size: 15px; line-height: 1.5; }
.payc-check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--euca-d); }
.payc-check a, .payc-check u { color: var(--ink); text-decoration: underline; }
.payc-go { width: 100%; min-height: 56px; }
.payc-go.is-off { background: #A7AA9E; border-color: #A7AA9E; color: #F6F4EE; cursor: not-allowed; }
.payc-note { margin: 0; font-size: 13px; color: var(--soft); }
.payc-box.shake { animation: payc-shake .35s; }
@keyframes payc-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .payc-box.shake { animation: none; } }
.sopr-pay { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; max-width: 420px; }
.band.euca .sopr-pay .btn.ghost { color: var(--on); border-color: rgba(246,241,232,.7); }
.band.euca .sopr-pay .btn.light { color: var(--ink); }
.band.euca .sopr-pay .promo-msg.err { color: #FFE2D6; }
.payc-mail { display: flex; gap: 14px; align-items: flex-start; margin-top: 4px; padding: 16px 18px; border: 1.5px solid #B4473F; border-radius: 18px; background: #FBEDE8; }
.payc-mail-i { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #B4473F; color: #fff; display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1; }
.payc-mail p { margin: 0; font-size: 14.5px; line-height: 1.5; color: #4A2E2A; }
.payc-mail-t { font-weight: 700; color: #9E2B25 !important; margin-bottom: 2px !important; }
/* Юридические страницы */
.legal { max-width: 820px; font-size: 16px; line-height: 1.7; }
.legal h2 { font-size: clamp(21px, 2vw, 25px); margin: 36px 0 12px; }
.legal p { margin: 0 0 12px; color: var(--ink); }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 4px; }
.legal-meta { padding: 18px 22px; background: var(--sand); border-left: 3px solid var(--euca); margin-bottom: 20px; }
.legal-meta p { margin: 0 0 4px; font-size: 14.5px; color: var(--soft); }
.foot-legal { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; margin-top: 4px; border-top: 1px solid currentColor; border-top-color: rgba(127,127,127,.3); font-size: 13px; opacity: .92; }
.foot-legal nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer.foot .wrap + .wrap { padding-top: 0; padding-bottom: 32px; } footer.foot .wrap:first-child { padding-bottom: 28px; }
.foot-note { width: 100%; font-size: 11.5px; opacity: .75; } .foot-note:empty { display: none; }
.ask-links { display: flex; flex-direction: column; gap: 8px; }
.ask-link { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; background: #FFFDF8; transition: border-color .2s, background .2s; }
.ask-link:hover { border-color: var(--euca); background: var(--sand); }
.ask-link b { font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--ink); }
.ask-link span { font-size: 13.5px; color: var(--soft); }
.ask-embed iframe { width: 100%; height: min(560px, calc(100vh - 220px)); border: 0; }
.ask-panel { width: min(420px, calc(100vw - 36px)); }
.ask-links-mini { flex-direction: row; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ask-links-mini::before { content: "Или напишите напрямую:"; width: 100%; font-size: 13px; color: var(--soft); }
.ask-links-mini .ask-link { flex: 1 1 auto; padding: 8px 12px; border-radius: 999px; }
.ask-links-mini .ask-link b { font-family: var(--f-body); font-size: 13.5px; }
.ask-links-mini .ask-link span { display: none; }
/* ===== Образование ===== */
.edu { background: #F3EEE3; color: #283827; padding-block: clamp(64px, 8vw, 112px); }
.edu-head { display: flex; flex-direction: column; gap: 16px; max-width: 820px; }
.edu-head p:not(.eyebrow) { margin: 0; color: #4A5546; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.doc { display: flex; flex-direction: column; background: #E4DDCF; border: 1px solid #C2BAAC; border-radius: 6px; box-shadow: 0 1px 3px rgba(40, 56, 39, 0.06); }
.doc-img { all: unset; cursor: zoom-in; padding: 16px; display: grid; place-items: center; aspect-ratio: 4 / 3; box-sizing: border-box; }
.doc-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.doc-img:focus-visible, .doc-open:focus-visible { outline: 2px solid #283827; outline-offset: 2px; }
.doc-t { padding: 4px 20px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.doc-t h3 { font-size: 20px; line-height: 1.25; color: #283827; }
.doc-t p { margin: 0; font-size: 15px; color: #3E4A3C; }
.doc-m { font-size: 13px !important; color: #6A7264 !important; }
.doc-open { all: unset; cursor: pointer; margin-top: auto; padding-top: 10px; font-size: 13.5px; color: #283827; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
@media (max-width: 980px) { .docs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .docs { grid-template-columns: 1fr; } }
.lb { position: fixed; inset: 0; z-index: 120; background: rgba(28, 34, 25, 0.86); display: grid; place-items: center; padding: 16px; }
.lb figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: 10px; }
.lb img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; background: #fff; border-radius: 4px; }
.lb figcaption { color: #F3EEE3; font-size: 14px; text-align: center; }
.lb-x { position: fixed; top: 14px; right: 14px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #F3EEE3; font-size: 28px; line-height: 1; cursor: pointer; color: #283827; }
.links-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
/* ===== Форматы — компактные карточки ===== */
.fcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fcard { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px; background: #FFFDF8; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.fcard:hover { border-color: var(--euca); transform: translateY(-2px); }
.fcard-n { font-family: var(--f-display); font-size: 22px; color: var(--euca-l); font-weight: 500; }
.fcard-t { font-family: var(--f-display); font-size: clamp(22px, 2vw, 27px); font-weight: 600; line-height: 1.15; }
.fcard-d { font-size: 16px; color: var(--soft); }
.fcard-m { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--euca); font-weight: 600; }
.fcard-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--euca-d); }
@media (max-width: 900px) { .fcards { grid-template-columns: 1fr; } }
/* мобильный первый экран ниже */
@media (max-width: 640px) { .hero-photo { min-height: 52vh !important; } }
/* v7: сравнение форматов, первая встреча, согласование */
.cmp-band { padding-block: clamp(40px, 5vw, 64px); }
.cmps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cmp { border: 1px solid var(--line); border-radius: 6px; padding: 22px 24px; background: #FFFDF8; display: flex; flex-direction: column; gap: 8px; }
.cmp p { margin: 0; color: var(--soft); }
.cmp.is-cur { border-color: var(--euca); box-shadow: inset 4px 0 0 var(--euca); }
.cmp-t { font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--ink) !important; }
.cmp-m { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--euca) !important; font-weight: 600; }
.cmp-cur { font-size: 13px; font-weight: 600; color: var(--euca-d); }
.cmp-go { font-size: 14px; font-weight: 600; color: var(--euca-d); }
@media (max-width: 700px) { .cmps { grid-template-columns: 1fr; } }
.meet { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.meet li { background: var(--milk); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.meet-n { font-family: var(--f-display); font-size: 28px; color: var(--euca-l); font-weight: 600; }
.meet h3 { font-size: 22px; }
.meet p { margin: 0; color: var(--soft); }
@media (max-width: 800px) { .meet { grid-template-columns: 1fr; } }
.agree { margin-top: 8px; padding: 16px 18px; border: 1px solid rgba(246,241,232,.45); border-radius: 6px; }
.agree p { margin: 0; color: #EEF0E8; }
.agree-t { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--on) !important; margin-bottom: 6px !important; }
/* мобильная читаемость и отступы */
@media (max-width: 640px) {
  .band { padding-block: 56px; }
  .small, .fcard-m, .meta, .cmp-m, .doc-m, .hero-meta { font-size: 14px !important; }
  footer.foot { padding-bottom: 72px; }
  .lead { font-size: 22px; }
}
.thanks-form iframe { width: 100%; min-height: 900px; border: 0; } .thanks-fallback { border: 1px solid var(--line); border-radius: 6px; padding: 24px; background: #FFFDF8; display: flex; flex-direction: column; gap: 14px; } .thanks-fallback p { margin: 0; }
@media (max-width: 640px) { .eyebrow, .notice-t, .pricebox .label, .contact-card .label, .row .k { font-size: 13px !important; } .foot-note { font-size: 12.5px; } }
.ask { transition: opacity .2s; } .ask.ask-hide { opacity: 0; pointer-events: none; } @media (max-width: 640px) { .ask-fab { width: 52px; height: 52px; } }

/* ===== Главная: новое позиционирование (01.11.2026) ===== */
.h-hero { font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 5vw, 70px); line-height: 1.06; letter-spacing: -0.005em; margin: 0; text-wrap: balance; color: var(--ink); }
.h-hero span { display: block; color: var(--euca-d); font-style: italic; font-weight: 500; }
.hero-intro { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--soft); max-width: 46ch; margin: 0; }
.pos { gap: clamp(32px, 5vw, 72px); }
.pos-photo { max-width: 460px; width: 100%; }
.pos-text { font-size: 17px; line-height: 1.7; }
.pos-text p { margin: 0; }
.pos-key { font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; color: var(--ink); font-weight: 500; }
.pos-sign { border-left: 2px solid var(--euca); padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 2px; color: var(--soft); font-size: 15px; }
.pos-name { font-family: var(--f-display); font-size: 22px; color: var(--ink); font-weight: 600; }
.pos-sign a { color: var(--euca-d); }
@media (max-width: 760px) { .pos-photo { max-width: 100%; max-height: 520px; object-fit: cover; } .pos-text { font-size: 16px; } }

/* ===================== ДИАГНОСТИКА v3 — утверждённый макет № 1 (01.11.2026) =====================
   Размеры заданы в единицах --u (1u = 1% ширины экрана, но не больше 11.5px), чтобы пропорции совпадали с макетом. */
body:has(main > .g3) {
  --u: min(1vw, 11.5px);
  --euca: #8B1D27; --euca-d: #6F1620; --euca-l: #D9BFA5; --ok: #6F1620; --ink: #1F1714; --soft: #5E4F48; --mute: #8C7C72; --line: #E6D5C1; --sand: #F2E5D6; --milk: #FBF6F0; --on: #FFFFFF;
  background: #FBF6F0; color: #1F1714;
}
.g3 { --serif: 'Tinos', 'Times New Roman', Georgia, serif; --wine: #8B1D27; --ink: #1F1714; --txt: #2C221E; background: #FBF6F0; color: var(--ink); overflow: hidden; }
.g3 h1, .g3 h2, .g3 h3 { margin: 0; font-weight: 400; color: var(--ink); text-wrap: balance; }
.g3 p { margin: 0; }
.g3 ul, .g3 ol { list-style: none; margin: 0; padding: 0; }
.g3-wrap { max-width: calc(115 * var(--u)); margin: 0 auto; padding-left: max(20px, calc(3.2 * var(--u))); padding-right: max(20px, calc(3.2 * var(--u))); position: relative; z-index: 2; }
.g3-ico { width: calc(3.4 * var(--u)); height: calc(3.4 * var(--u)); min-width: 26px; min-height: 26px; color: #8E2A22; flex: none; }
.g3-eyebrow { font-size: max(12px, calc(1.5 * var(--u))); letter-spacing: .3em; text-transform: uppercase; color: #3A2E29; font-weight: 500; }
.g3-h1 { font-family: var(--serif); font-size: max(40px, calc(6.4 * var(--u))); line-height: 1.1; letter-spacing: -.012em; }
.g3-h2 { font-family: var(--serif); font-size: max(30px, calc(4.4 * var(--u))); line-height: 1.12; }
.g3-lead { font-size: max(17px, calc(2.05 * var(--u))); line-height: 1.5; color: var(--txt); }

/* шапка — прозрачная, поверх фото */
.g3-top { position: absolute; top: env(safe-area-inset-top, 0px); left: 0; right: 0; background: transparent; border-bottom: 0; backdrop-filter: none; z-index: 30; }
.g3-top .wrap { max-width: calc(115 * var(--u)); min-height: calc(9 * var(--u)); flex-wrap: nowrap; padding-left: max(20px, calc(3.2 * var(--u))); padding-right: max(20px, calc(2 * var(--u))); }
.g3-logo { font-family: var(--f-body); font-weight: 600; font-size: max(19px, calc(2.4 * var(--u))); color: #1F1714; text-decoration: none; white-space: nowrap; }
.g3-nav { margin-left: auto; gap: 4px calc(4.4 * var(--u)); }
.g3-nav a { color: #1F1714; font-size: max(14px, calc(1.55 * var(--u))); font-weight: 500; }
.g3-nav a:hover { color: #8B1D27; }
.g3-nav a[aria-current="page"] { color: #1F1714; text-decoration: none; border-bottom: 2px solid #8B1D27; padding-bottom: 5px; }
.g3-burger { display: block !important; margin-left: calc(3.6 * var(--u)); }
.g3-burger summary { width: max(44px, calc(5 * var(--u))); height: max(44px, calc(5 * var(--u))); min-height: 0; justify-content: center; border-radius: 50%; background: rgba(232, 210, 186, .9); color: #6F1620; }
.g3-burger[open] summary span::after { content: none; }
.g3-burger .drop { background: #FBF6F0; border-color: #EBD9C3; border-radius: 16px; }

/* кнопки */
.g3-btns { display: flex; flex-wrap: wrap; gap: calc(1.4 * var(--u)); }
.g3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: max(52px, calc(6 * var(--u))); padding: 0 max(24px, calc(4.2 * var(--u))); border-radius: 999px; border: 1px solid #7A1A22; background: linear-gradient(180deg, #8E2029, #741820); color: #FFFFFF; font: 500 max(15px, calc(1.65 * var(--u)))/1.2 var(--f-body); text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(139, 29, 39, .7); transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.g3-btn:hover { background: #6F1620; border-color: #6F1620; color: #FFFFFF; }
.g3-btn:focus-visible { outline: 2px solid #D4A96F; outline-offset: 3px; }
.g3-ghost { background: rgba(255, 249, 241, .9); color: #1F1714; border-color: #E0C6A6; box-shadow: none; }
.g3-ghost:hover { background: #F2E5D6; color: #1F1714; border-color: #D4A96F; }
.g3-btn-s { min-height: 42px; padding: 0 20px; font-size: 14px; }
.g3-arr { width: 20px; height: 20px; color: currentColor; stroke-width: 1.8; }

/* 1. первый экран */
.g3-hero { position: relative; height: calc(88 * var(--u)); min-height: 600px; background: #F7ECE1; isolation: isolate; }
.g3-hero-glow { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.g3-hero-glow img { position: absolute; left: -10%; top: -20%; width: 120%; height: 140%; object-fit: cover; object-position: 50% 30%; filter: blur(70px) saturate(1.1) brightness(1.25); opacity: .55; }
.g3-hero-glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 22% 45%, rgba(253, 248, 242, .97) 0%, rgba(250, 242, 233, .9) 35%, rgba(247, 236, 224, .5) 60%, rgba(247, 236, 224, 0) 80%); }
.g3-hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.g3-hero-photo img { position: absolute; top: calc(-5.6 * var(--u)); right: calc(-3.6 * var(--u)); width: calc(74 * var(--u)); height: auto; max-width: none; display: block; filter: saturate(1.06) brightness(1.04);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 30%), linear-gradient(180deg, #000 72%, transparent 92%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 30%), linear-gradient(180deg, #000 72%, transparent 92%); mask-composite: intersect; }
.g3-hero-text { position: relative; z-index: 3; max-width: calc(115 * var(--u)); margin: 0 auto; padding: calc(17.5 * var(--u)) max(20px, calc(3.2 * var(--u))) 0; display: flex; flex-direction: column; }
.g3-hero-text > * { max-width: calc(48 * var(--u)); }
.g3-hero-text .g3-eyebrow { margin-bottom: calc(2.6 * var(--u)); }
.g3-hero-text .g3-lead { margin-top: calc(2.6 * var(--u)); max-width: calc(38 * var(--u)); font-size: max(17px, calc(2.1 * var(--u))); }
.g3 .g3-facts { display: flex; flex-wrap: wrap; gap: 12px calc(3.4 * var(--u)); margin-top: calc(5.2 * var(--u)); }
.g3-facts .g3-ico { width: calc(3.4 * var(--u)); height: calc(3.4 * var(--u)); }
.g3-facts li { display: flex; align-items: center; gap: calc(1.2 * var(--u)); font-size: max(14px, calc(1.55 * var(--u))); font-weight: 600; color: #1F1714; }
.g3-hero-text > .g3-btns { margin-top: calc(4 * var(--u)); max-width: calc(70 * var(--u)); flex-wrap: nowrap; }
.g3-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: calc(15 * var(--u)); z-index: 2; display: block; pointer-events: none; }

/* 2. с чем можно прийти */
.g3-come { background: #F8EEE3; padding-block: calc(2 * var(--u)) calc(3 * var(--u)); }
.g3-come .g3-h2 { margin-bottom: calc(2.4 * var(--u)); }
.g3-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(1.8 * var(--u)) calc(2 * var(--u)); }
.g3-card { display: flex; align-items: center; gap: calc(3 * var(--u)); background: linear-gradient(180deg, #FDF5EC, #FAF0E5); border: 1px solid #F3E5D5; border-radius: calc(2.4 * var(--u)); padding: calc(2.6 * var(--u)) calc(3.2 * var(--u)); box-shadow: 0 calc(2 * var(--u)) calc(4 * var(--u)) calc(-2.8 * var(--u)) rgba(120, 80, 40, .45); min-height: calc(13.5 * var(--u)); }
.g3-card .g3-ico { width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); margin-left: calc(1.4 * var(--u)); }
.g3-card p { font-size: max(15px, calc(1.85 * var(--u))); font-weight: 600; line-height: 1.4; color: #1F1714; max-width: calc(28 * var(--u)); }

/* 3. как проходит */
.g3-how { background: linear-gradient(180deg, #F8EEE3, #F9F0E6); padding-block: calc(4.6 * var(--u)) calc(6.5 * var(--u)); }
.g3-how .g3-h2 { margin-bottom: calc(3.2 * var(--u)); }
.g3-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: calc(2.6 * var(--u)); position: relative; }
.g3-steps::before { content: ""; position: absolute; left: calc(4.4 * var(--u)); right: calc(14 * var(--u)); top: calc(2.4 * var(--u)); height: 1px; background: linear-gradient(90deg, #E2C7A5, #D4A96F); }
.g3-step { display: flex; flex-direction: column; gap: calc(2 * var(--u)); position: relative; }
.g3-num { width: max(40px, calc(4.8 * var(--u))); height: max(40px, calc(4.8 * var(--u))); border-radius: 50%; border: 2px solid #C98F55; background: #FFF8F0; color: #1F1714; display: grid; place-items: center; font-family: var(--f-body); font-size: max(13px, calc(1.5 * var(--u))); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; position: relative; z-index: 1; flex: none; margin-left: calc(2 * var(--u)); }
.g3-step h3 { font-family: var(--f-body) !important; font-size: max(16px, calc(1.85 * var(--u))); font-weight: 700; margin-bottom: calc(1 * var(--u)); color: #1F1714 !important; }
.g3-step p { font-size: max(14px, calc(1.55 * var(--u))); line-height: 1.5; color: var(--txt); max-width: calc(20 * var(--u)); }

/* 4. цитата и стоимость */
.g3-final { position: relative; background: radial-gradient(ellipse at 8% 85%, #F5DCC0 0%, transparent 45%), linear-gradient(180deg, #F2E1CF 0%, #F6EADC 100%); padding-block: calc(2 * var(--u)) calc(4.4 * var(--u)); }
.g3-wave-top { position: absolute; left: 0; right: 0; top: calc(-5 * var(--u)); width: 100%; height: calc(8 * var(--u)); display: block; pointer-events: none; }
.g3-final-grid { display: grid; grid-template-columns: calc(20 * var(--u)) minmax(0, 1fr) calc(31 * var(--u)); gap: calc(3 * var(--u)); align-items: center; }
.g3-final { clip-path: inset(calc(-6 * var(--u)) 0 0 0); }
.g3-final-grid { min-height: calc(20 * var(--u)); }
.g3-branch { position: absolute; left: calc(-4 * var(--u)); bottom: calc(-9 * var(--u)); width: calc(22 * var(--u)); height: auto; transform: rotate(22deg); filter: drop-shadow(0 6px 10px rgba(150, 50, 20, .18)); z-index: 0; }
.g3-final-grid > .g3-quote { grid-column: 2; position: relative; z-index: 1; }
.g3-final-grid > .g3-pricecard { grid-column: 3; position: relative; z-index: 1; }
.g3-quote { font-family: var(--serif); font-style: italic; font-size: max(22px, calc(2.7 * var(--u))); line-height: 1.38; color: #1F1714; }
.g3-pricecard { background: #FDF7F0; border: 1px solid #EFDFCB; border-radius: calc(2.6 * var(--u)); padding: calc(2.8 * var(--u)) calc(2.6 * var(--u)); display: flex; flex-direction: column; align-items: center; gap: calc(1.2 * var(--u)); text-align: center; box-shadow: 0 calc(2.4 * var(--u)) calc(4.8 * var(--u)) calc(-3.2 * var(--u)) rgba(120, 80, 40, .5); }
.g3-pc-label { font-size: max(13px, calc(1.45 * var(--u))); color: #4A3D37; }
.g3-pc-price { font-family: var(--f-body); font-size: max(22px, calc(2.6 * var(--u))); font-weight: 700; color: #1F1714; font-variant-numeric: lining-nums; white-space: nowrap; }
.g3-pricecard .g3-btn { width: 100%; margin-top: calc(.8 * var(--u)); }

/* 5. запись и оплата (функционал сайта, в макете не показан) */
.g3-book { background: #FBF6F0; padding-block: calc(9 * var(--u)); }
.g3-book-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, calc(42 * var(--u))); gap: calc(5 * var(--u)); align-items: start; }
.g3-book-info { display: flex; flex-direction: column; gap: 22px; }
.g3-book-steps { counter-reset: b; display: flex; flex-direction: column; gap: 16px; }
.g3-book-steps li { counter-increment: b; position: relative; padding-left: 48px; color: var(--txt); line-height: 1.6; font-size: max(15px, calc(1.5 * var(--u))); }
.g3-book-steps li::before { content: counter(b); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #C98F55; color: #1F1714; display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.g3-book-steps b { color: #1F1714; font-weight: 600; }
.g3-book .notice { background: #FDF7F0; border-color: #EBD9C3; border-left-color: #8B1D27; margin-top: 6px; }
.g3-price { background: #FDF7F0; border: 1px solid #EBD9C3; border-radius: 22px; padding: clamp(24px, calc(3.4 * var(--u)), 38px); display: flex; flex-direction: column; gap: 16px; box-shadow: 0 24px 48px -32px rgba(120, 80, 40, .5); }
.g3-price .price-now { color: #1F1714; font-size: clamp(40px, calc(4.6 * var(--u)), 54px); }
.g3-price .price-note { color: #5E4F48; }
.g3-price .promo input { border-color: #E2CDB4; border-radius: 12px; background: #FFFFFF; }
.g3-price .promo input:focus { outline-color: #8B1D27; }
.g3-price .promo button { border-color: #DCC3A3; color: #1F1714; border-radius: 12px; }
.g3-price .promo button:hover { background: #F2E5D6; }
.g3-pay { display: flex; flex-direction: column; gap: 10px; }
.g3-pay .g3-btn { width: 100%; white-space: normal; text-align: center; }
.g3-after-pay { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 1px solid #EBD9C3; color: #5E4F48; }
.g3-btns-s { gap: 8px; }

/* 6. заявка */
.g3-form-sec { background: #F2E5D6; padding-block: calc(8 * var(--u)); }
.g3-form-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: calc(5 * var(--u)); align-items: center; }
.g3-form-intro { display: flex; align-items: center; gap: 32px; color: var(--txt); line-height: 1.65; }
.g3-form-intro > div { display: flex; flex-direction: column; gap: 14px; }
.g3-form-photo { width: 200px; height: 260px; object-fit: cover; object-position: 50% 30%; border-radius: 120px 120px 18px 18px; flex: none; }
.g3-form-card { background: #FDF7F0; border: 1px solid #EBD9C3; border-radius: 22px; padding: clamp(24px, 3vw, 36px); }
.g3-fields { display: flex; flex-direction: column; gap: 14px; }
.g3-field { display: flex; flex-direction: column; gap: 6px; }
.g3-field label { font-size: 14px; color: #5E4F48; }
.g3-opt { font-size: 12px; color: #A08E83; margin-left: 6px; }
.g3-field input, .g3-field select, .g3-field textarea { min-height: 50px; padding: 12px 16px; border: 1px solid #E2CDB4; border-radius: 12px; background: #FFFFFF; color: #1F1714; font: 16px/1.4 var(--f-body); width: 100%; }
.g3-field textarea { resize: vertical; }
.g3-field input:focus, .g3-field select:focus, .g3-field textarea:focus { outline: 2px solid #8B1D27; outline-offset: 0; border-color: transparent; }
.g3-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #5E4F48; cursor: pointer; }
.g3-check input { width: 20px; height: 20px; margin-top: 1px; accent-color: #8B1D27; flex: none; }
.g3-check a { color: #8B1D27; }
.g3-out { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.g3-text { background: #F2E5D6; border-radius: 12px; padding: 14px 16px; user-select: all; line-height: 1.55; }

main:has(> .g3) + footer.foot { background: #F2E5D6; color: #1F1714; border-top: 1px solid #E6D5C1; }
main:has(> .g3) + footer.foot a, main:has(> .g3) + footer.foot .foot-quote { color: #6F1620; }

/* телефон */
@media (max-width: 760px) {
  body:has(main > .g3) { --u: 3.6px; }
  .g3-top .g3-nav { display: none; }
  .g3-top .wrap { min-height: 64px; }
  .g3-burger { margin-left: auto; }
  /* мобильный первый экран: фото сверху (без наложения текста), заголовок целиком на светлом фоне */
  .g3-hero { height: auto; min-height: 0; display: flex; flex-direction: column; padding-bottom: 56px; background: #FAF3EA; }
  .g3-hero-glow { display: none; }
  .g3-hero-photo { position: relative; inset: auto; height: min(98vw, 520px); z-index: 0; overflow: hidden; }
  .g3-hero-photo picture { display: block; height: 100%; }
  .g3-hero-photo img { position: static; width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: 62% 18%; transform: none; filter: none;
    -webkit-mask-image: none; mask-image: none; }
  .g3-hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(180deg, rgba(250,243,234,0) 0%, rgba(250,243,234,.75) 60%, #FAF3EA 100%); pointer-events: none; }
  .g3-hero-text { margin-top: 0; padding: 4px 20px 0; position: relative; z-index: 2; }
  .g3-hero-text > * { max-width: none; }
  .g3-hero-text .g3-eyebrow { margin-bottom: 10px; }
  .g3-h1 { font-size: clamp(30px, 8.6vw, 38px); line-height: 1.12; text-wrap: balance; }
  .g3-hero-text .g3-lead { margin-top: 16px; max-width: none; font-size: 17px; }
  .g3 .g3-facts { margin-top: 22px; gap: 12px 22px; }
  .g3-hero-text > .g3-btns { margin-top: 24px; flex-wrap: wrap; gap: 10px; max-width: none; }
  .g3-hero-text > .g3-btns .g3-btn { width: 100%; flex: 1 1 100%; }
  .g3-btns .g3-btn { flex: 1 1 100%; }
  .g3-wave { height: 60px; }
  .g3-come { padding-block: 12px 40px; }
  .g3-cards { grid-template-columns: 1fr; gap: 12px; }
  .g3-card { padding: 20px; min-height: 0; border-radius: 18px; gap: 18px; }
  .g3-card .g3-ico { width: 36px; height: 36px; }
  .g3-how { padding-block: 40px 80px; }
  .g3-steps { grid-template-columns: 1fr; gap: 24px; }
  .g3-steps::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; background: linear-gradient(180deg, #E2C7A5, #D4A96F); }
  .g3-step { flex-direction: row; gap: 18px; align-items: flex-start; }
  .g3-num { margin-left: 0; width: 44px; height: 44px; }
  .g3-final { padding-block: 64px; }
  .g3-wave-top { top: -30px; height: 50px; }
  .g3-final-grid { grid-template-columns: 1fr; gap: 20px; justify-items: start; }
  .g3-branch { position: static; width: 110px; transform: rotate(-30deg); margin: -20px 0 -16px -20px; }
  .g3-final-grid > .g3-quote, .g3-final-grid > .g3-pricecard { grid-column: auto; }
  .g3-final { clip-path: none; }
  .g3-quote { font-size: 24px; }
  .g3-pricecard { justify-self: stretch; padding: 26px 22px; border-radius: 22px; gap: 10px; }
  .g3-book-grid, .g3-form-grid { grid-template-columns: 1fr; gap: 36px; }
  .g3-book, .g3-form-sec { padding-block: 56px; }
  .g3-form-intro { flex-direction: column; align-items: flex-start; gap: 20px; }
  .g3-form-photo { width: 150px; height: 190px; }
}
@media (prefers-reduced-motion: reduce) { .g3 * { transition: none !important; } }

/* ===== ТЕКСТЫ v2 (02.11.2026, на согласование): «Узнаёшь себя?», «Начни с главного», программы ===== */
.uz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.uz-card { display: flex; flex-direction: column; gap: 12px; padding: 30px 28px; background: #FFFDF8; border: 1px solid var(--line); border-radius: 6px; }
.uz-card:nth-child(7) { grid-column: 2; }
.uz-n { font-family: var(--f-display); font-size: 20px; color: var(--euca-l); }
.uz-t { font-family: var(--f-display); font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: .03em; }
.uz-card p { font-size: 16px; color: var(--soft); }
.uz-go { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 600; color: var(--euca-d); text-decoration: none; }
.uz-go:hover { text-decoration: underline; }
.uz-meta { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--euca); }
.band.euca .uz-meta { color: #E7EBDF; }
#start .notice { margin-top: 12px; }
.night-card { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; padding: clamp(28px, 4vw, 48px); background: var(--sand); border-radius: 6px; }
.night-pay { display: flex; flex-direction: column; gap: 12px; align-items: stretch; min-width: 240px; }
.night-pay .price { font-family: var(--f-display); font-size: 40px; }
@media (max-width: 900px) { .uz-grid { grid-template-columns: 1fr; } .uz-card:nth-child(7) { grid-column: auto; } .night-card { grid-template-columns: 1fr; } }
.g3-what-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: calc(5 * var(--u)); align-items: start; padding-block: calc(3 * var(--u)) calc(1 * var(--u)); }
.g3-what-text p { font-size: max(16px, calc(1.7 * var(--u))); line-height: 1.6; color: var(--txt); margin-bottom: 14px; }
.g3-note { margin-top: calc(2.2 * var(--u)); font-size: max(15px, calc(1.6 * var(--u))); color: #4A3D37; }
.g3-note a { color: var(--wine); }
.g3-two { padding-block: calc(4 * var(--u)); }
.g3-two-grid { display: grid; grid-template-columns: 1fr 1fr; gap: calc(5 * var(--u)); }
.g3-two .g3-h2 { font-size: max(26px, calc(3.4 * var(--u))); }
.g3-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.g3-list li { position: relative; padding-left: 26px; font-size: max(16px, calc(1.7 * var(--u))); line-height: 1.5; color: var(--txt); }
.g3-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--wine); }
.g3-pc-sub { margin-top: 14px; font-size: max(13px, calc(1.35 * var(--u))); line-height: 1.5; color: #4A3D37; }
@media (max-width: 760px) { .g3-what-grid, .g3-two-grid { grid-template-columns: 1fr; gap: 22px; } }

/* ===== ЕДИНЫЙ СТИЛЬ (02.11.2026): шрифты и кнопки как на главной; цвета и фото страницы свои ===== */
.g3 { --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; }
.g3-logo { font-family: var(--f-display); font-weight: 600; font-size: 21px; letter-spacing: .08em; text-transform: uppercase; }
.g3-logo small { font-family: var(--f-body); font-size: 10px; font-weight: 500; letter-spacing: .3em; color: #8B1D27; margin-left: 8px; }
.g3-h1 { font-weight: 600; font-size: clamp(40px, 5vw, 70px); line-height: 1.06; letter-spacing: -.005em; }
.g3-h1 span { display: block; font-style: italic; font-weight: 500; color: #8B1D27; }
.g3-rule { width: 64px; height: 1px; background: #C9A27A; margin: calc(2.4 * var(--u)) 0 0; }
.g3-h2 { font-weight: 600; letter-spacing: 0; line-height: 1.08; }
.g3-quote { font-weight: 500; }
.g3-pc-price, .g3-price .price-now { font-family: var(--serif); font-weight: 600; }
.g3-eyebrow { font-size: 12px; letter-spacing: .3em; color: #8B1D27; }
/* кнопки — прямоугольные, как на главной */
.g3-btn { border-radius: 0; min-height: 56px; padding: 0 30px; font: 600 15px/1.2 var(--f-body); letter-spacing: .04em; background: #8B1D27; border-color: #8B1D27; box-shadow: none; }
.g3-btn:hover { background: #6F1620; border-color: #6F1620; }
.g3-ghost { background: transparent; color: #1F1714; border-color: #C9A27A; }
.g3-ghost:hover { background: #F2E5D6; color: #1F1714; border-color: #8B1D27; }
.g3-btn-s { min-height: 44px; padding: 0 18px; font-size: 14px; }
/* карточки и поля — строгие углы, тонкая линия вместо тяжёлых теней */
.g3-card, .g3-pricecard, .g3-price, .g3-form-card { border-radius: 6px; box-shadow: none; }
.g3-card { border-color: #EBD9C3; background: #FDF7F0; }
.g3 input, .g3 select, .g3 textarea, .g3-price .promo input, .g3-price .promo button { border-radius: 0; }
@media (max-width: 760px) { .g3-pricecard { border-radius: 6px; } .g3-logo { font-size: 17px; } .g3-logo small { display: block; margin: 3px 0 0; font-size: 9px; } }
.g3-hero-text > .g3-h1 { max-width: calc(60 * var(--u)); font-size: clamp(40px, 4.4vw, 62px); }
.g3-burger summary { border-radius: 0; }
@media (max-width: 760px) { .g3-hero-text > .g3-h1 { max-width: none; font-size: 38px; } }

/* ===== «Узнаёшь себя?» — аккордеон (02.11.2026) ===== */
.uz-accs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.uz-acc { background: #FFFDF8; border: 1px solid var(--line); border-radius: 6px; transition: background-color .3s ease, border-color .3s ease; }
.uz-acc[open] { background: #FBF4E9; border-color: var(--euca-l); }
.uz-acc summary { list-style: none; display: grid; grid-template-columns: 34px 1fr 22px; align-items: center; gap: 14px; padding: 20px 22px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.uz-acc summary::-webkit-details-marker { display: none; }
.uz-acc summary:focus-visible { outline: 2px solid var(--euca); outline-offset: 2px; border-radius: 6px; }
.uz-acc .uz-n { font-size: 18px; }
.uz-acc .uz-t { font-family: var(--f-display); font-weight: 600; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.25; letter-spacing: .03em; }
.uz-pm { position: relative; width: 22px; height: 22px; }
.uz-pm::before, .uz-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--euca-d); transition: transform .3s ease; }
.uz-pm::after { transform: rotate(90deg); }
.uz-acc[open] .uz-pm::after { transform: rotate(0deg); }
.uz-body { overflow: hidden; }
.uz-in { padding: 0 22px 22px 70px; display: flex; flex-direction: column; gap: 14px; }
.uz-in p { font-size: 16px; color: var(--soft); }
.uz-in .uz-go { padding-top: 0; }
@media (max-width: 900px) { .uz-accs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .uz-acc summary { grid-template-columns: 28px 1fr 22px; gap: 10px; padding: 18px 16px; } .uz-in { padding: 0 16px 20px 54px; } }

/* ===== «Не знаете, с чего начать?» (02.11.2026) ===== */
.help-band { padding-top: 0; background: linear-gradient(180deg, var(--milk) 0%, #EFEADB 55%, var(--milk) 100%); }
.help-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; padding: clamp(36px, 6vw, 80px); background: #F3F1E6; border: 1px solid #C9CEBB; border-left: 3px solid var(--euca); }
.help-text { font-size: 18px; line-height: 1.65; color: var(--soft); max-width: 52ch; }
@media (max-width: 900px) { .help-card { grid-template-columns: 1fr; padding: 32px 22px; } .help-band .btn { width: 100%; } }
.help-band .btn { text-align: center; }

/* ===== Отзывы — карусель с видео в сияющей золотой рамке (02.11.2026) ===== */
.rev-band { background: var(--milk); }
.rev-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.rev-count { font-family: var(--f-display); font-size: 22px; color: var(--soft); font-variant-numeric: lining-nums; }
.rev-count b { color: var(--ink); font-weight: 600; }
.rev-arrows { display: flex; gap: 10px; }
.rev-arrow { width: 56px; height: 56px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--euca-l); color: var(--ink); font: 400 22px/1 var(--f-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s; }
.rev-arrow:hover { background: var(--euca); border-color: var(--euca); color: var(--on); }
.rev-arrow:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); border-color: var(--euca-l); }
.rev-arrow:focus-visible { outline: 2px solid var(--euca); outline-offset: 3px; }
.rev-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 0; }
.rev-track::-webkit-scrollbar { display: none; }
.rev-track:focus-visible { outline: 2px solid var(--euca); outline-offset: 6px; }
.rev-slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: minmax(250px, 380px) 1fr; gap: clamp(36px, 7vw, 110px); align-items: center; padding: 26px 26px 26px 26px; }
.rev-frame { position: relative; margin: 0; padding: 4px; background: linear-gradient(145deg, #FFF1C9, #D9AE5E 30%, #FFF4D2 50%, #C99543 72%, #F7E0A8); border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(214,170,92,.55), 0 0 18px 2px rgba(240,200,120,.7), 0 0 46px 6px rgba(226,186,110,.45), 0 30px 60px -30px rgba(80,60,20,.5); animation: revGlow 4s ease-in-out infinite; }
.rev-frame::after { content: ""; position: absolute; inset: 0; border-radius: 3px; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,250,232,.55) 45%, transparent 60%); background-size: 250% 100%; mix-blend-mode: screen; animation: revShine 6s ease-in-out infinite; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 4px; }
.rev-video { display: block; width: 100%; height: auto; aspect-ratio: 464 / 848; object-fit: cover; background: #2B2A22; }
@keyframes revGlow { 0%,100% { box-shadow: 0 0 0 1px rgba(214,170,92,.5), 0 0 14px 1px rgba(240,200,120,.55), 0 0 38px 4px rgba(226,186,110,.35), 0 30px 60px -30px rgba(80,60,20,.5); } 50% { box-shadow: 0 0 0 1px rgba(230,190,110,.7), 0 0 24px 4px rgba(250,214,140,.85), 0 0 64px 10px rgba(236,196,118,.55), 0 30px 60px -30px rgba(80,60,20,.5); } }
@keyframes revShine { 0% { background-position: 150% 0; } 60%,100% { background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .rev-frame, .rev-frame::after { animation: none; } .rev-track { scroll-behavior: auto; } }
.rev-text { gap: 18px; }
.rev-text h2 { margin-bottom: 6px; }
.rev-text p { font-size: 18px; line-height: 1.65; color: var(--soft); max-width: 60ch; }
.rev-text em { font-family: var(--f-display); font-size: 20px; color: var(--ink); }
.rev-lab { font-size: 12px !important; letter-spacing: .3em; text-transform: uppercase; color: var(--euca) !important; font-weight: 500; margin-top: 4px; }
.rev-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; max-width: 60ch; }
.rev-list li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.55; color: var(--soft); }
.rev-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: #B88A45; }
.rev-sign { margin-top: 8px; font-family: var(--f-display); font-style: italic; font-size: 21px !important; line-height: 1.4 !important; color: var(--ink) !important; }
.rev-sign span { display: block; margin-top: 8px; font-family: var(--f-body); font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: #A07A3C; }
.rev-consent { margin-top: clamp(20px, 3vw, 32px); font-size: 13px; color: var(--mute); }
@media (max-width: 900px) { .rev-slide { grid-template-columns: 1fr; padding: 22px 6px; } .rev-frame { max-width: 320px; margin: 0 auto; width: 100%; } .rev-arrow { width: 48px; height: 48px; } }
@media (max-width: 900px) { .rev-frame { max-width: 270px; } .rev-slide { padding: 34px 6px; } }

/* ===== Единая переливающаяся золотая рамка для всех отзывов (02.11.2026) ===== */
.rev-frame, .tr-card { position: relative; padding: 2px; border-radius: 3px;
  background: linear-gradient(110deg, #B8893F, #F6DFA4 18%, #FFF7DE 26%, #D9AE5E 40%, #A9792F 55%, #EFD08D 70%, #FFF3D0 78%, #C99543 90%, #B8893F);
  background-size: 300% 100%; animation: goldFlow 7s linear infinite, goldGlow 4s ease-in-out infinite;
  box-shadow: 0 0 10px 1px rgba(236, 196, 118, .55), 0 0 30px 4px rgba(226, 186, 110, .3); }
.rev-frame::after { content: none; }
@keyframes goldFlow { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }
@keyframes goldGlow { 0%,100% { box-shadow: 0 0 8px 1px rgba(236,196,118,.45), 0 0 26px 3px rgba(226,186,110,.25); } 50% { box-shadow: 0 0 16px 3px rgba(250,214,140,.8), 0 0 46px 8px rgba(236,196,118,.45); } }
@media (prefers-reduced-motion: reduce) { .rev-frame, .tr-card { animation: none; } }
@media (max-width: 900px) { .rev-frame { max-width: 270px; } }
/* текстовые отзывы */
.tr-head { margin: clamp(56px, 8vw, 96px) 0 clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.tr-grid { column-count: 2; column-gap: 28px; }
.tr-card { break-inside: avoid; display: block; margin: 0 0 28px; }
.tr-in { position: relative; background: #FFFDF8; padding: 34px 32px 28px; border-radius: 2px; display: flex; flex-direction: column; gap: 12px; }
.tr-q { position: absolute; top: 6px; left: 22px; font-family: var(--f-display); font-size: 64px; line-height: 1; color: #D9B26A; opacity: .55; }
.tr-in p { font-size: 16.5px; line-height: 1.65; color: var(--soft); position: relative; }
.tr-in p:first-of-type { padding-top: 28px; }
.tr-who { margin-top: 6px; font-size: 12px !important; letter-spacing: .28em; text-transform: uppercase; color: #A07A3C !important; font-weight: 500; }
@media (max-width: 900px) { .tr-grid { column-count: 1; } .tr-in { padding: 30px 22px 24px; } }
.rev-consent { text-align: center; }

/* ===== Текстовые отзывы — вариант 1: оливковый фон, ровные карточки 2×2 (02.11.2026) ===== */
.rev-frame, .trv-card { padding: 1.5px; }
.trv-card { position: relative; border-radius: 3px; background: linear-gradient(110deg, #B8893F, #F6DFA4 18%, #FFF7DE 26%, #D9AE5E 40%, #A9792F 55%, #EFD08D 70%, #FFF3D0 78%, #C99543 90%, #B8893F); background-size: 300% 100%; animation: goldFlow 7s linear infinite, goldGlow 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .trv-card { animation: none; } }
.trv-band { background: #55654A; color: #F3EDE0; }
.trv-band .eyebrow { color: #D9C9A3; }
.trv-h { color: #FAF5EA; margin: 14px 0 clamp(36px, 5vw, 56px); }
.trv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.trv-in { background: #FBF7EE; color: var(--ink); padding: 38px 36px 28px; display: flex; flex-direction: column; gap: 18px; border-radius: 2px; }
.trv-key { font-family: var(--f-display); font-style: italic; font-size: 24px; line-height: 1.35; color: #3E4A36; min-height: 2.7em; }
.trv-more { display: grid; gap: 12px; font-size: 16px; line-height: 1.65; color: var(--soft); max-height: 7.3em; overflow: hidden; position: relative; transition: max-height .5s ease; }
.trv-more::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3.2em; background: linear-gradient(rgba(251,247,238,0), #FBF7EE); transition: opacity .3s; pointer-events: none; }
.trv-more.open::after { opacity: 0; }
.trv-sign { display: block; margin-top: 14px; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: #9A7536; font-weight: 500; }
.trv-foot { display: flex; justify-content: flex-end; padding-top: 14px; border-top: 1px solid #E3D8C3; }
.trv-btn { background: none; border: 0; border-bottom: 1px solid #55654A; padding: 2px 0; color: #3E4A36; font: 600 14px var(--f-body); cursor: pointer; }
.trv-btn:focus-visible { outline: 2px solid #55654A; outline-offset: 3px; }
.trv-consent { color: #E7DEC9; }
.rev-band + .trv-band { margin-top: 0; }
@media (max-width: 900px) { .trv-grid { grid-template-columns: 1fr; } .trv-key { min-height: 0; font-size: 21px; } .trv-in { padding: 30px 22px 22px; } }

/* ===== 03.11.2026: сопровождение через изменения, «Тень», FAQ, отзывы ===== */
.fr-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fr-list li { position: relative; padding-left: 22px; font-size: 16.5px; line-height: 1.55; }
.fr-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1px; background: #D9C9A3; }
.band.euca .fr-list li { color: #EDEFE6; }
.band.euca .fr-list b { color: #FFFFFF; font-weight: 600; }
.fr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.fr-item { background: var(--milk); padding: 32px 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.band.sand .fr-item { background: #F3ECDF; }
.fr-n { font-family: var(--f-display); font-style: italic; font-size: 30px; line-height: 1; color: #B88A45; }
.fr-item h3 { font-size: 24px; line-height: 1.2; }
.fr-item p { font-size: 16px; color: var(--soft); }
@media (max-width: 900px) { .fr-grid { grid-template-columns: 1fr; } .fr-item { padding: 26px 22px; } }
.faq-list { display: grid; gap: 12px; max-width: 920px; }
.faq-acc .faq-q { text-transform: none; letter-spacing: 0; font-size: clamp(18px, 1.6vw, 21px); }
.faq-acc .uz-in a { color: var(--euca-d); }
.trv-all { text-align: center; margin-top: 14px; }
.trv-all a { color: #FAF5EA; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(250,245,234,.5); padding-bottom: 2px; }
.trv-all a:hover { color: #FFFFFF; border-color: #FFFFFF; }
@media (min-width: 901px) { .top .social { display: none; } }
.band.euca .pricebox a:not(.btn) { color: var(--ink); text-decoration: underline; }
@media (min-width: 901px) and (max-width: 1180px) { .nav { gap: 4px 15px; font-size: 13px; } }
.g3-nav { gap: 6px 26px !important; flex-wrap: nowrap; } .g3-nav a { font-size: 15px !important; white-space: nowrap; } @media (max-width: 1240px) { .g3-nav { gap: 6px 16px !important; } .g3-nav a { font-size: 13.5px !important; } }
@media (max-width: 1180px) { .g3-top .g3-nav { display: none; } }

/* 03.11.2026: фото у окна — справа на компьютере (на телефоне остаётся сверху) */
@media (min-width: 901px) { .pos .pos-photo { order: 2; } .pos .pos-text { order: 1; } }

/* 03.11.2026: анкета «Остались вопросы?» — прокручивается вся, до кнопки отправки */
.ask-panel { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ask-embed iframe { display: block; width: 100%; height: 1150px; border: 0; }
.ask-newtab { display: block; margin-top: 10px; font-size: 13.5px; color: var(--euca-d); text-decoration: underline; text-underline-offset: 3px; }

/* ===== 04.11.2026: «Как я могу тебе помочь?» — пять карточек ===== */
.hp-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.hp-card { grid-column: span 2; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 28px; background: #FFFDF8; border: 1px solid var(--line); border-radius: 6px; }
.hp-card:nth-child(4), .hp-card:nth-child(5) { grid-column: span 3; }
.hp-feat { background: var(--euca-d); border-color: var(--euca-d); color: var(--on); }
.hp-tag { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--euca); margin: 0; }
.hp-feat .hp-tag { color: #D9C9A3; }
.hp-t { font-family: var(--f-display); font-size: clamp(24px, 2.1vw, 29px); font-weight: 600; line-height: 1.12; margin: 0; }
.hp-t a { color: inherit; text-decoration: none; }
.hp-t a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hp-sub { margin: -4px 0 0; font-size: 15px; color: var(--soft); }
.hp-feat .hp-sub, .hp-feat dd { color: #E7EADF; }
.hp-dl { margin: 6px 0 0; display: flex; flex-direction: column; gap: 10px; }
.hp-dl div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding-top: 10px; border-top: 1px solid rgba(110, 128, 96, .22); }
.hp-feat .hp-dl div { border-top-color: rgba(246, 241, 232, .22); }
.hp-dl dt { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.hp-feat .hp-dl dt { color: #C9D2BC; }
.hp-dl dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.hp-price { margin: 8px 0 0; font-size: 15px; color: var(--soft); }
.hp-price b { font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--ink); margin-right: 4px; }
.hp-feat .hp-price, .hp-feat .hp-price b { color: var(--on); }
.hp-note { margin: 0; font-size: 14px; color: var(--euca-d); }
.hp-btn { margin-top: auto; align-self: flex-start; }
.hp-card .hp-price + .hp-btn, .hp-card .hp-note + .hp-btn { margin-top: 10px; }
.hp-card { justify-content: flex-start; } .hp-card .hp-btn { margin-top: auto; }
.hp-notice { max-width: 860px; }
@media (max-width: 1100px) { .hp-grid { grid-template-columns: 1fr 1fr; } .hp-card, .hp-card:nth-child(4), .hp-card:nth-child(5) { grid-column: auto; } .hp-card:nth-child(5) { grid-column: 1 / -1; } }
@media (max-width: 700px) { .hp-grid { grid-template-columns: 1fr; } .hp-card:nth-child(5) { grid-column: auto; } .hp-card { padding: 26px 22px; } .hp-dl div { grid-template-columns: 1fr; gap: 2px; } .hp-btn { align-self: stretch; text-align: center; } }

/* «Обо мне» на главной */
.about-mini { background: var(--milk); }
.am-facts { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.am-facts li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.am-facts b { font-family: var(--f-display); font-size: clamp(30px, 3vw, 40px); font-weight: 600; line-height: 1; color: var(--euca-d); }
.am-facts span { font-size: 14px; line-height: 1.4; color: var(--soft); }
.am-facts a { color: inherit; }
.am-more { font-size: 15.5px; color: var(--soft); }
@media (max-width: 700px) { .am-facts { grid-template-columns: 1fr 1fr; } }

/* Финальный блок */
.final-band { background: var(--sand); }
.final-in { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final-in .h-l { text-wrap: balance; }
.final-text { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--soft); max-width: 60ch; margin: 0; }
.final-alt { font-size: 15px; color: var(--soft); margin: 0; }
.final-alt a { color: var(--euca-d); }
@media (max-width: 700px) { .final-in .btn { width: 100%; } }

/* ===== Страница книги ===== */
.book-hero { padding-block: clamp(36px, 6vw, 80px); background: linear-gradient(180deg, #F3EBDA 0%, var(--milk) 100%); }
.book-hero-in { display: grid; grid-template-columns: minmax(260px, 440px) 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.book-cover { margin: 0; filter: drop-shadow(0 26px 40px rgba(80, 60, 20, .28)); }
.book-cover img { display: block; width: 100%; height: auto; }
.book-h { font-size: clamp(34px, 4vw, 56px); line-height: 1.06; text-wrap: balance; }
.book-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--soft); }
.book-meta li::before { content: "✦"; color: #C99543; margin-right: 8px; font-size: 11px; }
.book-quote-band { background: var(--euca-d); color: var(--on); padding-block: clamp(48px, 7vw, 96px); }
.book-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.book-quote blockquote { margin: 0; }
.book-quote p { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.35; margin: 0; }
.book-quote cite { display: block; margin-top: 18px; font-style: normal; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; color: #D9C9A3; }
.book-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.book-pages figure { margin: 0; }
.book-pages img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 14px 30px rgba(59, 70, 50, .14); }
.book-mini { display: block; max-width: 340px; filter: drop-shadow(0 20px 30px rgba(80, 60, 20, .25)); }
.book-mini img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .book-hero-in { grid-template-columns: 1fr; } .book-cover { max-width: 320px; margin: 0 auto; } .book-head .btn { width: 100%; } .book-mini { max-width: 260px; margin: 0 auto; } }

/* Видео YouTube: превью, плеер загружается по нажатию */
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.yt-grid-3 { grid-template-columns: repeat(3, 1fr); }
.yt { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.yt-frame { position: relative; padding: 1.5px; border-radius: 4px; background: linear-gradient(110deg, #B8893F, #F6DFA4 18%, #FFF7DE 26%, #D9AE5E 40%, #A9792F 55%, #EFD08D 70%, #FFF3D0 78%, #C99543 90%, #B8893F); background-size: 300% 100%; animation: goldFlow 7s linear infinite, goldGlow 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .yt-frame { animation: none; } }
.yt-play, .yt-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 3px; background: #2B3324; }
.yt-play { position: relative; padding: 0; cursor: pointer; overflow: hidden; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; transition: opacity .2s, transform .4s; }
.yt-play:hover img { opacity: 1; transform: scale(1.02); }
.yt-ico { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(246, 241, 232, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.yt-ico::after { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--euca-d); }
.yt figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.5; color: var(--soft); }
.yt figcaption b { font-family: var(--f-display); font-size: 21px; font-weight: 600; color: var(--ink); }
.yt figcaption a { font-size: 13.5px; color: var(--euca-d); }
.trv-band .yt figcaption, .trv-band .yt figcaption b { color: #F3EDE0; }
.trv-band .yt figcaption a { color: #E3D3A9; }
@media (max-width: 1000px) { .yt-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .yt-grid, .yt-grid-3 { grid-template-columns: 1fr; } }
.hp-dl div { grid-template-columns: 1fr; gap: 3px; }
.hp-feat .hp-dl dd { color: #EEF0E6; }
.hp-promo { display: block; margin-top: 4px; font-size: 14px; }
.nw { white-space: nowrap; } .final-in .h-l { max-width: 22ch; }
.yt-play { background: radial-gradient(120% 90% at 30% 20%, #6E8060 0%, #3B4632 60%, #2B3324 100%); }

/* ===== 04.11.2026: видеоотзывы с YouTube на странице «Отзывы» ===== */
.ytr-band { background: #F3EEE3; }
.ytr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 30px; }
.ytr { display: flex; flex-direction: column; gap: 16px; }
.ytr-t { display: flex; flex-direction: column; gap: 8px; }
.ytr-t h3 { font-family: var(--f-display); font-size: clamp(22px, 2vw, 27px); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
.ytr-t p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--soft); }
.ytr-t .ytr-who { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #A07A3C; font-weight: 600; }
.ytr-t a { font-size: 14px; font-weight: 600; color: var(--euca-d); margin-top: 2px; }
.ytr:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
@media (max-width: 800px) { .ytr-grid { grid-template-columns: 1fr; } .ytr:last-child:nth-child(odd) { display: flex; } }

/* ===== 04.11.2026: страница книги — своя палитра (шрифты сайта) ===== */
body:has(.bk-hero) { --bk-ink: #1B140D; --bk-brown: #2A1E12; --bk-gold: #D9A33A; --bk-gold-l: #F2CF7A; --bk-cream: #FBF3E1; --bk-ochre: #E2AA3E; background: var(--bk-cream); }
body:has(.bk-hero) .top { background: rgba(27, 20, 13, .96); border-bottom-color: rgba(217, 163, 58, .25); }
body:has(.bk-hero) .top .logo, body:has(.bk-hero) .top .nav a, body:has(.bk-hero) .top .social a, body:has(.bk-hero) .top .menu summary { color: #F3E3BD; }
body:has(.bk-hero) .top .logo small { color: var(--bk-gold); }
body:has(.bk-hero) .top .nav a[aria-current] { color: var(--bk-gold-l); border-color: var(--bk-gold); }
body:has(.bk-hero) .foot { background: var(--bk-ink); color: #E9D9B6; }
body:has(.bk-hero) .foot a { color: #F3E3BD; }
body:has(.bk-hero) .ask-fab { background: var(--bk-gold); color: var(--bk-ink); }
.bk-eyebrow { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--bk-gold); }
.bk-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; margin: 0; text-wrap: balance; }
.bk-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 999px; background: linear-gradient(135deg, #F2CF7A, #D9A33A 55%, #B9832A); color: #1B140D; font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: 0 8px 24px rgba(217, 163, 58, .35); transition: transform .2s, box-shadow .2s; }
.bk-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217, 163, 58, .5); }
.bk-ghost { background: transparent; color: #F3E3BD; border: 1px solid rgba(242, 207, 122, .6); box-shadow: none; }
.bk-ghost:hover { background: rgba(242, 207, 122, .1); box-shadow: none; }
.bk-btn-dark { background: var(--bk-ink); color: var(--bk-gold-l); box-shadow: 0 8px 24px rgba(27, 20, 13, .25); }
.bk-ghost-dark { background: transparent; color: var(--bk-ink); border: 1px solid rgba(27, 20, 13, .45); box-shadow: none; }

/* Первый экран: тёмный фон и золотое сияние, как на обложке */
.bk-hero { position: relative; overflow: hidden; color: #F3E3BD; padding-block: clamp(48px, 7vw, 104px); background: radial-gradient(60% 80% at 22% 45%, rgba(226, 170, 62, .38) 0%, rgba(226, 170, 62, .08) 45%, transparent 70%), linear-gradient(160deg, #241A10 0%, #15100A 100%); }
.bk-hero-in { display: grid; grid-template-columns: minmax(260px, 430px) 1fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.bk-cover { position: relative; margin: 0; }
.bk-rays { position: absolute; inset: -38%; z-index: 0; background: repeating-conic-gradient(from 0deg, rgba(242, 207, 122, .16) 0deg 3deg, transparent 3deg 12deg); -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: bkSpin 90s linear infinite; }
@keyframes bkSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bk-rays { animation: none; } }
.bk-cover img { position: relative; z-index: 1; display: block; width: 100%; height: auto; transform: rotate(-2deg); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(226, 170, 62, .35)); }
.bk-head { display: flex; flex-direction: column; gap: 20px; }
.bk-h { font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; margin: 0; color: #FBEBC5; text-wrap: balance; }
.bk-h span { display: block; font-style: italic; font-weight: 500; background: linear-gradient(90deg, #F2CF7A, #D9A33A 60%, #F6DFA4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bk-lead { margin: 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: #E5D3AE; max-width: 46ch; }
.bk-meta { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: #CDB98F; }
.bk-meta li::before { content: "✦"; color: var(--bk-gold); margin-right: 8px; font-size: 10px; }
.bk-price { display: flex; align-items: baseline; gap: 12px; padding-top: 6px; }
.bk-price b { font-family: var(--f-display); font-size: clamp(36px, 3.4vw, 48px); font-weight: 600; color: var(--bk-gold-l); }
.bk-price span { font-size: 14px; color: #CDB98F; }

/* Цитата: охристая полоса, как цвет обложки */
.bk-quote-band { position: relative; padding-block: clamp(56px, 8vw, 110px); background: linear-gradient(135deg, #EDBB55 0%, #E2AA3E 45%, #CF9330 100%); color: var(--bk-ink); overflow: hidden; }
.bk-quote { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.bk-qm { position: absolute; left: 50%; top: -0.42em; transform: translateX(-50%); font-family: var(--f-display); font-size: 220px; line-height: 1; color: rgba(27, 20, 13, .12); pointer-events: none; }
.bk-quote blockquote { margin: 0; position: relative; }
.bk-quote p { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(23px, 2.5vw, 34px); line-height: 1.38; }
.bk-quote cite { display: block; margin-top: 20px; font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(27, 20, 13, .7); }

/* Бумажные секции */
.bk-paper { background: var(--bk-cream); color: var(--bk-brown); padding-block: clamp(64px, 8vw, 112px); }
.bk-paper-2 { background: #F4E6C6; }
.bk-about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.bk-pages { position: relative; height: clamp(360px, 38vw, 520px); }
.bk-pages figure { position: absolute; margin: 0; width: 58%; }
.bk-pages img { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 22px 44px rgba(42, 30, 18, .25); }
.bk-p1 { left: 0; top: 6%; transform: rotate(-5deg); z-index: 1; }
.bk-p2 { right: 0; top: 0; transform: rotate(3deg); z-index: 2; }
.bk-letter { display: flex; flex-direction: column; gap: 18px; max-width: 56ch; }
.bk-letter p { margin: 0; font-size: 17px; line-height: 1.7; color: #4A3A26; }
.bk-letter .bk-eyebrow { color: #A97A22; }
.bk-key { font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 31px) !important; line-height: 1.3 !important; color: var(--bk-ink) !important; }
.bk-sign { font-family: var(--f-display); font-style: italic; font-size: 22px !important; color: #A97A22 !important; padding-left: 18px; border-left: 2px solid var(--bk-gold); }
.bk-sec-head { display: flex; flex-direction: column; gap: 14px; }
.bk-paper .bk-eyebrow { color: #A97A22; }
.bk-paper .bk-h2 { color: var(--bk-ink); }
.bk-consent { margin: 0; text-align: center; font-size: 13px; color: #7A6440; }

/* Тёмная секция с видео */
.bk-dark { background: linear-gradient(180deg, #1E160D, #15100A); color: #F3E3BD; padding-block: clamp(64px, 8vw, 112px); }
.bk-dark .bk-h2 { color: #FBEBC5; }
.bk-dark .yt figcaption, .bk-dark .yt figcaption span { color: #D8C59D; }
.bk-dark .yt figcaption b { color: #FBEBC5; }
.bk-dark .yt figcaption a { color: var(--bk-gold-l); }
.bk-paper .yt figcaption b { color: var(--bk-ink); }
.bk-paper .yt figcaption a { color: #A97A22; }
body:has(.bk-hero) .yt-play { background: radial-gradient(120% 90% at 30% 20%, #6B4E1E 0%, #2A1E12 60%, #15100A 100%); }
body:has(.bk-hero) .yt-ico::after { border-left-color: #8A5F14; }

/* Заказ книги */
.bk-order-band { background: var(--bk-ink); padding-block: clamp(56px, 7vw, 100px); }
.bk-order { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: 10px; background: linear-gradient(160deg, #2D2114, #1E160D); border: 1px solid rgba(217, 163, 58, .45); box-shadow: inset 0 0 0 6px #1B140D, inset 0 0 0 7px rgba(217, 163, 58, .25), 0 0 60px rgba(226, 170, 62, .12); color: #F3E3BD; }
.bk-order-img { width: 100%; height: auto; display: block; transform: rotate(-3deg); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .5)); }
.bk-order-text { display: flex; flex-direction: column; gap: 16px; }
.bk-order .bk-h2 { font-size: clamp(26px, 2.6vw, 38px); color: #FBEBC5; }
.bk-order-price { margin: 0; font-size: 16px; color: #D8C59D; }
.bk-order-price b { font-family: var(--f-display); font-size: clamp(40px, 4vw, 56px); font-weight: 600; color: var(--bk-gold-l); margin-right: 10px; }
.bk-order-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: #E5D3AE; }
.bk-order-list li::before { content: "✦"; color: var(--bk-gold); margin-right: 10px; font-size: 11px; }
.bk-order-note { margin: 0; font-size: 14px; color: #B9A57C; }
.bk-final { background: #F4E6C6; }
.bk-final .final-text, .bk-final .final-alt { color: #5A4830; }
.bk-final .final-alt a { color: #8A5F14; }

@media (max-width: 900px) {
  .bk-hero-in, .bk-about { grid-template-columns: 1fr; }
  .bk-cover { max-width: 300px; margin: 0 auto; }
  .bk-head .btns .bk-btn { width: 100%; }
  .bk-pages { height: 400px; max-width: 420px; margin: 0 auto; width: 100%; }
  .bk-order { grid-template-columns: 1fr; text-align: left; }
  .bk-order-img { max-width: 200px; margin: 0 auto; }
  .bk-order .bk-btn, .bk-final .bk-btn { width: 100%; }
  .bk-qm { font-size: 150px; }
}
@media (max-width: 480px) { .bk-pages { height: 320px; } }
body:has(.bk-hero) footer.foot { background: #1B140D !important; color: #E9D9B6 !important; border-top: 1px solid rgba(217,163,58,.25) !important; } body:has(.bk-hero) footer.foot a { color: #F3E3BD !important; }

/* ===== 04.11.2026 (2): плотнее, ровнее ===== */
.band { padding-block: clamp(56px, 6.5vw, 88px); }
@media (max-width: 900px) { .band { padding-block: 48px; } }
.stack { gap: 16px; }
.rev-band { padding-block: clamp(48px, 5.5vw, 72px); }
.rev-head { margin-bottom: 8px; }
.rev-slide { padding: 14px 4px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rev-text { gap: 12px; }
.rev-text p { line-height: 1.6; }
/* чередование фонов, чтобы одинаковые блоки не сливались в пустоту */
#formats { background: var(--milk); }
.about-mini { background: #EEE6D8; }
.ytm-band { background: var(--milk); }
#formats .wrap > .notice, .hp-notice { max-width: none; width: 100%; }
.hp-notice .notice { max-width: none; }

/* «Как я могу тебе помочь?» — список с плюсом */
.fm-list { display: flex; flex-direction: column; gap: 10px; }
.fm { background: #FFFDF8; border: 1px solid var(--line); border-radius: 8px; transition: border-color .25s, box-shadow .25s; }
.fm:hover { border-color: var(--euca-l); }
.fm[open] { box-shadow: 0 14px 34px rgba(59, 70, 50, .10); border-color: var(--euca-l); }
.fm summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px 1fr auto 22px; align-items: center; gap: 20px; padding: 22px 26px; -webkit-tap-highlight-color: transparent; }
.fm summary::-webkit-details-marker { display: none; }
.fm summary:focus-visible { outline: 2px solid var(--euca); outline-offset: 2px; border-radius: 8px; }
.fm-n { font-family: var(--f-display); font-size: 26px; color: var(--euca-l); }
.fm-head { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fm-tag { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--euca); }
.fm-t { font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 26px); font-weight: 600; line-height: 1.15; color: var(--ink); }
.fm-sub { font-size: 14.5px; color: var(--soft); }
.fm-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.fm-meta b { font-family: var(--f-display); font-size: 24px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.fm-meta span { font-size: 13.5px; color: var(--soft); white-space: nowrap; }
.fm[open] .uz-pm::after { transform: rotate(0deg); }
.fm-body { padding: 0 26px 26px 90px; display: flex; flex-direction: column; gap: 18px; }
.fm-dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 28px; padding-top: 18px; border-top: 1px solid rgba(110, 128, 96, .22); }
.fm-dl dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.fm-dl dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.fm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.fm-foot .hp-promo { display: inline; margin: 0; font-size: 14.5px; color: var(--euca-d); font-weight: 600; }
.fm-note { margin: 0; font-size: 14.5px; color: var(--soft); }
.fm-foot .btn { margin-left: auto; }
.fm-feat { background: var(--euca-d); border-color: var(--euca-d); color: var(--on); }
.fm-feat .fm-t, .fm-feat .fm-meta b { color: #FFFDF8; }
.fm-feat .fm-tag { color: #D9C9A3; } .fm-feat .fm-n { color: #A9B79A; }
.fm-feat .fm-sub, .fm-feat .fm-meta span, .fm-feat .fm-dl dd { color: #E7EADF; }
.fm-feat .fm-dl { border-top-color: rgba(246, 241, 232, .22); } .fm-feat .fm-dl dt { color: #C9D2BC; }
.fm-feat .uz-pm::before, .fm-feat .uz-pm::after { background: #F6F1E8; }
@media (max-width: 800px) {
  .fm summary { grid-template-columns: 1fr 22px; gap: 12px; padding: 18px 18px; }
  .fm-n { display: none; }
  .fm-meta { grid-column: 1; grid-row: 2; flex-direction: row; align-items: baseline; gap: 10px; text-align: left; }
  .fm-meta b { font-size: 21px; }
  .fm summary .uz-pm { grid-column: 2; grid-row: 1 / span 2; }
  .fm-body { padding: 0 18px 20px; }
  .fm-dl { grid-template-columns: 1fr; gap: 12px; }
  .fm-foot .btn { margin-left: 0; width: 100%; text-align: center; }
}

/* Видеоотзывы на главной */
.ytm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.ytm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ytm { display: flex; flex-direction: column; gap: 6px; }
.ytm .yt-frame { margin-bottom: 8px; }
.ytm-w { margin: 0; font-family: var(--f-display); font-size: 19px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.ytm-t { margin: 0; font-size: 14.5px; line-height: 1.45; color: var(--soft); }
@media (max-width: 1000px) { .ytm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ytm-grid { grid-template-columns: 1fr; } .ytm-head .btn { width: 100%; } }

/* Сотрудничество */
.foot-coop { width: 100%; font-size: 13px; }
.coop-note { margin: 8px 0 0; padding: 14px 18px; border: 1px dashed var(--line); font-size: 15px; color: var(--soft); }
.coop-note a { color: var(--euca-d); }
.rev-slide { align-items: center; } .final-in .h-l { max-width: 26ch; }

/* ===== 04.11.2026: страница «Диагностика» — вариант А «Сад» (из diag-final.css) ===== */
/* 04.11.2026 — «Диагностика», финальный вариант А «Сад». Шрифты сайта. */
.dvf { --milk: #FAF6EF; --cream: #F5EEE3; --beige: #EDE3D4; --powder: #EBD8D0; --wine: #5B1F27; --wine-d: #43161C; --text: #2F2723; --soft3: #5F5550; --line2: #E3D7C6; --gold3: #A8834F; background: var(--milk); color: var(--text); }
.dvf .wrap { max-width: 1180px; }
.f-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--gold3); }
.f-h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 4.6vw, 64px); line-height: 1.05; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
.f-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.1; margin: 0 0 28px; text-wrap: balance; }
.f-lead { margin: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--soft3); max-width: 50ch; }
.f-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.f-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--wine); border: 1px solid var(--wine); color: #FBF4EA; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 2px; transition: background .2s, color .2s; cursor: pointer; }
.f-btn:hover { background: var(--wine-d); }
.f-ghost { background: transparent; color: var(--wine); }
.f-ghost:hover { background: rgba(91, 31, 39, .06); color: var(--wine-d); }
.f-sec { padding-block: clamp(56px, 6.5vw, 88px); }
.f-beige { background: var(--beige); }
.f-milk2 { background: var(--cream); }

/* Первый экран */
.f-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--milk); }
.f-hero-text { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(40px, 5vw, 80px) clamp(24px, 5vw, 72px) clamp(40px, 5vw, 80px) max(24px, calc((100vw - 1180px) / 2 + 24px)); }
.f-terms { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; padding-top: 18px; border-top: 1px solid var(--line2); font-size: 15px; font-weight: 600; color: var(--text); }
.f-terms span + span::before { content: "·"; margin: 0 12px; color: var(--gold3); }
.f-price-line { margin: -4px 0 0; font-size: 14.5px; color: var(--soft3); }
.f-promo { color: var(--wine); }
.f-hero-photo { margin: 0; position: relative; min-height: 560px; }
.f-hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }

/* Ценность */
.f-why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.f-why .f-h2 { margin: 0; font-size: clamp(32px, 3.6vw, 50px); }
.f-text p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.7; color: var(--soft3); }
.f-accent { margin-top: 22px !important; padding: 4px 0 4px 22px; border-left: 2px solid var(--wine); font-family: var(--f-display); font-size: 21px !important; line-height: 1.45 !important; color: var(--wine) !important; }

/* Узнаёшь свой вопрос? */
.f-with { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.f-with li { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; background: #FFFCF7; border: 1px solid var(--line2); border-radius: 4px; transition: border-color .25s, transform .25s, box-shadow .25s; }
.f-with li:hover { border-color: #D7B9AE; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(91, 31, 39, .06); }
.f-with span { font-family: var(--f-display); font-size: 22px; color: var(--gold3); line-height: 1; }
.f-with p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--text); }
.f-more { margin: 22px 0 0; font-size: 15.5px; color: var(--soft3); }
.f-more a { color: var(--wine); font-weight: 600; }

/* Четыре шага */
.f-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.f-steps li { position: relative; padding: 30px 28px 0 0; border-top: 1px solid var(--wine); }
.f-dot { position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--wine); }
.f-n { font-family: var(--f-display); font-size: 40px; line-height: 1; color: #D9C2B8; }
.f-steps h3 { font-family: var(--f-display); font-size: 24px; margin: 10px 0 8px; }
.f-steps p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--soft3); }

/* Результаты */
.f-res { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.f-res-photo { margin: 0; }
.f-res-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 55%; border-radius: 2px; }
.f-res-photo figcaption { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--soft3); }
.f-res-photo figcaption b { font-family: var(--f-display); font-size: 18px; color: var(--text); }
.f-res-photo figcaption a { color: var(--wine); font-weight: 600; white-space: nowrap; }
.f-res-text { display: flex; flex-direction: column; gap: 26px; }
.f-dots, .f-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.f-dots li { position: relative; padding-left: 22px; font-size: 17px; line-height: 1.5; }
.f-dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold3); }
.f-leave { padding: 28px 30px; background: #FFFCF7; border: 1px solid var(--line2); border-top: 3px solid var(--wine); }
.f-leave .f-eyebrow { color: var(--wine); }
.f-ticks li { position: relative; padding-left: 30px; font-size: 17.5px; line-height: 1.5; font-weight: 500; }
.f-ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 2px solid var(--wine); border-bottom: 2px solid var(--wine); transform: rotate(-45deg); }
.f-small { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--soft3); font-style: italic; }

/* Запись и оплата */
.f-book { display: grid; grid-template-columns: 1fr 430px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.f-book-steps { list-style: none; margin: 0 0 24px; padding: 0; counter-reset: b; display: flex; flex-direction: column; gap: 16px; }
.f-book-steps li { counter-increment: b; position: relative; padding-left: 52px; display: flex; flex-direction: column; gap: 2px; }
.f-book-steps li::before { content: counter(b); position: absolute; left: 0; top: 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--powder); color: var(--wine); font-family: var(--f-display); font-size: 17px; font-weight: 600; }
.f-book-steps b { font-size: 17px; color: var(--text); }
.f-book-steps span { font-size: 16px; line-height: 1.55; color: var(--soft3); }
.f-btns-s .f-btn { min-height: 46px; padding: 0 20px; font-size: 14.5px; }
.f-notice { margin-top: 26px; padding: 18px 22px; background: rgba(255, 252, 247, .6); border-left: 2px solid var(--gold3); font-size: 15px; line-height: 1.6; color: var(--soft3); }
.f-notice p { margin: 0; }
.f-notice-t { margin-bottom: 6px !important; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold3); }
.f-pay { position: sticky; top: 96px; background: #FFFCF7; border: 1px solid var(--line2); padding: 32px 30px 28px; box-shadow: 0 18px 44px rgba(67, 22, 28, .08); }
.f-pay-label { margin: 0 0 6px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft3); }
.f-pay .price-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.f-pay .price-now { font-family: var(--f-display); font-size: 52px; font-weight: 600; color: var(--wine); }
.f-pay .price-old { text-decoration: line-through; color: #9A8F88; font-size: 22px; }
.f-pay .price-note { margin: 2px 0 14px; font-size: 14px; color: var(--soft3); }
.f-offer { margin: 0 0 16px; padding: 14px 16px; background: var(--powder); border-radius: 3px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.f-offer b { color: var(--wine); }
.f-offer a { color: var(--wine); }
.f-pay .promo { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; }
.f-pay .promo label { grid-column: 1 / -1; font-size: 13px; color: var(--soft3); }
.f-pay .promo input { height: 48px; padding: 0 14px; border: 1px solid #D9CBB6; background: #fff; font: inherit; font-size: 16px; }
.f-pay .promo button { height: 48px; padding: 0 18px; border: 1px solid var(--wine); background: transparent; color: var(--wine); font: inherit; font-weight: 600; cursor: pointer; }
.f-pay .promo-msg { min-height: 1.3em; margin: 8px 0 10px; font-size: 14px; }
.f-pay .promo-msg.ok { color: #4C583C; } .f-pay .promo-msg.err { color: #9A4B3C; }
.f-pay-btns { display: flex; flex-direction: column; gap: 10px; }
.f-pay-btns .f-btn { width: 100%; }
.f-pay-after { margin: 14px 0 0; font-size: 14px; line-height: 1.55; color: var(--soft3); }
.f-pay-after a { color: var(--wine); font-weight: 600; }

/* Вопросы */
.f-faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(28px, 6vw, 96px); }
.f-faq { border-top: 1px solid var(--line2); }
.f-faq:last-child { border-bottom: 1px solid var(--line2); }
.f-faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-family: var(--f-display); font-size: clamp(19px, 1.55vw, 22px); font-weight: 600; line-height: 1.3; }
.f-faq summary::-webkit-details-marker { display: none; }
.f-pm { position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px; }
.f-pm::before, .f-pm::after { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 1.5px; background: var(--wine); transition: transform .25s; }
.f-pm::after { transform: rotate(90deg); }
.f-faq[open] .f-pm::after { transform: rotate(0); }
.f-faq p { margin: 0 0 20px; font-size: 16.5px; line-height: 1.65; color: var(--soft3); max-width: 64ch; }
.f-faq a { color: var(--wine); }

/* Финал */
.f-end { background: var(--powder); }
.f-ask { display: grid; grid-template-columns: 1.2fr auto; gap: 28px 48px; align-items: center; }
.f-ask p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--soft3); max-width: 52ch; }

/* Телефон и планшет */
@media (max-width: 960px) {
  .f-hero { grid-template-columns: 1fr; }
  .f-hero-photo { order: -1; min-height: 0; aspect-ratio: 4 / 5; }
  .f-hero-photo img { object-position: 50% 80%; }
  .f-hero-text { padding: 28px 20px 40px; gap: 18px; }
  .f-why, .f-res, .f-book, .f-faq-wrap, .f-ask { grid-template-columns: 1fr; }
  .f-with { grid-template-columns: 1fr 1fr; }
  .f-steps { grid-template-columns: 1fr; border-left: 1px solid var(--wine); margin-left: 5px; }
  .f-steps li { border-top: 0; padding: 0 0 28px 28px; }
  .f-steps li:last-child { padding-bottom: 0; }
  .f-dot { top: 6px; left: -6px; }
  .f-n { font-size: 30px; }
  .f-res-photo { max-width: 420px; }
  .f-pay { position: static; }
}
@media (max-width: 600px) {
  .f-with { grid-template-columns: 1fr; }
  .f-with li { flex-direction: row; align-items: baseline; gap: 14px; padding: 18px 18px; }
  .f-btns .f-btn { width: 100%; }
  .f-terms { font-size: 14.5px; }
  .f-leave { padding: 22px 20px; }
  .f-pay { padding: 26px 20px 22px; margin-inline: -4px; }
  .f-pay .price-now { font-size: 46px; }
}
.f-pay .price-note { display: none; }
@media (min-width: 961px) { .f-hero { grid-template-columns: 1.08fr .92fr; } .f-h1 { font-size: clamp(38px, 4vw, 58px); } .f-btns .f-btn { flex: 0 0 auto; } }
@media (max-width: 600px) {
  .f-terms { gap: 8px; border-top: 0; padding-top: 4px; }
  .f-terms span { padding: 7px 12px; background: #FFFCF7; border: 1px solid var(--line2); border-radius: 999px; font-size: 14px; }
  .f-terms span + span::before { content: none; }
}
/* 04.11 13:00: карточки «Узнаёшь себя?» одной высоты, без дыр в сетке */ @media (min-width: 901px) { .uz-accs .uz-acc summary { min-height: 84px; } } @media (min-width: 1100px) { .uz-accs .uz-acc summary { min-height: 90px; } }
/* 04.11 13:15: девятый пункт — на всю ширину, чтобы не стоял без пары */ @media (min-width: 901px) { .uz-accs .uz-acc:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* 04.11 13:30: «Диагностика» по финальному ТЗ — цена без рекламы скидки, видеоотзывы */
.f-cost { margin: -6px 0 0; font-family: var(--f-display); font-size: 30px; font-weight: 600; color: var(--wine); line-height: 1; }
.f-pay-title { margin: 0 0 4px; font-family: var(--f-display); font-size: 26px; font-weight: 600; color: var(--text); }
.f-pay .price-note { display: block; margin: 6px 0 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.f-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f-pay .promo { grid-template-columns: 1fr auto; }
.f-video { background: var(--milk); }
.f-video-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.f-video .ytm-w { color: var(--text); } .f-video .ytm-t { color: var(--soft3); }
.f-consent { margin: 22px 0 0; font-size: 13px; color: var(--soft3); }
@media (max-width: 600px) { .f-video-head .f-btn { width: 100%; } .f-cost { font-size: 26px; } }
.f-eyebrow { font-weight: 500; letter-spacing: .3em; }

/* 04.11 13:30: блок видеоотзывов на «Диагностике» */
.f-video-head { display: block; margin-bottom: 30px; }
.f-video-head .f-h2 { margin: 0 0 10px; }
.f-video-sub { margin: 0; font-size: 17px; line-height: 1.6; color: var(--soft3); max-width: 56ch; }
.f-vgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.f-vcard { display: flex; flex-direction: column; background: #FFFCF7; border: 1px solid var(--line2); border-radius: 4px; overflow: hidden; }
.f-vframe .yt-play, .f-vframe iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0; }
.f-vframe .yt-play { background: radial-gradient(120% 90% at 30% 20%, #8E7A66 0%, #5B4A3C 60%, #3E3129 100%); }
.f-vtext { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.f-vwho { margin: 0; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold3); }
.f-vtext h3 { margin: 0; font-family: var(--f-display); font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--text); }
.f-vtext p:not(.f-vwho) { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--soft3); }
.f-vtext a { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--wine); }
.f-video-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 26px; }
.f-video-foot .f-consent { margin: 0; }
@media (max-width: 960px) { .f-vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .f-vgrid { grid-template-columns: 1fr; } .f-vcard:last-child { grid-column: auto; } .f-video-foot .f-btn { width: 100%; } }
@media (min-width: 641px) and (max-width: 960px) { .f-vcard:last-child { display: grid; grid-template-columns: 1fr 1fr; } .f-vcard:last-child .f-vframe { align-self: center; } }
.f-res-photo img { object-position: 50% 20%; }

/* 04.11 17:00: цены в евро и долларах */
.fm-meta .fm-fx { font-size: 12.5px; color: var(--soft); letter-spacing: .02em; }
.fm-feat .fm-meta .fm-fx { color: #D9DFCF; }
.price-fx { display: block; font-family: var(--f-body); font-size: 14px; font-weight: 500; opacity: .85; margin-top: 4px; }
.f-fx { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--soft3); margin-left: 6px; }
.f-pay-fx { margin: 2px 0 0 !important; font-size: 13.5px; color: var(--soft3); }
@media (max-width: 800px) { .fm-meta .fm-fx { order: 3; } }


/* ===== 04.11.2026: «Обо мне» — редакционная версия (палитра «Сад» + камень) ===== */
.abp { --milk: #FAF6EF; --cream: #F5EEE3; --stone: #ECE6DC; --wine: #5B1F27; --wine-d: #43161C; --text: #2F2723; --soft3: #5F5550; --line2: #E1D7C8; --gold3: #A8834F; background: var(--milk); color: var(--text); }
.abp .wrap { max-width: 1180px; }
.ab-eyebrow { margin: 0 0 12px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; color: var(--gold3); }
.ab-h1 { font-family: var(--f-display); font-weight: 600; font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.01em; margin: 0; }
.ab-h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; margin: 0 0 26px; text-wrap: balance; }
.ab-sec { padding-block: clamp(56px, 6.5vw, 88px); }
.ab-cream { background: var(--cream); }
.ab-stone { background: var(--stone); }
.ab-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; background: var(--wine); border: 1px solid var(--wine); color: #FBF4EA; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 2px; transition: background .2s; }
.ab-btn:hover { background: var(--wine-d); }
.ab-ghost { background: transparent; color: var(--wine); }
.ab-ghost:hover { background: rgba(91, 31, 39, .06); }
.ab-link { font-size: 15px; font-weight: 600; color: var(--wine); }
.abp p { margin: 0; }

/* Первый экран */
.ab-hero { padding-block: clamp(36px, 5vw, 72px); background: linear-gradient(90deg, var(--milk) 0%, var(--milk) 55%, var(--stone) 55%, var(--stone) 100%); }
.ab-hero-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ab-hero-text { display: flex; flex-direction: column; gap: 18px; }
.ab-role { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2vw, 28px); color: var(--wine); margin-top: -4px !important; }
.ab-lead { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.65; color: var(--soft3); max-width: 48ch; }
.ab-quote { padding-left: 20px; border-left: 2px solid var(--wine); font-family: var(--f-display); font-size: 21px; line-height: 1.45; color: var(--text); max-width: 42ch; }
.ab-hero-photo { margin: 0; }
.ab-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5.2; object-fit: cover; object-position: 50% 30%; box-shadow: 0 24px 50px rgba(47, 39, 35, .12); }

/* Философия */
.ab-phil { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.ab-phil .ab-h2 { margin: 0; font-size: clamp(32px, 3.8vw, 52px); }
.ab-text { display: flex; flex-direction: column; gap: 14px; }
.ab-text p { font-size: 17.5px; line-height: 1.7; color: var(--soft3); }
.ab-accent { font-family: var(--f-display); font-size: 24px !important; line-height: 1.35 !important; color: var(--wine) !important; padding: 6px 0; }

/* Подход */
.ab-approach { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ab-approach li { padding: 26px 32px 6px 0; border-top: 1px solid var(--wine); }
.ab-approach li + li { padding-left: 32px; border-left: 1px solid var(--line2); }
.ab-n { font-family: var(--f-display); font-size: 40px; line-height: 1; color: #D9C2B8; }
.ab-approach h3 { font-family: var(--f-display); font-size: 24px; font-weight: 600; margin: 12px 0 10px; }
.ab-approach p { font-size: 16.5px; line-height: 1.6; color: var(--soft3); }

/* Опыт */
.ab-nums { list-style: none; margin: 0 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ab-nums li { display: flex; flex-direction: column; gap: 6px; padding: 8px 24px 8px 0; }
.ab-nums li + li { padding-left: 32px; border-left: 1px solid #D6CBB8; }
.ab-nums b { font-family: var(--f-display); font-size: clamp(54px, 6vw, 84px); font-weight: 600; line-height: .95; color: var(--wine); }
.ab-nums span { font-size: 16px; color: var(--soft3); }
.ab-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; border-top: 1px solid #D6CBB8; }
.ab-facts li { padding-top: 20px; display: flex; flex-direction: column; gap: 6px; }
.ab-facts b { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold3); font-weight: 600; }
.ab-facts span { font-size: 16.5px; line-height: 1.55; color: var(--text); }
.ab-facts a { color: var(--wine); }

/* Образование */
.ab-edu { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.ab-edu-head { display: flex; flex-direction: column; gap: 14px; }
.ab-edu-head .ab-h2 { margin-bottom: 6px; }
.ab-edu-head p:not(.ab-eyebrow) { font-size: 17px; line-height: 1.7; color: var(--soft3); }
.ab-docs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ab-docs .doc { display: flex; flex-direction: column; gap: 14px; background: #FFFCF7; border: 1px solid var(--line2); padding: 16px; }
.ab-docs .doc-img { display: block; padding: 0; border: 0; background: var(--stone); cursor: zoom-in; }
.ab-docs .doc-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.ab-doc-t h3 { font-family: var(--f-display); font-size: 19px; font-weight: 600; margin: 0 0 4px; }
.ab-doc-t p { font-size: 15px; color: var(--soft3); }
.ab-doc-m { font-size: 13.5px !important; margin-top: 4px !important; }
.ab-doc-t .doc-open { margin-top: 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--wine); text-decoration: underline; cursor: pointer; }

/* История */
.ab-story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ab-story-photo { margin: 0; }
.ab-story-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%; }
.ab-story-text { display: flex; flex-direction: column; gap: 12px; }
.ab-story-text .ab-h2 { margin-bottom: 8px; }
.ab-part { margin-top: 10px !important; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--wine); }
.ab-story-text p:not(.ab-eyebrow):not(.ab-part) { font-size: 17px; line-height: 1.7; color: var(--soft3); }

/* Проекты */
.ab-projects { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.ab-book { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 30px; background: var(--cream); }
.ab-book-img img { display: block; width: 100%; height: auto; box-shadow: 0 16px 30px rgba(47, 39, 35, .18); }
.ab-book h3, .ab-proj h3 { font-family: var(--f-display); font-size: 23px; font-weight: 600; line-height: 1.2; margin: 0 0 10px; }
.ab-book p:not(.ab-eyebrow), .ab-proj p:not(.ab-eyebrow) { font-size: 16px; line-height: 1.6; color: var(--soft3); margin-bottom: 14px; }
.ab-proj-side { display: grid; gap: 22px; }
.ab-proj { padding: 28px 30px; border: 1px solid var(--line2); background: #FFFCF7; }
.ab-proj .ab-btn { min-height: 46px; padding: 0 20px; font-size: 14.5px; }

/* Видеоотзывы */
.ab-vgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ab-vcard { display: flex; flex-direction: column; background: #FFFCF7; border: 1px solid var(--line2); overflow: hidden; }
.ab-vframe .yt-play, .ab-vframe iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 0; }
.ab-vframe .yt-play { background: radial-gradient(120% 90% at 30% 20%, #8E7A66 0%, #5B4A3C 60%, #3E3129 100%); }
.ab-vtext { padding: 20px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ab-vwho { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold3); }
.ab-vtext h3 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.2; }
.ab-vtext p:not(.ab-vwho) { font-size: 15.5px; line-height: 1.6; color: var(--soft3); }
.ab-vtext a { margin-top: auto; padding-top: 6px; font-size: 14px; font-weight: 600; color: var(--wine); }
.ab-vfoot { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-top: 26px; }
.ab-vfoot p { font-size: 13px; color: var(--soft3); }

/* Финал */
.ab-end { background: var(--cream); }
.ab-end-in { max-width: 760px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ab-end-in .ab-h2 { margin: 0; }
.ab-end-in p { font-size: 17.5px; line-height: 1.65; color: var(--soft3); }
.ab-end-in .ab-btns { justify-content: center; margin-top: 6px; }

/* Планшет и телефон */
@media (max-width: 960px) {
  .ab-hero { background: var(--milk); }
  .ab-hero-in, .ab-phil, .ab-edu, .ab-story, .ab-projects { grid-template-columns: 1fr; }
  .ab-hero-photo { order: -1; }
  .ab-hero-photo img { aspect-ratio: 4 / 4.6; object-position: 50% 28%; }
  .ab-approach, .ab-nums, .ab-facts { grid-template-columns: 1fr; }
  .ab-approach li, .ab-approach li + li { padding: 22px 0 18px; border-left: 0; }
  .ab-approach li + li { border-top: 1px solid var(--line2); }
  .ab-nums li, .ab-nums li + li { padding: 14px 0; border-left: 0; border-top: 1px solid #D6CBB8; flex-direction: row; align-items: baseline; gap: 16px; }
  .ab-nums b { min-width: 2.6em; }
  .ab-facts li { padding: 16px 0; }
  .ab-facts li + li { border-top: 1px solid #D6CBB8; }
  .ab-story-photo { max-width: 460px; }
}
@media (max-width: 640px) {
  .ab-docs, .ab-vgrid { grid-template-columns: 1fr; }
  .ab-book { grid-template-columns: 110px 1fr; gap: 18px; padding: 20px; }
  .ab-btns .ab-btn, .ab-vfoot .ab-btn, .ab-proj .ab-btn { width: 100%; }
  .ab-nums b { font-size: 48px; }
}
.ab-story-photo img { object-position: 50% 30%; }

/* 04.11 17:15: три документа — заголовок сверху, документы в ряд */
.ab-edu { grid-template-columns: 1fr; gap: 30px; }
.ab-edu-head { max-width: 760px; }
.ab-docs { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .ab-docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ab-docs { grid-template-columns: 1fr; } }
.f-pay-btns .f-btn { padding: 0 14px; font-size: 14px; }

/* ===== 05.11.2026: cookie-баннер ===== */
.cc { position: fixed; z-index: 200; left: max(18px, env(safe-area-inset-left, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); width: min(440px, calc(100vw - 36px)); padding: 20px 22px 18px; background: #FAF6EF; border: 1px solid #E1D7C8; border-top: 3px solid #5B1F27; box-shadow: 0 18px 44px rgba(47, 39, 35, .16); font-family: var(--f-body); color: #2F2723; animation: ccIn .35s ease both; }
.cc[hidden] { display: none !important; }
@keyframes ccIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }
.cc-text { margin: 0 0 14px; font-size: 14.5px; line-height: 1.55; color: #4A403B; }
.cc-text a { color: #5B1F27; text-decoration: underline; text-underline-offset: 2px; }
.cc-btns { display: flex; gap: 10px; }
.cc-btn { flex: 1; min-height: 44px; padding: 0 18px; font: inherit; font-size: 14.5px; font-weight: 600; border: 1px solid #5B1F27; border-radius: 2px; cursor: pointer; transition: background .2s, color .2s; }
.cc-yes { background: #5B1F27; color: #FBF4EA; }
.cc-yes:hover { background: #43161C; }
.cc-no { background: transparent; color: #5B1F27; }
.cc-no:hover { background: rgba(91, 31, 39, .06); }
.cc-btn:focus-visible { outline: 2px solid #5B1F27; outline-offset: 2px; }
@media (max-width: 640px) { html.cc-open .ask { opacity: 0; pointer-events: none; } } /* 10.11: на компьютере кружок виден и при открытом баннере cookie */
.foot-cookie { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 560px) {
  .cc { left: 0; right: 0; bottom: 0; width: auto; padding: 16px 16px max(16px, env(safe-area-inset-bottom, 0px)); border-left: 0; border-right: 0; border-bottom: 0; }
  .cc-text { font-size: 14px; }
}
/* 05.11: баннер в цвет кнопок главной (зелёный) */
.cc { border-top-color: #6E8060; }
.cc-text a { color: #55654A; }
.cc-btn { border-color: #6E8060; font-weight: 500; }
.cc-yes { background: #6E8060; color: #F6F1E8; }
.cc-yes:hover { background: #55654A; border-color: #55654A; }
.cc-no { color: #3B4632; border-color: #8A9A7B; }
.cc-no:hover { background: #E9DFCF; }
.cc-btn:focus-visible { outline-color: #6E8060; }

/* ===== 06.11.2026: ТЗ Лизы от 06.11 + подготовка к Robokassa ===== */
.hero-intro-2 { margin-top: 12px; }
.uz-cta { margin-top: 4px; }
.label-s { margin: 8px 0 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.euca .label-s { color: #C9D2BC; }
/* карточки форматов: 4 строки (кому / что получишь / ценность / формат) — сетка 2×2 */
.fm-dl { grid-template-columns: repeat(2, 1fr); }
/* режим ожидания оплаты картой РФ */
.pay-wait { margin: 0 0 2px; padding: 10px 14px; border-left: 3px solid #B88A45; background: rgba(184, 138, 69, .08); font-size: 14.5px; line-height: 1.45; color: var(--soft); }
.fm-feat .pay-wait { color: #E7EADF; background: rgba(246, 241, 232, .08); }
/* консультация: 4 пункта «Что ты получишь» — сетка 2×2 без пустой ячейки */
@media (min-width: 700px) { .recog:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
.f-why .f-h2.f-h2-s { font-size: clamp(26px, 2.7vw, 38px); line-height: 1.2; }
/* окно перед оплатой: состав заказа */
.payc-sum { margin: 4px 0 0; display: grid; gap: 8px; padding: 14px 16px; background: rgba(110, 128, 96, .07); border: 1px solid rgba(110, 128, 96, .2); }
.payc-sum div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.payc-sum dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
.payc-sum dd { margin: 0; font-size: 14.5px; line-height: 1.45; }
.payc-doc { margin: 0; font-size: 14px; color: var(--soft); }
.payc-doc a { color: var(--euca-d); }
@media (max-width: 520px) { .payc-sum div { grid-template-columns: 1fr; gap: 2px; } }
/* «Выход в твою свободу»: 7 результатов + главная ценность = ровная сетка 3×3 */
.fr-grid-sopr .fr-wide { grid-column: span 2; }
.fr-value { background: #F4EEE3; justify-content: center; }
.fr-value .fr-n { font-size: 22px; }
.fr-value p { font-size: 17px; color: var(--ink); }
@media (max-width: 900px) { .fr-grid-sopr .fr-wide { grid-column: auto; } }
/* контакты */
.contact-more { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-more p { margin: 0; color: var(--soft); }
.contact-btns { flex-wrap: wrap; }
@media (max-width: 560px) { .contact-btns .btn { flex: 1 1 calc(50% - 8px); text-align: center; } }
/* диагностика */
.f-with h3 { margin: 0; font-family: var(--f-display); font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.f-with li p { font-size: 16px; color: var(--soft3); }
.f-facts { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; border-top: 1px solid var(--line2); }
.f-facts li { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.f-facts b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold3); font-weight: 600; }
.f-facts span { font-size: 16px; line-height: 1.45; color: var(--text); }
@media (max-width: 640px) { .f-facts { grid-template-columns: 1fr; gap: 0; } }
.f-leave .f-h2 { margin: 4px 0 18px; font-size: clamp(26px, 2.6vw, 34px); }
.f-get li { font-weight: 400; }
.f-get li b { font-weight: 600; }
.f-res-text > .f-accent { margin-top: 0 !important; }
/* «Обо мне»: четыре факта */
.ab-facts { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .ab-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ab-facts { grid-template-columns: 1fr; } }
.hero-text .hero-intro-2 { margin-top: -14px; }
.bk-order-list a { color: #F2D58A; text-decoration-color: rgba(242,213,138,.5); }
/* 06.11: «Не знаешь, какой формат тебе подходит?» на /programs/ */
.pick-box { margin-top: 28px; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #F3EEE3; border: 1px solid rgba(110, 128, 96, .22); }
.pick-text { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.pick-text .h-m { margin: 0; font-size: clamp(22px, 2.2vw, 28px); }
.pick-text p { margin: 0; color: var(--soft); }
.pick-box .btns { flex-shrink: 0; margin: 0; }
@media (max-width: 760px) { .pick-box { flex-direction: column; align-items: flex-start; padding: 22px 20px; } .pick-box .btns, .pick-box .btn { width: 100%; text-align: center; } }
.price-fx-line { margin: -4px 0 0; font-size: 15px; color: var(--soft); }
.promo-msg:empty { display: none; } .pay-wait[hidden] { display: none !important; }
#price .f-pay-btns { margin-top: 14px; }
@media (min-width: 901px) { .fr-grid:has(> .fr-item:nth-child(4):last-child) { grid-template-columns: repeat(2, 1fr); } }
/* 06.11: кнопка вопроса бордовая только на «Обо мне»; на остальных страницах — зелёная, как была */
.ask-fab:is(body:has(.abx) *) { background: linear-gradient(#7f2a37, #54141f); color: #FBF4EA; box-shadow: 0 10px 28px rgba(84, 20, 31, 0.32); }
body:has(.abx) .ask-fab:hover { background: linear-gradient(#8d3140, #5e1823); }
body:has(.abx) .ask.open .ask-fab { background: #3f0f17; }
/* 07.11: список ситуаций на диагностике не шире экрана телефона */
.f-with{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:960px){.f-with{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.f-with{grid-template-columns:minmax(0,1fr)}}
.f-with li{min-width:0}

/* 08.11: телефон — карточки «Для кого» на диагностике: номер и заголовок в строку, текст под ними на всю ширину */
@media (max-width: 760px) {
  .f-with li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 10px; align-items: baseline; }
  .f-with li p { grid-column: 1 / -1; }
}
/* 08.11: телефон — мелкие пояснения чуть крупнее */
@media (max-width: 600px) {
  p.small, p.note, .x-intro, .f-pay-after, .bk-order-note { font-size: 15px; line-height: 1.6; }
}

/* 08.11 17:51: видеоотзывы — видео и текст начинаются на одной линии на всех слайдах; высота ленты по текущему слайду (без больших пустот) */
.rev-track { align-items: flex-start; transition: height .35s ease; }
.rev-slide, .rev-slide.rev-wide { align-items: start; align-content: start; padding-top: 18px; padding-bottom: 18px; }
.rev-text { align-self: start; }
.rev-slide, .rev-slide.rev-wide { column-gap: clamp(32px, 4vw, 60px); }
@media (max-width: 900px) {
  .rev-slide, .rev-slide.rev-wide { padding: 14px 4px 10px; row-gap: 22px; }
  .rev-frame { max-width: 300px; }
  .rev-wide .rev-frame { max-width: 100%; }
}

/* 10.11 14:41: диагностика — фото чуть короче (фон виден, голова целиком); всё в бордовой гамме страницы */
@media (min-width: 961px) {
  .f-hero { grid-template-columns: 1fr 1fr; }
  .f-hero-photo { min-height: 0; aspect-ratio: auto; align-self: stretch; }
  .f-hero-photo img { object-position: 50% 32%; }
}
@media (max-width: 960px) {
  .f-hero-photo { min-height: 0; aspect-ratio: 4 / 5; }
  .f-hero-photo img { object-position: 50% 30%; }
}
body:has(.dvf) .ask-fab { background: #5B1F27; color: #FBF4EA; box-shadow: 0 10px 28px rgba(91, 31, 39, .3); }
body:has(.dvf) .ask-fab:hover { background: #43161C; }
body:has(.dvf) .ask.open .ask-fab { background: #2F2723; }
body:has(.dvf) .cc { border-top-color: #5B1F27; }
body:has(.dvf) .cc-yes { background: #5B1F27; border-color: #5B1F27; color: #FBF4EA; }
body:has(.dvf) .cc-yes:hover { background: #43161C; border-color: #43161C; }
body:has(.dvf) .cc-no { color: #5B1F27; border-color: #5B1F27; }
body:has(.dvf) .cc-no:hover { background: rgba(91, 31, 39, .06); }
body:has(.dvf) .cc-text a { color: #5B1F27; }

/* 10.11 15:20: диагностика — фото Азизы в полный рост (кадр обрезан в самом файле, без object-fit — надёжно на телефонах) */
.f-hero-photo, .f-hero-photo img { position: static; }
.f-hero-photo { min-height: 0 !important; aspect-ratio: auto !important; align-self: center; }
.f-hero-photo img { display: block; width: 100%; height: auto !important; object-fit: initial; inset: auto; }

/* 10.11 17:45: диагностика «Результат» — фото тянется на всю высоту правой колонки, без пустоты под подписью */
@media (min-width: 961px) {
  .f-res { align-items: stretch; }
  .f-res-photo { display: flex; flex-direction: column; }
  .f-res-photo img { flex: 1 1 0; min-height: 420px; height: 0; aspect-ratio: auto; object-position: 50% 15%; }
}

/* 10.11 17:50: два подряд светлых блока одного цвета — без двойного отступа между ними */
main > section.band[class="band"] + section.band[class="band"]:not(:first-child),
main > section.case-band + section.band[class="band"] { padding-top: 16px !important; }

/* 10.11 22:25: «Выход в твою свободу» — кружочек обратной связи золотисто-коричневый, под феникса (исключение, по просьбе Лизы) */
body:has(#feniks) .ask-fab { background: #A57C4A; color: #FFF8EE; box-shadow: 0 10px 28px rgba(120, 85, 40, .32); }
body:has(#feniks) .ask-fab:hover { background: #8C6639; }
body:has(#feniks) .ask.open .ask-fab { background: #6E5030; }

/* 10.11 22:40: «Выход в твою свободу» — фото Азизы в полный рост на первом экране, без обрезки ног */
.hero-photo.fr-full { min-height: 0 !important; align-self: stretch; background: transparent; }
.hero-photo.fr-full img { position: static; display: block; width: 100%; height: auto; object-fit: initial; }

/* 10.11 22:50: текст по ширине с переносами (класс .jt ставит site.js) */
main, main * { -webkit-hyphens: none; hyphens: none; }
.jt * { -webkit-hyphens: manual !important; hyphens: manual !important; }
.jt { text-align: justify !important; text-align-last: left; -webkit-hyphens: manual !important; hyphens: manual !important; }
h1, h2, h3 { -webkit-hyphens: none; hyphens: none; }

/* 11.11: главная, «Обо мне» без фото (по просьбе Азизы) */
.pos-nophoto { display: block; }
.pos-nophoto .pos-text { max-width: 860px; margin: 0 auto; }
/* ABX-START */
/* ===== «Обо мне» по утверждённому макету (06.11.2026), изолировано в .abx ===== */
.abx{--paper:#f9f5ef;--cream:#fdf9f4;--linen:#efe7db;--sand:#e9ddcb;
      --ink:#29281f;--muted:#645f56;--maroon:#691a26;--maroon2:#51121c;
      --olive:#50583a;--olive-light:#7b8364;--gold:#bca371;
      --line:rgba(104,86,64,.23);--serif:var(--f-display);
      --sans:var(--f-body);--max:1240px;}
.abx h1,.abx h2,.abx h3,.abx p{margin-top:0}
.abx a{color:inherit}
.abx button{font:inherit;cursor:pointer}
.abx a:focus-visible,.abx button:focus-visible,.abx summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
.abx .x-container{width:min(var(--max),calc(100% - 104px));margin-inline:auto}
.abx .x-serif,.abx h1,.abx h2,.abx h3,.abx .x-quote,.abx .x-stat strong{font-family:var(--serif);font-weight:400}
.abx .x-eyebrow{display:block;font-size:11px;line-height:1.4;letter-spacing:.27em;text-transform:uppercase;font-weight:600;color:#77664f}
.abx .x-section-header{display:flex;align-items:center;gap:23px;margin-bottom:28px}
.abx .x-section-header h2{font-size:clamp(39px,4.1vw,60px);line-height:1.05;letter-spacing:-.04em;margin:0;white-space:nowrap}
.abx .x-section-header:after{content:"";height:1px;flex:1;background:var(--line);margin-top:12px}
.abx .x-btn{display:inline-flex;align-items:center;gap:24px;justify-content:center;text-decoration:none;border:1px solid var(--maroon);background:linear-gradient(180deg,#812938,var(--maroon2));color:white;min-height:48px;padding:10px 23px;font-size:13px;letter-spacing:.012em;white-space:nowrap;transition:transform .2s,background .2s,border-color .2s;box-shadow:0 10px 22px rgba(89,32,32,.11);border-radius:6px}
.abx .x-btn:hover{transform:translateY(-2px);background:#7a2434}
.abx .x-btn.x-outline{background:transparent;border-color:var(--maroon);box-shadow:none;color:var(--maroon)}
.abx .x-btn svg,.abx .x-inline-link svg{width:21px;height:15px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.abx .x-inline-link{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:var(--maroon);padding-bottom:5px;border-bottom:1px solid rgba(105,26,38,.35);font-weight:600;font-size:13px}
.abx .x-inline-link:hover{border-color:var(--maroon)}
.abx .x-hero{background:radial-gradient(ellipse at 14% 5%,rgba(228,212,180,.42),transparent 48%),#f6efe8;position:relative;overflow:hidden}
.abx .x-hero-grid{display:grid;grid-template-columns:42% 58%;min-height:548px;max-width:1700px;margin:auto}
.abx .x-hero-copy{padding:68px 7% 113px max(52px,calc((100vw - var(--max))/2));position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.abx .x-hero-copy:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.17;pointer-events:none;background:radial-gradient(ellipse at 20% 80%,#cfb99f,transparent 55%)}
.abx .x-hero h1{font-size:clamp(75px,7vw,115px);line-height:.85;letter-spacing:-.07em;margin:22px 0 17px}
.abx .x-hero .x-subhead{font:italic clamp(22px,2.6vw,36px)/1.15 var(--serif);margin:0 0 19px;color:#46382c}
.abx .x-hero-copy .x-intro{font-size:15px;line-height:1.67;max-width:385px;margin:0 0 24px;color:#34312c}
.abx .x-hero-image{position:relative;min-height:548px;overflow:hidden;background:#5a604a}
.abx .x-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 40%;position:absolute;inset:0;display:block}
.abx .x-hero-image:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(247,240,229,.65),transparent 21%),linear-gradient(0deg,rgba(48,41,24,.15),transparent 40%)}
.abx .x-hero-glow{position:absolute;width:40%;height:500px;bottom:-180px;left:31%;z-index:3;pointer-events:none;background:radial-gradient(ellipse,rgba(255,246,220,.40),transparent 60%);filter:blur(32px)}
.abx .x-manifest{position:relative;margin-top:-82px;padding:85px 0 37px;z-index:5;isolation:isolate}
.abx .x-manifest:before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(108deg,rgba(255,255,255,.84),rgba(248,239,229,.97) 48%,rgba(250,247,242,.96));clip-path:polygon(0 29%,10% 17%,25% 2%,38% 13%,51% 23%,68% 3%,86% 12%,100% 30%,100% 100%,0 100%);box-shadow:0 -20px 30px rgba(255,255,255,.3)}
.abx .x-manifest:after{content:"";position:absolute;inset:10px 0 0;z-index:-1;background:radial-gradient(ellipse at 10% 45%,rgba(255,255,255,.9),transparent 45%),radial-gradient(ellipse at 64% 44%,rgba(231,215,197,.29),transparent 52%);pointer-events:none}
.abx .x-manifest-inner{display:grid;grid-template-columns:47% 53%;gap:0;align-items:center;position:relative}
.abx .x-manifest .x-quote{font-style:italic;font-size:clamp(34px,3.5vw,52px);line-height:1.04;letter-spacing:-.025em;color:var(--maroon);padding-left:80px;margin:0}
.abx .x-manifest p{padding:8px 50px 8px 39px;border-left:1px solid #957b63;line-height:1.7;font-size:14px;max-width:540px;margin:0}
.abx .x-manifest .x-gold-thread{position:absolute;width:100%;height:16px;left:0;top:70px;opacity:.5;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#cfbd91 34%,transparent 61%);filter:blur(12px)}
.abx .x-approach{padding:50px 0 65px;background:radial-gradient(circle at 2% 28%,rgba(217,217,188,.23),transparent 21%),var(--paper)}
.abx .x-approach-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0}
.abx .x-approach-card{padding:0 40px;min-height:182px;border-left:1px solid var(--line)}
.abx .x-approach-card:first-child{padding-left:48px;border:0}
.abx .x-approach-icon{height:66px;width:66px;display:flex;justify-content:center;align-items:center;margin:0 0 7px;border-radius:50%;background:linear-gradient(135deg,#f9f0de,#eadfc6);box-shadow:inset 0 0 0 1px rgba(148,125,85,.12)}
.abx .x-approach-icon svg{stroke:#67634a;stroke-width:1.6;fill:none;width:39px;height:39px;stroke-linecap:round;stroke-linejoin:round}
.abx .x-approach-card h3{font-size:clamp(24px,2.2vw,30px);line-height:1.1;letter-spacing:-.025em;margin:5px 0 11px}
.abx .x-approach-card p{font-size:14px;line-height:1.65;color:#4d473e;max-width:300px;margin:0}
.abx .x-education{background:#f7f1e9;padding:57px 0 77px;position:relative;overflow:hidden;border-top:1px solid rgba(105,86,62,.07)}
.abx .x-education:before{content:"";position:absolute;width:400px;height:300px;right:-220px;top:-50px;border-radius:50%;background:radial-gradient(ellipse,rgba(223,214,195,.3),transparent 70%)}
.abx .x-stats{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;gap:0;margin:9px auto 35px}
.abx .x-stat{padding:0 16px;border-left:1px solid var(--line)}
.abx .x-stat:first-child{border:0}
.abx .x-stat strong{display:block;font-size:45px;line-height:1.05;letter-spacing:-.04em;color:var(--maroon)}
.abx .x-stat span{display:block;font-size:13px;line-height:1.4;color:#51483c;margin-top:6px}
.abx .x-certs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.abx .x-cert{position:relative;min-height:207px;padding:27px 17px 22px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:12px;background:linear-gradient(130deg,#fffbf5,#eee3d2);border:1px solid #d6c8b3;box-shadow:0 12px 18px rgba(75,56,37,.06)}
.abx .x-cert:before{content:"";position:absolute;inset:8px;border:1px solid #d9caaf;pointer-events:none}
.abx .x-cert .x-emblem{font:33px var(--serif);color:#927d51;line-height:1}
.abx .x-cert strong{font:normal 21px var(--serif)}
.abx .x-cert small{font-size:11px;color:#70675b;line-height:1.45;letter-spacing:.015em}
.abx .x-cert.x-last{background:linear-gradient(140deg,#e5e4d2,#d5d3bd)}
.abx .x-edu-note{color:#736b60;font-size:12px;margin:17px 0 0;line-height:1.6}
.abx .x-story{display:grid;grid-template-columns:40% 60%;background:linear-gradient(125deg,#e9decf,#f9f4ed);min-height:340px;overflow:hidden;position:relative}
.abx .x-story-art{background:radial-gradient(ellipse at 10% 68%,rgba(104,112,65,.39),transparent 55%),linear-gradient(130deg,#b0ac87,#e6ddc9 58%,#faf4e8);position:relative;overflow:hidden;min-height:340px}
.abx .x-story-art:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 7% 20%,rgba(255,255,255,.7),transparent 29%),radial-gradient(circle at 70% 70%,rgba(100,105,63,.22),transparent 42%);filter:blur(6px)}
.abx .x-story-art .x-book{position:absolute;top:50%;left:50%;transform:translate(-50%,-47%) rotate(-11deg);height:232px;width:156px;background:linear-gradient(95deg,#36131b 0,#743342 9%,#641e2c 90%,#461420 100%);box-shadow:17px 23px 26px rgba(46,27,23,.27),5px 9px 6px rgba(46,27,23,.12);border:1px solid rgba(213,170,104,.75);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;color:#ddc28b;text-align:center}
.abx .x-book:before{content:"";position:absolute;left:10px;inset-block:6px;border-left:1px solid #a97360}
.abx .x-book:after{content:"";position:absolute;inset:14px 13px;border:1px solid rgba(204,161,91,.54);pointer-events:none}
.abx .x-book span{font:italic 12px var(--serif);letter-spacing:.07em;line-height:1.2}
.abx .x-book strong{display:block;font:normal 20px/1.15 var(--serif);margin:15px 0}
.abx .x-story-content{display:flex;justify-content:center;flex-direction:column;padding:48px max(55px,calc((100vw - var(--max))/2)) 42px 75px}
.abx .x-story-content h2{font:italic clamp(40px,4vw,60px)/1.05 var(--serif);color:var(--maroon);letter-spacing:-.04em;margin:0 0 18px}
.abx .x-story-content p{max-width:610px;font-size:15px;line-height:1.75;margin-bottom:16px}
.abx .x-story-extra{max-width:620px}
.abx .x-story-extra p{margin:0 0 11px}
.abx .x-story-extra[hidden]{display:none}
.abx .x-story-toggle{background:transparent;border:0;padding:0;color:var(--maroon);border-bottom:1px solid rgba(105,26,38,.4);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:14px;align-self:flex-start;margin-top:4px}
.abx .x-programs{padding:58px 0;background:#fbf7f0}
.abx .x-programs-row{display:grid;grid-template-columns:1fr 1fr;gap:42px}
.abx .x-program-item{border:1px solid var(--line);padding:28px 34px;background:linear-gradient(130deg,rgba(247,242,229,.8),rgba(255,252,248,.95));display:flex;flex-direction:column;align-items:flex-start;min-height:174px}
.abx .x-program-item h3{font-size:29px;line-height:1.14;margin:9px 0}
.abx .x-program-item p{font-size:13px;line-height:1.7;max-width:475px;margin:0 0 16px;color:#554e42}
.abx .x-reviews{padding:57px 0 73px;background:linear-gradient(180deg,#f7f0e7,#f7f2eb)}
.abx .x-reviews .x-intro-review{font-size:14px;color:#5b534a;margin-top:-13px;margin-bottom:26px;max-width:730px}
.abx .x-reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.abx .x-review-card{padding:30px;background:rgba(255,253,247,.72);border:1px solid rgba(129,108,82,.18);min-height:165px;box-shadow:0 9px 16px rgba(64,52,42,.025)}
.abx .x-review-card .x-num{font:italic 31px var(--serif);color:var(--maroon);line-height:1}
.abx .x-review-card h3{font-size:24px;margin:3px 0 11px}
.abx .x-review-card p{font-size:13px;color:#665f56;line-height:1.6;margin:0}
.abx .x-reviews-footer{display:flex;justify-content:space-between;align-items:center;margin-top:23px;gap:16px}
.abx .x-reviews-footer p{font-size:12px;color:#746b60;margin:0}
.abx .x-cta{background:linear-gradient(115deg,rgba(28,39,23,.96),rgba(73,83,52,.96) 55%,rgba(33,42,27,.98));color:#fffdf8;padding:51px 0;position:relative;overflow:hidden}
.abx .x-cta:before,.abx .x-cta:after{content:"";position:absolute;pointer-events:none;border:1px solid rgba(218,198,137,.21);border-radius:50%;height:350px;width:500px;transform:rotate(-24deg)}
.abx .x-cta:before{left:-340px;top:-235px}
.abx .x-cta:after{right:-380px;bottom:-290px}
.abx .x-cta:before{box-shadow:0 0 70px rgba(236,218,161,.15)}
.abx .x-cta-layout{display:grid;grid-template-columns:1.05fr 1.05fr auto;gap:42px;align-items:center;position:relative}
.abx .x-cta h2{font:italic clamp(40px,3.6vw,53px)/1.07 var(--serif);margin:0;white-space:nowrap}
.abx .x-cta p{border-left:1px solid rgba(246,237,210,.43);padding-left:35px;font-size:13px;line-height:1.6;margin:0;color:#f5f1e9}
.abx .x-cta .x-btn{background:linear-gradient(#7f2a37,#54141f);border-color:#bc8f8d}
.abx .x-sprig{position:absolute;pointer-events:none;width:200px;opacity:.35}
.abx .x-sprig path{fill:none;stroke:#717c5b;stroke-width:1.6}
.abx .x-sprig .x-leaf{fill:#87906f;stroke:none;opacity:.34}
@media(max-width:1200px){
.abx .x-container{width:min(1120px,calc(100% - 68px))}
.abx .x-hero-copy{padding-left:36px}
.abx .x-manifest .x-quote{padding-left:25px}
.abx .x-story-content{padding-left:50px;padding-right:35px}
.abx .x-cta-layout{gap:22px}
.abx .x-cta h2{font-size:43px}
}
@media(max-width:900px){
.abx .x-hero-grid{grid-template-columns:45% 55%;min-height:500px}
.abx .x-hero-copy{padding:45px 20px 100px 35px}
.abx .x-hero h1{font-size:70px}
.abx .x-hero-image{min-height:500px}
.abx .x-manifest{margin-top:-55px}
.abx .x-manifest .x-quote{padding-left:0}
.abx .x-approach-card{padding:0 18px}
.abx .x-approach-card:first-child{padding-left:0}
.abx .x-certs{gap:10px}
.abx .x-cert{min-height:180px}
.abx .x-cta-layout{grid-template-columns:1fr 1fr}
.abx .x-cta-layout .x-btn{grid-column:1/-1;justify-self:center}
.abx .x-programs-row{gap:15px}
}
@media(max-width:680px){
.abx .x-container{width:calc(100% - 38px)}
.abx .x-hero-grid{display:flex;flex-direction:column-reverse}
.abx .x-hero-image{height:355px;min-height:355px}
.abx .x-hero-image img{object-position:center 32%}
.abx .x-hero-image:before{background:linear-gradient(0deg,rgba(252,244,234,.56),transparent 20%)}
.abx .x-hero-copy{padding:31px 22px 87px;min-height:320px}
.abx .x-hero h1{font-size:72px;margin:10px 0}
.abx .x-hero .x-subhead{font-size:27px}
.abx .x-hero-copy .x-intro{font-size:14px;margin-bottom:15px}
.abx .x-hero .x-eyebrow{font-size:10px}
.abx .x-manifest{padding:70px 0 22px;margin-top:-70px}
.abx .x-manifest:before{clip-path:polygon(0 17%,24% 5%,47% 17%,69% 2%,100% 18%,100% 100%,0 100%)}
.abx .x-manifest-inner{grid-template-columns:1fr;gap:13px}
.abx .x-manifest .x-quote{font-size:37px;padding:0}
.abx .x-manifest p{padding:0;border:0;font-size:13px}
.abx .x-manifest .x-gold-thread{top:40px}
.abx .x-approach,.abx .x-education,.abx .x-programs,.abx .x-reviews{padding:39px 0}
.abx .x-section-header{gap:12px;margin-bottom:23px}
.abx .x-section-header h2{font-size:39px;white-space:normal}
.abx .x-approach-grid{grid-template-columns:1fr;gap:22px}
.abx .x-approach-card,.abx .x-approach-card:first-child{border:0;padding:0 0 18px;min-height:auto;border-bottom:1px solid var(--line)}
.abx .x-approach-icon{height:54px;width:54px;margin-bottom:3px}
.abx .x-approach-card h3{font-size:27px;margin-bottom:5px}
.abx .x-approach-card p{max-width:unset;font-size:13px}
.abx .x-stats{grid-template-columns:repeat(2,1fr);row-gap:20px}
.abx .x-stat{padding:10px 5px;border-left:0}
.abx .x-stat:nth-child(even){border-left:1px solid var(--line)}
.abx .x-stat strong{font-size:39px}
.abx .x-stat span{font-size:12px}
.abx .x-certs{grid-template-columns:repeat(2,1fr);gap:13px}
.abx .x-cert{min-height:178px;padding:13px}
.abx .x-cert strong{font-size:19px}
.abx .x-cert small{font-size:10px}
.abx .x-story{grid-template-columns:1fr}
.abx .x-story-art{min-height:265px}
.abx .x-story-art .x-book{height:188px;width:132px}
.abx .x-story-content{padding:35px 22px 45px}
.abx .x-story-content h2{font-size:46px}
.abx .x-story-content p{font-size:14px}
.abx .x-programs-row,.abx .x-reviews-grid{grid-template-columns:1fr}
.abx .x-program-item{min-height:auto;padding:23px}
.abx .x-reviews-grid{gap:13px}
.abx .x-review-card{min-height:auto;padding:23px}
.abx .x-reviews-footer{align-items:flex-start;flex-direction:column}
.abx .x-cta{padding:40px 0}
.abx .x-cta-layout{grid-template-columns:1fr;gap:18px}
.abx .x-cta h2{white-space:normal;font-size:45px}
.abx .x-cta p{border:0;padding-left:0}
.abx .x-cta-layout .x-btn{grid-column:auto;justify-self:start;white-space:normal}
}
@media(prefers-reduced-motion:reduce){
.abx .x-btn{transition:none}
}
.abx{font:16px/1.6 var(--sans);background:var(--paper);color:var(--ink);-webkit-font-smoothing:antialiased}
.abx *,.abx *:before,.abx *:after{box-sizing:border-box}

/* --- стыковка макета с реальными материалами --- */
.abx .x-hero-quote{font-family:var(--serif);font-style:italic;font-size:19px;color:var(--maroon);margin-top:-6px}
.abx .x-manifest .x-manifest-text{padding:8px 50px 8px 39px;border-left:1px solid #957b63;max-width:600px}
.abx .x-manifest .x-manifest-text p{padding:0;border:0;max-width:none;margin:0 0 12px}
.abx .x-manifest .x-manifest-text p.x-accent{margin:0;font-size:18px}
.abx .x-cta-layout{grid-template-columns:1.25fr 1fr auto}
.abx .x-cta h2{white-space:normal;font-size:clamp(34px,3vw,44px)}
.abx .x-cta .x-btn{white-space:nowrap}
.abx .x-accent{font-family:var(--serif);font-style:italic;font-size:20px;line-height:1.5;color:var(--maroon)}
/* дипломы: настоящие сканы с увеличением */
.abx .x-cert-doc{justify-content:flex-start;gap:8px}
.abx .x-cert-doc .doc-img{position:relative;z-index:1;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}
.abx .x-cert-doc .doc-img img{display:block;width:100%;height:150px;object-fit:contain;filter:drop-shadow(0 4px 8px rgba(64,52,42,.15))}
.abx .x-cert-doc strong{font-size:18px;line-height:1.2}
.abx .x-cert-doc .doc-open{position:relative;z-index:1;margin-top:auto;padding:4px 0;border:0;background:none;font:inherit;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--maroon);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.abx .x-edu-note p{margin:0 0 10px}
/* история: настоящая обложка книги вместо декоративной */
.abx .x-story-cover{display:flex;align-items:center;justify-content:center;padding:40px 24px}
.abx .x-cover{position:relative;z-index:1;display:block;width:min(230px,60%);transform:rotate(-6deg);box-shadow:17px 23px 26px rgba(46,27,23,.27);transition:transform .3s}
.abx .x-cover:hover{transform:rotate(-3deg)}
.abx .x-cover img{display:block;width:100%;height:auto}
/* три проекта */
.abx .x-programs-3{grid-template-columns:repeat(3,1fr);gap:24px}
.abx .x-programs-3 .x-program-item{padding:28px}
.abx .x-programs-3 .x-program-item h3{font-size:25px}
.abx .x-programs-3 .x-program-item .x-inline-link{margin-top:auto}
/* видеоотзывы */
.abx .x-vcard{display:flex;flex-direction:column;padding:0 0 24px;overflow:hidden}
.abx .x-vcard > :not(.x-vframe){margin-left:26px;margin-right:26px}
.abx .x-vframe{margin-bottom:18px}
.abx .x-vframe .yt-play,.abx .x-vframe iframe{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:0}
.abx .x-review-card p.x-vwho{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:6px;margin-bottom:2px}
.abx .x-vcard h3{font-size:22px}
.abx .x-vcard .x-inline-link{margin-top:auto;padding-top:14px}
@media (max-width:1020px){.abx .x-programs-3{grid-template-columns:1fr}}
@media (max-width:640px){.abx .x-cert-doc .doc-img img{height:120px}.abx .x-vcard > :not(.x-vframe){margin-left:20px;margin-right:20px}}
@media (max-width:1020px){.abx .x-cta-layout{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.abx .x-manifest .x-manifest-text{padding:0;border:0}.abx .x-cta-layout{grid-template-columns:1fr}.abx .x-cta .x-btn{white-space:normal}}
@media (min-width:641px) and (max-width:1020px){
.abx .x-certs{grid-template-columns:repeat(2,1fr)}
.abx .x-reviews-grid{grid-template-columns:1fr}
.abx .x-vcard{display:grid;grid-template-columns:44% 1fr;column-gap:26px;padding:0}
.abx .x-vcard .x-vframe{grid-row:1/span 6;margin:0;align-self:stretch;background:#2B3324}
.abx .x-vcard .x-vframe .yt-play,.abx .x-vcard .x-vframe iframe{height:100%;min-height:220px}
.abx .x-vcard > :not(.x-vframe){margin-left:0;margin-right:26px}
.abx .x-vcard .x-num{margin-top:22px}
.abx .x-vcard .x-inline-link{margin-bottom:22px;justify-self:start}
}
.abx [id]{scroll-margin-top:84px}
/* фон под обложкой: нежно-оливковый (06.11, по просьбе Лизы) */
.abx .x-story-cover{background:radial-gradient(120% 95% at 30% 25%,#eceadb 0%,#d9d8bd 50%,#c4c5a0 100%)}
.abx .x-story-cover:before{display:none}
.abx .x-story-cover .x-cover{box-shadow:18px 26px 34px rgba(60,58,30,.28)}
@media (max-width:640px){.abx .x-story-cover{padding:36px 20px}.abx .x-cover{width:min(190px,52%)}}
.abx .x-story-photo{display:block;padding:0;background:#ece6d6}
.abx .x-story-photo:before{display:none}
.abx .x-story-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}
@media (max-width:640px){.abx .x-story .x-story-photo{min-height:0;aspect-ratio:3/2}}
@media (min-width:641px) and (max-width:1020px){.abx .x-story{grid-template-columns:1fr}.abx .x-story .x-story-photo{min-height:0;aspect-ratio:2.4/1}}
/* 06.11 17:56: книга «отдалена» — картинка целиком широкой полосой над текстом, видно бордовые волны */
.abx .x-story{grid-template-columns:1fr}
.abx .x-story .x-story-photo{min-height:0;aspect-ratio:3/1;width:min(960px,calc(100% - 48px));margin:64px auto 0;border-radius:4px;box-shadow:0 18px 40px rgba(84,20,31,.14)}
.abx .x-story .x-story-content{max-width:880px;margin:0 auto}
@media (max-width:640px){.abx .x-story .x-story-photo{aspect-ratio:2/1;width:calc(100% - 32px);margin-top:36px}}
.abx .x-certs{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:640px){.abx .x-certs{grid-template-columns:1fr}}

/* ABX-END */
