:root {
  --navy: #092d47;
  --navy-deep: #061f32;
  --blue: #0e5f87;
  --red: #c83b32;
  --red-dark: #a92d27;
  --sky: #dfeff5;
  --paper: #f7fafb;
  --white: #fcfefe;
  --ink: #112a3b;
  --muted: #587080;
  --line: #c9d9df;
  --success: #176b45;
  --error: #a5211b;
  --radius: 14px;
  --shadow: 0 22px 55px rgba(9, 45, 71, .14);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  color: var(--navy);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #f1a29c;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 250, 251, .94);
  border-bottom: 1px solid rgba(9, 45, 71, .12);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.05;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  font-size: 24px;
}
.brand strong { display: block; font-size: 21px; letter-spacing: -.03em; }
.brand small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; color: var(--navy); font-weight: 650; font-size: 15px; }
nav a:hover { color: var(--red-dark); }
.header-phone { text-align: right; text-decoration: none; line-height: 1.2; }
.header-phone small { display: block; color: var(--muted); font-size: 12px; }
.header-phone strong { color: var(--red-dark); font-size: 18px; }

.hero {
  position: relative;
  min-height: min(740px, calc(100dvh - 76px));
  display: grid;
  align-items: center;
  padding: 64px 0;
  background:
    radial-gradient(circle at 10% 18%, rgba(95, 171, 198, .18), transparent 32%),
    linear-gradient(145deg, var(--paper), #edf5f7);
}
.hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -150px;
  width: 38vw;
  height: 380px;
  border: 55px solid rgba(14, 95, 135, .07);
  border-radius: 50%;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: 72px;
}
.location-line {
  margin: 0 0 18px;
  color: var(--red-dark);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); letter-spacing: -.035em; line-height: 1.04; }
