:root {
  color-scheme: light;
  --ink: #080d14;
  --muted: #5c6975;
  --line: #dce5ea;
  --paper: #ffffff;
  --mist: #f3f8fa;
  --aqua: #008fb5;
  --aqua-dark: #006f8d;
  --green: #1f9d65;
  --stone: #eef1ec;
  --shadow: 0 16px 46px rgba(8, 32, 45, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 229, 234, 0.86);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.brand img {
  width: min(182px, 44vw);
  height: auto;
}

.brand::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -70%;
  width: 42%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.18) 65%, transparent 100%);
  transform: skewX(-18deg) translateX(0);
  animation: logo-shine 5s linear infinite;
}

@keyframes logo-shine {
  0%,
  42% {
    transform: skewX(-18deg) translateX(0);
    opacity: 0;
  }

  52% {
    opacity: 0.75;
  }

  86% {
    opacity: 0.7;
  }

  100% {
    transform: skewX(-18deg) translateX(420%);
    opacity: 0;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #263643;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.icon-button {
  width: 44px;
  color: var(--aqua-dark);
  background: #edf8fb;
  border-color: #d2eef5;
}

.button {
  gap: 9px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--aqua-dark);
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.72);
}

.button.ghost {
  color: var(--aqua-dark);
  background: #ffffff;
  border-color: #bfe1ea;
}

.mobile-toggle {
  display: none;
}

.hero {
  min-height: min(760px, calc(100vh - 70px));
  min-height: min(760px, calc(100dvh - 70px));
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.72), rgba(5, 13, 20, 0.42) 48%, rgba(5, 13, 20, 0.1)),
    url("pool-hero.webp") center / cover no-repeat;
}

.page-hero {
  padding: clamp(58px, 8vw, 92px) 0 clamp(42px, 6vw, 66px);
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.84), rgba(3, 72, 91, 0.64)),
    url("pool-hero.webp") center / cover no-repeat;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero .hero-lead {
  max-width: 760px;
  margin-bottom: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 64px 0 96px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #d8f7ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: #55c7dd;
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 600px;
  margin-bottom: 26px;
  color: #effbff;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.68;
}

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

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
  max-width: 640px;
}

.hero-point {
  min-height: 68px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  color: #f7fcff;
}

.hero-point strong {
  display: block;
  font-size: 0.95rem;
}

.contact-bar {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.contact-item {
  min-height: 82px;
  padding: 16px 18px;
  background: #ffffff;
}

.label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.value {
  color: var(--ink);
  font-weight: 800;
}

.section {
  padding: clamp(54px, 7vw, 84px) 0;
}

.section.tight {
  padding-top: 34px;
}

.section.mist {
  background: var(--mist);
}

.section.stone {
  background: var(--stone);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 26px;
}

.section-kicker {
  margin-bottom: 10px;
  color: var(--aqua-dark);
  font-weight: 800;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0;
}

.section-copy {
  max-width: 740px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.service-grid,
.knowledge-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.knowledge-card,
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.service-card,
.knowledge-card {
  padding: 20px;
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  border-radius: var(--radius);
  color: var(--aqua-dark);
  background: #e9f8fb;
}

.service-card h3,
.knowledge-card h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.service-card p,
.knowledge-card p {
  color: var(--muted);
  line-height: 1.65;
}

.reference-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
}

.reference-shell {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid #d9e8ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(8, 32, 45, 0.08);
}

.reference-head {
  align-items: center;
}

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

.reference-logo {
  min-height: 124px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 12px 13px;
  border: 1px solid #dce9ee;
  border-radius: 8px;
  background: #fbfdfe;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.reference-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 181, 0.34);
  box-shadow: 0 14px 34px rgba(8, 32, 45, 0.08);
}

.reference-logo img {
  width: 100%;
  max-width: 118px;
  max-height: 64px;
  object-fit: contain;
  justify-self: center;
  filter: saturate(0.86);
}

.reference-logo span {
  color: #516575;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.calculator-section {
  background:
    radial-gradient(circle at 12% 8%, rgba(74, 215, 239, 0.13), transparent 28%),
    linear-gradient(180deg, #f7fbfc 0%, #ffffff 100%);
}

.calculator-shell {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #d6e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(8, 32, 45, 0.08);
}

.calculator-head {
  align-items: center;
}

.calculator-trust {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #c7e5ed;
  border-radius: 999px;
  color: #0d6078;
  background: #eef9fb;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.pool-calculator,
.calculator-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfdfe;
}

.pool-calculator {
  padding: 20px;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.calc-field label {
  display: block;
  margin-bottom: 7px;
  color: #354553;
  font-size: 0.9rem;
  font-weight: 800;
}

.calc-field input,
.calc-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

.input-suffix {
  position: relative;
}

.input-suffix input {
  padding-right: 42px;
}

.input-suffix span {
  position: absolute;
  right: 13px;
  top: 50%;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.calculator-note {
  margin: 16px 0 0;
  padding: 12px 13px;
  border: 1px solid #d6e8ee;
  border-radius: var(--radius);
  color: #49616f;
  background: #ffffff;
  font-size: 0.9rem;
  line-height: 1.58;
}

.calculator-result {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.result-head {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #d6e8ee;
}

.result-head span {
  display: block;
  margin-bottom: 4px;
  color: var(--aqua-dark);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.result-head strong {
  color: #102733;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
}

.result-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.result-grid div {
  display: grid;
  grid-template-columns: minmax(110px, 0.75fr) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #e2edf1;
}

.result-grid div:last-child {
  border-bottom: 0;
}

.result-grid dt {
  color: #657481;
  font-size: 0.82rem;
  font-weight: 800;
}

.result-grid dd {
  margin: 0;
  color: #172b35;
  font-weight: 900;
  line-height: 1.36;
}

.calculator-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.catalog-hero {
  background:
    linear-gradient(90deg, rgba(5, 13, 20, 0.9), rgba(3, 72, 91, 0.78)),
    url("pool-hero.webp") center / cover no-repeat;
}

.product-intro {
  background: #ffffff;
}

.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.catalog-category-card {
  position: relative;
  min-height: 320px;
  display: grid;
  grid-template-rows: 152px auto auto 1fr;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(8, 32, 45, 0.06);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.catalog-category-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 181, 0.38);
  box-shadow: 0 18px 40px rgba(8, 32, 45, 0.1);
}

.catalog-category-card img,
.product-media img,
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  background: #eef6f8;
}

.category-count,
.product-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #0d6078;
  background: #eef9fb;
  font-size: 0.76rem;
  font-weight: 900;
}

.product-badge.review {
  color: #785a18;
  background: #fff8e6;
}

.catalog-category-card h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
}

.catalog-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.56;
}

.text-link {
  color: var(--aqua-dark);
  font-weight: 900;
}

.catalog-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
}

