/* ==========================================================================
   TEMPLATE C9 v1: Cape Coral Garage Door Repairs
   Every colour, size, radius and spacing value is transcribed from
   design/home-desktop.html and home-mobile.html.

   One deliberate departure: the handoff asks for Bricolage Grotesque +
   Instrument Sans, which is Template C1's pairing and Template C5's.
   BUILD-SYSTEM forbids two templates sharing a type pairing, so C9 uses
   Sora + Manrope at the same weights and sizes. Nothing else changed.

   CONFIG: the three things a renter changes:
     1. Colours       -> --ink / --accent in §1
     2. Phone number  -> PHONE in site.config.js
     3. Form endpoint -> FORM_ENDPOINT in site.config.js
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --ink:             #0A1D22;  /* dark sections, header, footer, dark buttons */
  --ink-card:        #10282E;  /* cards on dark, the ring around the quote form */
  --ink-line:        #1F3B42;  /* dividers on dark */
  --ink-line-strong: #3B5C63;  /* outlined pills and the ghost button */
  --ink-pill:        #2C4B52;  /* the hero status pill border */
  --on-dark:         #FFFFFF;
  --on-dark-muted:   #B7C9C6;
  --on-dark-soft:    #D5E1DF;  /* nav links, pill text */
  --light:           #F3F6F5;  /* light sections, input fill */
  --card:            #FFFFFF;
  --line:            #D9E2E0;  /* card borders on light */
  --input-line:      #B4C3C0;  /* input borders, FAQ rules */
  --text:            #14262A;
  --muted:           #51666A;
  --accent:          #FF7A5C;  /* primary buttons, headline 2nd line, numerals */
  --accent-hover:    #F26546;
  --link:            #C2452B;  /* text links on light: coral fails contrast there */
  --photo-line:      #4B6C73;  /* dashed placeholder borders */

  --maxw: 1200px;
  --gutter: 32px;
  --section-y: 96px;

  --r-card: 18px;   /* cards */
  --r-form: 20px;   /* the quote form */
  --r-panel: 24px;  /* the contact panel */
  --r-input: 10px;
  --r-pill: 999px;  /* buttons and pills are fully rounded */

  --font-head: 'Sora', 'Trebuchet MS', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}

/* --------------------------------------------------------------------------
   2. FONTS: self-hosted, latin subset, 49 KB total
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Sora';
  src: url('fonts/sora-latin.woff2') format('woff2');
  font-weight: 100 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('fonts/manrope-latin.woff2') format('woff2');
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* --------------------------------------------------------------------------
   3. BASE
   The design sets box-sizing: border-box explicitly on every container, so a
   global border-box reset matches it. (C3 and C4's exports had no reset and
   needed content-box containers: always check this first on a new design.)
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-head); margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
a { color: inherit; }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 12px 18px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.container {
  max-width: var(--maxw); margin: 0 auto;
  padding-left: var(--gutter); padding-right: var(--gutter);
}
[id] { scroll-margin-top: 84px; }

/* --------------------------------------------------------------------------
   4. BUTTONS AND PILLS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: var(--r-pill);
  font-family: inherit; font-weight: 700; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
/* Text on the coral accent is always ink, never white. */
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: #143037; }
.btn--ghost { border: 1px solid var(--ink-line-strong); color: var(--on-dark); font-weight: 600; }
.btn--ghost:hover { border-color: var(--on-dark); }

.btn--sm  { font-size: 16px; padding: 11px 18px; gap: 8px; min-height: 44px; }
.btn--md  { font-size: 17px; padding: 15px 24px; }
.btn--lg  { font-size: 18px; padding: 16px 26px; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.header { background: var(--ink); border-bottom: 1px solid var(--ink-line); }
.header .container {
  height: 72px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}
.logo {
  flex-shrink: 0; display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--on-dark); white-space: nowrap;
  min-height: 44px;
}
.logo__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.logo__img { display: block; height: 52px; width: auto; }

.nav {
  flex-shrink: 0; display: flex; align-items: center; gap: 30px;
  font-size: 15.5px; font-weight: 500;
}
.nav a { color: var(--on-dark-soft); text-decoration: none; white-space: nowrap; }
.nav a:hover { color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--accent); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex: 0 0 auto;
  background: none; border: 1px solid var(--ink-line-strong);
  border-radius: var(--r-pill); color: var(--on-dark); cursor: pointer;
}
.mobile-menu { display: none; }

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--on-dark); }
.hero__inner {
  padding-top: 52px; padding-bottom: 72px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
}
.hero__copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }

.status-pill {
  align-self: flex-start; display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--ink-pill); border-radius: var(--r-pill); padding: 7px 14px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--on-dark-soft); white-space: nowrap;
}
.status-pill::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex: none;
}

.hero h1 {
  font-weight: 800; font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1; letter-spacing: -.03em; color: var(--on-dark);
}
.hero h1 .accent { color: var(--accent); }

.hero__lead { font-size: 20px; line-height: 1.5; color: var(--on-dark-muted); max-width: 540px; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 6px;
  font-size: 15.5px; color: var(--on-dark-muted);
}
.hero__trust span { display: flex; align-items: center; gap: 8px; }
.hero__trust svg { flex: none; }

/* --------------------------------------------------------------------------
   7. QUOTE FORM: solid 8px ring, no blur, no drop shadow
   -------------------------------------------------------------------------- */
.hero__form { flex: 0 1 440px; min-width: 0; display: flex; flex-direction: column; }
.quote {
  background: var(--card); color: var(--text);
  border-radius: var(--r-form); box-shadow: 0 0 0 8px var(--ink-card);
  padding: 30px; display: flex; flex-direction: column; gap: 13px;
}
.quote__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.quote__title { font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--ink); }
.quote__time { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }

.field { display: flex; flex-direction: column; gap: 5px; }
.field > label { font-size: 14px; font-weight: 600; }
.field > label .opt { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.quote input, .quote select, .quote textarea {
  width: 100%; border: 1px solid var(--input-line); border-radius: var(--r-input);
  font: inherit; font-size: 16px;  /* 16px keeps iOS from zooming on focus */
  color: var(--text); background: var(--light);
}
.quote input, .quote select { height: 46px; padding: 0 12px; }
.quote select { padding: 0 10px; }
.quote textarea { padding: 10px 12px; resize: vertical; min-height: 64px; }
.quote input:focus, .quote select:focus, .quote textarea:focus { border-color: var(--ink); }

.quote button[type="submit"] {
  height: 54px; border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-dark);
  font-family: inherit; font-weight: 700; font-size: 17.5px; cursor: pointer;
}
.quote button[type="submit"]:hover { background: #143037; }
.quote__foot { font-size: 13.5px; color: var(--muted); text-align: center; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: #B3261E; }
.field__err { margin: 0; font-size: 13px; font-weight: 600; color: #B3261E; }
.form-status { margin: 0; font-size: 15px; font-weight: 600; }
.form-status--ok  { color: #1B6B45; }
.form-status--err { color: #B3261E; }

/* --------------------------------------------------------------------------
   8. TRUST STRIP: four cells divided by vertical rules
   -------------------------------------------------------------------------- */
.strip { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--ink-line); }
.strip .container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  padding-top: 0; padding-bottom: 0;
}
.strip__item {
  padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 6px;
  border-left: 1px solid var(--ink-line);
}
.strip__item:first-child { padding-left: 0; border-left: 0; }
.strip__item:last-child { padding-right: 0; }
.strip__item b { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.strip__item span { font-size: 15.5px; color: var(--on-dark-muted); }

/* --------------------------------------------------------------------------
   9. SECTIONS
   -------------------------------------------------------------------------- */
.section { padding: var(--section-y) 0; }
.section--light { background: var(--light); color: var(--text); }
.section--ink { background: var(--ink); color: var(--on-dark); }

.h2 { font-weight: 800; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.025em; }
.stack { display: flex; flex-direction: column; gap: 48px; }
.stack--44 { display: flex; flex-direction: column; gap: 44px; }

.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: 20px 48px;
}
.section__head .h2 { flex: 1 1 520px; max-width: 640px; }
.section__head p { flex: 0 1 380px; font-size: 18px; color: var(--muted); }
.section--ink .section__head p { color: var(--on-dark-muted); }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }

/* --- service cards --- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--ink-line-strong); transform: translateY(-2px); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--ink);
  color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none;
}
.card h3 { font-weight: 700; font-size: 23px; color: var(--ink); }
.card p { font-size: 16px; color: var(--muted); }
.card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; color: var(--text); }
.card__link {
  margin-top: auto; font-weight: 700; font-size: 15.5px; text-decoration: none;
  color: var(--link); display: inline-flex; align-items: center; min-height: 44px;
}
.card__link:hover { text-decoration: underline; }

/* --- recent work --- */
.work { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; height: 480px; }
.work__big { min-width: 0; min-height: 0; }
.work__col { min-width: 0; min-height: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.work__col > * { min-height: 0; }
.work-notes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-notes li { border-top: 1px solid var(--ink-line); padding-top: 16px; color: var(--on-dark-muted); font-size: 15.5px; }
.work-notes b { display: block; color: var(--on-dark); font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; }
.ph {
  border-radius: var(--r-card); border: 1px dashed var(--photo-line);
  background: repeating-linear-gradient(135deg, #10282E 0 14px, #142F36 14px 28px);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13.5px; color: var(--on-dark-muted);
}
.ph--end { justify-content: flex-end; }
.ph__tag {
  align-self: flex-start; background: var(--ink); border: 1px solid var(--ink-pill);
  border-radius: var(--r-pill); padding: 5px 12px; font-family: var(--font-body);
  font-size: 13px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--on-dark-soft);
}
.work img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-card); display: block; }
.work__col img { min-height: 0; }

/* --- pricing --- */
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.price-card--featured { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.price-card h3 { font-weight: 700; font-size: 21px; color: var(--ink); }
.price-card--featured h3 { color: var(--on-dark); }
.price-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge {
  background: var(--accent); color: var(--ink); font-size: 12.5px; font-weight: 700;
  padding: 4px 11px; border-radius: var(--r-pill); white-space: nowrap;
}
.price { display: flex; align-items: baseline; gap: 8px; }
.price span:first-child { font-size: 15px; color: var(--muted); }
.price-card--featured .price span:first-child { color: var(--on-dark-muted); }
/* a range is twice as wide as a single figure, so this scales down */
.price__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.6vw, 36px); line-height: 1; color: var(--ink); white-space: nowrap; }
.price-card--featured .price__amount { color: var(--on-dark); }
.price-card p { font-size: 16px; color: var(--muted); }
.price-card--featured p { color: var(--on-dark-muted); }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* --- process --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 20px; }
.step {
  background: var(--ink-card); border: 1px solid var(--ink-line); border-radius: var(--r-card);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 56px; line-height: 1; color: var(--accent); }
