/* ==========================================================================
   STRAIGHT FLUSH PLUMBING & LEAK DETECTION — Design System
   Signature: "The Tell" — an acoustic sonar sweep across a house cross-section
   that reveals a hidden leak, echoing the brand's diagnose-first philosophy
   and its playing-card identity (every card face-up before the bet is made).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;0,800;1,600&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  /* ---- Color tokens (mirrors straightflushplumbingoc.com theme) ---- */
  --ink:        #16213E;   /* primary dark — hero, footer, deep panels */
  --ink-2:      #1C2B4D;   /* elevated dark panel */
  --ink-3:      #2A3C63;   /* dark hairlines / borders on ink */
  --foam:       #F7F5F1;   /* primary light background (warm cream) */
  --sand:       #EFEAE1;   /* warm secondary background band */
  --paper:      #FFFFFF;   /* card surfaces */
  --straight:   #D9432E;   /* vivid red-orange — primary accent / CTA */
  --straight-d: #B5341F;   /* red-orange hover */
  --flush:      #1D4C87;   /* card-blue — secondary accent, links */
  --teal:       #2C7A72;   /* detection/water accent — success, diagrams */
  --ink-text:   #1B2534;   /* body text on light */
  --muted:      #5B6B82;   /* secondary text on light */
  --muted-on-ink: #9FB0CC; /* secondary text on dark */
  --line:       #E3DCCF;   /* hairline on light */
  --line-ink:   #33456B;   /* hairline on dark */

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -20px rgba(22,33,62,0.35);
  --shadow-sm: 0 8px 24px -12px rgba(22,33,62,0.25);

  --wrap: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--foam);
  color:var(--ink-text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-wrap:anywhere;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; overflow-wrap:anywhere; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:'Playfair Display',Georgia,serif; margin:0; font-weight:600; line-height:1.08; letter-spacing:-0.01em; }
p{ margin:0; }
.mono{ font-family:'IBM Plex Mono',monospace; letter-spacing:0.02em; }

:focus-visible{ outline:3px solid var(--teal); outline-offset:3px; border-radius:4px; }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }

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

