:root {
  --ink: #10221e;
  --muted: #62716b;
  --paper: #f4f7f3;
  --panel: #ffffff;
  --panel-soft: #edf5f1;
  --aqua: #147f91;
  --aqua-2: #31aeb9;
  --deep: #0d4c56;
  --green: #447b52;
  --green-soft: #dceee2;
  --amber: #a9681e;
  --amber-soft: #fff0d8;
  --rose: #b64e38;
  --line: rgba(16, 34, 30, 0.12);
  --line-strong: rgba(16, 34, 30, 0.2);
  --shadow-sm: 0 10px 28px rgba(20, 54, 48, 0.08);
  --shadow: 0 24px 60px rgba(20, 54, 48, 0.14);
  --shadow-lg: 0 36px 90px rgba(8, 38, 42, 0.24);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #f8faf6 0, var(--paper) 460px),
    var(--paper);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(49, 174, 185, 0.5);
  outline-offset: 3px;
}

::selection {
  color: #fff;
  background: var(--deep);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  max-width: 930px;
  margin-bottom: 22px;
  font-size: 66px;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0;
}

p {
  margin-bottom: 14px;
}

ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

li + li {
  margin-top: 6px;
}

.topbar {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 32px), var(--container));
  min-height: 64px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(8, 39, 43, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(4, 26, 30, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.brand,
.nav,
.header-actions,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  padding-left: 4px;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--deep);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: inset 0 -3px 0 rgba(20, 127, 145, 0.18);
}

.brand-mark svg,
.visual-icon svg,
.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav {
  justify-content: center;
  gap: 4px;
  min-width: 0;
}

.nav a {
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.header-actions {
  justify-content: flex-end;
  gap: 8px;
  min-width: max-content;
}

.header-cta {
  justify-content: center;
  min-height: 42px;
  padding: 0 15px;
  color: #092d32;
  background: #f2bd61;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(242, 189, 97, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover {
  box-shadow: 0 14px 30px rgba(242, 189, 97, 0.34);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94vh;
  overflow: hidden;
  color: #fff;
  background: #092d32;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.04) contrast(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 25, 27, 0.9) 0%, rgba(5, 25, 27, 0.72) 42%, rgba(5, 25, 27, 0.18) 78%),
    linear-gradient(0deg, rgba(5, 19, 18, 0.78) 0%, rgba(5, 19, 18, 0.1) 42%, rgba(5, 19, 18, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  padding: 170px 24px 76px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.request .eyebrow,
.diagnostics-result .eyebrow,
.price-card.featured .price {
  color: #f2bd61;
}

.hero-copy {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  color: #fff;
  background: var(--aqua);
  box-shadow: 0 16px 36px rgba(20, 127, 145, 0.34);
}

.primary:hover {
  background: #0f7283;
}

.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.trust-row {
  max-width: 840px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.86);
}

.trust-row span {
  min-height: 42px;
  padding: 8px 12px 8px 14px;
  border-left: 3px solid #f2bd61;
  background: rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
}

section:not(.hero) {
  padding: 86px max(24px, calc((100vw - var(--container)) / 2));
  scroll-margin-top: 96px;
}

.section-head {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-head p,
.quality-copy p,
.system-visual p,
.quality-map p,
.equipment p,
.quality-chart p,
.directory-meta,
.calc-note,
.form-note,
.chart-note {
  color: var(--muted);
}

.compact {
  margin-bottom: 24px;
}

.audience,
.services,
.directory-insights,
.equipment,
.reviews,
.faq {
  background: #fff;
}

.market,
.positioning,
.prices,
.process,
.quality-chart,
.calculator {
  background: #f8faf7;
}

.scoreboard,
.quality-map,
.proof,
.diagnostics,
.request {
  background: #102f34;
  color: #fff;
}

.scoreboard .section-head p,
.quality-map .section-head p,
.quality-map p,
.proof p,
.diagnostics p,
.request p {
  color: rgba(255, 255, 255, 0.76);
}

.insights,
.service-grid,
.price-grid,
.audience-grid,
.steps,
.review-grid,
.equipment-grid,
.directory-grid,
.photo-grid,
.scoreboard,
.waterline,
.quality-map,
.chart-layout,
.diagnostics-layout,
.calc-grid,
.market-picks,
.proof,
.calculator,
.request {
  display: grid;
  gap: 18px;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.audience-grid article,
.insights article,
.service-card,
.price-card,
.directory-card,
.device,
.steps article,
.review-grid article,
.faq-list details,
.calc-panel,
.lead-form,
.lead-preview,
.package-panel,
.pick-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.audience-grid article {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border-top: 4px solid var(--aqua);
  background: #f6faf8;
}

.audience-grid article strong {
  margin-top: auto;
  padding-top: 16px;
  color: var(--deep);
}

.scoreboard {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.35fr);
  align-items: start;
}

.insights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insights article {
  min-height: 184px;
  padding: 24px;
  color: var(--ink);
}

.number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--aqua);
  border-radius: var(--radius);
  font-size: 24px;
  font-weight: 900;
}

.system-visual {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.waterline {
  position: relative;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.waterline::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(255, 255, 255, 0.24);
}

.waterline article {
  position: relative;
  z-index: 1;
  min-height: 164px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.visual-icon,
.icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  color: #fff;
  border-radius: var(--radius);
  font-weight: 900;
}

.icon {
  color: #fff;
}

.well-icon,
.pump-icon,
.filter-icon,
.tap-icon,
.icon {
  background: var(--aqua);
}

.market .insights article,
.comparison,
.quality-copy,
.quality-chart .bar-chart {
  border-radius: var(--radius);
}

.positioning {
  position: relative;
  overflow: hidden;
}

.positioning::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 127, 145, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(68, 123, 82, 0.08), transparent 55%);
}

.positioning > * {
  position: relative;
}

.positioning-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: 24px;
  align-items: end;
}

