:root {
  --navy: #263746;
  --navy-2: #314c5a;
  --navy-3: #3d6470;
  --teal: #006b78;
  --teal-hover: #00515c;
  --teal-bright: #6fe6ef;
  --cyan: #2ec9df;
  --cyan-soft: #e7f9fc;
  --blue: #005ea8;
  --blue-hover: #004578;
  --gold: #8a6500;
  --gold-soft: #fff4bd;
  --sun: #ffd426;
  --ink: #273238;
  --muted: #465860;
  --line: #c6d8dc;
  --paper: #f3fafb;
  --white: #ffffff;
  --focus: #005ea8;
  --danger: #8b0a1e;
  --ok: #006b78;
  --shadow: 0 14px 36px rgba(38, 55, 70, 0.12);
  --radius: 12px;
  --wrap: 72rem;
  --header-h: 5.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover { color: var(--blue-hover); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(calc(100% - 2rem), var(--wrap));
  margin-inline: auto;
}

.fqhc-banner {
  background: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
}

.fqhc-banner .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}

.fqhc-banner p { margin: 0; }

.fqhc-banner a {
  color: var(--teal-bright);
  font-weight: 600;
  text-decoration: none;
}

.fqhc-banner a:hover { color: var(--white); }

.banner-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
}

.lang-switch a[aria-current="true"] {
  color: var(--white);
}

.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--sun);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 5px 18px rgba(38, 55, 70, 0.08);
}

.status-bar a {
  color: var(--blue);
  font-weight: 700;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  background: var(--navy);
  color: var(--white);
  border: 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.site-nav ul {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.site-nav ul {
  flex-wrap: nowrap;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.55rem;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--gold-soft);
  color: var(--navy);
}

.notice-banner {
  background: var(--sun);
  color: var(--ink);
  border-bottom: 2px solid var(--navy);
  font-size: 0.9rem;
}

.notice-banner .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0;
}

.notice-banner p { margin: 0; }

.notice-banner a { font-weight: 700; }

.notice-banner.is-dismissed { display: none; }

.notice-close {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.1rem 0.35rem;
}

.notice-close:hover,
.notice-close:focus-visible { color: var(--teal); }

.status-bar {
  background: var(--sun);
  color: var(--ink);
  border-bottom: 3px solid var(--navy);
  font-size: 0.95rem;
}

.status-bar .wrap {
  padding: 0.7rem 0;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.status-bar strong { color: var(--navy); }

.hero {
  position: relative;
  min-height: 32rem;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--navy) center/cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(38, 55, 70, 0.96) 0%, rgba(38, 55, 70, 0.82) 48%, rgba(0, 107, 120, 0.38) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 3.25rem;
  max-width: var(--wrap);
}

.hero-content > h1,
.hero-content > .lede {
  max-width: 44rem;
}

.kicker {
  display: inline-block;
  background: var(--sun);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.hero h1,
h1, h2, h3, h4 {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.75rem;
  scroll-margin-top: 6.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 600;
}

.lede {
  font-size: 1.15rem;
  color: #e8eef3;
  margin: 0 0 1.5rem;
}

.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--teal) 100%);
  color: var(--white);
  padding: 2.75rem 0 2.4rem;
  border-bottom: 7px solid var(--sun);
}

