/* ============================================================
   EBS BREVARD — styles.css
   Trash Bin Cleaning · Brevard County, FL
   ------------------------------------------------------------
   1. Design tokens      5. Sections (each labeled)
   2. Base & utilities   6. Contact form
   3. Header / nav       7. Footer
   4. Hero               8. Animations & responsive
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS — edit a color once here, updates everywhere
   ============================================================ */
:root{
  /* brand palette (pulled from the EBS logo) */
  --ink:        #082723;   /* darkest teal — footer, deep bands       */
  --teal-900:   #0C3B36;   /* header bar, dark panels                 */
  --teal-700:   #11534C;   /* primary headline color                  */
  --teal-500:   #177268;   /* mid accents, hover states               */
  --turq:       #29BFB1;   /* signature turquoise — buttons, accents  */
  --turq-hover: #21A99C;
  --sky:        #BDE9F5;   /* small light-blue accents                */
  --sky-soft:   #E4F6FA;   /* pale tint backgrounds                   */
  --paper:      #F5F9F8;   /* light surface (form inputs)             */
  --page:       #E9F1EE;   /* soft teal-gray page background          */
  --page-deep:  #DFEDE7;   /* slightly deeper page wash               */
  --green:      #3FB58C;   /* seafoam green — close cousin of teal    */
  --green-soft: #DFF2E9;   /* pale green tint                         */
  --white:      #FFFFFF;
  --line:       #DCE8E6;   /* hairline borders                        */
  --body:       #000000;   /* body text on light                      */
  --muted:      #000000;   /* secondary text                          */
  --grime:      #6B5B3E;   /* dirty-bin browns (hero art)             */
  --star:       #FFB93B;   /* review stars                            */
  --error:      #D64545;

  --font-head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;

  --radius:     14px;
  --radius-lg:  22px;
  --shadow-sm:  0 4px 14px rgba(8,39,35,.08);
  --shadow-md:  0 12px 32px rgba(8,39,35,.12);
  --shadow-lg:  0 24px 60px rgba(8,39,35,.18);
  --shell:      1200px;
  --pad:        clamp(20px, 4vw, 40px);
  --header-h:   76px;
}

/* ============================================================
   2. BASE & UTILITIES
   ============================================================ */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 16px); }
