/* ============================================================
   New Bern Septic Pros — workwear utilitarian
   pine green / warm paper / safety orange · Barlow + Barlow Condensed
   signature: soil-strata dividers (sand → clay → loam → pine)
   ============================================================ */

:root {
  --pine: #1e3d2b;
  --pine-deep: #142a1e;
  --paper: #f6f2e7;
  --paper-dark: #efe8d6;
  --sand: #e3d7b8;
  --clay: #b96a3a;
  --loam: #6b4a2e;
  --call: #e8590c;
  --call-dark: #c64a08;
  --ink: #20251f;
  --ink-soft: #4c5347;
  --line: rgba(32, 37, 31, 0.16);
  --disp: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); }
.shell { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.shell.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 99; }

/* ---------- signature strata divider ---------- */
.strata { display: flex; flex-direction: column; }
.strata i { display: block; }
.strata .s1 { height: 5px; background: var(--sand); }
.strata .s2 { height: 4px; background: var(--clay); }
.strata .s3 { height: 3px; background: var(--loam); }
.strata .s4 { height: 8px; background: var(--pine); }

/* ---------- kickers ---------- */
.kicker {
  font-family: var(--disp);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--clay);
  margin-bottom: 10px;
}
.kicker.light { color: var(--sand); }

/* ---------- header ---------- */
.microbar {
  background: var(--pine-deep);
  color: var(--sand);
  font-family: var(--disp);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 12.5px;
  padding: 6px 0;
}
.site-head { background: var(--paper); position: relative; z-index: 40; }
.head-row { display: flex; align-items: center; gap: 26px; padding: 14px 22px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--pine); }
.logo-mark { width: 34px; height: 30px; flex: none; }
.logo-text {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: 17px; line-height: 0.95; letter-spacing: 0.03em; color: var(--ink);
}
.logo-text em { font-style: normal; color: var(--clay); }
.logo.light .logo-text { color: var(--paper); }
.logo.light { color: var(--sand); }

.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 15px; text-decoration: none;
  color: var(--ink); padding: 8px 12px; border-bottom: 3px solid transparent;
}
.nav a:hover, .nav a.on { border-bottom-color: var(--call); }
.nav-item { position: relative; }
.nav-item .sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--pine-deep); padding: 8px 0; z-index: 60;
  box-shadow: 4px 4px 0 rgba(32,37,31,0.25);
}
.nav-item:hover .sub, .nav-item:focus-within .sub { display: block; }
.nav-item .sub a {
  display: block; color: var(--paper); font-size: 14px; padding: 9px 16px;
  border-bottom: none; letter-spacing: 0.06em;
}
.nav-item .sub a:hover { background: var(--pine); color: var(--sand); }
.caret { font-size: 11px; }

.head-cta { display: flex; align-items: center; gap: 12px; }
.phone-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--disp); font-weight: 700; font-size: 18px; letter-spacing: 0.04em;
  color: var(--pine); text-decoration: none;
  border: 2.5px solid var(--pine); padding: 7px 16px;
  background: var(--paper); box-shadow: 3px 3px 0 var(--pine);
  transition: all 0.12s ease;
  white-space: nowrap;
}
.phone-btn:hover { background: var(--call); border-color: var(--call-dark); color: #fff; box-shadow: 3px 3px 0 var(--call-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle i { display: block; width: 24px; height: 3px; background: var(--ink); margin: 5px 0; }

/* ---------- buttons ---------- */
.btn-call {
  display: inline-block; font-family: var(--disp); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em; font-size: 20px;
  background: var(--call); color: #fff; text-decoration: none;
  padding: 13px 26px; border: 2.5px solid var(--call-dark);
  box-shadow: 4px 4px 0 var(--call-dark); cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.btn-call:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--call-dark); }
