/* =========================================================
   Aqua Volt — Global Styles
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #F1F7FC;
  --color-bg-soft: #E3EEF8;
  --color-border: #D6E1EC;
  --color-text: #1B2A44;
  --color-muted: #4A5870;
  --color-light: #6A788E;

  --color-navy: #15366C;
  --color-navy-dark: #0E2754;
  --color-aqua: #4A9DD9;
  --color-aqua-light: #7DB7E0;
  --color-electric: #2D74B5;
  --color-electric-dark: #1F558A;
  --color-accent: #EE6E2C;
  --color-accent-dark: #D55518;
  --color-eco: #2FBF71;

  --gradient-hero: linear-gradient(135deg, #F1F7FC 0%, #DDEBF7 55%, #C7DDF0 100%);
  --gradient-accent: linear-gradient(135deg, #1F558A 0%, #4A9DD9 100%);
  --gradient-cyan: linear-gradient(135deg, #4A9DD9 0%, #7DB7E0 100%);
  --gradient-navy: linear-gradient(135deg, #0E2754 0%, #15366C 60%, #1F558A 100%);
  --gradient-spark: linear-gradient(135deg, #D55518 0%, #EE6E2C 100%);

  --shadow-sm: 0 2px 6px rgba(15, 27, 45, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 27, 45, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 27, 45, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --header-h: 82px;

  --font-sans: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Space Grotesk", "Inter", "Segoe UI", -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--color-electric); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-electric-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-navy);
  line-height: 1.2;
  margin: 0 0 .6em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--color-muted); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--soft { background: var(--color-bg-soft); }
.section--navy {
  background: var(--gradient-navy);
  color: #dbe6f3;
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: #ffffff; }
.section--navy p { color: #b9c8dc; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--color-accent); }

.section-head { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-head p { font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 0.96rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 10px 22px rgba(21, 54, 108, 0.28);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(21, 54, 108, 0.38); color:#fff; }
.btn-spark {
  background: var(--gradient-spark);
  color: #fff;
  box-shadow: 0 10px 22px rgba(238, 110, 44, 0.32);
}
.btn-spark:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(238, 110, 44, 0.42); color:#fff; }
.btn-secondary {
  background: #ffffff;
  color: var(--color-navy);
  border-color: var(--color-border);
}
.btn-secondary:hover { border-color: var(--color-electric); color: var(--color-electric); }
.btn-ghost {
  background: transparent;
  color: var(--color-navy);
  padding: 10px 0;
}
.btn-ghost:hover { color: var(--color-electric); }
.btn-light {
  background: #ffffff;
  color: var(--color-navy);
}
.btn-light:hover { color: var(--color-electric); transform: translateY(-1px); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 27, 45, 0.06), 0 8px 24px rgba(15, 27, 45, 0.04);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #EE6E2C 0%, #D55518 18%, #15366C 50%, #2D74B5 82%, #4A9DD9 100%);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(21, 54, 108, 0.18) 30%, rgba(238, 110, 44, 0.18) 70%, transparent 100%);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 14px rgba(21, 54, 108, 0.32);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand:hover { color: var(--color-navy); }

.brand-logo {
  height: 65px;
  width: auto;
  display: block;
  transition: transform .25s ease;
}
.brand:hover .brand-logo { transform: translateY(-1px) scale(1.02); }
.brand-logo--light {
  filter: brightness(0) invert(1);
}

.footer-brand .brand {
  display: inline-block;
}
.brand-logo--footer {
  height: 67px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 14px;
  mix-blend-mode: normal;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color .2s ease, background-color .2s ease;
}
.nav a:hover {
  color: var(--color-navy);
  background: rgba(74, 157, 217, 0.10);
}
.nav a.active {
  color: var(--color-navy);
  font-weight: 600;
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--gradient-spark);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 12px; }

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--color-navy);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--color-navy);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top:  6px; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 90px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(0, 184, 212, 0.18), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(45, 116, 181, 0.12), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 22px; }
.hero .lede {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  color: var(--color-muted);
  font-size: 0.92rem;
  max-width: 560px;
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-meta svg { flex-shrink: 0; }
@media (max-width: 540px) {
  .hero-meta { grid-template-columns: 1fr; gap: 12px; }
}
.hero-meta svg { color: var(--color-aqua); }

/* Hero visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
}
.hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero-card-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-border);
}
.hero-card-title { font-weight: 600; color: var(--color-navy); }
.hero-card-tag {
  background: rgba(0, 184, 212, 0.12);
  color: var(--color-aqua);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.diagram {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.flow-row {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.flow-node {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric);
}
.flow-node.accent {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(45, 116, 181, 0.3);
}
.flow-line {
  height: 3px;
  background: linear-gradient(90deg, var(--color-aqua-light), var(--color-electric));
  border-radius: 3px;
  position: relative;
  overflow: hidden;
}
.flow-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-100%);
  animation: flow 2.4s linear infinite;
}
@keyframes flow {
  to { transform: translateX(100%); }
}
.flow-label { font-size: 0.78rem; color: var(--color-muted); }

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
}
.stat {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light);
  margin-bottom: 6px;
}
.stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-navy);
}
.stat-value small {
  font-size: 0.78rem;
  color: var(--color-muted);
  font-weight: 500;
  margin-left: 4px;
}
.stat .delta-down {
  font-size: 0.84rem;
  color: #1aa05a;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-weight: 600;
}

/* Floating decorative blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
}
.hero-blob.b1 {
  width: 240px; height: 240px;
  background: var(--color-aqua-light);
  top: -60px; right: -60px;
}
.hero-blob.b2 {
  width: 200px; height: 200px;
  background: #FBD2B5;
  bottom: -40px; left: -40px;
}

/* =========================================================
   Trust / Value Bar
   ========================================================= */