.positioning-summary {
  padding: 24px;
  color: #fff;
  background: var(--deep);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.positioning-summary strong {
  display: block;
  margin-bottom: 10px;
  color: #f2bd61;
  font-size: 18px;
}

.positioning-summary p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.comparison {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.comparison-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.comparison-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--aqua);
  border-radius: var(--radius);
  font-weight: 900;
}

.comparison-card p {
  color: var(--muted);
}

.comparison-card strong {
  margin-top: auto;
  padding-top: 16px;
  color: var(--deep);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card.accent {
  border-color: rgba(20, 127, 145, 0.3);
  box-shadow: 0 26px 60px rgba(20, 127, 145, 0.14);
}

.service-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card > div:not(.icon),
.service-card > h3,
.service-card > p,
.service-card > ul,
.service-card > strong {
  margin-left: 22px;
  margin-right: 22px;
}

.service-card .icon {
  margin: 22px 22px 14px;
}

.service-card strong {
  margin-top: auto;
  margin-bottom: 22px;
  padding-top: 12px;
  color: var(--deep);
}

.quality-map {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

.map-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #173b3f;
  box-shadow: var(--shadow-lg);
}

.map-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8, 39, 43, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(8, 39, 43, 0.05) 48%, rgba(8, 39, 43, 0.34) 100%);
}

.map-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.map-region {
  position: absolute;
  z-index: 2;
  min-width: 142px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(8, 39, 43, 0.8);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(8px);
}

.map-region strong {
  display: block;
  margin-bottom: 4px;
}

.region-north {
  top: 54%;
  right: 24%;
}

.region-west {
  top: 48%;
  left: 8%;
}

.region-east {
  top: 22%;
  right: 12%;
}

.region-south {
  bottom: 14%;
  left: 34%;
}

.map-legend {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
}

.legend-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.well {
  background: var(--aqua-2);
}

.legend-dot.filter {
  background: #f2bd61;
}

.legend-dot.delivery {
  background: #7dc68a;
}

.map-attribution {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  color: rgba(16, 34, 30, 0.88);
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 750;
}

.price-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 24px;
}

.price-card.featured {
  color: #fff;
  background: var(--deep);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.82);
}

.price {
  display: block;
  margin: 10px 0 14px;
  color: var(--deep);
  font-size: 30px;
  font-weight: 950;
}

.directory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.directory-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
}

.directory-card strong {
  margin-top: auto;
  padding-top: 14px;
}

.directory-card.strong {
  border-color: rgba(68, 123, 82, 0.34);
  background: #f2f8f4;
}

.market-picks {
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  align-items: stretch;
  margin-top: 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f6faf8;
  box-shadow: var(--shadow-sm);
}

