:root {
  /* WaterSearch palette: blue / black / white with aqua accents */
  --ws-navy: #062B49;
  --ws-deep-blue: #084E7A;
  --ws-blue: #0067A6;
  --ws-aqua: #00B7D8;
  --ws-aqua-soft: #E6F8FC;
  --ws-sky: #BCEFFF;
  --ws-white: #FFFFFF;
  --ws-charcoal: #111827;
  --ws-gray: #5B6776;
  --ws-border: #D7E7EF;
  --ws-soft-bg: #F5FAFD;
  --shadow: 0 24px 70px rgba(6, 43, 73, 0.15);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ws-charcoal);
  background: var(--ws-white);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ws-border);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--ws-aqua-soft);
  box-shadow: 0 10px 26px rgba(0, 103, 166, .12);
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: 1.16rem;
  color: var(--ws-navy);
  letter-spacing: -0.02em;
}

.brand-text small {
  color: var(--ws-gray);
  font-size: .79rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .94rem;
  font-weight: 650;
  color: var(--ws-navy);
}

.desktop-nav a:not(.nav-cta):hover {
  color: var(--ws-blue);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--ws-blue), var(--ws-aqua));
  box-shadow: 0 12px 28px rgba(0, 103, 166, .22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 85% 10%, rgba(0, 183, 216, 0.24), transparent 33%),
    radial-gradient(circle at 12% 20%, rgba(188, 239, 255, 0.72), transparent 26%),
    linear-gradient(180deg, #F6FCFF 0%, #FFFFFF 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -150px;
  width: 470px;
  height: 470px;
  border-radius: 50%;
  background: rgba(0, 183, 216, .10);
  border: 1px solid rgba(0, 183, 216, .18);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--ws-blue);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
}

.eyebrow.light {
  color: var(--ws-sky);
}

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

h1 {
  max-width: 790px;
  margin-bottom: 22px;
  color: var(--ws-navy);
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .96;
  letter-spacing: -0.07em;
}

h2 {
  color: var(--ws-navy);
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.06;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
}

h3 {
  color: var(--ws-navy);
  font-size: 1.25rem;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.lead {
  max-width: 690px;
  font-size: 1.25rem;
  color: #344456;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ws-white);
  background: linear-gradient(135deg, var(--ws-blue), var(--ws-aqua));
  box-shadow: 0 18px 42px rgba(0, 103, 166, .26);
}

.button-secondary {
  color: var(--ws-navy);
  background: var(--ws-white);
  border: 1px solid var(--ws-border);
}

.full {
  width: 100%;
}

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

.proof-row div {
  padding: 18px;
  border: 1px solid var(--ws-border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .78);
}

.proof-row strong {
  display: block;
  color: var(--ws-blue);
  font-size: 1.35rem;
  line-height: 1.1;
}

.proof-row span {
  display: block;
  margin-top: 5px;
  color: var(--ws-gray);
  font-size: .92rem;
  line-height: 1.35;
}

.hero-card {
  padding: 34px;
  border-radius: 30px;
  color: white;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 183, 216, .42), transparent 34%),
    linear-gradient(145deg, var(--ws-navy), var(--ws-deep-blue));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, .15);
}

.hero-card h2,
.hero-card h3 {
  color: white;
}

.card-topline {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: var(--ws-sky);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
}

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

.check-list li {
  position: relative;
  padding-left: 32px;
  color: inherit;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  color: var(--ws-navy);
  background: var(--ws-aqua);
  font-size: .78rem;
  font-weight: 900;
}

.hero-card .check-list li {
  color: rgba(255, 255, 255, .88);
}

.mini-metric {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .14);
}

.mini-metric span {
  display: block;
  color: var(--ws-sky);
  font-size: .86rem;
}

.mini-metric strong {
  display: block;
  color: white;
  font-size: 1.6rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section {
  padding: 84px 0;
}

.section-soft {
  background: var(--ws-soft-bg);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--ws-gray);
  font-size: 1.08rem;
}

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

