/* ==========================================================
   LACONIA SEPTIC — STYLES
   Palette: paper white, deep lake-navy, ink, cool mist,
   one muted barn-red accent (used only for the call action).
   You can safely change the color values in :root below.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;500;600;700;800&display=swap');

:root{
  --paper:#ffffff;
  --mist:#f5f7f8;        /* light section band */
  --navy:#0b3c5d;        /* primary — lake navy */
  --navy-deep:#082f49;   /* darker navy for the hero */
  --ink:#1c1c1c;         /* body text */
  --slate:#5a6b74;       /* muted text */
  --line:#e3e8eb;        /* hairlines */
  --barn:#a6323b;        /* accent — used ONLY for the call CTA */
  --barn-deep:#8a2831;

  --wrap:1120px;
  --gap:clamp(1.25rem,4vw,2.5rem);
  --radius:6px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Libre Franklin",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--navy)}

/* ---------- layout helpers ---------- */
.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gap)}
.band{padding-block:clamp(3rem,7vw,5.5rem)}
.band--mist{background:var(--mist)}
.lede{font-size:1.15rem;color:var(--slate);max-width:60ch}
.eyebrow{font-size:.82rem;font-weight:600;letter-spacing:.02em;color:var(--barn)}
.center{text-align:center}

/* ---------- type scale ---------- */
h1,h2,h3{line-height:1.12;font-weight:700;color:var(--navy);letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,5.5vw,3.5rem);font-weight:800}
h2{font-size:clamp(1.6rem,3.5vw,2.3rem);margin-bottom:.6em}
h3{font-size:1.2rem;margin-bottom:.35em}
p{max-width:68ch;margin-bottom:1rem}
p:last-child{margin-bottom:0}

/* ---------- header / nav ---------- */
.site-head{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(150%) blur(6px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;
  min-height:66px}
.brand{display:flex;align-items:center;gap:.6rem;font-weight:800;color:var(--navy);
  font-size:1.15rem;text-decoration:none;letter-spacing:-.01em}
.brand .mark{width:26px;height:26px;flex:0 0 auto}
.nav-links{display:flex;gap:1.4rem;align-items:center;list-style:none}
.nav-links a{color:var(--ink);text-decoration:none;font-weight:500;font-size:.95rem}
.nav-links a:hover{color:var(--navy)}
.nav-call{background:var(--barn);color:#fff !important;padding:.55rem 1rem;
  border-radius:var(--radius);font-weight:600;font-size:.95rem;white-space:nowrap}
.nav-call:hover{background:var(--barn-deep)}

/* Resources dropdown */
.has-drop{position:relative}
.drop-toggle{background:none;border:0;cursor:pointer;font:inherit;color:var(--ink);
  font-weight:500;font-size:.95rem;padding:0;display:inline-flex;align-items:center;gap:.3rem}
.drop-toggle:hover{color:var(--navy)}
.drop-toggle::after{content:"";width:.42em;height:.42em;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);margin-top:-.15em;transition:transform .15s ease}
.has-drop.open .drop-toggle::after{transform:rotate(-135deg);margin-top:.15em}
.drop-menu{position:absolute;top:calc(100% + .6rem);left:0;min-width:200px;background:#fff;
  border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 24px rgba(8,31,46,.10);
  list-style:none;padding:.4rem;display:none;z-index:60}
.has-drop.open .drop-menu{display:block}
.drop-menu li{margin:0}
.drop-menu a{display:block;padding:.55rem .7rem;border-radius:4px;text-decoration:none;
  color:var(--ink);font-size:.95rem;font-weight:500}
.drop-menu a:hover{background:var(--mist);color:var(--navy)}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;padding:.4rem}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--ink);margin:4px 0}

/* ---------- hero ---------- */
.hero{background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);
  color:#eaf2f6;position:relative;overflow:hidden}
.hero.has-hero-img{background-size:cover;background-position:center 40%;background-repeat:no-repeat}
.hero.has-hero-img::after{opacity:.5}
.hero .wrap{padding-block:clamp(3.5rem,8vw,6rem);position:relative;z-index:2}
.hero h1{color:#fff;max-width:16ch}
.hero p{color:#c8dae4;font-size:1.2rem;max-width:52ch;margin-top:1.1rem}
.hero-actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.9rem}
.btn{display:inline-flex;align-items:center;gap:.5rem;padding:.85rem 1.5rem;
  border-radius:var(--radius);font-weight:600;text-decoration:none;font-size:1.02rem;
  transition:background .15s ease,color .15s ease}
.btn-call{background:var(--barn);color:#fff}
.btn-call:hover{background:#b8404a}
.btn-ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.5)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
/* subtle lake horizon line motif — pure CSS, no image */
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:38%;
  background:
    repeating-linear-gradient(90deg,transparent 0 40px,rgba(255,255,255,.03) 40px 41px);
  z-index:1;pointer-events:none}

/* ---------- service grid ---------- */
.svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:1.5rem;margin-top:2rem}
.svc{border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;
  background:var(--paper);text-decoration:none;color:inherit;display:block;
  transition:border-color .15s ease,transform .15s ease}
.svc:hover{border-color:var(--navy);transform:translateY(-2px)}
.svc .ic{width:30px;height:30px;color:var(--navy);margin-bottom:.9rem}
.svc h3{color:var(--navy)}
.svc p{font-size:.96rem;color:var(--slate);margin-bottom:.6rem}
.svc .more{font-weight:600;font-size:.9rem;color:var(--navy)}

