/* ==========================================================================
   AL-RABYA PARAMEDICAL & RESEARCH CENTER — shared stylesheet
   Brand system: clinical navy + healing teal · Manrope · pill actions
   ========================================================================== */

/* ============ 01. DESIGN TOKENS ============ */
:root {
  /* palette */
  --navy-950: #061b2e;
  --navy-900: #0b2b4a;
  --navy-800: #123c5f;
  --steel: #2d6a8f;
  --teal: #3b9b8c;
  --teal-strong: #2f8577;
  --teal-soft: #6dc5b5;
  --teal-tint: #e6f2ef;
  --sky-tint: #ebf3f8;
  --bg: #f6f9fb;
  --bg-elev: #ffffff;
  --surface: #ffffff;
  --ink: #16283a;
  --ink-2: #3a4f63;
  --muted: #566c80;
  --line: #d8e4ec;
  --line-soft: #e6eef4;
  --on-dark: #eaf2f8;
  --on-dark-muted: #a7bccf;

  /* semantic */
  --primary: var(--navy-900);
  --primary-hover: var(--navy-800);
  --accent: var(--teal);
  --accent-hover: var(--teal-strong);
  --focus-ring: #1f9c8a;

  /* elevation */
  --shadow-sm: 0 1px 2px rgba(6, 27, 46, .04), 0 2px 8px rgba(6, 27, 46, .04);
  --shadow-md: 0 6px 16px rgba(6, 27, 46, .06), 0 2px 6px rgba(6, 27, 46, .04);
  --shadow-lg: 0 20px 50px rgba(6, 27, 46, .12), 0 4px 12px rgba(6, 27, 46, .06);
  --shadow-teal: 0 10px 24px rgba(47, 133, 119, .28);

  /* shape & rhythm */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;
  --pill: 999px;
  --card-pad-y: 1.6rem;
  --card-pad-x: 1.5rem;
  --section-pad: clamp(3.25rem, 7vw, 6rem);
  --container: 1200px;
  --header-h: 76px;

  /* type */
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --fs-xs: .78rem;
  --fs-sm: .875rem;
  --fs-base: 1rem;
  --fs-md: 1.0625rem;
  --fs-lg: clamp(1.1rem, .5vw + .95rem, 1.22rem);
  --fs-xl: clamp(1.3rem, 1vw + 1.05rem, 1.55rem);
  --fs-2xl: clamp(1.75rem, 2.2vw + .9rem, 2.4rem);
  --fs-3xl: clamp(2.1rem, 3vw + 1rem, 3.1rem);
  --fs-hero: clamp(2.4rem, 3.6vw + 1rem, 3.85rem);
  --leading: 1.62;
  --leading-tight: 1.18;

  /* motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .25s;
}

/* ============ 02. RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--fs-md);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  font-feature-settings: "ss01", "cv11";
}

img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--primary);
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-weight: 700; letter-spacing: -.026em; }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p  { color: var(--ink-2); max-width: 68ch; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 700; }

a { color: var(--accent-hover); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary); }

::selection { background: rgba(59, 155, 140, .25); }

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

/* skip link */
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: 10px 18px;
  border-radius: var(--radius-xs);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ============ 03. UTILITIES ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: var(--section-pad); }
.section--noptop { padding-top: 0; }
.section--tint { background: linear-gradient(180deg, var(--sky-tint) 0%, var(--bg) 100%); }
.section--dark {
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(59, 155, 140, .18), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(45, 106, 143, .16), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: var(--on-dark);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--dark strong { color: #fff; }
.site-footer strong { color: var(--on-dark); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-weight: 700; }
.section-head p { margin-top: .85rem; font-size: var(--fs-lg); color: var(--muted); line-height: 1.55; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.section-cta { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }
.section-cta--left { justify-content: flex-start; margin-top: 1.5rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .95rem;
  border-radius: var(--pill);
  background: var(--teal-tint);
  border: 1px solid rgba(59, 155, 140, .22);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-strong);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.section-head--center .eyebrow { justify-content: center; }
.section--dark .eyebrow {
  background: rgba(59, 155, 140, .14);
  border-color: rgba(109, 197, 181, .28);
  color: var(--teal-soft);
}
.section--dark .eyebrow::before { background: var(--teal-soft); }
.cs-page .eyebrow { background: rgba(59, 155, 140, .14); border-color: rgba(109, 197, 181, .28); color: var(--teal-soft); }


/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.8rem;
  border: 1.5px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(2px); }
.btn--outline:hover svg,
.btn--primary:hover svg,
.btn--accent:hover svg,
.btn--ghost-light:hover svg { transform: translateX(2px); }

.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .14); }

