/* ==========================================================================
   Kitsilano Garage Doors — styles.css
   Layout variant C · premium coastal · teal #127d8e + sand #c8a24a
   Fraunces (serif) headings + Inter body. Static, no build step.
   Base scale/spacing inherited from the shared design system, then
   customised for this site's premium West-Side voice.
   ========================================================================== */

:root {
  /* ---- Per-site brand (from site-config.json) ---- */
  --brand:        #127d8e;
  --brand-dark:   #0c5764;
  --brand-light:  #e3f1f3;
  --accent:       #c8a24a;
  --accent-dark:  #a07f31;
  --accent-soft:  #f6efdc;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- Shared neutrals ---- */
  --ink:        #16252a;
  --ink-soft:   #4a5c63;
  --line:       #e2e9eb;
  --bg:         #ffffff;
  --bg-soft:    #f4f8f8;
  --bg-deep:    #0c2a30;
  --white:      #ffffff;
  --success:    #1f9d57;

  /* spacing scale (8pt) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem; --s-10: 8rem;

  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(12,42,48,.06), 0 1px 3px rgba(12,42,48,.08);
  --shadow-md: 0 6px 18px rgba(12,42,48,.08), 0 2px 6px rgba(12,42,48,.06);
  --shadow-lg: 0 24px 50px rgba(12,42,48,.16);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur: .25s;

  --t-xs: .8125rem; --t-sm: .9375rem; --t-base: 1rem; --t-lg: 1.125rem;
  --t-xl: clamp(1.25rem, 1.1rem + .6vw, 1.55rem);
  --t-2xl: clamp(1.7rem, 1.3rem + 1.6vw, 2.45rem);
  --t-3xl: clamp(2.1rem, 1.5rem + 3vw, 3.6rem);

  --container: 1160px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--ink); background: var(--bg);
  font-family: var(--font-body); font-size: var(--t-base); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-head); line-height: 1.12; color: var(--ink);
  margin: 0 0 var(--s-4); font-weight: 600; letter-spacing: -.01em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--t-3xl); letter-spacing: -.02em; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); }
p  { margin: 0 0 var(--s-4); color: var(--ink-soft); }
a  { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; height: auto; display: block; }
ul, ol { color: var(--ink-soft); }
strong { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2rem, 760px); margin-inline: auto; }
.section { padding-block: var(--s-9); }
.section--tight { padding-block: var(--s-8); }
.section--soft { background: var(--bg-soft); }
.section--brand { background: var(--brand-light); }
.center { text-align: center; }
.lead { font-size: var(--t-lg); color: var(--ink-soft); max-width: 60ch; }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--brand); font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; font-size: var(--t-xs); margin-bottom: var(--s-3);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); display: inline-block; }
.center .eyebrow { justify-content: center; }
.muted { color: var(--ink-soft); }
.maxw { max-width: 62ch; }
.center .maxw { margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-head);
  font-weight: 600; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(150deg, var(--brand), var(--brand-dark));
  display: grid; place-items: center; color: #fff; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.brand__mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.nav__links { display: flex; gap: var(--s-2); align-items: center; }
.nav__links a { color: var(--ink); font-weight: 600; font-size: var(--t-sm); padding: .5rem .7rem; border-radius: var(--r-sm); }
.nav__links a:hover { color: var(--brand-dark); background: var(--brand-light); text-decoration: none; }
.nav__links a[aria-current="page"] { color: var(--brand-dark); }
.nav__actions { display: flex; align-items: center; gap: var(--s-3); }
.nav__phone { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.nav__phone:hover { text-decoration: none; color: var(--brand); }

/* Dropdown */
.has-drop { position: relative; }
.has-drop > a::after { content: "▾"; font-size: .7em; margin-left: .3rem; color: var(--ink-soft); }
.drop { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: var(--s-2); display: none; }
.drop a { display: block; padding: .55rem .7rem; border-radius: var(--r-sm); font-size: var(--t-sm); }
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }

/* Mobile nav */
.nav__toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm);
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.nav__toggle svg { width: 22px; height: 22px; color: var(--ink); }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-nav .mobile-cta { margin-top: var(--s-4); }

