:root {
  --navy: #0c2340;
  --navy-deep: #061628;
  --blue: #002d62;
  --red: #c8102e;
  --red-dark: #a90d27;
  --orange: #ff8200;
  --white: #ffffff;
  --cloud: #f8fafc;
  --silver: #e2e8f0;
  --muted: #526173;
  --ink: #172433;
  --shadow: 0 18px 45px rgba(12, 35, 64, 0.12);
  --radius: 8px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Source Sans 3", sans-serif; font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); font-family: "Barlow Condensed", sans-serif; line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(3rem, 7vw, 5.75rem); max-width: 880px; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.45rem, 5vw, 4rem); }
h3 { font-size: 1.65rem; }
.container { width: min(calc(100% - 2.5rem), var(--container)); margin-inline: auto; }
.section { padding: 7rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 100; top: 0.5rem; left: 0.5rem; padding: 0.75rem 1rem; color: var(--white); background: var(--red); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { margin-bottom: 0.8rem; color: var(--red); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow.light { color: #ffb14f; }

.site-header { position: sticky; z-index: 20; top: 0; color: var(--white); background: var(--navy); border-bottom: 3px solid var(--red); }
.nav-shell { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; }
.brand-mark { width: 44px; aspect-ratio: 1; display: grid; place-items: center; flex: 0 0 auto; background: var(--red); border: 2px solid var(--white); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--red); }
.brand-mark span { font-family: "Barlow Condensed", sans-serif; font-size: 1rem; font-weight: 700; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.7rem; }
.brand-copy small { color: #bac7d6; font-size: 0.7rem; }
.primary-nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.92rem; font-weight: 600; }
.primary-nav > a:not(.button) { text-decoration: none; }
.primary-nav > a:not(.button):hover, .primary-nav > a:not(.button):focus-visible { color: #ffb14f; }
.menu-button { width: 44px; height: 44px; display: none; place-items: center; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,0.35); border-radius: 4px; }
.menu-icon, .menu-icon::before, .menu-icon::after { width: 20px; height: 2px; display: block; background: currentColor; content: ""; }
.menu-icon::before { transform: translateY(-6px); }
.menu-icon::after { transform: translateY(4px); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.25rem; border: 2px solid transparent; border-radius: 4px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 40px; padding: 0.55rem 0.85rem; }
.button-red { color: var(--white); background: var(--red); }
.button-red:hover { background: var(--red-dark); }
.button-navy { color: var(--white); background: var(--navy); }
.button-navy:hover { background: var(--blue); }
.button-orange { color: var(--navy-deep); background: var(--orange); }
.button-orange:hover { background: #ff9f32; }
.button-outline-light { color: var(--white); background: transparent; border-color: rgba(255,255,255,0.75); }
.button-outline-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.text-link { color: var(--red); font-weight: 700; }

.hero { min-height: clamp(560px, 78svh, 760px); display: grid; align-items: center; position: relative; isolation: isolate; color: var(--white); background-color: var(--navy-deep); background-image: linear-gradient(90deg, rgba(6,22,40,0.96) 0%, rgba(6,22,40,0.82) 52%, rgba(6,22,40,0.35) 100%), url("/images/icom-ic7300.jpg"); background-position: center; background-size: cover; }
.hero::after { position: absolute; z-index: -1; inset: auto 0 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 42%, var(--white) 42% 58%, var(--blue) 58%); content: ""; }
.hero-content { padding-block: 4.5rem; }
.hero h1 { margin-bottom: 1.4rem; color: var(--white); }
.hero-lede { max-width: 690px; margin-bottom: 2rem; color: #e7edf4; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-facts { display: flex; gap: clamp(2rem, 6vw, 5rem); margin: 3.25rem 0 0; padding: 0; list-style: none; }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 2rem; line-height: 1; }
.hero-facts span { color: #bdcad8; font-size: 0.82rem; }
.trust-bar { color: var(--navy); background: var(--cloud); border-bottom: 1px solid var(--silver); }
.trust-items { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.trust-items p { margin: 0; font-size: 0.95rem; }
.status-dot { width: 0.55rem; height: 0.55rem; display: inline-block; margin-right: 0.5rem; background: #16834a; border-radius: 50%; box-shadow: 0 0 0 4px rgba(22,131,74,0.12); }

.section-heading { margin-bottom: 3rem; }
.split-heading { display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: end; gap: 4rem; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { color: var(--muted); }
.exam-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; }
.location-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--white); border: 1px solid var(--silver); border-top: 5px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow); }
.location-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; }
.badge { padding: 0.28rem 0.65rem; color: var(--navy-deep); background: #fff0db; border: 1px solid #ffd199; border-radius: 999px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; }
.availability { color: var(--muted); font-size: 0.82rem; }
.location-card h3 { margin-bottom: 0.5rem; font-size: clamp(2.2rem, 5vw, 3.35rem); }
.location-card address { color: var(--muted); font-style: normal; font-size: 1.15rem; }
.location-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin: 2.25rem 0 1.5rem; }
.location-note { margin-bottom: 0; padding-top: 1.25rem; color: var(--muted); border-top: 1px solid var(--silver); font-size: 0.9rem; }
.policy-list { display: flex; flex-direction: column; }
.policy-list article { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.7rem 0; border-bottom: 1px solid var(--silver); }
.policy-list article:first-child { padding-top: 0.5rem; }
.policy-number { color: var(--red); font-family: "Barlow Condensed", sans-serif; font-size: 1.25rem; font-weight: 700; }
.policy-list h3 { margin-bottom: 0.35rem; }
.policy-list p { margin-bottom: 0; color: var(--muted); }

.prepare-section { color: #dce7f1; background: var(--navy); }
.prepare-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.prepare-intro { position: sticky; top: 120px; align-self: start; }
.prepare-intro h2 { color: var(--white); }
.prepare-intro p:not(.eyebrow) { margin-bottom: 2rem; color: #bdcad8; }
.steps-list { margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.steps-list li { display: grid; grid-template-columns: 66px 1fr; gap: 1.25rem; padding: 0 0 2.5rem; position: relative; }
.steps-list li:not(:last-child)::after { position: absolute; top: 52px; bottom: 0.35rem; left: 24px; width: 1px; background: #4a6078; content: ""; }
.step-number { width: 50px; height: 50px; display: grid; place-items: center; color: var(--navy-deep); background: var(--orange); border-radius: 50%; font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; font-weight: 700; }
.steps-list h3 { margin-bottom: 0.6rem; color: var(--white); font-size: 1.9rem; }
.steps-list p { margin-bottom: 0.65rem; color: #bdcad8; }
.steps-list a { color: #ffb14f; font-weight: 700; }

.team-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.team-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.team-values { border-top: 1px solid var(--silver); }
.team-values article { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--silver); }
.team-values strong { color: var(--red); font-family: "Barlow Condensed", sans-serif; font-size: 1.55rem; }
.team-values span { color: var(--muted); }

.contact-section { color: var(--white); background: var(--blue); }
.contact-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(3rem, 8vw, 7rem); }
.contact-copy h2 { color: var(--white); }
.contact-copy p:not(.eyebrow) { color: #d2deec; }
.contact-copy a { color: #ffb14f; font-weight: 700; }
.contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); color: var(--ink); background: var(--white); border-radius: var(--radius); box-shadow: 0 22px 55px rgba(0,0,0,0.22); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; margin-bottom: 1rem; color: var(--navy); font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; display: block; margin-top: 0.35rem; padding: 0.75rem 0.85rem; color: var(--ink); background: var(--cloud); border: 1px solid #b7c3d1; border-radius: 4px; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 3px solid rgba(255,130,0,0.35); border-color: var(--orange); }
.form-alert { padding: 0.75rem 1rem; border-radius: 4px; font-weight: 600; }
.form-alert.success { color: #0d6135; background: #e9f8f0; border: 1px solid #94d4af; }
.form-alert.error { color: #891326; background: #fff0f2; border: 1px solid #efabb7; }
.form-note { margin: 0.8rem 0 0; color: var(--muted); font-size: 0.9rem; }

.site-footer { padding-top: 4.5rem; color: #bac7d6; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.8fr 0.9fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer-grid h2 { margin-bottom: 0.9rem; color: var(--white); font-size: 1.25rem; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid a { margin-bottom: 0.45rem; color: #dce7f1; text-decoration: none; }
.footer-grid a:hover { color: #ffb14f; }
.footer-brand strong { color: var(--white); font-family: "Barlow Condensed", sans-serif; font-size: 2.4rem; }
.footer-bottom { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid #2b4057; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem; text-align: center; background: var(--cloud); }
.error-page main { max-width: 620px; }
.error-page h1 { font-size: clamp(3rem, 10vw, 6rem); }
.error-page p:not(.eyebrow) { color: var(--muted); font-size: 1.2rem; }

@media (max-width: 1050px) {
  .menu-button { display: grid; }
  .primary-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; padding: 1rem max(1.25rem, calc((100% - var(--container)) / 2)); background: var(--navy); border-bottom: 3px solid var(--red); box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 0.5rem 0; }
  .primary-nav .button { margin-top: 0.5rem; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .section { padding: 5rem 0; }
  .brand-copy small { display: none; }
  .hero { min-height: 680px; background-position: 65% center; }
  .hero-facts { gap: 1.5rem; justify-content: space-between; }
  .hero-facts strong { font-size: 1.6rem; }
  .trust-items { align-items: flex-start; flex-direction: column; padding-block: 1.25rem; }
  .split-heading, .exam-layout, .prepare-layout, .team-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-heading { align-items: start; }
  .prepare-intro { position: static; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 1rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  .hero-actions, .hero-actions .button, .location-actions, .location-actions .button { width: 100%; }
  .hero-facts span { max-width: 78px; }
  .location-topline { align-items: flex-start; flex-direction: column; }
  .team-values article { grid-template-columns: 1fr; gap: 0.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child, .footer-brand { grid-column: auto; }
}

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