/* ---------------------------------- NAV ---------------------------------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line);
  box-shadow:0 2px 16px -8px rgba(22,33,62,0.12);
}
.nav{ display:flex; align-items:center; justify-content:space-between; padding:14px 28px; max-width:var(--wrap); margin:0 auto; }
.nav-brand{ display:flex; align-items:center; gap:10px; }
.nav-brand img{ height:44px; width:auto; }
.nav-brand-text{ color:var(--ink); font-family:'Playfair Display',serif; font-size:1.05rem; font-weight:700; line-height:1.15; }
.nav-brand-text span{ display:block; font-family:'IBM Plex Mono',monospace; font-size:0.6rem; letter-spacing:0.14em; color:var(--muted); font-weight:400; text-transform:uppercase; margin-top:2px;}
.nav-links{ display:flex; gap:26px; align-items:center; }
.nav-links a{ color:var(--ink); font-size:0.94rem; font-weight:600; transition:color .18s; }
.nav-links a:hover{ color:var(--straight); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.nav-phone{ color:var(--ink); font-weight:600; font-size:0.95rem; }
.nav-phone strong{ color:var(--straight); }
.nav-toggle{ display:none; background:none; border:0; color:var(--ink); font-size:1.6rem; cursor:pointer; }

@media (max-width: 880px){
  .nav-phone{ display:none; }
  .nav-cta{ gap:8px; }
  .nav-cta .btn-sm{ padding:9px 14px; font-size:0.82rem; }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; flex-direction:column; align-items:flex-start;
    background:#fff; padding:10px 28px 22px; gap:16px; border-bottom:1px solid var(--line);
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
}

/* --------------------------------- BUTTONS -------------------------------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:999px; font-weight:600; font-size:0.95rem;
  border:1px solid transparent; cursor:pointer; transition:transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--straight); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--straight-d); }
.btn-ghost{ background:transparent; color:var(--foam); border-color:var(--line-ink); }
.btn-ghost:hover{ border-color:var(--foam); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-outline:hover{ background:var(--ink); color:#fff; }
.btn-block{ width:100%; }
.btn-sm{ padding:10px 18px; font-size:0.85rem; }

/* --------------------------------- SECTIONS ------------------------------- */
section{ padding:96px 0; }
@media (max-width:720px){ section{ padding:64px 0; } .btn{ white-space:normal; text-align:center; max-width:100%; } }
.section-sand{ background:var(--sand); }
.section-ink{ background:var(--ink); color:var(--foam); }
.section-ink h2, .section-ink h3{ color:var(--foam); }
.section-ink .muted{ color:var(--muted-on-ink); }
.muted{ color:var(--muted); }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase;
  color:var(--straight); font-weight:500; margin-bottom:18px;
}
.eyebrow::before{ content:''; width:22px; height:1px; background:var(--straight); }
.section-ink .eyebrow{ color:#E3949A; }
.section-ink .eyebrow::before{ background:#E3949A; }

.section-head{ max-width:680px; margin-bottom:52px; }
.section-head h2{ font-size:clamp(1.8rem,3.2vw,2.6rem); margin-bottom:16px; }
.section-head p{ font-size:1.08rem; color:var(--muted); }
.section-ink .section-head p{ color:var(--muted-on-ink); }

/* ---------------------------------- HERO ---------------------------------- */
.hero{
  position:relative; background:var(--ink); color:var(--foam); overflow:hidden;
  padding:76px 0 0;
}
.hero-grid{ display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center; }
.hero-grid > *{ min-width:0; }
@media (max-width:980px){ .hero-grid{ grid-template-columns:1fr; } }
.hero-eyebrow{ display:flex; align-items:center; gap:10px; font-family:'IBM Plex Mono',monospace; font-size:0.74rem; letter-spacing:0.16em; text-transform:uppercase; color:#E3949A; margin-bottom:22px; }
.hero-eyebrow .dot{ width:8px; height:8px; border-radius:50%; background:var(--teal); box-shadow:0 0 0 4px rgba(44,122,114,0.25); animation:pulse 2.4s infinite; }
@keyframes pulse{ 0%,100%{ box-shadow:0 0 0 4px rgba(44,122,114,0.25);} 50%{ box-shadow:0 0 0 8px rgba(44,122,114,0.1);} }
.hero h1{ font-size:clamp(2.3rem,5vw,3.6rem); max-width:16ch; }
.hero h1 em{ font-style:normal; color:var(--straight); }
.hero-sub{ margin-top:22px; font-size:1.15rem; color:var(--muted-on-ink); max-width:46ch; }
.hero-ctas{ display:flex; gap:16px; margin-top:34px; flex-wrap:wrap; }
.hero-trust{ display:flex; gap:28px; margin-top:52px; flex-wrap:wrap; }
.hero-trust-item{ }
.hero-trust-item strong{ display:block; font-family:'Playfair Display',serif; font-size:1.5rem; color:#fff; }
.hero-trust-item span{ font-size:0.8rem; color:var(--muted-on-ink); }

/* ---- Signature element: The Tell (sonar sweep house diagram) ---- */
.tell{ position:relative; aspect-ratio:1/1.05; max-width:480px; margin:0 auto; }
.tell svg{ width:100%; height:100%; overflow:visible; }
.tell-ring{ fill:none; stroke:var(--teal); stroke-width:1.4; opacity:0; transform-origin:center; }
.tell-ring.animate{ animation:sweep 3.6s ease-out infinite; }
.tell-ring.r2{ animation-delay:0.5s; }
.tell-ring.r3{ animation-delay:1s; }
@keyframes sweep{
  0%{ opacity:0.85; transform:scale(0.15); }
  75%{ opacity:0; }
  100%{ opacity:0; transform:scale(1.05); }
}
.tell-leak{ fill:var(--straight); opacity:0; }
.tell-leak.reveal{ animation:reveal-leak 3.6s ease-out infinite; }
@keyframes reveal-leak{
  0%,55%{ opacity:0; r:3; }
  70%{ opacity:1; r:7; }
  85%,100%{ opacity:1; r:4.5; }
}
.tell-house{ stroke:#3A5476; stroke-width:1.2; fill:none; }
.tell-device{ fill:var(--foam); }
.tell-caption{ margin-top:18px; text-align:center; font-family:'IBM Plex Mono',monospace; font-size:0.78rem; color:var(--muted-on-ink); letter-spacing:0.04em; }

/* --------------------------------- CHECKLIST ------------------------------ */
.checklist-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.checklist-grid > *{ min-width:0; }
@media (max-width:880px){ .checklist-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .checklist-grid{ grid-template-columns:1fr; } }
.check-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius);
  padding:22px 22px 22px 20px; display:flex; gap:14px; align-items:flex-start;
}
.check-card .mark{ flex:none; width:26px; height:26px; border-radius:50%; background:var(--sand); color:var(--straight); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.9rem; }
.check-card p{ font-size:0.98rem; min-width:0; }
.check-card strong{ display:block; margin-bottom:3px; font-family:'Playfair Display',serif; font-weight:600; font-size:1.02rem; }

/* ----------------------------------- CARDS -------------------------------- */
.card-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.card-grid > *{ min-width:0; }
@media (max-width:980px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .card-grid{ grid-template-columns:1fr; } }
.card-grid-2{ grid-template-columns:repeat(2,1fr) !important; }
@media (max-width:560px){ .card-grid-2{ grid-template-columns:1fr !important; } }
.card-grid-3{ grid-template-columns:repeat(3,1fr) !important; }
@media (max-width:880px){ .card-grid-3{ grid-template-columns:repeat(2,1fr) !important; } }
@media (max-width:560px){ .card-grid-3{ grid-template-columns:1fr !important; } }
.service-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px 26px; transition:transform .2s ease, box-shadow .2s ease; position:relative; overflow:hidden;
}
.service-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.service-card .icon{ width:46px; height:46px; border-radius:12px; background:var(--ink); color:var(--foam); display:flex; align-items:center; justify-content:center; margin-bottom:20px; }
.service-card h3{ font-size:1.15rem; margin-bottom:10px; }
.service-card p{ color:var(--muted); font-size:0.94rem; margin-bottom:16px; }
.service-card a{ font-family:'IBM Plex Mono',monospace; font-size:0.78rem; letter-spacing:0.04em; color:var(--flush); font-weight:500; }
.service-card a:hover{ color:var(--straight); }

/* --------------------------------- PROCESS -------------------------------- */
.process{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; counter-reset:step; }
.process > *{ min-width:0; }
@media (max-width:980px){ .process{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .process{ grid-template-columns:1fr; } }
.process-3{ grid-template-columns:repeat(3,1fr); }
@media (max-width:880px){ .process-3{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .process-3{ grid-template-columns:1fr; } }
.process-step{ padding-top:20px; border-top:2px solid var(--line-ink); }
.process-step .num{ font-family:'IBM Plex Mono',monospace; font-size:0.85rem; color:var(--straight); display:block; margin-bottom:10px; }
.process-step h4{ color:var(--foam); font-size:1.02rem; margin-bottom:8px; }
.process-step p{ color:var(--muted-on-ink); font-size:0.9rem; }

/* --------------------------------- FOUNDER -------------------------------- */
.founder{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px; align-items:center; }
.founder > *{ min-width:0; }
@media (max-width:880px){ .founder{ grid-template-columns:1fr; } }
.founder-photo{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); }
.founder-photo img{ width:100%; }
.founder-badge{
  position:absolute; bottom:18px; left:18px; background:rgba(14,27,46,0.88); backdrop-filter:blur(6px);
  color:#fff; padding:12px 18px; border-radius:12px; font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.06em;
}
.founder-badge strong{ display:block; font-family:'Playfair Display',serif; font-size:1rem; letter-spacing:0; margin-bottom:2px; }
.founder-quote{ font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:500; line-height:1.35; margin-bottom:24px; }
.founder-list{ display:flex; flex-direction:column; gap:14px; margin-top:28px; }
.founder-list li{ display:flex; gap:12px; align-items:flex-start; font-size:0.98rem; }
.founder-list li .tick{ flex:none; width:22px; height:22px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; font-size:0.72rem; margin-top:2px; }

/* --------------------------------- TECH BAND ------------------------------ */
.tech-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line-ink); border:1px solid var(--line-ink); border-radius:var(--radius-lg); overflow:hidden; }
.tech-grid > *{ min-width:0; }
@media (max-width:880px){ .tech-grid{ grid-template-columns:1fr; } }
.tech-item{ background:var(--ink-2); padding:34px 30px; }
.tech-item .tag{ font-family:'IBM Plex Mono',monospace; font-size:0.7rem; letter-spacing:0.1em; text-transform:uppercase; color:var(--teal); }
.tech-item h3{ color:#fff; font-size:1.2rem; margin:12px 0 10px; }
.tech-item p{ color:var(--muted-on-ink); font-size:0.92rem; }

/* -------------------------------- CITY CHIPS ------------------------------ */
.city-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.city-grid > *{ min-width:0; }
@media (max-width:880px){ .city-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:560px){ .city-grid{ grid-template-columns:repeat(2,1fr); } }
.city-chip{
  background:var(--paper); border:1px solid var(--line); border-radius:12px; padding:16px 18px;
  font-weight:600; font-size:0.94rem; display:flex; align-items:center; justify-content:space-between; transition:all .16s;
}
.city-chip:hover{ border-color:var(--straight); color:var(--straight); transform:translateY(-2px); }
.city-chip span{ font-family:'IBM Plex Mono',monospace; font-size:0.7rem; color:var(--muted); }
.city-chip:hover span{ color:var(--straight); }

/* ---------------------------------- REVIEWS -------------------------------- */
.review-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.review-grid > *{ min-width:0; }
@media (max-width:880px){ .review-grid{ grid-template-columns:1fr; } }
.review-card{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:26px; }
.review-card .stars{ color:var(--straight); letter-spacing:2px; margin-bottom:14px; font-size:0.9rem; }
.review-card p{ font-size:0.98rem; color:var(--ink-text); margin-bottom:16px; }
.review-card footer{ font-family:'IBM Plex Mono',monospace; font-size:0.76rem; color:var(--muted); }
.review-note{
  border:1px dashed var(--line); border-radius:var(--radius); padding:26px; display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center; gap:12px; background:var(--sand);
}
.review-note p{ font-size:0.92rem; color:var(--muted); }

/* ----------------------------------- FAQ ----------------------------------- */
.faq{ max-width:820px; }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:0; padding:22px 0; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:20px;
  font-family:'Playfair Display',serif; font-size:1.08rem; font-weight:600; color:var(--ink-text);
}
.faq-q .plus{ flex:none; width:26px; height:26px; border-radius:50%; border:1px solid var(--line); display:flex; align-items:center; justify-content:center; font-size:1rem; transition:transform .2s; color:var(--straight); }
.faq-item.open .faq-q .plus{ transform:rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .28s ease; }
.faq-a p{ padding-bottom:22px; color:var(--muted); font-size:0.98rem; max-width:70ch; }

/* --------------------------------- CTA BAND -------------------------------- */
.cta-band{ background:linear-gradient(135deg,var(--straight),#7E2933); color:#fff; border-radius:var(--radius-lg); padding:56px; display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap; }
.cta-band h2{ color:#fff; font-size:clamp(1.5rem,2.6vw,2.1rem); max-width:16ch; }
.cta-band p{ color:rgba(255,255,255,0.85); margin-top:10px; }
.cta-band .btn-primary{ background:#fff; color:var(--straight); }
.cta-band .btn-primary:hover{ background:#f2e9ea; }

/* --------------------------------- QR BLOCK -------------------------------- */
.qr-block{ display:flex; align-items:center; gap:22px; background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:22px; }
.qr-block img{ width:96px; height:96px; border-radius:8px; flex:none; }
.qr-block > div{ min-width:0; }
.qr-block strong{ display:block; font-family:'Playfair Display',serif; font-size:1.05rem; margin-bottom:4px; }
.qr-block p{ font-size:0.88rem; color:var(--muted); }

/* ---------------------------------- FOOTER --------------------------------- */
footer.site-footer{ background:var(--ink); color:var(--muted-on-ink); padding:64px 0 28px; border-top:1px solid var(--line-ink); }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
@media (max-width:880px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand img{ height:44px; background:#fff; border-radius:6px; padding:4px 8px; margin-bottom:14px; }
.footer-brand p{ font-size:0.9rem; max-width:32ch; }
.footer-col h4{ color:#fff; font-size:0.82rem; text-transform:uppercase; letter-spacing:0.08em; font-family:'IBM Plex Mono',monospace; font-weight:500; margin-bottom:16px; }
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ font-size:0.92rem; transition:color .15s; }
.footer-col a:hover{ color:#fff; }
.footer-bottom{ display:flex; justify-content:space-between; padding-top:24px; border-top:1px solid var(--line-ink); font-size:0.82rem; flex-wrap:wrap; gap:12px; }

/* --------------------------------- UTILITIES ------------------------------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.two-col > *{ min-width:0; }
@media (max-width:880px){ .two-col{ grid-template-columns:1fr; } }
.tag-line{ display:inline-flex; align-items:center; gap:8px; padding:6px 14px; border-radius:999px; background:var(--sand); font-family:'IBM Plex Mono',monospace; font-size:0.72rem; letter-spacing:0.06em; color:var(--ink-text); }
.breadcrumbs{ font-family:'IBM Plex Mono',monospace; font-size:0.78rem; color:var(--muted-on-ink); display:flex; gap:8px; align-items:center; margin-bottom:20px; }
.breadcrumbs a{ color:var(--muted-on-ink); } .breadcrumbs a:hover{ color:#fff; }

/* ==========================================================================
   THE X-RAY DESCENT — cinematic scroll-driven intro (homepage only)
   Tile floor → X-ray pipe network → leak reveal → the "winning hand" seals
   it → pull back to logo + CTA. Scroll position drives a GSAP timeline;
   position:sticky keeps the stage pinned while the timeline scrubs.
   ========================================================================== */
.xray-experience{ position:relative; height:520vh; background:var(--ink); }
@media (max-width:880px){ .xray-experience{ height:380vh; } }

.xray-sticky{ position:sticky; top:0; height:100vh; overflow:hidden; }
.xray-stage{ position:relative; width:100%; height:100%; }

.xray-layer{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:0 24px; will-change:opacity, transform;
}

/* ---- Layer 1: tile floor / hero surface ---- */
.xray-tile{
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255,255,255,0.10), transparent 60%),
    repeating-linear-gradient(0deg, #1c2c42 0 2px, #16283f 2px 118px),
    repeating-linear-gradient(90deg, #1c2c42 0 2px, #16283f 2px 118px),
    linear-gradient(160deg, #223a56, #0e1b2e 70%);
}
.xray-droplet{
  width:26px; height:34px; border-radius:50% 50% 50% 0; transform:rotate(45deg);
  background:radial-gradient(circle at 35% 30%, #bfe3ff, var(--teal) 60%, #164944 100%);
  box-shadow:0 0 40px 10px rgba(44,122,114,0.55), 0 0 90px 30px rgba(44,122,114,0.25);
  margin-bottom:28px; animation:droplet-bob 3s ease-in-out infinite;
}
@keyframes droplet-bob{ 0%,100%{ transform:rotate(45deg) translateY(0); } 50%{ transform:rotate(45deg) translateY(-10px); } }
.xray-tile-caption{ color:var(--muted-on-ink); font-size:0.76rem; letter-spacing:0.16em; text-transform:uppercase; }
.xray-tile-caption::after{ content:''; display:block; width:1px; height:34px; background:var(--muted-on-ink); opacity:0.5; margin:14px auto 0; animation:scroll-hint 1.8s ease-in-out infinite; }
@keyframes scroll-hint{ 0%,100%{ opacity:0.15; transform:scaleY(0.6); } 50%{ opacity:0.7; transform:scaleY(1); } }

/* ---- Layer 2: X-ray pipe network ---- */
.xray-pipes{ opacity:0; }
.xray-pipes svg{ width:min(1100px,92vw); height:auto; overflow:visible; }
.xray-pipe-line{ fill:none; stroke:#3A5476; stroke-width:2.2; filter:drop-shadow(0 0 6px rgba(58,84,118,0.6)); }
.xray-house-outline{ fill:none; stroke:#2A3F5C; stroke-width:1.2; opacity:0.6; }
.xray-leak-dot{ fill:var(--straight); filter:drop-shadow(0 0 16px rgba(165,51,59,0.9)); }
.xray-scan-caption{ position:absolute; bottom:8%; left:0; right:0; text-align:center; color:var(--muted-on-ink); font-family:'IBM Plex Mono',monospace; font-size:0.76rem; letter-spacing:0.1em; text-transform:uppercase; }

/* ---- Layer 3: the winning hand (card seal) ---- */
.xray-card{ opacity:0; }
.xray-card svg{ width:170px; height:auto; filter:drop-shadow(0 20px 40px rgba(0,0,0,0.5)); }

/* ---- Layer 4: reveal ---- */
.xray-reveal{ opacity:0; }
.xray-reveal .xray-logo{ height:56px; background:#fff; border-radius:10px; padding:8px 14px; margin-bottom:26px; box-shadow:0 10px 30px rgba(0,0,0,0.35); }
.xray-reveal h1{ font-size:clamp(2rem,4.6vw,3.4rem); max-width:18ch; color:#fff; }
.xray-reveal h1 em{ font-style:normal; color:var(--straight); display:block; }
.xray-reveal p{ margin-top:20px; color:var(--muted-on-ink); font-size:1.05rem; max-width:44ch; }
.xray-cta{ margin-top:32px; box-shadow:0 0 0 0 rgba(165,51,59,0.6); animation:cta-pulse 2.4s ease-in-out infinite; }
@keyframes cta-pulse{ 0%,100%{ box-shadow:0 0 0 0 rgba(165,51,59,0.45);} 50%{ box-shadow:0 0 0 16px rgba(165,51,59,0);} }

.xray-progress{ position:absolute; left:0; right:0; bottom:0; height:3px; background:rgba(255,255,255,0.08); z-index:5; }
.xray-progress-bar{ height:100%; width:0%; background:var(--straight); }

@media (prefers-reduced-motion: reduce){
  .xray-experience{ height:auto; }
  .xray-sticky{ position:relative; height:auto; padding:90px 0; }
  .xray-layer{ position:relative; inset:auto; display:none; }
  .xray-layer.xray-reveal{ display:flex; }
}

/* ==========================================================================
   MIRRORED THEME COMPONENTS — badge pill, proof card, review cards,
   picker grids, map block, split booking form, 5-col footer.
   ========================================================================== */

/* ---- Badge pill (e.g. "Family-Owned · Laguna Niguel, CA") ---- */
.badge-pill{
  display:inline-flex; align-items:center; gap:9px; padding:9px 20px; border-radius:999px;
  border:1px solid rgba(255,255,255,0.25); background:rgba(255,255,255,0.06);
  font-size:0.88rem; font-weight:600; color:#fff; margin-bottom:26px;
}
.badge-pill.light{ border-color:var(--line); background:var(--sand); color:var(--ink-text); }
.badge-pill svg, .badge-pill .ic{ width:16px; height:16px; flex:none; color:var(--straight); }

/* ---- Trust icon row (24/7 · Licensed · No Hidden Fees) ---- */
.trust-row{ display:flex; gap:40px; justify-content:center; flex-wrap:wrap; margin-top:44px; }
.trust-row .item{ display:flex; align-items:center; gap:10px; color:var(--muted-on-ink); font-size:0.94rem; font-weight:500; }
.section-ink .trust-row .item, .hero .trust-row .item{ color:var(--muted-on-ink); }
.trust-row .item .ic{ color:var(--straight); flex:none; }

/* ---- Proof card (floating Yelp/Google rating card) ---- */
.proof-wrap{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center; }
@media (max-width:880px){ .proof-wrap{ grid-template-columns:1fr; } }
.proof-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow);
  padding:28px 30px; display:flex; align-items:center; gap:20px;
}
.proof-card .src{ width:56px; height:56px; border-radius:14px; background:var(--straight); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.3rem; flex:none; }
.proof-card .rating{ font-family:'Playfair Display',serif; font-size:2rem; font-weight:700; display:flex; align-items:center; gap:10px; }
.proof-card .stars{ color:var(--straight); font-size:1rem; letter-spacing:1px; }
.proof-card .count{ color:var(--muted); font-size:0.9rem; margin-top:2px; }

/* ---- Review cards v2 (gradient top bar + avatar) ---- */
.review-grid-v2{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.review-grid-v2 > *{ min-width:0; }
@media (max-width:980px){ .review-grid-v2{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .review-grid-v2{ grid-template-columns:1fr; } }
.review-card-v2{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sm);
}
.review-card-v2 .bar{ height:4px; background:linear-gradient(90deg,#F2A03D,var(--straight)); }
.review-card-v2 .body{ padding:24px; }
.review-card-v2 .top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.review-card-v2 .who{ display:flex; align-items:center; gap:12px; }
.review-card-v2 .avatar{ width:44px; height:44px; border-radius:50%; background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center; font-family:'Playfair Display',serif; font-weight:700; flex:none; }
.review-card-v2 .name{ font-weight:700; font-size:0.98rem; }
.review-card-v2 .loc{ font-size:0.8rem; color:var(--muted); }
.review-card-v2 .src-badge{ width:30px; height:30px; border-radius:8px; background:var(--straight); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.85rem; flex:none; }
.review-card-v2 .stars-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.review-card-v2 .stars{ color:var(--straight); letter-spacing:2px; }
.review-card-v2 .date{ font-size:0.78rem; color:var(--muted); font-family:'IBM Plex Mono',monospace; }
.review-card-v2 p{ font-size:0.95rem; color:var(--ink-text); line-height:1.55; }

/* ---- Picker grids (symptom / problem selectors) ---- */
.picker-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.picker-grid > *{ min-width:0; }
@media (max-width:880px){ .picker-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .picker-grid{ grid-template-columns:1fr; } }
.picker-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:30px 22px; text-align:center;
  cursor:pointer; transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; display:block;
}
.picker-card:hover, .picker-card:focus-visible{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--straight); }
.picker-card .ic{ width:56px; height:56px; border-radius:50%; background:var(--sand); color:var(--straight); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:1.5rem; }
.picker-card .label{ font-weight:700; font-size:1rem; color:var(--ink-text); }

.picker-grid-dark{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.picker-grid-dark > *{ min-width:0; }
@media (max-width:880px){ .picker-grid-dark{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:480px){ .picker-grid-dark{ grid-template-columns:1fr; } }
.picker-card-dark{
  background:var(--ink-2); border:1px solid var(--line-ink); border-radius:var(--radius-lg); padding:26px 22px; text-align:left;
  cursor:pointer; transition:transform .18s ease, border-color .18s ease; display:block;
}
.picker-card-dark:hover, .picker-card-dark:focus-visible{ transform:translateY(-4px); border-color:var(--straight); }
.picker-card-dark.active{ border-color:var(--straight); background:rgba(217,67,46,0.12); }
.picker-card-dark .ic{ width:44px; height:44px; border-radius:12px; background:rgba(255,255,255,0.08); color:var(--muted-on-ink); display:flex; align-items:center; justify-content:center; margin-bottom:16px; font-size:1.3rem; }
.picker-card-dark .label{ font-weight:700; font-size:1.02rem; color:#fff; }
.picker-result{
  margin-top:32px; padding:24px 28px; border-radius:var(--radius); background:rgba(217,67,46,0.1);
  border:1px solid rgba(217,67,46,0.35); color:#fff; display:none;
}
.picker-result.show{ display:block; }
.picker-result strong{ display:block; font-family:'Playfair Display',serif; font-size:1.15rem; margin-bottom:6px; color:#fff; }
.picker-result p{ color:var(--muted-on-ink); font-size:0.95rem; margin-bottom:12px; }
.picker-result a{ color:var(--straight); font-weight:700; text-decoration:underline; }
.picker-hint{ text-align:center; color:var(--muted-on-ink); margin-top:28px; font-size:0.95rem; }

/* ---- Map block (service area map + HQ pin + city chip grid) ---- */
.map-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width:960px){ .map-wrap{ grid-template-columns:1fr; } }
.map-frame{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line);
  aspect-ratio:4/3; background:linear-gradient(135deg,#DCE7E2,#CFE0E8);
}
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }
.map-pin{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  background:var(--straight); color:#fff; padding:10px 18px; border-radius:999px; font-weight:700; font-size:0.9rem;
  box-shadow:0 10px 24px -6px rgba(217,67,46,0.55); display:flex; align-items:center; gap:8px; white-space:nowrap;
}
.city-pill-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:24px 0 32px; }
.city-pill-grid > *{ min-width:0; }
@media (max-width:640px){ .city-pill-grid{ grid-template-columns:repeat(2,1fr); } }
.city-pill{
  display:flex; align-items:center; gap:8px; padding:11px 16px; border-radius:999px; border:1px solid var(--line);
  background:#fff; font-size:0.88rem; font-weight:600; color:var(--ink-text); transition:border-color .15s, color .15s;
}
.city-pill:hover{ border-color:var(--straight); color:var(--straight); }
.city-pill .ic{ color:var(--straight); flex:none; }

/* ---- Split booking form (homepage lead capture) ---- */
.booking-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
@media (max-width:960px){ .booking-wrap{ grid-template-columns:1fr; } }
.booking-points{ display:flex; flex-direction:column; gap:20px; margin-top:28px; }
.booking-point{ display:flex; align-items:center; gap:16px; }
.booking-point .ic{ width:44px; height:44px; border-radius:50%; background:var(--sand); color:var(--straight); display:flex; align-items:center; justify-content:center; flex:none; }
.booking-point span{ font-weight:600; font-size:1rem; color:var(--ink-text); }
.booking-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); box-shadow:var(--shadow); padding:34px; }
.booking-card h3{ font-size:1.4rem; margin-bottom:6px; }
.booking-card p.sub{ color:var(--muted); font-size:0.92rem; margin-bottom:24px; }
.booking-field{ width:100%; padding:14px 16px; border-radius:10px; border:1px solid var(--line); font-family:inherit; font-size:0.95rem; margin-bottom:14px; background:var(--foam); }
.booking-row-2{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:14px; }
.booking-row-2 .booking-field{ margin-bottom:0; }
.booking-alt-call{
  display:flex; align-items:center; justify-content:center; gap:10px; margin-top:14px; width:100%;
  background:var(--ink); color:#fff; padding:15px; border-radius:12px; font-weight:700; font-size:0.95rem;
}

/* ---- Footer 5-column (mirrored layout) ---- */
.footer-grid-5{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr 1fr; gap:32px; margin-bottom:44px; }
.footer-grid-5 > *{ min-width:0; }
@media (max-width:980px){ .footer-grid-5{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid-5{ grid-template-columns:1fr; } }
.footer-grid-5 h4{ color:#fff; font-family:'Playfair Display',serif; font-size:1.05rem; font-weight:700; margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid var(--straight); display:inline-block; }
.footer-grid-5 ul{ display:flex; flex-direction:column; gap:10px; }
.footer-grid-5 a{ font-size:0.9rem; color:var(--muted-on-ink); }
.footer-grid-5 a:hover{ color:#fff; }
.footer-ratings{ display:flex; flex-direction:column; gap:8px; margin-top:16px; }
.footer-ratings .row{ display:flex; align-items:center; gap:8px; color:var(--muted-on-ink); font-size:0.85rem; }
.footer-ratings .stars{ color:var(--straight); letter-spacing:1px; }
.footer-qr{ background:#fff; border-radius:10px; padding:10px; width:110px; }
.footer-qr img{ width:100%; height:auto; }