.market-picks-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.market-picks-copy .pick-buttons {
  margin-top: 22px;
}

.pick-buttons,
.segment-control,
.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pick-button,
.segment,
.calc-tab {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 800;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pick-button:hover,
.segment:hover,
.calc-tab:hover {
  transform: translateY(-1px);
}

.pick-button.active,
.segment.active,
.calc-tab.active {
  color: #fff;
  background: var(--deep);
  border-color: var(--deep);
}

.pick-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100%;
  padding: 28px;
  color: #fff;
  background: var(--deep);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 24px 58px rgba(13, 76, 86, 0.18);
}

.pick-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.pick-panel-head,
.pick-panel-body {
  display: grid;
  gap: 18px;
}

.pick-panel-head {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.pick-panel-head span,
.pick-panel-head strong {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--radius);
  font-weight: 900;
}

.pick-panel-head span {
  color: #092d32;
  background: #f2bd61;
}

.pick-panel-head strong {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
}

.pick-panel-body {
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.8fr);
  align-items: start;
}

.pick-panel h4 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.18;
}

.pick-checklist {
  padding: 18px;
  color: var(--ink);
  background: #fff;
  border-radius: var(--radius);
}

.pick-checklist span {
  display: block;
  margin-bottom: 12px;
  color: var(--deep);
  font-weight: 900;
}

.pick-checklist ul {
  margin-top: 0;
}

.pick-checklist li {
  color: var(--ink);
}

.pick-panel .button {
  align-self: flex-start;
  background: #f2bd61;
  color: #092d32;
}

.package-builder {
  background: var(--panel-soft);
}

.package-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.8fr) minmax(230px, 0.62fr);
  align-items: start;
  margin-top: 20px;
  padding: 24px;
  gap: 18px;
}

.package-includes {
  display: grid;
  gap: 10px;
}

.package-includes span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbf9;
  color: var(--deep);
  font-weight: 850;
}

.package-includes span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--aqua);
}

.package-total {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  min-height: 100%;
  padding: 22px;
  color: #fff;
  background: var(--deep);
  border-radius: var(--radius);
}

.package-total strong {
  display: block;
  margin: 8px 0 12px;
  font-size: 30px;
}

.equipment-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.device {
  position: relative;
  display: grid;
  place-items: center;
  height: 180px;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 127, 145, 0.14), rgba(242, 189, 97, 0.12)),
    #eef6f2;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.equipment-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef6f2;
}

.device span {
  position: absolute;
  display: block;
  border-radius: var(--radius);
  background: var(--aqua);
  box-shadow: inset 0 -10px 0 rgba(0, 0, 0, 0.08);
}

.tank {
  bottom: 22px;
  width: 46px;
  height: 118px;
}

.tank.tall {
  left: 34%;
}

.tank.small {
  right: 30%;
  width: 32px;
  height: 84px;
  background: #7dc68a;
}

.pipe {
  left: 26%;
  right: 22%;
  top: 64px;
  height: 8px;
  background: rgba(13, 76, 86, 0.38);
  box-shadow: none;
}

.salt-box {
  right: 28%;
  bottom: 24px;
  width: 54px;
  height: 54px;
  background: #ffffff;
  border: 2px solid rgba(13, 76, 86, 0.16);
}

.filter-line {
  left: 16%;
  right: 16%;
  top: 46px;
  height: 12px;
  background: rgba(13, 76, 86, 0.38);
  box-shadow: none;
}

.cartridge {
  top: 70px;
  width: 34px;
  height: 82px;
  background: var(--aqua);
}

.cartridge:nth-child(2) {
  left: 28%;
}

.cartridge:nth-child(3) {
  left: 45%;
  background: #7dc68a;
}

.cartridge:nth-child(4) {
  right: 28%;
  background: #f2bd61;
}

.bottle {
  left: 35%;
  bottom: 22px;
  width: 54px;
  height: 112px;
  background: rgba(49, 174, 185, 0.9);
  border-radius: 18px 18px 8px 8px;
}

.bottle::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 16px;
  width: 22px;
  height: 22px;
  background: rgba(49, 174, 185, 0.9);
  border-radius: 6px 6px 2px 2px;
}

.small-bottle {
  left: auto;
  right: 28%;
  width: 38px;
  height: 78px;
  opacity: 0.86;
}