/* ---------- feature / callout ---------- */
.callout{display:grid;grid-template-columns:1.3fr 1fr;gap:var(--gap);align-items:center}
.callout .panel{background:var(--navy);color:#eaf2f6;border-radius:var(--radius);
  padding:2rem;min-height:220px;display:flex;flex-direction:column;justify-content:center}
.callout .panel h3{color:#fff}
.callout .panel p{color:#c8dae4}
.note{font-size:.9rem;color:var(--slate);border-left:3px solid var(--line);
  padding-left:1rem;margin-top:1.25rem}

/* ---------- image slots (empty = colored panel, no broken img) --- */
.imgslot{background:var(--mist);border:1px solid var(--line);border-radius:var(--radius);
  min-height:260px;display:flex;align-items:center;justify-content:center;
  color:var(--slate);font-size:.9rem;text-align:center;padding:1rem}
.imgslot.has-img{background:none;border:0;min-height:0;padding:0}
.imgslot.has-img img{border-radius:var(--radius);width:100%;height:100%;object-fit:cover}

/* ---------- lists ---------- */
.checks{list-style:none;margin:1rem 0}
.checks li{position:relative;padding-left:1.7rem;margin-bottom:.6rem;max-width:66ch}
.checks li::before{content:"";position:absolute;left:0;top:.5em;width:12px;height:12px;
  border-left:2px solid var(--navy);border-bottom:2px solid var(--navy);
  transform:rotate(-45deg)}

/* ---------- steps (real sequence, so numbering is honest) ---- */
.steps{counter-reset:step;display:grid;gap:1.1rem;margin-top:1.5rem}
.step{position:relative;padding-left:3.2rem}
.step::before{counter-increment:step;content:counter(step);position:absolute;left:0;top:0;
  width:2.1rem;height:2.1rem;background:var(--navy);color:#fff;border-radius:50%;
  display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.95rem}
.step h3{margin-bottom:.15em}
.step p{font-size:.96rem;color:var(--slate)}

/* ---------- towns ---------- */
.town-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:.75rem;margin-top:1.5rem}
.town-grid a{display:block;padding:.85rem 1rem;border:1px solid var(--line);
  border-radius:var(--radius);text-decoration:none;color:var(--ink);font-weight:500;
  transition:border-color .15s ease,color .15s ease}
.town-grid a:hover{border-color:var(--navy);color:var(--navy)}

/* ---------- final CTA ---------- */
.cta{background:var(--navy);color:#eaf2f6;text-align:center}
.cta h2{color:#fff}
.cta p{color:#c8dae4;margin:0 auto 1.6rem;max-width:48ch}

/* ---------- footer ---------- */
.site-foot{background:#071f2e;color:#9fb6c2;font-size:.92rem;padding-block:2.5rem}
.site-foot a{color:#cfe0e9}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:2rem}
.foot-grid h4{color:#fff;font-size:.95rem;margin-bottom:.7rem}
.foot-grid ul{list-style:none}
.foot-grid li{margin-bottom:.4rem}
.disclosure{border-top:1px solid rgba(255,255,255,.12);margin-top:2rem;padding-top:1.4rem;
  font-size:.85rem;color:#7f97a4;max-width:80ch}
.disclosure strong{color:#b9cdd8}

/* ---------- content pages ---------- */
.page-hero{background:var(--mist);border-bottom:1px solid var(--line)}
.page-hero .wrap{padding-block:clamp(2.5rem,6vw,4rem)}
.breadcrumb{font-size:.88rem;color:var(--slate);margin-bottom:.8rem}
.breadcrumb a{color:var(--slate);text-decoration:none}
.breadcrumb a:hover{color:var(--navy)}
.prose h2{margin-top:2.2rem}
.prose h3{margin-top:1.6rem;color:var(--ink)}
.prose{max-width:72ch}
.faq{border-top:1px solid var(--line);margin-top:2rem}
.faq details{border-bottom:1px solid var(--line);padding:1rem 0}
.faq summary{font-weight:600;cursor:pointer;color:var(--navy);list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary::before{content:"+";display:inline-block;width:1.2em;color:var(--barn);font-weight:700}
.faq details[open] summary::before{content:"–"}
.faq p{margin-top:.7rem}

/* ---------- responsive ---------- */
@media(max-width:820px){
  .callout{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .nav-links{position:absolute;top:66px;left:0;right:0;background:#fff;
    flex-direction:column;align-items:flex-start;gap:0;padding:.5rem var(--gap);
    border-bottom:1px solid var(--line);display:none}
  .nav-links.open{display:flex}
  .nav-links li{width:100%;padding:.5rem 0;border-bottom:1px solid var(--line)}
  .nav-links li:last-child{border-bottom:0}
  .nav-toggle{display:block}
  /* dropdown behaves inline inside the mobile menu */
  .drop-menu{position:static;display:block;border:0;box-shadow:none;padding:.2rem 0 .2rem 1rem;min-width:0}
  .drop-toggle::after{display:none}
  .drop-menu a{padding:.5rem 0}
  .foot-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{transition:none !important;scroll-behavior:auto}}

/* keyboard focus visibility */
a:focus-visible,button:focus-visible,summary:focus-visible{
  outline:3px solid var(--barn);outline-offset:2px;border-radius:3px}