.value-bar {
  background: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--color-navy);
  font-size: 0.95rem;
}
.value-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 184, 212, 0.1);
  color: var(--color-aqua);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =========================================================
   Cards / Grids
   ========================================================= */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 116, 181, 0.25);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(45, 116, 181, 0.25);
}
.card-icon.alt {
  background: rgba(0, 184, 212, 0.12);
  color: var(--color-aqua);
  box-shadow: none;
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

/* Problem Section feature columns */
.problem-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.problem-col {
  padding: 26px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.problem-col h4 { color: var(--color-navy); margin-bottom: 10px; }
.problem-col p { margin: 0; font-size: 0.95rem; }

/* Solution split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.98rem;
  color: var(--color-text);
}
.check-list li:last-child { border-bottom: none; }
.check-list .ck {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(45, 116, 181, 0.1);
  color: var(--color-electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.solution-visual {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 32px;
}
.product-shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
}
.product-shot--contain { object-fit: contain; }
.product-shot--portrait {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 65%;
}
.product-shot + .product-caption {
  margin-top: 14px;
  font-size: .82rem;
  color: var(--color-light);
  text-align: center;
}
.solution-visual > .product-shot:first-child { margin-bottom: 18px; }
.pipe-diagram {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.pipe-row {
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
  gap: 14px;
}
.pipe-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-navy);
}
.pipe-label small {
  display: block;
  font-weight: 500;
  color: var(--color-light);
  font-size: 0.74rem;
}
.pipe-bar {
  height: 14px;
  background: var(--color-bg-soft);
  border-radius: var(--radius-pill);
  overflow: hidden;
  position: relative;
}
.pipe-fill {
  position: absolute;
  inset: 0;
  background: var(--gradient-accent);
  border-radius: var(--radius-pill);
}
.pipe-fill.f-80 { width: 100%; }
.pipe-fill.f-60 { width: 75%; }
.pipe-fill.f-40 { width: 55%; }

/* =========================================================
   How It Works steps
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gradient-accent);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 16px rgba(45, 116, 181, 0.25);
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: 0.95rem; margin: 0; }

/* =========================================================
   Industries
   ========================================================= */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 26px;
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.industry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(45, 116, 181, 0.3);
}
.industry .card-icon { width: 44px; height: 44px; margin-bottom: 16px; }
.industry h4 { margin-bottom: 6px; font-size: 1rem; }
.industry p { font-size: 0.88rem; margin: 0; color: var(--color-muted); }

/* =========================================================
   Case Studies
   ========================================================= */
.case-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.case-card-head {
  padding: 24px 30px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.case-card-head .tag {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-aqua);
  font-weight: 600;
}
.case-card-head h3 { margin: 4px 0 0; }
.case-meta {
  display: flex;
  gap: 24px;
  font-size: 0.86rem;
  color: var(--color-muted);
}
.case-meta strong { color: var(--color-navy); }
.case-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.case-stat {
  padding: 28px 30px;
  border-right: 1px solid var(--color-border);
}
.case-stat:last-child { border-right: none; }
.case-stat .label {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-light);
  margin-bottom: 8px;
}
.case-stat .val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-navy);
}
.case-stat .sub { font-size: 0.86rem; color: var(--color-muted); margin-top: 4px; }
.case-note {
  padding: 18px 30px;
  background: var(--color-bg-alt);
  font-size: 0.82rem;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
}

