:root {
  --navy: #102b49;
  --navy-deep: #0b2239;
  --blue: #1768a8;
  --blue-hover: #0f568f;
  --blue-soft: #eaf4fa;
  --blue-pale: #f5f9fc;
  --sand: #b79a64;
  --focus: #d0b46e;
  --ink: #172a3b;
  --muted: #526879;
  --line: #d6e2ea;
  --line-strong: #b8ccd9;
  --paper: #ffffff;
  --danger-ink: #562c16;
  --danger-bg: #fff7ed;
  --container: 76rem;
  --reading: 46rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
p { margin: 0 0 1.2rem; }
ul, ol { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 750; line-height: 1.13; letter-spacing: -.025em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.55rem, 8vw, 4.55rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.08rem; }
.container { width: min(calc(100% - 2rem), var(--container)); margin-inline: auto; }
.reading-width { max-width: var(--reading); }
.skip-link { position: fixed; top: -6rem; left: 1rem; z-index: 1000; padding: .7rem 1rem; background: var(--paper); color: var(--navy); font-weight: 760; }
.skip-link:focus { top: 1rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.button-row { display: flex; flex-direction: column; gap: .7rem; align-items: stretch; margin-top: 1.65rem; }
.button { display: inline-flex; min-height: 3.1rem; align-items: center; justify-content: center; padding: .75rem 1.2rem; border: 1px solid var(--blue); border-radius: 2px; background: var(--blue); color: #fff; font-weight: 760; line-height: 1.25; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.button:hover { border-color: var(--blue-hover); background: var(--blue-hover); }
.button-secondary { background: transparent; color: var(--blue); }
.button-secondary:hover { color: #fff; }
.text-link { color: var(--blue); font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.text-link:hover { color: var(--blue-hover); }

.site-header { position: sticky; top: 0; z-index: 100; min-height: 4.85rem; border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(16,43,73,.985); color: #fff; }
.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(8,31,52,.16); }
.header-inner { min-height: 4.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { min-width: 0; display: inline-flex; align-items: center; color: #fff; line-height: 1.05; text-decoration: none; }
.brand-copy { min-width: 0; display: grid; gap: .24rem; }
.brand-copy strong { color: #fff; font-size: .88rem; letter-spacing: .095em; white-space: nowrap; }
.brand-copy small { color: #bed1dd; font-size: .6rem; letter-spacing: .025em; white-space: nowrap; }
.nav-toggle { width: 2.75rem; height: 2.75rem; display: grid; flex: 0 0 auto; place-items: center; border: 0; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 1.55rem; height: 1.55rem; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; display: grid; align-content: start; max-height: calc(100vh - 4.85rem); overflow-y: auto; padding: .8rem max(1rem, calc((100vw - var(--container)) / 2)) 1.1rem; border-top: 1px solid rgba(255,255,255,.13); background: var(--navy); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: grid; }
.site-nav > a:not(.button) { min-height: 2.75rem; display: flex; align-items: center; padding: .55rem 0; color: #e9f1f6; font-size: .93rem; font-weight: 650; text-decoration: none; }
.site-nav > a[aria-current="page"]:not(.button) { color: #fff; text-decoration: underline; text-decoration-color: var(--sand); text-decoration-thickness: 2px; text-underline-offset: .45rem; }
.button-header { margin-top: .55rem; border-color: #fff; background: #fff; color: var(--navy); }
.button-header:hover { border-color: #dcebf4; background: #dcebf4; color: var(--navy); }
.no-js .nav-toggle { display: none; }

.trust-bar { border-block: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: 1fr; }
.trust-link { min-width: 0; min-height: 5.2rem; display: flex; align-items: center; gap: .8rem; padding: .85rem .65rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.trust-link:last-child { border-bottom: 0; }
.trust-link:hover { background: var(--blue-pale); }
.trust-link img { width: 3.55rem; max-height: 2.15rem; flex: 0 0 auto; object-fit: contain; }
.trust-link .estate-mark { width: 2.35rem; max-height: 2.35rem; }
.trust-link strong { display: block; color: var(--navy); font-size: .9rem; line-height: 1.25; }
.trust-link small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.35; }

.page-hero { border-bottom: 1px solid var(--line); background: linear-gradient(118deg, #eef6fb 0%, #fff 72%); }
.page-hero .container { padding-block: clamp(3rem, 6vw, 5.5rem); }
.page-hero h1 { max-width: 55rem; }
.page-lead { max-width: 49rem; margin: 1.2rem 0 0; color: var(--navy); font-size: clamp(1.2rem, 2.3vw, 1.55rem); font-weight: 650; line-height: 1.45; }
.page-hero .button-row { margin-top: 1.8rem; }
.breadcrumbs { margin-bottom: 1.3rem; color: var(--muted); font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; list-style: none; }
.breadcrumbs li + li { margin-left: .3rem; padding-left: .7rem; border-left: 1px solid var(--line-strong); }
.breadcrumbs a { color: var(--blue); }

.contact-form { padding: 1.35rem; background: #fff; color: var(--ink); }
.form-heading { margin-bottom: 1.2rem; }
.form-heading h2, .form-heading h3 { margin-bottom: .25rem; }
.form-heading p { margin: 0; color: var(--muted); font-size: .85rem; }
.form-heading .callback-note { color: var(--blue); font-size: .98rem; font-weight: 750; }
.form-grid { display: grid; }
label { display: grid; gap: .38rem; margin-bottom: .9rem; color: var(--ink); font-size: .86rem; font-weight: 700; }
input, select, textarea { width: 100%; min-width: 0; padding: .7rem .75rem; border: 1px solid #aebfca; border-radius: 1px; background: #fff; color: var(--ink); }
input, select { min-height: 3rem; }
textarea { min-height: 7rem; resize: vertical; }
.optional { color: var(--muted); font-size: .75rem; font-weight: 500; }
.consent { grid-template-columns: 1.2rem 1fr; gap: .65rem; align-items: start; font-weight: 400; line-height: 1.45; }
.consent input { width: 1.15rem; min-height: 1.15rem; margin: .18rem 0 0; }
.consent a { color: var(--blue); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.button-full { width: 100%; }
.form-status { margin: .85rem 0 0; padding: .8rem; border-left: 3px solid var(--sand); background: var(--danger-bg); color: var(--danger-ink); font-size: .86rem; }
.form-status.is-success { border-left-color: #43805c; background: #eff8f2; color: #17462a; }
.form-status a { color: inherit; font-weight: 750; }
.contact-form[aria-busy="true"] { cursor: wait; }
.contact-form button:disabled { cursor: wait; opacity: .72; }
.form-note { margin: .8rem 0 0; color: #607483; font-size: .75rem; line-height: 1.5; }

.site-footer { padding-top: 3.5rem; background: var(--navy-deep); color: #fff; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.8rem; }
.footer-brand { display: grid; gap: .35rem; }
.footer-brand strong { font-size: 1.05rem; }
.footer-brand span, .footer-grid address { color: #b8cad5; font-size: .9rem; font-style: normal; }
.footer-grid nav { display: grid; align-content: start; gap: .48rem; }
.footer-grid nav strong { margin-bottom: .2rem; font-size: .88rem; }
.footer-grid a { color: #c7d5de; font-size: .88rem; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.15rem; border-top: 1px solid rgba(255,255,255,.13); color: #96adbb; font-size: .8rem; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; }
.legal-main, .error-main { min-height: 65vh; padding-block: clamp(3.5rem, 7vw, 6rem); }
.legal-copy, .error-copy { max-width: 52rem; }
.legal-copy h1, .error-copy h1 { margin-bottom: 1.6rem; font-size: clamp(2.55rem, 7vw, 4.1rem); }
.legal-copy h2 { margin: 2rem 0 .6rem; font-size: 1.55rem; }
.legal-copy h3 { margin: 1.35rem 0 .45rem; font-size: 1.15rem; }
.legal-copy address { font-style: normal; }
.back-link { display: inline-flex; margin-top: 1.5rem; color: var(--blue); font-weight: 750; }
.mobile-contact-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; padding: .5rem .65rem calc(.5rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); background: rgba(255,255,255,.98); box-shadow: 0 -5px 18px rgba(14,42,64,.12); transform: translateY(120%); visibility: hidden; transition: transform .2s ease, visibility .2s; }
.mobile-contact-bar.is-visible { transform: translateY(0); visibility: visible; }
.mobile-contact-bar a { min-height: 2.75rem; display: flex; align-items: center; justify-content: center; color: var(--blue); font-weight: 800; text-decoration: none; }
.mobile-contact-bar a:first-child { border-right: 1px solid var(--line); }

@media (min-width: 38.75rem) {
  .container { width: min(calc(100% - 3rem), var(--container)); }
  .button-row { flex-direction: row; align-items: center; }
  .trust-grid--4 { grid-template-columns: 1fr 1fr; }
  .trust-grid--4 .trust-link { border-right: 1px solid var(--line); }
  .trust-grid--4 .trust-link:nth-child(even) { border-right: 0; }
  .trust-grid--4 .trust-link:nth-last-child(-n+2) { border-bottom: 0; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 0 .9rem; }
  .contact-form { padding: 1.8rem; }
  .footer-grid { grid-template-columns: 1.2fr .9fr .9fr; }
}

@media (min-width: 70rem) {
  body { padding-bottom: 0; }
  .site-header, .header-inner { min-height: 5.2rem; }
  .nav-toggle, .mobile-contact-bar { display: none; }
  .site-nav, .js .site-nav { position: static; display: flex; align-items: center; gap: 1.35rem; max-height: none; overflow: visible; padding: 0; border: 0; background: transparent; }
  .brand-copy strong { font-size: 1rem; }
  .brand-copy small { font-size: .68rem; }
  .site-nav > a:not(.button) { min-height: 5.2rem; padding: 0; font-size: .9rem; }
  .button-header { min-height: 2.75rem; margin: 0 0 0 .35rem; }
  .trust-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .trust-grid--4 .trust-link, .trust-grid--4 .trust-link:nth-child(even) { min-height: 5.65rem; border-right: 1px solid var(--line); border-bottom: 0; }
  .trust-grid--4 .trust-link:last-child { border-right: 0; }
}

@media (max-width: 69.99rem) {
  body { padding-bottom: calc(3.75rem + env(safe-area-inset-bottom)); }
}

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