.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-teal), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn--accent:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 14px 30px rgba(47, 133, 119, .38), inset 0 1px 0 rgba(255, 255, 255, .22); }

.btn--outline { background: transparent; color: var(--primary); border-color: rgba(11, 43, 74, .2); }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--shadow-md); }

.btn--light { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn--light:hover { color: var(--accent-hover); box-shadow: var(--shadow-lg); }

.btn--ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); color: #fff; box-shadow: var(--shadow-md); }

.btn:active { transform: translateY(1px) scale(.99); box-shadow: var(--shadow-sm); }
.btn:disabled { opacity: .65; cursor: wait; transform: none; }
.btn:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.btn--sm { padding: .55rem 1.2rem; font-size: var(--fs-sm); }
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.05rem; }

/* ============ CHIPS & BADGES ============ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border-radius: var(--pill);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
}
.chip svg { width: 14px; height: 14px; color: var(--accent); flex: none; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1.1rem;
  border-radius: var(--pill);
  background: var(--teal-tint);
  border: 1px solid rgba(59, 155, 140, .28);
  color: var(--teal-strong);
  font-size: var(--fs-sm);
  font-weight: 800;
}
.status-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(59, 155, 140, .5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(59, 155, 140, .5); }
  70%  { box-shadow: 0 0 0 10px rgba(59, 155, 140, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 155, 140, 0); }
}

/* ============ 04. HEADER & NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .95);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 4px 18px rgba(6, 27, 46, .04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.brand { display: inline-flex; align-items: center; color: var(--primary); transition: opacity var(--dur) var(--ease); }
.brand:hover { color: var(--primary); opacity: .85; }
.brand img { height: 50px; width: auto; display: block; }

.primary-nav ul { display: flex; align-items: center; gap: .25rem; }
.primary-nav a {
  display: block;
  padding: .5rem .9rem;
  border-radius: var(--pill);
  color: var(--ink-2);
  font-weight: 700;
  font-size: var(--fs-base);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.primary-nav a:hover { color: var(--primary); background: var(--sky-tint); }
.primary-nav a[aria-current="page"] { color: var(--teal-strong); background: var(--teal-tint); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--primary);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 99;
    background: #fff;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lg);
    padding: 1rem clamp(1.1rem, 4vw, 2rem) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), visibility var(--dur);
  }
  .primary-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: .25rem; }
  .primary-nav a { padding: .85rem 1rem; font-size: 1.02rem; border-radius: var(--radius-sm); -webkit-tap-highlight-color: transparent; }
  .primary-nav a:active { background: var(--teal-tint); color: var(--teal-strong); }
  .primary-nav .nav-cta { margin-top: .8rem; }
}
@media (min-width: 961px) {
  .primary-nav .nav-cta { display: none; }
}

/* ============ 05. HERO (HOME) ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(60rem 34rem at 110% 8%, rgba(59, 155, 140, .14), transparent 62%),
    radial-gradient(44rem 26rem at -12% 112%, rgba(45, 106, 143, .14), transparent 60%),
    var(--bg);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='130' viewBox='0 0 112 130'%3E%3Cpath d='M56 3 106 32v58L56 119 6 90V32z' fill='none' stroke='%230b2b4a' stroke-opacity='.04' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 112px 130px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; }
.hero h1 {
  font-size: var(--fs-hero);
  letter-spacing: -.025em;
}
.hero h1 .hl {
  position: relative;
  color: var(--teal-strong);
  display: inline;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: -.05em;
  right: -.05em;
  bottom: .08em;
  height: .18em;
  border-radius: .2em;
  background: linear-gradient(90deg, rgba(59, 155, 140, .32), rgba(109, 197, 181, .32));
  z-index: -1;
}
.hero-lede { font-size: var(--fs-lg); color: var(--muted); max-width: 56ch; line-height: 1.55; }
.hero-lede strong { color: var(--ink); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: .35rem; }
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 800;
  color: var(--primary);
  padding: .5rem 0;
  transition: color var(--dur) var(--ease);
}
.hero-call svg { width: 20px; height: 20px; color: var(--accent); }
.hero-call:hover { color: var(--accent-hover); }
.hero-call small { display: block; font-weight: 600; font-size: var(--fs-xs); color: var(--muted); margin-top: .05rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--line);
}
.hero-trust .chip { background: var(--surface); }

/* hero visual composition */
.hero-visual { position: relative; }
.hero-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-panel svg { width: 100%; height: auto; display: block; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: .8rem 1.05rem;
  animation: floaty 6.5s ease-in-out infinite;
}
.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--sky-tint), var(--teal-tint));
  color: var(--teal-strong);
  border: 1px solid rgba(59, 155, 140, .18);
  flex: none;
}
.float-card .fc-icon svg { width: 22px; height: 22px; }
.float-card .fc-num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--primary); line-height: 1.1; display: block; }
.float-card .fc-label { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); display: block; }
.float-card--programs { top: 6%; left: -1.8rem; }
.float-card--streams { bottom: 14%; right: -1.4rem; animation-delay: -3.2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ============ PAGE HERO (SUBPAGES) ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background:
    radial-gradient(50rem 28rem at 88% -20%, rgba(59, 155, 140, .28), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(45, 106, 143, .2), transparent 60%),
    linear-gradient(155deg, var(--navy-950) 10%, var(--navy-900) 60%, var(--navy-800));
  padding-block: clamp(3rem, 6.5vw, 5.25rem);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='130' viewBox='0 0 112 130'%3E%3Cpath d='M56 3 106 32v58L56 119 6 90V32z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 112px 130px;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.breadcrumbs { margin-bottom: 1rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.breadcrumbs li { display: flex; align-items: center; gap: .4rem; font-size: var(--fs-sm); color: var(--on-dark-muted); font-weight: 600; }
.breadcrumbs li + li::before { content: "/"; color: rgba(159, 184, 204, .5); }
.breadcrumbs a { color: var(--teal-soft); }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs [aria-current="page"] { color: #fff; }

.page-hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  letter-spacing: -.02em;
  max-width: 22ch;
  font-weight: 700;
}
.page-hero .page-lede { margin-top: .9rem; font-size: var(--fs-lg); color: var(--on-dark-muted); max-width: 62ch; line-height: 1.55; }

/* ============ STAT BAND ============ */
.stats-band { background: var(--bg-elev); border-block: 1px solid var(--line-soft); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: clamp(1.9rem, 3.5vw, 2.8rem);
}
.stat { text-align: center; position: relative; padding: .25rem .5rem; }
.stat + .stat::before {
  content: "";
  position: absolute;
  left: -.75rem;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line-soft);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.4vw + .8rem, 2.75rem);
  font-weight: 600;
  color: var(--primary);
  line-height: 1.05;
  letter-spacing: -.022em;
}
.stat .num span { color: var(--teal-strong); font-weight: 600; }
.stat .label { margin-top: .35rem; font-size: var(--fs-sm); font-weight: 600; color: var(--muted); line-height: 1.4; }



