/* ==========================================================================
   Neptune Technology — Global Design System
   Water. Engineered Better.
   ========================================================================== */

:root {
  /* Brand palette — refined from the Neptune Technology logo (navy typography retained,
     blue/green pulled from the logo's droplets & arrow, gold retained as the CTA color) */
  --navy: #0B2540;
  --blue: #51B8E7;
  --blue-dark: #2E9FD6;
  --cyan: #4FC7EA;
  --green: #6FAE33;
  --green-light: #8CC63F;
  --green-dark: #588A28;
  --graphite: #313438;
  --grey: #F2F4F6;
  --white: #FFFFFF;
  --amber: #F2A93B;
  --amber-dark: #D98F1E;
  --gold-1: #F6BC4E;
  --gold-2: #E39A22;
  /* Text-on-light variants of the brand accents: the logo blue and amber are under 2.5:1 on white, so
     small text uses these deeper shades (WCAG AA 4.5:1+); fills, icons and buttons keep the brand values */
  --blue-text: #176FA3;
  --amber-text: #94600F;

  --navy-rgb: 11, 37, 64;
  --blue-rgb: 81, 184, 231;
  --cyan-rgb: 79, 199, 234;
  --green-rgb: 111, 174, 51;

  /* Semantic tokens */
  --bg: var(--white);
  --bg-alt: var(--grey);
  --text: var(--graphite);
  --text-muted: #5B6368;
  --border: #E1E6EA;
  --link: var(--blue-text);
  --focus-ring: #0B2540;

  /* Type */
  --font-head: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Layout */
  --container: 1480px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(11,37,64,.08);
  --shadow-md: 0 8px 24px rgba(11,37,64,.10);
  --shadow-lg: 0 20px 48px rgba(11,37,64,.16);
  --header-h: 84px;
  --mobile-cta-h: 60px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--link); text-decoration: none; }
a:not([class]):hover { text-decoration: underline; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-cta-h);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--navy); line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4vw + 1rem, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.4vw + 1rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.2vw + 1rem, 1.5rem); }
h4 { font-size: 1.05rem; }
.lede { font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); color: var(--text-muted); }

.mono, .specs, .specs td, .specs th { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 6vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-navy { background: var(--navy); color: #E7EEF4; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--amber); display: inline-block; }
.section-navy .eyebrow { color: var(--cyan); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); z-index: 200; transition: top .2s; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .95rem; padding: 13px 24px; border-radius: 999px; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--navy); }
.btn-primary:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); color: var(--navy); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: inherit; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-outline-navy { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-ghost { background: transparent; color: var(--blue-text); padding: 13px 8px; }
.btn-ghost:hover { color: var(--navy); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; height: var(--header-h); transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(11,37,64,.08); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; flex-shrink: 0; }
.brand svg { width: 34px; height: 34px; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; display: block; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(28,111,176,.18)); transition: filter .2s ease, transform .2s ease; }
@media (min-width: 640px) { .brand-logo { height: 58px; } }
.brand:hover .brand-logo { filter: drop-shadow(0 4px 12px rgba(28,111,176,.32)); transform: translateY(-1px); }

