:root {
  --navy: #061d33;
  --navy-2: #092a47;
  --blue: #1465a0;
  --aqua: #0dade7;
  --foam: #f7fbff;
  --mist: #eaf5fa;
  --ink: #0b1f2e;
  --muted: #5d6b75;
  --white: #ffffff;
  --line: rgba(6, 29, 51, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-pill: 999px;
  --shadow: 0 28px 70px rgba(6, 29, 51, 0.14);
  --dark-shadow: 0 28px 80px rgba(6, 29, 51, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--foam);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

p {
  margin: 0;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  z-index: 40;
  width: min(1240px, calc(100% - 72px));
  min-height: 58px;
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  box-shadow: none;
  backdrop-filter: none;
  transform: translateX(-50%);
  transition: transform 180ms ease;
}

.site-header.is-scrolled {
  transform: translateX(-50%) translateY(-4px) scale(0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.brand img {
  width: 148px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 4px;
  justify-self: end;
  min-height: 48px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-pill);
  background: rgba(6, 29, 51, 0.28);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
  font-size: 0.78rem;
  font-weight: 800;
}

.site-nav a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  color: rgba(255, 255, 255, 0.9);
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.site-nav .nav-cta {
  margin-left: 4px;
  color: var(--navy);
  background: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  justify-self: end;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 880px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.water-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 26%, rgba(13, 173, 231, 0.22), transparent 28%),
    radial-gradient(circle at 32% 64%, rgba(20, 101, 160, 0.4), transparent 32%),
    linear-gradient(135deg, rgba(6, 29, 51, 0.08), rgba(6, 29, 51, 0.74)),
    linear-gradient(160deg, #08476d 0%, #04253e 50%, #031524 100%);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  filter: saturate(1.05) contrast(1.04);
}

.water-scene::before,
.water-scene::after {
  position: absolute;
  inset: -10%;
  z-index: 1;
  content: "";
}

.water-scene::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.42;
  transform: perspective(700px) rotateX(58deg) rotateZ(-10deg) scale(1.45);
  animation: waterDrift 18s linear infinite;
}

.water-scene::after {
  background:
    repeating-radial-gradient(ellipse at 35% 80%, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 24px),
    repeating-radial-gradient(ellipse at 70% 20%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 20px);
  opacity: 0.34;
  transform: rotate(-11deg) scale(1.18);
  animation: waterDrift 24s linear infinite reverse;
}

.water-glow {
  position: absolute;
  z-index: 2;
  right: 8%;
  top: 11%;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 173, 231, 0.3), transparent 64%);
  filter: blur(18px);
}

.water-ripple {
  position: absolute;
  z-index: 2;
  width: 72vw;
  height: 34vw;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  transform: rotate(-14deg);
  animation: ripplePulse 7s ease-in-out infinite;
}

.ripple-a {
  right: -12vw;
  top: 12vw;
}

.ripple-b {
  right: 4vw;
  top: 18vw;
  animation-delay: -2s;
}

.ripple-c {
  right: 18vw;
  top: 24vw;
  animation-delay: -4s;
}

.wake-line {
  position: absolute;
  z-index: 2;
  left: -10%;
  top: 46%;
  width: 125%;
  height: 190px;
  border-top: 22px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  filter: blur(1px);
  transform: rotate(-10deg);
  animation: wakeMove 11s ease-in-out infinite;
}

.wake-b {
  top: 52%;
  border-top-width: 10px;
  opacity: 0.45;
  animation-delay: -3s;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 56px));
  margin-left: clamp(24px, 8vw, 116px);
  padding-top: 80px;
}

.eyebrow,
.pill-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 16px;
  color: var(--aqua);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.pill-label {
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--navy);
  background: var(--white);
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 700px;
  font-size: clamp(3rem, 5.8vw, 6.1rem);
  font-weight: 900;
  line-height: 1;
}

h2 {
  color: var(--ink);
  font-size: clamp(2.1rem, 4vw, 4.7rem);
  font-weight: 900;
  line-height: 1.02;
}

h3 {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.18;
}

.hero-content p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 900;
  line-height: 1;
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.hero-curve {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -2px;
  z-index: 3;
  height: 190px;
  background: var(--foam);
  clip-path: ellipse(66% 48% at 52% 100%);
}

