/* Treasure Valley Septic — shared stylesheet
   Mobile-first, fast-loading, no frameworks. */

:root {
  --green-950: #0b2e1a;
  --green-900: #0f3d23;
  --green-800: #14532d;
  --green-700: #166534;
  --green-100: #dcfce7;
  --green-50: #f0fdf4;
  --earth-700: #7c4a1e;
  --earth-600: #8b5e34;
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #1c2420;
  --muted: #5c665f;
  --line: #e5e0d5;
  --accent: #ea580c;
  --accent-dark: #c2410c;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(11, 46, 26, 0.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--green-800); }
h1, h2, h3 { line-height: 1.25; color: var(--green-950); margin: 0 0 0.6em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.55rem; margin-top: 0; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section.alt { background: var(--cream); }
.section.dark { background: var(--green-950); color: #e8f0ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: 0.6em;
}
.section.dark .eyebrow { color: var(--green-100); }
.lead { font-size: 1.12rem; color: var(--muted); }
.section.dark .lead { color: #c9d6cd; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--green-950);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; max-width: 1120px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand svg { flex: 0 0 auto; }
.brand-name { font-weight: 800; font-size: 1.05rem; line-height: 1.15; }
.brand-name small { display: block; font-weight: 500; font-size: 0.72rem; color: var(--green-100); letter-spacing: 0.04em; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }
.main-nav { display: none; }
.main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--green-950); padding: 8px 20px 20px; border-top: 1px solid rgba(255,255,255,0.12); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.main-nav a { display: block; padding: 12px 4px; color: #fff; text-decoration: none; font-weight: 600; }
.main-nav a:hover { color: var(--green-100); }
.header-call { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 14px 26px; border-radius: var(--radius); border: 0; cursor: pointer;
  font-size: 1rem; line-height: 1.2; text-align: center;
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-call { background: var(--accent); color: #fff; box-shadow: 0 3px 0 var(--accent-dark); }
.btn-call:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.btn-green { background: var(--green-800); color: #fff; }
.btn-green:hover { background: var(--green-900); color: #fff; }
.btn-block { display: block; width: 100%; }
.btn-lg { font-size: 1.15rem; padding: 17px 30px; }
.call-sticky-mobile {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: block; background: var(--accent); color: #fff;
  text-align: center; font-weight: 800; font-size: 1.1rem;
  padding: 15px; text-decoration: none; box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
body { padding-bottom: 58px; } /* room for sticky call bar on mobile */

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(22,101,52,0.9), transparent),
    linear-gradient(160deg, var(--green-950) 0%, var(--green-900) 60%, #0a2415 100%);
  color: #eef5ef; padding: 64px 0 72px;
}
.hero h1 { color: #fff; font-size: 2.3rem; margin-bottom: 0.4em; }
.hero .sub { font-size: 1.15rem; color: #d7e4da; max-width: 640px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 8px; max-width: 420px; }
.hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.98rem; color: #dbe7de; }
.hero-points svg { flex: 0 0 auto; margin-top: 4px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--cream); border-bottom: 1px solid var(--line); }
.trustbar-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; padding: 18px 20px; max-width: 1120px; margin: 0 auto; }
.trustbar-item { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.95rem; color: var(--green-900); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: 0.4em; }
.card h3 a { color: var(--green-950); text-decoration: none; }
.card h3 a:hover { color: var(--green-700); text-decoration: underline; }
.card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card .card-link { font-weight: 700; color: var(--accent-dark); text-decoration: none; }
.card .card-link:hover { text-decoration: underline; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--green-50);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* ---------- Why us / checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .check {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-700); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; margin-top: 2px;
}
.checklist strong { display: block; color: var(--green-950); }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; list-style: none; padding: 0; margin: 24px 0 0; }
.area-grid a { font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
.area-grid a:hover { text-decoration: underline; }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; gap: 20px; }
.testimonial {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.testimonial .stars { color: #d97706; letter-spacing: 2px; margin-bottom: 10px; font-size: 1.05rem; }
.testimonial blockquote { margin: 0 0 14px; font-style: italic; color: var(--ink); }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--green-900); font-size: 0.95rem; }
.disclaimer { font-size: 0.82rem; color: var(--muted); font-style: italic; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 12px; background: var(--paper); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--green-950);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green-700); font-weight: 400; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 20px; color: var(--muted); }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--green-800), var(--green-950));
  border-radius: var(--radius); padding: 40px 28px; text-align: center; color: #eaf3ec;
}
.cta-band h2 { color: #fff; }
.cta-band .phone-big {
  display: inline-block; font-size: 1.7rem; font-weight: 800; color: #fff;
  text-decoration: none; margin: 12px 0 20px; letter-spacing: 0.01em;
}
.cta-band .phone-big:hover { text-decoration: underline; }

/* ---------- Quote form ---------- */
.quote-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.95rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #c9c2b2; border-radius: 8px;
  font-size: 1rem; font-family: var(--font); background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--green-700); outline-offset: 1px; border-color: var(--green-700);
}
.form-2col { display: grid; gap: 16px; }
.form-success {
  text-align: center; padding: 36px 20px;
}
.form-success .ok {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-700); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 800; margin-bottom: 16px;
}

/* ---------- Content pages ---------- */
.page-hero { background: linear-gradient(160deg, var(--green-950), var(--green-900)); color: #eef5ef; padding: 48px 0; }
.page-hero h1 { color: #fff; margin-bottom: 0.35em; }
.page-hero p { color: #d7e4da; max-width: 700px; margin-bottom: 0; }
.breadcrumbs { font-size: 0.85rem; color: #b9c9bd; margin-bottom: 14px; }
.breadcrumbs a { color: #d7e4da; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.related { display: grid; gap: 16px; }
.related a { text-decoration: none; }
.two-col { display: grid; gap: 32px; }
.sidebar-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.sidebar-card h3 { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #c8d6cc; padding: 52px 0 28px; }
.footer-grid { display: grid; gap: 32px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #c8d6cc; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { font-size: 0.95rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 36px; padding-top: 20px; font-size: 0.85rem; display: flex; flex-direction: column; gap: 8px; }
.footer-call { color: #fff; font-weight: 800; font-size: 1.15rem; text-decoration: none; }

/* ---------- Desktop ---------- */
@media (min-width: 760px) {
  h1 { font-size: 2.6rem; }
  .hero h1 { font-size: 3rem; }
  .nav-toggle { display: none; }
  .main-nav { display: block !important; position: static; padding: 0; background: none; border: 0; }
  .main-nav ul { display: flex; gap: 26px; }
  .main-nav li { border: 0; }
  .main-nav a { padding: 6px 0; }
  .header-call { display: inline-block; }
  .hero-ctas { flex-direction: row; max-width: none; }
  .hero-points { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(4, 1fr); }
  .grid.cols-2 { grid-template-columns: 1fr 1fr; }
  .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1fr 340px; align-items: start; }
  .form-2col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .call-sticky-mobile { display: none; }
  body { padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding: 72px 0; }
}
