/* =============================================================
   Pest Control Macon GA — Global Stylesheet
   pestcontrolmacon.net
   ============================================================= */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Brand colours */
  --green-dark:   #1a3a2a;
  --green-mid:    #2d5c42;
  --green-light:  #3e7a59;
  --green-pale:   #eaf4ee;
  --green-accent: #4caf72;
  --gold:         #c8933a;
  --gold-light:   #f5e8cc;
  --red:          #c0392b;
  --red-pale:     #fde8e8;
  --teal:         #0d7377;
  --teal-mid:     #14a085;
  --teal-pale:    #e0f4f1;
  --teal-dark:    #0a5257;
  --brown:        #6b4226;
  --brown-pale:   #f5ece4;
  --brown-mid:    #8b5e3c;

  /* Neutral / text */
  --text-dark:    #1a1f1c;
  --text-mid:     #3d4840;
  --text-muted:   #6b7870;

  /* Backgrounds */
  --bg-white:     #ffffff;
  --bg-off:       #f7faf8;
  --border:       #d8e4dc;

  /* Radii */
  --radius:    6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  /* Layout */
  --max-w: 1120px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
p  { color: var(--text-mid); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ── LAYOUT ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-off); }
.section--dark { background: var(--green-dark); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: #b47e2e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,147,58,0.35); }

.btn--green { background: var(--green-mid); color: #fff; }
.btn--green:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #a93226; transform: translateY(-1px); }

.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); transform: translateY(-1px); }

.btn--brown { background: var(--brown); color: #fff; }
.btn--brown:hover { background: #5a3720; transform: translateY(-1px); }

.btn--white { background: #fff; color: var(--green-dark); font-weight: 600; }
.btn--white:hover { background: var(--green-pale); }

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

.btn--outline-white { background: transparent; border: 2px solid rgba(255,255,255,0.5); color: #fff; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

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

/* ── HEADER / NAV ── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 85px;
}
.nav-logo { font-family: var(--font-display); font-size: 1.25rem; color: #fff; text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone { color: var(--gold); font-weight: 600; font-size: 15px; text-decoration: none; }
.nav-phone:hover { color: #e8aa52; }

/* ── BREADCRUMB ── */
.breadcrumb { background: var(--bg-off); border-bottom: 1px solid var(--border); padding: 12px 0; }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; list-style: none; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; font-size: 13px; }
.breadcrumb a:hover { color: var(--green-mid); }
.breadcrumb li { font-size: 13px; color: var(--text-muted); }
.breadcrumb li:last-child { color: var(--text-dark); font-weight: 500; }
.breadcrumb-sep { color: var(--border); }

/* ── PAGE HERO (standard) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, #223d30 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 75% 50%, rgba(76,175,114,0.07) 0%, transparent 55%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; animation: fadeUp 0.5s ease both; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.78); font-size: 1rem; max-width: 560px; margin-top: 14px; line-height: 1.7; }
.page-hero-actions { padding-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero with two-column layout (hero + form card) */
.page-hero--split .hero-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.page-hero--split .page-hero h1 { margin-bottom: 16px; }
.page-hero--split .page-hero p  { margin-bottom: 28px; }
.hero-actions { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 0.5s ease 0.3s both; }
.hero-trust { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.8); font-size: 13px; font-weight: 500; }
.hero-trust-item svg { color: var(--green-accent); flex-shrink: 0; }

/* Location badge */
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(76,175,114,0.12);
  border: 1px solid rgba(76,175,114,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--green-accent);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ── HERO QUOTE CARD ── */
.hero-form-card,
.hero-quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
}
.hero-form-card h3,
.hero-quote-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.hero-form-card p,
.hero-quote-card > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── FORMS ── */
.rr-form-embed form .rr-field label { font-size: .75rem; }
.rr-form-embed form .rr-field .rr-input { font-size: .9rem; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text-mid); margin-bottom: 6px; }
.form-group label .req { color: var(--gold); margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(62,122,89,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 96px; }
.select-wrap { position: relative; }
.select-wrap::after { content: ''; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid var(--text-muted); pointer-events: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit, .btn-submit-hero {
  width: 100%;
  padding: 13px;
  font-size: 15px;
  font-weight: 600;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.15s;
}
.form-submit:hover,
.btn-submit-hero:hover { background: #b47e2e; transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin-top: 12px; justify-content: center; }
.form-note svg { color: var(--green-accent); flex-shrink: 0; }

/* Checkbox / radio styled */
.service-check-label, .radio-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-off);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 14px;
  color: var(--text-mid);
}
.service-check-label:hover,
.radio-label:hover { border-color: var(--green-light); background: var(--green-pale); }
.service-check-label input,
.radio-label input { width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--green-mid); cursor: pointer; padding: 0; border: none; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--green-mid); padding: 20px 0; }
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-bar-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; }
.trust-bar-item svg { color: var(--gold); flex-shrink: 0; }

