:root {
  --navy: #0b376f;
  --navy-2: #082d5a;
  --teal: #058b92;
  --teal-dark: #006f77;
  --teal-soft: #eaf7f8;
  --blue-soft: #eef5ff;
  --ink: #26384f;
  --muted: #5d6c7f;
  --line: #dbe4ec;
  --paper: #ffffff;
  --surface: #f8fbfd;
  --shadow: 0 14px 36px rgba(12, 50, 88, .10);
  --radius: 18px;
  --focus: 0 0 0 4px rgba(5, 139, 146, .24);
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--teal-dark); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 9999;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(1340px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(219,228,236,.95);
  box-shadow: 0 6px 22px rgba(8,45,90,.05);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img { width: 60px; height: 60px; }
.brand-name {
  font: 700 clamp(1.45rem, 2.25vw, 2.15rem)/1.05 var(--font-display);
  letter-spacing: -.025em;
}
.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 42px); }
.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: var(--navy-2);
  font-size: .98rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, #fff 0 44%, #f4fafb 44% 100%);
}
.hero-grid {
  min-height: 378px;
  display: grid;
  grid-template-columns: 42% 58%;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 38px 38px max(24px, calc((100vw - 1340px)/2));
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  color: var(--navy);
  font: 700 clamp(2.35rem, 4.1vw, 3.55rem)/1.04 var(--font-display);
  letter-spacing: -.035em;
}
.hero-copy > p:not(.eyebrow) {
  max-width: 590px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.35vw, 1.18rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border: 2px solid transparent;
  border-radius: 9px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(8,45,90,.13); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff; }