/* ============ 07. ABOUT SPLIT ============ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media { position: relative; }
.about-media .am-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-media .am-main img,
.about-media .am-main svg { width: 100%; height: auto; display: block; object-fit: cover; }
.about-media .am-badge {
  position: absolute;
  left: -1.2rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.25rem;
  max-width: 260px;
}
.about-media .am-badge svg { width: 30px; height: 30px; color: var(--teal-soft); flex: none; }
.about-media .am-badge .big { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.1; display: block; }
.about-media .am-badge .small { font-size: var(--fs-xs); font-weight: 600; color: var(--on-dark-muted); display: block; margin-top: .15rem; }

.about-points { margin-top: 1.5rem; display: grid; gap: .9rem; }
.about-points li { display: flex; gap: .85rem; align-items: flex-start; color: var(--ink-2); }
.about-points svg { width: 22px; height: 22px; color: var(--teal-strong); flex: none; margin-top: .15rem; }
.about-points strong { color: var(--ink); }

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.mission-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.mission-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .35); }
.mission-card .mc-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--teal-tint), var(--sky-tint));
  color: var(--teal-strong);
  margin-bottom: 1.1rem;
  border: 1px solid rgba(59, 155, 140, .15);
}
.mission-card .mc-icon svg { width: 24px; height: 24px; }
.mission-card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.mission-card p { font-size: var(--fs-sm); line-height: 1.6; }

/* ============ 08. COURSE CARDS ============ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.65rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.course-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .3); }
.course-card:hover::before { opacity: 1; }
.course-card .cc-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  background: linear-gradient(150deg, var(--sky-tint), var(--teal-tint));
  color: var(--steel);
  margin-bottom: 1.1rem;
  border: 1px solid rgba(59, 155, 140, .14);
}
.course-card .cc-icon svg { width: 26px; height: 26px; }
.course-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.course-card > p { font-size: var(--fs-sm); flex-grow: 1; line-height: 1.6; }
.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.course-meta .chip { font-size: .73rem; padding: .3rem .75rem; }
.course-card .cc-more {
  margin-top: 1rem;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--teal-strong);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  -webkit-tap-highlight-color: transparent;
}
.course-card .cc-more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.course-card .cc-more:hover svg { transform: translateX(4px); }


/* ============ 09. WHY-US GRID ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.why-card {
  display: flex;
  gap: 1.05rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.why-card:hover { background: rgba(255, 255, 255, .09); border-color: rgba(109, 197, 181, .35); transform: translateY(-3px); }
.why-card .wc-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(59, 155, 140, .35), rgba(59, 155, 140, .12));
  color: var(--teal-soft);
  border: 1px solid rgba(109, 197, 181, .18);
}
.why-card .wc-icon svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.08rem; color: #fff; margin-bottom: .4rem; min-width: 0; }
.why-card p { font-size: var(--fs-sm); color: var(--on-dark-muted); line-height: 1.6; min-width: 0; }

.section--tint .why-card { background: var(--surface); border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.section--tint .why-card:hover { border-color: rgba(59, 155, 140, .35); box-shadow: var(--shadow-md); }
.section--tint .why-card .wc-icon { background: linear-gradient(150deg, var(--teal-tint), var(--sky-tint)); color: var(--teal-strong); border-color: rgba(59, 155, 140, .18); }
.section--tint .why-card h3 { color: var(--primary); }
.section--tint .why-card p { color: var(--ink-2); }

/* ============ 10. ADMISSION STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .3); }
.step-card .step-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
  margin-bottom: 1rem;
}
.step-card::after {
  content: "";
  position: absolute;
  top: 2.05rem;
  left: calc(100% - .1rem);
  width: 1.25rem;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 5px, transparent 5px 10px);
}
.step-card:last-child::after { display: none; }
.step-card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.step-card p { font-size: var(--fs-sm); line-height: 1.6; }

.doc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem 2rem;
  margin-top: 1.4rem;
}
.doc-list li { display: flex; align-items: center; gap: .7rem; font-weight: 600; color: var(--ink-2); font-size: var(--fs-sm); }
.doc-list .doc-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: var(--teal-tint);
  color: var(--teal-strong);
  font-size: .78rem;
  font-weight: 800;
}

.docs-block { margin-top: clamp(2.5rem, 5vw, 4rem); }
.docs-title { margin-bottom: .3rem; }

.apply-title { font-size: var(--fs-xl); margin-bottom: .6rem; }
.apply-lede { margin-bottom: 1.4rem; font-size: var(--fs-md); }

/* ============ 11. PROGRAM FINDER TABLE ============ */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.program-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.program-table caption {
  text-align: center;
  font-weight: 800;
  color: var(--primary);
  padding: 1.3rem 1.5rem .4rem;
  font-size: 1.05rem;
}
.table-wrap + .table-wrap { margin-top: clamp(2rem, 4vw, 3rem); }
.program-table th,
.program-table td { text-align: left; padding: .9rem 1.5rem; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
.program-table thead th {
  background: var(--sky-tint);
  color: var(--primary);
  font-weight: 800;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.program-table tbody tr:last-child td { border-bottom: 0; }
.program-table tbody tr { transition: background var(--dur) var(--ease); }
.program-table tbody tr:hover { background: var(--teal-tint); }
.program-table td:first-child { font-weight: 700; color: var(--primary); }

.map-wrap { padding: 6px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: 14px; display: block; }

/* ============ 12. FACILITIES ============ */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.facility-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.facility-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  z-index: 1;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.facility-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .3); }
.facility-card:hover::before { opacity: 1; }
.facility-card .fc-media { aspect-ratio: 16 / 10; overflow: hidden; min-height: 0; }
.facility-card .fc-media img,
.facility-card .fc-media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .65s var(--ease); }
.facility-card:hover .fc-media img,
.facility-card:hover .fc-media svg { transform: scale(1.045); }
.facility-card .fc-body { padding: 1.3rem 1.4rem 1.45rem; }
.facility-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.facility-card p { font-size: var(--fs-sm); line-height: 1.6; }