.btn-call.big { font-size: 24px; padding: 15px 32px; }
.btn-ghost {
  display: inline-block; font-family: var(--disp); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em; font-size: 16px;
  color: var(--pine); text-decoration: none; padding: 14px 20px;
  border: 2px solid var(--pine);
}
.btn-ghost:hover { background: var(--pine); color: var(--paper); }
.plain-link { font-weight: 600; color: var(--pine); }
.plain-link.light { color: var(--sand); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 50px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(900px 420px at 88% -10%, rgba(30,61,43,0.07), transparent 65%);
  pointer-events: none;
}
.hero.compact { padding: 40px 0 34px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; position: relative; }
.hero h1 {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase;
  font-size: clamp(38px, 5.2vw, 62px); line-height: 0.98; letter-spacing: 0.01em;
  color: var(--ink); margin-bottom: 16px;
  animation: rise 0.5s ease both;
}
.hero.compact h1 { font-size: clamp(32px, 4.2vw, 48px); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 52ch; margin-bottom: 22px; animation: rise 0.5s 0.08s ease both; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 22px; animation: rise 0.5s 0.16s ease both; }
.trust-strip { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; animation: rise 0.5s 0.24s ease both; }
.trust-strip li {
  font-family: var(--disp); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft);
  padding-left: 22px; position: relative;
}
.trust-strip li::before {
  content: "✓"; position: absolute; left: 0; color: var(--call); font-weight: 800;
}
.hero-photo .photo {
  border: 3px solid var(--pine); box-shadow: 8px 8px 0 var(--sand);
  transform: rotate(-1deg); animation: rise 0.6s 0.18s ease both;
}
.hero-photo.small .photo { transform: rotate(1deg); box-shadow: 6px 6px 0 var(--sand); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-photo .photo img { display: block; }

/* ---------- emergency strip ---------- */
.emergency { background: var(--call); color: #fff; }
.emergency .shell { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.emergency p { font-size: 16.5px; flex: 1; }
.emergency strong { font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.05em; font-size: 18px; }
.em-btn {
  font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--call); background: #fff; text-decoration: none; padding: 8px 18px; font-size: 16px;
  white-space: nowrap;
}
.hz { width: 52px; align-self: stretch; flex: none;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,0.28) 0 10px, transparent 10px 20px); }

/* ---------- service cards ---------- */
.svc-grid-wrap { padding: 58px 0 50px; }
.svc-grid-wrap h2, .steps-wrap h2, .areas-wrap h2, .faq-wrap h2, .cta-band h2, .town-cards-wrap h2, .form-wrap h2 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.4vw, 38px); line-height: 1.04; margin-bottom: 24px;
}
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card {
  background: #fff; border: 2px solid var(--ink); padding: 22px 20px 18px;
  text-decoration: none; color: var(--ink); position: relative;
  border-top: 6px solid var(--pine);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
}
.svc-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--sand); border-top-color: var(--call); }
.svc-card h3 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.05; }
.svc-card .go { font-size: 22px; color: var(--call); font-weight: 700; }

/* ---------- content typography ---------- */
.content-wrap { padding: 30px 0 14px; }
.content h2 {
  font-family: var(--disp); font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.06;
  margin: 38px 0 14px; padding-top: 16px; position: relative;
}
.content h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 64px; height: 6px;
  background: linear-gradient(90deg, var(--sand) 0 33%, var(--clay) 33% 66%, var(--pine) 66%);
}
.content h3 { font-family: var(--disp); font-weight: 700; font-size: 21px; text-transform: uppercase; margin: 26px 0 8px; }
.content p { margin: 0 0 16px; color: var(--ink); }
.content ul, .content ol { margin: 0 0 18px 22px; }
.content li { margin-bottom: 7px; }
.content a { font-weight: 600; }
.content table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; background: #fff; border: 2px solid var(--ink); font-size: 15.5px; }
.content th { font-family: var(--disp); text-transform: uppercase; letter-spacing: 0.05em; font-size: 14px; background: var(--pine); color: var(--paper); text-align: left; padding: 10px 13px; }
.content td { padding: 10px 13px; border-top: 1px solid var(--line); }
.content tr:nth-child(even) td { background: var(--paper-dark); }
.content .callout {
  background: var(--sand); border-left: 6px solid var(--clay);
  padding: 16px 20px; margin: 22px 0;
}
.content .callout p:last-child { margin-bottom: 0; }