@media (max-width: 940px) {
  .nav { gap: var(--s-3); padding-block: var(--s-2); }
  .nav__links, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  /* Free Quote is redundant once the menu collapses — it's in the menu + the sticky bottom bar.
     Keeping it here squeezes the brand into multiple wrapped lines and bloats the bar. */
  .nav__actions .btn--primary { display: none; }
  .nav__actions { gap: var(--s-2); }
  .brand { gap: .55rem; font-size: 1.06rem; line-height: 1.1; }
  .brand > span { display: flex; flex-direction: column; min-width: 0; }
  .brand__mark { width: 34px; height: 34px; flex: 0 0 auto; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand small { font-size: .58rem; letter-spacing: .12em; margin-top: .08rem; }
  .nav__toggle { width: 42px; height: 42px; }
}

/* Very narrow phones: shrink the wordmark a touch more so it stays on one line */
@media (max-width: 360px) {
  .brand { font-size: .96rem; }
  .brand__mark { width: 32px; height: 32px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-family: var(--font-body); font-size: var(--t-base);
  padding: .85rem 1.55rem; border-radius: var(--r-pill); border: 2px solid transparent;
  cursor: pointer; line-height: 1; min-height: 48px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #2a2208; }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--brand { background: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand-dark); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-light); }
.btn--white { background: #fff; color: var(--brand-dark); }
.btn--lg { font-size: var(--t-lg); padding: 1rem 1.9rem; min-height: 54px; }
.btn--block { width: 100%; }

/* ---------- Hero (layout C: split, editorial) ---------- */
.hero { position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 0% 0%, var(--brand-light) 0%, rgba(227,241,243,0) 55%),
    linear-gradient(180deg, #fbfdfd, #f2f7f7); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: center;
  padding-block: var(--s-9); }
.hero__content { max-width: 38rem; }
.hero h1 { font-size: var(--t-3xl); }
.hero h1 .accent { color: var(--brand); font-style: italic; }
.hero__sub { font-size: var(--t-lg); color: var(--ink-soft); margin-bottom: var(--s-5); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero__rating { display: flex; align-items: center; gap: var(--s-3); color: var(--ink-soft); font-size: var(--t-sm); flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: var(--accent); letter-spacing: .08em; font-size: 1.05rem; line-height: 1; white-space: nowrap; }
.hero__media { position: relative; }
.hero__media img, .hero__media picture { display: block; }
.hero__media img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
@media (max-width: 900px) { .hero__media img { aspect-ratio: 3/4; } }
.hero__media::before { content: ""; position: absolute; inset: auto -14px -14px auto; width: 62%; height: 62%;
  border: 2px solid var(--accent); border-radius: var(--r-xl); z-index: 0; }
.hero__badge { position: absolute; left: -18px; bottom: 26px; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: .85rem 1.1rem; display: flex; align-items: center; gap: .7rem; max-width: 230px; }
.hero__badge .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand-light); color: var(--brand-dark);
  display: grid; place-items: center; flex: 0 0 auto; }
.hero__badge strong { display: block; font-size: .95rem; }
.hero__badge span { font-size: .78rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s-6); padding-block: var(--s-7); }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16/11; }
  .hero__badge { left: 8px; }
}

/* ---------- Trust strip ---------- */
.trustbar { background: var(--bg-deep); color: rgba(255,255,255,.9); }
.trustbar .container { display: flex; flex-wrap: wrap; gap: var(--s-5) var(--s-7); justify-content: center;
  align-items: center; padding-block: var(--s-4); text-align: center; }
.trustbar__item { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: var(--t-sm); }
.trustbar__item svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 64ch; margin-bottom: var(--s-7); }
.center.sec-head, .sec-head.center { margin-inline: auto; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: var(--s-5); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--brand-light); }
.card h3 { margin-bottom: var(--s-2); }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 52px; height: 52px; border-radius: var(--r-md);
  background: var(--brand-light); display: grid; place-items: center; color: var(--brand-dark); margin-bottom: var(--s-4); }