.catalog-toolbar label span {
  display: block;
  margin-bottom: 7px;
  color: #354553;
  font-size: 0.88rem;
  font-weight: 900;
}

.catalog-toolbar input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 10px 12px;
  font: inherit;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips button {
  min-height: 34px;
  border: 1px solid #c7e5ed;
  border-radius: 999px;
  padding: 0 12px;
  color: #0d6078;
  background: #eef9fb;
  font-weight: 800;
  cursor: pointer;
}

.filter-chips button.active {
  color: #ffffff;
  background: var(--aqua-dark);
  border-color: var(--aqua-dark);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card {
  display: grid;
  grid-template-rows: 180px 1fr;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(8, 32, 45, 0.06);
}

.product-media {
  display: block;
  min-height: 180px;
  padding: 12px;
  background: #f4fafb;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--aqua-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.sku {
  margin: 0;
  color: #49616f;
  font-size: 0.88rem;
  font-weight: 800;
}

.sku.large {
  font-size: 1rem;
}

.product-spec-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #e5eef2;
  color: #5d6d78;
  font-size: 0.86rem;
}

.product-spec-list strong {
  color: #122b38;
  text-align: right;
}

.product-actions,
.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.product-actions .button {
  min-height: 38px;
  padding: 0 12px;
  font-size: 0.88rem;
}

.empty-products {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
}

.product-detail-hero {
  padding: clamp(42px, 7vw, 74px) 0;
  background: linear-gradient(180deg, #f4fafb 0%, #ffffff 100%);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.product-gallery {
  min-height: 390px;
  padding: 14px;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-summary {
  padding: 24px;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.product-summary h1 {
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.product-status {
  margin: 16px 0;
  padding: 12px 13px;
  border: 1px solid #c7e5ed;
  border-radius: var(--radius);
  color: #0d6078;
  background: #eef9fb;
  font-weight: 800;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #e2edf1;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  color: #657481;
  font-size: 0.86rem;
}

.spec-table td {
  color: #172b35;
  font-weight: 800;
}

.quote-cart-toggle {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 42;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: #06224a;
  box-shadow: 0 14px 34px rgba(8, 32, 45, 0.22);
  font-weight: 900;
  cursor: pointer;
}

.quote-drawer {
  position: fixed;
  left: 18px;
  bottom: 74px;
  z-index: 43;
  width: min(420px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 110px));
  display: none;
  overflow: auto;
  border: 1px solid #d8e8ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(8, 32, 45, 0.2);
}

.quote-drawer.is-open {
  display: block;
}

.quote-head,
.quote-body {
  padding: 16px;
}

.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2edf1;
}

.quote-head strong {
  font-size: 1rem;
}

.quote-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef9fb;
  color: var(--aqua-dark);
  font-weight: 900;
  cursor: pointer;
}

.quote-items {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.quote-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e2edf1;
  border-radius: var(--radius);
}

.quote-item span {
  display: block;
  color: #60727e;
  font-size: 0.78rem;
  font-weight: 900;
}

.quote-item strong {
  font-size: 0.9rem;
  line-height: 1.25;
}

.quote-item input {
  width: 54px;
  min-height: 34px;
  border: 1px solid #cfdde4;
  border-radius: 8px;
  padding: 6px;
}

.quote-remove {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #fff0f0;
  color: #8a2727;
  font-weight: 900;
  cursor: pointer;
}

.quote-form {
  display: grid;
  gap: 10px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 9px 10px;
  font: inherit;
}

.quote-form textarea {
  min-height: 76px;
  resize: vertical;
}

.quote-form .hp-field {
  position: absolute;
  left: -5000px;
}

.tech-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: start;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.feature-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.plain-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.62;
}

