/* Diamond Finish Detailing - Shared Design System */

:root {
  /* Brand */
  --accent: #30AFE3;
  --accent-hover: #2596C8;
  --text-primary: #FFFFFF;
  --bg-primary: #000000;

  /* Supporting - strict black/white/blue only */
  --bg-surface: #000000;
  --bg-muted: #000000;
  --border: #FFFFFF;
  --text-muted: #FFFFFF;
  --text-on-accent: #000000;
  --light-strip: #FFFFFF;

  /* Type */
  --font-sans: "Inter Tight", system-ui, -apple-system, sans-serif;
  --eyebrow-track: 0.12em;
  --button-track: 0.05em;

  /* Layout */
  --container-max: 1280px;
  --container-px: clamp(24px, 5vw, 64px);

  /* Radius - bumped for friendlier, more current feel */
  --radius-button: 8px;
  --radius-card: 20px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 160ms;
  --dur-base: 240ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; background: #000; }

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* ─── Typography ─── */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--accent);
  display: inline-block;
  margin-bottom: 16px;
}
.display {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.headline {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.subhead {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 60ch;
}
.body-lg {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 60ch;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--button-track);
  border-radius: var(--radius-button);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-secondary:hover { background: var(--accent); color: var(--text-on-accent); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 11px;
  line-height: 1;
}
.btn-full { width: 100%; justify-content: center; }

.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── Header / Nav ─── */
.site-header {
  position: sticky;
  /* Overlap the promo strip by ~1px. The strip renders ~40.1px tall, so
     pinning the header a touch higher tucks it under the strip (which has a
     higher z-index) and prevents a sub-pixel seam where the page background
     would otherwise bleed through as a thin white line. */
  top: 38px;
  margin-top: -1px;
  z-index: 1000;
  /* Solid, opaque black - no translucency and no backdrop-filter. A
     backdrop-filter on a sticky translucent bar makes Chrome paint a bright
     1px fringe at its bottom edge (the white line). Removing the filter and
     the transparency eliminates the fringe at its source. */
  background: #000;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.logo-img {
  height: 85px;
  width: auto;
  display: block;
}
.logo-footer .logo-img {
  height: 120px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.nav-phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Mobile menu wrapper is invisible on desktop (children flow into .nav flexbox) */
.nav-menu { display: contents; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .nav { height: 72px; }
  .logo-img { height: 52px; }

  /* Hamburger button */
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 11px 9px;
    border-radius: 8px;
    flex-shrink: 0;
  }
  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Slide-down menu panel */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 8px 0 20px;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    align-items: stretch;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 16px var(--container-px);
    font-size: 16px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    padding: 16px var(--container-px) 0;
  }
  .nav-phone {
    display: block;
    text-align: center;
    font-size: 16px;
    padding: 6px 0;
  }
  .nav-cta .btn { width: 100%; justify-content: center; }
}

/* ─── Sections ─── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-surface { background: var(--bg-surface); }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-primary);
  /* Pull up 1px under the header so no sub-pixel rounding gap can open at the
     header/hero seam and let the page background bleed through as a thin line. */
  margin-top: -1px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.4) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 64px 0;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.hero-content .body-lg { margin: 0 0 16px; }

/* ─── Cards / grids ─── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px;
}

/* Service tile (home) */
.service-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color var(--dur-base) var(--ease);
}
.service-tile:hover { border-color: var(--accent); }
.service-tile .tile-img {
  aspect-ratio: 16/10;
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-muted);
}
.service-tile .tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease);
}
.service-tile:hover .tile-img img { transform: scale(1.04); }
.service-tile h3 { font-size: 24px; font-weight: 700; }
.service-tile .arrow-link {
  margin-top: auto;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--button-track);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr; } }
.process-step .step-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-bottom: 24px;
  background: var(--bg-muted);
}
.process-step .step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter var(--dur-base) var(--ease);
}
.process-step:hover .step-img img { filter: brightness(1); }
.process-step .step-num {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  margin-bottom: 16px;
  display: block;
}
.process-step h4 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }

/* Why-us beauty image */
.beauty-img {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: var(--radius-card);
  margin-top: 64px;
  background: var(--bg-muted);
  position: relative;
}
.beauty-img img { width: 100%; height: 100%; object-fit: cover; }
.beauty-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

