/* ==========================================================================
   Carter Electric of Southwest Florida
   Design system v3 "Gulf Current"
   Palette sampled directly from the company logo:
   deep navy, electric yellow, sunset orange, white.
   Photo and video led. Type supports the imagery, does not replace it.
   ========================================================================== */

:root {
  --navy-900: #0B1220;
  --navy-800: #101B2E;
  --navy-700: #17263A;
  --navy-600: #24405F;
  --orange: #F86800;
  --orange-deep: #D45500;
  --gold: #FFB300;
  --gold-deep: #E09600;
  --yellow: var(--gold);
  --yellow-deep: var(--gold-deep);
  --paper: #F8F9FA;
  --panel: #F1F3F6;
  --line: #E2E6EC;
  --r-card: 14px;
  --r-sm: 10px;
  --r-pill: 999px;
  --line-dark: rgba(255,255,255,0.14);
  --body: #2A3646;
  --muted: #5D6B7E;
  --white: #FFFFFF;

  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", monospace;

  --max: 1220px;
  --gutter: clamp(20px, 4vw, 48px);
  --shadow-sm: 0 1px 2px rgba(6,21,48,0.06), 0 4px 12px rgba(6,21,48,0.06);
  --shadow-md: 0 4px 10px rgba(6,21,48,0.08), 0 18px 40px rgba(6,21,48,0.10);
  --shadow-lg: 0 10px 24px rgba(6,21,48,0.12), 0 32px 70px rgba(6,21,48,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px; line-height: 1.65;
  color: var(--body); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
.hero-media img, .hero-media video, .cta-media img, .svc-photo img, .gallery img, .photo-frame img { height: 100%; }
.gallery img, .photo-frame img { height: auto; }
a { color: var(--navy-600); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 2px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ---- Type ---- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -0.022em; color: var(--navy-900); }
h1 { font-size: clamp(36px, 4.6vw, 60px); }
h2 { font-size: clamp(28px, 3.3vw, 44px); }
h3 { font-size: clamp(18px, 1.9vw, 22px); letter-spacing: -0.015em; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.hl { color: var(--yellow); }
.hl-orange { color: var(--orange); }
h2 .hl { color: var(--orange); }
.on-dark h2 .hl { color: var(--yellow); }

.lead { font-size: clamp(17px, 1.6vw, 19.5px); max-width: 60ch; color: var(--muted); }
.on-dark .lead { color: rgba(255,255,255,0.82); }
p + p { margin-top: 15px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--yellow); }
.on-dark .eyebrow { color: var(--yellow); }
.on-dark .eyebrow::before { background: var(--orange); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 17px; letter-spacing: -0.01em; line-height: 1;
  padding: 17px 32px; border: 0; border-radius: var(--r-pill); cursor: pointer;
  text-decoration: none; transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-primary { background: var(--orange); color: #FFFFFF; box-shadow: 0 6px 18px rgba(248,104,0,0.32); }
.btn-primary:hover { background: #FF7A1A; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(248,104,0,0.38); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 6px 18px rgba(248,104,0,0.32); }
.btn-orange:hover { background: #FF7A1A; color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(248,104,0,0.38); }
.btn-outline { background: var(--white); color: var(--navy-900); box-shadow: 0 6px 18px rgba(11,18,32,0.22); }
.btn-outline:hover { background: #F1F3F6; color: var(--navy-900); transform: translateY(-2px); }
.btn-navy { background: var(--navy-800); color: var(--white); box-shadow: 0 6px 18px rgba(11,18,32,0.24); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }

/* ---- Utility bar ---- */
.utility { background: var(--navy-900); color: rgba(255,255,255,0.72); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; white-space: nowrap; }
.utility .wrap > div { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.utility a { color: var(--white); text-decoration: none; font-weight: 500; }
.utility a:hover { color: var(--yellow); }
.utility .lic { color: rgba(255,255,255,0.55); }
@media (max-width: 720px) { .utility .lic .util-wide { display: none; } }

/* ---- Header ---- */
.site-header { background: var(--white); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line), 0 6px 18px rgba(6,21,48,0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: block; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 66px; width: auto; }
@media (max-width: 640px) { .brand img { height: 52px; } }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > div { position: relative; }
.nav a.top-link, .nav button.top-link {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  color: var(--navy-800); text-decoration: none; background: none; border: 0;
  padding: 12px 13px; cursor: pointer; display: inline-block; border-radius: var(--r-sm);
}
.nav a.top-link:hover, .nav button.top-link:hover { background: var(--panel); }
.nav .caret::after { content: "\25BE"; font-size: 9px; margin-left: 5px; opacity: 0.6; }
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--yellow);
  min-width: 250px; padding: 6px 0; z-index: 70; box-shadow: var(--shadow-md); border-radius: 0 0 var(--r-card) var(--r-card);
}
.nav > div:hover .dropdown, .nav > div:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 18px; color: var(--navy-800); text-decoration: none; font-size: 15px; font-weight: 500; }
.dropdown a:hover { background: var(--panel); color: var(--navy-600); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { font-family: var(--font-display); font-weight: 700; font-size: 25px; color: var(--navy-900); text-decoration: none; letter-spacing: 0.01em; white-space: nowrap; }
.header-phone span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 9.5px; letter-spacing: 0.16em; color: var(--orange); }
.header-phone:hover { color: var(--navy-600); }

.nav-toggle { display: none; background: var(--navy-800); border: 0; color: var(--white); padding: 11px 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; cursor: pointer; border-radius: var(--r-sm); }
@media (max-width: 1060px) {
  .nav { display: none; }
  .nav-toggle { display: inline-block; }
  .site-header.open .nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 8px 0 16px; }
  .site-header.open .nav > div { position: static; }
  .site-header.open .dropdown { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 6px 16px; min-width: 0; }
  .site-header.open .nav a.top-link, .site-header.open .nav button.top-link { display: block; width: 100%; text-align: left; }
  .header-cta .btn { display: none; }
}
@media (max-width: 520px) { .header-phone { font-size: 20px; } }

/* ---- Hero (video/photo led) ---- */
.hero { position: relative; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(6,21,48,0.94) 0%, rgba(6,21,48,0.86) 42%, rgba(10,36,85,0.55) 72%, rgba(10,36,85,0.35) 100%),
    linear-gradient(to top, rgba(6,21,48,0.85) 0%, transparent 45%);
}
.hero .wrap { position: relative; padding-top: clamp(64px, 8vw, 116px); padding-bottom: clamp(64px, 8vw, 116px); }
.hero-inner { max-width: 42rem; }
.hero h1 { color: var(--white); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.hero .lead { margin-top: 20px; color: rgba(255,255,255,0.88); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-phone { font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--white); text-decoration: none; }
.hero-phone span { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.18em; color: var(--yellow); }
.hero-phone:hover { color: var(--yellow); }
.hero--short .wrap { padding-top: clamp(48px, 5.5vw, 78px); padding-bottom: clamp(48px, 5.5vw, 78px); }

/* Yellow accent bar under hero */
.bolt-rule { height: 4px; background: var(--orange); }

/* ---- Trust strip ---- */
.trust { background: var(--navy-800); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: 0; }
.trust-item { padding: 20px 18px; border-left: 1px solid var(--line-dark); color: rgba(255,255,255,0.7); font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.trust-item:first-child { border-left: 0; }
.trust-item strong { display: block; font-family: var(--font-display); font-size: 21px; letter-spacing: 0.01em; color: var(--white); margin-bottom: 1px; text-transform: uppercase; }
@media (max-width: 860px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item { border-top: 1px solid var(--line-dark); }
  .trust-item:nth-child(-n+2) { border-top: 0; }
}

/* ---- Sections ---- */
.section { padding: clamp(58px, 7vw, 100px) 0; }
.section-panel { background: var(--panel); }
.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-900); }
.section-head { margin-bottom: clamp(30px, 4vw, 48px); max-width: 44rem; }
.section-head .lead { margin-top: 14px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }

/* ---- Service cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  display: flex; flex-direction: column;
  background: var(--white); border: 0; border-radius: var(--r-card);
  overflow: hidden; text-decoration: none; color: inherit;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy-600); }
.svc-photo { position: relative; aspect-ratio: 16 / 10; background: var(--navy-800); overflow: hidden; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.svc:hover .svc-photo img { transform: scale(1.04); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,48,0.55), transparent 55%); }
.svc-tag {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--navy-900); background: var(--yellow); padding: 5px 10px; border-radius: var(--r-sm); font-weight: 500;
}
.svc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-body h3 { margin-bottom: 9px; }
.svc-body p { font-size: 15.5px; color: var(--muted); flex: 1; }
.svc-more { margin-top: 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 16px; letter-spacing: 0.03em; color: var(--orange); }
.svc:hover .svc-more { color: var(--orange-deep); }

/* ---- Split photo + text ---- */
.split { display: grid; grid-template-columns: 1.62fr 1fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.split.reverse > div:first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > div:first-child { order: 0; } }
.photo-frame { position: relative; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-frame::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--orange); }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack .photo-frame:first-child { grid-column: 1 / -1; }
.photo-stack .photo-frame:first-child img { aspect-ratio: 16 / 10; }
.photo-stack .photo-frame:not(:first-child) img { aspect-ratio: 1 / 1; }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 780px) { .stats { grid-template-columns: 1fr 1fr; } }
.stat { background: transparent; border: 0; border-top: 3px solid var(--orange); border-radius: 0; padding: 18px 0 0; box-shadow: none; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.6vw, 44px); color: var(--navy-800); line-height: 1; }
.stat span { display: block; margin-top: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.section-navy .stat { background: transparent; border-top-color: var(--gold); }
.section-navy .stat b { color: var(--yellow); }
.section-navy .stat span { color: rgba(255,255,255,0.65); }

/* ---- Gallery ---- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery--bleed { max-width: none; width: 100%; padding-left: 14px; padding-right: 14px; grid-template-columns: repeat(4, 1fr); }
@media (min-width: 1200px) { .gallery--bleed { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
.gallery figure { position: relative; border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy-800); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.35s ease; }
.gallery figure:hover img { transform: scale(1.05); }

/* ---- Steps ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; background: transparent; border: 0; border-radius: 0; padding: 0 18px 0 0; position: relative; box-shadow: none; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 700; font-size: 42px; line-height: 1;
  color: var(--orange); display: block; margin-bottom: 12px; opacity: 0.9;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---- Feature cells ---- */
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cells.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cells, .cells.three { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cells, .cells.three { grid-template-columns: 1fr; } }
.cell { background: var(--panel); border: 0; border-radius: var(--r-card); padding: 28px 26px; box-shadow: none; }
.cell-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange); margin-bottom: 11px; }
.cell h3 { margin-bottom: 9px; }
.cell p { font-size: 15.5px; color: var(--muted); }
.section-navy .cell { background: var(--navy-700); border: 0; }
.section-navy .cell p { color: rgba(255,255,255,0.75); }
.section-navy .cell-label { color: var(--yellow); }

