/* ==========================================================================
   PestControlNumber.com — "Field Guide" design system
   Mist green / deep emerald / tangerine CTA
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --paper-deep: #F0F5EF;
  --ink: #1B2A22;
  --pine: #0C4534;
  --pine-dark: #062E22;
  --moss: #4E7A62;
  --amber: #FF6B2C;
  --amber-dark: #E4551A;
  --amber-soft: #FFEADD;
  --line: #D5E0D3;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(6, 46, 34, .30);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--pine); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-display); color: var(--pine); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); font-weight: 600; margin-bottom: .6em; }
h3 { font-size: 1.25rem; font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  margin-bottom: 14px;
}

/* ---------- top utility bar ---------- */
.utility-bar {
  background: var(--pine-dark);
  color: #DCEADF;
  font-size: .82rem;
  padding: 7px 0;
}
.utility-bar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.utility-bar strong { color: #fff; }

/* ---------- header ---------- */
header.site {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 18px;
}
.logo { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--pine); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--pine); color: var(--paper);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
nav.main { display: flex; gap: 26px; }
nav.main a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
nav.main a:hover { color: var(--amber-dark); }

.call-pill {
  background: var(--amber);
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 6px 18px -6px rgba(255, 107, 44, .45);
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease;
  display: inline-flex; align-items: center; gap: 9px;
}
.call-pill:hover { background: var(--amber-dark); transform: translateY(-1px); }
.call-pill svg { flex: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--pine);
  color: #EAF3EC;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255,107,44,.20), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(78,122,98,.30), transparent 60%);
  pointer-events: none;
}
.hero .wrap {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero h1 { color: #F7FBF7; }
.hero h1 em { font-style: italic; color: #FFC59E; }
.hero p.lede { font-size: 1.15rem; margin: 18px 0 26px; max-width: 34em; color: #CBDCCF; }
.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 5px solid rgba(255,255,255,.12);
}
.hero-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-cta .call-pill { font-size: 1.25rem; padding: 16px 30px; }
.hero-note { font-size: .85rem; color: #A7BFAF; }

.trust-strip { border-top: 1px solid rgba(255,255,255,.15); background: rgba(0,0,0,.18); position: relative; z-index: 1; }
.trust-strip .wrap { display: flex; gap: 10px 36px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: .9rem; color: #D2E3D6; }
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip b { color: #fff; }

/* ---------- disclosure ---------- */
.disclosure {
  background: var(--amber-soft);
  border: 1px solid #F5C9A8;
  border-radius: var(--radius);
  padding: 14px 20px;
  font-size: .85rem;
  color: #7A4218;
  margin: 26px auto;
}

/* ---------- sections ---------- */
section.band { padding: 72px 0; }
section.band.deep { background: var(--paper-deep); }
section.band.pine { background: var(--pine); color: #DFEDE2; }
section.band.pine h2 { color: #F7FBF7; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }

.card {
  background: var(--white);
  border: 1px solid #DCE6DA;
  box-shadow: 0 2px 12px -8px rgba(6,46,34,.22);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { aspect-ratio: 3/2; object-fit: cover; }
.card .pad { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card p { font-size: .95rem; color: #44544A; flex: 1; }
.card a.more { font-weight: 700; font-size: .92rem; color: var(--amber-dark); text-decoration: none; }
.card a.more:hover { text-decoration: underline; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white);
  border: 1px solid #DCE6DA;
  box-shadow: 0 2px 12px -8px rgba(6,46,34,.22);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--amber);
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

/* answer box (AEO) */
.answer-box {
  background: var(--white);
  border-left: 5px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 18px 0;
  box-shadow: 0 4px 14px -8px rgba(6,46,34,.22);
}
.answer-box h3 { margin-bottom: 6px; }
.answer-box p { font-size: .98rem; }

/* faq */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--pine);
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.5rem; color: var(--amber); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; font-size: .96rem; color: #44544A; }

/* table */
table.cost {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  font-size: .95rem;
}
table.cost th { background: var(--pine); color: #EAF3EC; text-align: left; padding: 13px 18px; font-weight: 700; }
table.cost td { padding: 12px 18px; border-top: 1px solid var(--line); }
table.cost tr:nth-child(even) td { background: var(--paper-deep); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .call-pill { font-size: 1.35rem; padding: 18px 36px; margin-top: 10px; }
.cta-band p.sub { color: #B9CFBF; max-width: 44em; margin: 8px auto 18px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--pine-dark);
  color: #9DB5A5;
  padding: 56px 0 110px;
  font-size: .88rem;
}
footer.site h4 { color: #E9F3EB; font-family: var(--font-display); margin-bottom: 12px; font-size: 1.05rem; }
footer.site a { color: #C2D6C7; text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 34px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; font-size: .8rem; line-height: 1.7; }

/* ---------- sticky mobile call bar ---------- */
.mobile-call {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(6, 46, 34, .96);
  backdrop-filter: blur(6px);
}
.mobile-call a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--amber);
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.1rem;
  padding: 14px;
  border-radius: 12px;
}

/* ---------- service page hero ---------- */
.page-hero { background: var(--pine); color: #DFEDE2; padding: 54px 0; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 90% -20%, rgba(255,107,44,.18), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #F7FBF7; margin-bottom: 12px; }
.page-hero p { max-width: 46em; color: #C2D6C7; }
.breadcrumbs { font-size: .82rem; margin-bottom: 18px; color: #9DB5A5; }
.breadcrumbs a { color: #C2D6C7; }

article.service-body { padding: 56px 0; }
article.service-body .wrap { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
article.service-body section { margin-bottom: 40px; }
article.service-body ul { padding-left: 22px; margin: 12px 0; }
article.service-body li { margin-bottom: 6px; }
.side-card {
  position: sticky; top: 90px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.side-card .call-pill { width: 100%; justify-content: center; font-size: 1.15rem; margin: 14px 0 10px; }
.side-card small { color: #5F6F64; display: block; }
.service-img { border-radius: var(--radius); margin: 18px 0 28px; box-shadow: var(--shadow); }

/* legal pages */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: #5F6F64; font-size: .88rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.35rem; margin-top: 36px; }
.legal p, .legal li { font-size: .96rem; color: #314237; }
.legal ul { padding-left: 22px; margin: 12px 0; }

/* reveal animation */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); animation: rise .7s ease forwards; }
  .reveal.d1 { animation-delay: .12s; }
  .reveal.d2 { animation-delay: .24s; }
  .reveal.d3 { animation-delay: .36s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .grid-2, article.service-body .wrap { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.main { display: none; }
  .side-card { position: static; }
}
@media (max-width: 640px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
  .mobile-call { display: block; }
  header.site .call-pill { display: none; }
  .utility-bar { display: none; }
  body { font-size: 16px; }
}

/* ---------- mobile-first refinements ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll table { min-width: 560px; }

.logo img { width: 40px; height: 40px; border-radius: 10px; }

@media (max-width: 640px) {
  section.band { padding: 44px 0; }
  .hero .wrap { padding-top: 36px; padding-bottom: 36px; gap: 26px; }
  .hero p.lede { font-size: 1.02rem; }
  .hero-cta { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-cta .call-pill { justify-content: center; font-size: 1.15rem; padding: 16px 20px; }
  .hero-note { text-align: center; }
  .hero-img { border-width: 3px; }
  .disclosure { font-size: .8rem; padding: 12px 14px; }
  h2 { font-size: 1.45rem; }
  .step { padding: 20px; }
  .step::before { font-size: 2rem; }
  .card .pad { padding: 18px 18px 20px; }
  .answer-box { padding: 16px 18px; }
  .faq summary { padding: 16px 44px 16px 16px; font-size: .98rem; }
  .faq details p { padding: 0 16px 16px; }
  .page-hero { padding: 36px 0; }
  article.service-body { padding: 36px 0; }
  .side-card { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  footer.site { padding: 40px 0 110px; }
  .cta-band .call-pill { font-size: 1.15rem; padding: 16px 24px; }
}

/* larger touch targets */
@media (pointer: coarse) {
  nav.main a, .faq summary, .call-pill { min-height: 44px; }
}

/* ---------- section header block ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: #45564B; }
section.band.pine .section-head p { color: #C6DACB; }
@media (max-width: 640px) { .section-head { margin-bottom: 28px; } }