.footer-logo-chip { display: inline-flex; align-items: center; background: var(--white); padding: 10px 16px; border-radius: var(--radius-sm); box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.footer-logo-chip .brand-logo { height: 34px; filter: none; }

.main-nav { display: none; }
@media (min-width: 1300px) {
  .main-nav { display: flex; align-items: center; gap: 0; height: 100%; min-width: 0; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; height: 100%; }
  .main-nav > ul > li { position: relative; height: 100%; display: flex; align-items: center; }
  .nav-link { background: none; border: none; appearance: none; -webkit-appearance: none; box-shadow: none; cursor: pointer; text-align: left; font-family: inherit; padding: 10px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: .82rem; color: var(--navy); display: flex; align-items: center; gap: 4px; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
  .nav-link:hover { background: var(--bg-alt); text-decoration: none; }
  .nav-link[aria-expanded="true"] { background: rgba(var(--blue-rgb), .1); }
  .nav-link.active { background: rgba(var(--blue-rgb), .08); }
  .nav-link .chev { width: 9px; height: 9px; transition: transform .2s; flex-shrink: 0; opacity: .6; }
  .nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
}

.nav-link-stacked { flex-direction: column; align-items: flex-start !important; gap: 1px !important; padding-top: 7px; padding-bottom: 7px; }
.nav-link-stacked .nav-link-sub { font-size: .64rem; font-weight: 500; color: var(--text-muted); text-transform: none; letter-spacing: 0; }
.nav-link-stacked .nav-link-top { display: flex; align-items: center; gap: 4px; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-actions .btn { display: none; border-radius: 30px; }
@media (min-width: 1300px) { .header-actions .btn { display: inline-flex; } }

.tel-link, .quote-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.tel-link { border: 1px solid var(--border); background: var(--white); color: var(--navy); }
.tel-link:hover { background: var(--bg-alt); border-color: var(--blue); color: var(--blue); }
.quote-icon-btn { background: var(--blue); color: var(--navy); }
.quote-icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
@media (min-width: 1300px) { .quote-icon-btn { display: none; } }

.menu-toggle { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); background: var(--white); flex-shrink: 0; }
@media (min-width: 1300px) { .menu-toggle { display: none; } }

/* Mega menu */
.mega-panel {
  position: absolute; top: calc(100% + 12px); left: 0; width: min(840px, calc(100vw - 48px));
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: 0 28px 64px -16px rgba(11,37,64,.24), 0 4px 18px rgba(11,37,64,.06);
  padding: 24px 26px 26px; z-index: 110; overflow: hidden;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.99); pointer-events: none;
  transition: opacity .18s ease, transform .18s cubic-bezier(.2,.7,.3,1), visibility .18s;
}
.mega-panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 20%, var(--cyan) 20%, var(--cyan) 40%, #37AEDB 40%, #37AEDB 60%, var(--graphite) 60%, var(--graphite) 80%, var(--gold-1) 80%, var(--gold-1) 100%);
}
.mega-panel--simple::before { background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.nav-link[aria-expanded="true"] + .mega-panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events: auto; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 4px; }
.mega-grid .mega-col:not(:last-child) { border-right: 1px solid var(--border); }
.mega-col-title { font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--navy); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; }
.mega-col-title::before {
  content: ''; width: 28px; height: 28px; min-width: 28px; border-radius: 50%; flex-shrink: 0;
  background-repeat: no-repeat; background-position: center; background-size: 15px 15px;
  box-shadow: 0 3px 8px -2px rgba(11,37,64,.35);
}
.mega-col:nth-child(1) .mega-col-title::before { background-color: var(--blue); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M12 7v5l3.5 2' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mega-col:nth-child(2) .mega-col-title::before { background-color: var(--cyan); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 3c4 5 7 8.5 7 12a7 7 0 0 1-14 0c0-3.5 3-7 7-12Z' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E"); }
.mega-col:nth-child(3) .mega-col-title::before { background-color: #37AEDB; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 15c2 2 4 2 6 0s4-2 6 0 4 2 6 0M3 19c2 2 4 2 6 0s4-2 6 0 4 2 6 0' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mega-col:nth-child(4) .mega-col-title::before { background-color: var(--graphite); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 4v6a8 8 0 0 0 16 0V4' stroke='white' stroke-width='1.6'/%3E%3Cpath d='M4 20h16' stroke='white' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mega-col:nth-child(5) .mega-col-title::before { background-color: var(--gold-1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 22c4-2 6-5 6-8.5C18 9 14 5 12 2c-2 3-6 7-6 11.5 0 3.5 2 6.5 6 8.5Z' stroke='white' stroke-width='1.6'/%3E%3C/svg%3E"); }
.mega-col ul li { margin-bottom: 2px; }
.mega-col a { display: block; font-size: .89rem; color: var(--text); padding: 7px 8px; margin: 0 -8px; border-radius: var(--radius-sm); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.mega-col a:hover { background: var(--bg-alt); color: var(--blue-text); text-decoration: none; transform: translateX(2px); }
.mega-foot {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-md); display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(var(--blue-rgb),.08), rgba(var(--cyan-rgb),.06));
}
.mega-foot p { font-size: .85rem; color: var(--navy); font-weight: 600; }

/* Mega menu — simple single-column variant (Products / Industries / Services / Resources / Wilo) */
.mega-panel--simple { width: 300px; padding: 12px; }
.mega-panel--simple .simple-list { display: grid; gap: 1px; }
.mega-panel--simple .simple-list a { display: block; font-size: .89rem; font-weight: 500; color: var(--text); padding: 10px 14px; border-radius: var(--radius-sm); transition: background-color .15s ease, color .15s ease, transform .15s ease; }
.mega-panel--simple .simple-list a:hover { background: var(--bg-alt); color: var(--blue-text); text-decoration: none; transform: translateX(2px); }
.mega-panel--simple .simple-foot { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--border); }
.mega-panel--simple .simple-foot a { display: flex; align-items: center; gap: 5px; padding: 8px 14px; border-radius: var(--radius-sm); font-size: .85rem; font-weight: 700; color: var(--blue-text); transition: background-color .15s ease, transform .15s ease; }
.mega-panel--simple .simple-foot a:hover { background: rgba(var(--blue-rgb), .08); transform: translateX(2px); text-decoration: none; }
.wilo-panel { width: 340px; padding: 22px; }
.wilo-panel .wilo-panel-lede { font-size: .82rem; color: var(--text); line-height: 1.5; margin-bottom: 16px; padding: 12px 14px; background: linear-gradient(135deg, rgba(var(--blue-rgb),.07), rgba(var(--cyan-rgb),.05)); border-radius: var(--radius-sm); border-left: 3px solid var(--blue); }
.wilo-panel .simple-list a { display: flex; align-items: center; gap: 10px; }
.wilo-panel .simple-list svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

