/* ───────────────────────────────────────────────────────────────
   prof.360psy.ru — лендинг профориентации и кабинет клиента.
   Наследует токены styles.css (Lora + Golos, шалфейный акцент),
   добавляет «редакционный» слой: тёмный лес, терракота, зерно бумаги.
   ─────────────────────────────────────────────────────────────── */
.prof {
  --forest: #22352a;
  --forest-2: #2d4636;
  --forest-ink: #eef2ea;
  --sand: #e9dcc6;
  --terra: #c98b6b;
  --paper: #f4efe6;
  --r-xl: 28px;
  --r-2xl: 40px;
  --ease-out: cubic-bezier(.22,.8,.26,1);
  --shadow-lg: 0 30px 70px -28px rgba(46,38,24,.35), 0 8px 22px -12px rgba(46,38,24,.18);
  background: var(--paper);
}
.prof ::selection { background: color-mix(in oklab, var(--accent) 30%, transparent); }
.prof :focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip-link:focus { top: 12px; }

/* ── Бренд ── */
.prof-brand { display: inline-flex; align-items: center; gap: 10px; }
.prof-brand-tag {
  font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--tan-deep); background: color-mix(in oklab, var(--tan) 18%, transparent);
  padding: 3px 9px; border-radius: 999px;
}