.delivery-line {
  left: 20%;
  right: 18%;
  bottom: 22px;
  height: 6px;
  background: #f2bd61;
  box-shadow: none;
}

.equipment-card h3 {
  margin: 18px 18px 8px;
}

.equipment-card p {
  margin-inline: 18px;
  color: var(--muted);
}

.equipment-card ul {
  margin-top: auto;
  margin-inline: 18px;
  margin-bottom: 18px;
  padding-top: 14px;
}

.equipment-card li {
  color: var(--ink);
}

.photo-proof {
  background: #102f34;
  color: #fff;
}

.photo-proof .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

.photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo-grid figure {
  margin: 0;
  min-width: 0;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 300px;
  padding: 0;
  overflow: hidden;
  color: #fff;
  text-align: left;
  background: #173b3f;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.photo-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 300ms ease;
}

.photo-card:hover img {
  transform: scale(1.025);
}

.photo-card span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  min-height: 46px;
  padding: 10px 12px;
  color: #fff;
  background: rgba(8, 39, 43, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.photo-card::after {
  content: "Открыть";
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 10px;
  color: #092d32;
  background: #f2bd61;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.photo-card:hover::after,
.photo-card:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.photo-dialog {
  width: min(960px, calc(100% - 32px));
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: #102f34;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.photo-dialog::backdrop {
  background: rgba(5, 19, 18, 0.74);
  backdrop-filter: blur(6px);
}

.photo-dialog img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  background: #061f22;
}

.photo-dialog p {
  margin: 0;
  padding: 16px 18px;
  font-weight: 850;
}

.photo-dialog-close {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #092d32;
  background: #f2bd61;
  border: 0;
  border-radius: var(--radius);
  font-size: 26px;
  line-height: 1;
}

.steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps article {
  padding: 22px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 900;
}

.proof {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.proof-list strong,
.proof-list span {
  display: block;
}

.proof-list strong {
  color: #fff;
}

.proof-list span {
  color: rgba(255, 255, 255, 0.78);
}

.diagnostics-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
}

.diagnostics-form,
.diagnostics-result {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: none;
}

.diagnostics-result {
  color: var(--ink);
}

.diagnostics-form label,
.lead-form label,
.calc-panel label {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 800;
}

.diagnostics-form select,
.lead-form input,
.lead-form select,
.lead-form textarea,
.calc-panel input,
.calc-panel select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.diagnostics-source {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.diagnostics-source label {
  color: var(--deep);
  font-weight: 900;
}

.diagnostics-subtitle {
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 800;
}

.options label {
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-weight: 750;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.symptom-grid label {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  margin: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.symptom-grid input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--aqua);
}

.symptom-grid strong,
.symptom-grid small {
  display: block;
}

.symptom-grid small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
}

.symptom-grid label:hover {
  border-color: rgba(20, 127, 145, 0.32);
  box-shadow: 0 10px 24px rgba(20, 54, 48, 0.08);
  transform: translateY(-1px);
}

.symptom-grid label:has(input:checked) {
  color: var(--deep);
  background: #e5f4f0;
  border-color: rgba(20, 127, 145, 0.38);
  box-shadow: inset 4px 0 0 var(--aqua), 0 12px 26px rgba(20, 127, 145, 0.1);
}

.symptom-grid label:has(input:checked) small {
  color: #315c58;
}

.risk-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 14px;
  padding: 0 12px;
  color: #092d32;
  background: #f2bd61;
  border-radius: var(--radius);
  font-weight: 900;
}

.diagnostics-next {
  margin-top: 16px;
  padding: 16px;
  color: var(--ink);
  background: #eef6f2;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagnostics-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
  color: var(--muted);
  font-size: 14px;
}

.diagnostics-selected span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 4px 9px;
  color: var(--deep);
  background: #e5f4f0;
  border: 1px solid rgba(20, 127, 145, 0.22);
  border-radius: var(--radius);
  font-weight: 850;
}

#diagnosticsSteps {
  display: grid;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

#diagnosticsSteps li {
  margin: 0;
  padding: 10px 12px;
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.chart-layout {
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr) minmax(220px, 0.72fr);
  align-items: stretch;
}

