/* Straight Line Sewer Pros — Sand & Bronze (restyle v6, round 2)
   Palette: dark bronze-brown #4A3226, deeper bronze-brown #33241A,
   bronze #8C6A3C, sand #F1E8D8, cream #F8F4EC, body text #2E2118,
   white #FFFFFF, sand border #DDD2BE.
   Contrast (WCAG AA, normal text needs 4.5:1) — all verified:
   white on bronze 4.95:1 | dark bronze on sand 9.73:1 |
   dark bronze on white 11.83:1 | sand on deep bronze 12.27:1 |
   cream on dark bronze 10.78:1 | body text on sand 12.83:1 |
   white on dark bronze 11.83:1 | sand tint on deep bronze 11.31:1.
   Bronze #8C6A3C is used ONLY for buttons, rules, highlights and
   large accents — never for body text on sand.
   Rule 77: card treatment ONLY on inset cards, never full-width. */

/* ---- Base ---- */
*{box-sizing:border-box}
html{overflow-x:hidden}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#2E2118;background:#F1E8D8;line-height:1.6;font-size:17px}
img{max-width:100%;height:auto}
a{color:#4A3226}
a:hover{color:#8C6A3C}

/* ---- Header / topbar ---- */
.site-header{background:#4A3226;color:#fff}
.topbar{max-width:1100px;margin:0 auto;padding:10px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.logo{display:inline-flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-size:22px;font-weight:800;letter-spacing:.2px}
.logo-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 auto;background:transparent;color:#fff}
.logo-mark svg{width:100%;height:100%;display:block}
.phone-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;background:#8C6A3C;color:#fff;text-decoration:none;border-radius:6px;font-weight:700}
.phone-btn:hover{color:#fff;background:#6B4E2A}
.menu-btn{display:none;min-height:44px;padding:0 16px;background:#8C6A3C;color:#fff;border:2px solid #8C6A3C;border-radius:6px;font-size:16px;font-weight:700;cursor:pointer}

/* ---- Main nav + dropdowns ----
   Hover-open lives ONLY inside the min-width media query below.
   JS-driven .open works at every width (see .has-drop.open .drop). */
.main-nav{background:#33241A;border-bottom:3px solid #8C6A3C}
.nav-list{max-width:1100px;margin:0 auto;padding:0 20px;list-style:none;display:flex;gap:4px}
.nav-list>li{position:relative}
.nav-list>li>a{display:flex;align-items:center;min-height:44px;padding:0 18px;color:#F1E8D8;text-decoration:none;font-weight:700;letter-spacing:.3px;border-bottom:3px solid transparent;margin-bottom:-3px}
.nav-list>li>a:hover,.nav-list>li>a:focus{background:#4A3226;color:#fff;border-bottom-color:#8C6A3C}
.drop{display:none;position:absolute;left:0;top:100%;min-width:260px;background:#F8F4EC;list-style:none;margin:0;padding:8px 0;box-shadow:0 8px 24px rgba(0,0,0,.25);border:1px solid #DDD2BE;border-top:3px solid #8C6A3C;border-radius:0 0 8px 8px;z-index:50}
.drop a{display:block;min-height:44px;line-height:44px;padding:0 16px;color:#4A3226;text-decoration:none;border-left:3px solid transparent}
.drop a:hover{background:#F1E8D8;color:#4A3226;border-left-color:#8C6A3C}
.drop .view-all{font-weight:800;color:#8C6A3C;border-top:1px solid #DDD2BE;margin-top:6px}
.has-drop.open .drop{display:block}
@media(min-width:641px){
  .has-drop:hover .drop,.has-drop:focus-within .drop{display:block}
}

/* ---- Desktop nav restyle (min-width:641px only; phone rules untouched) ----
   Center the top-level links as a group with wide gaps (no stretching, no corner bunching),
   bronze pill hovers, and fully rounded dropdown cards. */
@media(min-width:641px){
  .nav-list{justify-content:center;gap:56px}
  .nav-list>li>a{margin:7px 2px;border-bottom:0;border-radius:999px;padding:0 24px}
  .nav-list>li>a:hover,.nav-list>li>a:focus{background:#8C6A3C;color:#fff}
  .drop{min-width:360px;border-radius:12px;box-shadow:0 14px 30px rgba(0,0,0,.28);padding:10px 0}
  .drop a{border-radius:8px;margin:2px 8px;white-space:nowrap}
  .drop li+li{border-top:1px solid #E8DFCB}
  .drop a:hover,.drop a:focus{background:#8C6A3C;color:#fff;border-left-color:#8C6A3C}
  .drop .view-all{border-top:0}
}

/* ---- Breadcrumbs ---- */
.crumbs{max-width:1100px;margin:0 auto;padding:16px 20px 0;font-size:15px}
.crumbs a{color:#4A3226}

main{padding-bottom:48px}

/* ---- Hero (round 2: FULL-BLEED image hero) ----
   Plain .hero keeps the old inset grid (fallback, unused by bands).
   .hero-band is a full-bleed image hero: the page's hero image is
   .hero-bg, first child of the section, covered by a dark bronze-brown
   scrim; .hero-inner sits above it with white/cream text. The old
   old split-grid hero rules are removed and must not return. */
.hero{max-width:1100px;margin:0 auto;padding:28px 20px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.hero-nophoto{grid-template-columns:1fr}
.hero-band{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;max-width:none;min-height:640px;background:#4A3226;padding:48px 20px}
.hero-band .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.hero-band::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(74,50,38,.88),rgba(74,50,38,.55) 55%,rgba(74,50,38,.25))}
.hero-band .crumbs{position:relative;z-index:2;width:100%;max-width:1100px;margin:0 auto;padding:0 0 20px;color:#F1E8D8}
.hero-band .crumbs a{color:#F1E8D8}
.hero-band .crumbs a:hover{color:#fff}
/* HERO CTA (defined phase 1, INSERTED by phase 2 only — no page uses it yet).
   .hero-cta wraps the two buttons inside .hero-text, after the H1. */
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.hero-cta .btn-call{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;background:#8C6A3C;color:#fff;text-decoration:none;border-radius:6px;font-weight:700}
.hero-cta .btn-call:hover{background:#6B4E2A;color:#fff}
.hero-cta .btn-contact{display:inline-flex;align-items:center;min-height:48px;padding:0 20px;background:transparent;color:#F8F4EC;text-decoration:none;border:2px solid #F8F4EC;border-radius:6px;font-weight:700}
.hero-cta .btn-contact:hover{background:#F8F4EC;color:#4A3226}
.hero-inner{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.hero-band .hero-inner{position:relative;z-index:2;display:block;width:100%}
.hero-band .hero-inner p:not(.eyebrow){color:#F8F4EC;max-width:720px}
.eyebrow{display:inline-block;background:#4A3226;color:#fff;padding:4px 12px;border-radius:999px;font-size:14px;font-weight:700;letter-spacing:.4px}
.hero-band .eyebrow{background:#8C6A3C;color:#fff}
.hero h1,.content h1{font-size:42px;line-height:1.15;color:#4A3226;margin:12px 0}
.hero-band h1{color:#fff}
.hero-band .hero-text p:not(.eyebrow){color:#F8F4EC}
.hero-img{border-radius:10px}

/* ---- Slim services ticker (homepage only) ---- */
.ticker-strip{background:#4A3226;color:#F8F4EC;overflow:hidden;clip-path:polygon(0 14%,100% 0,100% 86%,0 100%)}
.ticker-viewport{overflow:hidden}
.ticker-track{display:flex;width:max-content;animation:ticker-scroll 40s linear infinite;align-items:center;height:46px}
.ticker-track:hover,.ticker-track:focus-within{animation-play-state:paused}
.ticker-set{display:flex;flex-shrink:0;align-items:center}
.ticker-set span{flex-shrink:0;white-space:nowrap;font-size:15px;font-weight:600;padding:0 18px}
.ticker-set .ticker-dot{padding:0 2px;opacity:.55}
@keyframes ticker-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){
  .ticker-track{animation:none}
  .ticker-set[aria-hidden="true"]{display:none}
}
/* ---- Content sections ----
   Body is sand; every second .content section carries .alt for a
   full-width white band (inner content stays at 1100px). No border,
   radius or shadow on these full-width sections (rule 77). */
.content{max-width:1100px;margin:0 auto;padding:36px 20px}
.content.alt{max-width:none;background:#fff}
.content.alt>*:not(img){max-width:1100px;margin-left:auto;margin-right:auto}
.content h2{font-size:30px;color:#4A3226;margin-top:8px}
.content>h2::after{content:"";display:block;width:48px;height:4px;background:#8C6A3C;border-radius:2px;margin-top:10px}
.content h3{font-size:21px;color:#4A3226}
/* Contained body images: capped, centered, uncropped, rounded. min() keeps
   the 840px cap without overriding the 100%-of-container cap (a bare
   max-width:840px let card images stretch their grids wide). */
.content img{display:block;max-width:min(840px,100%);margin:24px auto;border-radius:10px}
.card img{width:100%;height:auto;border-radius:8px;margin-bottom:12px}
.card-grid>*{min-width:0}

/* Legacy alt-section wrapper (kept so nothing older breaks). */
.alt-section{background:#fff}
.alt-section .content{padding-top:36px;padding-bottom:36px}

/* ---- Side-by-side image + content rows (used by inner pages) ---- */
.side-row{display:grid;grid-template-columns:1fr 1fr;gap:26px;align-items:center;margin:24px 0}
.side-row .side-media img{margin:0;width:100%;border-radius:10px}
.side-row.flip .side-media{order:2}
.side-row.flip .side-text{order:1}

/* ---- Cards ---- */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border:1px solid #DDD2BE;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:22px}
.card h3{margin-top:0}
.card.dark{background:#4A3226;color:#fff}
.card.dark h2,.card.dark h3{color:#fff}
.card.dark a{color:#E9DFD0}
.card-num{font-size:28px;font-weight:800;color:#8C6A3C}
.card img{border-radius:8px;margin-bottom:12px}

/* ---- Buttons ----
   On white cards / light backgrounds: dark bronze bg + white text.
   On dark bands / dark cards: white bg + dark bronze text. Never light
   text on a white card. */
.card a.btn,.btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;background:#4A3226;color:#fff;text-decoration:none;border-radius:6px;font-weight:700}
.card a.btn:hover,.btn:hover{color:#fff;background:#33241A}
.card.dark .btn,.card.dark a.btn{background:#fff;color:#4A3226}
.card.dark .btn:hover,.card.dark a.btn:hover{background:#F8F4EC;color:#4A3226}

/* ---- Steps ---- */
.steps{list-style:none;padding:0;counter-reset:step}
.steps li{position:relative;padding:10px 0 10px 56px;border-left:3px solid #8C6A3C;margin-left:18px}
.steps li::before{counter-increment:step;content:counter(step,decimal-leading-zero);position:absolute;left:-26px;top:8px;width:44px;height:44px;background:#8C6A3C;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800}

/* ---- CTA bar (bronze band, inset) ---- */
.cta-bar{background:#8C6A3C;color:#fff;margin:28px auto;border-radius:12px;max-width:1100px;padding:20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.cta-bar-inner{max-width:1100px;margin-left:auto;margin-right:auto;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.cta-bar p{margin:0;font-size:20px;font-weight:700}
.cta-bar .btn{background:#fff;color:#4A3226}
.cta-bar .btn:hover{background:#F8F4EC;color:#4A3226}
.end-card{margin-top:8px}

/* ---- FAQ / PAA cards (inset white cards, same language) ---- */
.faq-card,.paa-card{background:#fff;border:1px solid #DDD2BE;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:20px 22px;margin:0 0 16px}
.faq-card h3,.paa-card h3{margin-top:0;color:#4A3226}
.faq-card p:last-child,.paa-card p:last-child{margin-bottom:0}

/* ---- Pills ---- */
.pill{display:inline-block;background:#4A3226;color:#fff;padding:6px 14px;border-radius:999px;font-size:14px;font-weight:700}

/* ---- Compare table ---- */
table.compare{width:100%;border-collapse:collapse;background:#fff}
table.compare th,table.compare td{border:1px solid #DDD2BE;padding:12px;text-align:left}
table.compare th{background:#4A3226;color:#fff}

/* ---- Contact / map ---- */
.contact-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.map-box{width:100%}
.map-box iframe{width:100%;height:360px;border:0;display:block}

/* ---- Footer (deep bronze-brown; disclaimer wording verbatim) ---- */
.site-footer{background:#33241A;color:#E9DFD0;margin-top:32px}
.footer-inner{max-width:1100px;margin:0 auto;padding:24px 20px 20px;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:18px}
.footer-inner a{color:#fff}
.footer-brand{font-size:20px;font-weight:800;color:#fff}
.footer-head{font-weight:800;color:#fff}
.footer-inner ul{list-style:none;padding:0;margin:0}
.footer-inner li a{display:inline-block;min-height:32px}
.disclaimer,.copyright{max-width:1100px;margin:0 auto;padding:0 20px 14px;font-size:14px;color:#E9DFD0}
.updated{max-width:1100px;margin:0 auto;padding:0 20px;font-size:14px;color:#6B5B4A}

/* ---- Blog load-more ---- */
.load-more-btn{min-height:44px;padding:0 20px;background:#4A3226;color:#fff;border:0;border-radius:6px;font-size:16px;cursor:pointer}
.blog-card.hidden-card{display:none}

/* ---- Mobile (<=640px) ---- */
@media(max-width:640px){
  body{font-size:16px}
  .topbar{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;padding:8px 16px}
  .topbar .logo{grid-column:1;grid-row:1}
  .topbar .menu-btn{grid-column:2;grid-row:1}
  .topbar .phone-btn{grid-column:1/-1;grid-row:2;justify-content:center}
  .logo{font-size:20px}
  .logo-mark{width:32px;height:32px;font-size:15px;border-radius:0}
  .menu-btn{display:inline-flex}
  .main-nav{display:none}
  .main-nav.nav-open{display:block;background:#F1E8D8;padding:12px;border-bottom:3px solid #8C6A3C}
  .nav-list{flex-direction:column;padding:0;gap:0}
  .nav-list>li>a{padding:0 20px;margin:6px 12px;background:#4A3226;color:#F1E8D8;border-left:4px solid #8C6A3C;border-radius:0 8px 8px 0;border-bottom:0}
  .nav-list>li>a:hover,.nav-list>li>a:focus{background:#33241A;color:#fff;border-bottom:0}
  /* Open mobile menu: links are separated boxed items, not bare text. */
  .has-drop .drop{position:static;box-shadow:0 4px 16px rgba(0,0,0,.20);border-radius:8px;display:none;background:#F8F4EC;border:1px solid #DDD2BE;border-top:3px solid #8C6A3C;margin:6px 12px 6px 24px;padding:8px 0}
  .has-drop.open .drop{display:block}
  .has-drop .drop a{border-radius:6px;margin:2px 8px}
  .hero{grid-template-columns:1fr;padding:20px}
  .hero-band{min-height:560px;padding:32px 20px}
  .hero-cta .btn-call,.hero-cta .btn-contact{flex:1 1 100%;justify-content:center}
  .hero-band .crumbs{padding:0 0 16px}
  .hero-inner{grid-template-columns:1fr}
  .hero-band .hero-inner{grid-template-columns:1fr}
  .hero h1{font-size:32px}
  .card-grid,.contact-boxes{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .cta-bar{flex-direction:column;align-items:stretch;text-align:left;margin-left:20px;margin-right:20px}
  /* Side rows collapse: media first, text second, normal AND flipped. */
  .side-row{grid-template-columns:1fr}
  .side-row .side-media{order:1}
  .side-row .side-text{order:2}
  .side-row.flip .side-media{order:1}
  .side-row.flip .side-text{order:2}
  table.compare,table.compare tbody,table.compare tr,table.compare td{display:block;width:100%}
  table.compare thead{display:none}
  table.compare tr{margin-bottom:16px;border:1px solid #DDD2BE}
  table.compare td{border:0;border-bottom:1px solid #eee;padding-left:50%;position:relative}
  table.compare td::before{content:attr(data-label);position:absolute;left:12px;font-weight:700}
  table.compare td:first-child{padding-left:12px;font-weight:700}
  table.compare td:first-child::before{display:none}
  .steps li{padding-left:48px}
}

@media(min-width:641px){
  .card-grid.grid-4col{grid-template-columns:repeat(4,1fr)}
}

/* ---- Content-worker classes (round 2) ---- */
/* Checklists: grid of cards with a bronze check mark. */
.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:24px 0}
.check-card{background:#fff;border:1px solid #DDD2BE;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:18px 20px 18px 52px;position:relative}
.check-card::before{content:"\2713";position:absolute;left:18px;top:18px;width:26px;height:26px;background:#8C6A3C;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:16px}
.check-card h3{margin-top:0;color:#4A3226}
.check-card p:last-child{margin-bottom:0}
/* Homepage card photos (Frontier hub-card pattern): 3:2 cover image at
   the top of the card, card padding 0 at the top, text padded below. */
.card-img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.card.card-photo{padding:0 0 22px;overflow:hidden}
.card.card-photo .card-img{margin:0 0 16px;border-radius:0}
.card.card-photo>:not(.card-img){margin-left:22px;margin-right:22px}
.card:has(>.card-img:first-child){padding-top:0}
/* Option / part card grids: simple card grids like .card-grid. */
.opt-cards,.part-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}
.opt-card,.part-card{background:#fff;border:1px solid #DDD2BE;border-radius:10px;box-shadow:0 2px 10px rgba(0,0,0,.06);padding:22px}
.opt-card h3,.part-card h3{margin-top:0;color:#4A3226}
.opt-card p:last-child,.part-card p:last-child{margin-bottom:0}
@media(max-width:640px){
  .check-grid,.opt-cards,.part-cards{grid-template-columns:1fr}
}

/* ---- Footer columns (min-width:641px only): Services column wider so every
   footer service and city name fits on one line at desktop widths. ---- */
@media(min-width:641px){
  .footer-inner{grid-template-columns:1fr 1.5fr 1fr 0.7fr}
}

/* ---- Footer portions (2026-10-28 footer redesign): distinct portions with
   heading rules, dividers, a separated disclaimer and copyright bar, and
   plain links that underline only on hover/focus. Appended rules only;
   no earlier rule was edited. ---- */
.site-footer{margin-top:48px}
.footer-inner{padding:36px 20px 28px;gap:28px}
.footer-head{margin:0 0 14px}
.footer-brand{margin:0 0 14px}
.footer-head::after,.footer-brand::after{content:"";display:block;width:36px;height:3px;background:#8C6A3C;margin-top:8px;border-radius:2px}
.footer-inner a{color:#E9DFD0;text-decoration:none}
.footer-inner a:hover,.footer-inner a:focus{text-decoration:underline;text-decoration-color:#C9A86A}
.disclaimer{border-top:1px solid rgba(233,223,208,.28);padding-top:22px;margin-top:8px}
.copyright{border-top:1px solid rgba(233,223,208,.28);padding-top:14px;padding-bottom:22px;font-size:13px}
@media(min-width:641px){
  .footer-inner>.footer-col:not(:first-child){border-left:1px solid rgba(233,223,208,.28);padding-left:28px}
}
@media(max-width:640px){
  .footer-inner{gap:0}
  .footer-inner>.footer-col{border-top:1px solid rgba(233,223,208,.28);padding-top:24px;padding-bottom:24px}
  .footer-inner>.footer-col:first-child{border-top:0;padding-top:0}
}