/* Reviewer avatar */
.review-card .reviewer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.review-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-muted);
}
.review-card .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Pricing card image */
.pricing-card .pkg-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 2px;
  margin: -8px -8px 8px;
  background: var(--bg-muted);
}
.pricing-card .pkg-img img { width: 100%; height: 100%; object-fit: cover; }

/* Marine service row image */
.marine-service {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.marine-service:last-child { border-bottom: none; }
.marine-service h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; }
.marine-service p { font-size: 16px; color: var(--text-muted); line-height: 1.7; }
.marine-service .ms-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-muted);
}
.marine-service .ms-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) { .marine-service { grid-template-columns: 1fr; gap: 24px; } }

/* Differentiator list */
.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 700px) { .diff-list { grid-template-columns: 1fr; } }
.diff-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.diff-item:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--border); }
.diff-item:nth-child(even) { padding-left: 24px; }
@media (max-width: 700px) {
  .diff-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .diff-item:nth-child(even) { padding-left: 0; }
}
.diff-item .check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--text-on-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  margin-top: 2px;
}
.diff-item h4 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.diff-item p { font-size: 15px; color: var(--text-muted); }

/* Service areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .areas-grid { grid-template-columns: 1fr; } }
.area-col h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.area-col ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}
.area-col li {
  font-size: 14px;
  color: var(--text-muted);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: #fff;
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(48,175,227,0.15);
}
.review-card .review-body {
  color: var(--accent) !important;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.review-card .reviewer {
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 2px;
}
.review-card .review-source {
  color: var(--accent) !important;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.review-card .stars {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.review-summary {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.review-summary .big-rating {
  font-size: 56px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.review-summary .label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: background var(--dur-base) var(--ease);
}
.faq-item[open] { background: var(--accent); color: var(--text-on-accent); }
.faq-item summary {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.6;
}
.faq-item:not([open]) .faq-body { color: var(--text-muted); }

/* Pricing card */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-card.featured { border-color: var(--accent); }
.pricing-card .tier-name {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--accent);
}
.pricing-card .tier-title { font-size: 28px; font-weight: 700; }
.pricing-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.pricing-card .price small {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  display: block;
  margin-top: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.pricing-card .best-for {
  font-size: 14px;
  color: var(--text-muted);
  font-style: italic;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.pricing-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-card ul li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.pricing-card ul li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.pricing-card .btn { margin-top: auto; }

/* Add-on row */
.addon {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.addon:last-child { border-bottom: none; }
.addon h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.addon p { font-size: 14px; color: var(--text-muted); max-width: 60ch; }
.addon .addon-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* Light Strip CTA */
.light-strip {
  background: var(--light-strip);
  color: #000;
  padding: 48px 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: var(--radius-card);
}
.light-strip h3 { font-size: 28px; font-weight: 800; max-width: 24ch; }
@media (max-width: 700px) {
  .light-strip { flex-direction: column; align-items: flex-start; padding: 32px; text-align: left; }
}

/* Closing CTA section */
.closing-cta {
  text-align: center;
  padding: 88px 0;
  background:
    linear-gradient(180deg, var(--bg-primary), var(--bg-surface));
}
.closing-cta .display { margin-bottom: 16px; }
.closing-cta .body-lg { margin: 0 auto 28px; }
.closing-cta .btn-row { justify-content: center; }

/* Marine service section */
.marine-service-old {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

/* Forms */
.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 40px;
}
.form-row { display: grid; gap: 16px; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--text-muted);
}
.field input, .field select, .field textarea {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-button);
  padding: 0 16px;
  height: 48px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--dur-fast) var(--ease);
}
.field textarea { padding: 14px 16px; height: auto; min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }

/* Footer */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--text-primary);
  margin-bottom: 20px;
}
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a, .footer-grid li {
  font-size: 14px;
  color: var(--text-muted);
}
.footer-grid a:hover { color: var(--accent); }
.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 38ch;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.trust-badge {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 6px 10px;
  border-radius: 999px;
}
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Misc */
.divider { height: 1px; background: var(--border); margin: 48px 0; }

/* ============ NEW: Reference-inspired components ============ */

/* Top promo strip */
.promo-strip {
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--accent);
  color: var(--text-on-accent);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 16px;
}
.promo-strip .stars { letter-spacing: 2px; margin-right: 8px; }

/* Split hero (copy + form) */
.hero-split {
  position: relative;
  background: var(--bg-primary);
  overflow: hidden;
  padding: 80px 0;
}
.hero-split-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-split-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45) saturate(0.9);
}
.hero-split-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.85), rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.4));
}
.hero-split-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) { .hero-split-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-split-content { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero-split-form {
  background: rgba(15,15,15,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  backdrop-filter: blur(8px);
}
.hero-split-form h3 {
  font-size: 22px; font-weight: 800; margin-bottom: 6px;
}
.hero-split-form .form-row { gap: 12px; }
.hero-split-form .field input,
.hero-split-form .field select,
.hero-split-form .field textarea { height: 44px; }
.hero-split-form .field textarea { min-height: 88px; height: auto; }

/* Section variants - light & dark rhythm */
.section-light {
  background: var(--light-strip);
  color: #000;
}
.section-light .body, .section-light .body-lg { color: #000; }
.section-light .eyebrow { color: var(--accent); }
.section-light .headline, .section-light .display, .section-light .subhead { color: #000; }
.section-light .card {
  background: #fff;
  border: 1px solid #000;
  color: #000;
}
.section-light .card .body { color: #000; }
.section-light .review-summary { background: #fff; border-color: #000; }
.section-light .review-summary .label,
.section-light .review-summary .body { color: #000; }
.section-light .pricing-card {
  background: #fff; border-color: #000; color: #000;
}
.section-light .pricing-card ul li { color: #000; }
.section-light .pricing-card .best-for { color: #000; border-color: #000; }

/* Tight section - for short, single-purpose blocks */
.section-tight { padding: 48px 0; }

/* Light tinted backgrounds for visual rhythm */
.section-tint-blue {
  background: linear-gradient(180deg, #EAF6FC 0%, #D5EBF7 100%);
  color: #0a1f2e;
}
.section-tint-blue .eyebrow { color: var(--accent); }
.section-tint-blue .headline,
.section-tint-blue .display,
.section-tint-blue .subhead { color: #0a1f2e; }
.section-tint-blue .body,
.section-tint-blue .body-lg { color: #2c4a5c; }
.section-tint-blue .stat-tile {
  background: #fff;
  border-color: #BBD9EB;
  color: #0a1f2e;
}
.section-tint-blue .stat-tile .stat-label { color: #0a1f2e; }
.section-tint-blue .step-tile { background: #fff; border-color: #BBD9EB; color: #0a1f2e; }
.section-tint-blue .step-tile p { color: #2c4a5c; }

.section-tint-gray {
  background: #F4F4F2;
  color: #000;
}
.section-tint-gray .eyebrow { color: var(--accent); }
.section-tint-gray .headline,
.section-tint-gray .display,
.section-tint-gray .subhead { color: #000; }
.section-tint-gray .body,
.section-tint-gray .body-lg { color: #333; }

.section-tint-gray .card { background: #fff; border: 1px solid #000; color: #000; }
.section-tint-gray .card .body { color: #333; }
.section-tint-gray .pricing-card { background: #fff; border-color: #000; color: #000; }
.section-tint-gray .pricing-card ul li { color: #000; }
.section-tint-gray .pricing-card .best-for { color: #000; border-color: #000; }


.section-tint-blue .card { background: #fff; border: 1px solid #BBD9EB; color: #0a1f2e; }
.section-tint-blue .card .body { color: #2c4a5c; }
.section-tint-blue .pricing-card { background: #fff; border-color: #BBD9EB; color: #0a1f2e; }
.section-tint-blue .pricing-card ul li { color: #2c4a5c; }
.section-tint-blue .pricing-card .best-for { color: #0a1f2e; border-color: #BBD9EB; }
.section-tint-blue .review-summary { background: #fff; border-color: #BBD9EB; }
.section-tint-blue .review-summary .label,
.section-tint-blue .review-summary .body { color: #0a1f2e; }
.section-tint-blue .light-strip { background: #fff; border: 1px solid #BBD9EB; }

/* Compact 3-step tiles (reference style) */
.steps-tight {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .steps-tight { grid-template-columns: 1fr; } }
.step-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
}
.section-light .step-tile { background: #FFFFFF; border-color: #000000; }
.step-tile .num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 18px; font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}
.step-tile h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step-tile p { font-size: 14px; color: var(--text-muted); }
.section-light .step-tile p { color: #000000; }

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
.portfolio-item {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--bg-muted);
}
.portfolio-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-base) var(--ease);
}
.portfolio-item:hover img { transform: scale(1.05); }

/* Inline review row (reference style) */
.review-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.review-strip .big-stars {
  font-size: 22px; letter-spacing: 4px; color: var(--accent);
}
/* Booking nudge - small interstitial blue strip */
.booking-nudge {
  background: var(--accent);
  color: var(--text-on-accent);
  padding: 24px 0;
}
.booking-nudge .nudge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.booking-nudge h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 38ch;
}
.booking-nudge .btn-row { gap: 12px; }
.booking-nudge .btn-on-blue {
  background: #000000;
  color: #FFFFFF;
}
.booking-nudge .btn-on-blue:hover { background: #FFFFFF; color: #000000; }
.booking-nudge .btn-on-blue-outline {
  background: transparent;
  color: #000000;
  border: 1px solid #000000;
}
.booking-nudge .btn-on-blue-outline:hover { background: #000000; color: #FFFFFF; }

/* Photo-backdrop section - full-bleed image with dark wash for legibility */
.section-photo {
  position: relative;
  padding: 72px 0;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.section-photo .photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.section-photo .photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 50%, rgba(0,0,0,0.4) 100%);
}
.section-photo.center::before {
  background: rgba(0,0,0,0.65);
}
.section-photo .container { position: relative; }
.section-photo .body, .section-photo .body-lg { color: #fff; }
.section-photo .headline, .section-photo .display { color: #fff; }
.section-photo .eyebrow { color: var(--accent); }

/* ============ NEW v8: Reference-inspired upgrades ============ */

/* Lighter, more transparent overlay - lets the photo come through */
.hero.hero-blue .hero-bg::before {
  background:
    linear-gradient(135deg, rgba(25,30,40,0.25) 0%, rgba(40,45,55,0.15) 50%, rgba(20,25,35,0.30) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.20) 0%, rgba(0,0,0,0.45) 100%);
}

/* Stat tiles row */
.stat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .stat-tiles { grid-template-columns: repeat(2, 1fr); } }
.stat-tile {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
}
.section-light .stat-tile { background: #fff; border-color: #000; color: #000; }
.stat-tile .stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-tile .stat-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
}
.section-light .stat-tile .stat-label { color: #000; }

/* Water & Power feature card (blue gradient) */
.feature-card-blue {
  background:
    linear-gradient(135deg, #2596C8 0%, #30AFE3 50%, #1B7AAB 100%);
  border-radius: var(--radius-card);
  padding: 44px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Split feature: blue card on left, photo on right */
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .split-feature { grid-template-columns: 1fr; }
}
.split-feature .feature-card-blue {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.split-feature .feature-card-blue ul {
  margin-top: auto;
  margin-bottom: 28px;
}
.split-photo {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  min-height: 480px;
  background: #000;
}
.split-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .split-photo { min-height: 320px; }
}
.feature-card-blue::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,0.18) 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(0,0,0,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.feature-card-blue > * { position: relative; z-index: 1; }
.feature-card-blue h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: 12px;
}
.feature-card-blue .eyebrow {
  color: #fff;
  opacity: 0.9;
}
.feature-card-blue ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 32px;
  margin: 32px 0;
}
@media (max-width: 700px) {
  .feature-card-blue { padding: 36px 28px; }
  .feature-card-blue ul { grid-template-columns: 1fr; }
}
.feature-card-blue ul li {
  font-size: 15px;
  font-weight: 500;
  padding-left: 32px;
  position: relative;
  color: #fff;
}
.feature-card-blue ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px; height: 22px;
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.feature-card-blue .btn-primary {
  background: #000;
  color: #fff;
}
.feature-card-blue .btn-primary:hover { background: #fff; color: #000; }
.feature-card-blue .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.feature-card-blue .btn-secondary:hover { background: #fff; color: var(--accent); }

/* Service area pills */
.area-pills-region {
  margin-bottom: 32px;
}
.area-pills-region h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-track);
  color: var(--accent);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid var(--accent);
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.area-pill:hover {
  background: #fff;
  color: var(--accent);
  transform: translateY(-1px);
}
.area-pill::before {
  content: "📍";
  font-size: 12px;
  filter: grayscale(1) brightness(2);
}
.area-pill:hover::before { filter: none; }

/* Photo-overlay service tile (label only) */
.service-tile-photo {
  position: relative;
  display: block;
  aspect-ratio: 4/5;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-muted);
  isolation: isolate;
}
.service-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-base) var(--ease);
}
.service-tile-photo:hover img { transform: scale(1.06); }
.service-tile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 1;
}
.service-tile-photo .tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: #fff;
}
.service-tile-photo .tile-label .eyebrow {
  color: var(--accent);
  margin-bottom: 0;
}
.service-tile-photo .tile-label h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.service-tile-photo .tile-label .arrow-link {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--button-track);
  color: var(--accent);
}
.service-tile-photo .tile-label .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 11px;
  line-height: 1;
}

/* ============ Form Submission Animations ============ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============ Mobile hardening (phones / small tablets) ============ */
@media (max-width: 768px) {
  /* Never allow sideways scroll on small screens */
  html, body { overflow-x: hidden; }

  /* Promo strip scrolls away; header sticks to the very top (avoids overlap
     when the strip text wraps to multiple lines on narrow screens) */
  .promo-strip { position: static; font-size: 11px; line-height: 1.4;
    letter-spacing: 0; padding: 8px 6px; white-space: nowrap; }
  /* Shrink the stars and tighten their spacing so the whole row fits on a
     single line at 390px */
  .promo-strip .stars { font-size: 10px; letter-spacing: 0; margin-right: 5px; }
  .site-header { top: 0; }

  /* Collapse layouts whose inline grid-template-columns beat the class media
     queries. !important is required to override the element's inline style. */
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Three stat boxes stay in a single row of equal columns on phones.
     Reduced gap, inner padding, and font sizes keep them readable with no
     overflow at 390px. !important overrides the elements' inline styles. */
  .stat-tiles { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  .stat-tile { padding: 12px 8px !important; display: flex !important;
    flex-direction: column; justify-content: flex-start; align-items: center; }
  .stat-num { font-size: 17px !important; }
  .stat-label { font-size: 9px !important; letter-spacing: 0; }
  .m-stack { grid-template-columns: 1fr !important; }

  /* Service-area boxes: 2-up instead of ~40 full-width bars stacked one per row */
  .area-box-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  /* Consistent vertical rhythm - several sections hardcode big padding that
     made the page alternate between tight and huge gaps (the "choppy" feel) */
  .section { padding: 48px 0; }
  .section-tight, .section-sm { padding: 36px 0; }
  .closing-cta { padding: 56px 0; }
  #service-areas { padding: 44px 0 !important; }

  /* Hero fits the viewport better and text isn't crammed against edges */
  .hero { min-height: 440px; }
  .hero-content { padding: 40px 20px; max-width: 100%; }
  .hero-split { padding: 48px 0; }

  /* Full-width, easy-to-tap primary actions */
  .hero .btn-row, .closing-cta .btn-row { width: 100%; }
  .hero .btn-row .btn, .closing-cta .btn-row .btn { flex: 1 1 100%; justify-content: center; }

  /* Forms breathe a little less padding */
  .form-card { padding: 24px 20px; }

  /* Light strip / booking nudge already stack; keep the headline readable */
  .light-strip h3 { font-size: 24px; }

  /* Hero heading: proportional on phones - slightly smaller so it sits
     within the new 20px side margins without crowding the edges */
  .hero .display { font-size: clamp(25px, 7vw, 34px); line-height: 1.1; }
}

@media (max-width: 480px) {
  /* Keep all three stat boxes on one row (see 768px block) */
  .stat-tiles { grid-template-columns: repeat(3, 1fr) !important; }
  .area-col ul { grid-template-columns: 1fr; }
  .btn { padding: 13px 18px; }
  .display { font-size: clamp(32px, 9vw, 40px); }
}