.card__icon svg { width: 26px; height: 26px; }
.card__link { font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: .35rem; margin-top: var(--s-3); }
.card__link svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* Service card with image */
.scard { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.scard img { aspect-ratio: 16/10; object-fit: cover; }
.scard__body { padding: var(--s-5) var(--s-6) var(--s-6); display: flex; flex-direction: column; flex: 1; }
.scard__body h3 { margin-bottom: var(--s-2); }
.scard__body .card__link { margin-top: auto; padding-top: var(--s-3); }

/* ---------- Feature split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--r-xl); box-shadow: var(--shadow-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.split__content { max-width: 36rem; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: var(--s-5); }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Check list ---------- */
.checks { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: grid; gap: var(--s-3); }
.checks li { display: flex; align-items: flex-start; gap: .65rem; color: var(--ink); }
.checks li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230c5764' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat; }
.checks--gold li::before { background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a07f31' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); }
.steps--row { grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-left: 3.4rem; }
.steps--row .step { padding-left: 0; padding-top: 3.6rem; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; }
.step h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.step p { margin-bottom: 0; font-size: var(--t-sm); }
@media (max-width: 760px) { .steps--row { grid-template-columns: 1fr; } .steps--row .step { padding-left: 3.4rem; padding-top: 0; } }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); color: var(--brand-dark); line-height: 1; }
.stat span { font-size: var(--t-sm); color: var(--ink-soft); }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-4); } }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review .stars { margin-bottom: var(--s-3); }
.review p { color: var(--ink); font-size: 1.02rem; }
.review__who { margin-top: auto; padding-top: var(--s-4); display: flex; align-items: center; gap: .7rem; }
.review__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); overflow: hidden; flex: 0 0 auto; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.review__who strong { display: block; font-size: .95rem; }
.review__who span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Areas list ---------- */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: var(--s-3); }
.area-chip { display: flex; align-items: center; gap: .6rem; padding: .8rem 1rem; border: 1px solid var(--line);
  border-radius: var(--r-md); background: #fff; font-weight: 600; color: var(--ink); transition: all var(--dur) var(--ease); }
.area-chip:hover { text-decoration: none; border-color: var(--brand); background: var(--brand-light); color: var(--brand-dark); transform: translateY(-2px); }
.area-chip svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--s-3); }
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 0 var(--s-5); box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-5) 0; font-weight: 700; font-family: var(--font-head);
  font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform var(--dur) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: var(--brand-dark); }
.faq__a { padding-bottom: var(--s-5); margin-top: -.4rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(150deg, var(--brand-dark), var(--brand)); color: #fff; text-align: center; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 100% 0%, rgba(200,162,74,.25), transparent 60%); }
.cta-band .container { position: relative; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .hero__cta { justify-content: center; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { position: relative; color: #fff; padding-block: var(--s-9) var(--s-8); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(9,38,43,.9), rgba(12,87,100,.74)); z-index: 1; }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; display: block; }
.page-hero__bg img, img.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero { min-height: 340px; display: flex; align-items: center; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.92); max-width: 52ch; font-size: var(--t-lg); }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow::before { background: var(--accent); }
.freshness { display: inline-flex; align-items: center; gap: .4rem; font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .02em; margin: .15rem 0 0; opacity: .85; }
.page-hero .freshness { color: rgba(255,255,255,.85); }
.breadcrumb { font-size: var(--t-sm); margin-bottom: var(--s-4); color: rgba(255,255,255,.8); }
.breadcrumb a { color: rgba(255,255,255,.9); }
.breadcrumb span { color: var(--accent); }

/* ---------- Prose ---------- */
.prose h2 { margin-top: var(--s-7); }
.prose h3 { margin-top: var(--s-6); }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: var(--s-4); }
.prose li { margin-bottom: var(--s-2); }
.prose > *:first-child { margin-top: 0; }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: var(--s-4); }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--t-sm); color: var(--ink); }
.field input, .field select, .field textarea { font-family: inherit; font-size: var(--t-base); padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-light); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: var(--t-xs); color: var(--ink-soft); }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.contact-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); }
.contact-row { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 auto; margin-top: 3px; }
.contact-row strong { display: block; }
.contact-row a { font-weight: 600; }

/* ---------- Info / callout ---------- */
.callout { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0; margin-block: var(--s-5); }
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.pills li { background: var(--brand-light); color: var(--brand-dark); font-weight: 600; font-size: var(--t-sm);
  padding: .4rem .9rem; border-radius: var(--r-pill); }

