/* ─── Design Tokens ─── */
:root {
  --navy: #082a66;
  --blue: #2e6bba;
  --soft-white: #f8fafc;
  --warm: #f5f7f8;
  --gold: #c9a962;
  --red: #c41e3a;
  --accent: #e06345;
  --text: #0f1f3d;
  --text-2: #4a5f7a;
  --text-3: #6b7f99;
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow: 0 4px 24px rgba(8, 42, 102, 0.08);
  --font-heading: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --font-display: var(--font-heading);

  /* Typography scale */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.625rem, 3.25vw, 2.125rem);
  --text-3xl: clamp(1.875rem, 3.75vw, 2.375rem);
  --text-hero: clamp(2rem, 4.25vw, 3.125rem);

  --leading-tight: 1.22;
  --leading-snug: 1.35;
  --leading-normal: 1.65;
  --leading-relaxed: 1.75;

  --tracking-tight: -0.015em;
  --tracking-normal: 0;
  --tracking-wide: 0.12em;

  --header-h: 4rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--soft-white);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "kern" 1, "liga" 1;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-base);
}
ul { list-style: none; }

.container { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.container--wide {
  max-width: 82rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 768px) {
  .container--wide { padding-left: 2.5rem; padding-right: 2.5rem; }
}
@media (min-width: 1280px) {
  .container--wide { padding-left: 3rem; padding-right: 3rem; }
}

/* ─── Typography ─── */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.eyebrow--gold { color: var(--gold); }

h1, h2, h3, h4, .display {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--navy);
  font-optical-sizing: auto;
}

h3 { line-height: var(--leading-snug); font-weight: 500; }
h4 { font-family: var(--font-body); font-weight: 600; line-height: var(--leading-snug); }

.section-title {
  font-size: var(--text-2xl);
  line-height: var(--leading-snug);
  font-weight: 500;
}
.section-desc {
  color: var(--text-2);
  margin-top: 0.875rem;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  max-width: 36rem;
}

.text-body { font-size: var(--text-base); line-height: var(--leading-normal); }
.text-body-lg { font-size: var(--text-md); line-height: var(--leading-relaxed); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 4px 20px rgba(46, 107, 186, 0.3); }
.btn--primary:hover { background: #2563a8; transform: translateY(-1px); }
.btn--ghost { border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }
.btn--outline { border: 1px solid rgba(8,42,102,0.15); color: var(--navy); background: #fff; }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #a81830; }
.btn--text { color: rgba(255,255,255,0.9); padding: 0.85rem 1rem; }
.btn--text:hover { color: #fff; }

/* ─── Header ─── */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
}

/* Glass over hero */
.header:not(.is-scrolled):not(.header--solid) {
  background: rgba(8, 42, 102, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header--solid,
.header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(8, 42, 102, 0.06);
}

.header--solid .nav-link,
.header.is-scrolled .nav-link { color: rgba(8, 42, 102, 0.75); }
.header--solid .nav-link:hover,
.header.is-scrolled .nav-link:hover { color: var(--navy); }
.header--solid .logo img,
.header.is-scrolled .logo img { mix-blend-mode: normal; }
.header--solid .btn--ghost-nav,
.header.is-scrolled .btn--ghost-nav {
  border-color: rgba(8, 42, 102, 0.14);
  background: #fff;
  color: var(--navy);
}
.header--solid .btn--ghost-nav.is-active,
.header.is-scrolled .btn--ghost-nav.is-active {
  border-color: rgba(46, 107, 186, 0.3);
  background: rgba(46, 107, 186, 0.08);
  color: var(--blue);
}
.header--solid .menu-toggle,
.header.is-scrolled .menu-toggle { color: var(--navy); }

.nav-bar .container,
.nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  min-height: var(--header-h);
  gap: 1.25rem;
}

@media (min-width: 1200px) {
  .nav-bar__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2.5rem;
  }
}

.logo { flex-shrink: 0; }
.logo img {
  height: 2.35rem;
  width: auto;
  mix-blend-mode: screen;
  transition: transform 0.3s;
}
.logo:hover img { transform: scale(1.02); }

.nav-links {
  display: none;
  align-items: center;
}
@media (min-width: 1200px) {
  .nav-links { display: flex; }
  .nav-links--center {
    justify-content: center;
    gap: 0.15rem;
  }
}

.nav-link {
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-link.active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.header--solid .nav-link.active,
.header.is-scrolled .nav-link.active {
  background: rgba(46, 107, 186, 0.1);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.btn--ghost-nav {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.btn--ghost-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn--ghost-nav.is-active {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}
@media (min-width: 640px) { .btn--ghost-nav { display: inline-flex; } }

.btn--red-nav {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  border-radius: 999px;
}

.menu-toggle { display: flex; color: #fff; padding: 0.5rem; }
@media (min-width: 1200px) { .menu-toggle { display: none; } }

.mobile-menu {
  display: none;
  background: #fff;
  border-bottom: 1px solid rgba(8,42,102,0.08);
  padding: 1rem 1.25rem 1.5rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(8,42,102,0.06);
  font-weight: 500;
  color: var(--navy);
}
.mobile-menu a.active { color: var(--blue); }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__video-wrap {
  position: absolute;
  inset: 0;
}
.hero__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,42,102,0.85), rgba(8,42,102,0.55) 50%, rgba(8,42,102,0.25));
}
.hero__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,248,240,0.1), transparent 50%, rgba(46,107,186,0.08));
}
.hero__fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12rem;
  background: linear-gradient(to top, rgba(8,42,102,0.6), transparent);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 12rem;
}
@media (min-width: 640px) { .hero__content { padding-bottom: 14rem; } }
@media (min-width: 1024px) { .hero__content { padding-bottom: 16.5rem; } }
.hero h1 {
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.24;
  color: #fff;
  max-width: 36rem;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  margin-top: 1.35rem;
  font-size: var(--text-md);
  color: rgba(255,255,255,0.85);
  max-width: 34rem;
  line-height: var(--leading-relaxed);
  font-weight: 400;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 36rem;
}
@media (min-width: 640px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stats strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__stats span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
}

