/* ============ ШРИФТЫ (свои файлы, без Google) ============ */
@font-face { font-family: "Unbounded"; src: url("../fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Noto Sans SC"; src: url("../fonts/notosanssc.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Zhi Mang Xing"; src: url("../fonts/zhimangxing.woff2") format("woff2"); font-display: swap; }

/* ============ ТОКЕНЫ ============ */
:root {
  --red: #CE403B;
  --red-dark: #B93D31;
  --black: #111111;
  --white: #FFFFFF;
  --paper: #EAEAE8;
  --frame: #D8D9DB;
  --grey: #6B6B6B;
  --lamp: #EDE06C;

  --f-head: "Unbounded", "Montserrat", "Arial Black", sans-serif;
  --f-body: "Onest", "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-zh: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;
  --f-brush: "Zhi Mang Xing", "Noto Sans SC", "PingFang SC", serif;

  --gutter: 16px;
  --gap: 16px;
  --section: clamp(72px, 12vw, 160px);
  --radius-btn: 999px;
  --radius-sticker: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 17px/1.5 var(--f-body);
  color: var(--black);
  background-color: var(--paper);
  /* бумажная фактура — лёгкий шум */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-dark); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; }
.menu :focus-visible, .poster :focus-visible { outline-color: var(--white); }
[lang="zh-Hans"] { font-family: var(--f-zh); }
i[lang="zh-Latn-pinyin"] { font-style: normal; }
::selection { background: var(--red); color: var(--white); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--black); color: var(--white); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ============ СЕТКА ============ */
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.grid > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  :root { --gutter: 40px; --gap: 24px; }
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

/* ============ ТИПОГРАФИКА ============ */
.h1, .h2, .h3 { font-family: var(--f-head); font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.h1 { font-size: clamp(30px, 5.4vw, 64px); line-height: 1.05; }
.h2 { font-size: clamp(28px, 4.6vw, 56px); line-height: 1.08; margin-bottom: 0.5em; }
.h3 { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.2; font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; max-width: 38em; margin: 0 0 1.2em; }
.small { font-size: 14px; color: var(--grey); margin: 12px 0 0; }
.section { padding-block: var(--section) 0; }

/* Рукописная пометка */
.note { font-family: var(--f-hand); font-size: 24px; line-height: 1.1; color: var(--black); margin: 0; }
.note__py { font-family: var(--f-body); font-size: 0.7em; font-weight: 500; }
.zh-brush { font-family: var(--f-brush); font-size: 1.3em; color: var(--red); }
.note__arrow { width: 64px; height: 48px; display: block; color: var(--black); }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 28px;
  font: 600 17px/1.1 var(--f-head);
  color: var(--white); background: var(--red);
  border: 0; border-radius: var(--radius-btn);
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .1s;
}
.btn:hover { background: var(--red-dark); }
.btn:active { transform: translateY(1px); background: var(--red-dark); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--big { min-height: 60px; padding: 18px 34px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 2px currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ============ ШАПКА ============ */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(234,234,232,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--frame); }
.header__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.header__logo img { height: 44px; width: auto; }
.header__nav { display: none; gap: 28px; margin-left: auto; }
.header__nav a { color: var(--black); text-decoration: none; font-weight: 500; }
.header__nav a:hover { color: var(--red-dark); }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; color: var(--black); border-radius: 50%; }
.icon-btn svg { width: 24px; height: 24px; fill: currentColor; }
.icon-btn:hover { background: var(--frame); }
.only-desktop { display: none; }
@media (min-width: 900px) {
  .header__in { height: 76px; }
  .header__logo img { height: 52px; }
  .header__nav { display: flex; }
  .header__actions { margin-left: 16px; }
  .icon-btn { display: none; }
  .only-mobile { display: none; }
  .only-desktop { display: inline; }
}

/* ============ 7.1 ПЕРВЫЙ ЭКРАН ============ */
.hero { padding-block: 20px 0; }
.hero__grid { align-items: end; row-gap: 40px; }
.hero__text .btn { margin-top: 8px; }
.hero__text .lead { margin-top: 20px; }

.poster { position: relative; background: var(--frame); padding: 56px 14px 14px; margin-bottom: 40px; }
.poster__red { position: relative; background: var(--red); aspect-ratio: 4 / 4.6; overflow: visible; display: flex; flex-direction: column; }
.poster__qr { position: absolute; top: 0; left: 0; width: 46%; height: 34%; opacity: .9; }
.kinetic { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; justify-content: center; padding: 6% 5% 36%; color: var(--white); text-align: center; min-height: 0; }
.kinetic__word { display: block; font-family: var(--f-head); font-weight: 800; line-height: 1; white-space: nowrap; font-size: 80px; }
.kinetic__word.is-zh { font-family: var(--f-zh); font-weight: 900; }
.kinetic__static { display: none; }
.skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; }
/* башня выходит за верхний край красного блока */
.tower { position: absolute; z-index: 1; bottom: 0; left: 66.7%; transform: translateX(-50%); height: 122%; width: auto; aspect-ratio: 88 / 420; }
.poster__goose { position: absolute; z-index: 3; width: 30%; max-width: 170px; left: 4%; bottom: -36px; transform: rotate(-4deg); }
.poster__note { position: absolute; right: 4%; bottom: -40px; text-align: right; font-size: 22px; transform: rotate(-2deg); }

