/* =====================================================================
   Tar Heel Pest Pros — site styles
   Identity: deep Carolina azure (trust) + warm coral (act now) + green
   Display: Bricolage Grotesque   Body: Inter
   Mobile-first. One stylesheet drives the whole site.
   ===================================================================== */

:root {
  --ink:        #14202f;
  --pine:       #2f5a96;
  --pine-dark:  #264a7d;
  --pine-deep:  #1a3459;
  --moss:       #f2b52d;
  --sun:        #d2413c;
  --sun-dark:   #b32e29;
  --paper:      #f5f8fc;
  --sand:       #e5edf7;
  --sand-deep:  #d3e0f0;
  --line:       #ccdaeb;
  --slate:      #4c5d72;
  --white:      #ffffff;

  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(26,52,89,.07), 0 8px 28px rgba(26,52,89,.10);
  --shadow-lg: 0 18px 50px rgba(17,36,63,.22);

  --display: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* AEO quick-answer block (city × service) */
.quickans { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--pine);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.quickans h2 { font-size: 1.32rem; margin: 0 0 .5rem; color: var(--ink); }
.quickans p { margin: 0 0 .65rem; color: var(--slate); }
.quickans__season { font-size: .94rem; border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .2rem !important; }
.quickans__season b { color: var(--pine-dark); }
@media (min-width: 720px) { .quickans { padding: 26px 30px; } .quickans h2 { font-size: 1.5rem; } }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1rem; }
a { color: var(--pine); }

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

/* Default inline-icon size — prevents unsized SVGs from blowing up buttons,
   eyebrows and links. Explicit rules below (with a class) override this. */