body{
  margin:0;
  /* themed page background: soft teal-gray with gentle teal & green washes */
  background:
    radial-gradient(1200px 800px at 92% 0%, rgba(41,191,177,.10), transparent 60%),
    radial-gradient(1000px 900px at 0% 55%, rgba(63,181,140,.10), transparent 60%),
    linear-gradient(180deg, var(--page) 0%, var(--page-deep) 100%);
  color:var(--body);
  font-family:var(--font-body);
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
p{ margin:0; }
h1,h2,h3,h4{
  margin:0;
  font-family:var(--font-head);
  color:var(--teal-700);
  line-height:1.12;
  letter-spacing:-.015em;
}
h1{ font-weight:800; }
h2{ font-weight:800; font-size:clamp(1.9rem, 3.6vw, 2.7rem); }
h3{ font-weight:700; }
/* black outline on the large display text */
h1, h2, .plan__price .amount{
  -webkit-text-stroke:1px #000;
  paint-order:stroke fill;
}
:focus-visible{ outline:3px solid var(--turq); outline-offset:3px; border-radius:4px; }

.shell{ max-width:var(--shell); margin:0 auto; padding-inline:var(--pad); }

.section{ padding:clamp(64px, 8vw, 104px) 0; }
/* tinted sections: a green-teal wash that fades in and out — no hard edges */
.section--tint{
  background:linear-gradient(180deg,
    rgba(63,181,140,0)    0%,
    rgba(41,191,177,.10) 22%,
    rgba(63,181,140,.16) 55%,
    rgba(41,191,177,.08) 85%,
    rgba(63,181,140,0)  100%);
}
/* dark band: fades from the page color into deep teal and back out */
.section--dark{
  background:linear-gradient(180deg,
    rgba(12,59,54,0) 0,
    var(--teal-900) 64px,
    var(--teal-900) calc(100% - 64px),
    rgba(12,59,54,0) 100%);
}
.section--dark h2{ color:var(--white); }

.section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
.section-head--left{ margin-inline:0; text-align:left; }
.section-head .kicker{
  display:inline-block;
  font:800 12.5px/1 var(--font-head);
  letter-spacing:.16em; text-transform:uppercase;
  color:var(--turq);
  background:var(--sky-soft);
  border:1px solid var(--sky);
  padding:8px 16px; border-radius:100px;
  margin-bottom:16px;
}
.section--dark .section-head .kicker{
  background:rgba(41,191,177,.14);
  border-color:rgba(41,191,177,.35);
}
.section-head p{ margin-top:14px; font-size:18.5px; color:var(--muted); }
.section--dark .section-head p{ color:rgba(255,255,255,.72); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font:800 16px/1 var(--font-head); letter-spacing:.02em;
  padding:16px 28px; border-radius:100px;
  border:2px solid transparent; cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  text-align:center;
}
.btn svg{ width:19px; height:19px; flex:none; }
.btn:active{ transform:scale(.97); }

.btn--primary{
  background:var(--turq); color:var(--ink);
  box-shadow:0 8px 24px rgba(41,191,177,.35);
}
.btn--primary:hover{ background:var(--turq-hover); transform:translateY(-2px); box-shadow:0 12px 30px rgba(41,191,177,.45); }

.btn--dark{ background:var(--teal-700); color:var(--white); }
.btn--dark:hover{ background:var(--teal-500); transform:translateY(-2px); box-shadow:var(--shadow-md); }

.btn--ghost{
  background:var(--turq); color:var(--ink);
  border-color:var(--turq);
  box-shadow:0 8px 24px rgba(41,191,177,.35);
}
.btn--ghost:hover{ background:var(--turq-hover); border-color:var(--turq-hover); transform:translateY(-2px); box-shadow:0 12px 30px rgba(41,191,177,.45); }

.btn--ghost-light{ border-color:rgba(255,255,255,.6); color:var(--white); background:transparent; }
.btn--ghost-light:hover{ background:var(--white); color:var(--teal-900); }

.btn--sm{ padding:12px 20px; font-size:14px; }

/* ============================================================
   3. HEADER / NAV  (sticky)
   ============================================================ */
.header{
  position:sticky; top:0; z-index:100;
  background:rgba(12,59,54,.97);
  backdrop-filter:blur(8px);
  box-shadow:0 2px 20px rgba(8,39,35,.25);
  transition:box-shadow .25s ease;
}
.header__inner{
  max-width:var(--shell); margin:0 auto; padding-inline:var(--pad);
  display:flex; align-items:center; gap:24px;
  height:var(--header-h);
}
.brand{ display:flex; align-items:center; gap:12px; flex:none; }
.brand img{ height:56px; width:auto; }
.brand__text{ display:flex; flex-direction:column; line-height:1.05; }
.brand__name{ font:800 19px/1 var(--font-head); color:var(--white); letter-spacing:.02em; }
.brand__tag{ font:700 10.5px/1 var(--font-body); letter-spacing:.22em; color:var(--sky); text-transform:uppercase; margin-top:4px; }

.nav{ display:flex; gap:clamp(14px, 1.8vw, 28px); margin-left:auto; }
.nav a{
  font:700 15.5px/1 var(--font-body); color:rgba(255,255,255,.85);
  padding:10px 2px; position:relative; transition:color .18s;
}
.nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:2px; height:2.5px;
  background:var(--turq); border-radius:2px;
  transform:scaleX(0); transform-origin:left; transition:transform .22s ease;
}
.nav a:hover{ color:var(--white); }
.nav a:hover::after,
.nav a[aria-current="true"]::after{ transform:scaleX(1); }
.nav a[aria-current="true"]{ color:var(--white); }

.header .btn{ flex:none; }

.nav-toggle{
  display:none; margin-left:auto;
  background:none; border:0; padding:12px; cursor:pointer;
}
.nav-toggle span{
  display:block; width:26px; height:3px; border-radius:2px;
  background:var(--white); margin:5px 0; transition:transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

/* ============================================================
   4. HERO
   ============================================================ */
.hero{
  position:relative;
  background:url("../images/hero-bg.png") center right / cover no-repeat, #EDEFE8;
  overflow:hidden;
}
/* light scrim on the left so the headline stays readable over the photo */
.hero::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(100deg,
    rgba(240,242,240,.82) 0%,
    rgba(240,242,240,.5) 36%,
    rgba(240,242,240,0) 62%);
}
/* soft fade at the bottom of the hero photo into the page color */
.hero::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:110px;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(233,241,238,0), var(--page));
}
.hero__inner{
  position:relative; z-index:2;
  max-width:var(--shell); margin:0 auto; padding:clamp(44px,6vw,84px) var(--pad) clamp(48px,6vw,80px);
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(28px, 4vw, 56px); align-items:center;
  min-height:clamp(460px, 44vw, 640px);
}
.hero h1{
  font-size:clamp(2.7rem, 5.6vw, 4.3rem);
  color:var(--teal-700);
}
.hero h1 .accent{ color:var(--turq); display:block; }
.hero__sub{
  margin-top:20px; max-width:52ch;
  font-size:clamp(18px, 1.5vw, 20.5px); font-weight:600; color:var(--body);
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }

