/* Buckie's Bug Solutions — v2 design system
   Modern conversion-site system (rounded cards, pills, soft shadows, dark
   sections) in the client's own colours: truck yellow, flyer green, logo black.
   See docs/art-direction.md. */

@font-face { font-family: "Outfit"; font-weight: 300 800; font-display: swap; src: url("../fonts/outfit-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 300 800; font-display: swap; src: url("../fonts/inter-var.woff2") format("woff2"); }

:root {
  --black-950: #0A0A0A;
  --black-900: #141414;
  --black-800: #222222;
  --red: #C8102E;
  --red-600: #E2173A;
  --red-100: #FCE8EB;
  --red-700: #A50D25;
  --red-bright: #FF3B4E;     /* red that still reads on the dark hero video */
  --diagram-yellow: #F5C400; /* only inside the before/after diagram */
  --ink: #0E1512;
  --bg: #F5F3EE;
  --surface: #FFFFFF;
  --text: #1A211D;
  --muted: #5B6660;
  --line: #E2DED3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --widow-red: #E1261C;
  --shadow-sm: 0 1px 2px rgba(14, 21, 18, 0.05), 0 1px 1px rgba(14, 21, 18, 0.03);
  --shadow-card: 0 1px 2px rgba(14, 21, 18, 0.04), 0 16px 40px -18px rgba(14, 21, 18, 0.25);
  --shadow-pop: 0 24px 60px -20px rgba(14, 21, 18, 0.35);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --nav-h: 76px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --r-card: 18px;
  --r-btn: 12px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 300; padding: 0.75rem 1rem; background: var(--red); color: #fff; font-weight: 600; border-radius: var(--r-btn); }
.skip-link:focus { top: 1rem; }

h1, h2, h3, h4, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
.area__state, .lede, p, li, dd, summary, .pill, .stat, .compare__row > *, .compare__head > * { overflow-wrap: break-word; min-width: 0; }
h1 { font-size: min(clamp(2.5rem, 6vw, 4.5rem), 11vw); }
h2 { font-size: min(clamp(2rem, 4vw, 3rem), 9vw); }
h3 { font-size: min(clamp(1.25rem, 2vw, 1.5rem), 7vw); line-height: 1.2; }
h4 { font-size: min(1.0625rem, 5.5vw); line-height: 1.3; }
.lede { font-size: min(clamp(1.0625rem, 1.4vw, 1.25rem), 5vw); line-height: 1.6; color: var(--muted); max-width: 42rem; text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.eyebrow + h1, .eyebrow + h2, .eyebrow + h3 { margin-top: 0.85rem; }
h1 + .lede, h2 + .lede, h3 + .lede { margin-top: 1rem; }
.on-dark { color: rgba(255, 255, 255, 0.86); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .lede { color: rgba(255, 255, 255, 0.72); }
.on-dark .eyebrow { color: var(--red-bright); }
.accent { color: var(--red); }
.muted { color: var(--muted); }
p + p { margin-top: 1em; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--white { background: var(--surface); }
.section--dark { background: var(--black-950); }
.section--black { background: var(--black-900); }
.section--line { border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

/* ---------- buttons & pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3.25rem; padding: 0.85rem 1.5rem; border-radius: var(--r-btn); font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 8px 24px -10px rgba(200, 16, 46, 0.65); }
.btn--primary:hover { background: var(--red-700); border-color: var(--red-700); }
.btn--ink { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--ink:hover { background: #24302a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(14, 21, 18, 0.04); }
.on-dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.on-dark .btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.2); }
.btn--lg { min-height: 3.75rem; padding: 1rem 2rem; font-size: 1.0625rem; border-radius: 14px; }
.btn--sm { min-height: 2.5rem; padding: 0.5rem 1rem; font-size: 0.9rem; border-radius: 10px; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.link-arrow { font-family: var(--font-display); font-weight: 600; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 0.35rem; }
.link-arrow::after { content: "→"; transition: transform 0.2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--red-bright); }
.pill { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.8rem; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.02em; background: var(--red-100); color: var(--red); }
.pill--yellow { background: var(--red); color: #fff; }
.pill--ink { background: var(--ink); color: #fff; }
.pill--glass { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); }
.pill--red { background: #FBE7E5; color: #9C1F17; }
.pill--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-sm); }
.card--pad { padding: clamp(1.25rem, 2.5vw, 2rem); }
.card--dark { background: var(--black-900); border-color: var(--black-800); color: rgba(255, 255, 255, 0.86); }
.card--dark h3, .card--dark h4 { color: #fff; }
.card--yellow { background: var(--red); border-color: var(--red); color: #fff; }
.card--hover { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(200, 16, 46, 0.35); }
.spot { position: relative; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 196, 0, 0.16), transparent 60%); }
.spot:hover::before { opacity: 1; }
.check-list { display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; }
.check-list li::before { content: ""; flex: none; width: 1.25rem; height: 1.25rem; margin-top: 0.1rem; border-radius: 50%; background: var(--red-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat; }
.card--dark .check-list li::before, .on-dark .check-list li::before { background-color: rgba(255, 59, 78, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF3B4E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.icon-badge { width: 3rem; height: 3rem; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red); flex: none; }
.icon-badge svg { width: 1.4rem; height: 1.4rem; }
.icon-badge--yellow { background: var(--red); color: #fff; }
.icon-badge--glass { background: rgba(255, 255, 255, 0.1); color: var(--red-bright); }

/* ---------- header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); transition: background-color 0.3s, box-shadow 0.3s, border-color 0.3s; border-bottom: 1px solid transparent; }
.site-header--solid, .site-header.is-scrolled { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header__inner { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: min(1.2rem, 5.5vw); letter-spacing: -0.01em; line-height: 1; color: var(--red); }
.brand__name small { display: block; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); margin-top: 0.25rem; }
.site-header--over:not(.is-scrolled) .brand { color: #fff; }
/* Keyed out of its black field the mark is nearly black, so over the hero
   video it needs lifting the same way the rest of the header goes white. */
.site-header--over:not(.is-scrolled) .brand__mark { filter: brightness(1.95) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)); }
.site-header--over:not(.is-scrolled) .brand__name small { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav > li { position: relative; }
.site-nav a, .site-nav button { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.55rem 0.8rem; border-radius: 10px; font-family: var(--font-display); font-weight: 500; font-size: 0.95rem; text-decoration: none; color: var(--text); transition: background-color 0.2s, color 0.2s; }
.site-nav a:hover, .site-nav button:hover, .site-nav button[aria-expanded="true"] { background: rgba(14, 21, 18, 0.06); }
.site-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.site-header--over:not(.is-scrolled) .site-nav a, .site-header--over:not(.is-scrolled) .site-nav button { color: rgba(255, 255, 255, 0.9); }
.site-header--over:not(.is-scrolled) .site-nav a:hover, .site-header--over:not(.is-scrolled) .site-nav button:hover, .site-header--over:not(.is-scrolled) .site-nav button[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); }
.site-header--over:not(.is-scrolled) .site-nav a[aria-current="page"] { color: var(--red-bright); }
.site-nav button svg { width: 0.9em; height: 0.9em; transition: transform 0.2s; }
.site-nav button[aria-expanded="true"] svg { transform: rotate(180deg); }
.menu { position: absolute; top: calc(100% + 0.5rem); left: 0; min-width: 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-pop); padding: 0.5rem; display: none; z-index: 20; }
.menu.is-open { display: block; animation: menu-in 0.18s var(--ease); }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.menu a { display: grid; gap: 0.1rem; padding: 0.65rem 0.8rem; border-radius: 10px; color: var(--text) !important; }
.menu a small { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; }
.menu a:hover { background: var(--bg) !important; }
.header-phone { font-family: var(--font-display); font-weight: 600; font-size: 1rem; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; padding: 0.5rem 0.95rem; border: 1.5px solid var(--ink); border-radius: 999px; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.header-phone:hover { background: var(--ink); color: #fff; }
.header-phone svg { width: 18px; height: 18px; }
.site-header--over:not(.is-scrolled) .header-phone { color: #fff; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.12); }
.site-header--over:not(.is-scrolled) .header-phone:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.site-header .btn { min-height: 2.75rem; padding: 0.55rem 1.15rem; font-size: 0.95rem; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; color: var(--ink); }
.site-header--over:not(.is-scrolled) .nav-toggle { color: #fff; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform 0.2s, background 0.2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.2s; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] { color: var(--ink); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1040px) {
  .site-nav, .header-phone, .site-header > .site-header__inner > .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.is-open { background: var(--surface); border-bottom-color: var(--line); }
  .site-header.is-open .brand { color: var(--ink); }
  .site-header.is-open .brand__name small { color: var(--ink); }
  .mobile-nav { display: block; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--surface); padding: 1rem var(--gutter) 6rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 0.95rem 0.25rem; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; color: var(--ink); }
  .mobile-nav a[aria-current="page"] { color: var(--red); }
  .mobile-nav__sub { padding: 0.25rem 0 0.5rem 1rem; display: grid; }
  .mobile-nav__sub a { font-size: 1rem; font-weight: 500; color: var(--muted); border: 0; padding: 0.5rem 0.25rem; }
  .mobile-nav__contact { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
  .mobile-nav__contact .btn { width: 100%; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; background: var(--black-950); color: #fff; overflow: hidden; padding-top: var(--nav-h); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.5) 45%, rgba(10, 10, 10, 0.88) 100%); }
.hero__inner { position: relative; z-index: 2; text-align: center; padding-block: clamp(3rem, 8vh, 6rem) clamp(3rem, 6vh, 5rem); display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 1.25rem; }
.hero h1 { color: #fff; font-size: min(clamp(2.75rem, 7vw, 5.5rem), 12vw); max-width: 14ch; }
.hero h1 .accent { color: var(--red-bright); }
.hero .lede { color: rgba(255, 255, 255, 0.82); max-width: 38rem; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); }
.hero__ctas { margin-top: 0.5rem; justify-content: center; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 0; padding: 0.55rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(10px); font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; }
.hero__trust li { display: flex; align-items: center; gap: 0.5rem; padding-inline: 0.75rem; }
.hero__trust li + li::before { content: "·"; opacity: 0.5; margin-right: 0.75rem; }
.hero__tools { width: 100%; max-width: 560px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.zip { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.6rem; padding: 1rem 1.1rem; border-radius: 16px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); backdrop-filter: blur(12px); text-align: left; }
.zip__label { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.zip__label svg { width: 1rem; height: 1rem; color: var(--red-bright); }
.zip__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zip__row input { flex: 1 1 9rem; min-width: 0; min-height: 2.9rem; padding: 0.5rem 0.9rem; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(10, 10, 10, 0.45); color: #fff; font: inherit; }
.zip__row input::placeholder { color: rgba(255, 255, 255, 0.55); }
.zip__row .btn { min-height: 2.9rem; padding-inline: 1.1rem; }
.zip__result { display: none; font-size: 0.95rem; line-height: 1.5; padding-top: 0.35rem; }
.zip__result.is-visible { display: block; }
.zip__result b { color: var(--red-bright); }
.zip__link { font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); text-decoration: underline; text-underline-offset: 3px; }
.identify-btn { display: flex; align-items: center; justify-content: center; gap: 0.6rem; padding: 0.85rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(255, 255, 255, 0.3); color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; transition: background 0.2s, border-color 0.2s; width: 100%; }
.identify-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--red-bright); }
.identify-btn svg { width: 1.2rem; height: 1.2rem; color: var(--red-bright); }
.identify-btn small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }
.hero__scroll { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, 0.6); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; display: grid; justify-items: center; gap: 0.3rem; }
.hero__scroll span { width: 1px; height: 28px; background: linear-gradient(rgba(255, 255, 255, 0.7), transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) { .hero__ctas .btn { width: 100%; } .hero__trust { border-radius: 16px; } .hero__trust li + li::before { content: none; } .hero__trust li { padding: 0.2rem 0.5rem; } .hero__scroll { display: none; } }

/* ---------- pest selector ---------- */
.pests-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; align-items: end; margin-bottom: 2rem; }
.select { position: relative; min-width: 260px; }
.select select { width: 100%; appearance: none; min-height: 3.25rem; padding: 0.7rem 2.75rem 0.7rem 1rem; border-radius: var(--r-btn); border: 1.5px solid var(--line); background: var(--surface); font: inherit; font-family: var(--font-display); font-weight: 600; color: var(--ink); cursor: pointer; }
.select::after { content: ""; position: absolute; right: 1rem; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.pest-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pest-tile { display: grid; gap: 0.5rem; padding: 0.75rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.pest-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: rgba(200, 16, 46, 0.4); }
.pest-tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.pest-tile b { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }
.pest-tile small { font-size: 0.75rem; color: var(--muted); }
.pest-tile .pill { justify-self: center; font-size: 0.7rem; padding: 0.2rem 0.55rem; }
@media (max-width: 1000px) { .pest-grid { grid-template-columns: repeat(3, 1fr); } .pests-head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pest-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; } }

/* ---------- yellow band ---------- */
.band { background: var(--red); color: #fff; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.band h2 { font-size: min(clamp(1.5rem, 3vw, 2.25rem), 8vw); color: #fff; }
.band p { margin-top: 0.35rem; color: rgba(255, 255, 255, 0.82); }
.band .btn-row { flex: 0 1 auto; }

/* ---------- reviews ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stat { padding: 1.25rem 1.5rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: min(clamp(2rem, 3.5vw, 2.75rem), 9vw); line-height: 1; color: var(--ink); }
.stat > span { display: block; margin-top: 0.35rem; color: var(--muted); font-size: 0.9rem; }
.on-dark .stat { background: rgba(255, 255, 255, 0.06); border-color: var(--line-dark); }
.on-dark .stat b { color: var(--red-bright); }
.on-dark .stat > span { color: rgba(255, 255, 255, 0.65); }
.reviews-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: 2.5rem; }
.marquee { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.review { width: 360px; flex: none; padding: 1.5rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 0.75rem; }
.review__head { display: flex; align-items: center; gap: 0.75rem; }
.avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--black-900); color: var(--red-bright); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.review__who b { display: block; font-family: var(--font-display); font-size: 0.95rem; }
.review__who small { color: var(--muted); font-size: 0.8rem; }
.stars { color: var(--red); letter-spacing: 1px; font-size: 0.9rem; }
.review p { font-size: 0.95rem; line-height: 1.55; color: var(--text); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; width: auto; } .marquee__track > .review:nth-child(n+7) { display: none; } .marquee { mask-image: none; } }
@media (max-width: 900px) { .reviews-top { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr 1fr; } .stat:last-child { grid-column: 1 / -1; } .review { width: 300px; } }

/* ---------- plans / service options ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; gap: 1.25rem; padding: 1.75rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan--feature { z-index: 1; background: var(--black-900); border-color: var(--black-800); color: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-pop); transform: translateY(-8px); }
.plan--feature h3, .plan--feature h4 { color: #fff; }
.plan__tag { position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%); }
.plan__kicker { font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.plan--feature .plan__kicker { color: var(--red-bright); }
.plan h3 { font-size: min(1.5rem, 7vw); margin-top: 0.25rem; }
.plan__sub { color: var(--muted); font-size: 0.95rem; margin-top: 0.25rem; }
.plan--feature .plan__sub { color: rgba(255, 255, 255, 0.7); }
.plan__foot { font-size: 0.875rem; color: var(--muted); }
.plan--feature .plan__foot { color: rgba(255, 255, 255, 0.65); }
.plan .btn { width: 100%; }
.plans-note { margin-top: 1.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan--feature { transform: none; } }

/* ---------- service area ---------- */
.area { position: relative; overflow: hidden; }
.area__topo { position: absolute; inset: 0; opacity: 0.16; pointer-events: none; color: var(--red); }
.area__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.area__state { font-family: var(--font-display); font-weight: 700; font-size: min(clamp(3rem, 8vw, 6rem), 13vw); line-height: 0.95; letter-spacing: -0.03em; color: #fff; }
.area__state span { display: block; color: var(--red-bright); }
.area__card { padding: 1.5rem; border-radius: 22px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.area__card .zip { background: rgba(255, 255, 255, 0.04); }
.photo-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--line-dark); box-shadow: var(--shadow-pop); }
.photo-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 900px) { .area__grid { grid-template-columns: 1fr; } }

/* ---------- difference / comparison ---------- */
.diff { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.compare { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-card); }
.compare__head, .compare__row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.compare__head { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
.compare__head > *, .compare__row > * { padding: 0.9rem 1rem; }
.compare__head .is-us { background: var(--red); color: #fff; }
.compare__row { border-top: 1px solid var(--line); font-size: 0.925rem; }
.compare__row > :first-child { font-family: var(--font-display); font-weight: 600; }
.compare__row .is-them { color: var(--muted); }
.compare__row .is-us { background: var(--red-100); font-weight: 600; }
.compare__row .is-them::before { content: "✕ "; color: #C43E36; }
.compare__row .is-us::before { content: "✓ "; color: var(--red); }
@media (max-width: 960px) { .diff { grid-template-columns: 1fr; } .diff__media { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 520px) { .compare__head, .compare__row { grid-template-columns: 1fr 1fr 1fr; font-size: 0.8rem; } .compare__head > *, .compare__row > * { padding: 0.7rem 0.6rem; } }

/* ---------- values ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.value { position: relative; min-height: 440px; border-radius: 22px; overflow: hidden; color: #fff; display: grid; align-items: end; }
.value img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.value:hover img { transform: scale(1.04); }
.value::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.92) 100%); }
.value__body { position: relative; z-index: 1; padding: 1.75rem; }
.value__body h3 { color: #fff; font-size: min(1.75rem, 8vw); }
.value__body p { margin-top: 0.5rem; color: rgba(255, 255, 255, 0.82); max-width: 32rem; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } .value { min-height: 360px; } }

/* ---------- guarantee-style card ---------- */
.promise { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 22px; background: var(--black-900); color: rgba(255, 255, 255, 0.86); border: 1px solid var(--black-800); }
.promise h3 { color: #fff; }
.promise__mark { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
@media (max-width: 760px) { .promise { grid-template-columns: 1fr; } }

/* ---------- contact (dark) ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.9rem; margin-top: 1.5rem; }
.contact__card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); text-decoration: none; color: #fff; transition: background 0.2s, border-color 0.2s; }
a.contact__card:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(245, 196, 0, 0.5); }
.contact__card small { display: block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); font-family: var(--font-display); font-weight: 600; }
.contact__card b { font-family: var(--font-display); font-size: 1.05rem; word-break: break-word; }
.contact .check-list { margin-top: 1.5rem; }
.form-card { padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 22px; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow-pop); }
.form-card h3 { margin-bottom: 0.25rem; }
.form-card > p { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.35rem; }
.field label, .field > .label { font-weight: 600; font-size: 0.875rem; }
.field .hint { font-size: 0.8rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-btn); padding: 0.7rem 0.9rem; min-height: 3rem; transition: border-color 0.15s, background 0.15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(200, 16, 46, 0.18); }
.field textarea { min-height: 7rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231A211D' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.75rem; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #C43E36; }
.field .error { display: none; font-size: 0.8rem; color: #C43E36; font-weight: 500; }
.field.is-invalid .error { display: block; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 0.25rem; border-radius: var(--r-btn); background: var(--bg); border: 1.5px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 2.5rem; border-radius: 9px; font-family: var(--font-display); font-weight: 600; font-size: 0.925rem; color: var(--muted); transition: background 0.15s, color 0.15s; }
.seg input:checked + span { background: var(--red); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.upload { border: 1.5px dashed var(--line); border-radius: var(--r-btn); padding: 1rem; background: var(--bg); display: grid; gap: 0.5rem; }
.upload input { min-height: 0; border: 0; padding: 0; background: none; }
.upload__files { font-size: 0.85rem; color: var(--red); font-weight: 500; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.85rem; color: var(--muted); }
.consent input { margin-top: 0.2rem; accent-color: var(--red); width: 1rem; height: 1rem; flex: none; }
.form__submit .btn { width: 100%; }
.form__submit .btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.hp { position: absolute; left: -9999px; }
.form-success { display: none; text-align: center; padding: 1rem 0; }
.form-success.is-visible { display: block; }
.form-success .icon-badge { margin: 0 auto 1rem; width: 4rem; height: 4rem; border-radius: 50%; }
.form-success p { color: var(--muted); margin-top: 0.5rem; }
.form-success .btn-row { justify-content: center; margin-top: 1.25rem; }
.form-alert { display: none; padding: 0.9rem 1rem; border-radius: var(--r-btn); border: 1px solid #F2C4C0; background: #FBECEA; color: #7A1A14; font-size: 0.9rem; margin-bottom: 1rem; }
.form-alert.is-visible { display: block; }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- identifier modal ---------- */
.modal { border: 0; padding: 0; background: transparent; max-width: min(92vw, 520px); width: 100%; margin: auto; position: fixed; inset: 0; }
.modal::backdrop { background: rgba(10, 10, 10, 0.7); backdrop-filter: blur(6px); }
.modal__box { background: var(--surface); border-radius: 22px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-pop); display: grid; gap: 1rem; position: relative; }
.modal__close { position: absolute; top: 0.75rem; right: 0.75rem; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--bg); }
.modal__close svg { width: 1rem; height: 1rem; }
.drop { border: 2px dashed var(--line); border-radius: 16px; padding: 1.5rem; display: grid; justify-items: center; gap: 0.5rem; text-align: center; color: var(--muted); font-size: 0.9rem; cursor: pointer; transition: border-color 0.2s, background 0.2s; position: relative; }
.drop:hover, .drop.is-over { border-color: var(--red); background: var(--red-100); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 2rem; height: 2rem; color: var(--red); }
.drop img { width: 100%; max-height: 220px; object-fit: contain; border-radius: 10px; }
.drop.has-image { padding: 0.5rem; border-style: solid; }

/* ---------- footer ---------- */
.site-footer { background: var(--black-950); color: rgba(255, 255, 255, 0.72); padding: clamp(3rem, 6vw, 5rem) 0 2rem; font-size: 0.925rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--red-bright); }
.site-footer ul { display: grid; gap: 0.55rem; }
.footer-logo { display: block; width: fit-content; margin: -0.75rem 0 0.75rem -0.5rem; }
.footer-logo img { display: block; width: 252px; max-width: 100%; height: auto; }
.footer-brand p { max-width: 26rem; }
.footer-brand__contact { margin-top: 1.25rem; display: grid; justify-items: start; gap: 0.6rem; }
/* Each line is a tap target, so each one carries an icon — a bare line of
   text in a footer does not read as something you can press. */
.footer-brand__contact a, .footer-brand__hours { display: inline-flex; align-items: flex-start; gap: 0.55rem; }
.footer-brand__contact svg { width: 1.05rem; height: 1.05rem; flex: none; margin-top: 0.1rem; color: var(--red-bright); }
.footer-brand__hours { color: rgba(255, 255, 255, 0.72); }
.footer-brand__contact b { color: var(--red-bright); font-weight: 600; white-space: nowrap; }
/* A 24px line of text is not a reliable thumb target; pad the rows out to ~44px
   on touch widths without opening a gap between them on desktop. */
@media (max-width: 620px) {
  .footer-brand__contact { gap: 0.1rem; }
  .footer-brand__contact a { padding-block: 0.6rem; }
}
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); grid-template-columns: none; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 1040px) {
  .action-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 0.5rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .action-bar .btn { min-height: 2.9rem; padding-inline: 0.5rem; font-size: 0.95rem; }
  body { padding-bottom: calc(4.3rem + env(safe-area-inset-bottom)); }
}

/* ---------- interior page head ---------- */
.page-head { position: relative; background: var(--black-950); color: #fff; overflow: hidden; padding-top: var(--nav-h); }
.page-head__media { position: absolute; inset: 0; }
.page-head__media video, .page-head__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-head__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, 0.35), rgba(10, 10, 10, 0.9)); }
.page-head .wrap { position: relative; z-index: 1; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.page-head h1 { color: #fff; max-width: 16ch; font-size: min(clamp(2.5rem, 6vw, 4.5rem), 11vw); }
.page-head .lede { color: rgba(255, 255, 255, 0.78); }
.page-head .eyebrow { color: var(--red-bright); }
.page-head--center .wrap { text-align: center; justify-items: center; }
.page-head--center h1 { max-width: 20ch; }
.breadcrumb { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); display: flex; gap: 0.5rem; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red-bright); }

/* ---------- services page ---------- */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.feature-card { display: grid; grid-template-rows: auto 1fr auto; gap: 1rem; padding: 1.75rem; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.feature-card h3 { font-size: min(1.5rem, 7vw); }
.feature-card p { color: var(--muted); font-size: 0.95rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card { position: relative; display: grid; gap: 0.75rem; padding: 1.5rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--text); }
.service-card h3 { font-size: 1.25rem; }
.service-card .kicker { font-family: var(--font-display); font-weight: 600; color: var(--red); font-size: 0.9rem; }
.service-card p { color: var(--muted); font-size: 0.925rem; }
.service-card .link-arrow { margin-top: auto; font-size: 0.95rem; }
.service-card .pill { position: absolute; top: 1rem; right: 1rem; }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .two-up, .service-grid { grid-template-columns: 1fr; } }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-block: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 1rem); }
.detail:first-of-type { border-top: 0; }
.detail__head { position: sticky; top: calc(var(--nav-h) + 1.5rem); align-self: start; }
.detail__head h2 { font-size: min(clamp(1.75rem, 3vw, 2.5rem), 9vw); margin-top: 0.5rem; }
.detail__head .btn { margin-top: 1.25rem; }
.detail__body { display: grid; gap: 1.5rem; }
.detail__body h3 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-bottom: 0.4rem; }
.detail__body ul { display: grid; gap: 0.4rem; }
.detail__body ul li { padding-left: 1.25rem; position: relative; font-size: 0.95rem; }
.detail__body ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.detail__media { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); max-width: 460px; }
.detail__media img, .detail__media video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.detail__media figcaption { padding: 0.6rem 0.9rem; font-size: 0.8rem; color: var(--muted); background: var(--surface); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail__head { position: static; } }

/* ---------- pest library ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.filters button { padding: 0.5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--muted); transition: all 0.15s; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button span { opacity: 0.6; font-weight: 500; margin-left: 0.25rem; }
.library { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.library .pest-tile { text-align: left; }
.library .pest-tile .pill { justify-self: start; }
.library .pest-tile i { font-style: italic; color: var(--muted); font-size: 0.8rem; }
.pest-tile.is-hidden { display: none; }
.library-count { margin-top: 1.25rem; font-size: 0.875rem; color: var(--muted); }
@media (max-width: 960px) { .library { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .library { grid-template-columns: 1fr 1fr; } }
.identify-card { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: 22px; background: var(--black-900); color: rgba(255, 255, 255, 0.85); border: 1px solid var(--black-800); margin-bottom: 2rem; }
.identify-card h3 { color: #fff; font-size: 1.2rem; }
.identify-card p { font-size: 0.9rem; }
@media (max-width: 700px) { .identify-card { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--font-display); font-weight: 600; font-size: min(1.0625rem, 4.6vw); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-size: 1.2rem; transition: transform 0.2s, background 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq__a { padding: 0 1.25rem 1.25rem; color: var(--muted); max-width: 46rem; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* ---------- about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.photo { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.photo img { width: 100%; object-fit: cover; }
.photo--square img { aspect-ratio: 1; }
.photo--wide img { aspect-ratio: 4 / 3; }
.expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.expect li { padding: 1.25rem; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 0.35rem; }
.expect b { font-family: var(--font-display); font-size: 1.05rem; }
.expect span { color: var(--muted); font-size: 0.9rem; }
.expect cite { display: block; margin-top: 0.4rem; font-style: italic; font-size: 0.85rem; color: var(--red); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } .expect { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .expect { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-top: var(--nav-h); }
.notfound h1 { font-size: min(clamp(4rem, 15vw, 9rem), 18vw); line-height: 0.9; }

/* ---------- motion: reveal on scroll, count-up, marker ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
[data-reveal].is-in { opacity: 1; transform: none; }
.hl { padding: 0 0.1em; margin: 0 -0.1em; background: linear-gradient(var(--red), var(--red)) no-repeat 0 62% / 0% 40%; transition: background-size 0.6s var(--ease) 0.5s, color 0.3s var(--ease) 0.75s; }
.hl.is-in { color: #fff; }
.hl.is-in { background-size: 100% 40%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hl { background-size: 100% 40%; }
}

/* ---------- utilities ---------- */
.mt-2 { margin-top: 0.5rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; } .mt-12 { margin-top: 3rem; }
.svg-defs { position: absolute; width: 0; height: 0; }
.text-sm { font-size: 0.875rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }
[data-i="1"] { --i: 1; } [data-i="2"] { --i: 2; } [data-i="3"] { --i: 3; } [data-i="4"] { --i: 4; } [data-i="5"] { --i: 5; } [data-i="6"] { --i: 6; } [data-i="7"] { --i: 7; } [data-i="8"] { --i: 8; } [data-i="9"] { --i: 9; } [data-i="10"] { --i: 10; } [data-i="11"] { --i: 11; }
.btn-row--center { justify-content: center; }

/* ---------- before/after comparison slider ---------- */
.compare-slider { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card); background: var(--black-950); touch-action: pan-y; user-select: none; --pos: 50%; }
.compare-slider__img { display: block; width: 100%; aspect-ratio: 850 / 660; object-fit: cover; }
.compare-slider__after { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 0 0 var(--pos)); }
.compare-slider__tag { position: absolute; top: 0.85rem; z-index: 2; pointer-events: none; }
.compare-slider__tag--before { left: 0.85rem; }
.compare-slider__tag--after { right: 0.85rem; }
.compare-slider__tag--after .pill { background: var(--diagram-yellow); color: var(--ink); }
.compare-slider__note { position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.85rem; z-index: 2; display: flex; flex-wrap: wrap; gap: 0.4rem; pointer-events: none; }
.compare-slider__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; cursor: ew-resize; box-shadow: 0 0 0 1px rgba(14, 21, 18, 0.25); border: 0; padding: 0; border-radius: 0; }
.compare-slider__handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1512' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 6-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 6px 18px rgba(14, 21, 18, 0.35); }
.compare-slider__handle:focus-visible { outline: none; }
.compare-slider__handle:focus-visible::after { outline: 3px solid var(--red-bright); outline-offset: 3px; }
.compare-slider__hint { margin-top: 0.75rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
@media (max-width: 560px) { .compare-slider__handle::after { width: 38px; height: 38px; background-size: 18px; } .compare-slider__note .pill { font-size: 0.7rem; padding: 0.25rem 0.55rem; } .compare-slider__tag .pill { font-size: 0.7rem; } }
.compare-slider__note .pill { background: rgba(10, 10, 10, 0.72); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px); }