.quality-meter-card,
.quality-status {
  display: grid;
  align-content: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.quality-status {
  gap: 12px;
}

.quality-status h3 {
  margin-bottom: 4px;
}

.quality-status ul {
  margin-top: 6px;
}

.quality-status li {
  color: var(--ink);
}

.before-card {
  border-top: 4px solid #d98f5b;
}

.after-card {
  border-top: 4px solid var(--aqua);
}

.status-label {
  display: inline-flex;
  width: max-content;
  min-height: 30px;
  align-items: center;
  padding: 4px 9px;
  color: var(--deep);
  background: #eef6f2;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quality-meter-card {
  gap: 14px;
}

.meter-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2px;
}

.meter-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 5px 9px;
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.meter-legend i {
  width: 16px;
  height: 8px;
  border-radius: 999px;
}

.meter-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.42fr) minmax(180px, 1fr) minmax(130px, 0.48fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.meter-row strong,
.meter-row span,
.meter-row em {
  display: block;
}

.meter-row strong {
  color: var(--ink);
  font-size: 16px;
}

.meter-row span,
.meter-row em,
.quality-meter-card p {
  color: var(--muted);
}

.meter-row em {
  font-style: normal;
  font-size: 14px;
}

.meter-bars {
  display: grid;
  gap: 7px;
}

.meter-bars i,
.meter-bars b {
  display: block;
  min-height: 18px;
  width: var(--w);
  border-radius: var(--radius);
}

.meter-bars i,
.before {
  background: #d98f5b;
}

.meter-bars b,
.after {
  background: var(--aqua);
}

.quality-meter-card p {
  margin: 2px 0 0;
  padding: 14px;
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-grid article {
  padding: 22px;
}

.review-grid strong {
  color: var(--deep);
}

.calculator {
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.calc-copy {
  position: sticky;
  top: 104px;
  align-self: start;
}

.calc-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
}

.calc-explain {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.calc-explain article,
.calc-docs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.calc-explain article {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: start;
  gap: 8px 14px;
  padding: 18px;
}

.calc-explain span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: var(--aqua);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 950;
}

.calc-explain strong,
.calc-docs strong {
  color: var(--deep);
  font-weight: 950;
}

.calc-explain p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
}

.calc-docs {
  margin-top: 12px;
  padding: 18px;
  background: #eef6f2;
}

.calc-docs ul {
  margin: 12px 0 0;
}

.calc-docs li {
  color: var(--ink);
}

.calc-panel {
  padding: 0;
}

.advanced-calc {
  background: #fff;
  overflow: hidden;
}

.calc-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 8px;
  background: #eef6f2;
  border-bottom: 1px solid var(--line);
}

.calc-pane {
  display: none;
  padding: 24px;
}

.calc-pane.active {
  display: block;
}

.calc-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input[type="range"] {
  accent-color: var(--aqua);
}

.calc-panel input[type="range"] {
  height: 6px;
  padding: 0;
  background: transparent;
  border: 0;
}

.calc-panel input[type="number"] {
  appearance: textfield;
}

.range-value,
output {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 10px;
  color: #fff;
  background: var(--deep);
  border-radius: var(--radius);
  font-weight: 900;
}

.options {
  display: grid;
  gap: 10px;
  margin: 4px 24px 24px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.options legend {
  padding: 0 8px;
  color: var(--deep);
  font-weight: 900;
}

.options label {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  min-height: 54px;
  gap: 10px;
  margin: 0;
  padding: 12px;
  color: var(--ink);
  background: #f6faf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.options input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  margin: 0;
  accent-color: var(--aqua);
}

.options label:has(input:checked) {
  color: var(--deep);
  background: #e5f4f0;
  border-color: rgba(20, 127, 145, 0.38);
}

.calc-summary {
  margin: 0;
  padding: 22px 24px 24px;
  color: #fff;
  background: var(--deep);
}

.calc-total {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 0 16px;
}

.calc-total span {
  font-size: 24px;
  font-weight: 950;
}

.calc-total output {
  justify-content: flex-end;
  min-height: auto;
  padding: 0;
  color: #fff;
  background: transparent;
  font-size: 26px;
}

#calcBreakdown {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

#calcBreakdown div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

#calcBreakdown dt,
#calcBreakdown dd {
  margin: 0;
}

#calcBreakdown dd {
  font-weight: 850;
  white-space: nowrap;
}