/* trust chips under the hero buttons */
.hero__trust{
  display:flex; flex-wrap:wrap; gap:10px 12px; margin-top:32px;
}
.hero__trust li{
  display:flex; align-items:center; gap:8px;
  font:700 15px/1.2 var(--font-body); color:var(--teal-700);
  background:rgba(255,255,255,.62);
  border:1px solid rgba(23,114,104,.22);
  border-radius:999px;
  padding:8px 16px;
  backdrop-filter:blur(3px);
  -webkit-backdrop-filter:blur(3px);
  box-shadow:0 2px 8px rgba(12,59,54,.08);
}
.hero__trust svg{ width:19px; height:19px; flex:none; color:var(--turq); }

/* hero art column — the photo background now provides the scene, so the
   built-in SVG illustration is hidden. The empty column keeps the copy on
   the left, clear of the bin in the photo. */
.hero__art{ position:relative; }
.hero__art svg{ display:none; }

/* floating odor + fly animation inside hero SVG */
.odor{ animation:odorRise 3.4s ease-in-out infinite; opacity:.55; }
.odor--d1{ animation-delay:1.1s; }
.odor--d2{ animation-delay:2.2s; }
@keyframes odorRise{
  0%   { transform:translateY(0);     opacity:0; }
  25%  { opacity:.6; }
  100% { transform:translateY(-26px); opacity:0; }
}
.fly{ animation:flyBuzz 5s ease-in-out infinite; transform-origin:center; }
.fly--d1{ animation-delay:1.6s; animation-duration:6s; }
@keyframes flyBuzz{
  0%,100%{ transform:translate(0,0); }
  20%    { transform:translate(9px,-7px); }
  45%    { transform:translate(-6px,4px); }
  70%    { transform:translate(7px,6px); }
}

/* ============================================================
   5. SECTIONS
   ============================================================ */

/* ---------- 5a. problem cards ---------- */
.problem-cards{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:24px;
}
.problem-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:32px 28px; text-align:center;
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease, box-shadow .22s ease;
}
.problem-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.problem-card__icon{
  width:72px; height:72px; margin:0 auto 20px;
  border-radius:50%; background:var(--sky-soft); border:1px solid var(--sky);
  display:grid; place-items:center;
}
.problem-card__icon svg{ width:36px; height:36px; }
.problem-card h3{ font-size:20px; margin-bottom:10px; }
.problem-card p{ font-size:16.5px; color:var(--muted); }
.problem-note{
  margin:40px auto 0; max-width:640px; text-align:center;
  background:var(--sky-soft); border:1px dashed var(--turq);
  border-radius:var(--radius); padding:18px 24px;
  font-size:16px; font-weight:600; color:var(--teal-700);
}

/* ---------- 5b. how it works ---------- */
.steps{
  position:relative;
  display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
  counter-reset:step;
}
/* the animated progress line connecting the steps */
.steps::before{
  content:""; position:absolute; top:36px; left:9%; right:9%;
  height:4px; border-radius:4px;
  background:var(--line);
  z-index:0;
}
.steps::after{
  content:""; position:absolute; top:36px; left:9%; right:9%;
  height:4px; border-radius:4px;
  background:linear-gradient(90deg, var(--turq), var(--sky));
  z-index:0;
  transform:scaleX(0); transform-origin:left;
  transition:transform 1.6s cubic-bezier(.4,0,.2,1) .3s;
}
.steps.in-view::after{ transform:scaleX(1); }

.step{ position:relative; z-index:1; text-align:center; padding:0 8px; }
.step__badge{
  width:72px; height:72px; margin:0 auto 18px;
  border-radius:50%; background:var(--white);
  border:3px solid var(--turq);
  display:grid; place-items:center;
  box-shadow:var(--shadow-sm);
  transition:transform .25s ease, background .25s ease;
}
.step:hover .step__badge{ transform:scale(1.08); }
.step__badge svg{ width:32px; height:32px; color:var(--teal-700); }
.step__num{
  display:inline-block; font:800 12px/1 var(--font-head);
  letter-spacing:.14em; color:var(--turq); margin-bottom:8px;
}
.step h3{ font-size:18.5px; margin-bottom:8px; }
.step p{ font-size:16px; color:var(--muted); }