/* =========================================================
   Why Choose
   ========================================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.why-row {
  display: flex;
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.why-row .card-icon { margin-bottom: 0; flex-shrink: 0; }
.why-row h4 { margin-bottom: 6px; }
.why-row p { margin: 0; font-size: 0.95rem; }

/* =========================================================
   CTA Section
   ========================================================= */
.cta-block {
  background: var(--gradient-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before, .cta-block::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.25;
}
.cta-block::before {
  width: 280px; height: 280px;
  background: var(--color-aqua);
  top: -100px; right: -80px;
}
.cta-block::after {
  width: 240px; height: 240px;
  background: var(--color-electric);
  bottom: -100px; left: -60px;
}
.cta-block > * { position: relative; z-index: 1; }
.cta-block h2 { color: #ffffff; }
.cta-block p { color: rgba(255,255,255,0.85); max-width: 580px; margin: 0 auto 28px; font-size: 1.05rem; }

/* =========================================================
   Contact / Form
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.contact-info-card h3 { margin-bottom: 6px; }
.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}
.contact-info-list li:last-child { border-bottom: none; }
.contact-info-list .ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(45, 116, 181, 0.08);
  color: var(--color-electric);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-list .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light);
  margin-bottom: 2px;
}
.contact-info-list .val { color: var(--color-navy); font-weight: 600; }

.contact-form {
  background: #ffffff;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { margin-bottom: 8px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.form-field label .opt {
  color: var(--color-light);
  font-weight: 500;
  margin-left: 4px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 12px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-electric);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 116, 181, 0.15);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-actions { margin-top: 6px; }
.form-actions .btn { width: 100%; padding: 16px; font-size: 1rem; }
.form-disclaimer {
  font-size: 0.82rem;
  color: var(--color-light);
  margin-top: 14px;
  text-align: center;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #0E2754;
  color: #aab9cd;
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { color: #fff; }
.footer-brand p { color: #93a3b9; margin-top: 16px; max-width: 320px; font-size: 0.94rem; }
.footer-col h5 {
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.94rem; }
.footer-col a { color: #aab9cd; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { margin: 0; font-size: 0.84rem; color: #6c7d94; }
.footer-disclaimer {
  font-size: 0.82rem;
  color: #6c7d94;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 920px;
}

/* =========================================================
   Sub-page hero (smaller)
   ========================================================= */
.page-hero {
  background:
    radial-gradient(circle at 80% 25%, rgba(238, 110, 44, 0.22), transparent 55%),
    radial-gradient(circle at 18% 78%, rgba(74, 157, 217, 0.18), transparent 55%),
    linear-gradient(135deg, #0E2754 0%, #15366C 60%, #1F558A 100%);
  color: #ffffff;
  padding: 80px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 10%, transparent 75%);
  pointer-events: none;
  opacity: 0.6;
}
.page-hero > .container { position: relative; z-index: 1; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}
.page-hero-content { max-width: 600px; }

.page-hero h1 {
  color: #ffffff;
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 3rem);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  margin: 0;
  max-width: none;
}
.page-hero .eyebrow { color: var(--color-aqua-light); }
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a { color: rgba(255, 255, 255, 0.6); }
.page-hero .breadcrumbs a:hover { color: var(--color-aqua-light); }

.page-hero-accent {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero-accent svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 30px rgba(74, 157, 217, 0.28));
}

