/* ============ ROOT / RESET ============ */
:root{
  /* Brand palette pulled from the Projection Plumbing droplet logo:
     sky-to-navy blue gradient on crisp cool white/grey. */
  --paper: #f7f8fa;
  --surface: #eceff3;
  --surface-alt: #ffffff;
  --ink: #10151c;
  --ink-dim: #46505d; /* slate — 6.9:1+ on all light backgrounds */
  --ink-faint: #697077; /* verified 4.5:1+ on cool light backgrounds (WCAG AA) */
  --gold: #1d6a9a; /* droplet blue darkened for body-size text — verified 5.5:1 on paper, 5.9:1 white-on */
  --gold-display: #3078a8; /* droplet blue for large display text — verified 4.5:1 */
  --gold-on-dark: #48c0d8; /* droplet sky blue — verified 9.0:1 on the dark hero/final-cta bg */
  --gold-soft: rgba(72,192,216,0.30);
  --blue: #304890; /* droplet navy secondary — verified 7.5:1 on light backgrounds */
  --blue-soft: rgba(48,72,144,0.28);
  --border: rgba(16,21,28,0.1);
  --orange-bloom: rgba(72,192,216,0.14);
  --orange-bloom-soft: rgba(72,192,216,0.07);
  --slate-bloom: rgba(72,192,216,0.08);
  --slate-bloom-soft: rgba(70,80,93,0.08);
  /* Layered section backgrounds: cool steel gradient with a warm orange
     ember bloom in one corner — swapped corners between the two variants. */
  --bg-paper:
    radial-gradient(1200px 600px at 4% -14%, var(--orange-bloom), transparent 58%),
    radial-gradient(950px 600px at 102% 115%, var(--slate-bloom), transparent 58%),
    linear-gradient(172deg, #ffffff 0%, var(--paper) 40%, #e8ebf0 100%);
  --bg-surface:
    radial-gradient(1100px 600px at 103% -14%, var(--slate-bloom), transparent 58%),
    radial-gradient(1000px 600px at -3% 115%, var(--orange-bloom), transparent 58%),
    linear-gradient(172deg, #f2f4f7 0%, var(--surface) 44%, #dde2e9 100%);
  --dark: #0c0e11;
  --dark-surface: #171a1f;
  --on-dark: #ffffff;
  --on-dark-dim: rgba(240,242,245,0.7);
  --on-dark-faint: #8a8f96; /* verified 4.5:1+ on the dark bg */
  --on-dark-border: rgba(240,242,245,0.12);
  --ease: cubic-bezier(0.16,1,0.3,1);
  --display: "Clash Display", "General Sans", Arial, sans-serif;
  --body: "General Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; margin:0; padding:0; }
html{ background: var(--paper); overflow-x: clip; }
body{
  /* Single continuous canvas for the whole page: sections are transparent,
     so backgrounds flow into each other with no hard seams. */
  background:
    radial-gradient(75vw 1000px at 6% 1000px, rgba(72,192,216,0.16), transparent 62%),
    radial-gradient(70vw 1000px at 96% 26%, rgba(72,192,216,0.10), transparent 62%),
    radial-gradient(75vw 1000px at 3% 54%, rgba(48,72,144,0.09), transparent 62%),
    radial-gradient(70vw 1000px at 94% 78%, rgba(72,192,216,0.11), transparent 62%),
    linear-gradient(180deg,
      #ffffff 0%, #f7f8fa 12%, #e7ebf1 30%, #f6f7f9 46%,
      #e4e9f0 62%, #f4f5f8 78%, #e2e6ed 100%);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden; /* fallback for old browsers */
  overflow-x: clip;    /* prevents mobile viewports expanding to fit off-screen cards */
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul,ol{ list-style:none; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; color:inherit; }
input{ font-family: inherit; }

h1,h2,h3{ font-family: var(--display); font-weight:600; letter-spacing:-0.02em; line-height:1.05; }

.container{ max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* subtle film grain, kept faint so it doesn't muddy the light surfaces */
.grain-overlay{
  position: fixed; inset:0; z-index: 999; pointer-events:none;
  opacity: 0.02; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ TYPE SCALE ============ */
/* Signature mark: the logo's bolt, reused as a quiet recurring marker before
   every section label — ties the page's structure back to the brand itself
   rather than a generic dash or dot. */
.eyebrow{
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500; margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before{
  content: "";
  width: 10px; height: 13px; flex-shrink: 0;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M14 0 L2 18 H11 L9 32 L22 13 H13 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M14 0 L2 18 H11 L9 32 L22 13 H13 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero .eyebrow::before, .final-cta .eyebrow::before{ background-color: var(--gold-on-dark); }
/* dyn-location spans must not become flex items in the eyebrow (8px gap
   would appear before the apostrophe) - contents makes the text flow inline */
.dyn-location{ display: contents; }
/* marquee words are flex items - keep their box when they double as dyn-location */
.region-track .dyn-location{ display: inline-block; }
/* when a suburb is inserted via ?location=, drop the static Central Coast items */
.region-track.has-loc .rm-cc{ display: none; }
.eyebrow-gold{ color: var(--gold); }
.eyebrow-blue::before{ background-color: var(--blue); }
.eyebrow-blue{ color: var(--blue); }
h2{ font-size: clamp(32px, 4.4vw, 56px); }
.lead{ font-size: 18px; color: var(--ink-dim); max-width: 46ch; margin: 20px 0 28px; }
.fine-print{ font-size: 12.5px; color: var(--ink-faint); margin-top: 14px; max-width: 48ch; }

/* Reviews section sits tighter against its neighbours */
.reviews-widget-section{ padding-top: 56px; padding-bottom: 20px; }
.reviews-widget-section .container{ max-width: 1460px; }


/* ---- Pointer effects (fine pointers only): page-wide cursor glow + gentle tilt ---- */
.cursor-glow{ display:none; }
@media (hover:hover) and (pointer:fine){
  .cursor-glow{
    display:block; position: fixed; left:0; top:0; width: 640px; height: 640px;
    margin: -320px 0 0 -320px; pointer-events:none; z-index: 1;
    background: radial-gradient(circle, rgba(72,192,216,0.05) 0%, rgba(48,72,144,0.025) 42%, transparent 68%);
    transform: translate(-1000px, -1000px); will-change: transform;
  }
  .fx-tilt{ transform-style: preserve-3d; will-change: transform; }
}


@media (prefers-reduced-motion: reduce){ .cursor-glow{ display:none; } }

/* ---- Brand strip under reviews ---- */
.brand-strip{ margin-top: 90px; text-align: center; }
.brand-strip-label{
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 26px;
}
.brand-strip-logos{
  display:flex; align-items:center; justify-content:center; flex-wrap:wrap;
  gap: 48px 56px;
}
.brand-strip-logos img{
  height: 40px; width:auto; max-width: 170px; object-fit: contain;
  filter: grayscale(1) opacity(0.55); transition: filter .35s var(--ease);
}
.brand-strip-logos img[alt="Tesla"]{ height: 56px; }
.brand-strip-logos img:hover{ filter: grayscale(0) opacity(1); }
.brand-wordmark{
  font-family: var(--display); font-weight: 600; font-size: 27px; letter-spacing: 0.12em;
  color: var(--ink); opacity: 0.55; transition: opacity .35s var(--ease);
}
.brand-wordmark:hover{ opacity: 1; }

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 16px 30px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  letter-spacing: 0.01em; transition: transform .45s var(--ease), background .3s, border-color .3s, color .3s;
  white-space: nowrap;
}
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--gold); color: var(--paper); transform: translateY(-2px); }
.btn-ghost{ border: 1px solid rgba(23,24,28,0.25); color: var(--ink); }
.btn-ghost:hover{ border-color: var(--ink); background: rgba(23,24,28,0.05); transform: translateY(-2px); }
.btn-small{ padding: 11px 20px; font-size: 13px; }
.btn-full{ width:100%; }

/* Hero + final CTA sit on dark backgrounds, so their buttons invert */
.hero .btn-primary, .final-cta .btn-primary{ background: var(--on-dark); color: var(--dark); }
.hero .btn-primary:hover, .final-cta .btn-primary:hover{ background: var(--gold); color: var(--on-dark); }
.hero .btn-ghost, .final-cta .btn-ghost{ border-color: rgba(243,242,238,0.3); color: var(--on-dark); }
.hero .btn-ghost:hover, .final-cta .btn-ghost:hover{ border-color: var(--on-dark); background: rgba(243,242,238,0.08); }

/* ============ HEADER ============ */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 200;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s,
              opacity .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Header is invisible until the page is scrolled; it slides in with .scrolled */
.site-header:not(.scrolled){ opacity: 0; transform: translateY(-100%); pointer-events: none; }
.site-header.scrolled{
  background: rgba(247,248,250,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 20px 0 14px; border-color: var(--border);
}
.header-inner{
  max-width: 1200px; margin:0 auto; padding: 0 32px;
  display:flex; align-items:center; justify-content:space-between; gap: 24px;
}
.wordmark{ display:flex; align-items:center; flex-shrink:0; }
.wordmark img{ height: 54px; width:auto; display:block; }  /* horizontal lockup, full colour - no invert filter */

/* nowrap: two-word labels were breaking mid-label when the header got squeezed,
   which read as uneven gaps. Gap goes fluid so all seven fit on one line. */
.main-nav{ display:flex; flex-wrap: nowrap; gap: clamp(14px, 1.9vw, 34px); align-items:center; }
.main-nav a{ font-size: 13.5px; white-space: nowrap; color: var(--ink-dim); transition: color .25s; position:relative; }
.main-nav a:hover{ color: var(--ink); }
.header-actions{ display:flex; align-items:center; gap: 22px; }
.header-actions .btn{
  padding: 14px 26px; font-size: 14.5px;
  animation: callpulse 2.2s ease-in-out infinite;
}
@keyframes callpulse{
  0%, 100%{ box-shadow: 0 0 0 0 rgba(72,192,216,0.45); }
  55%{ box-shadow: 0 0 0 12px rgba(72,192,216,0); }
}
@media (prefers-reduced-motion: reduce){ .header-actions .btn{ animation: none; } }

/* Header rides on top of the dark hero photo before scrolling, so its own
   content needs to stay light until .scrolled swaps it onto the paper bg. */
.site-header:not(.scrolled) .main-nav a{ color: var(--on-dark-dim); }
.site-header:not(.scrolled) .main-nav a:hover{ color: var(--on-dark); }
.site-header:not(.scrolled) .header-actions .btn-primary{ background: var(--on-dark); color: var(--dark); }
.site-header:not(.scrolled) .header-actions .btn-primary:hover{ background: var(--gold); color: var(--on-dark); }

/* ============ HERO ============ */
.hero{ position: relative; height: 100vh; }
.hero-pin{
  position: relative; height: 100%; width: 100%; overflow: hidden;
  background: var(--dark);
}
.hero-image{
  position:absolute; inset:-4% -4% -4% -4%; width:108%; height:108%; object-fit: cover;
  transform: scale(1); will-change: transform;
}
.hero.static-mode .hero-image{ transform: none; }
.hero-poster-img{ z-index: 0; max-width: none; }
video.hero-image{ position:absolute; z-index: 1; }
.hero-vignette{ z-index: 2; }
.hero-overlay{ z-index: 3; }
.scroll-cue{ z-index: 3; }
/* blocked drains: left-aligned content (the finance base right-aligns on desktop) */
#blocked-drains .finance-content{ text-align: left; align-items: flex-start; }
#blocked-drains .finance-content .lead{ margin-left: 0; margin-right: auto; }
#blocked-drains .about-points{ align-items: flex-start; }
#blocked-drains .finance-grid{ justify-items: start; justify-self: start; }

/* About: stacked editorial layout - copy, pillar row, full-width photo */
.about-stacked .lead{ max-width: 62ch; }
.about-pillars{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin: 34px 0 38px;
}
.about-pillar{
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 24px;
}
.about-pillar strong{
  display: block; font-family: var(--display); font-size: 18px; color: var(--gold);
  margin-bottom: 8px;
}
.about-pillar p{ font-size: 14.5px; color: var(--ink-dim); line-height: 1.5; }
.about-banner{ margin: 0; border-radius: 20px; overflow: hidden; border: 1px solid var(--border); }
.about-banner img{ width: 100%; height: auto; display: block; }

/* Methods-of-diagnosis slider */
.diag-slider{ position: relative; width: 100%; height: 100%; min-height: 380px; border-radius: 18px; overflow: hidden; }
.diag-slide{ position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease-in-out; }
.diag-slide.is-active{ opacity: 1; }
.diag-slide img{ width: 100%; height: 100%; object-fit: cover; }
.diag-slide figcaption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff; font-size: 14px; font-weight: 600;
}
.diag-dots{ position: absolute; top: 14px; right: 16px; display: flex; gap: 7px; z-index: 2; }
.diag-dots span{ width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.45); transition: background .3s; }
.diag-dots span.is-active{ background: #fff; }

/* pulsing CTA reuse of the header callpulse */
.btn-pulse{ animation: callpulse 2.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce){ .btn-pulse{ animation: none; } }

/* Family: centred testimonial-style block */
.family-centered{ text-align: center; }
.family-centered .family-eyebrow{ justify-content: center; }
.family-round{
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover; object-position: 50% 30%;
  margin: 0 auto 26px; display: block;
  border: 4px solid var(--gold-display); box-shadow: 0 14px 40px rgba(13,107,181,0.25);
}
.family-lead{ max-width: 62ch; margin-left: auto; margin-right: auto; }
/* two-column family layout keeps the circular portrait */
.finance-photo.family-photo-col{
  display: flex; align-items: center; justify-content: center; overflow: visible;
  background: none; border: none; box-shadow: none; border-radius: 0; min-height: 0;
}
.family-photo-col img.family-round-lg{ width: min(440px, 92%); height: auto; aspect-ratio: 1/1; max-width: none; }
.family-centered .signature{ transform: rotate(-3deg); }

/* Pricing: full-bleed photo banner */
.pricing-banner{ position: relative; padding: 110px 0; overflow: hidden; }
.pricing-banner-bg{
  position: absolute; inset: 0;
  background: url("../assets/images/real/pricing-consult.jpg") center 30%/cover no-repeat;
}
/* Desktop: window-style parallax - the photo stays fixed while the page scrolls over it.
   (background-attachment: fixed is broken on iOS, so touch devices keep normal scroll.) */
@media (hover:hover) and (pointer:fine){
  .pricing-banner-bg{ background-attachment: fixed; background-size: cover; background-position: center; }
}
.pricing-banner-bg::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(rgba(12,14,17,0.78), rgba(12,14,17,0.82));
}
.pricing-banner-inner{ position: relative; z-index: 1; text-align: center; }
.pricing-banner .eyebrow{ justify-content: center; color: var(--gold-on-dark); }
.pricing-banner .eyebrow::before{ background-color: var(--gold-on-dark); }
.pricing-banner h2{ color: var(--on-dark); margin-bottom: 28px; }
.pricing-pills{ display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 34px; }
.pricing-pills li{
  padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  color: var(--on-dark); background: rgba(240,242,245,0.10); border: 1px solid rgba(240,242,245,0.22);
}

/* handwritten signature in the family section */
.signature{
  font-family: "Caveat", "Bradley Hand", cursive;
  font-size: 44px; color: var(--gold-display); margin-top: 22px; transform: rotate(-3deg);
}
/* $79 drains starburst over the hero */
.hero-badge{
  position: absolute; z-index: 3; right: 3%; top: 34px;
  width: 205px; height: auto; transform: rotate(8deg);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
  animation: badgeFloat 5s ease-in-out infinite;
}
@keyframes badgeFloat{
  0%, 100%{ transform: rotate(8deg) translateY(0); }
  50%{ transform: rotate(8deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce){ .hero-badge{ animation: none; } }
@media (max-width: 1250px){ .hero-badge{ width: 150px; top: 24px; right: 2%; } }
@media (max-width: 760px){ .hero-badge{ width: 86px; right: 8px; top: 42px; } }

.hero-vignette{
  position:absolute; inset:0;
  /* Strong central scrim so the white headline stays readable over the
     bright sky/water in the team photo, plus edge + bottom falloff. */
  background: radial-gradient(ellipse 75% 62% at 50% 46%, rgba(6,8,12,0.62) 0%, rgba(6,8,12,0.38) 55%, rgba(6,8,12,0) 100%),
              radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,0.55) 100%),
              linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.18) 30%, rgba(0,0,0,0.18) 60%, rgba(0,0,0,0.8) 100%);
  pointer-events:none;
}

.hero-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 0 24px; color: var(--on-dark);
}
.hero-logo{ height: 160px; width:auto; margin-bottom: 36px; margin-top: -48px; }
.hero-overlay .eyebrow{ text-align:center; color: var(--on-dark-dim); }
.hero-final h1{
  font-family: var(--display); font-weight:600; letter-spacing:-0.02em; color: var(--on-dark);
  font-size: clamp(38px, 7vw, 84px); line-height: 1.02; margin-bottom: 22px;
}
.type-line{ display:inline; }
.type-line:empty::before{ content:"\00a0"; } /* hold line height before typing starts */
.type-caret{
  display:inline-block; width: 0.08em; height: 0.92em; margin-left: 0.06em;
  background: var(--gold-on-dark); vertical-align: -0.08em;
  animation: caretblink 0.9s steps(1) infinite;
}
.type-caret.done{ display:none; }
@keyframes caretblink{ 0%,100%{ opacity:1; } 50%{ opacity:0; } }
@media (prefers-reduced-motion: reduce){ .type-caret{ display:none; } }

/* hidden at first paint; hero-scrub.js fades them in after the headline types. */
.hero .hero-sub, .hero .hero-cta-row, .hero .trust-strip{ opacity: 0; }
/* Hidden at first paint, then fade in together once the headline finishes
   typing. CSS-animation-driven so LCP is recorded at first paint. */
.hero .hero-sub, .hero .hero-cta-row, .hero .trust-strip{
  opacity: 0; transform: translateY(14px);
  animation: heroAfterType 2.5s ease-in-out 2.4s both;
}
@keyframes heroAfterType{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero .hero-sub, .hero .hero-cta-row, .hero .trust-strip{ animation: none; opacity: 1; transform: none; }
}
.hero-subheading{
  font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px);
  color: var(--gold-on-dark); letter-spacing: 0.01em; margin-top: 14px;
}
/* subheading joins the post-typing fade */
.hero .hero-subheading{ opacity: 0; transform: translateY(14px); animation: heroAfterType 2.5s ease-in-out 2.4s both; }
@media (prefers-reduced-motion: reduce){ .hero .hero-subheading{ animation:none; opacity:1; transform:none; } }
/* two-line sub paragraph on desktop */
.hero .hero-sub.hero-sub-wide{ max-width: 76ch; }
.hero-sub{ font-size: 17px; color: var(--on-dark-dim); max-width: 50ch; margin: 0 auto 30px; }
.hero-cta-row{ display:flex; gap: 16px; justify-content:center; flex-wrap:wrap; margin-bottom: 40px; }

.trust-strip{
  display:flex; gap: 34px; flex-wrap:wrap; justify-content:center;
  font-size: 14.5px; letter-spacing: 0.05em; color: var(--on-dark-dim); text-transform: uppercase;
}
.trust-strip li{ position:relative; padding-left: 19px; }
.trust-strip li::before{ content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:8px; height:8px; border-radius:50%; background: var(--gold-on-dark); }

.scroll-cue{
  position:absolute; bottom: 34px; left:50%; transform:translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:8px; opacity:.6; color: var(--on-dark);
}
.scroll-cue span{ width:1px; height:36px; background: linear-gradient(var(--on-dark), transparent); animation: scrollcue 1.8s ease-in-out infinite; }
.scroll-cue p{ font-size: 10.5px; letter-spacing: 0.2em; text-transform:uppercase; }
@keyframes scrollcue{ 0%{ transform: scaleY(0); transform-origin: top;} 50%{ transform: scaleY(1); transform-origin: top;} 50.01%{ transform-origin: bottom; } 100%{ transform: scaleY(0); transform-origin: bottom; } }

/* ============ SHARED SECTION LAYOUT ============ */
.section{ position: relative; padding: 72px 0; background: transparent; }
.section-title{ max-width: 18ch; margin-bottom: 20px; }

.reveal{ opacity:0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* ============ OFFER SECTION ============ */


.offer-grid{ display:grid; grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items:center; }
.offer-visual{
  border-radius: 24px; overflow:hidden; border: 1px solid var(--border);
  aspect-ratio: 4 / 5; box-shadow: 0 24px 60px rgba(23,24,28,0.08);
}
.offer-visual img, .offer-visual video{ width:100%; height:100%; object-fit:cover; display:block; transition: transform 1s var(--ease); }
.offer-visual:hover img{ transform: scale(1.04); }
.stat-row{ display:flex; gap: 44px; margin: 36px 0 20px; flex-wrap:wrap; }
.stat-number{ display:block; font-family: var(--display); font-size: 40px; font-weight:600; color: var(--gold-display); }
.stat-label{ font-size: 12.5px; color: var(--ink-faint); max-width: 16ch; display:block; margin-top:6px; }

/* ============ SERVICES ============ */
/* Tighter coupling: logos → What We Do, and video → How It Works */
.services-section{ padding-top: 40px; padding-bottom: 36px; }
.process-section{ padding-top: 40px; }


.offer-copy > .btn{ margin-top: 30px; }
.relining-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 26px; }
/* centred pipe-relining section: headings and lead centred and full-width,
   card text stays left for readability */
.relining-centered{ text-align: center; }
/* gallery heading on a single line (wraps naturally on phones) */
@media (min-width: 761px){ .gallery-oneline{ white-space: nowrap; } }
.relining-centered .eyebrow{ justify-content: center; }
.relining-centered .lead{ max-width: none; margin-left: auto; margin-right: auto; }
.relining-centered .fine-print{ max-width: none; }
.relining-centered .package-card{ text-align: left; }

.services-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.service-card{
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 18px; overflow:hidden;
  box-shadow: 0 12px 30px rgba(23,24,28,0.05);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s;
}
.service-card:hover{ transform: translateY(-8px); border-color: var(--gold-soft); box-shadow: 0 20px 40px rgba(23,24,28,0.1); }
.service-card img{ height: 280px; width:100%; object-fit:cover; transition: transform .8s var(--ease); }
.service-card:hover img{ transform: scale(1.06); }
.service-card-body{ padding: 24px 24px 28px; position: relative; }
.service-card-body::before{
  content:""; position:absolute; top:0; left:24px; width: 34px; height: 3px; border-radius: 2px;
  background: var(--gold-display); transform-origin: left; transition: width .5s var(--ease);
}
.service-card:hover .service-card-body::before{ width: 64px; }
.service-card-body h3{ font-size: 21px; margin: 14px 0 8px; }
.service-card-body p{ font-size: 14.5px; color: var(--ink-dim); line-height:1.55; }


/* ============ VIDEOS ============ */
.video-feature{ margin-top: 88px; }
.video-feature video{
  width:100%; aspect-ratio: 16/9; display:block; border-radius: 22px; background: var(--dark);
  box-shadow: 0 30px 70px rgba(16,21,28,0.18); border: 1px solid var(--border);
}
.video-feature figcaption{ font-size: 14px; color: var(--ink-dim); font-weight:500; text-align:center; margin-top: 18px; }

/* ============ PROCESS ============ */
.process-track{ position:relative; display:grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 48px; }
.process-line{ position:absolute; top:-30px; left:0; width:100%; height:4px; }
.process-line-base{ stroke: var(--border); stroke-width:2; }
.process-line-fill{ stroke: var(--gold-display); stroke-width:2; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.process-line-fill.animated{ transition: stroke-dashoffset 1.6s var(--ease); }
.process-number{ font-family: var(--display); font-size: 46px; color: var(--gold-soft); display:block; margin-bottom: 14px; }
.process-step h3{ font-size: 21px; margin-bottom: 12px; }
.process-step p{ font-size: 14.5px; color: var(--ink-dim); max-width: 34ch; }

/* ============ PACKAGES ============ */
.hl-orange{ color: var(--gold-display); }
.packages-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 38px; }
.packages-grid-4{ grid-template-columns: repeat(4,1fr); }
.package-card{
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 20px; padding: 26px;
  box-shadow: 0 12px 30px rgba(16,21,28,0.05); display:flex; flex-direction:column;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.package-card:hover{ transform: translateY(-6px); box-shadow: 0 20px 42px rgba(16,21,28,0.10); border-color: var(--gold-soft); }
.package-head{ display:flex; align-items:baseline; gap: 12px; margin-bottom: 16px; }
.package-letter{
  font-family: var(--display); font-weight: 600; font-size: 44px; line-height: 1;
  color: var(--gold-display);
}
.package-family{
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-faint);
}
.package-title{ font-family: var(--display); font-weight:600; font-size: 19px; line-height:1.2; margin-bottom: 6px; }
.package-tier{ font-size: 13px; color: var(--ink-faint); margin-bottom: 16px; }
.package-specs{ display:flex; flex-direction:column; gap:8px; margin-bottom: 22px; flex-grow:1; }
.package-specs li{ font-size: 13.5px; color: var(--ink-dim); padding-left: 16px; position:relative; line-height:1.4; }
.package-specs li::before{ content:""; position:absolute; left:0; top:7px; width:6px; height:6px; border-radius:50%; background: var(--gold-display); }
.package-weekly-big{ font-family: var(--display); font-size: 30px; font-weight:600; color: var(--ink); }
.package-weekly-big span{ font-size: 13px; font-weight:500; color: var(--ink-faint); }
.package-from{ font-size: 14px; color: var(--ink-dim); margin: 2px 0 20px; }
.package-from strong{ color: var(--ink); font-weight:600; }

/* Solid brand-orange CTA used on package cards */
.btn-orange{
  background: var(--gold); color: #ffffff; /* #1d6a9a — 5.0:1 with white (AA) */
  box-shadow: 0 8px 20px rgba(72,192,216,0.25);
}
.btn-orange:hover{ background: var(--gold-display); color: #ffffff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(72,192,216,0.32); }

/* ============ ABOUT US ============ */
.about-grid{ display:grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items:center; }
/* aspect chosen so the cover-crop keeps all five team members in frame */
.about-photo{ border-radius: 24px; overflow:hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(16,21,28,0.10); aspect-ratio: 1.25 / 1; }
.about-photo img{ width:100%; height:100%; object-fit:cover; object-position: 60% 42%; /* window shifted right: breathing room beside the battery */ display:block; transition: transform 1.2s var(--ease); }
.about-photo:hover img{ transform: scale(1.04); }
.about-points{ display:flex; flex-direction:column; gap: 16px; margin-bottom: 28px; }
.about-points li{ font-size: 15px; color: var(--ink-dim); line-height:1.55; padding-left: 24px; position:relative; }
.about-points li::before{ content:""; position:absolute; left:0; top: 7px; width: 9px; height: 12px;
  background-color: var(--gold-display);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M14 0 L2 18 H11 L9 32 L22 13 H13 Z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 32'%3E%3Cpath d='M14 0 L2 18 H11 L9 32 L22 13 H13 Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.about-points strong{ color: var(--ink); }
/* Full-width scrolling service-region banner */
.region-marquee{
  width: 100vw; margin-left: calc(50% - 50vw);
  overflow: hidden; margin-top: 64px; padding: 18px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.region-track{
  display: inline-flex; white-space: nowrap; will-change: transform;
  animation: regionscroll 26s linear infinite;
}
.region-track span{
  font-family: var(--display); font-weight: 600;
  font-size: clamp(30px, 4vw, 52px); letter-spacing: 0.02em;
  color: var(--gold-display); flex-shrink: 0;
}
.region-track .rm-sep{ padding: 0 26px; font-size: clamp(24px, 3vw, 40px); align-self: center; }
@keyframes regionscroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){
  .region-track{ animation: none; }
}

/* ============ INCOME STREAM ============ */
.income-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items:center; }
.income-steps{ margin-top: 28px; display:flex; flex-direction:column; gap: 16px; }
.income-steps li{ display:flex; align-items:center; gap: 16px; font-size: 15px; color: var(--ink-dim); }
.income-steps span{
  width: 30px; height:30px; border-radius:50%; border: 1px solid var(--blue-soft); color: var(--blue);
  display:flex; align-items:center; justify-content:center; font-size: 13px; font-weight:600; flex-shrink:0;
}
.income-diagram{ background: var(--surface-alt); border:1px solid var(--border); border-radius: 24px; padding: 30px; box-shadow: 0 12px 30px rgba(23,24,28,0.05); }
.diagram-title{ font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.flow-svg{ width:100%; height:auto; }
.price-curve{ stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2s var(--ease); }
.price-curve.animated{ stroke-dashoffset: 0; }
.zero-line{ stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 4 5; opacity: 0.6; }
.zero-label{ text-anchor: end; }
.node{ opacity:0; transition: opacity .6s var(--ease) .6s; }
.node.animated{ opacity:1; }
.band-charge{ fill: rgba(48,72,144,0.08); }
.band-export{ fill: rgba(72,192,216,0.09); }
.node-buy{ fill: var(--blue); }
.node-sell{ fill: var(--gold-display); }
.node-num{ fill:#ffffff; font-size: 12px; font-weight: 700; text-anchor: middle; font-family: var(--body); }
.node-num-legend{ fill:#ffffff; font-size: 11px; font-weight: 700; text-anchor: middle; font-family: var(--body); }
.legend-dot-charge{ fill: var(--blue); }
.legend-dot-export{ fill: var(--gold-display); }
.legend-line{ fill: var(--ink-dim); font-size: 12px; font-family: var(--body); }
.axis-label{ fill: var(--ink-faint); font-size: 11px; text-anchor: middle; font-family: var(--body); }
.ledger-line{ fill: var(--ink-dim); font-size: 14px; font-family: var(--body); }
.ledger-line .v{ fill: var(--ink); font-weight:600; }
.ledger-line .v-good{ fill: var(--blue); }
.ledger-total{ fill: var(--ink); font-weight:600; }
.ledger-rule{ stroke: var(--border); stroke-width:1; }

/* ============ FINANCE ============ */
.finance-grid{ display:grid; grid-template-columns: 1fr; gap: 0; margin-top: 38px; max-width: 640px; }
.finance-points{ display:flex; flex-direction:column; gap: 18px; }
.finance-points li{ font-size: 15.5px; color: var(--ink-dim); padding-left: 26px; position:relative; }
.finance-cta{ margin-top: 34px; justify-self: start; }
.finance-points li::before{ content:"-"; position:absolute; left:0; color: var(--gold); }

/* Two-line headline control: <br class="br-d"> only breaks on desktop */
.br-d{ display:none; }
@media (min-width: 981px){
  .br-d{ display:inline; }
  .wide-title{ max-width: none; }
}

/* Finance section: partner logos left, mirrored content right */
.finance-photo{ border-radius: 24px; overflow:hidden; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(16,21,28,0.10); }
.finance-photo img{ width:100%; height:100%; object-fit:cover; display:block; transition: transform 1.2s var(--ease); }
.finance-photo:hover img{ transform: scale(1.04); }

/* Partner logos strip along the bottom of the section */
.finance-partners-row{
  margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--border);
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap: wrap;
}
.finance-partners-label{
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-faint);
}
.finance-partner-logos{ display:flex; align-items:center; gap: 44px; flex-wrap: wrap; }
.finance-partner-logos img{ height: 30px; width:auto; max-width: 150px; object-fit: contain; }
.finance-partner-logos img[alt="Zip"]{ height: 36px; }

@media (min-width: 981px){
  .finance-layout{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items:stretch; }
  .finance-photo{ min-height: 100%; }
  .finance-content{ display:flex; flex-direction:column; align-items:flex-end; text-align:right; justify-content:center; }
  .finance-content .section-title{ max-width: none; }
  .finance-grid{ justify-items: end; }
  .finance-points li{ padding-left: 0; padding-right: 26px; }
  .finance-points li::before{ left: auto; right: 0; }
  .finance-cta{ justify-self: end; }
}
@media (max-width: 980px){
  .finance-layout{ display:flex; flex-direction:column; gap: 36px; }
  .finance-partners-row{ display:none; }
  /* gallery runs 2-up here; hide the 9th photo so there's no lonely last row */
  .trust-gallery .trust-photo:nth-child(9){ display:none; }
}

/* ============ TRUST / GALLERY ============ */
.trust-gallery{
  display:grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; margin: 38px 0 34px;
}
.trust-photo{ overflow:hidden; border-radius: 18px; }
.trust-photo-tall{ grid-row: span 2; }
.trust-photo img{ width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.trust-photo:hover img{ transform: scale(1.08); }
.trust-badges{ display:flex; flex-wrap:wrap; gap: 14px; }
.trust-badges span{
  font-size: 12.5px; color: var(--ink-dim); padding: 10px 20px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface-alt);
}

/* ============ FAQ ============ */
/* centered section: heading centered, card block centered on the page */
.faq-section{ text-align: center; }
.faq-section .section-title{ margin-left: auto; margin-right: auto; }
.faq-list{ max-width: 860px; margin: 38px auto 0; display:flex; flex-direction:column; gap: 14px; text-align: left; }
.faq-item{
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: 0 10px 26px rgba(16,21,28,0.04);
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover{ border-color: var(--gold-soft); }
.faq-item[open]{ box-shadow: 0 16px 36px rgba(16,21,28,0.08); }
.faq-item summary{
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 20px 24px;
  font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+"; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(72,192,216,0.10); color: var(--gold);
  font-size: 19px; font-weight: 500; line-height: 1;
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.faq-item[open] summary::after{ transform: rotate(45deg); background: var(--gold); color: #fff; }
/* smooth height animation via the grid-rows trick */
.faq-a{ display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item[open] .faq-a{ grid-template-rows: 1fr; }
.faq-a > div{ overflow: hidden; }
.faq-a p{ padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--ink-dim); max-width: 72ch; }

/* ============ FINAL CTA ============ */
.final-cta{
  text-align:center; background: var(--dark); color: var(--on-dark); padding: 110px 0 72px; overflow:hidden;
}
.final-cta-bg{
  position:absolute; inset:0;
  background: radial-gradient(ellipse at 50% 30%, rgba(72,192,216,0.12), transparent 60%);
}
.final-cta-inner{ position:relative; display:flex; flex-direction:column; align-items:center; }
.final-cta-logo{ height: 110px; width: auto; margin-bottom: 36px; }
.final-cta .eyebrow{ color: var(--on-dark-dim); }
.final-cta .eyebrow-gold{ color: var(--gold-on-dark); }
.final-cta h2{ font-size: clamp(34px,5.4vw,64px); margin-bottom: 20px; color: var(--on-dark); }
.final-cta .lead{ margin-left:auto; margin-right:auto; text-align:center; color: var(--on-dark-dim); }

.enquiry-form{ width:100%; max-width: 560px; margin: 10px auto 30px; display:flex; flex-direction:column; gap: 14px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field{ display:flex; flex-direction:column; gap: 6px; text-align:left; }
.form-field label{ font-size: 12px; font-weight:600; letter-spacing:0.03em; color: var(--on-dark-dim); }
.enquiry-form input{
  background: var(--dark-surface); border: 1px solid var(--on-dark-border); border-radius: 12px; padding: 15px 18px;
  color: var(--on-dark); font-size: 14.5px; transition: border-color .3s, box-shadow .3s;
}
.enquiry-form input::placeholder{ color: var(--on-dark-faint); }
.enquiry-form input:focus{ outline: none; border-color: var(--gold-on-dark); box-shadow: 0 0 0 3px rgba(72,192,216,0.35); }
.enquiry-form input:focus-visible{ outline: 2px solid var(--gold-on-dark); outline-offset: 2px; }
.form-note{ font-size: 11.5px; color: var(--on-dark-faint); text-align:center; }

/* GoHighLevel form embed */
.final-cta .hero-cta-row{ margin-top: -84px; margin-bottom: 0; position: relative; z-index: 2; }
.ghl-form-wrap{
  width: 100%; max-width: 620px; margin: 10px auto 0;
  border-radius: 16px; overflow: hidden;
}
.ghl-form-wrap iframe{ min-height: 760px; display:block; overflow: hidden; }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .offer-grid, .income-grid, .finance-grid, .about-grid{ grid-template-columns: 1fr; gap: 42px; }
  .services-grid{ grid-template-columns: repeat(2,1fr); }
  .process-track{ grid-template-columns: 1fr; gap: 46px; }
  .process-line{ display:none; }
  .trust-gallery{ grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .trust-photo-tall{ grid-row: span 1; }
  .packages-grid, .packages-grid-4{ grid-template-columns: repeat(2,1fr); }
  .section{ padding: 48px 0; }
}
@media (max-width: 560px){
  .services-grid{ grid-template-columns: 1fr; }
  .packages-grid, .packages-grid-4{ grid-template-columns: 1fr; }
  .hero-logo{ height: 118px; }
  .form-row{ grid-template-columns: 1fr; }
  .stat-row{ gap: 28px; }
  .hero-final h1{ font-size: 38px; }
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .scroll-cue span{ animation:none; }
}

/* ============ MOBILE POLISH (no effect on desktop) ============ */
@media (max-width: 700px){
  /* Reviews: 24 cards is a wall on one column; show the 8 most recent */
  .bw-elite-review-card:nth-child(n+9){ display:none; }
}
@media (max-width: 560px){
  /* Hero: hide the scroll cue and the dot-point trust strip on phones */
  .scroll-cue{ display:none; }
  .trust-strip{ display:none; }
  .about-pillars{ grid-template-columns: 1fr; }
  .about-banner img{ height: 220px; object-fit: cover; object-position: center 40%; }

  /* Headline: reserve all three wrapped lines so typing never shifts layout */
  .hero-final h1{ font-size: 34px; min-height: calc(3 * 1.05em); }
  .hero-logo{ margin-top: 0; }

  /* Income chart: larger in-SVG text so it stays legible at phone width */
  .legend-line{ font-size: 15px; }
  .axis-label{ font-size: 14px; }
  .node-num{ font-size: 15px; }
  .node-num-legend{ font-size: 14px; }
  .ledger-line{ font-size: 17px; }
  .diagram-title{ font-size: 12px; }
  .income-diagram{ padding: 20px; }

  /* Brand strip: smaller marks, tidy two-per-row rhythm */
  .brand-strip{ margin-top: 64px; }
  .brand-strip-logos{ gap: 26px 34px; }
  .brand-strip-logos img{ height: 28px; max-width: 120px; }
  .brand-strip-logos img[alt="Tesla"]{ height: 40px; }
  .brand-wordmark{ font-size: 20px; }

  /* Featured video: edge-to-edge feel */
  .video-feature video{ border-radius: 14px; }

  /* Tighter big numbers on packages */
  .package-weekly-big{ font-size: 26px; }

  /* Hide the credential pill boxes under the gallery */
  .trust-badges{ display:none; }
  .relining-grid{ grid-template-columns: 1fr; }

  /* Breathing room above the header bar (also keeps the pulsing call
     button clear of the screen edge when mobile browser chrome hides) */
  .site-header{ padding-top: 22px; }
  .site-header.scrolled{ padding-top: 26px; }

  /* Logos: never squash. Header logo sized down and protected from flex-shrink;
     final CTA logo scales by width with natural height. */
  .wordmark img{ height: 34px; flex-shrink: 0; }
  .final-cta-logo{ width: min(180px, 48vw); height: auto; }

  /* Connor video runs portrait on phones */
  .video-feature video{ aspect-ratio: 9/16; max-width: 330px; margin: 0 auto; display:block; }
}


/* ---- Hero Google-reviews callout chip ---- */
.hero-greview{
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 22px; margin-bottom: 12px; padding: 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 14.5px; color: var(--on-dark);
  transition: background .3s, transform .3s;
}
.hero-greview:hover{ background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.hero-greview img{ width: 20px; height: 20px; object-fit: contain; }
.hg-score strong{ font-weight: 700; }
.hg-stars{ color: #fbbc04; letter-spacing: 1.5px; font-size: 13px; }
.hg-count{ color: var(--on-dark-faint); }
.hg-arrow{ color: var(--gold-on-dark); font-weight: 600; }
@media (max-width: 700px){ .hero-greview{ font-size: 13px; padding: 8px 14px; gap: 7px; } .hg-count{ display: none; } }


/* ============ FLOATING GOOGLE REVIEWS ============ */
.rv-float{
  position: fixed; left: 22px; bottom: 22px; z-index: 95;
  width: 330px; max-width: calc(100vw - 44px);
  border-radius: 18px; padding: 2px;               /* padding = ring thickness */
  transform: translateY(28px) scale(.96); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.rv-float.is-in{ transform: translateY(0) scale(1); opacity: 1; }

/* brand-coloured ring, slowly rotating behind the card */
.rv-float-ring{
  position:absolute; inset:0; border-radius:inherit; z-index:0;
  background: conic-gradient(from var(--rv-spin),
    #1d6a9a 0deg, #3078a8 80deg, #48c0d8 150deg, #ffffff 195deg,
    #48c0d8 240deg, #3078a8 310deg, #1d6a9a 360deg);   /* Armstrong brand blues */
  animation: rv-spin 7s linear infinite;
  filter: saturate(1.1);
}
.rv-float-ring::after{                              /* soft outer glow */
  content:""; position:absolute; inset:-9px; border-radius:26px; z-index:-1;
  background: inherit; filter: blur(18px); opacity:.34;
}
@keyframes rv-spin{ to{ --rv-spin: 360deg; } }
@supports not (background: conic-gradient(from 0deg, red, blue)){
  .rv-float-ring{ background: linear-gradient(120deg,#1d6a9a,#3078a8,#48c0d8,#3078a8); animation:none; }
}

.rv-float-body{
  position:relative; z-index:1; border-radius:16px;
  background: rgba(13,16,21,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 14px 16px 13px;
  box-shadow: 0 22px 50px rgba(0,0,0,0.6);
}

.rv-float-head{ display:flex; align-items:center; gap:7px; margin-bottom:11px; }
.rv-float-g{ width:18px; height:18px; }
.rv-float-score{ font-size:16px; font-weight:800; color:#fff; letter-spacing:-.01em; }
.rv-float-stars{ position:relative; overflow:hidden; color:#fbbc04; font-size:13.5px; letter-spacing:1px; }
.rv-float-stars i{ font-style:normal; }
.rv-float-stars::after{                              /* shimmer sweep */
  content:""; position:absolute; inset:0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.85) 50%, transparent 80%);
  transform: translateX(-130%); animation: rv-shimmer 4.5s ease-in-out infinite; animation-delay:1s;
}
@keyframes rv-shimmer{ 0%,55%{ transform:translateX(-130%);} 78%,100%{ transform:translateX(130%);} }
.rv-float-count{ font-size:12px; color: var(--ink-faint); margin-left:auto; }
.rv-float-count b{ color: var(--ink-dim); font-weight:700; }

/* the deck: three slips, front one readable, two peeking behind */
.rv-deck{ position:relative; height:112px; margin-bottom:20px; }
.rv-slip{
  position:absolute; inset:0; border-radius:11px;
  background:#171c25; border:1px solid rgba(255,255,255,0.09);   /* opaque: only the deck EDGES show behind */
  padding: 11px 13px; transform-origin: 50% 100%;
  transition: transform .62s var(--ease), opacity .62s var(--ease);
  display:flex; flex-direction:column; justify-content:space-between;
}
.rv-slip p{ margin:0; font-size:13px; line-height:1.45; color: var(--ink-dim); }
.rv-slip span{ font-size:11.5px; font-weight:700; color: var(--gold-on-dark); }
/* only the front card shows its text; the ones behind are just deck edges
   (the outgoing card keeps its text while it flicks away) */
.rv-slip p, .rv-slip span{ transition: opacity .3s var(--ease); }
.rv-slip:not(.pos-0):not(.is-out) p, .rv-slip:not(.pos-0):not(.is-out) span{ opacity:0; }
.rv-slip.pos-0{ transform: translateY(0) scale(1) rotate(0); opacity:1; z-index:3; }
.rv-slip.pos-1{ transform: translateY(10px) scale(.965) rotate(-1deg); opacity:.8; z-index:2; }
.rv-slip.pos-2{ transform: translateY(19px) scale(.93) rotate(1.3deg); opacity:.55; z-index:1; }
.rv-slip.is-out{ transform: translateX(-118%) rotate(-11deg); opacity:0; z-index:4; }

.rv-float-cta{
  display:inline-flex; align-items:center; gap:5px; margin-top:11px;
  font-size:12.5px; font-weight:700; color: var(--gold-on-dark);
}
.rv-float-cta span{ transition: transform .3s var(--ease); }
.rv-float:hover .rv-float-cta span{ transform: translateX(4px); }

.rv-float-close{
  position:absolute; top:7px; right:9px; z-index:4;
  background:none; border:0; color: var(--ink-faint); font-size:18px; line-height:1;
  padding:3px 6px; cursor:pointer; border-radius:6px;
}
.rv-float-close:hover{ color:#fff; background: rgba(255,255,255,0.1); }

/* ---- mobile: collapsed pill that taps open into the full deck ----
   Bottom-left keeps it clear of the chat bubble (bottom-right). */
@media (max-width: 900px){
  .rv-float{ left:12px; bottom:14px; width:auto; max-width:calc(100vw - 24px); }
  .rv-float-body{ padding:8px 12px; }
  .rv-float-head{ margin-bottom:0; gap:6px; cursor:pointer; }
  .rv-float-head::after{                      /* chevron hint */
    content:"\203A"; margin-left:2px; color:var(--ink-faint); font-size:15px; line-height:1;
    transform: rotate(-90deg); transition: transform .35s var(--ease);
  }
  .rv-float-score{ font-size:14.5px; }
  .rv-float-stars{ font-size:12px; }
  .rv-float-count{ font-size:11.5px; margin-left:4px; }
  .rv-deck, .rv-float-cta, .rv-float-close{ display:none; }

  .rv-float.is-open{ width:calc(100vw - 24px); max-width:350px; }
  .rv-float.is-open .rv-float-body{ padding:13px 15px 12px; }
  .rv-float.is-open .rv-float-head{ margin-bottom:10px; }
  .rv-float.is-open .rv-float-head::after{ transform: rotate(90deg); }
  .rv-float.is-open .rv-deck{ display:block; }
  .rv-float.is-open .rv-float-cta{ display:inline-flex; }
  .rv-float.is-open .rv-float-close{ display:block; }
}
@media (prefers-reduced-motion: reduce){
  .rv-float, .rv-slip{ transition:none; }
  .rv-float-ring{ animation:none; }
  .rv-float-stars::after{ animation:none; opacity:0; }
}
/* The floating widget is always dark, whatever the site's theme is. Do not let it
   inherit --ink-dim: on a light-theme palette that is a dark grey and the review
   text disappears into the card. Explicit values only. */
.rv-float .rv-slip{ background:#161b23; border-color:rgba(255,255,255,0.10); }
.rv-float .rv-slip p{ color:#ccd4de; }
.rv-float .rv-slip span{ color:#5fd0e6; }
.rv-float .rv-float-count{ color:#aeb7c2; }
.rv-float .rv-float-score{ color:#ffffff; }
.rv-float .rv-float-cta{ color:#5fd0e6; }
.rv-float .rv-float-close{ color:#aeb7c2; }
.rv-float .rv-float-count, .rv-float .rv-float-count b{ color:#aeb7c2; }


/* ---- Reviews: show two rows, reveal the rest on demand ----
   24 cards is a wall on desktop. Column count comes from auto-fit so it changes
   with width; the JS measures the rendered rows rather than assuming a number. */
.bw-elite-review-card.is-clipped{ display:none !important; }
.rv-more-wrap{ display:flex; justify-content:center; margin-top:28px; }
.rv-more-btn{
  display:inline-flex; align-items:center; gap:9px;
  padding:13px 26px; border-radius:999px; cursor:pointer;
  font-family:inherit; font-size:15px; font-weight:600;
  color:var(--ink); background:var(--surface-alt);
  border:1px solid var(--border);
  transition:background .25s, transform .25s, border-color .25s;
}
.rv-more-btn:hover{ background:var(--surface); transform:translateY(-2px); border-color:var(--gold); }
.rv-more-btn .rv-more-caret{ transition:transform .3s; }
.rv-more-btn[aria-expanded="true"] .rv-more-caret{ transform:rotate(180deg); }

/* ===== Mobile: header always on screen with a hamburger; the primary nav opens as a panel ===== */
.nav-toggle{ display:none; }
@media (max-width: 980px){
  .site-header, .site-header:not(.scrolled){ opacity:1; transform:none; pointer-events:auto; background: rgba(247,248,250,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); padding: 14px 0 12px; }
  .site-header.scrolled{ padding: 14px 0 12px; }
  .site-header:not(.scrolled) .header-actions .btn-primary{ background: var(--dark); color: #fff; }
  .nav-toggle{ display:inline-flex; flex-direction:column; justify-content:center; gap:5px; width:44px; height:44px; padding:0 11px; border-radius:12px; border:1px solid var(--border); background:transparent; cursor:pointer; flex-shrink:0; }
  .nav-toggle span{ display:block; height:2px; width:100%; background: var(--ink); border-radius:2px; transition: transform .25s ease, opacity .25s ease; }
  .site-header.menu-open .nav-toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
  .site-header.menu-open .nav-toggle span:nth-child(2){ opacity:0; }
  .site-header.menu-open .nav-toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
  .site-header.menu-open .main-nav{ display:flex; flex-direction:column; align-items:stretch; gap:0; position:absolute; left:0; right:0; top:100%; max-height:calc(100vh - var(--hdr-h, 72px)); overflow-y:auto; background:#f7f8fa; border-top:1px solid var(--border); padding:8px 16px 40px; }
  .site-header.menu-open .main-nav a{ display:block; width:100%; text-align:left; padding:15px 6px; border-bottom:1px solid var(--border); font-size:16px; font-weight:600; color: var(--ink); white-space:normal; }
  .site-header.menu-open .main-nav a.is-here{ color: var(--gold); }
  body.menu-open{ overflow:hidden; }
  /* the always-on header sits over the hero on mobile: push the hero content below it */
  .hero .hero-overlay{ padding-top: 84px; }
  .hero-logo{ height: 100px; margin-bottom: 24px; }
  /* fit logo, call button and hamburger on one 375px row */
  .site-header .header-inner{ padding-left:14px; padding-right:14px; gap:8px; }
  .site-header .wordmark img{ height:30px; max-width:140px; width:auto; }
  .site-header .header-actions{ gap:8px; }
  .site-header .header-actions .btn{ padding:9px 12px; font-size:12.5px; white-space:nowrap; }
  .nav-toggle{ width:40px; height:40px; padding:0 10px; }
}


/* ===== Fixed Today palette on the Projection template (red / gold on paper, charcoal dark sections) ===== */
:root{
  --gold: #b9231a;              /* red for body-size accent text, 5.3:1 on paper */
  --gold-display: #ee3623;      /* brand red for display text and buttons */
  --gold-on-dark: #fbbc05;      /* brand gold on the dark hero / final CTA */
  --gold-soft: rgba(238,54,35,0.28);
  --blue: #811b20;              /* deep red from the logo as the secondary */
  --blue-soft: rgba(129,27,32,0.25);
  --orange-bloom: rgba(238,54,35,0.12);
  --orange-bloom-soft: rgba(238,54,35,0.06);
  --slate-bloom: rgba(238,54,35,0.07);
  --dark: #1b1b1b;
  --dark-surface: #232323;
}
.process-track.process-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .process-track.process-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 728px){ .process-track.process-4{ grid-template-columns: 1fr; } }
.site-header .wordmark img{ height: 44px; }
.hero-logo{ height: 72px; margin-bottom: 26px; }
.final-cta-logo{ width: min(320px, 70vw); height: auto; }
@media (max-width: 728px){ .hero-logo{ height: 64px; } }
/* the read-more pill under the reviews must actually disappear when every review already fits */
.rv-more-wrap[hidden]{ display:none !important; }
/* ===== video strip: three portrait reels, poster + play, only downloads on tap ===== */
.videos-section{ padding-top: 40px; }
.video-strip{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 36px auto 0; }
.video-card{ position:relative; margin:0; aspect-ratio: 9 / 16; border-radius: 22px; overflow:hidden; background:#101418; border:1px solid var(--border); box-shadow: 0 24px 60px rgba(16,21,28,0.14); }
.video-card video{ width:100%; height:100%; object-fit:cover; display:block; background:#101418; }
.vc-play{ position:absolute; inset:0; width:100%; border:0; padding:0; cursor:pointer; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.65) 100%); display:flex; align-items:center; justify-content:center; }
.vc-ring{ width:72px; height:72px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; color:#fff;
  background: rgba(255,255,255,0.14); border:1px solid rgba(255,255,255,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.35); transition: transform .35s var(--ease), background .35s; position:relative; }
.vc-ring svg{ margin-left:4px; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4)); }
.vc-ring::after{ content:""; position:absolute; inset:-6px; border-radius:50%; border:1px solid rgba(255,255,255,0.35); animation: vcpulse 2.6s ease-out infinite; }
@keyframes vcpulse{ 0%{ transform:scale(.9); opacity:.9; } 70%{ transform:scale(1.35); opacity:0; } 100%{ opacity:0; } }
.vc-play:hover .vc-ring{ transform: scale(1.06); background: rgba(255,255,255,0.24); }
.vc-play strong{ position:absolute; left:18px; right:18px; bottom:18px; color:#fff; font-family: var(--display); font-weight:600; font-size:17px; line-height:1.25; text-align:left; text-shadow: 0 2px 10px rgba(0,0,0,0.5); display:flex; flex-direction:column; gap:6px; }
.vc-play strong small{ font-family: var(--body, inherit); font-weight:600; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color: rgba(255,255,255,0.78); }
@media (prefers-reduced-motion: reduce){ .vc-ring::after{ animation:none; } }
.video-card.is-playing .vc-play{ display:none; }
@media (max-width: 760px){
  .video-strip{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin: 26px -16px 0; padding: 0 16px 8px; scrollbar-width:none; }
  .video-strip::-webkit-scrollbar{ display:none; }
  .video-card{ flex: 0 0 68vw; scroll-snap-align:start; }
}
/* dark pricing band: buttons must read on the dimmed photo */
.pricing-banner .btn-primary{ background: var(--on-dark); color: var(--dark); }
.pricing-banner .btn-primary:hover{ background: var(--gold-display); color: #fff; }
.pricing-banner .btn-ghost{ border-color: rgba(255,255,255,0.45); color: #fff; }
.pricing-banner .btn-ghost:hover{ border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }
/* pulse ring in brand red, not the template teal */
@keyframes callpulse{ 0%,100%{ box-shadow: 0 0 0 0 rgba(238,54,35,0.5); } 55%{ box-shadow: 0 0 0 12px rgba(238,54,35,0); } }
/* floating deck: review text can never run over the reviewer name */
.rv-deck{ height:132px; }
.rv-slip p{ display:-webkit-box; -webkit-line-clamp:5; -webkit-box-orient:vertical; overflow:hidden; margin-bottom:6px; }
.rv-slip span{ flex:0 0 auto; }
/* ===== final CTA: copy + trust on the left, form card on the right ===== */
.final-cta-inner{ display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center; text-align:left; }
.final-cta-copy{ display:flex; flex-direction:column; align-items:flex-start; }
.final-cta-logo{ height: 84px; width:auto; margin-bottom: 28px; }
.final-cta h2{ font-size: clamp(30px, 3.6vw, 50px); margin-bottom: 18px; }
.final-cta .lead{ margin: 0 0 22px; text-align:left; max-width: 46ch; }
.final-cta-greview{ margin: 0 0 24px; }
.final-cta-points{ list-style:none; margin: 0 0 28px; padding:0; display:grid; gap: 10px; }
.final-cta-points li{ display:flex; align-items:center; gap: 10px; color: var(--on-dark); font-size: 15.5px; font-weight: 500; }
.final-cta-points li::before{ content:"✓"; flex:0 0 22px; width:22px; height:22px; border-radius:50%; background: var(--gold-display); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; }
.final-cta .hero-cta-row{ margin: 0; justify-content:flex-start; position:static; }
.final-cta-card{ background:#fff; border-radius: 22px; border-top: 5px solid var(--gold-display); box-shadow: 0 30px 80px rgba(0,0,0,0.35); padding: 22px 18px 8px; }
.final-cta-card-title{ font-family: var(--display); font-weight: 700; font-size: 20px; color: #1b1b1b; margin: 0 0 6px 10px; letter-spacing: -0.01em; }
.ghl-form-wrap{ max-width:none; margin:0; border-radius: 14px; }
.ghl-form-wrap iframe{ min-height: 470px; } /* the new form is ~470px tall; the GHL script sets the exact height */
@media (max-width: 980px){
  .final-cta-inner{ grid-template-columns: 1fr; gap: 34px; text-align:center; }
  .final-cta-copy{ align-items:center; }
  .final-cta .lead{ text-align:center; }
  .final-cta-points{ justify-items:center; }
  .final-cta .hero-cta-row{ justify-content:center; }
  .final-cta-card{ padding: 16px 10px 4px; }
}
/* floating reviews deck: brand red instead of the template blue */
.rv-float-ring{ background: linear-gradient(120deg,#8f1a12,#b9231a,#ff6a5c,#b9231a); }
.rv-float .rv-slip span, .rv-float .rv-float-cta{ color:#ff8a7a; }
.about-banner img{ aspect-ratio: 16 / 9; height:auto; object-fit:cover; }
@media (max-width: 760px){ .about-banner img{ aspect-ratio:auto; height:220px; } }
/* ===== Our Plumbing Services: three page tiles (Enjoy pattern) + a checklist of the rest ===== */
.svc-main-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; margin-top: 40px; }
.svc-main{ position:relative; display:block; aspect-ratio: 3 / 4; border-radius: 22px; overflow:hidden; border:1px solid var(--border); box-shadow: 0 24px 60px rgba(16,21,28,0.10); color:#fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-main:hover{ transform: translateY(-6px); box-shadow: 0 32px 70px rgba(16,21,28,0.18); }
.svc-main img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.svc-main:hover img{ transform: scale(1.05); }
.svc-main::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(20,20,20,0.05) 30%, rgba(20,20,20,0.55) 60%, rgba(20,20,20,0.9) 100%); }
.svc-main-body{ position:absolute; left:0; right:0; bottom:0; padding: 26px 24px 26px; text-align:center; z-index:1; }
.svc-main-body h3{ color:#fff; font-size: 24px; margin-bottom: 8px; }
.svc-main-body p{ color: rgba(255,255,255,0.86); font-size: 14.5px; line-height: 1.5; margin: 0 0 16px; }
.svc-more-grid{ list-style:none; margin: 34px 0 0; padding:0; display:grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.svc-more{ display:flex; gap: 14px; align-items:flex-start; background: var(--surface-alt, #fff); border:1px solid var(--border); border-radius: 16px; padding: 18px 20px; }
.svc-more-tick{ flex:0 0 26px; width:26px; height:26px; border-radius:50%; background: var(--gold-display); color:#fff; display:inline-flex; align-items:center; justify-content:center; font-size:14px; font-weight:700; margin-top:2px; }
.svc-more strong{ display:block; font-family: var(--display); font-size: 17px; margin-bottom: 4px; }
.svc-more p{ margin:0; color: var(--ink-dim); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 980px){ .svc-main-grid{ gap: 14px; } .svc-main-body{ padding: 18px 14px; } .svc-main-body h3{ font-size: 19px; } .svc-main-body p{ font-size: 13px; } }
@media (max-width: 700px){ .svc-main-grid{ grid-template-columns: 1fr; gap: 16px; } .svc-main{ aspect-ratio: 4 / 3; } .svc-more-grid{ grid-template-columns: 1fr; } }
/* header phone ring (portfolio standard) */
.site-header a[href^="tel:"]{ animation: phone-ring 5s ease-in-out infinite; position:relative; }
.site-header a[href^="tel:"]::after{ content:""; position:absolute; inset:-3px; border-radius:inherit; animation: phone-pulse 5s ease-in-out infinite; pointer-events:none; }
@keyframes phone-ring{ 0%,86%,100%{ transform:rotate(0);} 88%,92%,96%{ transform:rotate(-2deg);} 90%,94%{ transform:rotate(2deg);} }
@keyframes phone-pulse{ 0%,84%,100%{ box-shadow:0 0 0 0 rgba(238,54,35,0);} 88%{ box-shadow:0 0 0 6px rgba(238,54,35,0.35);} 96%{ box-shadow:0 0 0 0 rgba(238,54,35,0);} }
@media (prefers-reduced-motion: reduce){ .site-header a[href^="tel:"], .site-header a[href^="tel:"]::after{ animation:none; } }
/* mobile media strip (portfolio standard): the gallery never wraps to a 2-col grid on phones */
@media (max-width: 700px){
  .trust-gallery{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; gap:12px; margin-left:-16px; margin-right:-16px; padding:0 16px 8px; scrollbar-width:none; grid-auto-rows:auto; }
  .trust-gallery::-webkit-scrollbar{ display:none; }
  .trust-gallery .trust-photo{ flex:0 0 76vw; height:58vw; scroll-snap-align:start; display:block !important; }
}
