/* Жаннат Жансеитова - Пространство радости. Чистый CSS, без сборки.
   Сигнатура: пион, раскрывающийся лепестками. Палитра клиента (21.10.2026): пергамент, пыльный голубой,
   тёмный графит, сургучное золото на всех кнопках WhatsApp, королевский жёлтый - только точечный акцент. */

:root {
  --paper: #F3EFE8;      /* тёплый пергамент - фон сайта */
  --paper2: #EAE3D8;
  --card: #FBF9F5;
  --blue: #859EB6;       /* пыльный голубой - фоны блоков, плашки */
  --blue2: #A6B8C9;
  --blue-l: #E2E7EC;
  --ink: #25364A;        /* тёмный графит - текст и заголовки */
  --ink2: #4A5A6E;
  --gold: #B98D5C;       /* сургучное золото - кнопки WhatsApp */
  --gold2: #CBA273;
  --gold-t: #82602F;     /* золото для мелкого текста на светлом */
  --sun: #ECCC41;        /* королевский жёлтый - акцент 5% */
  --white: #FFFFFF;
  --muted: #55657A;
  --line: rgba(37, 54, 74, .14);
  --fd: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ft: "Mulish", "Segoe UI", system-ui, sans-serif;
  --hdr: 72px;
  --r-card: 22px;
  --r-in: 12px;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --sticky-h: 60px;
}
@media (max-width: 760px) { :root { --hdr: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--ft); font-size: 16.5px; line-height: 1.6; color: var(--ink);
  background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }

/* ---------- Типографика ---------- */
h1, h2, h3, .brand-n, .kt-phone, .au-q, .zn-say, .pg-say, .hero-sub { font-family: var(--fd); font-weight: 500; letter-spacing: -.005em; }
h1 { font-size: clamp(46px, 6vw, 92px); line-height: .98; text-wrap: balance; }
h1 em { display: block; font-style: italic; color: var(--gold-t); }
h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.05; text-wrap: balance; margin-top: 10px; }
h3 { font-size: clamp(23px, 2.1vw, 28px); line-height: 1.2; font-weight: 600; }
h2 em { font-style: italic; color: var(--gold-t); }
.kicker {
  display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink2);
}
.kicker::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--sun); flex: 0 0 auto; }
.kicker-dot::before { width: 8px; height: 8px; border-radius: 50%; }
.lead, .svc-lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin: 0 auto; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px;
  border-radius: 999px; font-weight: 700; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; display: block; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: #172130; box-shadow: 0 12px 28px -14px rgba(142, 102, 56, .75), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(37, 54, 74, .3); }
@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
  .btn-ghost:hover { background: rgba(37, 54, 74, .06); border-color: rgba(37, 54, 74, .55); }
}
/* «печать»: кнопка героя по макету клиента - текст и тёмный круг справа */
.btn-seal { padding: 0 8px 0 30px; gap: 18px; height: 62px; font-size: 17px; }
.btn-seal .seal { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-style: normal; flex: 0 0 auto; transition: transform .35s var(--ease); }
@media (hover: hover) and (pointer: fine) { .btn-seal:hover .seal { transform: rotate(-12deg); } }
.lnk { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); padding: 10px 2px; border-bottom: 1px solid transparent; }
.lnk span { border-bottom: 1px solid rgba(37, 54, 74, .3); }
.lnk svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .lnk:hover svg { transform: translateX(4px); } .lnk:hover span { border-color: var(--sun); } }

/* ---------- Шапка ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--hdr); color: var(--ink);
  transition: background .35s, box-shadow .35s;
}
.hdr.scrolled, body.menu-open .hdr { background: rgba(243, 239, 232, .96); box-shadow: 0 1px 0 var(--line); }
.hdr-in {
  width: min(1360px, 100% - 2 * var(--pad)); margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 18px;
}
.brand { display: flex; flex-direction: column; line-height: 1; min-width: 0; position: relative; z-index: 3; }
.brand-n { font-size: 24px; font-style: italic; color: var(--ink); white-space: nowrap; }
.brand-s { font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-t); margin-top: 5px; white-space: nowrap; }
.nav { display: flex; gap: clamp(14px, 1.6vw, 26px); margin-left: auto; margin-right: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 8px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 2px; right: 2px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .nav a:hover::after { transform: scaleX(1); } }
.hdr-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; position: relative; z-index: 3; }
.ico-btn {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(37, 54, 74, .28); color: var(--ink); flex-shrink: 0; transition: background .25s, border-color .25s;
}
.ico-btn svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .ico-btn:hover { background: rgba(37, 54, 74, .06); border-color: rgba(37, 54, 74, .5); } }
.lang { display: flex; gap: 0; background: rgba(37, 54, 74, .09); border-radius: 10px; padding: 3px; flex-shrink: 0; }
.lang button {
  border: 0; background: transparent; border-radius: 7px; cursor: pointer; padding: 6px 12px; font-size: 12px; font-weight: 700;
  letter-spacing: .06em; color: var(--ink2); transition: background .25s, color .25s;
}
.lang button.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(37, 54, 74, .18); }
@media (hover: hover) and (pointer: fine) { .lang button:not(.is-active):hover { color: var(--ink); } }
.burger {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; margin-right: -8px;
}
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* порог бургера = порог меню = 1120px (по казахским подписям навигации) */
@media (max-width: 1120px) {
  .nav { display: none; }
  .burger { display: flex; }
}
@media (max-width: 760px) {
  .tel-h { display: none; }
  .brand-n { font-size: 20px; }
  .brand-s { font-size: 8.5px; letter-spacing: .18em; }
  .hdr-in { gap: 12px; }
  .lang button { padding: 6px 10px; }
}
@media (max-width: 360px) { .brand-n { font-size: 18px; } .lang button { padding: 6px 8px; font-size: 11.5px; } }

