/* ==========================================================================
   Impestable Bold Black — design system
   Ported from the approved React/Tailwind "Bold Black" template.
   Dark theme baked in (the template always rendered in .dark mode).
   ========================================================================== */

:root {
  --background: #121212;
  --foreground: #f5f5f5;
  --card: #1a1a1a;
  --card-foreground: #f5f5f5;
  --muted: #212121;
  --muted-foreground: #9e9e9e;
  --primary: #ffc800;          /* hsl(47 100% 50%) brand yellow */
  --primary-foreground: #141414;
  --secondary: #f5f5f5;
  --border: #333333;
  --ring: #ffc800;
  --radius: 0.25rem;
  --maxw: 72rem;               /* max-w-6xl */
  --font-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Anton", "Archivo", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; }
p { margin: 0; }

/* ---- Layout helpers ---- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

.section { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .section { padding-top: 6rem; padding-bottom: 6rem; } }

.muted { color: var(--muted-foreground); }
.bg-card { background: var(--card); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }

/* ---- Brand DNA: caution stripe ---- */
.stripes {
  height: 0.5rem;
  background: repeating-linear-gradient(-45deg, var(--primary) 0 10px, #141414 10px 20px);
}

/* ---- Display type ---- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-weight: 400;
  line-height: 0.95;
}
.text-primary { color: var(--primary); }

.text-outline { -webkit-text-stroke: 1.5px var(--border); color: transparent; }
.text-outline-primary { -webkit-text-stroke: 1.5px var(--primary); color: transparent; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-weight: 700; padding: 1rem 2rem; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: all 0.15s ease;
  font-size: 1rem; line-height: 1;
}
.btn--primary { background: var(--primary); color: var(--primary-foreground); }
.btn--primary:hover { background: #e6b400; }
.btn--ghost { border-color: var(--border); color: var(--foreground); background: transparent; }
.btn--ghost:hover { border-color: var(--foreground); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 600; }
.btn--outline {
  border: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.05em;
  font-weight: 700; font-size: 0.875rem; padding: 0.75rem 1.5rem; background: transparent;
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }

.icon { width: 1em; height: 1em; flex: none; }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,18,18,0.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.site-header__logo img, .site-header .custom-logo { height: 2.25rem !important; width: auto !important; }
.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; }
.site-nav { display: none; align-items: center; gap: 1.75rem; font-size: 0.875rem; font-weight: 500; }
.site-nav a { color: var(--muted-foreground); }
.site-nav a:hover { color: var(--foreground); }
.site-nav__list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; }
.site-nav__list a { color: var(--muted-foreground); text-decoration: none; }
.site-nav__list a:hover { color: var(--foreground); }
@media (min-width: 768px) { .site-nav { display: flex; } }
.nav-toggle { display: inline-flex; background: none; border: 0; color: var(--foreground); padding: 0.25rem; cursor: pointer; }
@media (min-width: 768px) { .nav-toggle { display: none; } }
.mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0 1rem; border-top: 1px solid var(--border); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 0.6rem 0; color: var(--muted-foreground); font-weight: 600; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; align-items: stretch; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 1fr; } }
.hero__copy { padding-top: 5rem; padding-bottom: 5rem; }
@media (min-width: 1024px) { .hero__copy { padding-top: 7rem; padding-bottom: 7rem; padding-right: 3.5rem; } }
.hero__eyebrow { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.75rem; }
.hero__title { margin-top: 1.25rem; font-size: clamp(3.5rem, 9vw, 7rem); }
.hero__lead { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); max-width: 28rem; line-height: 1.7; }
.hero__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .hero__actions { flex-direction: row; } }
.hero__note { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }
.hero__media { position: relative; display: none; }
@media (min-width: 1024px) { .hero__media { display: block; } }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.hero__media-fade { position: absolute; inset: 0; background: linear-gradient(to right, var(--background), transparent 60%); }
.hero__media-stripe { position: absolute; bottom: 0; left: 0; right: 0; }

/* ==========================================================================
   Section headings
   ========================================================================== */
.h-section { font-size: clamp(2.25rem, 5vw, 3rem); }
.section-intro { margin-top: 1rem; color: var(--muted-foreground); max-width: 42rem; }

/* ==========================================================================
   Services — numbered rows
   ========================================================================== */
.services__list { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.service-row {
  display: grid; gap: 0.5rem 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border);
  align-items: baseline;
}
@media (min-width: 640px) { .service-row { grid-template-columns: 80px 1fr auto; } }
.service-row__num { font-family: var(--font-display); font-size: 2.25rem; line-height: 1; -webkit-text-stroke: 1.5px var(--border); color: transparent; user-select: none; }
.service-row__title { font-weight: 700; font-size: 1.25rem; }
.service-row__sub { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--primary); margin-top: 0.125rem; }
.service-row__desc { margin-top: 0.5rem; color: var(--muted-foreground); font-size: 0.9375rem; line-height: 1.7; max-width: 32rem; }
.service-row__price { font-family: var(--font-display); font-size: 1.875rem; color: var(--primary); }
@media (min-width: 640px) { .service-row__pricing { text-align: right; } }
.service-row__price-note { font-size: 0.875rem; color: var(--muted-foreground); }

/* ==========================================================================
   Process / grids of cards (gap-px look)
   ========================================================================== */
.gridlines { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 2.5rem; }
.gridlines--2 { grid-template-columns: 1fr; }
.gridlines--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .gridlines--2 { grid-template-columns: 1fr 1fr; } .gridlines--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gridlines--4 { grid-template-columns: repeat(4, 1fr); } }
.cell { background: var(--background); padding: 1.75rem; }
.cell__num { font-family: var(--font-display); font-size: 3rem; line-height: 1; -webkit-text-stroke: 1.5px var(--primary); color: transparent; user-select: none; }
.cell__title { margin-top: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.cell__desc { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* ==========================================================================
   Pests strip
   ========================================================================== */
.pests__head { display: flex; align-items: baseline; justify-content: space-between; }
.pests__head h2 { font-size: 1.25rem; font-weight: 700; }
.pests__safety { font-size: 0.875rem; color: var(--muted-foreground); }
@media (max-width: 640px) { .pests__safety { display: none; } }
.pests__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1.75rem; }
@media (min-width: 640px) { .pests__grid { grid-template-columns: repeat(5, 1fr); } }
.pest { background: var(--background); padding: 1rem; }
.pest img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pest figcaption { margin-top: 0.75rem; font-size: 0.875rem; font-weight: 600; }

/* ==========================================================================
   Why — owner split
   ========================================================================== */
.why__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .why__grid { grid-template-columns: 5fr 7fr; } }
.why__photo img { width: 100%; object-fit: cover; aspect-ratio: 1 / 1; }
.why__points { margin-top: 2.25rem; display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 640px) { .why__points { grid-template-columns: 1fr 1fr; } }
.why-point { border-left: 2px solid var(--primary); padding-left: 1rem; }
.why-point__num { font-size: 0.75rem; font-weight: 700; color: var(--muted-foreground); }
.why-point__title { font-weight: 700; margin-top: 0.25rem; }
.why-point__desc { margin-top: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.7; }

