/* Honda Ôtô Thái Nguyên — mobile-first UI */
:root {
  --red: #e4002b; --red-d: #b80023; --red-50: #fff1f3;
  --ink: #14171c; --ink-2: #2b3038; --muted: #646c78; --line: #e7e9ed;
  --bg: #fff; --soft: #f5f6f8; --card: #fff;
  --r: 14px; --r-sm: 10px; --sh: 0 1px 2px rgba(16,24,40,.06), 0 4px 16px rgba(16,24,40,.06);
  --hdr: 58px; --dock: 64px; --safe-b: env(safe-area-inset-bottom, 0px);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 52px); }
body { margin: 0; font: 400 15px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-dock { padding-bottom: calc(var(--dock) + var(--safe-b)); }
body.has-carbar { padding-bottom: calc(72px + var(--safe-b)); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(24px, 6.4vw, 40px); font-weight: 800; }
h2 { font-size: clamp(20px, 5vw, 28px); font-weight: 800; }
h3, .h3 { font-size: 17px; font-weight: 700; }
p { margin: 0 0 1em; }
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt { margin-top: 16px; } .mb { margin-bottom: 16px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 99; background: var(--ink); color: #fff; padding: 10px 14px; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid rgba(228,0,43,.45); outline-offset: 2px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; border: 1.5px solid transparent; transition: transform .12s, background .15s, border-color .15s; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 6px 16px -6px rgba(228,0,43,.55); }
.btn-red:hover { background: var(--red-d); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 52px; font-size: 16px; padding: 12px 22px; }
.btn-block { display: flex; width: 100%; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--soft); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--red); font-weight: 700; font-size: 14px; }
.link .i { width: 16px; height: 16px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(12px); -webkit-backdrop-filter: saturate(1.6) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo img { width: 46px; height: auto; }
.logo span { display: flex; flex-direction: column; line-height: 1.05; }
.logo b { font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.logo small { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.logo-light b { color: #fff; }
.hdr-nav { display: none; }
.hdr-call { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--red-50); color: var(--red); font-weight: 800; font-size: 14px; }
.hdr-call .i { width: 18px; height: 18px; }
.hdr-call span { display: none; }
.hdr-menu { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; }
@media (min-width: 400px) { .hdr-call span { display: inline; } }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer-bg, .sheet-bg { position: absolute; inset: 0; background: rgba(15,17,21,.5); opacity: 0; transition: opacity .25s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: #fff; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); overflow-y: auto; padding-bottom: var(--safe-b); }
.drawer.open .drawer-bg, .sheet.open .sheet-bg { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 20px; border-bottom: 1px solid var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 8px 0; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; font-weight: 600; font-size: 16px; }
.drawer-nav a .i { color: #b8bdc5; width: 18px; }
.drawer-nav a.on { color: var(--red); background: var(--red-50); }
.drawer-cta { padding: 16px 20px 24px; display: grid; gap: 10px; margin-top: auto; border-top: 1px solid var(--line); }
.drawer-cta p { display: flex; gap: 8px; margin: 6px 0 0; }

/* Bottom dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(var(--dock) + var(--safe-b)); padding: 0 4px var(--safe-b); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.06); }
.dock-i, .dock-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: var(--dock); font-size: 11.5px; font-weight: 600; color: var(--ink-2); -webkit-tap-highlight-color: transparent; }
.dock-i .i { width: 22px; height: 22px; }
.dock-i:first-child { color: var(--red); }
.dock-main { position: relative; color: #fff; }
.dock-main::before { content: ''; position: absolute; top: -18px; left: 50%; width: 54px; height: 54px; margin-left: -27px; border-radius: 50%; background: var(--red); box-shadow: 0 8px 18px -4px rgba(228,0,43,.6); border: 4px solid #fff; }
.dock-main { justify-content: flex-end; padding-bottom: 12px; }
.dock-main .i { position: absolute; top: -3px; left: 50%; margin-left: -12px; width: 24px; height: 24px; }
.dock-main span { position: relative; color: var(--red); font-weight: 800; line-height: 1.2; }
.dock-i:first-child .i { animation: ring 2.4s infinite; }
@keyframes ring { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(-14deg); } 10%, 20% { transform: rotate(14deg); } }

/* Hero / slider */
.hero { background: var(--ink); }
.slider { position: relative; max-width: 1400px; margin: 0 auto; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; aspect-ratio: 16 / 10; }
.slide::before { content: ''; position: absolute; inset: -20px; background: var(--bg) center / cover; filter: blur(18px) brightness(.7); }
.slide picture, .slide img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.slide.fill img { object-fit: cover; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .2s, background .2s; }
.dots button.on { width: 22px; background: #fff; }
@media (min-width: 700px) { .slide { aspect-ratio: 1400 / 408; } .slide.fill img { object-fit: contain; } }

.intro { padding-top: 24px; padding-bottom: 8px; }
.eyebrow { color: var(--red); font-weight: 800; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; }
.intro-sub { color: var(--ink-2); font-size: 15.5px; }
.intro-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-cta .btn { flex: 1 1 auto; }

/* Quick actions */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 20px; padding-bottom: 8px; }
.quick-i { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: var(--r); background: var(--soft); text-align: left; min-height: 104px; transition: background .15s; }
.quick-i:hover { background: #eceef1; }
.quick-i b { font-size: 15px; margin-top: 8px; }
.quick-i small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.qi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: var(--sh); }
@media (min-width: 760px) { .quick { grid-template-columns: repeat(4, 1fr); } }

/* Sections */
.sec { padding-top: 32px; padding-bottom: 32px; }
.sec-tight { padding-top: 8px; padding-bottom: 32px; }
.sec-soft { background: var(--soft); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.sec-head h2 { margin: 0; }

/* Chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 16px; padding: 2px 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; background: #fff; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Car card */
.car-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .car-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1100px) { .car-grid { grid-template-columns: repeat(4, 1fr); } }
.car-card { display: flex; flex-direction: column; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.car-card:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.car-card[hidden] { display: none; }
.car-img { position: relative; display: block; background: linear-gradient(180deg, #f3f4f6 0%, #fff 100%); padding: 12px 6px 4px; }
.car-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; }
.badge { position: absolute; top: 8px; left: 8px; font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.car-body { padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.car-body h3 { font-size: 15.5px; margin: 0 0 2px; }
.car-price { margin: 0; color: var(--red); font-weight: 800; font-size: 16px; }
.car-price small { color: var(--muted); font-weight: 500; font-size: 12px; }
.car-meta { font-size: 12px; color: var(--muted); margin: 2px 0 10px; }
.car-act { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.car-act .btn { padding: 6px 8px; min-height: 38px; font-size: 13.5px; }
@media (max-width: 359px) { .car-act { grid-template-columns: 1fr; } }

/* Horizontal scroller */
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; overscroll-behavior-x: contain; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll > * { scroll-snap-align: start; }
@media (min-width: 640px) { .hscroll { grid-auto-columns: 46%; } }
@media (min-width: 1000px) { .hscroll { grid-auto-columns: calc(25% - 9px); } }

/* Post cards */
.post-card { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-img img { transform: scale(1.04); }
.post-ph { display: grid; place-items: center; height: 100%; color: #c3c8cf; }
.post-ph .i { width: 40px; height: 40px; }
.post-body { padding: 12px 14px 14px; }
.post-body time, .article time, .post-feature time { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.post-body h3 { font-size: 15px; margin: 4px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-list { display: grid; gap: 10px; }
.post-row { flex-direction: row; align-items: stretch; }
.post-row .post-img { flex: 0 0 38%; aspect-ratio: 4 / 3; }
.post-row .post-body { padding: 10px 12px; }
.post-row h3 { font-size: 14.5px; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(3, 1fr); gap: 18px; } .post-row { flex-direction: column; } .post-row .post-img { flex: none; aspect-ratio: 16 / 10; } }
.post-feature { display: block; border-radius: var(--r); overflow: hidden; background: var(--ink); color: #fff; margin-bottom: 14px; }
.post-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-feature div { padding: 14px 16px 18px; }
.post-feature time { color: rgba(255,255,255,.7); }
.post-feature h2 { font-size: 20px; margin: 4px 0 6px; }
.post-feature p { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 900px) { .post-feature { display: grid; grid-template-columns: 1.3fr 1fr; } .post-feature img { height: 100%; } .post-feature div { padding: 28px; align-self: center; } .post-feature h2 { font-size: 26px; } }

/* Services */
.svc-grid { display: grid; gap: 10px; }
.svc { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); }
.svc .qi { grid-row: span 2; box-shadow: none; background: var(--red-50); }
.svc h3 { margin: 0 0 4px; font-size: 16px; }
.svc p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 760px) { .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1100px) { .svc-grid { grid-template-columns: repeat(4, 1fr); } .svc { grid-template-columns: 1fr; } .svc .qi { grid-row: auto; margin-bottom: 12px; } }

/* Stats */
.stats-sec { background: radial-gradient(120% 100% at 0% 0%, #2a2f37 0%, #111418 60%); color: #fff; }
.stats-sec h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; margin: 18px 0 20px; }
.stat { background: #171a1f; padding: 18px 14px; }
.stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.1; }
.stat b small { font-size: 16px; margin-left: 2px; color: #ff6b85; }
.stat span { font-size: 13px; color: rgba(255,255,255,.72); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* Contact */
.contact-sec { display: grid; gap: 18px; }
@media (min-width: 900px) { .contact-sec { grid-template-columns: 1.1fr 1fr; align-items: start; } }
.contact-card, .contact-form, .card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.info-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.info-list li { display: flex; gap: 10px; font-size: 14.5px; }
.info-list .i { color: var(--red); margin-top: 2px; }
.info-list a { font-weight: 700; color: var(--red); }
.map { position: relative; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #e9ecef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23d5d9de' stroke-width='1'/%3E%3C/svg%3E"); display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { display: inline-flex; gap: 8px; align-items: center; padding: 12px 18px; border-radius: 999px; background: #fff; font-weight: 700; box-shadow: var(--sh); }
.map-btn .i { color: var(--red); }
.contact-btns { display: grid; gap: 8px; margin-bottom: 16px; }
.cbtn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--soft); }
.cbtn .i { color: var(--red); width: 22px; height: 22px; }
.cbtn small { display: block; font-size: 12px; color: var(--muted); }
.cbtn b { font-size: 15px; word-break: break-all; }
@media (min-width: 600px) { .contact-btns { grid-template-columns: 1fr 1fr; } }

/* Lead form */
.lead-head h2 { font-size: 21px; margin-bottom: 4px; }
.lead-head p { font-size: 14px; margin-bottom: 14px; }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.field input:not([type=checkbox]):not([type=radio]):not([type=range]), .field select, .field textarea, .filters input, .filters select {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; font-size: 16px; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.field select, .filters select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23646c78' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,23,28,.08); }
.field.err input, .field.err select { border-color: var(--red); box-shadow: 0 0 0 3px rgba(228,0,43,.12); }
.field .err-msg { color: var(--red); font-size: 13px; margin-top: 4px; }
.field[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-note { display: flex; gap: 6px; align-items: center; margin: 10px 0 0; }
.lead-note .i { width: 16px; height: 16px; color: #1f9d55; }
.lead.sent > *:not(.lead-ok) { display: none; }
.lead-ok { text-align: center; padding: 8px 0; }
.lead-ok[hidden] { display: none; }
.ok-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #e8f7ee; color: #1f9d55; }
.ok-ic .i { width: 32px; height: 32px; stroke-width: 3; }
.btn.loading { opacity: .7; pointer-events: none; }
.btn.loading::after { content: ''; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bottom sheet */
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; overflow-y: auto; background: #fff; border-radius: 20px 20px 0 0; padding: 8px 18px calc(18px + var(--safe-b)); transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); overscroll-behavior: contain; }
.sheet.open .sheet-panel { transform: none; }
.sheet-grab { width: 40px; height: 5px; border-radius: 3px; background: #d8dbe0; margin: 4px auto 12px; }
.sheet-x { position: absolute; top: 8px; right: 8px; }
.sheet .lead-head { padding-right: 36px; }
@media (min-width: 700px) {
  .sheet-panel { left: 50%; right: auto; bottom: 50%; width: 460px; border-radius: 20px; transform: translate(-50%, 60%); opacity: 0; transition: transform .25s, opacity .25s; padding: 22px 24px 24px; }
  .sheet.open .sheet-panel { transform: translate(-50%, 50%); opacity: 1; }
  .sheet-grab { display: none; }
}
body.lock { overflow: hidden; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(var(--dock) + var(--safe-b) + 16px); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; opacity: 0; pointer-events: none; transition: .25s; z-index: 80; max-width: 90vw; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Breadcrumb & page head */
.crumbs { display: flex; align-items: center; gap: 4px; padding-top: 12px; padding-bottom: 4px; font-size: 13px; color: var(--muted); overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.crumbs::-webkit-scrollbar { display: none; }
.crumbs .i { width: 14px; height: 14px; }
.crumbs span { overflow: hidden; text-overflow: ellipsis; }
.page-head { padding-top: 8px; padding-bottom: 16px; }
.page-head h1 { margin-bottom: 6px; }
.page-head p { margin: 0; }

/* Car detail */
.car-hero { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); padding: 4px 0 20px; overflow: hidden; }
.car-hero-in { display: grid; gap: 4px; }
.car-hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0,0,0,.14)); }
.car-hero h1 { margin-bottom: 4px; }
.tagline { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.pills { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.pills li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.pills .i { width: 16px; height: 16px; color: var(--red); }
.car-from { font-size: 15px; margin: 0; }
.car-from b { font-size: 26px; color: var(--red); font-weight: 800; margin-left: 4px; }
@media (min-width: 900px) { .car-hero-in { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; } .car-hero { padding: 24px 0 40px; } }

.tabs { position: sticky; top: var(--hdr); z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.tabs-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs-in::-webkit-scrollbar { display: none; }
.tabs a { flex: none; padding: 14px 12px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2.5px solid transparent; }
.tabs a.on { color: var(--ink); border-color: var(--red); }

.versions { display: grid; gap: 8px; }
.ver input { position: absolute; opacity: 0; pointer-events: none; }
.ver-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: border-color .15s, background .15s; }
.ver-in::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c6cbd2; transition: .15s; }
.ver input:checked + .ver-in { border-color: var(--red); background: var(--red-50); }
.ver input:checked + .ver-in::before { border: 6px solid var(--red); }
.ver input:focus-visible + .ver-in { box-shadow: 0 0 0 3px rgba(228,0,43,.25); }
.ver-name { flex: 1; font-weight: 700; }
.ver-name small { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; }
.ver-price { font-weight: 800; color: var(--red); white-space: nowrap; }
@media (min-width: 760px) { .versions { grid-template-columns: repeat(2, 1fr); } }

.roll { margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--soft); }
.roll-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 14px; border-bottom: 1px dashed #dadde2; }
.roll-row span:last-child, .roll-row b { text-align: right; white-space: nowrap; }
.roll-total { font-size: 15px; border-bottom: 0; padding-top: 10px; }
.roll-total b { font-size: 19px; color: var(--red); }
.roll-loan { border-bottom: 0; padding-top: 0; }
.roll p { margin: 6px 0 8px; }

.hl-grid { display: grid; gap: 10px; }
.hl { background: #fff; border-radius: var(--r); padding: 16px; border: 1px solid var(--line); }
.hl-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; margin-bottom: 10px; }
.hl-ic .i { width: 18px; height: 18px; stroke-width: 3; }
.hl h3 { margin-bottom: 4px; }
.hl p { margin: 0; color: var(--muted); font-size: 14px; }
@media (min-width: 640px) { .hl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .hl-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery { grid-auto-columns: 86%; }
.g-item { border-radius: var(--r); overflow: hidden; background: var(--soft); aspect-ratio: 4 / 3; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .gallery { grid-auto-columns: 44%; } }
@media (min-width: 1000px) { .gallery { grid-auto-columns: calc(33.333% - 8px); } }

.specs { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 12px 14px; font-size: 14px; }
.specs div:nth-child(odd) { background: var(--soft); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }

.prose { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.prose h2, .prose h3 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose img { border-radius: var(--r-sm); margin: 12px auto; height: auto; }
.prose figure { margin: 12px 0; }
.prose a { color: var(--red); text-decoration: underline; }
.prose ul { padding-left: 1.2em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px; }
.clamp { max-height: 420px; overflow: hidden; position: relative; }
.clamp::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, #fff); }
.clamp.open { max-height: none; }
.clamp.open::after, .clamp.open + [data-unclamp] { display: none; }

.carbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 44px 44px 1fr 1.4fr; gap: 8px; align-items: center; padding: 10px 12px calc(10px + var(--safe-b)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(16,24,40,.08); }
.carbar .btn { min-height: 48px; padding: 8px 10px; }
.carbar-ic { width: 44px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); color: var(--red); }
@media (min-width: 900px) { .carbar { left: auto; right: 24px; bottom: 24px; width: 440px; border-radius: 18px; border: 1px solid var(--line); } body.has-carbar { padding-bottom: 0; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.94); display: grid; place-items: center; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox .icon-btn { position: absolute; color: #fff; background: rgba(255,255,255,.12); }
.lb-x { top: calc(10px + env(safe-area-inset-top, 0px)); right: 10px; }
.lb-prev { left: 8px; top: 50%; } .lb-next { right: 8px; top: 50%; }
.lb-count { position: absolute; bottom: calc(16px + var(--safe-b)); color: #fff; font-size: 14px; }

/* Price list */
.price-list { display: grid; gap: 12px; }
@media (min-width: 900px) { .price-list { grid-template-columns: 1fr 1fr; } }
.pl-car { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.pl-head { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: var(--soft); }
.pl-head img { width: 96px; aspect-ratio: 16/9; object-fit: contain; }
.pl-head span { flex: 1; display: flex; flex-direction: column; }
.pl-head b { font-size: 16px; }
.pl-head small { color: var(--muted); font-size: 12.5px; }
.pl-head > .i { color: var(--muted); }
.pl-vers { list-style: none; margin: 0; padding: 0; }
.pl-vers li { display: flex; align-items: center; gap: 10px; padding: 10px 6px 10px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.pl-vers span { flex: 1; }
.pl-vers b { color: var(--red); white-space: nowrap; }
.pl-q { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.pl-q:hover { color: var(--red); background: var(--red-50); }

/* Calculator */
.calc-grid { display: grid; gap: 14px; }
@media (min-width: 1000px) { .calc-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.bill { margin: 0; }
.bill div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.bill div[hidden] { display: none; }
.bill dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.bill dt small { color: var(--muted); }
.bill-total { border-bottom: 0 !important; }
.bill-total dt { font-weight: 700; }
.bill-total dd { color: var(--red); font-size: 19px; font-weight: 800; }
input[type=range] { width: 100%; height: 32px; accent-color: var(--red); }
.calc-cta { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 700px) { .calc-cta { grid-template-columns: 1fr 1fr; max-width: 640px; } }

/* About */
.about-hero { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.photo-grid figure { margin: 0; }
.photo-grid img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.photo-grid figcaption { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(4, 1fr); } }
.photo-row img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.why { display: grid; gap: 8px; margin-top: 16px; }
.why p { display: flex; gap: 10px; margin: 0; font-size: 14.5px; }
.why .i { color: var(--red); }

/* Article */
.article { padding-top: 8px; padding-bottom: 24px; }
.article h1 { font-size: clamp(22px, 5.6vw, 34px); margin-top: 4px; }
.article-img { border-radius: var(--r); width: 100%; margin-bottom: 16px; }
.share { display: flex; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }

.nf { text-align: center; padding: 48px 16px; }
.nf-code { font-size: 80px; font-weight: 800; color: var(--red); line-height: 1; margin: 0 0 8px; }
.nf .intro-cta { justify-content: center; }

/* Footer */
.ftr { background: #0f1115; color: rgba(255,255,255,.75); padding: 36px 0 0; font-size: 14px; }
.ftr h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.ftr-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .ftr-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.ftr-slogan { margin: 12px 0 16px; color: #ff6b85; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; }
.ftr-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ftr-contact li { display: flex; gap: 10px; }
.ftr-contact .i { width: 18px; height: 18px; margin-top: 2px; color: #ff6b85; }
.ftr-contact a { color: #fff; font-weight: 600; }
.ftr-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.ftr-links a { display: inline-block; padding: 6px 0; }
.ftr-links a:hover, .ftr-contact a:hover { color: #fff; text-decoration: underline; }
.ftr-social { display: flex; gap: 10px; margin-top: 16px; }
.ftr-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.ftr-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 28px; padding-top: 16px; padding-bottom: 20px; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* Desktop */
@media (min-width: 1080px) {
  body.has-dock { padding-bottom: 0; }
  .dock { display: none; }
  .hdr-menu { display: none; }
  .hdr-nav { display: flex; gap: 2px; margin-right: 8px; }
  .hdr-nav a { padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
  .hdr-nav a:hover { background: var(--soft); }
  .hdr-nav a.on { color: var(--red); }
  .sec { padding-top: 56px; padding-bottom: 56px; }
  .intro { padding-top: 40px; text-align: center; max-width: 820px; }
  .intro-cta { justify-content: center; } .intro-cta .btn { flex: 0 0 auto; }
  .toast { bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
