/* Golos Text (SIL Open Font License 1.1, см. fonts/OFL.txt): свой хостинг, без Google */
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/golos-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/golos-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/golos-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("fonts/golos-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------------
   Гульнур Сапар, профориентолог
   Стиль: светлые скруглённые блоки, глубокий сине-графитовый,
   кнопки-«таблетки» с круглой стрелкой. Шрифт: Golos Text.
---------------------------------------------------------------- */
:root {
  --bg:      #FFFFFF;
  --ink:     #13232B;   /* текст и тёмные блоки */
  --ink-2:   #3B4A52;
  --muted:   #5B6770;   /* не светлее: контраст ≥ 4.5:1 и на белом, и на светлых карточках */
  --slate:   #46617A;   /* акцент: иконки, бейджи */
  --slate-2: #3A5268;
  --mist:    #F1F5F9;   /* светлые карточки */
  --mist-2:  #E4ECF3;
  --line:     rgba(19, 35, 43, .12);
  --line-inv: rgba(255, 255, 255, .14);

  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-sm: 14px;
  --inset: clamp(8px, .9vw, 14px);
  --max: 1280px;
  --pad: clamp(16px, 4vw, 48px);
  --gutter: max(var(--pad), calc((100vw - var(--max)) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.06; letter-spacing: -.03em; text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; }
.skip:focus { left: 8px; }

.wrap { padding-inline: var(--gutter); }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Таблетки и круглые кнопки ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; line-height: 1.1; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s;
}
.pill--sm { min-height: 36px; padding: 0 16px; font-size: 11.5px; }
.pill--mist  { background: var(--mist); color: var(--ink); }
a.pill--mist:hover { background: var(--mist-2); }
.pill--dark  { background: var(--ink); color: #fff; }
.pill--light { background: #fff; color: var(--ink); }
.pill--line  { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.pill--slate { background: var(--slate); color: #fff; }

.circle {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  transition: transform .3s ease, background-color .2s;
}
.circle--dark  { background: var(--ink); color: #fff; }
.circle--light { background: #fff; color: var(--ink); }
.circle--mist  { background: var(--mist); color: var(--ink); }
.circle--line  { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.circle--slate { background: var(--slate); color: #fff; }
.circle--glass { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); color: #fff; }
button.circle--line:hover { background: var(--mist); }

.cta { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.cta:hover .circle { transform: rotate(45deg); }
.cta:hover .pill--dark { background: var(--slate-2); }
.cta:hover .circle--dark { background: var(--slate-2); }

/* ---------- Логотип ---------- */
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}

/* ---------- Плавающая шапка ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 8px;
  height: 64px; padding: 0 var(--pad);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
}
.topbar .logo { margin-right: auto; }
.topbar__nav, .topbar__cta { display: none; }
.topbar__chat { width: 42px; height: 42px; }

.menu { position: relative; }
.menu summary { list-style: none; width: 42px; height: 42px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { position: relative; width: 18px; height: 10px; }
.menu__icon::before, .menu__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px;
  background: currentColor; transition: transform .2s, top .2s;
}
.menu__icon::before { top: 0; }
.menu__icon::after { top: 8.4px; }
.menu[open] .menu__icon::before { top: 4.2px; transform: rotate(45deg); }
.menu[open] .menu__icon::after  { top: 4.2px; transform: rotate(-45deg); }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 11px);
  display: grid; width: min(320px, calc(100vw - 2 * var(--pad)));
  padding: 8px; border-radius: var(--r-lg); background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 24px 60px -20px rgba(19, 35, 43, .35);
}
.menu__panel a { padding: 13px 16px; border-radius: 12px; font-size: 18px; text-decoration: none; }
.menu__panel a:hover { background: var(--mist); }
.menu__panel .menu__wa { margin-top: 6px; background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.menu__panel .menu__wa:hover { background: var(--slate-2); }

@media (min-width: 900px) {
  .topbar {
    position: fixed; left: 50%; top: 12px;
    width: min(1120px, calc(100% - 24px)); height: 60px;
    padding: 0 8px 0 18px;
    border: 1px solid var(--line); border-radius: 999px;
    box-shadow: 0 14px 34px -16px rgba(19, 35, 43, .3);
    transform: translate(-50%, calc(-100% - 24px));
    transition: transform .45s cubic-bezier(.2, .7, .2, 1);
  }
  .topbar.is-visible { transform: translate(-50%, 0); }
  .topbar__nav { display: flex; gap: 2px; margin-right: 6px; }
  .topbar__nav a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; text-decoration: none; white-space: nowrap; }
  .topbar__nav a:hover { background: var(--mist); }
  .topbar__cta { display: inline-flex; }
  .topbar__chat, .topbar .menu { display: none; }
}
@media (min-width: 900px) and (max-width: 1100px) {
  .topbar__nav a:last-child { display: none; }
}

/* ---------- Первый экран ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  gap: var(--inset); padding: var(--inset);
  height: clamp(640px, 100svh, 940px);
}
.hero__panel { display: flex; flex-direction: column; padding: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) clamp(12px, 1.4vw, 18px); }
.hero__label { margin: clamp(56px, 12vh, 150px) 0 14px; font-size: 13.5px; color: var(--muted); }
.hero__lead { max-width: 25em; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; color: var(--ink-2); }
.hero__bottom { margin-top: auto; padding-top: 32px; }
.hero__formats { margin-bottom: 12px; font-size: 13.5px; color: var(--muted); }
.hero__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }

.hero__media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: #A3A6AA; color: #fff; }
.hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 14%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(19, 35, 43, .30) 0%, rgba(19, 35, 43, 0) 20%, rgba(19, 35, 43, 0) 46%, rgba(19, 35, 43, .80) 100%);
}
.hero__nav { position: absolute; z-index: 2; top: 16px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.navcaps { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .84); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.navcaps a { padding: 9px 14px; border-radius: 999px; font-size: 14px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.navcaps a:hover { background: #fff; }
.hero h1 {
  position: absolute; z-index: 2;
  left: clamp(20px, 2.6vw, 40px); right: 96px; bottom: clamp(20px, 2.6vw, 40px);
  font-size: clamp(40px, 5.4vw, 84px); line-height: .98; letter-spacing: -.045em; color: #fff;
}
.hero__down { position: absolute; z-index: 2; right: clamp(16px, 2vw, 28px); bottom: clamp(20px, 2.6vw, 40px); text-decoration: none; }
.hero__down:hover { background: rgba(255, 255, 255, .14); }

@media (max-width: 1180px) and (min-width: 900px) {
  .navcaps a:nth-child(4) { display: none; }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); height: auto; }
  .hero__media { order: -1; height: min(118vw, 620px); border-radius: var(--r-lg); }
  .hero__nav, .hero__down, .hero__panel > .logo { display: none; }
  .hero__panel { padding: 22px 8px 8px; }
  .hero__label { margin-top: 0; }
  .hero h1 { right: 20px; font-size: clamp(36px, 10.6vw, 64px); }
}

/* ---------- Общие элементы секций ---------- */
.sec { padding-block: clamp(72px, 9vw, 128px); }
.sec-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
  min-height: 62px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.kicker { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.sec-top__aside { font-size: 14px; color: var(--muted); }
.h-big { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.045em; }
.split {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 24px clamp(32px, 5vw, 80px); margin-top: clamp(36px, 4vw, 56px);
}
@media (max-width: 899px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Обо мне ---------- */
.who { display: flex; align-items: center; gap: 14px; align-self: start; }
.who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.who b { display: block; font-weight: 600; }
.who span { font-size: 14px; color: var(--muted); }
.statement { font-size: clamp(23px, 2.5vw, 36px); font-weight: 500; line-height: 1.3; letter-spacing: -.025em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }

/* Цифры в ряд, разделены вертикальными линиями: 900+ | 23 000+ | 20 лет */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(64px, 8vw, 112px); }
.stat {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  padding: 10px clamp(12px, 2.4vw, 40px); text-align: center;
}
.stat + .stat { border-left: 1px solid rgba(19, 35, 43, .2); }
.stat b { font-size: clamp(36px, 5.4vw, 80px); font-weight: 400; line-height: 1; letter-spacing: -.045em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat span { max-width: 19em; margin-top: 14px; font-size: 14.5px; line-height: 1.35; color: var(--muted); }
@media (max-width: 640px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 22px 0; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(19, 35, 43, .2); }
}

.quote { margin-top: clamp(64px, 8vw, 112px); padding-top: 28px; border-top: 1px solid var(--line); }
.quote .split { margin-top: 0; }
.word b { display: block; font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.word p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.quote__text p { font-size: clamp(23px, 2.5vw, 36px); line-height: 1.3; letter-spacing: -.025em; }

/* ---------- Подросткам: вопросы ---------- */
.faq__intro p { max-width: 22em; margin-top: 18px; color: var(--muted); }
.faq__list { display: grid; gap: 8px; }
.faq__item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 66px; padding: 11px 11px 11px 24px; border-radius: var(--r-sm);
  background: var(--mist); font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; line-height: 1.35;
  text-decoration: none; transition: background-color .2s;
}
.faq__item:hover { background: var(--mist-2); }
.faq__item .circle { width: 42px; height: 42px; background: #fff; }
.faq__item:hover .circle { transform: rotate(45deg); }

/* ---------- Родителям: преимущества ---------- */
.parents__lead { grid-column: 2; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; letter-spacing: -.025em; }
.adv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 56px); }
.adv__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(300px, 28vw, 400px); padding: clamp(22px, 2vw, 30px);
  border-radius: var(--r-lg); background: var(--mist);
  transition: background-color .35s, color .35s;
}
.adv__sq {
  position: absolute; top: 18px; right: 18px; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 14px; background: var(--slate); color: #fff;
  transition: background-color .35s, color .35s;
}
.adv__sq .i { width: 23px; height: 23px; }
.adv__card h3 { margin-bottom: 12px; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.04; letter-spacing: -.04em; }
.adv__card p { max-width: 24em; min-height: 6em; font-size: 15px; line-height: 1.5; color: var(--muted); transition: color .35s; }
.adv__card:hover { background: var(--slate); color: #fff; }
.adv__card:hover p { color: rgba(255, 255, 255, .84); }
.adv__card:hover .adv__sq { background: #fff; color: var(--slate); }
@media (max-width: 899px) {
  .parents__lead { grid-column: 1; }
  .adv {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px);
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .adv::-webkit-scrollbar { display: none; }
  .adv__card { min-height: 320px; scroll-snap-align: start; }
}

/* ---------- Тёмный блок: как проходит работа ---------- */
.dark { margin-inline: var(--inset); padding-block: clamp(48px, 6vw, 88px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.dark .wrap { padding-inline: max(20px, calc(var(--gutter) - var(--inset))); }
.dark .sec-top { border-bottom-color: var(--line-inv); }
.dark .sec-top__aside { color: rgba(255, 255, 255, .6); }
.process__intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(36px, 4vw, 56px); }
.process__intro p { max-width: 28em; font-size: 17px; color: rgba(255, 255, 255, .72); }
.process__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; margin-top: clamp(40px, 5vw, 72px); }
.step { padding: clamp(22px, 2.4vw, 32px) 0; border-top: 1px solid var(--line-inv); }
.step:last-child { border-bottom: 1px solid var(--line-inv); }
.step__row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.step h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -.04em; }
.step__num { font-size: 13px; color: rgba(255, 255, 255, .5); }
.step__text { max-width: 36em; margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .74); }
.step__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.step__tags li {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9);
  font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
}
.step__tags li:first-child { background: var(--slate); color: #fff; }

.report {
  position: sticky; top: 104px; padding: 28px; border-radius: var(--r-lg);
  background: #fff; color: var(--ink);
  transform: rotate(3.5deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.report__label { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.report__title { margin-top: 10px; font-size: 30px; line-height: 1.05; letter-spacing: -.04em; }
.report__list { margin-top: 22px; border-top: 1px solid var(--line); }
.report__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.report__list .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--slate); color: #fff; stroke-width: 2.6; }
.report__foot { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 899px) {
  .process__intro, .process__grid { grid-template-columns: minmax(0, 1fr); }
  .report { position: relative; top: auto; margin: 8px 6px 0; transform: rotate(-1.5deg); }
}

/* ---------- Цены ---------- */
.pricing__intro { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(36px, 4vw, 56px); }
.pricing__intro p { max-width: 26em; font-size: 17px; color: var(--muted); }
.plans { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(36px, 4vw, 56px); }
.plan { display: flex; flex-direction: column; padding: clamp(22px, 2vw, 30px); border-radius: var(--r-lg); background: var(--mist); }
.plan__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border-radius: 999px;
  background: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.chip--slate { background: var(--slate); color: #fff; }
.plan h3 { margin-top: clamp(36px, 4vw, 64px); font-size: clamp(30px, 2.8vw, 42px); line-height: 1.02; letter-spacing: -.045em; }
.plan__type { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan__desc { margin-top: 18px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.plan__prices { margin-top: auto; padding-top: 28px; }
.plan__prices li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan__prices li:last-child { border-bottom: 1px solid var(--line); }
.plan__fmt { font-size: 15px; font-weight: 600; }
.plan__fmt small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; line-height: 1.35; color: var(--muted); }
.price { font-size: clamp(24px, 2vw, 28px); font-weight: 500; letter-spacing: -.035em; white-space: nowrap; }
.plan .cta { margin-top: 24px; align-self: flex-start; }
.plan--rec { background: var(--ink); color: #fff; }
.plan--rec .chip { background: rgba(255, 255, 255, .1); color: #fff; }
.plan--rec .chip--light { background: #fff; color: var(--ink); }
.plan--rec .plan__type, .plan--rec .plan__fmt small { color: rgba(255, 255, 255, .62); }
.plan--rec .plan__desc { color: rgba(255, 255, 255, .8); }
.plan--rec .plan__prices li { border-color: var(--line-inv); }
.plans__note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) {
  .plans, .pricing__intro { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Призыв ---------- */
.banner {
  margin-inline: var(--inset); padding: clamp(64px, 8vw, 120px) 24px;
  border-radius: var(--r-xl); text-align: center; color: #fff;
  background:
    repeating-radial-gradient(circle at 50% 118%, rgba(255, 255, 255, 0) 0 79px, rgba(255, 255, 255, .09) 80px 81px),
    var(--slate);
}
.banner__ava { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px rgba(255, 255, 255, .16); }
.banner h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1; letter-spacing: -.045em; }
.banner p { max-width: 30em; margin: 18px auto 32px; font-size: 17px; color: rgba(255, 255, 255, .86); }

/* ---------- Отзывы ---------- */
.carousel { display: flex; gap: 6px; }
.stories {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 31vw, 420px); gap: 12px;
  margin-top: clamp(36px, 4vw, 56px); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.stories::-webkit-scrollbar { display: none; }
.story {
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: clamp(22px, 2vw, 30px); border-radius: var(--r-lg); background: var(--mist); scroll-snap-align: start;
}
.story blockquote p { font-size: 17px; line-height: 1.55; }
.story figcaption { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; }
.story__ava { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--slate); color: #fff; font-size: 15px; }

/* ---------- Подвал ---------- */
.footer { padding: 0 var(--inset) var(--inset); }
.footer__card { padding: clamp(36px, 5vw, 64px) max(20px, calc(var(--gutter) - var(--inset))) 26px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px clamp(32px, 5vw, 80px); align-items: end;
  padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line-inv);
}
.footer__slogan { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.22; letter-spacing: -.04em; }
.footer__slogan .cta { vertical-align: middle; margin: 8px 0 8px .12em; position: relative; top: -.05em; }
.footer__contacts { display: grid; justify-items: end; gap: 8px; text-align: right; font-size: 17px; }
.footer__contacts a { text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.footer__contacts a:hover { border-bottom-color: #fff; }
.footer__contacts span { color: rgba(255, 255, 255, .62); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 24px; font-size: 14px; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.footer__bottom a { text-decoration: none; }
.footer__bottom nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { color: rgba(255, 255, 255, .55); }
@media (max-width: 899px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__contacts { justify-items: start; text-align: left; }
}

/* =====================================================================
   ТЕЛЕФОН (до 899px): «бенто»: серый фон, белые скруглённые карточки,
   капсула-переключатель разделов, вкладки-«папки» над блоками.
   На компьютере всё ниже не действует.
   ===================================================================== */
.seg, .hero__meta, .sm-only, .plans__dots { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

@media (max-width: 899px) {
  :root { --m-bg: #E8EBEE; --m-card: #FFFFFF; --m-r: 24px; }
  html { scroll-padding-top: 80px; }
  body { background: var(--m-bg); }
  .lg-only { display: none; }
  .sm-only { display: inline-flex; }

  /* Шапка-капсула с переключателем разделов */
  .topbar {
    position: sticky; top: 8px; z-index: 50;
    gap: 6px; height: 56px; margin: 8px 8px 0; padding: 0 6px;
    border: 0; border-radius: 999px; background: var(--m-card);
    box-shadow: 0 10px 26px -16px rgba(19, 35, 43, .4);
  }
  .topbar .logo, .topbar__chat, .topbar .menu { display: none; }
  .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; flex: 1; }
  .seg a {
    display: inline-flex; align-items: center; gap: 6px;
    justify-content: center; height: 44px; padding: 0 8px; border-radius: 999px;
    background: var(--mist); color: var(--ink);
    font-size: 14.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
    transition: background-color .25s, color .25s;
  }
  .seg .i { width: 17px; height: 17px; stroke-width: 1.5; }
  .seg__minus { display: none; }
  .seg a.is-active { background: var(--slate); color: #fff; }
  .seg a.is-active .seg__plus { display: none; }
  .seg a.is-active .seg__minus { display: block; }

  /* Первый экран: одна карточка: фото, часы, имя, заголовок, текст, кнопки */
  .hero { display: flex; flex-direction: column; gap: 0; height: auto; padding: 8px 8px 0; }
  .hero__media {
    order: -1; display: grid; grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "photo meta" "title title"; column-gap: 14px; row-gap: 26px;
    height: auto; padding: 16px 16px 0; overflow: visible; isolation: auto;
    border-radius: var(--m-r) var(--m-r) 0 0; background: var(--m-card); color: var(--ink);
  }
  .hero__media::after { display: none; }
  .hero__media picture {
    position: static; grid-area: photo; display: block;
    width: min(150px, 40vw); height: auto; aspect-ratio: 1;
    overflow: hidden; border-radius: 18px; background: #B6B5B7;
  }
  .hero__media img { position: static; width: 100%; height: 100%; object-fit: cover; }
  .hero__meta { grid-area: meta; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
  .hero__clock { display: flex; justify-content: flex-end; gap: 8px; font-size: 12.5px; color: var(--muted); }
  .hero__clock b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
  .hero__who b { display: block; font-size: 17px; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; }
  .hero__who span { display: block; margin-top: 3px; font-size: 13px; line-height: 1.3; color: var(--muted); }
  .hero h1 { position: static; grid-area: title; font-size: clamp(32px, 9.6vw, 44px); line-height: 1; letter-spacing: -.045em; color: var(--ink); }
  .hero__panel { margin-top: -1px; padding: 15px 16px 16px; border-radius: 0 0 var(--m-r) var(--m-r); background: var(--m-card); }
  .hero__panel > .logo, .hero__label, .hero__formats { display: none; }
  .hero__lead { font-size: 15.5px; color: var(--muted); }
  .hero__bottom { padding-top: 20px; }
  .hero__tags { display: none; }
  .hero__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .hero__actions .cta .circle { display: none; }
  .hero__actions .pill { width: 100%; min-height: 50px; padding: 0 14px; }
  .hero__actions .sm-only { align-items: center; gap: 8px; }
  .hero__actions .sm-only .i { width: 16px; height: 16px; }

  /* Секции превращаются в стопку карточек с отступом 8px */
  .sec { padding: 0; }
  .wrap, .dark .wrap { display: flex; flex-direction: column; padding-inline: 8px; }
  .wrap > * { margin-top: 8px; }
  .sec-top + * { margin-top: 0 !important; }

  /* Заголовок секции в виде вкладки «папки» */
  .sec-top { align-items: flex-end; min-height: 0; margin-top: 18px; padding: 0; border: 0; }
  .sec-top .kicker {
    position: relative; display: inline-flex; align-items: center;
    padding: 13px 18px 7px; border-radius: 18px 18px 0 0;
    background: var(--m-card); font-size: 15px; font-weight: 600;
  }
  .sec-top .kicker::after {
    content: ""; position: absolute; right: -16px; bottom: 0; width: 16px; height: 16px;
    background: radial-gradient(circle at 100% 0, transparent 15.5px, var(--m-card) 16px);
  }
  .sec-top__aside, .sec-top .cta, .sec-top .carousel { display: none; }
  .sec-top + .split, .process__intro, .pricing__intro {
    gap: 16px; padding: 20px; border-radius: 0 var(--m-r) var(--m-r) var(--m-r); background: var(--m-card);
  }
  .h-big { font-size: clamp(28px, 8.4vw, 38px); }

  /* Обо мне: цифры сразу под первым экраном; текст, регалии и цитата одной карточкой */
  #about .stats { order: -1; }
  .who { display: none; }
  .statement { font-size: 21px; line-height: 1.32; }
  .tags { display: block; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
  .tags li { display: inline-block; min-height: 0; padding: 0; background: none; color: inherit; font-size: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap; }
  .tags li:not(:last-child)::after { content: "\00a0·"; }
  #about .sec-top + .split { padding-bottom: 6px; border-radius: 0 var(--m-r) 0 0; }
  .stats { padding: 18px 4px; border-radius: var(--m-r); background: var(--m-card); grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat, .stat + .stat { padding: 0 6px; }
  .stat + .stat { border-top: 0; border-left: 1px solid rgba(19, 35, 43, .14); }
  .stat b { font-size: clamp(22px, 6.6vw, 30px); }
  .stat span { margin-top: 8px; font-size: 11.5px; line-height: 1.3; }
  #about .quote { margin-top: 0; padding: 0 20px 20px; border: 0; border-radius: 0 0 var(--m-r) var(--m-r); background: var(--m-card); }
  .quote .split { gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
  .word b { font-size: 24px; }
  .quote__text p { font-size: 21px; }

  /* Подросткам */
  .faq__intro p { margin-top: 10px; font-size: 14.5px; }
  .faq__list { gap: 6px; }
  .faq__item { min-height: 58px; padding: 9px 9px 9px 16px; border-radius: 16px; font-size: 15.5px; }
  .faq__item .circle { width: 38px; height: 38px; }

  /* Родителям: карточки листаются вбок */
  .parents__lead { font-size: 19px; line-height: 1.35; }
  .adv { gap: 8px; margin-inline: -8px; padding-inline: 8px; scroll-padding-inline: 8px; grid-auto-columns: 78%; }
  .adv__card { min-height: 230px; padding: 20px; border-radius: var(--m-r); background: var(--m-card); }
  .adv__card h3 { font-size: 26px; }
  .adv__card p { min-height: 0; font-size: 14.5px; }
  .adv__sq { top: 16px; right: 16px; width: 46px; height: 46px; border-radius: 13px; }

  /* Как проходит работа: светлые карточки, шаги как список работ */
  .dark { margin: 0; padding: 0; border-radius: 0; background: none; color: var(--ink); }
  .process__intro p { font-size: 15px; color: var(--muted); }
  .process__grid { display: flex; flex-direction: column; gap: 8px; }
  .steps { display: grid; gap: 6px; padding: 8px; border-radius: var(--m-r); background: var(--m-card); }
  .step {
    display: grid; grid-template-columns: 52px minmax(0, 1fr);
    grid-template-areas: "num title" "num text" "num tags"; column-gap: 14px;
    padding: 14px; border: 0 !important; border-radius: 18px; background: var(--mist);
  }
  .step__row { display: contents; }
  .step h3 { grid-area: title; align-self: center; font-size: 22px; }
  .step__num {
    grid-area: num; display: grid; place-items: center; width: 52px; height: 52px;
    border-radius: 14px; background: var(--slate); color: #fff; font-size: 16px; font-weight: 600;
  }
  .step__text { grid-area: text; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
  .step__tags { grid-area: tags; display: block; margin-top: 10px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .step__tags li, .step__tags li:first-child {
    display: inline-block; min-height: 0; padding: 0; background: none; color: inherit;
    font-size: inherit; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap;
  }
  .step__tags li:first-child { color: var(--slate); font-weight: 600; }
  .step__tags li:not(:last-child)::after { content: "\00a0·\00a0"; color: var(--muted); font-weight: 500; }
  .report { display: none; }   /* на телефоне дублирует третий шаг */

  /* Цены */
  .pricing__intro p { font-size: 15px; }
  .plans {
    display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 8px;
    margin-inline: -8px; padding-inline: 8px; scroll-padding-inline: 8px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { scroll-snap-align: start; }
  .plans__dots { display: flex; justify-content: center; gap: 6px; }
  .plans__dots i { width: 6px; height: 6px; border-radius: 999px; background: rgba(19, 35, 43, .2); transition: width .25s, background-color .25s; }
  .plans__dots i.on { width: 20px; background: var(--ink); }
  .plan { padding: 20px; border-radius: var(--m-r); background: var(--m-card); }
  .plan--rec { background: var(--ink); }
  .plan h3 { margin-top: 26px; font-size: 30px; }
  .plans__note { padding: 0 12px; font-size: 13px; }

  /* Призыв */
  .banner { margin: 18px 8px 0; padding: 40px 20px; border-radius: var(--m-r); }
  .banner h2 { font-size: 34px; }
  .banner p { margin: 14px auto 24px; font-size: 15.5px; }

  /* Отзывы: белые карточки листаются вбок */
  .stories { gap: 8px; margin-top: 8px; padding-inline: 8px; scroll-padding-inline: 8px; grid-auto-columns: 84%; }
  .story { padding: 20px; border-radius: var(--m-r); background: var(--m-card); }
  .story blockquote p { font-size: 15.5px; }

  /* Контакты: последняя карточка, каждый способ связи отдельной строкой */
  .footer { padding: 18px 8px 8px; }
  .footer__card { padding: 20px; border-radius: var(--m-r); background: var(--m-card); color: var(--ink); }
  .footer__top { gap: 22px; padding-bottom: 20px; border-bottom-color: var(--line); }
  .footer__slogan { font-size: 30px; line-height: 1.12; }
  .footer__contacts { justify-items: stretch; gap: 6px; text-align: left; }
  .footer__contacts a, .footer__contacts span {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 54px; padding: 0 16px; border: 0; border-radius: 16px;
    background: var(--mist); color: var(--ink); font-size: 15.5px;
  }
  .footer__contacts a::after { content: "↗"; color: var(--muted); }
  .footer__contacts span { color: var(--muted); }
  .footer__bottom { gap: 10px; padding-top: 16px; }
  .footer__bottom nav { display: none; }
  .footer .logo { font-size: 12.5px; }
  .footer__copy { font-size: 12.5px; color: var(--muted); }
}
/* Планшет: та же «мобильная» колонка по центру, не растянутая на всю ширину */
@media (min-width: 641px) and (max-width: 899px) {
  .topbar { max-width: 624px; margin-inline: auto; }
  main, .footer { max-width: 640px; margin-inline: auto; }
}
@media (max-width: 360px) {
  .seg a { gap: 4px; padding: 0 6px; font-size: 13.5px; }
  .seg .i { width: 15px; height: 15px; }
}

/* Служебное: спрайт иконок и секции без верхнего отступа (раньше были inline-стили) */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sec--flush { padding-top: 0; }

/* Страница 404 */
.nf-page { display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 16px; background: var(--mist); }
.nf { width: min(560px, 100%); padding: 44px 28px; border-radius: var(--r-xl); background: #fff; text-align: center; }
.nf__code { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nf__title { margin-top: 12px; font-size: clamp(32px, 6vw, 44px); line-height: 1.05; letter-spacing: -.04em; }
.nf__text { max-width: 26em; margin: 14px auto 28px; color: var(--muted); }