/* ---------- Footer partner band ---------- */
.footer-partner { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  flex-wrap: wrap; background: linear-gradient(120deg, rgba(18,125,142,.18), rgba(200,162,74,.14));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); padding: var(--s-6); margin-bottom: var(--s-7); }
.footer-partner h3 { color: #fff; margin-bottom: var(--s-2); }
.footer-partner p { color: rgba(255,255,255,.78); margin-bottom: 0; max-width: 62ch; }
.footer-partner .btn { flex: 0 0 auto; }
@media (max-width: 700px) { .footer-partner { padding: var(--s-5); } .footer-partner .btn { width: 100%; } }

.linklike { background: none; border: 0; color: rgba(255,255,255,.7); font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
.linklike:hover { color: #fff; }
.footer-legal { display: inline-flex; gap: .4rem; flex-wrap: wrap; align-items: center; }

/* ---------- Cookie consent ---------- */
.cookie { position: fixed; left: 50%; transform: translateX(-50%); bottom: 1rem; z-index: 90;
  width: min(100% - 1.5rem, 760px); background: #fff; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.cookie[hidden] { display: none; }
.cookie__inner { display: flex; align-items: center; gap: var(--s-5); padding: var(--s-4) var(--s-5); flex-wrap: wrap; }
.cookie__text { margin: 0; font-size: var(--t-sm); flex: 1 1 320px; color: var(--ink-soft); }
.cookie__actions { display: flex; gap: var(--s-2); flex: 0 0 auto; }
.cookie__actions .btn { padding: .6rem 1.1rem; min-height: 42px; }
@media (max-width: 940px) { .cookie { bottom: 84px; } } /* clear the sticky call bar */
@media (max-width: 480px) { .cookie__actions { width: 100%; } .cookie__actions .btn { flex: 1; } }

/* ---------- Opener model picker (Steveston-style, our look) ---------- */
.openers { display: grid; gap: var(--s-4); }
.opener { display: grid; grid-template-columns: 180px 1fr; gap: var(--s-5); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-5);
  box-shadow: var(--shadow-sm); transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); position: relative; }
.opener:hover { box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.opener--feature { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-md); }
.opener__media { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; padding: 2px; }
.opener__media img { width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.opener__badge { display: inline-block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft); padding: .25rem .6rem; border-radius: var(--r-pill); margin-bottom: var(--s-2); }
.opener--feature .opener__badge { background: var(--accent); color: #2a2208; }
.opener__name { font-family: var(--font-head); font-size: var(--t-xl); font-weight: 600; margin: 0 0 .25rem; color: var(--ink); }
.opener__spec { font-size: var(--t-sm); color: var(--ink-soft); margin: 0 0 .5rem; }
.opener__price { font-weight: 700; color: var(--brand-dark); font-size: 1.1rem; margin: 0 0 .6rem; }
.opener__price small { font-weight: 600; color: var(--ink-soft); font-size: var(--t-sm); }
.opener__tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 .75rem; }
.opener__tags li { font-size: var(--t-xs); font-weight: 600; color: var(--brand-dark); background: var(--brand-light);
  padding: .25rem .6rem; border-radius: var(--r-pill); }
.opener__foot { display: flex; gap: var(--s-4); align-items: center; font-size: var(--t-sm); border-top: 1px solid var(--line); padding-top: .65rem; }
.opener__foot a { font-weight: 700; }
.opener__more { margin-top: var(--s-4); }
.opener__more summary { cursor: pointer; list-style: none; text-align: center; font-weight: 700; color: var(--brand-dark);
  background: #fff; border: 1px dashed var(--accent); border-radius: var(--r-md); padding: var(--s-4); }
.opener__more summary::-webkit-details-marker { display: none; }
.opener__more summary:hover { background: var(--brand-light); }
.opener__more[open] summary { margin-bottom: var(--s-4); }
.opener__more .openers { margin-top: 0; }
@media (max-width: 560px) {
  .opener { grid-template-columns: 1fr; text-align: left; }
  .opener__media { width: 130px; aspect-ratio: 1/1; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); color: rgba(255,255,255,.72); padding-block: var(--s-8) var(--s-5); }
.site-footer a { color: rgba(255,255,255,.82); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: var(--s-6); margin-bottom: var(--s-7); }
.footer-brand .brand { color: #fff; margin-bottom: var(--s-4); }
.footer-brand .brand small { color: var(--accent); }
.footer-brand p { color: rgba(255,255,255,.68); font-size: var(--t-sm); }
.footer-col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); font-weight: 700; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-col a { font-size: var(--t-sm); }
.footer-contact a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: var(--s-5); display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: var(--s-3); font-size: var(--t-xs); color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.7); }
/* Footer pricing toggle (FLEET-STANDARDS §2) */
#pricing-toggle { font: inherit; font-size: var(--t-xs); font-weight: 600; cursor: pointer;
  color: rgba(255,255,255,.75); background: transparent; border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-pill); padding: .3rem .8rem; transition: all var(--dur) var(--ease); }
#pricing-toggle:hover { color: #fff; border-color: rgba(255,255,255,.45); }
#pricing-toggle[aria-pressed="true"] { color: #15171a; background: var(--accent); border-color: var(--accent); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile call bar ---------- */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(12,42,48,.1);
  padding: .5rem; gap: .5rem; }
