/* 安通 · 安行驾校 — 明亮蓝橙版（2026-11-25 预览） */
:root {
  --blue: #1a56db;
  --blue-700: #1547b8;
  --blue-800: #113a94;
  --blue-900: #0b2a6f;
  --blue-50: #eef4ff;
  --blue-100: #d6e4ff;
  --orange: #ff9f1a;
  --orange-600: #f08c00;
  --orange-50: #fff4e2;
  --ink: #0f1d33;
  --text: #3a4860;
  --muted: #66758c;
  --line: #e3e9f3;
  --soft: #f5f8fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 58, 148, .10);
  --shadow-lg: 0 24px 60px rgba(11, 42, 111, .24);
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 650; font-size: 15px; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s; }
.btn-orange { background: var(--orange); color: #1d1200; }
.btn-orange:hover { background: var(--orange-600); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); }
.btn-outline { background: #fff; border-color: var(--blue-100); color: var(--blue); }
.btn-outline:hover { border-color: var(--blue); }
.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 8px; background: var(--blue-50); color: var(--blue); }
.btn-sm:hover { background: var(--blue); color: #fff; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; color: var(--blue); font-weight: 650; font-size: 15px; }
.link-btn:hover { text-decoration: underline; text-underline-offset: 4px; }

/* 页头 */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(15, 29, 51, .08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: 22px; flex: none; }
.brand-text strong { display: block; font-size: 17px; color: var(--ink); line-height: 1.25; }
.brand-text small { display: block; font-size: 12px; color: var(--muted); }
#navigation { display: flex; gap: 26px; margin-left: auto; }
#navigation a { font-size: 15px; font-weight: 550; color: var(--text); padding: 6px 0; border-bottom: 2px solid transparent; }
#navigation a:hover { color: var(--blue); border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 750; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 20px; }

/* 首屏 */
.hero { position: relative; overflow: hidden; color: #fff; padding: 42px 0 84px;
  background: radial-gradient(900px 420px at 88% -10%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 48%, var(--blue) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 48px; height: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .16) 0 44px, transparent 44px 88px); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); font-size: 14px; }
.hero-badge .icon { color: var(--orange); }
.hero h1 { color: #fff; font-size: clamp(38px, 4.8vw, 54px); font-weight: 800; line-height: 1.15; margin: 16px 0 14px; }
.hero h1 span { color: var(--orange); }
.hero-lead { font-size: 16.5px; color: rgba(255, 255, 255, .88); max-width: 32em; }
.hero-stats { display: flex; margin: 22px 0 24px; }
.hero-stats > div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 0 28px; border-left: 1px solid rgba(255, 255, 255, .24); }
.hero-stats > div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { font-size: 13px; color: rgba(255, 255, 255, .76); }
.hero-stats dd { margin: 0; display: flex; align-items: baseline; font-size: 38px; font-weight: 800; line-height: 1.1; color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats dd small { font-size: 16px; font-weight: 650; margin-left: 4px; color: rgba(255, 255, 255, .86); }
.stat-num { display: inline-block; text-align: left; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photos { display: flex; gap: 16px; margin-top: 22px; }
.hero-photos figure { margin: 0; width: 228px; }
.hero-photos img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 10px 24px rgba(8, 22, 52, .25); }
.hero-photos figcaption { margin-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .92); }