.plain-list li:last-child {
  border-bottom: 0;
}

.plain-list strong {
  color: var(--ink);
}

.project-section {
  background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%);
}

.project-head {
  align-items: center;
}

.project-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
}

.project-panel {
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid #d9e8ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(8, 32, 45, 0.07);
}

.project-panel h3 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.project-panel.accent {
  background: #f7fbfc;
}

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

.project-type-grid span {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #d7e8ee;
  border-radius: 8px;
  color: #273947;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.35;
}

.solution-check-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-check-list li {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #d7e8ee;
  border-radius: 8px;
  color: #273947;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
}

.article-list {
  display: grid;
  gap: 14px;
}

.article-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.article-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: var(--aqua-dark);
  background: #e9f8fb;
  font-weight: 800;
}

.article-row p {
  color: var(--muted);
  line-height: 1.66;
}

.article-row h2 {
  margin-bottom: 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

a.article-row {
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

a.article-row:hover {
  transform: translateY(-2px);
  border-color: #a7d7e3;
  box-shadow: 0 14px 34px rgba(8, 32, 45, 0.08);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #dff9ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body {
  color: var(--muted);
  line-height: 1.76;
}

.article-body h2 {
  margin: 26px 0 10px;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.25;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p {
  color: var(--muted);
  line-height: 1.76;
}

.answer-box {
  margin-bottom: 22px;
  padding: 18px;
  border: 1px solid #bfe1ea;
  border-radius: var(--radius);
  background: #f0fbfd;
}

.answer-box strong {
  display: block;
  margin-bottom: 7px;
  color: var(--aqua-dark);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.topic-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.topic-list a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--aqua-dark);
  font-weight: 800;
}

.topic-list li:last-child a {
  border-bottom: 0;
}

.cta-panel {
  padding: 24px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(90deg, rgba(5, 13, 20, 0.9), rgba(3, 72, 91, 0.84));
}

.cta-eyebrow {
  margin: 0 0 8px;
  color: #aeefff;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cta-panel p {
  max-width: 760px;
  color: #effbff;
}

.cta-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.cta-proof li {
  position: relative;
  padding: 11px 12px 11px 32px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
  color: #effbff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  line-height: 1.42;
}

.cta-proof li::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ad7ef;
  box-shadow: 0 0 0 5px rgba(74, 215, 239, 0.12);
}

.process-step h3 {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.map-link {
  display: block;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.tech-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tech-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tech-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--aqua-dark);
  font-weight: 800;
}

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

.process-step {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.process-step strong {
  display: block;
  margin-bottom: 12px;
  color: var(--aqua-dark);
  font-size: 1.12rem;
}

.process-step p {
  color: var(--muted);
  line-height: 1.55;
}

.knowledge-card {
  min-height: 178px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 800;
}

.faq-item p {
  padding: 0 18px 18px;
  color: var(--muted);
  line-height: 1.65;
}

.contact-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(74, 215, 239, 0.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(31, 157, 101, 0.12), transparent 24%),
    linear-gradient(135deg, #071722 0%, #073744 44%, #006f8d 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(72, 209, 235, 0.18), transparent);
  transform: translateX(-30%);
  animation: contact-water-sheen 9s ease-in-out infinite;
}

.contact-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: 28px;
  align-items: start;
}

.contact-section .section-copy,
.contact-section .section-kicker {
  color: #dff9ff;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.contact-note {
  max-width: 640px;
  color: #dff9ff;
  line-height: 1.7;
}

.contact-detail {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}

.contact-detail .label,
.map-link .label {
  display: block;
  margin-bottom: 5px;
  color: #aeefff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-proof-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.contact-proof-list li {
  position: relative;
  padding-left: 21px;
  color: #effbff;
  line-height: 1.55;
}

.contact-proof-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4ad7ef;
  box-shadow: 0 0 0 5px rgba(74, 215, 239, 0.14);
}

