/* ============================================================
   Lake County Bed Bug — design tokens
   Palette: charcoal ink, warm paper, ember (heat-treatment) accent,
   pine (trust/hygiene) secondary.
   Signature element: the "thermal read" gradient bar — a nod to
   heat-treatment, used as dividers and in the hero.
   ============================================================ */

:root {
  --ink: #1B2430;
  --ink-soft: #2E3A48;
  --paper: #F7F4EE;
  --paper-dim: #EFEAE0;
  --ember: #E2793D;
  --ember-deep: #C85A2A;
  --pine: #3F6C5E;
  --pine-deep: #2E4F45;
  --line: #DAD3C4;
  --white: #FFFFFF;
  --danger: #8C3A2B;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max-w: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 560; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--ember-deep);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- thermal divider (signature element) ---------- */
.thermal-bar {
  height: 5px;
  width: 100%;
  background: linear-gradient(90deg, var(--pine-deep) 0%, var(--pine) 22%, var(--ember) 68%, var(--ember-deep) 100%);
}
.thermal-rule {
  height: 2px;
  width: 64px;
  background: linear-gradient(90deg, var(--pine), var(--ember));
  border: none;
  margin: 2.4em 0;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--pine) 0%, var(--ember) 100%);
  flex-shrink: 0;
}
.brand .county {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.95em;
}

nav.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--ink);
}
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--ember);
}

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--pine-deep); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 13px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--ember);
  color: var(--white);
}
.btn-primary:hover { background: var(--ember-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero {
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lede { font-size: 1.15rem; max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 1.6em; flex-wrap: wrap; }

.hero-panel {
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(226,121,61,0.35), transparent 55%),
              radial-gradient(circle at 0% 100%, rgba(63,108,94,0.4), transparent 55%);
}
.hero-panel-inner { position: relative; z-index: 1; }
.hero-panel .label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C9C2B4;
  margin-bottom: 14px;
}
.thermal-scale {
  display: flex;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  margin: 18px 0 22px;
}
.thermal-scale div { flex: 1; }
.reading-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #C9C2B4;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 14px;
}
.reading-row strong { color: var(--paper); display: block; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }

/* ---------- trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  background: var(--paper-dim);
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.trust-strip span { display: flex; align-items: center; gap: 8px; }
.trust-strip span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pine);
}

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ember-deep);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}
.card h3 { margin-bottom: 0.5em; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step .step-index {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--pine);
  font-weight: 600;
}

.band-dark {
  background: var(--ink);
  color: var(--paper);
}
.band-dark p { color: #C9C2B4; }
.band-dark h2 { color: var(--paper); }

.cta-band {
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 0.4em; }
.cta-band p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- forms ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--pine);
  outline-offset: 1px;
}
.notice-box {
  background: #FBEFE6;
  border: 1px solid #EAC8A8;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--danger);
  margin-bottom: 24px;
}

/* ---------- list styling ---------- */
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.95rem;
}
.plain-list li:last-child { border-bottom: 1px solid var(--line); }
.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--pine-deep);
  white-space: nowrap;
}

.town-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 24px;
}
.town-grid span {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.93rem;
}

/* ---------- footer ---------- */
footer {
  background: var(--ink);
  color: #B9B2A4;
  padding: 56px 0 32px;
}
footer .wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
footer h4 {
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1em;
}
footer a { text-decoration: none; color: #B9B2A4; }
footer a:hover { color: var(--paper); }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  nav.main-nav { display: none; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .contact-layout { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .town-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { grid-template-columns: 44px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