/* ---------- recent-work gallery ---------- */
.work { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2.5rem; list-style: none; }
.work figure { margin: 0; display: grid; gap: 0.7rem; }
.work img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; display: block; background: rgba(255, 255, 255, 0.05); transition: transform 0.35s ease; }
.work__item:hover img { transform: scale(1.02); }
.work figcaption { font-size: 0.85rem; line-height: 1.35; color: rgba(255, 255, 255, 0.66); overflow-wrap: break-word; }
.work__cta { margin-top: 2.5rem; }
@media (max-width: 900px) { .work { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px) { .work { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; } .work figcaption { font-size: 0.78rem; } }

/* ---------- long-form text (privacy policy and anything like it) ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: min(clamp(1.3rem, 2.4vw, 1.7rem), 7.5vw); margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin-top: 0.9rem; color: var(--text); }
.prose ul { display: grid; gap: 0.5rem; padding-left: 1.2rem; list-style: disc; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--red-700); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- narrow-screen / large-font safety ---------- */
@media (max-width: 620px) {
  .btn { white-space: normal; padding-inline: 1.1rem; max-width: 100%; }
  .band .wrap { display: block; }
  .band .btn-row { margin-top: 1.25rem; }
  .band .btn-row .btn { flex: 1 1 100%; }
  .btn--lg { padding-inline: 1.25rem; }
  .header-phone, .site-footer, .footer-brand__contact { overflow-wrap: break-word; }
  .contact__card b, .aside__contact b { overflow-wrap: anywhere; }
}