.contact-form {
  padding: 20px;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-intro {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.form-intro strong,
.form-intro span {
  display: block;
}

.form-intro strong {
  color: var(--ink);
  font-size: 1rem;
}

.form-intro span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #354553;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-status {
  margin: 12px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: #eff8fb;
  color: #30505c;
  font-size: 0.93rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  background: #eaf8f1;
  color: #1f6545;
}

.form-status[data-state="warning"] {
  background: #fff8e6;
  color: #785a18;
}

.form-status[data-state="error"] {
  background: #fff0f0;
  color: #8a2727;
}

.contact-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}

.contact-hero-badges span {
  padding: 8px 12px;
  border: 1px solid rgba(0, 143, 181, 0.18);
  border-radius: 999px;
  color: #245162;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-eeat {
  background: #ffffff;
}

.eeat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.eeat-card {
  min-height: 190px;
  padding: 20px;
  border: 1px solid #d9e8ed;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfc 100%);
}

.eeat-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--aqua-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.eeat-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.eeat-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.pool-system-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 30px;
  align-items: center;
}

.compact-list li {
  padding: 11px 0;
}

.pool-system-visual {
  position: relative;
  min-height: 360px;
  border: 1px solid #cfe3ea;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 22%, rgba(75, 196, 220, 0.22), transparent 26%),
    linear-gradient(145deg, #ffffff 0%, #eef9fb 55%, #dff2f7 100%);
  box-shadow: var(--shadow);
}

.system-flow {
  position: absolute;
  inset: 54px 48px 92px;
  border: 2px solid rgba(0, 143, 181, 0.34);
  border-radius: 999px;
}

.system-flow::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(0, 143, 181, 0.82) 72%, transparent 78% 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 6px), #000 calc(100% - 5px));
  animation: system-flow 5.8s linear infinite;
}

.system-node {
  position: absolute;
  z-index: 1;
  width: 108px;
  min-height: 82px;
  display: grid;
  place-items: center;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(0, 143, 181, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(8, 32, 45, 0.12);
  animation: node-float 6s ease-in-out infinite;
}

.system-node span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 7px solid rgba(0, 143, 181, 0.16);
  border-top-color: var(--aqua);
  animation: node-spin 3.2s linear infinite;
}

.system-node strong {
  color: #163846;
  font-size: 0.82rem;
}

.system-node.pump {
  left: 36px;
  top: 58px;
}

.system-node.filter {
  right: 42px;
  top: 70px;
  animation-delay: -1.2s;
}

.system-node.heater {
  right: 58px;
  bottom: 96px;
  animation-delay: -2.4s;
}

.system-node.dosing {
  left: 54px;
  bottom: 92px;
  animation-delay: -3.1s;
}

.water-basin {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(72%, 360px);
  height: 78px;
  border: 1px solid rgba(0, 143, 181, 0.24);
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(53, 187, 217, 0.28));
  transform: translateX(-50%);
  overflow: hidden;
}

.water-basin span {
  position: absolute;
  left: -12%;
  right: -12%;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 143, 181, 0.22);
  animation: water-wave 4.8s ease-in-out infinite;
}

.water-basin span:nth-child(1) {
  top: 22px;
}

.water-basin span:nth-child(2) {
  top: 32px;
  opacity: 0.72;
  animation-delay: -1.6s;
}

.water-basin span:nth-child(3) {
  top: 42px;
  opacity: 0.46;
  animation-delay: -3.2s;
}

.realistic-system {
  min-height: 520px;
  padding: 18px;
  background:
    radial-gradient(circle at 16% 18%, rgba(74, 215, 239, 0.22), transparent 24%),
    radial-gradient(circle at 82% 14%, rgba(31, 157, 101, 0.14), transparent 22%),
    linear-gradient(145deg, #ffffff 0%, #eef9fb 46%, #dff3f7 100%);
}

.realistic-system::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 14px;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 143, 181, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 143, 181, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 72%);
}

.system-stage {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(0, 143, 181, 0.2);
  border-radius: 999px;
  color: #103b48;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(8, 32, 45, 0.08);
  font-size: 0.84rem;
}

.stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #1f9d65;
  box-shadow: 0 0 0 0 rgba(31, 157, 101, 0.34);
  animation: stage-pulse 1.7s ease-out infinite;
}

.pool-plant {
  position: relative;
  z-index: 1;
  height: 318px;
  margin-top: 12px;
}

.pipe {
  position: absolute;
  height: 12px;
  border: 1px solid rgba(0, 111, 141, 0.24);
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #d9f1f6 0%, #83d6e9 52%, #c8f0f7 100%);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.9), 0 7px 16px rgba(0, 111, 141, 0.12);
}

.pipe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.7) 34%, rgba(0, 143, 181, 0.34) 50%, transparent 72%);
  transform: translateX(-100%);
  animation: pipe-flow 1.8s linear infinite;
}

