:root {
  --av-navy: #061b35;
  --av-deep: #082b4d;
  --av-blue: #0878c9;
  --av-aqua: #1bd3cc;
  --av-cyan: #8bf1e4;
  --av-foam: #edf8f8;
  --av-ink: #09253e;
  --av-muted: #587084;
  --av-line: rgba(21, 86, 123, .2);
  --av-shadow: 0 22px 60px rgba(4, 37, 66, .16);
  --av-display: var(--app-font-sans);
  --av-body: var(--app-font-sans);
}

* { box-sizing: border-box; }
html { background: var(--av-navy); scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--av-ink);
  font-family: var(--av-body);
  background: var(--av-foam);
}
h1,h2,h3,h4 { font-family: var(--av-display); letter-spacing: -.045em; }
header.sticky {
  background: rgba(250, 254, 255, .97);
  border-bottom: 1px solid rgba(8, 79, 119, .18);
  box-shadow: 0 8px 24px rgba(4, 37, 66, .08);
}
header.sticky > .container {
  min-height: 4.25rem;
  align-items: center;
  gap: .75rem;
  padding-block: .65rem;
}
header.sticky > .container > a[href="/"] {
  position: relative;
  justify-content: center;
  gap: 0;
}
header.sticky > .container > a[href="/"] > img {
  content: url("/brand/aquaverion-horizontal-logo.png");
  width: 14rem;
  max-width: 100%;
  height: auto;
}
header.sticky > .container > a[href="/"] > span {
  position: absolute;
  top: -.05rem;
  right: -.45rem;
  display: block;
  width: auto;
  color: #02326e;
  font-size: 0;
}
header.sticky > .container > a[href="/"] > span::before {
  content: none;
}
header.sticky > .container > a[href="/"] > span::after {
  content: "™";
  font: 600 .42rem/1 var(--av-body);
  color: #02326e;
}
header.sticky nav { justify-content: center; gap: clamp(.7rem, 3vw, 1.6rem); }
header.sticky nav a { color: var(--av-navy); font-size: .8rem; font-weight: 600; }
header.sticky nav a:hover, header.sticky nav a:focus-visible { color: var(--av-blue); }

