/* ============================================================
   EcoFusion Pest Control — Main Stylesheet
   File: css/styles.css
   Brand: Navy #0A1223 + Electric Blue #1565C0
   ============================================================ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand blues */
  --blue-900: #0A1223;
  --blue-800: #0D1A35;
  --blue-700: #1565C0;
  --blue-600: #1E88E5;
  --blue-400: #42A5F5;
  --blue-200: #90CAF9;
  --blue-100: #BBDEFB;
  --blue-50:  #E3F2FD;
  /* Neutrals */
  --dark-bg:  #0A1223;
  --dark-card:#0F1E3A;
  --white:    #FFFFFF;
  --gray-900: #1A1A1A;
  --gray-700: #3A3A3A;
  --gray-500: #6B6B6B;
  --gray-200: #E5E5E5;
  --gray-50:  #F8F8F8;
  --off-white:#F0F4F8;
  /* Accents */
  --gold:     #F5C14E;
  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif:'Playfair Display', serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

/* ── UTILITY ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
}
section { padding: 72px 40px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue-700);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-subtitle {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--blue-400);
  color: var(--blue-900);
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-200); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── ECO CALLOUT BAR ── */
.eco-callout {
  background: var(--blue-900);
  border-top: 3px solid var(--blue-400);
  padding: 12px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: var(--blue-200);
  font-weight: 500;
}

/* ── TOP BAR ── */
.topbar {
  background: var(--blue-900);
  color: var(--blue-200);
  font-size: 13px;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: var(--blue-200); text-decoration: none; }
.topbar a:hover { color: white; }
.topbar-stars { display: flex; gap: 6px; align-items: center; }
.stars { color: var(--gold); letter-spacing: 1px; }

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 110px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo img {
  height: 96px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-700);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--blue-700); }
.nav-links .dropdown > a::after { content: ' ▾'; font-size: 10px; }

/* Dropdown navigation */
.nav-links li { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  z-index: 500;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu { display: block; }
.dropdown-menu li { width: 100%; border-bottom: 0; }
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
  font-size: 14px;
}
.dropdown-menu a:hover { background: var(--gray-100); }
.towns-grid a { color: inherit; text-decoration: none; }
.towns-grid a:hover { color: var(--blue-700); }
@media (max-width: 900px) {
  .dropdown-menu {
    display: block;
    position: static;
    min-width: 0;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 0 0 8px 16px;
    background: transparent;
  }
  .dropdown-menu a {
    padding: 9px 0;
    font-size: 15px;
    color: var(--gray-700);
    white-space: normal;
  }
}

.nav-cta {
  background: var(--blue-700);
  color: white !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-cta:hover { background: #0D47A1 !important; color: white !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: url("../images/team-truck.jpg") center center / cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,18,35,0.88) 0%, rgba(10,18,35,0.75) 55%, rgba(10,18,35,0.35) 100%);
  z-index: 1;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
}
.hero-deco-1 {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 520px;
  height: 520px;
  background: rgba(255,255,255,0.04);
  border-radius: 50% 0 50% 50%;
  transform: rotate(-15deg);
  z-index: 1;
}
.hero-deco-2 {
  position: absolute;
  right: 120px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  background: rgba(255,255,255,0.03);
  border-radius: 50% 50% 0 50%;
  transform: rotate(25deg);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(66,165,245,0.18);
  color: var(--blue-200);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(66,165,245,0.35);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title .accent { color: var(--blue-400); }
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1;
}
.hero-stat .label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ── HERO FORM CARD ── */
.hero-form-card {
  background: white;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.hero-form-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 6px;
}
.hero-form-card > p {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 7px;
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--blue-700); }
.form-submit {
  width: 100%;
  background: var(--blue-700);
  color: white;
  border: none;
  padding: 13px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
  margin-top: 6px;
}
.form-submit:hover { background: #0D47A1; }
.form-note {
  font-size: 11px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 10px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--blue-50);
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  padding: 20px 40px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-800);
  font-size: 14px;
  font-weight: 500;
}
.trust-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
  flex-shrink: 0;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: block;
}
.service-card:hover {
  border-color: var(--blue-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(21,101,192,0.15);
}
.service-icon {
  font-size: 36px;
  display: block;
  margin-bottom: 10px;
}
.service-card h3 { font-size: 14px; font-weight: 600; color: var(--gray-900); }
.service-card p  { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ── WHY SECTION ── */
.why-section { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.why-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--blue-100);
  position: relative;
}
.why-img-main svg { width: 100%; height: 100%; }
.why-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--blue-700);
  color: white;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.why-img-badge .big-num  { font-size: 36px; font-weight: 700; line-height: 1; }
.why-img-badge .badge-label { font-size: 12px; opacity: 0.85; margin-top: 3px; }
.why-image-block { position: relative; }
.why-points { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.why-point { display: flex; gap: 16px; align-items: flex-start; }
.why-point-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-50);
  border: 1.5px solid var(--blue-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.why-point h4 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 3px; }
.why-point p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── COMMON NJ PESTS ── */
.pests-section { background: var(--blue-900); }
.pests-section .section-eyebrow { color: var(--blue-400); }
.pests-section .section-title   { color: white; }
.pests-section .section-subtitle{ color: rgba(255,255,255,0.65); }
.pests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.pest-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, background 0.2s;
}
.pest-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(66,165,245,0.4);
}
.pest-card-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.pest-card h3   { color: white; font-size: 17px; margin-bottom: 8px; }
.pest-card p    { color: rgba(255,255,255,0.6); font-size: 13px; line-height: 1.7; }
.pest-card a {
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  margin-top: 12px;
  transition: color 0.2s;
}
.pest-card a:hover { color: var(--blue-200); }

/* ── TOWNS WE SERVE ── */
.towns-section { background: var(--blue-50); }
.towns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.town-card {
  background: white;
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid var(--blue-100);
}
.town-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.town-card ul { list-style: none; font-size: 13px; color: var(--gray-700); line-height: 2; }
.towns-cta-banner {
  margin-top: 32px;
  background: var(--blue-700);
  border-radius: 12px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.towns-cta-banner .cta-text     { color: white; font-size: 17px; font-weight: 700; }
.towns-cta-banner .cta-sub      { color: rgba(255,255,255,0.75); font-size: 14px; margin-top: 4px; }
.towns-cta-banner a {
  background: white;
  color: var(--blue-700);
  padding: 12px 24px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.towns-cta-banner a:hover { background: var(--blue-50); }

/* ── PROCESS ── */
.process-section { background: white; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--blue-200);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 56px;
  height: 56px;
  background: var(--blue-700);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 18px;
  border: 4px solid white;
  box-shadow: 0 0 0 2px var(--blue-200);
}
.process-step h4 { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.process-step p  { font-size: 13px; color: var(--gray-500); line-height: 1.6; }

/* ── PROTECTION PLANS ── */
.plans-section { background: var(--blue-900); }
.plans-section .section-eyebrow  { color: var(--blue-400); }
.plans-section .section-title    { color: white; }
.plans-section .section-subtitle { color: rgba(255,255,255,0.6); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.plan-card {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 30px 26px;
  position: relative;
  transition: border-color 0.2s;
}
.plan-card.featured {
  background: var(--blue-700);
  border-color: var(--blue-400);
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-400);
  color: var(--blue-900);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.plan-name  { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.plan-price { margin: 18px 0 20px; }
.plan-price .from   { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 4px; }
.plan-price .amount { font-size: 36px; font-weight: 700; color: white; }
.plan-price .period { font-size: 14px; color: rgba(255,255,255,0.55); }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before { content: '✓'; color: var(--blue-400); font-weight: 700; flex-shrink: 0; }
.plan-cta {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.plan-card:not(.featured) .plan-cta {
  border: 1.5px solid rgba(255,255,255,0.3);
  color: white;
}
.plan-card:not(.featured) .plan-cta:hover { border-color: var(--blue-400); color: var(--blue-400); }
.plan-card.featured .plan-cta { background: white; color: var(--blue-800); }
.plan-card.featured .plan-cta:hover { background: var(--blue-100); }

/* ── GALLERY ── */
.gallery-section { background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  margin-top: 40px;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  background: var(--blue-100);
  position: relative;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img  { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,18,35,0.6) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 13px; font-weight: 600; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--gray-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.testimonial-card {
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
}
.testimonial-stars  { color: var(--gold); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text   { font-size: 14px; color: var(--gray-700); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: #0D47A1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--gray-900); }
.author-loc  { font-size: 12px; color: var(--gray-500); }

/* ── SERVICE AREAS ── */
.areas-section { background: white; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.area-county h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--blue-700);
  padding: 8px 0;
  border-bottom: 2px solid var(--blue-200);
  margin-bottom: 10px;
}
.area-county ul { list-style: none; }
.area-county ul li { font-size: 13px; color: var(--gray-700); padding: 4px 0; cursor: pointer; }
.area-county ul li:hover { color: var(--blue-700); text-decoration: underline; }

/* ── CTA BAND ── */
.cta-band {
  background: var(--blue-700);
  padding: 64px 40px;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: white;
  margin-bottom: 14px;
}
.cta-band p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.btn-white {
  background: white;
  color: var(--blue-800);
  padding: 15px 36px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  margin: 0 8px;
}
.btn-white:hover { background: var(--blue-100); }
.btn-ghost {
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  padding: 14px 34px;
  border-radius: 7px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  margin: 0 8px;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: white; }

/* ── FOOTER ── */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.65);
  padding: 60px 40px 30px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; }
.footer-logo {
  display: block;
  margin-bottom: 14px;
}
.footer-logo img {
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  /* No filter — show the real branded logo on the dark footer */
  filter: none;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--blue-400); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--blue-400); }
.footer-rating {
  margin-top: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 14px;
}
.footer-rating .label { font-size: 12px; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.footer-rating .stars { font-size: 20px; letter-spacing: 2px; }
.footer-rating .count { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a {
  background: rgba(255,255,255,0.1);
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--blue-700); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}
.cert-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.cert-badge {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── STICKY PHONE ── */
.sticky-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--blue-700);
  color: white;
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 200;
  transition: background 0.2s, transform 0.1s;
}
.sticky-phone:hover { background: #0D47A1; transform: scale(1.02); }

/* ── ICON UTILITIES ── */
.icon-inline {
  display: inline-block;
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}
.icon-inline svg, .icon-inline img { width: 100%; height: 100%; }
.contact-item .icon-inline { width: 18px; height: 18px; color: var(--blue-700); }
.trust-icon-svg {
  display: block;
  width: 36px;
  height: 36px;
  color: var(--blue-700);
  margin-bottom: 8px;
}
.why-point-icon svg, .why-card-icon svg { width: 32px; height: 32px; }
.sidebar-trust .trust-item-small .icon-sm { width: 14px; height: 14px; display: inline-block; vertical-align: middle; margin-right: 4px; color: var(--blue-700); }

/* ── REVIEWS SECTION ── */
.reviews-section {
  background: var(--off-white);
  padding: 72px 40px;
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.review-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 3px solid var(--gold);
}
.review-stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.review-text { font-size: 15px; line-height: 1.7; color: var(--gray-700); flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 42px; height: 42px;
  background: var(--blue-900);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 14px; color: var(--gray-900); }
.review-location { font-size: 12px; color: var(--gray-500); }
.review-google-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--gray-500); margin-top: 4px;
}
.review-google-logo { width: 14px; height: 14px; }
.reviews-cta { text-align: center; margin-top: 36px; }
.reviews-cta a { color: var(--blue-700); font-weight: 600; text-decoration: none; font-size: 15px; }
.reviews-cta a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .plans-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* NAV: mobile — hide links by default, show toggle */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 200;
    padding: 90px 28px 32px;
    gap: 0;
    overflow-y: auto;
    box-shadow: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-links li:last-child { border-bottom: none; }
  .nav-links a {
    display: block;
    padding: 16px 0;
    font-size: 17px;
    color: var(--gray-900);
  }
  .nav-links .nav-cta {
    display: inline-block;
    margin-top: 16px;
    padding: 14px 28px;
    text-align: center;
    width: 100%;
    font-size: 16px;
    background: var(--blue-700);
    color: white !important;
    border-radius: 8px;
    border-bottom: none;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 300;
  }
  nav { position: sticky; z-index: 250; }

  .hero-content { grid-template-columns: 1fr; gap: 24px; }
  .hero-form-card { display: block; width: 100%; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.tall { grid-row: span 1; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  section { padding: 48px 20px; }
  .eco-callout { padding: 10px 16px; font-size: 12px; text-align: center; flex-wrap: wrap; gap: 6px; }
  .topbar { padding: 8px 16px; flex-wrap: wrap; gap: 4px; font-size: 11px; }
  .topbar > div:first-child { display: flex; flex-direction: column; gap: 2px; }
  .topbar-stars { font-size: 11px; }
  nav { padding: 0 16px; height: 76px; }
  .logo img { height: 64px; }
  .cta-band { padding: 48px 20px; }
  .cta-band h2 { font-size: 28px; }
  footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-phone { bottom: 16px; right: 16px; font-size: 13px; padding: 10px 16px; }
  .hero-content { padding: 48px 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .pests-grid { grid-template-columns: 1fr; }
  .towns-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { padding-top: 76px; }
}

/* ============================================================
   NAV FIX — desktop + mobile dropdown behavior
   ============================================================ */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-links li { position: relative; }
.dropdown > a { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  list-style: none;
  padding: 10px 0;
  z-index: 1100;
}
.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu,
.dropdown.dropdown-open > .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 10px 16px; white-space: nowrap; }

@media (max-width: 900px) {
  nav { height: 76px; padding: 0 16px; }
  .logo img { height: 64px; }
  .nav-toggle { display: block; position: relative; z-index: 1201; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 90px 24px 32px;
    overflow-y: auto;
    z-index: 1200;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--gray-200); }
  .nav-links a { display: flex; width: 100%; padding: 15px 0; font-size: 17px; color: var(--gray-900); }
  .dropdown-menu {
    display: none !important;
    position: static;
    min-width: 0;
    background: var(--gray-100);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    margin: 0 0 12px 0;
    padding: 6px 12px;
  }
  .dropdown.dropdown-open > .dropdown-menu { display: block !important; }
  .dropdown-menu li { border-bottom: 0; }
  .dropdown-menu a { padding: 10px 4px; font-size: 15px; white-space: normal; color: var(--gray-700); }
  .nav-links .nav-cta { justify-content: center; margin-top: 16px; padding: 14px 20px; }
}

/* ── MID-PAGE FORM ── */
.mid-form-card .form-group { margin-bottom: 14px; }
.mid-form-card .form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #374151; margin-bottom: 5px; }
.mid-form-card .form-group input { width: 100%; padding: 11px 14px; border: 1.5px solid #d1d5db; border-radius: 8px; font-size: 0.97rem; font-family: inherit; outline: none; transition: border-color .2s; }
.mid-form-card .form-group input:focus { border-color: #1565C0; box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
@media (max-width: 600px) {
  .mid-form-card { padding: 28px 18px !important; }
  .mid-form-card > div:first-child { grid-template-columns: 1fr !important; }
  .hero-content { padding: 32px 16px; gap: 24px; }
  .hero-form-card { margin-top: 0; }
}