.pipe-intake {
  left: 6%;
  right: 68%;
  top: 212px;
}

.pipe-pump-filter {
  left: 21%;
  right: 48%;
  top: 110px;
}

.pipe-filter-heat {
  left: 49%;
  right: 23%;
  top: 102px;
}

.pipe-return {
  left: 62%;
  right: 7%;
  top: 210px;
}

.flow-particle {
  position: absolute;
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 5px rgba(74, 215, 239, 0.16), 0 0 18px rgba(0, 143, 181, 0.28);
  animation: water-circuit 7s linear infinite;
}

.flow-particle.p2 {
  animation-delay: -1.7s;
}

.flow-particle.p3 {
  animation-delay: -3.4s;
}

.flow-particle.p4 {
  animation-delay: -5.1s;
}

.system-component,
.pool-tank {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 143, 181, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(8, 32, 45, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.system-component.active,
.pool-tank.active {
  transform: translateY(-4px);
  border-color: rgba(0, 143, 181, 0.62);
  box-shadow: 0 18px 38px rgba(8, 32, 45, 0.16), 0 0 0 8px rgba(74, 215, 239, 0.12);
}

.component-label,
.pool-label {
  color: #173a46;
  font-size: 0.75rem;
  font-weight: 900;
}

.system-component.pump {
  left: 7%;
  top: 76px;
  width: 112px;
  min-height: 106px;
  border-radius: 18px;
}

.pump-body {
  position: relative;
  width: 55px;
  height: 55px;
  border: 8px solid #cbeaf1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0 32%, #73d0e4 34% 100%);
}

.pump-impeller {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #006f8d 0 18%, transparent 18% 34%, #006f8d 34% 52%, transparent 52% 68%, #006f8d 68% 86%, transparent 86% 100%);
  animation: node-spin 1.5s linear infinite;
}

.system-component.filter {
  left: 34%;
  top: 48px;
  width: 112px;
  min-height: 142px;
  border-radius: 22px;
}

.filter-vessel {
  position: relative;
  width: 58px;
  height: 82px;
  border: 6px solid #cde8ef;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  background: #ffffff;
}

.filter-vessel span {
  position: absolute;
  left: 0;
  right: 0;
  height: 27%;
}

.filter-vessel span:nth-child(1) {
  top: 0;
  background: rgba(82, 196, 220, 0.28);
}

.filter-vessel span:nth-child(2) {
  top: 31%;
  background: repeating-linear-gradient(90deg, #d5c3a0 0 5px, #c8b38d 5px 10px);
}

.filter-vessel span:nth-child(3) {
  bottom: 0;
  background: rgba(0, 143, 181, 0.26);
  animation: filter-clear 3s ease-in-out infinite;
}

.system-component.heater {
  right: 12%;
  top: 56px;
  width: 120px;
  min-height: 106px;
  border-radius: 18px;
}

.heat-coil {
  width: 70px;
  height: 42px;
  border-radius: 20px;
  background: repeating-radial-gradient(ellipse at center, transparent 0 7px, rgba(0, 143, 181, 0.7) 8px 10px, transparent 11px 14px);
  animation: heat-glow 2.4s ease-in-out infinite;
}

.system-component.dosing {
  right: 31%;
  bottom: 42px;
  width: 102px;
  min-height: 92px;
  border-radius: 18px;
}

.dose-drop {
  width: 28px;
  height: 38px;
  border-radius: 50% 50% 55% 55%;
  background: linear-gradient(180deg, #bdf2fb, #008fb5);
  transform: rotate(45deg);
  animation: dose-drop 2.2s ease-in-out infinite;
}

.pool-tank {
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 76px;
  border-radius: 20px 20px 14px 14px;
  overflow: hidden;
  align-content: center;
}

.pool-water-layer {
  position: absolute;
  inset: 28px 0 0;
  background: linear-gradient(180deg, rgba(88, 211, 235, 0.62), rgba(0, 143, 181, 0.42));
}

.pool-ripple {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  animation: water-wave 4.2s ease-in-out infinite;
}

.pool-ripple.r1 {
  top: 28px;
}

.pool-ripple.r2 {
  top: 40px;
  opacity: 0.7;
  animation-delay: -2s;
}

.return-jet {
  position: absolute;
  right: 18%;
  top: 30px;
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), transparent);
  animation: return-jet 1.6s ease-in-out infinite;
}

.system-explain {
  position: relative;
  z-index: 2;
  min-height: 54px;
  margin: 14px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(0, 143, 181, 0.16);
  border-radius: var(--radius);
  color: #344e59;
  background: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.system-gauges {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.system-gauges span {
  padding: 10px;
  border: 1px solid rgba(0, 143, 181, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.system-gauges small,
.system-gauges strong {
  display: block;
}

.system-gauges small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.system-gauges strong {
  margin-top: 3px;
  color: var(--aqua-dark);
  font-size: 0.84rem;
}

@keyframes stage-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(31, 157, 101, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(31, 157, 101, 0);
  }
}

@keyframes pipe-flow {
  to {
    transform: translateX(110%);
  }
}

@keyframes water-circuit {
  0% {
    left: 11%;
    top: 214px;
  }

  20% {
    left: 19%;
    top: 122px;
  }

  42% {
    left: 43%;
    top: 106px;
  }

  62% {
    left: 70%;
    top: 106px;
  }

  80% {
    left: 78%;
    top: 210px;
  }

  100% {
    left: 51%;
    top: 244px;
  }
}

@keyframes filter-clear {
  0%,
  100% {
    opacity: 0.55;
  }

  50% {
    opacity: 0.95;
  }
}

@keyframes heat-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(31, 157, 101, 0));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(31, 157, 101, 0.32));
  }
}

@keyframes dose-drop {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }

  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

@keyframes return-jet {
  0%,
  100% {
    opacity: 0.38;
    transform: translateX(0);
  }

  50% {
    opacity: 0.92;
    transform: translateX(-12px);
  }
}

@keyframes contact-water-sheen {
  0%,
  40% {
    transform: translateX(-42%);
    opacity: 0;
  }

  55% {
    opacity: 1;
  }

  100% {
    transform: translateX(42%);
    opacity: 0;
  }
}

@keyframes system-flow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

@keyframes node-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes water-wave {
  0%,
  100% {
    transform: translateX(-4%);
  }

  50% {
    transform: translateX(4%);
  }
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
}

.footer-copy {
  display: grid;
  gap: 6px;
  text-align: right;
}

.footer-copy p {
  margin: 0;
}

.footer-credit {
  font-size: 0.86rem;
}

.footer-credit a {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.footer-credit a:hover {
  text-decoration: underline;
}

.footer-logo {
  width: 170px;
}

.whatsapp-float {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 18px 42px rgba(31, 157, 101, 0.34);
}

.arkon-ai {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  font-family: inherit;
}

.arkon-ai-button {
  position: relative;
  isolation: isolate;
  width: auto;
  min-width: 152px;
  min-height: 48px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid rgba(0, 143, 181, 0.2);
  border-radius: 999px;
  padding: 7px 14px 7px 7px;
  color: #073744;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(8, 32, 45, 0.16), 0 0 0 0 rgba(0, 143, 181, 0.24);
  backdrop-filter: blur(14px);
  cursor: pointer;
  animation: ai-heartbeat-shadow 2.8s ease-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.arkon-ai-button::before,
.arkon-ai-button::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(0, 143, 181, 0.22);
  box-shadow: 0 0 0 0 rgba(0, 143, 181, 0.18), 0 0 22px rgba(0, 143, 181, 0.16);
  animation: ai-heartbeat-ring 2.8s ease-out infinite;
}

.arkon-ai-button::after {
  inset: -13px;
  border-color: rgba(31, 157, 101, 0.16);
  box-shadow: 0 0 0 0 rgba(31, 157, 101, 0.12), 0 0 30px rgba(0, 143, 181, 0.1);
  animation-delay: 0.16s;
}

.arkon-ai-button:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 143, 181, 0.42);
  box-shadow: 0 16px 42px rgba(8, 32, 45, 0.2), 0 0 0 8px rgba(0, 143, 181, 0.08);
}

