:root {
  --ink: #081a18;
  --ink-soft: #17312e;
  --cream: #f4f0e8;
  --paper: #fffdf8;
  --lime: #d8ff72;
  --orange: #ff6b35;
  --muted: #6c7773;
  --line: rgba(8, 26, 24, .14);
  --shadow: 0 26px 70px rgba(3, 18, 16, .14);
  --radius: 28px;
  --shell: min(1240px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
html[lang="zh"] body { font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif; }
html[lang="zh"] .hero h1, html[lang="zh"] .section-heading h2, html[lang="zh"] .process-intro h2, html[lang="zh"] .cta-panel h2, html[lang="zh"] .inventory-hero h1, html[lang="zh"] .detail-title { font-family: "Songti SC", "STSong", "SimSun", serif; letter-spacing: -.035em; }
html[lang="zh"] em { font-style: normal; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.button, button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255,107,53,.42); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; transform: translateY(-150%); background: var(--lime); padding: 12px 18px; border-radius: 99px; }
.skip-link:focus { transform: translateY(0); }

.site-header { width: 100%; min-height: 88px; margin: 0; padding-inline: max(24px, calc((100% - 1240px) / 2)); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; position: sticky; top: 0; z-index: 400; border-bottom: 1px solid transparent; background: rgba(244,240,232,.88); backdrop-filter: blur(18px) saturate(145%); transition: min-height .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.site-header.is-scrolled { min-height: 74px; border-color: var(--line); background: rgba(255,253,248,.94); box-shadow: 0 10px 30px rgba(3,18,16,.07); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px 13px 5px 13px; color: var(--lime); background: var(--ink); transform: rotate(-5deg); }
.brand-mark span { font-weight: 900; font-size: 18px; transform: rotate(5deg); }
.brand-copy { display: grid; line-height: 1; gap: 4px; }
.brand-copy strong { font-size: 16px; letter-spacing: .13em; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .22em; }
.main-nav { justify-self: center; display: flex; gap: 30px; align-items: center; }
.main-nav a { position: relative; padding: 10px 0; color: #38504c; font-size: 14px; font-weight: 650; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; background: var(--orange); transition: right .25s ease; }
.main-nav a:hover::after, .main-nav a.is-current::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.language-toggle { min-width: 72px; min-height: 44px; border: 1px solid rgba(8,26,24,.16); border-radius: 99px; background: rgba(255,255,255,.45); color: inherit; font: inherit; font-size: 12px; font-weight: 800; padding: 8px 10px; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.language-toggle:hover, .language-toggle:focus-visible { border-color: rgba(8,26,24,.35); background: rgba(255,255,255,.72); }
.language-toggle option { color: #071614; background: #fff; }
.menu-toggle { width: 44px; height: 44px; display: none; place-items: center; border: 0; border-radius: 50%; background: transparent; padding: 9px; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; display: block; margin: 4px; background: var(--ink); transition: transform .25s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 54px; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .02em; cursor: pointer; transition: transform .22s ease, background .22s ease, color .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; }
.button-primary { color: var(--ink); background: var(--lime); }
.button-primary:hover { background: #e3ff99; }
.button-light { background: var(--paper); border-color: var(--line); }
.button-dark { color: white; background: var(--ink); }
.button-danger { color: white; background: #a32d22; }
.text-link { display: inline-flex; gap: 18px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.text-link-light { color: white; border-color: rgba(255,255,255,.38); }

.hero { min-height: 690px; padding: 24px 0 62px; display: grid; grid-template-columns: .88fr 1.12fr; gap: 26px; }
.hero-copy { padding: 78px 7% 34px 0; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow { margin: 0 0 23px; display: flex; align-items: center; gap: 12px; color: #53635f; font-size: 11px; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow > span:first-child { width: 28px; height: 2px; background: var(--orange); }
.eyebrow-light { color: rgba(255,255,255,.65); }
.hero h1, .section-heading h2, .process-intro h2, .cta-panel h2, .inventory-hero h1, .detail-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.055em; }
.hero h1 { max-width: 700px; font-size: clamp(58px, 6.5vw, 104px); line-height: .88; }
.hero h1 em { color: var(--orange); font-weight: 400; }
.hero-lead { max-width: 565px; margin: 34px 0 30px; color: #566762; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-stats { width: 100%; margin: auto 0 0; padding: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats dt { font-family: Georgia, serif; font-size: 27px; }
.hero-stats dd { margin: 0; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-visual { min-height: 610px; position: relative; overflow: hidden; border-radius: var(--radius); background: #cad1cb; box-shadow: var(--shadow); }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(3,15,13,.72)); }
.hero-visual img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hero-visual:hover img { transform: scale(1.045); }
.hero-image-label { position: absolute; left: 34px; bottom: 31px; z-index: 2; color: white; display: grid; gap: 7px; }
.hero-image-label small { color: rgba(255,255,255,.68); font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.hero-image-label strong { font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.image-arrow { width: 46px; height: 46px; position: absolute; right: 24px; bottom: 24px; z-index: 3; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 20px; transition: transform .25s ease; }
a:hover > .image-arrow { transform: rotate(45deg); }

.ticker { overflow: hidden; color: white; background: var(--orange); transform: rotate(-1.2deg) scale(1.02); }
.ticker-track { min-width: max-content; padding: 17px 0; display: flex; justify-content: space-around; gap: 46px; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.ticker-track i { color: var(--lime); font-style: normal; }

.section { padding-block: 118px; }
.section-heading { margin-bottom: 52px; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-heading h2, .process-intro h2 { font-size: clamp(48px, 5vw, 74px); line-height: .97; }
.section-heading > p { max-width: 400px; margin: 0 0 7px; color: var(--muted); line-height: 1.7; }
.market-grid { display: block; }
.market-card { position: relative; display: block; overflow: hidden; border-radius: 22px; background: var(--ink); }
.market-card-large { grid-row: 1 / 3; }
.market-card-wide { min-height: 520px; }
.market-card img { height: 100%; object-fit: cover; transition: transform .65s ease; }
.market-card:hover img { transform: scale(1.05); }
.market-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,20,18,.03), rgba(5,20,18,.83)); }
.market-index { position: absolute; top: 22px; left: 22px; color: white; font: 20px Georgia, serif; }
.market-copy { position: absolute; left: 26px; bottom: 24px; display: grid; gap: 5px; color: white; }
.market-copy small { color: var(--lime); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.market-copy strong { font: 39px Georgia, serif; font-weight: 400; letter-spacing: -.04em; }
.market-copy span { color: rgba(255,255,255,.68); font-size: 12px; }

.section-dark { color: white; background: var(--ink); }
.section-heading-light .eyebrow { color: rgba(255,255,255,.58); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vehicle-card { min-width: 0; color: var(--ink); background: var(--paper); border: 1px solid rgba(8,26,24,.08); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 34px rgba(3,18,16,.07); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.vehicle-card:hover { transform: translateY(-7px); border-color: rgba(8,26,24,.14); box-shadow: 0 24px 55px rgba(3,18,16,.17); }
.vehicle-card-media { display: block; aspect-ratio: 4 / 2.75; position: relative; overflow: hidden; background: #d7dad6; }
.vehicle-card-media img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.vehicle-card:hover .vehicle-card-media img { transform: scale(1.04); }
.vehicle-badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 8px 11px; border-radius: 99px; color: var(--ink); background: var(--lime); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.vehicle-stock { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 7px 10px; border: 1px solid rgba(255,255,255,.26); border-radius: 99px; color: white; background: rgba(3,18,16,.72); backdrop-filter: blur(10px); font-size: 9px; font-weight: 850; letter-spacing: .08em; }
.vehicle-card-body { padding: 21px; }
.vehicle-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vehicle-card-title { min-width: 0; display: block; }
.vehicle-card-kicker { margin-bottom: 7px; display: flex; align-items: center; gap: 8px; color: var(--orange); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.vehicle-card-kicker span + span::before { content: "·"; margin-right: 8px; color: var(--muted); }
.vehicle-card h3 { margin: 0; font: 25px Georgia, serif; font-weight: 400; letter-spacing: -.03em; }
.vehicle-price { white-space: nowrap; font-size: 17px; font-weight: 850; }
.vehicle-inquiry { flex: 0 0 auto; min-width: 124px; min-height: 48px; padding: 9px 12px; border-radius: 12px; color: white; background: #168f58; text-align: left; box-shadow: 0 8px 20px rgba(22,143,88,.2); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.vehicle-inquiry:hover { transform: translateY(-2px); background: #168956; }
.vehicle-inquiry small, .vehicle-inquiry strong { display: block; }
.vehicle-inquiry small { margin-bottom: 3px; color: rgba(255,255,255,.7); font-size: 8px; font-weight: 900; letter-spacing: .12em; }
.vehicle-inquiry strong { font-size: 11px; }
.vehicle-meta { margin: 17px 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11px; }
.vehicle-meta span { display: inline-flex; align-items: center; gap: 7px; }
.vehicle-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #a9b3ae; }
.vehicle-markets { display: flex; flex-wrap: wrap; gap: 7px; }
.market-chip { padding: 6px 9px; border-radius: 99px; background: #ecede8; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.vehicle-card-link { min-height: 42px; margin-top: 13px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid transparent; font-size: 12px; font-weight: 850; }
.vehicle-card-link b { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #eef0e9; transition: transform .2s ease, background .2s ease; }
.vehicle-card-link:hover b { transform: rotate(45deg); background: var(--lime); }
.skeleton-card { pointer-events: none; }
.skeleton-block, .skeleton-line { position: relative; overflow: hidden; background: #e2e4de; }
.skeleton-block::after, .skeleton-line::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.65), transparent); animation: skeleton-shimmer 1.35s infinite; }
.skeleton-line { width: 100%; height: 11px; margin-bottom: 13px; display: block; border-radius: 99px; }
.skeleton-short { width: 34%; }
.skeleton-title { width: 68%; height: 25px; }
.skeleton-medium { width: 52%; }
@keyframes skeleton-shimmer { to { transform: translateX(100%); } }
.empty-state { grid-column: 1 / -1; padding: 55px 25px; text-align: center; border: 1px dashed rgba(255,255,255,.3); border-radius: 20px; color: rgba(255,255,255,.7); }

.type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.type-card { min-height: 360px; padding: 22px; position: relative; overflow: hidden; border-radius: 22px; display: flex; align-items: flex-end; background: #d4d8d3; }
.type-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(3,19,17,.8)); }
.type-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .6s ease; }
.type-card:hover img { transform: scale(1.05); }
.type-card > span { z-index: 2; display: grid; gap: 4px; color: white; }
.type-card small { color: rgba(255,255,255,.65); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.type-card strong { font: 34px Georgia, serif; font-weight: 400; }
.type-card b { width: 42px; height: 42px; z-index: 2; margin-left: auto; display: grid; place-items: center; border-radius: 50%; background: var(--lime); transition: transform .25s ease; }
.type-card:hover b { transform: rotate(45deg); }

.process-section { background: #e9e2d6; }
.process-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 11%; align-items: start; }
.process-intro > p:not(.eyebrow) { margin: 29px 0; color: var(--muted); line-height: 1.72; }
.process-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.process-list li { padding: 25px 0; display: grid; grid-template-columns: 48px 1fr; gap: 22px; border-bottom: 1px solid var(--line); }
.process-list li > span { color: var(--orange); font: 17px Georgia, serif; }
.process-list strong { font: 25px Georgia, serif; font-weight: 400; }
.process-list p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.cta-panel { margin-block: 92px; padding: 62px 68px; color: white; background: var(--orange); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: flex-end; position: relative; overflow: hidden; }
.cta-panel::before { content: "W"; position: absolute; right: 10%; top: -35%; color: rgba(255,255,255,.08); font: 280px Georgia, serif; }
.cta-panel h2 { position: relative; font-size: clamp(48px, 5vw, 74px); line-height: .95; }
.round-link { width: 82px; height: 82px; z-index: 1; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 30px; transition: transform .3s ease; }
.round-link:hover { transform: rotate(45deg); }

.site-footer { padding: 70px 0 25px; color: rgba(255,255,255,.68); background: #04110f; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 60px; }
.brand-footer { color: white; margin-bottom: 22px; }
.brand-footer .brand-mark { color: var(--ink); background: var(--lime); }
.brand-footer .brand-copy small { color: rgba(255,255,255,.5); }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; font-size: 12px; }
.footer-grid p { max-width: 330px; margin: 0; line-height: 1.65; }
.footer-grid strong { margin-bottom: 7px; color: white; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a:hover { color: var(--lime); }
.footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }

/* Inventory */
.page-main { min-height: 70vh; }
.inventory-hero { padding: 72px 0 58px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 45px; }
.inventory-hero h1 { font-size: clamp(64px, 8vw, 110px); line-height: .85; }
.inventory-hero h1 em { color: var(--orange); font-weight: 400; }
.inventory-hero-copy { max-width: 510px; justify-self: end; }
.inventory-hero-copy p { margin: 0; color: var(--muted); line-height: 1.7; }
.market-context { margin-top: 20px; padding: 16px 18px; border-left: 3px solid var(--orange); background: rgba(255,255,255,.45); font-size: 12px; line-height: 1.55; }
.inventory-layout { padding-bottom: 110px; display: grid; grid-template-columns: 245px 1fr; gap: 34px; }
.inventory-layout > div { min-width: 0; }
.filter-toggle { display: none; }
.filter-panel { padding: 24px; align-self: start; position: sticky; top: 98px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,253,248,.78); box-shadow: 0 14px 35px rgba(3,18,16,.06); backdrop-filter: blur(12px); }
.filter-panel h2 { margin: 0 0 22px; font: 25px Georgia, serif; font-weight: 400; }
.field { margin-bottom: 18px; display: grid; gap: 8px; }
.field label, .field-label { color: #50625d; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 11px; color: var(--ink); background: var(--paper); outline: none; }
.textarea { min-height: 100px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,53,.12); }
.filter-reset { width: 100%; border: 0; padding: 8px; color: var(--muted); background: transparent; font-size: 11px; cursor: pointer; text-decoration: underline; }
.quote-filter-note { margin: 8px 0 18px; padding: 15px; display: grid; gap: 6px; border-radius: 13px; color: #15453d; background: #e4f7cb; }
.quote-filter-note strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.quote-filter-note span { color: #47645e; font-size: 11px; line-height: 1.55; }
.inventory-toolbar { margin-bottom: 19px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.result-count { margin: 0; font-size: 13px; font-weight: 750; }
.sort-select { width: auto; min-width: 170px; }
.active-filters { margin: -5px 0 19px; display: flex; flex-wrap: wrap; gap: 8px; }
.active-filter-chip { min-height: 34px; padding: 7px 11px; border: 1px solid rgba(255,107,53,.24); border-radius: 99px; color: #8a391d; background: rgba(255,107,53,.08); font-size: 10px; font-weight: 750; cursor: pointer; }
.active-filter-chip:hover { border-color: var(--orange); background: rgba(255,107,53,.13); }
.inventory-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.inventory-grid .vehicle-card { border: 1px solid rgba(8,26,24,.08); }
.inventory-grid .empty-state { color: var(--muted); border-color: var(--line); }

/* Vehicle detail */
.detail-shell { padding: 48px 0 110px; }
.breadcrumbs { margin-bottom: 25px; display: flex; gap: 9px; color: var(--muted); font-size: 11px; }
.breadcrumbs a:hover { color: var(--orange); }
.detail-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 45px; }
.detail-gallery { min-width: 0; }
.gallery-main { width: 100%; aspect-ratio: 4 / 3; padding: 0; position: relative; overflow: hidden; border: 0; border-radius: 22px; background: #d7dbd6; box-shadow: var(--shadow); cursor: zoom-in; }
.gallery-main img { height: 100%; object-fit: cover; }
.gallery-main .vehicle-badge { top: 18px; left: 18px; }
.gallery-counter { position: absolute; right: 16px; bottom: 16px; padding: 8px 11px; border-radius: 99px; color: white; background: rgba(3,18,16,.72); backdrop-filter: blur(10px); font-size: 10px; font-weight: 850; letter-spacing: .06em; }
.gallery-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-thumb { aspect-ratio: 4/3; border: 2px solid transparent; border-radius: 12px; overflow: hidden; padding: 0; background: #ddd; opacity: .72; cursor: pointer; transition: opacity .2s ease, border-color .2s ease, transform .2s ease; }
.gallery-thumb:hover { opacity: 1; transform: translateY(-2px); }
.gallery-thumb.is-active { border-color: var(--orange); }
.gallery-thumb img { height: 100%; object-fit: cover; }
.detail-panel { padding-top: 14px; align-self: start; position: sticky; top: 100px; }
.detail-kicker { color: var(--orange); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.detail-title { margin-top: 10px; font-size: clamp(48px, 5vw, 72px); line-height: .92; }
.detail-assurances { margin: 18px 0 -7px; display: flex; flex-wrap: wrap; gap: 8px; }
.detail-assurances span { padding: 7px 10px; border-radius: 99px; color: #21554c; background: rgba(32,169,104,.1); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.detail-price { margin: 24px 0; font-size: 28px; font-weight: 850; }
.detail-price small { margin-left: 8px; color: var(--muted); font-size: 11px; font-weight: 600; }
.detail-quote { margin: 24px 0; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(32,169,104,.28); border-radius: 17px; background: rgba(32,169,104,.07); }
.detail-quote small, .detail-quote strong { display: block; }
.detail-quote small { margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .11em; }
.detail-quote strong { font: 21px Georgia, serif; font-weight: 400; }
.whatsapp-button { min-height: 52px; flex: 0 0 auto; padding: 10px 15px; display: flex; flex-direction: column; justify-content: center; border-radius: 12px; color: white; background: #168f58; box-shadow: 0 9px 24px rgba(22,143,88,.2); }
.whatsapp-button span, .whatsapp-button b { display: block; }
.whatsapp-button span { color: rgba(255,255,255,.72); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.whatsapp-button b { margin-top: 2px; font-size: 12px; }
.detail-summary { color: var(--muted); line-height: 1.72; }
.spec-grid { margin: 28px 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.spec-item { min-height: 78px; padding: 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec-item small { display: block; margin-bottom: 6px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.spec-item strong { font-size: 13px; }
.market-fit { padding: 19px; border-radius: 15px; background: white; }
.market-fit > strong { display: block; margin-bottom: 12px; font: 20px Georgia, serif; font-weight: 400; }
.detail-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.detail-actions .button { flex: 1 1 calc(50% - 5px); }
.detail-actions .button-primary { flex-basis: 100%; }
.notice { margin-top: 13px; color: var(--muted); font-size: 10px; line-height: 1.5; }
.features-section { margin-top: 65px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.features-section h2 { margin: 0; font: 42px Georgia, serif; font-weight: 400; }
.features-list { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; }
.features-list li { padding: 14px 16px; border-radius: 11px; background: rgba(255,255,255,.55); font-size: 12px; }
.features-list li::before { content: "✓"; margin-right: 9px; color: var(--orange); font-weight: 900; }
.buyer-info-section { margin-top: 75px; padding: 40px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; border-radius: 24px; background: #e9e3d8; }
.buyer-info-section h2 { margin: 12px 0 0; font: 40px Georgia, serif; font-weight: 400; line-height: 1.02; }
.buyer-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.buyer-info-item { min-height: 92px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.buyer-info-item small, .buyer-info-item strong, .buyer-info-item a { display: block; }
.buyer-info-item small { margin-bottom: 8px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.buyer-info-item strong, .buyer-info-item a { font-size: 13px; line-height: 1.45; }
.buyer-info-item a { color: #168956; font-weight: 850; }
.mobile-inquiry-bar { display: none; }
.related-section { margin-top: 90px; }
.related-section h2 { margin: 0 0 30px; font: 45px Georgia, serif; font-weight: 400; }
.lightbox { width: min(1100px, 92vw); padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: #000; }
.lightbox::backdrop { background: rgba(0,0,0,.85); }
.lightbox img { max-height: 88vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: white; background: rgba(0,0,0,.65); font-size: 22px; cursor: pointer; }
.credits-page { min-height: 70vh; padding: 90px 0 120px; }
.credits-page h1 { margin: 0 0 22px; font: clamp(58px, 7vw, 98px)/.9 Georgia, serif; font-weight: 400; letter-spacing: -.055em; }
.credits-page > p:not(.eyebrow) { max-width: 680px; color: var(--muted); line-height: 1.7; }
.credits-page ul { max-width: 900px; margin: 55px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.credits-page li { padding: 22px 0; display: grid; grid-template-columns: 1fr 1.6fr auto; gap: 24px; border-bottom: 1px solid var(--line); align-items: center; font-size: 12px; }
.credits-page li strong { font: 20px Georgia, serif; font-weight: 400; }
.credits-page li span { color: var(--muted); line-height: 1.5; }
.credits-page li a { font-weight: 800; }
.legal-page { min-height: 72vh; padding: 92px 0 120px; }
.legal-hero { max-width: 820px; }
.legal-hero h1 { margin: 0 0 24px; font: clamp(58px, 7vw, 96px)/.9 Georgia, serif; font-weight: 400; letter-spacing: -.055em; }
.legal-hero > p:last-child { max-width: 690px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.legal-grid { margin-top: 62px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.legal-card { min-height: 260px; padding: 30px; display: flex; align-items: flex-start; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.42); }
.legal-card > span { margin-bottom: auto; color: var(--orange); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.legal-card h2 { max-width: 440px; margin: 34px 0 14px; font: 29px Georgia, serif; font-weight: 400; }
.legal-card p { max-width: 560px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.legal-card-contact { grid-column: 1 / -1; min-height: 230px; padding-right: min(34vw, 430px); position: relative; color: white; background: var(--ink); }
.legal-card-contact p { color: rgba(255,255,255,.62); }
.legal-card-contact .button { position: absolute; right: 30px; bottom: 30px; }

/* Admin */
.admin-body { min-height: 100vh; color: #e8f0ed; background: #071614; }
.admin-header { min-height: 74px; padding: 0 max(24px, calc((100vw - 1320px)/2)); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 400; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,22,20,.9); backdrop-filter: blur(18px); }
.admin-header .brand-copy small { color: rgba(255,255,255,.45); }
.admin-header .brand-mark { color: var(--ink); background: var(--lime); }
.admin-header-actions { display: flex; gap: 10px; }
.admin-main { width: min(1320px, calc(100% - 48px)); margin: 0 auto; padding: 45px 0 90px; }
.admin-login { width: min(460px, 100%); margin: 10vh auto 0; padding: 36px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.045); }
.admin-login h1, .admin-dashboard h1 { margin: 0 0 10px; font: 46px Georgia, serif; font-weight: 400; }
.admin-login p { color: rgba(255,255,255,.55); line-height: 1.6; }
.admin-body .field label, .admin-body .field-label { color: rgba(255,255,255,.52); }
.admin-body .input, .admin-body .select, .admin-body .textarea { color: white; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.13); }
.admin-body .select option { color: var(--ink); }
.admin-message { min-height: 20px; color: #ffb28e; font-size: 12px; }
.admin-toolbar { margin: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.launch-readiness-panel { margin: 0 0 30px; padding: 26px; display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 30px; align-items: center; border: 1px solid rgba(255,255,255,.11); border-radius: 20px; background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }
.readiness-score { width: 150px; aspect-ratio: 1; display: grid; place-items: center; position: relative; border-radius: 50%; background: conic-gradient(var(--lime) 0%, rgba(255,255,255,.09) 0); }
.readiness-score[data-score="20"] { background: conic-gradient(var(--lime) 20%, rgba(255,255,255,.09) 0); }
.readiness-score[data-score="40"] { background: conic-gradient(var(--lime) 40%, rgba(255,255,255,.09) 0); }
.readiness-score[data-score="60"] { background: conic-gradient(var(--lime) 60%, rgba(255,255,255,.09) 0); }
.readiness-score[data-score="80"] { background: conic-gradient(var(--lime) 80%, rgba(255,255,255,.09) 0); }
.readiness-score[data-score="100"] { background: conic-gradient(var(--lime) 100%, rgba(255,255,255,.09) 0); }
.readiness-score::before { content: ""; width: 118px; aspect-ratio: 1; grid-area: 1 / 1; border-radius: 50%; background: #0b211e; }
.readiness-score > div { grid-area: 1 / 1; z-index: 1; text-align: center; }
.readiness-score strong { display: block; color: white; font: 36px Georgia, serif; font-weight: 400; }
.readiness-score small { color: rgba(255,255,255,.46); font-size: 9px; letter-spacing: .09em; }
.readiness-content { min-width: 0; }
.readiness-heading { margin: 8px 0 20px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.readiness-heading h2 { margin: 0 0 7px; font: 30px Georgia, serif; font-weight: 400; }
.readiness-heading p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }
.readiness-checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.readiness-check { min-height: 54px; padding: 10px 12px; display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(3,18,16,.3); }
.readiness-check > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 900; }
.readiness-check div { min-width: 0; display: grid; gap: 3px; }
.readiness-check strong { color: white; font-size: 11px; }
.readiness-check small { overflow: hidden; color: rgba(255,255,255,.44); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.readiness-check.is-ready > span { color: var(--ink); background: var(--lime); }
.readiness-check.is-pending > span { color: #ffd1bc; background: rgba(255,107,53,.16); }
.admin-settings-panel { margin: 0 0 30px; padding: 24px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.04); }
.admin-settings-panel h2 { margin: 8px 0; font: 30px Georgia, serif; font-weight: 400; }
.admin-settings-panel > div > p:last-child { max-width: 390px; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.65; }
.admin-settings-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
.admin-settings-form .span-2, .settings-actions { grid-column: 1 / -1; }
.settings-actions { display: flex; align-items: center; gap: 14px; }
.bulk-inventory-panel { margin: 0 0 30px; padding: 25px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; background: rgba(255,255,255,.04); scroll-margin-top: 95px; }
.bulk-inventory-copy h2 { margin: 8px 0; font: 30px Georgia, serif; font-weight: 400; }
.bulk-inventory-copy > p:last-of-type { max-width: 430px; margin-bottom: 18px; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.65; }
.bulk-notes { display: flex; flex-wrap: wrap; gap: 7px; }
.bulk-notes span { padding: 6px 8px; border: 1px solid rgba(216,255,114,.15); border-radius: 99px; color: rgba(216,255,114,.8); background: rgba(216,255,114,.06); font-size: 8px; letter-spacing: .08em; }
.bulk-inventory-workspace { min-width: 0; }
.bulk-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.bulk-actions > * { width: 100%; min-height: 44px; }
.csv-file-picker { position: relative; overflow: hidden; }
.csv-file-input { width: 1px; height: 1px; position: absolute; inset: auto; overflow: hidden; opacity: 0; pointer-events: none; }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.csv-import-preview { min-height: 100px; margin-top: 12px; padding: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 12px; background: rgba(3,18,16,.32); }
.csv-import-preview > p { margin: 25px 0; color: rgba(255,255,255,.43); text-align: center; font-size: 11px; }
.csv-preview-summary { margin-bottom: 10px; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.5); font-size: 10px; }
.csv-preview-summary strong { color: var(--lime); }
.csv-preview-row { min-height: 39px; padding: 8px 4px; display: grid; grid-template-columns: 105px minmax(0, 1fr) auto; align-items: center; gap: 10px; border-top: 1px solid rgba(255,255,255,.07); font-size: 10px; }
.csv-preview-row span:first-child { color: rgba(255,255,255,.48); }
.csv-preview-row strong { overflow: hidden; color: white; text-overflow: ellipsis; white-space: nowrap; }
.csv-preview-row small { color: rgba(255,255,255,.45); }
.admin-list-controls { margin: 0 0 18px; padding: 16px; display: grid; grid-template-columns: minmax(220px, 1fr) 190px auto; gap: 12px; align-items: end; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.035); }
.admin-list-controls .field { margin: 0; }
.admin-backup-button { min-height: 44px; justify-content: center; white-space: nowrap; }
.admin-stats { display: flex; gap: 10px; }
.admin-stat { padding: 13px 18px; border-radius: 12px; background: rgba(255,255,255,.06); }
.admin-stat strong { display: block; font-size: 23px; }
.admin-stat small { color: rgba(255,255,255,.5); font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.inquiry-insights-panel { margin: 0 0 30px; padding: 25px; overflow: hidden; position: relative; border: 1px solid rgba(216,255,114,.19); border-radius: 20px; background: linear-gradient(135deg, rgba(216,255,114,.08), rgba(255,255,255,.035) 48%, rgba(26,118,101,.12)); }
.inquiry-insights-panel::after { content: ""; width: 240px; height: 240px; position: absolute; top: -150px; right: -85px; border-radius: 50%; background: rgba(216,255,114,.09); filter: blur(6px); pointer-events: none; }
.inquiry-insights-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; position: relative; z-index: 1; }
.inquiry-insights-header h2 { margin: 8px 0 7px; font: 31px Georgia, serif; font-weight: 400; }
.inquiry-insights-header > div > p:last-child { margin: 0; color: rgba(255,255,255,.53); font-size: 12px; }
.inquiry-insights-header .icon-button:disabled { opacity: .55; cursor: wait; }
.inquiry-stat-grid { margin: 24px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; position: relative; z-index: 1; }
.inquiry-stat-card { min-height: 88px; padding: 15px 17px; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(3,18,16,.38); }
.inquiry-stat-card small { color: rgba(255,255,255,.52); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.inquiry-stat-card strong { color: var(--lime); font: 34px Georgia, serif; font-weight: 400; line-height: 1; }
.inquiry-ranking-header { padding: 0 2px 10px; display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.48); font-size: 10px; letter-spacing: .06em; }
.inquiry-ranking-header strong { color: white; font-size: 12px; }
.inquiry-ranking { overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; background: rgba(3,18,16,.25); }
.inquiry-ranking-row { min-height: 66px; padding: 12px 15px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
.inquiry-ranking-row:last-child { border-bottom: 0; }
.inquiry-rank { color: rgba(216,255,114,.72); font: 18px Georgia, serif; }
.inquiry-ranking-details { min-width: 0; display: grid; gap: 5px; }
.inquiry-ranking-details a { overflow: hidden; color: white; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.inquiry-ranking-details a:hover { color: var(--lime); }
.inquiry-ranking-details small { color: rgba(255,255,255,.45); font-size: 10px; }
.inquiry-ranking-count { min-width: 58px; display: grid; justify-items: end; }
.inquiry-ranking-count strong { color: white; font-size: 21px; }
.inquiry-ranking-count small { color: rgba(255,255,255,.42); font-size: 8px; }
.inquiry-empty { margin: 0; padding: 30px 20px; color: rgba(255,255,255,.48); text-align: center; font-size: 12px; }
.inquiry-privacy-note { margin: 12px 1px 0; color: rgba(255,255,255,.4); font-size: 10px; line-height: 1.6; }
.admin-table-wrap { border: 1px solid rgba(255,255,255,.1); border-radius: 18px; overflow: auto; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 820px; }
.admin-table th, .admin-table td { padding: 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; }
.admin-table tbody tr { transition: background .2s ease; }
.admin-table tbody tr:hover { background: rgba(255,255,255,.025); }
.admin-table th { color: rgba(255,255,255,.48); font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.admin-table img { width: 72px; height: 52px; object-fit: cover; border-radius: 8px; }
.admin-table .admin-empty-row { padding: 34px; text-align: center; color: rgba(255,255,255,.5); }
.admin-row-meta { margin-top: 5px; color: rgba(255,255,255,.45); }
.status-pill { padding: 6px 9px; border-radius: 99px; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.status-active { color: #dfff90; background: rgba(216,255,114,.12); }
.status-off { color: #ffb09a; background: rgba(255,107,53,.12); }
.row-actions { display: flex; gap: 7px; }
.icon-button { min-height: 38px; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: white; background: transparent; cursor: pointer; white-space: nowrap; }
.icon-button:hover { border-color: var(--lime); }
.admin-dialog { width: min(920px, calc(100% - 30px)); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; color: var(--ink); background: var(--cream); box-shadow: 0 35px 90px rgba(0,0,0,.45); }
.admin-dialog[open] { display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; }
.admin-dialog::backdrop { background: rgba(0,0,0,.75); }
.admin-dialog-header { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.admin-dialog-header h2 { margin: 0; font: 30px Georgia, serif; font-weight: 400; }
.dialog-close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(8,26,24,.06); font-size: 25px; cursor: pointer; }
.admin-dialog .field label, .admin-dialog .field-label { color: #50625d; }
.admin-dialog .input, .admin-dialog .select, .admin-dialog .textarea { color: var(--ink); background: var(--paper); border-color: var(--line); }
.admin-dialog .input::placeholder, .admin-dialog .textarea::placeholder { color: #78837f; opacity: 1; }
.admin-dialog .input[readonly] { color: #4f5f5b; background: #eef0eb; }
.admin-dialog .select option { color: var(--ink); background: white; }
.vehicle-form { padding: 26px 28px 30px; overflow-y: auto; overscroll-behavior: contain; }
.admin-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 15px; }
.admin-form-grid .span-2 { grid-column: span 2; }
.admin-form-grid .span-3 { grid-column: 1 / -1; }
.market-checks { display: flex; gap: 18px; flex-wrap: wrap; min-height: 44px; align-items: center; }
.market-checks label { font-size: 12px; }
.shared-market-note { min-height: 44px; padding: 13px 14px; border: 1px solid rgba(7,27,25,.12); border-radius: 11px; color: #314440; background: rgba(7,27,25,.05); font-size: 12px; }
.image-upload-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.media-upload-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 10px; align-items: end; }
.upload-status { min-height: 18px; color: var(--muted); font-size: 11px; }
.form-actions { margin: 18px -28px -30px; padding: 16px 28px; display: flex; justify-content: flex-end; gap: 10px; position: sticky; bottom: -30px; z-index: 3; border-top: 1px solid var(--line); background: rgba(244,240,232,.94); backdrop-filter: blur(12px); }
[hidden] { display: none !important; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 500; transform: translate(-50%, 30px); padding: 13px 19px; border-radius: 99px; color: white; background: var(--ink); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s ease; font-size: 12px; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.reveal { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 32px, 800px); }
  .site-header, .site-header.is-scrolled { min-height: 76px; padding-inline: 16px; grid-template-columns: 1fr auto auto; gap: 7px; }
  .menu-toggle { display: grid; order: 3; }
  .main-nav { width: 100%; height: calc(100dvh - 76px); position: absolute; inset: 100% 0 auto; padding: 30px max(24px, calc((100% - 800px) / 2)) 42px; justify-self: stretch; display: grid; grid-template-columns: 1fr; align-content: start; align-items: stretch; gap: 6px; overflow-y: auto; visibility: hidden; opacity: 0; pointer-events: none; background: rgba(255,253,248,.98); transform: translateY(-14px); transition: transform .25s ease, opacity .25s ease, visibility .25s ease; box-shadow: var(--shadow); }
  .main-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: translateY(0); }
  .main-nav a { min-height: 56px; padding: 10px 0; display: flex; align-items: center; font: 30px Georgia, serif; }
  .header-actions .button { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 54px 0 28px; }
  .hero-visual { min-height: 540px; }
  .hero-stats { margin-top: 50px; }
  .market-card-wide { min-height: 460px; }
  .vehicle-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: 1fr; }
  .type-card { min-height: 320px; }
  .process-grid, .features-section, .buyer-info-section { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2; }
  .inventory-hero { grid-template-columns: 1fr; }
  .inventory-hero-copy { justify-self: start; }
  .inventory-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .filter-panel h2, .filter-panel .filter-reset { grid-column: 1 / -1; }
  .filter-panel .field { margin: 0; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .admin-form-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-form-grid .span-3 { grid-column: 1 / -1; }
  .admin-settings-panel { grid-template-columns: 1fr; }
  .bulk-inventory-panel { grid-template-columns: 1fr; }
  .admin-list-controls { grid-template-columns: 1fr 1fr; }
  .admin-backup-button { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100% - 24px); --radius: 20px; }
  .brand-copy strong { font-size: 13px; }
  .brand-copy small { font-size: 7px; }
  .brand-mark { width: 35px; height: 35px; }
  .hero { padding-top: 0; }
  .ticker { transform: none; }
  .hero h1 { font-size: 57px; }
  .hero-copy { padding-top: 38px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { width: 100%; align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .text-link { justify-content: space-between; }
  .hero-visual { min-height: 430px; }
  .hero-image-label { left: 22px; bottom: 22px; max-width: 220px; }
  .hero-image-label strong { font-size: 21px; }
  .hero-stats dd { font-size: 8px; }
  .section { padding-block: 82px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 34px; }
  .section-heading h2, .process-intro h2 { font-size: 47px; }
  .market-card-wide { min-height: 340px; }
  .market-copy strong { font-size: 33px; }
  .vehicle-grid, .inventory-grid { grid-template-columns: 1fr; }
  .cta-panel { margin-block: 65px; padding: 45px 26px; align-items: flex-start; flex-direction: column; gap: 35px; }
  .cta-panel h2 { font-size: 46px; }
  .round-link { width: 65px; height: 65px; align-self: flex-end; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 25px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .inventory-hero { padding-top: 45px; }
  .inventory-hero h1 { font-size: 65px; }
  .inventory-layout { gap: 18px; padding-bottom: 82px; }
  .filter-toggle { width: 100%; min-height: 68px; padding: 12px 15px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: var(--paper); box-shadow: 0 10px 25px rgba(3,18,16,.06); cursor: pointer; text-align: left; }
  .filter-toggle-copy { display: grid; gap: 4px; }
  .filter-toggle-copy small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
  .filter-toggle-copy strong { font-size: 14px; }
  .filter-toggle-meta { display: flex; align-items: center; gap: 11px; }
  .filter-toggle-meta b { font-size: 20px; transition: transform .2s ease; }
  .filter-toggle[aria-expanded="true"] .filter-toggle-meta b { transform: rotate(180deg); }
  .filter-count { min-width: 26px; height: 26px; padding-inline: 7px; display: grid; place-items: center; border-radius: 99px; color: var(--ink); background: var(--lime); font-size: 10px; font-weight: 900; }
  .filter-count.is-empty { color: var(--muted); background: #eceee8; }
  .filter-toggle[aria-expanded="false"] + .filter-panel { display: none; }
  .filter-panel { padding: 18px; grid-template-columns: 1fr; border-radius: 16px; }
  .filter-panel h2, .filter-panel .filter-reset { grid-column: auto; }
  .inventory-toolbar { margin-bottom: 14px; display: grid; grid-template-columns: 1fr minmax(140px, 170px); align-items: center; gap: 12px; }
  .sort-select { width: 100%; min-width: 0; }
  .active-filters { margin: 0 -12px 17px; padding: 0 12px 4px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .active-filters::-webkit-scrollbar { display: none; }
  .active-filter-chip { flex: 0 0 auto; }
  .vehicle-card-top { display: grid; grid-template-columns: 1fr; }
  .vehicle-inquiry { width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; }
  .vehicle-inquiry small { margin: 0; }
  .vehicle-card-body { padding: 19px; }
  .detail-shell { padding-top: 25px; padding-bottom: 104px; }
  .detail-title { font-size: 51px; }
  .gallery-main { border-radius: 18px; box-shadow: 0 15px 38px rgba(3,18,16,.15); }
  .gallery-thumbs { margin-inline: -12px; padding: 0 12px 5px; display: flex; gap: 9px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .gallery-thumbs::-webkit-scrollbar { display: none; }
  .gallery-thumb { flex: 0 0 88px; scroll-snap-align: start; }
  .breadcrumbs { overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .detail-assurances { margin-top: 15px; }
  .features-list { grid-template-columns: 1fr; }
  .credits-page li { grid-template-columns: 1fr; gap: 8px; }
  .legal-page { padding-top: 58px; padding-bottom: 85px; }
  .legal-hero h1 { font-size: 55px; }
  .legal-grid { margin-top: 40px; grid-template-columns: 1fr; }
  .legal-card { min-height: 230px; padding: 24px; }
  .legal-card-contact { grid-column: auto; padding-right: 24px; }
  .legal-card-contact .button { width: 100%; margin-top: 25px; position: static; }
  .detail-actions { flex-direction: column; }
  .detail-quote { align-items: stretch; flex-direction: column; }
  .buyer-info-section { padding: 26px 20px; }
  .buyer-info-grid { grid-template-columns: 1fr; }
  .mobile-inquiry-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 320; padding: 12px 13px 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; color: white; background: rgba(5,28,25,.96); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
  .mobile-inquiry-bar div { min-width: 0; display: grid; gap: 3px; }
  .mobile-inquiry-bar small { color: var(--lime); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
  .mobile-inquiry-bar strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-inquiry-link { flex: 0 0 auto; padding: 11px 13px; border-radius: 11px; color: white; background: #20a968; font-size: 11px; font-weight: 850; }
  .admin-header { min-height: 68px; padding-inline: 12px; }
  .admin-header-actions { gap: 6px; }
  .admin-header-actions .button { min-height: 40px; padding-inline: 13px; }
  .admin-main { width: calc(100% - 24px); padding-top: 28px; }
  .admin-login { padding: 26px; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); }
  .admin-stat { min-width: 0; padding: 12px 10px; text-align: center; }
  .admin-toolbar > .button { width: 100%; }
  .launch-readiness-panel { padding: 20px; grid-template-columns: 1fr; gap: 22px; }
  .readiness-score { width: 126px; justify-self: center; }
  .readiness-score::before { width: 98px; }
  .readiness-heading { align-items: stretch; flex-direction: column; }
  .readiness-heading .icon-button { width: 100%; }
  .readiness-checks { grid-template-columns: 1fr; }
  .inquiry-insights-panel { padding: 20px; }
  .inquiry-insights-header { align-items: stretch; flex-direction: column; gap: 16px; }
  .inquiry-insights-header .icon-button { width: 100%; }
  .inquiry-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .inquiry-stat-card { min-height: 78px; padding: 13px; }
  .inquiry-stat-card strong { font-size: 30px; }
  .inquiry-ranking-header span { display: none; }
  .inquiry-ranking-row { padding-inline: 12px; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; }
  .admin-settings-form { grid-template-columns: 1fr; }
  .admin-settings-form .span-2, .settings-actions { grid-column: auto; }
  .bulk-inventory-panel { padding: 20px; }
  .bulk-actions { grid-template-columns: 1fr; }
  .csv-preview-row { grid-template-columns: 82px minmax(0, 1fr); }
  .csv-preview-row small { grid-column: 2; }
  .admin-list-controls { grid-template-columns: 1fr; }
  .admin-backup-button { grid-column: auto; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .span-2, .admin-form-grid .span-3 { grid-column: auto; }
  .image-upload-row, .media-upload-row { grid-template-columns: 1fr; }
  .admin-table-wrap { border: 0; overflow: visible; }
  .admin-table { min-width: 0; border-collapse: separate; }
  .admin-table thead { display: none; }
  .admin-table tbody, .admin-table tr, .admin-table td { width: 100%; display: block; }
  .admin-table tr { margin-bottom: 13px; padding: 15px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); }
  .admin-table td { min-height: 42px; padding: 8px 0; display: grid; grid-template-columns: 102px minmax(0, 1fr); align-items: center; gap: 12px; border: 0; }
  .admin-table td::before { content: attr(data-label); color: rgba(255,255,255,.44); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
  .admin-table td:nth-child(2) { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .admin-table img { width: 96px; height: 66px; }
  .admin-table .admin-empty-row { min-height: 100px; padding: 30px 15px; display: grid; place-items: center; }
  .admin-table .admin-empty-row::before { display: none; }
  .row-actions { display: grid; grid-template-columns: repeat(3, 1fr); }
  .icon-button { min-height: 44px; padding-inline: 8px; }
  .admin-dialog { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .admin-dialog-header { padding: 15px 18px; }
  .admin-dialog-header h2 { font-size: 26px; }
  .vehicle-form { padding: 22px 18px; }
  .form-actions { margin: 18px -18px -22px; padding: 14px 18px max(14px, env(safe-area-inset-bottom)); bottom: -22px; }
  .form-actions .button { flex: 1; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