/* ---------- 5c. before / after slider ---------- */
.ba-wrap{ max-width:760px; margin:0 auto; }
.ba{
  position:relative; overflow:hidden;
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  border:1px solid var(--line);
  background:var(--white);
  -webkit-user-select:none; user-select:none;
  touch-action:none;
  aspect-ratio:760 / 640;
}
.ba__pane{ position:absolute; inset:0; }
.ba__pane img, .ba__pane svg{ width:100%; height:100%; object-fit:cover; display:block; }
.ba__pane--before{ z-index:1; }
.ba__pane--after{
  z-index:2;
  clip-path:inset(0 0 0 var(--ba-pos, 50%));
}
.ba__handle{
  position:absolute; top:0; bottom:0; z-index:3;
  left:var(--ba-pos, 50%); width:4px; margin-left:-2px;
  background:var(--white);
  box-shadow:0 0 14px rgba(8,39,35,.4);
  cursor:ew-resize;
}
.ba__grip{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  width:52px; height:52px; border-radius:50%;
  background:var(--turq); color:var(--ink);
  display:grid; place-items:center;
  box-shadow:0 6px 20px rgba(8,39,35,.35);
  border:3px solid var(--white);
}
.ba__grip svg{ width:24px; height:24px; }
.ba__tag{
  position:absolute; top:16px; z-index:4;
  font:800 12px/1 var(--font-head); letter-spacing:.12em; text-transform:uppercase;
  padding:8px 14px; border-radius:100px; color:var(--white);
}
.ba__tag--before{ left:16px; background:rgba(107,91,62,.92); }
.ba__tag--after{ right:16px; background:rgba(41,191,177,.94); color:var(--ink); }
.ba-hint{ text-align:center; margin-top:16px; font-size:14.5px; color:var(--muted); font-weight:600; }

/* ---------- 5d. benefits ---------- */
.benefits{ display:grid; grid-template-columns:repeat(4, 1fr); gap:22px; }
.benefit{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:30px 26px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:var(--turq); }
.benefit__icon{
  width:58px; height:58px; border-radius:16px;
  background:linear-gradient(135deg, var(--turq), var(--teal-500));
  display:grid; place-items:center; margin-bottom:18px;
  box-shadow:0 8px 18px rgba(41,191,177,.3);
}
.benefit__icon svg{ width:28px; height:28px; color:var(--white); }
.benefit h3{ font-size:19px; margin-bottom:8px; }
.benefit p{ font-size:16px; color:var(--muted); }

/* ---------- 5e. pricing ---------- */
.plans{ display:grid; grid-template-columns:repeat(3, 1fr); gap:24px; align-items:stretch; }
.plan{
  position:relative;
  background:var(--white); border:1.5px solid var(--line); border-radius:var(--radius-lg);
  padding:38px 30px 32px;
  display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
}
.plan:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.plan--featured{
  background:var(--teal-900);
  border-color:var(--teal-900);
  box-shadow:var(--shadow-lg);
  transform:scale(1.03);
}
.plan--featured:hover{ transform:scale(1.03) translateY(-6px); }
.plan__ribbon{
  position:absolute; top:-15px; left:50%; transform:translateX(-50%);
  background:var(--turq); color:var(--ink);
  font:800 12px/1 var(--font-head); letter-spacing:.1em; text-transform:uppercase;
  padding:9px 18px; border-radius:100px; white-space:nowrap;
  box-shadow:0 6px 16px rgba(41,191,177,.4);
}
.plan h3{ font-size:21px; }
.plan--featured h3{ color:var(--white); }
.plan__desc{ margin-top:6px; font-size:14.5px; color:var(--muted); }
.plan--featured .plan__desc{ color:rgba(255,255,255,.7); }
.plan__price{ display:flex; align-items:baseline; gap:7px; margin:22px 0 4px; }
.plan__price .amount{ font:800 52px/1 var(--font-head); color:var(--teal-700); letter-spacing:-.03em; }
.plan--featured .plan__price .amount{ color:var(--turq); }
.plan__price .per{ font-size:15px; font-weight:700; color:var(--muted); }
.plan--featured .plan__price .per{ color:rgba(255,255,255,.65); }
.plan__list{ margin:22px 0 28px; display:grid; gap:11px; }
.plan__list li{
  position:relative; padding-left:30px; font-size:16.5px;
}
.plan--featured .plan__list li{ color:rgba(255,255,255,.88); }
.plan__list li::before{
  content:""; position:absolute; left:0; top:2px;
  width:19px; height:19px; border-radius:50%;
  background:var(--sky-soft);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317726F' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-11'/%3E%3C/svg%3E");
  background-size:12px; background-position:center; background-repeat:no-repeat;
}
.plan--featured .plan__list li::before{ background-color:rgba(41,191,177,.2); }
.plan .btn{ margin-top:auto; width:100%; }
.pricing-note{
  margin:36px auto 0; max-width:620px; text-align:center;
  font-size:14.5px; color:var(--muted);
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  padding:14px 22px;
}

