/* BASE Academy — landing styles. Brand: Onest, #162034 #00B27C #8338EC #EE4266 #00AFB9 */
:root {
  --bg: #0b1426;
  --navy: #162034;
  --navy-2: #1d2a45;
  --line: rgba(255, 255, 255, .12);
  --text: #ffffff;
  --muted: #b4bfd6;
  --green: #00b27c;
  --purple: #8338ec;
  --red: #ee4266;
  --teal: #00afb9;
  --accent: var(--purple);
  --accent-fill: var(--purple);
  --accent-text: #b08cf5;
  --r-lg: 32px;
  --r-md: 22px;
  --r-sm: 14px;
  --wrap: 1160px;
  --header-h: 68px;
}
.accent-smm { --accent: var(--red); --accent-fill: #d6335a; --accent-text: #ff6b8a; }
.accent-digital { --accent: var(--purple); --accent-fill: var(--purple); --accent-text: #b08cf5; }
.accent-sales { --accent: var(--green); --accent-fill: var(--green); --accent-text: var(--green); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(34px, 6.4vw, 66px); }
h2 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.15; }
h3 { font-size: 24px; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 18px; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.muted { color: var(--muted); }
.grad { color: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; text-align: center;
  padding: 16px 28px; border-radius: 999px; transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.btn-primary { background: var(--green); color: #07251c; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .8); }
.btn-primary:hover { transform: translateY(-2px); background: #0bc48c; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--line); }
.btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 15px; min-height: 44px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 38, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.logo img { height: 30px; width: auto; }
.nav { display: none; margin-left: auto; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: #fff; }
.header-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.header-phone { display: none; font-weight: 700; text-decoration: none; font-size: 15px; }
.burger { background: none; border: 0; width: 44px; height: 44px; color: #fff; cursor: pointer; display: grid; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.burger span::before { position: absolute; top: -7px; }
.burger span::after { position: absolute; top: 7px; }
.mnav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); padding: 24px 20px; z-index: 49; flex-direction: column; gap: 6px; }
.mnav.open { display: flex; }
.mnav a { font-size: 24px; font-weight: 700; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { margin-left: 0; }
  .header-phone { display: inline; }
  .burger { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 0% 100%, rgba(0, 178, 124, .55), transparent 70%),
    radial-gradient(55% 60% at 100% 55%, rgba(131, 56, 236, .6), transparent 70%),
    radial-gradient(40% 40% at 70% 0%, rgba(0, 175, 185, .22), transparent 70%),
    linear-gradient(180deg, #06122a, var(--bg));
}
.hero.accent-smm::before { background: radial-gradient(60% 55% at 0% 100%, rgba(238, 66, 102, .45), transparent 70%), radial-gradient(55% 60% at 100% 50%, rgba(131, 56, 236, .55), transparent 70%), linear-gradient(180deg, #06122a, var(--bg)); }
.hero.accent-sales::before { background: radial-gradient(60% 55% at 0% 100%, rgba(0, 178, 124, .55), transparent 70%), radial-gradient(55% 60% at 100% 50%, rgba(0, 175, 185, .35), transparent 70%), linear-gradient(180deg, #06122a, var(--bg)); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { margin: 6px 0 20px; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: #dbe3f5; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.deco { position: absolute; z-index: -1; pointer-events: none; opacity: .7; }
.deco-1 { width: 340px; right: -90px; top: -60px; }
.deco-2 { width: 220px; left: -70px; bottom: 30px; opacity: .55; }
@media (min-width: 960px) {
  .hero { padding: 84px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .deco-1 { width: 520px; right: -140px; top: -120px; }
}
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.pill i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: inline-block; }
.pill-solid { border: 0; color: #fff; background: var(--accent-fill); }
.hero .pills { margin-bottom: 22px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; max-width: 560px; }
.fact { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; }
.fact b { display: block; font-size: 20px; line-height: 1.15; }
.fact span { font-size: 13px; color: var(--muted); }

/* Form card */
.form-card { background: #fff; color: var(--navy); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7); position: relative; }
.form-card .form-title { font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 6px; }
.form-card .sub { color: #56627c; font-size: 15px; margin-bottom: 18px; }
.field { display: block; margin-bottom: 12px; }
.field span { display: block; font-size: 13px; font-weight: 700; color: #56627c; margin-bottom: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 17px; padding: 15px 16px; border-radius: 14px; border: 2px solid #e1e6f0; background: #f6f8fc; color: var(--navy);
}
.field input:focus { border-color: var(--purple); outline: none; background: #fff; }
.form-note { font-size: 12.5px; color: #6b7690; margin-top: 12px; line-height: 1.4; }
.form-note a { color: #56627c; }
.form-status { font-size: 14px; margin-top: 10px; font-weight: 600; }
.form-status.err { color: #c0224a; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* Cards & grids */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--navy); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; position: relative; overflow: hidden; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .num { font-size: 15px; font-weight: 800; color: var(--accent-text); letter-spacing: .04em; margin-bottom: 10px; display: block; }

/* Course cards (home) */
.course-card { display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .2s ease, border-color .2s; }
.course-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.course-card::after { content: ""; position: absolute; width: 190px; height: 190px; border-radius: 50%; right: -60px; top: -70px; background: var(--accent); opacity: .22; filter: blur(2px); }
.course-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.course-card .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--accent-fill); }
.course-card .who small { color: var(--muted); display: block; line-height: 1.25; font-size: 13px; }
.course-card .price { font-size: 15px; color: var(--muted); }
.course-card .price b { color: #fff; font-size: 20px; }
.course-card .price s { opacity: .6; }
.link-arrow { font-weight: 700; color: var(--accent-text); display: inline-flex; gap: 6px; }

/* Checklists */
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-fill); }
.checks li::after { content: ""; position: absolute; left: 7px; top: 8px; width: 8px; height: 5px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(-45deg); }
.crosses li { position: relative; padding-left: 34px; margin-bottom: 12px; color: var(--muted); }
.crosses li::before { content: "×"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; text-align: center; line-height: 22px; font-weight: 800; }

/* Manifesto / contrast rows */
.versus { display: grid; gap: 12px; }
.versus .row { display: grid; gap: 4px; padding: 18px 22px; background: var(--navy); border: 1px solid var(--line); border-radius: var(--r-md); }
.versus .row b { font-size: 20px; }
.versus .row s { color: #9aa6c0; }
@media (min-width: 720px) { .versus .row { grid-template-columns: 1fr 1fr; align-items: center; } }
.band { background: var(--purple); border-radius: var(--r-lg); padding: 38px 28px; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -120px; bottom: -190px; background: #5a259f; }
.band p { position: relative; font-size: clamp(22px, 3.2vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; max-width: 820px; }
.band small { position: relative; display: block; margin-top: 14px; font-size: 16px; font-weight: 500; opacity: .9; }

/* Program accordion */
.acc { display: grid; gap: 12px; }
.acc details { background: var(--navy); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s; }
.acc details[open] { border-color: var(--accent); }
.acc summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; gap: 16px; align-items: center; font-weight: 700; font-size: 18px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-fill); display: grid; place-items: center; font-size: 16px; color: #fff; }
.acc summary .t { flex: 1; }
.acc summary::after { content: "+"; font-size: 28px; font-weight: 400; color: var(--muted); line-height: 1; }
.acc details[open] summary::after { content: "–"; }
.acc .body { padding: 0 24px 22px 78px; color: var(--muted); }
@media (max-width: 600px) { .acc .body { padding-left: 24px; } }

/* Teacher */
.teacher { display: grid; gap: 28px; align-items: center; background: var(--navy); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.teacher .photo { position: relative; overflow: hidden; align-self: stretch; height: 360px; background: var(--accent-fill); display: flex; align-items: flex-end; justify-content: center; }
.teacher .photo::before { content: ""; position: absolute; left: 50%; bottom: -38%; width: 92%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: rgba(11, 20, 38, .3); }
.teacher .photo img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; width: auto; max-width: none; }
.teacher .info { padding: 8px 28px 32px; }
.teacher .role { color: var(--accent-text); font-weight: 700; margin: 6px 0 16px; }
@media (min-width: 820px) { .teacher { grid-template-columns: 380px 1fr; gap: 0; } .teacher .photo { height: auto; min-height: 440px; } .teacher .info { padding: 36px 40px; } }
.teachers-grid .teacher { grid-template-columns: 1fr; }
.teachers-grid .teacher .photo { height: 320px; min-height: 0; }
.teachers-grid .teacher .info { padding: 6px 24px 26px; }
@media (min-width: 720px) { .teachers-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pricing */
.pricing { display: grid; gap: 18px; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1.1fr .9fr; } }
.price-card { background: #fff; color: var(--navy); border-radius: var(--r-lg); padding: 34px; }
.price-card .old { font-size: 22px; color: #6b7690; text-decoration: line-through; font-weight: 600; }
.price-card .now { font-size: clamp(40px, 6vw, 58px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 2px 0 8px; }
.price-card .now small { font-size: 18px; font-weight: 700; letter-spacing: 0; color: #56627c; }
.price-card .badge { display: inline-block; background: #d6335a; color: #fff; font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; margin-left: 10px; vertical-align: middle; }
.price-card ul { margin: 18px 0 24px; color: #35415b; }
.price-card li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.price-card li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.perk-card { background: var(--navy); border: 1px dashed rgba(255, 255, 255, .35); border-radius: var(--r-lg); padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.perk-card h3 { font-size: 24px; }
.perk-card .big { font-size: 34px; font-weight: 800; color: var(--green); letter-spacing: -.02em; }
.perk-card .btn { margin-top: auto; align-self: flex-start; }

/* Bonuses */
.bonus { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--navy); border-radius: var(--r-md); border: 1px solid var(--line); }
.bonus i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 8px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 18px 40px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 30px; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .a { color: var(--muted); padding: 0 0 20px; max-width: 720px; }

/* Location */
.location { display: grid; gap: 18px; }
@media (min-width: 820px) { .location { grid-template-columns: 1fr 1fr; } }
.loc-card { background: var(--navy); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.loc-card h3 { font-size: 24px; margin-bottom: 12px; }
.loc-card .addr { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.loc-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.steps-list { counter-reset: s; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; color: #dbe3f5; }
.steps-list li::before { content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #05252a; font-weight: 800; display: grid; place-items: center; }

/* Final CTA */
.final { background: radial-gradient(70% 90% at 90% 100%, rgba(131, 56, 236, .6), transparent 70%), radial-gradient(60% 80% at 0% 0%, rgba(0, 178, 124, .35), transparent 70%), var(--navy); border-radius: var(--r-lg); padding: 40px 28px; display: grid; gap: 28px; align-items: center; border: 1px solid var(--line); }
@media (min-width: 900px) { .final { grid-template-columns: 1fr 400px; padding: 56px; } }
.final h2 { margin-bottom: 12px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--muted); font-size: 15px; }
.footer .wrap { display: grid; gap: 24px; }
@media (min-width: 820px) { .footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } .footer { padding-bottom: 48px; } }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; letter-spacing: 0; }
.footer a { display: block; text-decoration: none; padding: 9px 0; }
.footer a:hover { color: #fff; }
.footer img { height: 28px; margin-bottom: 14px; }

/* Sticky mobile CTA */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; transform: translateY(140%); transition: transform .3s ease; display: flex; gap: 10px; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; box-shadow: 0 14px 40px -8px rgba(0, 0, 0, .7); }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* Thank-you */
.thanks { min-height: calc(100vh - var(--header-h)); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.thanks .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--green); margin: 0 auto 28px; position: relative; }
.thanks .ok::after { content: ""; position: absolute; left: 27px; top: 28px; width: 30px; height: 17px; border-left: 6px solid #fff; border-bottom: 6px solid #fff; transform: rotate(-45deg); }
.thanks h1 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 16px; }
.thanks .lead { color: var(--muted); max-width: 560px; margin: 0 auto 28px; font-size: 19px; }
.thanks .hero-actions { justify-content: center; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .course-card { transition: none; } }

/* Draft mode: highlight everything that still needs real data */
.draft .todo { background: rgba(255, 212, 0, .22); outline: 2px dashed #ffd400; outline-offset: 2px; border-radius: 6px; color: inherit; }
.price-card .todo, .form-card .todo { color: var(--navy); }
.draft-bar { position: relative; z-index: 100; background: #ffd400; color: #1b1500; font-size: 13px; font-weight: 600; padding: 7px 44px 7px 16px; text-align: center; line-height: 1.35; }
.draft-bar button { position: absolute; right: 8px; top: 3px; border: 0; background: none; font-size: 22px; cursor: pointer; color: #1b1500; }

/* Home hero: stack of course pills */
.big-pill { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 28px; border-radius: 999px; background: var(--accent-fill); color: #fff; font-weight: 800; font-size: clamp(20px, 3vw, 26px); text-decoration: none; letter-spacing: -.01em; transition: transform .2s ease; }
.big-pill:hover { transform: translateX(6px); }
.big-pill small { font-size: 14px; font-weight: 600; white-space: nowrap; }
.accent-sales.big-pill, .accent-sales .pill-solid, .accent-sales .acc summary .n { color: #07251c; }
.accent-sales .checks li::after { border-color: #07251c; }
.sticky-cta .btn-ghost { background: var(--navy); border-color: rgba(255, 255, 255, .25); flex: 0 0 auto; }
.draft-note { display: none; }
.draft .draft-note { display: block; }
.stack .muted .todo { color: inherit; }
@media (max-width: 959px) { .deco-1 { opacity: .4; } .deco-2 { display: none; } }
.pricing > :only-child { grid-column: 1 / -1; max-width: 640px; }

/* Вопрос-фильтр в форме и пометка на узбекском */
.fit { border: 0; margin: 4px 0 12px; padding: 0; min-width: 0; }
.fit legend { font-size: 13px; font-weight: 700; color: #56627c; margin-bottom: 8px; padding: 0; }
.opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 2px solid #e1e6f0; border-radius: 14px; background: #f6f8fc; cursor: pointer; margin-bottom: 8px; font-size: 15px; line-height: 1.35; color: var(--navy); }
.opt input { margin-top: 3px; accent-color: var(--purple); flex: none; width: 18px; height: 18px; }
.opt:has(input:checked) { border-color: var(--purple); background: #f3ecff; }
.opt:focus-within { outline: 3px solid var(--teal); outline-offset: 2px; }
.fit-hint { font-size: 13.5px; color: #35415b; background: #fff6d6; border-radius: 12px; padding: 10px 12px; margin: 0 0 4px; line-height: 1.4; }
.fit-hint[hidden] { display: none; }
.uz-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Цена в первом экране курса и кнопки записи в середине страницы */
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; }
.hero-price s { font-size: 22px; color: #b4bfd6; }
.hero-price b { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.hero-price b small { font-size: 18px; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.hero-price .badge { background: #d6335a; color: #fff; font-weight: 800; font-size: 15px; padding: 4px 12px; border-radius: 999px; align-self: center; }
.hero-price-note { flex-basis: 100%; font-size: 15px; color: var(--muted); }
.mid-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 28px; }
.mid-cta span { color: var(--muted); font-size: 15px; }

.course-card .price s { color: #9aa6c0; opacity: 1; }
.teachers-grid .teacher { align-items: start; align-content: start; }

.teacher { gap: 0; }
.teacher .info { padding: 24px 28px 32px; }
@media (min-width: 820px) { .teacher .info { padding: 36px 40px; } }
.teachers-grid .teacher .info { padding: 22px 24px 28px; }

/* Сертификат с логотипом ассоциации, видео спикера, отзывы */
.cert-logo-wrap { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; }
.cert-logo-wrap img { display: block; height: 48px; width: auto; }
.teacher-video { display: block; width: 100%; margin-top: 18px; border-radius: 18px; background: #000; }
.review { margin: 0; }
.review blockquote { margin: 0 0 16px; }
.review blockquote p { color: #fff; font-size: 18px; line-height: 1.5; }
.review figcaption b { color: #fff; }

/* Логотип ассоциации белый, он рассчитан на тёмный фон: плашка не нужна */
.cert-logo-wrap { background: none; padding: 0; margin-bottom: 18px; }
.cert-logo-wrap img { height: 56px; }

/* Блок «Скоро» и реквизиты в подвале */
.soon { display: grid; gap: 28px; align-items: center; padding: 40px 32px; border-radius: var(--r-lg); background: var(--navy); border: 2px dashed rgba(255, 255, 255, .4); }
@media (min-width: 900px) { .soon { grid-template-columns: .8fr 1.2fr; padding: 48px; } }
.soon-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.soon-pill { display: inline-flex; align-items: center; padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: clamp(18px, 2.4vw, 26px); letter-spacing: -.01em; color: #fff; }
.soon-green { background: var(--green); color: #07251c; }
.soon-purple { background: var(--purple); }
.soon-red { background: #d6335a; }
.soon-teal { background: var(--teal); color: #052a2d; }
.soon-link { display: block; padding: 6px 10px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.soon-link:hover { color: #fff; }
.footer .company { margin-top: 10px; font-size: 13px; }

/* Карточки преподавателей на главной: одинаковые блоки имени и должности */
.teachers-grid .teacher h3 { min-height: 2.4em; }
.teachers-grid .teacher .role { min-height: 3em; }

/* Размер портрета подгоняется, чтобы головы спикеров выглядели одинаково */
.teacher .photo img { height: calc(100% * var(--s, 1)); }

/* ===== Дизайн-проход 27.10 ===== */

/* «Почему BASE»: крупные цветные плашки с формами бренда */
.why-head { display: grid; gap: 14px; margin-bottom: 36px; }
.why-head p { color: var(--muted); font-size: 19px; }
@media (min-width: 900px) { .why-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 56px; } }
.why-grid { display: grid; gap: 18px; }
@media (min-width: 900px) {
  .why-grid { grid-template-columns: 1.15fr 1fr; }
  .why-card:first-child { grid-row: span 2; min-height: 540px; }
}
.why-card { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: 36px; display: flex; flex-direction: column; gap: 14px; min-height: 270px; }
.why-card h3 { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; max-width: 12em; }
.why-card:first-child h3 { font-size: clamp(34px, 4.6vw, 56px); }
.why-card p { font-size: 18px; max-width: 30em; }
.why-art { position: absolute; z-index: -1; right: -70px; bottom: -70px; width: 300px; }
.why-card:first-child .why-art { width: 470px; right: -120px; bottom: -130px; }
.why-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.why-chips li { padding: 7px 16px; border-radius: 999px; font-size: 15px; font-weight: 700; background: rgba(255, 255, 255, .2); }
.why-purple { background: var(--purple); color: #fff; }
.why-purple .why-art, .why-red .why-art { color: #0b1426; opacity: .28; }
.why-green { background: #00805a; color: #fff; }
.why-green .why-art { color: #0b1426; opacity: .25; }
.why-green .why-chips li { background: rgba(11, 20, 38, .28); }
.why-red { background: #d6335a; color: #fff; }

/* Карточки направлений: цена всегда над разделительной линией, линия на одной высоте */
.course-card .price { margin-top: auto; }
.course-card .who { margin-top: 0; min-height: 88px; }

/* Галочки в списках SMM: зелёные, чтобы не читались как крестики */
.accent-smm .checks li::before { background: #ff9eb7; }
.accent-smm .checks li::after { border-color: #4a0c20; }

/* Ведущий в первом экране */
.hero-speaker { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.hero-speaker img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; background: var(--accent-fill); }
.hero-speaker b { display: block; font-size: 16px; }
.hero-speaker span { font-size: 14px; color: var(--muted); }

/* Цветные поля секций для ритма страницы */
.field-purple { background: var(--purple); }
.field-purple h2 { color: #fff; }
.field-purple .band { background: var(--navy); }
.field-purple .band::before { background: var(--purple); }
.field-purple .versus .row { background: var(--navy); border-color: transparent; }
.field-accent { background: var(--accent-fill); }
.field-accent .section-head p { color: #fff; opacity: .92; }
.accent-sales .field-accent h2, .accent-sales .field-accent .section-head p { color: #07251c; opacity: 1; }
.why-purple .why-chips li, .why-red .why-chips li { background: rgba(11, 20, 38, .32); }
