/* ============================================================
   Forsyth Exterminating — Design System v2
   Rebuilt by EPR Creations · eprcreations.com
   Brand: #E4261E (red) · #3b3d40 (charcoal)
   Type:  Work Sans (headings) · Archivo (body)
   ============================================================ */

:root {
  --red: #E4261E;
  --red-dark: #b81b14;
  --red-tint: #fdeceb;
  --charcoal: #3b3d40;
  --ink: #26282a;
  --slate: #5c6066;
  --mist: #f5f6f7;
  --line: #e4e6e8;
  --white: #ffffff;
  --green: #2e7d46;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 2px 8px rgba(38, 40, 42, .07), 0 12px 32px rgba(38, 40, 42, .09);
  --shadow-sm: 0 1px 3px rgba(38, 40, 42, .1);
  --font-head: "Work Sans", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.015em; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1.1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--mist { background: var(--mist); }
.section--dark { background: var(--charcoal); color: #d8dadd; }
.section--dark h2, .section--dark h3 { color: var(--white); }

.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9em;
}
.section--dark .kicker { color: #ff6d66; }
.lede { font-size: 1.2rem; color: var(--slate); max-width: 46em; }
.section--dark .lede { color: #b9bcc0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none !important;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(228, 38, 30, .3); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; color: var(--charcoal); background: transparent; }
.btn--ghost:hover { background: var(--charcoal); color: #fff; }
.btn--white { background: #fff; color: var(--charcoal); }
.btn--white:hover { transform: translateY(-2px); }
.btn--lg { padding: 19px 36px; font-size: 1.08rem; }

/* ---------- Utility bar (red, like current site) ---------- */
.utility {
  background: var(--red);
  color: #fff;
  font-size: .95rem;
  font-family: var(--font-head);
}
.utility .wrap { display: flex; justify-content: flex-end; align-items: center; min-height: 46px; gap: 26px; }
.utility a { color: #fff; font-weight: 600; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.util-links { display: flex; gap: 26px; align-items: center; }
.util-social { display: flex; gap: 16px; align-items: center; }
.util-social a { display: inline-flex; align-items: center; opacity: .95; }
.util-social a:hover { opacity: 1; }
.util-account { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 84px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { width: auto; height: 46px; margin-left: -14px; }

.nav { display: flex; align-items: center; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--charcoal);
  padding: 10px 10px;
  border-radius: 8px;
  white-space: nowrap;
  text-decoration: none !important;
}
.nav a:hover, .nav li.current > a { color: var(--red); background: var(--red-tint); }
.nav li { margin: 0; }
.nav li.nav-extra { display: none; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-phone { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--red); white-space: nowrap; text-decoration: none !important; }
.header-phone:hover { color: var(--red-dark); }
.header-cta .btn { padding: 12px 18px; font-size: .95rem; }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px;
  align-items: center; justify-content: center;
  color: var(--charcoal);
}
.nav-toggle:hover { background: var(--mist); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(38, 40, 42, .92) 0%, rgba(59, 61, 64, .82) 45%, rgba(59, 61, 64, .45) 100%),
    var(--charcoal);
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.hero .wrap { padding-top: 88px; padding-bottom: 88px; position: relative; }
.hero h1 { color: #fff; max-width: 15em; }
.hero .lede { color: #d9dbde; font-size: 1.22rem; max-width: 36em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; padding: 0; list-style: none; }
.hero-points li { display: flex; gap: 8px; align-items: center; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #e7e8ea; margin: 0; }
.hero-points svg { color: #ff6d66; flex: none; }
.hero--sub .wrap { padding-top: 56px; padding-bottom: 56px; }
.hero--sub .wrap.hero-grid {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center;
}
.hero-img img {
  width: 100%; max-height: 330px; object-fit: cover; object-position: center 30%;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .35);
  border: 4px solid rgba(255, 255, 255, .12);
}

.crumbs { font-family: var(--font-head); font-size: .85rem; margin-bottom: 20px; color: #b7babd; }
.crumbs a { color: #dcdee0; }
.crumbs span[aria-current] { color: #fff; font-weight: 600; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
a.card { text-decoration: none !important; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #f0b5b2; }
.card .icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--red-tint); color: var(--red);
  display: grid; place-items: center;
  margin-bottom: 18px; flex: none;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--slate); font-size: .98rem; margin-bottom: 0; }
.card .card-link { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: .93rem; color: var(--red); }
.card-photo {
  width: calc(100% + 60px); max-width: none; margin: -32px -30px 20px;
  height: 190px; object-fit: cover; object-position: center 25%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.hs-img { width: 100%; height: 240px; object-fit: cover; object-position: center 30%; border-radius: 10px; margin-bottom: 18px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--red); letter-spacing: -.02em; }
.section--dark .stat b { color: #ff6d66; }
.stat span { font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--slate); }
.section--dark .stat span { color: #c4c7ca; }

/* ---------- Steps ---------- */
.step { padding: 34px 30px; }
.step .step-num {
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
  width: 42px; height: 42px; border-radius: 999px;
  background: var(--red); color: #fff;
  display: grid; place-items: center; margin-bottom: 20px; flex: none;
}
.step h3 { font-size: 1.18rem; }
.step p { line-height: 1.6; }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.quote-card .quote-photo { width: 100%; height: 170px; object-fit: cover; object-position: center 30%; border-radius: 10px; margin-bottom: 16px; }
.stars { color: #f5a623; letter-spacing: 2px; font-size: 1rem; margin-bottom: 12px; }
.quote-card p { font-size: 1rem; color: var(--ink); }
.quote-card footer { font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--charcoal); }
.quote-card footer span { display: block; font-weight: 500; color: var(--slate); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  padding: 18px 52px 18px 22px; position: relative; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 22px 20px; color: var(--slate); }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--wide-left { grid-template-columns: 1.2fr 1fr; }
.checklist { list-style: none; padding: 0; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.checklist svg { color: var(--red); flex: none; margin-top: 4px; }

/* ---------- Badges (real award images) ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 26px; }
.badges img { height: 64px; width: auto; }
.badges a { display: inline-flex; }
.footer-badges { display: flex; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.footer-badges img { height: 56px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #ffd9d7; font-size: 1.05rem; }

/* ---------- Promo banners (specials / referral) ---------- */
.promo-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.promo-banners a { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.promo-banners a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-banners img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: var(--charcoal); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 10px;
  padding: 12px 14px; background: var(--mist);
  transition: border-color .15s, background .15s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
}
.form-note { font-size: .85rem; color: var(--slate); margin-top: 18px; margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
table.plain { width: 100%; border-collapse: collapse; font-size: .98rem; }
table.plain th, table.plain td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
table.plain th { font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate); }

/* ---------- Service area map (compact v2) ---------- */
.area-map-panel {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  max-width: 1060px; margin-inline: auto;
}
.area-map-real { position: relative; min-height: 420px; }
#area-map { position: absolute; inset: 0; z-index: 1; background: #eef0f2; }
.lmark {
  display: block; width: 100%; height: 100%;
  background: var(--charcoal); border: 2.5px solid #fff; border-radius: 999px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .35);
  transition: background .15s, transform .15s;
}
.lmark:hover, .lmark--active { background: var(--red); transform: scale(1.25); }
.lmark--hq { background: var(--red); border-width: 4px; }
.leaflet-container { font-family: var(--font-head); }
.leaflet-tooltip { font-family: var(--font-head); font-weight: 600; }
.area-list { padding: 26px 28px 20px; }
.area-list h3 { margin-bottom: 4px; }
.area-intro { color: var(--slate); font-size: .93rem; margin-bottom: .8em; }
.area-foot { font-size: .85rem; color: var(--slate); margin: 10px 0 0; }
.area-search { margin: 10px 0 14px; }
.area-search input {
  width: 100%; font-family: var(--font-body); font-size: .95rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 9px 16px; background: var(--mist);
}
.area-search input:focus { outline: none; border-color: var(--red); background: #fff; }
.county-cols { column-count: 2; column-gap: 22px; }
.county-group { margin-bottom: 12px; break-inside: avoid; }
.county-group h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--slate); margin-bottom: 6px; }
.city-links { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.city-links li { margin: 0; }
.city-links a {
  display: inline-block; font-family: var(--font-head); font-weight: 500; font-size: .84rem;
  color: var(--charcoal); background: var(--mist);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; text-decoration: none !important;
  transition: all .15s;
}
.city-links a:hover, .city-links li.hl a { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #b9bcc0; font-size: .95rem; }
.site-footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid #52555a; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #cfd2d5; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-about p { max-width: 34em; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .85rem; color: #8f9296; }
.footer-bottom a { color: #b9bcc0; }
.footer-phone { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff !important; }

/* ---------- Reveal animation (noscript-safe) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
}
@media (max-width: 1020px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 36px; }
  .area-map-panel { grid-template-columns: 1fr; }
  .area-map-real { min-height: 340px; }
  .hero--sub .wrap.hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-img img { max-height: 260px; }
  .util-links { gap: 16px; }
}
@media (max-width: 1040px) {
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 24px 22px;
    max-height: calc(100vh - 130px); overflow-y: auto;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav a { padding: 17px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav li:last-child a { border-bottom: 0; }
  .nav li.nav-extra { display: block; }
  .nav-toggle { display: inline-flex; margin-right: -9px; }
  .header-cta { display: none; }
  .utility .util-links { display: none; }
  .utility .wrap { justify-content: center; }
  .logo img { height: 46px; }
  .site-header .wrap { min-height: 72px; }
  .promo-banners { grid-template-columns: 1fr; }
  .county-cols { column-count: 2; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero .wrap { padding-top: 60px; padding-bottom: 60px; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .county-cols { column-count: 1; }
  .hs-img { height: 200px; }
}

/* ---------- Print ---------- */
@media print {
  .utility, .site-header, .site-footer, .cta-band { display: none; }
}