/* ---------- 5f. service area ---------- */
.area{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(30px,5vw,64px); align-items:center; }
.area__map{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md); padding:22px; position:relative;
}
.fl-map{ position:relative; }
.fl-map img{ width:100%; height:auto; display:block; border-radius:12px; }
.fl-pin{
  position:absolute; left:var(--x); top:var(--y);
  transform:translate(-50%,-100%);
  display:flex; flex-direction:column; align-items:center; gap:3px;
  background:none; border:0; padding:0; cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  animation:flPinPulse 2.6s ease-in-out infinite;
  animation-delay:var(--pd, 0s);
}
.fl-pin svg{
  width:30px; height:30px; fill:#177268;
  filter:drop-shadow(0 3px 6px rgba(8,39,35,.5));
  transform-origin:center bottom;
  transition:transform .22s ease, fill .22s ease;
}
.fl-pin__label{
  font:800 11.5px/1 var(--font-head); letter-spacing:.02em; white-space:nowrap;
  color:#11534C; background:rgba(255,255,255,.94);
  padding:6px 11px; border-radius:100px;
  box-shadow:0 3px 10px rgba(8,39,35,.35);
  transition:background .22s ease, color .22s ease, transform .22s ease;
}
.fl-pin:hover,
.fl-pin:focus-visible,
.fl-pin.is-active{ animation:none; }
.fl-pin:hover svg,
.fl-pin:focus-visible svg,
.fl-pin.is-active svg{
  fill:var(--turq); transform:scale(1.3);
}
.fl-pin:hover .fl-pin__label,
.fl-pin:focus-visible .fl-pin__label,
.fl-pin.is-active .fl-pin__label{
  background:var(--turq); color:var(--ink); transform:scale(1.12);
}
.fl-pin:focus-visible{ outline:none; }
@keyframes flPinPulse{
  0%,100%{ transform:translate(-50%,-100%); }
  50%    { transform:translate(-50%,calc(-100% - 5px)); }
}
.area__cities{ display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:26px; }
.area__cities li{
  display:flex; align-items:center; gap:10px;
  background:var(--white); border:1px solid var(--line); border-radius:12px;
  padding:13px 16px; font-weight:700; font-size:15.5px; color:var(--teal-700);
  transition:border-color .18s ease, transform .18s ease;
}
.area__cities li:hover{ border-color:var(--turq); transform:translateX(3px); }
.area__cities svg{ width:18px; height:18px; flex:none; color:var(--turq); }

/* ---------- 5g. reviews carousel ---------- */
.reviews-note{
  text-align:center; font-size:13px; color:var(--muted);
  margin-bottom:26px; font-style:italic;
}
/* Google-review summary line + per-review Google badge */
.reviews-note svg{ width:15px; height:15px; vertical-align:-2px; margin-right:2px; }
.reviews-note b{ color:var(--teal-700); }
.reviews-note__stars{ display:inline-flex; gap:1px; margin:0 6px 0 4px; vertical-align:-2px; }
.reviews-note__stars svg{ width:14px; height:14px; color:var(--star); margin:0; }
.review .where--google svg{ width:15px; height:15px; }
.carousel{ position:relative; max-width:520px; margin:0 auto; }
.carousel__viewport{ overflow:hidden; border-radius:var(--radius-lg); }
/* slides are stacked in the same grid cell; only .is-active is visible.
   The old review fades out and the new one fades in every 7 seconds. */
.carousel__track{ display:grid; }
.review{
  grid-area:1 / 1; min-width:0;
  aspect-ratio:1 / 1;               /* 1:1 square review box */
  display:flex; flex-direction:column; justify-content:center;
  overflow:auto;
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:clamp(28px,4vw,44px);
  text-align:center;
  opacity:0; visibility:hidden;
  transition:opacity .45s ease, visibility .45s ease;
}
.review.is-active{ opacity:1; visibility:visible; }
.review__stars{ display:flex; justify-content:center; gap:4px; margin-bottom:18px; }
.review__stars svg{ width:22px; height:22px; color:var(--star); }
.review blockquote{
  margin:0; font-size:clamp(16.5px, 1.5vw, 19px); line-height:1.6; color:var(--body);
  font-weight:600;
}
.review figcaption{ margin-top:20px; }
.review .who{ font:800 15.5px/1.2 var(--font-head); color:var(--teal-700); }
.review .where{ display:flex; align-items:center; justify-content:center; gap:6px; margin-top:6px; font-size:14px; color:var(--muted); font-weight:700; }
.review .where svg{ width:15px; height:15px; color:var(--turq); }

.carousel__btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:46px; height:46px; border-radius:50%;
  background:var(--white); border:1px solid var(--line); cursor:pointer;
  display:grid; place-items:center;
  box-shadow:var(--shadow-sm);
  transition:background .18s ease, transform .18s ease;
  color:var(--teal-700);
}
.carousel__btn:hover{ background:var(--turq); color:var(--ink); transform:translateY(-50%) scale(1.06); }
.carousel__btn svg{ width:20px; height:20px; }
.carousel__btn--prev{ left:-14px; }
.carousel__btn--next{ right:-14px; }
.carousel__dots{ display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:22px; }
.carousel__dots button{
  width:10px; height:10px; border-radius:50%; border:0; cursor:pointer;
  background:var(--line); padding:0; transition:background .2s ease, transform .2s ease;
}
.carousel__dots button[aria-current="true"]{ background:var(--turq); transform:scale(1.35); }

