
:root {
  --blue-950: #0a2d50;
  --blue-900: #0e3a66;
  --blue-700: #1a5f9e;
  --blue-500: #2b7fc1;
  --blue-100: #e8f3fb;
  --cyan: #3db8e8;
  --ink: #1a2332;
  --muted: #5a6a7a;
  --line: #d7e3ee;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --ok: #1b7a4a;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(10,45,80,.12);
  --max: 1120px;
  --head: "Montserrat", "Segoe UI", sans-serif;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  padding-top: 36px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; }
a:hover { color: var(--blue-500); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 2.5rem; }

.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: #7a1f1f; color: #fff; text-align: center;
  font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  padding: .45rem .75rem;
}

.topbar { background: var(--blue-950); color: #dceaf6; font-size: .85rem; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; padding: .45rem 0; justify-content: flex-end; }
.topbar-link { color: inherit; text-decoration: none; }
.topbar-link:hover { color: #fff; }

.nav-bar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 36px; z-index: 50; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .65rem 0; }
.logo img { height: 52px; width: auto; }
.nav-toggle { display: none; border: 1px solid var(--line); background: #fff; font-size: 1.35rem; padding: .35rem .65rem; border-radius: 8px; cursor: pointer; }
.main-nav { display: flex; align-items: center; gap: .15rem 1rem; flex-wrap: wrap; }
.main-nav > a, .drop-btn {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem;
  background: none; border: 0; cursor: pointer; padding: .4rem .2rem; font-family: inherit;
}
.main-nav > a.is-active, .drop-btn.is-active { color: var(--blue-700); }
.dropdown { position: relative; }
.drop-menu {
  display: none; position: absolute; top: 100%; left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: var(--shadow); padding: .5rem 0; margin: 0; list-style: none; z-index: 60;
}
.dropdown:hover .drop-menu, .dropdown:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: .45rem 1rem; color: var(--ink); text-decoration: none; }
.drop-menu a:hover { background: var(--blue-100); color: var(--blue-900); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  background: var(--blue-700); color: #fff !important; border: 0; border-radius: 999px;
  padding: .7rem 1.25rem; font-weight: 700; text-decoration: none; cursor: pointer;
  font-family: inherit; font-size: .95rem;
}
.btn:hover { background: var(--blue-900); color: #fff !important; }
.btn-sm { padding: .45rem .95rem; font-size: .88rem; }
.btn-outline { background: transparent; border: 2px solid #fff; }
.btn-outline:hover { background: #fff; color: var(--blue-900) !important; }
.btn-light { background: #fff; color: var(--blue-900) !important; }
.btn-light:hover { background: var(--blue-100); }

.hero {
  background-size: cover; background-position: center; color: #fff;
  padding: 4.5rem 0 4rem;
}
.hero-inner { max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; opacity: .9; font-weight: 700; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); line-height: 1.15; margin: .4rem 0 1rem; }
.lead { font-size: 1.1rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

.page-hero { background: linear-gradient(135deg, var(--blue-950), var(--blue-700)); color: #fff; padding: 2.5rem 0; }
.page-hero h1 { margin: 0 0 .35rem; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.page-hero .lead { margin: 0; opacity: .9; }

.section { padding: 3rem 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; }
.contam-label { font-weight: 700; margin-bottom: .35rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: .5rem 0 0; }
.chip-list li { background: var(--blue-100); color: var(--blue-900); padding: .35rem .75rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; box-shadow: 0 2px 10px rgba(10,45,80,.05);
  transition: transform .15s ease, box-shadow .15s ease; display: block;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.card-grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card img { width: 100%; height: auto; aspect-ratio: 9 / 10; object-fit: cover; object-position: center 30%; background: var(--blue-100); }
.card h3, .card p { padding: 0 1rem; }
.card h3 { margin: 1rem 0 .35rem; font-size: 1.05rem; }
.card p { margin: 0 0 1.1rem; color: var(--muted); font-size: .92rem; }
.card.plain { padding: 1.25rem; }
.card.plain h3, .card.plain p { padding: 0; }
.media-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.broch-wrap { margin: 1.25rem 0 0; }
/* brochure button = the site's own .btn (navy, square, bold caps); only layout tweaks here */
@media (max-width: 700px) { a.btn.broch-btn { display: flex; width: 100%; text-align: center; } }
.brochure-card img { width: 100%; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 4px 18px rgba(0,0,0,.15); background:#fff; }
.brochure-placeholder { border: 3px dashed #9bb; border-radius: 6px; padding: 5rem 1.5rem; text-align: center; font-weight: 700; color: #456; background: #f4f8fa; }
.media-card img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: center 20%; }

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1.25rem; }
.review { margin: 0; background: #fff; border-left: 4px solid var(--cyan); padding: 1rem 1.15rem; border-radius: 0 10px 10px 0; box-shadow: 0 2px 8px rgba(10,45,80,.06); }
.review p { margin: 0 0 .5rem; }
.review cite { color: var(--muted); font-style: normal; font-size: .9rem; }

.cta-band { background: linear-gradient(90deg, var(--blue-900), var(--blue-500)); color: #fff; padding: 2.5rem 0; text-align: center; }
.cta-band a { color: #fff; }
.cta-band h2 { margin-top: 0; }

.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .85rem 1rem; margin-bottom: .65rem; }
.faq-list summary { cursor: pointer; font-weight: 700; }
.faq-list details p { margin: .65rem 0 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; }
.contact-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.form-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.contact-form { display: grid; gap: .75rem; }
.contact-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--cyan); border-color: transparent; }
.form-success { color: var(--ok); font-weight: 600; margin: 0; }
.footer-form input, .footer-form textarea { width: 100%; padding: .55rem .65rem; border-radius: 8px; border: 1px solid #3a5f82; background: #0c355c; color: #fff; font: inherit; }
.footer-form input::placeholder, .footer-form textarea::placeholder { color: #9bb6ce; }

.city-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; list-style: none; padding: 0; }
.city-list a {
  display: block; padding: .85rem 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600;
}
.city-list a:hover { border-color: var(--blue-500); color: var(--blue-700); }

.challenge-list { padding-left: 1.15rem; }
.challenge-list li { margin-bottom: .4rem; }

.site-footer { background: var(--blue-950); color: #c9dceb; padding: 3rem 0 0; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 1.75rem; padding-bottom: 2rem; }
.footer-logo { margin-bottom: .75rem; filter: brightness(1.05); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .35rem; }
.footer-bottom { border-top: 1px solid #1a4a72; padding: .9rem 0; font-size: .85rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.muted { color: var(--muted); }
.site-footer .muted { color: #8aa6bf; }

@media (max-width: 900px) {
  .two-col, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .card-grid, .card-grid.three, .review-grid, .city-list { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); flex-direction: column;
    align-items: stretch; padding: .75rem 1rem 1rem; gap: .25rem;
  }
  .main-nav.open { display: flex; }
  .nav-bar { position: sticky; }
  .nav-inner { position: relative; }
  .dropdown { width: 100%; }
  .drop-menu { position: static; display: none; box-shadow: none; border: 0; padding-left: .5rem; }
  .dropdown.open .drop-menu { display: block; }
  .drop-btn { width: 100%; text-align: left; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.three, .review-grid, .city-list { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  body { padding-top: 52px; }
  .demo-banner { font-size: .72rem; line-height: 1.3; }
  .nav-bar { top: 52px; }
}
/* ===== Live-site mirror overrides ===== */
.demo-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.site-header {
  position: sticky !important;
  top: 36px !important; /* below demo banner */
  z-index: 100 !important;
}
.nav-bar {
  position: relative !important; /* stop nested sticky */
  top: auto !important;
}
@media (max-width: 560px) {
  .site-header { top: 52px !important; } /* taller wrapped demo banner */
}
:root { --navy: #0a0a50; --navy-2: #1a1a8c; }
body { font-size: 1.08rem; line-height: 1.65; }
h1, h2, h3, .btn, .hero-title { font-family: var(--head); }
.site-header, .nav-bar { background: #000 !important; border-bottom: 0 !important; }
.site-header .main-nav > a,
.site-header .drop-btn {
  color: #fff !important;
}
.site-header .main-nav > a.is-active,
.site-header .drop-btn.is-active { color: #9eb6ff !important; }
.site-header .drop-menu { background: #111; border-color: #333; }
.site-header .drop-menu a { color: #fff !important; }
.site-header .drop-menu a:hover { background: #1a1a8c; color: #fff !important; }
.site-header .logo img { filter: brightness(0) invert(1); height: 48px; }
.nav-toggle { background: #111; color: #fff; border-color: #444; }
.nav a { font-size: 1rem !important; }
.btn { border-radius: 0 !important; background: var(--navy-2); color: #fff !important; padding: .9rem 1.6rem; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.btn:hover { background: var(--navy); color: #fff !important; }
/* Live blueBtn: partial navy fill that expands on hover */
a.btn-blue-fill, .btn-blue-fill {
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  transition: color 0.3s ease;
}
a.btn-blue-fill::before, .btn-blue-fill::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 20%;
  height: 100%;
  background: var(--navy-2, #1a1a8c);
  z-index: -1;
  transition: width 0.4s ease;
  pointer-events: none;
}
a.btn-blue-fill:hover::before, .btn-blue-fill:hover::before {
  width: 100%;
}

.btn.btn-light, a.btn.btn-light {
  /* Live whiteBtn: partial white fill that expands on hover */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent !important;
  color: #0a0a50 !important;   /* Oct 19 launch fix: solid white button, navy text (the 25% partial fill hid "CA" in CALL) */
  border: 0 !important;
  transition: color 0.3s ease;
}
.btn.btn-light::before, a.btn.btn-light::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: -1;
  transition: width 0.4s ease;
  pointer-events: none;
}
.btn.btn-light:hover::before, a.btn.btn-light:hover::before,
.btn.btn-light:focus-visible::before, a.btn.btn-light:focus-visible::before {
  width: 100%; background: #e3e9fb;
}
.btn.btn-light:hover, a.btn.btn-light:hover {
  color: #0a0a50 !important;
  background: transparent !important;
}
/* On dark navy CTA bands, keep light buttons readable after fill */
.cta-band .btn.btn-light, .cta-band a.btn.btn-light {
  color: #0a0a50 !important;
}
.cta-band .btn.btn-light::before, .cta-band a.btn.btn-light::before {
  width: 100%;
}
.hero-form .btn, .hero-form button.btn {
  background: #1a1a8c !important;
  color: #fff !important;
}
.site-header a.btn, .site-header a.btn-sm {
  /* Live-site style: partial blue fill that expands on hover (CALL US NOW / Contact) */
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  transition: color 0.3s ease;
}
.site-header a.btn::before, .site-header a.btn-sm::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 100%;
  background: var(--navy-2, #1a1a8c);
  z-index: -1;
  transition: width 0.4s ease;
  pointer-events: none;
}
.site-header a.btn:hover::before, .site-header a.btn-sm:hover::before,
.site-header a.btn:focus-visible::before, .site-header a.btn-sm:focus-visible::before {
  width: 100%;
}
.site-header a.btn:hover, .site-header a.btn-sm:hover {
  color: #fff !important;
  background: transparent !important;
}
.chip-list li { border-radius: 0; font-size: 1rem; }
.media-card, .media-card img, .card img { border-radius: 6px; }
.card h3 { font-size: 1.25rem; } .card p { font-size: 1rem; }
.section h2, .prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.2; color: #111; }
.prose p { font-size: 1.1rem; }

.hero { min-height: clamp(560px, 80vh, 780px); display: flex; align-items: center; padding: 6rem 0 5rem; background-size: cover; background-position: center; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.hero-inner { max-width: 760px; }
.eyebrow { font-size: 1.05rem; letter-spacing: .06em; display: flex; align-items: center; gap: .7rem; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.eyebrow .dash { display: inline-block; width: 42px; height: 4px; background: var(--navy-2); }
.hero h1, .hero-title { font-size: clamp(2.6rem, 5.6vw, 4.4rem) !important; font-weight: 800; line-height: 1.08; margin: .6rem 0 1.2rem; color: #fff; text-shadow: 0 3px 14px rgba(0,0,0,.45); }
.hero .lead { font-size: clamp(1.15rem, 1.8vw, 1.4rem); text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.hero-form { background: #fff; color: var(--ink); padding: 1.8rem; box-shadow: 0 12px 40px rgba(0,0,0,.25); display: grid; gap: .7rem; }
.hero-form h3, .hero-form .hero-form-title { margin: 0 0 .3rem; font-size: 1.5rem; color: var(--navy); }
.hero-form input, .hero-form textarea { font: inherit; padding: .75rem; border: 1px solid #ccd; border-radius: 0; }
.hf-note { margin: 0; color: #a00; font-size: .9rem; }

.page-hero { background: #fff !important; color: #111 !important; padding: 3.5rem 0 1rem !important; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem) !important; font-weight: 800; color: #111; line-height: 1.15; }
.page-hero .lead { color: var(--muted); font-size: 1.25rem; }

.cta-band { padding: 4.5rem 0 !important; color: #fff;
  background-color: var(--navy) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='200' viewBox='0 0 600 200'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='2'%3E%3Cpath d='M0 40 Q150 0 300 40 T600 40'/%3E%3Cpath d='M0 80 Q150 40 300 80 T600 80'/%3E%3Cpath d='M0 120 Q150 80 300 120 T600 120'/%3E%3Cpath d='M0 160 Q150 120 300 160 T600 160'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 600px 200px !important; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: #fff; }
.cta-band p { font-size: 1.25rem; }
.cta-band .btn.btn-light, .cta-band a.btn.btn-light {
  background: #fff !important;
  color: #0a0a50 !important;
}

.testimonials { background: linear-gradient(rgba(225,240,252,.82),rgba(225,240,252,.82)), url('../images/opt/pattern-1600.webp') center/cover, #e1f0fc; }
.review { font-size: 1.08rem; }
@media (max-width: 900px) {
  .site-header .main-nav { background: #000 !important; border-bottom-color: #333; }
}
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero { min-height: 520px; } }

/* Hero image rotator */
.hero { position: relative; overflow: hidden; background: #0a2d50; }
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1); will-change: opacity, transform;
  /* reset zoom only after the fade-out has finished */
  transition: opacity 3s ease-in-out, transform 0s linear 3.2s;
}
/* outgoing slide stays fully opaque underneath while the next one fades in: no dip or flash */
.hero-slide.prev { opacity: 1; z-index: 1; transition: none; }
.hero-slide.active {
  opacity: 1; z-index: 2; transform: scale(1.05);
  transition: opacity 3s ease-in-out, transform 11s linear;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.active { transition: opacity 3s ease-in-out; transform: none; }
}
.fin-terms { white-space: nowrap; font-weight: 600; text-decoration: underline; }
/* slideshow pause/play (WCAG 2.2.2) */
.hero-pause {
  position: absolute; z-index: 4; right: 14px; top: 14px;
  width: 44px; height: 44px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.85); background: rgba(10,25,45,.6); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.hero-pause:hover { background: rgba(10,25,45,.85); }
.hero-pause:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #0a2d50; }
.hp-icon-pause { width: 14px; height: 16px; border-left: 5px solid currentColor; border-right: 5px solid currentColor; box-sizing: border-box; }
.hp-icon-play { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; margin-left: 4px; display: none; }
.hero.is-paused .hp-icon-pause { display: none; }
.hero.is-paused .hp-icon-play { display: block; }
.hero.is-paused .hero-slide.active { transition: opacity 3s ease-in-out; }
@media (max-width: 860px) { .hero-pause { top: 12px; right: 12px; } }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,25,35,.55), rgba(20,25,35,.28));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

/* Our Partnerships */
.partnerships .partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.25rem 1.5rem; margin-top: 1.5rem;
  background: #e9e9ec; padding: 1.75rem 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,.08); border-radius: 8px;
}
.partner-logo {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform .15s ease, opacity .15s ease;
}
.partner-logo:hover { transform: translateY(-2px); opacity: .9; }
.partner-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem;
  height: 72px; min-width: 130px; max-width: 190px; padding: .5rem .7rem;
  background: #fff; border-radius: 8px; text-decoration: none; color: #1a2332;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: transform .15s ease, opacity .15s ease; text-align: center;
}
.partner-badge:hover { transform: translateY(-2px); opacity: .9; color: #1a2332; }
.partner-badge .badge-logo { height: 20px; width: auto; display: block; }
.partner-badge .badge-icon { width: 24px; height: 24px; flex: none; }
.partner-badge .badge-text { font-size: .78rem; font-weight: 600; line-height: 1.2; }
.partner-badge .badge-text strong { display: block; font-size: .9rem; color: #111; }
.partner-logo img {
  width: auto; height: 48px; max-width: 130px;
  object-fit: contain; display: block; background: transparent;
}

/* Google Maps / service-area embed */
.map-embed { margin-top: 1rem; }
.map-embed-title { margin: 0 0 .75rem; font-size: 1.25rem; color: #111; }
.map-embed-frame {
  border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 18px rgba(10,45,80,.12);
  background: #e8f3fb;
  aspect-ratio: 16 / 10;
  min-height: 280px;
}
.map-embed-frame iframe { width: 100% !important; height: 100% !important; display: block; min-height: 280px; }
.map-caption { margin: .75rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.map-embed-compact .map-embed-frame { aspect-ratio: 4 / 3; min-height: 240px; }
.media-card.map-card { background: transparent; border: 0; box-shadow: none; padding: 0; }



/* ===== Proposal items 1-4 ===== */
.btn-call-sticky {
  background: #1a1a8c !important;
  color: #fff !important;
  white-space: nowrap;
}
.trust-strip {
  background: #0a0a50;
  color: #fff;
  text-align: center;
  padding: .7rem 0;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.trust-strip p { margin: 0; }
.breadcrumbs {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: .65rem 0;
  font-size: .92rem;
}
.breadcrumbs a { color: var(--blue-700); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .bc-sep { color: var(--muted); margin: 0 .35rem; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 700; }

.city-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.city-cards a.city-card {
  display: block;
  padding: 1.15rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(10,45,80,.05);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  height: 100%;
}
.city-cards a.city-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--blue-500);
  color: inherit;
}
.city-cards a.city-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
  color: #1a1a8c !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.city-cards a.city-card:hover h3 {
  color: #0a0a50 !important;
}
.city-cards a.city-card p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.45;
}
.city-card-link {
  display: inline-block;
  margin-top: .75rem;
  font-weight: 700;
  font-size: .95rem;
  color: #1a1a8c;
  text-decoration: underline;
}
.city-cards a.city-card:hover .city-card-link {
  color: #0a0a50;
}
.city-cards a.city-card:focus-visible {
  outline: 3px solid #1a1a8c;
  outline-offset: 2px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: start;
}
.lead-trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: .45rem;
}
.lead-trust-list li {
  background: var(--blue-100);
  color: var(--blue-900);
  padding: .45rem .85rem;
  font-weight: 700;
  font-size: .95rem;
}
.contact-form select {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}
.promise-card h3 { font-size: 1.15rem; margin-top: 0; }
.promise-card p { color: var(--muted); }

.mobile-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  background: #000;
  border-top: 1px solid #333;
  padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom, 0px));
  gap: .5rem;
  box-shadow: 0 -6px 20px rgba(0,0,0,.25);
}
.mobile-call-bar a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: .88rem;
  padding: .7rem .5rem;
  border-radius: 0;
}
.mcb-primary { background: #1a1a8c; color: #fff !important; }
.mcb-secondary { background: #222; color: #fff !important; border: 1px solid #555; }

@media (max-width: 900px) {
  .city-cards { grid-template-columns: 1fr 1fr; }
  .lead-form-grid { grid-template-columns: 1fr; }
  .btn-call-sticky { display: none !important; } /* mobile uses bottom bar */
  .mobile-call-bar { display: flex; }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .city-cards { grid-template-columns: 1fr; }
  body { padding-bottom: 78px; }
}

/* ===== Proposal gap pass (Oct 19) ===== */
.svc-hero {
  background: linear-gradient(120deg, #0a0a50 0%, #0e3a66 55%, #1a5f9e 100%);
  color: #fff; padding: 3rem 0 3.25rem;
}
.svc-hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 2.5rem; align-items: center; }
.svc-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.15; margin: .4rem 0 .85rem; }
.svc-hero .lead { font-size: 1.2rem; color: #e8f3fb; margin: 0 0 .75rem; }
.svc-hero-trust { font-size: .95rem; font-weight: 600; color: #cfe3f5; margin: 0; }
.svc-hero-photo { margin: 0; }
.svc-hero-photo img {
  width: 100%; max-height: 420px; object-fit: cover; display: block;
  border: 4px solid rgba(255,255,255,.9); box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
@media (max-width: 860px) { .svc-hero-grid { grid-template-columns: 1fr; } .svc-hero-photo img { max-height: 300px; } }
.btn-outline-light { background: transparent !important; color: #fff !important; border: 2px solid #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12) !important; }
.btn-ghost { background: transparent !important; color: var(--blue-900) !important; border: 2px solid var(--blue-900); }
.btn-review { white-space: nowrap; }
.cta-band .btn-review { margin-left: .5rem; }
.pack-body h2 { margin-top: 2.1rem; }
.pack-body ul { padding-left: 1.3rem; list-style: disc; }
.pack-body li { margin: .3rem 0; }
.pack-body table th { background: #e8f3fb; text-align: left; }
.pack-quote { border-left: 4px solid var(--blue-700); background: #f3f8fc; margin: 1rem 0; padding: .75rem 1rem; }
.pack-quote p { margin: .3rem 0; }
.faq-list details > p, .faq-list details > ul, .faq-list details > div { margin-left: 0; }
.faq-more { font-weight: 700; }
.svc-cta p { font-size: 1.02rem; }
.well-xlink { background: #f3f8fc; border-left: 4px solid var(--blue-700); padding: .7rem 1rem; margin-top: 1.5rem; }
.which-system-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .75rem; list-style: none; padding: 0; margin: 1.25rem 0 1rem; }
.which-system-row a {
  display: inline-block; padding: .7rem 1.1rem; background: #fff; border: 2px solid var(--blue-900);
  color: var(--blue-900); font-weight: 700; text-decoration: none;
}
.which-system-row a:hover { background: var(--blue-900); color: #fff; }
.why-list { list-style: disc; padding-left: 1.3rem; }
.why-list li { margin: .5rem 0; }
.contact-test-line { background: #f3f8fc; border-left: 4px solid var(--blue-700); padding: .7rem 1rem; }
.article-related { border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 1.5rem; }
.footer-trust { font-size: .9rem; line-height: 1.5; }
.footer-trust-main { font-weight: 700; }
/* Pentair: unaltered, unlinked, no box; clear space around the mark */
.partner-plain { margin: 0; display: inline-flex; align-items: center; justify-content: center; }
.partner-pentair { padding: 12px 18px; }
.partner-pentair { flex-direction: column; gap: .45rem; }
.partner-pentair img { height: 34px; width: auto; display: block; }
.partner-pentair figcaption { font-size: .78rem; font-weight: 700; color: #1a2332; }
.true-blue-row { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.true-blue-row p { flex: 1 1 320px; margin: 0; }
.true-blue-fig { margin: 0; padding: 12px; flex: none; }
.true-blue-fig img { width: 150px; height: auto; display: block; }
@media (min-width: 981px) { .main-nav { gap: .15rem .7rem; } .main-nav > a, .drop-btn { font-size: .86rem; } }
/* Fleck lock-up line (softener + saltless pages only) */
.fleck-line { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.25rem 0; }
.fleck-line img { height: 34px; width: auto; max-width: 100%; display: block; margin: 8px 0; }
.fleck-line span { font-size: .95rem; font-weight: 600; color: var(--muted); }

/* ===== SEO audit fix pass (Oct 19, 2026) ===== */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2"); }
/* slimmer chrome: banner scrolls away, top bar sits outside the sticky header */
body, body.demo { padding-top: 0; }
.demo-banner { position: static !important; }
.site-header { top: 0 !important; }
@media (max-width: 560px) { body { padding-top: 0; } .site-header { top: 0 !important; } }
.topbar-inner { align-items: center; }
.tb-rating { font-weight: 700; color: #fff !important; }
.stars { color: #f5b301; }
@media (max-width: 900px) {
  .topbar { font-size: .82rem; }
  .topbar-inner { justify-content: space-between; flex-wrap: nowrap; gap: .5rem; padding: 0; }
  .topbar-link { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
  .topbar .tb-phone, .topbar .tb-sales, .topbar .tb-email, .topbar .tb-long { display: none; }
  .site-header .logo img { height: 40px; }
  .nav-inner { padding: .4rem 0; }
}
/* hamburger + scrollable mobile menu (all 17 cities reachable) */
.nav-toggle { width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; }
@media (max-width: 900px) {
  .main-nav.open { flex-wrap: nowrap; max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-y: auto; overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; padding-bottom: 96px; }
  .main-nav > a, .drop-btn, .drop-menu a { min-height: 44px; display: flex; align-items: center; }
  .main-nav .btn { min-height: 48px; justify-content: center; margin-top: .35rem; }
  .footer-list a, .footer-social a { display: inline-flex; align-items: center; min-height: 44px; }
  .served-cities a { display: inline-block; padding: .6rem .15rem; }
}
/* touch screens never hover: solid, readable buttons */
@media (hover: none), (pointer: coarse) {
  .btn.btn-light, a.btn.btn-light { background: #fff !important; color: #0a0a50 !important; }
  .btn.btn-light::before, a.btn.btn-light::before { display: none; }
  .site-header a.btn, .site-header a.btn-sm { background: #1a1a8c !important; }
  .site-header a.btn::before, .site-header a.btn-sm::before { display: none; }
  a.btn-blue-fill, .btn-blue-fill { background: #1a1a8c !important; }
  a.btn-blue-fill::before, .btn-blue-fill::before { display: none; }
}
/* forms: 16px stops iOS zoom-on-focus */
input, select, textarea { font-size: 16px; }
.contact-form input, .contact-form textarea, .contact-form select, .hero-form input, .hero-form textarea,
.footer-form input, .footer-form textarea { font-size: 16px !important; min-height: 44px; }
.btn { min-height: 44px; }
/* contact map overflow */
.map-embed, .map-embed-frame { max-width: 100%; }
.map-embed-frame { aspect-ratio: auto; height: clamp(280px, 60vw, 420px); min-height: 0; }
.map-embed-compact .map-embed-frame { aspect-ratio: auto; height: clamp(240px, 56vw, 320px); }
.map-embed-frame iframe { min-height: 0; max-width: 100%; }
.contact-grid > *, .two-col > *, .lead-form-grid > *, .city-hero-grid > * { min-width: 0; }
/* tap targets */
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumbs { padding: 0; }
.chip-list li a { display: inline-flex; align-items: center; min-height: 44px; margin: -.35rem -.75rem; padding: .35rem .75rem; }
/* sticky bottom bar: Call · Text · Sales */
.mobile-call-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 52px;
  padding: .3rem .25rem; font-size: .95rem; line-height: 1.15; }
.mobile-call-bar a span { font-size: .72rem; font-weight: 600; opacity: .92; }
.mcb-text { background: #0e6b3e; color: #fff !important; }
/* contrast */
.lead { opacity: 1; }
.page-hero .lead { color: #3f4d5b !important; }
.muted { color: #4f5f6f; }
.card p, .city-cards a.city-card p, .faq-list details p, .map-caption, .promise-card p { color: #4a5a6a; }
.btn-call { background: #1a5f9e !important; }
.btn-call:hover { background: #0e3a66 !important; }
/* light page-specific hero for inner pages */
.page-hero { background: linear-gradient(180deg, #eaf3fb 0%, #ffffff 100%) !important; padding: 2.25rem 0 1.75rem !important; }
.page-hero .hero-actions { margin-top: 1.1rem; align-items: center; }
.fin-disclosure { color: #4f5f6f; line-height: 1.5; max-width: 62ch; margin-top: .5rem; }
.rating-badge { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .35rem .85rem; background: #fff;
  border: 1px solid #c9d8e6; color: #1a2332 !important; font-weight: 700; text-decoration: none; font-size: .95rem; }
.rating-badge:hover { border-color: #1a5f9e; color: #0a0a50 !important; }
.hero-rating, .cta-rating { margin: 1rem 0 0; }
.svc-hero .hero-actions { align-items: center; }
/* homepage hero: first slide is a real <img>, the rest load later */
.hero-slide-img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Adobe Stock heroes (Oct 19): keep the glass/faucet in frame on narrow screens */
@media (max-width: 860px) { .hero-slides .hero-slide:nth-child(2) { background-position: 42% center; } .hero-slides .hero-slide:nth-child(3) { background-position: 30% center; } }
/* slide 3 (mirrored tap/glass photo, Oct 19): extra shade so the headline reads over the chrome reflections */
.hero-slides .hero-slide:nth-child(3)::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,14,22,.38), rgba(10,14,22,.24) 55%, rgba(10,14,22,.08)); }
.testimonials { background-image: linear-gradient(rgba(225,240,252,.82),rgba(225,240,252,.82)), url('../images/opt/pattern-1600.webp'); background-size: cover; }
/* city pages */
.city-hero { background: linear-gradient(180deg, #eaf3fb 0%, #ffffff 100%); padding: 1.5rem 0 2rem; }
.city-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.city-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.15; margin: .2rem 0 .8rem; color: #111; font-weight: 800; }
.city-hero .hook { font-size: 1.1rem; color: #2c3a48; margin: 1rem 0 0; }
.city-hero .hero-actions { margin-top: .5rem; }
.city-hero-photo { margin: 0; }
.city-hero-photo img, .inline-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.city-hero-photo figcaption, .inline-photo figcaption { font-size: .9rem; color: #4a5a6a; margin-top: .45rem; }
.inline-photo { margin: 1.5rem 0; max-width: 560px; }
@media (max-width: 860px) {
  .city-hero { padding: 1rem 0 1.5rem; }
  .city-hero-grid { grid-template-columns: 1fr; gap: .75rem; }
  .city-hero-text { display: contents; }
  .city-hero h1 { order: 1; margin-bottom: .2rem; }
  .city-hero .hero-actions { order: 2; margin-top: .25rem; }
  .city-hero .hero-actions .btn { padding: .75rem 1rem; font-size: .9rem; }
  .city-hero-photo { order: 3; }
  .city-hero-photo img { aspect-ratio: 16 / 10; }
  .city-hero .hook { order: 4; margin-top: .25rem; }
  .city-hero .hero-rating { order: 5; margin-top: 0; }
}
.facts-box { background: #f3f8fc; border-left: 4px solid #1a5f9e; padding: 1rem 1.25rem; margin: 1.75rem 0; }
.facts-box h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem) !important; margin-top: 0; }
.facts-box ul { padding-left: 1.1rem; margin: 0; }
.facts-box li { margin: .55rem 0; }
a.src { font-size: .85rem; color: #1a5f9e; }
.problem-grid .problem-card { padding: 1.25rem 1.25rem 1.1rem; border-top: 4px solid var(--blue-700); display: flex; flex-direction: column; gap: .35rem; }
.problem-card .pc-tag { font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-700); }
.problem-grid .problem-card h3, .problem-grid .problem-card p { padding: 0; }
.problem-card h3 { margin: .1rem 0 .2rem; }
.problem-card p { margin: 0; flex: 1; }
@media (min-width: 901px) { .main-nav { gap: .15rem .6rem; } .main-nav > a.nav-home { display: none; } .main-nav .dropdown .drop-btn { padding-left: 0; padding-right: 0; } .site-header .nav-inner .logo img { height: 42px; } }
/* Oct 19 (Kyle): bigger header type. Topbar ~+12%, nav +16-22%, dropdown items larger with roomier padding.
   Stepped so the nav stays on one line from 1150px up: header gets a wider container on desktop. */
@media (min-width: 901px) {
  .site-header .drop-menu { min-width: 280px; padding: .6rem 0; }
  .site-header .drop-menu a { font-size: 1.2rem; padding: .6rem 1.35rem; line-height: 1.35; }
}
@media (min-width: 1150px) {
  .topbar { font-size: .95rem; }
  .site-header .nav-inner, .topbar-inner { width: calc(100% - 48px); max-width: 1360px; }
}
@media (min-width: 1150px) and (max-width: 1204px) { .site-header .main-nav { gap: .15rem .55rem; } .site-header .main-nav > a, .site-header .drop-btn { font-size: .86rem; } }
@media (min-width: 1205px) and (max-width: 1275px) { .site-header .main-nav { gap: .15rem .55rem; } .site-header .main-nav > a, .site-header .drop-btn { font-size: .93rem; } }
@media (min-width: 1276px) and (max-width: 1360px) { .site-header .main-nav { gap: .15rem .6rem; } .site-header .main-nav > a, .site-header .drop-btn { font-size: 1rem; } }
@media (min-width: 1361px) { .site-header .main-nav { gap: .15rem .8rem; } .site-header .main-nav > a, .site-header .drop-btn { font-size: 1.05rem; } }
@media (max-width: 900px) {
  .site-header .main-nav > a, .site-header .drop-btn { font-size: 1.05rem; }
  .site-header .drop-menu a { font-size: 1rem; }
}
/* Oct 20 Riverbank: dedicated portrait crop so the whole softener (valve head to base) shows */
.city-hero-photo:has(img[src*="riverbank-softener-crop"]) { max-width: 390px; margin-inline: auto; width: 100%; }
.city-hero-photo img[src*="riverbank-softener-crop"] { aspect-ratio: 3 / 4 !important; object-fit: cover; object-position: 50% 50% !important; height: auto; }
@media (max-width: 860px) { .city-hero-photo:has(img[src*="riverbank-softener-crop"]) { max-width: 340px; } }
/* Oct 20 go-live fixes */
@media (max-width: 360px) { .topbar .tb-long { display: none; } .topbar-link { font-size: .76rem; } .topbar-inner { gap: .35rem; } .topbar .stars { margin-right: 0; } }
.hero-grid > * { min-width: 0; }
@media (max-width: 360px) { .hero-form { padding: 1.25rem; } }
/* Oct 20 bigger, crisp vector logo (traced SVG of the existing wordmark) */
.site-header .nav-inner .logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.site-header .logo img, .site-header .nav-inner .logo img { height: auto !important; width: var(--logo-w, 250px); max-width: none; filter: none; display: block; }
.footer-logo { width: 220px; height: auto; filter: none; }
@media (max-width: 900px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 112px), 290px); } }
@media (min-width: 901px) and (max-width: 1149px) { .site-header .main-nav > a.btn-call-sticky .call-num { display: none; } }
@media (min-width: 1150px) { .site-header .main-nav { column-gap: .42rem !important; } }
@media (min-width: 901px) and (max-width: 1023px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 724px), 250px); } }
@media (min-width: 1024px) and (max-width: 1149px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 855px), 250px); } }
@media (min-width: 1150px) and (max-width: 1204px) { .site-header .nav-inner .logo img { width: calc(100vw - 981px); } }
@media (min-width: 1205px) and (max-width: 1275px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 1010px), 250px); } }
@media (min-width: 1276px) and (max-width: 1360px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 1065px), 250px); } }
@media (min-width: 1361px) { .site-header .nav-inner .logo img { width: min(calc(100vw - 1131px), 260px); } }
/* Oct 19 (Kyle picked option A): slim discount announcement bar above the header on every page */
.announce{background:#0a0a50;color:#fff;font-family:var(--head,Montserrat),sans-serif;font-size:.9rem;font-weight:600;text-align:center;border-bottom:1px solid rgba(255,255,255,.15)}
.announce a{display:block;color:#fff !important;text-decoration:none;padding:.5rem 1rem;line-height:1.35}
.announce a:hover .an-cta,.announce a:focus-visible .an-cta{text-decoration:underline}
.announce a:focus-visible{outline:3px solid #ffd166;outline-offset:-3px}
.announce .an-cta{color:#ffd166;font-weight:800;white-space:nowrap;margin-left:.4rem}
@media (max-width:600px){.announce{font-size:.8rem}.announce a{padding:.45rem .75rem}}
#savings{scroll-margin-top:var(--savings-offset,96px)}
/* Oct 19 review page */
.rv-section { background: #f4f6fb; }
.rv-card { max-width: 560px; margin: 0 auto 1.5rem; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.12); padding: 2rem; }
.rv-h { color: var(--navy-2); font-size: 1.75rem; margin: 0 0 .35rem; }
.rv-h:focus { outline: none; }
.rv-sub { color: #444; margin: 0 0 1.25rem; }
.rv-stars { border: 0; margin: 0 0 1rem; padding: 0; display: flex; gap: .4rem; }
.rv-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars label { font-size: 3rem; line-height: 1; color: #d0d4de; cursor: pointer; padding: .1rem; transition: color .15s, transform .15s; }
.rv-stars label.on { color: #f5b301; }
.rv-stars label:hover { transform: scale(1.08); }
.rv-stars input:focus-visible + label { outline: 3px solid var(--navy-2); outline-offset: 2px; }
.rv-picked { margin: 0 0 1rem; font-weight: 600; }
.rv-picked-stars { color: #f5b301; font-size: 1.5rem; letter-spacing: .1em; vertical-align: middle; }
.rv-change { background: none; border: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .9rem; padding: .25rem; }
.rv-form label { display: block; font-weight: 700; margin: .9rem 0 .35rem; }
.rv-form input:not([type=hidden]), .rv-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: .35rem; padding: .75rem; border: 1px solid #c9cfdb; font: inherit; font-size: 16px; font-weight: 400; }
.rv-form .rv-submit { display: flex; width: 100%; margin-top: 1.25rem; }
.rv-glink { text-align: center; margin: 1.1rem 0 0; font-size: .875rem; color: #4a5568; }
.rv-glink a { color: var(--navy-2); text-decoration: underline; }
.rv-thanks { padding: .5rem 0; }
.rv-card [hidden], .rv-card[hidden], .rv-next[hidden] { display: none !important; }
@media (max-width: 600px) { .rv-card { padding: 1.5rem 1.25rem; } .rv-stars label { font-size: 2.6rem; } }
/* Oct 19 homepage Savings & Discounts band */
.savings-band { background: linear-gradient(180deg, #eef2ff 0%, #e3e9fb 100%); border-top: 4px solid var(--navy-2); border-bottom: 4px solid var(--navy-2); }
.savings-kicker { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .85rem; color: var(--navy-2); margin: 0 0 .25rem; }
.savings-band h2 { margin-top: 0; }
.savings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.25rem; }
.savings-item { background: #fff; border-top: 5px solid var(--navy-2); padding: 1.5rem 1.4rem; box-shadow: 0 6px 18px rgba(10,10,80,.10); }
.savings-item svg { color: var(--navy-2); display: block; margin-bottom: .6rem; }
.savings-item h3 { margin: 0 0 .5rem; font-size: 1.2rem; color: var(--navy); }
.savings-item p { margin: 0 0 .6rem; }
.savings-item a { color: var(--navy-2); font-weight: 700; }
.savings-fine { font-size: .85rem; color: #4a5568; }
.savings-cta { margin: 1.75rem 0 0; }
@media (max-width: 860px) { .savings-grid { grid-template-columns: 1fr; } .savings-cta .btn { display: flex; width: 100%; } }
/* Oct 19 crop audit: per-image focal points so object-fit:cover never cuts the top of equipment */
/* Oct 20: stainless side-yard install replaces the banned garage Big Blue photos; keep the valve head in frame */
img[src*="/stainless-water-treatment-side-yard."], img[src*="/stainless-water-treatment-side-yard-480"], img[src*="/stainless-water-treatment-side-yard-800"], img[src*="/stainless-water-treatment-side-yard-1050"], img[src*="/stainless-water-treatment-side-yard-1200"], img[src*="/stainless-water-treatment-side-yard-1600"] { object-position: 50% 10% !important; }
img[src*="/g4-outdoor-iron-tanks."], img[src*="/g4-outdoor-iron-tanks-480"], img[src*="/g4-outdoor-iron-tanks-800"], img[src*="/g4-outdoor-iron-tanks-1200"], img[src*="/g4-outdoor-iron-tanks-1600"] { object-position: 50% 4% !important; }
img[src*="/install-outdoor-stainless-black-tanks."], img[src*="/install-outdoor-stainless-black-tanks-480"], img[src*="/install-outdoor-stainless-black-tanks-800"], img[src*="/install-outdoor-stainless-black-tanks-1200"], img[src*="/install-outdoor-stainless-black-tanks-1600"] { object-position: 50% 4% !important; }
img[src*="/comm-indoor-multi-tank."], img[src*="/comm-indoor-multi-tank-480"], img[src*="/comm-indoor-multi-tank-800"], img[src*="/comm-indoor-multi-tank-1200"], img[src*="/comm-indoor-multi-tank-1600"] { object-position: 50% 20% !important; }
img[src*="/install-side-yard-bigblue."], img[src*="/install-side-yard-bigblue-480"], img[src*="/install-side-yard-bigblue-800"], img[src*="/install-side-yard-bigblue-1200"], img[src*="/install-side-yard-bigblue-1600"] { object-position: 50% 20% !important; }
img[src*="/install-softener-platform."], img[src*="/install-softener-platform-480"], img[src*="/install-softener-platform-800"], img[src*="/install-softener-platform-1200"], img[src*="/install-softener-platform-1600"] { object-position: 50% 20% !important; }
img[src*="/nitrate."], img[src*="/nitrate-480"], img[src*="/nitrate-800"], img[src*="/nitrate-1200"], img[src*="/nitrate-1600"] { object-position: 50% 18% !important; }
img[src*="/gbp-01_outdoor_bigblue_softener."], img[src*="/gbp-01_outdoor_bigblue_softener-480"], img[src*="/gbp-01_outdoor_bigblue_softener-800"], img[src*="/gbp-01_outdoor_bigblue_softener-1200"], img[src*="/gbp-01_outdoor_bigblue_softener-1600"] { object-position: 50% 20% !important; }
img[src*="/big-blue-sediment-filter-install."], img[src*="/big-blue-sediment-filter-install-480"], img[src*="/big-blue-sediment-filter-install-800"], img[src*="/big-blue-sediment-filter-install-1200"], img[src*="/big-blue-sediment-filter-install-1600"] { object-position: 50% 30% !important; }
img[src*="/chlorine-bigblue-outdoor."], img[src*="/chlorine-bigblue-outdoor-480"], img[src*="/chlorine-bigblue-outdoor-800"], img[src*="/chlorine-bigblue-outdoor-1200"], img[src*="/chlorine-bigblue-outdoor-1600"] { object-position: 50% 30% !important; }
img[src*="/chlorine-glassware-pour."], img[src*="/chlorine-glassware-pour-480"], img[src*="/chlorine-glassware-pour-800"], img[src*="/chlorine-glassware-pour-1200"], img[src*="/chlorine-glassware-pour-1600"] { object-position: 50% 25% !important; }
img[src*="/g3-treatment-skid."], img[src*="/g3-treatment-skid-480"], img[src*="/g3-treatment-skid-800"], img[src*="/g3-treatment-skid-1200"], img[src*="/g3-treatment-skid-1600"] { object-position: 50% 30% !important; }
img[src*="/install-closet-softener-bigblue."], img[src*="/install-closet-softener-bigblue-480"], img[src*="/install-closet-softener-bigblue-800"], img[src*="/install-closet-softener-bigblue-1200"], img[src*="/install-closet-softener-bigblue-1600"] { object-position: 50% 30% !important; }
img[src*="/softener."], img[src*="/softener-480"], img[src*="/softener-800"], img[src*="/softener-1200"], img[src*="/softener-1600"] { object-position: 50% 35% !important; }
img[src*="/softener-install."], img[src*="/softener-install-480"], img[src*="/softener-install-800"], img[src*="/softener-install-1200"], img[src*="/softener-install-1600"] { object-position: 50% 35% !important; }
img[src*="/saltless-conditioner-tank-hero."], img[src*="/saltless-conditioner-tank-hero-480"], img[src*="/saltless-conditioner-tank-hero-800"], img[src*="/saltless-conditioner-tank-hero-1200"], img[src*="/saltless-conditioner-tank-hero-1600"] { object-position: 50% 40% !important; }
img[src*="/rain-shower-head-water."], img[src*="/rain-shower-head-water-480"], img[src*="/rain-shower-head-water-800"], img[src*="/rain-shower-head-water-1200"], img[src*="/rain-shower-head-water-1600"] { object-position: 80% 50% !important; }
@media (max-width: 860px) { .svc-hero-photo img { max-height: 360px; } }
/* Oct 19 header-button fix: solid buttons that fully wrap their text (the old 20% ::before fill + nav-link padding left text overflowing) */
.site-header .main-nav > a.btn { display: inline-flex; align-items: center; justify-content: center; padding: .5rem .85rem; border-radius: 0 !important;
  white-space: nowrap; line-height: 1.2; text-transform: uppercase; letter-spacing: 0; transition: background .2s ease; }
@media (min-width: 901px) { .site-header .main-nav > a.btn { padding: .45rem .55rem; font-size: .95rem; } }
@media (min-width: 901px) and (max-width: 1360px) { .site-header .main-nav > a.btn { font-size: .88rem; } }
@media (min-width: 901px) and (max-width: 1275px) { .site-header .main-nav > a.btn { font-size: .8rem; padding: .45rem .5rem; } }
@media (min-width: 1150px) and (max-width: 1275px) { .site-header .main-nav { gap: .15rem .45rem; } }
@media (min-width: 901px) and (max-width: 1149px) { .site-header .main-nav { gap: .15rem .5rem; flex-wrap: nowrap; }
  .site-header .main-nav > a, .site-header .drop-btn { font-size: .8rem; } .site-header .main-nav > a.btn { font-size: .74rem; padding: .4rem .45rem; }
  .site-header .nav-inner .logo img { height: 34px; } }
@media (min-width: 901px) { .site-header .main-nav > a, .site-header .main-nav > .dropdown, .site-header .drop-btn { white-space: nowrap; flex-shrink: 0; } }
@media (min-width: 901px) and (max-width: 1023px) { .site-header .main-nav { gap: .15rem .38rem; } .site-header .main-nav > a, .site-header .drop-btn { font-size: .74rem; }
  .site-header .main-nav > a.btn { font-size: .68rem; padding: .38rem .38rem; } .site-header .nav-inner .logo img { height: 28px; } .site-header .nav-inner { gap: .5rem; } }
@media (min-width: 1024px) and (max-width: 1149px) { .site-header .main-nav > a, .site-header .drop-btn { font-size: .86rem; } .site-header .main-nav > a.btn { font-size: .78rem; } }
.site-header .main-nav > a.btn::before { display: none !important; }
.site-header .main-nav > a.btn.btn-call-sticky { background: #fff !important; color: #0a0a50 !important; }
.site-header .main-nav > a.btn.btn-call-sticky:hover, .site-header .main-nav > a.btn.btn-call-sticky:focus-visible { background: #e3e9fb !important; color: #0a0a50 !important; }
.site-header .main-nav > a.btn:not(.btn-call-sticky) { background: #1a1a8c !important; color: #fff !important; }
.site-header .main-nav > a.btn:not(.btn-call-sticky):hover, .site-header .main-nav > a.btn:not(.btn-call-sticky):focus-visible { background: #2b2bc0 !important; }
.problem-card .pc-more { font-weight: 700; color: var(--blue-900); margin-top: .5rem; }
.img-placeholder { display: flex; align-items: center; justify-content: center; min-height: 280px; border: 3px dashed #c0392b; background: #fdf2f0; color: #8e2a1f; font-weight: 700; text-align: center; padding: 1.5rem; border-radius: 14px; }
.byline { font-size: .9rem; }
.source-list li { margin: .25rem 0; overflow-wrap: anywhere; }
.pack-body a.src, .prose a.src { overflow-wrap: anywhere; }
.facts-note { font-size: .92rem; color: #4a5a6a; margin: .75rem 0 0; }
.job-story { background: #fff; border: 1px solid #d7e3ee; padding: 1rem 1.25rem; margin: 1.5rem 0; }
.job-story h2 { margin-top: 0; font-size: clamp(1.3rem, 2.4vw, 1.6rem) !important; }
.g-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 1rem; }
.g-review { margin: 0; background: #fff; border: 1px solid #d7e3ee; padding: 1rem 1.15rem; }
.g-review p { margin: 0 0 .6rem; }
.g-review cite { font-style: normal; font-weight: 700; color: #1a2332; }
.g-review .g-meta { display: block; font-weight: 500; color: #4a5a6a; font-size: .88rem; }
.reviews-note { margin-top: 1rem; font-size: .95rem; }
.footer-social { font-size: .92rem; }
@media (max-width: 900px) { body.nav-open { overflow: hidden; } }
/* Formspree routing fields */
.cust-type { border: 0; padding: 0; margin: .15rem 0 .2rem; min-width: 0; }
.cust-type legend { font-weight: 600; font-size: .95rem; padding: 0; margin-bottom: .2rem; }
.cust-type .req { color: #b42318; }
.footer-form .cust-type .req { color: #ffb4a8; }
form .cust-type label { display: inline-flex !important; align-items: center; gap: .5rem; min-height: 44px; margin: 0 1.25rem 0 0; font-weight: 500; font-size: 1rem; cursor: pointer; }
form .cust-type input[type="radio"] { width: 22px; height: 22px; min-height: 0 !important; margin: 0; padding: 0; flex: none; accent-color: #1a5f9e; }
.emerg-fig { margin: 12px 0; max-width: 100%; }   /* prelaunch audit: default <figure> 40px side margins caused sideways scroll on 360-390px phones */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b42318; font-weight: 600; margin: 0; }
.enhancify-sp { color: inherit; opacity: .85; }
/* Partnerships row: Pentair on its own centered line, the rest balanced beneath */
#partnerships .partner-pentair { flex: 0 0 100%; display: flex; flex-direction: column; align-items: center; margin: 0 0 .25rem; }
@media (max-width: 560px) {
  #partnerships .partners-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem .75rem; padding: 1.5rem .75rem; justify-items: center; align-items: center; }
  #partnerships .partner-pentair { grid-column: 1 / -1; }
  #partnerships .partner-badge { width: 100%; max-width: 170px; min-width: 0; height: auto; min-height: 72px; padding: .5rem .5rem; align-self: stretch; }
  #partnerships .partner-badge .badge-text { font-size: .74rem; }
}
.partnerships .enhancify-sp { margin: 1rem 0 0; color: #4f5f6f; opacity: 1; }
.form-legal { margin: 0; line-height: 1.45; color: #4f5f6f; }
.form-legal a { text-decoration: underline; min-height: 0; display: inline; }
.footer-form .form-legal { color: #c9d8e6; }
.footer-form .form-legal a { color: #fff; }
.footer-form .form-error { color: #ffb4a8; }
/* shorter homepage hero on phones so the CTA shows without scrolling */
@media (max-width: 860px) {
  .hero { min-height: 0 !important; padding: 2.25rem 0 2.5rem !important; }
  .hero h1, .hero-title { font-size: clamp(1.9rem, 8vw, 2.4rem) !important; margin: .4rem 0 .8rem; }
  .hero .eyebrow { font-size: .85rem; }
  .hero .lead { font-size: 1.05rem; }
  .hero-actions .btn { padding: .75rem 1rem; font-size: .9rem; }
  .city-hero .hero-actions { flex-wrap: nowrap; gap: .5rem; }
  .city-hero .hero-actions .btn { flex: 0 1 auto; white-space: nowrap; }
}

/* Oct 20: benefit-first "What you'll notice" strip (replaces the repeated trust line under heroes) */
.benefit-strip { background: #f2f7fc; border-bottom: 1px solid #d6e2ee; padding: 1.1rem 0 1.2rem; }
.benefit-strip .bs-head { margin: 0 0 .65rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy-2); }
.benefit-strip .bs-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: .8rem 1.2rem; }
@media (max-width: 1000px) { .benefit-strip .bs-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.benefit-strip .bs-list li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.3; }
.benefit-strip .bs-ico { flex: 0 0 28px; color: var(--navy-2); margin-top: .05rem; }
.benefit-strip .bs-list strong { display: block; color: var(--navy); font-size: .98rem; }
.benefit-strip .bs-list small { display: block; color: #4a5568; font-size: .84rem; margin-top: .15rem; }
.benefit-strip .bs-list small a { color: var(--navy-2); }
.benefit-strip .bs-city { margin: .9rem 0 0; font-size: .97rem; color: #1f2d3d; }
.signs-section h3 { font-size: 1.08rem; margin: 1.15rem 0 .35rem; color: var(--navy); }
@media (max-width: 560px) { .benefit-strip .bs-list { grid-template-columns: 1fr 1fr; gap: .75rem .8rem; } .benefit-strip .bs-ico { flex-basis: 24px; width: 24px; height: 24px; } .benefit-strip .bs-list strong { font-size: .92rem; } }

.town-review blockquote.review{margin:0}
.quiz fieldset{border:1px solid #d9e3ea;border-radius:10px;padding:1rem 1.1rem;margin:0 0 1rem}
.quiz legend{font-weight:700;padding:0 .35rem}
.quiz label{display:flex;gap:.55rem;align-items:flex-start;padding:.35rem 0;cursor:pointer}
.quiz select{font:inherit;padding:.55rem .6rem;border-radius:8px;border:1px solid #c9d6df;min-width:240px;max-width:100%}
.quiz-out{margin-top:1.25rem}
.quiz-list,.pack-body ul.quiz-list{list-style:none;padding:0;margin:0 0 1rem}
.quiz-list li{padding:.7rem .9rem;border:1px solid #d9e3ea;border-radius:10px;margin-bottom:.6rem;background:#fff}
.quiz-list li a{font-weight:700}
.quiz-list li span{display:block;color:#5a6b78;font-size:.95em}
.table-wrap{overflow-x:auto;margin:1rem 0}
.data-table{border-collapse:collapse;width:100%;min-width:520px}
.data-table th,.data-table td{border:1px solid #d9e3ea;padding:.5rem .6rem;text-align:left;vertical-align:top}
.data-table th{background:#f2f7fa}
.ts-links{margin-top:1.5rem}
.near-me{margin-top:1rem}

.saltless-callout{display:flex;gap:.6rem;align-items:flex-start;border:1px solid #cfe3ee;border-left:4px solid #1f7fb5;background:#f3f9fc;border-radius:8px;padding:.7rem .9rem;margin:1.1rem 0;max-width:760px}
.saltless-callout p{margin:0;font-size:.98rem}
.saltless-callout,.saltless-callout p{list-style:none}
.saltless-callout p::before{content:none}
.card-grid + .saltless-callout{margin:1.5rem auto 0}

.photo-modest{max-width:400px;justify-self:center;margin-left:auto;margin-right:auto}
.city-hero-photo.photo-modest img{width:100%;height:auto;aspect-ratio:auto;object-fit:contain}
@media (max-width: 860px){.photo-modest{max-width:300px}}