/* ============ 13. REGISTRATIONS BAND ============ */
.reg-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.reg-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.reg-item:hover { background: rgba(255, 255, 255, .07); border-color: rgba(109, 197, 181, .3); }
.reg-item svg { width: 22px; height: 22px; color: var(--teal-soft); flex: none; margin-top: .15rem; }
.reg-item p { font-size: var(--fs-sm); color: var(--on-dark); line-height: 1.55; max-width: none; min-width: 0; }
.reg-note { margin-top: 1.5rem; font-size: var(--fs-xs); color: var(--on-dark-muted); }

/* ============ 14. CTA BAND ============ */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(46rem 24rem at 100% 0%, rgba(59, 155, 140, .38), transparent 60%),
    radial-gradient(38rem 22rem at 0% 100%, rgba(45, 106, 143, .25), transparent 60%),
    linear-gradient(140deg, var(--navy-950), var(--navy-900) 55%, var(--steel));
  color: var(--on-dark);
  padding: clamp(2.4rem, 5vw, 3.75rem);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-dark-muted); margin-top: .65rem; font-size: var(--fs-lg); line-height: 1.5; }
.cta-band strong { color: #fff; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: flex-end; }

/* ============ 15. FORMS & CONTACT ============ */
.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.info-card:hover { box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .3); }
.info-card + .info-card { margin-top: .9rem; }
.info-card .ic-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--teal-tint), var(--sky-tint));
  color: var(--teal-strong);
  border: 1px solid rgba(59, 155, 140, .18);
}
.info-card .ic-icon svg { width: 22px; height: 22px; }
.info-card h3 { font-size: 1.02rem; margin-bottom: .2rem; font-family: var(--font); font-weight: 700; }
.info-card p, .info-card address { font-size: var(--fs-sm); color: var(--ink-2); font-style: normal; line-height: 1.6; min-width: 0; }
.info-card a { font-weight: 700; }