/* ---- Spec sheet ---- */
.spec { background: transparent; border: 0; border-top: 2px solid var(--navy-900); border-radius: 0; overflow: visible; box-shadow: none; }
.spec-row { display: grid; grid-template-columns: 165px 1fr; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }

.spec-row dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec-row dd { font-weight: 600; color: var(--navy-900); }
@media (max-width: 520px) { .spec-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Area cards ---- */
.areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .areas { grid-template-columns: 1fr 1fr; } }
.area {
  display: block; text-decoration: none; border-radius: var(--r-card); padding: 18px 16px;
  background: var(--navy-700); border: 0; color: var(--white);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.area:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.area strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.area span { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; color: rgba(255,255,255,0.55); text-transform: uppercase; }
.area:hover span { color: rgba(255,255,255,0.85); }

/* ---- Tags ---- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tags li, .tags a {
  font-family: var(--font-body); font-weight: 500; font-size: 14px;
  border: 1px solid var(--line); background: var(--white); border-radius: var(--r-pill);
  padding: 7px 15px; color: var(--body); text-decoration: none;
}
.tags a:hover { border-color: var(--navy-600); color: var(--navy-600); }
.section-navy .tags li, .section-navy .tags a { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: rgba(255,255,255,0.85); }
.section-navy .tags a:hover { border-color: var(--yellow); color: var(--yellow); }

/* ---- Checklist ---- */
.checklist { list-style: none; columns: 2; column-gap: 30px; }
.checklist li { break-inside: avoid; padding: 11px 0 11px 32px; position: relative; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--navy-900); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 15px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: rotate(-45deg);
}
@media (max-width: 640px) { .checklist { columns: 1; } }