.arkon-ai-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 143, 181, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.arkon-ai-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.arkon-ai-copy {
  display: grid;
  gap: 1px;
  max-width: none;
  text-align: left;
  white-space: nowrap;
}

.arkon-ai-copy strong {
  font-size: 0.78rem;
  line-height: 1;
}

.arkon-ai-copy small {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
}

@keyframes ai-heartbeat-shadow {
  0%,
  18%,
  42%,
  100% {
    box-shadow: 0 12px 34px rgba(8, 32, 45, 0.16), 0 0 0 0 rgba(0, 143, 181, 0.18);
  }

  9% {
    box-shadow: 0 14px 38px rgba(8, 32, 45, 0.18), 0 0 0 8px rgba(0, 143, 181, 0.14);
  }

  27% {
    box-shadow: 0 15px 40px rgba(8, 32, 45, 0.2), 0 0 0 12px rgba(31, 157, 101, 0.1);
  }
}

@keyframes ai-heartbeat-ring {
  0%,
  8%,
  100% {
    opacity: 0;
    transform: scale(0.94);
  }

  12% {
    opacity: 0.85;
    transform: scale(1);
  }

  24% {
    opacity: 0;
    transform: scale(1.13);
  }

  34% {
    opacity: 0.62;
    transform: scale(1);
  }

  48% {
    opacity: 0;
    transform: scale(1.18);
  }
}

.arkon-ai-panel {
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid #d7e8ee;
  border-radius: 20px;
  background: #f7fbfc;
  box-shadow: 0 24px 70px rgba(8, 32, 45, 0.24);
}