/* Mobile nav */
/* Absolute (not fixed): the header's backdrop-filter makes it the containing block for fixed
   descendants, which collapsed a fixed panel to the header's own height. */
.mobile-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white); z-index: 99; overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 40px; border-top: 1px solid var(--border); }
.mobile-nav.open { display: block; }
.mobile-nav details { border-bottom: 1px solid var(--border); }
.mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font-weight: 700; color: var(--navy); list-style: none; transition: color .15s ease; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--blue); display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.3,1); }
.mobile-nav details[open] summary { color: var(--blue-text); }
.mobile-nav details[open] summary::after { transform: rotate(135deg); }
.mobile-nav .sub-list { padding: 2px 4px 16px 14px; display: grid; gap: 2px; border-left: 2px solid var(--border); margin-left: 4px; }
.mobile-nav .sub-list a { display: block; font-size: .93rem; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--text); transition: background-color .15s ease, color .15s ease; }
.mobile-nav .sub-list a:hover { background: var(--bg-alt); color: var(--blue-text); }
.mobile-nav > a.nav-link { display: block; padding: 16px 4px; font-weight: 700; color: var(--navy); border-bottom: 1px solid var(--border); border-radius: 0; }
.mobile-nav > a.nav-link.active { color: var(--blue-text); }
.mobile-nav-cta { margin-top: 20px; display: grid; gap: 12px; }
@media (min-width: 1300px) { .mobile-nav { display: none !important; } }

/* Sticky mobile CTA bar */
.mobile-cta-bar { position: fixed; bottom: 0; left: 0; right: 0; height: var(--mobile-cta-h); background: var(--navy); display: grid; grid-template-columns: 1fr 1fr 1fr; z-index: 90; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
.mobile-cta-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--white); font-size: .68rem; font-weight: 700; letter-spacing: .02em; border-right: 1px solid rgba(255,255,255,.12); }
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a svg { width: 20px; height: 20px; }
.mobile-cta-bar a.cta-quote { background: var(--blue); color: var(--navy); }
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }

/* ---------- Desktop quick-contact rail ---------- */
.side-rail { display: none; }
@media (min-width: 900px) {
  .side-rail {
    display: flex; flex-direction: column; gap: 10px;
    position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 95;
    padding-right: 8px;
  }
}
.side-fab {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50% 0 0 50%; background: var(--white); color: var(--navy);
  border: 1px solid var(--border); border-right: none; box-shadow: -4px 6px 18px rgba(11,37,64,.14); cursor: pointer;
  margin-right: -8px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, margin-right .18s ease, border-radius .18s ease;
}
.side-fab svg { width: 20px; height: 20px; flex-shrink: 0; }
.side-fab:hover { transform: translateX(-6px); box-shadow: -6px 10px 24px rgba(11,37,64,.2); border-radius: 50%; margin-right: 0; border-right: 1px solid transparent; }
.side-fab-label {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%) translateX(6px);
  background: var(--navy); color: var(--white); font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: 7px 12px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.side-fab:hover .side-fab-label { opacity: 1; transform: translateY(-50%) translateX(0); }