/* ── ASIDE / SIDEBAR CARDS ── */
.sticky-aside { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--bg-off); border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 16px; }
.aside-card-header { background: var(--green-dark); padding: 14px 20px; }
.aside-card-header h3 { color: #fff; font-size: 1rem; }
.aside-card-header--red { background: var(--red); }
.aside-card-header--teal { background: var(--teal-dark); }
.aside-card-body { padding: 20px; }
.aside-check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.aside-check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mid); }
.aside-check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.aside-check-icon svg { color: var(--green-mid); }
.aside-cta-card { background: var(--green-dark); border-radius: var(--radius-lg); padding: 24px; text-align: center; }
.aside-cta-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 8px; }
.aside-phone { font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); text-decoration: none; display: block; margin-bottom: 14px; }
.aside-phone:hover { color: #e8aa52; }

/* ── REVIEW CARDS ── */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.review-card { background: var(--bg-white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 15px; line-height: 1.7; color: var(--text-mid); font-style: italic; margin-bottom: 16px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-mid); color: #fff; font-family: var(--font-display); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 14px; color: var(--text-dark); }
.review-meta { font-size: 12px; color: var(--text-muted); }

/* ── FAQ ACCORDION ── */
.faq-list { border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 32px; }
.faq-item { border-bottom: 1.5px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  transition: background 0.15s;
}
.faq-question:hover { background: var(--bg-off); }
.faq-icon { color: var(--green-mid); transition: transform 0.3s; flex-shrink: 0; margin-left: 20px; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s; }
.faq-answer.open { max-height: 600px; }
.faq-answer p { font-size: 15px; }

/* ── SERVICE CARDS ── */
.service-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-top: 40px; }
.service-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-light); }
.service-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon svg { color: var(--green-mid); }
.service-card h3 { font-size: 1.1rem; color: var(--green-dark); margin-bottom: 8px; }
.service-card p { font-size: 14px; line-height: 1.7; flex: 1; margin-bottom: 16px; }
.service-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
  margin-top: auto;
}
.service-card-link:hover { gap: 8px; }

/* ── HOW IT WORKS (3 step) ── */
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 52px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.66% + 16px); right: calc(16.66% + 16px);
  height: 2px; background: var(--border);
}
.process-step { text-align: center; padding: 0 16px; }
.step-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 8px; }
.process-step p { font-size: 14px; }

