/* ASAP Pest & Wildlife — Custom Styles
   Approved Design Brief palette (from live Webflow site)
   Navy #1B2A4A | Orange #E87A2E | Cream #F2EDDC
   Brown-Orange #B77537 | White #FFFFFF | Charcoal #1B1B1B */

:root {
  --navy: #1B2A4A;
  --navy-light: #243756;
  --cream: #F2EDDC;
  --orange: #E87A2E;
  --orange-hover: #D46B22;
  --brown: #B77537;
  --charcoal: #1B1B1B;
  --white: #FFFFFF;
  --text: #212121;
  --text-light: #F0F0F0;
  --gray: #6B7280;
  --border: rgba(27, 42, 74, 0.12);
  --header-height: 72px;
  --section-pad: clamp(60px, 8vw, 100px);
  /* Aliases for backwards compat with existing class names */
  --green: var(--navy);
  --green-dark: var(--navy);
  --amber: var(--orange);
  --amber-hover: var(--orange-hover);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(32px, 5vw, 56px); }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: clamp(22px, 3vw, 28px); }

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--amber); }

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

/* ── Header ───────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(250, 249, 246, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo svg { width: 32px; height: 32px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: var(--amber);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 8px;
  transition: background 0.2s, transform 0.2s;
}
.header-cta:hover {
  background: var(--amber-hover);
  color: #fff;
  transform: translateY(-1px);
}

/* Mobile nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--cream);
  z-index: 40;
  padding: 32px 24px;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--green); }
.mobile-nav .mobile-phone {
  margin-top: 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
}
.mobile-nav .mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 16px;
  background: var(--amber);
  color: #fff;
  text-align: center;
  border-radius: 8px;
  font-weight: 600;
  font-size: 18px;
}

@media (max-width: 960px) {
  .nav-links, .header-phone, .header-cta { display: none; }
  .hamburger { display: flex; }
}

/* ── Buttons ───────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 18px;
  border-radius: 8px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  min-height: 52px;
}

.btn-primary {
  background: var(--amber);
  color: #fff;
}
.btn-primary:hover {
  background: var(--amber-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 163, 23, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--green);
}
.btn-white:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ── Sections ───────────────────────── */
.section {
  padding: var(--section-pad) 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-dark, .section-navy {
  background: var(--navy);
  color: var(--text-light);
}
.section-dark h2, .section-dark h3 { color: #fff; }

.section-charcoal {
  background: var(--charcoal);
  color: var(--text-light);
}
.section-charcoal h2, .section-charcoal h3 { color: #fff; }

.section-amber {
  background: var(--amber);
  color: #fff;
}
.section-amber h2, .section-amber h3 { color: #fff; }

.section-white {
  background: var(--cream);
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--amber);
  margin-bottom: 12px;
}
.section-dark .section-label { color: var(--amber); }

.section-subtitle {
  font-size: 20px;
  max-width: 640px;
  opacity: 0.85;
  margin-top: 12px;
}

/* ── Hero ───────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 40px) 24px var(--section-pad);
  background: var(--cream);
  color: var(--navy);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,122,46,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-text h1 { margin-bottom: 20px; color: var(--navy); }
.hero-text .subheadline {
  font-size: clamp(18px, 2.5vw, 22px);
  opacity: 0.9;
  margin-bottom: 16px;
  line-height: 1.5;
}
.hero-text .icp-qualifier {
  font-size: 16px;
  opacity: 0.7;
  margin-bottom: 32px;
  font-style: italic;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  opacity: 0.8;
}
.hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-shield {
  width: 320px;
  height: 320px;
  border-radius: 24px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(27, 42, 74, 0.15);
}
.hero-shield .shield-icon { font-size: 48px; margin-bottom: 12px; }
.hero-shield .shield-text { font-size: 14px; opacity: 0.8; color: rgba(255,255,255,0.7); }
.hero-shield .shield-phone {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--orange);
}
.hero-shield img.mascot-svg {
  width: 200px;
  height: auto;
  margin-bottom: 12px;
}

@media (max-width: 768px) {
  .hero { min-height: auto; padding-top: calc(var(--header-height) + 24px); }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .btn { width: 100%; justify-content: center; }
}

/* ── Trust Bar ───────────────────────── */
.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-stat {
  padding: 16px;
}
.trust-stat .stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--green);
}
.trust-stat .stat-label {
  font-size: 14px;
  color: var(--gray);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .trust-bar .container { grid-template-columns: repeat(2, 1fr); }
}

/* ── Cards ───────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(45, 106, 79, 0.08);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(45, 106, 79, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; font-size: 20px; }
.card p { font-size: 16px; color: var(--gray); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}
.card-link:hover { color: var(--amber); }

.section-dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
.section-dark .card p { color: rgba(255,255,255,0.7); }

/* ── Steps ───────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
.step {
  text-align: center;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; opacity: 0.85; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Testimonials ───────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}
.testimonial-stars { color: var(--amber); margin-bottom: 12px; font-size: 20px; }
.testimonial blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: 16px;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
}

/* ── FAQ ───────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--green);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
}

/* ── Emergency CTA ───────────────────────── */
.emergency-cta {
  text-align: center;
}
.emergency-cta .emergency-phone {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  display: block;
  color: #fff;
  margin: 16px 0;
}
.emergency-cta .emergency-phone:hover { color: #fff; opacity: 0.9; }

/* ── Footer ───────────────────────── */
.site-footer {
  background: var(--charcoal);
  color: var(--text-light);
  padding: 64px 24px 32px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p { font-size: 15px; opacity: 0.7; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: var(--amber);
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 15px;
  color: rgba(240,240,240,0.7);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1200px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-certs {
  font-size: 13px;
  opacity: 0.6;
  margin-top: 16px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Page Hero (inner pages) ───────────────────────── */
.page-hero {
  background: var(--green);
  color: #fff;
  padding: calc(var(--header-height) + 48px) 24px 64px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 20px; opacity: 0.85; max-width: 640px; margin: 0 auto; }

/* ── Scroll reveal ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Utility ───────────────────────── */
.text-center { text-align: center; }
.text-green { color: var(--green); }
.text-amber { color: var(--amber); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-prose { max-width: 72ch; }

/* ── Two column ───────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ── Pricing table (visible when feature flag true) ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
}
.pricing-card.featured {
  border-color: var(--amber);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ── Commercial Logos Bar ───────────────────────── */
.logos-bar {
  background: #F5F5F5;
  padding: 48px 24px;
}
.logos-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logos-bar img {
  height: 48px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: filter 0.3s, opacity 0.3s;
}
.logos-bar img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
.logos-bar .logos-label {
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 8px;
}

/* ── Reviews Carousel ───────────────────────── */
.reviews-carousel {
  position: relative;
  overflow: hidden;
}
.reviews-track {
  display: flex;
  transition: transform 0.5s ease;
}
.review-slide {
  min-width: 100%;
  padding: 0 24px;
}
@media (min-width: 769px) {
  .review-slide { min-width: 33.333%; }
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.review-card .review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.review-card .review-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.review-card .review-name {
  font-weight: 600;
  color: var(--navy);
}
.review-card .review-title {
  font-size: 14px;
  color: var(--gray);
}
.review-card blockquote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
}
.review-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.review-dot.active {
  background: var(--orange);
}

/* ── Section Cream ───────────────────────── */
.section-cream {
  background: var(--cream);
}

/* ── Hero phone prominent ───────────────────────── */
.hero-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 24px;
}
.hero-phone:hover { color: var(--orange-hover); }

/* ── Section Orange (emergency CTA) ───────────────────────── */
.section-orange {
  background: var(--orange);
  color: #fff;
}
.section-orange h2, .section-orange h3 { color: #fff; }

/* ── Page hero navy ───────────────────────── */
.page-hero {
  background: var(--navy);
  color: #fff;
  padding: calc(var(--header-height) + 48px) 24px 64px;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { font-size: 20px; opacity: 0.85; max-width: 640px; margin: 0 auto; }

/* ── Connecting line for steps ───────────────────────── */
@media (min-width: 769px) {
  .steps-grid { position: relative; }
  .step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--border);
  }
  .step { position: relative; }
}
/* Updated: Tue Mar 17 11:10:03 EDT 2026 */