.form-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: var(--fs-xl); margin-bottom: .4rem; font-weight: 700; }
.form-card > p { font-size: var(--fs-sm); margin-bottom: 1.5rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); font-weight: 700; color: var(--primary); font-family: var(--font); }
.field label .req { color: #d04545; margin-left: 2px; }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-xs);
  padding: .8rem 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
  width: 100%;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(59, 155, 140, .18);
}
.field input:invalid:not(:placeholder-shown),
.field select:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) { border-color: rgba(208, 69, 69, .55); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23566c80' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { margin-top: .85rem; font-size: var(--fs-xs); color: var(--muted); padding: .65rem .85rem; background: var(--sky-tint); border-radius: var(--radius-xs); border-left: 3px solid var(--teal); line-height: 1.55; }
.form-note a { font-weight: 700; }
.form-card .btn { margin-top: 1.4rem; width: 100%; }
.form-status { font-size: var(--fs-sm); font-weight: 600; line-height: 1.5; margin-bottom: 1rem; display: none; }
.form-status--ok { display: block; padding: .75rem 1rem; background: #e6f7ef; color: #1a6b4a; border: 1px solid #a3e4c5; border-radius: var(--radius-xs); }
.form-status--err { display: block; padding: .75rem 1rem; background: #fde8e8; color: #991b1b; border: 1px solid #f5c2c2; border-radius: var(--radius-xs); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; pointer-events: none; }

/* ============ 16. FAQ ============ */
.faq-list { display: grid; gap: .85rem; max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.faq-item:hover { border-color: rgba(59, 155, 140, .25); }
.faq-item[open] { box-shadow: var(--shadow-md); border-color: rgba(59, 155, 140, .3); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--primary);
  font-size: 1.02rem;
  list-style: none;
  font-family: var(--font);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f8577' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.faq-item .faq-a { padding: 0 1.35rem 1.2rem; font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.65; }

/* ============ 17. FOOTER ============ */
.site-footer {
  background:
    radial-gradient(50rem 26rem at 100% 0%, rgba(59, 155, 140, .16), transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, rgba(45, 106, 143, .12), transparent 60%),
    linear-gradient(180deg, var(--navy-950), #051523);
  color: var(--on-dark-muted);
  padding-top: clamp(3rem, 6vw, 4.25rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr 1fr;
  gap: clamp(1.8rem, 4vw, 3rem);
  padding-bottom: 2.6rem;
}
.footer-brand img { height: 52px; width: auto; display: block; }
.footer-brand > p { margin-top: 1.1rem; font-size: var(--fs-sm); max-width: 36ch; color: var(--on-dark-muted); line-height: 1.65; }
.footer-col h3 {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.05rem;
  font-family: var(--font);
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a { color: var(--on-dark-muted); font-size: var(--fs-sm); transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--teal-soft); }
.footer-col address { font-style: normal; font-size: var(--fs-sm); line-height: 1.7; }
.footer-contact-line { display: flex; align-items: flex-start; gap: .65rem; margin-bottom: .65rem; font-size: var(--fs-sm); }
.footer-contact-line svg { width: 17px; height: 17px; color: var(--teal-soft); flex: none; margin-top: .15rem; }
.footer-contact-line a { color: var(--on-dark-muted); white-space: nowrap; }
.footer-contact-line a:hover { color: var(--teal-soft); }
.footer-phones { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.form-note a { white-space: nowrap; }

.social-links { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--on-dark);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), color var(--dur) var(--ease);
}
.social-links a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  font-size: var(--fs-xs);
}
.footer-bottom p { color: var(--on-dark-muted); font-size: var(--fs-xs); }
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: var(--on-dark-muted); font-size: var(--fs-xs); }
.footer-legal a:hover { color: var(--teal-soft); }

/* ============ 18. COMING SOON PAGE ============ */
.cs-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(52rem 30rem at 85% -10%, rgba(59, 155, 140, .2), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(45, 106, 143, .18), transparent 60%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, var(--navy-800));
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.cs-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='130' viewBox='0 0 112 130'%3E%3Cpath d='M56 3 106 32v58L56 119 6 90V32z' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 112px 130px;
  pointer-events: none;
}
.cs-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 5vw, 3rem);
}
.cs-header .brand img { height: 50px; width: auto; display: block; }
.cs-header .cs-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--teal-soft);
  font-weight: 800;
  font-size: var(--fs-sm);
}
.cs-header .cs-phone svg { width: 17px; height: 17px; }
.cs-header .cs-phone:hover { color: #fff; }

.cs-main {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.2rem, 5vw, 3rem);
}
.cs-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.3rem; }
.cs-main h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw + .6rem, 4.2rem);
  letter-spacing: -.025em;
  max-width: 16ch;
}
.cs-main h1 .hl { color: var(--teal-soft); }
.cs-lede { font-size: var(--fs-lg); color: var(--on-dark-muted); max-width: 56ch; }
.cs-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: .4rem; }
.cs-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 1.4rem;
  padding-top: 1.4rem;
  border-top: 1px dashed rgba(255, 255, 255, .2);
}
.cs-contact-line a,
.cs-contact-line span {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--on-dark-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.cs-contact-line svg { width: 18px; height: 18px; color: var(--teal-soft); flex: none; }
.cs-contact-line a:hover { color: var(--teal-soft); }

.cs-visual { position: relative; }
.cs-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.4;
}
.cs-photo img { width: 100%; height: 100%; object-fit: cover; }
.cs-photo svg { width: 100%; height: auto; display: block; }
.cs-badge {
  position: absolute;
  left: -1.4rem;
  bottom: 2.4rem;
  background: rgba(255, 255, 255, .97);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.3rem;
  display: flex;
  gap: .85rem;
  align-items: center;
  animation: floaty 6.5s ease-in-out infinite;
}
.cs-badge svg { width: 34px; height: 34px; color: var(--teal-strong); flex: none; }
.cs-badge .big { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--primary); line-height: 1.15; }
.cs-badge .small { font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }

.cs-footer {
  position: relative;
  padding: 1.3rem clamp(1.2rem, 5vw, 3rem) 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .9rem;
  font-size: var(--fs-xs);
}
.cs-footer .social-links { margin-top: 0; }
.cs-footer p { font-size: var(--fs-xs); color: var(--on-dark-muted); }

/* ============ 19. REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Auto-stagger for common grids */
.mission-grid .reveal:nth-child(2),
.course-grid .reveal:nth-child(2),
.why-grid .reveal:nth-child(2),
.facilities-grid .reveal:nth-child(2) { transition-delay: .07s; }
.mission-grid .reveal:nth-child(3),
.course-grid .reveal:nth-child(3),
.why-grid .reveal:nth-child(3),
.facilities-grid .reveal:nth-child(3) { transition-delay: .14s; }
.mission-grid .reveal:nth-child(4),
.course-grid .reveal:nth-child(4) { transition-delay: .07s; }
.mission-grid .reveal:nth-child(5),
.course-grid .reveal:nth-child(5) { transition-delay: .14s; }
.mission-grid .reveal:nth-child(6),
.course-grid .reveal:nth-child(6) { transition-delay: .21s; }
.steps .reveal:nth-child(2) { transition-delay: .07s; }
.steps .reveal:nth-child(3) { transition-delay: .14s; }
.steps .reveal:nth-child(4) { transition-delay: .21s; }
.reg-band .reveal:nth-child(2),
.reg-band .reveal:nth-child(5) { transition-delay: .07s; }
.reg-band .reveal:nth-child(3),
.reg-band .reveal:nth-child(6) { transition-delay: .14s; }