.info-card,
.solution-card,
.blue-card,
.cta-card {
  padding: 30px;
  border: 1px solid var(--ws-border);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 16px 44px rgba(6, 43, 73, .07);
}

.info-card p,
.solution-card p,
.cta-card p {
  color: var(--ws-gray);
}

.number-badge,
.solution-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 13px;
  color: white;
  font-size: .9rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--ws-blue), var(--ws-aqua));
}

.solution-card a {
  display: inline-block;
  margin-top: 10px;
  color: var(--ws-blue);
  font-weight: 850;
}

.section-blue {
  color: white;
  background:
    radial-gradient(circle at 90% 16%, rgba(0, 183, 216, .30), transparent 30%),
    linear-gradient(145deg, var(--ws-navy), var(--ws-deep-blue));
}

.section-blue h2 {
  color: white;
}

.section-blue p {
  color: rgba(255, 255, 255, .82);
}

.split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.blue-card {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.blue-card h3 {
  color: white;
}

.light-list li {
  color: rgba(255, 255, 255, .88);
}

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

.process-step {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--ws-border);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: white;
  background: var(--ws-navy);
  font-weight: 900;
}

.process-step p {
  color: var(--ws-gray);
}

.case-band {
  display: grid;
  grid-template-columns: 1fr 290px;
  gap: 34px;
  align-items: center;
  padding: 46px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--ws-aqua-soft), white);
  border: 1px solid var(--ws-border);
}

.case-band p {
  color: var(--ws-gray);
}

.case-stat {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 30px;
  border-radius: 26px;
  color: white;
  text-align: center;
  background: linear-gradient(145deg, var(--ws-blue), var(--ws-aqua));
  box-shadow: 0 24px 48px rgba(0, 103, 166, .22);
}

.case-stat strong {
  display: block;
  font-size: 4rem;
  line-height: .95;
  letter-spacing: -0.06em;
}

.case-stat span {
  display: block;
  max-width: 160px;
  margin-top: 10px;
  font-weight: 800;
}

.cta {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 34px;
  align-items: center;
  padding: 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 10%, rgba(0, 183, 216, .20), transparent 25%),
    linear-gradient(145deg, var(--ws-navy), var(--ws-deep-blue));
}

.cta h2,
.cta h3 {
  color: white;
}

.cta p {
  color: rgba(255, 255, 255, .80);
}

.cta-card {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}

.contact-note {
  margin: 16px 0 0;
  text-align: center;
  font-size: .9rem;
}

.site-footer {
  padding: 50px 0;
  color: rgba(255, 255, 255, .76);
  background: #031D31;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr 1fr;
  gap: 32px;
}

.footer-logo {
  display: block;
  margin-bottom: 10px;
  color: white;
  font-size: 1.4rem;
}

.site-footer h4 {
  margin-bottom: 10px;
  color: white;
}

.site-footer p {
  margin-bottom: 0;
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .hero-grid,
  .split,
  .cta,
  .case-band {
    grid-template-columns: 1fr;
  }

  .proof-row,
  .three-card-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: clamp(2.8rem, 10vw, 4.6rem);
  }
}

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

  .hero {
    padding: 64px 0;
  }

  .section {
    padding: 64px 0;
  }

  .proof-row,
  .three-card-grid,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .brand-text small {
    display: none;
  }

  .hero-card,
  .case-band,
  .cta {
    padding: 28px;
    border-radius: 24px;
  }
}


/* Current WaterSearch logo integration */
.nav-wrap {
  height: 98px;
}

.brand-logo-only {
  min-width: 150px;
}

.site-logo {
  display: block;
  height: 76px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.footer-logo-img {
  display: block;
  height: 102px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
}

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

  .site-logo {
    height: 66px;
    max-width: 150px;
  }
}

@media (max-width: 640px) {
  .site-logo {
    height: 58px;
    max-width: 132px;
  }

  .brand-logo-only {
    min-width: 132px;
  }
}
