:root {
  --navy: #062447;
  --navy-deep: #041a33;
  --blue: #1e5a86;
  --ink: #172536;
  --muted: #5d6c7c;
  --line: #dbe2e8;
  --soft: #f3f6f8;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 18px 48px rgba(6, 36, 71, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--max-width)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 16px; color: white; background: var(--navy); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(6,36,71,.06); }
.header-inner { height: 84px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: block; width: 232px; overflow: hidden; }
.brand img { width: 100%; height: 58px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav > a:not(.button) { color: #3c4b5c; font-size: .92rem; text-decoration: none; transition: color .2s; }
.site-nav > a:not(.button):hover { color: var(--navy); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--navy); }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--navy); border-radius: 5px; color: white; background: var(--navy); font-weight: 650; font-size: .92rem; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
.button:hover { background: var(--navy-deep); box-shadow: 0 9px 22px rgba(6,36,71,.18); transform: translateY(-1px); }
.button-small { min-height: 43px; padding-inline: 19px; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .74rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.hero { min-height: 760px; padding: 176px 0 96px; display: flex; align-items: center; background: linear-gradient(115deg, #fff 0%, #fff 61%, #f3f6f8 61%, #f3f6f8 100%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 100px; align-items: center; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(3.1rem, 6vw, 5.65rem); font-weight: 700; }
.hero-intro { max-width: 655px; margin: 0 0 36px; color: var(--muted); font-size: 1.19rem; line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { color: var(--navy); font-weight: 650; text-decoration: none; }
.text-link .arrow-right { display: inline-block; margin-left: 5px; transition: transform .2s; }
.text-link .arrow-right::after { content: "→"; }
.text-link:hover .arrow-right { transform: translateX(4px); }
.hero-panel { position: relative; padding: 48px 42px 42px; color: white; background: var(--navy); box-shadow: var(--shadow); }
.hero-panel::after { content: ""; position: absolute; right: -22px; bottom: -22px; width: 92px; height: 92px; border-right: 1px solid #89a6bc; border-bottom: 1px solid #89a6bc; }
.panel-kicker { margin: 0 0 36px; color: #a9c3d7; font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero-panel h2 { margin-bottom: 25px; color: white; font-size: 2rem; }
.hero-panel > p:last-child { margin: 0; color: #c4d3df; font-size: .93rem; }
.panel-rule { width: 42px; height: 2px; margin-bottom: 24px; background: #6f9abb; }

.trust-strip { color: white; background: var(--navy-deep); }
.trust-items { min-height: 94px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-items p { margin: 0; padding: 5px 34px; border-right: 1px solid rgba(255,255,255,.15); font-size: .88rem; letter-spacing: .02em; }
.trust-items p:first-child { padding-left: 0; }
.trust-items p:last-child { border-right: 0; }
.trust-items p > span:first-child { margin-right: 18px; color: #7fa3bd; font-size: .7rem; }
.trust-items .value-label { color: inherit; font-size: inherit; }

.section { padding: 120px 0; }
.section-heading { max-width: 750px; margin-bottom: 58px; }
.section-heading h2, .approach-copy h2, .contact-copy h2 { margin-bottom: 22px; font-size: clamp(2.35rem, 4vw, 3.8rem); }
.section-heading > p:last-child, .approach-copy > p:last-child { max-width: 650px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.service-card { position: relative; min-height: 385px; padding: 38px 34px; border-right: 1px solid var(--line); transition: background .25s, transform .25s, box-shadow .25s; }
.service-card:last-child { border-right: 0; }
.service-card:hover { z-index: 2; background: white; box-shadow: var(--shadow); transform: translateY(-5px); }
.card-number { position: absolute; top: 28px; right: 30px; color: #98a6b4; font-size: .72rem; }
.card-icon { width: 48px; height: 48px; margin: 28px 0 60px; display: grid; place-items: center; background: var(--soft); }
.card-icon svg { width: 25px; fill: none; stroke: var(--navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin-bottom: 16px; font-size: 1.35rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.approach { background: var(--soft); }
.approach-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 110px; align-items: start; }
.approach-copy { position: sticky; top: 135px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #cbd5dd; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 34px 0; border-bottom: 1px solid #cbd5dd; }
.steps > li > span { padding-top: 5px; color: var(--blue); font-size: .73rem; font-weight: 700; }
.steps h3 { margin-bottom: 9px; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }

.contact-section { padding: 110px 0; color: white; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 110px; align-items: start; }
.eyebrow-light { color: #94b8d1; }
.contact-copy h2 { color: white; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: #b8cad8; font-size: 1.05rem; }
.contact-note { display: flex; gap: 17px; margin-top: 54px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.contact-note > span { color: #8ab0ca; font-size: 1.3rem; }
.arrow-up-right::after { content: "↗"; }
.contact-note p { margin: 0; color: #b8cad8; font-size: .88rem; }
.contact-note strong { color: white; }
.contact-form { padding: 42px; color: var(--ink); background: white; }
.contact-form label { display: block; margin-bottom: 20px; color: #27384a; font-size: .8rem; font-weight: 700; }
.contact-form label .optional { color: #8b97a3; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form input, .contact-form textarea { width: 100%; margin-top: 8px; padding: 13px 14px; border: 1px solid #cdd6de; border-radius: 3px; color: var(--ink); background: #fbfcfd; outline: none; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,90,134,.12); }
.contact-form [aria-invalid="true"] { border-color: #b53c3c; }
.button-light { min-width: 150px; }
.form-status { min-height: 24px; margin: 14px 0 0; color: var(--muted); font-size: .84rem; }

.site-footer { padding: 48px 0 24px; background: #fff; }
.footer-top { display: flex; align-items: center; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.footer-brand { width: 174px; }
.footer-top > p { margin: 0; color: var(--muted); font-size: .9rem; }
.back-to-top { margin-left: auto; color: var(--navy); font-size: .84rem; font-weight: 650; text-decoration: none; }
.back-to-top span { margin-left: 8px; }
.back-to-top > span:first-child { margin-left: 0; }
.arrow-up::after { content: "↑"; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; color: #7a8794; font-size: .74rem; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .site-nav { position: absolute; inset: 84px 0 auto; padding: 22px 24px 28px; display: none; align-items: stretch; flex-direction: column; gap: 19px; background: white; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; background: linear-gradient(180deg, white 0%, white 68%, var(--soft) 68%); }
  .hero-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-panel { max-width: 520px; }
  .approach-copy { position: static; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: 0; }
  .card-icon { margin-bottom: 38px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 34px), var(--max-width)); }
  .header-inner { height: 74px; }
  .brand { width: 194px; }
  .site-nav { top: 74px; }
  .hero { padding: 132px 0 72px; }
  h1 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero-intro { font-size: 1.05rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-panel { padding: 38px 28px 34px; }
  .hero-panel::after { display: none; }
  .trust-items { padding: 19px 0; grid-template-columns: 1fr; }
  .trust-items p, .trust-items p:first-child { padding: 12px 0; border-right: 0; }
  .section { padding: 84px 0; }
  .section-heading { margin-bottom: 42px; }
  .service-card { padding-inline: 27px; }
  .contact-form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .back-to-top { margin-left: 0; }
}

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