.calc-summary .calc-note {
  color: rgba(255, 255, 255, 0.68);
}

.request {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.lead-form label {
  margin-bottom: 0;
}

.lead-form textarea {
  min-height: 116px;
  resize: vertical;
}

.field-error {
  min-height: 18px;
  color: #ffac88;
  font-size: 13px;
}

.lead-preview {
  padding: 16px;
  color: var(--ink);
  background: #f3f8f5;
  box-shadow: none;
}

.lead-preview strong {
  display: block;
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  box-shadow: none;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq-list ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink);
}

.faq-list li {
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px max(24px, calc((100vw - var(--container)) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
}

@media (max-width: 1180px) {
  .topbar {
    width: calc(100% - 24px);
    gap: 14px;
  }

  .nav a {
    padding-inline: 8px;
  }

  .audience-grid,
  .equipment-grid,
  .steps,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .price-grid,
  .directory-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .topbar {
    position: absolute;
    top: 10px;
    grid-template-columns: auto auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 128px;
  }

  .scoreboard,
  .quality-map,
  .positioning-layout,
  .chart-layout,
  .diagnostics-layout,
  .calculator,
  .request,
  .market-picks,
  .proof,
  .package-panel {
    grid-template-columns: 1fr;
  }

  .waterline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .waterline::before {
    display: none;
  }

  .map-card {
    min-height: 500px;
  }

  .calc-copy {
    position: static;
  }
}

@media (max-width: 680px) {
  section:not(.hero) {
    padding: 58px 18px;
    scroll-margin-top: 72px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.04;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .topbar {
    width: calc(100% - 20px);
    min-height: 58px;
    padding: 8px;
  }

  .brand span:last-child {
    display: none;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 120px 18px 52px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
  }

  .audience-grid,
  .insights,
  .service-grid,
  .price-grid,
  .comparison,
  .directory-grid,
  .equipment-grid,
  .steps,
  .review-grid,
  .waterline,
  .photo-grid,
  .diagnostics-source,
  .symptom-grid,
  .pick-panel-body,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .photo-card {
    min-height: 280px;
  }

  .photo-card img {
    height: 280px;
  }

  .comparison-row,
  .bar-row,
  .meter-row {
    grid-template-columns: 1fr;
  }

  .meter-row {
    gap: 10px;
  }

  .meter-bars {
    width: 100%;
  }

  .quality-meter-card,
  .quality-status {
    padding: 18px;
  }

  .map-card {
    min-height: 560px;
  }

  .map-region {
    min-width: 112px;
    padding: 10px;
    font-size: 14px;
  }

  .region-north {
    top: auto;
    right: 7%;
    bottom: 31%;
    left: auto;
  }

  .region-west {
    top: 48%;
    left: 6%;
  }

  .region-east {
    top: 24%;
    right: 7%;
  }

  .region-south {
    right: auto;
    bottom: 20%;
    left: 31%;
  }

  .map-legend {
    right: 78px;
    bottom: 12px;
    gap: 6px;
  }

  .map-legend span {
    padding: 7px 8px;
    font-size: 13px;
  }

  .map-attribution {
    right: 10px;
    bottom: 10px;
    max-width: 82px;
    font-size: 10px;
    line-height: 1.1;
  }

  .pick-buttons,
  .segment-control,
  .calc-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .package-panel,
  .pick-panel,
  .market-picks,
  .market-picks-copy,
  .calc-panel,
  .lead-form,
  .diagnostics-form,
  .diagnostics-result,
  .positioning,
  .system-visual {
    padding: 18px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 18px;
  }

  .advanced-calc {
    padding: 0;
  }

  .calc-pane {
    padding: 22px;
  }

  .calc-explain article {
    grid-template-columns: 1fr;
  }

  .calc-explain span {
    grid-row: auto;
  }

  .calc-explain p {
    grid-column: auto;
  }

  .options {
    margin: 0 22px 22px;
  }

  .calc-total {
    grid-template-columns: 1fr;
  }

  .calc-total output {
    justify-content: flex-start;
    font-size: 24px;
  }

  #calcBreakdown div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  #calcBreakdown dd {
    white-space: normal;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .header-cta {
    max-width: 132px;
    white-space: normal;
    line-height: 1.1;
  }

  .hero {
    min-height: 760px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