.price-panel { background: #fff; color: var(--text); border-radius: 18px; padding: 24px 24px 20px; box-shadow: var(--shadow-lg); }
.price-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price-head h2 { font-size: 20px; font-weight: 800; }
.price-head a { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 650; color: var(--blue); }
.price-group { margin-top: 14px; }
.price-group-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 750; color: var(--blue-800); background: var(--blue-50); padding: 6px 10px; border-radius: 8px; }
.price-group.moto .price-group-title { color: #7a4300; background: var(--orange-50); }
.price-group ul { list-style: none; margin: 4px 0 0; padding: 0; }
.price-group li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 2px; border-bottom: 1px dashed var(--line); }
.price-group li:last-child { border-bottom: 0; }
.code { display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 8px; border-radius: 8px; background: var(--blue); color: #fff; font-weight: 800; font-size: 15px; }
.price-group.moto .code, .code.moto { background: var(--orange); color: #1d1200; }
.name { font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.35; }
.name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.price { font-weight: 800; color: var(--blue-800); font-size: 22px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price em { font-style: normal; font-size: .62em; margin-right: 2px; }
.price-foot { margin-top: 12px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* 特点条 */
.features { position: relative; z-index: 2; margin-top: -40px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 22px 8px; }
.feature { display: flex; gap: 14px; align-items: flex-start; padding: 4px 20px; border-left: 1px solid var(--line); }
.feature:first-child { border-left: 0; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); font-size: 22px; flex: none; }
.feature h3 { font-size: 16px; }
.feature p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* 通用区块 */
.section { padding: 68px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin-bottom: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 750; color: var(--blue); letter-spacing: .04em; margin-bottom: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--orange); }
.eyebrow.light { color: #fff; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }

/* 车型 */
.course-group + .course-group { margin-top: 36px; }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 750; margin-bottom: 14px; }
.group-title .icon { color: var(--blue); font-size: 22px; }
.group-title small { font-size: 14px; font-weight: 500; color: var(--muted); }
.course-grid { display: grid; gap: 22px; }
.course-grid-2 { grid-template-columns: repeat(2, 1fr); }
.course-grid-3 { grid-template-columns: repeat(3, 1fr); }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.course-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.course-media { position: relative; aspect-ratio: 21 / 9; background: var(--soft); }
.course-grid-3 .course-media { aspect-ratio: 16 / 9; }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(15, 29, 51, .72); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 999px; }
.course-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 18px; }
.course-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.course-title h4 { font-size: 18px; }
.mini-price { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--blue-800); font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .icon { color: var(--blue); margin-top: 4px; font-size: 14px; }
.course-foot { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.course-links { display: flex; flex-wrap: wrap; gap: 4px 28px; margin-top: 22px; }

/* 报名流程 */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 34px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--blue); border-right: 2px solid var(--blue); transform: rotate(45deg); opacity: .5; }
.step-no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps li:last-child .step-no { background: var(--orange); color: #1d1200; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.flow-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 22px; }
.flow-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; align-items: center; width: 100%; padding: 18px 20px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.flow-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.flow-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--blue-50); color: var(--blue); font-size: 28px; }
.flow-icon.moto { background: var(--orange-50); color: #7a4300; }
.flow-text { display: flex; flex-direction: column; gap: 4px; }
.flow-text strong { font-size: 17px; color: var(--ink); }
.flow-text > span:not(.link-btn) { font-size: 13.5px; color: var(--muted); }

/* 练车安排 */
.arr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.arr-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.arr-card h3 { font-size: 18px; margin-top: 4px; }
.arr-card p { font-size: 14.5px; color: var(--muted); }
.arr-card .link-btn { margin-top: auto; }

/* 培训团队 */
.coach-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px 18px; }
.coach { margin: 0; text-align: center; }
.coach-photo { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--blue-50); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.coach-photo::after { content: "点击咨询"; position: absolute; left: 0; right: 0; bottom: 0; padding: 6px 0; background: rgba(15, 29, 51, .78); color: #fff; font-size: 12px; font-weight: 600; text-align: center; opacity: 0; transition: opacity .2s; }
.coach-photo:hover img, .coach-photo:focus-visible img { transform: scale(1.03); }
.coach-photo:hover::after, .coach-photo:focus-visible::after { opacity: 1; }
.coach h3 { font-size: 15.5px; margin-top: 8px; }
.team-more { display: flex; justify-content: center; margin-top: 24px; }
.media-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 240px; gap: 18px; margin-top: 44px; }
.media-tile { position: relative; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); background: var(--ink); color: #fff; text-align: left; }
.media-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.media-office img { object-position: center 15%; }
.media-tile:hover img { transform: scale(1.03); }
.media-cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; padding: 44px 18px 16px; background: linear-gradient(transparent, rgba(9, 22, 48, .82)); }
.media-cap strong { font-size: 16px; }
.media-cap small { font-size: 13px; opacity: .88; }
.play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--blue); font-size: 24px; }

/* 常见问题 */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.faq-grid details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; transition: border-color .2s; }
.faq-grid details[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq-grid summary { position: relative; list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; color: var(--ink); }
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--blue); }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p { padding: 0 0 18px; font-size: 15px; }