.breadcrumbs {
  font-size: 0.84rem;
  color: var(--color-muted);
  margin-bottom: 18px;
}
.breadcrumbs a { color: var(--color-muted); }
.breadcrumbs a:hover { color: var(--color-electric); }

/* =========================================================
   Laminar vs Turbulent flow visual
   ========================================================= */
.flow-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.flow-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.flow-panel.bad { border-top: 3px solid #d35858; }
.flow-panel.good { border-top: 3px solid var(--color-eco); }
.flow-panel h4 { display:flex; align-items:center; gap:10px; margin-bottom: 8px; }
.flow-panel h4 .pill {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.flow-panel.bad .pill { background: rgba(211,88,88,.12); color:#a83838; }
.flow-panel.good .pill { background: rgba(47,191,113,.12); color: var(--color-eco); }
.flow-panel p { font-size: .92rem; margin: 0 0 16px; }
.flow-svg {
  width: 100%;
  height: 110px;
  display: block;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

/* =========================================================
   Stats grid (large metrics)
   ========================================================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-tile {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: left;
}
.stat-tile .num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-tile .num.accent { color: var(--color-electric); }
.stat-tile .lbl {
  color: var(--color-muted);
  font-size: .94rem;
}

/* =========================================================
   Size range visual
   ========================================================= */
.size-range {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.size-track {
  position: relative;
  height: 22px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  margin: 60px 0 18px;
  overflow: visible;
}
.size-track-fill {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: var(--gradient-accent);
  box-shadow: 0 4px 12px rgba(45, 116, 181, 0.25);
}
.size-marker {
  position: absolute;
  top: -52px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  font-size: .92rem;
}
.size-marker::after {
  content: "";
  width: 2px;
  height: 14px;
  background: var(--color-light);
  margin-top: 2px;
}
.size-marker .dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-electric);
  position: absolute;
  top: 56px;
  box-shadow: 0 0 0 4px rgba(45, 116, 181, 0.15);
}
.size-ends {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  color: var(--color-light);
}

/* =========================================================
   Application pills / chips
   ========================================================= */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 174, 239, 0.08);
  color: var(--color-electric);
  border: 1px solid rgba(45, 116, 181, 0.18);
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
}

/* =========================================================
   Spec / feature list (product page)
   ========================================================= */
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.spec-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: .96rem;
}
.spec-list li .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient-accent);
  margin-top: 8px;
  flex-shrink: 0;
}

/* =========================================================
   Note / disclaimer block
   ========================================================= */
.note-block {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-electric);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: .92rem;
  color: var(--color-muted);
  margin-top: 28px;
}
.note-block strong { color: var(--color-navy); }

/* About page bits */
.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.about-stat {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}
.about-stat .num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.about-stat .lbl { color: var(--color-muted); font-size: 0.94rem; }

/* =========================================================
   Image placeholders (for Simon's imagery, drop-in ready)
   ========================================================= */
.image-placeholder {
  border: 2px dashed rgba(45, 116, 181, 0.28);
  background:
    linear-gradient(135deg, rgba(74, 157, 217, 0.06) 0%, rgba(238, 110, 44, 0.05) 100%),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(45, 116, 181, 0.04) 18px 19px);
  border-radius: var(--radius-md);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  transition: border-color .2s ease, background .2s ease;
}
.image-placeholder:hover { border-color: rgba(238, 110, 44, 0.45); }
.image-placeholder--wide { min-height: 280px; }
.image-placeholder__inner {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--color-electric);
}
.image-placeholder__inner svg { opacity: 0.55; }
.image-placeholder__label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.image-placeholder__hint {
  font-size: 0.86rem;
  color: var(--color-light);
  line-height: 1.5;
}
.image-placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .image-placeholder-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Install-flow diagram (Water Meter → AquaVolt → Facility)
   ========================================================= */