.btn-primary:hover { color: #fff; }
.btn-outline { background: #fff; color: var(--teal-dark); border-color: var(--teal); }
.btn-navy { background: linear-gradient(135deg, var(--navy), #0a4689); color: #fff; }
.btn-navy:hover { color: #fff; }

.hero-media {
  min-height: 378px;
  overflow: hidden;
  background: #eef5f5;
}
.hero-media picture,
.hero-media img { width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 58% center; }

.services-strip { padding: 26px 0 22px; background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  min-height: 168px;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8,45,90,.06);
}
.icon-disc {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #eff7f8, #dfecef);
  color: var(--navy);
}
.icon-disc svg { width: 36px; height: 36px; }
.service-card h2 { margin: 1px 0 6px; color: var(--navy); font: 700 1.18rem/1.14 var(--font-display); }
.service-card p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.5; }

.feature-zone { padding: 0 0 24px; background: #fff; }
.feature-grid { display: grid; grid-template-columns: 2.3fr 1fr 1fr; gap: 20px; }
.access-card {
  min-height: 250px;
  display: grid;
  grid-template-columns: 60% 40%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff 0, #f3fbfc 100%);
  box-shadow: var(--shadow);
}
.access-media { min-height: 250px; overflow: hidden; }
.access-media picture,
.access-media img { width: 100%; height: 100%; }
.access-media img { object-fit: cover; object-position: center 55%; }
.access-copy { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.access-copy h2 { margin: 0; color: var(--navy); font: 700 1.72rem/1.08 var(--font-display); }
.rule { width: 78px; height: 4px; margin: 15px 0 14px; border-radius: 99px; background: var(--teal); }
.check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: .9rem; }
.check {
  width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .74rem; font-weight: 900;
}
.cta-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 22px;
  border: 2px solid #7acbd0;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-card.portal { border-color: #bad6f4; background: linear-gradient(145deg, #fff, #eef6ff); }
.cta-card .icon-disc { width: 58px; height: 58px; background: var(--teal); color: #fff; }
.cta-card.portal .icon-disc { background: var(--navy); }
.cta-card h2 { margin: 16px 0 6px; color: var(--navy); font-size: 1.08rem; line-height: 1.25; }
.cta-card p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.cta-card .btn { width: 100%; padding-inline: 18px; }

.contact-ribbon {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdff, #f3f8fb);
}
.contact-grid {
  min-height: 98px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr .8fr 1.25fr;
  align-items: center;
  gap: 24px;
}
.contact-item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.contact-item .icon-disc { width: 48px; height: 48px; flex: 0 0 auto; background: var(--navy); color: #fff; }
.contact-item .icon-disc svg { width: 26px; height: 26px; }
.contact-item a, .contact-item span { color: var(--navy-2); font-size: .94rem; text-decoration: none; overflow-wrap: anywhere; }
.footer-brand { justify-content: flex-end; }
.footer-brand img { width: 56px; height: 56px; }
.footer-brand strong { display: block; color: var(--navy); font: 700 1.35rem/1.05 var(--font-display); }
.footer-brand small { display: block; margin-top: 5px; color: var(--teal-dark); font-weight: 700; }

.site-footer {
  padding: 22px 0 30px;
  background: var(--navy-2);
  color: #dbe9f6;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }

.page-hero {
  padding: 72px 0 62px;
  background: linear-gradient(135deg, #f4fafb, #edf5ff);
  border-bottom: 1px solid var(--line);
}
.page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--muted); font-size: 1.12rem; }
.page-section { padding: 60px 0; }
.page-section.alt { background: var(--surface); }
.section-title { margin: 0 0 12px; color: var(--navy); font: 700 clamp(2rem, 4vw, 3.1rem)/1.1 var(--font-display); }
.section-lead { max-width: 800px; margin: 0 0 30px; color: var(--muted); }
.content-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(8,45,90,.07);
}
.info-card h2, .info-card h3 { margin-top: 0; color: var(--navy); font-family: var(--font-display); }
.info-card p:last-child { margin-bottom: 0; }

.form-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label, legend { color: var(--navy-2); font-weight: 900; }
.required { color: #a00016; }
input, select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 2px solid #cbd8e4;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: var(--focus); outline: none; }
.help { margin: 0; color: var(--muted); font-size: .88rem; }
.check-row { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.check-row input { width: 22px; min-height: 22px; margin-top: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.notice {
  padding: 18px 20px;
  border-left: 5px solid var(--teal);
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--navy-2);
}
.portal-shell { max-width: 620px; margin: 0 auto; }
.portal-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f0f7ff);
  box-shadow: var(--shadow);
}
.portal-card .icon-disc { margin: 0 auto 18px; width: 72px; height: 72px; background: var(--navy); color: #fff; }
.portal-card h1 { margin: 0 0 10px; color: var(--navy); text-align: center; font-family: var(--font-display); }
.portal-card > p { color: var(--muted); text-align: center; }
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { text-align: center; }
.contact-card .icon-disc { margin: 0 auto 16px; background: var(--navy); color: #fff; }
.contact-card a { font-weight: 800; text-decoration: none; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1120px) {
  .header-inner { min-height: 82px; }
  .brand img { width: 52px; height: 52px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .9rem; }
  .hero-grid { grid-template-columns: 48% 52%; }
  .hero-copy { padding-left: 34px; padding-right: 30px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1.5fr 1fr; }
  .access-card { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
  .footer-brand { justify-content: flex-start; }
}

@media (max-width: 840px) {
  .container { width: min(100% - 32px, 720px); }
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 4px 12px; }
  .site-nav a::after { left: 12px; right: 12px; }
  .hero { background: #fff; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 44px 24px; }
  .hero-media { min-height: 330px; order: -1; }
  .hero-media img { object-position: center; }
  .feature-grid { grid-template-columns: 1fr; }
  .access-card { grid-template-columns: 1fr; }
  .access-media { min-height: 230px; }
  .contact-grid, .content-grid, .contact-cards { grid-template-columns: 1fr; }
  .contact-item, .footer-brand { justify-content: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: min(100% - 24px, 520px); }
  .header-inner { min-height: 74px; }
  .brand { gap: 9px; }
  .brand img { width: 45px; height: 45px; }
  .brand-name { max-width: 185px; font-size: 1.28rem; }
  .nav-toggle { width: 46px; height: 46px; }
  .hero-media { min-height: 260px; }
  .hero-copy { padding: 34px 18px 40px; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.2rem); }
  .hero-actions, .form-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 62px 1fr; }
  .icon-disc { width: 56px; height: 56px; }
  .access-copy { padding: 26px 22px; }
  .contact-grid { gap: 18px; }
  .contact-item .icon-disc { width: 44px; height: 44px; }
}

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