/* The Hometown, a Water Dealer Pro demo. Design system modeled on kovwater.com
   (navy and sky, Montserrat over Source Sans 3, pill buttons, white cards), fine-tuned:
   no eyebrows, no arrow links, no hero check chips, no giant quote glyphs. Hand-written. */
:root {
  --navy: #0a2540;
  --navy-2: #0f3460;
  --blue: #0068b3;
  --blue-dark: #00548f;
  --aqua: #17b1e6;
  --aqua-soft: #e7f6fd;
  --ink: #16212c;
  --muted: #5a6b7c;
  --body: #334352;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-alt: #f4f8fb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(10 37 64 / .06), 0 8px 24px rgb(10 37 64 / .08);
  --max: 1240px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 .6em; color: var(--navy); }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
sup { font-size: .55em; line-height: 0; vertical-align: .9em; }
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 20px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 10000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }

/* Top bar */
.topbar { background: var(--navy); color: #c9d8e6; font-size: .875rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar .tb-r { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; color: #fff; }

/* Header */
.site-header { position: relative; z-index: 50; background: var(--navy-2); box-shadow: 0 2px 12px rgb(0 0 0 / .15); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
/* Kinetico first, a thin rule, then the dealer at a similar size. The gap on each side of the
   rule is larger than the Kinetico logo's height (the standing clear-space rule). */
.brand { display: flex; align-items: center; gap: 26px; text-decoration: none; flex-shrink: 0; }
.brand .klogo { width: 150px; }
.brand .dlogo { width: 172px; }
.brand .brule { width: 1px; align-self: stretch; margin-block: 22px; background: rgb(255 255 255 / .35); }
.nav-toggle { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; }
.nav a { display: block; font-family: var(--font-heading); color: #e6eef6; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 10px 11px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"], .nav a.on { color: #fff; background: rgb(255 255 255 / .1); }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.nav .sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
@media (min-width: 1281px) {
  .nav .has-sub:hover > .sub, .nav .has-sub:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
}
.nav .has-sub[data-closed] > .sub { opacity: 0; visibility: hidden; }
.sub-toggle { display: none; }
.nav .sub a { color: var(--ink); font-weight: 500; }
.nav .sub a:hover, .nav .sub a[aria-current="page"] { background: var(--aqua-soft); color: var(--blue-dark); }
.nav .btn { margin-left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; font-family: var(--font-heading); line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--aqua); color: var(--navy); }
.btn-primary:hover { background: #3fc2ef; color: var(--navy); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgb(255 255 255 / .1); color: #fff; }
.nav a.btn { color: var(--navy); padding: 10px 18px; }
.nav a.btn:hover { background: #3fc2ef; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
a.more { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgb(23 177 230 / .35), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, #0b4f8a 100%); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 88px 104px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 1.2rem; color: #d3e3f1; max-width: 34em; margin-bottom: 1.6em; }
.hero-media img { border-radius: 20px; box-shadow: 0 30px 60px rgb(0 0 0 / .35); aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 60px; }

/* Interior title bar */
.page-hero { background: radial-gradient(900px 300px at 90% 0%, rgb(23 177 230 / .3), transparent 60%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: #cfe0ee; font-size: 1.15rem; max-width: 44em; margin: 0; }
.breadcrumbs { font-size: .875rem; margin-bottom: 14px; color: #9cc0dc; }
.breadcrumbs a { color: #cfe5f5; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.prose { max-width: 760px; }
.prose p, .prose li { color: var(--body); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split > .card { height: 100%; }
.section-alt .split { align-items: stretch; }
.section-alt .split:has(> div:not(.card)) { align-items: center; }

/* Cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card p { color: var(--muted); }
.card > :last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: inherit; }
.card .card-link { margin-top: auto; padding-top: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; color: var(--blue); text-decoration: underline; text-decoration-color: rgb(0 104 179 / .35); text-underline-offset: 4px; }
a.card:hover .card-link { text-decoration-color: currentColor; }
.card-media { margin: -28px -28px 24px; background: linear-gradient(180deg, var(--aqua-soft), #fff); border-radius: var(--radius) var(--radius) 0 0; padding: 24px; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; min-width: 0; object-fit: contain; }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; flex-shrink: 0; }
.icon-badge svg { width: 26px; height: 26px; }

/* Product rows */
.product { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.prose + .product { border-top: 0; margin-top: 12px; }
.product-img { background: linear-gradient(180deg, var(--aqua-soft), #fff); border-radius: var(--radius); padding: 20px; aspect-ratio: 1; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product .tagline { color: var(--blue); font-weight: 700; margin-top: -.4em; }
.product p { color: var(--body); }
.pill { display: inline-block; font-size: .85rem; font-weight: 700; background: var(--aqua-soft); color: var(--blue-dark); border-radius: 999px; padding: 4px 12px; }

/* Water problems */
.problem { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; align-items: start; }
.problem img, .problem-ic { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; }
.problem-ic { background: var(--aqua-soft); color: var(--blue); display: grid; place-items: center; }
.problem-ic svg { width: 44px; height: 44px; }
.problem ul { padding-left: 1.2em; color: var(--muted); margin: 0; }
.problem li { margin-bottom: .5em; }

/* Reviews: no decorative quote glyph, initials instead of stock faces */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 20px; margin: 0; }
.quote blockquote { margin: 0; color: #2e3d4b; }
.quote blockquote p:last-child { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote .ini { width: 56px; height: 56px; border-radius: 50%; background: var(--aqua-soft); color: var(--blue-dark); font-family: var(--font-heading); font-weight: 700; font-size: .95rem; display: grid; place-items: center; flex-shrink: 0; }
.quote figcaption strong { display: block; color: var(--navy); }
.quote figcaption span { font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue) 0%, #0a86c9 60%, var(--aqua) 100%); color: #fff; border-radius: 24px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band > div:first-child { flex: 1 1 420px; }
.cta-band .btn-row { flex: 0 1 auto; min-width: 0; }
.cta-band h2 { color: #fff; margin: 0 0 .25em; }
.cta-band p { margin: 0; color: #eaf6fd; font-size: 1.1rem; }
.cta-band .btn-primary { background: #fff; color: var(--blue-dark); }
.cta-band .btn-primary:hover { background: var(--aqua-soft); }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, fieldset legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); padding: 0; }
.req { color: #c62f3a; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #cbd7e1; border-radius: var(--radius-sm); background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; min-height: 50px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--aqua); box-shadow: 0 0 0 4px rgb(23 177 230 / .18); }
[aria-invalid="true"] { border-color: #c62f3a !important; }
textarea { min-height: 130px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.choice { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; cursor: pointer; font-size: 1rem; transition: border-color .15s, background .15s; }
.choice:hover { border-color: var(--aqua); }
.choice:has(input:checked) { border-color: var(--aqua); background: var(--aqua-soft); }
.choice input { accent-color: var(--blue); width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.form-note { font-size: .9rem; color: var(--muted); margin: 0; }
.form-err { color: #b3261e; font-weight: 600; font-size: .95rem; margin: 0; }
.form-err:empty { display: none; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.form-wrap { min-width: 0; }
.thanks { text-align: center; padding: 48px 32px; }
.thanks .icon-badge { margin: 0 auto 24px; width: 72px; height: 72px; border-radius: 50%; }
.thanks .icon-badge svg { width: 34px; height: 34px; }
.thanks p { color: var(--body); max-width: 30em; margin-inline: auto; }
.thanks .btn-row { justify-content: center; margin-top: 8px; }
.thanks:focus { outline: none; }
.aside-card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; min-width: 0; }
.aside-card > img { border-radius: var(--radius-sm); margin-bottom: 20px; width: 100%; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 16px; color: var(--body); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center; }

/* Contact */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.info-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
.info-list .icon-badge { width: 44px; height: 44px; margin: 0; }
.info-list .icon-badge svg { width: 22px; height: 22px; }
.info-list a { overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 4px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.map { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 24px; display: block; }

/* Legal */
.legal h2, .legal h3 { margin-top: 1.6em; }
.legal ul { color: var(--body); }

/* Footer */
.site-footer { background: var(--navy); color: #b3c6d8; padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.site-footer .footer-title { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dbe6f0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
/* stacked co-brand lockup: Kinetico, a thin rule, the dealer; clear space above and below the rule
   is more than the Kinetico logo's height */
.flock { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.flock .klogo { width: 170px; }
.flock .dlogo { width: 190px; }
.flock .frule { width: 100%; height: 1px; background: rgb(255 255 255 / .3); }
.site-footer .phrase { color: #fff; font-weight: 600; margin: 24px 0 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* Round 2 (Matt, 2026-12-01): gold stars, headshots, hero review card, trust strip, heading accent */
.stars { display: inline-flex; gap: 3px; color: #f2a900; line-height: 0; }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.quote { border-top: 4px solid var(--aqua); }
.quote .face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--line); }
.hero-media { position: relative; }
.hero-review { position: absolute; left: -32px; bottom: -36px; max-width: 290px; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 16px 18px; box-shadow: 0 18px 40px rgb(0 0 0 / .28); z-index: 2; }
.hero-review .stars svg { width: 17px; height: 17px; }
.hero-review p { margin: 8px 0 10px; font-weight: 600; color: var(--navy); line-height: 1.4; font-size: 1rem; }
.hero-review .who { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--muted); }
.hero-review .who img { width: 34px; height: 34px; border-radius: 50%; }
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px 48px; padding-block: 20px 30px; }
.trust img { height: 52px; width: auto; }
.trust img.bbb { height: 58px; }
.trust .tfact { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: .95rem; color: var(--navy); }
.trust .tfact svg { width: 24px; height: 24px; color: var(--blue); flex-shrink: 0; }
.section-head.center h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--aqua); margin: 18px auto 0; }
@media (max-width: 860px) {
  .hero-review { position: relative; left: auto; bottom: auto; margin: -40px 16px 0; max-width: none; }
}
@media (max-width: 600px) {
  .trust .container { gap: 16px 28px; padding-block: 12px 24px; }
  .trust img { height: 44px; }
  .trust img.bbb { height: 50px; }
  .trust .tfact { flex-basis: 100%; justify-content: center; }
}
/* Round 3 (Matt, 2026-12-01): real photos instead of icon badges on cards */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-photo { margin: -28px -28px 22px; width: calc(100% + 56px); max-width: none; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.card.why { padding: 22px; }
.card.why .card-photo { margin: -22px -22px 18px; width: calc(100% + 44px); aspect-ratio: 16 / 10; }
.card.why h3 { font-size: 1.1rem; }
.card.why p { font-size: 1rem; }
a.card:hover .card-photo { filter: brightness(1.04); }
/* the Residential and Commercial pair: photo left, words right */
.card.side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding: 0; overflow: hidden; }
.card.side .card-photo { margin: 0; width: 100%; height: 100%; aspect-ratio: auto; min-height: 220px; border-radius: 0; }
.card.side > div { padding: 28px; display: flex; flex-direction: column; }
.card.side > div p { margin-bottom: 1em; }
@media (max-width: 1100px) { .card.side { grid-template-columns: minmax(0, 1fr); } .card.side .card-photo { aspect-ratio: 16 / 9; height: auto; min-height: 0; } }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }
/* Round 4 (Matt, 2026-12-01): photo title bars, How it works band, photo problem cards */
.page-hero.has-img { position: relative; overflow: hidden; background: var(--navy); padding: 72px 0 80px; }
.page-hero .ph-bg { position: absolute; inset: 0 0 0 30%; background-size: cover; background-position: center; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 30%, rgb(10 37 64 / .86) 46%, rgb(10 37 64 / .45) 72%, rgb(10 37 64 / .2) 100%); }
.page-hero.has-img .container { position: relative; z-index: 1; }
.how { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.how .section-head h2 { color: #fff; }
.how .section-head p { color: #c9d8e6; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; position: relative; }
.how-steps li { position: relative; text-align: center; padding: 0 12px; }
.how-steps li + li::before { content: ""; position: absolute; top: 32px; right: calc(50% + 46px); width: calc(100% - 64px); height: 2px; background: rgb(23 177 230 / .45); }
.how-n { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--aqua); color: var(--navy); font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; display: grid; place-items: center; box-shadow: 0 0 0 8px rgb(23 177 230 / .15); position: relative; z-index: 1; }
.how-steps h3 { color: #fff; margin-bottom: .4em; }
.how-steps p { color: #c9d8e6; margin: 0 auto; max-width: 24em; }
.center-row { justify-content: center; margin-top: 44px; }
.card.problem { display: flex; gap: 0; }
.card.problem .card-photo { width: calc(100% + 56px); height: auto; border-radius: var(--radius) var(--radius) 0 0; object-fit: cover; }
.card.problem .photo-ic { height: auto; }
.card.problem .card-photo { aspect-ratio: 16 / 7; }
.card.problem ul { margin-top: -.4em; }
.photo-ic { background: linear-gradient(180deg, var(--aqua-soft), #fff); color: var(--blue); display: grid; place-items: center; }
.photo-ic svg { width: 72px; height: 72px; }
.card-map { border: 0; display: block; height: auto; aspect-ratio: 16 / 9; }
@media (max-width: 860px) {
  .how-steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .how-steps li + li::before { display: none; }
  .page-hero .ph-bg { inset: 0; }
  .page-hero.has-img::after { background: linear-gradient(90deg, rgb(10 37 64 / .94) 0%, rgb(10 37 64 / .8) 100%); }
  .page-hero.has-img { padding: 52px 0 56px; }
}
/* Utilities */
.center { text-align: center; }
.mt-lg { margin-top: 48px; }
.muted { color: var(--muted); }

/* Responsive */
@media (max-width: 1280px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; border-radius: var(--radius-sm); cursor: pointer; color: #fff; flex-shrink: 0; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background .2s; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }
  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
  .nav { display: flex; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .2s ease, transform .25s ease, visibility 0s linear .25s;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-2); padding: 8px 16px 16px; flex-direction: column; align-items: stretch;
    max-height: var(--nav-max, calc(100vh - 116px)); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid rgb(255 255 255 / .1);
    box-shadow: 0 24px 32px rgb(0 0 0 / .35), 0 0 0 100vmax rgb(10 37 64 / .45); clip-path: inset(0 0 -100vmax 0); }
  .nav-toggle[aria-expanded="true"] ~ .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .25s ease, visibility 0s; }
  .nav > ul { flex-direction: column; }
  .nav a { padding: 10px 12px; font-size: 1rem; }
  .nav .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .nav .has-sub > a { flex: 1; }
  .nav .has-sub > a::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: var(--radius-sm); background: none; color: #fff; cursor: pointer; }
  .sub-toggle span { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] span { transform: translateY(2px) rotate(-135deg); }
  .nav .sub { display: block; flex-basis: 100%; max-height: 0; overflow: hidden; position: static; opacity: 1; visibility: hidden; transform: none; box-shadow: none; background: transparent;
    padding: 0 0 0 16px; min-width: 0; transition: max-height .25s ease, visibility 0s linear .25s; }
  .sub-toggle[aria-expanded="true"] + .sub { max-height: 20rem; visibility: visible; transition: max-height .25s ease, visibility 0s; }
  .nav .sub a { color: #b8cde0; padding-block: 8px; font-size: .95rem; }
  .nav .sub a:hover, .nav .sub a[aria-current="page"] { background: rgb(255 255 255 / .08); color: #fff; }
  .nav .btn { margin: 8px 0 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .hero .container, .split, .form-layout { grid-template-columns: minmax(0, 1fr); }
  .hero .container { padding-block: 56px 88px; gap: 36px; }
  .grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .product { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .product-img { max-width: 280px; }
  .section { padding: 60px 0; }
  .split > img { max-width: 520px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { padding-inline: 16px; }
  .topbar .hide-sm { display: none; }
  .site-header .container { min-height: 64px; }
  /* smaller pair on phones; the 16px gaps still exceed the 14px Kinetico logo height */
  .brand { gap: 16px; }
  .brand .klogo { width: 112px; }
  .brand .dlogo { width: 128px; }
  .brand .brule { margin-block: 18px; }
  .grid-2, .grid-3, .form-grid, .choices, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .problem { grid-template-columns: minmax(0, 1fr); }
  .cta-band { padding: 32px 24px; }
  .form-card { padding: 22px; }
  .hero p.lead { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