/* ---------- steps ---------- */
.steps-wrap { padding: 50px 0; background: var(--paper-dark); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step span {
  font-family: var(--disp); font-weight: 800; font-size: 56px; color: var(--sand);
  -webkit-text-stroke: 2px var(--clay); line-height: 1; display: block; margin-bottom: 8px;
}
.step h3 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 20px; margin-bottom: 6px; }
.step p { font-size: 15.5px; color: var(--ink-soft); }

/* ---------- areas ---------- */
.areas-wrap { background: var(--pine-deep); color: var(--paper); padding: 56px 0; }
.areas-sub { color: var(--sand); margin: -12px 0 24px; font-size: 17px; }
.town-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.town-link {
  font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--paper); text-decoration: none; font-size: 16px;
  border: 1.5px solid rgba(246,242,231,0.35); padding: 9px 16px;
  transition: all 0.12s ease;
}
.town-link em { font-style: normal; color: var(--sand); font-size: 13px; }
.town-link:hover { background: var(--paper); color: var(--pine-deep); }
.town-link:hover em { color: var(--clay); }

/* ---------- price band ---------- */
.price-band { background: var(--sand); padding: 34px 0; border-top: 2px solid var(--line); }
.price-note { font-family: var(--disp); font-weight: 700; font-size: clamp(21px, 2.6vw, 28px); line-height: 1.2; text-transform: none; margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-wrap { padding: 52px 0 40px; }
.faq { border: 2px solid var(--ink); background: #fff; margin-bottom: 10px; }
.faq summary {
  font-family: var(--disp); font-weight: 700; font-size: 19px; cursor: pointer;
  list-style: none; padding: 14px 48px 14px 18px; position: relative; text-transform: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .pl { position: absolute; right: 16px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); }
.faq .pl::before, .faq .pl::after { content: ""; position: absolute; background: var(--call); }
.faq .pl::before { left: 0; top: 7px; width: 16px; height: 3px; }
.faq .pl::after { left: 7px; top: 0; width: 3px; height: 16px; transition: transform 0.15s ease; }
.faq[open] .pl::after { transform: scaleY(0); }
.faq-a { padding: 0 18px 16px; color: var(--ink-soft); border-top: 1px dashed var(--line); }
.faq-a p { padding-top: 12px; }

/* ---------- related ---------- */
.related { padding: 14px 0 48px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rel-card {
  background: #fff; border: 2px solid var(--ink); padding: 14px 16px;
  font-family: var(--disp); font-weight: 700; font-size: 17px; line-height: 1.15;
  text-decoration: none; color: var(--ink); text-transform: uppercase;
}
.rel-card span { display: block; font-size: 11.5px; letter-spacing: 0.12em; color: var(--clay); margin-bottom: 4px; }
.rel-card:hover { border-color: var(--call); box-shadow: 4px 4px 0 var(--sand); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--pine); color: var(--paper); padding: 54px 0 58px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px;
  border: 18px solid rgba(246,242,231,0.07); border-radius: 50%;
}
.cta-kicker { font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; font-size: 14px; color: var(--sand); margin-bottom: 8px; }
.cta-band .cta-sub { color: var(--sand); margin: 8px 0 22px; }
.cta-band .btn-ghost { color: var(--paper); border-color: var(--sand); margin-left: 12px; }
.cta-band .btn-ghost:hover { background: var(--paper); color: var(--pine); }

/* ---------- town cards (areas hub) ---------- */
.town-cards-wrap { padding: 10px 0 54px; }
.town-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.town-card { background: #fff; border: 2px solid var(--ink); border-left: 8px solid var(--pine); padding: 20px 22px; text-decoration: none; color: var(--ink); }
.town-card:hover { border-left-color: var(--call); box-shadow: 5px 5px 0 var(--sand); }
.town-card h3 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 22px; margin-bottom: 6px; }
.town-card p { font-size: 15px; color: var(--ink-soft); margin-bottom: 10px; }
.town-card .dist { font-size: 13px; color: var(--loam); font-weight: 600; }
.town-card .go { font-family: var(--disp); font-weight: 700; text-transform: uppercase; font-size: 14px; color: var(--call); }

/* ---------- form ---------- */
.form-wrap { padding: 10px 0 56px; }
.req-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; border: 2px solid var(--ink); padding: 24px; }
.req-form label { font-family: var(--disp); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13.5px; display: flex; flex-direction: column; gap: 5px; }
.req-form label.full { grid-column: 1 / -1; }
.req-form input, .req-form select, .req-form textarea {
  font-family: var(--body); font-size: 16px; padding: 10px 12px;
  border: 2px solid var(--line); background: var(--paper); color: var(--ink);
}
.req-form input:focus, .req-form select:focus, .req-form textarea:focus { outline: 2px solid var(--call); }
.req-form .btn-call { grid-column: 1 / -1; justify-self: start; }
.form-note { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); }