/* ---------- Меню ---------- */
.menu {
  position: fixed; inset: 0; z-index: 2; background: var(--paper); color: var(--ink); padding: calc(var(--hdr) + 24px) var(--pad) 40px;
  overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility 0s .35s;
  display: flex; flex-direction: column;
}
.menu.open { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s; }
.menu-nav { display: flex; flex-direction: column; gap: 2px; }
.menu-nav a { font-family: var(--fd); font-weight: 500; font-size: clamp(32px, 7.5vw, 46px); line-height: 1.25; padding: 6px 0; border-bottom: 1px solid var(--line); }
.menu-nav a:last-child { border-bottom: 0; }
.menu-foot { margin-top: auto; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.menu-foot .btn { flex: 1 1 200px; }
body.menu-open { overflow: hidden; }

/* ---------- Плиты ---------- */
.pw { position: relative; height: 100svh; scroll-margin-top: 0; }
.plate {
  position: sticky; top: 0; height: 100svh; overflow: hidden; color: var(--ink);
  background: radial-gradient(120% 100% at 80% 15%, #C3D0DC 0%, var(--blue2) 50%, #93A9BE 100%);
  transform: scale(calc(1 - .06 * var(--exit, 0))); transform-origin: 50% 40%;
  border-radius: calc(28px * (1 - var(--enter, 1))) calc(28px * (1 - var(--enter, 1))) 0 0;
  will-change: transform;
}
.plate::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); opacity: calc(.45 * var(--exit, 0)); pointer-events: none; z-index: 5;
}
.plate.gone { visibility: hidden; }
.plate .txt > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.plate .txt.on > * { opacity: 1; transform: none; }
.plate .txt.on > :nth-child(2) { transition-delay: .08s; }
.plate .txt.on > :nth-child(3) { transition-delay: .16s; }
.plate .txt.on > :nth-child(4) { transition-delay: .24s; }
.plate .txt.on > :nth-child(5) { transition-delay: .32s; }
.plate .txt.on > :nth-child(6) { transition-delay: .4s; }