/* ---------- 5h. trust band ---------- */
.trust-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.trust-item{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius-lg);
  padding:26px 20px; text-align:center;
  transition:background .2s ease, transform .2s ease, border-color .2s ease;
}
.trust-item:hover{ background:rgba(41,191,177,.1); border-color:rgba(41,191,177,.45); transform:translateY(-4px); }
.trust-item svg{ width:34px; height:34px; margin:0 auto 14px; color:var(--turq); }
.trust-item h3{ font-size:15.5px; color:var(--white); line-height:1.35; }
.trust-item p{ margin-top:6px; font-size:13.5px; color:rgba(255,255,255,.6); }

/* ---------- 5i. FAQ ---------- */
.faq{ max-width:780px; margin:0 auto; display:grid; gap:14px; }
.faq__item{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease;
}
.faq__item.open{ border-color:var(--turq); box-shadow:var(--shadow-sm); }
.faq__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:0; cursor:pointer; text-align:left;
  padding:20px 24px;
  font:700 17px/1.4 var(--font-head); color:var(--teal-700);
}
.faq__q .chev{
  flex:none; width:34px; height:34px; border-radius:50%;
  background:var(--sky-soft); display:grid; place-items:center;
  transition:transform .3s ease, background .3s ease;
}
.faq__q .chev svg{ width:17px; height:17px; color:var(--teal-700); }
.faq__item.open .chev{ transform:rotate(180deg); background:var(--turq); }
.faq__a{
  max-height:0; overflow:hidden;
  transition:max-height .35s ease;
}
.faq__a > div{ padding:0 24px 22px; font-size:17px; color:var(--muted); }

/* ---------- 5j. final CTA ---------- */
.cta{
  background:
    radial-gradient(900px 400px at 15% 30%, rgba(41,191,177,.22), transparent 55%),
    linear-gradient(180deg,
      rgba(12,59,54,0) 0,
      var(--teal-900) 64px,
      var(--ink) calc(100% - 64px),
      var(--ink) 100%);
  color:var(--white);
  text-align:center;
  padding:clamp(70px, 9vw, 110px) 0;
}
.cta h2{ color:var(--white); font-size:clamp(2rem, 4.2vw, 3rem); max-width:18ch; margin-inline:auto; }
.cta p{ margin:18px auto 0; max-width:46ch; font-size:18px; color:rgba(255,255,255,.75); }
.cta__actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:16px; margin-top:36px; }
.cta__site{ margin-top:26px; font:800 15px/1 var(--font-head); letter-spacing:.14em; color:var(--sky); text-transform:uppercase; }

/* ============================================================
   6. CONTACT FORM
   ============================================================ */
.contact{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:clamp(32px,5vw,64px); }
.contact__info h2{ margin-bottom:16px; }
.contact__info > p{ color:var(--muted); font-size:18px; }
.contact__lines{ margin-top:30px; display:grid; gap:16px; }
.contact__lines li{ display:flex; align-items:flex-start; gap:14px; }
.contact__lines .ico{
  flex:none; width:46px; height:46px; border-radius:14px;
  background:var(--sky-soft); border:1px solid var(--sky);
  display:grid; place-items:center;
}
.contact__lines .ico svg{ width:22px; height:22px; color:var(--teal-500); }
.contact__lines b{ display:block; font:800 15px/1.3 var(--font-head); color:var(--teal-700); }
.contact__lines span{ font-size:15px; color:var(--muted); }
.contact__lines a:hover{ text-decoration:underline; }

.form{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-md);
  padding:clamp(26px, 3.5vw, 40px);
}
.form__grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ display:flex; flex-direction:column; gap:7px; }
.field--full{ grid-column:1 / -1; }
.field label{ font:800 13.5px/1 var(--font-head); color:var(--teal-700); letter-spacing:.02em; }
.field label .req{ color:var(--error); }
.field input,
.field select,
.field textarea{
  font:600 16px/1.4 var(--font-body); color:var(--body);
  background:var(--paper);
  border:1.5px solid var(--line); border-radius:12px;
  padding:13px 16px; width:100%;
  transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
  appearance:none;
}
.field select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311534C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 14px center; background-size:16px;
  padding-right:42px;
}
.field textarea{ resize:vertical; min-height:110px; }
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline:none; border-color:var(--turq); background:var(--white);
  box-shadow:0 0 0 4px rgba(41,191,177,.16);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea{ border-color:var(--error); }
.field .err{
  display:none; font-size:13px; font-weight:700; color:var(--error);
}
.field.invalid .err{ display:block; }
.form__submit{ margin-top:24px; width:100%; }
.form__privacy{ margin-top:14px; text-align:center; font-size:13px; color:var(--muted); }