.page-hero .breadcrumbs { color: #c5d2dc; }
.page-hero .breadcrumbs a { color: var(--teal-bright); }

.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-hero p { margin: 0; max-width: 46rem; color: #d7e2ea; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.85rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 81, 92, 0.2);
}

.btn-primary:hover {
  background: var(--teal-hover);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.section { padding: 4rem 0; }
.section-alt {
  background:
    linear-gradient(135deg, rgba(46, 201, 223, 0.08), transparent 42%),
    var(--paper);
}
.section h2 { font-size: 2rem; }

.eyebrow {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: -2.4rem;
  position: relative;
  z-index: 2;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem 1.05rem;
  box-shadow: var(--shadow);
}

.stat:nth-child(even) { border-top-color: var(--sun); }

.stat b {
  display: block;
  font-size: 1.7rem;
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
}

.stat span { color: var(--muted); font-size: 0.92rem; }

.grid-2, .grid-3, .cards { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.grid-3, .cards { grid-template-columns: repeat(3, 1fr); }

.card, .panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(38, 55, 70, 0.08);
}

.card img, .media img { width: 100%; height: 14rem; object-fit: cover; }

.media-feature img {
  height: min(28rem, 56vw);
  object-position: center 35%;
}

.card-body, .panel { padding: 1.25rem 1.3rem 1.4rem; }

.card h3, .panel h3 { font-size: 1.3rem; }

.prose { max-width: 48rem; }
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 48rem; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .checklist { padding-left: 1.15rem; }
.prose li + li, .checklist li + li { margin-top: 0.4rem; }

.letter {
  background: var(--white);
  border-left: 7px solid var(--sun);
  padding: 1.5rem 1.5rem 1.3rem;
  box-shadow: var(--shadow);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.letter .signoff { margin-bottom: 0.2rem; font-weight: 700; color: var(--navy); }

.values { display: grid; gap: 1rem; }
.value {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.value b { color: var(--teal); }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
}

caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--navy);
}

th, td {
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

th { background: var(--teal); color: var(--white); font-weight: 700; }
tr:nth-child(even) td { background: #f7fafb; }

.table-wrap { overflow-x: auto; }

.alert {
  border: 2px solid var(--gold);
  background: var(--gold-soft);
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}

.alert-info {
  background: var(--cyan-soft);
  border-color: var(--teal);
}

.toc {
  background: var(--cyan-soft);
  border: 1px solid var(--line);
  border-left: 6px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.toc h2 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.toc ol { margin: 0; padding-left: 1.2rem; }

details {
  border: 1px solid var(--line);
  background: var(--white);
  margin-bottom: 0.6rem;
}

details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.9rem 1rem;
  color: var(--navy);
}

details[open] summary { border-bottom: 1px solid var(--line); }
details .detail-body { padding: 0.9rem 1rem 1rem; }

.person {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-top: 5px solid var(--cyan);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(38, 55, 70, 0.08);
}

.avatar {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.person h3 { margin-bottom: 0.15rem; }
.role { color: var(--teal); font-weight: 700; margin: 0 0 0.6rem; }

form {
  display: grid;
  gap: 0.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 6px solid var(--cyan);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

label { font-weight: 700; color: var(--navy); display: block; margin-bottom: 0.3rem; }

input, select, textarea {
  width: 100%;
  font: inherit;
  padding: 0.7rem 0.75rem;
  border: 1px solid #8a9aa8;
  border-radius: 4px;
  background: var(--white);
}

.req { color: var(--danger); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
}

.footer {
  background: var(--navy);
  color: #d5dee6;
  padding: 3rem 0 1.4rem;
  margin-top: 2rem;
  border-top: 8px solid var(--cyan);
}

.footer a { color: var(--teal-bright); }
.footer h2 { color: var(--white); font-size: 1.15rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.88rem;
}

.breadcrumbs {
  font-size: 0.92rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.breadcrumbs a { color: var(--blue); }

.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sticky-aside {
  position: sticky;
  top: 6.5rem;
}

.media {
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(38, 55, 70, 0.08);
}
.media figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.55rem 0.75rem 0.7rem;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 12rem 12rem;
  gap: 0.6rem;
}

.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery a:first-child { grid-row: 1 / span 2; }

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

@media (max-width: 980px) {
  .brand-text strong { font-size: 0.95rem; }
  .header-inner { min-height: 4.25rem; }
  .stats, .grid-3, .cards, .footer-grid, .contact-grid, .split, .grid-2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery a:first-child { grid-row: auto; grid-column: 1 / span 2; }
  .value { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem 1rem 1rem;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-header { position: sticky; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; margin-top: 1.25rem; }
  .hero { min-height: 24rem; }
  .header-inner { min-height: 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .fqhc-banner, .site-header, .status-bar, .notice-banner, .footer, .actions, .nav-toggle { display: none !important; }
  a { color: var(--ink); text-decoration: none; }
  body { background: white; }
}
