/* Lowcountry Septic Pros — site styles */
:root {
  --marsh-900: #0f2a26;
  --marsh-800: #163b35;
  --marsh-700: #1e4d45;
  --marsh-600: #2a6559;
  --marsh-100: #e6efe9;
  --sand-50: #faf7f0;
  --sand-100: #f3ecdc;
  --sand-300: #e0d2b0;
  --sun-500: #f2a531;
  --sun-600: #d98a14;
  --ink: #1b2422;
  --ink-soft: #4a5653;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 38, 0.12);
  --max: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--marsh-700); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; color: var(--marsh-900); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--sand-100); }
.section--dark { background: var(--marsh-900); color: var(--marsh-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sun-600); margin-bottom: .75rem;
}
.section--dark .eyebrow { color: var(--sun-500); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section--dark .section-head p { color: #b9cdc6; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--sun-500); outline-offset: 3px; }
.btn--primary { background: var(--sun-500); color: var(--marsh-900); box-shadow: 0 6px 18px rgba(242,165,49,.35); }
.btn--primary:hover { background: #f6b551; }
.btn--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--dark { background: var(--marsh-800); color: var(--white); }
.btn--dark:hover { background: var(--marsh-700); }
.btn svg { width: 20px; height: 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,240,.94); backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(15,42,38,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--marsh-900); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--font); font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--marsh-600); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--marsh-600); }
.header-call { padding: 10px 18px; font-size: .95rem; }
@media (max-width: 900px) {
  .nav a:not(.header-call) { display: none; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242,165,49,.22), transparent 60%),
    linear-gradient(160deg, var(--marsh-800) 0%, var(--marsh-900) 70%);
  padding: 90px 0 120px;
}
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--sun-500); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-lead { font-size: 1.2rem; color: #cfe0da; max-width: 52ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0; list-style: none; color: #cfe0da; font-weight: 600; font-size: .95rem; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--sun-500); flex: none; }
.hero-marsh { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; z-index: 0; }

.hero-card {
  background: var(--white); color: var(--ink); border-radius: 20px; padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.hero-card h2 { font-size: 1.5rem; margin-bottom: .25em; }
.hero-card p { color: var(--ink-soft); font-size: .98rem; }
.hero-card .big-phone {
  display: block; font-family: var(--display); font-size: 2rem; font-weight: 700;
  color: var(--marsh-800); text-decoration: none; margin: 8px 0 18px;
}
.hero-card .btn { width: 100%; }
.hero-card .divider { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .85rem; margin: 16px 0; }
.hero-card .divider::before, .hero-card .divider::after { content: ""; flex: 1; height: 1px; background: #e2e2dc; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 100px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  border: 1px solid rgba(15,42,38,.07); box-shadow: 0 2px 0 rgba(15,42,38,.03);
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--marsh-100); color: var(--marsh-700); margin-bottom: 18px;
}
.card-icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-soft); margin: 0; }
.card--urgent { background: var(--marsh-800); color: #cfe0da; border-color: transparent; }
.card--urgent h3 { color: var(--white); }
.card--urgent p { color: #cfe0da; }
.card--urgent .card-icon { background: var(--sun-500); color: var(--marsh-900); }
.card--urgent a { color: var(--sun-500); font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding-top: 58px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-family: var(--display); font-size: 1.2rem;
  background: var(--sun-500); color: var(--marsh-900);
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: #b9cdc6; margin: 0; }

/* Warning signs */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { width: 24px; height: 24px; flex: none; color: var(--sun-600); margin-top: 2px; }
.checklist strong { display: block; color: var(--marsh-900); }
.checklist span { color: var(--ink-soft); font-size: .97rem; }
.tip-box {
  background: var(--marsh-800); color: #cfe0da; border-radius: 20px; padding: 36px;
  position: relative; overflow: hidden;
}
.tip-box h3 { color: var(--white); font-size: 1.5rem; }
.tip-box .stat { font-family: var(--display); font-size: 3.2rem; font-weight: 700; color: var(--sun-500); line-height: 1; margin: 6px 0 10px; }
.tip-box ul { padding-left: 1.2em; margin: 16px 0 0; }
.tip-box li { margin-bottom: 6px; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 24px; list-style: none; }
.areas li {
  background: var(--white); border: 1px solid rgba(15,42,38,.1); border-radius: 999px;
  padding: 9px 18px; font-weight: 600; font-size: .95rem; color: var(--marsh-800);
}
.areas-note { color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 820px; }
.faq details {
  background: var(--white); border-radius: var(--radius); margin-bottom: 12px;
  border: 1px solid rgba(15,42,38,.08);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700;
  color: var(--marsh-900); position: relative; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--marsh-600); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 24px 20px; color: var(--ink-soft); }
.faq details > div p:last-child { margin: 0; }

/* Quote form */
.quote { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; gap: 32px; } }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .ci { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--sun-500); flex: none; }
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list a { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.contact-list small { display: block; color: #9fb8b0; font-size: .82rem; }

.form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } .form { padding: 24px; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--marsh-900); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #d5d8d2; background: #fcfcfa; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--marsh-600); box-shadow: 0 0 0 3px rgba(42,101,89,.15); }
.field textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; margin-top: 4px; }
.form-fine { font-size: .82rem; color: var(--ink-soft); margin: 12px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: #0a1f1c; color: #9fb8b0; padding: 56px 0 110px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.site-footer h4 { color: var(--white); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #cfe0da; text-decoration: none; }
.site-footer a:hover { color: var(--sun-500); }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer .brand-name small { color: #9fb8b0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; font-size: .85rem; }
@media (min-width: 761px) { .site-footer { padding-bottom: 40px; } }

/* Sticky mobile call bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: none;
  grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15,42,38,.97); box-shadow: 0 -6px 20px rgba(0,0,0,.2);
}
.mobile-bar .btn { padding: 13px 10px; font-size: .98rem; }
@media (max-width: 760px) { .mobile-bar { display: grid; } }

/* Simple page (thanks / 404) */
.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.simple-page p { color: var(--ink-soft); font-size: 1.15rem; max-width: 46ch; margin: 0 auto 28px; }
.simple-page .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

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

/* Compact header on phones */
.hc-short { display: none; }
.header-call { white-space: nowrap; }
@media (max-width: 560px) {
  .hc-full { display: none; }
  .hc-short { display: inline; }
  .brand-name { font-size: 1.05rem; }
  .brand-name small { display: none; }
  .brand svg { width: 36px; height: 36px; }
  .header-inner { height: 64px; }
  .eyebrow { font-size: .72rem; }
}

/* Service pages */
.hero--sub { padding: 56px 0 110px; }
.hero--sub h1 { max-width: 20ch; }
.crumbs { font-size: .88rem; color: #9fb8b0; margin-bottom: 18px; }
.crumbs a { color: #cfe0da; text-decoration: none; }
.crumbs a:hover { color: var(--sun-500); }
.split--top { align-items: start; }
.checklist--ok svg { color: var(--marsh-600); }
.checklist span { color: var(--ink); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band p { color: #b9cdc6; margin: 0; font-size: 1.1rem; }
.cta-band .hero-ctas { margin: 0; }
.related { margin-top: 14px; }
.related a { text-decoration: none; color: inherit; }
.related li:hover { border-color: var(--marsh-600); }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: " →"; color: var(--sun-600); }
.card h3 a:hover { color: var(--marsh-600); }