h1 { max-width: 690px; margin-bottom: 24px; font-size: clamp(48px, 5.4vw, 76px); }
h2 { max-width: 760px; margin-bottom: 20px; font-size: clamp(38px, 4.2vw, 58px); }
h3 { margin-bottom: 12px; font-size: 28px; }
.hero-text { max-width: 520px; margin-bottom: 32px; color: #405d70; font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 13px 20px;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: var(--white); background: var(--red); box-shadow: 0 10px 24px rgba(169, 45, 39, .22); }
.button-primary:hover { background: var(--red-dark); }
.button-secondary { color: var(--navy); background: transparent; box-shadow: inset 0 0 0 1px var(--blue); }
.button-secondary:hover { background: var(--sky); }

.hero-visual { position: relative; min-width: 0; }
.hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-note {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 280px;
  padding: 18px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(6, 31, 50, .94);
  box-shadow: 0 12px 30px rgba(6, 31, 50, .25);
}
.hero-note strong { display: block; margin-bottom: 6px; }
.hero-note button { min-height: 44px; padding: 0; border: 0; color: #b7e1f0; background: transparent; text-decoration: underline; cursor: pointer; }

.proof { position: relative; z-index: 2; color: var(--white); background: var(--navy); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof p { margin: 0; padding: 24px 32px; border-right: 1px solid rgba(255, 255, 255, .16); }
.proof p:first-child { padding-left: 0; }
.proof p:last-child { border-right: 0; }
.proof strong, .proof span { display: block; }
.proof strong { color: #b8d8e4; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.proof span { font-size: 18px; font-weight: 700; }

.section { padding: 112px 0; }
.section-heading { margin-bottom: 48px; }
.section-heading p, .pathway-copy p { max-width: 650px; color: var(--muted); font-size: 19px; }
.service-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; }
.service {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.service:hover { transform: translateY(-3px); border-color: var(--blue); }
.service:active { transform: translateY(-1px); }
.service-name { color: var(--navy); font-size: 24px; font-weight: 760; letter-spacing: -.025em; }
.service > span:last-child { max-width: 34ch; color: var(--muted); font-size: 15px; }
.service-featured { grid-row: span 2; min-height: 354px; color: var(--white); background: var(--navy); border-color: var(--navy); }
.service-featured .service-name { color: var(--white); font-size: 38px; }
.service-featured > span:last-child { color: #c5d9e1; font-size: 17px; }
.service-wide { grid-column: span 2; }
.service-calm { background: var(--sky); border-color: transparent; }

.pathway { color: var(--white); background: var(--navy-deep); }
.pathway h2, .pathway h3 { color: var(--white); }
.pathway-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; }
.pathway-copy p { color: #bcd0da; }
.path-options { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path-options article { padding: 32px; border-radius: var(--radius); background: rgba(255, 255, 255, .08); }
.path-options article:last-child { background: var(--white); }
.path-options article:last-child h3, .path-options article:last-child p { color: var(--navy); }
.path-options p { color: #c4d6df; }
.path-options a { display: inline-block; min-height: 44px; color: #b9e2ef; font-weight: 750; }
.path-options article:last-child a { color: var(--red-dark); }

.process { background: var(--sky); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 0; padding: 0; list-style: none; counter-reset: request-step; }
.process-list li { position: relative; padding-top: 22px; border-top: 4px solid var(--blue); counter-increment: request-step; }
.process-list li::before { content: "0" counter(request-step); display: block; margin-bottom: 28px; color: var(--red-dark); font-size: 15px; font-weight: 800; }
.process-list strong, .process-list span { display: block; }
.process-list strong { margin-bottom: 8px; color: var(--navy); font-size: 22px; }
.process-list span { color: var(--muted); }

.request-section { padding: 112px 0 120px; background: var(--white); }
.request-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: start; gap: 70px; }
.request-intro { position: sticky; top: 118px; }
.request-intro > p:not(.location-line) { max-width: 36ch; color: var(--muted); }
.request-contact { margin-top: 40px; display: grid; gap: 12px; }
.request-contact a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.request-contact span, .request-contact strong { display: block; }
.request-contact span { color: var(--muted); font-size: 13px; }
.request-contact strong { color: var(--navy); overflow-wrap: anywhere; }

.request-form { padding: 36px; border-radius: var(--radius); background: #edf5f7; box-shadow: var(--shadow); }
fieldset { min-width: 0; margin: 0 0 28px; padding: 0; border: 0; }
legend, .field > label { display: block; margin-bottom: 10px; color: var(--navy); font-weight: 750; }
.field > label span, .requirement { float: right; color: var(--muted); font-size: 12px; font-weight: 500; }
.choice-grid { display: grid; gap: 8px; }
.choice-services { grid-template-columns: repeat(4, 1fr); }
.choice-three { grid-template-columns: repeat(3, 1fr); }
.choice-two { grid-template-columns: repeat(2, 1fr); }
.choice-grid label { position: relative; min-width: 0; }
.choice-grid input { position: absolute; opacity: 0; }
.choice-grid span {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid #adc5cf;
  border-radius: 9px;
  color: var(--navy);
  background: var(--white);
  text-align: center;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.choice-grid input:focus-visible + span { outline: 3px solid #f1a29c; outline-offset: 2px; }
.choice-grid input:checked + span { color: var(--white); background: var(--navy); border-color: var(--navy); }
.field { margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.details-row { grid-template-columns: repeat(3, 1fr); }
.contact-method { margin-bottom: 26px; }
input[type="text"], input[type="tel"], input[type="email"], textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #9fb8c4;
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
}
textarea { min-height: 112px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #667d89; opacity: 1; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { min-height: 0; margin: 6px 0 0; color: var(--error); font-size: 14px; font-weight: 650; }
.field-error:empty { display: none; }
.urgent-note { margin: 10px 0 0; padding: 12px 14px; border-radius: 8px; color: var(--navy); background: #d8eaf0; }
.urgent-note a { color: var(--red-dark); font-weight: 800; }
.submit-button { width: 100%; }
.demo-note { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.form-status { display: none; margin-bottom: 24px; padding: 18px; border-radius: 10px; font-weight: 700; }
.form-status.error { display: block; color: var(--error); background: #fbe5e2; }
.form-status.success { display: block; color: var(--success); background: #dff2e8; }

footer { padding: 48px 0 100px; color: #c4d5dc; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 40px; }
.footer-grid strong { color: var(--white); font-size: 22px; }
.footer-grid p { margin-bottom: 4px; }
.footer-grid a { display: block; width: fit-content; color: var(--white); overflow-wrap: anywhere; }
.mobile-actions { display: none; }

.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.16, 1, .3, 1), transform .65s cubic-bezier(.16, 1, .3, 1); }
  .reveal[data-delay="1"] { transition-delay: .1s; }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 760px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 20px; }
  nav { display: none; }
  .hero { min-height: auto; padding: 48px 0 70px; }
  .hero-grid, .pathway-grid, .request-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { max-width: 700px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-featured { grid-row: auto; min-height: 190px; }
  .service-wide { grid-column: span 1; }
  .request-intro { position: static; }
  .choice-services { grid-template-columns: repeat(2, 1fr); }
  .details-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  body { padding-bottom: 66px; font-size: 16px; }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .header-phone { display: none; }
  .brand strong { font-size: 19px; }
  .hero { padding: 38px 0 52px; }
  .hero-grid { gap: 34px; }
  h1 { font-size: clamp(42px, 13vw, 58px); }
  h2 { font-size: 38px; }
  .hero-text { font-size: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-note { position: static; max-width: none; margin-top: 10px; border-radius: 10px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof p, .proof p:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .proof p:last-child { border-bottom: 0; }
  .section, .request-section { padding: 76px 0; }
  .section-heading { margin-bottom: 32px; }
  .service-grid, .path-options, .process-list { grid-template-columns: 1fr; }
  .service, .service-featured { min-height: 150px; }
  .process-list { gap: 28px; }
  .request-form { padding: 22px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .choice-three { grid-template-columns: 1fr; }
  .choice-grid span { justify-content: flex-start; min-height: 48px; padding-inline: 14px; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  footer { padding-bottom: 46px; }
  .mobile-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    padding: 8px;
    background: var(--white);
    box-shadow: 0 -8px 28px rgba(9, 45, 71, .16);
  }
  .mobile-actions a { min-height: 50px; display: grid; place-items: center; border-radius: 9px; color: var(--navy); text-decoration: none; font-weight: 800; }
  .mobile-actions a:last-child { color: var(--white); background: var(--red); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
