/* Cardera Auto — core stylesheet (light theme) */
:root {
  --navy: #0D1E74;
  --blue: #0259FC;
  --blue-600: #0148d1;
  --blue-50: #f0f5ff;
  --blue-100: #dde8ff;
  --white: #ffffff;
  --ink: #0f1733;
  --text: #3b4566;
  --muted: #6b7493;
  --line: #e6e9f2;
  --line-strong: #d3d9e8;
  --panel: #f7f9fc;
  --success: #0f9d58;
  --danger: #d93025;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 51, .06);
  --shadow: 0 4px 16px rgba(15, 23, 51, .06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 51, .10);
  --max: 1180px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.bg-soft { background: var(--panel); }
.bg-navy { background: var(--panel); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--blue); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-blue { color: var(--blue); }

/* Buttons — squared corners, distinct from pill styles */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: all .18s ease; font-family: inherit; text-decoration: none !important; line-height: 1.1; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-600); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0a175c; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--line-strong); }
.btn-white:hover { border-color: var(--navy); }
.btn-ghost-white { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost-white:hover { border-color: var(--navy); }
.btn-link { padding: 0; background: none; border: 0; color: var(--blue); font-weight: 700; }
.btn-sm { padding: 9px 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow-link { font-weight: 700; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }
.arrow-link:hover { color: var(--blue); text-decoration: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.28rem; color: var(--navy); text-decoration: none !important; letter-spacing: -0.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--navy); position: relative; overflow: hidden; flex-shrink: 0; }
.logo-mark::before { content: ""; position: absolute; inset: 8px 8px 8px 8px; border: 3.5px solid var(--white); border-right-color: transparent; border-radius: 50%; }
.logo-mark::after { content: ""; position: absolute; right: 5px; top: 13px; width: 8px; height: 8px; background: var(--blue); border-radius: 2px; }
.logo small { font-weight: 600; font-size: .72rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; margin-left: 2px; align-self: center; padding-top: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--text); font-weight: 600; font-size: .92rem; padding: 8px 12px; border-radius: 6px; text-decoration: none; position: relative; }
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav .nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 10px; }
.nav .nav-phone { color: var(--navy); font-weight: 700; }
.nav .btn { margin-left: 6px; padding: 11px 18px; }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; }
@media (max-width: 1200px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 16px 20px; gap: 0; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav a { padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a.active::after { display: none; }
  .nav .nav-sep { display: none; }
  .nav .btn { margin: 18px 0 0; border-bottom: 0; }
}

/* Home hero */
.hero { padding: 72px 0 64px; background: var(--white); position: relative; }
.hero::after { content: ""; position: absolute; right: 0; top: 0; width: 42%; height: 100%; background: var(--panel); z-index: 0; border-bottom-left-radius: 48px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 620px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { font-size: 1.18rem; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-row div { display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.trust-row .ic { width: 34px; height: 34px; border-radius: 8px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.stars { color: #f5a623; letter-spacing: 1px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero::after { display: none; } .hero { padding: 48px 0; } }

/* Finder widget */
.finder { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 28px; }
.finder h3 { margin-bottom: 4px; }
.finder .seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--panel); border-radius: 10px; padding: 4px; margin: 18px 0; }
.finder .seg input { position: absolute; opacity: 0; pointer-events: none; }
.finder .seg label { text-align: center; padding: 10px 6px; border-radius: 7px; font-weight: 700; font-size: .88rem; cursor: pointer; color: var(--muted); }
.finder .seg input:checked + label { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.finder .field { margin-bottom: 14px; }
.finder .car-art { background: var(--panel); border-radius: 12px; padding: 14px 20px 6px; margin-bottom: 18px; }
.finder-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; font-size: .85rem; color: var(--muted); }

/* Brand strip */
.brand-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.brand-strip .container { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: space-between; }
.brand-strip .label { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.brand-list { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.brand-list a { color: var(--ink); font-weight: 700; font-size: .95rem; opacity: .55; transition: opacity .15s; }
.brand-list a:hover { opacity: 1; color: var(--blue); text-decoration: none; }

/* Grids & cards */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .18s, box-shadow .18s; }
.card:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.card.flat:hover { box-shadow: none; border-color: var(--line); }
.icon-circle { width: 46px; height: 46px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 8px 0 20px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 9px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 17px; height: 17px; border-radius: 5px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/11px no-repeat; }

/* Services tiles */
.service { display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted); flex: 1; }
.service .arrow-link { margin-top: 8px; }
.service:hover .arrow-link { color: var(--blue); }
.service.feature { background: var(--navy); border-color: var(--navy); }
.service.feature h3 { color: var(--white); }
.service.feature p { color: #cbd5f5; }
.service.feature .icon-circle { background: rgba(255,255,255,.12); color: var(--white); }
.service.feature .arrow-link { color: var(--white); }

/* Process (horizontal timeline) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: p; }
.process::before { content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px); }
.process .p-step { position: relative; }
.process .p-num { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue); color: var(--blue); display: grid; place-items: center; font-weight: 800; margin-bottom: 18px; position: relative; }
.process .p-step:first-child .p-num { background: var(--blue); color: var(--white); }
.process h3 { font-size: 1.08rem; }
.process p { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .process { grid-template-columns: 1fr 1fr; } .process::before { display: none; } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* Tabs for offers */
.seg-tabs { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 4px; gap: 2px; flex-wrap: wrap; }
.seg-tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 7px; font-family: inherit; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; }
.seg-tabs button.active { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }

/* Deal cards */
.deal-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; color: inherit; text-decoration: none !important; }
.deal-card .car-art { background: var(--panel); padding: 26px 18px 10px; position: relative; border-bottom: 1px solid var(--line); }
.deal-card .tag { position: absolute; top: 12px; right: 12px; background: var(--white); color: var(--navy); border: 1px solid var(--line); font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.deal-card .tag.finance { color: var(--blue); }
.deal-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.deal-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.deal-body .make { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.deal-body h3 { margin: 3px 0 0; font-size: 1.05rem; }
.price { font-size: 1.9rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; white-space: nowrap; }
.price small { font-size: .85rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.deal-top .price { font-size: 1.5rem; text-align: right; }
.deal-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.deal-meta span { font-size: .78rem; color: var(--text); background: var(--panel); border: 1px solid var(--line); padding: 4px 9px; border-radius: 6px; }
.deal-meta b { color: var(--ink); }
.deal-body .view { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--navy); font-size: .9rem; display: flex; justify-content: space-between; }
.deal-card:hover .view { color: var(--blue); }

/* Stats (inline, light) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat { padding: 28px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.stat .label { color: var(--muted); margin-top: 8px; font-weight: 600; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* Testimonial slider */
.quote-slider { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.quote-slider .big-rating { font-size: 4.2rem; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -0.04em; }
.q-stage { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 40px; min-height: 280px; }
.q-stage blockquote { margin: 0; font-size: 1.28rem; line-height: 1.55; color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.q-stage .q-mark { font-size: 4rem; line-height: .6; color: var(--blue); font-weight: 800; margin-bottom: 14px; display: block; }
.q-who { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.q-who .person { display: flex; align-items: center; gap: 12px; }
.q-who b { color: var(--ink); display: block; }
.q-who span { font-size: .88rem; color: var(--muted); }
.q-dots { display: flex; gap: 6px; }
.q-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: var(--line-strong); cursor: pointer; padding: 0; }
.q-dots button.active { background: var(--blue); width: 24px; border-radius: 5px; }
.q-fade { animation: qfade .4s ease; }
@keyframes qfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 880px) { .quote-slider { grid-template-columns: 1fr; gap: 28px; } .q-stage { padding: 28px; } .q-stage blockquote { font-size: 1.1rem; } }

/* Review cards (reviews page) */
.review-card { display: flex; flex-direction: column; gap: 12px; }
.review-card .quote { color: var(--ink); flex: 1; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 10px; background: var(--blue-50); color: var(--navy); font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.review-card .who b { display: block; color: var(--ink); }
.review-card .who span { font-size: .85rem; color: var(--muted); }

/* Steps (vertical lists on inner pages) */
.step .num { width: 44px; height: 44px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; margin-bottom: 14px; }
.step-list { display: flex; flex-direction: column; gap: 18px; }
.step-row { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.step-row .num { margin: 0; }

/* Insights list */
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none !important; }
.post-row .cat { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.post-row .date { font-size: .85rem; color: var(--muted); }
.post-row h3 { margin: 0 0 6px; font-size: 1.2rem; transition: color .15s; }
.post-row p { margin: 0; color: var(--muted); }
.post-row .go { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--navy); transition: .15s; }
.post-row:hover h3 { color: var(--blue); }
.post-row:hover .go { background: var(--blue); border-color: var(--blue); color: var(--white); }
@media (max-width: 700px) { .post-row { grid-template-columns: 1fr; gap: 8px; } .post-row .go { display: none; } }
.article { max-width: 740px; margin: 0 auto; }
.article h2 { font-size: 1.5rem; margin-top: 1.7em; }
.article p, .article li { font-size: 1.08rem; color: var(--text); }
.article .cover { display: none; }

/* Inner page hero — white */
.page-hero { background: var(--white); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 820px; }
.page-hero .lead { margin-bottom: 0; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue); }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 34px; box-shadow: var(--shadow); }
@media (max-width: 640px) { .form-card { padding: 22px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; color: var(--ink); }
.field label .opt { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 116px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(2,89,252,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); font-weight: 500 !important; }
.checkbox input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; }
.radio-cards label { border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); padding: 12px; cursor: pointer; text-align: center; font-weight: 700; color: var(--ink); transition: .15s; margin: 0; }
.radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.radio-cards input:checked + label { border-color: var(--blue); background: var(--blue-50); color: var(--blue); }
.radio-cards input:focus-visible + label { box-shadow: 0 0 0 4px rgba(2,89,252,.2); }
.form-success { text-align: center; padding: 16px 0; }
.form-success .icon { width: 68px; height: 68px; border-radius: 16px; background: #e8f7ef; color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.ref-code { display: inline-block; font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; font-weight: 700; color: var(--navy); background: var(--blue-50); border: 1px dashed var(--blue); padding: 10px 18px; border-radius: 8px; letter-spacing: .08em; margin: 8px 0 16px; }
.form-error { background: #fdecea; color: var(--danger); padding: 12px 16px; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 16px; }
.stepper { display: flex; gap: 8px; margin-bottom: 26px; }
.stepper .bar { flex: 1; height: 5px; border-radius: 99px; background: var(--line); transition: background .3s; }
.stepper .bar.done { background: var(--blue); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.secure-note { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-top: 16px; }

/* Chips (filters) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-strong); color: var(--ink); background: var(--white); font-weight: 600; font-size: .87rem; text-decoration: none !important; transition: .15s; cursor: pointer; font-family: inherit; }
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* Specials filters */
.filters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 860px) { .filters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .filters { grid-template-columns: 1fr; } }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 22px; flex-wrap: wrap; gap: 12px; }
.empty-state { text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }

/* Deal detail */
.deal-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .deal-detail { grid-template-columns: 1fr; } }
.deal-hero-art { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 44px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.spec-table td { padding: 13px 0; border-bottom: 1px solid var(--line); }
.spec-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.sticky-card { position: sticky; top: 100px; }
.calc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin-top: 20px; }
.calc .row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .95rem; }
.calc input[type=range] { width: 100%; accent-color: var(--blue); }

/* Tracker */
.timeline { list-style: none; padding: 0; margin: 28px 0 0; }
.timeline li { position: relative; padding: 0 0 26px 48px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--line); display: grid; place-items: center; color: var(--white); font-size: .8rem; font-weight: 800; }
.timeline li.done .dot { background: var(--success); }
.timeline li.current .dot { background: var(--blue); box-shadow: 0 0 0 6px rgba(2,89,252,.15); }
.timeline li.done::before { background: var(--success); }
.timeline h4 { margin: 4px 0 2px; font-size: 1.02rem; }
.timeline li:not(.done):not(.current) h4 { color: var(--muted); }

/* FAQ — two column */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: 1fr; gap: 24px; } }
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.04rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .2s; flex-shrink: 0; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Compare */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--panel); color: var(--ink); font-size: .9rem; }
.compare thead th.us { color: var(--blue); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td.us { font-weight: 700; color: var(--navy); background: var(--blue-50); }
.table-wrap { overflow-x: auto; }

/* Legal tabs */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.tab-btn { background: none; border: 0; padding: 14px 16px; font-weight: 700; font-size: .98rem; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; font-family: inherit; margin-bottom: -1px; }
.tab-btn.active { color: var(--navy); border-bottom-color: var(--blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* CTA band — light */
.cta-band { background: var(--blue-50); border: 1px solid var(--blue-100); border-radius: 20px; padding: 48px 52px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.cta-band p { color: var(--muted); margin: 0; }
@media (max-width: 640px) { .cta-band { padding: 32px 24px; } }

/* Footer — light */
.site-footer { background: var(--panel); border-top: 1px solid var(--line); color: var(--text); padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--blue); }
.site-footer h4 { color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
@media (max-width: 900px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }
.footer-main ul { list-style: none; padding: 0; margin: 0; }
.footer-main li { margin-bottom: 9px; }
.newsletter { margin-top: 20px; }
.newsletter form { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 180px; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-strong); background: var(--white); color: var(--ink); font-family: inherit; font-size: .92rem; }
.newsletter input:focus { outline: none; border-color: var(--blue); }
.newsletter .msg { width: 100%; font-size: .86rem; }
.hours td { padding: 3px 14px 3px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: .83rem; color: var(--muted); }

/* Toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--ink); color: var(--white); padding: 13px 20px; border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 100; transition: transform .3s ease, visibility .3s; font-weight: 600; visibility: hidden; }
.toast.show { transform: translateX(-50%) translateY(0); visibility: visible; }

/* Carousel (reviews page) */
.carousel-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 16px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 270px; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--white); cursor: pointer; display: grid; place-items: center; color: var(--navy); font-size: 1.3rem; }
.carousel-btn:hover { border-color: var(--navy); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head > div { max-width: 680px; }
.section-head h2 { margin-bottom: 0; }
.section-head .lead { margin: 10px 0 0; }
.delivered-card { padding: 0; overflow: hidden; }
.delivered-card .car-art { background: var(--panel); padding: 16px; }
.delivered-card .info { padding: 14px 18px 18px; }
.delivered-card .loc { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }

/* Admin */
.admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.admin-table th, .admin-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.admin-table th { background: var(--panel); color: var(--ink); position: sticky; top: 0; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: .74rem; font-weight: 700; background: var(--blue-50); color: var(--blue); text-transform: uppercase; letter-spacing: .05em; }
.admin-table pre { margin: 0; white-space: pre-wrap; font-size: .8rem; max-width: 420px; font-family: inherit; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Let grid children shrink below content width */
.grid > *, .split > *, .hero-grid > *, .deal-detail > *, .quote-slider > *, .faq-wrap > *, .footer-main > * { min-width: 0; }
.radio-cards input, .finder .seg input { width: 1px !important; height: 1px; padding: 0; }
.nav a.btn, .nav a.btn:hover { color: var(--white); }

/* Brand logo */
.logo-img { height: 38px; width: auto; display: block; }
.site-footer .logo-img { height: 34px; }
@media (max-width: 520px) { .logo-img { height: 30px; } }

/* Placeholders — anything in [brackets] is highlighted so it's easy to find and replace */
.ph { background: #fff4c2; color: #6b4e00; outline: 1px dashed #e0a800; border-radius: 4px; padding: 0 .25em; }
.ph-block { border: 2px dashed #e0a800; background: #fffbea; border-radius: var(--radius); padding: 28px; color: #6b4e00; }
.ph-block h3 { color: #6b4e00; }

/* Map */
.map-frame { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius); display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list b { display: block; color: var(--ink); font-size: .85rem; }
.nav a { white-space: nowrap; }

/* ---------- Navigation with dropdowns ---------- */
.nav { gap: 4px; }
.nav-group { position: relative; }
.nav-trigger { background: none; border: 0; font: inherit; font-weight: 600; font-size: .92rem; color: var(--text); padding: 8px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; position: relative; border-radius: 6px; white-space: nowrap; }
.nav-trigger:hover, .nav-group.open .nav-trigger { color: var(--navy); }
.nav-trigger.active { color: var(--navy); }
.nav-trigger.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px; }
.nav-trigger .caret { transition: transform .18s ease; }
.nav-group.open .caret { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 6px); min-width: 310px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transition: opacity .16s ease, transform .16s ease, visibility .16s; z-index: 60; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group.open .nav-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav .nav-menu a { display: block; padding: 11px 14px; border-radius: 10px; white-space: normal; color: var(--text); border-bottom: 0; }
.nav .nav-menu a b { display: block; color: var(--ink); font-size: .93rem; font-weight: 700; }
.nav .nav-menu a span { display: block; color: var(--muted); font-size: .82rem; font-weight: 500; line-height: 1.4; margin-top: 2px; }
.nav .nav-menu a:hover, .nav .nav-menu a.current { background: var(--panel); text-decoration: none; }
.nav .nav-menu a:hover b, .nav .nav-menu a.current b { color: var(--blue); }
.nav .nav-cta { margin-left: 10px; gap: 8px; }
.nav .nav-cta svg { flex-shrink: 0; }

@media (max-width: 1200px) {
  .nav-group { width: 100%; }
  .nav-trigger { width: 100%; justify-content: space-between; padding: 15px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-trigger.active::after { display: none; }
  .nav-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; border-radius: 0; min-width: 0; padding: 4px 0 10px 8px; display: none; transition: none; }
  .nav-menu::before { display: none; }
  .nav-group.open .nav-menu { display: block; transform: none; }
  .nav .nav-cta { margin: 18px 0 0; }
}

/* Mobile menu: backdrop-filter on the header would trap the fixed panel inside the header's box */
@media (max-width: 1200px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--white); }
  .nav { top: 76px; bottom: auto; height: calc(100vh - 76px); height: calc(100dvh - 76px); box-shadow: 0 12px 24px rgba(15, 23, 51, .06); }
}

/* Combined logo: CA mark | wordmark */
.logo { gap: 12px; }
.logo-mark-img { height: 34px; width: auto; display: block; }
.logo-divider { width: 1px; height: 27px; background: var(--line-strong); flex-shrink: 0; }
.logo-word { height: 24px; width: auto; display: block; }
@media (max-width: 520px) {
  .logo { gap: 10px; }
  .logo-mark-img { height: 30px; }
  .logo-divider { height: 24px; }
  .logo-word { height: 20px; }
}

/* Spam-check widget slot (usually invisible) */
.ts-slot { margin-top: 12px; }
.ts-slot:empty { display: none; }