/* ============ 20. RESPONSIVE ============ */
@media (max-width: 1080px) {
  .course-grid, .why-grid, .facilities-grid, .mission-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-card:nth-child(2)::after { display: none; }
  .reg-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: clamp(2.4rem, 6vw, 4rem); gap: clamp(2rem, 5vw, 3rem); }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .float-card--programs { left: -.8rem; }
  .float-card--streams { right: -.6rem; }
  .about-split { grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3rem); }
  .about-media { max-width: 540px; margin-inline: auto; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-actions { justify-content: flex-start; }
  .contact-layout { grid-template-columns: 1fr; }
  .cs-main { grid-template-columns: 1fr; }
  .cs-visual { max-width: 520px; }
  .cs-badge { left: 1rem; }
  .stats-grid { gap: 1.25rem; }
}

@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:nth-child(4) { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .brand img { height: 42px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem .8rem; padding-block: 1.6rem; }
  .stat::before { display: none; }
  .course-grid, .why-grid, .facilities-grid, .mission-grid, .steps, .reg-band { grid-template-columns: 1fr; }
  .step-card::after { display: none; }
  .doc-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .cs-actions .btn { width: 100%; }
  .float-card { padding: .65rem .85rem; gap: .65rem; }
  .float-card .fc-icon { width: 36px; height: 36px; }
  .float-card .fc-icon svg { width: 18px; height: 18px; }
  .float-card .fc-num { font-size: 1.1rem; }
  .float-card--programs { top: 4%; left: -.3rem; }
  .float-card--streams { bottom: 8%; right: -.3rem; }
  .about-media .am-badge { left: .8rem; bottom: .8rem; max-width: 240px; padding: .85rem 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-call small { display: inline; margin-left: .4rem; }
  .hero-call small::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); margin: 0 .5rem; vertical-align: middle; }
}