.arkon-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #063744, #008fb5);
}

.arkon-ai-head-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.arkon-ai-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.42);
}

.arkon-ai-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arkon-ai-head strong,
.arkon-ai-head span {
  display: block;
}

.arkon-ai-head strong {
  font-size: 0.9rem;
}

.arkon-ai-head span {
  color: #dff9ff;
  font-size: 0.72rem;
}

.arkon-ai-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  cursor: pointer;
}

.arkon-ai-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 9px 10px;
  border-bottom: 1px solid #deebef;
  background: #ffffff;
}

.arkon-ai-trust span {
  min-width: 0;
  border: 1px solid #d5edf3;
  border-radius: 999px;
  padding: 6px 7px;
  color: #0b6379;
  background: #f0fbfd;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.arkon-ai-messages {
  max-height: 292px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 12px 14px;
  background: linear-gradient(180deg, #f6fbfc, #eef7fa);
}

.arkon-ai-message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}

.arkon-ai-message.user {
  flex-direction: row-reverse;
}

.arkon-ai-message-avatar {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #ffffff;
  background: #0b6379;
  font-size: 0.66rem;
  font-weight: 900;
}

.arkon-ai-message.user .arkon-ai-message-avatar {
  background: #273947;
}

.arkon-ai-message-body {
  max-width: min(285px, calc(100% - 34px));
}

.arkon-ai-message.user .arkon-ai-message-body {
  display: grid;
  justify-items: end;
}

.arkon-ai-message-label {
  display: block;
  margin: 0 0 4px;
  color: #6c7f8c;
  font-size: 0.66rem;
  font-weight: 850;
}

.arkon-ai-bubble {
  padding: 9px 10px;
  border-radius: 14px;
  white-space: pre-wrap;
  font-size: 0.84rem;
  line-height: 1.48;
  box-shadow: 0 8px 20px rgba(8, 32, 45, 0.06);
}

.arkon-ai-message.assistant .arkon-ai-bubble {
  color: #243542;
  background: #ffffff;
  border: 1px solid #dbe8ec;
}

.arkon-ai-message.user .arkon-ai-bubble {
  color: #ffffff;
  background: #073744;
  border: 1px solid #073744;
  border-top-right-radius: 7px;
}

.arkon-ai-message.assistant .arkon-ai-bubble {
  border-top-left-radius: 7px;
}

.arkon-ai-message.pending .arkon-ai-bubble {
  color: #6c7f8c;
  background: #ffffff;
}

.arkon-ai-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 11px 8px;
  border-top: 1px solid #deebef;
  background: #ffffff;
}

.arkon-ai-chips button {
  flex: 0 0 auto;
  border: 1px solid #cde5ec;
  border-radius: 999px;
  padding: 7px 9px;
  color: var(--aqua-dark);
  background: #effafd;
  font-weight: 800;
  font-size: 0.72rem;
  cursor: pointer;
}

.arkon-ai-form,
.arkon-ai-lead-form {
  display: grid;
  gap: 7px;
  padding: 11px;
  background: #ffffff;
}

.arkon-ai-form {
  grid-template-columns: 1fr auto;
  border-top: 1px solid #edf3f5;
}

.arkon-ai-form textarea,
.arkon-ai-lead-form input,
.arkon-ai-lead-form select,
.arkon-ai-lead-form textarea {
  width: 100%;
  min-height: 39px;
  border: 1px solid #cfdde4;
  border-radius: var(--radius);
  padding: 9px 10px;
  font: inherit;
  font-size: 0.84rem;
}

.arkon-ai-form textarea,
.arkon-ai-lead-form textarea {
  resize: vertical;
}

.arkon-ai-form button,
.arkon-ai-lead-form button {
  border: 0;
  border-radius: var(--radius);
  padding: 0 12px;
  color: #ffffff;
  background: var(--aqua-dark);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
}

.arkon-ai-lead {
  border-top: 1px solid #deebef;
  background: #ffffff;
}