.hero__actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 1.5rem 0 2.25rem;
}
@media (min-width: 768px) { .hero__actions { padding: 2rem 0 2.75rem; } }
@media (min-width: 1024px) { .hero__actions { padding: 2.25rem 0 3rem; } }

.hero__action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
@media (min-width: 640px) {
  .hero__action-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1100px) {
  .hero__action-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
  }
}

.action-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 6.75rem;
  padding: 1.35rem 1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  color: var(--navy);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
@media (min-width: 640px) {
  .action-card {
    min-height: 7.25rem;
    padding: 1.5rem 1.1rem 1.35rem;
    gap: 1rem;
  }
}
@media (min-width: 1100px) {
  .action-card {
    min-height: 7.75rem;
    padding: 1.6rem 1.15rem 1.4rem;
  }
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(8, 42, 102, 0.16), 0 0 0 1px rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.98);
}
.action-card:hover .action-card__icon { transform: scale(1.08); }

.action-card--red {
  background: rgba(196, 30, 58, 0.94);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.action-card--red:hover {
  box-shadow: 0 14px 44px rgba(196, 30, 58, 0.32), 0 0 24px rgba(196, 30, 58, 0.15);
  background: rgba(196, 30, 58, 0.98);
}

.action-card--blue {
  background: rgba(46, 107, 186, 0.94);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}
.action-card--blue:hover {
  box-shadow: 0 14px 44px rgba(46, 107, 186, 0.32), 0 0 24px rgba(46, 107, 186, 0.15);
  background: rgba(46, 107, 186, 0.98);
  border-color: rgba(255, 255, 255, 0.28);
}
.action-card--blue .action-card__icon {
  background: rgba(255, 255, 255, 0.16);
}
.action-card--blue:hover .action-card__icon {
  background: rgba(255, 255, 255, 0.22);
}
.action-card--blue:hover .action-card__icon--img {
  background: #fff !important;
}

.action-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(46, 107, 186, 0.1);
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
@media (min-width: 640px) {
  .action-card__icon { width: 3.25rem; height: 3.25rem; }
}
.action-card__icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--blue);
}
@media (min-width: 640px) {
  .action-card__icon svg { width: 1.65rem; height: 1.65rem; }
}
.action-card--red .action-card__icon {
  background: rgba(255, 255, 255, 0.16);
}
.action-card--red .action-card__icon svg { color: #fff; }
.action-card--red:hover .action-card__icon { background: rgba(255, 255, 255, 0.22); }

.action-card__icon--img {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 0.35rem;
}
.action-card--red:hover .action-card__icon--img {
  background: #fff !important;
}
.action-card__icon-img {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  display: block;
}
@media (min-width: 640px) {
  .action-card__icon-img { width: 1.85rem; height: 1.85rem; }
}

.info-card__icon--emergency {
  background: rgba(196, 30, 58, 0.08) !important;
  padding: 0.25rem;
}
.info-card__icon--emergency img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
}
.info-card:hover .info-card__icon--emergency {
  background: rgba(196, 30, 58, 0.12) !important;
}