@media (max-width: 420px) {
  .stats-grid { grid-template-columns: 1fr; }
}

/* large screens */
@media (min-width: 1440px) {
  :root { --container: 1260px; }
}

/* ============ 21. REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-card, .cs-badge { animation: none !important; }
  .btn:hover { transform: none; }
}

/* ============ 22. VISUALLY HIDDEN (a11y helper) ============ */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ============ 23. PRINT STYLES ============ */
@media print {
  *, *::before, *::after { box-shadow: none !important; text-shadow: none !important; }

  body { background: #fff; color: #000; font-size: 11pt; }

  .site-header, .site-footer, .nav-toggle, .skip-link,
  .hero, .stats-band, .cta-band, .float-card,
  .section--dark, .section--tint, .page-hero,
  .hero-visual, .about-media, .form-card,
  .section-cta, .hero-ctas, .hero-call, .hero-trust,
  .status-pill, .map-wrap, .social-links, .footer-bottom,
  .reveal { display: none !important; }

  .container { max-width: 100%; padding: 0; margin: 0; }
  .section { padding: 1.5rem 0; }
  a { color: #000; text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: .85em; font-weight: normal; color: #555; }
  a[href^="#"]::after, a[href^="javascript"]::after { content: ""; }
  .footer-legal a::after { content: ""; }

  .btn { border: 1px solid #000; background: transparent; color: #000; padding: .4rem .8rem; font-size: .85rem; }
  .btn--accent, .btn--primary { background: transparent; }

  .doc-list { grid-template-columns: 1fr 1fr; }
  .doc-list .doc-num { background: #eee; color: #000; }

  .program-table { min-width: 0; font-size: .85rem; }
  .program-table th, .program-table td { padding: .5rem .8rem; border: 1px solid #ccc; }
  .program-table thead th { background: #eee; }

  .faq-item { border: 1px solid #ccc; margin-bottom: .5rem; }
  .faq-item[open] .faq-a { display: block; }

  .reg-item { border: 1px solid #ccc; background: transparent; }
  .reg-item p { color: #000; }
  .reg-item svg { color: #000; }

  .mission-card, .course-card, .step-card, .why-card, .facility-card { border: 1px solid #ccc; background: transparent; }
  .mission-card h3, .course-card h3, .step-card h3 { color: #000; }
  .mission-card p, .course-card p, .step-card p, .why-card p { color: #333; }

  h1, h2, h3, h4 { color: #000; page-break-after: avoid; }
  h1 { font-size: 22pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 13pt; }

  img, svg { max-width: 100%; }
  .hero-panel svg, .about-media .am-main svg, .facility-card .fc-media svg { display: none; }

  @page { margin: 1.5cm; }
}