/* Тихий фон: контурный пион */
.bg-bloom { position: absolute; width: min(110vmin, 900px); height: min(110vmin, 900px); right: -22vmin; top: 50%; transform: translateY(-50%); color: var(--gold); opacity: .16; pointer-events: none; overflow: visible; }
.bg-bloom.q { opacity: .14; left: -30vmin; right: auto; }
.svc .bg-bloom.q { left: auto; right: -28vmin; }
.svc:has(.rev) .bg-bloom.q { right: auto; left: -28vmin; }
.plate:not(.plate-light) .bg-bloom, .sec-blue .bg-bloom { color: #fff; opacity: .28; }

/* Лепестковая линия поверх кадра: исчезает, когда кадр раскрыт */
.bl-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; color: var(--gold); opacity: calc(1 - var(--open, 1)); z-index: 1; }
.bl-line path { fill: none; stroke: currentColor; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.bl-line .inner path { opacity: .7; }

/* ---------- Герой ---------- */
.pw-hero { height: 100svh; }
.hero { display: flex; flex-direction: column; background: var(--paper); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(55% 60% at 75% 45%, rgba(133, 158, 182, .22), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(185, 141, 92, .12), transparent 70%), var(--paper); }
.hero-bg .bg-bloom { right: auto; left: 30%; top: 55%; transform: translate(-50%, -50%); width: min(80vmin, 680px); height: min(80vmin, 680px); opacity: .12; }
/* рамка фото героя: скруглённый прямоугольник (арку клиентка попросила убрать 21.10.2026) */
.hero-frame {
  /* арка - вторая колонка сетки героя; текст и арка стоят группой по центру с постоянным зазором,
     без пустой середины на любой ширине. Узкая 5:8 под вертикальный кадр - вся группа в кадре */
  position: relative; z-index: 1; height: calc(100svh - var(--hdr) - 100px);
  width: auto; aspect-ratio: 5 / 8; max-width: 100%;
  border-radius: var(--r-card); overflow: hidden; background: var(--blue-l);
  box-shadow: 0 40px 80px -40px rgba(37, 54, 74, .35);
}
.hero-ph { position: absolute; inset: 0; z-index: 1; clip-path: url(#bl-hero); }
.hero-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 32%; }
.hero-grad { display: none; }
#bl-line-hero { z-index: 2; opacity: calc(1 - var(--intro, 0)); }
.hero-in { position: relative; z-index: 2; width: min(1360px, 100% - 2 * var(--pad)); margin: 0 auto; padding: calc(var(--hdr) + 14px) 0 74px; flex: 1; display: grid; grid-template-columns: minmax(0, 680px) auto; justify-content: center; gap: clamp(32px, 5vw, 96px); align-items: center; }
.hero-txt { position: relative; z-index: 2; max-width: 680px; }
.hero-txt > * { opacity: calc(var(--intro, 0)); transform: translateY(calc(26px * (1 - var(--intro, 0)))); }
.hero-sub { margin-top: 18px; font-size: clamp(24px, 2.2vw, 32px); font-style: italic; line-height: 1.25; color: var(--ink2); }
.hero-card {
  margin-top: 34px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-card); background: rgba(251, 249, 245, .82);
  border: 1px solid rgba(37, 54, 74, .08); box-shadow: 0 24px 50px -30px rgba(37, 54, 74, .3);
}
.hero-card .lead { margin-top: 14px; color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 24px; }

.ribbon { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 54px; border-top: 1px solid var(--line); background: var(--blue); overflow: clip; display: flex; align-items: center; opacity: var(--intro, 0); }
.ribbon-track { display: flex; gap: 0; width: max-content; animation: rib 42s linear infinite; }
.ribbon span { flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); padding: 0 26px; position: relative; white-space: nowrap; }
.ribbon span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); transform: translateY(-50%); }
@keyframes rib { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.sec { position: relative; padding: clamp(64px, 9vw, 120px) 0; scroll-margin-top: var(--hdr); overflow: clip; }
.sec-light { background: var(--paper); color: var(--ink); }
.sec-tint { background: var(--blue-l); color: var(--ink); }
.sec-blue { background: linear-gradient(160deg, var(--blue2) 0%, var(--blue) 100%); color: var(--ink); }
.sec-blue .kicker { color: var(--ink); }
/* на пыльном голубом графит на тон глубже - иначе мелкий текст ниже 4.5:1 */
.sec-blue, .plate:not(.plate-light), .ribbon { --ink: #172130; --ink2: #1F2D3D; --muted: #1F2D3D; }
.sec .kicker + h2 { margin-top: 14px; }
.sec h2 { max-width: none; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* Знакомо? - по макету клиентки: фразы-пузыри вразбивку, внизу «Здесь вас услышат» */
.zn-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(32px, 4vw, 56px); }
.zn-ph { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: 0 30px 60px -30px rgba(37, 54, 74, .35); }
.zn-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.chips li { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink); background: var(--white); border-radius: 999px; padding: 12px 24px; line-height: 1.25; box-shadow: 0 14px 30px -20px rgba(37, 54, 74, .45); }
.chips li:nth-child(3n+2) { background: var(--paper2); box-shadow: none; margin-left: 6%; }
.chips li:nth-child(3n) { background: var(--ink); color: var(--paper); align-self: flex-end; box-shadow: 0 16px 32px -18px rgba(23, 33, 48, .6); }
.chips li:nth-child(4n+1) { margin-left: 2%; }
.chips li:nth-child(5n) { margin-left: 12%; }
.zn-end, .pg-end { margin: clamp(48px, 6vw, 80px) auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; }
.zn-say { font-size: clamp(38px, 4vw, 56px); font-style: italic; line-height: 1.1; color: var(--ink); }
.zn-line { margin-top: 16px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 640px; }
.zn-end .btn, .pg-end .btn { margin-top: 30px; }
.zn-note { margin-top: 16px; font-size: 14px; letter-spacing: .04em; color: var(--muted); max-width: 520px; }

/* Пять программ - по макету клиентки («двери» -> «программы») */
.pg-sub { margin-top: 16px; font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); }
.pg-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); }
.pg-card { grid-column: span 2; position: relative; background: var(--card); border-radius: var(--r-card); padding: 24px 24px 22px; border-left: 3px solid var(--gold); box-shadow: 0 24px 48px -32px rgba(37, 54, 74, .45); display: flex; flex-direction: column; }
.pg-card:nth-child(4) { grid-column: 2 / span 2; }
.pg-card:nth-child(2n) { background: var(--paper); }
.pg-top { display: flex; align-items: center; gap: 14px; }
.pg-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--paper2); color: var(--gold-t); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pg-card:nth-child(2n) .pg-ico { background: var(--blue-l); }
.pg-top h3 { font-size: 28px; line-height: 1; }
.pg-pain { margin-top: 18px; font-family: var(--fd); font-weight: 600; font-size: 21px; line-height: 1.25; color: var(--ink); }
.pg-ret { margin-top: 8px; color: var(--muted); font-size: 15.5px; padding-left: 22px; position: relative; }
.pg-ret::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 1.5px; background: var(--gold); }
.pg-lbl { margin-top: auto; padding-top: 18px; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; }
.pg-chips li { font-size: 13.5px; color: var(--ink2); background: var(--paper2); border-radius: 999px; padding: 5px 12px; }
.pg-card:nth-child(2n) .pg-chips li { background: var(--card); }
.pg-say { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; color: var(--ink); max-width: 760px; }
.pg-say em { display: block; font-style: italic; color: var(--gold-t); }

