/* =========================================================================
   Austin Excel Pest & Lawn Control — global stylesheet
   Brand: deep navy blue + orange
   Single source of truth for colour, type, and layout tokens.
   ========================================================================= */

:root {
  /* Black-led editorial identity */
  --ink:      #101010;   /* primary ink — headers, footers, primary buttons */
  --bg:       #F6F5F1;   /* warm off-white — page background */
  --soft:     #E5E0D5;   /* soft section background (deepened for clearer section breaks) */
  --line:     #D6D3CA;   /* borders */
  --white:    #FFFFFF;
  --body:     #2B2A26;   /* body copy on warm white */
  --muted:    #5A5750;   /* secondary text (darkened to clear WCAG AA) */
  --accent:   #9A5A2B;   /* functional accent ONLY (focus rings, tiny marks) */

  /* Legacy aliases — old component classes resolve to the new system.
     navy -> ink (black-led), orange -> ink (removes orange as a brand colour). */
  --navy:        var(--ink);
  --navy-dark:   #0B0B0B;
  --navy-light:  #2A2A2A;
  --orange:      var(--ink);
  --orange-dark: var(--ink);
  --bg-soft:     var(--soft);
  --bg-navy-tint: var(--soft);

  /* Type — editorial serif headlines + highly-legible sans body */
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-sans: var(--font-body);

  /* Layout — subtle borders over heavy shadows, modest radius */
  --maxw: 1140px;
  --radius: 4px;
  --shadow: 0 1px 0 rgba(16,16,16,.04);
  --shadow-lg: 0 10px 34px rgba(16,16,16,.09);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 0.5em;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.6rem); font-weight: 600; line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1rem; }

a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); transition: text-decoration-color .15s ease; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); }
/* Dark sections use a light hairline instead of the ink one */
.section--navy { background: var(--navy); color: #D9D5CB; border-top-color: rgba(255,255,255,.14); }
.section--navy h2,
.section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.lead { font-size: 1.2rem; line-height: 1.6; color: var(--body); }

/* ---------- Buttons — rectangular, black primary, calm secondary ---------- */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  text-align: center;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--primary:hover { background: #2b2b2b; border-color: #2b2b2b; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  color: #fff;
}
.topbar {
  background: var(--navy-dark);
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 6px;
  padding-bottom: 6px;
  color: #C9C4BA;
  flex-wrap: wrap;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--orange); text-decoration: none; }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: #fff;
  line-height: 1;
  gap: 12px;
}
.brand__logo { display: inline-flex; flex: 0 0 auto; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.brand__logo svg { display: block; }
.brand:hover .brand__logo { transform: rotate(-4deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand:hover { text-decoration: none; }
.brand__mark {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: .16em;
  text-indent: .16em;
  color: #fff;
}
.brand__desc {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  color: #C9C4BA;
  text-transform: uppercase;
  letter-spacing: .34em;
  text-indent: .34em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #e7ecf6;
  font-weight: 600;
  font-size: 0.98rem;
}
.nav-links a:hover { color: var(--orange); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-invoice {
  border: 1px solid rgba(255,255,255,.4);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #fff;
}
.nav-invoice:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(120deg, rgba(16,16,16,.92), rgba(16,16,16,.78)),
    radial-gradient(circle at 80% 20%, rgba(154,90,43,.16), transparent 45%);
  color: #fff;
  padding: 96px 0;
}
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #E7E3DA; font-size: 1.2rem; max-width: 52ch; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__note { margin-top: 18px; font-size: .92rem; color: #C9C4BA; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: none;
}
.card h3 { margin-bottom: .4rem; }
.card__icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--bg-navy-tint);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}
.card__link { font-weight: 700; }