/* success message (hidden until submit) */
.form-success{
  display:none;
  text-align:center; padding:clamp(40px,5vw,64px) 24px;
}
.form-success.show{ display:block; animation:fadeUp .5s ease both; }
.form-success__icon{
  width:84px; height:84px; margin:0 auto 22px; border-radius:50%;
  background:linear-gradient(135deg, var(--turq), var(--teal-500));
  display:grid; place-items:center;
  box-shadow:0 12px 30px rgba(41,191,177,.4);
}
.form-success__icon svg{ width:40px; height:40px; color:var(--white); }
.form-success h3{ font-size:24px; margin-bottom:10px; }
.form-success p{ color:var(--muted); max-width:40ch; margin:0 auto; }

/* ---- customer form extras ---- */

/* auto-filled, locked fields (State / County) */
.field input.is-auto{
  background:var(--sky-soft); color:var(--teal-700);
  font-weight:800; cursor:default; pointer-events:none;
}
/* County + State share one grid cell, side by side */
.field-pair{ display:grid; grid-template-columns:1.4fr 1fr; gap:18px; }

/* "You already picked a plan" banner above the form */
.plan-banner{
  display:flex; align-items:center; gap:12px;
  background:var(--green-soft); border:1.5px solid var(--green);
  border-radius:var(--radius); padding:14px 18px; margin-bottom:20px;
  font:600 15px/1.45 var(--font-body); color:var(--teal-700);
  animation:fadeUp .5s ease both;
}
.plan-banner svg{
  flex:0 0 auto; width:26px; height:26px; padding:5px;
  border-radius:50%; background:var(--green); color:var(--white);
}
.plan-banner[hidden]{ display:none; }

/* prominent gate code + special requests box */
.special-box{
  grid-column:1 / -1;
  display:flex; flex-direction:column; gap:14px;
  background:var(--sky-soft); border:2px solid var(--turq);
  border-radius:var(--radius); padding:18px;
}
.special-box__head{
  display:flex; align-items:center; gap:10px;
  font:800 16px/1.2 var(--font-head); color:var(--teal-700);
}
.special-box__head svg{ width:20px; height:20px; color:var(--turq); }
.special-box__note{ font-size:14px; line-height:1.5; color:var(--muted); margin:0; }
.special-box .field input,
.special-box .field textarea{ background:var(--white); }
.special-box .field textarea{ min-height:90px; }
.field label .opt{ font-weight:600; color:var(--muted); }

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer{
  background:var(--ink);
  color:rgba(255,255,255,.68); padding:60px 0 30px;
}
.footer__grid{
  display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:36px;
}
.footer__brand img{ height:72px; width:auto; margin-bottom:16px; }
.footer__brand p{ font-size:15px; max-width:32ch; }
.footer h4{
  font:800 13px/1 var(--font-head); letter-spacing:.16em; text-transform:uppercase;
  color:var(--white); margin:0 0 18px;
}
.footer ul{ display:grid; gap:11px; font-size:15.5px; }
.footer a{ transition:color .15s ease; }
.footer a:hover{ color:var(--turq); }
.footer__social{ display:flex; gap:12px; margin-top:20px; }
.footer__social a{
  width:42px; height:42px; border-radius:50%;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15);
  display:grid; place-items:center;
  transition:background .2s ease, transform .2s ease;
}
.footer__social a:hover{ background:var(--turq); color:var(--ink); transform:translateY(-3px); }
.footer__social svg{ width:19px; height:19px; }
.footer__bottom{
  margin-top:44px; padding-top:24px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between;
  font-size:13.5px;
}
.footer__legal{ display:flex; gap:20px; }
.footer__legal a:hover{ color:var(--turq); }

/* ============================================================
   8. ANIMATIONS & RESPONSIVE
   ============================================================ */
/* scroll-reveal: elements start hidden, .revealed fades them up */
.reveal{ opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease; }
.reveal.revealed{ opacity:1; transform:none; }
.reveal--d1{ transition-delay:.12s; }
.reveal--d2{ transition-delay:.24s; }
.reveal--d3{ transition-delay:.36s; }

