/* Bichun.ru — стили сайта. Сначала телефон, затем планшет и компьютер (≥ 900px). */
:root {
  --navy: #1d4f91; --accent: #2a62b0; --light: #e9eff8; --ink: #16191d; --muted: #5b6168;
  --soft: #8a9097; --grey: #f5f6f7; --border: #e4e6e8; --dark: #101214; --warn: #b45309; --logo: #ff3333;
  --r: 18px; --gutter: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary .chev { transform: rotate(180deg); }
details[open] .more-t, details:not([open]) .less-t { display: none; }
.chev { flex-shrink: 0; transition: transform .2s; }

/* Типографика */
.label { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.h1 { font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -.01em; }
.h2 { font-size: 26px; line-height: 32px; font-weight: 700; }
.h3 { font-size: 20px; line-height: 26px; font-weight: 700; }
.lead { font-size: 17px; line-height: 26px; color: var(--muted); }
.muted { color: var(--muted); }
.warn { font-size: 12px; line-height: 17px; color: var(--warn); }
.hl { color: var(--accent); }

/* Секции */
.sec { padding: 40px 0; }
.sec > .wrap { display: flex; flex-direction: column; gap: 20px; }
.sec--grey { background: var(--grey); }
.sec--light { background: var(--light); }
.sec--navy { background: var(--navy); color: #fff; }
.sec-head { display: flex; flex-direction: column; gap: 8px; }

/* Кнопки */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 18px; border-radius: 14px; font: inherit; font-size: 16px; font-weight: 600; line-height: 22px; text-align: center; border: 1px solid transparent; cursor: pointer; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--secondary { background: #fff; color: var(--ink); border-color: var(--border); }
.btn--white { background: #fff; color: var(--navy); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btns { display: flex; flex-direction: column; gap: 10px; }
.btns--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }

/* Анонс */
.ann-t { display: none; }
.ann-t:checked + .ann { display: none; }
.ann { background: var(--navy); color: #fff; }
/* анонс едва заметно «дышит» цветом — привлекает взгляд, не мешая читать */
@keyframes ann-pulse { 0%, 100% { background-color: var(--navy); } 50% { background-color: #3569b5; } }
.ann { animation: ann-pulse 4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ann { animation: none; } }
.ann .wrap { display: flex; align-items: center; gap: 8px; padding-top: 6px; padding-bottom: 6px; font-size: 14px; line-height: 20px; }
.ann__link { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 32px; }
.ann__date { font-weight: 600; white-space: nowrap; }
.ann__text { opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ann__x { flex: 0 0 auto; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: .8; }

/* Шапка */
.hdr { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 6; }
.hdr .wrap { display: flex; flex-wrap: wrap; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.logo svg { width: 30px; height: 28px; }
.nav-t { display: none; }
.cart-b { margin-left: auto; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.cart-b[hidden] { display: none; }
.cart-b span { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--navy); color: #fff; font-size: 12px; line-height: 20px; font-weight: 700; text-align: center; }
.cart-b:not([hidden]) ~ .nav-b { margin-left: 8px; }
.nav-b { margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.nav-t:not(:checked) ~ .nav-b .i-x, .nav-t:checked ~ .nav-b .i-m { display: none; }
.nav { display: none; flex-direction: column; width: 100%; padding-top: 8px; }
.nav-t:checked ~ .nav { display: flex; }
.nav a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; border-top: 1px solid var(--border); font-size: 18px; font-weight: 500; }
.nav a[aria-current] { color: var(--navy); }

/* Карточки и списки */
.card { background: #fff; border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; }
.card--line { border: 1px solid var(--border); }
.card--grey { background: var(--grey); }
.card--navy { background: var(--navy); color: #fff; }
.card--navy .muted { color: rgba(255,255,255,.8); }
.checks li { display: flex; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 15px; line-height: 23px; }
.checks li:first-child { border-top: 0; }
.checks--top li:first-child { border-top: 1px solid var(--border); }
.check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--grey); font-size: 13px; line-height: 18px; padding: 6px 10px; border-radius: 999px; }
.more { display: flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--navy); }

.stack { display: flex; flex-direction: column; gap: 16px; }

/* Горизонтальная прокрутка карточек */
.hs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
.hs::-webkit-scrollbar { display: none; }
.hs > * { flex: 0 0 86%; scroll-snap-align: start; }
.hs-hint { font-size: 13px; color: var(--soft); text-align: center; }

/* Первый экран главной */
.hero { padding: 28px 0 32px; }
.hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.hero__h1 { font-size: 32px; line-height: 38px; font-weight: 700; letter-spacing: -.01em; }
.hero__sub { font-size: 19px; line-height: 28px; font-weight: 500; }
.hero__ph { background: var(--light); border-radius: 20px; display: flex; justify-content: center; padding-top: 16px; overflow: hidden; }
.hero__ph img { height: 260px; width: auto; }

/* Цифры */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: #fff; border-radius: 16px; padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.stat b { font-size: 28px; line-height: 32px; color: var(--navy); }
.stat span { font-size: 13px; line-height: 18px; color: var(--muted); }

/* Иконка в круге */
.ic { width: 40px; height: 40px; border-radius: 999px; background: var(--light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--navy); }
.ic svg { width: 22px; height: 22px; }
.row-ic { display: flex; align-items: center; gap: 12px; }

/* Расписание */
.sched { border: 1px solid var(--border); border-radius: var(--r); padding: 0 14px; background: #fff; }
.ev { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.ev + .ev { border-top: 1px solid var(--border); }
.ev__date { flex: 0 0 40px; text-align: center; line-height: 1; }
.ev__day { font-size: 24px; font-weight: 700; color: var(--navy); }
.ev__mon { font-size: 12px; color: var(--muted); margin-top: 3px; }
.ev__body { flex: 1 1 auto; min-width: 0; }
.ev__place { font-size: 13px; line-height: 18px; font-weight: 600; }
.ev__place--online { color: var(--accent); }
.ev__title { font-size: 15px; line-height: 20px; font-weight: 500; }
.ev__title a:hover { color: var(--navy); }
.ev__sub { font-size: 12px; line-height: 16px; color: var(--soft); margin-top: 2px; }
.ev__act { flex: 0 0 auto; min-width: 104px; text-align: center; font-size: 14px; font-weight: 600; line-height: 20px; padding: 10px 12px; border-radius: 10px; }
.ev__act--primary { background: var(--navy); color: #fff; }
.ev__act--link { background: #fff; border: 1px solid var(--border); }
.ev__act--tag { font-weight: 500; font-size: 12px; color: var(--muted); background: var(--grey); }
/* на телефоне кнопка — под названием, чтобы название шло на всю ширину */
@media (max-width: 599px) {
  .ev { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 10px; align-items: start; }
  .ev__act { grid-column: 2; justify-self: start; }
}
.month { display: flex; flex-direction: column; gap: 8px; }
.month__t { font-size: 15px; font-weight: 700; color: var(--muted); }

/* Продукты и отзывы */
.pcard { background: #fff; border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; box-sizing: border-box; }
.pcard__b { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.pcard__p { font-size: 14px; line-height: 21px; color: var(--muted); flex-grow: 1; }
.rev { margin: 0; border: 1px solid var(--border); border-radius: var(--r); padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.rev__q { font-size: 44px; line-height: 24px; font-weight: 700; color: var(--accent); }
.rev blockquote { margin: 0; font-size: 16px; line-height: 24px; flex-grow: 1; }
.rev figcaption { font-size: 13px; line-height: 19px; color: var(--muted); }
.rev figcaption b { display: block; font-size: 15px; color: var(--ink); }

/* Формы */
.form { background: #fff; border-radius: var(--r); padding: 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field input, .field textarea { border: 1px solid var(--border); border-radius: 12px; padding: 14px; font: inherit; font-size: 16px; min-height: 52px; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; color: var(--muted); }
.agree input { margin-top: 3px; width: 20px; height: 20px; flex-shrink: 0; }
.agree a { text-decoration: underline; }
.err { color: #b91c1c; font-size: 13px; }
.ok { background: #ecfdf3; color: #067647; border-radius: 12px; padding: 14px; font-size: 15px; }

/* Мастер‑класс */
.facts { background: var(--navy); color: #fff; border-radius: var(--r); padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.facts span { display: block; font-size: 12px; line-height: 16px; color: rgba(255,255,255,.7); }
.facts b { display: block; font-size: 15px; line-height: 20px; font-weight: 600; }
.back { align-self: flex-start; min-height: 32px; display: flex; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
.pains { background: #fff; border-radius: var(--r); padding: 4px 16px; }
.pain { display: flex; gap: 14px; padding: 14px 0; }
.pain + .pain { border-top: 1px solid var(--border); }
.pain b { font-size: 22px; line-height: 26px; color: var(--accent); }
.pain p { font-size: 15px; line-height: 23px; }
.outs li { display: flex; gap: 12px; padding: 12px 0; }
.outs li + li { border-top: 1px solid var(--border); }
.outs strong { display: block; font-size: 16px; }
.outs span span { color: var(--muted); font-size: 15px; line-height: 22px; }
.mods { background: #fff; border-radius: var(--r); padding: 0 16px; }
.mods details + details { border-top: 1px solid var(--border); }
.mods summary { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 0; }
.mods summary b { flex: 0 0 26px; font-size: 14px; color: var(--accent); }
.mods summary span { flex: 1 1 auto; font-size: 16px; line-height: 22px; font-weight: 600; }
.mods ul { margin: 0 0 14px 38px; list-style: disc; font-size: 15px; line-height: 22px; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.num { background: var(--light); border-radius: 14px; padding: 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.num b { font-size: 20px; line-height: 24px; color: var(--navy); }
.num span { font-size: 12px; line-height: 16px; color: var(--muted); }
.person { display: flex; align-items: center; gap: 12px; }
.avatar { width: 64px; height: 64px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--light); flex: 0 0 auto; color: var(--navy); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.price { font-size: 36px; line-height: 42px; font-weight: 700; }

.mk-hero, .split { display: flex; flex-direction: column; gap: 20px; }

/* Липкая панель снизу */
.sticky-cta { position: sticky; bottom: 0; z-index: 5; background: rgba(255,255,255,.96); border-top: 1px solid var(--border); padding: 10px var(--gutter) 12px; display: flex; gap: 10px; box-shadow: 0 -4px 16px rgba(22,25,29,.06); }
.sticky-cta .btn { flex: 1 1 auto; min-height: 50px; }
.sticky-cta__ic { flex: 0 0 50px; height: 50px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--navy); }

/* Подвал */
.ftr { background: var(--dark); color: #fff; }
.ftr .wrap { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; gap: 22px; }
.ftr__nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; font-size: 16px; }
.ftr__nav a { color: rgba(255,255,255,.75); min-height: 40px; display: flex; align-items: center; }
.soc { display: flex; gap: 10px; flex-wrap: wrap; }
.soc a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 13px; font-weight: 700; }
.soc--navy a { background: var(--navy); width: 48px; height: 48px; border-radius: 14px; }
.ftr__contacts a { display: block; padding: 9px 0; }
.ftr__legal { border-top: 1px solid rgba(255,255,255,.15); padding-top: 16px; font-size: 12px; line-height: 18px; color: rgba(255,255,255,.55); }
.ftr__dev { display: inline-block; margin-top: 12px; font-size: 12px; color: rgba(255,255,255,.5); text-decoration: underline; }
.ftr__dev:hover { color: #fff; }
.ftr__legal a { text-decoration: underline; padding: 8px 0; display: inline-block; margin-right: 16px; }

/* Визитка /link */
.link-page { background: var(--grey); }
.link-wrap { max-width: 440px; margin: 0 auto; padding: 28px 16px 32px; display: flex; flex-direction: column; gap: 28px; }
.link-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.link-head img { width: 112px; height: 112px; border-radius: 999px; object-fit: cover; object-position: top; background: var(--light); border: 4px solid #fff; box-shadow: 0 2px 12px rgba(22,25,29,.08); }
.big { background: #fff; border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 12px; min-height: 64px; }
.big--navy { background: var(--navy); color: #fff; }
.big b { display: block; font-size: 17px; line-height: 22px; }
.big small { display: block; font-size: 14px; line-height: 19px; color: var(--muted); margin-top: 2px; }
.big--navy small { color: rgba(255,255,255,.75); }

/* ≥ 900px: компьютер */
@media (min-width: 900px) {
  :root { --gutter: 24px; }
  .h1 { font-size: 48px; line-height: 54px; }
  .h2 { font-size: 40px; line-height: 48px; }
  .h3 { font-size: 24px; line-height: 30px; }
  .lead { font-size: 18px; line-height: 28px; max-width: 760px; }
  .sec { padding: 88px 0; }
  .sec > .wrap { gap: 32px; }
  .ann .wrap { justify-content: center; }
  .ann__link { flex: 0 1 auto; }
  .hdr .wrap { flex-wrap: nowrap; gap: 32px; padding-top: 14px; padding-bottom: 14px; }
  .logo { font-size: 24px; }
  .logo svg { width: 36px; height: 34px; }
  .nav-b { display: none; }
  .cart-b { order: 3; }
  .nav { display: flex; flex-direction: row; width: auto; padding: 0; gap: 28px; }
  .nav a { border: 0; min-height: 0; font-size: 15px; }
  .nav a svg { display: none; }
  .hero { padding: 64px 0 0; }
  .hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 48px; row-gap: 24px; align-items: start; }
  .hero__h1 { font-size: 52px; line-height: 60px; grid-column: 1; }
  .hero__sub { font-size: 26px; line-height: 38px; grid-column: 1; }
  .hero .btns { grid-column: 1; flex-direction: row; padding-bottom: 64px; }
  .hero__ph { grid-column: 2; grid-row: 1 / 4; background: none; padding: 0; align-self: end; }
  .hero__ph img { height: auto; max-height: 560px; }
  .btns { flex-direction: row; flex-wrap: wrap; }
  .btns .btn { padding: 12px 24px; }
  .btns--2 { display: flex; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hs { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .hs > * { flex: none; }
  .hs-hint { display: none; }
  .card { padding: 32px; }
  .sched { padding: 0 24px; }
  .ev { gap: 20px; padding: 18px 0; }
  .ev__date { flex-basis: 64px; }
  .ev__day { font-size: 34px; }
  .ev__mon { font-size: 14px; }
  .ev__place { font-size: 15px; }
  .ev__title { font-size: 17px; line-height: 24px; }
  .ev__sub { font-size: 13px; }
  .ev__act { font-size: 15px; padding: 9px 18px; }
  .split, .sec > .wrap.split { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; }
  .mk-hero, .sec > .wrap.mk-hero { display: grid; grid-template-columns: 1.6fr 1fr; gap: 56px; align-items: center; }
  .sec > .wrap.grid2 { display: grid; }
  .mk-hero .h1 { font-size: 46px; line-height: 54px; }
  .facts { grid-template-columns: 1fr; padding: 28px; gap: 0; }
  .facts > div { padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); }
  .facts span { font-size: 13px; }
  .facts b { font-size: 17px; line-height: 24px; }
  .pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: none; padding: 0; }
  .pain { flex-direction: column; background: #fff; border-radius: 16px; padding: 24px; }
  .pain + .pain { border-top: 0; }
  .pain b { font-size: 32px; line-height: 32px; }
  .pain p { font-size: 17px; line-height: 26px; }
  .nums { gap: 24px; }
  .num { background: none; padding: 0; border-top: 1px solid var(--border); padding-top: 24px; border-radius: 0; }
  .num b { font-size: 36px; line-height: 42px; color: var(--accent); }
  .num span { font-size: 15px; line-height: 22px; }
  .avatar { width: 96px; height: 96px; font-size: 28px; }
  .sticky-cta { display: none; }
  .ftr .wrap { padding-top: 56px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 32px 48px; }
  .ftr__nav { display: flex; gap: 24px; }
  .ftr__legal { flex: 1 1 100%; }
  .form { padding: 32px; }
  .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

/* ===== Онлайн ===== */
.seg { position: sticky; top: 0; z-index: 4; background: #fff; border-bottom: 1px solid var(--border); }
.seg .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-top: 8px; padding-bottom: 8px; }
.seg a { text-align: center; min-height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 15px; font-weight: 600; background: var(--grey); }
.seg a:first-child { background: var(--light); color: var(--navy); }
.course { border: 1px solid var(--border); border-radius: var(--r); padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.tag { align-self: flex-start; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--grey); color: var(--muted); }
.tag--blue { background: var(--light); color: var(--navy); }
.course__meta { font-size: 13px; line-height: 18px; font-weight: 500; }
.course__foot { border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.course__price { font-size: 24px; line-height: 30px; font-weight: 700; }
.course__price s { font-size: 15px; font-weight: 400; color: var(--soft); }
.course__btn { flex: 0 0 auto; min-height: 48px; display: flex; align-items: center; background: var(--navy); color: #fff; font-size: 15px; font-weight: 600; padding: 12px 18px; border-radius: 12px; }
.wlist { background: #fff; border-radius: 16px; padding: 0 14px; }
.wlist details + details { border-top: 1px solid var(--border); }
.wlist summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 0; }
.wlist summary span:first-child { flex: 1 1 auto; min-width: 0; font-size: 15px; line-height: 21px; font-weight: 600; }
.wlist summary .p { font-size: 14px; color: var(--muted); white-space: nowrap; }
.wlist .body { padding: 0 0 14px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 21px; color: var(--muted); }

/* ===== Товары ===== */
.media { background: #fff; border-radius: 20px; overflow: hidden; }
.media img { width: 100%; height: 240px; object-fit: contain; }
.kit { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.kit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.kit p { padding: 14px 16px 16px; font-size: 15px; line-height: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.step + .step { border-top: 1px solid var(--border); }
.step img { width: 96px; height: 96px; object-fit: cover; border-radius: 14px; flex: 0 0 auto; background: #fff; }
.step small { font-size: 13px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 17px; line-height: 23px; }
.step p { font-size: 14px; line-height: 21px; color: var(--muted); }
.callout { background: var(--navy); color: #fff; border-radius: 16px; padding: 16px; font-size: 17px; line-height: 25px; font-weight: 600; }
.buy { background: var(--navy); color: #fff; border-radius: 20px; padding: 22px 18px; display: flex; flex-direction: column; gap: 12px; }
.buy__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; line-height: 21px; }
.buy__row b { white-space: nowrap; }
a.buy__row { color: inherit; text-decoration: none; }
a.buy__row:hover span { text-decoration: underline; }
.total { font-size: 22px; line-height: 44px; font-weight: 700; }
.faq { background: #fff; border-radius: 16px; padding: 0 14px; }
.faq details + details { border-top: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 4px 0; font-size: 15px; line-height: 21px; font-weight: 600; }
.faq summary span { flex: 1 1 auto; }
.faq p { margin: 0 0 14px; font-size: 15px; line-height: 23px; color: var(--muted); white-space: pre-line; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.tile b { font-size: 24px; line-height: 28px; color: var(--navy); }
.tile span { font-size: 13px; line-height: 18px; color: var(--muted); }
.slogan { font-size: 22px; line-height: 30px; font-weight: 600; }
.ctl li { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.ctl li + li { border-top: 1px solid var(--border); }
.ctl b { flex: 0 0 36px; height: 36px; border-radius: 999px; background: var(--light); color: var(--navy); font-size: 14px; display: flex; align-items: center; justify-content: center; }

@media (min-width: 900px) {
  .seg .wrap { display: flex; gap: 8px; }
  .seg a { padding: 0 18px; }
  .course { padding: 28px; }
  .sec > .wrap.grid2-cards, .grid2-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .media img { height: 420px; }
  .hs.hs--3 { grid-template-columns: repeat(4, 1fr); }
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; background: none !important; padding: 0 !important; }
  .step { flex-direction: column; background: #fff; border-radius: 16px; padding: 20px; }
  .step + .step { border-top: 0; }
  .step img { width: 100%; height: 200px; }
  .tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .slogan { font-size: 34px; line-height: 44px; max-width: 900px; }
  .buy { padding: 36px; }
  .prod-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
  .sec > .wrap.prod-hero { display: grid; }
}

/* Документы: оферта, политика, согласие */
.doc { max-width: 760px; font-size: 15px; line-height: 24px; }
.doc h2 { font-size: 19px; line-height: 26px; font-weight: 600; margin: 28px 0 8px; }
.doc p { margin: 0 0 12px; }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--navy); text-decoration: underline; }
.doc strong { font-weight: 600; }
.doc-date { color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .doc { font-size: 16px; line-height: 26px; } .doc h2 { font-size: 22px; line-height: 30px; } }

/* Оплата */
.pay { gap: 20px; }
.opts { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 14px; cursor: pointer; }
.opt:has(input:checked) { border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); background: #f4f7fc; }
.opt input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--navy); margin: 0; }
.opt__t { flex: 1; font-weight: 600; font-size: 15px; line-height: 20px; }
.opt__t small { display: block; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--muted); }
.opt__s { font-size: 17px; white-space: nowrap; }
@media (min-width: 900px) { .sec > .wrap.pay { display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: start; } .pay .facts { grid-template-columns: 1fr 1fr; column-gap: 24px; } .pay .facts > div:nth-child(-n+2) { border-top: 0; } }

/* Корзина */
.cart { background: #fff; border-radius: var(--r); padding: 4px 16px; }
.cart__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart__t { font-weight: 600; font-size: 15px; line-height: 20px; }
.cart__t small { display: block; font-weight: 400; font-size: 13px; line-height: 18px; color: var(--muted); }
.cart__row:not(.is-on) .cart__t { color: var(--muted); }
.cart__sum { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: 15px; }
.cart__sum b { font-size: 22px; line-height: 28px; }
.cart--dark { background: transparent; padding: 0; }
.cart--dark .cart__row { border-color: rgba(255,255,255,.2); }
.cart--dark .cart__t small, .cart--dark .cart__row:not(.is-on) .cart__t { color: rgba(255,255,255,.7); }
.cart--dark .cart__row:first-child { border-top: 1px solid rgba(255,255,255,.2); }
.cart--dark .qty { border-color: transparent; background: #fff; }
.cart--dark .qty__i { color: var(--ink, #101214); }
.qty { display: flex; align-items: center; flex-shrink: 0; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.qty__b { width: 44px; height: 44px; border: 0; background: #f4f7fc; color: var(--navy); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.qty__i { width: 44px; height: 44px; border: 0; text-align: center; font: inherit; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.qty__i::-webkit-outer-spin-button, .qty__i::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 10px 40px rgba(16,24,40,.16); padding: 16px 18px; font-size: 14px; line-height: 1.45; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 12px; }
.cookie a { text-decoration: underline; }
.cookie__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie__btns .btn { flex: 1 1 140px; }

/* расписание /r */
.feat { background: var(--navy); color: #fff; border-radius: 20px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.feat__top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.feat__badge { background: rgba(255,255,255,.16); border-radius: 999px; padding: 4px 10px; font-weight: 600; }
.feat__left { opacity: .8; padding: 4px 0; }
.feat__when { font-size: 15px; font-weight: 600; opacity: .9; }
.feat__title { font-size: 24px; line-height: 30px; font-weight: 700; }
.feat__lead { font-size: 16px; line-height: 24px; opacity: .85; margin: 0; }
.feat__price { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.feat__price b { font-size: 22px; }
.feat__price span { font-size: 14px; opacity: .8; }
.chips button.chip, .chip--sel { border: 1px solid var(--border); background: #fff; font: inherit; font-size: 14px; padding: 8px 14px; cursor: pointer; color: var(--ink); }
.chips button.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--sel { border-radius: 999px; appearance: none; padding-right: 14px; }
.evc + .evc { border-top: 1px solid var(--border); }
.evc > summary { list-style: none; cursor: pointer; }
.evc > summary::-webkit-details-marker { display: none; }
.evc > summary .chev { flex: 0 0 18px; color: var(--soft); transition: transform .2s; }
.evc[open] > summary .chev { transform: rotate(180deg); }
.evc__more { padding: 0 0 16px 52px; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 22px; color: var(--muted); }
.evc__more p { margin: 0; }
.evc__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.evc__btns .btn { min-height: 42px; padding: 8px 14px; font-size: 14px; }
.ab { display: flex; flex-direction: column; gap: 20px; }
.ab__ph { width: 100%; max-width: 420px; height: 340px; object-fit: cover; object-position: center top; padding-top: 24px; box-sizing: border-box; border-radius: 20px; background: var(--light); }
@media (min-width: 900px) { .ab__ph { height: 460px; } }
.ab__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ab__nums b { display: block; font-size: 22px; line-height: 28px; color: var(--accent); }
.ab__nums span { font-size: 13px; line-height: 17px; color: var(--muted); }
.more-link { color: var(--navy); font-weight: 600; font-size: 15px; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 70; }
.toast[hidden] { display: none; }
.evc__quick { display: none; }
@media (min-width: 900px) {
  .evc__quick { display: flex; gap: 8px; flex: 0 0 auto; }
  .evc__quick .btn { min-height: 40px; padding: 8px 16px; font-size: 14px; }
  .evc__more .evc__btns .btn--primary, .evc__more .evc__btns .btn--secondary, .evc__more .evc__btns .ev__act { display: none; }
  .ab { display: grid; grid-template-columns: 2fr 3fr; gap: 48px; align-items: center; }
  .feat { padding: 28px 32px; }
  .feat__title { font-size: 30px; line-height: 36px; }
}