.arkon-ai-lead summary {
  cursor: pointer;
  padding: 11px;
  color: var(--aqua-dark);
  font-weight: 900;
  font-size: 0.84rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .contact-grid,
  .service-grid,
  .knowledge-grid,
  .faq-grid,
  .process,
  .tech-wrap,
  .split-layout,
  .contact-layout,
  .eeat-grid,
  .pool-system-layout,
  .calculator-layout,
  .catalog-category-grid,
  .product-grid,
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .calculator-head {
    align-items: flex-start;
  }

  .eeat-card {
    min-height: auto;
  }

  .reference-head {
    align-items: flex-start;
  }

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

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

  .project-head {
    align-items: flex-start;
  }

  .project-layout {
    grid-template-columns: 1fr;
  }

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

  .cta-proof {
    grid-template-columns: 1fr;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .reference-shell {
    padding: 20px 14px;
  }

  .calculator-shell {
    padding: 18px 14px;
  }

  .calculator-trust {
    white-space: normal;
  }

  .calc-grid,
  .result-grid div {
    grid-template-columns: 1fr;
  }

  .pool-calculator,
  .calculator-result {
    padding: 16px;
  }

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

  .catalog-category-grid {
    grid-template-columns: 1fr;
  }

  .catalog-category-card {
    min-height: auto;
  }

  .product-card {
    grid-template-rows: 150px 1fr;
  }

  .product-gallery {
    min-height: 260px;
  }

  .quote-cart-toggle {
    left: 14px;
    bottom: 14px;
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.84rem;
  }

  .quote-drawer {
    left: 14px;
    bottom: 64px;
    width: calc(100vw - 28px);
  }

  .reference-logo {
    min-height: 112px;
    padding: 13px 10px 11px;
  }

  .reference-logo img {
    max-width: 96px;
    max-height: 54px;
  }

  .project-type-grid {
    grid-template-columns: 1fr;
  }

  .solution-check-list {
    grid-template-columns: 1fr;
  }

  .contact-hero-badges {
    display: grid;
  }

  .contact-form {
    padding: 16px;
  }

  .pool-system-visual {
    min-height: 560px;
  }

  .realistic-system {
    padding: 14px;
  }

  .pool-plant {
    height: 340px;
  }

  .system-stage {
    max-width: 100%;
    font-size: 0.76rem;
  }

  .system-flow {
    inset: 44px 30px 86px;
  }

  .system-node {
    width: 92px;
    min-height: 74px;
    padding: 10px;
  }

  .system-node.pump {
    left: 18px;
    top: 48px;
  }

  .system-node.filter {
    right: 18px;
    top: 56px;
  }

  .system-node.heater {
    right: 22px;
    bottom: 86px;
  }

  .system-node.dosing {
    left: 22px;
    bottom: 84px;
  }

  .water-basin {
    bottom: 18px;
    height: 64px;
  }

  .system-component.pump {
    left: 4%;
    top: 72px;
    width: 88px;
    min-height: 92px;
  }

  .system-component.filter {
    left: 36%;
    top: 42px;
    width: 90px;
    min-height: 126px;
  }

  .system-component.heater {
    right: 3%;
    top: 74px;
    width: 94px;
    min-height: 88px;
  }

  .system-component.dosing {
    right: 26%;
    bottom: 54px;
    width: 84px;
    min-height: 80px;
  }

  .pipe-intake {
    left: 7%;
    right: 70%;
    top: 222px;
  }

  .pipe-pump-filter {
    left: 22%;
    right: 48%;
    top: 116px;
  }

  .pipe-filter-heat {
    left: 51%;
    right: 22%;
    top: 118px;
  }

  .pipe-return {
    left: 62%;
    right: 8%;
    top: 224px;
  }

  .pool-tank {
    height: 68px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .contact-section::before,
  .system-flow::after,
  .system-node,
  .system-node span,
  .water-basin span,
  .pipe::after,
  .flow-particle,
  .stage-dot,
  .pump-impeller,
  .filter-vessel span,
  .heat-coil,
  .dose-drop,
  .pool-ripple,
  .return-jet,
  .arkon-ai-button,
  .arkon-ai-button::before,
  .arkon-ai-button::after {
    animation: none;
  }
}

@media (max-width: 720px) {
  .article-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .nav {
    min-height: 64px;
  }

  .brand img {
    width: min(154px, 46vw);
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .icon-button:not(.mobile-toggle) {
    display: none;
  }

  .nav-actions .button {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 54px 0 78px;
    width: min(100%, 342px);
  }

  h1 {
    font-size: clamp(1.28rem, 6vw, 1.65rem);
    line-height: 1.16;
  }

  .page-hero {
    padding: 46px 0 38px;
  }

  .hero-lead {
    font-size: 0.92rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.92rem;
  }

  .hero-points {
    margin-top: 22px;
  }

  .contact-bar {
    margin-top: 0;
  }

  .contact-grid {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .section-head,
  .footer-row {
    display: block;
  }

  .footer-logo {
    margin-bottom: 16px;
  }

  .footer-copy {
    text-align: left;
  }

  .contact-item {
    min-height: auto;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }

  .arkon-ai {
    right: 12px;
    bottom: 12px;
  }

  .arkon-ai-button {
    min-width: 126px;
    min-height: 42px;
    padding: 6px 11px 6px 6px;
  }

  .arkon-ai-panel {
    bottom: 64px;
  }

  .arkon-ai-copy {
    display: grid;
  }

  .arkon-ai-mark {
    width: 28px;
    height: 28px;
  }

  .arkon-ai-copy strong {
    font-size: 0.7rem;
  }
}