.step h3 { font-weight: 700; font-size: 23px; }
.step p { font-size: 16px; color: var(--on-dark-muted); }

/* --- reviews --- */
.review {
  margin: 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 28px;
  display: flex; flex-direction: column; gap: 18px;
}
.review p { font-size: 17px; }
.review footer { font-size: 15px; font-weight: 600; color: var(--muted); }

/* --- areas --- */
.areas { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.areas__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.areas__copy p { font-size: 18px; color: var(--on-dark-muted); }
.area-pills {
  flex: 1 1 480px; min-width: 0; list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px; font-size: 16px; font-weight: 600;
}
.area-pills li { border: 1px solid var(--ink-line-strong); border-radius: var(--r-pill); padding: 9px 18px; white-space: nowrap; }
.area-pills li.is-home { background: var(--accent); color: var(--ink); border-color: var(--accent); padding: 10px 18px; }
.area-pills a { text-decoration: none; }
.area-pills a:hover { color: var(--accent); }

/* --- faq --- */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; }
.faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq-intro p { font-size: 18px; color: var(--muted); }
.faq-intro a {
  font-weight: 700; white-space: nowrap; color: var(--link);
  display: inline-flex; align-items: center; min-height: 44px;
}
.faq { flex: 1 1 600px; min-width: 0; display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--input-line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--input-line); }
.faq summary {
  font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--ink);
  cursor: pointer; list-style: none; min-height: 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-head); font-weight: 700; font-size: 26px;
  line-height: 1; color: var(--accent); flex: none; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--link); }
.faq details > p { margin: 10px 0 0; font-size: 16.5px; color: var(--muted); }

