/* Septic & Drain Baton Rouge — shared stylesheet */
:root {
  --navy: #12324f;
  --navy-dark: #0c2439;
  --teal: #1a7a6d;
  --orange: #e8712b;
  --orange-dark: #cf5f1d;
  --cream: #f7f5f0;
  --ink: #22303c;
  --ink-soft: #4c5b68;
  --line: #e3e0d8;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(18, 50, 79, 0.08);
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4, .btn, nav, .topbar, .badge, .crumb, .footer-cta {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-dark);
  color: #cfe0ee;
  font-size: 14px;
  padding: 7px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.topbar a { color: #ffffff; text-decoration: none; font-weight: 600; }

/* ---------- Header / nav ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; flex-wrap: wrap; }
.logo { text-decoration: none; line-height: 1.15; }
.logo .brand { display: block; font-weight: 800; font-size: 21px; color: var(--navy); letter-spacing: -0.2px; }
.logo .tag { display: block; font-size: 12.5px; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { text-align: right; line-height: 1.2; }
.header-phone .lbl { font-size: 12px; color: var(--ink-soft); display: block; }
.header-phone a { font-size: 20px; font-weight: 800; color: var(--navy); text-decoration: none; }

nav.main { background: var(--navy); }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; }
nav.main a {
  display: block; padding: 11px 15px; color: #dbe7f1; text-decoration: none;
  font-size: 14.5px; font-weight: 600;
}
nav.main a:hover, nav.main a.active { background: var(--navy-dark); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 6px;
  text-decoration: none; font-weight: 700; font-size: 16px; border: 0; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-ghost:hover { border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: #eef4f9; padding: 54px 0 58px;
}
.hero h1 { font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; color: #fff; margin-bottom: 16px; letter-spacing: -0.5px; }
.hero .sub { font-size: 19px; max-width: 640px; color: #c9d9e6; margin-bottom: 26px; }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .fin-note { margin-top: 18px; font-size: 15px; color: #9fd8cd; font-weight: 600; }
.trust-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; font-size: 14px; color: #b9cbda; }
.trust-row span strong { color: #fff; display: block; font-size: 17px; }

/* ---------- Sections ---------- */
section.pad { padding: 52px 0; }
section.pad-tight { padding: 36px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #dfe9f2; }
.bg-navy h2 { color: #fff; }

h2.sec { font-size: clamp(24px, 3vw, 32px); color: var(--navy); margin-bottom: 14px; letter-spacing: -0.4px; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 720px; margin-bottom: 26px; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { color: var(--navy); font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 12px; }
.card .more { font-weight: 700; color: var(--teal); text-decoration: none; font-size: 15px; font-family: 'Segoe UI', Arial, sans-serif; }
.card .more:hover { text-decoration: underline; }

/* ---------- Article / content pages ---------- */
.page-head { background: var(--cream); border-bottom: 1px solid var(--line); padding: 34px 0 30px; }
.page-head h1 { font-size: clamp(26px, 3.6vw, 38px); color: var(--navy); line-height: 1.18; letter-spacing: -0.4px; margin-bottom: 10px; }
.page-head .sub { color: var(--ink-soft); font-size: 18px; max-width: 760px; }
.crumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.crumb a { color: var(--teal); text-decoration: none; }

.content-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding: 44px 0 56px; }
article.body h2 { font-size: 25px; color: var(--navy); margin: 34px 0 12px; letter-spacing: -0.3px; }
article.body h2:first-child { margin-top: 0; }
article.body h3 { font-size: 19px; color: var(--navy); margin: 24px 0 8px; }
article.body p { margin-bottom: 16px; }
article.body ul, article.body ol { margin: 0 0 16px 24px; }
article.body li { margin-bottom: 8px; }
article.body a { color: var(--teal); }
article.body .callout {
  background: var(--cream); border-left: 4px solid var(--teal); border-radius: 0 8px 8px 0;
  padding: 18px 20px; margin: 22px 0; font-size: 16px;
}
article.body .callout.fin { border-left-color: var(--orange); }
article.body table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15.5px; }
article.body th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px; }
article.body td { border: 1px solid var(--line); padding: 10px 12px; }
article.body tr:nth-child(even) td { background: var(--cream); }

/* ---------- Sidebar ---------- */
aside.rail .box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 22px;
}
aside.rail .box.cta { background: var(--navy); border: 0; color: #dfe9f2; }
aside.rail .box.cta h3 { color: #fff; }
aside.rail h3 { color: var(--navy); font-size: 18px; margin-bottom: 10px; }
aside.rail p { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; }
aside.rail .box.cta p { color: #c9d9e6; }
aside.rail ul { list-style: none; }
aside.rail li { margin-bottom: 9px; }
aside.rail li a { color: var(--teal); text-decoration: none; font-size: 15px; }
aside.rail li a:hover { text-decoration: underline; }
aside.rail .phone-big { display: block; font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; margin: 6px 0 14px; font-family: 'Segoe UI', Arial, sans-serif; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; margin-bottom: 22px; }
.step .num {
  counter-increment: step; flex: 0 0 44px; height: 44px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; font-family: 'Segoe UI', Arial, sans-serif;
}
.step .num::before { content: counter(step); }
.step h3 { color: var(--navy); font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Financing band ---------- */
.fin-band { background: linear-gradient(135deg, var(--teal) 0%, #135e54 100%); color: #eafaf6; }
.fin-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; }
.fin-band h2 { color: #fff; font-size: 24px; margin-bottom: 6px; letter-spacing: -0.3px; }
.fin-band p { max-width: 560px; font-size: 16px; }
.fin-band .small { font-size: 12.5px; opacity: 0.85; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--navy); font-family: 'Segoe UI', Arial, sans-serif; font-size: 16px; }
.faq details p { padding: 0 18px 16px; color: var(--ink-soft); }

/* ---------- Forms ---------- */
form.quote { display: grid; gap: 14px; }
form.quote label { font-size: 14px; font-weight: 700; color: var(--navy); font-family: 'Segoe UI', Arial, sans-serif; }
form.quote input, form.quote select, form.quote textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9c4b8; border-radius: 6px;
  font-size: 16px; font-family: inherit; background: #fff;
}
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
form.quote .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.quote .fine { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--navy); color: #dfe9f2; text-align: center; }
.cta-banner .wrap { padding-top: 46px; padding-bottom: 48px; }
.cta-banner h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); margin-bottom: 10px; }
.cta-banner p { max-width: 620px; margin: 0 auto 24px; }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-dark); color: #9fb4c6; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 46px 0 30px; }
footer.site h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 14px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 9px; }
footer.site a { color: #b8cbdb; text-decoration: none; }
footer.site a:hover { color: #fff; }
.footer-legal { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0 26px; font-size: 12.5px; line-height: 1.6; color: #7e94a8; }
.footer-legal p { margin-bottom: 8px; }

/* ---------- Mobile ---------- */
.mobile-call {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--orange); text-align: center; padding: 14px;
}
.mobile-call a { color: #fff; font-weight: 800; font-size: 17px; text-decoration: none; font-family: 'Segoe UI', Arial, sans-serif; }

@media (max-width: 860px) {
  .content-cols { grid-template-columns: 1fr; }
  .mobile-call { display: block; }
  body { padding-bottom: 58px; }
  .header-phone .lbl { display: none; }
  nav.main a { padding: 10px 11px; font-size: 13.5px; }
}
@media (max-width: 520px) {
  form.quote .row2 { grid-template-columns: 1fr; }
  .topbar .hide-m { display: none; }
}

/* ---------- Logo lockup ---------- */
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { display: block; border-radius: 10px; }
