/* Denver Septic Installation. One stylesheet for every page.
   Layout rule: headings, intros and buttons are centered. Lists and the form are
   left-aligned inside a centered block. No card grids. */
:root{
  --green:#2b221c; --green-2:#3d3027; --green-ink:#2b221c;
  --orange:#b5713f; --orange-ink:#8a4f28;
  --sand:#f5efe6; --line:#e6dccd; --ink:#2b221c; --muted:#6a5a4c; --white:#fff;
  --wrap:1080px; --narrow:720px; --radius:10px;
  --head:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif; --body:"Manrope",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;scroll-padding-top:84px}
body{margin:0;font-family:var(--body);font-size:17px;line-height:1.65;color:var(--ink);background:var(--white);overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:#2b221c}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
h1,h2,h3{font-family:var(--head);font-weight:800;line-height:1.14;margin:0;color:var(--green-ink);letter-spacing:-.022em;text-align:center;text-wrap:balance}
h1{font-size:clamp(2.1rem,6.4vw,3.6rem)}
h2{font-size:clamp(1.6rem,4vw,2.3rem)}
h3{font-size:1.3rem}
p{margin:0 0 1rem}
.hidden{display:none!important}
.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 20px}
.narrow{max-width:var(--narrow);margin-left:auto;margin-right:auto}
.skip{position:absolute;left:-999px;top:0;background:var(--white);padding:.6rem 1rem;z-index:100}
.skip:focus{left:8px;top:8px}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--white);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;max-width:1280px}
.nav a,.head-call,.lang{white-space:nowrap}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--green-ink);font-family:var(--head);font-weight:800;font-size:1.12rem;line-height:1.1;min-height:44px}
.brand .logo{flex:none;width:40px;height:40px;border-radius:9px;background:var(--green);display:grid;place-items:center}
.brand .logo svg{width:30px;height:30px}
.nav{display:none}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;align-items:center}
.nav a{display:block;padding:.65rem .7rem;text-decoration:none;color:var(--ink);font-weight:600;font-size:.95rem;border-radius:8px}
.nav a:hover{background:var(--sand)}
.head-actions{display:flex;align-items:center;gap:8px}
.lang{display:inline-flex;align-items:center;min-height:44px;padding:0 .7rem;border:1px solid var(--line);border-radius:8px;text-decoration:none;font-weight:600;font-size:.9rem;color:var(--ink)}
.site-header .head-call{display:none}
.menu-btn{width:46px;height:46px;border:1px solid var(--line);border-radius:8px;background:var(--white);display:grid;place-items:center;cursor:pointer;padding:0}
.menu-btn span,.menu-btn span::before,.menu-btn span::after{display:block;width:20px;height:2px;background:var(--green-ink);border-radius:2px;position:relative;content:""}
.menu-btn span::before{position:absolute;top:-6px}.menu-btn span::after{position:absolute;top:6px}
.mobile-menu{display:none;position:absolute;left:0;right:0;top:100%;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 14px 24px rgba(15,42,29,.14)}
.mobile-menu.open{display:block}
.mobile-menu ul{list-style:none;margin:0;padding:8px 20px 16px;text-align:center}
.mobile-menu a{display:block;padding:.85rem 0;text-decoration:none;color:var(--ink);font-weight:600;border-bottom:1px solid var(--line)}
.mobile-menu li:last-child a{border-bottom:0}
@media(min-width:1140px){
  .nav{display:block}.menu-btn,.mobile-menu,.mobile-menu.open{display:none}
}
@media(min-width:960px){
  .site-header .head-call{display:inline-flex}
}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:52px;padding:.8rem 1.4rem;border-radius:var(--radius);font-family:var(--head);font-weight:800;font-size:1.08rem;text-decoration:none;border:2px solid transparent;cursor:pointer;line-height:1.15;text-align:center}
.btn-primary{background:#fff;color:#2b221c;border-color:#fff}
.btn-primary:hover{background:#efe6d8;border-color:#efe6d8}
.site-header .btn-primary,.quote-box .btn-primary,.prose .btn-primary,.thanks .btn-primary{background:#2b221c;color:#fff;border-color:#2b221c}
.site-header .btn-primary:hover,.quote-box .btn-primary:hover,.prose .btn-primary:hover,.thanks .btn-primary:hover{background:#3d3027;border-color:#3d3027}
.btn-green{background:var(--green);color:var(--white)}
.btn-green:hover{background:var(--green-2)}
.btn-ghost{background:transparent;color:var(--white);border-color:rgba(255,255,255,.75)}
.btn-ghost:hover{background:rgba(255,255,255,.12)}
.btn-line{background:var(--white);color:var(--green-ink);border-color:var(--green)}
.btn-line:hover{background:var(--sand)}
.btn-sm{min-height:44px;padding:.5rem 1rem;font-size:.98rem}
.ctas{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:1.4rem}
.prose .ctas{margin-bottom:1.6rem}

/* ---------- hero (home) ---------- */
.hero{position:relative;isolation:isolate;color:var(--white);text-align:center;background:#211914;text-shadow:0 1px 18px rgba(0,0,0,.45)}
.hero-bg{position:absolute;inset:0;z-index:-2}
.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center top}
.hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(24,18,14,.62) 0%,rgba(24,18,14,.46) 45%,rgba(24,18,14,.12) 72%,rgba(24,18,14,.30) 100%)}
.hero .btn,.page-hero .btn{text-shadow:none}
.hero .wrap{padding-top:clamp(40px,5vw,72px);padding-bottom:clamp(190px,24vw,340px)}
.hero h1{color:var(--white);max-width:16ch;margin:0 auto}
.kicker{display:block;font-family:var(--head);font-weight:800;text-transform:uppercase;letter-spacing:.09em;font-size:.86rem;color:var(--orange-ink);margin-bottom:.8rem}
.hero .kicker,.band-green .kicker,.page-hero .kicker{color:#dba27a}
.hero .lead{font-size:1.16rem;max-width:54ch;margin:1.1rem auto 0;color:#f5efe6}
.hero .any-time{margin:1.1rem 0 0;font-size:.98rem;color:#e6dccf}

/* ---------- sections ---------- */
section{padding:clamp(52px,8vw,88px) 0}
.center{text-align:center}
.sec-head{text-align:center;max-width:var(--narrow);margin:0 auto 2rem}
.sec-head h2{padding-bottom:.9rem;margin-bottom:1rem;position:relative}
.sec-head h2::after{content:"";position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:64px;height:4px;border-radius:2px;background:var(--orange)}
.sec-head p{color:var(--muted);margin:0}
.band-sand{background:var(--sand)}
.band-green{background:var(--green);color:var(--white)}
.band-green h2,.band-green h3{color:var(--white)}
.band-green .sec-head p{color:#e6dccf}
.band-green a:not(.btn){color:#e3b594}

/* price statement: the whole legal sentence, always together */
.price{padding:clamp(36px,6vw,56px) 0;background:var(--sand);border-bottom:1px solid var(--line);text-align:center}
.price p{max-width:60ch;margin:0 auto;font-size:1.08rem}
.price strong{display:block;font-family:var(--head);font-size:clamp(1.4rem,4.2vw,2rem);line-height:1.2;color:var(--green-ink);margin-bottom:.6rem}
.prose .price-note{background:var(--sand);border-left:4px solid var(--orange);padding:1rem 1.1rem;border-radius:0 var(--radius) var(--radius) 0;text-align:left}

/* services: stacked rows, not cards */
.rows{max-width:var(--narrow);margin:0 auto;text-align:center}
.rows > div{padding:1.6rem 0;border-top:1px solid var(--line)}
.rows > div:first-child{border-top:0;padding-top:0}
.rows h3{margin-bottom:.5rem}
.rows p{margin:0 0 .5rem;color:var(--muted)}
.rows a{font-weight:600;display:inline-block;padding:.7rem 0}

/* lists: left-aligned inside a centered block */
.list-block{display:table;margin:0 auto;text-align:left;max-width:var(--narrow)}
ul.ticks,ol.steps{margin:0;padding:0;list-style:none}
ul.ticks li{position:relative;padding:.45rem 0 .45rem 2rem}
ul.ticks li::before{content:"";position:absolute;left:.2rem;top:.95rem;width:.9rem;height:.5rem;border-left:3px solid var(--orange);border-bottom:3px solid var(--orange);transform:rotate(-45deg)}
ol.steps{counter-reset:s}
ol.steps li{counter-increment:s;position:relative;padding:.7rem 0 .7rem 3.2rem;min-height:3.2rem}
ol.steps li::before{content:counter(s);position:absolute;left:0;top:.7rem;width:2.3rem;height:2.3rem;border-radius:50%;background:transparent;border:2px solid var(--orange);color:var(--orange);font-family:var(--head);font-weight:800;display:grid;place-items:center}
ol.steps b{display:block;font-family:var(--head);font-size:1.15rem}

/* two columns that sit side by side on desktop, the row itself centered */
.split{display:grid;gap:28px;align-items:center;max-width:980px;margin:0 auto}
.split .txt{text-align:center}
.split .txt h2{margin-bottom:.9rem}
.split img{border-radius:var(--radius);width:100%}
@media(min-width:860px){.split{grid-template-columns:1fr 1fr;gap:48px}}
.inline-links{margin-top:1rem}
.inline-links a{font-weight:600;white-space:nowrap;display:inline-block;padding:.6rem 0}

/* FAQ */
.faq{max-width:var(--narrow);margin:0 auto}
details{border-top:1px solid var(--line)}
details:last-child{border-bottom:1px solid var(--line)}
summary{cursor:pointer;list-style:none;padding:1.05rem 2.4rem 1.05rem 0;font-weight:600;position:relative;min-height:48px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";position:absolute;right:.4rem;top:.8rem;font-family:var(--head);font-size:1.6rem;line-height:1;color:var(--orange-ink)}
details[open] summary::after{content:"\2212"}
details p{margin:0 0 1.1rem;color:var(--muted)}

/* ---------- quote form ---------- */
.quote-box{max-width:640px;margin:0 auto;background:var(--white);color:var(--ink);border-radius:14px;padding:clamp(20px,4vw,34px);text-align:left;border:1px solid var(--line)}
.quote-box .field{margin-bottom:14px}
.quote-box label{display:block;font-weight:600;font-size:.95rem;margin-bottom:5px}
.quote-box .opt{font-weight:400;color:var(--muted)}
.quote-box input,.quote-box select,.quote-box textarea{width:100%;font:inherit;font-size:16px;padding:.8rem .85rem;border:1.5px solid #c9bcab;border-radius:8px;background:var(--white);color:var(--ink);min-height:50px}
.quote-box textarea{min-height:104px;resize:vertical}
.two-up{display:grid;gap:0 14px}
@media(min-width:560px){.two-up{grid-template-columns:1fr 1fr}}
.quote-box .btn{width:100%;margin-top:6px}
.quote-box .btn[aria-disabled=true]{opacity:.65;cursor:default}
.form-note{font-size:.86rem;color:var(--muted);margin:.8rem 0 0;text-align:center}
.band-green .quote-box a:not(.btn){color:var(--green)}
.form-msg{display:none;margin:.9rem 0 0;padding:.85rem 1rem;border-radius:8px;background:#f5ebe0;border:1px solid #d9b89c;font-weight:600;text-align:center}
.form-msg.show{display:block}
.hp{position:absolute;left:-5000px;width:1px;height:1px;overflow:hidden}
.or-call{text-align:center;margin:1.4rem 0 0}

/* ---------- inner pages ---------- */
.page-hero{position:relative;isolation:isolate;background:#211914;text-shadow:0 1px 18px rgba(0,0,0,.45);color:var(--white);text-align:center;padding:clamp(48px,8vw,88px) 0}
.page-hero::before{content:"";position:absolute;inset:0;z-index:-2;background:url(/images/leach-field-trench-1280.webp) center 60%/cover no-repeat}


.page-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(24,18,14,.62) 0%,rgba(24,18,14,.50) 45%,rgba(24,18,14,.74) 100%)}
@media (max-width:700px){.page-hero::before{background-image:url(/images/leach-field-trench-m-800.webp);background-position:center 60%}.hero .wrap{padding-bottom:240px}}
.page-hero h1{color:var(--white);max-width:22ch;margin:0 auto}
.page-hero .lead{max-width:56ch;margin:1rem auto 0;color:#ebe2d5;font-size:1.1rem}
.breadcrumb{font-size:.88rem;margin-bottom:1rem;color:#d8ccbd}
.breadcrumb a{color:#fff;display:inline-block;padding:.7rem 0}
.hero .lead a,.promise a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.hero .promise,.page-hero .promise{margin:1.2rem auto 0;max-width:46ch;font-weight:600;color:#e3b594}
.prose{max-width:var(--narrow);margin:0 auto;text-align:center}
.prose h2{margin:2.4rem 0 .9rem;font-size:clamp(1.5rem,3.8vw,2rem)}
.prose h2:first-child{margin-top:0}
.prose h3{margin:1.6rem 0 .5rem}
.prose ul,.prose ol{display:table;margin:0 auto 1.1rem;text-align:left;padding-left:1.2rem}
.prose li{margin:.35rem 0}
.prose figure{margin:2rem 0}
.prose figure img{border-radius:var(--radius);width:100%}
.prose table{margin:0 auto 1.2rem;border-collapse:collapse;text-align:left;width:100%}
.prose th,.prose td{padding:.6rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}
.prose th{font-family:var(--head);width:38%}
.prose.post{text-align:left}
.prose.post ul,.prose.post ol{display:block;margin:0 0 1.1rem;padding-left:1.3rem}
.post-meta{color:#d8ccbd;font-size:.92rem;margin-top:.8rem}
.post-list{max-width:var(--narrow);margin:0 auto;list-style:none;padding:0;text-align:center}
.post-list li{padding:1.5rem 0;border-top:1px solid var(--line)}
.post-list li:first-child{border-top:0;padding-top:0}
.post-list h2{font-size:1.4rem;margin-bottom:.4rem}
.post-list h2 a{text-decoration:none;color:var(--green-ink)}
.post-list h2 a:hover{text-decoration:underline}
.post-list p{margin:0;color:var(--muted)}
.related{max-width:var(--narrow);margin:2.4rem auto 0;text-align:center;border-top:1px solid var(--line);padding-top:2rem}
.related ul{list-style:none;padding:0;margin:1rem 0 0}
.related li{padding:0}
.related a{font-weight:600;display:inline-block;padding:.65rem 0}

/* ---------- footer ---------- */
.site-footer{background:#1f1813;color:#d8ccbd;text-align:center;padding:40px 0 34px;font-size:.95rem}
.site-footer .brand{justify-content:center;color:var(--white);display:inline-flex}
.site-footer .brand .logo{background:var(--green-2)}
.site-footer a{color:#fff}
.foot-contact{margin:.9rem 0 0}
.foot-links{list-style:none;margin:1.1rem 0 0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:2px 16px}
.foot-links a{display:inline-block;padding:.55rem .2rem;text-decoration:none}
.foot-links a:hover{text-decoration:underline}
.foot-legal{margin:1.1rem auto 0;max-width:62ch;font-size:.84rem;color:#a89887}
.foot-by{margin-top:.5rem}
.foot-by a{display:inline-block;padding:.5rem .2rem;font-weight:600}

/* ---------- sticky phone bar ---------- */
.callbar{position:fixed;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:60;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
body.past-hero .callbar{opacity:1;visibility:visible;transform:none}
.callbar a{display:none}
.callbar a.main{display:flex;align-items:center;gap:.45rem;min-height:46px;padding:0 1.05rem;border-radius:999px;font-family:var(--head);font-weight:800;font-size:.98rem;text-decoration:none;background:#2b221c;color:#fff;border:1.5px solid rgba(255,255,255,.75);box-shadow:0 6px 18px rgba(0,0,0,.28)}
.callbar a.main::before{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center/contain no-repeat}
body.typing .callbar{display:none}
@media(min-width:960px){.callbar{display:none}}

/* thanks page */
.thanks{min-height:60vh;display:grid;place-items:center;text-align:center}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* ---------- hero v4 (10/13): the install, words on the open side ---------- */
.hero{text-align:left;display:flex;align-items:center;min-height:min(78vh,760px)}
.hero>.wrap{width:100%}
.hero-bg img{object-position:right center}
.hero::after{background:linear-gradient(90deg,#1c1511 0%,#1c1511 30%,rgba(11,16,22,.82) 42%,rgba(11,16,22,.35) 56%,rgba(11,16,22,0) 70%)}
.hero .wrap{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(56px,7vw,96px)}
.hero h1{max-width:12ch;margin:0;font-size:clamp(2.5rem,5.6vw,4.4rem);line-height:1.03}
.hero .lead{margin:1.2rem 0 0;max-width:40ch}
.hero .ctas{justify-content:flex-start}
/* desktop: the photo is locked. The hero keeps the photo's own shape, so the whole picture
   scales with the window and never slides or re-crops as the width changes. */
@media (min-width:701px){
  .hero h1{text-align:left}
  /* picture keeps its own shape and scales with the window, but never grows taller than the screen */
  .hero{min-height:0;aspect-ratio:auto;height:min(56.04vw,calc(100svh - 67px));max-height:900px}
  .hero-bg img{object-position:center 35%}
  .hero .wrap{max-width:1280px;padding-top:24px;padding-bottom:24px}
  .hero h1{font-size:clamp(2.5rem,5.2vw,5.2rem)}
  .hero .kicker{font-size:clamp(.86rem,.95vw,1.05rem)}
  .hero .lead{font-size:clamp(1.1rem,1.35vw,1.4rem);max-width:38ch}
}
/* phone hero (10/13): its own tall photo. Headline sits in the open sky, the work shows
   clean under it, and the rest of the words sit on the dark panel below the photo. */
@media (max-width:700px){
  /* phone: the whole hero, down to the any-time line, fits the first screen */
  .hero{display:flex;flex-direction:column;height:calc(100svh - 66px);min-height:520px;max-height:800px;text-align:center;background:#1c1511}
  .hero-bg{inset:0 0 auto 0;height:66%}
  .hero-bg img{object-position:center 62%}
  .hero::after{inset:0 0 auto 0;height:66%;background:linear-gradient(180deg,rgba(24,18,14,.66) 0%,rgba(24,18,14,.42) 24%,rgba(24,18,14,0) 42%,rgba(24,18,14,0) 66%,#1c1511 100%)}
  .hero .wrap{display:flex;flex-direction:column;flex:1;width:100%;padding-top:18px;padding-bottom:16px}
  .hero .kicker{font-size:.72rem;letter-spacing:.07em;margin-bottom:.6rem}
  .hero h1{max-width:none;margin:0 auto;font-size:clamp(1.85rem,8.4vw,2.35rem);line-height:1.08;margin-bottom:auto}
  .hero .lead{margin:8px auto 0;max-width:36ch;font-size:1rem;line-height:1.45}
  .hero .ctas{justify-content:center;gap:10px}
  .hero .ctas .btn{flex:1 1 0;padding-left:.6rem;padding-right:.6rem}
  .hero .ctas .btn-primary{flex:1 1 100%}
  .hero .any-time{margin-top:.7rem;font-size:.9rem}
    .hero .ctas{margin-top:.8rem}
    .hero .ctas .btn{min-height:46px;padding-top:.6rem;padding-bottom:.6rem}
}

/* ---------- site visit area: next steps beside the form ---------- */
.visit{display:grid;gap:30px;max-width:1040px;margin:0 auto;align-items:start}
.visit .quote-box{width:100%}
.visit .next{order:2}
.visit .next h3{margin-bottom:.8rem;font-size:1.35rem}
@media(min-width:900px){.visit{grid-template-columns:1fr 1.2fr;gap:52px}.visit .next{order:0;padding-top:.6rem}}

/* ---------- client logo as the home button (10/13) ---------- */
.brand .brand-logo{display:block;height:46px;width:auto}
.site-footer .brand .brand-logo{height:72px;border-radius:10px}
@media (max-width:700px){.brand .brand-logo{height:40px}.site-footer .brand .brand-logo{height:60px}}
