/* ============================================================
   SOPHIX INSURANCE AGENCY — design system
   Flat design: borders, colour blocks, type scale. No gradients,
   no shadows. Mobile-first at 360px, enhanced upward.
   ============================================================ */

:root {
  /* brand palette — one role per colour */
  --blue: #012F87;          /* brand, headings, structure */
  --blue-dark: #0A2463;     /* deep navy blocks */
  --tint: #F0F5FC;          /* alternating section background */
  --orange: #ED530D;        /* large shapes, icons, stripes */
  --action: #C2410C;        /* primary action — AA with white text */
  --action-dark: #9A340A;   /* action pressed */
  --ink: #222222;           /* body text */
  --ink-soft: #4A5468;      /* secondary text */
  --line: #CFDCEF;          /* borders */
  --white: #FFFFFF;

  /* image slot aspect ratios — adjust to supplied assets */
  --ar-hero: 4/3;
  --ar-car: 4/3;
  --ar-fleet: 4/3;
  --ar-post: 16/9;
  --ar-about: 4/3;

  --radius: 6px;
  --radius-btn: 5px;
  --radius-chip: 3px;
  --wa-green: #25D366;
  --tap: 44px;              /* minimum touch target */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;      /* clip (unlike hidden) doesn't break position:sticky */
}
img { max-width: 100%; display: block; }
svg { width: 1.25em; height: 1.25em; vertical-align: -0.2em; flex: none; }
h1, h2, h3 { color: var(--blue); line-height: 1.2; margin: 0 0 12px; text-wrap: balance; }
h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 16px; max-width: 72ch; }
a { color: var(--action); text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
a:hover { text-decoration: none; }
ul, ol { padding-left: 22px; }
code { background: var(--tint); padding: 1px 6px; border-radius: var(--radius-chip); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 76ch; }
.center { text-align: center; }
.center-cta { justify-content: center; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 16px;
  border-radius: var(--radius-btn); transition: top .15s;
}
.skip-link:focus { top: 8px; }

/* ---- signature: brand stripes + emblem ----------------------- */
.brand-stripes {
  height: 6px;
  background: var(--blue);
  border-bottom: 3px solid var(--orange);
}

/* ---- header -------------------------------------------------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding-top: 6px; padding-bottom: 6px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--blue);
}
.brand-logo { height: 42px; width: auto; max-width: 62vw; object-fit: contain; }
.brand-name {
  display: flex;
  font-weight: 800; font-size: 1.15rem; letter-spacing: 0.02em;
  line-height: 1.05; flex-direction: column;
}
.brand-name small {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em;
  color: var(--action); text-transform: uppercase;
}
.main-nav { display: none; }
.main-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 8px 12px; color: var(--blue); font-weight: 600;
  text-decoration: none; border-bottom: 3px solid transparent;
}
.main-nav a:hover { color: var(--action); }
.main-nav a[aria-current="page"] { color: var(--action); border-bottom-color: var(--orange); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none; align-items: center; gap: 6px;
  color: var(--blue); font-weight: 700; text-decoration: none;
  min-height: 44px; padding: 6px;
}
.nav-toggle {
  display: grid; place-items: center;
  width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--white); border-radius: var(--radius-btn); cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--blue); }
.main-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%; z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
/* mobile menu: full-width hairline-separated rows, 44px tap targets */
.main-nav.is-open a {
  display: flex; align-items: center; min-height: var(--tap);
  padding: 10px 20px; font-size: 1.02rem;
  border-bottom: 1px solid var(--tint);
}
.main-nav.is-open a:last-child { border-bottom-color: transparent; }
.main-nav.is-open a[aria-current="page"] {
  color: var(--action); border-bottom-color: var(--tint);
  background: var(--tint);
}
.site-header { position: sticky; top: 0; z-index: 100; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

/* ---- buttons ------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: var(--tap); padding: 10px 20px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  text-decoration: none; border-radius: var(--radius-btn); cursor: pointer;
  border: 2px solid transparent; text-align: center;
}
.btn svg { width: 20px; height: 20px; }
.btn-action { background: var(--action); color: #fff; border-color: var(--action); }
.btn-action:hover { background: var(--action-dark); border-color: var(--action-dark); }
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--tint); }
.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.btn-wa { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-wa:hover { background: var(--blue-dark); }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-danger { background: var(--white); color: #B42318; border-color: #B42318; }
.btn-danger:hover { background: #FDF3F2; }

/* ---- image slots --------------------------------------------- */
.img-slot {
  position: relative; overflow: hidden;
  aspect-ratio: var(--ar, 4/3);
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.img-slot::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 22%; aspect-ratio: 1;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Cpath fill='%23012F87' fill-opacity='.18' d='M36 10C22.7 10 12 18.5 9 30c4-3.4 8.6-3.4 13-.6 3.4-2.8 8.6-2.8 12 0 3.4-2.8 8.6-2.8 12 0 4.4-2.8 9-2.8 13 .6C66 18.5 49.3 10 36 10z'/%3E%3Cpath fill='none' stroke='%23012F87' stroke-opacity='.18' stroke-width='4' stroke-linecap='round' d='M14 44a24 24 0 0 0 15 15M58 44a24 24 0 0 1-15 15'/%3E%3Ccircle cx='24' cy='38' r='4' fill='%23ED530D' fill-opacity='.25'/%3E%3Cpath fill='none' stroke='%23ED530D' stroke-opacity='.25' stroke-width='6' stroke-linecap='round' stroke-linejoin='round' d='M26 50l8 9 16-20'/%3E%3C/svg%3E");
}
.img-slot img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
}

/* ---- hero ---------------------------------------------------- */
.hero {
  background: var(--blue); color: #fff;
  padding: 40px 0 48px;
}
.hero h1 { color: #fff; font-size: 2rem; }
.hero-kicker {
  color: var(--tint); font-weight: 600; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px;
}
.hero-sub { font-size: 1.12rem; color: var(--tint); margin-bottom: 24px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.hero-points svg { color: var(--orange); margin-top: 4px; width: 18px; height: 18px; }
.hero-copy { max-width: 640px; }

/* ---- sections ------------------------------------------------- */
.section { padding: 44px 0; }
.section-tint { background: var(--tint); }
.section-blue { background: var(--blue); color: #fff; }
.section-blue .sec-title { color: #fff; }
.sec-title { margin-bottom: 20px; }
.sec-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 20px;
}
.sec-head .sec-title { margin-bottom: 0; }
.sec-more {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 700; text-decoration: none;
}
.sec-more svg { transition: transform .15s; }
.sec-more:hover svg { transform: translateX(3px); }
.page-head { padding: 32px 0 36px; border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 10px; }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.head-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* photo page-heads & hero: full-bleed image + navy scrim, white text */
.ph-media {
  position: absolute; inset: 0; background: var(--blue);
}
.ph-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--ph-pos, 50% 30%);
}
.ph-media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(1, 47, 135, .82);
}
.hero, .page-head { position: relative; overflow: hidden; }
.hero > .wrap, .page-head > .wrap { position: relative; z-index: 1; }
.page-head:has(.ph-media) { border-bottom-color: var(--blue-dark); padding: 44px 0 48px; }
.page-head:has(.ph-media) h1,
.page-head:has(.ph-media) .car-price-lg { color: #fff; }
.page-head:has(.ph-media) .lede,
.page-head:has(.ph-media) .car-sub { color: var(--tint); }
.page-head:has(.ph-media) .lede a { color: #fff; }
.page-head:has(.ph-media) .btn-ghost { color: #fff; border-color: #fff; }
.page-head:has(.ph-media) .btn-ghost:hover { background: #fff; color: var(--blue); }
.page-head:has(.ph-media) .big-tick { color: #fff; }
.page-head:has(.ph-media) .nf-code { color: rgba(255, 255, 255, .35); }
.page-head:has(.ph-media) .note { color: var(--tint); }
.page-head:has(.ph-media) .post-meta { color: var(--tint); }

/* ---- cards & grids --------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.cards-3 { display: grid; gap: 16px; grid-template-columns: 1fr; }
.svc-card {
  text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
}
.svc-card:hover { border-color: var(--blue); }
.svc-card h3 { margin-bottom: 8px; }
.svc-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--tint); margin-bottom: 14px;
}
.svc-icon svg { width: 28px; height: 28px; color: var(--blue); }
.svc-card:hover .svc-icon svg { color: var(--action); }
.card-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: auto; padding-top: 12px;
  color: var(--action); font-weight: 700;
}
.card-link svg { transition: transform .15s; }
.svc-card:hover .card-link svg { transform: translateX(3px); }

/* ---- steps ------------------------------------------------------ */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 24px; grid-template-columns: 1fr;
}
.steps li { padding-top: 4px; }
.step-icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line);
  margin-bottom: 12px;
}
.step-icon svg { width: 24px; height: 24px; color: var(--action); }
.steps-list { list-style: none; padding: 0; margin: 0; }
.steps-list li { padding: 4px 0; margin-bottom: 20px; }
.steps-list h3 { margin-bottom: 4px; }
.steps-list p { margin-bottom: 0; }

/* ---- values ------------------------------------------------------ */
.values { display: grid; gap: 24px; grid-template-columns: 1fr; }
.value h3 { color: #fff; }
.section-blue .value p { color: var(--tint); margin-bottom: 0; }
.value-tick { width: 26px; height: 26px; color: var(--orange); margin-bottom: 10px; }
.section:not(.section-blue) .value h3 { color: var(--blue); }
.section:not(.section-blue) .value p { color: var(--ink-soft); margin-bottom: 0; }

/* ---- split layouts ------------------------------------------------- */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
.split-copy > .sec-title:first-child { margin-top: 0; }
.split-side { display: flex; flex-direction: column; gap: 16px; align-self: start; }

/* ---- tick & doc lists ------------------------------------------------ */
.tick-list { list-style: none; padding: 0; margin: 0 0 16px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.tick-list svg { color: var(--action); margin-top: 5px; width: 17px; height: 17px; }
.doc-list { list-style: none; padding: 0; margin: 0 0 14px; }
.doc-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.doc-list svg { color: var(--blue); margin-top: 4px; width: 18px; height: 18px; }
.cols-2 { columns: 1; }

/* ---- car cards & listing ---------------------------------------------- */
.car-scroll {
  display: grid; gap: 16px;
  grid-auto-flow: column; grid-auto-columns: min(78%, 300px);
  overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.car-scroll .car-card { scroll-snap-align: start; }
.car-card {
  padding: 0; overflow: hidden; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column;
}
.car-card:hover { border-color: var(--blue); }
.car-card .img-slot { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.car-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.car-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.car-meta { color: var(--ink-soft); font-size: .92rem; margin-bottom: 6px; }
.car-price { color: var(--blue); font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.car-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.car-ref { color: var(--ink-soft); font-size: .85rem; }
.badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--radius-chip);
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .04em;
  background: var(--blue); color: #fff;
}
.badge-res { background: var(--action); }
.badge-sold { background: #6B7280; }
.badge-ok { background: #0E7A3D; }
.badge-new { background: var(--action); }
.badge-contacted { background: var(--blue); }
.badge-won { background: #0E7A3D; }
.badge-lost { background: #6B7280; }
.badge-confirmed { background: #0E7A3D; }
.badge-completed { background: var(--blue); }
.badge-cancelled { background: #6B7280; }
.results-count { color: var(--ink-soft); margin-bottom: 16px; }
.cars-grid { grid-auto-flow: row; }
.is-sold { opacity: .75; }

.cars-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
.filters { padding: 0; }
.filters summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; cursor: pointer; list-style: none;
}
.filters summary::-webkit-details-marker { display: none; }
.filters summary svg { transition: transform .15s; }
.filters[open] summary svg { transform: rotate(90deg); }
.filters-title { margin: 0; font-size: 1.05rem; }
.filters form { padding: 0 20px 20px; }
.filters-clear { display: inline-block; margin-top: 12px; }
.empty { text-align: center; padding: 40px 24px; }
.empty .btn { margin-top: 10px; }

/* ---- car detail -------------------------------------------------------- */
.car-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; }
.car-head-side { text-align: right; }
.car-price-lg { color: var(--blue); font-weight: 800; font-size: 1.5rem; margin-bottom: 4px; }
.car-sub { color: var(--ink-soft); margin: 0; }
.sold-note { margin-top: 20px; background: #F2F4F7; border-color: #E4E7EC; }
.car-layout { display: grid; gap: 28px; grid-template-columns: 1fr; }
.gallery-main { margin-bottom: 10px; }
.gallery-thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 90px; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius); background: none; cursor: pointer; }
.gallery-thumb .img-slot { border-radius: 6px; }
.gallery-thumb.is-active { border-color: var(--orange); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.spec-table th { color: var(--ink-soft); font-weight: 600; width: 42%; }
.enquire-card { position: sticky; top: 16px; }
.or { text-align: center; color: var(--ink-soft); font-size: .9rem; margin: 14px 0 6px; }
.or::before, .or::after { content: "—"; color: var(--line); margin: 0 8px; }
.calc { margin-top: 28px; }
.calc-grid { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
.calc-result { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin: 12px 0 0; }
.calc-per { font-size: .95rem; font-weight: 600; color: var(--ink-soft); }
.cross-link {
  margin-top: 16px; display: flex; gap: 14px; align-items: center;
  text-decoration: none; color: var(--ink);
}
.cross-link > svg:first-child { width: 30px; height: 30px; color: var(--blue); }
.cross-link h3 { margin-bottom: 2px; }
.cross-link p { margin: 0; font-size: .95rem; }
.cl-chev { margin-left: auto; color: var(--action); }
.cross-link:hover { border-color: var(--blue); }

/* ---- compare ------------------------------------------------------------ */
.compare { display: grid; gap: 16px; grid-template-columns: 1fr; }
.compare-hi { background: var(--tint); }

/* ---- use cases & fleet ---------------------------------------------------- */
.use-cases { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.use-cases h3 { margin-bottom: 6px; }
.use-cases p { margin-bottom: 0; }
.fleet-card { padding: 0; overflow: hidden; }
.fleet-card .img-slot { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }

/* ---- CTA band --------------------------------------------------------------- */
.cta-band {
  background: var(--blue); color: #fff;
  padding: 48px 0;
}
.cta-band h2 { color: #fff; font-size: 1.6rem; }
.cta-band p { color: var(--tint); }
.cta-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.cta-pill {
  display: inline-block; background: var(--orange); color: #fff;
  font-weight: 700; padding: 6px 18px; border-radius: 999px;
  margin-bottom: 16px; font-size: 1rem;
}
.cta-phones { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.cta-phones a {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none;
  min-height: 44px;
}
.cta-phones a svg { color: var(--orange); width: 22px; height: 22px; }
.cta-phones a:hover { color: var(--tint); }

/* ---- forms ------------------------------------------------------------------ */
.form .form-title, .form-title { color: var(--blue); margin-bottom: 18px; }
.form-sub { color: var(--blue); margin: 26px 0 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.form-light { background: var(--white); border-radius: var(--radius); padding: 22px; color: var(--ink); }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.fld .opt { font-weight: 400; color: var(--ink-soft); font-size: .85rem; }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  font: inherit; font-size: 16px; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-btn);
  background: var(--white);
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: 3px solid rgba(1, 47, 135, .25); outline-offset: 0;
  border-color: var(--blue);
}
.fld textarea { min-height: 96px; resize: vertical; }
.fld-row { display: grid; gap: 0 16px; grid-template-columns: 1fr 1fr; }
.fld-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.fld-consent .consent { display: flex; gap: 10px; font-weight: 400; align-items: flex-start; }
.consent input[type="checkbox"], .consent input[type="radio"] {
  width: 22px; height: 22px; min-height: 22px; margin-top: 2px; flex: none;
  accent-color: var(--action);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note { color: var(--ink-soft); font-size: .92rem; }
.error-card { background: #FDF3F2; border-color: #B4231833; }
.error-list { list-style: none; padding: 0; margin: 0 0 20px; }
.error-list li { display: flex; gap: 10px; margin-bottom: 8px; }
.error-list svg { color: #B42318; margin-top: 4px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- photo strip (chauffeur band) -------------------------------------------- */
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.photo-strip figure { margin: 0; }
.photo-strip .img-slot { --ar: 4/3; }
.photo-strip figcaption {
  margin-top: 8px; font-size: .88rem; color: var(--ink-soft);
}

/* ---- facts, callouts, hours -------------------------------------------------- */
.facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 8px; }
.facts dt { color: var(--ink-soft); font-weight: 600; }
.facts dd { margin: 0; }
.callout { background: var(--tint); border-color: var(--line); }
.callout-title { font-size: 1.05rem; }
.callout-phone {
  display: flex; align-items: center; gap: 10px;
  color: var(--blue); font-weight: 700; font-size: 1.1rem;
  text-decoration: none; min-height: 44px; padding: 4px 0;
}
.callout-phone svg { color: var(--action); width: 20px; height: 20px; }
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list strong { font-weight: 600; text-align: right; }
.contact-layout { display: grid; gap: 24px; grid-template-columns: 1fr; }
.contact-info { display: flex; flex-direction: column; gap: 16px; align-self: start; }

/* ---- faq ---------------------------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; cursor: pointer; font-weight: 600; color: var(--blue);
  list-style: none; min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: var(--action); transition: transform .15s; flex: none; }
.faq-item[open] summary svg { transform: rotate(90deg); }
.faq-item p { padding: 0 18px 16px; margin: 0; }

/* ---- posts ---------------------------------------------------------------------- */
.post-list { display: flex; flex-direction: column; gap: 12px; }
.post-row {
  display: flex; flex-direction: column; gap: 8px;
  text-decoration: none; color: var(--ink); padding: 18px 20px;
}
.post-row:hover { border-color: var(--blue); }
.post-row h3 { margin-bottom: 4px; }
.post-row p { margin: 0; }
.post-date { color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.post-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.post-card { padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.post-card:hover { border-color: var(--blue); }
.post-card .img-slot { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.post-body h2 { margin-top: 32px; }
.post-hero-img { margin-bottom: 28px; }
.post-cta { margin-top: 36px; text-align: center; }

/* ---- thank you / 404 ------------------------------------------------------------- */
.big-tick { width: 64px; height: 64px; color: #0E7A3D; margin-bottom: 16px; }
.nf-code { font-size: 4rem; font-weight: 800; color: var(--line); margin-bottom: 0; }
.nf-call { margin-top: 32px; font-weight: 600; }

/* ---- floating contact -------------------------------------------------------------- */
.float-contact {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 12px; z-index: 80;
}
.fc-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  color: #fff; text-decoration: none;
}
.fc-btn svg { width: 26px; height: 26px; }
.fc-wa { background: var(--wa-green); }
.fc-call { background: var(--blue); }
.fc-btn:hover { transform: scale(1.05); }

/* ---- reviews marquee -------------------------------------------------------------------- */
.rev-note { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.rev-viewport { overflow: hidden; }
.rev-track {
  display: flex; gap: 16px; width: max-content;
  padding: 4px 0 12px;
  animation: rev-scroll var(--rev-dur, 60s) linear infinite;
}
.rev-viewport:hover .rev-track,
.rev-viewport:focus-within .rev-track { animation-play-state: paused; }
.rev-card {
  width: 300px; flex-shrink: 0; margin: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px;
}
.rev-stars { color: var(--orange); font-size: .95rem; letter-spacing: .12em; }
.rev-text { font-size: .95rem; margin: 10px 0 14px; }
.rev-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rev-who { font-weight: 700; font-size: .9rem; }
.rev-svc {
  flex-shrink: 0; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--tint);
  padding: 4px 9px; border-radius: var(--radius-chip);
}
@keyframes rev-scroll { to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .rev-card { width: 268px; }
}
@media (prefers-reduced-motion: reduce) {
  .rev-track { animation: none; }
  .rev-viewport { overflow-x: auto; }
}

/* ---- footer ----------------------------------------------------------------------------- */
.site-footer {
  background: var(--blue); color: var(--tint);
  padding: 44px 0 0;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr; padding-bottom: 36px; }
/* dark-footer logo: white chip keeps the navy wordmark readable */
.brand-logo-footer {
  height: 56px; width: auto; display: block; object-fit: contain;
  background: var(--white); padding: 8px 14px;
  border-radius: var(--radius); margin-bottom: 14px;
}
.foot-tag { font-weight: 700; color: #fff; margin-bottom: 8px; }
.foot-line { color: var(--tint); font-size: .95rem; margin-bottom: 0; }
.foot-col h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.foot-col a, .foot-col span {
  display: flex; align-items: center; gap: 8px;
  color: var(--tint); text-decoration: none; padding: 6px 0; min-height: 40px;
}
.foot-col a:hover { color: #fff; }
.foot-col a svg { color: var(--orange); }
.foot-hours { list-style: none; padding: 0; margin: 10px 0 0; font-size: .9rem; }
.foot-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid var(--blue-dark); }
.foot-hours li:last-child { border-bottom: 0; }
.foot-legal {
  border-top: 1px solid var(--blue-dark); padding-top: 18px; padding-bottom: 20px;
}
.foot-legal p { color: var(--tint); font-size: .85rem; margin-bottom: 6px; }
.foot-legal a { color: #fff; font-weight: 600; }



/* ---- article body (rich text) ---------------------------------------------- */
.prose { font-size: 1.02rem; line-height: 1.75; }
.prose h2 { margin: 34px 0 10px; font-size: 1.4rem; }
.prose h3 { margin: 26px 0 8px; font-size: 1.18rem; }
.prose h4 { margin: 22px 0 6px; font-size: 1.05rem; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose blockquote {
  margin: 20px 0; padding: 4px 0 4px 18px;
  border-left: 3px solid var(--line); color: var(--ink-soft); font-style: italic;
}
.prose a { color: var(--action); font-weight: 600; }
.prose pre { background: var(--tint); padding: 14px; border-radius: var(--radius); overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* ---- blog pills & meta ------------------------------------------------------ */
.cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.cat-pills a {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px;
  padding: 7px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700;
  color: var(--blue); background: var(--white); border: 1px solid var(--line);
  text-decoration: none;
}
.cat-pills a span { font-size: .78rem; color: var(--ink-soft); font-weight: 700; }
.cat-pills a:hover { border-color: var(--blue); }
.cat-pills a[aria-current="page"] { background: var(--blue); color: #fff; border-color: var(--blue); }
.cat-pills a[aria-current="page"] span { color: var(--tint); }
.cat-badge {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--blue); background: var(--tint);
  padding: 3px 9px; border-radius: var(--radius-chip); text-decoration: none;
}
a.cat-badge:hover { color: var(--action); }
.post-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--ink-soft); font-size: .9rem; margin-bottom: 8px; }

/* ---- legal -------------------------------------------------------------------------------- */
.legal-body h2 { margin-top: 30px; }

/* =============================================================================
   BREAKPOINTS — 600 (large phone), 900 (tablet/laptop), 1200 (desktop), 1600 (wide)
   ============================================================================= */

@media (max-width: 600px) {
  .brand-logo { height: 34px; }
  /* keep the header lean: hero + floating buttons carry the CTAs */
  .btn-header { display: none; }
  .section { padding: 36px 0; }
  .hero { padding: 36px 0 44px; }
  .page-head { padding: 26px 0 30px; }
  .page-head:has(.ph-media) { padding: 34px 0 38px; }
  .photo-strip { grid-template-columns: 1fr 1fr; gap: 6px; }
  .photo-strip > :nth-child(3) { grid-column: 1 / -1; }

  /* paired CTAs: equal halves on one line, compact height */
  .hero-cta, .head-cta, .error-actions, .form-actions { gap: 10px; }
  .hero-cta .btn, .head-cta .btn, .error-actions .btn, .form-actions .btn {
    flex: 1 1 45%; min-width: 0; min-height: 46px;
    padding: 10px 12px; font-size: .95rem; justify-content: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .hero-cta .btn svg, .head-cta .btn svg, .error-actions .btn svg,
  .form-actions .btn svg { flex-shrink: 0; width: 18px; height: 18px; }
  /* ---- mobile card system: every horizontal layer is 6px ---------------------- */
  .wrap { padding: 0 6px; }   /* screen edge → cards: 6px, same as the card gap */

  /* grids readable at half width → two per line */
  .cards-3, .car-scroll, .use-cases, .values, .post-grid, .compare {
    grid-template-columns: 1fr 1fr; column-gap: 6px;
  }
  .car-scroll {
    grid-auto-flow: row; grid-auto-columns: auto;
    overflow-x: visible; scroll-snap-type: none; padding-bottom: 0;
  }
  /* odd-count text tiles: last item spans the row so the grid looks finished */
  .cards-3 > .svc-card:last-child:nth-child(odd),
  .values > :last-child:nth-child(odd) { grid-column: 1 / -1; }

  /* card padding → 6px horizontally */
  .svc-card, .use-cases .card, .compare .card, .car-card-body {
    padding-left: 6px; padding-right: 6px;
  }
  .values .value { padding-left: 6px; }

  /* single-column card layouts → 8px edge (6px container + 2px) */
  .wrap .card { margin-left: 2px; margin-right: 2px; }
  .cards-3 > .card, .car-scroll > .card, .use-cases > .card,
  .post-grid > .card, .compare > .card { margin-left: 0; margin-right: 0; }
  .form-light, .steps, .steps-list, .faq-list {
    margin-left: 2px; margin-right: 2px;
  }

  /* half-width tidy-ups */
  .car-card h3 { font-size: 1rem; }
  .car-price { font-size: 1.05rem; }
  .car-foot { flex-wrap: wrap; }
  .svc-icon { width: 44px; height: 44px; margin-bottom: 10px; }
  .svc-icon svg { width: 22px; height: 22px; }

  /* paired form fields stack — long options don't fit in half-width inputs */
  .fld-row { grid-template-columns: 1fr; }
}

@media (min-width: 600px) {
  h1 { font-size: 2.2rem; }
  .calc-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .values { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
  .cols-2 { columns: 2; column-gap: 32px; }
}

@media (min-width: 900px) {
  body { font-size: 17.5px; }
  h1 { font-size: 2.5rem; }
  .main-nav { display: flex; gap: 2px; }
  .main-nav.is-open { position: static; flex-direction: row; border: 0; padding: 0; }
  /* undo mobile-menu row styling if is-open persists into desktop */
  .main-nav.is-open a { padding: 8px 12px; font-size: 1rem; border-bottom: 3px solid transparent; }
  .main-nav.is-open a:last-child { border-bottom: 3px solid transparent; }
  .main-nav.is-open a[aria-current="page"] { background: none; border-bottom-color: var(--orange); }
  .nav-toggle { display: none; }
  .header-phone { display: inline-flex; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { display: grid; grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .split { grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
  .cta-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .car-scroll { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow-x: visible; }
  .car-scroll .car-card { scroll-snap-align: none; }
  .cars-layout { grid-template-columns: 280px 1fr; align-items: start; }
  .filters { position: sticky; top: 16px; }
  .filters summary { pointer-events: none; }
  .filters summary svg { display: none; }
  .car-layout { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .compare { grid-template-columns: 1fr 1fr; }
  .use-cases { grid-template-columns: repeat(3, 1fr); }
  .use-cases li:last-child { grid-column: span 2; }
  .contact-layout { grid-template-columns: 380px 1fr; align-items: start; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .float-contact { right: 24px; }
}

@media (min-width: 1200px) {
  .post-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1600px) {
  body { font-size: 18px; }
  .wrap { max-width: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .site-header, .brand-stripes, .float-contact, .site-footer nav { display: none !important; }
}