.install-flow {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 24px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.install-flow__node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 22px 14px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  gap: 8px;
  color: var(--color-navy);
}
.install-flow__node--primary {
  background: var(--gradient-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(21, 54, 108, 0.25);
}
.install-flow__node--primary .install-flow__sub { color: rgba(255,255,255,0.9); }
.install-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.install-flow__icon svg { display: block; }
.install-flow__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: inherit;
}
.install-flow__sub {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.4;
}
.install-flow__arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric);
  min-width: 60px;
}
.install-flow__arrow svg { display: block; }
@media (max-width: 768px) {
  .install-flow {
    flex-direction: column;
    gap: 10px;
  }
  .install-flow__node { width: 100%; }
  .install-flow__arrow {
    transform: rotate(90deg);
    min-width: 0;
    min-height: 36px;
  }
}

/* =========================================================
   Campaign band (paid-media angles)
   ========================================================= */
.campaign-band__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}
.campaign-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.campaign-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--color-navy);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.campaign-tile::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--gradient-spark);
  opacity: 0.85;
}
.campaign-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(238, 110, 44, 0.35);
  color: var(--color-navy);
}
.campaign-tile h3 {
  font-size: 1.18rem;
  margin: 0;
  line-height: 1.3;
}
.campaign-tile__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(238, 110, 44, 0.10);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}
.campaign-tile__cta {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-electric);
}
.campaign-tile--wide { grid-column: span 2; }
@media (max-width: 768px) {
  .campaign-band__grid { grid-template-columns: 1fr; }
  .campaign-tile--wide { grid-column: span 1; }
}

/* =========================================================
   Video placeholder ("See AquaVolt in Action")
   ========================================================= */
.video-placeholder {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 30%, rgba(74, 157, 217, 0.30), transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(238, 110, 44, 0.20), transparent 55%),
    linear-gradient(135deg, #0E2754 0%, #15366C 60%, #1F558A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: not-allowed;
}
.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  pointer-events: none;
}
.video-placeholder__play {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  margin-right: 28px;
}
.video-placeholder__play svg { margin-left: 4px; }
.video-placeholder__overlay {
  position: relative;
  color: #fff;
  max-width: 360px;
}
.video-placeholder__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--gradient-spark);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.video-placeholder__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 8px;
  line-height: 1.2;
}
.video-placeholder__hint {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.55;
}
@media (max-width: 768px) {
  .video-placeholder {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .video-placeholder__play { margin: 0 0 18px; width: 64px; height: 64px; }
  .video-placeholder__play svg { width: 26px; height: 26px; }
  .video-placeholder__label { font-size: 1.2rem; }
}

/* =========================================================
   Inline Loom video section
   ========================================================= */
.video-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(74, 157, 217, 0.12), transparent 55%),
    radial-gradient(circle at 82% 78%, rgba(238, 110, 44, 0.08), transparent 55%),
    linear-gradient(180deg, #0E2754 0%, #15366C 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}
.video-section > .container { position: relative; z-index: 1; }
.video-section .section-head h2,
.video-section .section-head .eyebrow { color: #fff; }
.video-section .section-head .eyebrow { color: var(--color-accent); }
.video-section .section-head p { color: rgba(232, 240, 252, 0.85); }

.loom-frame {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  padding: 10px;
  background: linear-gradient(135deg, rgba(74, 157, 217, 0.32), rgba(238, 110, 44, 0.18));
  border-radius: 22px;
  box-shadow:
    0 0 0 1px rgba(125, 183, 224, 0.25),
    0 24px 60px rgba(0, 0, 0, 0.35),
    0 0 80px -10px rgba(74, 157, 217, 0.35);
}
.loom-frame__inner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.loom-frame__inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-support {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 56px auto 0;
}
.video-support__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}
.video-support__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74, 157, 217, 0.18);
  color: var(--color-aqua-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.video-support__item h4 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 4px;
}
.video-support__item p {
  color: rgba(232, 240, 252, 0.78);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .video-support { grid-template-columns: 1fr; gap: 14px; max-width: 600px; }
}