/* ---- Reviews ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 940px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .reviews { grid-template-columns: 1fr; } }
.review { background: var(--white); border: 0; border-radius: var(--r-card); padding: 28px 26px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.section-navy .review { background: var(--navy-700); box-shadow: none; }
.section-navy .review blockquote { color: rgba(255,255,255,0.88); }
.section-navy .review-meta { border-top-color: rgba(255,255,255,0.12); color: var(--gold); }
.section-navy .review-meta strong { color: var(--white); }
.review .stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { font-size: 15.5px; color: var(--body); flex: 1; }
.review-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.review-meta strong { display: block; color: var(--navy-900); font-size: 15px; }

/* ---- FAQ ---- */
.faq details { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; margin-bottom: 0; box-shadow: none; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 4px; font-weight: 650; font-size: 17px; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-weight: 700; font-size: 27px; color: var(--orange); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 4px 22px; color: var(--muted); max-width: 78ch; }

/* ---- Quote form ---- */
.quote-form { background: var(--white); border-radius: var(--r-card); padding: 32px 30px; box-shadow: var(--shadow-lg); border-top: 0; }
.form-title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 27px; color: var(--navy-900); line-height: 1.05; }
.form-sub { font-size: 14px; color: var(--muted); margin-top: 5px; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 16px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); color: var(--navy-900);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy-600); box-shadow: 0 0 0 3px rgba(23,71,143,0.14); background: var(--white); }
.form-note { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---- CTA band ---- */
.cta-band { position: relative; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.cta-band .cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-band .cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(6,21,48,0.96) 0%, rgba(10,36,85,0.90) 55%, rgba(10,36,85,0.78) 100%); }
.cta-band .wrap { padding-top: clamp(50px, 6vw, 84px); padding-bottom: clamp(50px, 6vw, 84px); display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(30px, 4vw, 56px); align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.85); max-width: 52ch; }
.cta-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
@media (max-width: 880px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---- Breadcrumbs ---- */
.crumbs { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.06em; padding-bottom: 20px; color: rgba(255,255,255,0.55); }
.crumbs a { color: rgba(255,255,255,0.7); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); }
.crumbs span { color: var(--white); }

