/* PlumbSite public theme. Brand colours come from :root vars set in the layout. */
:root { --ps-primary: #0d5c8c; --ps-accent: #f28c28; --bs-primary: var(--ps-primary); --bs-link-color: var(--ps-primary); --ps-ink: #10202e; --ps-radius: 1.25rem; }
html { scroll-behavior: smooth; }
body { padding-bottom: 64px; color: var(--ps-ink); font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Inter", sans-serif; -webkit-font-smoothing: antialiased; }
@media (min-width: 992px) { body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---- buttons ---- */
.btn { border-radius: 999px; font-weight: 600; }
.btn-primary, .bg-primary { background-color: var(--ps-primary) !important; border-color: var(--ps-primary) !important; }
.btn-outline-primary { color: var(--ps-primary); border-color: var(--ps-primary); }
.btn-outline-primary:hover { background: var(--ps-primary); border-color: var(--ps-primary); color: #fff; }
.text-primary { color: var(--ps-primary) !important; }
.btn-accent { background: var(--ps-accent); border-color: var(--ps-accent); color: #fff; box-shadow: 0 8px 24px color-mix(in srgb, var(--ps-accent) 45%, transparent); }
.btn-accent:hover { filter: brightness(1.06); color: #fff; transform: translateY(-1px); box-shadow: 0 12px 28px color-mix(in srgb, var(--ps-accent) 55%, transparent); }
.btn-glass { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-xl { padding: .85rem 1.5rem; font-size: 1.05rem; }
.btn-outline-light { border-color: rgba(255,255,255,.55); }

/* ---- glass ---- */
.ps-glass { background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.7); border-radius: var(--ps-radius); box-shadow: 0 20px 50px rgba(16,32,46,.14), inset 0 1px 0 rgba(255,255,255,.8); }
.ps-glass.dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }

/* ---- emergency strip + header ---- */
.ps-emergency-strip { background: linear-gradient(90deg, #b3261e, #d43a2f); color: #fff; font-size: .88rem; padding: .35rem 0; }
.ps-emergency-strip a { text-decoration: none; }
.ps-header { background: rgba(255,255,255,.82) !important; backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid rgba(16,32,46,.06) !important; }
.ps-header .navbar-brand { font-size: 1.2rem; }
.ps-header .nav-link { font-weight: 500; }

/* ---- hero v2 ---- */
.ps-hero2 { position: relative; overflow: hidden; padding: 4.5rem 0 5.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--ps-primary) 92%, #000) 0%, var(--ps-primary) 45%, color-mix(in srgb, var(--ps-primary) 60%, #1a2a5a) 100%); isolation: isolate; }
.ps-hero2-bg { position: absolute; inset: 0; z-index: -1; }
.ps-hero2-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: ps-float 14s ease-in-out infinite; }
.ps-hero2-bg .b1 { width: 520px; height: 520px; background: color-mix(in srgb, var(--ps-accent) 70%, #fff); top: -180px; right: -120px; }
.ps-hero2-bg .b2 { width: 420px; height: 420px; background: #4fd1ff; bottom: -200px; left: -100px; animation-delay: -5s; }
.ps-hero2-bg .b3 { width: 300px; height: 300px; background: #ffffff; top: 40%; left: 40%; opacity: .18; animation-delay: -9s; }
@keyframes ps-float { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-25px) scale(1.08); } }
.ps-hero2-title { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.ps-hero2-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 600px; }
.ps-live { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem .35rem .6rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.ps-live .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa; }
.ps-live .dot.on { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.7); animation: ps-pulse 1.8s infinite; }
@keyframes ps-pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,132,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,132,0); } }
.ps-proof { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: 1.75rem; font-size: .9rem; color: rgba(255,255,255,.9); }
.ps-proof .proof-item { display: inline-flex; align-items: center; gap: .4rem; color: inherit; text-decoration: none; }
.ps-proof .proof-item i { color: color-mix(in srgb, var(--ps-accent) 80%, #fff); }
.ps-stars { color: #ffc531; letter-spacing: 1px; }
.ps-form-card { padding: 1.5rem; }
.ps-pill { font-size: .75rem; font-weight: 600; background: color-mix(in srgb, var(--ps-primary) 10%, #fff); color: var(--ps-primary); padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.ps-mini-form .form-control, .ps-mini-form .form-select { border-radius: .8rem; background: rgba(255,255,255,.85); }
.ps-form-note { font-size: .75rem; color: #6b7a88; margin-top: .75rem; }
.ps-hero2-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.ps-hero2-wave svg { width: 100%; height: 48px; display: block; }

/* ---- trust strip v2 ---- */
.ps-trust2 { padding: .5rem 0 0; }
.ps-trust2-track { display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .25rem 0 .5rem; -webkit-overflow-scrolling: touch; }
.ps-trust2-track::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .ps-trust2-track { justify-content: center; flex-wrap: wrap; overflow: visible; } }
.ps-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 600; background: #fff; border: 1px solid #e3e9f0; box-shadow: 0 2px 8px rgba(16,32,46,.05); white-space: nowrap; }
.ps-chip i { color: var(--ps-primary); }

/* ---- stats ---- */
.ps-stat { position: relative; height: 100%; padding: 1.25rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid #e6ecf2; box-shadow: 0 10px 30px rgba(16,32,46,.06); overflow: hidden; }
.ps-stat-n { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ps-ink); }
.ps-stat-n small { font-size: 1rem; font-weight: 600; color: #6b7a88; margin-left: .15rem; }
.ps-stat-l { font-size: .85rem; color: #6b7a88; margin-top: .35rem; max-width: 60%; }
.ps-ring { position: absolute; right: 1rem; top: 1rem; width: 64px; height: 64px; transform: rotate(-90deg); }
.ps-ring circle { fill: none; stroke: #eef2f6; stroke-width: 8; }
.ps-ring circle.val { stroke: var(--ps-primary); stroke-linecap: round; stroke-dasharray: 226; stroke-dashoffset: 226; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.ps-stat-ico { position: absolute; right: 1.25rem; top: 1.25rem; font-size: 1.8rem; color: color-mix(in srgb, var(--ps-primary) 25%, #fff); }
.ps-dist { margin-top: .75rem; }
.ps-dist-row { display: grid; grid-template-columns: 26px 1fr 18px; gap: .4rem; align-items: center; font-size: .72rem; color: #6b7a88; margin-bottom: 3px; }
.ps-dist-row .bar { height: 6px; background: #eef2f6; border-radius: 4px; overflow: hidden; }
.ps-dist-row .bar i { display: block; height: 100%; width: 0; background: var(--ps-primary); border-radius: 4px; transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.ps-dist.in .bar i { width: var(--w); }
.ps-dist-row b { text-align: right; color: var(--ps-ink); }
@media (max-width: 575px) { .ps-stat-n { font-size: 1.7rem; } .ps-ring { width: 52px; height: 52px; } }

/* ---- sections ---- */
.ps-eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ps-accent); margin-bottom: .35rem; }
.ps-eyebrow.light { color: #ffd9b3; }
.ps-section-title { font-weight: 800; letter-spacing: -.02em; font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---- services slider ---- */
.ps-services2 { background: linear-gradient(180deg, #f5f8fb, #fff); }
.ps-snap { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 320px); gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .5rem .25rem 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.ps-snap::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .ps-snap { grid-auto-columns: calc((100% - 3rem) / 4); } }
.ps-svc { scroll-snap-align: start; display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid #e6ecf2; text-decoration: none; color: var(--ps-ink); transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 250px; }
.ps-svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,32,46,.1); border-color: color-mix(in srgb, var(--ps-primary) 30%, #fff); color: var(--ps-ink); }
.ps-svc-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(135deg, var(--ps-primary), color-mix(in srgb, var(--ps-primary) 60%, #4fd1ff)); margin-bottom: 1rem; }
.ps-svc h3 { font-size: 1.1rem; font-weight: 700; }
.ps-svc p { font-size: .88rem; color: #6b7a88; flex-grow: 1; }
.ps-svc-foot { display: flex; justify-content: space-between; align-items: center; }
.ps-svc .price { font-weight: 800; color: var(--ps-accent); }
.ps-svc .price.muted { color: #6b7a88; font-weight: 600; font-size: .85rem; }
.ps-svc .go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--ps-primary) 10%, #fff); color: var(--ps-primary); transition: .2s; }
.ps-svc:hover .go { background: var(--ps-primary); color: #fff; }
.ps-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #dfe5ec; background: #fff; color: var(--ps-ink); display: grid; place-items: center; transition: .15s; }
.ps-arrow:hover { background: var(--ps-primary); color: #fff; border-color: var(--ps-primary); }

/* ---- emergency block ---- */
.ps-emergency { position: relative; overflow: hidden; border-radius: var(--ps-radius); padding: 2.5rem; background: linear-gradient(120deg, #1a1f3a 0%, #7a1d17 60%, #b3261e 100%); }
.ps-emergency::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.ps-checklist { list-style: none; padding: 0; }
.ps-checklist li { padding: .4rem 0 .4rem 1.6rem; position: relative; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.ps-checklist li:last-child { border: 0; }
.ps-checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; color: #ffd9b3; }

/* ---- process ---- */
.ps-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 992px) { .ps-steps { grid-template-columns: repeat(4, 1fr); } }
.ps-step { text-align: center; padding: 1.5rem 1rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid #e6ecf2; }
.ps-step-ico { position: relative; width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 18px; display: grid; place-items: center; font-size: 1.3rem; color: var(--ps-primary); background: color-mix(in srgb, var(--ps-primary) 10%, #fff); }
.ps-step-ico span { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--ps-accent); color: #fff; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
.ps-step h3 { font-size: 1rem; font-weight: 700; }
.ps-step p { font-size: .85rem; color: #6b7a88; margin: 0; }

/* ---- reviews carousel ---- */
.ps-reviews2 { background: linear-gradient(180deg, #fff, #eef4f9); }
.ps-review2 { padding: 1.5rem; height: 100%; box-shadow: 0 10px 30px rgba(16,32,46,.06); }
.ps-review2 p { font-size: .95rem; }
.ps-src { font-size: .72rem; font-weight: 600; color: #6b7a88; display: inline-flex; gap: .3rem; align-items: center; }
.ps-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--ps-primary), var(--ps-accent)); }
.ps-carousel .carousel-item { transition: transform .5s ease; }
.ps-carousel-nav { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.ps-carousel .carousel-indicators { display: flex; gap: .4rem; }
.ps-carousel .carousel-indicators button { width: 8px; height: 8px; border-radius: 50%; background: #c4ced8; border: 0; opacity: 1; margin: 0; }
.ps-carousel .carousel-indicators button.active { background: var(--ps-primary); width: 22px; border-radius: 4px; }
@media (max-width: 767px) { .ps-carousel .col-md-4:not(:first-child) { display: none; } }

/* ---- pricing teaser ---- */
.ps-price { position: relative; display: block; text-align: center; padding: 2rem 1.5rem; border-radius: var(--ps-radius); background: #fff; border: 1px solid #e6ecf2; text-decoration: none; color: var(--ps-ink); height: 100%; transition: .2s; }
.ps-price:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16,32,46,.1); color: var(--ps-ink); }
.ps-price i { color: var(--ps-primary); }
.ps-price.featured { border: 2px solid var(--ps-accent); box-shadow: 0 18px 40px color-mix(in srgb, var(--ps-accent) 20%, transparent); }
.ps-price-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--ps-accent); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .75rem; border-radius: 999px; }
.ps-price-n { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: .5rem 0; }
.ps-price-n small { font-size: .85rem; font-weight: 600; color: #6b7a88; }

/* ---- areas ---- */
.ps-areas2 { background: #f5f8fb; }
.ps-area-chip { display: inline-block; border: 1px solid #dfe5ec; border-radius: 999px; padding: .4rem .95rem; margin: .2rem; text-decoration: none; color: var(--ps-ink); background: #fff; font-weight: 500; transition: .15s; }
.ps-area-chip:hover { border-color: var(--ps-primary); color: var(--ps-primary); transform: translateY(-1px); }

/* ---- final cta ---- */
.ps-final { position: relative; overflow: hidden; border-radius: var(--ps-radius); padding: 3.5rem 2rem; background: var(--ps-primary); }
.ps-final-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--ps-accent) 55%, transparent), transparent 45%), radial-gradient(circle at 80% 80%, rgba(79,209,255,.5), transparent 45%); }

/* ---- generic (inner pages) ---- */
.ps-service-card { border: 1px solid #e6eaef; border-radius: var(--ps-radius); padding: 1.5rem; height: 100%; transition: box-shadow .15s, transform .15s; background: #fff; }
.ps-service-card:hover { box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.08); transform: translateY(-2px); }
.ps-service-card .icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--ps-primary) 12%, #fff); color: var(--ps-primary); font-size: 1.4rem; margin-bottom: 1rem; }
.ps-service-card h3 { font-size: 1.15rem; }
.ps-service-card .price { color: var(--ps-accent); font-weight: 700; }
.ps-review { background: #fff; border: 1px solid #e6eaef; border-radius: var(--ps-radius); padding: 1.25rem; height: 100%; }
.ps-trust-bar { background: #f5f7fa; border-bottom: 1px solid #e6eaef; }
.ps-trust-bar .item { display: flex; align-items: center; gap: .5rem; padding: .75rem 1rem; font-size: .9rem; font-weight: 600; color: #333; }
.ps-trust-bar .item i { color: var(--ps-primary); font-size: 1.2rem; }
.ps-hero { background: linear-gradient(135deg, var(--ps-primary) 0%, color-mix(in srgb, var(--ps-primary) 70%, #000) 100%); color: #fff; padding: 4rem 0; }
.ps-hero h1 { font-weight: 800; letter-spacing: -.02em; }
.ps-cta { background: var(--ps-primary); color: #fff; border-radius: var(--ps-radius); padding: 2.5rem; }
.ps-legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.ps-legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.ps-prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.ps-prose h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.accordion-item { border-color: #e6ecf2; }
.accordion-button { font-weight: 600; }
.accordion-button:not(.collapsed) { background: color-mix(in srgb, var(--ps-primary) 8%, #fff); color: var(--ps-primary); }
.ps-quote-steps .step-pane[hidden] { display: none; }
.ps-step-indicator { display: flex; gap: .5rem; margin-bottom: 1.5rem; }
.ps-step-indicator span { flex: 1; height: 6px; border-radius: 3px; background: #dfe5ec; }
.ps-step-indicator span.done { background: var(--ps-primary); }

/* ---- footer ---- */
.ps-footer { background: #0f1923; color: #c9d3dd; }
.ps-footer a { color: #fff; text-decoration: none; }
.ps-footer a:hover { text-decoration: underline; }
.ps-footer h3, .ps-footer h4 { color: #fff; }

/* ---- mobile bar + cookie ---- */
.ps-mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; display: flex; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid #dfe5ec; z-index: 1030; box-shadow: 0 -2px 10px rgba(0,0,0,.06); padding-bottom: env(safe-area-inset-bottom); }
.ps-mobile-bar a { flex: 1; text-align: center; padding: .5rem 0; font-size: .7rem; color: #333; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.ps-mobile-bar a i { font-size: 1.25rem; color: var(--ps-primary); }
.ps-mobile-bar a:first-child { background: var(--ps-accent); color: #fff; }
.ps-mobile-bar a:first-child i { color: #fff; }
.ps-cookie { position: fixed; bottom: 64px; left: 0; right: 0; background: rgba(15,25,35,.92); backdrop-filter: blur(10px); color: #fff; padding: 1rem 0; z-index: 1040; }
@media (min-width: 992px) { .ps-cookie { bottom: 0; } }
.ps-cookie a { color: #fff; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.text-accent{color:var(--ps-accent)!important}
.ps-howto li{margin-bottom:.4rem}