/* =========================================================
   Video modal (Loom overview launched from hero CTA)
   ========================================================= */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .22s ease;
}
.video-modal[hidden] { display: none; }
.video-modal.is-open { opacity: 1; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 40, 0.78);
  backdrop-filter: blur(6px);
  cursor: pointer;
}
.video-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 1100px;
  background: #0a1530;
  border-radius: 16px;
  box-shadow:
    0 0 0 1px rgba(125, 183, 224, 0.25),
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 100px -10px rgba(74, 157, 217, 0.35);
  overflow: hidden;
  transform: translateY(8px) scale(0.98);
  transition: transform .25s ease;
}
.video-modal.is-open .video-modal__dialog { transform: translateY(0) scale(1); }
.video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s ease;
}
.video-modal__close:hover { background: rgba(255, 255, 255, 0.22); transform: scale(1.04); }
.video-modal__close:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.video-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
body.video-modal-open { overflow: hidden; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item[open] {
  border-color: rgba(45, 116, 181, 0.4);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-navy);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--color-electric);
  border-bottom: 2px solid var(--color-electric);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
}
.faq-body {
  padding: 0 22px 20px;
  color: var(--color-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}
.faq-body p { margin: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .flow-compare { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-list { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .value-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .problem-cols { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .page-hero-accent { max-width: 460px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .case-body { grid-template-columns: 1fr; }
  .case-stat { border-right: none; border-bottom: 1px solid var(--color-border); }
  .case-stat:last-child { border-bottom: none; }
}

/* nav-cta is mobile-only — hidden by default */
.nav-cta { display: none; }

@media (max-width: 720px) {
  /* ---------------- GLOBAL ---------------- */
  body { overflow-x: hidden; }
  img, iframe, video { max-width: 100%; height: auto; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  /* ---------------- HEADER + MOBILE NAV ---------------- */
  .site-header .header-inner { height: 68px; gap: 8px; }
  .site-header::before { height: 2px; }
  .brand-logo { height: 48px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    position: absolute;
    top: calc(68px + 2px);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav.open a {
    padding: 14px 14px;
    border-radius: 10px;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav.open a.active { color: var(--color-navy); background: rgba(74, 157, 217, 0.10); }
  .nav.open .nav-cta {
    display: block;
    margin-top: 12px;
    padding: 16px 18px;
    text-align: center;
    color: #fff;
    font-weight: 600;
  }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn:not(.menu-toggle) { display: none; }
  .header-cta .btn.menu-toggle { display: inline-flex; }

  /* ---------------- HERO ---------------- */
  .hero { padding: 48px 0 56px; }
  .hero::before { opacity: 0.5; }
  .hero-blob { display: none; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: clamp(1.85rem, 8vw, 2.4rem); line-height: 1.15; margin-bottom: 16px; }
  .hero .lede { font-size: 1.02rem; max-width: 100%; margin-bottom: 26px; line-height: 1.55; }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Hero visual card: smaller, tighter, stat-row stacks */
  .hero-visual { max-width: 100%; }
  .hero-card { padding: 18px; border-radius: var(--radius-md); }
  .hero-card-head { margin-bottom: 14px; }
  .hero-card-title { font-size: 0.98rem; }
  .hero-card .stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }
  .hero-card .stat-value { font-size: 1.1rem; }

  /* ---------------- STATS GRID (Reported Results) ---------------- */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-tile { padding: 18px 14px; }
  .stat-tile .num { font-size: 1.85rem; }
  .stat-tile .lbl { font-size: 0.82rem; line-height: 1.4; }
  .note-block { font-size: 0.88rem; line-height: 1.55; padding: 14px 16px; }

  /* ---------------- CARD GRIDS ---------------- */
  .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 22px 20px; }
  .card h3 { font-size: 1.08rem; }
  .value-grid { grid-template-columns: 1fr; gap: 12px; }

  /* ---------------- INDUSTRY GRID (Who It's For) ---------------- */
  .industry-grid { grid-template-columns: 1fr; gap: 12px; }
  .industry { padding: 20px 18px; }

  /* ---------------- 5-STEP PROCESS ---------------- */
  .steps { grid-template-columns: 1fr; gap: 14px; }
  .step { padding: 22px 20px; }
  .step-num { width: 36px; height: 36px; font-size: 1rem; }

  /* ---------------- INSTALL FLOW (Meter -> AquaVolt -> Facility) ---------------- */
  .install-flow { padding: 20px 16px; }
  .install-flow__node { padding: 18px 14px; }

  /* ---------------- SPLIT SECTIONS ---------------- */
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split .solution-visual { order: 2; }
  .split > div:first-child { order: 1; }

  /* ---------------- VIDEO SECTION ---------------- */
  .video-section { padding: 48px 0; }
  .loom-frame { padding: 6px; border-radius: 16px; }
  .loom-frame__inner { border-radius: 10px; }
  .video-support { margin-top: 36px; gap: 12px; }
  .video-support__item { padding: 18px 16px; }
  .video-section + .section { padding-top: 56px; }

  /* ---------------- VIDEO MODAL ---------------- */
  .video-modal { padding: 12px; }
  .video-modal__dialog { border-radius: 12px; }
  .video-modal__close { top: 8px; right: 8px; width: 36px; height: 36px; }

  /* ---------------- CTA BLOCKS ---------------- */
  .cta-block { padding: 40px 22px; }
  .cta-block h2 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .cta-block .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta-block .btn, .cta-block .hero-ctas .btn { width: 100%; justify-content: center; }

  /* ---------------- FAQ ---------------- */
  .faq-item summary { padding: 18px 18px; font-size: 0.98rem; min-height: 56px; }
  .faq-body { padding: 0 18px 18px; font-size: 0.94rem; }

  /* ---------------- FORM ---------------- */
  .form-row { grid-template-columns: 1fr; }
  .contact-info-card { padding: 24px 20px; }

  /* ---------------- PAGE HEROES (non-home pages) ---------------- */
  .page-hero { padding: 56px 0 48px; }
  .page-hero h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); }
  .page-hero-accent { display: none; }
  .page-hero::after { display: none; }

  /* ---------------- FOOTER ---------------- */
  .site-footer { padding: 56px 0 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-brand p { max-width: 100%; }
  .footer-col li { font-size: 0.96rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-disclaimer { font-size: 0.78rem; }

  /* ---------------- ABOUT PAGE ---------------- */
  .about-meta { grid-template-columns: 1fr; }

  /* ---------------- CAMPAIGN BAND (if used elsewhere) ---------------- */
  .campaign-band__grid { grid-template-columns: 1fr; }
  .campaign-tile--wide { grid-column: span 1; }

  /* ---------------- CHIP ROW ---------------- */
  .chip-row { gap: 8px; }

  /* ---------------- FLOW COMPARE (turbulent vs laminar — if visible) ---------------- */
  .flow-compare { grid-template-columns: 1fr; gap: 14px; }
  .flow-panel { padding: 22px 20px; }
}

/* ---------------- VERY NARROW (iPhone SE, small Android) ---------------- */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: clamp(1.7rem, 8.5vw, 2.05rem); }
  .stats-grid { grid-template-columns: 1fr; gap: 10px; }
  .stat-tile { padding: 18px 16px; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .stat-tile .num { font-size: 1.7rem; margin: 0; }
  .stat-tile .lbl { font-size: 0.82rem; flex: 1; text-align: right; }
  .hero-card .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .hero-card-tag { font-size: 0.7rem; padding: 4px 9px; }
  .cta-block { padding: 36px 18px; }
  .video-support__item { gap: 12px; }
}