/* Как проходят встречи - по макету клиентки */
.vs-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; margin-top: clamp(32px, 4vw, 52px); }
.vs-step { display: flex; gap: 18px; background: var(--card); border-radius: var(--r-card); padding: 22px 24px; border-left: 3px solid var(--gold); box-shadow: 0 24px 48px -34px rgba(37, 54, 74, .45); }
.vs-step:last-child { grid-column: 1 / -1; }
.vs-step i { flex: 0 0 auto; font-family: var(--fd); font-style: normal; font-weight: 500; font-size: 44px; line-height: .9; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.vs-step h3 { font-size: 24px; line-height: 1.1; }
.vs-step p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.vs-step .vs-get { margin-top: 10px; color: var(--ink); font-size: 14.5px; }
.vs-get span:first-child { font-weight: 700; color: var(--gold-t); }
.vs-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.vs-tags li { font-size: 14px; color: var(--ink2); background: var(--blue-l); border-radius: 999px; padding: 8px 16px; }
.chips.in li { animation: chip .9s var(--ease) both; }
.chips.in li:nth-child(1) { animation-delay: 0.05s; } .chips.in li:nth-child(2) { animation-delay: 0.12s; } .chips.in li:nth-child(3) { animation-delay: 0.19s; } .chips.in li:nth-child(4) { animation-delay: 0.26s; } .chips.in li:nth-child(5) { animation-delay: 0.33s; }
.chips.in li:nth-child(6) { animation-delay: 0.40s; } .chips.in li:nth-child(7) { animation-delay: 0.47s; } .chips.in li:nth-child(8) { animation-delay: 0.54s; } .chips.in li:nth-child(9) { animation-delay: 0.61s; } .chips.in li:nth-child(10) { animation-delay: 0.68s; }
@keyframes chip { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }

/* Плиты услуг */
.svc { display: flex; align-items: center; }
.svc-in { position: relative; z-index: 2; width: min(1360px, 100% - 2 * var(--pad)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: calc(var(--hdr) + 10px) 0 40px; }
.svc-in.rev .svc-txt { order: 1; }
.svc-in.rev .svc-ph { order: 2; }
.svc-in:not(.rev) .svc-txt { order: 2; }
.svc-in:not(.rev) .svc-ph { order: 1; }
.svc-txt { max-width: 600px; }
.svc-lead { margin-top: 18px; color: var(--ink); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.facts li { font-size: 13.5px; font-weight: 700; letter-spacing: .03em; padding: 9px 15px; border-radius: 999px; color: var(--ink); background: rgba(251, 249, 245, .6); border: 1px solid rgba(37, 54, 74, .12); }
.svc-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.svc-ph { display: flex; justify-content: center; }

/* Светлая плита: пергамент между голубыми */
.plate-light { background: radial-gradient(120% 90% at 85% 20%, #FBF8F2 0%, var(--paper) 55%, var(--paper2) 100%); }
.plate-light .facts li { background: var(--blue-l); }
.ph { position: relative; width: 100%; max-width: 520px; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; max-height: calc(100svh - var(--hdr) - 60px); background: var(--blue-l); box-shadow: 0 30px 60px -30px rgba(37, 54, 74, .4); }
.ph img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(calc(1.08 - .08 * var(--open, 1))); transition: transform .1s linear; }
.ph::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 50% at 50% 50%, rgba(185, 141, 92, .22), transparent 72%); opacity: calc(1 - var(--open, 1)); z-index: 0; pointer-events: none; }
.ph-wide { aspect-ratio: 4 / 3; max-width: 640px; }
.ph-wide img { object-position: 50% 45%; }

/* Программы: бенто */
.bento { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: repeat(2, minmax(220px, auto)); gap: 16px; margin-top: 40px; }
.tile { position: relative; display: block; border-radius: var(--r-card); overflow: hidden; color: #fff; background: var(--blue); min-height: 240px; isolation: isolate; }
.tile-a { grid-row: 1 / 3; min-height: 520px; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); z-index: 0; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(37, 54, 74, 0) 25%, rgba(37, 54, 74, .88) 100%); z-index: 1; }
.tile-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.4vw, 32px); z-index: 2; }
.tile-txt p { margin-top: 8px; color: rgba(255, 255, 255, .9); font-size: 15.5px; max-width: 440px; }
.tile-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; font-weight: 700; color: #F1DDBF; }
.tile-go svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .tile:hover img { transform: scale(1.05); } .tile:hover .tile-go svg { transform: translateX(4px); } }
.tile-b img { object-position: 50% 30%; }
/* консультация и практики - крупные плитки над остальными форматами */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.duo + .bento { margin-top: 16px; }
.tile-duo { min-height: 500px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-duo .tile-txt { position: relative; padding-top: 120px; }
.tile-duo::after { background: linear-gradient(180deg, rgba(37, 54, 74, 0) 18%, rgba(37, 54, 74, .62) 50%, rgba(23, 33, 48, .94) 100%); }
.tile-duo h3 { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
#praktiki img { object-position: 50% 35%; }
.tile-facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 14px; }
.tile-facts li { font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 5px 12px; }
.tile-duo .tile-go { margin-top: 18px; }

/* Об авторе */
.sec-author .bg-bloom.q { right: auto; left: -32vmin; }
.au-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.au-ph { display: flex; justify-content: center; }
.ph-a { max-width: 440px; aspect-ratio: 3 / 4; max-height: none; }
.ph-a img { object-position: 50% 30%; }
.au-role { margin-top: 12px; font-family: var(--fd); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--ink); }
.au-q { margin-top: 24px; padding-left: 22px; border-left: 2px solid var(--sun); font-size: clamp(22px, 2vw, 28px); font-style: italic; line-height: 1.3; color: var(--ink); }
.au-story { margin-top: 20px; display: grid; gap: 10px; max-width: 640px; }
.au-story p { color: var(--ink); }
.au-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(37, 54, 74, .18); }
.au-facts strong { display: block; font-family: var(--fd); font-weight: 600; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--ink); }
.au-facts span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink); }
.au-txt .btn { margin-top: 30px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; margin-top: 44px; }
.steps li { position: relative; padding-top: 18px; border-top: 1px solid var(--line); }
.steps i { display: block; font-family: var(--fd); font-style: normal; font-weight: 500; font-size: 48px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.steps h3 { margin-top: 14px; font-size: 23px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* Вопросы */
.faq { margin-top: 36px; max-width: 880px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 0; font-family: var(--fd); font-size: clamp(21px, 1.8vw, 26px); font-weight: 600; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--gold-t); transition: transform .35s var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 760px; }

/* Отзывы */
/* Отзывы: темы, цитаты, лента скринов и видео с ретрита (27.10.2026) */
.otz-tags { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 24px; }
.otz-tags li { font-size: 14px; font-weight: 600; color: var(--ink2); background: var(--paper2); border-radius: 999px; padding: 7px 16px; }
.otz-quotes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.otz-quotes li { grid-column: span 2; }
.otz-quotes li:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 900px) { .otz-quotes { grid-template-columns: minmax(0, 1fr); } .otz-quotes li, .otz-quotes li:nth-child(n+4) { grid-column: auto; } }
.otz-quotes li { font-family: var(--fd); font-style: italic; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.3; color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px 24px; box-shadow: 0 20px 40px -32px rgba(37, 54, 74, .5); }
.car { margin-top: clamp(36px, 4vw, 52px); }
.car-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.car-h { font-family: var(--fd); font-weight: 600; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--ink); }
.car-h small { display: block; margin-top: 4px; font-family: var(--ft); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
.car-nav { display: flex; gap: 10px; flex: 0 0 auto; }
.car-nav[hidden] { display: none; }
.car-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(37, 54, 74, .3); background: var(--card); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, border-color .2s, opacity .2s; }
.car-btn svg { width: 20px; height: 20px; }
.car-btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .car-btn:not(:disabled):hover { border-color: var(--gold); background: var(--paper2); } }
.car-track { display: flex; gap: 16px; margin-top: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 0; padding-bottom: 10px; scrollbar-width: thin; scrollbar-color: rgba(37, 54, 74, .25) transparent; overscroll-behavior-x: contain; }
.car-track > li { flex: 0 0 auto; scroll-snap-align: start; }
.car-track:focus-visible { outline-offset: 6px; }
.otz-shots > li { width: clamp(230px, 22vw, 280px); }
.otz-shot { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: 0 22px 44px -30px rgba(37, 54, 74, .55); cursor: zoom-in; }
.otz-shot img { width: 100%; height: auto; aspect-ratio: 3 / 4.6; object-fit: cover; object-position: 50% 0; }
.otz-g { position: absolute; left: 10px; top: 10px; z-index: 1; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); background: rgba(251, 249, 245, .94); border-radius: 999px; padding: 5px 11px; box-shadow: 0 6px 14px -8px rgba(37, 54, 74, .5); }
.otz-vids > li { width: clamp(220px, 21vw, 270px); }
.otz-vid { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #172130; aspect-ratio: 9 / 16; cursor: pointer; box-shadow: 0 22px 44px -30px rgba(37, 54, 74, .6); }
.otz-vid img, .otz-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.otz-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 33, 48, 0) 50%, rgba(23, 33, 48, .82) 100%); pointer-events: none; }
.otz-vid.is-on::after, .otz-vid.is-on .otz-play, .otz-vid.is-on .otz-vcap { display: none; }
.otz-play { position: absolute; left: 50%; top: 44%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold); box-shadow: 0 10px 26px -10px rgba(23, 33, 48, .7); transition: transform .3s var(--ease); }
.otz-play::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #172130; }
@media (hover: hover) and (pointer: fine) { .otz-vid:hover .otz-play { transform: scale(1.08); } .otz-shot:hover img { transform: scale(1.02); } }
.otz-shot img { transition: transform .5s var(--ease); }
.otz-vcap { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; text-align: left; font-family: var(--fd); font-style: italic; font-size: 20px; line-height: 1.2; color: #fff; }
.otz-cta { margin-top: clamp(28px, 3vw, 40px); display: flex; justify-content: center; }

/* Форматы и цены */
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(32px, 4vw, 52px); align-items: stretch; }
.pr-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid rgba(185, 141, 92, .55); border-radius: var(--r-card); padding: 26px 24px 24px; box-shadow: 0 24px 48px -34px rgba(37, 54, 74, .45); scroll-margin-top: calc(var(--hdr) + 16px); }
.pr-main { border: 2px solid var(--gold); background: #FFFDF9; box-shadow: 0 34px 64px -34px rgba(142, 102, 56, .55); padding-top: 22px; }
.pr-flag { align-self: flex-start; margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #172130; background: var(--sun); border-radius: 999px; padding: 6px 13px; }
.pr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.pr-kind { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.pr-badge { font-size: 12.5px; font-weight: 700; color: var(--ink2); background: var(--blue-l); border-radius: 999px; padding: 5px 12px; }
.pr-card h3 { margin-top: 14px; font-size: clamp(27px, 2.3vw, 32px); line-height: 1.1; }
.pr-price { margin-top: 12px; display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.pr-price b { font-family: var(--fd); font-weight: 600; font-size: clamp(38px, 3.4vw, 48px); line-height: 1; }
.pr-price span { font-size: 15px; color: var(--muted); }
.pr-old { font-size: 19px; color: var(--muted); text-decoration-thickness: 1.5px; }
.pr-note { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--gold-t); }
.pr-gift { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; font-size: 15px; line-height: 1.4; color: var(--ink); background: #FFF6E3; border: 1px dashed var(--sun); border-radius: var(--r-in); padding: 10px 14px; }
.pr-gift svg { flex: 0 0 auto; margin-top: 1px; color: var(--gold); }
.pr-gift b { color: var(--gold-t); }
.pr-lbl { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.pr-list { display: grid; gap: 9px; margin-top: 12px; }
.pr-list li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.pr-list svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: var(--gold); }
.pr-res { margin-top: 18px; font-size: 15.5px; line-height: 1.45; color: var(--ink); background: var(--paper); border-radius: var(--r-in); padding: 12px 14px; }
.pr-main .pr-res { background: var(--blue-l); }
.pr-res b { color: var(--gold-t); }
.pr-case { margin-top: 10px; font-family: var(--fd); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--ink); padding-left: 14px; border-left: 2px solid var(--sun); }
.pr-btn { margin-top: auto; width: 100%; }
.pr-card > :nth-last-child(2) { margin-bottom: 22px; }
.pr-main .btn-seal { justify-content: space-between; }
.pr-help { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; text-align: center; }
.pr-help p { font-size: 17px; color: var(--ink); }

/* Сертификат в «Обо мне» */
.au-cert { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 10px 16px 10px 10px; max-width: 460px; border-radius: 16px; background: rgba(251, 249, 245, .7); border: 1px solid rgba(37, 54, 74, .14); cursor: zoom-in; transition: background .2s; }
.au-cert img { width: 108px; height: auto; border-radius: 8px; flex: 0 0 auto; box-shadow: 0 8px 18px -10px rgba(23, 33, 48, .5); }
.au-cert-t b { display: block; font-family: var(--fd); font-weight: 600; font-size: 21px; line-height: 1.15; color: var(--ink); }
.au-cert-t span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .au-cert:hover { background: rgba(251, 249, 245, .95); } }

/* Просмотр скринов и сертификата */
.zoom { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.zoom[open] { display: flex; align-items: center; justify-content: center; }
.zoom::backdrop { background: rgba(23, 33, 48, .86); }
.zoom img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; border-radius: 12px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); }
.zoom-x { position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--card); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.zoom-x svg { width: 22px; height: 22px; }

.hero-note { margin-top: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.otz-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; justify-self: end; }

/* Форма */
.st-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.st-note { margin-top: 18px; color: var(--muted); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(18px, 2.6vw, 32px); box-shadow: 0 30px 60px -40px rgba(37, 54, 74, .3); }
.opts { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.opts legend { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.opt-c { display: block; padding: 14px 16px; border-radius: var(--r-in); border: 1px solid var(--line); background: var(--paper); min-height: 100%; transition: border-color .25s, background .25s, box-shadow .25s; }
.opt-c strong { display: block; font-size: 15.5px; }
.opt-c small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.opt input:checked + .opt-c { border-color: var(--ink); background: var(--blue-l); box-shadow: inset 0 0 0 1px var(--ink); }
.opt input:focus-visible + .opt-c { box-shadow: 0 0 0 2px var(--ink); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld-full { grid-column: 1 / -1; }
.fld span { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.fld input, .fld textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-in); padding: 13px 14px; width: 100%; min-width: 0; resize: vertical; }
.fld input::placeholder { color: #66717F; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(133, 158, 182, .35); }
.fld input.bad { border-color: #A8423A; }
.ferr { margin-top: 12px; color: #A8423A; font-size: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.form-note { font-size: 13.5px; color: var(--muted); max-width: 320px; }
.thanks { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(22px, 3vw, 40px); }
.thanks-h { font-family: var(--fd); font-size: 38px; font-weight: 500; }
.thanks p + p { margin-top: 10px; color: var(--muted); }
.thanks .btn { margin-top: 18px; }

/* Контакты */
.sec-kont { padding-bottom: 0; }
.sec-kont .bg-bloom.q { left: auto; right: -34vmin; top: 30%; }
.kt-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); margin-top: 40px; align-items: start; }
.kt-phone { display: inline-block; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; color: var(--ink); font-weight: 600; }
.kt-phone .plus { font-family: var(--ft); font-weight: 300; margin-right: .04em; }
.kt-sub { margin-top: 10px; color: var(--ink); }
.kt-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.kt-list { display: grid; gap: 18px; padding-top: 10px; }
.kt-list dt { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.kt-list dd { margin-top: 5px; color: var(--ink); }
.kt-list a { border-bottom: 1px solid rgba(37, 54, 74, .4); }
.foot { position: relative; z-index: 1; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid rgba(37, 54, 74, .18); padding: 26px 0 calc(26px + var(--sticky-h)); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.foot-brand { display: flex; flex-direction: column; gap: 4px; }
.foot .brand-n { font-size: 22px; font-style: italic; color: var(--ink); }
.foot-role { font-size: 13px; color: var(--ink); }
.foot-copy { margin-left: auto; font-size: 13px; color: var(--ink); }
@media (min-width: 761px) { .foot { padding-bottom: 26px; } }

/* ---------- Липкая панель ---------- */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: none; gap: 6px; padding: 6px;
  padding-bottom: calc(6px + env(safe-area-inset-bottom)); background: rgba(251, 249, 245, .97); border: 1px solid var(--line);
  border-radius: 999px; transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease); box-shadow: 0 18px 40px -16px rgba(37, 54, 74, .45);
}
.sticky.show { transform: none; }
.sticky a { flex: 1 1 0; min-width: 0; height: 48px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.sticky a svg { width: 18px; height: 18px; flex: 0 0 auto; }
.sticky a span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky .sk-wa { background: var(--gold); color: #172130; }
body.menu-open .sticky { display: none; }
@media (max-width: 760px) { .sticky { display: flex; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-card, .pg-card:nth-child(4) { grid-column: auto; }
  .pg-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .pw, .pw-hero { height: auto; }
  .plate { position: relative; height: auto; min-height: 100svh; transform: none; border-radius: 0; will-change: auto; }
  .plate::after { display: none; }
  /* мобильный герой по макету клиента: фото во весь экран, заголовок сверху, карточка снизу */
  .hero { min-height: 100svh; }
  .hero-frame { position: absolute; inset: 0; justify-self: stretch; width: auto; height: auto; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
  .hero-ph img { object-position: 50% 36%; }
  .hero-grad {
    display: block; position: absolute; inset: 0; z-index: 1;
    /* подложка только под заголовком (в px), лица группы ниже неё не бледнеют */
    background: linear-gradient(180deg, rgba(243, 239, 232, .95) 0, rgba(243, 239, 232, .85) 150px, rgba(243, 239, 232, 0) 235px, rgba(243, 239, 232, 0) 62%, rgba(243, 239, 232, .5) 100%);
  }
  .hero-in { position: static; display: flex; padding: calc(var(--hdr) + 12px) 0 60px; align-items: stretch; }
  .hero-txt { width: 100%; max-width: none; display: flex; flex-direction: column; }
  .hero-txt h1 { font-size: clamp(46px, 13.4vw, 64px); }
  .hero-sub { margin-top: 10px; font-size: clamp(21px, 5.8vw, 26px); }
  .hero-card { margin-top: auto; background: rgba(251, 249, 245, .95); max-width: 560px; padding: 18px 18px 16px; }
  .hero-card .lead { margin-top: 10px; font-size: 16.5px; line-height: 1.5; }
  .hero-card .hero-cta { margin-top: 16px; }
  .ribbon { height: 46px; }
  .svc { align-items: stretch; min-height: 0; }
  .svc-in { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: calc(var(--hdr) + 16px) 0 calc(var(--sticky-h) + 34px); align-content: start; }
  .svc-in .svc-ph, .svc-in.rev .svc-ph { order: 1; }
  .svc-in .svc-txt, .svc-in.rev .svc-txt { order: 2; max-width: none; }
  .ph { max-width: none; aspect-ratio: 4 / 3; max-height: 46svh; }
  .bg-bloom, .svc .bg-bloom.q, .svc:has(.rev) .bg-bloom.q { width: 120vmin; height: 120vmin; right: -40vmin; left: auto; top: 40%; }
  .zn-grid, .au-grid, .st-grid, .otz-in, .kt-grid { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .tile-a { grid-row: auto; min-height: 320px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .duo .tile-duo { min-height: 460px; }
  .tile-duo .tile-txt { padding-top: 180px; }
  .tile { min-height: 260px; }
  .ph-a { max-width: 340px; max-height: none; aspect-ratio: 3 / 4; }
  .au-facts { gap: 12px; }
  .pr-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .pr-main { order: -1; }
  .kt-grid { gap: 28px; }
}
@media (max-width: 760px) {
  .sec { scroll-margin-top: var(--hdr); }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 6px; }
  /* на телефоне в карточке одна кнопка, как в макете клиента: герой обязан влезть в экран с лентой */
  .hero-cta .lnk { display: none; }
  .btn-seal { justify-content: space-between; }
  .svc-cta .btn, .kt-btns .btn, .form-foot .btn, .otz-cta .btn, .au-txt .btn { width: 100%; }
  .otz-cta .btn { max-width: 420px; justify-content: space-between; }
  .car-btn { width: 44px; height: 44px; }
  .otz-shots > li { width: 74vw; max-width: 300px; }
  .otz-vids > li { width: 62vw; max-width: 260px; }
  .hero-note { margin-top: 8px; text-align: center; font-size: 12.5px; }
  .au-cert { max-width: none; }
  .svc-cta { gap: 14px; }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .au-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .au-facts strong { font-size: 26px; }
  .au-facts span { font-size: 13px; }
  .chips li { font-size: 16px; padding: 11px 20px; }
  .pg-grid, .vs-list { grid-template-columns: minmax(0, 1fr); }
  .pg-card:last-child { grid-column: auto; }
  .vs-step { padding: 20px 18px; gap: 14px; }
  .vs-step i { font-size: 36px; }
  .zn-end .btn, .pg-end .btn { width: 100%; max-width: 420px; }
  .foot-copy { margin-left: 0; }
  .sec-start { padding-bottom: clamp(64px, 9vw, 120px); }
}
@media (max-width: 900px) and (max-height: 700px) {
  .hero-txt h1 { font-size: clamp(40px, 11.5vw, 52px); }
  .hero-sub { font-size: 20px; margin-top: 6px; }
  .hero-card .kicker { display: none; }
  .hero-card .lead { margin-top: 0; font-size: 15.5px; }
}
@media (max-width: 400px) {
  .btn { padding: 0 18px; font-size: 15px; }
  .btn-seal { padding: 0 7px 0 24px; height: 58px; }
  .btn-seal .seal { width: 44px; height: 44px; }
}
@media (max-height: 700px) and (min-width: 901px) {
  .svc-in { padding-top: calc(var(--hdr) + 4px); padding-bottom: 20px; }
  .svc-lead { margin-top: 12px; }
  .svc-cta { margin-top: 18px; }
  .hero-card { margin-top: 22px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .plate .txt > *, .rv, .hero-txt > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ribbon-track { animation: none; }
  .chips.in li { animation: none; }
  .ph img, .tile img { transition: none; }
  .btn, .lnk svg, .ico-btn, .btn-seal .seal { transition: none; }
}

/* ---------- Тест «Где теряется энергия» ---------- */
.sec-qz .bg-bloom.q { left: auto; right: -30vmin; }
.sec-qz h2 em { color: var(--ink); }
.pg-end .pg-test { margin-top: 14px; }
.qz { position: relative; margin-top: clamp(28px, 4vw, 48px); background: var(--card); color: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 4vw, 48px); box-shadow: 0 34px 70px -40px rgba(23, 33, 48, .6); }
.qz-step { animation: qzIn .45s var(--ease) both; }
@keyframes qzIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.qz-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.qz-how li { background: var(--paper); border-radius: var(--r-in); padding: 18px 18px 16px; border-left: 3px solid var(--gold); }
.qz-how b { display: block; font-family: var(--fd); font-weight: 600; font-size: 22px; line-height: 1.15; }
.qz-how span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.qz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.qz-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink2); background: var(--blue-l); border-radius: 999px; padding: 6px 14px 6px 8px; }
.qz-chips svg { color: var(--gold-t); }
.qz-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.qz-note { font-size: 14px; letter-spacing: .02em; color: var(--muted); }
.qz-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.qz-num { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.qz-back { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 2px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink); cursor: pointer; }
.qz-back svg { transform: rotate(180deg); }
.qz-back[hidden] { display: none; }
.qz-bar { height: 4px; border-radius: 4px; background: var(--paper2); margin-top: 12px; overflow: hidden; }
.qz-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), var(--sun)); transform-origin: left; transition: transform .5s var(--ease); }
.qz-q { margin-top: 26px; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; }
.qz [tabindex="-1"]:focus { outline: none; }
.qz-h { margin-top: 8px; font-size: 15px; color: var(--muted); }
.qz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 10px; margin-top: 22px; }
.qz-o { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 56px; text-align: left; font: inherit; font-size: 16.5px; font-weight: 600; line-height: 1.35; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background .2s, border-color .2s, transform .16s var(--ease); }
.qz-o::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(37, 54, 74, .35); flex: 0 0 auto; transition: border-color .2s, background .2s, box-shadow .2s; }
.qz-o:active { transform: scale(.985); }
.qz-o.is-on { background: var(--gold); border-color: var(--gold); color: #172130; }
.qz-o.is-on::before { border-color: #172130; background: #172130; box-shadow: inset 0 0 0 3px var(--gold); }
@media (hover: hover) and (pointer: fine) { .qz-o:not(.is-on):hover { border-color: var(--gold); background: var(--card); } }
.qz-lbl { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-t); }
.qz-pn { margin-top: 10px; font-size: clamp(40px, 5vw, 60px); line-height: 1; }
.qz-d { margin-top: 14px; font-family: var(--fd); font-style: italic; font-weight: 500; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; color: var(--gold-t); }
.qz-b { margin-top: 14px; color: var(--muted); max-width: 860px; }
.qz-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.qz-two div { background: var(--paper); border-radius: var(--r-in); padding: 16px 18px; }
.qz-two b { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-t); }
.qz-two p { margin-top: 6px; font-size: 15.5px; }
.qz-off { margin-top: 22px; background: var(--blue-l); border-radius: var(--r-in); padding: clamp(18px, 3vw, 28px); }
.qz-off h4 { font-family: var(--fd); font-weight: 600; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin: 0; }
.qz-off p { margin-top: 8px; font-size: 15.5px; color: var(--ink2); }
.qz-off .qz-meta { font-weight: 700; color: var(--ink); }
.qz-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 18px; }
.qz-again { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: none; border: 0; padding: 8px 2px; font: inherit; font-size: 14.5px; font-weight: 700; color: var(--ink2); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(37, 54, 74, .3); text-underline-offset: 4px; }
@media (max-width: 760px) {
  .qz { padding: 20px 16px 22px; }
  .qz-how { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .qz-how li { padding: 12px 14px; }
  .qz-how b { font-size: 20px; }
  .qz-how span { margin-top: 2px; font-size: 14px; }
  .qz-two { grid-template-columns: minmax(0, 1fr); }
  .qz-o { font-size: 15.5px; padding: 12px 14px; min-height: 52px; }
  .qz-go .btn, .qz-cta .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .qz-step { animation: none; } .qz-bar i { transition: none; } }