/* ==========================================================================
   Areas — marquee band
   ========================================================================== */
.areas { background: var(--primary); color: var(--primary-foreground); overflow: hidden; }
.marquee { display: flex; width: max-content; animation: marquee 24s linear infinite; padding: 2rem 0; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item { display: inline-flex; align-items: center; font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; letter-spacing: -0.02em; }
@media (min-width: 640px) { .marquee__item { font-size: 1.875rem; } }
.marquee__item span { padding: 0 1.5rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================================
   Reviews
   ========================================================================== */
.reviews__grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { background: var(--background); padding: 1.75rem; margin: 0; }
.review__stars { color: var(--primary); letter-spacing: 2px; }
.review p { margin-top: 1rem; color: rgba(245,245,245,0.85); line-height: 1.7; font-size: 0.9375rem; }
.review footer { margin-top: 1rem; font-size: 0.75rem; font-weight: 600; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: 0.05em; }
.review-links { background: var(--background); padding: 2rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
.review-links__lead { font-size: 0.875rem; color: var(--muted-foreground); }
.review-link { display: inline-flex; align-items: center; justify-content: space-between; border: 1px solid var(--border); padding: 0.625rem 1rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.review-link:hover { border-color: var(--primary); color: var(--primary); }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .cta__grid { grid-template-columns: 1fr 1fr; } }
.cta__title { font-size: clamp(3rem, 7vw, 3.75rem); }
.cta__actions { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 1024px) { .cta__actions { flex-direction: row; justify-content: flex-end; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 2rem 0; }
.site-footer__inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); text-align: center; }
@media (min-width: 640px) { .site-footer__inner { flex-direction: row; text-align: left; } }
.site-footer__logo { height: 1.75rem; width: auto; }

/* ==========================================================================
   Inner page / landing page content (service, location, about, faq, reviews)
   ========================================================================== */
.page-hero { border-bottom: 1px solid var(--border); padding: 4rem 0 3rem; }
.page-hero__eyebrow { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem; }
.page-hero__title { margin-top: 1rem; font-size: clamp(2.75rem, 7vw, 5rem); }
.page-hero__sub { margin-top: 1rem; font-size: 1.25rem; color: var(--muted-foreground); max-width: 40rem; }
.page-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Breadcrumb */
.crumbs { font-size: 0.8125rem; color: var(--muted-foreground); }
.crumbs a:hover { color: var(--primary); }

/* Generic prose for page-content (the converted landing pages) */
.prose { max-width: 48rem; }
.prose > * + * { margin-top: 1.25rem; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.875rem; margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 700; font-size: 1.25rem; margin-top: 2rem; }
.prose p { color: rgba(245,245,245,0.88); line-height: 1.75; }
.prose ul, .prose ol { color: rgba(245,245,245,0.88); line-height: 1.75; padding-left: 1.25rem; }
.prose li { margin-top: 0.4rem; }
.prose ul li::marker { color: var(--primary); }
.prose strong { color: var(--foreground); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }

/* Approach numbered list (Inspect/Identify/Explain/Treat) */
.approach { counter-reset: step; list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); grid-template-columns: 1fr; }
@media (min-width: 640px) { .approach { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .approach { grid-template-columns: repeat(4, 1fr); } }
.approach li { background: var(--background); padding: 1.75rem; counter-increment: step; }
.approach li::before { content: "0" counter(step); font-family: var(--font-display); font-size: 3rem; -webkit-text-stroke: 1.5px var(--primary); color: transparent; display: block; }

/* Highlight / callout box */
.callout { border: 1px solid var(--border); border-left: 3px solid var(--primary); background: var(--card); padding: 1.25rem 1.5rem; border-radius: var(--radius); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.faq-item__q { font-weight: 700; font-size: 1.0625rem; }
.faq-item__a { margin-top: 0.5rem; color: var(--muted-foreground); line-height: 1.7; }

/* Two-column inner layout (content + sticky CTA aside) */
.layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .layout { grid-template-columns: 1fr 20rem; align-items: start; } }
.aside-cta { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 1024px) { .aside-cta { position: sticky; top: 5rem; } }
.aside-cta h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.5rem; }
.aside-cta p { color: var(--muted-foreground); font-size: 0.9375rem; margin-top: 0.5rem; }
.aside-cta .btn { width: 100%; margin-top: 1rem; }

/* Service-areas inline chips */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.area-chip { border: 1px solid var(--border); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.8125rem; font-weight: 600; }

/* Reveal animation */
.reveal { opacity: 0; animation: fadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) both; animation-delay: var(--d, 0s); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .marquee { animation: none; opacity: 1; }
}