main { overflow: hidden; background: var(--av-foam); }
main > .flex.flex-col.w-full > section { position: relative; }
main > .flex.flex-col.w-full > section.water-accent-bg:first-child {
  min-height: 39rem;
  padding-block: clamp(5rem, 9vw, 7.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 82% 16%, rgba(27,211,204,.28), transparent 22rem),
    linear-gradient(135deg, #061b35 0%, #073d6a 55%, #0878c9 100%);
  isolation: isolate;
}
[data-av-route="home"] main > .flex.flex-col.w-full > section.water-accent-bg:first-child {
  background-image:
    linear-gradient(90deg, rgba(3,20,43,.96) 0%, rgba(3,27,51,.88) 38%, rgba(3,37,65,.54) 68%, rgba(3,37,65,.18) 100%),
    linear-gradient(0deg, rgba(4,39,68,.3), rgba(4,39,68,.08)),
    url("/assets/aquaverion-aerial-water-data.png");
  background-position: center;
  background-size: cover;
}
[data-av-route="home"] main > .flex.flex-col.w-full > section.water-accent-bg:first-child::after {
  display: none;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child::before {
  content: ""; position: absolute; inset: auto -7% -18% -5%; height: 30%;
  background: #edf8f8; border-radius: 50% 50% 0 0 / 28% 28% 0 0;
  transform: rotate(-2deg); z-index: -1;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child::after {
  content: ""; position: absolute; right: -12rem; top: 5rem; width: 40rem; height: 23rem;
  border: 1px solid rgba(139,241,228,.35); border-radius: 50%; transform: rotate(-24deg);
  box-shadow: -2.6rem 2.8rem 0 -1px rgba(139,241,228,.18), -5.5rem 5.4rem 0 -1px rgba(139,241,228,.12);
  z-index: -1;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child > div {
  width: min(100%, 74rem); max-width: 74rem; text-align: left; position: relative;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child h1 {
  max-width: 49rem; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .98; color: #fff;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child p {
  color: #c9ecf0; max-width: 43rem; margin-inline: 0;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child > div > div {
  justify-content: flex-start;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child > div > p:first-child {
  color: var(--av-cyan); text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 700;
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child a:first-of-type {
  background: var(--av-aqua); color: var(--av-navy); border: 1px solid var(--av-aqua); font-weight: 700;
  box-shadow: 0 12px 26px rgba(27,211,204,.2);
}
main > .flex.flex-col.w-full > section.water-accent-bg:first-child a:last-of-type {
  color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.42);
}

#regional-services { background: var(--av-foam); padding-block: clamp(5rem, 9vw, 8rem); }
#regional-services h2, #regional-services h3 { color: var(--av-navy); }
#regional-services .bg-card {
  position: relative; overflow: hidden; border: 1px solid rgba(8,120,201,.28);
  border-radius: 1.5rem; background: #fff; box-shadow: var(--av-shadow); padding: clamp(1.4rem, 4vw, 3rem);
}
#regional-services .bg-card::before {
  content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 32rem; height: 20rem;
  background: linear-gradient(140deg, rgba(27,211,204,.26), rgba(8,120,201,.08));
  border-radius: 50%; transform: rotate(-15deg);
}
#regional-services .bg-card > * { position: relative; z-index: 1; }
#regional-services .bg-card .inline-flex {
  color: #087c78; background: #d9faf4; border-color: #84e6d8; font-weight: 700;
}
#regional-services .bg-card a { background: var(--av-blue); font-weight: 700; box-shadow: 0 10px 20px rgba(8,120,201,.2); }

main > .flex.flex-col.w-full > section:nth-child(3) {
  background: var(--av-deep); color: #fff; border: 0; padding-block: clamp(5rem, 9vw, 8rem);
}
main > .flex.flex-col.w-full > section:nth-child(3) h3 { color: #fff; }
main > .flex.flex-col.w-full > section:nth-child(3) p { color: #b9d3df; }
main > .flex.flex-col.w-full > section:nth-child(3) .w-12 {
  background: var(--av-aqua); color: var(--av-navy); border-radius: .7rem; box-shadow: none;
}
main > .flex.flex-col.w-full > section:nth-child(4) { background: #fff; padding-block: clamp(4.5rem, 8vw, 7rem); }
main > .flex.flex-col.w-full > section:nth-child(4) .bg-card {
  border: 1px solid rgba(8,120,201,.2); border-radius: 1.25rem; box-shadow: 0 16px 40px rgba(9,37,62,.1);
}
#about {
  color: #fff; padding-block: clamp(5rem, 9vw, 8rem);
  background: linear-gradient(125deg, var(--av-navy), #075487 70%, #0b9eb4);
}
#about h2, #about h3, #about p { color: #fff; }
#about .bg-white\/10 {
  position: relative; overflow: hidden; min-height: 18rem;
  border: 1px solid rgba(139,241,228,.35); border-top: 4px solid var(--av-aqua);
  background: rgba(4,26,52,.38);
  box-shadow: var(--av-shadow); border-radius: 1.3rem;
}
#about .bg-white\/10::after {
  content: ""; position: absolute; right: -6rem; bottom: -4.5rem; width: 20rem; height: 10rem;
  border: 1px solid rgba(139,241,228,.23); border-radius: 50%; transform: rotate(-12deg);
  box-shadow: -2rem -1.5rem 0 -1px rgba(27,211,204,.12), -4rem -3rem 0 -1px rgba(8,120,201,.12);
  pointer-events: none;
}
#about .bg-white\/10 > * { position: relative; z-index: 1; }
main > .flex.flex-col.w-full > section:last-child { background: var(--av-foam); padding-block: clamp(5rem, 9vw, 8rem); }
main > .flex.flex-col.w-full > section:last-child .rounded-xl {
  border: 1px solid rgba(8,120,201,.24); box-shadow: var(--av-shadow); background: #fff;
}
main > .flex.flex-col.w-full > section:last-child a { background: var(--av-blue); font-weight: 700; }
main > .flex.flex-col.w-full.bg-background {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 82%, rgba(27,211,204,.34), transparent 22rem),
    radial-gradient(circle at 8% 18%, rgba(8,120,201,.34), transparent 26rem),
    linear-gradient(145deg, #061b35 0%, #073f68 58%, #0878a5 100%);
}
main > .flex.flex-col.w-full.bg-background::before {
  content: ""; position: absolute; z-index: -1; right: -10rem; bottom: -7rem;
  width: 34rem; height: 22rem; border: 1px solid rgba(8,120,201,.2); border-radius: 50%;
  box-shadow: -2.5rem -2rem 0 -1px rgba(27,211,204,.15), -5rem -4rem 0 -1px rgba(8,120,201,.08);
  transform: rotate(-18deg);
}
main > .flex.flex-col.w-full.bg-background > .container {
  margin-block: clamp(2rem, 5vw, 5rem); padding: clamp(1.5rem, 5vw, 4rem);
  border: 1px solid rgba(8,120,201,.2); border-radius: 1.3rem; background: #fff; box-shadow: var(--av-shadow);
}
.prose.prose-slate { color: var(--av-muted); line-height: 1.8; }
footer { color: #c6dde5; background: var(--av-navy); border-top: 1px solid rgba(139,241,228,.2); }
footer a, footer p { color: #a7c4cf; }
footer > .container > div:first-child > div:first-child > span {
  display: inline-flex; align-items: flex-start; font-size: 0; color: #fff;
}
footer > .container > div:first-child > div:first-child > span::before { content: "AquaVerion"; font: 600 1.15rem/1.75rem var(--av-display); }
footer > .container > div:first-child > div:first-child > span::after { content: "™"; margin-left: .1rem; font-size: .45rem; color: var(--av-cyan); }
.animate-in, .animate-pulse { animation: none !important; }

@media (min-width: 48rem) {
  header.sticky > .container { height: 4.25rem; flex-direction: row; justify-content: space-between; padding-block: 0; }
  header.sticky > .container > a[href="/"] { justify-content: flex-start; width: auto; }
  header.sticky nav { justify-content: flex-end; width: auto; }
}
@media (min-width: 64rem) {
  main > .flex.flex-col.w-full > section.water-accent-bg:first-child h1 { max-width: 46rem; }
  main > .flex.flex-col.w-full > section.water-accent-bg:first-child p { max-width: 40rem; }
}
@media (max-width: 47.999rem) {
  header.sticky > .container { min-height: 4.5rem; padding-block: .4rem .5rem; gap: .35rem; }
  header.sticky > .container > a[href="/"] > img { width: 15rem; height: auto; }
  header.sticky > .container > a[href="/"] > span::after { font-size: .4rem; }
  header.sticky nav { gap: .35rem; }
  header.sticky nav a { font-size: .72rem; padding: .35rem .3rem; }
  main > .flex.flex-col.w-full > section.water-accent-bg:first-child { min-height: 34rem; text-align: left; }
  main > .flex.flex-col.w-full > section.water-accent-bg:first-child > div { text-align: left; }
  main > .flex.flex-col.w-full > section.water-accent-bg:first-child::before { height: 16%; bottom: -6%; }
  [data-av-route="home"] main > .flex.flex-col.w-full > section.water-accent-bg:first-child {
    background-position: 64% center;
  }
  #regional-services { padding-bottom: 3.75rem; }
  main > .flex.flex-col.w-full > section { padding-block: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }