/* =================================================================
   Eric Lund's Lawn & Landscaping — Design System
   Static prototype. One shared stylesheet.
   Sections map 1:1 to Elementor sections.
   ================================================================= */

/* -----------------------------------------------------------------
   1. DESIGN TOKENS (CSS custom properties)
   Retune the whole brand from here.
   ----------------------------------------------------------------- */
:root {
  /* Brand colors */
  --red: #C8202E;
  --red-dark: #A4151F;
  --navy: #0E2A3F;
  --navy-light: #1B3D57;
  --green: #2E7D4F;
  --green-dark: #245F3D;
  --sand: #F5EFE6;
  --sand-dark: #EAE0CF;
  --ink: #1A1A1A;
  --muted: #5A6470;
  --white: #FFFFFF;
  --line: #E2DACB;

  /* Typography */
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Layout */
  --maxw: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(14, 42, 63, 0.08);
  --shadow: 0 8px 24px rgba(14, 42, 63, 0.12);
  --shadow-lg: 0 18px 48px rgba(14, 42, 63, 0.18);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 150px;
}

/* -----------------------------------------------------------------
   2. RESET / BASE
   ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 var(--sp-4); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

/* Accessible focus */
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--navy); color: #fff; padding: var(--sp-3) var(--sp-5); border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* -----------------------------------------------------------------
   3. LAYOUT HELPERS
   ----------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-7); }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: #dfe7ee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem;
  color: var(--green); margin-bottom: var(--sp-3);
}
.section--navy .eyebrow { color: #6fd29a; }
.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.15rem; color: var(--muted); }
.section--navy .lead { color: #b9c6d2; }

/* -----------------------------------------------------------------
   4. BUTTONS
   ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  line-height: 1; text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--red-dark); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* -----------------------------------------------------------------
   5. HEADER (sticky)
   ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: #fff;
  box-shadow: var(--shadow-sm); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: var(--header-h); padding-block: var(--sp-3); position: relative; }
.brand { display: flex; align-items: center; gap: var(--sp-3); flex: 0 0 auto; }
.brand img { width: 200px; max-width: 200px; height: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: var(--sp-2); }
.main-nav > ul { display: flex; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 0.55rem 0.85rem; color: var(--navy); font-family: var(--font-head);
  font-weight: 600; font-size: 1rem; border-radius: var(--radius-sm); white-space: nowrap;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red); background: var(--sand); }

/* Dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: "▾"; font-size: 0.7em; margin-left: 0.3em; }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff;
  box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: var(--sp-2);
  list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.2s var(--ease); border: 1px solid var(--line);
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu a { font-size: 0.9rem; }

/* Mega menu (full-width dropdown under Services) */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; margin-top: -2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: var(--sp-6);
  display: grid; grid-template-columns: 1.1fr 1fr 1.15fr; gap: var(--sp-6);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s var(--ease); z-index: 1001;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-head {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--green); margin-bottom: var(--sp-2);
}
.mega-col a { display: block; padding: 0.4rem 0.55rem; border-radius: var(--radius-sm); font-weight: 500; font-size: 0.95rem; }
.mega-col a:hover { background: var(--sand); color: var(--red); }
.mega-cta { background: var(--navy); color: #fff; border-radius: var(--radius-sm); padding: var(--sp-5); }
.mega-cta strong { font-family: var(--font-head); font-size: 1.12rem; display: block; margin-bottom: var(--sp-2); }
.mega-cta p { color: #d6e0e8; font-size: 0.88rem; margin: 0 0 var(--sp-4); }
.mega-cta .btn { width: 100%; color: #fff; }
.mega-cta .btn:hover { color: #fff; }

.header-cta { display: flex; align-items: center; gap: var(--sp-4); flex: 0 0 auto; }
.header-phone { font-family: var(--font-head); font-weight: 700; color: var(--navy); white-space: nowrap; font-size: 1.1rem; line-height: 1.1; }
.header-phone span { display: block; font-size: 0.68rem; font-weight: 500; color: var(--muted); }
.header-social { display: flex; gap: var(--sp-2); }
.header-social a {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sand); color: var(--navy); transition: all 0.2s var(--ease);
}
.header-social a:hover { background: var(--red); color: #fff; }
.header-social svg, .footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* Mobile nav toggle */
.nav-toggle {
  display: none; background: var(--navy); border: 0; color: #fff; width: 46px; height: 46px;
  border-radius: var(--radius-sm); cursor: pointer; align-items: center; justify-content: center;
  /* must paint above the slide-in .main-nav drawer (z-index 999) so the X stays tappable */
  position: relative; z-index: 1001;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: 0.25s var(--ease);
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* -----------------------------------------------------------------
   6. STORM BANNER (toggleable)
   ----------------------------------------------------------------- */
.storm-banner {
  background: linear-gradient(90deg, var(--red), var(--red-dark)); color: #fff;
  text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  padding: var(--sp-3) var(--sp-5); position: relative;
}
.storm-banner a { color: #fff; text-decoration: underline; }
.storm-banner .close-banner {
  position: absolute; right: var(--sp-4); top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.2); border: 0; color: #fff; width: 26px; height: 26px;
  border-radius: 50%; cursor: pointer; font-size: 1rem; line-height: 1;
}
.storm-banner[hidden] { display: none; }

/* Top attention bar (phone + tagline) */
.topbar { background: var(--navy); color: #fff; font-size: 0.85rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-2); }
.topbar-msg { margin: 0; color: #cfe0ec; font-family: var(--font-head); font-weight: 500; }
.topbar-phone { color: #fff; font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.topbar-phone:hover { color: #ffcf3f; }
@media (max-width: 620px) {
  .topbar-msg { display: none; }
  .topbar-inner { justify-content: center; }
}

/* -----------------------------------------------------------------
   7. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: var(--navy);
  background-image: linear-gradient(rgba(14,42,63,0.62), rgba(14,42,63,0.72)), url("../img/paver-pool-deck-palm-privacy-wall-after.jpg");
  background-size: cover; background-position: center;
  padding-block: clamp(3rem, 9vw, 7rem);
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { font-size: 1.2rem; max-width: 54ch; color: #eaf0f5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-5); margin-top: var(--sp-7); font-family: var(--font-head); font-weight: 600; }
.hero-badges span { display: flex; align-items: center; gap: var(--sp-2); font-size: 0.95rem; }
.hero-badges span::before { content: "★"; color: #ffcf3f; }

/* Hero with embedded lead form (two-column) */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--sp-7); align-items: center; }
.hero-copy { min-width: 0; }
.hero-grid .form-card { color: var(--ink); }
.hero-form-head { margin-bottom: var(--sp-4); }
.hero-form-head .form-eyebrow {
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.78rem; color: var(--green); margin: 0;
}
.hero-form-head h2 { font-size: 1.5rem; color: var(--navy); margin: var(--sp-1) 0 0; }

/* Sub-page hero (smaller) */
.subhero {
  color: #fff; background: var(--navy);
  background-image: linear-gradient(rgba(14,42,63,0.7), rgba(14,42,63,0.78)), url("../img/front-bed-flowers-river-rock.jpg");
  background-size: cover; background-position: center; padding-block: var(--sp-8);
}
.subhero h1 { color: #fff; }
.subhero p { color: #e3eaf0; max-width: 60ch; margin-bottom: 0; }

/* -----------------------------------------------------------------
   8. TRUST BAR
   ----------------------------------------------------------------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-6);
  padding-block: var(--sp-5);
}
.trust-grid .trust-item { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 0.95rem; text-align: center; }
.trust-grid .trust-item strong { display: block; font-size: 1.7rem; color: var(--red); }
.trust-grid .trust-item small { display: block; font-weight: 500; color: var(--muted); font-size: 0.78rem; }
.trust-grid .trust-rating { margin-left: auto; display: flex; align-items: center; gap: var(--sp-3); text-align: left; }
.trust-grid .trust-rating .trust-stars { color: #ffb400; font-size: 1.5rem; letter-spacing: 2px; line-height: 1; }
.trust-grid .trust-rating .trust-rating-text { font-size: 0.95rem; color: var(--navy); }
.trust-grid .trust-rating .trust-rating-text strong { display: inline; font-size: 1.05rem; color: var(--navy); }
@media (max-width: 620px) {
  .trust-grid { justify-content: center; gap: var(--sp-5); }
  .trust-grid .trust-rating { margin-left: 0; }
}

/* -----------------------------------------------------------------
   9. CARDS / GRIDS
   ----------------------------------------------------------------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--sp-6); box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--sand);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: var(--sp-4);
}
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--muted); margin-bottom: var(--sp-4); }
.card .card-link { font-family: var(--font-head); font-weight: 600; }
.card .card-link::after { content: " →"; }

/* Service card with image */
.service-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-card .body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.service-card .body p { flex: 1; }

/* -----------------------------------------------------------------
   10. WHY US / FEATURE LIST
   ----------------------------------------------------------------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: var(--sp-4); margin: 0; }
.feature-list .check {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--green);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
}
.feature-list h3 { font-size: 1.1rem; margin-bottom: var(--sp-1); }
.feature-list p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* -----------------------------------------------------------------
   11. FULL-SERVICE BAND
   ----------------------------------------------------------------- */
.fullservice { text-align: center; }
.fullservice .chips { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; margin-top: var(--sp-6); }
.fullservice .chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  padding: var(--sp-3) var(--sp-5); border-radius: 999px; font-family: var(--font-head); font-weight: 600;
  display: flex; align-items: center; gap: var(--sp-2);
}
.fullservice .plus { color: #6fd29a; font-size: 1.5rem; align-self: center; }

/* Crew band (full-service with imagery) */
.crew-band .crew-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); align-items: center; }
.crew-copy h2 { color: #fff; }
.crew-copy .lead { color: #d6e0e8; max-width: 48ch; }
.crew-copy .chips { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin: var(--sp-5) 0; }
.crew-copy .chip {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff;
  padding: var(--sp-2) var(--sp-4); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.crew-media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.crew-media figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.crew-media img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 860px) {
  .crew-band .crew-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* -----------------------------------------------------------------
   12. PROJECTS / BEFORE-AFTER
   ----------------------------------------------------------------- */
.project-card { padding: 0; overflow: hidden; }
.project-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.project-card .body { padding: var(--sp-5); }
.project-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.tag {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--sand-dark); color: var(--navy);
}
.tag--service { background: #d8ebe0; color: var(--green-dark); }
.tag--city { background: #dde7ef; color: var(--navy); }

/* Before / After slider */
.ba-slider {
  position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius);
  user-select: none; box-shadow: var(--shadow); cursor: ew-resize;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 4px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
}
.ba-handle::after {
  content: "⇄"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; background: #fff; border-radius: 50%; display: grid; place-items: center;
  color: var(--navy); font-size: 1.1rem; box-shadow: var(--shadow);
}
.ba-label {
  position: absolute; bottom: var(--sp-3); font-family: var(--font-head); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: #fff; background: rgba(14,42,63,0.75);
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.ba-label--before { left: var(--sp-3); }
.ba-label--after { right: var(--sp-3); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* -----------------------------------------------------------------
   13. TESTIMONIALS
   ----------------------------------------------------------------- */
.testimonial {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6);
  box-shadow: var(--shadow-sm); height: 100%; display: flex; flex-direction: column;
}
.stars { color: #ffb400; font-size: 1.1rem; letter-spacing: 0.1em; margin-bottom: var(--sp-3); }
.testimonial blockquote { margin: 0 0 var(--sp-4); font-size: 1.02rem; flex: 1; }
.testimonial cite { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-style: normal; }
.testimonial cite span { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

.rating-summary { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.rating-summary .big { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }

/* Reviews page: rating summary + live Google widget share one section — this adds breathing
   room above the widget's own section-head without the double section padding of a new section. */
.rating-summary + .section-head { margin-top: var(--sp-7); }

/* Trust.Reviews widget: the vendor's slider keeps every slide (including off-screen
   duplicates used for its loop animation) laid out with overflow:visible, which can
   widen the page's horizontal scroll area. Contain it to the widget's own box so it
   never affects page-level layout, independent of the global body overflow rule. */
.tr-widget { overflow-x: hidden; }

/* -----------------------------------------------------------------
   14. SERVICE AREAS
   ----------------------------------------------------------------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); list-style: none; padding: 0; margin: 0; }
.city-grid a {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4); font-family: var(--font-head); font-weight: 500; color: var(--navy);
  transition: all 0.2s var(--ease);
}
.city-grid a:hover { border-color: var(--green); color: var(--green); transform: translateX(4px); }
.city-grid a::before { content: "📍 "; }

.map-placeholder {
  background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 14px, var(--sand-dark) 14px, var(--sand-dark) 28px);
  border: 2px dashed var(--green); border-radius: var(--radius); aspect-ratio: 16/9;
  display: grid; place-items: center; text-align: center; color: var(--green-dark); font-family: var(--font-head); font-weight: 600;
}
.map-embed {
  width: 100%; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: block;
}

/* -----------------------------------------------------------------
   15. FAQ ACCORDION
   ----------------------------------------------------------------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy);
  padding: var(--sp-5) 2.5rem var(--sp-5) 0; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--green); transition: transform 0.2s var(--ease);
}
.faq-q[aria-expanded="true"]::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.3s var(--ease); }
.faq-a > div { padding-bottom: var(--sp-5); color: var(--muted); }

/* -----------------------------------------------------------------
   16. CTA BAND + FORM
   ----------------------------------------------------------------- */
.cta-band { background: var(--navy); color: #fff; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: start; }
.cta-info h2 { color: #fff; }
.cta-info .lead { color: #c4d0db; }
.cta-band .lead { color: #c4d0db; } /* leads placed directly in the navy band (e.g. About page) — not just inside .cta-info */
.cta-contact-list { list-style: none; padding: 0; margin: var(--sp-5) 0 0; }
.cta-contact-list li { display: flex; gap: var(--sp-3); margin-bottom: var(--sp-3); font-size: 1.05rem; }
.cta-contact-list a { color: #fff; }
.cta-contact-list .ic { color: #6fd29a; font-size: 1.2rem; }

/* Form */
/* Scroll offset so a "Free Estimate" jump (see main.js) lands the form below the sticky header
   instead of underneath it. Roughly the sticky .site-header height + a little breathing room. */
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: var(--sp-6); box-shadow: var(--shadow-lg); scroll-margin-top: calc(var(--header-h) + var(--sp-5)); }
.form-row { margin-bottom: var(--sp-4); }
.form-row label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--navy); margin-bottom: var(--sp-2); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink); transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--green); outline: none; }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); }
.step-error { color: var(--red); font-size: 0.85rem; font-weight: 600; margin: var(--sp-2) 0 0; }
/* .hero p / dark-section p rules set near-white text — re-assert readable gray inside the white form card */
.hero .form-card .form-note, .cta-band .form-card .form-note, .form-card .form-note { color: var(--muted); }
.form-success { display: none; background: #d8ebe0; color: var(--green-dark); padding: var(--sp-5); border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; }
.form-success.show { display: block; }

/* Multi-step form */
.steps-indicator { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.steps-indicator .step-dot { flex: 1; height: 6px; border-radius: 999px; background: var(--line); transition: background 0.3s; }
.steps-indicator .step-dot.active { background: var(--green); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.3s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-nav { display: flex; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-5); }
.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
.option-grid label {
  display: flex; align-items: center; gap: var(--sp-3); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4); cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; transition: all 0.2s;
}
.option-grid label:hover { border-color: var(--green); }
.option-grid input { width: auto; margin: 0; accent-color: var(--green); }
.option-grid input:checked + span { color: var(--green-dark); font-weight: 600; }

/* -----------------------------------------------------------------
   17. COMPARISON TABLE (Why Us vs others)
   ----------------------------------------------------------------- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare th, .compare td { padding: var(--sp-4); text-align: center; border-bottom: 1px solid var(--line); }
.compare th { font-family: var(--font-head); background: var(--navy); color: #fff; }
.compare th:first-child, .compare td:first-child { text-align: left; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.compare .col-us { background: #f1f8f3; }
.compare th.col-us { background: var(--green); }
.compare .yes { color: var(--green); font-weight: 700; }
.compare .no { color: #c0392b; }

/* -----------------------------------------------------------------
   18. BREADCRUMBS
   ----------------------------------------------------------------- */
.breadcrumb { background: var(--sand); border-bottom: 1px solid var(--line); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: var(--sp-3) 0; margin: 0; font-size: 0.85rem; }
.breadcrumb li::after { content: "/"; margin-left: var(--sp-2); color: var(--muted); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb li[aria-current] { color: var(--navy); font-weight: 600; }

/* -----------------------------------------------------------------
   19. PROCESS STEPS
   ----------------------------------------------------------------- */
.process {
  list-style: none; padding: 0; margin: var(--sp-7) 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6);
  position: relative;
}
.process::before {
  content: ""; position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0.32) 0 10px, transparent 10px 20px);
}
.process-step {
  position: relative; z-index: 1; background: #fff; border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5) var(--sp-5); text-align: center; box-shadow: var(--shadow);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.process-num {
  position: absolute; top: -23px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; display: grid; place-items: center;
  z-index: 2; border: 4px solid var(--navy); box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}
.process-icon { display: block; font-size: 2.1rem; line-height: 1; margin: var(--sp-5) 0 var(--sp-3); }
.process .process-step h3 { font-size: 1.1rem; margin-bottom: var(--sp-2); color: var(--navy); }
.process .process-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 980px) { .process::before { display: none; } }

/* -----------------------------------------------------------------
   20. GALLERY FILTER
   ----------------------------------------------------------------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-bottom: var(--sp-6); }
.filter-btn {
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 0.5rem 1.1rem;
  border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover { border-color: var(--green); }
.filter-btn.active { background: var(--green); color: #fff; border-color: var(--green); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.gallery-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.4s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: var(--sp-4); color: #fff;
  background: linear-gradient(transparent, rgba(14,42,63,0.85)); font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
}
.gallery-item[hidden] { display: none; }

/* -----------------------------------------------------------------
   21. ARTICLE / BLOG
   ----------------------------------------------------------------- */
.article { max-width: 760px; margin-inline: auto; }
.article-meta { display: flex; align-items: center; gap: var(--sp-3); color: var(--muted); font-size: 0.9rem; margin-bottom: var(--sp-5); }
.article-meta .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.article-body { font-size: 1.08rem; }
.article-body h2 { margin-top: var(--sp-7); }
.article-body img { border-radius: var(--radius); margin-block: var(--sp-5); }
.pull-quote { border-left: 4px solid var(--green); padding-left: var(--sp-5); margin: var(--sp-6) 0; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); font-style: italic; }
.inline-cta { background: var(--sand); border-radius: var(--radius); padding: var(--sp-5) var(--sp-6); margin: var(--sp-6) 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-4); }
.inline-cta p { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--navy); }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; }
.post-card .body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.post-card .cluster { font-family: var(--font-head); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green); margin-bottom: var(--sp-2); }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: 0.95rem; flex: 1; }

/* -----------------------------------------------------------------
   22. ABOUT / SPLIT
   ----------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split--reverse .split-media { order: 2; }

/* -----------------------------------------------------------------
   23. FOOTER
   ----------------------------------------------------------------- */
.site-footer { background: #0a1f2e; color: #aebccb; padding-block: var(--sp-8) var(--sp-6); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-6); }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { color: #aebccb; font-size: 0.92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand img { width: 300px; max-width: 100%; height: auto; margin-bottom: var(--sp-3); }
.footer-brand p { font-size: 0.92rem; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: var(--sp-6); padding-top: var(--sp-5); font-size: 0.82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); }

/* -----------------------------------------------------------------
   24. STICKY MOBILE CALL BAR
   ----------------------------------------------------------------- */
.mobile-bar { display: none; }

/* -----------------------------------------------------------------
   25. UTILITIES
   ----------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--sp-6); }
.cluster-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-5); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: var(--sp-6); }
.pill-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; margin: 0; }
.pill-list a { background: var(--sand); padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.9rem; font-family: var(--font-head); font-weight: 500; color: var(--navy); }
.pill-list a:hover { background: var(--green); color: #fff; }

/* -----------------------------------------------------------------
   26. RESPONSIVE
   ----------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3, .grid-4, .city-grid, .process, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-list { grid-template-columns: 1fr; }
  .cta-grid, .split { grid-template-columns: 1fr; gap: var(--sp-6); }
  .split--reverse .split-media { order: 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .brand img { width: min(170px, 52vw); max-width: 170px; height: auto; }
  .header-social { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); background: #fff; flex-direction: column;
    padding: calc(var(--header-h) + var(--sp-5)) var(--sp-5) var(--sp-5); box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform 0.3s var(--ease); align-items: stretch; overflow-y: auto; z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { padding: var(--sp-3) var(--sp-2); border-radius: var(--radius-sm); }
  .has-mega { position: relative; }
  .sub-menu, .mega {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding-left: var(--sp-4); max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease);
    display: block; margin: 0; background: transparent;
  }
  .has-sub.open .sub-menu, .has-sub.open .mega { max-height: 1200px; }
  .mega { padding: 0 0 0 var(--sp-4); }
  .mega-col { margin-bottom: var(--sp-3); }
  .mega-cta { background: var(--sand); color: var(--ink); padding: var(--sp-4); }
  .mega-cta p { color: var(--muted); }
  .header-phone span { display: none; }
}

@media (max-width: 620px) {
  :root { --header-h: 92px; }
  .form-card { scroll-margin-top: calc(var(--header-h) + var(--sp-6)); }
  .grid-2, .grid-3, .grid-4, .city-grid, .process, .gallery-grid, .option-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--sp-7); }
  .header-phone { display: none; }
  .brand img { width: 132px; max-width: 132px; }
  .hero-badges { gap: var(--sp-3); }
  .hero-badges span { font-size: 0.82rem; }
  .compare th, .compare td { padding: var(--sp-3) var(--sp-2); font-size: 0.85rem; }

  /* Sticky mobile call bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1500;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
  }
  .mobile-bar a { padding: var(--sp-4); text-align: center; font-family: var(--font-head); font-weight: 700; color: #fff; display: flex; align-items: center; justify-content: center; gap: var(--sp-2); }
  .mobile-bar .call { background: var(--red); }
  .mobile-bar .quote { background: var(--green); }
  body { padding-bottom: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* -----------------------------------------------------------------
   26. COOKIE CONSENT BANNER
   ----------------------------------------------------------------- */
.consent-banner {
  position: fixed; left: var(--sp-4); bottom: var(--sp-4); z-index: 2000;
  max-width: 420px;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18); padding: var(--sp-5);
}
.consent-banner p { font-size: 0.9rem; margin: 0 0 var(--sp-4); color: var(--ink); }
.consent-banner p a { color: var(--green-dark); text-decoration: underline; }
.consent-actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.consent-actions .btn { padding: 10px 18px; font-size: 0.9rem; }
.consent-decline {
  background: none; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; padding: 10px 18px; color: var(--navy);
}
.consent-decline:hover { border-color: var(--navy); }
.consent-reopen { background: none; border: none; cursor: pointer; color: inherit; font: inherit; font-size: inherit; text-decoration: underline; padding: 0; }
@media (max-width: 700px) {
  .consent-banner { left: var(--sp-3); right: var(--sp-3); bottom: 76px; max-width: none; }
}