.overview {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(42px, 7vw, 94px);
  margin: -58px auto 0;
  padding-bottom: clamp(80px, 9vw, 138px);
}

.overview-media {
  position: relative;
  min-height: 0;
  display: grid;
  gap: 18px;
  overflow: visible;
}

.photo-collage {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 470px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.stat-card {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-large {
  grid-row: 1 / 3;
  grid-column: 1;
}

.photo-tall {
  grid-row: 1;
  grid-column: 2;
}

.photo-small {
  grid-row: 2;
  grid-column: 2;
}

.stat-card {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px 22px;
  background: var(--white);
}

.stat-card strong {
  color: var(--navy);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.overview-copy p:not(.pill-label) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.04rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(13, 173, 231, 0.16);
  content: "";
  transform: translateY(-50%);
}

.check-list li::after {
  position: absolute;
  top: 0.72em;
  left: 6px;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid var(--aqua);
  border-left: 2px solid var(--aqua);
  content: "";
  transform: translateY(-74%) rotate(-45deg);
}

.service-band {
  background: var(--navy);
  padding: 58px clamp(20px, 6vw, 86px);
}

.service-band-inner {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0 auto;
}

.process-card {
  min-height: 246px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
}

.process-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.process-icon {
  position: relative;
  width: 42px;
  height: 42px;
  color: var(--white);
}

.process-icon::before,
.process-icon::after {
  position: absolute;
  content: "";
}

.pool-icon::before {
  inset: 9px 4px 8px;
  border-bottom: 4px solid currentColor;
  border-radius: 50%;
}

.pool-icon::after {
  left: 5px;
  bottom: 6px;
  width: 30px;
  height: 9px;
  border-top: 3px solid var(--aqua);
  border-radius: 50%;
}

.balance-icon::before {
  inset: 5px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.balance-icon::after {
  left: 10px;
  top: 18px;
  width: 22px;
  height: 3px;
  background: var(--aqua);
}

.report-icon::before {
  inset: 4px 8px;
  border: 3px solid currentColor;
  border-radius: 3px;
}

.report-icon::after {
  left: 15px;
  top: 14px;
  width: 13px;
  height: 17px;
  border-top: 3px solid var(--aqua);
  border-bottom: 3px solid var(--aqua);
}

.shield-icon::before {
  left: 8px;
  top: 4px;
  width: 26px;
  height: 32px;
  border: 3px solid currentColor;
  border-radius: 16px 16px 20px 20px;
}

.shield-icon::after {
  left: 16px;
  top: 17px;
  width: 10px;
  height: 6px;
  border-bottom: 3px solid var(--aqua);
  border-left: 3px solid var(--aqua);
  transform: rotate(-45deg);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(84px, 9vw, 138px) 0;
}

.section-heading,
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2,
.gallery-heading h2 {
  max-width: 760px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.quality-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 29, 51, 0.07);
}

.quality-grid span {
  color: var(--aqua);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
}

.quality-grid h3 {
  margin-top: 34px;
}

.quality-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.credentials-section {
  display: grid;
  grid-template-columns: minmax(520px, 1.25fr) minmax(340px, 0.75fr);
  align-items: center;
  gap: clamp(34px, 5vw, 68px);
}

.certificate-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #cfe4f2;
  box-shadow: var(--shadow);
  transform: scale(1.06);
  transform-origin: center left;
}

.certificate-frame img {
  width: 100%;
  aspect-ratio: 1.27 / 1;
  object-fit: contain;
}

.credential-copy {
  max-width: 560px;
  justify-self: end;
}

.credential-copy p:not(.pill-label) {
  margin-top: 20px;
  color: var(--muted);
}

.credential-card {
  display: grid;
  gap: 5px;
  max-width: 430px;
  margin-top: 28px;
  padding: 24px;
  border-left: 5px solid var(--aqua);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 18px 44px rgba(6, 29, 51, 0.08);
}

.credential-card strong {
  font-family: "Montserrat", Arial, sans-serif;
}

.credential-card span {
  color: var(--muted);
}

.insurance-section {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(62px, 7vw, 104px) clamp(24px, 5vw, 62px);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 88% 14%, rgba(13, 173, 231, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: var(--dark-shadow);
}

.insurance-copy .pill-label {
  border-color: rgba(255, 255, 255, 0.26);
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.insurance-copy h2 {
  color: var(--white);
}

.insurance-copy p:not(.pill-label) {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.insurance-grid {
  display: grid;
  gap: 14px;
}

.insurance-grid article {
  min-height: 138px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.insurance-grid span {
  color: var(--aqua);
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 900;
}

.insurance-grid h3 {
  margin-top: 14px;
  color: var(--white);
}

.insurance-grid p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.service-gallery {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(74px, 8vw, 124px) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  position: relative;
  min-height: 455px;
  overflow: hidden;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.gallery-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.certificate-gallery-card img {
  padding: 24px;
  object-fit: contain;
  background: #cfe4f2;
  opacity: 0.92;
}

.gallery-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(6, 29, 51, 0.88));
  content: "";
}

.gallery-card div {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 1;
}

.gallery-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 800;
}

.gallery-card h3 {
  margin-top: 8px;
  font-size: 1.8rem;
}

.contact-section {
  padding: clamp(82px, 9vw, 140px) clamp(20px, 6vw, 86px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 29, 51, 0.92), rgba(6, 29, 51, 0.48)),
    url("assets/service-truck.webp") center / cover;
}

.contact-card {
  width: min(720px, 100%);
}

.contact-card .pill-label {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.contact-card h2 {
  color: var(--white);
}

.contact-card p {
  max-width: 570px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 6vw, 86px);
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy);
}

.site-footer img {
  width: min(210px, 70vw);
  filter: brightness(0) invert(1);
}

@keyframes waterDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 280px 180px, 360px 220px;
  }
}