.callbar .btn { flex: 1; min-height: 50px; }
@media (max-width: 940px) { .callbar { display: flex; } body { padding-bottom: 70px; } }

/* ---------- Utilities ---------- */
.grid--3.grid--gap-lg { gap: var(--s-6); }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--accent); color: #2a2208; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0; }
.skip-link:focus { left: 0; }

@media (max-width: 940px) {
  .grid--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

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

/* ==========================================================================
   Motion layer — scroll reveals (fleet _shared/design-system/motion.js)
   NO-JS SAFETY: the hidden initial state is gated behind html.js, a class set
   by an inline <head> script ONLY when JS runs. With JS off, html.js is never
   added, so [data-reveal]/[data-stagger] content stays fully visible. JS then
   animates these to opacity:1 (inline styles from motion.js win the cascade).
   ========================================================================== */
html.js [data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
}
html.js [data-stagger] > * {
  opacity: 0;
  will-change: opacity, transform;
}
/* Reduced-motion: never hide content, never transform. Belt-and-suspenders
   alongside motion.js's reduced-motion early-return. */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* $0 trust row — spring-repair conversion block */
.gbb-trust{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:28px;padding:20px;background:#127d8e;border-radius:14px;color:#fff}
@media(min-width:720px){.gbb-trust{grid-template-columns:repeat(4,1fr)}}
.gbb-trust-item{text-align:center}
.gbb-trust-item strong{display:block;font-size:28px;font-weight:800;color:#c8a24a;line-height:1}
.gbb-trust-item span{display:block;font-size:13px;margin-top:4px;color:rgba(255,255,255,.9)}
.gbb-promise{margin-top:16px;font-size:14px;line-height:1.55;text-align:center}

/* ---------- Spring pricing tiers (Steveston-style, our look) ---------- */
.tier-grid{display:grid;gap:var(--s-5);grid-template-columns:1fr}
@media(min-width:760px){.tier-grid{grid-template-columns:repeat(3,1fr)}}
.tier{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  overflow:hidden;box-shadow:var(--shadow-sm);transition:box-shadow var(--dur) var(--ease),transform var(--dur) var(--ease),border-color var(--dur) var(--ease);position:relative}
.tier:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--brand-light)}
.tier--feature{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),var(--shadow-md)}
.tier__media{aspect-ratio:16/10;overflow:hidden;background:var(--brand-light)}
.tier__media img{width:100%;height:100%;object-fit:cover;display:block}
.tier__body{padding:var(--s-5) var(--s-6) var(--s-6);display:flex;flex-direction:column;flex:1}
.tier__badge{position:absolute;top:0;left:0;right:0;background:var(--accent);color:#2a2208;font-size:var(--t-xs);
  font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:center;padding:.4rem .6rem;z-index:2}
.tier--feature .tier__media{margin-top:1.7rem}
.tier__tag{font-size:var(--t-xs);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-dark);margin-bottom:.25rem}
.tier__name{font-family:var(--font-head);font-size:var(--t-2xl);font-weight:600;margin:0 0 .35rem;color:var(--ink)}
.tier__price{font-weight:700;color:var(--brand-dark);font-size:1.25rem;margin:0 0 .6rem;line-height:1.2}
.tier__list{list-style:none;padding:0;margin:0 0 var(--s-4);display:grid;gap:.5rem}
.tier__list li{position:relative;padding-left:1.5rem;font-size:var(--t-sm);line-height:1.45;color:var(--ink-soft)}
.tier__list li::before{content:"";position:absolute;left:0;top:.3rem;width:1rem;height:1rem;border-radius:50%;
  background:var(--brand-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23127d8e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/.7rem no-repeat}
.tier__list li.is-free{color:var(--brand-dark);font-weight:600}
.tier__foot{margin-top:auto}

/* ---------- Related-service photo cards (fleet §0) ---------- */
.card--photo{padding:0;overflow:hidden;display:flex;flex-direction:column}
.card--photo .card__media{aspect-ratio:16/10;overflow:hidden;background:var(--brand-light)}
.card--photo .card__media img{width:100%;height:100%;object-fit:cover;display:block}
.card--photo .card__body{padding:var(--s-5) var(--s-6) var(--s-6);display:flex;flex-direction:column;flex:1}
.card--photo .card__body h3{margin-bottom:var(--s-2)}
.card--photo .card__link{margin-top:auto;padding-top:var(--s-3)}