/* ---------- photo ---------- */
.photo { margin: 0; }
.photo img { width: 100%; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-top: 42px; padding-bottom: 30px; }
.foot-brand p { font-size: 14.5px; color: rgba(246,242,231,0.75); margin: 14px 0; max-width: 34ch; }
.foot-phone {
  font-family: var(--disp); font-weight: 800; font-size: 26px; color: var(--paper);
  text-decoration: none; display: inline-block; border-bottom: 3px solid var(--call);
}
.foot-mail { margin-top: 8px; font-size: 14px; }
.foot-mail a { color: var(--sand); }
.site-foot h4 { font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 14px; color: var(--sand); margin-bottom: 12px; }
.foot-grid div a { display: block; color: rgba(246,242,231,0.85); text-decoration: none; font-size: 14.5px; padding: 3.5px 0; }
.foot-grid div a:hover { color: var(--call); }
.foot-legal { border-top: 1px solid rgba(246,242,231,0.15); padding-top: 16px; padding-bottom: 90px; font-size: 12.5px; color: rgba(246,242,231,0.55); }
.foot-legal a { color: rgba(246,242,231,0.7); }
.foot-legal p { margin-bottom: 6px; max-width: 90ch; }

/* ---------- sticky mobile call bar ---------- */
.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; }
.sticky-btn {
  display: block; text-align: center; background: var(--call); color: #fff;
  font-family: var(--disp); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  font-size: 19px; text-decoration: none; padding: 15px 10px;
  border-top: 3px solid var(--call-dark);
  box-shadow: 0 -4px 16px rgba(32,37,31,0.3);
}

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-photo { order: -1; }
  .hero-photo .photo { transform: none; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .town-cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .sticky-call { display: block; }
  .nav {
    display: none; position: fixed; inset: 0; background: var(--pine-deep);
    flex-direction: column; padding: 84px 26px 26px; gap: 2px; z-index: 70;
    overflow-y: auto; align-items: stretch;
  }
  body.nav-open .nav { display: flex; }
  .nav a { color: var(--paper); font-size: 20px; padding: 11px 4px; border-bottom: 1px solid rgba(246,242,231,0.12); }
  .nav-item .sub { display: block; position: static; box-shadow: none; background: transparent; padding-left: 14px; }
  .nav-item .sub a { font-size: 16px; color: var(--sand); }
  .nav-toggle { display: block; position: relative; z-index: 90; }
  body.nav-open .nav-toggle i { background: var(--paper); }
  .phone-btn { font-size: 16px; padding: 6px 10px; }
  .microbar { font-size: 10.5px; }
  .emergency .shell { flex-wrap: wrap; gap: 10px; }
  .hz { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .req-form { grid-template-columns: 1fr; }
  .cta-band .btn-ghost { margin-left: 0; margin-top: 12px; }
  .foot-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* Netlify honeypot — visually hidden, not display:none (bots must see it) */
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }

/* Form submission success state */
.req-sent { flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 40px 28px; }
.sent-check { flex-shrink: 0; }
.sent-kicker { font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; color: var(--call); margin: 0; }
.sent-head { font-family: var(--disp); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 26px; color: var(--ink); margin: 0; line-height: 1.1; }
.sent-body { color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 400px; margin: 0; }
.sent-cta { margin: 4px 0 0; }
