:root {
  /* Wave Runner brand palette */
  --navy-950: #3A3C6E;
  --navy-900: #3A3C6E;
  --navy-800: #3A3C6E;
  --navy-700: #506ED1;
  --aqua-500: #506ED1;
  --aqua-400: #73B4F1;
  --aqua-100: #E9EBED;
  --aqua-50: #F5F7FC;
  --sand-500: #506ED1;
  --sand-300: #BFD8F4;
  --sand-100: #E9EBED;
  --ink: #3A3C6E;
  --muted: #5E6482;
  --line: #D9DCE5;
  --mist: #E9EBED;
  --white: #ffffff;
  --shadow-sm: 0 12px 32px rgba(58, 60, 110, 0.08);
  --shadow-lg: 0 30px 80px rgba(58, 60, 110, 0.18);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shell: min(1200px, calc(100% - 48px));
  --header-h: 82px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 18px;
  top: 12px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(80, 110, 209, 0.72);
  outline-offset: 4px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms cubic-bezier(.2,.7,.2,1), transform 680ms cubic-bezier(.2,.7,.2,1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-index {
  margin-bottom: 22px;
  color: var(--aqua-500);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--navy-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 30px;
  height: 2px;
  background: var(--aqua-500);
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 14px 22px;
  border: 1px solid var(--aqua-500);
  border-radius: 8px;
  background: var(--aqua-500);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(80, 110, 209, 0.2);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 16px 32px rgba(80, 110, 209, 0.28);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 43px;
  padding: 11px 17px;
  color: var(--white) !important;
  font-size: 0.82rem;
}

.button-outline {
  border-color: var(--navy-900);
  background: transparent;
  color: var(--navy-900);
  box-shadow: none;
}

.button-outline:hover {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: none;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(58, 60, 110, 0.22);
  color: var(--navy-800);
  font-size: 0.91rem;
  font-weight: 750;
  line-height: 1.2;
  transition: border-color 180ms ease, gap 180ms ease, color 180ms ease;
}

.text-link:hover {
  gap: 18px;
  border-color: var(--aqua-500);
  color: var(--aqua-500);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: height 220ms ease, background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  border-color: rgba(58, 60, 110, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(58, 60, 110, 0.07);
  backdrop-filter: blur(14px);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--navy-900);
}

.brand-logo-mark {
  width: auto;
  height: 50px;
  object-fit: contain;
  transition: height 220ms ease;
}

.site-header.is-scrolled .brand-logo-mark {
  height: 43px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-name b {
  font-weight: 450;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 27px);
}

.main-nav > a:not(.button) {
  position: relative;
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--aqua-500);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: var(--navy-900);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: calc(var(--header-h) + 78px) 0 82px;
  background:
    radial-gradient(circle at 7% 10%, rgba(115, 180, 241, 0.13), transparent 31%),
    linear-gradient(125deg, #F8F9FC 0%, #F1F4FA 48%, #ffffff 48.1%);
}

.hero::before {
  position: absolute;
  inset: auto auto -280px -150px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(80, 110, 209, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(80, 110, 209, 0.035), 0 0 0 140px rgba(80, 110, 209, 0.025);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(52px, 7vw, 94px);
}

.hero-copy {
  padding-top: 10px;
}

.hero h1 {
  max-width: 670px;
  margin-bottom: 27px;
  color: var(--navy-950);
  font-size: clamp(3.1rem, 5.1vw, 5.7rem);
  font-weight: 720;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.hero h1 em {
  display: block;
  color: var(--aqua-500);
  font-style: normal;
  font-weight: 480;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-principles {
  display: grid;
  margin-top: 57px;
  padding-top: 25px;
  border-top: 1px solid rgba(58, 60, 110, 0.13);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero-principles p {
  margin: 0;
}

.hero-principles b,
.hero-principles span {
  display: block;
}

.hero-principles b {
  margin-bottom: 3px;
  color: var(--navy-900);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hero-principles span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  padding: 18px 0 18px 18px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 0 64px 0 0;
  border-radius: 3px;
  background: var(--navy-900);
  content: "";
  transform: translate(-18px, 18px);
}

.hero-visual picture {
  position: relative;
  display: block;
  height: clamp(520px, 53vw, 690px);
  min-height: 520px;
  overflow: hidden;
  border-radius: 3px 90px 3px 3px;
  background: var(--navy-800);
  box-shadow: var(--shadow-lg);
}

.hero-visual picture::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 60, 110, 0.5), transparent 38%), linear-gradient(0deg, rgba(58, 60, 110, 0.42), transparent 42%);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.visual-coordinate {
  position: absolute;
  z-index: 3;
  top: 55px;
  left: -9px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.visual-coordinate span + span {
  color: var(--aqua-400);
}

.visual-note {
  position: absolute;
  z-index: 4;
  right: -16px;
  bottom: -18px;
  display: flex;
  width: min(360px, 76%);
  align-items: flex-start;
  gap: 14px;
  padding: 19px 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px 0 14px 14px;
  background: rgba(58, 60, 110, 0.96);
  color: var(--white);
  box-shadow: 0 18px 45px rgba(58, 60, 110, 0.28);
}

.visual-note p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
}

.visual-note b {
  color: var(--aqua-400);
}

.pulse {
  position: relative;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--aqua-400);
}

.pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--aqua-400);
  border-radius: inherit;
  content: "";
  animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
  0% { opacity: .7; transform: scale(.5); }
  80%, 100% { opacity: 0; transform: scale(1.35); }
}

.risk-band {
  padding: 68px 0;
  background: var(--navy-950);
  color: var(--white);
}

.risk-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.35fr 1.35fr 0.8fr;
  gap: clamp(34px, 5vw, 76px);
}