.info-card__icon--calendar {
  background: rgba(46, 107, 186, 0.1) !important;
  padding: 0.25rem;
}
.info-card__icon--calendar img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
}
.info-card:hover .info-card__icon--calendar {
  background: rgba(46, 107, 186, 0.16) !important;
}

.info-card__icon--doctor {
  background: rgba(46, 107, 186, 0.1) !important;
  padding: 0.25rem;
}
.info-card__icon--doctor img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  display: block;
}
.info-card:hover .info-card__icon--doctor {
  background: rgba(46, 107, 186, 0.16) !important;
}

.action-card__label {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  max-width: 9rem;
}
@media (min-width: 640px) {
  .action-card__label { font-size: 0.9375rem; }
}
@media (min-width: 1100px) {
  .action-card__label { font-size: 0.95rem; }
}

.scroll-hint {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
  display: none;
}
@media (min-width: 1024px) { .scroll-hint { display: block; } }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ─── Sections ─── */
.section { padding: 5rem 0; }
.section--warm { background: var(--warm); }
.section--white { background: #fff; }

.section-header {
  margin-bottom: 3rem;
}
.section-header--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
.link-arrow { font-size: 0.875rem; font-weight: 600; color: var(--blue); }
.link-arrow:hover { color: var(--navy); }

/* ─── Why CMC ─── */
.why-cmc {
  --why-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --why-dur: 1.15s;
  padding: 6rem 0;
  opacity: 0;
  transform: translateY(3rem);
  filter: blur(8px);
  transition:
    opacity var(--why-dur) var(--why-ease),
    transform var(--why-dur) var(--why-ease),
    filter 1.35s var(--why-ease);
  will-change: opacity, transform, filter;
}
@media (min-width: 768px) {
  .why-cmc { padding: 7rem 0; }
}
.why-cmc.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.why-cmc__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .why-cmc__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
  }
}

.why-cmc__title {
  margin-bottom: 0;
}
.why-cmc__title-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.05em;
}
.why-cmc__line-inner {
  display: block;
  transform: translateY(108%);
  opacity: 0;
  transition:
    transform 1.05s var(--why-ease),
    opacity 0.85s var(--why-ease);
}
.why-cmc.is-revealed [data-reveal="line-1"] .why-cmc__line-inner {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.42s;
}
.why-cmc.is-revealed [data-reveal="line-2"] .why-cmc__line-inner {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.58s;
}

.why-cmc__reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.95s var(--why-ease),
    transform 0.95s var(--why-ease);
}
.why-cmc__reveal[data-reveal="eyebrow"] { transform: translateY(1.25rem); }
.why-cmc__reveal[data-reveal="image"] {
  opacity: 0;
  transform: translateY(2rem) scale(0.98);
  transition:
    opacity 1.1s var(--why-ease),
    transform 1.2s var(--why-ease);
}
.why-cmc__reveal[data-reveal="quote"] {
  transform: translateY(1.5rem);
}

.why-cmc.is-revealed [data-reveal="eyebrow"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.28s;
}
.why-cmc.is-revealed [data-reveal="lead"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.72s;
}
.why-cmc.is-revealed [data-reveal="text"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.88s;
}
.why-cmc.is-revealed [data-reveal="stat-1"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1.05s;
}
.why-cmc.is-revealed [data-reveal="stat-2"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1.22s;
}
.why-cmc.is-revealed [data-reveal="stat-3"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1.39s;
}
.why-cmc.is-revealed [data-reveal="stat-4"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 1.56s;
}
.why-cmc.is-revealed [data-reveal="image"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.65s;
}
.why-cmc.is-revealed [data-reveal="quote"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.75s;
}

.why-cmc__lead {
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  max-width: 34rem;
}
.why-cmc__text {
  margin-top: 1.25rem;
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--text-2);
  max-width: 32rem;
}

.why-cmc__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (min-width: 640px) {
  .why-cmc__stats { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
@media (min-width: 1024px) {
  .why-cmc__stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.why-cmc__stat {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8, 42, 102, 0.08);
  background: var(--soft-white);
  transform: translateY(1.75rem) scale(0.97);
  transition:
    opacity 0.95s var(--why-ease),
    transform 0.95s var(--why-ease),
    box-shadow 0.45s var(--why-ease),
    border-color 0.45s var(--why-ease);
}
.why-cmc__stat:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 14px 44px rgba(8, 42, 102, 0.1),
    0 0 0 1px rgba(46, 107, 186, 0.08);
  border-color: rgba(46, 107, 186, 0.14);
}
.why-cmc.is-revealed .why-cmc__stat:hover {
  transform: translateY(-4px) scale(1.01);
}
.why-cmc__stat strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.why-cmc__stat span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
}