@keyframes ripplePulse {
  0%,
  100% {
    opacity: 0.16;
    transform: rotate(-14deg) scale(0.92);
  }
  50% {
    opacity: 0.34;
    transform: rotate(-14deg) scale(1.04);
  }
}

@keyframes wakeMove {
  0%,
  100% {
    transform: rotate(-10deg) translateY(-12px);
  }
  50% {
    transform: rotate(-8deg) translateY(14px);
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr auto;
    width: min(640px, calc(100% - 28px));
    min-height: 58px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(6, 29, 51, 0.94);
    box-shadow: var(--dark-shadow);
  }

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

  .site-nav a {
    min-height: 44px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
  }

  .overview,
  .credentials-section,
  .insurance-section {
    grid-template-columns: 1fr;
  }

  .certificate-frame {
    transform: none;
  }

  .credential-copy {
    justify-self: start;
  }

  .service-band-inner,
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 14px;
    min-height: 54px;
    padding: 7px 8px 7px 12px;
  }

  .brand {
    padding: 4px 10px;
  }

  .brand img {
    width: 136px;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: calc(100% - 34px);
    margin-inline: auto;
    padding-top: 24px;
    text-align: center;
  }

  h1 {
    font-size: clamp(3.05rem, 14vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2.15rem, 10.5vw, 3.2rem);
  }

  .hero-content p:not(.eyebrow) {
    margin-inline: auto;
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-curve {
    height: 118px;
    clip-path: ellipse(92% 44% at 50% 100%);
  }

  .overview {
    width: calc(100% - 32px);
    margin-top: -28px;
    gap: 34px;
  }

  .overview-media {
    min-height: 0;
  }

  .photo-collage {
    min-height: 460px;
    grid-template-columns: 1fr 0.82fr;
    gap: 10px;
  }

  .photo-large {
    width: auto;
  }

  .photo-tall {
    width: auto;
  }

  .photo-small {
    width: auto;
  }

  .stat-primary {
    left: 0;
  }

  .stat-secondary {
    right: 4px;
  }

  .service-band {
    padding-inline: 16px;
  }

  .service-band-inner,
  .quality-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .service-gallery,
  .insurance-section {
    width: calc(100% - 32px);
  }

  .insurance-section {
    padding: 42px 22px;
  }

  .section-heading,
  .gallery-heading {
    display: block;
  }

  .process-card,
  .quality-grid article {
    min-height: auto;
  }

  .gallery-card {
    min-height: 420px;
  }

  .contact-section {
    padding-inline: 16px;
  }
}