/* ── NEARBY CARDS ── */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 32px; }
.nearby-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nearby-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-light); }
.nearby-card span { font-size: 14px; font-weight: 500; color: var(--text-dark); }
.nearby-card svg { color: var(--text-muted); flex-shrink: 0; }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(135deg, var(--green-dark), #223d30); padding: 72px 0; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); max-width: 520px; margin: 0 auto; }
.cta-band-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-phone { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); text-decoration: none; display: block; margin-bottom: 20px; }
.cta-phone:hover { color: #e8aa52; }

/* ── FOOTER ── */
footer { background: #101c15; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer-logo { font-family: var(--font-display); font-size: 1.2rem; color: #fff; }
.footer-logo span { color: var(--gold); }
.footer-col h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; font-size: 13px; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.45s ease both; }
.fade-up-delay { animation: fadeUp 0.45s ease 0.15s both; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-layout,
  .page-hero--split .hero-layout { grid-template-columns: 1fr; }
  .hero-form-card, .hero-quote-card { max-width: 480px; }
  .sticky-aside { position: static; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .trust-bar-inner { gap: 20px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 52px 0 48px; }
  .form-row { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* =============================================================
   MOBILE NAVIGATION
   ============================================================= */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

/* Slide-in panel */
.nav-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--green-dark);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  will-change: transform;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile-panel.open { transform: translateX(0); }

/* Panel header */
.nav-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.nav-mobile-logo { font-family: var(--font-display); font-size: 1.1rem; color: #fff; text-decoration: none; }
.nav-mobile-logo span { color: var(--gold); }
.nav-mobile-close {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.16); }

/* Panel body */
.nav-mobile-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  flex: 1;
}

/* Free Quote CTA at top of panel */
.nav-mobile-quote {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.nav-mobile-quote .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
}

/* Mobile links */
.nav-mobile-links {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-mobile-links > li {
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-links > li:last-child { border-bottom: none; }
.nav-mobile-links > li > a,
.nav-mobile-links > li > button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: color 0.2s;
}
.nav-mobile-links > li > a:hover,
.nav-mobile-links > li > button:hover { color: #fff; }
.nav-mobile-links > li > a.active { color: var(--gold); }

/* Services dropdown inside mobile panel */
.nav-mobile-dropdown {
  list-style: none;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius);
  margin: 0 0 8px;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}
.nav-mobile-dropdown.open { max-height: 300px; }
.nav-mobile-dropdown li a {
  display: block;
  text-align: center;
  padding: 11px 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile-dropdown li a:hover { color: #fff; background: rgba(255,255,255,0.06); }

/* Chevron for dropdown toggle */
.nav-chevron {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.nav-mobile-links .dropdown-open .nav-chevron { transform: rotate(180deg); }

/* Desktop Services dropdown */
.nav-item--has-dropdown { position: relative; }
.nav-link-parent {
  display: flex !important;
  align-items: center;
  gap: 4px;
  cursor: default;
}
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;          /* flush — no gap the cursor has to cross */
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  min-width: 220px;
  padding: 20px 0 8px; /* top padding bridges the visual gap + provides safe hover zone */
  box-shadow: var(--shadow-lg);
  list-style: none;
  z-index: 50;
}
.nav-item--has-dropdown:hover .nav-dropdown { display: block; }
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 12px;          /* sits inside the padding area, visually at the top */
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(255,255,255,0.12);
}
.nav-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown li a:hover { background: rgba(255,255,255,0.07); color: #fff; }

@media (max-width: 960px) {
  .nav-hamburger { display: flex; }
  .nav-links { display: none !important; }
  /* Hide desktop Free Quote button on mobile */
  .nav-cta .btn--primary { display: none; }
}


/* =============================================================
   IMAGE PLACEHOLDERS
   ============================================================= */
.img-placeholder {
  width: 100%;
  background: var(--green-pale);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}
.img-placeholder--tall   { min-height: 320px; }
.img-placeholder--medium { min-height: 240px; }
.img-placeholder--short  { min-height: 180px; }
.img-placeholder--hero   { min-height: 420px; border-radius: var(--radius-lg); }
.img-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 360px; }
.img-placeholder-inner svg { color: var(--green-mid); opacity: 0.35; }
.img-placeholder-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--green-dark);
  margin: 0;
}
.img-placeholder-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  font-style: italic;
}


/* =============================================================
   HERO BACKGROUND IMAGES
   Drop the corresponding .webp into assets/img/ and it appears.
   Each image is blended over the existing gradient at 15% opacity
   so the text remains legible without any extra changes.

   Naming convention: {page-slug}-hero-background.webp

   Pages & expected filenames:
     home                  → home-hero-background.webp
     services              → services-hero-background.webp
     general-pest-control  → general-pest-control-hero-background.webp
     termite-control       → termite-control-hero-background.webp
     rodent-wildlife       → rodent-wildlife-control-hero-background.webp
     mosquito-tick         → mosquito-tick-control-hero-background.webp
     about                 → about-hero-background.webp
     contact               → contact-hero-background.webp
     free-quote            → free-quote-hero-background.webp
     service-area          → service-area-hero-background.webp
     north-macon           → north-macon-hero-background.webp
     warner-robins         → warner-robins-hero-background.webp
     bibb-county           → bibb-county-hero-background.webp

   Adjust --hero-img-opacity (default 0.15) to make the image
   more or less visible. 1.0 = fully opaque, 0.0 = invisible.
   ============================================================= */

:root {
  --hero-img-opacity: 0.15;
}

/* Shared helper — the ::after pseudo-element carries the image
   so it can be independently opacity-controlled without affecting
   child content (which would happen with opacity on the parent). */
[data-page] .hero::after,
[data-page] .page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: var(--hero-img-opacity);
  pointer-events: none;
  z-index: 0;
}

/* Ensure hero content sits above the image layer */
[data-page] .hero > *,
[data-page] .page-hero > * {
  position: relative;
  z-index: 1;
}

/* ── Per-page image references ── */

/* The image path uses root-relative /assets/img/ so it resolves
   correctly from any folder depth. */

.hero:after, .page-hero::after {
  background-image: url('/assets/img/home-hero-background.webp');
}