.why-cmc__visual {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-cmc__image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(8, 42, 102, 0.12);
}
.why-cmc__image-inner {
  position: absolute;
  inset: 0;
  transform: scale(1.03);
  transition: transform 1.35s var(--why-ease);
}
.why-cmc.is-revealed .why-cmc__image-inner {
  transform: scale(1);
}
.why-cmc__image:hover .why-cmc__image-inner {
  transform: scale(1.02);
}
.why-cmc__image-float {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}
.why-cmc__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-cmc__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 42, 102, 0.45), transparent 55%);
  pointer-events: none;
}

.why-cmc__quote {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, rgba(46, 107, 186, 0.06), rgba(8, 42, 102, 0.03));
  transition:
    opacity 0.95s var(--why-ease),
    transform 0.95s var(--why-ease),
    box-shadow 0.5s var(--why-ease),
    border-color 0.5s var(--why-ease);
}
.why-cmc__quote:hover {
  border-left-color: #d4b87a;
  box-shadow: 0 10px 36px rgba(201, 169, 98, 0.14);
}
.why-cmc__quote p {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  line-height: var(--leading-snug);
}
.why-cmc__quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .why-cmc,
  .why-cmc__reveal,
  .why-cmc__line-inner,
  .why-cmc__stat,
  .why-cmc__image-inner,
  .why-cmc__image-float {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.info-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8,42,102,0.08);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.info-card__icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  background: rgba(46,107,186,0.1);
  color: var(--blue);
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s;
}
.info-card:hover .info-card__icon { background: var(--blue); color: #fff; }
.info-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.info-card p { font-size: var(--text-sm); color: var(--text-2); line-height: var(--leading-normal); }

/* Split layout */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.stat-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8,42,102,0.08);
  background: #fff;
  transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-3px); }
.stat-card strong {
  display: block;
  font-family: var(--font-body);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.stat-card em {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.25rem;
}
.stat-card span { font-size: 0.85rem; color: var(--text-3); margin-top: 0.35rem; display: block; }

/* ─── Care Journey (fixed bg) ─── */
.care-journey {
  --care-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  padding: 4.5rem 0 5rem;
  background-image:
    linear-gradient(105deg, rgba(8, 42, 102, 0.88) 0%, rgba(8, 42, 102, 0.72) 45%, rgba(46, 107, 186, 0.55) 100%),
    linear-gradient(to bottom, rgba(8, 42, 102, 0.35), rgba(8, 42, 102, 0.65)),
    url("assets/images/fixbg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll, scroll, scroll;
  overflow: hidden;
}
@media (min-width: 768px) {
  .care-journey {
    padding: 5rem 0 5.5rem;
    background-attachment: fixed, fixed, fixed;
  }
}
@media (min-width: 1024px) {
  .care-journey { padding: 5.5rem 0 6rem; }
}

.care-journey__inner {
  position: relative;
  z-index: 1;
}

.care-journey__eyebrow {
  color: rgba(201, 169, 98, 0.95);
  letter-spacing: var(--tracking-wide);
}

.care-journey__title {
  color: #fff;
  max-width: 28rem;
  line-height: var(--leading-snug);
}

.care-journey__panel {
  margin-top: 2rem;
  padding: 1.75rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(8, 42, 102, 0.2);
}
@media (min-width: 768px) {
  .care-journey__panel {
    margin-top: 2.25rem;
    padding: 2rem 2rem;
  }
}
@media (min-width: 1024px) {
  .care-journey__panel {
    margin-top: 2.5rem;
    padding: 2.25rem 2.5rem;
  }
}

.care-journey__reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.95s var(--care-ease),
    transform 0.95s var(--care-ease);
}
.care-journey.is-revealed [data-reveal="header"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}
.care-journey.is-revealed [data-reveal="step-1"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.55s;
}
.care-journey.is-revealed [data-reveal="step-2"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.72s;
}
.care-journey.is-revealed [data-reveal="step-3"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.89s;
}
.care-journey.is-revealed [data-reveal="step-4"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.06s;
}
.care-journey.is-revealed [data-reveal="step-5"] {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.23s;
}

/* Journey timeline */
.journey {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}
@media (min-width: 1024px) {
  .journey {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    overflow: visible;
  }
}

.journey__line {
  display: none;
}
@media (min-width: 1024px) {
  .journey__line {
    display: block;
    position: absolute;
    top: 2.75rem;
    left: 6%;
    right: 6%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    z-index: 0;
  }
  .journey__line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.35), rgba(46, 107, 186, 0.75), rgba(255, 255, 255, 0.35));
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.5s var(--care-ease) 0.45s;
  }
  .care-journey.is-revealed .journey__line::after {
    transform: scaleX(1);
  }
}