@media (min-width: 900px) {
  .hero { padding-top: 40px; }
  .hero__grid { align-items: center; }
  .hero__text { grid-column: 1 / span 5; grid-row: 1; }
  .hero__poster { grid-column: 6 / -1; grid-row: 1; }
  .poster { padding: 80px 22px 22px; }
  .poster__red { aspect-ratio: 4 / 3.8; }
  .poster__note { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .kinetic__word { display: none; }
  .kinetic__static { display: flex; flex-direction: column; gap: .1em; font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 7vw, 64px); line-height: 1.05; }
  .kinetic__static .zh { font-size: 1.6em; font-weight: 900; }
  html { scroll-behavior: auto; }
}

/* ============ QR-УЗОР ============ */
.qr-texture { background-repeat: repeat; background-size: 120px 120px; }
.qr-strip { height: 32px; background-repeat: repeat-x; background-size: auto 32px; }

/* ============ 7.2 ДЛЯ КОГО ============ */
.whom { display: grid; gap: 56px; margin-top: 24px; }
.whom__card p { margin: 8px 0 0; max-width: 30em; }
.whom__card .h3 { margin-top: 20px; }
.cutout { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.cutout--a { background: var(--red); clip-path: polygon(0 3%, 100% 0, 98% 97%, 2% 100%); }
.cutout--b { background: var(--black); clip-path: polygon(2% 0, 100% 4%, 100% 100%, 0 96%); }
.cutout--c { background: var(--red); clip-path: polygon(0 0, 97% 2%, 100% 100%, 3% 98%); }
.cutout__zh { font-weight: 900; font-size: clamp(90px, 14vw, 170px); color: var(--white); line-height: 1; }
.cutout--b .cutout__zh { color: var(--red); }
.tape { position: absolute; top: 10px; right: 12%; width: 90px; height: 26px; background: rgba(234,234,232,.75); transform: rotate(8deg); }
.whom__note { margin-top: 10px; transform: rotate(-2deg); font-size: 26px; }
@media (min-width: 900px) {
  .whom { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .whom__card:nth-child(2) { margin-top: 64px; }
  .whom__card:nth-child(3) { margin-top: 24px; }
}

/* ============ 7.3 ЧЕЛЛЕНДЖИ ============ */
.beyond__goose { display: flex; align-items: flex-end; gap: 12px; margin-top: 16px; }
.beyond__goose img { width: 150px; flex: none; }
.beyond__goose .note { padding-bottom: 24px; max-width: 14em; transform: rotate(-3deg); }
.stickers { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 22px; }
.sticker {
  position: relative; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius-sticker);
  padding: 18px 20px 18px; box-shadow: 5px 5px 0 var(--black);
  display: grid; gap: 10px; align-content: start;
}
.sticker:nth-child(1) { transform: rotate(-2deg); }
.sticker:nth-child(2) { transform: rotate(1.5deg); }
.sticker:nth-child(3) { transform: rotate(-1deg); }
.sticker:nth-child(4) { transform: rotate(2deg); }
.sticker__kind { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; border-bottom: 2px dashed var(--black); padding-bottom: 8px; margin-bottom: 4px; }
.sticker__kind .barcode { width: 64px; height: 18px; }
.sticker__text { font-family: var(--f-head); font-weight: 600; font-size: 18px; line-height: 1.25; }
.sticker__zh { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.sticker__zh b { font-size: 34px; line-height: 1; color: var(--red); font-weight: 900; white-space: nowrap; }
.sticker__zh small { font-size: 13px; color: var(--grey); line-height: 1.3; }
.sticker__zh small i { color: var(--black); font-weight: 600; }
.sticker__any { grid-column: 1 / -1; font-family: var(--f-hand); font-size: 20px; color: var(--red-dark); }
@media (min-width: 900px) {
  .beyond__text { grid-column: 1 / span 5; }
  .stickers { grid-column: 7 / -1; grid-template-columns: 1fr 1fr; margin-top: 0; gap: 28px; }
  .beyond__goose img { width: 190px; }
}

/* ============ 7.4 МИНИ-УРОК ============ */
.lesson__board { position: relative; background: var(--white); padding: 28px 20px 120px; border: 2px solid var(--black); }
.formula { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.part { display: grid; justify-items: center; gap: 6px; }
.part span { width: clamp(76px, 18vw, 150px); aspect-ratio: 1; display: grid; place-items: center; font-weight: 900; font-size: clamp(48px, 11vw, 100px); line-height: 1; }
.part small { font-size: 14px; color: var(--grey); text-align: center; }
.part small i { display: block; font-size: 16px; color: var(--black); font-weight: 600; }
.part--black span { background: var(--black); color: var(--white); }
.part--white span { background: var(--white); color: var(--black); box-shadow: inset 0 0 0 3px var(--black); }
.part--red span { background: var(--red); color: var(--white); }
.op { font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 5vw, 48px); padding-bottom: 48px; }
.lesson__explain { margin: 28px auto 0; max-width: 32em; text-align: left; }
.lesson__goose { position: absolute; width: 110px; right: 16px; bottom: -30px; }
.lesson__note { position: absolute; right: 130px; bottom: 24px; transform: rotate(-6deg); font-size: 28px; }
@media (min-width: 900px) {
  .lesson__text { grid-column: 1 / span 4; }
  .lesson__board { grid-column: 5 / -1; padding: 48px 48px 64px; }
  .lesson__goose { width: 150px; right: -40px; bottom: -40px; }
  .lesson__note { right: 120px; bottom: 30px; }
}

/* ============ 7.5 ТРЕКИНГ ============ */
.path__goose { display: block; width: 100%; max-width: 420px; height: auto; margin: 24px 0 8px; }

.track { background: var(--white); border: 2px solid var(--black); padding: 20px; }
.track__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 2px solid var(--black); padding-bottom: 16px; }
.track__label { display: block; font-size: 13px; color: var(--grey); }
.track__no { font-family: var(--f-head); font-weight: 800; font-size: clamp(22px, 3vw, 32px); }
.barcode { width: 140px; height: 44px; flex: none; }
.barcode rect { fill: var(--black); }
.track__list { list-style: none; margin: 8px 0 0; padding: 0; }
.track__item { position: relative; padding: 14px 0 14px 40px; }
.track__item::before { content: ""; position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; background: var(--frame); }
.track__item:first-child::before { top: 24px; }
.track__item:last-child::before { bottom: calc(100% - 24px); }
.track__dot { position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--frame); transition: background .3s, border-color .3s; }
.track__status { font-family: var(--f-head); font-weight: 700; font-size: 17px; color: var(--grey); transition: color .3s; }
.track__text { display: block; font-size: 15px; color: var(--grey); }
.track.is-lit .track__item:not(.is-future) .track__dot { background: var(--red); border-color: var(--red); }
.track.is-lit .track__item:not(.is-future) .track__status { color: var(--black); }
.track.is-lit .track__item:not(.is-future)::before { background: var(--red); }
.track__item.is-future .track__status { color: #9a9a9a; }
.track__note { margin: 16px 0 0; font-size: 15px; }
.track__note:first-of-type { padding-top: 16px; border-top: 2px dashed var(--black); }
@media (min-width: 900px) {
  .path__head { grid-column: 1 / span 5; }
  .track { grid-column: 7 / -1; padding: 32px; }
}

/* ============ 7.6 ТАРИФЫ: СВЕТОВОЕ МЕНЮ ============ */
.menu { background: var(--black); color: var(--white); margin-top: var(--section); padding-bottom: var(--section); }
.menu .lead { color: #cfcfcf; }
.menu { padding-top: clamp(48px, 7vw, 88px); }
.menu .h2 { margin-bottom: .3em; }
.menu .lead { margin-bottom: 0; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* матрица: строки — тип преподавателя, столбцы — ритм */
.matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.matrix__corner { display: none; }
.matrix__col { margin: 0; padding-bottom: 8px; border-bottom: 3px solid var(--red); font-family: var(--f-head); font-weight: 700; font-size: 15px; line-height: 1.2; }
.matrix__row { grid-column: 1 / -1; margin: 14px 0 0; padding-left: 10px; border-left: 5px solid var(--red); font-family: var(--f-head); font-weight: 700; font-size: 16px; line-height: 1.25; }

.panel { position: relative; background: #1d1d1d; border: 2px solid #2b2b2b; padding: 10px; display: flex; flex-direction: column; transition: filter .25s; }
.panel__box { position: relative; height: 84px; padding-right: 12px; background: #fbfaf5; display: grid; place-items: center end; overflow: hidden; box-shadow: 0 0 30px rgba(255, 250, 225, .3), 0 0 4px rgba(255,255,255,.8); transition: box-shadow .25s; }
.panel__box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 45%, rgba(237, 224, 108, .35), transparent 70%); }
.panel__big { position: relative; font-weight: 900; font-size: 46px; line-height: 1; color: var(--red); }
.panel__menuno { position: absolute; left: 8px; top: 6px; color: var(--black); font-weight: 700; font-size: 13px; }
.panel__menuno small { display: block; font-family: var(--f-body); font-weight: 500; font-size: 10px; color: var(--grey); }
.panel__body { padding: 10px 0 0; display: flex; flex-direction: column; flex: 1; }
.price { margin: 0; }
.price__plate { display: inline-block; color: var(--white); font-family: var(--f-head); font-weight: 800; font-size: 18px; line-height: 1.1; white-space: nowrap; }
.price__plate small { font-size: 11px; font-weight: 600; margin-left: 2px; }
.price__cap { display: block; font-size: 12px; color: #a8a8a8; margin-top: 5px; }
.price__next { display: block; font-size: 12px; color: #cfcfcf; margin-top: 2px; }
.price__next s { color: #9c9c9c; }
.panel__body > .btn { margin-top: auto; }
.panel .price { margin-bottom: 12px; }
.panel:hover, .panel:focus-within { filter: brightness(1.08); }
.panel:hover .panel__box { box-shadow: 0 0 50px rgba(255, 250, 225, .5), 0 0 6px rgba(255,255,255,.9); }

@media (min-width: 640px) {
  .matrix { gap: 14px; }
  .matrix__col { font-size: 18px; }
  .price__plate { font-size: 22px; }
  .price__plate small { font-size: 13px; }
}
@media (min-width: 900px) {
  .matrix { grid-template-columns: minmax(180px, .7fr) 1fr 1fr; gap: 16px 20px; margin-top: 36px; align-items: stretch; }
  .matrix__corner { display: block; }
  .matrix__col { font-size: 20px; align-self: end; }
  .matrix__row { grid-column: auto; margin: 0; align-self: center; font-size: 20px; padding-left: 14px; border-left-width: 6px; }
  .panel { flex-direction: row; gap: 18px; padding: 12px; }
  .panel__box { flex: 0 0 132px; height: auto; aspect-ratio: 1; padding-right: 0; place-items: center; }
  .panel__big { font-size: 64px; margin-top: 14px; }
  .panel__body { padding: 2px 0 0; }
  .price__plate { font-size: 26px; }
  .price__plate small { font-size: 14px; }
  .price__cap, .price__next { font-size: 13px; }
  .panel__body > .btn { align-self: flex-start; min-width: 140px; }
}

.menu__inc-title { margin-top: 44px; }
.includes { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.includes li { display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--black); padding: 8px 14px 8px 10px; font-weight: 500; font-size: 15px; border-radius: var(--radius-sticker); }
.includes li:nth-child(odd) { transform: rotate(-1deg); }
.includes li:nth-child(even) { transform: rotate(1deg); }
.includes svg { width: 22px; height: 22px; flex: none; }
/* ============ 7.7 ГРУППЫ ============ */
.boards { display: grid; gap: 14px; align-content: start; }
.board { background: var(--black); color: var(--white); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.board__city { font-weight: 600; font-size: 17px; }
.board__city span { display: block; font-size: 24px; color: var(--red); font-weight: 900; }
.board__time { font-family: var(--f-head); font-weight: 700; font-size: clamp(52px, 13vw, 104px); line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.boards__cap { margin: 4px 0 0; color: var(--grey); font-size: 15px; }
@media (min-width: 900px) {
  .groups__text { grid-column: 1 / span 6; }
  .boards { grid-column: 8 / -1; }
}

/* ============ 7.8 СООБЩЕСТВО ============ */
.collage { position: relative; aspect-ratio: 1 / 1; max-width: 560px; }
.shape { position: absolute; }
.shape--red { left: 0; top: 8%; width: 62%; height: 70%; background: var(--red); clip-path: polygon(0 4%, 100% 0, 96% 100%, 3% 95%); }
.shape--black { right: 4%; top: 0; width: 38%; height: 34%; background: var(--black); clip-path: polygon(6% 0, 100% 8%, 92% 100%, 0 90%); }
.shape--red2 { right: 0; bottom: 4%; width: 30%; height: 22%; background: var(--red); border-radius: 50%; }
.collage__goose { position: absolute; left: 14%; bottom: 4%; width: 72%; }
.stamp { position: absolute; width: 22%; aspect-ratio: 3 / 4; background: var(--red); padding: 10% 8% 6%; display: grid; justify-items: center; align-content: space-between; color: var(--white); font-weight: 700; font-size: clamp(11px, 1.6vw, 15px);
  /* зубчатый край марки: дырочки только по краю */
  -webkit-mask: radial-gradient(circle 4px, transparent 97%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) 6px 6px / calc(100% - 12px) calc(100% - 12px) no-repeat;
  mask: radial-gradient(circle 4px, transparent 97%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) 6px 6px / calc(100% - 12px) calc(100% - 12px) no-repeat;
}
.stamp svg { width: 70%; }
.stamp--1 { right: 10%; top: 8%; transform: rotate(7deg); }
.stamp--2 { left: 4%; top: 2%; transform: rotate(-8deg); background: var(--black); }
.stamp--3 { right: 2%; top: 42%; transform: rotate(-4deg); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.points li { padding-left: 32px; position: relative; max-width: 32em; }
.points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; background: var(--red); }
.points b { font-weight: 700; }
@media (min-width: 900px) {
  .collage { grid-column: 1 / span 6; }
  .community__text { grid-column: 8 / -1; align-self: center; }
}

/* ============ 7.12 КАК НАЧАТЬ ============ */
.steps { list-style: none; margin: 24px 0 32px; padding: 0; display: grid; gap: 18px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--white); border: 2px solid var(--black); border-radius: var(--radius-sticker); padding: 16px 18px; overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--red); }
.step:nth-child(odd) { transform: rotate(-.6deg); }
.step:nth-child(even) { transform: rotate(.6deg); }
.step__no { font-family: var(--f-head); font-weight: 800; font-size: 44px; color: var(--red); line-height: 1; min-width: 1.2em; padding-left: 6px; }
.step p { margin: 4px 0 0; color: var(--grey); }
.step__bar { display: none; }
.recruit { position: relative; min-height: 420px; background: var(--white); border: 14px solid var(--frame); overflow: hidden; }
.recruit__word { position: absolute; left: 4%; top: 4%; writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-head); font-weight: 900; font-size: clamp(48px, 13vw, 76px); line-height: .95; letter-spacing: .04em; color: var(--red); }
.recruit__goose { position: absolute; right: 2%; bottom: 3%; width: 48%; }
@media (min-width: 640px) {
  .step { grid-template-columns: auto 1fr auto; }
  .step__bar { display: block; width: 90px; height: 36px; }
}
@media (min-width: 900px) {
  .start__main { grid-column: 1 / span 7; }
  .recruit { grid-column: 9 / -1; min-height: 100%; }
}

/* ============ 7.13 ВОПРОСЫ ============ */
.faq__goose { width: 110px; }
.faq__list { border-top: 2px solid var(--black); }
.qa { border-bottom: 2px solid var(--black); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.3; min-height: 44px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 30px; font-weight: 400; color: var(--red); line-height: 1; transition: transform .2s; flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0 0 22px; max-width: 40em; }
@media (min-width: 900px) {
  .faq__head { grid-column: 1 / span 4; }
  .faq__goose { width: 160px; margin-top: 16px; }
  .faq__list { grid-column: 5 / -1; }
}

/* ============ 7.14 ФОРМА-НАКЛАДНАЯ ============ */
.order { padding-bottom: var(--section); }
.waybill { position: relative; max-width: 880px; margin: 0 auto; background: var(--white); border: 3px solid var(--black); }
.waybill::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 10px; background: var(--red); }
.waybill__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px 20px 20px; border-bottom: 3px solid var(--black); }
.waybill__kind { display: block; font-size: 14px; color: var(--grey); margin-bottom: 8px; }
.waybill__title { font-size: clamp(22px, 3.4vw, 36px); margin: 0; }
.waybill__meta { display: none; flex-direction: column; align-items: flex-end; gap: 14px; }
.seal { width: 64px; height: 64px; display: grid; place-items: center; background: var(--red); color: var(--white); font-size: 40px; font-weight: 900; border-radius: 6px; transform: rotate(-8deg); box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.lead-form { padding: 8px 20px 28px; }
.field { border: 0; margin: 0; padding: 20px 0; border-bottom: 1px dashed #bdbdbd; min-width: 0; }
.field__label { display: block; font-family: var(--f-head); font-weight: 600; font-size: 16px; margin-bottom: 12px; padding: 0; }
.opt { font-family: var(--f-body); font-weight: 400; font-size: 14px; color: var(--grey); margin-left: 6px; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; border: 2px solid var(--black); border-radius: 0; background: var(--white); color: var(--black); }
.input:focus { outline: 3px solid var(--red); outline-offset: 0; }
.chips + .input { margin-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 2px solid var(--black); border-radius: var(--radius-btn); font-size: 15px; line-height: 1.2; background: var(--white); transition: background .12s, color .12s; }
.chip input:checked + span { background: var(--black); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.chip:hover span { background: var(--paper); }
.chip input:checked:hover + span, .chip:hover input:checked + span { background: var(--black); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.check input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--red); }
.field__err { display: none; color: var(--red-dark); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.field.is-invalid .field__err { display: block; }
.field.is-invalid .input { border-color: var(--red-dark); }
.messengers { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.messengers__title { margin: 0; }
.messengers__list { display: flex; flex-wrap: wrap; gap: 8px; }
.mchip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 12px; border: 2px solid var(--black); border-radius: var(--radius-btn); background: var(--white); color: var(--black); font: 500 15px var(--f-body); text-decoration: none; cursor: pointer; transition: background .12s; }
.mchip svg { width: 22px; height: 22px; flex: none; }
.mchip:hover { background: var(--paper); }
.mchip:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.messengers__wechat { flex-basis: 100%; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; font-size: 15px; }
.messengers__wechat img { width: 160px; height: auto; border: 2px solid var(--black); padding: 6px; background: var(--white); }
.messengers__wechat span { flex: 1 1 180px; }
.phone { display: flex; }
.phone__country { flex: none; min-height: 52px; padding: 0 30px 0 12px; font: 500 16px var(--f-body); color: var(--black); border: 2px solid var(--black); border-right: 0; border-radius: 0; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0h10L5 6z' fill='%23111'/%3E%3C/svg%3E") no-repeat right 10px center / 10px 6px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.phone__country:focus { outline: 3px solid var(--red); outline-offset: 0; }
.phone__num { flex: 1; min-width: 0; }
.field.is-invalid .phone__country { border-color: var(--red-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form .btn { margin-top: 24px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.form-error { display: flex; gap: 12px; align-items: center; margin: 18px 0 0; padding: 14px; border: 2px solid var(--red-dark); color: var(--red-dark); font-weight: 600; }
.form-error img { width: 64px; flex: none; }
.success { padding: 40px 20px 48px; text-align: left; }
.success .lead { margin-bottom: 0; }
.success__row { display: flex; align-items: center; gap: 16px 24px; margin-top: 20px; }
.success__goose { width: 120px; flex: none; order: 2; margin-left: auto; }
.success__messengers { flex: 1; }
@media (min-width: 600px) { .success__goose { width: 170px; } }
.success:focus { outline: none; }
@media (min-width: 900px) {
  .waybill__top { padding: 36px 40px 24px; }
  .waybill__meta { display: flex; }
  .lead-form { padding: 8px 40px 40px; }
  .success { padding: 56px 40px; }
}

/* ============ ПОДВАЛ ============ */
.footer { background: var(--red); color: var(--white); padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.footer a { color: var(--white); }
.footer__grid { display: grid; gap: 28px; padding-top: 48px; }
.footer__name { font-family: var(--f-head); font-weight: 800; font-size: 30px; }
.footer__name .zh { font-weight: 900; }
.footer__brand p { margin: 6px 0 0; }
.footer__contacts p { margin: 0 0 10px; }
.footer__k { display: inline-block; min-width: 88px; font-weight: 700; }
.footer__hint { display: block; font-size: 13px; opacity: .85; margin-left: 92px; }
.footer__qrs { display: flex; gap: 16px; }
.footer__qrs figure { margin: 0; }
.footer__qrs figcaption { font-size: 13px; margin-top: 6px; text-align: center; }
.qr-real { width: 120px; height: 120px; background: var(--white); padding: 8px; display: grid; place-items: center; color: var(--black); font-size: 12px; text-align: center; line-height: 1.2; }
.qr-real svg { width: 100%; height: 100%; display: block; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.35); }
@media (min-width: 900px) {
  .footer { padding-bottom: 40px; }
  .footer__grid { grid-template-columns: 1.2fr 1.6fr auto; align-items: start; }
  .footer__legal { grid-column: 1 / -1; }
}

/* ============ НИЖНЯЯ ПЛАШКА (телефон) ============ */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(234,234,232,.95); border-top: 1px solid var(--frame); transform: translateY(110%); transition: transform .25s; }
.dock.is-shown { transform: none; }
@media (min-width: 900px) { .dock { display: none; } }

/* ============ COOKIE ============ */
.cookie { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(84px + env(safe-area-inset-bottom, 0px)); z-index: 70; margin: 0 auto; max-width: 560px; background: var(--black); color: var(--white); padding: 14px 16px; font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; }
.cookie button { flex: none; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--radius-btn); background: var(--white); color: var(--black); font: 600 14px var(--f-body); cursor: pointer; }
@media (min-width: 900px) { .cookie { bottom: 24px; } }

/* ============ СЛУЖЕБНЫЕ СТРАНИЦЫ ============ */
.page-simple { min-height: 70vh; padding-block: 64px; }
.page-simple img { width: 200px; margin-bottom: 24px; }
