/* Coastal Termite Check */
:root {
  --sand: #f3eee4;
  --sand-2: #e7dece;
  --paper: #fffdf9;
  --ink: #1a2219;
  --muted: #5a6357;
  --pine: #1c3a30;
  --pine-2: #27493d;
  --moss: #3e6a50;
  --clay: #8c3f1f;
  --clay-hover: #732f16;
  --cream: #f7f1e6;
  --line: #d4cbbc;
  --focus: #c9a227;
  --error: #8a1f14;
  --ok: #2c5648;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(28, 58, 48, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
html { scroll-padding-top: 5.5rem; }
#area, #why, #how, #request { scroll-margin-top: 5.5rem; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
  color: var(--pine);
}
h1 { font-size: clamp(2.05rem, 6.4vw, 3.4rem); color: var(--cream); }
h2 { font-size: clamp(1.7rem, 4vw, 2.25rem); }
p { margin: 0 0 1em; }
a { color: inherit; }
button, input, select, textarea, label { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--paper);
  color: var(--pine);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--pine);
  font-weight: 600;
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name { font-family: var(--serif); font-size: 1.05rem; }
.brand-tag { font-size: 0.75rem; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a {
  text-decoration: none;
  color: var(--pine);
}
.nav a:hover { color: var(--clay); }
.nav-cta {
  background: var(--clay);
  color: #fff !important;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--clay-hover); color: #fff !important; }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 420px at 80% -10%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(180deg, var(--pine) 0%, #152e27 100%);
  color: var(--cream);
  padding: 3.2rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  background: url("../images/house-mark.svg") no-repeat center / contain;
  opacity: 0.1;
  pointer-events: none;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e2c58a;
  margin-bottom: 0.85rem;
}
.lede {
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  max-width: 36rem;
  color: #e8e0d2;
  margin-bottom: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clay);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  min-height: 48px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}
.btn:hover { background: var(--clay-hover); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Sections */
.section { padding: 3.2rem 0; }
.section.alt { background: var(--sand-2); }
.section-intro {
  max-width: 40rem;
  margin-bottom: 1.6rem;
  color: var(--muted);
}
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.4rem;
}

.towns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.towns li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.95rem;
  color: var(--pine);
}

.points, .steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  padding: 0;
  margin: 0;
  list-style: none;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.1rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset;
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.card p { margin: 0; color: var(--muted); }
.step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--clay);
  margin-bottom: 0.3rem;
}

/* Form */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.4rem 1.2rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 740px;
}
.form-panel h2 { margin-bottom: 0.25rem; }
.form-lead { color: var(--muted); margin-bottom: 1.2rem; }
fieldset {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}
legend {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pine);
  padding: 0;
  margin-bottom: 0.8rem;
}
.fields {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.field { display: flex; flex-direction: column; gap: 0.28rem; }
.field label { font-weight: 600; color: var(--pine); }
.hint { font-weight: 500; color: var(--muted); font-size: 0.9rem; }
.req { color: var(--clay); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid #c9c0b0;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: #fff;
  color: var(--ink);
  min-height: 48px;
  appearance: none;
}
select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='%231c3a30' d='M4 6l4 5 4-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  padding-right: 2.2rem;
}
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.98rem;
}
.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.25rem;
  flex: none;
  accent-color: var(--pine);
}
.privacy {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.9rem 0 0;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.site-footer {
  background: var(--pine);
  color: #d7ddd8;
  padding: 2rem 0;
  font-size: 0.95rem;
}
.site-footer p { margin: 0 0 0.4rem; }
.site-footer strong { color: var(--cream); font-family: var(--serif); font-weight: 600; }

@media (min-width: 700px) {
  .points, .fields.two { grid-template-columns: 1fr 1fr; }
  .form-panel { padding: 1.8rem 1.8rem 1.7rem; }
  .hero { padding: 4.2rem 0 4.5rem; }
  .nav { display: flex; }
}

@media (min-width: 900px) {
  .points, .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 699px) {
  .site-header { position: static; }
  .nav a:not(.nav-cta) { display: none; }
  .header-inner { min-height: 3.4rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 0.98rem; white-space: nowrap; }
  .brand-tag { display: none; }
  .nav-cta {
    white-space: nowrap;
    font-size: 0.88rem;
    padding: 0.45rem 0.85rem;
  }
}

/* Thank you */
.thanks-hero {
  padding: 4.5rem 0 5rem;
  text-align: left;
}
.thanks-hero h1 { color: var(--pine); }
.thanks-hero .lede { color: var(--muted); }