/*[data-page="home"] .hero::after {
  background-image: url('/assets/img/home-hero-background.webp');
}
[data-page="services"] .page-hero::after {
  background-image: url('/assets/img/services-hero-background.webp');
}
[data-page="general-pest-control"] .page-hero::after {
  background-image: url('/assets/img/general-pest-control-hero-background.webp');
}
[data-page="termite-control"] .page-hero::after {
  background-image: url('/assets/img/termite-control-hero-background.webp');
}
[data-page="rodent-wildlife-control"] .page-hero::after {
  background-image: url('/assets/img/rodent-wildlife-control-hero-background.webp');
}
[data-page="mosquito-tick-control"] .page-hero::after {
  background-image: url('/assets/img/mosquito-tick-control-hero-background.webp');
}
[data-page="about"] .page-hero::after {
  background-image: url('/assets/img/about-hero-background.webp');
}
[data-page="contact"] .page-hero::after {
  background-image: url('/assets/img/contact-hero-background.webp');
}
[data-page="free-quote"] .page-hero::after {
  background-image: url('/assets/img/free-quote-hero-background.webp');
}
[data-page="service-area"] .page-hero::after {
  background-image: url('/assets/img/service-area-hero-background.webp');
}
[data-page="north-macon"] .page-hero::after {
  background-image: url('/assets/img/north-macon-hero-background.webp');
}
[data-page="warner-robins"] .page-hero::after {
  background-image: url('/assets/img/warner-robins-hero-background.webp');
}
[data-page="bibb-county"] .page-hero::after {
  background-image: url('/assets/img/bibb-county-hero-background.webp');
}*/

/* ============================================================
   SHARED PAGE COMPONENTS — consolidated from inline styles
   ============================================================ */

/* ── Layout helpers ── */
.intro-body h2 { margin-bottom: 16px; }
.intro-body p { margin-bottom: 16px; }

/* ── Form components ── */
.form-group input, .form-group select { width: 100%; padding: 10px 13px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 14px; color: var(--text-dark); transition: border-color 0.2s; appearance: none; background: #fff; }

/* ── Hero cards ── */
.hero-quote-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-dark); margin-bottom: 6px; }
.hero-quote-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.hero-form-card h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-dark); margin-bottom: 6px; }
.hero-form-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* ── Process steps ── */
.step-content h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.step-content p { font-size: 14px; margin: 0; line-height: 1.65; }
.process-step:last-child { border-bottom: none; }

/* ── Other Services section ── */
.other-service-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-decoration: none; color: inherit; transition: box-shadow 0.2s, border-color 0.2s; display: block; }
.other-service-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-light); }
.other-service-icon { width: 44px; height: 44px; background: var(--green-pale); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.other-service-icon svg { color: var(--green-mid); }
.other-service-card h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 6px; }
.other-service-card p { font-size: 13px; line-height: 1.6; margin-bottom: 12px; }
.other-service-link { font-size: 13px; font-weight: 600; color: var(--green-light); display: flex; align-items: center; gap: 4px; }

/* ── Pricing plans ── */
.plans-intro { max-width: 560px; margin-bottom: 48px; }
.plans-intro h2 { margin-bottom: 12px; }
.plan-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 0.2s; }
.plan-card:hover { box-shadow: var(--shadow-md); }
.plan-header { padding: 24px 24px 20px; border-bottom: 1.5px solid var(--border); }
.plan-badge { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 100px; background: var(--gold); color: #fff; margin-bottom: 10px; }
.plan-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--green-dark); margin-bottom: 4px; }
.plan-header--featured .plan-name { color: #fff; }
.plan-frequency { font-size: 13px; color: var(--text-muted); }
.plan-body { padding: 24px; }
.plan-description { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.plan-feature { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-mid); }
.plan-cta { display: block; width: 100%; text-align: center; }

/* ── Location page components ── */
.zip-card { background: var(--green-pale); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.zip-card h3 { font-size: 0.95rem; color: var(--green-dark); margin-bottom: 10px; }
.zip-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.zip-tag { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius); padding: 4px 12px; font-size: 13px; font-weight: 600; color: var(--green-mid); }
.location-tag svg { flex-shrink: 0; }
.pressure-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--green-pale); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.pressure-icon svg { color: var(--green-mid); }
.pressure-item h4 { font-family: var(--font-display); font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.pressures-body h2 { margin-bottom: 16px; }
.pressures-body p { margin-bottom: 16px; }
.pressures-body p:last-of-type { margin-bottom: 0; }
.context-card { background: var(--green-dark); border-radius: var(--radius-lg); padding: 32px; }
.context-card h3 { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.context-card p { color: rgba(255,255,255,0.7); font-size: 14px; margin-bottom: 14px; line-height: 1.7; }
.context-card p:last-child { margin-bottom: 0; }
.context-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 16px; text-align: center; }
.context-stat-num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.context-stat-label { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 4px; line-height: 1.4; }
.neighborhoods-intro { max-width: 560px; margin-bottom: 40px; }
.neighborhoods-intro h2 { margin-bottom: 12px; }
.neighborhoods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-bottom: 28px; }
.neighborhood-tag { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px 16px; display: flex; align-items: center; gap: 10px; transition: border-color 0.2s, background 0.2s; }
.neighborhood-tag:hover { border-color: var(--green-light); background: var(--green-pale); }
.neighborhood-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-accent); flex-shrink: 0; }
.neighborhood-tag span { font-size: 14px; font-weight: 500; color: var(--text-dark); }