.journey__step {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  text-align: left;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .journey__step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
    gap: 0;
  }
}

.journey__num {
  flex-shrink: 0;
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.96);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 24px rgba(8, 42, 102, 0.18);
}
@media (min-width: 1024px) {
  .journey__num {
    width: 5.5rem;
    height: 5.5rem;
    font-size: 1.125rem;
    margin: 0 auto 0.9rem;
  }
}

.journey__content {
  flex: 1;
  padding-top: 0.35rem;
}
@media (min-width: 1024px) {
  .journey__content { padding-top: 0; }
}

.journey__step h3 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
}
@media (min-width: 768px) {
  .journey__step h3 { font-size: var(--text-md); }
}

.journey__step p {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  line-height: var(--leading-normal);
  max-width: 14rem;
}
@media (min-width: 1024px) {
  .journey__step p { margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  .care-journey__reveal,
  .journey__line::after {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .care-journey.is-revealed .journey__line::after {
    transform: none;
  }
}

/* Department cards */
.dept-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy);
}
.dept-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.dept-card:hover img { transform: scale(1.05); }
.dept-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,42,102,0.85), rgba(8,42,102,0.2) 60%, transparent);
}
.dept-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  color: #fff;
}
.dept-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: #fff;
}
.dept-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.35rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s, transform 0.3s;
}
.dept-card:hover p { opacity: 1; transform: translateY(0); }

/* Education / Research panels */
.panel {
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(8,42,102,0.08);
}
.panel--navy {
  background: linear-gradient(135deg, var(--navy), #0a3478);
  color: #fff;
  border: none;
}
.panel--navy h3 { color: #fff; }
.panel--navy p { color: rgba(255,255,255,0.7); }
.panel__icon {
  width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}
.panel--navy .panel__icon { background: rgba(255,255,255,0.1); color: var(--gold); }
.panel--white .panel__icon { background: rgba(46,107,186,0.1); color: var(--blue); }
.panel h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.panel ul { margin-top: 1.5rem; }
.panel li {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.panel--navy li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.panel--white li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }
.panel__link { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 1.5rem; font-size: 0.875rem; font-weight: 600; }
.panel--navy .panel__link { color: var(--gold); }
.panel--white .panel__link { color: var(--blue); }

/* FAQ teaser */
.faq-teaser {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(46,107,186,0.08), rgba(8,42,102,0.04));
  border: 1px solid rgba(46,107,186,0.15);
}

/* ─── Premium Footer ─── */
.site-footer {
  background: linear-gradient(180deg, #061e4a 0%, var(--navy) 100%);
  color: rgba(255, 255, 255, 0.82);
}

.footer-trust {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
}
.footer-trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}
.footer-trust__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nabh {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.footer-nabh svg { flex-shrink: 0; color: var(--gold); }
.footer-heritage {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.footer-heritage strong { color: var(--gold); font-weight: 600; }
.footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.06em;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.25s var(--ease);
}
.footer-social a:hover {
  background: rgba(46, 107, 186, 0.35);
  border-color: rgba(46, 107, 186, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.footer-main { padding: 3.5rem 0 3rem; }
@media (min-width: 768px) { .footer-main { padding: 4.5rem 0 3.5rem; } }

.footer-columns {
  display: grid;
  gap: 0;
}
@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}
@media (min-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1.35fr 1fr 1fr 1fr;
    gap: 2rem 2.5rem;
  }
}

.footer-col { border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
@media (min-width: 768px) { .footer-col { border-bottom: none; } }

.footer-col__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .footer-col__toggle {
    pointer-events: none;
    padding: 0;
    margin-bottom: 1.35rem;
  }
  .footer-col__toggle svg { display: none; }
}
.footer-col__toggle svg {
  width: 1rem;
  height: 1rem;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease);
}
.footer-col.is-open .footer-col__toggle svg { transform: rotate(180deg); }

.footer-col__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
@media (min-width: 768px) {
  .footer-col__body { max-height: none !important; overflow: visible; }
}
.footer-col.is-open .footer-col__body { max-height: 1200px; padding-bottom: 1.25rem; }
@media (min-width: 768px) { .footer-col.is-open .footer-col__body { padding-bottom: 0; } }

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.footer-contact-item svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  color: var(--blue);
}
.footer-contact-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}
.footer-contact-item a:hover { color: #fff; }
.footer-contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.35rem;
  margin-top: 0.5rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  transition: color 0.2s, background-size 0.25s var(--ease);
}
.footer-links a:hover {
  color: #fff;
  background-size: 100% 1px;
}