@keyframes fadeUp{
  from{ opacity:0; transform:translateY(18px); }
  to  { opacity:1; transform:none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1024px){
  .nav{ display:none; }
  .nav.is-open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:var(--header-h); left:0; right:0;
    background:var(--teal-900);
    padding:10px var(--pad) 24px;
    box-shadow:0 24px 40px rgba(8,39,35,.35);
  }
  .nav.is-open a{ padding:16px 4px; border-bottom:1px solid rgba(255,255,255,.1); font-size:17px; }
  .nav.is-open a::after{ display:none; }
  .nav-toggle{ display:block; }
  .header .btn{ display:none; }

  .hero__inner{ grid-template-columns:1fr; text-align:center; min-height:0; }
  .hero__sub{ margin-inline:auto; }
  .hero__actions,.hero__trust{ justify-content:center; }
  .hero__art{ display:none; }
  /* text spans the full width on small screens — use a stronger overall scrim */
  .hero::before{
    background:linear-gradient(180deg, rgba(240,242,240,.88), rgba(240,242,240,.72));
  }

  .problem-cards{ grid-template-columns:1fr; max-width:480px; margin-inline:auto; }
  .steps{ grid-template-columns:1fr 1fr; gap:34px 22px; }
  .steps::before,.steps::after{ display:none; }
  .benefits{ grid-template-columns:1fr 1fr; }
  .plans{ grid-template-columns:1fr; max-width:460px; margin-inline:auto; }
  .plan--featured{ transform:none; }
  .plan--featured:hover{ transform:translateY(-6px); }
  .area{ grid-template-columns:1fr; }
  .area__map{ max-width:480px; margin:0 auto; }
  .trust-grid{ grid-template-columns:repeat(3,1fr); }
  .trust-grid .trust-item:nth-child(n+4){ grid-column:span 1; }
  .contact{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}

/* ---------- phone ---------- */
@media (max-width: 620px){
  body{ font-size:17px; }
  .btn{ width:100%; }
  .hero__actions{ flex-direction:column; }
  .hero__trust{ gap:10px 16px; }
  .steps{ grid-template-columns:1fr; max-width:340px; margin-inline:auto; }
  .benefits{ grid-template-columns:1fr; max-width:400px; margin-inline:auto; }
  .trust-grid{ grid-template-columns:1fr 1fr; }
  .form__grid{ grid-template-columns:1fr; }
  .area__cities{ grid-template-columns:1fr; }
  .carousel__btn--prev{ left:6px; }
  .carousel__btn--next{ right:6px; }
  .footer__grid{ grid-template-columns:1fr; }
  .footer__bottom{ flex-direction:column; }
  .brand img{ height:46px; }
  .brand__name{ font-size:16px; }
  .brand__tag{ font-size:9px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
  .reveal{ opacity:1; transform:none; }
  .steps::after{ transform:scaleX(1); }
}

/* ============================================================
   9. SCRATCH-OFF OFFER POPUP
   ============================================================ */
.scratch-overlay{
  position:fixed; inset:0; z-index:300;
  display:flex; align-items:center; justify-content:center;
  padding:16px;
  background:rgba(8,39,35,.74);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  opacity:0;
  transition:opacity .35s ease;
}
.scratch-overlay.show{ opacity:1; }
.scratch-overlay[hidden]{ display:none; }

.scratch-card{
  position:relative;
  width:min(640px, 94vw);
}

/* close (×) button */
.scratch-close{
  position:absolute; top:6px; right:6px; z-index:2;
  width:42px; height:42px;
  display:flex; align-items:center; justify-content:center;
  border:0; border-radius:50%;
  background:var(--white);
  color:var(--teal-700);
  cursor:pointer;
  box-shadow:var(--shadow-sm);
  transition:transform .15s ease, background .15s ease;
}
.scratch-close:hover{ background:var(--sky-soft); transform:scale(1.08); }
.scratch-close svg{ width:20px; height:20px; }

/* the coupon + dirt canvas stack */
.scratch-stage{ position:relative; }
.scratch-coupon{
  width:100%; height:auto;
  user-select:none;
  -webkit-user-drag:none;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.35));
}
.scratch-canvas{
  position:absolute; inset:0;
  width:100%; height:100%;
  touch-action:none;               /* keeps the page from scrolling while scratching on mobile */
  cursor:pointer;
  transition:opacity .9s ease;
}
.scratch-canvas.cleared{ opacity:0; pointer-events:none; }

/* Apply Now — hidden until the dirt is cleaned off */
.scratch-apply{
  margin:-16px auto 0;
  width:fit-content;
  visibility:hidden;
  opacity:0;
  transform:translateY(14px);
  transition:opacity .5s ease .3s, transform .5s ease .3s, visibility 0s linear .8s;
}
.scratch-apply.show{
  visibility:visible;
  opacity:1;
  transform:translateY(0);
  transition:opacity .5s ease .3s, transform .5s ease .3s;
}
/* confirmation state after clicking Add to Order */
.scratch-apply.added{
  background:var(--teal-500);
  pointer-events:none;
}

/* dirt flecks that fling off while scrubbing (spawned by main.js) */
.dirt-fleck{
  position:absolute;
  z-index:3;
  pointer-events:none;
  border-radius:60% 40% 55% 45%;
  animation:dirtFling .65s cubic-bezier(.3,.4,.6,1) forwards;
}
@keyframes dirtFling{
  0%{
    transform:translate(0, 0) rotate(0deg) scale(1);
    opacity:1;
  }
  30%{
    transform:translate(calc(var(--dx) * .45), calc(var(--up) * -1)) rotate(calc(var(--rot) * .4)) scale(1);
    opacity:1;
  }
  100%{
    transform:translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.6);
    opacity:0;
  }
}