/* --- contact panel --- */
.contact-wrap { background: var(--light); padding-bottom: var(--section-y); }
.panel {
  background: var(--accent); color: var(--ink); border-radius: var(--r-panel); padding: 56px;
  display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center;
}
.panel__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel__copy p { font-size: 18px; max-width: 560px; }
.panel__side { flex: 0 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.panel__label { font-size: 16px; font-weight: 600; }
.panel__phone {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1; color: var(--ink); text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px; align-self: flex-start;
}
.panel__phone:hover { text-decoration: underline; }
.panel__meta { font-size: 16px; }
.panel .btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   10. SUBPAGES
   -------------------------------------------------------------------------- */
.page-hero { background: var(--ink); color: var(--on-dark); padding: 40px 0 56px; }
.page-hero h1 { font-weight: 800; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; letter-spacing: -.03em; margin-top: 14px; }
.page-hero__lead { font-size: 19px; color: var(--on-dark-muted); max-width: 46em; margin-top: 14px; }

.breadcrumb { font-size: 14px; color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb a { color: var(--on-dark-muted); }
.breadcrumb [aria-current="page"] { color: var(--on-dark); font-weight: 600; }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }
.prose h2 { font-weight: 800; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.02em; line-height: 1.1; margin: 40px 0 14px; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-body); font-weight: 700; font-size: 20px; line-height: 1.35; margin: 26px 0 8px; color: var(--ink); }
.prose p { margin: 0 0 16px; color: var(--muted); max-width: 66ch; }
.prose ul, .prose ol { color: var(--muted); max-width: 66ch; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--text); }
.prose a { color: var(--link); font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 520px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); }
th { font-family: var(--font-head); font-weight: 700; font-size: 15px; background: var(--light); }
tbody tr:last-child td { border-bottom: 0; }

.sidebar { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.side-card--ink { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.side-card--ink p { color: var(--on-dark-muted); font-size: 15px; }
.side-card__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-card--ink .side-card__label { color: var(--accent); }
.side-card__amount { font-family: var(--font-head); font-weight: 800; font-size: 26px; margin: 4px 0 0; }
.side-card__title { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.side-card__btns { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.side-rows { list-style: none; margin: 0; padding: 0; }
.side-rows li { padding: 12px 0; }
.side-rows li + li { border-top: 1px solid var(--line); }
.side-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.side-links li + li { border-top: 1px solid var(--line); }
.side-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; text-decoration: none; font-weight: 600; font-size: 15.5px; color: var(--text); }
.side-links a:hover { color: var(--link); }
.side-links svg { color: var(--accent); flex: none; }

.estimates-note {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-left: 5px solid var(--accent); border-radius: var(--r-card);
  padding: 18px 22px; margin: 24px 0;
}
.estimates-note svg { color: var(--link); flex: none; margin-top: 2px; }
.estimates-note__title { font-weight: 700; margin-bottom: 4px; color: var(--ink); }
.estimates-note p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------------------
   11. FOOTER
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--on-dark-muted); }
.footer .container { padding-top: 56px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 40px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; }
.footer__brand { font-family: var(--font-head); font-weight: 700; font-size: 19px; color: var(--on-dark); }
.footer__col b { font-weight: 700; color: var(--on-dark); }
.footer a { color: var(--on-dark-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--ink-line); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between;
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   12. STICKY MOBILE CALL BAR
   -------------------------------------------------------------------------- */
.mobilebar { display: none; }

/* --------------------------------------------------------------------------
   12b. DROPDOWN NAV, QUOTE BAND (added at final review, 2026-10-20)
   -------------------------------------------------------------------------- */
.nav-drop { position: relative; }
.nav-drop__btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font: inherit; color: var(--on-dark-soft); white-space: nowrap; transition: color .15s ease;
}
.nav-drop__btn:hover, .nav-drop.is-open .nav-drop__btn { color: var(--on-dark); }
.nav-drop__btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.nav-drop__btn svg { transition: transform .15s ease; }
.nav-drop.is-open .nav-drop__btn svg { transform: rotate(180deg); }
.nav-panel {
  display: none; position: absolute; top: calc(100% + 10px); left: -16px; z-index: 60;
  min-width: 280px; padding: 8px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 28px rgba(10,29,34,.22);
}
/* invisible strip over the 10px gap so the pointer never leaves the menu */
.nav-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-drop.is-open .nav-panel { display: block; }
@media (hover: hover) and (min-width: 1100px) { .nav-drop:hover .nav-panel { display: block; } }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav .nav-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px; border-radius: 10px;
  color: var(--text); font-size: 15.5px; transition: background-color .15s ease, color .15s ease;
}
.nav .nav-panel a:hover { background: var(--light); color: var(--text); }
.nav .nav-panel a[aria-current="page"] { color: var(--link); }
.nav .nav-panel__all { border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 10px 10px; color: var(--link); font-weight: 700; }