.footer-helper {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}
.footer-helper a { color: var(--blue); font-weight: 600; }
.footer-helper a:hover { color: #fff; }

.footer-hours p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0.65rem;
  line-height: 1.5;
}
.footer-hours strong { color: rgba(255, 255, 255, 0.85); font-weight: 600; }

.footer-support-card {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(46, 107, 186, 0.12);
  border: 1px solid rgba(46, 107, 186, 0.2);
}
.footer-support-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}
.footer-support-card strong {
  display: block;
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.footer-support-card a {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.footer-support-card a:hover { color: var(--blue); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.75rem 0 2rem;
}
.footer-bottom__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-bottom__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-bottom__copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom__motto {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  max-width: 22rem;
  line-height: var(--leading-snug);
}
.footer-back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
}
.footer-back-top:hover {
  background: rgba(46, 107, 186, 0.25);
  border-color: rgba(46, 107, 186, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

/* ─── FAQ Page ─── */
.page-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(to bottom, var(--soft-white), #fff, var(--warm));
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, rgba(46,107,186,0.08), transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: var(--leading-tight);
}
.page-hero p {
  color: var(--text-2);
  margin-top: 1rem;
  font-size: var(--text-md);
  line-height: var(--leading-relaxed);
  max-width: 36rem;
}

.search-box {
  position: relative;
  margin-top: 2rem;
  max-width: 36rem;
}
.search-box svg {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 1.25rem; height: 1.25rem;
  color: var(--text-3);
}
.search-box input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid rgba(8,42,102,0.1);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-box input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,107,186,0.15);
}

.pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1.25rem 0 0.5rem;
  margin-top: 0.5rem;
}
.pill {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(8,42,102,0.1);
  background: #fff;
  color: var(--navy);
  transition: all 0.2s;
}
.pill:hover, .pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.faq-layout {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0 5rem;
}
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 15rem 1fr; gap: 3.5rem; }
}

.faq-sidebar { display: none; }
@media (min-width: 1024px) {
  .faq-sidebar {
    display: block;
    position: sticky;
    top: 6rem;
    align-self: start;
  }
}
.faq-sidebar h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-3);
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.faq-sidebar button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.6rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s;
}
.faq-sidebar button:hover { background: var(--warm); color: var(--navy); }
.faq-sidebar button.active { background: rgba(46,107,186,0.1); color: var(--blue); }

.faq-group { margin-bottom: 2.5rem; scroll-margin-top: 7rem; }
.faq-group h2 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: var(--leading-snug);
  margin-bottom: 1rem;
}

.accordion-item {
  border: 1px solid rgba(8,42,102,0.08);
  border-radius: var(--radius-lg);
  background: #fff;
  margin-bottom: 0.65rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.accordion-item:hover { box-shadow: var(--shadow); }
.accordion-item.is-open { box-shadow: var(--shadow); }

.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.2s;
}
.accordion-trigger:hover { background: var(--soft-white); }
.accordion-trigger svg {
  flex-shrink: 0;
  width: 1.25rem; height: 1.25rem;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}
.accordion-item.is-open .accordion-trigger svg { transform: rotate(180deg); }

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-item.is-open .accordion-panel { max-height: 20rem; }
.accordion-panel__inner {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
  border-top: 1px solid rgba(8,42,102,0.05);
  padding-top: 1rem;
}

mark { background: rgba(46,107,186,0.15); color: var(--navy); border-radius: 2px; padding: 0 2px; }

.help-card {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--navy), #0a3478);
  color: #fff;
}
.help-card h2 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.help-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.help-card__grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (min-width: 640px) { .help-card__grid { grid-template-columns: repeat(2, 1fr); } }
.help-card__item {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  font-size: 0.85rem;
}
.help-card__item strong { display: block; margin-bottom: 0.25rem; }

.back-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(8,42,102,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s;
  z-index: 50;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--blue); }

