/* Premium redesign layer – loaded after style.css. Presentation only; no content changes. */
:root{
  --p-navy:#0a2540; --p-deep:#071a2e; --p-teal:#14b8a6; --p-teal-d:#0d9488;
  --p-orange:#ff6b45; --p-orange-d:#f0532b; --p-sand:#f6f9fb; --p-ink:#1b2b3a; --p-muted:#566678;
  --p-line:#e3ebf1; --p-radius:22px;
  --p-shadow:0 18px 50px rgba(10,37,64,.10); --p-shadow-lg:0 30px 80px rgba(10,37,64,.20);
}
html{scroll-behavior:smooth}
body.theme-modern{font-family:"Plus Jakarta Sans","Inter",system-ui,-apple-system,"Segoe UI",sans-serif!important;color:var(--p-ink)!important;background:#fff!important;-webkit-font-smoothing:antialiased}
body.theme-modern h1,body.theme-modern h2,body.theme-modern h3{font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;letter-spacing:-.025em;color:var(--p-navy)}
body.theme-modern p,body.theme-modern li{line-height:1.75}

/* ---------- Header ---------- */
body.theme-modern header{background:rgba(7,26,46,.92)!important;backdrop-filter:saturate(160%) blur(16px);-webkit-backdrop-filter:saturate(160%) blur(16px);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 8px 30px rgba(0,0,0,.18)!important}
body.theme-modern header .bar{max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:22px;padding:12px 24px}
.brand,.footer-brand{display:inline-flex!important;align-items:center;gap:12px;color:#fff!important;font-weight:800;font-size:1.05rem;letter-spacing:-.01em;text-decoration:none}
.brand-logo{width:44px;height:44px;border-radius:12px;box-shadow:0 6px 18px rgba(20,184,166,.45);flex:none}
.footer-brand .brand-logo{width:48px;height:48px}
body.theme-modern header nav>a,body.theme-modern header .nav-main-link{color:rgba(255,255,255,.88)!important;font-weight:600;font-size:.95rem;transition:color .2s}
body.theme-modern header nav>a:hover,body.theme-modern header .nav-main-link:hover{color:var(--p-teal)!important}
body.theme-modern .dropdown{background:#fff!important;border-radius:16px!important;box-shadow:var(--p-shadow-lg)!important;border:1px solid var(--p-line)!important}
body.theme-modern .dropdown a{color:var(--p-ink)!important}
body.theme-modern .dropdown a:hover{color:var(--p-teal-d)!important;background:var(--p-sand)!important}

/* ---------- Buttons ---------- */
body.theme-modern .button,body.theme-modern .g9-card-button{border-radius:999px!important;font-weight:800!important;letter-spacing:.01em;transition:transform .25s,box-shadow .25s,background .25s;text-decoration:none}
body.theme-modern .call-button,body.theme-modern .b5-primary{background:linear-gradient(135deg,#ff8a5b,var(--p-orange))!important;color:#fff!important;border:0!important;box-shadow:0 10px 28px rgba(255,107,69,.45)}
body.theme-modern .call-button:hover,body.theme-modern .b5-primary:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(255,107,69,.55)}
body.theme-modern .b5-secondary,body.theme-modern .button-light{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.55)!important;backdrop-filter:blur(8px)}
body.theme-modern .b5-secondary:hover,body.theme-modern .button-light:hover{background:#fff!important;color:var(--p-navy)!important;transform:translateY(-3px)}
body.theme-modern .call-button{animation:p-pulse 2.8s infinite}
@keyframes p-pulse{0%{box-shadow:0 10px 28px rgba(255,107,69,.45),0 0 0 0 rgba(255,107,69,.45)}70%{box-shadow:0 10px 28px rgba(255,107,69,.45),0 0 0 16px rgba(255,107,69,0)}100%{box-shadow:0 10px 28px rgba(255,107,69,.45),0 0 0 0 rgba(255,107,69,0)}}

/* ---------- Hero ---------- */
body.theme-modern .hero-system{background:none!important}
body.theme-modern .hero{position:relative;overflow:hidden;isolation:isolate;display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:48px;align-items:center;max-width:none!important;margin:0!important;padding:clamp(70px,9vw,130px) max(24px,calc((100vw - 1240px)/2))!important;color:#fff!important;background:linear-gradient(105deg,rgba(7,26,46,.94) 0%,rgba(10,37,64,.84) 48%,rgba(13,148,136,.55) 100%),url("images/carpet-cleaning-missoula-mt-living-room.webp") center/cover no-repeat!important;border-radius:0!important}
body.theme-modern .hero::after{content:"";position:absolute;inset:auto -10% -45% auto;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.35),transparent 65%);z-index:-1}
body.theme-modern .hero h1{color:#fff!important;font-size:clamp(2.4rem,5.4vw,4.4rem)!important;line-height:1.04!important;font-weight:800!important;margin:14px 0 18px!important;max-width:14ch}
body.theme-modern .hero .hero-copy{color:rgba(255,255,255,.88)!important;font-size:clamp(1.05rem,1.6vw,1.25rem);max-width:56ch}
body.theme-modern .hero .eyebrow{display:inline-flex;align-items:center;gap:10px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.25);color:#fff!important;padding:8px 16px;border-radius:999px;font-weight:700;font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;backdrop-filter:blur(8px)}
body.theme-modern .hero .eyebrow span{width:8px;height:8px;border-radius:50%;background:var(--p-teal);box-shadow:0 0 0 4px rgba(20,184,166,.3)}
body.theme-modern .hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
body.theme-modern .hero-actions .button{padding:17px 32px!important;font-size:1.02rem}
body.theme-modern .g9-hero-panel{background:rgba(255,255,255,.96)!important;color:var(--p-ink)!important;border:0!important;border-radius:28px!important;padding:32px!important;box-shadow:var(--p-shadow-lg)!important;position:relative}
body.theme-modern .g9-hero-panel::before{content:"";position:absolute;left:32px;right:32px;top:0;height:5px;border-radius:0 0 6px 6px;background:linear-gradient(90deg,var(--p-teal),var(--p-orange))}
body.theme-modern .g9-hero-panel h2{color:var(--p-navy)!important;font-size:1.55rem!important;margin:2px 0 0}
body.theme-modern .g9-card-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
body.theme-modern .g9-card-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,var(--p-teal),var(--p-navy));color:#fff;font-weight:800;flex:none}
body.theme-modern .g9-card-label{color:var(--p-teal-d)!important;font-weight:800;font-size:.72rem;letter-spacing:.12em;margin:0}
body.theme-modern .g9-card-copy,body.theme-modern .g9-card-note{color:var(--p-muted)!important}
body.theme-modern .g9-card-button{display:flex!important;justify-content:space-between;align-items:center;padding:16px 22px!important;background:linear-gradient(135deg,#ff8a5b,var(--p-orange))!important;color:#fff!important;margin:18px 0 10px;box-shadow:0 10px 26px rgba(255,107,69,.4)}
body.theme-modern .g9-card-button:hover{transform:translateY(-3px)}

/* ---------- Trust strip ---------- */
body.theme-modern .g9-trust-strip{background:var(--p-deep)!important;border:0!important;padding:0!important}
body.theme-modern .g9-trust-strip>div{max-width:1240px;margin:0 auto;display:grid!important;grid-template-columns:repeat(4,1fr);gap:0}
body.theme-modern .g9-trust-strip span{display:flex;align-items:center;gap:14px;padding:26px 24px;color:#fff!important;font-weight:700;border-right:1px solid rgba(255,255,255,.08)}
body.theme-modern .g9-trust-strip span:last-child{border-right:0}
body.theme-modern .g9-trust-strip b{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:linear-gradient(135deg,var(--p-teal),var(--p-teal-d));color:#fff;font-size:.85rem;flex:none}

/* ---------- Content layout ---------- */
body.theme-modern .content-shell{max-width:1240px!important;margin:0 auto!important;padding:0 24px!important}
body.theme-modern .content-section{background:transparent!important;border:0!important;box-shadow:none!important;padding:clamp(54px,7vw,96px) 0!important;margin:0!important}
body.theme-modern .content-section.section-muted{background:var(--p-sand)!important;box-shadow:0 0 0 100vmax var(--p-sand)!important;clip-path:inset(0 -100vmax)}
body.theme-modern .content-section.section-bright{background:linear-gradient(180deg,#eefaf8,#f6f9fb)!important;box-shadow:0 0 0 100vmax #f2f9f8!important;clip-path:inset(0 -100vmax)}
body.theme-modern .content-divider{display:none!important}
body.theme-modern .section-copy>h2,body.theme-modern .faq-zone>h2,body.theme-modern .related>h2{font-size:clamp(1.9rem,3.6vw,2.9rem)!important;font-weight:800;line-height:1.12;margin:0 0 22px!important;position:relative;padding-bottom:18px}
body.theme-modern .section-copy>h2::after,body.theme-modern .faq-zone>h2::after{content:"";position:absolute;left:0;bottom:0;width:64px;height:5px;border-radius:6px;background:linear-gradient(90deg,var(--p-teal),var(--p-orange))}
body.theme-modern .section-copy>p{color:var(--p-muted);font-size:1.08rem;max-width:78ch}
body.theme-modern .section-copy h3{font-size:1.22rem;color:var(--p-navy);margin:30px 0 8px}
body.theme-modern .content-image{margin:28px 0!important;border-radius:var(--p-radius);overflow:hidden;box-shadow:var(--p-shadow-lg)}
body.theme-modern .content-image img{display:block;width:100%;height:auto;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
body.theme-modern .content-image:hover img{transform:scale(1.04)}

/* bullet grids -> premium tiles */
body.theme-modern .bullet-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important;gap:18px!important;margin:24px 0!important}
body.theme-modern .bullet-grid .list-item{position:relative;background:#fff!important;border:1px solid var(--p-line)!important;border-radius:18px!important;padding:24px 24px 24px 74px!important;margin:0!important;box-shadow:0 8px 26px rgba(10,37,64,.06)!important;color:var(--p-muted);transition:transform .3s,box-shadow .3s,border-color .3s}
body.theme-modern .bullet-grid .list-item::before{content:"✓";position:absolute;left:22px;top:24px;width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,var(--p-teal),var(--p-teal-d));color:#fff;font-weight:800}
body.theme-modern .bullet-grid .list-item:hover{transform:translateY(-6px);box-shadow:var(--p-shadow)!important;border-color:var(--p-teal)!important}
body.theme-modern .bullet-grid .list-item strong{display:block;color:var(--p-navy);font-size:1.05rem;margin-bottom:4px}

/* tables */
body.theme-modern .table-wrap{border-radius:var(--p-radius);overflow:hidden;box-shadow:var(--p-shadow);border:1px solid var(--p-line);margin:26px 0}
body.theme-modern table{width:100%;border-collapse:collapse;background:#fff}
body.theme-modern table td{padding:18px 24px;border-bottom:1px solid var(--p-line)}
body.theme-modern table tr:first-child td{background:linear-gradient(135deg,var(--p-navy),#0d3b66);color:#fff;font-weight:800}
body.theme-modern table tr:nth-child(even):not(:first-child) td{background:var(--p-sand)}
body.theme-modern table td:last-child{font-weight:800;color:var(--p-teal-d)}
body.theme-modern table tr:first-child td:last-child{color:#fff}

/* ---------- Homepage service cards ---------- */
.home-services{max-width:1240px;margin:0 auto;padding:clamp(60px,8vw,100px) 24px}
.home-services>h2{font-size:clamp(1.9rem,3.8vw,3rem)!important;font-weight:800;text-align:center;margin:0 0 16px!important}
.home-services>p{text-align:center;max-width:70ch;margin:0 auto 46px;color:var(--p-muted);font-size:1.1rem}
.svc-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:26px}
.svc-card{grid-column:span 2;position:relative;display:flex;flex-direction:column;background:#fff;border:1px solid var(--p-line);border-radius:26px;overflow:hidden;color:inherit;text-decoration:none;box-shadow:0 12px 36px rgba(10,37,64,.08);transition:transform .45s cubic-bezier(.2,.7,.2,1),box-shadow .45s,border-color .3s}
.svc-card:nth-child(4),.svc-card:nth-child(5){grid-column:span 3}
.svc-card:hover{transform:translateY(-10px);box-shadow:0 34px 70px rgba(10,37,64,.2);border-color:var(--p-teal)}
.svc-media{position:relative;aspect-ratio:16/10;overflow:hidden}
.svc-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.svc-card:hover .svc-media img{transform:scale(1.09)}
.svc-media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(7,26,46,.55))}
.svc-num{position:absolute;z-index:2;left:18px;top:18px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--p-navy);font-weight:800;font-size:.8rem;backdrop-filter:blur(6px)}
.svc-body{position:relative;display:flex;flex-direction:column;flex:1;padding:34px 28px 28px}
.svc-icon{position:absolute;top:-28px;left:26px;width:56px;height:56px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,var(--p-teal),var(--p-navy));box-shadow:0 10px 24px rgba(10,37,64,.35);z-index:3}
.svc-icon svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.svc-body h3{margin:6px 0 10px!important;font-size:1.32rem!important;color:var(--p-navy)}
.svc-body p{margin:0 0 20px;color:var(--p-muted);font-size:.99rem;line-height:1.65}
.svc-arrow{margin-top:auto;align-self:flex-start;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:var(--p-sand);color:var(--p-navy);font-weight:800;font-size:1.2rem;transition:background .3s,color .3s,transform .3s}
.svc-card:hover .svc-arrow{background:var(--p-orange);color:#fff;transform:translateX(6px)}

/* ---------- Process ---------- */
body.theme-modern .pro-process-steps{background:linear-gradient(135deg,var(--p-deep),var(--p-navy))!important;color:#fff!important;padding:clamp(60px,8vw,100px) 24px!important;margin:0!important;position:relative;overflow:hidden}
body.theme-modern .pro-process-steps::before{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.28),transparent 65%)}
body.theme-modern .pro-process-steps .pro-inner{max-width:1240px;margin:0 auto;position:relative}
body.theme-modern .pro-process-steps h2,body.theme-modern .pro-process-steps h3{color:#fff!important}
body.theme-modern .pro-process-steps .pro-section-heading p{color:rgba(255,255,255,.8)!important}
body.theme-modern .pro-kicker{color:var(--p-teal)!important;font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.8rem}
body.theme-modern .pro-process-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:22px!important;margin-top:40px}
body.theme-modern .pro-process-step{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.14)!important;border-radius:22px!important;padding:32px 26px!important;backdrop-filter:blur(10px);transition:transform .35s,background .35s;color:rgba(255,255,255,.85)!important}
body.theme-modern .pro-process-step:hover{transform:translateY(-8px);background:rgba(255,255,255,.12)!important}
body.theme-modern .pro-process-step>span{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(135deg,#ff8a5b,var(--p-orange));color:#fff;font-weight:800;margin-bottom:16px;box-shadow:0 8px 22px rgba(255,107,69,.4)}
body.theme-modern .pro-process-step p{color:rgba(255,255,255,.82)!important}

/* ---------- FAQ ---------- */
body.theme-modern .faq-zone{max-width:900px;margin:0 auto;padding:clamp(54px,7vw,96px) 0!important;background:none!important;border:0!important}
body.theme-modern .faq-item{background:#fff!important;border:1px solid var(--p-line)!important;border-radius:18px!important;margin:0 0 14px!important;box-shadow:0 6px 20px rgba(10,37,64,.05);overflow:hidden;transition:box-shadow .3s,border-color .3s}
body.theme-modern .faq-item[open]{border-color:var(--p-teal)!important;box-shadow:var(--p-shadow)}
body.theme-modern .faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;cursor:pointer;list-style:none}
body.theme-modern .faq-item summary::-webkit-details-marker{display:none}
body.theme-modern .faq-item summary h3{margin:0!important;font-size:1.08rem!important}
body.theme-modern .faq-item summary>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--p-sand);color:var(--p-teal-d);font-weight:800;flex:none;transition:transform .3s,background .3s}
body.theme-modern .faq-item[open] summary>span{transform:rotate(45deg);background:var(--p-orange);color:#fff}
body.theme-modern .faq-answer{padding:0 26px 24px;color:var(--p-muted)}
body.theme-modern .related{background:var(--p-sand)!important;border:1px solid var(--p-line)!important;border-radius:var(--p-radius)!important;padding:30px!important;margin-bottom:60px}
body.theme-modern .related ul{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0}
body.theme-modern .related a{display:inline-block;padding:9px 18px;border-radius:999px;background:#fff;border:1px solid var(--p-line);color:var(--p-navy);font-weight:700;font-size:.9rem;text-decoration:none;transition:all .25s}
body.theme-modern .related a:hover{background:var(--p-teal);border-color:var(--p-teal);color:#fff}

/* ---------- Existing service-page cards ---------- */
body.theme-modern .pro-service-card{border-radius:24px!important;overflow:hidden;border:1px solid var(--p-line)!important;box-shadow:0 12px 36px rgba(10,37,64,.08)!important;transition:transform .4s,box-shadow .4s}
body.theme-modern .pro-service-card:hover{transform:translateY(-8px);box-shadow:var(--p-shadow-lg)!important}
body.theme-modern .pro-card-media img{transition:transform .8s}
body.theme-modern .pro-service-card:hover .pro-card-media img{transform:scale(1.07)}

/* ---------- Final CTA ---------- */
body.theme-modern .final-cta{position:relative;overflow:hidden;margin:0!important;padding:clamp(70px,9vw,120px) max(24px,calc((100vw - 1100px)/2))!important;background:linear-gradient(120deg,rgba(7,26,46,.95),rgba(13,148,136,.88)),url("images/hot-water-extraction-missoula-rental-hallway.webp") center/cover!important;color:#fff!important;text-align:center;border-radius:0!important}
body.theme-modern .final-cta h2{color:#fff!important;font-size:clamp(2rem,4.5vw,3.4rem)!important;font-weight:800}
body.theme-modern .final-cta p{color:rgba(255,255,255,.9)!important;max-width:72ch;margin-left:auto;margin-right:auto}
body.theme-modern .final-cta .eyebrow{display:inline-block;color:#fff!important;background:rgba(255,255,255,.14);border-radius:999px;padding:7px 16px;font-weight:700;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase}
body.theme-modern .cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-top:30px}
body.theme-modern .cta-actions .button{padding:18px 36px!important;font-size:1.05rem}
body.theme-modern .map-section iframe{display:block;width:100%;height:380px;border:0;filter:saturate(.9)}

/* ---------- Footer ---------- */
body.theme-modern footer{background:var(--p-deep)!important;color:rgba(255,255,255,.78)!important;padding:70px 24px 28px!important}
body.theme-modern .footer-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:40px}
body.theme-modern footer strong{color:#fff}
body.theme-modern footer a{color:rgba(255,255,255,.78);text-decoration:none;transition:color .2s}
body.theme-modern footer a:hover{color:var(--p-teal)}
body.theme-modern .footer-links{display:flex;flex-direction:column;gap:8px;margin-top:14px}
body.theme-modern footer .call-button{display:inline-block;color:#fff!important;margin-top:10px;padding:14px 26px}
body.theme-modern .copyright{max-width:1240px;margin:50px auto 0;padding-top:24px;border-top:1px solid rgba(255,255,255,.1);display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;font-size:.9rem}
body.theme-modern .copyright span:last-child{display:flex;gap:18px;flex-wrap:wrap}
body.theme-modern .mobile-call{background:linear-gradient(135deg,#ff8a5b,var(--p-orange))!important;color:#fff!important;border-radius:999px!important;box-shadow:0 14px 34px rgba(255,107,69,.55)!important}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  body.theme-modern .hero{grid-template-columns:1fr!important}
  body.theme-modern .hero h1{max-width:none}
  .svc-grid{grid-template-columns:repeat(2,1fr)}
  .svc-card,.svc-card:nth-child(4),.svc-card:nth-child(5){grid-column:span 1}
  .svc-card:nth-child(5){grid-column:span 2}
  body.theme-modern .g9-trust-strip>div{grid-template-columns:repeat(2,1fr)}
  body.theme-modern .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .svc-grid{grid-template-columns:1fr}
  .svc-card:nth-child(5){grid-column:span 1}
  body.theme-modern .g9-trust-strip>div{grid-template-columns:1fr}
  body.theme-modern .footer-grid{grid-template-columns:1fr}
  body.theme-modern .bullet-grid{grid-template-columns:1fr!important}
  body.theme-modern .hero-actions .button{width:100%;text-align:center}
  .brand-logo{width:38px;height:38px}
}
@media(prefers-reduced-motion:reduce){body.theme-modern .call-button{animation:none}}

/* ---------- Fixes: neutralise legacy style.css conflicts ---------- */
body.theme-modern header .brand,body.theme-modern header .brand span,body.theme-modern footer .footer-brand,body.theme-modern footer .footer-brand span{color:#fff!important}
body.theme-modern header .bar{width:100%;justify-content:space-between}
body.theme-modern header nav{display:flex;align-items:center;gap:6px;margin-left:auto}
body.theme-modern .hero-system,body.theme-modern .b5-hero-system{padding:0!important;margin:0!important;background:var(--p-deep)!important}
body.theme-modern .g9-trust-strip{padding:0!important;margin:0!important;background:var(--p-deep)!important;box-shadow:none!important}
body.theme-modern .g9-trust-strip>div{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:0 auto!important;transform:none!important;max-width:1240px;width:100%}
body.theme-modern .g9-trust-strip span{background:transparent!important;color:#fff!important;font-size:.98rem!important;border-left:0!important}
body.theme-modern .g9-trust-strip span:last-child{border-right:0!important}
body.theme-modern .section-copy{display:block!important;max-width:none!important;width:100%!important}
body.theme-modern .section-copy>*{max-width:none}
body.theme-modern .section-copy>p{max-width:80ch}
body.theme-modern .section-copy>.content-image,body.theme-modern .content-image{float:none!important;position:static!important;width:100%!important;max-width:100%!important;margin:28px 0!important}
body.theme-modern .content-image img{width:100%!important;height:auto!important;max-height:520px;object-fit:cover}
body.theme-modern .bullet-grid,body.theme-modern .bullet-grid.beside-image{width:100%!important;max-width:none!important;float:none!important;margin-left:0!important;margin-right:0!important;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))!important}
body.theme-modern .prose{max-width:none!important;padding:0!important}
body.theme-modern .svc-grid{width:100%}
body.theme-modern .svc-card h3,body.theme-modern .svc-card p{max-width:none}
body.theme-modern .svc-body p{color:var(--p-muted)!important}
body.theme-modern header .brand>span{display:inline-block!important;font-size:1.05rem!important;opacity:1!important;visibility:visible!important;width:auto!important;height:auto!important;white-space:nowrap}
body.theme-modern header .bar{max-width:1280px!important;padding-left:24px!important;padding-right:24px!important}
body.theme-modern .bullet-grid,body.theme-modern .bullet-grid.beside-image{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))!important}
body.theme-modern .pro-process-step>span{width:52px!important;height:52px!important;font-size:1rem!important;line-height:1!important;border:0!important;position:static!important}
body.theme-modern .pro-process-step>span::after,body.theme-modern .pro-process-step>span::before{display:none!important}

/* ---------- Round 3: sticky header, mobile nav, CTA ---------- */
body.theme-modern[data-sticky-header] header,body.theme-modern[data-sticky-header] header.header-scrolled,body.theme-modern header.header-scrolled{background:rgba(7,26,46,.94)!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:0 8px 30px rgba(0,0,0,.25)!important}
body.theme-modern header nav>a,body.theme-modern header nav .nav-home,body.theme-modern header nav .nav-main-link,body.theme-modern header nav .nav-trigger,body.theme-modern header .nav-parent a{color:#fff!important}
body.theme-modern header nav>a:hover,body.theme-modern header nav .nav-main-link:hover{color:var(--p-teal)!important}
body.theme-modern header .nav-trigger span{border-color:#fff!important}
body.theme-modern header .menu-toggle{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:12px!important;color:#fff!important}
body.theme-modern header .menu-toggle span{background:#fff!important}
body.theme-modern header .dropdown,body.theme-modern header .dropdown a,body.theme-modern header .nav-parent-link,body.theme-modern header .nav-subservice{color:var(--p-ink)!important}
body.theme-modern header .dropdown{background:#fff!important}
body.theme-modern header .dropdown a:hover{color:var(--p-teal-d)!important;background:var(--p-sand)!important}
body.theme-modern header .subservice-menu{background:#fff!important}

body.theme-modern main section.final-cta,body.theme-modern section.final-cta{display:block!important;text-align:center!important}
body.theme-modern main section.final-cta>div:first-child:not(.cta-actions){flex:none!important;max-width:820px;margin:0 auto}
body.theme-modern main section.final-cta .cta-actions{display:flex!important;flex-direction:row!important;justify-content:center!important;flex-wrap:wrap;max-width:none!important;margin:34px auto 0!important;gap:14px}
body.theme-modern main section.final-cta .button{white-space:nowrap!important;padding:18px 36px!important}
body.theme-modern main section.final-cta p{color:rgba(255,255,255,.9)!important;line-height:1.7;font-size:1.05rem}
body.theme-modern main section.final-cta h2{margin:16px 0 18px!important}

@media(max-width:1000px){
  body.theme-modern header .bar{flex-wrap:wrap;gap:10px;padding:10px 16px!important;min-height:0}
  body.theme-modern header .brand{flex:1;min-width:0}
  body.theme-modern header .brand>span:not(.brand-logo){font-size:.9rem!important;white-space:normal!important;line-height:1.15}
  body.theme-modern header .menu-toggle{order:2;display:inline-flex!important;align-items:center;justify-content:center;flex-direction:column;gap:4px;width:46px;height:46px;padding:0}
  body.theme-modern header .menu-toggle span{display:block;width:22px;height:2px}
  body.theme-modern header>.bar>.call-button{order:3;padding:11px 16px!important;font-size:.85rem!important;white-space:nowrap}
  body.theme-modern header nav,body.theme-modern header nav.nav-open{position:absolute;top:100%;left:0;right:0;width:auto;margin:0;padding:12px 16px 20px;background:var(--p-deep)!important;border:0!important;border-top:1px solid rgba(255,255,255,.1)!important;border-radius:0 0 22px 22px;box-shadow:0 24px 50px rgba(0,0,0,.4)!important;max-height:calc(100vh - 80px);overflow-y:auto;flex-direction:column;align-items:stretch;gap:2px}
  body.theme-modern header nav:not(.nav-open){display:none!important}
  body.theme-modern header nav.nav-open{display:flex!important}
  body.theme-modern header nav>a,body.theme-modern header .nav-main-link{padding:14px 10px;font-size:1.02rem;border-bottom:1px solid rgba(255,255,255,.08)}
  body.theme-modern header .nav-parent{display:flex;align-items:center;justify-content:space-between}
  body.theme-modern header .dropdown{position:static!important;box-shadow:none!important;background:rgba(255,255,255,.06)!important;border:0!important;border-radius:12px!important;margin:4px 0 8px;max-height:50vh;overflow-y:auto}
  body.theme-modern header .dropdown a,body.theme-modern header .nav-parent-link,body.theme-modern header .nav-subservice{color:#fff!important;padding:11px 14px}
  body.theme-modern header .dropdown a:hover{background:rgba(255,255,255,.1)!important;color:var(--p-teal)!important}
  body.theme-modern header .subservice-menu{background:transparent!important;padding-left:12px}
  body.theme-modern header .nav-trigger{width:40px;height:40px;background:rgba(255,255,255,.1)!important;border-radius:10px!important}
}
@media(max-width:640px){
  body.theme-modern .hero{padding:48px 20px 56px!important;gap:30px}
  body.theme-modern .hero h1{font-size:2.15rem!important}
  body.theme-modern .hero-actions{flex-direction:column}
  body.theme-modern .hero-actions .button,body.theme-modern main section.final-cta .button,body.theme-modern .cta-actions .button{width:100%;display:flex!important;justify-content:center;padding:16px 20px!important;white-space:normal!important}
  body.theme-modern .g9-hero-panel{padding:24px!important}
  body.theme-modern .content-shell{padding:0 18px!important}
  body.theme-modern .svc-body{padding:32px 22px 24px}
  body.theme-modern .bullet-grid,body.theme-modern .bullet-grid.beside-image{grid-template-columns:1fr!important}
  body.theme-modern .bullet-grid .list-item{padding:22px 20px 22px 66px!important}
  body.theme-modern .table-wrap{overflow-x:auto}
  body.theme-modern table td{padding:14px 16px}
  body.theme-modern .final-cta{padding:56px 20px!important}
  body.theme-modern .footer-grid{gap:30px}
  body.theme-modern .copyright{flex-direction:column;align-items:flex-start}
  body.theme-modern{padding-bottom:78px}
  body.theme-modern .mobile-call{left:14px!important;right:14px!important;bottom:12px!important;width:auto!important;display:flex!important;justify-content:center;align-items:center;gap:10px;padding:14px 20px!important}
}

/* overflow protection */
html,body.theme-modern{overflow-x:visible!important}
body.theme-modern main, body.theme-modern footer {overflow-x:hidden}
body.theme-modern .hero>*,body.theme-modern .section-copy,body.theme-modern .svc-card,body.theme-modern .bullet-grid>*{min-width:0}
body.theme-modern img,body.theme-modern iframe,body.theme-modern table{max-width:100%}
body.theme-modern h1,body.theme-modern h2,body.theme-modern h3,body.theme-modern p{overflow-wrap:break-word}

/* ---------- Utility pages (contact / about / privacy / terms) ---------- */
body.theme-modern .utility-hero{position:relative;overflow:hidden;isolation:isolate;padding:clamp(60px,8vw,110px) 24px!important;margin:0!important;border-radius:0!important;color:#fff!important;background:linear-gradient(105deg,rgba(7,26,46,.95),rgba(10,37,64,.86) 50%,rgba(13,148,136,.6)),url("images/carpet-cleaning-missoula-mt-living-room.webp") center/cover no-repeat!important}
body.theme-modern .utility-hero::after{content:"";position:absolute;right:-8%;bottom:-40%;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,rgba(20,184,166,.35),transparent 65%);z-index:-1}
body.theme-modern .utility-hero-inner{max-width:1240px;margin:0 auto!important;padding:0!important;background:none!important}
body.theme-modern .utility-hero h1{color:#fff!important;font-size:clamp(2.2rem,5vw,3.8rem)!important;line-height:1.08;font-weight:800;max-width:20ch}
body.theme-modern .utility-hero p,body.theme-modern .utility-hero .hero-copy{color:rgba(255,255,255,.9)!important;max-width:60ch}
body.theme-modern .utility-hero .eyebrow,body.theme-modern .utility-hero .kicker{color:#ffb089!important;font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:.8rem}
body.theme-modern .breadcrumbs,body.theme-modern .breadcrumbs a,body.theme-modern .breadcrumbs span{color:rgba(255,255,255,.85)!important}
body.theme-modern .breadcrumbs strong,body.theme-modern .breadcrumbs [aria-current]{color:#fff!important}
body.theme-modern .business-overview{background:var(--p-sand)!important;padding:56px 24px!important;margin:0!important;border:0!important}
body.theme-modern .business-overview-inner{max-width:1240px;margin:0 auto!important;padding:0!important}
body.theme-modern .business-overview h2{font-size:clamp(1.6rem,3vw,2.2rem)!important;margin-bottom:22px!important}
body.theme-modern .business-facts{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:18px!important}
body.theme-modern .business-fact{background:#fff!important;border:1px solid var(--p-line)!important;border-radius:18px!important;padding:24px!important;box-shadow:0 8px 26px rgba(10,37,64,.07)!important;color:var(--p-muted)!important}
body.theme-modern .business-fact h3{color:var(--p-teal-d)!important;font-size:.85rem!important;letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px!important}
body.theme-modern .business-fact a{color:var(--p-navy)!important;font-weight:700}
body.theme-modern .utility-content{max-width:1240px!important;margin:0 auto!important;padding:0 24px!important;background:transparent!important}
body.theme-modern .legal-content .section-copy,body.theme-modern .legal-content .section-copy p,body.theme-modern .legal-content .section-copy li{color:var(--p-muted)!important}
body.theme-modern .legal-content .section-copy h2,body.theme-modern .legal-content .section-copy h3{color:var(--p-navy)!important}
body.theme-modern .utility-content .content-section{padding:clamp(40px,5vw,70px) 0!important}
body.theme-modern .contact-card,body.theme-modern .contact-method{background:#fff!important;border:1px solid var(--p-line)!important;border-radius:18px!important;box-shadow:0 8px 26px rgba(10,37,64,.07)!important;color:var(--p-muted)!important}

/* tables: header text must be light; other cells dark */
body.theme-modern table tr:first-child td,body.theme-modern table th,body.theme-modern table thead td{color:#fff!important;background:linear-gradient(135deg,var(--p-navy),#0d3b66)!important}
body.theme-modern table td{color:var(--p-ink)}
body.theme-modern table tr:first-child td:last-child{color:#fff!important}

/* other legacy hero / section variants -> unified palette */
body.theme-modern .hero-service,body.theme-modern .hero-location,body.theme-modern .hero-home,body.theme-modern .hero-faq{background-color:var(--p-deep)!important}
body.theme-modern .tone-accent,body.theme-modern .pro-component.tone-accent{background:var(--p-sand)!important;color:var(--p-ink)!important}
body.theme-modern .pro-component{padding-left:24px;padding-right:24px}
body.theme-modern .pro-component:not(.pro-process-steps) .pro-inner{max-width:1240px;margin:0 auto}
body.theme-modern .pro-component:not(.pro-process-steps) h2{color:var(--p-navy)!important}
body.theme-modern .pro-component:not(.pro-process-steps) h3{color:var(--p-navy)!important}
body.theme-modern .pro-component:not(.pro-process-steps) p{color:var(--p-muted)!important}
body.theme-modern .pro-card-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important;gap:26px!important}
body.theme-modern .pro-card-icon{background:linear-gradient(135deg,var(--p-teal),var(--p-navy))!important;border-radius:14px!important}
body.theme-modern .pro-card-icon svg{stroke:#fff!important}
@media(max-width:640px){body.theme-modern .utility-hero{padding:48px 20px!important}body.theme-modern .utility-hero .hero-actions{flex-direction:column}body.theme-modern .utility-hero .button{width:100%;text-align:center}body.theme-modern .business-overview{padding:40px 18px!important}body.theme-modern .utility-content{padding:0 18px!important}}

/* readable text inside tinted sections */
body.theme-modern .content-section.section-bright,body.theme-modern .content-section.section-muted{color:var(--p-ink)!important}
body.theme-modern .content-section.section-bright h2,body.theme-modern .content-section.section-bright h3,body.theme-modern .content-section.section-muted h2,body.theme-modern .content-section.section-muted h3,body.theme-modern .content-section.section-bright strong,body.theme-modern .content-section.section-muted strong{color:var(--p-navy)!important}
body.theme-modern .content-section.section-bright p,body.theme-modern .content-section.section-muted p,body.theme-modern .content-section.section-bright li,body.theme-modern .content-section.section-muted li{color:var(--p-muted)!important}
body.theme-modern .content-section.section-bright .list-item,body.theme-modern .content-section.section-muted .list-item{background:#fff!important}
body.theme-modern .business-fact h2,body.theme-modern .business-fact h3{font-size:.85rem!important;letter-spacing:.1em;text-transform:uppercase;color:var(--p-teal-d)!important;margin:0 0 8px!important}
body.theme-modern .content-section p a,body.theme-modern .faq-answer a{color:var(--p-teal-d)}

/* CTA full width + footer brand */
body.theme-modern main section.final-cta,body.theme-modern section.final-cta{width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box}
body.theme-modern .final-cta>div{max-width:860px;margin-left:auto!important;margin-right:auto!important}
body.theme-modern .final-cta .cta-actions{max-width:none!important}
body.theme-modern footer .footer-brand>span:not(.brand-logo){display:inline-block!important;font-size:1.05rem!important;color:#fff!important;font-weight:800;white-space:normal}
body.theme-modern footer .footer-about{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
body.theme-modern footer .footer-about p{margin:0;color:rgba(255,255,255,.78)!important}
body.theme-modern footer .footer-about .call-button{margin-top:6px}
body.theme-modern footer .footer-nap{color:rgba(255,255,255,.8)!important}
body.theme-modern footer .footer-phone,body.theme-modern footer .footer-nap-name{color:#fff!important}
body.theme-modern footer .copyright a{color:rgba(255,255,255,.85)}
body.theme-modern footer .copyright a:hover{color:var(--p-teal)}

/* ---------- Mobile Nav & Button Polish ---------- */
@media(max-width:1000px){
  body.theme-modern header nav .nav-parent{position:relative}
  body.theme-modern header nav .nav-main-link{flex:1;display:flex;align-items:center}
  body.theme-modern header nav .nav-trigger{border:0!important;display:inline-flex!important;align-items:center;justify-content:center}
  body.theme-modern header nav .nav-trigger span{display:inline-block;width:8px;height:8px;border-right:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(45deg);margin-top:-3px;transition:transform .2s}
  body.theme-modern header nav .nav-trigger[aria-expanded="true"] span{transform:rotate(-135deg);margin-top:3px}
  body.theme-modern header nav .nav-service-parent{margin-bottom:6px}
  body.theme-modern header nav .nav-parent-link{display:flex;justify-content:space-between;align-items:center;font-weight:700}
  body.theme-modern header nav .nav-parent-link span{font-size:1.1rem;opacity:.7}
  body.theme-modern header nav .subservice-menu{border-left:2px solid rgba(20,184,166,.4);margin-left:14px;padding-left:12px;margin-bottom:8px}
  body.theme-modern header nav .nav-subservice{font-size:.92rem!important;opacity:.9;padding:8px 12px!important}
  body.theme-modern header>.bar>.call-button{font-size:.9rem!important;padding:10px 18px!important;border-radius:999px!important}
}
@media(max-width:640px){
  body.theme-modern .menu-toggle{width:42px;height:42px}
  body.theme-modern .brand-logo{width:36px;height:36px}
  body.theme-modern header .brand>span:not(.brand-logo){font-size:.88rem!important;max-width:140px;line-height:1.15}
  body.theme-modern header>.bar>.call-button{display:none!important}
  body.theme-modern .mobile-call{display:flex!important;justify-content:center;align-items:center;gap:10px;font-size:1rem;font-weight:700;z-index:999}
}

/* Sticky / Fixed Navigation for Desktop & Mobile */
body.theme-modern header,
body.theme-modern[data-sticky-header] header,
header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
}

/* Internal links inside list-item cards */
body.theme-modern .bullet-grid .list-item a {
  color: var(--p-navy) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color .2s ease !important;
}
body.theme-modern .bullet-grid .list-item a:hover {
  color: var(--p-teal-d) !important;
  text-decoration: underline !important;
}

/* Fix spacing and full width sections */
body.theme-modern .content-section { padding: clamp(32px, 4.5vw, 56px) 0 !important; }
body.theme-modern .content-divider + .content-section, body.theme-modern .content-section + .content-section { padding-top: 10px !important; }
body.theme-modern .content-shell .pro-process-steps { width: 100vw !important; max-width: 100vw !important; margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; border-radius: 0 !important; }