.mobile-menu__group > span {
  display: flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--on-dark-muted);
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
}
.mobile-menu .mobile-menu__group ul { padding-left: 16px; }
.mobile-menu .mobile-menu__group li { border-top: 1px solid var(--ink-line); }

.quote select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  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='%230A1D22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.quote input:focus-visible, .quote select:focus-visible, .quote textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }

.quote-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.quote-band__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.quote-band__copy p { color: var(--on-dark-muted); font-size: 18px; max-width: 520px; }
.quote-band__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--on-dark-soft); }
.quote-band__list li { display: flex; gap: 10px; align-items: baseline; }
.quote-band__list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); transform: translateY(-2px); }
.quote-band__form { flex: 0 1 460px; min-width: 0; }

.status-pill { white-space: normal; max-width: 100%; }

/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */

/* Seven nav items will not sit beside a long logo and a phone button much
   under 1100px, so the hamburger takes over there. */
@media (max-width: 1099.98px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header .container { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 10px 16px; }
  .logo { margin-right: auto; }

  .mobile-menu { display: none; width: 100%; border-top: 1px solid var(--ink-line); }
  .mobile-menu[data-open] { display: block; }
  .mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  .mobile-menu li + li { border-top: 1px solid var(--ink-line); }
  .mobile-menu a {
    display: flex; align-items: center; min-height: 50px;
    text-decoration: none; color: var(--on-dark-soft); font-weight: 600;
  }

  .body-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .sidebar { position: static; }
}

/* The strip's vertical rules only make sense while the cells sit in one row. */
@media (max-width: 1023.98px) {
  .strip__item { border-left: 0; border-top: 1px solid var(--ink-line); padding: 24px 0 26px; }
  .strip__item:first-child { border-top: 0; }
}

@media (max-width: 767.98px) {
  :root { --gutter: 20px; --section-y: 56px; }

  /* "Cape Coral Garage Door Repairs" is 310px on one line and the longest
     button is 324px, so both overflow a 320px screen while nowrap applies. */
  .logo { white-space: normal; flex-shrink: 1; min-width: 0; }
  .logo__name { font-size: 16px; line-height: 1.15; white-space: normal; min-width: 0; }
  .logo__img { height: 38px; max-width: 100%; }
  .btn { white-space: normal; text-align: center; }

  .hero__inner { padding-top: 44px; padding-bottom: 52px; gap: 36px; }
  .hero__copy, .hero__form { flex: 1 1 auto; width: 100%; }
  .quote-band__inner { gap: 32px; }
  .quote-band__copy, .quote-band__form { flex: 1 1 auto; width: 100%; }
  .hero h1 { font-size: clamp(34px, 9.5vw, 46px); }
  .hero__lead { font-size: 18px; }
  .hero__ctas .btn { width: 100%; }

  .quote { padding: 22px; border-radius: 16px; box-shadow: 0 0 0 6px var(--ink-card); }
  .field-row { grid-template-columns: minmax(0, 1fr); }

  .card, .price-card, .step, .review { border-radius: 16px; }
  .work { grid-template-columns: minmax(0, 1fr); height: auto; }
  .work__big { height: 280px; }
  .work__col { grid-template-rows: none; grid-template-columns: 1fr 1fr; gap: 12px; }
  .work__col img { height: 150px; }
  .work-notes { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .work-notes li { padding: 14px 0; }
  .panel { padding: 32px 20px; border-radius: 20px; }
  /* the number stays on one line, so it has to shrink to clear a 320px screen */
  .panel__phone { font-size: 26px; }
  .footer .container { padding-top: 44px; }
  .footer__bottom { flex-direction: column; gap: 8px; }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--ink); border-top: 1px solid var(--ink-line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .mobilebar .btn { height: 48px; font-size: 16px; padding: 0 12px; }
  body { padding-bottom: 80px; }
}

@media print {
  .header, .mobilebar, form, .hero__ctas { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; }
}
