:root {
    --brand-dark: #030d63;
    --brand-accent: #030d63;
    --brand-red: #030d63;
    --brand-blue: #030d63;
    --text-primary: #030d63;
    --text-secondary: #4a5078;
    --text-light: #4a5078;
    --bg-white: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #030d63;
    --border: #e1e4f0;
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Geist', sans-serif; color: var(--text-primary); background: var(--bg-white); }
body { overflow-x: hidden; }

/* ── WATERMARK ─────────────────────────────────────── */
.global-watermark {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: min(600px,80vw); height: min(600px,80vh);
    background: url('logo-transparent.png') no-repeat center/contain;
    opacity: 0.025; pointer-events: none; z-index: -1;
}

/* ── TYPOGRAPHY ────────────────────────────────────── */
.section-eyebrow { text-transform: uppercase; font-size: .75rem; font-weight: 700; letter-spacing: .12em; color: var(--brand-accent); margin-bottom: .5rem; }
.section-title { font-size: 2.4rem; font-weight: 900; color: var(--text-primary); margin-bottom: .6rem; }
.section-subtitle { font-size: 1rem; color: var(--text-secondary); line-height: 1.7; max-width: 560px; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header .section-subtitle { margin: 0 auto; }
.animated-gradient-text { background:none;color:#030d63;-webkit-text-fill-color:#030d63;font-weight:800;font-size:2.6rem;margin-bottom:1rem; }

/* Keep all internal-page accents consistent with the homepage blue. */
.btn-grad,.btn-grad-sm,.btn-print,.nav-cta,.ai-btn,.filter-apply,.view-btn,.page-btn.active,.btn-checkout,.submit-btn,.btn-primary-link,.pay-opt .pay-icon,.btn-save,.track-step.ts-active .track-dot { background:#030d63 !important; }
.btn-grad:hover,.btn-grad-sm:hover,.btn-print:hover,.nav-cta:hover,.ai-btn:hover,.filter-apply:hover,.view-btn:hover,.btn-checkout:hover,.submit-btn:hover,.btn-primary-link:hover,.btn-save:hover { background:#0f1c80 !important; }
.main-price,.car-price,.wish-price,.balance-val,.sum-total,.tot-row.grand span:last-child,.bal-box.remaining .bal-val { background:none !important;color:#030d63 !important;-webkit-text-fill-color:#030d63 !important; }
[style*="linear-gradient"][style*="#b23a27"],[style*="linear-gradient"][style*="#030d63"] { background:#030d63 !important; }
[style*="-webkit-background-clip:text"],[style*="linear-gradient"][style*="-webkit-background-clip:text"] { background:none !important;background-color:transparent !important;color:#030d63 !important;-webkit-text-fill-color:#030d63 !important; }
button[style*="linear-gradient"],a[style*="linear-gradient"] { background:#030d63 !important; }
[style*="color:#030d63"],[style*="color:#030d63"]{color:#030d63!important}
.sb-brand span,.inv-logo-area .brand-text,.v-logo-text span,.vs-num span{background:none!important;color:#030d63!important;-webkit-text-fill-color:#030d63!important}
.card h3 svg,.btn-link,.sec-lbl,.price-preview svg,.doc-toc a,.doc-body h4,.featured-car-price,.ledger-txid,.track-step.ts-active .track-ts,.slip-link,.pc-make-tag,.finance-card h4 svg,.inquiry-card h4 svg,.info-section h3 svg,.ai-icon,.filter-sidebar h3 svg,.car-make-tag{color:#030d63!important}
.fg input:focus,.fg select:focus,.fg textarea:focus,.comm-input:focus,.filter-row select:focus,.ai-input:focus,.filter-select:focus,.filter-input:focus,.calc-input:focus,.inquiry-card textarea:focus,.cf-field input:focus,.cf-field textarea:focus{border-color:#030d63!important;box-shadow:0 0 0 3px rgba(3,13,99,.08)!important}

/* Shared WhatsApp inquiry control */
#wa-float{position:fixed;bottom:1.5rem;right:1.5rem;z-index:9999;width:58px;height:58px;border-radius:50%;background:#25d366;display:none;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(37,211,102,.45);transition:transform .2s,box-shadow .2s;text-decoration:none}
#wa-float:hover{transform:scale(1.1);box-shadow:0 6px 28px rgba(37,211,102,.55)}
#wa-float-tip{position:fixed;bottom:5.3rem;right:1.5rem;z-index:9998;background:#fff;border-radius:20px;padding:.42rem .9rem;font-size:.78rem;font-weight:700;color:#030d63;box-shadow:0 2px 12px rgba(0,0,0,.12);white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
#wa-float:hover + #wa-float-tip{opacity:1}
@media(max-width:600px){#wa-float{width:52px;height:52px;right:1rem;bottom:1rem}#wa-float-tip{display:none}}
@media print{#wa-float,#wa-float-tip{display:none!important}}
@keyframes gradSweep { 0%{background-position:0% center} 100%{background-position:200% center} }
.normal-text { color: var(--text-primary); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1rem; font-weight: 300; }

/* ── LAYOUT ────────────────────────────────────────── */
.content-wrapper { position: relative; z-index: 10; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }

/* ── NAVBAR ────────────────────────────────────────── */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: .9rem 5%; z-index: 1000; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: var(--transition); }
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.06); padding: .7rem 5%; }
.nav-content { max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { height: 48px; width: auto; transition: .3s; }
.nav-links { display: flex; list-style: none; gap: 1.8rem; align-items: center; }
.nav-links a.nav-item { text-decoration: none; color: var(--text-primary); font-weight: 600; font-size: .9rem; position: relative; padding: .3rem 0; transition: .2s; }
.nav-links a.nav-item:hover { color: var(--brand-accent); }
.tm-mobile-nav-btn { display: none; width: 44px; height: 44px; flex: 0 0 44px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 11px; background: #fff; color: var(--text-primary); cursor: pointer; }
.tm-mobile-nav-btn svg { width: 21px; height: 21px; }
.tm-mobile-nav-btn:focus-visible { outline: 3px solid rgba(3,13,99,.3); outline-offset: 2px; }
.nav-auth-btn { padding: .55rem 1.4rem; background: var(--brand-dark); color: #fff !important; border-radius: 10px; font-weight: 700 !important; font-size: .85rem !important; text-decoration: none !important; transition: var(--transition); display: flex !important; align-items: center; gap: .4rem; white-space: nowrap; }
.nav-auth-btn:hover { background: var(--brand-accent); transform: translateY(-1px); }
.nav-auth-btn svg { width: 14px; height: 14px; }
.nav-portal-btn { padding: .55rem 1.3rem; background: var(--brand-dark); color: #fff; border-radius: 10px; font-weight: 700; font-size: .85rem; text-decoration: none; display: flex; align-items: center; gap: .4rem; transition: .2s; white-space: nowrap; }
.nav-portal-btn:hover { background: var(--brand-accent); }
.nav-portal-btn svg { width: 14px; height: 14px; }

/* ── HERO ──────────────────────────────────────────── */
.hero-section { position: relative; min-height: 85vh; display: flex; align-items: center; padding: 6rem 5% 4rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.5) 50%, rgba(255,255,255,0) 100%); }
.hero-inner { max-width: 1300px; margin: 0 auto; width: 100%; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.hero-left { max-width: 520px; }
.hero-price { font-size: 2rem; font-weight: 300; color: var(--text-primary); margin-bottom: .2rem; }
.hero-price strong { font-weight: 900; }
.hero-car-name { font-size: 3.2rem; font-weight: 900; color: var(--text-primary); line-height: 1.1; margin-bottom: .4rem; }
.hero-car-sub { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 2rem; font-weight: 400; }
.hero-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 2rem; background: var(--brand-dark); color: #fff; border-radius: 10px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: var(--transition); }
.hero-cta:hover { background: var(--brand-accent); transform: translateY(-2px); }
.hero-cta svg { width: 16px; height: 16px; }
.hero-right { width: 380px; background: var(--brand-dark); border-radius: var(--radius); padding: 2rem; color: #fff; }
.hero-form-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 1.4rem; }
.hero-form select, .hero-form input { width: 100%; padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; font-family: 'Geist', sans-serif; font-size: .88rem; outline: none; margin-bottom: .8rem; appearance: none; }
.hero-form select option { background: #030d63; color: #fff; }
.hero-form-btn { width: 100%; padding: .85rem; background: var(--brand-accent); color: #fff; border: none; border-radius: 10px; font-family: 'Geist', sans-serif; font-weight: 700; font-size: .95rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: .4rem; transition: var(--transition); }
.hero-form-btn:hover { background: #030d63; }
.hero-form-btn svg { width: 16px; height: 16px; }

/* ── BROWSE BY TYPE ───────────────────────────────── */
.type-strip { padding: 4rem 5%; background: var(--bg-white); }
.type-grid { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: .5rem; }
.type-grid::-webkit-scrollbar { display: none; }
.type-card { flex-shrink: 0; width: 150px; background: var(--bg-light); border-radius: var(--radius); overflow: hidden; text-align: center; cursor: pointer; transition: var(--transition); border: 1.5px solid transparent; text-decoration: none; color: inherit; }
.type-card:hover, .type-card.active { border-color: var(--brand-accent); box-shadow: 0 6px 20px rgba(3,13,99,.12); transform: translateY(-3px); }
.type-card img { width: 100%; height: 95px; object-fit: cover; }
.type-card span { display: block; padding: .7rem; font-weight: 700; font-size: .85rem; color: var(--text-primary); }

/* ── BRANDS ───────────────────────────────────────── */
.brands-section { padding: 3rem 5%; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brands-row { max-width: 1300px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.brand-logo { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-decoration: none; transition: transform .2s; cursor: pointer; }
.brand-logo:hover { transform: translateY(-4px); }
.brand-img-wrap { display: flex; align-items: center; justify-content: center; padding: 6px 10px; }
.brand-img-wrap img { width: 92px; height: 60px; object-fit: contain; display: block; transition: transform .2s; }
.brand-logo:hover .brand-img-wrap img { transform: scale(1.08); }
.brand-fallback { width: 52px; height: 52px; border-radius: 50%; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.brand-logo span { display: none; }   /* the logo's alt text names the brand; no caption under it */

/* ── SEARCH STRIP ─────────────────────────────────── */
.search-strip { background: var(--bg-white); box-shadow: 0 2px 12px rgba(0,0,0,.04); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 89; padding: .85rem 5%; }
.search-inner { max-width: 1300px; margin: 0 auto; display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.srch-icon { width: 19px; height: 19px; color: var(--brand-accent); flex-shrink: 0; }
.srch-input { flex: 1; min-width: 200px; padding: .75rem 1.1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Geist', sans-serif; font-size: .88rem; outline: none; transition: .2s; background: var(--bg-light); }
.srch-input:focus { border-color: var(--brand-accent); background: #fff; box-shadow: 0 0 0 3px rgba(3,13,99,.08); }
.qf-row { display: flex; gap: .4rem; flex-wrap: wrap; }
.qf-btn { padding: .5rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Geist', sans-serif; font-size: .78rem; font-weight: 700; cursor: pointer; background: var(--bg-light); color: var(--text-primary); transition: .2s; white-space: nowrap; }
.qf-btn:hover, .qf-btn.active { background: var(--brand-dark); color: #fff; border-color: transparent; }
.srch-go { background: var(--brand-dark); color: #fff; border: none; padding: .75rem 1.4rem; border-radius: 10px; font-family: 'Geist', sans-serif; font-weight: 700; font-size: .85rem; cursor: pointer; display: flex; align-items: center; gap: .35rem; white-space: nowrap; transition: .2s; }
.srch-go:hover { background: var(--brand-accent); }
.srch-go svg { width: 14px; height: 14px; }
.srch-clear { background: var(--bg-light); color: var(--text-secondary); border: 1.5px solid var(--border); padding: .73rem 1rem; border-radius: 10px; font-family: 'Geist', sans-serif; font-weight: 600; font-size: .8rem; cursor: pointer; display: none; align-items: center; gap: .3rem; transition: .2s; }
.srch-clear svg { width: 13px; height: 13px; }

/* ── SHOWROOM / FEATURED LISTINGS ─────────────────── */
.showroom { padding: 3rem 5%; background: var(--bg-white); }
.showroom-inner { max-width: 1300px; margin: 0 auto; }
.showroom-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: .8rem; }
.showroom-hd h2 { font-size: 1.6rem; font-weight: 900; color: var(--text-primary); }
.car-count { font-size: .85rem; color: var(--text-secondary); margin-top: .1rem; }
.car-count strong { color: var(--text-primary); }
.sort-row { display: flex; align-items: center; gap: .5rem; }
.sort-lbl { font-size: .78rem; color: var(--text-light); font-weight: 600; }
.sort-sel { padding: .52rem .9rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Geist', sans-serif; font-size: .83rem; background: #fff; outline: none; color: var(--text-primary); cursor: pointer; }

/* ── CAR CARDS ─────────────────────────────────────── */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-bottom: 2rem; }
.car-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); text-decoration: none; color: inherit; display: block; }
.car-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.car-img-wrap { position: relative; height: 200px; overflow: hidden; }
.car-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: .4s; background: var(--bg-light); }
.car-card:hover .car-img-wrap img { transform: scale(1.05); }
.cbdg { display: none; }
.bdg-great { background: #dcefe2; color: #23784b; }
.bdg-fair { background: #f6e8cc; color: #9a6512; }
.bdg-new { background: #e6e8f7; color: #030d63; }
.bdg-sold { background: var(--bg-dark); color: #fff; }
.car-info { padding: 1.1rem; }
.car-make-tag { font-size: .68rem; font-weight: 700; color: var(--brand-accent); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.car-name { font-size: .95rem; font-weight: 800; color: var(--text-primary); margin-bottom: .3rem; line-height: 1.25; }
.car-price { font-size: 1.2rem; font-weight: 900; color: var(--text-primary); margin-bottom: .6rem; }
.car-meta { display: flex; flex-wrap: wrap; gap: .25rem .65rem; font-size: .74rem; color: var(--text-secondary); margin-bottom: .6rem; }
.car-meta span { display: flex; align-items: center; gap: .22rem; }
.car-meta svg { width: 11px; height: 11px; opacity: .5; }
.car-pills { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: .8rem; }
.car-pill { background: var(--bg-light); color: var(--text-secondary); border-radius: 6px; padding: .16rem .58rem; font-size: .7rem; font-weight: 600; }
.view-btn { display: flex; align-items: center; justify-content: center; gap: .38rem; width: 100%; background: var(--brand-dark); color: #fff; border: none; padding: .65rem; border-radius: 10px; font-family: 'Geist', sans-serif; font-weight: 700; font-size: .82rem; cursor: pointer; transition: .2s; text-decoration: none; }
.view-btn:hover { background: var(--brand-accent); }
.view-btn svg { width: 13px; height: 13px; }

/* ── PAGINATION ───────────────────────────────────── */
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; padding: .5rem 0 2rem; }
.pg-btn { min-width: 40px; height: 40px; border: 1.5px solid var(--border); background: #fff; border-radius: 10px; cursor: pointer; font-family: 'Geist', sans-serif; font-size: .85rem; color: var(--text-primary); transition: .2s; display: flex; align-items: center; justify-content: center; padding: 0 .5rem; }
.pg-btn.active { background: var(--brand-dark); color: #fff; border-color: transparent; }
.pg-btn:hover:not(.active):not(:disabled) { background: var(--bg-light); }
.pg-btn:disabled { opacity: .3; cursor: not-allowed; }
.pg-btn svg { width: 13px; height: 13px; }
.pg-ellipsis { padding: 0 .3rem; color: var(--text-light); line-height: 40px; }
.skeleton { background: linear-gradient(90deg, #eceef7 25%, #eceef7 50%, #eceef7 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--radius); height: 340px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.no-results { text-align: center; padding: 4rem 2rem; color: var(--text-secondary); grid-column: 1/-1; }
.no-results svg { width: 46px; height: 46px; margin: 0 auto 1rem; opacity: .25; display: block; }
.no-results h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: .4rem; }

/* ── SPLIT CONTENT ("What We Do") ─────────────────── */
.split-section { padding: 5rem 5%; }
.split-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-images { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.split-images img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--radius); }
.split-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.split-feat { display: flex; align-items: flex-start; gap: .7rem; }
.split-feat-icon { width: 36px; height: 36px; background: var(--brand-dark); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.split-feat-icon svg { width: 16px; height: 16px; color: #fff; }
.split-feat h4 { font-size: .88rem; font-weight: 700; margin-bottom: .15rem; }
.split-feat p { font-size: .78rem; color: var(--text-secondary); line-height: 1.5; }

/* ── DUAL CTA BANNERS ─────────────────────────────── */
.dual-cta { padding: 0 5% 5rem; }
.dual-cta-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cta-banner { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; padding: 2rem; text-decoration: none; color: #fff; }
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.2)); }
.cta-banner-content { position: relative; z-index: 2; }
.cta-banner h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: .5rem; }
.cta-banner p { font-size: .88rem; opacity: .85; margin-bottom: 1rem; }
.cta-banner .cta-link { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 700; font-size: .88rem; text-decoration: none; }
.cta-banner .cta-link svg { width: 16px; height: 16px; }

/* ── DARK CTA BAND ────────────────────────────────── */
.cta-band { position: relative; padding: 5rem 5%; text-align: center; overflow: hidden; }
.cta-band img.cta-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(3,13,99,.8); }
.cta-band-content { position: relative; z-index: 2; }
.cta-band h2 { font-size: 2.4rem; font-weight: 900; color: #fff; margin-bottom: .7rem; }
.cta-band p { color: rgba(255,255,255,.7); font-size: .95rem; margin-bottom: 1.8rem; max-width: 480px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.cta-band-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.btn-band-prim { display: inline-flex; align-items: center; gap: .45rem; padding: .85rem 2rem; background: var(--brand-accent); color: #fff; border-radius: 10px; font-weight: 700; font-size: .9rem; text-decoration: none; transition: .2s; }
.btn-band-prim:hover { background: #030d63; transform: translateY(-2px); }
.btn-band-sec { display: inline-flex; align-items: center; gap: .45rem; padding: .85rem 1.8rem; border: 2px solid rgba(255,255,255,.35); color: #fff; border-radius: 10px; font-weight: 700; font-size: .88rem; text-decoration: none; transition: .3s; }
.btn-band-sec:hover { background: rgba(255,255,255,.1); }
.btn-band-prim svg, .btn-band-sec svg { width: 15px; height: 15px; }

/* ── TESTIMONIALS ─────────────────────────────────── */
.testi-section { padding: 5rem 5%; background: var(--bg-light); }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; max-width: 1300px; margin: 0 auto; }
.testi-card { background: #fff; border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); transition: var(--transition); }
.testi-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.testi-quote { font-size: .95rem; font-style: italic; color: #4a5078; margin-bottom: 1.5rem; line-height: 1.7; }
.testi-user { display: flex; align-items: center; gap: .8rem; border-top: 1px solid var(--border); padding-top: 1rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-light); }
.stars { display: flex; gap: .2rem; color: #fbbf24; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }

/* ── FOOTER ───────────────────────────────────────── */
.footer { background: var(--bg-light); padding: 4rem 5% 2rem; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand { }
.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-primary); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .88rem; color: var(--text-secondary); text-decoration: none; margin-bottom: .5rem; transition: .2s; }
.footer-col a:hover { color: var(--brand-accent); }
.footer-bottom { max-width: 1300px; margin: 0 auto; border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-size: .78rem; color: var(--text-light); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-dark); border: 1px solid var(--brand-dark); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: .2s; }
.footer-social a:hover { background: var(--brand-accent); border-color: var(--brand-accent); }
.footer-social a svg { width: 14px; height: 14px; }

/* Old footer compat */
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: .9rem; flex-wrap: wrap; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: .85rem; transition: .2s; }
.footer-links a:hover { color: var(--brand-accent); }
.footer-logo { height: 40px; margin-bottom: .9rem; opacity: .6; }

/* ── ABOUT SECTION ────────────────────────────────── */
.about-section { padding: 5rem 5%; background: #fff; }
.about-inner { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.about-card { background: var(--bg-light); border: 1px solid var(--border); border-radius: 14px; padding: 1.1rem; transition: .2s; }
.about-card:hover { border-color: rgba(3,13,99,.2); box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.ac-icon { width: 34px; height: 34px; background: var(--brand-dark); border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: .55rem; }
.ac-icon svg { width: 17px; height: 17px; color: #fff; }
.about-card h4 { font-size: .87rem; font-weight: 700; color: var(--text-primary); margin-bottom: .18rem; }
.about-card p { font-size: .78rem; color: var(--text-secondary); line-height: 1.6; }
.about-side .glass-card { padding: 2.2rem; text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.about-side .about-logo { max-width: 120px; margin-bottom: 1rem; }
.about-side h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }

/* ── CONTACT ──────────────────────────────────────── */
.contact-section { padding: 5rem 5%; background: var(--bg-light); }
.contact-inner { max-width: 1300px; margin: 0 auto; }
.contact-header { text-align: center; margin-bottom: 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; }
.contact-info.glass-card, .contact-form.glass-card { padding: 2rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.ci-item { display: flex; align-items: flex-start; gap: .9rem; margin-bottom: 1.1rem; }
.ci-icon { width: 38px; height: 38px; background: var(--brand-dark); border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-icon svg { width: 17px; height: 17px; color: #fff; }
.ci-text strong { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .1rem; }
.ci-text p { font-size: .8rem; color: var(--text-secondary); line-height: 1.6; }
.cf-row-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .7rem; }
.cf-field { display: flex; flex-direction: column; gap: .28rem; margin-bottom: .7rem; }
.cf-field label { font-size: .72rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .04em; }
.cf-field input, .cf-field textarea { padding: .78rem 1rem; border: 1.5px solid var(--border); border-radius: 10px; font-family: 'Geist', sans-serif; font-size: .88rem; outline: none; transition: .2s; background: var(--bg-light); }
.cf-field input:focus, .cf-field textarea:focus { border-color: var(--brand-accent); background: #fff; box-shadow: 0 0 0 3px rgba(3,13,99,.08); }
.cf-submit { display: flex; align-items: center; gap: .45rem; background: var(--brand-dark); color: #fff; border: none; padding: .85rem 2rem; border-radius: 10px; font-family: 'Geist', sans-serif; font-weight: 700; font-size: .9rem; cursor: pointer; transition: .2s; }
.cf-submit:hover { background: var(--brand-accent); }

/* ── GLASS CARD ───────────────────────────────────── */
.glass-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; transition: var(--transition); }
.glass-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.06); }

/* ── CTA BUTTON ───────────────────────────────────── */
.cta-button { display: inline-block; padding: .85rem 2rem; font-size: 1rem; font-weight: 700; text-decoration: none; color: #fff; background: var(--brand-dark); border-radius: 10px; transition: var(--transition); border: none; cursor: pointer; }
.cta-button:hover { background: var(--brand-accent); transform: translateY(-2px); }

/* ── FAQ ──────────────────────────────────────────── */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: .3s; }
.faq-item.active { border-color: var(--brand-accent); box-shadow: 0 4px 14px rgba(3,13,99,.08); }
.faq-q { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--text-primary); transition: .2s; }
.faq-q:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: -3px; }
.faq-item.active .faq-q { color: var(--brand-accent); }
.faq-icon { transition: transform 0.3s; color: var(--text-light); }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--brand-accent); }
.faq-a { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; font-size: .9rem; color: var(--text-secondary); line-height: 1.6; }
.faq-item.active .faq-a { padding: 0 1.5rem 1.2rem; max-height: 300px; }

/* ── FINANCE / TEAM / SECTION STYLES ──────────────── */
.section-title-left { font-size: 2.2rem; font-weight: 900; margin-bottom: .5rem; }
.finance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.finance-card { text-align: center; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.finance-icon { width: 56px; height: 56px; margin: 0 auto 1.2rem; display: flex; align-items: center; justify-content: center; background: var(--bg-light); border-radius: 14px; color: var(--brand-accent); }
.finance-icon svg { width: 26px; height: 26px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; padding: 2rem 1.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.team-img { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1rem; object-fit: cover; border: 3px solid var(--bg-light); }
.team-role { font-size: .78rem; color: var(--brand-accent); font-weight: 700; text-transform: uppercase; margin-bottom: .8rem; }
.team-socials a { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--bg-light); color: var(--text-secondary); transition: .2s; margin: 0 .25rem; text-decoration: none; }
.team-socials a:hover { background: var(--brand-accent); color: #fff; }

/* ── ANIMATIONS ───────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────── */
@media(max-width:1024px) {
    .hero-inner { flex-direction: column; gap: 2rem; }
    .hero-right { width: 100%; max-width: 420px; }
    .split-inner { grid-template-columns: 1fr; }
    .dual-cta-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media(max-width:768px) {
    .hero-car-name { font-size: 2.2rem; }
    .navbar .nav-content, .navbar .nav-inner { position: relative; }
    .navbar .tm-mobile-nav-btn { display: inline-flex; }
    .navbar .nav-links {
        display: none !important;
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        z-index: 1100;
        max-height: calc(100vh - 110px);
        overflow-y: auto;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .35rem !important;
        padding: .8rem;
        margin: 0;
        list-style: none;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: 0 18px 45px rgba(3,13,99,.16);
    }
    .navbar .nav-links.mobile-open { display: flex !important; }
    .navbar .nav-links > li { width: 100%; }
    .navbar .nav-links a, .navbar .nav-links a.nav-item, .navbar .nav-links .nav-auth-btn { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: flex-start; padding: .7rem .85rem !important; border-radius: 10px !important; }
    .navbar .nav-links .lang-toggle { width: 100%; margin: .25rem 0 0; }
    .navbar .nav-links .lang-opt { flex: 1; min-height: 42px; }
    .about-inner, .contact-grid { grid-template-columns: 1fr; }
    .about-side { display: none; }
    .footer-inner { grid-template-columns: 1fr; }
    .section-title, .animated-gradient-text { font-size: 1.8rem; }
}
@media(max-width:600px) {
    .cf-row-grid { grid-template-columns: 1fr; }
    .split-features { grid-template-columns: 1fr; }
}

/* ── LANGUAGE TOGGLE ──────────────────────────────── */
.lang-toggle { display: flex; align-items: center; border: 1.5px solid var(--border); border-radius: 10px; overflow: hidden; margin-left: .3rem; }
.lang-opt { padding: .35rem .7rem; font-family: 'Geist', sans-serif; font-size: .75rem; font-weight: 700; cursor: pointer; background: transparent; border: none; color: var(--text-secondary); transition: .2s; }
.lang-opt.active { background: var(--brand-dark); color: #fff; }
.lang-opt:not(.active):hover { background: var(--bg-light); }

/* Vehicle badges (lang.js tmBadgesHtml) */
.tm-badges{display:flex;flex-wrap:wrap;gap:.3rem}
.car-img-wrap .tm-badges{position:absolute;top:.6rem;left:.6rem;right:.6rem;z-index:2;pointer-events:none}
.tm-badge{font:700 .68rem/1 'Geist',sans-serif;letter-spacing:.02em;padding:.32rem .6rem;border-radius:50px;background:rgba(3,13,99,.82);color:#fff;backdrop-filter:blur(4px)}
.tm-badge-ok{background:#23784b}
.tm-badge-new{background:rgba(3,13,99,.92)}
.tm-badge-fin{background:rgba(217,119,6,.92)}
.tm-badge-ord{background:rgba(8,145,178,.92)}

.tm-badge-rev{background:rgba(3,13,99,.92)}
.tm-badge-insp{background:rgba(190,24,93,.92)}
.tm-badge:focus-visible{outline:2px solid #fff;outline-offset:2px}
.car-img-wrap .tm-badges{pointer-events:auto}
.tm-legend{font-size:.8rem;color:#4a5078;margin:.2rem 0 .8rem}
.tm-legend summary{cursor:pointer;color:var(--brand-blue,#030d63);font-weight:600}
.tm-legend ul{margin:.5rem 0 0 1.1rem;line-height:1.5}

/* compare */
#tm-compare-tray{position:fixed;left:16px;bottom:16px;z-index:1400;display:flex;align-items:center;background:#030d63;color:#fff;border-radius:50px;box-shadow:0 8px 24px rgba(3,13,99,.3);overflow:hidden}
#tm-compare-tray a{color:#fff;text-decoration:none;font:700 .85rem 'Geist',sans-serif;padding:.7rem 1rem .7rem 1.2rem}
#tm-compare-tray button{background:none;border:0;color:#cdd2e6;font-size:1.3rem;line-height:1;cursor:pointer;padding:.5rem .9rem .5rem .3rem}
#tm-compare-tray a:focus-visible,#tm-compare-tray button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
body.has-sticky-cta #tm-compare-tray{bottom:96px}
.tm-cmp{display:inline-flex;align-items:center;gap:.35rem;border:1.5px solid #cdd2e6;background:#fff;color:#2a3162;border-radius:50px;padding:.4rem .8rem;font:700 .74rem 'Geist',sans-serif;cursor:pointer}
.tm-cmp:hover{background:#eceef7}.tm-cmp.on{background:#030d63;border-color:#030d63;color:#fff}
.tm-cmp:focus-visible{outline:2px solid #030d63;outline-offset:2px}
#tm-mini-toast{position:fixed;left:50%;bottom:76px;transform:translate(-50%,20px);background:#030d63;color:#fff;padding:.65rem 1.1rem;border-radius:12px;font:600 .85rem 'Geist',sans-serif;opacity:0;pointer-events:none;transition:.2s;z-index:3500;max-width:90vw;text-align:center}
#tm-mini-toast.on{opacity:1;transform:translate(-50%,0)}
@media(prefers-reduced-motion:reduce){#tm-mini-toast{transition:none}}

/* The top bar slides away while reading down the page (full screen) and returns as soon as you scroll back up. */
.navbar { will-change: transform; }
.navbar.nav-hidden { transform: translateY(-105%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .navbar.nav-hidden { transition: none; } }

/* ── 2026 VISUAL REFINEMENT ─────────────────────────
   A warmer, editorial marketplace system inspired by premium retail layouts.
   The Top Magari identity, blue palette and existing functionality stay intact. */
:root{
  --tm-ink:#030d63;
  --tm-blue:#155eef;
  --tm-blue-strong:#0b4ddb;
  --tm-paper:#f7f8fc;
  --tm-card:#ffffff;
  --tm-line:rgba(3,13,99,.10);
  --tm-shadow:0 18px 55px rgba(3,13,99,.09);
  --tm-radius:28px;
}
html{scroll-behavior:smooth}
body{background:var(--tm-paper);color:var(--tm-ink)}
.content-wrapper{padding-top:112px}
.navbar{top:16px;left:1.5%;width:97%;padding:.72rem 1.1rem;border:1px solid rgba(3,13,99,.08);border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 10px 40px rgba(3,13,99,.07)}
.navbar.scrolled{padding:.62rem 1.1rem;box-shadow:0 14px 40px rgba(3,13,99,.10)}
.nav-content,.nav-inner{max-width:1400px!important}
.nav-logo img{height:42px!important;width:auto}
.nav-links{gap:1.45rem}
.nav-links a.nav-item{font-size:.84rem;color:#2a3162}
.nav-auth-btn,.nav-portal-btn{background:var(--tm-ink)!important;border-radius:999px!important;padding:.72rem 1.25rem!important}
.lang-toggle{border-radius:999px;background:#fff}
.hero-section{min-height:690px;margin:0 1.5%;padding:5rem 3.2% 3rem;border-radius:var(--tm-radius);overflow:hidden;background:var(--tm-card)}
.hero-bg{left:51%;border-radius:var(--tm-radius);overflow:hidden}
.hero-bg::after{background:linear-gradient(90deg,var(--tm-card) 0%,rgba(255,255,255,.76) 16%,rgba(255,255,255,.04) 56%)}
.hero-bg img{filter:saturate(.82) contrast(1.03)}
.hero-inner{max-width:1400px}
.hero-left{max-width:600px;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.75);border-radius:26px;padding:2.25rem;box-shadow:var(--tm-shadow);backdrop-filter:blur(12px)}
.hero-kicker{display:inline-flex;align-items:center;gap:.55rem;margin:0 0 1.4rem;padding:.48rem .8rem;border-radius:999px;background:#fff;border:1px solid var(--tm-line);font-size:.76rem;font-weight:700;color:#2a3162;letter-spacing:.01em}
.hero-kicker span{width:8px;height:8px;border-radius:50%;background:var(--tm-blue);box-shadow:0 0 0 5px rgba(3,13,99,.10)}
.hero-price{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em;color:var(--tm-blue);margin-bottom:.7rem}
.hero-car-name{max-width:570px;font-size:clamp(2.7rem,5vw,5.25rem);letter-spacing:-.065em;line-height:.92;margin-bottom:1.2rem}
.hero-car-sub{max-width:500px;font-size:1.03rem;line-height:1.7;margin-bottom:1.7rem}
.hero-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}
.hero-cta{border-radius:999px;padding:.9rem 1.35rem;background:var(--tm-ink);box-shadow:0 8px 20px rgba(3,13,99,.16)}
.hero-cta:hover{background:var(--tm-blue);transform:translateY(-2px)}
.hero-cta-secondary{display:inline-flex;align-items:center;min-height:48px;padding:.8rem 1.25rem;border:1px solid var(--tm-line);border-radius:999px;background:#fff;color:var(--tm-ink);font-weight:700;font-size:.9rem;text-decoration:none}
.hero-cta-secondary:hover{border-color:rgba(3,13,99,.35);color:var(--tm-blue)}
.hero-stats{display:flex;gap:2.3rem;margin-top:2.2rem;padding-top:1.35rem;border-top:1px solid var(--tm-line)}
.hero-stats>div>div:first-child{letter-spacing:-.04em;color:var(--tm-ink)}
.trust-rail{margin:14px 1.5% 0;padding:1rem 1.5rem;border-radius:20px;background:var(--tm-ink);color:#fff;overflow:hidden}
.trust-rail-inner{max-width:1400px;margin:auto;display:flex;justify-content:space-between;gap:1.2rem;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.trust-rail-inner::-webkit-scrollbar{display:none}
.trust-rail span{display:inline-flex;align-items:center;gap:.5rem;font-size:.76rem;font-weight:650;color:rgba(255,255,255,.85)}
.trust-rail svg{width:15px;height:15px;color:#78a8ff}
.type-strip,.brands-section,.showroom,.split-section,.dual-cta,.testi-section,.about-section,.contact-section{background:transparent}
.type-strip,.brands-section,.showroom,.split-section,.testi-section{padding-top:5.5rem;padding-bottom:5.5rem}
.section-eyebrow{display:inline-flex;padding:.4rem .7rem;border-radius:999px;background:#e9efff;color:var(--tm-blue);font-size:.68rem;letter-spacing:.14em}
.section-title,.section-title-left,.showroom-hd h2{letter-spacing:-.04em}
.type-grid{gap:.8rem}
.type-card{width:176px;background:var(--tm-card);border:1px solid var(--tm-line);border-radius:22px;padding:.45rem;box-shadow:0 7px 24px rgba(3,13,99,.04)}
.type-card img{height:108px;border-radius:17px}
.type-card span{padding:.85rem .4rem .7rem;text-align:left}
.type-card:hover,.type-card.active{border-color:rgba(3,13,99,.36);box-shadow:var(--tm-shadow);transform:translateY(-5px)}
.brands-section{margin:0 1.5%;border:0;border-radius:var(--tm-radius);background:#ffffff}
.brand-img-wrap{min-width:120px;min-height:78px;border:1px solid rgba(3,13,99,.08);border-radius:18px;background:rgba(255,255,255,.62)}
.brand-img-wrap img{width:84px;height:52px;filter:saturate(.9)}
.search-strip{top:14px;margin:14px 1.5% 0;padding:.75rem 1%;border:1px solid var(--tm-line);border-radius:20px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(3,13,99,.08);backdrop-filter:blur(14px)}
.srch-input,.qf-btn,.sort-sel{border-color:var(--tm-line);background:#fff;border-radius:999px}
.srch-go,.view-btn,.cf-submit,.cta-button,.btn-band-prim{border-radius:999px;background:var(--tm-blue)!important}
.srch-go:hover,.view-btn:hover,.cf-submit:hover,.cta-button:hover,.btn-band-prim:hover{background:var(--tm-blue-strong)!important}
.showroom{padding-left:5%;padding-right:5%}
.showroom-inner{max-width:1400px}
.cars-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem}
.car-card{border:1px solid var(--tm-line);border-radius:24px;padding:.45rem;background:var(--tm-card);box-shadow:0 8px 28px rgba(3,13,99,.045)}
.car-card:hover{transform:translateY(-6px);box-shadow:var(--tm-shadow);border-color:rgba(3,13,99,.2)}
.car-img-wrap{height:220px;border-radius:19px}
.car-info{padding:1rem .8rem .8rem}
.car-name{font-size:1.04rem;letter-spacing:-.02em}
.car-price{font-size:1.35rem;letter-spacing:-.03em}
.car-pill{border-radius:999px;background:#edf0ea}
.split-inner{max-width:1400px;gap:1rem;align-items:stretch}
.split-copy{background:var(--tm-card);border:1px solid var(--tm-line);border-radius:var(--tm-radius);padding:clamp(2rem,4vw,4rem)}
.split-images{gap:.7rem;background:#dbe7f5;border-radius:var(--tm-radius);padding:.7rem}
.split-images img{height:100%;min-height:220px;border-radius:22px}
.split-feat{padding:.85rem;border-radius:16px;background:#f1f3ee}
.split-feat-icon,.ac-icon,.ci-icon{border-radius:50%;background:var(--tm-blue)}
.dual-cta-inner{max-width:1400px;gap:1rem}
.cta-banner{border-radius:var(--tm-radius);min-height:340px}
.cta-banner::after{background:linear-gradient(to top,rgba(3,13,99,.82),rgba(3,13,99,.05))}
.finance-card,.glass-card,.testi-card,.about-card,.contact-info.glass-card,.contact-form.glass-card,.faq-item{border-color:var(--tm-line);border-radius:22px;background:var(--tm-card)}
.finance-icon{border-radius:50%;background:#e8efff;color:var(--tm-blue)}
.cta-band{margin:0 1.5% 5rem;border-radius:var(--tm-radius);min-height:420px;display:flex;align-items:center;justify-content:center}
.cta-band::after{background:linear-gradient(90deg,rgba(3,13,99,.9),rgba(3,13,99,.55))}
.btn-band-sec{border-radius:999px}
.footer{margin:0 1.5% 1.5%;padding:4rem 4% 2rem;border:0;border-radius:var(--tm-radius);background:var(--tm-ink);color:#fff}
.footer-brand p,.footer-col a,.footer-copy{color:rgba(255,255,255,.64)}
.footer-col h4{color:#fff}
.footer-bottom{border-color:rgba(255,255,255,.12)}
.footer-social a{background:#fff;color:var(--tm-ink);border-color:#fff}
@media(max-width:1024px){
  .navbar{top:10px}.content-wrapper{padding-top:98px}
  .hero-section{min-height:640px}.hero-bg{left:38%}.hero-left{max-width:570px}
}
@media(max-width:768px){
  .navbar{left:3%;width:94%;border-radius:22px;padding:.55rem .65rem}
  .content-wrapper{padding-top:90px}
  .hero-section{margin:0 3%;padding:1rem;min-height:720px;align-items:flex-end;border-radius:24px}
  .hero-bg{left:0;bottom:36%;height:64%;border-radius:24px}.hero-bg::after{background:linear-gradient(to top,var(--tm-card) 0%,rgba(255,255,255,.05) 47%)}
  .hero-left{max-width:none;width:100%;padding:1.35rem;border-radius:21px}
  .hero-kicker{font-size:.68rem;margin-bottom:.9rem}.hero-price{margin-bottom:.45rem}
  .hero-car-name{font-size:2.55rem;line-height:.98}.hero-car-sub{font-size:.92rem;margin-bottom:1.15rem}
  .hero-actions>*{flex:1;justify-content:center;text-align:center;white-space:nowrap}
  .hero-stats{gap:1rem;justify-content:space-between;margin-top:1.3rem}.hero-stats>div>div:first-child{font-size:1.25rem!important}.hero-stats>div>div:last-child{font-size:.65rem!important}
  .trust-rail{margin:10px 3% 0;border-radius:16px;padding:.85rem 1rem}.trust-rail-inner{justify-content:flex-start;gap:1.8rem}
  .type-strip,.brands-section,.showroom,.split-section,.testi-section{padding-top:3.75rem;padding-bottom:3.75rem}
  .brands-section,.cta-band,.footer{margin-left:3%;margin-right:3%;border-radius:24px}
  .search-strip{top:8px;margin-left:3%;margin-right:3%}
  .cars-grid{grid-template-columns:1fr}.car-img-wrap{height:230px}
  .split-copy{padding:1.5rem}.split-images{grid-template-columns:1fr 1fr}.split-images img{min-height:150px}
  .cta-band{min-height:400px;padding:3rem 1.5rem}.cta-band h2{font-size:2rem}
  .footer{padding:3rem 1.5rem 1.5rem}
}
@media(max-width:430px){
  .hero-section{min-height:750px}.hero-bg{bottom:45%;height:55%}.hero-left{padding:1.15rem}
  .hero-car-name{font-size:2.25rem}.hero-actions{gap:.5rem}.hero-actions>*{font-size:.8rem;padding:.75rem .8rem}
  .hero-stats{gap:.5rem}.hero-stats>div{max-width:30%}
  .type-card{width:150px}.type-card img{height:92px}
}

/* ── KVIST-INSPIRED BENTO HOMEPAGE HERO ─────────── */
.tm-bento-hero{max-width:none;margin:0 1.5%;display:grid;grid-template-columns:1.18fr .82fr;gap:14px;min-height:760px}
.tm-bento-left{display:grid;grid-template-rows:1.35fr .65fr;gap:14px;min-width:0}
.tm-pitch-card,.tm-mini-card,.tm-feature-card{border-radius:30px;background:#ffffff;border:1px solid rgba(3,13,99,.07);overflow:hidden}
.tm-pitch-card{padding:clamp(2rem,4.2vw,4.5rem);display:flex;flex-direction:column;justify-content:center}
.tm-pitch-card .hero-car-name{max-width:760px;font-size:clamp(3.5rem,6vw,5.8rem);line-height:.9;letter-spacing:-.075em;margin-bottom:1.5rem}
.tm-pitch-card .hero-car-sub{max-width:590px;font-size:1.05rem}
.hero-bottom-row{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin-top:auto;padding-top:1rem}
.tm-trust-note{display:flex;flex-direction:column;text-align:right;font-size:.8rem;line-height:1.15;color:#4a5078}
.tm-trust-note strong{font-size:1rem;color:var(--tm-ink)}
.tm-mini-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.tm-mini-card{position:relative;min-height:230px;padding:1.7rem;text-decoration:none;color:var(--tm-ink);display:flex;flex-direction:column;justify-content:flex-end}
.tm-mini-card strong{position:relative;z-index:2;font-size:1.65rem;letter-spacing:-.04em}
.tm-mini-card small{position:relative;z-index:2;display:flex;align-items:center;gap:.35rem;margin-top:.35rem;font-size:.78rem;color:#4a5078}
.tm-mini-card small svg{width:14px;height:14px}
.tm-mini-label{position:absolute;top:1.35rem;left:1.5rem;z-index:2;font-size:.66rem;letter-spacing:.16em;font-weight:800}
.tm-mini-image{color:#fff;background:#1a263b}
.tm-mini-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.tm-mini-image::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(3,13,99,.82),rgba(3,13,99,.05) 65%)}
.tm-mini-image small{color:rgba(255,255,255,.72)}
.tm-mini-image:hover img{transform:scale(1.04)}
.tm-delivery-card{background:#ffffff;justify-content:flex-end}
.tm-round-icon{position:absolute;right:1.35rem;top:1.25rem;width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--tm-blue)}
.tm-round-icon svg{width:26px;height:26px}
.tm-feature-card{position:relative;display:block;min-width:0;color:var(--tm-ink);text-decoration:none;background:#e6e8f7}
.tm-feature-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1);filter:saturate(.85)}
.tm-feature-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(255,255,255,.22),transparent 32%,rgba(3,13,99,.05) 58%,rgba(3,13,99,.72) 100%)}
.tm-feature-card:hover>img{transform:scale(1.025)}
.tm-feature-top{position:absolute;z-index:2;top:2.1rem;left:2.1rem;display:flex;flex-direction:column;gap:.35rem}
.tm-feature-top span{font-size:.68rem;font-weight:800;letter-spacing:.16em}
.tm-feature-top strong{font-size:1.9rem;letter-spacing:-.04em}
.tm-quality-seal{position:absolute;z-index:2;top:1.8rem;right:1.8rem;width:92px;height:92px;border-radius:50%;background:rgba(255,255,255,.87);backdrop-filter:blur(8px);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:.3rem}
.tm-quality-seal svg{width:22px;height:22px;color:var(--tm-blue)}
.tm-quality-seal span{font-size:.57rem;line-height:1.2;font-weight:800;letter-spacing:.12em}
.tm-feature-bottom{position:absolute;z-index:2;left:1.2rem;right:1.2rem;bottom:1.2rem;padding:1rem 1.2rem;border-radius:999px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:1.25rem}
.tm-feature-bottom>div{display:flex;flex-direction:column}.tm-feature-bottom strong{font-size:1.05rem}.tm-feature-bottom span{font-size:.65rem;color:#4a5078}
.tm-details-link{justify-self:end;display:inline-flex!important;align-items:center;gap:.4rem;font-weight:800!important;color:var(--tm-ink)!important}
.tm-details-link svg{width:15px;height:15px}
@media(max-width:1024px){
  .tm-bento-hero{grid-template-columns:1fr;min-height:0}.tm-bento-left{grid-template-rows:auto auto}.tm-feature-card{min-height:560px}
  .tm-pitch-card .hero-car-name{font-size:clamp(3.2rem,9vw,6rem)}
}
@media(max-width:768px){
  .tm-bento-hero{margin:0 3%;gap:10px}.tm-bento-left{gap:10px}.tm-pitch-card,.tm-mini-card,.tm-feature-card{border-radius:24px}
  .tm-pitch-card{padding:1.6rem 1.35rem}.tm-pitch-card .hero-car-name{font-size:2.85rem;line-height:.93}.tm-pitch-card .hero-car-sub{font-size:.92rem}
  .hero-bottom-row{display:block}.tm-trust-note{display:none}.tm-mini-grid{grid-template-columns:1fr 1fr;gap:10px}.tm-mini-card{min-height:190px;padding:1.15rem}
  .tm-mini-card strong{font-size:1.2rem}.tm-mini-label{top:1rem;left:1rem}.tm-round-icon{width:46px;height:46px;right:1rem;top:1rem}.tm-round-icon svg{width:21px;height:21px}
  .tm-feature-card{min-height:510px}.tm-feature-top{top:1.35rem;left:1.35rem}.tm-feature-top strong{font-size:1.55rem}.tm-quality-seal{width:76px;height:76px;top:1.15rem;right:1.15rem}
  .tm-feature-bottom{left:.7rem;right:.7rem;bottom:.7rem;grid-template-columns:1fr 1fr;padding:.85rem 1rem;border-radius:20px}.tm-details-link{display:none!important}
}
@media(max-width:430px){
  .tm-pitch-card .hero-car-name{font-size:2.55rem}.tm-mini-grid{grid-template-columns:1fr}.tm-mini-card{min-height:170px}.tm-feature-card{min-height:440px}
}

/* KVIST reference: buttons give under the finger */
.btn:active,.btn-primary:active,.btn-outline:active,.nav-cta:active,.tm-btn:active,button[type=submit]:not(:disabled):active{transform:scale(.96);transition-duration:.12s}
@media (prefers-reduced-motion:reduce){.btn:active,.btn-primary:active,.btn-outline:active,.nav-cta:active,.tm-btn:active,button[type=submit]:active{transform:none}}

/* Brand marquee: the logos drift across in a seamless loop (KVIST storefront); it pauses on hover or focus and stays still for reduced motion */
.brands-row.is-marquee{display:block;overflow:hidden;max-width:none;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.brands-track{display:flex;width:max-content;animation:tmMarquee var(--marquee-dur,34s) linear infinite}
.brands-track .brand-logo{flex:none;margin-right:2.2rem}
.brands-row.is-marquee:hover .brands-track,.brands-row.is-marquee:focus-within .brands-track{animation-play-state:paused}
@keyframes tmMarquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion:reduce){.brands-track{animation:none}.brands-row.is-marquee{overflow-x:auto;mask-image:none;-webkit-mask-image:none}}

/* Quality seal: a ring of text turns slowly around the badge (KVIST storefront stamp) */
.tm-quality-seal{width:108px;height:108px;gap:0}
.tm-quality-seal .tm-seal-ring{position:absolute;inset:0;width:100%;height:100%;animation:tmStamp 14s linear infinite}
.tm-quality-seal .tm-seal-ring text{font:800 8.4px 'Geist Mono',ui-monospace,monospace;fill:#030d63;letter-spacing:2.45px}
.tm-quality-seal>svg:not(.tm-seal-ring),.tm-quality-seal>i{width:28px;height:28px;position:relative}
@keyframes tmStamp{to{transform:rotate(360deg)}}
@media (max-width:640px){.tm-quality-seal{width:84px;height:84px}}
@media (prefers-reduced-motion:reduce){.tm-quality-seal .tm-seal-ring{animation:none}}
.tm-feature-card:hover>img{transform:none}

/* Phone menu on the inner pages: same panel as the home page menu (round sand button, soft white sheet, pill rows, ink Login pill) */
.nav-links .tm-mobile-only,.nav-links a .tm-arrow{display:none}
@media (max-width:768px){
  .navbar .tm-mobile-nav-btn{width:44px;height:44px;flex:0 0 44px;border:0;border-radius:50%;background:#eceef7;color:#030d63;transition:background .2s,color .2s,transform .2s}
  .navbar .tm-mobile-nav-btn:hover,.navbar .tm-mobile-nav-btn[aria-expanded="true"]{background:#030d63;color:#fff}
  .navbar .tm-mobile-nav-btn svg{width:19px;height:19px}
  .navbar .nav-links{top:calc(100% + 14px);left:auto;right:0;width:min(290px,calc(100vw - 2rem));padding:.65rem;gap:.1rem!important;border:1px solid rgba(3,13,99,.1);border-radius:22px;background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(3,13,99,.16)}
  .navbar .nav-links.mobile-open{animation:tmMenuIn .5s cubic-bezier(.16,1,.3,1)}
  .navbar .nav-links .tm-mobile-only{display:block}
  .navbar .nav-links a.nav-item{justify-content:space-between;min-height:44px;padding:.65rem .8rem!important;border-radius:14px!important;color:#0f1c80;font-weight:650;font-size:.86rem;transition:background .2s}
  .navbar .nav-links a.nav-item:hover{background:#eceef7;color:#0f1c80}
  .navbar .nav-links a .tm-arrow{display:inline-block;width:16px;height:16px;color:#4a5078}
  .navbar .nav-links .nav-auth-btn{justify-content:center;margin-top:.35rem;border-radius:999px!important;background:#030d63;font-size:.84rem!important}
  .navbar .nav-links>li:has(.lang-toggle){display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-top:.45rem;padding:.75rem .55rem .15rem;border-top:1px solid #e1e4f0}
  .navbar .nav-links>li:has(.lang-toggle)::before{content:"Language";color:#4a5078;font-size:.78rem;font-weight:650}
  .navbar .nav-links .lang-toggle{width:auto;margin:0;border:0;border-radius:999px;background:#eceef7;padding:3px}
  .navbar .nav-links .lang-opt{flex:none;min-height:34px;padding:.3rem .95rem;border-radius:999px;color:#4a5078}
  .navbar .nav-links .lang-opt.active{background:#030d63;color:#fff}
}
@keyframes tmMenuIn{from{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.navbar .nav-links.mobile-open{animation:none}}