/* ---- Footer ---- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); font-size: 15px; }
.site-footer .wrap { padding-top: 60px; padding-bottom: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--yellow); margin-bottom: 15px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-logo img { height: 92px; width: auto; margin-bottom: 14px; }
.footer-lic { margin-top: 16px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--navy-900); background: var(--gold); padding: 8px 15px; display: inline-block; font-weight: 500; }
.footer-social { margin-top: 16px; display: flex; gap: 10px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; border: 1px solid var(--line-dark); border-radius: var(--r-sm); padding: 7px 12px; }
.footer-social a:hover { border-color: var(--yellow); }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer-base nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---- Sticky mobile call bar ---- */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -4px 18px rgba(6,21,48,0.22);
  }
  .callbar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 15px 10px; text-decoration: none;
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: 18px; letter-spacing: 0.03em;
  }
  .callbar .cb-call { background: var(--white); color: var(--navy-900); }
  .callbar .cb-quote { background: var(--orange); color: var(--white); }
  body { padding-bottom: 56px; }
}

/* ---- Hero city rotator (progressive enhancement) ----
   Static HTML lists all ten service areas so crawlers and AI retrieval read a
   complete sentence. The .is-typing state is only applied by JS, for people. */
.rotator-line {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(19px, 2.1vw, 27px);
  line-height: 1.35;
  color: rgba(255,255,255,0.94);
  max-width: 30ch;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.rotator { color: var(--gold); }
.rotator.is-typing { white-space: nowrap; }
.rotator.is-typing::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -0.12em;
  background: var(--gold);
  animation: caret 1.05s step-end infinite;
}
@keyframes caret { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rotator.is-typing::after { animation: none; opacity: 1; }
}

/* ---- Hero video layered over a photo fallback ----
   The <img> is the base layer and always renders. The <video> sits on top and
   only covers it once it actually has frames. A missing mp4, a network failure,
   or iOS refusing to autoplay all degrade to the photo instead of a blank box. */
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media > .hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
/* Only ever hidden when the file is missing, errors, or autoplay is refused. */
.hero-media > .hero-video.is-failed { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-media > .hero-video { display: none; }
}