/* 联系 */
.contact { padding: 68px 0; color: #fff; background: radial-gradient(800px 400px at 0% 0%, rgba(255, 255, 255, .10), transparent 60%), linear-gradient(135deg, var(--blue-900), var(--blue-700)); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; }
.contact-info > p:not(.eyebrow):not(.contact-line) { color: rgba(255, 255, 255, .84); margin-top: 12px; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; font-size: clamp(30px, 4vw, 42px); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.contact-phone .icon { color: var(--orange); }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; color: rgba(255, 255, 255, .9); }
.contact-line a { color: var(--orange); font-weight: 650; }
.qr-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.qr-row figure { margin: 0; padding: 10px 10px 8px; background: #fff; border-radius: 12px; text-align: center; color: var(--ink); }
.qr-row img { width: 120px; height: 120px; object-fit: contain; }
.qr-row figcaption { font-size: 13px; font-weight: 650; margin-top: 6px; }
.contact-card { background: #fff; color: var(--text); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }
.form-tabs, .qr-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; background: var(--soft); border-radius: 10px; }
.form-tabs { margin-bottom: 22px; }
.form-tabs button, .qr-tabs button { border: 0; background: none; min-height: 42px; border-radius: 8px; font-weight: 650; color: var(--muted); }
.form-tabs [aria-selected="true"], .qr-tabs [aria-selected="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(17, 58, 148, .12); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-100); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-actions { display: grid; gap: 10px; margin-top: 4px; }
.form-actions .btn { width: 100%; }
.form-note, .form-intro { font-size: 12.5px; color: var(--muted); }
.form-note { margin-top: 12px; }
.form-intro { margin-bottom: 16px; }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; margin: 2px 0 16px; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.bot-field { position: absolute; left: -9999px; }
#callback-status { min-height: 1.4em; margin-top: 10px; font-size: 14px; color: var(--blue-800); }

/* 页脚 */
.site-footer { background: #081d4d; color: rgba(255, 255, 255, .72); padding: 36px 0 30px; font-size: 13.5px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand strong { display: block; color: #fff; font-size: 16px; }
.footer-brand small { font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a:hover, .footer-meta a:hover { color: #fff; }
.footer-meta { display: grid; gap: 4px; text-align: right; }
.footer-meta a + a { margin-left: 14px; }

/* 手机底部操作条 */
.mobile-actions { display: none; }

/* 弹窗 */
dialog { width: min(440px, calc(100% - 28px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 18px; color: var(--text); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(8, 22, 52, .62); }
.dialog-inner { position: relative; padding: 28px 24px 24px; }
.dialog-inner h2 { font-size: 20px; padding-right: 44px; }
.dialog-desc { font-size: 14px; color: var(--muted); margin-top: 6px; }
.dialog-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 18px; }
.qr-tabs { margin: 18px 0 14px; }
#qr-image { width: 200px; height: 200px; margin: 0 auto; border: 1px solid var(--line); border-radius: 10px; object-fit: contain; }
.qr-help { text-align: center; margin-top: 14px; }
.qr-help p { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.plan-box { margin-top: 16px; padding: 14px 16px; background: var(--soft); border-radius: 12px; }
#plan-text { white-space: pre-line; font-size: 14.5px; color: var(--ink); }
#copy-status { font-size: 13px; color: var(--blue-800); }
#copy-fallback { width: 100%; min-height: 90px; margin-top: 8px; font: inherit; }
.phone-alt { display: block; text-align: center; margin-top: 14px; color: var(--blue); font-weight: 650; }
#fee-dialog, #video-dialog, #photo-dialog { width: min(920px, calc(100% - 28px)); }
#fee-image, #large-photo { width: 100%; height: auto; margin-top: 14px; border-radius: 10px; }
#training-video { width: 100%; margin-top: 14px; border-radius: 10px; background: #000; }

/* 响应式 */
@media (max-width: 1120px) {
  .header-phone { display: none; }
  #navigation { gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li::after { display: none; }
  .coach-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-grid; }
  #navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 4px 24px 16px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(15, 29, 51, .10); }
  #navigation.is-open { display: flex; }
  #navigation a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #navigation a:last-child { border-bottom: 0; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .feature:nth-child(3) { border-left: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .media-row { grid-template-columns: 1fr 1fr; }
  .media-row .media-tile:first-child { grid-column: 1 / -1; }
  .footer-meta { text-align: left; }
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  body { padding-bottom: 76px; }
  .brand-mark { width: 36px; height: 36px; font-size: 20px; }
  .brand-text strong { font-size: 16px; }
  .header-actions { gap: 8px; }
  .header-consult { display: none; }
  #navigation { padding-inline: 16px; }
  .hero { padding: 22px 0 72px; }
  .hero::after { bottom: 40px; }
  .hero-inner { gap: 22px; }
  .hero-badge { font-size: 12.5px; padding: 4px 12px; }
  .hero h1 { font-size: 32px; margin: 12px 0 8px; }
  .hero-lead { font-size: 14.5px; line-height: 1.55; }
  .hero-stats { margin: 16px 0 18px; }
  .hero-stats > div { padding: 0 18px; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats dd { font-size: 27px; }
  .hero-stats dd small { font-size: 13px; }
  .hero-actions { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; }
  .hero-actions .btn-lg { min-height: 46px; padding: 0 12px; font-size: 14.5px; }
  .hero-photos { display: none; }
  .price-panel { padding: 18px 16px 16px; }
  .price-group li { grid-template-columns: 40px minmax(0, 1fr) auto auto; gap: 10px; }
  .code { min-width: 40px; height: 34px; font-size: 14px; }
  .price { font-size: 19px; }
  .btn-sm { padding: 0 12px; }
  .features { margin-top: -36px; }
  .features-grid { grid-template-columns: 1fr 1fr; padding: 16px 4px; }
  .feature { flex-direction: column; gap: 8px; padding: 4px 14px; }
  .feature-icon { width: 38px; height: 38px; font-size: 19px; }
  .feature h3 { font-size: 15px; }
  .feature p { font-size: 12.5px; }
  .section { padding: 46px 0; }
  .section-head { margin-bottom: 22px; }
  .section-head p { font-size: 15px; }
  .course-group + .course-group { margin-top: 28px; }
  .course-grid-2, .course-grid-3 { grid-template-columns: 1fr; gap: 12px; }
  .course-card { flex-direction: row; }
  .course-media, .course-grid-3 .course-media { flex: 0 0 108px; aspect-ratio: auto; }
  .tag { display: none; }
  .course-body { padding: 12px 14px; gap: 6px; }
  .course-title { gap: 4px 8px; }
  .course-title h4 { font-size: 16px; }
  .course-title .code { min-width: 34px; height: 26px; font-size: 13px; }
  .mini-price { flex-basis: 100%; margin-left: 0; font-size: 13.5px; }
  .checks { font-size: 13px; gap: 2px; }
  .checks li:nth-child(3) { display: none; }
  .course-foot { padding-top: 8px; align-items: center; }
  .course-foot .btn { min-height: 36px; padding: 0 12px; font-size: 13.5px; }
  .course-links { flex-direction: column; gap: 0; margin-top: 16px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 18px 50px; background: none; border: 0; border-radius: 0; }
  .step-no { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li:not(:last-child)::before { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--blue-100); }
  .steps p { margin-top: 2px; }
  .flow-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 6px; }
  .flow-card { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .flow-icon { width: 56px; height: 56px; font-size: 24px; }
  .flow-text strong { font-size: 16px; }
  .arr-grid { grid-template-columns: 1fr; gap: 12px; }
  .arr-card { padding: 18px; }
  .coach-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 12px; }
  .coach h3 { font-size: 14.5px; margin-top: 6px; }
  .media-row { grid-template-columns: 1fr; grid-auto-rows: 185px; gap: 12px; margin-top: 32px; }
  .faq-grid { grid-template-columns: 1fr; gap: 10px; }
  .faq-grid details { padding: 0 16px; }
  .faq-grid summary { padding: 15px 28px 15px 0; font-size: 15px; }
  .contact { padding: 48px 0; }
  .contact-card { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .qr-row img { width: 104px; height: 104px; }
  .footer-meta a + a { margin-left: 0; display: block; }
  .mobile-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px rgba(15, 29, 51, .10); }
}

@media (max-width: 400px) {
  .brand-text small { display: none; }
  .hero h1 { font-size: 30px; }
  .hero-stats > div { padding: 0 14px; }
  .hero-stats > div:first-child { padding-left: 0; }
  .hero-stats dd { font-size: 26px; }
  .price-panel { padding: 16px 12px 14px; }
  .price-group li { grid-template-columns: 36px minmax(0, 1fr) auto auto; gap: 6px; }
  .code { min-width: 36px; height: 32px; font-size: 13.5px; padding: 0 6px; }
  .name { font-size: 14px; }
  .name small { font-size: 11.5px; white-space: nowrap; }
  .price { font-size: 17.5px; }
  .btn-sm { padding: 0 10px; font-size: 13px; min-height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