/* ─── Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

/* ─── News & Events ─── */
.news-events {
  background: var(--warm);
}
.news-events__grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .news-events__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.news-events__col {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(8, 42, 102, 0.06);
  padding: 2rem 1.75rem;
  box-shadow: 0 2px 16px rgba(8, 42, 102, 0.04);
  transition: box-shadow 0.3s var(--ease);
}
.news-events__col:hover {
  box-shadow: 0 8px 32px rgba(8, 42, 102, 0.08);
}

.news-events__heading {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.75rem;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}
.news-events__heading span {
  color: var(--accent);
}

.news-events__list {
  display: flex;
  flex-direction: column;
}

.news-events__item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(8, 42, 102, 0.08);
  transition: background 0.2s;
}
.news-events__item:first-child { padding-top: 0; }
.news-events__item:last-child { border-bottom: none; padding-bottom: 0; }
.news-events__item:hover {
  background: linear-gradient(to right, rgba(46, 107, 186, 0.03), transparent);
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 0.5rem;
}

.news-events__icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(46, 107, 186, 0.1);
  color: var(--blue);
  margin-top: 0.15rem;
}

.news-events__body { flex: 1; min-width: 0; }

.news-events__date {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 0.35rem;
}

.news-events__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.news-events__read {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s;
}
.news-events__read:hover {
  color: var(--navy);
  text-decoration: underline;
}

.news-events__footer {
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

.btn--read-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn--read-all:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(8, 42, 102, 0.2);
}
.btn--read-all--navy { background: var(--navy); }
.btn--read-all--navy:hover { background: #0a3478; }
.btn--read-all--accent { background: var(--accent); }
.btn--read-all--accent:hover { background: #c95538; }

/* What's New FAB */
.whats-new-fab {
  position: fixed;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  width: 4.5rem;
  padding: 0.85rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(8, 42, 102, 0.08);
  box-shadow: 0 4px 24px rgba(8, 42, 102, 0.12);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
@media (min-width: 1024px) { .whats-new-fab { display: flex; } }
.whats-new-fab:hover {
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 8px 32px rgba(8, 42, 102, 0.16);
}
.whats-new-fab__dot {
  position: absolute;
  top: 0.5rem;
  left: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #fff;
}
.whats-new-fab svg { color: var(--red); }

/* ─── Appointment Portal ─── */
.portal-page { background: var(--soft-white); }

.portal-hero {
  padding: 6.5rem 0 3.5rem;
  background: linear-gradient(160deg, var(--navy) 0%, #0d3d7a 45%, #1a5a9e 100%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .portal-hero { padding: 7.5rem 0 4.5rem; }
}
@media (min-width: 1024px) {
  .portal-hero { padding: 8.5rem 0 5.5rem; }
}
.portal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(46, 107, 186, 0.35), transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(42, 157, 143, 0.15), transparent 40%);
  pointer-events: none;
}
.portal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5v50M5 30h50' stroke='%23fff' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
  pointer-events: none;
}
.portal-hero .container { position: relative; z-index: 1; }
.portal-hero h1 {
  font-size: var(--text-3xl);
  font-weight: 500;
  line-height: var(--leading-tight);
  color: #fff;
  max-width: 32rem;
  margin-top: 0.5rem;
}
.portal-hero p {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-md);
  max-width: 40rem;
  line-height: var(--leading-relaxed);
}
@media (min-width: 768px) {
  .portal-hero p { font-size: 1.125rem; margin-top: 1.5rem; }
}
.portal-hero__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 768px) {
  .portal-hero__breadcrumb { margin-bottom: 2rem; }
}
.portal-hero__breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}
.portal-hero__breadcrumb a:hover { color: #fff; }

.portal-main {
  padding: 3rem 0 5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .portal-main { padding: 3.5rem 0 6rem; margin-top: -2.5rem; }
}
@media (min-width: 1024px) {
  .portal-main { padding: 4rem 0 7rem; margin-top: -3rem; }
}

.portal-main__grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .portal-main__grid {
    grid-template-columns: 1.5fr 1fr;
    gap: 3.5rem;
  }
}
@media (min-width: 1280px) {
  .portal-main__grid { gap: 4.5rem; }
}

.portal-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(8, 42, 102, 0.06);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px rgba(8, 42, 102, 0.06);
  padding: 2rem;
}
@media (min-width: 640px) { .portal-card { padding: 2.5rem 2.75rem; } }
@media (min-width: 1024px) { .portal-card { padding: 2.75rem 3rem; } }