svg { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 56px 0; }
.section--tight { padding: 40px 0; }
.section--sand { background: var(--sand); }
.section--pine { background: var(--pine-deep); color: #e9f1ec; }
.section--pine h2, .section--pine h3 { color: #fff; }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--moss);
  margin: 0 0 .7rem;
  display: inline-flex;
  align-items: center;
  gap: .5ch;
}
.section--pine .eyebrow { color: #7fd2b0; }

.lede { font-size: 1.12rem; color: var(--slate); max-width: 64ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5ch;
  font-family: var(--body); font-weight: 700; font-size: .93rem;
  padding: .68em 1.15em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  line-height: 1.1; white-space: nowrap; max-width: 100%;
}
.btn:active { transform: translateY(1px); }
.btn--call { background: var(--sun); color: #ffffff; box-shadow: 0 6px 18px rgba(210,65,60,.36); }
.btn--call:hover { background: var(--sun-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--pine { background: var(--pine); color: #fff; }
.btn--pine:hover { background: var(--pine-dark); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,250,246,.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; line-height: 1; }
.brand__name span { display:none; font-family: var(--body); font-weight:600; font-size:.64rem; letter-spacing:.1em; text-transform:uppercase; color: var(--moss); margin-top:3px; white-space:nowrap; }
.nav { display: none; gap: 22px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--pine); }
.header-call { display: none; }
.header-call .btn { padding: .62em 1.1em; font-size: .95rem; }
.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 20px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }

/* ---------- hero ---------- */
.hero { position: relative; background: linear-gradient(170deg, var(--pine-deep), var(--pine-dark) 70%); color: #eaf2ed; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 460px; height: 460px;
  background: radial-gradient(circle at center, rgba(46,139,106,.5), transparent 62%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 52px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero__lede { color: #bfe0d2; font-size: 1.15rem; max-width: 52ch; margin-bottom: 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; color: #a9d2c1; }
.hero__trust span { display: inline-flex; align-items: center; gap: .5ch; }
.hero__trust svg { width: 17px; height: 17px; color: var(--sun); flex: none; }

/* ---------- lead form ---------- */
.lead-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-lg); margin-top: 28px; width: 100%; max-width: 300px; margin-left: auto; margin-right: auto; }
.lead-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.lead-card .sub { color: var(--slate); font-size: .9rem; margin-bottom: 14px; }
.ls-embed { display: flex; justify-content: center; }
.ls-embed iframe { display: block; max-width: 100%; }
.ls-call { display: flex; align-items: center; justify-content: center; gap: .5ch; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: .88rem; color: var(--pine); text-decoration: none; text-align: center; }
.ls-call:hover { color: var(--sun-dark); }
.field { margin-bottom: 11px; }
.field label { display:block; font-size:.82rem; font-weight:700; margin-bottom:4px; color:var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 13px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--body); font-size: 1rem; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(46,139,106,.3); border-color: var(--moss); }
.field--hp { position: absolute; left: -9999px; }
.form-note { font-size: .78rem; color: var(--slate); margin-top: 8px; }

/* ---------- trust bar ---------- */
.trustbar { background: var(--pine); color: #dff0e8; }
.trustbar .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; padding: 22px 20px; }
.trustbar .item { display: flex; gap: 11px; align-items: flex-start; }
.trustbar svg { width: 26px; height: 26px; color: var(--sun); flex: none; }
.trustbar b { display: block; color: #fff; font-family: var(--display); font-size: 1rem; }
.trustbar small { color: #a9d2c1; }

/* ---------- service grid ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.scard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; text-decoration: none; color: var(--ink); display: block;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.scard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--moss); }
.scard__ico { width: 44px; height: 44px; border-radius: 11px; background: var(--sand); display: grid; place-items: center; margin-bottom: 12px; }
.scard__ico svg { width: 24px; height: 24px; color: var(--pine); }
.scard h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.scard p { font-size: .92rem; color: var(--slate); margin: 0; }
.scard__more { display:inline-block; margin-top:10px; font-weight:700; font-size:.88rem; color: var(--pine); }

/* ---------- signature: local pest-pressure card ---------- */
.pressure {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: var(--shadow);
}
.pressure__head {
  background: linear-gradient(135deg, var(--pine), var(--pine-dark));
  color: #fff; padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.pressure__head svg { width: 30px; height: 30px; color: var(--sun); flex: none; }
.pressure__head b { font-family: var(--display); font-size: 1.15rem; display: block; }
.pressure__head small { color: #a9d2c1; font-size: .82rem; }
.pressure__body { padding: 20px; }
.pressure__row { padding: 13px 0; border-bottom: 1px dashed var(--line); }
.pressure__row:last-child { border-bottom: 0; padding-bottom: 0; }
.pressure__row b { font-family: var(--display); font-size: 1rem; color: var(--pine-dark); display:block; margin-bottom:2px; }
.pressure__row p { font-size: .94rem; color: var(--ink); margin: 0; }

/* ---------- process ---------- */
.steps { display: grid; gap: 14px; grid-template-columns: 1fr; counter-reset: step; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step__n { counter-increment: step; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--sun); color:#2a1500; display:grid; place-items:center; font-family: var(--display); font-weight: 800; }
.step__n::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.step p { font-size: .94rem; color: var(--slate); margin: 0; }

/* ---------- generic prose lists ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--moss); flex: none; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 17px 0; font-family: var(--display); font-weight: 700; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sun); font-size: 1.5rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 18px; margin: 0; color: var(--slate); }

/* ---------- area links ---------- */
.arealinks { columns: 2; column-gap: 24px; }
.arealinks a { display: block; padding: 6px 0; text-decoration: none; color: var(--pine); font-size: .94rem; border-bottom: 1px solid var(--line); }
.arealinks a:hover { color: var(--sun-dark); }

/* ---------- CTA band ---------- */
.ctaband { background: linear-gradient(135deg, var(--sun), var(--sun-dark)); color: #2a1500; text-align: center; }
.ctaband h2 { color: #2a1500; }
.ctaband .btn--pine { background: var(--pine-deep); }
.ctaband .phone-big { font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 6vw, 2.25rem); color: var(--pine-deep); text-decoration: none; display: inline-block; margin: 6px 0 14px; white-space: nowrap; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .82rem; color: var(--slate); padding: 12px 0; }
.crumbs a { color: var(--slate); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }
.crumbs span { margin: 0 6px; color: var(--line); }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-deep); color: #b9d2c7; font-size: .92rem; }
.site-footer .wrap { padding: 44px 20px 28px; }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: .7rem; }
.footer-grid a { color: #b9d2c7; text-decoration: none; display: block; padding: 3px 0; }
.footer-grid a:hover { color: var(--sun); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.12); margin-top: 30px; padding-top: 18px; font-size: .8rem; color: #87a89b; }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--pine-deep); box-shadow: 0 -6px 22px rgba(0,0,0,.2);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 8px; text-decoration: none; font-weight: 800; font-family: var(--display); }
.callbar a svg { width: 19px; height: 19px; }
.callbar .c-call { background: var(--sun); color: #2a1500; }
.callbar .c-quote { color: #fff; }

/* ---------- intro / content blocks ---------- */
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
.prose h2 { margin-top: 1.4rem; }
.prose h3 { margin-top: 1.2rem; }
.tag { display:inline-block; background: var(--sand-deep); color: var(--pine-dark); font-size:.74rem; font-weight:700; padding:4px 10px; border-radius:999px; letter-spacing:.04em; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (min-width: 720px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .trustbar .wrap { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.2fr .8fr; align-items: start; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .section { padding: 72px 0; }
  .brand__name span { display:block; }
}
@media (min-width: 960px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .nav { display: flex; }
  .header-call { display: block; }
  .menu-toggle { display: none; }
  .callbar { display: none; }                 /* desktop: no sticky bar */
  body { padding-bottom: 0 !important; }
  .hero .wrap { padding-top: 76px; padding-bottom: 76px; }
  .hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
  .lead-card { margin-top: 0; margin-left: auto; margin-right: 0; }
}
@media (max-width: 959px) {
  body { padding-bottom: 58px; }              /* room for sticky call bar */
}
@media (max-width: 560px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .brand__name { font-size: 1rem; }
  .brand__name span { font-size: .58rem; }
  h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .ctaband .phone-big { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ---------- a11y ---------- */
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* Local-angle callouts (per-city differentiation) */
.angles { display: grid; gap: 12px; margin: 1.4rem 0 1.6rem; }
.angle { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.angle b { display: flex; align-items: center; gap: 7px; color: var(--pine-dark); font-size: .98rem; }
.angle b svg { width: 16px; height: 16px; flex: none; }
.angle p { margin: .35rem 0 0; color: var(--slate); font-size: .94rem; }
@media (min-width: 720px) { .angles { grid-template-columns: 1fr 1fr; } }