/* ---------- Feature / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800;
  display: grid; place-items: center; margin-bottom: 12px;
}

/* ---------- CTA band (navy, per brief: orange is CTA-only) ---------- */
.cta-band { background: var(--navy); color: #E7E3DA; border-top: 4px solid var(--orange); }
.cta-band h2 { color: #fff; }
.cta-band .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px;
}
.cta-band .btn--ghost { border-color: #fff; }
.cta-band .btn--ghost:hover { background: #fff; color: var(--orange-dark); }

/* ---------- Cross-link block ---------- */
.crosslink {
  border: 1px dashed var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.crosslink strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aab6cf; padding: 56px 0 28px; }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer a { color: #D9D5CB; }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  margin-top: 36px; padding-top: 20px;
  font-size: .85rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero p { color: #D9D5CB; max-width: 60ch; }
.breadcrumb { font-size: .85rem; color: #A8A196; margin-bottom: 12px; }
.breadcrumb a { color: #D9D5CB; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li { margin-bottom: 18px; }
.info-list .label { display:block; font-size:.8rem; text-transform:uppercase; letter-spacing:.1em; color: var(--muted); }
.info-list .value { font-size: 1.15rem; color: var(--ink); font-weight: 700; }

.field { margin-bottom: 16px; }
.field label { display:block; font-weight:600; color: var(--ink); margin-bottom:6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }
.pill {
  display:inline-block; background: var(--bg-navy-tint); color: var(--navy);
  font-size:.8rem; font-weight:700; padding:4px 12px; border-radius:999px;
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-dark); color: #D9D5CB; }
.trust-bar .container {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px;
  padding-top: 16px; padding-bottom: 16px; font-size: .92rem; font-weight: 600;
}
.trust-bar b { color: #fff; }
.trust-bar .star { color: #ffb400; }

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #eaf0fb; padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600;
}

/* ---------- Grid 4 ---------- */
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Service/link cards row ---------- */
.card--link { display: flex; flex-direction: column; }
.card--link .card__link { margin-top: auto; padding-top: 10px; }

/* ---------- Reviews ---------- */
.stars { color: var(--accent); font-size: 1.1rem; letter-spacing: 2px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.review-card blockquote { margin: 10px 0 14px; padding: 0; border: 0; font-size: 1.08rem; color: var(--ink); font-style: normal; background: none; }
.review-card cite { font-style: normal; font-weight: 700; color: var(--navy); }
.review-card .meta { color: var(--muted); font-size: .88rem; }
.big-rating { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.big-rating .num { font-size: 3rem; font-weight: 800; color: var(--navy); line-height: 1; }

/* ---------- City grid ---------- */
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.city-grid a, .city-grid span {
  display: block; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; font-weight: 600; color: var(--ink); font-size: .95rem;
}
.city-grid a:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; }
.city-grid span { color: var(--muted); font-weight: 500; }
@media (max-width: 820px) { .city-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .city-grid { grid-template-columns: 1fr; } }

/* ---------- Offer strip ---------- */
.offer-strip {
  background: linear-gradient(90deg, var(--navy), var(--navy-light));
  color: #fff; border-radius: var(--radius); padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.offer-strip h3 { color: #fff; margin: 0; }
.offer-strip .pct { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 600; color: #D8A76B; display: block; }

/* ---------- Hours table ---------- */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours .day { color: var(--body); }
.hours .time { font-weight: 700; color: var(--ink); }

/* ---------- Prose helper for long copy ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; color: var(--navy); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.callout {
  border-left: 4px solid var(--orange); background: var(--bg-soft);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 20px 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .offer-strip { flex-direction: column; text-align: center; }
  .topbar .container { justify-content: center; }
  .cta-band .container { flex-direction: column; text-align: center; }
}

/* Header collapses to the hamburger menu below 980px — the full nav row (5 links
   + mega + 3 CTAs) needs ~905px, so anything narrower would scroll sideways. */
@media (max-width: 980px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: flex-start;
    padding: 18px 20px; gap: 14px; box-shadow: var(--shadow-lg); z-index: 60;
  }
  .nav-links.open { display: flex; }
  .navbar .container { position: relative; }
  .nav-toggle { display: block; }
  .nav-cta { flex-wrap: wrap; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .mega-col .mega-head { color: #e7ecf6; }
}

/* =========================================================================
   MOTION + INTERACTIVE LAYER
   ========================================================================= */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--accent), #b9793f);
  z-index: 100; transition: width .1s linear;
}

/* Header on scroll: shadow only — constant height (no resize = no scroll shake) */
.site-header { transition: box-shadow .3s ease; }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(16,16,16,.35); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Cinematic hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg::before {
  content: ""; position: absolute; inset: -30%;
  background:
    radial-gradient(40% 40% at 20% 30%, rgba(232,118,26,.35), transparent 60%),
    radial-gradient(45% 45% at 85% 20%, rgba(37,86,168,.55), transparent 60%),
    radial-gradient(50% 50% at 60% 90%, rgba(232,118,26,.18), transparent 60%);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%,2%,0) scale(1.08); }
  100% { transform: translate3d(2%,-2%,0) scale(1.04); }
}
.hero__orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; z-index: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5), rgba(255,162,77,.15) 40%, transparent 70%); }
.hero__orb.o1 { width: 220px; height: 220px; top: 8%;  right: 10%; animation: float 9s ease-in-out infinite; }
.hero__orb.o2 { width: 130px; height: 130px; bottom: 12%; left: 8%; animation: float 12s ease-in-out infinite reverse; }
.hero__orb.o3 { width: 70px;  height: 70px;  top: 40%; left: 45%; animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-26px) translateX(12px); } }
.hero .container { position: relative; z-index: 1; }
.hero__cue { margin-top: 34px; display: inline-flex; align-items: center; gap: 10px; color: #C9C4BA; font-size: .85rem; }
.hero__cue .chev { width: 22px; height: 22px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; animation: bob 1.6s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* Hero entrance stagger */
.hero .anim-up { opacity: 0; transform: translateY(24px); animation: heroUp .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero .anim-up.s1 { animation-delay: .05s; } .hero .anim-up.s2 { animation-delay: .18s; }
.hero .anim-up.s3 { animation-delay: .31s; } .hero .anim-up.s4 { animation-delay: .44s; } .hero .anim-up.s5 { animation-delay: .57s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }

/* ---------- Proof strip (static, no count-up) ---------- */
.statband { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.statband .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 34px 20px; text-align: center; }
.statband > .container > div + div { position: relative; }
.statband > .container > div + div::before { content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 42px; background: var(--line); }
.statband .stat__num { font-family: var(--font-heading); font-size: clamp(1.5rem, 3.4vw, 2.2rem); font-weight: 600; color: var(--ink); line-height: 1; letter-spacing: -.01em; }
.statband .stat__u { font-size: .7em; color: var(--accent); margin-left: 3px; }
.statband .stat__lbl { margin-top: 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
@media (max-width: 780px){
  .statband .container { grid-template-columns: repeat(2,1fr); gap: 26px 12px; }
  .statband > .container > div + div::before { display: none; }
}

/* ---------- Pest identifier ---------- */
.identifier { display: grid; grid-template-columns: 1.05fr 1fr; gap: 34px; align-items: start; }
.pest-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.pest-btn {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 8px; font-weight: 700; color: var(--ink);
  font-size: .92rem; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.pest-btn .emo { font-size: 1.9rem; line-height: 1; transition: transform .2s ease; }
.pest-btn:hover { transform: translateY(-3px); border-color: var(--orange); box-shadow: var(--shadow); }
.pest-btn:hover .emo { transform: scale(1.15) rotate(-6deg); }
.pest-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.pest-panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px; box-shadow: var(--shadow); min-height: 260px; }
.pest-panel .emo-lg { font-size: 3rem; }
.pest-panel h3 { margin: 10px 0 6px; }
.pest-panel .fade-swap { animation: fadeSwap .4s ease; }
@keyframes fadeSwap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px){ .identifier { grid-template-columns: 1fr; } .pest-grid { grid-template-columns: repeat(4,1fr); } }
@media (max-width: 520px){ .pest-grid { grid-template-columns: repeat(3,1fr); } }

/* ---------- Service-area checker ---------- */
.checker { max-width: 620px; margin: 0 auto; }
.checker__row { display: flex; gap: 10px; }
.checker input { flex: 1; padding: 15px 18px; border-radius: 10px; border: 1px solid var(--line); font: inherit; }
.checker input:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.checker__result { margin-top: 16px; font-size: 1.05rem; min-height: 28px; }
.checker__result.hit { color: #1a7a3c; font-weight: 700; }
.checker__result.miss { color: var(--body); }
.checker__result .chip { display: inline-block; background: var(--bg-navy-tint); color: var(--navy); padding: 3px 12px; border-radius: 999px; font-weight: 700; }
@media (max-width: 520px){ .checker__row { flex-direction: column; } }

/* ---------- Testimonial spotlight ---------- */
.spotlight { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 40px; overflow: hidden; }
.spotlight__slide { display: none; }
.spotlight__slide.on { display: block; animation: fadeSwap .5s ease; }
.spotlight__q { font-size: 1.35rem; line-height: 1.5; color: var(--ink); font-weight: 600; margin: 10px 0 18px; }
.spotlight__dots { display: flex; gap: 8px; margin-top: 18px; }
.spotlight__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; padding: 0; }
.spotlight__dots button.on { background: var(--orange); width: 26px; border-radius: 5px; transition: width .2s ease; }

/* ---------- Steps / how it works ---------- */
.flow { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; }
.flow .step { background:#fff; border:1px solid var(--line); border-radius:14px; padding:26px; box-shadow: var(--shadow); }
.flow .step__num { width: 46px; height: 46px; }
@media (max-width: 780px){ .flow { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.acc-head { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 20px 24px;
  font-size: 1.08rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.acc-head:hover { color: var(--orange-dark); }
.acc-head .ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-navy-tint); color: var(--navy);
  display: grid; place-items: center; font-size: 1.2rem; transition: transform .3s ease, background .2s ease, color .2s ease; }
.acc-item.open .acc-head .ic { transform: rotate(45deg); background: var(--orange); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc-body__inner { padding: 0 24px 22px; color: var(--body); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer; font-size: 1.3rem; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease; z-index: 60; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--orange); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: none;
  grid-template-columns: 1fr 1fr; gap: 0; box-shadow: 0 -6px 24px rgba(16,16,16,.25); }
.mobile-bar a { padding: 15px 10px; text-align: center; font-weight: 700; color: #fff; }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .mb-call { background: var(--navy); }
.mobile-bar .mb-quote { background: var(--orange); }
@media (max-width: 680px){ .mobile-bar { display: grid; } body { padding-bottom: 54px; } .to-top { bottom: 66px; } }

/* Card hover lift (bolder) */
.card, .review-card { transition: transform .18s ease, box-shadow .18s ease; }
.grid .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg::before, .hero__orb, .hero__cue .chev { animation: none !important; }
  .hero .anim-up { animation: none !important; opacity: 1; transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================================
   COVERAGE MAP · IMAGE SLOTS · ESTIMATE WIZARD · SERVICE FAQ
   ========================================================================= */

/* ---------- Coverage map ---------- */
.coverage { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.coverage__map { position: relative; aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; width: 100%;
  background: radial-gradient(circle at 50% 50%, var(--bg-navy-tint), #fff 70%); border-radius: 50%; border: 1px solid var(--line); }
.cov-ring { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); border: 1px dashed rgba(16,16,16,.18); border-radius: 50%; }
.cov-ring.r1 { width: 40%; height: 40%; } .cov-ring.r2 { width: 66%; height: 66%; } .cov-ring.r3 { width: 92%; height: 92%; }
.cov-hq { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); background: var(--navy); color: #fff;
  font-weight: 800; font-size: .82rem; padding: 8px 14px; border-radius: 999px; display: flex; flex-direction: column; align-items: center; line-height: 1; box-shadow: var(--shadow); z-index: 3; }
.cov-hq small { font-weight: 600; font-size: .62rem; color: var(--orange); letter-spacing: .1em; margin-top: 3px; }
.cov-pin { position: absolute; transform: translate(-50%,-50%); font-size: .72rem; font-weight: 700; color: var(--navy);
  background: #fff; border: 1px solid var(--line); padding: 3px 8px 3px 6px; border-radius: 999px; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 5px; box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.cov-pin:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; transform: translate(-50%,-50%) scale(1.08); z-index: 4; }
.cov-pin .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(232,118,26,.5); animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { box-shadow: 0 0 0 0 rgba(232,118,26,.5); } 70% { box-shadow: 0 0 0 8px rgba(232,118,26,0); } 100% { box-shadow: 0 0 0 0 rgba(232,118,26,0); } }
@media (max-width: 820px) { .coverage { grid-template-columns: 1fr; } .coverage__map { max-width: 340px; } .cov-pin { font-size: .64rem; } }

/* ---------- Image slots (polished artwork until real photos drop in) ---------- */
.img-slot { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--navy); margin: 0; }
.img-slot.ratio-wide { aspect-ratio: 16 / 9; }
.img-slot.ratio-square { aspect-ratio: 1 / 1; }
.img-slot .slot-art { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot:has(img) .slot-art { display: none; }
.slot-badge { position: absolute; left: 14px; bottom: 14px; width: 46px; height: 46px; border-radius: 12px;
  background: #fff; display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow); z-index: 2; }
.slot-cap { position: absolute; right: 12px; bottom: 12px; background: rgba(16,16,16,.72); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; z-index: 2; }

/* ---------- Estimate wizard ---------- */
.wizard { position: relative; }
.wiz-prog { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.wiz-prog span { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, var(--accent), #b9793f); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.wiz-count { font-size: .82rem; color: var(--muted); margin-bottom: 16px; font-weight: 600; }
.wiz-step { border: 0; padding: 0; margin: 0; }
.wizard.js .wiz-step { display: none; animation: fadeSwap .35s ease; }
.wizard.js .wiz-step.active { display: block; }
.wiz-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.wiz-review { background: var(--bg-soft); border-radius: 10px; padding: 16px 18px; font-size: .95rem; }
.wiz-review div { margin-bottom: 4px; }
.wiz-review b { color: var(--ink); }
.pest-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.pest-choice label { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; font-size: .9rem; font-weight: 600; }
.pest-choice input { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; opacity: 0; }
.pest-choice input:checked + span { color: var(--orange-dark); }
.pest-choice label:has(input:checked) { border-color: var(--orange); background: #fff4e8; }

/* ---------- Service mini-FAQ reuses .accordion ---------- */
.service-faq { margin-top: 40px; }

/* ---------- Header call button + coverage caption (audit polish) ---------- */
.nav-call { color: #fff; font-weight: 800; font-size: .95rem; padding: 8px 14px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.28); white-space: nowrap; }
.nav-call:hover { color: var(--orange); border-color: var(--orange); text-decoration: none; }
@media (max-width: 980px) { .nav-call { display: none; } }  /* topbar + mobile bar already carry the phone */
.cov-scale { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%);
  font-size: .68rem; color: var(--muted); background: rgba(255,255,255,.8); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }

/* =========================================================================
   SERVICES MEGA-MENU
   ========================================================================= */
.has-mega { position: relative; }
.mega-toggle { display: inline-flex; align-items: center; gap: 5px; }
.mega-toggle .caret { font-size: .7em; transition: transform .2s ease; }
.has-mega:hover .mega-toggle .caret, .has-mega.open .mega-toggle .caret { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 660px; max-width: 92vw;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 22px; display: none; z-index: 60;
}
.mega::before { /* hover bridge so the menu doesn't close in the gap */
  content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px;
}
.has-mega:hover .mega, .has-mega.open .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mega-col .mega-head {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 800; color: var(--orange); margin-bottom: 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-col .mega-head:hover { color: var(--orange-dark); text-decoration: none; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a {
  display: flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 600;
  font-size: .92rem; padding: 7px 8px; border-radius: 8px; transition: background .15s ease, color .15s ease;
}
.mega-col li a:hover { background: var(--bg-soft); color: var(--orange-dark); text-decoration: none; }
.mega-emo { font-size: 1.1rem; width: 1.4em; text-align: center; }

@media (max-width: 980px) {
  .mega {
    position: static; min-width: 0; box-shadow: none; border: 0; padding: 6px 0 4px;
    background: transparent; display: none;
  }
  .has-mega:hover .mega { display: none; }        /* no hover-open on touch */
  .has-mega.open .mega { display: block; }
  .mega-inner { grid-template-columns: 1fr; gap: 8px; }
  .mega-col .mega-head { color: #e7ecf6; border-color: rgba(255,255,255,.15); }
  .mega-col li a { color: #e7ecf6; }
  .mega-col li a:hover { background: rgba(255,255,255,.08); color: #fff; }
}

/* =========================================================================
   EDITORIAL SYSTEM OVERRIDES — black-led, warm off-white, no decorative FX
   ========================================================================= */
body { background: var(--bg); color: var(--body); }

/* Retire only the legacy decorative orbs */
.hero__bg, .hero__orb, .hero__cue { display: none !important; }

/* Thin scroll-progress bar (refined, accent) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--ink), var(--accent)); z-index: 120;
  transition: width .1s linear; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .scroll-progress { display: none; } }

/* -------- Cinematic scroll-reveal (focus-pull: rise + scale + de-blur) -------- */
.reveal { opacity: 0; transform: translateY(42px) scale(.96); filter: blur(9px); will-change: opacity, transform, filter;
  transition: opacity .9s cubic-bezier(.16,.84,.28,1), transform .95s cubic-bezier(.16,.84,.28,1), filter .8s ease; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .28s; }
.reveal.d4 { transition-delay: .38s; }

/* Hero: solid ink, photo-ready, generous negative space for the headline */
.hero { background: var(--ink); color: #fff; padding: 0; position: relative; overflow: hidden;
  min-height: 76vh; display: flex; align-items: center; }
.hero .hero-photo { position: absolute; inset: -4%; z-index: 0; background-position: center; background-size: cover;
  animation: heroKen 26s ease-in-out infinite alternate; transform-origin: 55% 50%; }
@keyframes heroKen { from { transform: scale(1.08); } to { transform: scale(1.22) translate(-2%, -1.5%); } }
.hero .hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16,16,16,.9), rgba(16,16,16,.52) 58%, rgba(16,16,16,.14)); }
/* slow light sheen sweeping across the hero */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(72deg, transparent 42%, rgba(255,255,255,.045) 50%, transparent 58%);
  background-size: 300% 100%; animation: heroSheen 10s ease-in-out 1.4s infinite; }
@keyframes heroSheen { 0% { background-position: 130% 0; } 55%, 100% { background-position: -50% 0; } }
.hero .container { position: relative; z-index: 2; padding-top: 92px; padding-bottom: 92px; }

/* Hero entrance — cinematic stagger + title wipe */
.hero .eyebrow, .hero p, .hero__actions, .hero .badges {
  opacity: 0; transform: translateY(30px); animation: heroRise 1s cubic-bezier(.16,.84,.28,1) forwards; }
.hero h1 { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 102% 0);
  animation: heroTitle 1.15s cubic-bezier(.16,.84,.28,1) .18s forwards; }
@keyframes heroTitle { to { opacity: 1; transform: none; clip-path: inset(0 0 -12% 0); } }
.hero .eyebrow { animation-delay: .06s; }
.hero p { animation-delay: .5s; }
.hero__actions { animation-delay: .66s; }
.hero .badges { animation-delay: .82s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-photo { animation: none; inset: 0; transform: none; }
  .hero::after { display: none; }
  .hero .eyebrow, .hero h1, .hero p, .hero__actions, .hero .badges { opacity: 1; transform: none; clip-path: none; animation: none; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.3rem); max-width: 15ch; letter-spacing: -.015em; }
.hero p { color: #EDEBE6; max-width: 46ch; }
.hero .eyebrow { color: #CFC9BE; }
.hero__note { color: #C9C4BA; }

/* Proof badges -> quiet inline text with hairline dividers (no floating pills) */
.badges { gap: 0 22px; margin-top: 24px; flex-wrap: wrap; }
.badge { background: none; border: 0; padding: 0 0 0 22px; color: #D9D5CB; font-size: .92rem; font-weight: 500; position: relative; }
.badge::before { content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 15px; background: rgba(255,255,255,.28); transform: translateY(-50%); }
.badges .badge:first-child { padding-left: 0; }
.badges .badge:first-child::before { display: none; }

/* Header nav: remove pill treatments, use quiet text/underline */
.nav-invoice { border: 0; padding: 0; color: #E7E3DA; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.35); border-radius: 0; }
.nav-invoice:hover { color: #fff; text-decoration-color: #fff; }
.nav-call { border: 0; padding: 0; color: #fff; font-weight: 600; }
.nav-links a:hover { color: #fff; }

/* Cards: refined hover — gentle lift, soft shadow, arrow nudge */
.card { transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease; }
.grid .card:hover, .card--link:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.card__link { color: var(--ink); display: inline-block; transition: transform .25s ease, color .2s ease; }
.card--link:hover .card__link { transform: translateX(5px); color: var(--accent); }
.svc-card:hover .svc-card__ic { transform: translateY(-2px); transition: transform .3s ease, color .3s ease; }

/* Photo slots: subtle zoom on hover */
.img-slot img, .img-slot .slot-art { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.img-slot:hover img, .img-slot:hover .slot-art { transform: scale(1.04); }

/* Nav links: underline that grows from the left on hover */
.nav-links > li > a:not(.btn) { position: relative; }
.nav-links > li > a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: currentColor; transition: width .28s cubic-bezier(.2,.7,.2,1); }
.nav-links > li > a:not(.btn):hover::after { width: 100%; }

/* Buttons: lift + settle + shine sweep on hover */
.btn { position: relative; overflow: hidden; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .2s ease, box-shadow .2s ease; }
.btn--primary:hover, .btn--outline:hover, .btn--ghost:hover, .pay-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn:active { transform: translateY(-1px); }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-200%) skewX(-18deg); }
.btn:hover::after { transform: translateX(360%) skewX(-18deg); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .btn--primary:hover, .btn--outline:hover, .btn--ghost:hover, .pay-btn:hover { transform: none; }
}

/* Header on scroll: shadow only, constant height (prevents scroll-boundary shake) */
.site-header { transition: box-shadow .3s ease; }
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(16,16,16,.28); }

/* Section tones */
.section--soft { background: var(--soft); }
.section--navy { background: var(--ink); }
.cta-band { border-top: 3px solid var(--accent); }

/* Mega-menu + image-slot badges: hide emoji marks (no emoji in the system) */
.mega-emo { display: none; }
.slot-badge { display: none !important; }
.mega-col li a { gap: 0; }

/* Coverage pins / misc accents that were orange now resolve to ink; soften pin pulse */
.cov-pin .dot { animation: none; }

/* Kill the old orange radial in any leftover hero gradient usage */
.hero { background-image: none; }

/* On the dark hero, the primary button inverts to white for contrast */
.hero .btn--primary { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn--primary:hover { background: var(--soft); border-color: var(--soft); color: var(--ink); }

/* Hero secondary call-to-action (quiet text link, not a button) */
.hero__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.hero__call { color: #D9D5CB; font-size: 1rem; }
.hero__call a { color: #fff; font-weight: 600; text-decoration-color: rgba(255,255,255,.5); }

/* Service cards: restrained line icon, differentiated, no emoji */
.svc-card { display: flex; flex-direction: column; }
.svc-card__ic { color: var(--ink); margin-bottom: 16px; }
.svc-ic { width: 40px; height: 40px; display: block; }
.svc-card h3 { margin: 0 0 8px; }
.svc-card p { color: var(--body); margin: 0 0 16px; }
.svc-card .card__link { margin-top: auto; }
.svc-card:hover .svc-card__ic { color: var(--accent); }

/* Footer wordmark */
.footer-brand { font-family: var(--font-heading); letter-spacing: .06em; }
.footer-brand span { display: block; font-family: var(--font-body); font-size: .62rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: 4px; }

/* Directory cards (services hub / related grids): no emoji, clean text card */
.dir-card { display: flex; flex-direction: column; position: relative; }
.dir-card h3 { margin: 0 0 8px; }
.dir-card p { color: var(--body); margin: 0 0 16px; }
.dir-card .card__link { margin-top: auto; }
.dir-card::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 34px; background: var(--ink); transition: width .18s ease, background .18s ease; }
.dir-card:hover::before { width: 60px; background: var(--accent); }

/* Why-panel: bordered editorial panel replacing the repeated 3-card block */
.why-panel { background: var(--white); border: 1px solid var(--line); padding: 30px 30px 26px; border-radius: var(--radius); }
.why-panel h3 { margin: 0 0 16px; }
.why-list { list-style: none; margin: 0; padding: 0; }
.why-list li { position: relative; padding: 0 0 16px 30px; color: var(--body); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.why-list li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.why-list li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 50%; }
.why-list strong { color: var(--ink); }

/* Skip link (accessibility) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 4px 0; }
.skip-link:focus { left: 0; }

/* Persistent mobile bottom action bar */
.mobile-actionbar { display: none; }
.mab { display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 15px 8px;
  text-decoration: none; letter-spacing: .01em; }
.mab--call { background: var(--white); color: var(--ink); border-top: 1px solid var(--line); }
.mab--est { background: var(--ink); color: #fff; }
.mab:hover { text-decoration: none; }

/* Mobile header: no wrapping info bar above the logo */
@media (max-width: 820px) {
  .topbar { display: none; }
  .brand__mark { font-size: 1.4rem; }
  .navbar .container { padding-top: 12px; padding-bottom: 12px; }
  .mobile-actionbar {
    display: grid; grid-template-columns: 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    box-shadow: 0 -2px 14px rgba(16,16,16,.14);
  }
  body { padding-bottom: 54px; }  /* room for the fixed action bar */
}
@media (max-width: 680px) {
  .hero { min-height: 0; }
  .hero .container { padding-top: 56px; padding-bottom: 56px; }
}

/* =========================================================================
   Image-led homepage services — real local work under a dark editorial scrim
   (collaborator's photography approach, integrated with the motion system)
   ========================================================================= */
.hero { min-height: 84vh; }
.home-services { gap: 16px; }
.home-services .svc-card {
  min-height: 360px; padding: 26px; position: relative; justify-content: flex-end;
  overflow: hidden; border: 0; border-radius: var(--radius); color: #fff;
  background-color: var(--ink); isolation: isolate;
}
/* photo lives on ::before so it can zoom smoothly under the scrim (robust, per-image) */
.home-services .svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.home-services .svc-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,16,16,.06) 12%, rgba(16,16,16,.9) 100%);
  transition: background .45s ease; }
.home-services .svc-card:hover::before { transform: scale(1.12); }
.home-services .svc-card:hover::after { background: linear-gradient(180deg, rgba(16,16,16,0) 8%, rgba(16,16,16,.82) 100%); }
/* content lifts on hover; a warm accent bar wipes in above the title */
.home-services .svc-card__ic, .home-services .svc-card h3, .home-services .svc-card p, .home-services .svc-card .card__link {
  transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.home-services .svc-card:hover h3, .home-services .svc-card:hover p, .home-services .svc-card:hover .card__link {
  transform: translateY(-6px); }
.home-services .svc-card h3 { position: relative; }
.home-services .svc-card h3::before {
  content: ""; position: absolute; left: 0; top: -14px; height: 3px; width: 0; background: var(--accent);
  transition: width .5s cubic-bezier(.2,.7,.2,1); }
.home-services .svc-card:hover h3::before { width: 46px; }
.home-services .svc-card--pest-control::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-insect-control-1920w.jpg"); }
.home-services .svc-card--termite-control::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-termite-control-1920w.jpg"); }
.home-services .svc-card--rodent-exclusion::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-rodent-control-1920w.jpg"); }
.home-services .svc-card--wildlife-live-trapping::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-rodent-control-1920w.jpg"); }
.home-services .svc-card--scorpion-control::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-scorpion-control-1920w.jpg"); }
.home-services .svc-card--mosquito-misting::before { background-image: url("https://le-cdn.hibuwebsites.com/537af7c0228d4470bd70c076341bd233/dms3rep/multi/opt/austin-excel-pest-and-lawn-control-hero-lawn-care-services-1920w.jpg"); }
@media (prefers-reduced-motion: reduce) { .home-services .svc-card:hover::before { transform: none; } }
.home-services .svc-card__ic { color: #fff; margin-bottom: auto; opacity: .94; }
.home-services .svc-card h3 { color: #fff; font-size: 1.42rem; margin-top: 28px; }
.home-services .svc-card p { color: rgba(255,255,255,.9); }
.home-services .svc-card .card__link { color: #fff; font-weight: 700; letter-spacing: .02em; }
.home-services .svc-card .card__link span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.home-services .svc-card:hover .card__link { color: #fff; transform: none; }
.home-services .svc-card:hover .card__link span { transform: translateX(5px); }
.home-services .svc-card:hover .svc-card__ic { transform: none; }
@media (max-width: 700px) {
  .hero { min-height: 72vh; }
  .home-services { gap: 12px; }
  .home-services .svc-card { min-height: 300px; padding: 22px; }
}

/* Count-up finish pop */
.statband .stat__num.count-done { animation: countPop .55s cubic-bezier(.2,.8,.2,1); }
@keyframes countPop { 0% { transform: scale(1); } 42% { transform: scale(1.16); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .statband .stat__num.count-done { animation: none; } }

/* Generic residential exterior motion supports the service story without looking like an advertisement. */
.hero .hero-photo { display: none; }
.hero .hero-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.04) brightness(.72); }
@media (prefers-reduced-motion: reduce) { .hero .hero-video { display: none; } }


/* Motion-first homepage: let the real service video lead the entire first screen. */
@media (min-width: 701px) {
  .hero { min-height: 92vh; }
  .hero .hero-scrim { background: linear-gradient(90deg, rgba(16,16,16,.76), rgba(16,16,16,.34) 56%, rgba(16,16,16,.06)); }
}
.hero .hero-video { filter: saturate(.82) contrast(1.06) brightness(.86); transform: scale(1.01); }


/* Each service is a distinct destination; the complete visual panel is the link target. */
.home-services .svc-card::after { background: linear-gradient(180deg, rgba(16,16,16,.04) 20%, rgba(16,16,16,.78) 100%); }
.home-services .svc-card { cursor: pointer; }
.home-services .svc-card .card__link::after { content: ""; position: absolute; inset: 0; z-index: 2; cursor: pointer; }

/* Hill Country-style flyover keeps the horizon and neighborhoods in view. */
.hero .hero-video { object-position: center 46%; }


/* Real-photo side media replaces every AI illustration and oversized top graphic. */
.img-slot:not(:has(img)) { display: none; }
.service-side-media { display: grid; gap: 18px; align-content: start; }
.service-side-media .img-slot { display: block; width: 100%; max-width: 430px; margin: 0 0 4px auto; aspect-ratio: 4 / 3; border-radius: 10px; }
.service-side-media .img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 820px) { .service-side-media .img-slot { max-width: none; margin: 0; } }

/* =========================================================================
   Wow-factor motion: branded intro + marquee ticker
   ========================================================================= */
/* Branded page-load intro (home only, once per session) */
.intro { position: fixed; inset: 0; z-index: 999; background: var(--ink); display: grid; place-items: center;
  animation: introOut 1.4s cubic-bezier(.7,0,.3,1) .85s forwards; }
.intro__mark { text-align: center; animation: introMark 1s cubic-bezier(.2,.7,.2,1) both; }
.intro__excel { display: block; font-family: var(--font-heading); font-weight: 600; color: #fff;
  font-size: clamp(2.6rem, 8vw, 4.4rem); letter-spacing: .2em; text-indent: .2em; }
.intro__desc { display: block; margin-top: 12px; color: #C9C4BA; text-transform: uppercase;
  letter-spacing: .3em; font-size: .68rem; font-weight: 600; }
@keyframes introMark { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes introOut { to { transform: translateY(-100%); opacity: 0; visibility: hidden; } }
.intro.is-hidden { display: none !important; }
@media (prefers-reduced-motion: reduce) { .intro { display: none !important; } }

/* Marquee ticker band */
.marquee { background: var(--ink); color: #fff; overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
.marquee__track { display: inline-flex; align-items: center; white-space: nowrap; padding: 14px 0;
  animation: marqueeMove 36s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .02em; padding: 0 22px; color: #EDEBE6; }
.marquee__dot { color: var(--accent); }
@keyframes marqueeMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Web3Forms honeypot (hidden anti-spam field) + inline success */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { text-align: center; padding: 10px 0; }
.form-success strong { display: block; font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 8px; }
.form-success p { color: var(--body); margin: 0; }

/* =========================================================================
   Prominent header Call button
   ========================================================================= */
.btn--call {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--ink); border-color: #fff;
  font-size: 1.05rem; font-weight: 700; padding: 13px 22px; letter-spacing: .01em;
}
/* Win the cascade over `.nav-links a` (which sets near-white) so the header
   phone number is readable — ink text on the white pill, brand-red glyph. */
.nav-links a.btn--call,
.nav-links a.btn--call:hover,
.nav-cta a.btn--call { color: var(--ink); }
.btn--call:hover { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.btn--call .btn__ph { flex: 0 0 auto; color: #D6392B; }
/* Header "Free estimate" is the red CTA */
.nav-cta .btn--primary { background: #D6392B; color: #fff; border-color: #D6392B; }
.nav-cta .btn--primary:hover { background: #bd2f22; color: #fff; border-color: #bd2f22; }
@media (max-width: 1080px) and (min-width: 821px) {
  .btn--call { font-size: .98rem; padding: 12px 16px; }
}

/* =========================================================================
   Insights / Pest Guides (automated SEO + AEO articles)
   ========================================================================= */
.art-meta-row { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 18px; }
.art-answer { background: var(--soft); border-left: 3px solid var(--accent); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 26px; font-size: 1.08rem; line-height: 1.6; }
.art-answer strong { color: var(--ink); }
.article-body { font-size: 1.08rem; line-height: 1.75; }
.article-body h2 { margin: 1.8rem 0 .7rem; }
.article-body h3 { margin: 1.4rem 0 .5rem; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1rem; }
.article-body li { margin: .3rem 0; }
.article-body p { margin: 0 0 1.1rem; }
.art-tag { display: inline-block; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 8px; }

/* =========================================================================
   Audit fixes — utilities, overflow guards, tap targets, map, honeypot
   ========================================================================= */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
/* Honeypot field — hidden from people, visible to bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
/* Never let a form step scroll the page sideways */
.wizard, .contact-grid, .checker { overflow-x: hidden; }
/* Embedded map */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-embed iframe { display: block; width: 100%; }
/* Form success message */
.form-success { background: #E5EDE6; border-left: 3px solid #3F6B4A; padding: 20px 22px; border-radius: 0 4px 4px 0; }
.form-success strong { display: block; margin-bottom: 6px; }

/* D2 — comfortable mobile tap targets + A3 mobile-menu hardening */
@media (max-width: 640px) {
  .field input, .field select, .field textarea, .checker input, .checker button,
  .acc-head, .btn, button.btn, [data-wiz-next], [data-wiz-back],
  .info-list a, .footer-links a, .hours a, .mega-col li a { min-height: 44px; }
  .field input, .field select { padding-top: 11px; padding-bottom: 11px; }
  /* Make links/chips actually 44px tall to tap, not just nominally */
  .pest-choice label, .nav-links a, .info-list a, .footer-links a,
  .card__link, .nav-invoice, .mega-col li a, .breadcrumb a,
  .site-footer p a, .hours a {
    display: inline-flex; align-items: center; min-height: 44px;
  }
  .pest-choice label { padding: 11px 16px; }
  .footer-links li { margin-bottom: 2px; }
  .nav-links.open { z-index: 60; }
  /* mega-head was ink-on-dark (invisible) inside the open mobile menu */
  .mega-col .mega-head { color: #e7ecf6; }
}