.side-fab-whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.side-fab-email { background: var(--blue); color: var(--navy); border-color: var(--blue); }
.side-fab-brochure { background: var(--gold-1); color: var(--navy); border-color: var(--gold-1); }
.side-fab-inquiry { background: var(--navy); color: var(--white); border-color: var(--navy); }
.side-fab-whatsapp:hover, .side-fab-email:hover, .side-fab-brochure:hover, .side-fab-inquiry:hover { filter: brightness(1.08); }
.side-fab-top {
  margin-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s, background-color .18s ease, color .18s ease, margin-right .18s ease, border-radius .18s ease;
}
.side-fab-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.side-fab-top:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Hero — Focused Interactive Solver ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0; background: linear-gradient(180deg, #FBFCFD 0%, var(--bg-alt) 100%); }

/* Rotating background scenes — one per solution category, auto-crossfading like a keyvisual slider */
.hero-scenes { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-scene { position: absolute; inset: 0; opacity: 0; animation: heroSceneFade 30s infinite; }
.hero-scene-icon { position: absolute; right: -4%; bottom: -10%; width: 54%; max-width: 560px; height: auto; }
.hero-scene-label {
  position: absolute; right: 4%; bottom: 6%; font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy); opacity: .32;
}
.hero-scene-1 { background: radial-gradient(1000px 620px at 88% 15%, rgba(81,184,231,.22), transparent 62%); animation-delay: 0s; }
.hero-scene-1 .hero-scene-icon { color: var(--blue); }
.hero-scene-2 { background: radial-gradient(1000px 620px at 88% 15%, rgba(79,199,234,.22), transparent 62%); animation-delay: -6s; }
.hero-scene-2 .hero-scene-icon { color: var(--cyan); }
.hero-scene-3 { background: radial-gradient(1000px 620px at 88% 15%, rgba(55,174,219,.22), transparent 62%); animation-delay: -12s; }
.hero-scene-3 .hero-scene-icon { color: #37AEDB; }
.hero-scene-4 { background: radial-gradient(1000px 620px at 88% 15%, rgba(49,52,56,.10), transparent 62%); animation-delay: -18s; }
.hero-scene-4 .hero-scene-icon { color: var(--graphite); }
.hero-scene-5 { background: radial-gradient(1000px 620px at 88% 15%, rgba(246,188,78,.24), transparent 62%); animation-delay: -24s; }
.hero-scene-5 .hero-scene-icon { color: var(--gold-1); }
@keyframes heroSceneFade {
  0% { opacity: 0; }
  2.5% { opacity: 1; }
  17% { opacity: 1; }
  20% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scene { animation: none; opacity: 0; }
  .hero-scene-1 { opacity: 1; }
}

.hero-flow { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; pointer-events: none; }
.hero-flow path.flow-anim { stroke: rgba(var(--cyan-rgb),.35); stroke-width: 1.5; fill: none; }
.hero-flow .flow-anim { stroke-dasharray: 6 10; animation: flowmove 14s linear infinite; }
@keyframes flowmove { to { stroke-dashoffset: -400; } }

.hero-copy { position: relative; z-index: 2; }
.hero h1 { color: var(--navy); margin-bottom: 18px; }
.hero-h1-sub { display: block; font-size: .42em; font-weight: 700; color: #1F86C0; margin-top: 6px; }
.hero .lede { color: var(--text-muted); max-width: 54ch; margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; font-size: .85rem; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--bg-alt); border: 1px solid var(--border); color: var(--blue); flex-shrink: 0; }
.trust-icon svg { width: 18px; height: 18px; }
.trust-copy { display: flex; flex-direction: column; line-height: 1.25; gap: 1px; }
.trust-copy strong { font-family: var(--font-mono); font-weight: 700; font-size: 1.3rem; color: var(--navy); line-height: 1; }
.trust-copy small { font-size: .76rem; color: var(--text-muted); font-weight: 500; letter-spacing: .01em; }
.trust-item-wilo { gap: 10px; }
.trust-wilo-logo { height: 30px; width: auto; border-radius: 5px; display: block; box-shadow: 0 2px 8px rgba(11,37,64,.15); }

/* Solution-finder card — deep navy, elevated */
.hero-solver-card {
  position: relative; z-index: 2; background: linear-gradient(165deg, #0E2E4C 0%, #0B2540 100%);
  border-radius: var(--radius-lg); padding: 30px; color: var(--white);
  box-shadow: 0 32px 70px -18px rgba(11,37,64,.45), 0 8px 24px rgba(11,37,64,.18);
  border: 1px solid rgba(255,255,255,.06);
}
.hero-solver-card .eyebrow { color: #35BDE8; margin-bottom: 8px; }
.hero-solver-title { color: var(--white); font-size: 1.2rem; margin-bottom: 22px; }
.hero-solver-card .field { margin-bottom: 16px; }
.hero-solver-card .field-icon label { display: flex; align-items: center; gap: 8px; color: #C7D6E4; font-weight: 600; font-size: .82rem; margin-bottom: 8px; }
.hero-solver-card .field-icon label svg { width: 15px; height: 15px; color: #35BDE8; flex-shrink: 0; }
.hero-solver-card .field select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid rgba(255,255,255,.14);
  background: var(--white); color: var(--navy); font-size: .92rem; transition: border-color .15s ease, box-shadow .15s ease;
}
.hero-solver-card .field select:focus { border-color: #35BDE8; box-shadow: 0 0 0 3px rgba(53,189,232,.25); outline: none; }
.hero-solver-note { color: #9FB4C6; margin-top: 12px; text-align: center; }

.btn-gold { background: var(--blue); color: var(--navy); }
.btn-gold:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); }

@media (prefers-reduced-motion: reduce) {
  .hero-flow .flow-anim, .hero-icon, .bubble { animation: none; }
  .hero-icon { opacity: .16; }
}
.hero-inner { position: relative; z-index: 2; display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero-inner { grid-template-columns: 1.1fr .9fr; } }

.breadcrumbs { padding: 14px 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 6px; color: #B7C0C6; }
.section-navy .breadcrumbs a, .section-navy .breadcrumbs { color: #B7C7D6; }

.page-hero {
  padding: 44px 0 56px; position: relative; overflow: hidden;
  background:
    radial-gradient(800px 420px at 12% -20%, rgba(81,184,231,.18), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(79,199,234,.15), transparent 58%),
    radial-gradient(600px 360px at 50% 130%, rgba(111,174,51,.08), transparent 62%),
    linear-gradient(180deg, #FBFCFD 0%, var(--bg-alt) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .page-hero-flow { display: none; }
.page-hero .eyebrow { color: var(--blue-text); }
.page-hero h1 { color: var(--navy); max-width: 18ch; }
.page-hero .lede { color: var(--text-muted); max-width: 60ch; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.page-hero-ctas .btn-outline { border-color: var(--navy); color: var(--navy); }
.page-hero-ctas .btn-outline:hover { background: var(--navy); color: var(--white); }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px; transition: box-shadow .2s ease, transform .2s ease, border-color .2s; height: 100%; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(28,111,176,.25); }
.card-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--blue); }
.card-icon-warn { border-radius: 50%; background: linear-gradient(135deg, #F0784A 0%, #C0392B 100%); color: var(--white); box-shadow: 0 10px 22px -8px rgba(192,57,43,.45); }

.vendor-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0 18px; }
.vendor-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--border); font-size: .86rem; font-weight: 600; color: var(--navy);
  box-shadow: 0 2px 8px rgba(11,37,64,.05);
}
.vendor-chip svg { width: 18px; height: 18px; flex-shrink: 0; }
.vendor-chip-1 svg { color: var(--blue); }
.vendor-chip-2 svg { color: var(--cyan); }
.vendor-chip-3 svg { color: #37AEDB; }
.vendor-chip-4 svg { color: var(--graphite); }
.vendor-chip-5 svg { color: var(--gold-1); }
@media (min-width: 880px) { .vendor-chips { display: none; } }

/* Fragmentation diagram — hub & spoke visual for "The problem" */
.frag-diagram { display: none; }
@media (min-width: 880px) {
  .frag-diagram { display: block; position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1; margin: 28px auto 12px; }
}
.frag-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.frag-orbit { fill: none; stroke: rgba(var(--navy-rgb), .12); stroke-width: .5; stroke-dasharray: 2 2.4; }
.frag-line { fill: none; stroke: rgba(var(--navy-rgb), .22); stroke-width: .6; stroke-dasharray: 2.2 2.6; stroke-linecap: round; }
.frag-break {
  position: absolute; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--white); border: 1.5px solid #E7A093; box-shadow: 0 2px 8px rgba(192,57,43,.18);
  display: flex; align-items: center; justify-content: center; color: #C0392B;
}
.frag-break svg { width: 10px; height: 10px; }
.frag-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 154px; height: 154px;
  border-radius: 50%; background: linear-gradient(150deg, #12365A 0%, var(--navy) 70%);
  box-shadow: 0 16px 36px -10px rgba(11,37,64,.5), 0 0 0 8px rgba(var(--navy-rgb), .06);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; padding: 12px; z-index: 2;
}
.frag-hub-icon { width: 34px; height: 34px; color: var(--blue); }
.frag-hub span { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #E7EEF4; line-height: 1.35; }
.frag-node {
  position: absolute; transform: translate(-50%, -50%); width: 116px; display: flex; flex-direction: column;
  align-items: center; gap: 7px; text-align: center; background: var(--white); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 8px 10px; box-shadow: var(--shadow-sm); z-index: 1;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.frag-node:hover { box-shadow: var(--shadow-md); border-color: rgba(var(--blue-rgb),.3); transform: translate(-50%, -50%) translateY(-2px); }
.frag-node-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.frag-node-icon svg { width: 18px; height: 18px; }
.frag-node span { font-size: .76rem; font-weight: 700; color: var(--navy); line-height: 1.25; }
.frag-node-1 .frag-node-icon { background: rgba(var(--blue-rgb), .12); color: var(--blue); }
.frag-node-2 .frag-node-icon { background: rgba(var(--cyan-rgb), .14); color: var(--cyan); }
.frag-node-3 .frag-node-icon { background: rgba(55,174,219,.14); color: #37AEDB; }
.frag-node-4 .frag-node-icon { background: rgba(49,52,56,.1); color: var(--graphite); }
.frag-node-5 .frag-node-icon { background: rgba(246,188,78,.18); color: var(--gold-2); }
.frag-node-1 { left: 50%; top: 12%; }
.frag-node-2 { left: 86.1%; top: 38.3%; }
.frag-node-3 { left: 72.3%; top: 80.7%; }
.frag-node-4 { left: 27.7%; top: 80.7%; }
.frag-node-5 { left: 13.9%; top: 38.3%; }

/* Trusted clients logo marquee */
.logo-strip-section { padding: 44px 0 40px; overflow: hidden; }
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.logo-track { display: flex; align-items: center; gap: 20px; width: max-content; animation: logoScroll 32s linear infinite; }
.logo-strip-section:hover .logo-track { animation-play-state: paused; }
.logo-chip {
  display: flex; align-items: center; justify-content: center; min-width: 168px; height: 76px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text-muted); font-family: var(--font-mono); font-size: .76rem; font-weight: 600;
  letter-spacing: .03em; text-transform: uppercase; flex-shrink: 0; transition: box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.logo-chip:hover { box-shadow: var(--shadow-sm); border-color: rgba(var(--blue-rgb),.35); color: var(--blue); }
@keyframes logoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }
.card-icon svg { width: 28px; height: 28px; }

.card-photo { padding: 0; overflow: hidden; }
.card-photo-img { width: 100%; height: 168px; object-fit: cover; display: block; }
.card-photo .body { padding: 20px 22px 24px; }

.dept-card p { margin-bottom: 14px; }
.dept-line { display: flex; align-items: center; font-size: .88rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.dept-line:hover { color: var(--blue-text); }
.dept-hours { display: block; margin-top: 8px; font-size: .78rem; color: var(--text-muted); }
.card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 14px; }
.card-link { font-weight: 700; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
/* Inline arrow icon used after link/button text (replaces text "→" / "←" glyphs) */
.arrow-icon { display: inline-block; width: .95em; height: .95em; flex-shrink: 0; vertical-align: -.12em; margin-left: .4em; transition: transform .15s ease; }
.arrow-icon--left { margin-left: 0; margin-right: .4em; }
/* flex parents already space children with gap */
.btn .arrow-icon, .card-link .arrow-icon, .simple-foot a .arrow-icon { margin: 0; }
a:hover .arrow-icon:not(.arrow-icon--left) { transform: translateX(3px); }
a:hover .arrow-icon--left { transform: translateX(-3px); }
.card-link svg { width: 14px; height: 14px; transition: transform .15s; }
.card:hover .card-link svg { transform: translateX(3px); }

.solution-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.solution-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); text-decoration: none; }
.solution-card .swatch { height: 96px; display: flex; align-items: center; padding: 0 24px; }
.solution-card .swatch svg { width: 44px; height: 44px; color: var(--white); }
.solution-card .body { padding: 22px 24px 26px; }
.solution-card h3 { color: var(--navy); margin-bottom: 8px; }
.solution-card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }

.solution-card-visual { height: 172px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.solution-card-visual svg { width: 82%; height: auto; transition: transform .3s ease; }
.solution-card:hover .solution-card-visual svg { transform: scale(1.04); }
.solution-card-photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.solution-card:hover .solution-card-photo { transform: scale(1.05); }
.solution-card-visual.visual-1 { background: linear-gradient(160deg, #E9F6FD, #F3F8FB); }
.solution-card-visual.visual-2 { background: linear-gradient(160deg, #E8FAFD, #F2FAFB); }
.solution-card-visual.visual-3 { background: linear-gradient(160deg, #E7F5FC, #F2F9FC); }
.solution-card-visual.visual-4 { background: linear-gradient(160deg, #EEEFF0, #F5F6F7); }
.solution-card-visual.visual-5 { background: linear-gradient(160deg, #FCF1DE, #FBF7EE); }

.card-spec { display: flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.card-spec svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }

.card-btn {
  display: inline-flex; align-items: center; gap: 7px; background: var(--navy); color: var(--white);
  padding: 10px 18px; border-radius: 999px; font-size: .84rem; font-weight: 700;
  transition: background-color .15s ease, transform .15s ease;
}
.card-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.solution-card:hover .card-btn { background: var(--blue-dark); transform: translateX(3px); }
.swatch-pump { background: linear-gradient(120deg, var(--blue), var(--navy)); }
.swatch-treat { background: linear-gradient(120deg, var(--cyan), var(--blue)); }
.swatch-pool { background: linear-gradient(120deg, #37AEDB, #1C6FB0); }
.swatch-waste { background: linear-gradient(120deg, #2B2F33, #0B2540); }
.swatch-hot { background: linear-gradient(120deg, var(--amber), #D9701E); }

/* Stat tiles */
.stat { text-align: center; padding: 20px; }
.stat .num { font-family: var(--font-mono); font-weight: 700; font-size: clamp(1.7rem, 2.5vw, 2.4rem); color: var(--navy); display: block; }
.section-navy .stat .num { color: var(--cyan); }
.stat .label { font-size: .82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.section-navy .stat .label { color: #AFC3D6; }
.stat-logo { height: 34px; width: auto; margin: 0 auto 12px; display: block; }
.placeholder-tag { font-size: .68rem; background: rgba(242,169,59,.16); color: var(--amber-text); border: 1px dashed var(--amber); padding: 2px 8px; border-radius: 999px; display: inline-block; margin-top: 6px; }
.section-navy .placeholder-tag { color: var(--amber); }

/* ---------- Tabs (Application Switcher) ---------- */
.tabs { display: inline-flex; padding: 5px; background: var(--bg-alt); border-radius: 999px; gap: 4px; flex-wrap: wrap; }
.tab-btn { border: none; background: transparent; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: .88rem; color: var(--text-muted); }
.tab-btn[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadein .3s ease; }
.app-icon-res { background: rgba(var(--blue-rgb),.12); color: var(--blue); }
.app-icon-com { background: rgba(79,199,234,.14); color: #147286; }
.app-icon-ind { background: rgba(49,52,56,.1); color: var(--graphite); }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Process / diagram ---------- */
.process-strip { display: grid; gap: 18px; position: relative; }
@media (min-width: 780px) { .process-strip { grid-template-columns: repeat(6, 1fr); } }
.process-flow-line { display: none; }
@media (min-width: 780px) {
  .process-flow-line { display: block; position: absolute; top: 23px; left: 0; width: 100%; height: 6px; z-index: 0; pointer-events: none; }
  .process-flow-line line { animation: flowmove 10s linear infinite; }
}
.process-step {
  position: relative; z-index: 1; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 16px 20px; text-align: center; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-step::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--step-color, var(--blue)); }
.process-step .n {
  width: 46px; height: 46px; border-radius: 50%; background: var(--step-color, var(--blue)); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px;
  box-shadow: 0 8px 18px -6px var(--step-color, var(--blue));
}
.process-step .n svg { width: 22px; height: 22px; }
.process-step h4 { font-size: .95rem; margin-bottom: 5px; }
.process-step p { font-size: .78rem; color: var(--text-muted); }

/* Column count is set per instance via --cols; nodes stack (with ↓ arrows) on narrow screens */
.diagram-flow { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .diagram-flow { grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr)); align-items: stretch; } }
.diagram-node { background: var(--navy); color: var(--white); border-radius: var(--radius-md); padding: 18px 14px; text-align: center; position: relative; }
.diagram-node > svg { width: 30px; height: 30px; margin: 0 auto 10px; color: var(--cyan); }
.diagram-node h4 { color: var(--white); font-size: .88rem; margin-bottom: 4px; }
.diagram-node p { font-size: .74rem; color: #AFC3D6; }
.diagram-node-accent { background: var(--blue); }
.diagram-node-accent > svg { color: var(--navy); opacity: .8; }
.diagram-node-accent h4 { color: var(--navy); }
.diagram-node-accent p { color: var(--navy); opacity: .85; }
.diagram-node h4, .diagram-node p { overflow-wrap: break-word; hyphens: auto; }
/* Connector arrows between nodes: the same SVG arrow as the links, drawn via mask so it takes the brand cyan.
   Pointing down when stacked, right when in a row; hidden in the 560–819px band where a row can wrap. */
.diagram-flow:not([style*="--cols:1"]) .diagram-node:not(:last-child)::after {
  content: ''; position: absolute; width: 14px; height: 14px; z-index: 2; background-color: var(--cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M2 7h10M8 3l4 4-4 4' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 559px) {
  .diagram-flow:not([style*="--cols:1"]) .diagram-node:not(:last-child)::after { left: 50%; bottom: -14px; transform: translateX(-50%) rotate(90deg); }
}
@media (min-width: 560px) and (max-width: 819px) {
  .diagram-flow .diagram-node::after { display: none; }
}
@media (min-width: 820px) {
  .diagram-flow:not([style*="--cols:1"]) .diagram-node:not(:last-child)::after { right: -14px; top: 50%; transform: translateY(-50%); }
}

/* Wilo Technology — connected vertical flow */
.wilo-flow-frame { padding: 32px 28px; }
.wilo-flow { position: relative; display: grid; gap: 30px; }
.wilo-flow::before {
  content: ''; position: absolute; left: 27px; top: 27px; bottom: 27px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--blue) 0 6px, transparent 6px 12px);
}
.wilo-flow-node { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 18px; }
.wilo-flow-icon {
  width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--white); box-shadow: 0 10px 22px -8px rgba(11,37,64,.4);
}
.wilo-flow-icon svg { width: 24px; height: 24px; }
.wilo-flow-node h4 { color: var(--navy); font-size: 1rem; margin-bottom: 3px; }
.wilo-flow-node p { font-size: .84rem; color: var(--text-muted); }

/* ---------- Tables (specs) ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md); }
table.specs { width: 100%; border-collapse: collapse; min-width: 480px; }
table.specs th, table.specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: .88rem; }
table.specs th { background: var(--bg-alt); color: var(--navy); font-weight: 700; }
table.specs tr:last-child td { border-bottom: none; }

/* ---------- FAQ (details/summary) ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 4px; font-weight: 700; color: var(--navy); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--blue); }
.faq-item[open] summary .plus { background: var(--amber); color: var(--navy); }
.faq-item .faq-a { padding: 0 34px 20px 4px; color: var(--text-muted); font-size: .93rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .85rem; color: var(--navy); margin-bottom: 6px; }
.field .req { color: var(--amber-text); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--white); font-size: .95rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field small { display: block; margin-top: 6px; color: var(--text-muted); font-size: .78rem; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row.two { grid-template-columns: 1fr 1fr; } }
.conditional-fields { display: none; border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 18px; }
.conditional-fields.show { display: block; animation: fadein .25s ease; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 4px; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #C0392B; }
.form-status:empty { display: none; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(var(--green-rgb), .1); border: 1px solid rgba(var(--green-rgb), .35); color: var(--navy); font-size: .88rem; }
.form-status a { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C7D6E4; padding: 64px 0 24px; }
.footer-top { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr repeat(4, 1fr); } }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin: 16px 0 20px; font-size: .88rem; color: #9FB4C6; max-width: 32ch; }
.footer-col h4 { color: var(--white); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #B7C7D6; font-size: .89rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-badges { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #DCE7F0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .8rem; color: #8199AC; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }

/* ---------- Misc components ---------- */
.wilo-strip {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #00A87F 0%, #009878 60%, #00816A 100%); color: var(--white);
  box-shadow: 0 14px 32px -10px rgba(0,152,120,.45);
}
.wilo-strip > svg { width: 40px; height: 40px; color: var(--white); flex-shrink: 0; }
.wilo-strip strong { color: var(--white); }
.wilo-strip p { color: rgba(255,255,255,.85) !important; }
.wilo-strip p a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.wilo-strip-logo { height: 42px; width: auto; flex-shrink: 0; display: block; }
.wilo-strip-badges .badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: var(--white); }
.wilo-strip-badges .placeholder-tag { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: var(--white); }

.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: rgba(28,111,176,.1); color: var(--blue-text); }
.pill-amber { background: rgba(242,169,59,.16); color: var(--amber-text); }
.pill-cyan { background: rgba(47,196,217,.14); color: #147286; }

.divider { height: 1px; background: var(--border); border: none; margin: 40px 0; }

.split { display: grid; gap: 40px; align-items: center; }
/* Grid items default to min-width:auto, letting wide content push them past the viewport */
.split > *, .grid > *, .hero-inner > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split.reverse .split-media { order: 2; }

.media-frame { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; position: relative; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(0deg, rgba(11,37,64,.82), rgba(11,37,64,0)); color: #fff; font-size: .82rem; font-weight: 600; }

/* Services sub-page stage nav */
.stage-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px auto 0; max-width: 920px; }
.stage-nav a {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: var(--white); border: 1.5px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--navy);
  transition: border-color .15s ease, background-color .15s ease;
}
.stage-nav a:hover { border-color: rgba(var(--blue-rgb),.4); text-decoration: none; background: var(--bg-alt); }
.stage-nav a .stage-n { display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-alt); color: var(--navy); font-family: var(--font-mono); font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.stage-nav a.current { background: var(--navy); border-color: var(--navy); color: var(--white); }
.stage-nav a.current .stage-n { background: rgba(255,255,255,.18); color: var(--white); }

.stage-pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; margin-top: 8px; border-top: 1px solid var(--border); }
.stage-pager a { display: flex; flex-direction: column; gap: 4px; max-width: 320px; }
.stage-pager a:last-child { text-align: right; margin-left: auto; }
.stage-pager .pager-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.stage-pager .pager-title { font-weight: 700; color: var(--navy); font-size: .98rem; }
.stage-pager a:hover .pager-title { color: var(--blue-text); }
.amc-stat { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.amc-stat:last-of-type { border-bottom: none; padding-bottom: 4px; }
.amc-stat-icon { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.amc-stat-icon svg { width: 19px; height: 19px; }
.amc-stat strong { display: block; font-size: .92rem; color: var(--navy); margin-bottom: 2px; }
.amc-stat p { font-size: .82rem; color: var(--text-muted); margin: 0; }

.list-check { display: grid; gap: 12px; }
.list-check li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.list-check svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.hero-points { margin-bottom: 30px; }
.hero-points li { color: var(--navy); font-weight: 600; }

.cta-band {
  color: var(--white); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 56px); text-align: center;
  position: relative; overflow: hidden;
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(81,184,231,.30), transparent 60%),
    radial-gradient(600px 320px at 100% 100%, rgba(111,174,51,.22), transparent 60%),
    linear-gradient(120deg, #0B2540, #123B63);
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { color: #C7D6E4; margin: 12px auto 26px; }
.cta-band-ctas { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.industry-card { text-align: center; padding: 24px 16px; }
.industry-card .card-icon { margin: 0 auto 14px; }
.industry-util { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }

/* Gradient-swatch card variant, matching the homepage Solutions cards */
.card.card-swatch { padding: 0; overflow: hidden; border-radius: var(--radius-lg); transition: box-shadow .2s ease, transform .2s ease; }
.card.card-swatch:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card-swatch .swatch { height: 88px; display: flex; align-items: center; justify-content: center; }
.card-swatch .swatch svg { width: 38px; height: 38px; color: var(--white); }
.card-swatch .body { padding: 22px 20px 24px; }
.card-swatch.industry-card { padding: 0; }
.card-swatch.industry-card .body { text-align: center; }

.blog-card img, .project-card .thumb { border-radius: var(--radius-md); }
.project-card .thumb, .blog-card .thumb { aspect-ratio: 4/3; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 14px; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter-chip { padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border); font-size: .85rem; font-weight: 600; color: var(--text-muted); }
.filter-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.timeline { display: grid; gap: 0; }
.timeline .process-step { text-align: left; }

.map-frame { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius-lg); min-height: 320px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-align: center; padding: 24px; }