.risk-grid > .section-index {
  align-self: start;
  margin: 8px 0 0;
  color: var(--aqua-400);
}

.risk-copy h2 {
  margin-bottom: 19px;
  font-size: clamp(1.9rem, 3vw, 3.15rem);
  font-weight: 580;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.risk-copy p {
  max-width: 760px;
  margin: 0;
  color: #CFD8E9;
  font-size: 1rem;
}

.risk-equation {
  padding: 25px;
  border: 1px solid rgba(115, 180, 241, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.risk-equation > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.risk-equation span {
  color: var(--aqua-100);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.risk-equation b {
  color: var(--aqua-400);
  font-weight: 400;
}

.risk-equation p {
  margin: 17px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 0.93rem;
  font-weight: 650;
  text-align: center;
}

.section-heading {
  display: grid;
  align-items: end;
  margin-bottom: 58px;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(40px, 8vw, 120px);
}

.section-heading h2,
.deliverables-copy h2,
.subsurface-intro h2,
.why-copy h2,
.faq-intro h2,
.contact-copy h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: var(--navy-950);
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  font-weight: 620;
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 480px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
}

.services {
  background: var(--white);
}

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

.service-card {
  position: relative;
  min-height: 485px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  position: absolute;
  inset: auto -90px -120px auto;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(80, 110, 209, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(80, 110, 209, 0.03), 0 0 0 60px rgba(80, 110, 209, 0.025);
  content: "";
}

.service-card:hover {
  z-index: 1;
  border-color: rgba(80, 110, 209, 0.48);
  box-shadow: var(--shadow-sm);
  transform: translateY(-5px);
}

.service-card.featured {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: var(--white);
}

.service-card.featured::after {
  border-color: rgba(115, 180, 241, 0.25);
  box-shadow: 0 0 0 30px rgba(115, 180, 241, 0.04), 0 0 0 60px rgba(115, 180, 241, 0.03);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 63px;
}

.card-top span {
  color: var(--sand-500);
  font-size: 1.6rem;
  font-weight: 350;
}

.card-top small {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy-700);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.featured .card-top small {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--aqua-400);
}

.service-card.featured .card-top span {
  color: var(--aqua-400);
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--navy-950);
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.service-card.featured h3 {
  color: var(--white);
}

.service-card > p {
  max-width: 620px;
  margin-bottom: 28px;
  color: var(--muted);
}

.service-card.featured > p {
  color: #D2D9E8;
}

.service-card dl {
  position: relative;
  z-index: 2;
  margin: 0;
}

.service-card dl > div {
  display: grid;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  grid-template-columns: 115px 1fr;
  gap: 16px;
}

.service-card.featured dl > div {
  border-color: rgba(255, 255, 255, 0.13);
}

.service-card dt,
.service-card dd {
  margin: 0;
}

.service-card dt {
  color: var(--navy-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-card.featured dt {
  color: var(--aqua-400);
}

.service-card dd {
  color: var(--muted);
  font-size: 0.82rem;
}

.service-card.featured dd {
  color: #D2D9E8;
}

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 25px 30px;
  border-radius: var(--radius-sm);
  background: var(--aqua-50);
}

.inline-cta p {
  margin: 0;
  color: var(--muted);
}

.inline-cta b {
  color: var(--navy-900);
}

.process {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  color: var(--white);
}

.process::after {
  position: absolute;
  top: -360px;
  right: -360px;
  width: 790px;
  height: 790px;
  border: 1px solid rgba(115, 180, 241, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(115, 180, 241, 0.02), 0 0 0 160px rgba(115, 180, 241, 0.015);
  content: "";
}

.process .shell {
  position: relative;
  z-index: 2;
}

.section-heading.light h2 {
  color: var(--white);
}

.process .section-index {
  color: var(--aqua-400);
}

.section-heading.light > p {
  color: #C6D3E7;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  list-style: none;
}

.process-list li {
  display: grid;
  align-items: center;
  min-height: 142px;
  padding: 28px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: 100px minmax(0, 1fr) 220px;
  gap: 28px;
  transition: background-color 180ms ease, padding 180ms ease;
}

.process-list li:hover {
  padding-inline: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.step-number {
  color: var(--aqua-400);
  font-size: 0.85rem;
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 7px;
  color: var(--white);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 560;
  letter-spacing: -0.025em;
}

.process-list p {
  max-width: 690px;
  margin: 0;
  color: #CBD5E7;
  font-size: 0.93rem;
}

.step-tag {
  justify-self: end;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  color: var(--sand-300);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.deliverables {
  background: var(--sand-100);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(60px, 10vw, 140px);
}

.deliverables-copy {
  position: sticky;
  top: 115px;
  align-self: start;
}

.deliverables-copy p:not(.section-index) {
  max-width: 500px;
  margin: 28px 0 30px;
  color: var(--muted);
}

.deliverable-list {
  border-top: 1px solid rgba(58, 60, 110, 0.2);
}

.deliverable-list article {
  display: grid;
  padding: 29px 0;
  border-bottom: 1px solid rgba(58, 60, 110, 0.2);
  grid-template-columns: 70px 1fr;
  gap: 16px;
}

.deliverable-list article > span {
  color: var(--sand-500);
  font-size: 0.8rem;
  font-weight: 800;
}

.deliverable-list h3 {
  margin-bottom: 6px;
  color: var(--navy-900);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.deliverable-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.applications {
  background: var(--white);
}

.application-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.application-grid article {
  position: relative;
  min-height: 265px;
  padding: 31px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 200ms ease, color 200ms ease;
}

.application-grid article:hover {
  background: var(--navy-900);
  color: var(--white);
}

.application-grid small {
  display: block;
  margin-bottom: 64px;
  color: var(--aqua-500);
  font-size: 0.72rem;
  font-weight: 800;
}

.application-grid h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.4rem;
  font-weight: 620;
  letter-spacing: -0.025em;
}

.application-grid article:hover h3 {
  color: var(--white);
}

.application-grid article:hover small {
  color: var(--aqua-400);
}

.application-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.application-grid article:hover p {
  color: #D2D9E8;
}

.subsurface {
  background: var(--mist);
}

.subsurface-intro {
  max-width: 900px;
  margin-bottom: 55px;
}

.subsurface-intro > p:not(.section-index) {
  max-width: 700px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.geology-diagram {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.geology-picture {
  display: block;
  overflow: hidden;
  border-radius: 17px;
  background: var(--white);
}

.geology-visual {
  width: 100%;
  height: auto;
}

.diagram-swipe {
  display: none;
}

.geology-diagram figcaption {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 12px 8px;
  color: var(--muted);
  font-size: 0.83rem;
}

.geology-diagram figcaption span {
  flex: 0 0 auto;
  color: var(--navy-900);
  font-weight: 800;
  text-transform: uppercase;
}

.knowledge-grid {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.knowledge-grid article {
  padding: 28px;
  border-radius: var(--radius-sm);
  background: var(--white);
}

.knowledge-grid span {
  display: block;
  margin-bottom: 35px;
  color: var(--aqua-500);
  font-size: 0.72rem;
  font-weight: 800;
}

.knowledge-grid h3 {
  margin-bottom: 10px;
  color: var(--navy-900);
  font-size: 1.15rem;
}

.knowledge-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(60px, 10vw, 140px);
}

.why-copy > p:not(.section-index) {
  max-width: 500px;
  margin: 27px 0 0;
  color: var(--muted);
}

.why-points {
  display: grid;
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-points article {
  display: grid;
  min-height: 230px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-rows: auto 1fr;
}

.why-points article:nth-child(2n) {
  border-right: 0;
}

.why-points span {
  color: var(--sand-500);
  font-size: 0.72rem;
  font-weight: 800;
}

.why-points h3 {
  align-self: end;
  margin-bottom: 9px;
  color: var(--navy-900);
  font-size: 1.16rem;
}

.why-points p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.faq {
  background: var(--mist);
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(60px, 10vw, 150px);
}

.faq-intro {
  position: sticky;
  top: 115px;
  align-self: start;
}

.faq-intro > p:not(.section-index) {
  max-width: 440px;
  margin: 25px 0 18px;
  color: var(--muted);
}

.accordion {
  border-top: 1px solid rgba(58, 60, 110, 0.18);
}

.accordion details {
  border-bottom: 1px solid rgba(58, 60, 110, 0.18);
}

.accordion summary {
  display: grid;
  align-items: center;
  padding: 25px 0;
  color: var(--navy-900);
  font-size: 1.08rem;
  font-weight: 650;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  display: grid;
  width: 30px;
  height: 30px;
  place-content: center;
  border: 1px solid rgba(58, 60, 110, 0.2);
  border-radius: 50%;
  color: var(--aqua-500);
  font-size: 1.25rem;
  font-weight: 350;
  transition: transform 180ms ease, background-color 180ms ease;
}

.accordion details[open] summary span {
  background: var(--navy-900);
  color: var(--white);
  transform: rotate(45deg);
}

.accordion details > p {
  max-width: 720px;
  margin: -5px 55px 27px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.final-cta {
  padding: 90px 0;
  background:
    linear-gradient(105deg, rgba(58, 60, 110, 0.97), rgba(58, 60, 110, 0.88)),
    url("./assets/geoaqua-trabajo-campo.webp") center 49% / cover;
  color: var(--white);
}

.final-cta-inner {
  max-width: 920px;
  text-align: center;
}

.final-cta .eyebrow {
  justify-content: center;
  color: var(--aqua-100);
}

.final-cta h2 {
  margin-bottom: 17px;
  font-size: clamp(2.6rem, 5.7vw, 5.8rem);
  font-weight: 580;
  letter-spacing: -0.06em;
  line-height: 1;
}

.final-cta-inner > p:not(.eyebrow) {
  margin-bottom: 32px;
  color: #D2D9E8;
  font-size: 1.1rem;
}

.final-cta-inner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.light-button {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy-900);
  box-shadow: none;
}

.light-button:hover {
  border-color: var(--aqua-400);
  background: var(--aqua-400);
  color: var(--navy-950);
  box-shadow: none;
}

.light-link {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  align-items: start;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(60px, 9vw, 120px);
}

.contact-copy > p:not(.section-index, .response-note) {
  max-width: 480px;
  margin: 25px 0 0;
  color: var(--muted);
}

.contact-details {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.contact-details > * {
  display: grid;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px 1fr;
  gap: 20px;
}

.contact-details small {
  color: var(--aqua-500);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details b {
  color: var(--navy-900);
  font-size: 0.9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-details a:hover b {
  color: var(--aqua-500);
}

.response-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.8rem;
}

.response-note span {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--aqua-500);
}

.contact-form {
  padding: clamp(28px, 4vw, 47px);
  border-radius: var(--radius-md);
  background: var(--mist);
}

.form-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 29px;
  padding-bottom: 19px;
  border-bottom: 1px solid var(--line);
}

.form-heading span {
  color: var(--navy-900);
  font-size: 1.2rem;
  font-weight: 700;
}

.form-heading small {
  color: var(--muted);
  font-size: 0.69rem;
}

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

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 750;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid #CDD2DF;
  border-radius: 8px;
  outline: none;
  background: var(--white);
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 450;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-grid input,
.form-grid select {
  height: 51px;
  padding: 0 14px;
}

.form-grid textarea {
  min-height: 135px;
  padding: 13px 14px;
  resize: vertical;
}

.form-grid input::placeholder,
.form-grid textarea::placeholder {
  color: #8A90A8;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--aqua-500);
  box-shadow: 0 0 0 4px rgba(80, 110, 209, 0.1);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 22px 0 15px;
  color: var(--muted);
  font-size: 0.76rem;
  cursor: pointer;
}

.privacy-check input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--aqua-500);
}

.privacy-check a {
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.5em;
  margin-bottom: 10px;
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 650;
}

.submit-button {
  width: 100%;
}

.form-helper {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.71rem;
  text-align: center;
}

.site-footer {
  padding: 68px 0 28px;
  background: var(--navy-950);
  color: var(--white);
}

.footer-main {
  display: grid;
  align-items: center;
  padding-bottom: 52px;
  grid-template-columns: 0.6fr 0.8fr 1fr;
  gap: 40px;
}

.footer-logo {
  display: grid;
  width: 108px;
  min-height: 112px;
  place-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 18, 48, 0.2);
}

.footer-logo img {
  width: 88px;
  height: auto;
}

.footer-main > p {
  max-width: 330px;
  margin: 0;
  color: #C6CAD6;
  font-size: 0.82rem;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 23px;
}

.footer-nav a {
  color: #D7DCE9;
  font-size: 0.76rem;
}

.footer-nav a:hover {
  color: var(--aqua-400);
}

.footer-bottom {
  display: grid;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: .55fr .85fr 1.3fr;
  gap: 32px;
}

.footer-bottom p,
.legal-nav a {
  margin: 0;
  color: #AEB3C1;
  font-size: 0.68rem;
}

.footer-bottom > p:last-child {
  text-align: right;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.legal-nav a {
  text-decoration: underline;
  text-decoration-color: rgba(174, 179, 193, 0.45);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.legal-nav a:hover {
  color: var(--aqua-400);
  text-decoration-color: var(--aqua-400);
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 40px, 1060px);
  }

  .main-nav {
    gap: 15px;
  }

  .main-nav > a:not(.button) {
    font-size: 0.73rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 5.8vw, 4.8rem);
  }

  .hero-principles {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .hero-principles p {
    display: grid;
    grid-template-columns: 155px 1fr;
    gap: 10px;
  }

  .risk-grid {
    grid-template-columns: 0.25fr 1fr;
  }

  .risk-equation {
    grid-column: 2;
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 72px;
  }

  .section {
    padding: 88px 0;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    z-index: 90;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav > a:not(.button) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .main-nav > a:not(.button)::after {
    display: none;
  }

  .main-nav .button {
    margin-top: 24px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 60px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-principles p {
    display: block;
  }

  .hero-visual {
    width: min(100%, 760px);
    justify-self: end;
  }

  .hero-visual picture {
    height: 580px;
  }

  .risk-grid,
  .section-heading,
  .deliverables-grid,
  .why-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .risk-grid {
    gap: 23px;
  }

  .risk-equation {
    grid-column: 1;
  }

  .section-heading {
    gap: 25px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .process-list li {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .step-tag {
    display: none;
  }

  .deliverables-copy,
  .faq-intro {
    position: static;
  }

  .application-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 0.7fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .section {
    padding: 72px 0;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-logo-mark {
    height: 43px;
  }

  .hero {
    padding-top: calc(var(--header-h) + 42px);
    background: linear-gradient(145deg, #F8F9FC, #F1F4FA 64%, #ffffff 64.1%);
  }

  .hero h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
    letter-spacing: -0.065em;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .final-cta-inner > div {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .text-link,
  .final-cta-inner .text-link {
    align-self: center;
  }

  .hero-principles {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-principles p {
    display: grid;
    grid-template-columns: 138px 1fr;
  }

  .hero-visual {
    padding: 10px 0 10px 10px;
  }

  .hero-visual::before {
    right: 30px;
    transform: translate(-10px, 10px);
  }

  .hero-visual picture {
    height: 440px;
    min-height: 440px;
    border-radius: 3px 56px 3px 3px;
  }

  .hero-visual img {
    object-position: 61% center;
  }

  .visual-coordinate {
    display: none;
  }

  .visual-note {
    right: -4px;
    bottom: -32px;
    width: 88%;
    padding: 16px;
  }

  .risk-band {
    padding: 58px 0;
  }

  .risk-copy h2 {
    font-size: 2rem;
  }

  .risk-equation {
    padding: 19px;
  }

  .section-heading h2,
  .deliverables-copy h2,
  .subsurface-intro h2,
  .why-copy h2,
  .faq-intro h2,
  .contact-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .service-grid,
  .application-grid,
  .knowledge-grid,
  .why-points,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
    padding: 26px;
  }

  .card-top {
    margin-bottom: 42px;
  }

  .service-card dl > div {
    grid-template-columns: 95px 1fr;
  }

  .inline-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-list li {
    align-items: start;
    min-height: auto;
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }

  .deliverables-grid,
  .why-grid,
  .faq-grid,
  .contact-grid {
    gap: 56px;
  }

  .application-grid article {
    min-height: 230px;
  }

  .geology-diagram {
    padding: 8px;
    border-radius: 17px;
  }

  .geology-picture {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }

  .diagram-swipe {
    position: sticky;
    left: 0;
    display: block;
    width: max-content;
    margin: 5px 4px 12px;
    color: var(--navy-700);
    font-size: 0.72rem;
    font-weight: 750;
  }

  .geology-visual {
    width: 760px;
    max-width: none;
    height: auto;
  }

  .geology-diagram figcaption {
    display: block;
    padding: 17px 10px 9px;
  }

  .geology-diagram figcaption span {
    display: block;
    margin-bottom: 6px;
  }

  .why-points article,
  .why-points article:nth-child(2n) {
    border-right: 0;
  }

  .final-cta {
    padding: 74px 0;
  }

  .final-cta h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .contact-details > * {
    grid-template-columns: 85px 1fr;
  }

  .contact-form {
    margin-inline: -4px;
    padding: 24px 19px;
  }

  .form-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .form-grid label.full {
    grid-column: auto;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    display: grid;
    grid-column: auto;
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    gap: 15px;
  }

  .footer-bottom > p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