.portal-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem;
  background: var(--warm);
  border-radius: 0.85rem;
  margin-bottom: 2.25rem;
}
.portal-tab {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border-radius: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  text-align: center;
  transition: all 0.25s var(--ease);
  line-height: 1.35;
}
@media (min-width: 480px) { .portal-tab { font-size: 0.875rem; padding: 0.9rem 1.25rem; } }
.portal-tab:hover { color: var(--navy); }
.portal-tab.is-active {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(8, 42, 102, 0.08);
}

.portal-panel { display: none; }
.portal-panel.is-active { display: block; }

.form-group { margin-bottom: 1.5rem; }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1px solid rgba(8, 42, 102, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
@media (min-width: 768px) {
  .form-input { padding: 1rem 1.25rem; }
}
.form-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 107, 186, 0.15);
}
.form-input::placeholder { color: var(--text-3); }

.form-helper {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(46, 107, 186, 0.05);
  border-left: 3px solid var(--blue);
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.form-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(8, 42, 102, 0.06);
}
.form-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: color 0.2s;
}
.form-links a:hover { color: var(--navy); text-decoration: underline; }

.btn--portal {
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: var(--navy);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}
.btn--portal:hover { background: var(--blue); transform: translateY(-1px); }
.btn--portal-outline {
  padding: 0.8rem 1.75rem;
  border-radius: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(8, 42, 102, 0.15);
  color: var(--navy);
  background: #fff;
  transition: all 0.2s;
}
.btn--portal-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--portal-teal {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.65rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: linear-gradient(135deg, #2a9d8f, #238b7e);
  color: #fff;
  margin-top: 1.25rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn--portal-teal:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42, 157, 143, 0.35);
}

.new-patient-steps {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.new-patient-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  background: var(--warm);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.5;
}
.new-patient-step span {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.portal-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 1.35rem;
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-snug);
}

.service-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) { .service-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8, 42, 102, 0.08);
  background: #fff;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.25s var(--ease);
}
.service-card:hover {
  border-color: rgba(46, 107, 186, 0.25);
  background: rgba(46, 107, 186, 0.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.service-card svg { width: 1.35rem; height: 1.35rem; color: var(--blue); }

.help-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .help-grid { grid-template-columns: repeat(2, 1fr); gap: 1.15rem; } }

.help-item {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(8, 42, 102, 0.08);
  background: #fff;
}
.help-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.help-item p, .help-item a {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
}
.help-item a { color: var(--blue); font-weight: 600; }
.help-item a:hover { text-decoration: underline; }

.notice-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(224, 99, 69, 0.08), rgba(196, 30, 58, 0.05));
  border: 1px solid rgba(224, 99, 69, 0.2);
}
.notice-card svg { flex-shrink: 0; color: var(--accent); margin-top: 0.1rem; }
.notice-card p { font-size: 0.875rem; color: var(--text-2); line-height: 1.55; }
.notice-card strong { color: var(--navy); }

.portal-side {
  display: block;
}
@media (min-width: 1024px) {
  .portal-side {
    position: sticky;
    top: 5rem;
  }
}

.side-panel {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(8, 42, 102, 0.08);
  box-shadow: 0 8px 40px rgba(8, 42, 102, 0.1);
  background: #fff;
}
.side-panel__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.side-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.side-panel__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 42, 102, 0.5), transparent 50%);
}
.side-panel__badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 1;
  color: #fff;
}
.side-panel__badge h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 500;
  color: #fff;
}
.side-panel__badge p { font-size: 0.8rem; color: rgba(255,255,255,0.8); margin-top: 0.25rem; }

.side-panel__body { padding: 1.75rem 2rem; }
.side-panel__body p {
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.6;
}
.side-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}
.side-panel__link:hover { color: var(--navy); }

.abha-banner {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(46, 107, 186, 0.1), rgba(42, 157, 143, 0.08));
  border: 1px solid rgba(46, 107, 186, 0.15);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.abha-banner svg { flex-shrink: 0; color: var(--blue); }
.abha-banner p { font-size: 0.85rem; color: var(--text-2); flex: 1; }
.abha-banner a { font-size: 0.8rem; font-weight: 700; color: var(--accent); white-space: nowrap; }

.portal-stack { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 768px) { .portal-stack { gap: 2.5rem; } }
@media (min-width: 1024px) { .portal-stack { gap: 2.75rem; } }

.demo-toast {
  position: fixed;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  z-index: 200;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 8px 32px rgba(8, 42, 102, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  max-width: calc(100% - 2rem);
  text-align: center;
}
.demo-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}