/* ── Шапка: плавающая «пилюля» ── */
.pn { position: sticky; top: 0; z-index: 60; padding: 12px 16px 0; pointer-events: none; }
.pn-bar {
  pointer-events: auto; max-width: 1180px; margin: 0 auto; height: 62px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: color-mix(in srgb, var(--card) 72%, transparent); backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid color-mix(in srgb, var(--line-strong) 60%, transparent); border-radius: 999px;
  box-shadow: 0 6px 24px -14px rgba(46,38,24,.25);
  transition: box-shadow .3s var(--ease-out), background .3s;
}
.pn.scrolled .pn-bar { background: color-mix(in srgb, var(--card) 88%, transparent); box-shadow: 0 14px 36px -18px rgba(46,38,24,.35); }
.pn-links { display: flex; gap: 2px; }
.pn-links a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 550; color: var(--ink-soft); transition: background .2s, color .2s; }
.pn-links a:hover { background: color-mix(in oklab, var(--chip) 80%, transparent); color: var(--ink); }
.pn-actions { display: flex; align-items: center; gap: 6px; }
.pn-login { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.pn-login:hover { color: var(--ink); background: var(--chip); }
.pn-cta { border-radius: 999px; padding: 10px 18px; }

/* ── Подвал ── */
.pf { margin-top: 96px; background: var(--forest); color: color-mix(in srgb, var(--forest-ink) 72%, transparent); }
.pf-inner { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: flex-start; }
.pf .logo-word { color: var(--forest-ink); }
.pf .logo-word .p { color: #a9c7ae; }
.pf .prof-brand-tag { color: var(--sand); background: rgba(255,255,255,.08); }
.pf-brand p { margin: 14px 0 0; max-width: 380px; font-size: 13.5px; line-height: 1.55; }
.pf-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pf-links a { font-size: 14.5px; color: var(--forest-ink); opacity: .85; padding: 6px 0; }
.pf-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* ── Общие элементы лендинга ── */
.lp h1, .lp h2, .lp h3 { text-wrap: balance; }
.lp em { font-style: italic; font-weight: 500; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; }
.eyebrow.light { color: #b9d4bd; }
.sec { margin-top: 128px; }
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.sec-head h2 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.022em; font-weight: 500; }
.sec-head p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.img-slot { background-color: var(--sand); background-image: var(--img), var(--fallback, none); background-size: cover; background-position: center; }

/* появление при прокрутке */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ════════ HERO ════════ */
.ph { position: relative; margin-top: -74px; padding-top: 74px; overflow: hidden; }
.ph-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 85% 20%, color-mix(in oklab, var(--green) 30%, transparent) 0%, transparent 70%),
    radial-gradient(45% 50% at 8% 85%, color-mix(in oklab, var(--terra) 22%, transparent) 0%, transparent 70%),
    radial-gradient(40% 40% at 45% 0%, color-mix(in oklab, var(--tan) 20%, transparent) 0%, transparent 70%);
}
.ph-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .22 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ph-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; max-width: 1180px; }
.ph-grid > * { min-width: 0; }
.aud-switch { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); margin-bottom: 28px; }
.aud-switch button {
  font: 600 14px/1 var(--font-body); color: var(--ink-soft); background: transparent; border: 0; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; transition: background .25s var(--ease-out), color .25s; min-height: 40px;
}
.aud-switch button:hover { color: var(--ink); background: var(--chip); }
.aud-switch button[aria-pressed="true"] { background: var(--forest); color: #fff; }
.ph-title { margin: 0 0 24px; font-size: clamp(42px, 6.4vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 500; }
.ph-lead { margin: 0 0 34px; max-width: 540px; font-size: 19px; line-height: 1.6; color: var(--ink-soft); min-height: 4.8em; }
.ph-lead.swap { animation: leadIn .45s var(--ease-out); }
@keyframes leadIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ph-cta { border-radius: 999px; padding: 17px 30px; box-shadow: 0 14px 30px -14px color-mix(in oklab, var(--accent) 80%, black); }
.ph-cta .ic { transition: transform .25s var(--ease-out); }
.ph-cta:hover .ic { transform: translateX(4px); }
.ph-ghost { border-radius: 999px; padding: 17px 26px; color: var(--ink); background: color-mix(in srgb, var(--card) 60%, transparent); border-color: var(--line-strong); }
.ph-ghost:hover { background: var(--card); }
.ph-facts { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line-strong); max-width: 560px; }
.ph-facts div { display: grid; gap: 2px; }
.ph-facts dt { font-family: var(--font-head); font-size: 30px; font-weight: 500; letter-spacing: -.02em; color: var(--forest); }
.ph-facts dd { margin: 0; font-size: 13.5px; color: var(--muted); max-width: 150px; line-height: 1.35; }

.ph-visual { position: relative; aspect-ratio: 4 / 5; max-width: 500px; width: 100%; justify-self: end; }
.ph-ring { position: absolute; inset: -9%; width: 118%; height: 118%; color: var(--accent); animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ph-arch {
  position: absolute; inset: 0; border-radius: 999px 999px var(--r-xl) var(--r-xl); overflow: hidden;
  --fallback: radial-gradient(70% 50% at 70% 25%, #f1d9b4 0%, transparent 60%),
              linear-gradient(170deg, #cfe0cf 0%, #9dbb9f 45%, #5f8466 75%, #2d4636 100%);
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute; z-index: 2; background: color-mix(in srgb, var(--card) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.6); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.fc-profile { left: -8%; bottom: 14%; width: 220px; padding: 16px 18px; display: grid; gap: 6px; animation: floaty 7s ease-in-out infinite; }
.fc-cap { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fc-profile b { font-family: var(--font-head); font-size: 18px; font-weight: 600; }
.fc-bars { display: grid; gap: 6px; margin-top: 4px; }
.fc-bars i { display: block; height: 7px; border-radius: 99px; background: linear-gradient(90deg, var(--line-strong) var(--w), var(--chip) var(--w)); }
.fc-bars i.on { background: linear-gradient(90deg, var(--accent) var(--w), var(--chip) var(--w)); }
.fc-note { right: -6%; top: 16%; padding: 12px 16px 12px 12px; display: flex; gap: 12px; align-items: center; max-width: 250px; animation: floaty 8s ease-in-out -3s infinite; }
.fc-note b { display: block; font-size: 14px; }
.fc-note span:not(.fc-dot) { font-size: 12.5px; color: var(--muted); }
.fc-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-chip { position: absolute; z-index: 2; right: 8%; bottom: -3%; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: floaty 9s ease-in-out -5s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ════════ MARQUEE ════════ */
.mq { overflow: hidden; border-block: 1px solid var(--line-strong); background: color-mix(in srgb, var(--card) 50%, transparent); padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; width: max-content; animation: mq 60s linear infinite; }
.mq-track span { font-family: var(--font-head); font-style: italic; font-size: 22px; color: var(--ink-soft); white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; }
.mq-track span::after { content: "✦"; font-style: normal; font-size: 13px; color: var(--terra); margin-left: 44px; }
.mq:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ════════ BENTO ════════ */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento > a { border-radius: var(--r-xl); transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), opacity .7s var(--ease-out) var(--d, 0ms); }
.bento > a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bt-hero {
  grid-column: span 6; grid-row: span 2; position: relative; overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 30px; color: #fff; isolation: isolate;
}
.bt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20,32,24,.82) 100%); }
.bt-teen { --fallback: radial-gradient(60% 50% at 30% 30%, #f3dcb8 0%, transparent 70%), linear-gradient(160deg, #b8d0b9, #5f8466 70%, #2d4636); }
.bt-adult { grid-column: 7 / span 6; grid-row: span 2; --fallback: radial-gradient(60% 50% at 70% 30%, #f6d2b8 0%, transparent 70%), linear-gradient(200deg, #e2c39e, #c98b6b 55%, #5c3f2e); }
.bt-tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }
.bt-h { font-family: var(--font-head); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -.02em; max-width: 440px; }
.bt-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin-top: 6px; }
.bt-go .ic { transition: transform .25s var(--ease-out); }
.bt-hero:hover .bt-go .ic { transform: translateX(4px); }
.bt-q {
  grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px; background: var(--card); border: 1px solid var(--line);
}
.bt-q.bt-wide { grid-column: span 6; }
.bt-q q { font-family: var(--font-head); font-style: italic; font-size: 19px; line-height: 1.42; quotes: "«" "»"; }
.bt-q.bt-wide q { font-size: 22px; }
.bt-who { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--green-deep); }
.bt-q.bt-tan .bt-who { color: var(--tan-deep); }
.bt-q.bt-tan { background: color-mix(in oklab, var(--sand) 45%, var(--card)); border-color: color-mix(in oklab, var(--tan) 25%, var(--line)); }
.bt-q:not(.bt-tan) { background: color-mix(in oklab, var(--green) 9%, var(--card)); border-color: color-mix(in oklab, var(--green) 22%, var(--line)); }

/* ════════ 15 / 35 / 50 ════════ */
.ages-title { max-width: 860px; margin: 0 0 56px; font-size: clamp(32px, 4.8vw, 58px); line-height: 1.06; letter-spacing: -.03em; font-weight: 500; }
.ages-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.age { padding: 28px 28px 8px 0; display: grid; gap: 10px; align-content: start; }
.age + .age { padding-left: 28px; border-left: 1px solid var(--line-strong); }
.age-n { font-family: var(--font-head); font-size: clamp(72px, 9vw, 120px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.age:nth-child(2) .age-n { -webkit-text-stroke-color: var(--terra); }
.age:nth-child(3) .age-n { -webkit-text-stroke-color: var(--forest); }
.age p { margin: 0; font-size: 16.5px; line-height: 1.6; color: var(--ink-soft); max-width: 320px; }

/* ════════ КОЛЕСО 360 ════════ */
.wheel-sec { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.wheel-sec > * { min-width: 0; }
.wheel-wrap { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.wheel { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.wseg { transition: opacity .35s var(--ease-out), stroke-width .35s var(--ease-out); stroke-linecap: butt; }
.ws0 { stroke: var(--accent); --c: var(--accent); }
.ws1 { stroke: var(--tan); --c: var(--tan); }
.ws2 { stroke: var(--blue); --c: var(--blue); }
.ws3 { stroke: var(--terra); --c: var(--terra); }
.ws4 { stroke: var(--forest-2); --c: var(--forest-2); }
.wheel.has-active .wseg { opacity: .25; }
.wheel.has-active .wseg.active { opacity: 1; stroke-width: 36; }
.wheel-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; }
.wc-n { font-family: var(--font-head); font-size: clamp(54px, 7vw, 84px); letter-spacing: -.04em; line-height: 1; }
.wc-t { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dims { list-style: none; margin: 0; padding: 0; display: grid; }
.dim { display: flex; gap: 16px; padding: 18px 16px; margin: 0 -16px; border-radius: 18px; cursor: pointer; transition: background .25s; border-bottom: 1px solid var(--line); }
.dim:last-child { border-bottom: 0; }
.dim:hover, .dim.active { background: color-mix(in srgb, var(--card) 80%, transparent); }
.dim-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex-shrink: 0; margin-top: 6px; box-shadow: 0 0 0 5px color-mix(in oklab, var(--c) 18%, transparent); }
.dim b { font-family: var(--font-head); font-size: 20px; font-weight: 600; }
.dim p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ════════ ТЁМНАЯ СЕКЦИЯ «КАК ЭТО РАБОТАЕТ» ════════ */
.dark-sec {
  margin: 128px 16px 0; border-radius: var(--r-2xl); background: var(--forest); color: var(--forest-ink);
  padding: 96px 0 104px; position: relative; overflow: hidden;
}
.dark-sec::before { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(169,199,174,.22), transparent 65%); }
.dark-sec .eyebrow { color: #b9d4bd; }
.dark-sec em { color: #b9d4bd; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.step { position: relative; padding: 28px 24px 26px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 10px; align-content: start; transition: background .3s, opacity .7s var(--ease-out) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.step:hover { background: rgba(255,255,255,.09); }
.step-n { font-family: var(--font-head); font-style: italic; font-size: 46px; line-height: 1; color: #b9d4bd; }
.step h3 { margin: 6px 0 0; font-size: 21px; font-weight: 500; color: #fff; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(238,242,234,.75); }
.step-chip { justify-self: start; margin-top: 8px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(185,212,189,.14); color: #cfe3d2; }

/* ════════ ЧТО ВЫ ПОЛУЧИТЕ ════════ */
.result-sec { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.result-sec > * { min-width: 0; }
.tabs-pill { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--chip); margin-bottom: 26px; }
.tabs-pill button { font: 600 14.5px/1 var(--font-body); border: 0; background: transparent; color: var(--ink-soft); padding: 11px 20px; border-radius: 999px; cursor: pointer; min-height: 42px; transition: background .25s, color .25s; }
.tabs-pill button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(46,38,24,.12); }
.res-list { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 16px; }
.res-list[hidden] { display: none; }
.res-list li { display: flex; gap: 14px; font-size: 16.5px; line-height: 1.55; color: var(--ink-soft); animation: leadIn .4s var(--ease-out); }
.res-list li .ic { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; flex-shrink: 0; }
.res-list b { color: var(--ink); font-weight: 650; }
.result-sec .btn-primary { border-radius: 999px; white-space: normal; }

.report { position: relative; max-width: 480px; width: 100%; justify-self: center; }
.report-back { position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; background: color-mix(in oklab, var(--sand) 70%, var(--card)); transform: rotate(3deg); z-index: 0; }
.report-sheet { position: relative; z-index: 1; background: #fffdf8; border-radius: 24px; padding: 30px 30px 26px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); display: grid; gap: 18px; transform: rotate(-1.5deg); transition: transform .5s var(--ease-out); }
.report:hover .report-sheet { transform: rotate(0); }
.rp-head { display: flex; justify-content: space-between; align-items: center; }
.rp-brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rp-title { font-family: var(--font-head); font-size: 25px; line-height: 1.15; margin-top: 4px; }
.rp-sub { font-size: 13.5px; color: var(--muted); margin-top: -12px; }
.rp-block { display: grid; gap: 9px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.rp-cap { font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.rp-bar { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; font-size: 13.5px; color: var(--ink-soft); }
.rp-bar i { height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--accent) var(--w), var(--chip) var(--w)); }
.rp-list { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14.5px; }
.rp-list li::marker { color: var(--terra); font-weight: 700; }
.rp-sign { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); padding-top: 6px; }
.rp-sign i { width: 90px; height: 26px; border-bottom: 1.5px solid var(--ink-soft); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 26'%3E%3Cpath d='M4 20c8-14 14-14 12 0s10-16 16-6 6 8 12-2 10 6 16 2 10-6 24-6' fill='none' stroke='%232d4636' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 12.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 13%, var(--card)); color: var(--green-deep); }

/* ════════ FAQ ════════ */
.faq-sec { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq-sec > * { min-width: 0; }
.faq-sec .sec-head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 20px; transition: border-color .25s, box-shadow .25s, opacity .7s var(--ease-out) var(--d, 0ms), transform .7s var(--ease-out) var(--d, 0ms); }
.faq details[open] { border-color: color-mix(in oklab, var(--accent) 40%, var(--line)); box-shadow: 0 10px 30px -18px rgba(46,38,24,.3); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.pm { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--chip); flex-shrink: 0; transition: background .25s; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease-out); }
.faq details[open] .pm { background: var(--accent); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq details p { margin: 0; padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); }

/* ════════ CTA ════════ */
.cta {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-2xl); padding: 64px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; color: #fff;
  --fallback: radial-gradient(50% 60% at 85% 20%, rgba(241,217,180,.55), transparent 70%), linear-gradient(135deg, #2d4636 0%, #22352a 55%, #3b5a45 100%);
}
.cta > * { min-width: 0; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25,38,30,.92) 0%, rgba(25,38,30,.7) 50%, rgba(25,38,30,.2) 100%); }
.cta h2 { margin: 0 0 16px; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.025em; font-weight: 500; }
.cta h2 em { color: #cfe3d2; }
.cta-copy p { margin: 0 0 28px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.85); max-width: 480px; }
.cta-ghost { border-radius: 999px; color: #fff; border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); white-space: normal; text-align: left; }
.cta-ghost:hover { background: rgba(255,255,255,.14); }
.cta-form { background: var(--card); color: var(--ink); border-radius: 26px; padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow-lg); }
.cta-form-h { font-family: var(--font-head); font-size: 22px; margin-bottom: 2px; }
.cta-form .btn { border-radius: 999px; }
.cta-form input, .cta-form select { min-height: 46px; }
.p-select, .field select {
  width: 100%; font-family: var(--font-body); font-size: 15px; padding: 10px 14px; border-radius: 10px;
  border: 1px solid var(--line-strong); background: var(--card); color: var(--ink); outline: none;
}
.p-fine { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.p-fine a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ════════ Прохождение набора и кабинет ════════ */
.p-page { max-width: 760px; margin: 0 auto; padding-top: 48px; }
.p-page h1 { margin: 10px 0 10px; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; }
.p-page .btn { white-space: normal; text-align: center; }
.p-page .btn-lg, .p-page .btn-primary { border-radius: 999px; }
.p-intro { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; white-space: pre-line; }
.p-progress-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.p-tests { display: grid; gap: 12px; }
.p-test { display: flex; gap: 16px; align-items: center; padding: 16px 20px; flex-wrap: wrap; border-radius: 20px; }
.p-test .num { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--chip); color: var(--muted); font-weight: 700; font-size: 14px; }
.p-test.done .num { background: var(--accent); color: #fff; }
.p-test.next { border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 14%, transparent); }
.p-test .meta { flex: 1; min-width: 200px; display: grid; gap: 3px; }
.p-test .meta .ttl { font-weight: 650; font-size: 16px; }
.p-test .meta .sub { font-size: 13.5px; color: var(--muted); }
.p-test .res { width: 100%; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; display: grid; gap: 18px; }
.p-done { text-align: center; padding: 38px 28px; display: grid; gap: 10px; justify-items: center; background: color-mix(in oklab, var(--green) 10%, var(--card)); border-radius: var(--r-xl); }
.p-done .ring { width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.p-done h2 { margin: 6px 0 0; font-size: 28px; font-weight: 500; }
.p-done p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.6; max-width: 520px; }
.prof .auth .btn { border-radius: 999px; }

/* ════════ Адаптив ════════ */
@media (max-width: 1080px) {
  .pn-links { display: none; }
}
@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .ph-visual { justify-self: center; max-width: 380px; margin: 0 auto 30px; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .bt-hero, .bt-adult { grid-column: span 6; min-height: 340px; }
  .bt-q, .bt-q.bt-wide { grid-column: span 3; }
  .ages-row { grid-template-columns: 1fr; }
  .age, .age + .age { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-strong); grid-template-columns: 120px 1fr; align-items: center; gap: 20px; }
  .age-n { font-size: 84px; }
  .wheel-sec, .result-sec, .faq-sec { grid-template-columns: 1fr; gap: 40px; }
  .wheel-wrap { max-width: 340px; }
  .faq-sec .sec-head { position: static; }
  .steps { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 40px 28px; }
  .cta::before { background: linear-gradient(180deg, rgba(25,38,30,.9), rgba(25,38,30,.78)); }
}
@media (max-width: 640px) {
  .pn { padding: 8px 10px 0; }
  .pn-bar { height: 56px; padding: 0 6px 0 14px; }
  .pn .prof-brand-tag, .pn-login span { display: none; }
  .pn-login { padding: 9px 10px; }
  .ph { margin-top: -68px; padding-top: 68px; }
  .ph-title { font-size: 44px; }
  .ph-lead { font-size: 17px; min-height: 0; }
  .ph-actions .btn { width: 100%; }
  .ph-facts { gap: 14px 22px; }
  .ph-facts dt { font-size: 25px; }
  .fc-profile { left: -4%; width: 190px; }
  .fc-note { right: -3%; max-width: 210px; }
  .sec { margin-top: 88px; }
  .sec-head { margin-bottom: 32px; }
  .bt-q, .bt-q.bt-wide { grid-column: span 6; }
  .bt-q q, .bt-q.bt-wide q { font-size: 19px; }
  .bt-hero { padding: 24px; }
  .age, .age + .age { grid-template-columns: 84px 1fr; }
  .age-n { font-size: 64px; }
  .dark-sec { margin: 88px 8px 0; padding: 64px 0 72px; border-radius: 28px; }
  .steps { grid-template-columns: 1fr; }
  .report-sheet { padding: 22px 20px; }
  .rp-bar { grid-template-columns: 110px 1fr; }
  .cta { padding: 32px 20px; border-radius: 28px; }
  .cta-form { padding: 22px 18px; }
  .mq-track span { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-ring, .mq-track, .float-card, .float-chip { animation: none !important; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .ph-lead.swap, .res-list li { animation: none; }
}

/* hover-подъём карточек поверх анимации появления */
.js .bento > a.rv { transition: opacity .7s var(--ease-out) var(--d, 0ms), transform .5s var(--ease-out), box-shadow .35s var(--ease-out); }
.js .bento > a.rv.in:hover { transform: translateY(-4px); }
.pf .logo-word .ru { color: rgba(238,242,234,.6); }
.lp { overflow-x: clip; }
@media (max-width: 640px) { .report-back { inset: 16px -8px -12px 12px; } }
.bt-hero { background-position: center 92%; }
@media (max-width: 640px) { .fc-profile { display: none; } .fc-note { top: 10%; } }
