/* Primeline Auto Body — clean, light, trustworthy */
:root {
  --navy: #0b2a4a;
  --navy-soft: #133a61;
  --blue: #1565d8;
  --blue-dark: #0f4fb0;
  --blue-tint: #eaf2fe;
  --green: #1f9d57;
  --amber: #f5a623;
  --gold: #b8965a;
  --ink: #16202b;
  --muted: #5b6b7b;
  --line: #e4e9ef;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16,32,48,.06), 0 2px 8px rgba(16,32,48,.05);
  --shadow-md: 0 8px 24px rgba(11,42,74,.10);
  --shadow-lg: 0 24px 60px rgba(11,42,74,.16);
  --maxw: 1160px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head p { font-size: 1.08rem; margin-top: 14px; }
.bg-soft { background: var(--bg-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap; font-family: inherit;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(21,101,216,.32); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(21,101,216,.4); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-cta-mobile { display: none; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--navy); font-size: 1.18rem; letter-spacing: -.02em; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

/* Wordmark logo */
.wordmark { flex-direction: column; align-items: center; gap: 3px; line-height: 1; }
.wm-main { font-family: "Playfair Display", Georgia, serif; font-weight: 800; font-size: 1.5rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.wm-div { display: none; position: relative; width: 100%; height: 7px; }
.wm-div::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1.5px; background: var(--gold); }
.wm-div::after { content: ""; position: absolute; top: 50%; left: 50%; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); transform: translate(-50%, -50%); box-shadow: 0 0 0 3px #fff; }
.wm-sub { display: none; font-size: .62rem; font-weight: 700; letter-spacing: .42em; text-transform: uppercase;
  color: var(--navy); padding-left: .42em; }
.site-footer .wm-main, .site-footer .wm-sub { color: #fff; }
.site-footer .wm-div::after { box-shadow: 0 0 0 3px var(--navy); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* Hero */
.hero { position: relative; padding: 92px 0 84px; background:
  radial-gradient(1200px 500px at 80% -10%, rgba(21,101,216,.10), transparent 60%),
  linear-gradient(180deg, var(--bg-soft), #fff); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-trust { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 22px; font-weight: 600; font-size: .92rem; color: var(--navy); }
.stars { color: var(--amber); letter-spacing: 2px; font-size: .95rem; }
.hero h1 { color: var(--navy); margin-bottom: 18px; }
.hero h1 span { color: var(--blue); }
.hero-lead { font-size: 1.18rem; max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-points li { list-style: none; display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--navy); font-size: .96rem; }
.hero-points .ic { color: var(--green); flex: none; }
.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); }
.hero-card .photo { aspect-ratio: 5/6; background:
  linear-gradient(135deg, var(--navy), var(--blue) 130%); position: relative; display: grid; place-items: center; color: #fff; text-align: center; }
.hero-card .photo svg { width: 88px; height: 88px; opacity: .9; }
.hero-card .photo .ph-label { position: absolute; bottom: 14px; left: 0; right: 0; font-size: .8rem; opacity: .8; }
.hero-badge { position: absolute; bottom: 16px; left: 16px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 16px 20px; display: inline-flex; align-items: center; gap: 14px; border: 1px solid var(--line); }
.hero-badge .num { font-size: 1.7rem; font-weight: 800; color: var(--navy); }
.hero-badge .lbl { font-size: .82rem; color: var(--muted); font-weight: 600; line-height: 1.3; }

/* Logos / trust bar */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trustbar .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.trustbar .ti { display: flex; align-items: center; gap: 12px; }
.trustbar .ti svg { color: var(--blue); flex: none; }
.trustbar .ti strong { display: block; color: var(--navy); font-size: 1rem; }
.trustbar .ti span { font-size: .85rem; color: var(--muted); }

/* Services grid */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cfe0f7; }
.card .ic-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-tint); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .98rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .92rem; color: var(--blue); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step .n { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 16px; font-size: 1rem; }
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: .92rem; }

/* Why / split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { list-style: none; margin-top: 26px; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .ic { width: 30px; height: 30px; border-radius: 8px; background: #e7f6ee; color: var(--green); display: grid; place-items: center; flex: none; margin-top: 2px; }
.feature-list strong { display: block; color: var(--navy); font-size: 1.05rem; }
.feature-list span { font-size: .96rem; color: var(--muted); }
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line);
  aspect-ratio: 5/4; background: linear-gradient(135deg, #16314f, #1565d8 140%); display: grid; place-items: center; color: #fff; text-align: center; padding: 30px; }
.media-card svg { width: 80px; height: 80px; opacity: .92; margin-bottom: 12px; }
.media-card .ph-label { font-size: .82rem; opacity: .8; }
.media-card { position: relative; }
.media-card img, .hero-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-card .photo img { object-position: center bottom; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.review .stars { font-size: 1.05rem; margin-bottom: 14px; }
.review p { color: var(--ink); font-size: 1.02rem; margin-bottom: 18px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .av { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; font-weight: 800; }
.review .who strong { color: var(--navy); font-size: .98rem; display: block; }
.review .who span { font-size: .82rem; color: var(--muted); }
.rating-summary { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 44px; flex-wrap: wrap; }
.rating-summary .big { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: #fff; border-radius: 26px; padding: 56px; text-align: center;
  position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 300px at 85% 0%, rgba(21,101,216,.4), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.12rem; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page hero (subpages) */
.page-hero { background: linear-gradient(180deg, var(--bg-soft), #fff); padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero .container { text-align: center; }
.page-hero h1 { color: var(--navy); }
.page-hero p { font-size: 1.12rem; max-width: 620px; margin: 16px auto 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.4fr .9fr; gap: 44px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card .sub { margin-bottom: 26px; font-size: .98rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; color: var(--navy); font-size: .92rem; margin-bottom: 7px; }
.field .req { color: #d4452f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px; font-size: 1rem;
  font-family: inherit; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,101,216,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.dropzone { border: 2px dashed #c7d6e8; border-radius: 12px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; transition: .15s; background: var(--bg-soft); }
.dropzone:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.dropzone svg { margin: 0 auto 8px; color: var(--blue); }
.file-list { margin-top: 12px; display: grid; gap: 8px; }
.file-list .f { display: flex; align-items: center; justify-content: space-between; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: .88rem; }
.file-list .f button { background: none; border: 0; color: #d4452f; cursor: pointer; font-weight: 700; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-error { margin-top: 16px; padding: 13px 16px; border-radius: 11px; background: #fdecea; border: 1px solid #f3c2bb; color: #b3331f; font-size: .92rem; font-weight: 600; text-align: center; }
.form-error a { color: #b3331f; text-decoration: underline; }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .ck { width: 64px; height: 64px; border-radius: 50%; background: #e7f6ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 8px; }

.aside-card { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 30px; }
.aside-card h3 { color: #fff; margin-bottom: 16px; }
.aside-card .row { display: flex; gap: 13px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.aside-card .row:last-child { border-bottom: 0; }
.aside-card .row svg { color: #7fb3ff; flex: none; margin-top: 2px; }
.aside-card .row strong { display: block; font-size: .98rem; }
.aside-card .row span, .aside-card .row a { color: rgba(255,255,255,.78); font-size: .92rem; }
.aside-card .row a { color: #9cc6ff; }

/* Tabs (estimate page) */
.tabs { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin-bottom: 26px; }
.tabs button { border: 0; background: none; font-family: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); padding: 10px 22px; border-radius: 999px; cursor: pointer; transition: .15s; }
.tabs button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Services detail */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-block:nth-child(even) .svc-text { order: 2; }
.svc-block:last-child { border-bottom: 0; }
.svc-text .ic-wrap { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.svc-text ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.svc-text ul li { display: flex; gap: 10px; align-items: center; color: var(--ink); font-weight: 600; font-size: .96rem; }
.svc-text ul .ic { color: var(--green); flex: none; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: 0; font-family: inherit; font-weight: 700; color: var(--navy);
  font-size: 1.05rem; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .pl { color: var(--blue); font-size: 1.4rem; transition: transform .2s; flex: none; }
.faq-item.open .faq-q .pl { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 22px 20px; }

/* Contact */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.hours-table tr.today td { color: var(--blue); }
.hours-table tr.today td:last-child { color: var(--blue); }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.site-footer .brand { color: #fff; margin-bottom: 16px; }
.site-footer .brand small { color: rgba(255,255,255,.6); }
.site-footer p { color: rgba(255,255,255,.66); font-size: .94rem; max-width: 280px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-col .row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .94rem; }
.footer-col .row svg { color: #7fb3ff; flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: rgba(255,255,255,.55); }

/* Floating call (mobile) */
.fab-call { display: none; position: fixed; bottom: 18px; right: 18px; z-index: 90; background: var(--green);
  color: #fff; width: 58px; height: 58px; border-radius: 50%; place-items: center; box-shadow: 0 10px 26px rgba(31,157,87,.5); }

/* Reveal animation — only hide when JS is active (progressive enhancement) */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Before / after work gallery */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ba { --pos: 50%; position: relative; aspect-ratio: 3/2; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); user-select: none; touch-action: none; cursor: ew-resize; background: #0b2a4a; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba .ba-divider { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.ba .ba-knob { position: absolute; top: 50%; left: var(--pos); width: 40px; height: 40px; border-radius: 50%;
  background: #fff; transform: translate(-50%,-50%); box-shadow: var(--shadow-md); display: grid; place-items: center; color: var(--navy); pointer-events: none; }
.ba .tag { position: absolute; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #fff; pointer-events: none; }
.ba .tag-before { left: 12px; background: rgba(11,42,74,.82); }
.ba .tag-after { right: 12px; background: rgba(21,101,216,.9); }
.work-cap { text-align: center; font-size: .9rem; color: var(--muted); margin-top: 22px; }

/* Our Work carousel */
.carousel { max-width: 860px; margin: 0 auto; }
.car-frame { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.car-track { display: flex; height: 100%; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.car-track .slide { flex: 0 0 100%; width: 100%; height: 100%; min-height: 0; margin: 0; }
.car-track .slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.95); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; place-items: center; cursor: pointer; color: var(--navy); z-index: 3; font-size: 1.7rem; line-height: 1; transition: background .2s ease; }
.car-btn:hover { background: #fff; border-color: var(--blue); color: var(--blue); }
.car-prev { left: 14px; } .car-next { right: 14px; }
.car-cap { text-align: center; margin-top: 18px; font-weight: 700; color: var(--navy); font-size: 1rem; }
.car-cap .cap-tag { display: none; margin-left: 10px; padding: 3px 11px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.car-cap .cap-tag.show { display: inline-block; }
.dots { display: flex; gap: 9px; justify-content: center; margin-top: 16px; }
.dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); border: 0; padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.dots .dot.active { background: var(--blue); transform: scale(1.25); }

/* Before / after pair cards (real composite photos) */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.ba-card { margin: 0; }
.ba-card img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.ba-card figcaption { margin-top: 12px; font-weight: 700; color: var(--navy); font-size: .98rem; text-align: center; }
.ba-card figcaption span { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--blue-tint); color: var(--blue); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }

/* Our Work gallery */
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-item { position: relative; margin: 0; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.work-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.work-item:hover img { transform: scale(1.05); }
.work-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: .01em; background: linear-gradient(to top, rgba(11,42,74,.88), rgba(11,42,74,0)); }

/* Insurance carriers strip */
.insurer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.insurer { display: flex; align-items: center; justify-content: center; min-height: 92px; padding: 18px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease; }
.insurer-logo { max-height: 42px; max-width: 78%; object-fit: contain; }
.insurer-name { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; color: #8a93a3; text-align: center; filter: grayscale(1); transition: color .2s ease; }
.insurer:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-md); }
.insurer:hover .insurer-name { color: var(--navy); }
.insurer-note { margin-top: 22px; text-align: center; font-size: .85rem; color: var(--muted); }

/* Footer resource links */
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }

/* Gallery lightbox */
.lightbox { display: none; position: fixed; inset: 0; z-index: 300; background: rgba(11,42,74,.93); place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lb-close { position: absolute; top: 14px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* Accessibility */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Google reviews CTA */
.gbadge { display: inline-flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-sm); font-weight: 700; color: var(--navy); transition: box-shadow .2s, transform .15s; }
.gbadge:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gbadge .g { font-size: 1.25rem; font-weight: 800; }
.gbadge .gstars { color: #f5a623; letter-spacing: 1px; }
.rating-summary .gbadge { margin-left: 4px; }

/* Open-now status badge */
.open-status { display: none; align-items: center; gap: 7px; font-size: .82rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.open-status.is-open, .open-status.is-closed { display: inline-flex; }
.open-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.open-status.is-open { color: var(--green); background: #e7f6ee; }
.open-status.is-closed { color: #a23a3a; background: #fbe9e9; }

/* Responsive */
@media (max-width: 940px) {
  .hero-grid, .split, .form-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-gallery { grid-template-columns: repeat(3, 1fr); }
  .ba-pair { grid-template-columns: 1fr; }
  .cards, .reviews { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .svc-block { grid-template-columns: 1fr; gap: 28px; }
  .svc-block:nth-child(even) .svc-text { order: 0; }
}
@media (max-width: 720px) {
  section { padding: 60px 0; }
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links { display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 71px; left: 0; right: 0; background: #fff; padding: 6px 24px 18px; gap: 0;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .site-header.open .nav-links li { width: 100%; }
  .site-header.open .nav-links a { display: block; width: 100%; text-align: left; padding: 15px 2px;
    font-weight: 600; font-size: 1.05rem; color: var(--navy); border-bottom: 1px solid var(--line); }
  .site-header.open .nav-links li:not(.nav-cta-mobile):last-child a { border-bottom: none; }
  .site-header.open .nav-cta-mobile { display: block; margin-top: 14px; }
  .site-header.open .nav-cta-mobile a { display: flex; width: 100%; justify-content: center; border-bottom: none; color: #fff; }
  .cards, .reviews, .steps, .footer-grid { grid-template-columns: 1fr; }
  .insurer-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .fab-call { display: grid; }
  .hero { padding: 56px 0; }
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .brand small { display: none; }
}
@media (max-width: 560px) {
  .nav-cta .btn { display: none; }
}
