/* ==========================================================================
   أكاديمية مسلميتو — shared styles, loaded on every page
   1. Tokens   2. Base   3. Layout   4. Components   5. Header   6. Footer
   7. Click-to-play video cards
   Each page adds its own stylesheet after this one (site/partials/head.blade.php):
   home, instructors, course, courses, dates-fees, checkout, about, faq, 404.
   ========================================================================== */
/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand */
  --c-primary: #1670AD;
  --c-primary-hover: #14649C;
  --c-link-hover: #0F5A8C;
  --c-navy: #0A3F65;
  --c-navy-deep: #072C47;
  --c-navy-line: #1E4A6E;
  --c-navy-border: #3D6A8F;
  --c-on-navy: #DCEAF5;
  --c-on-navy-muted: #B9D3E8;

  /* Surfaces */
  --c-white: #FFFFFF;
  --c-pale: #EBF5FC;
  --c-pale-2: #F5F9FD;
  --c-mist: #EEF3F8;
  --c-border: #D6E4F0;
  --c-border-strong: #C9D9E7;

  /* Text */
  --c-ink: #0C1A28;
  --c-text-2: #3A5068;
  --c-text-3: #4F6B86;

  /* Status */
  --c-success: #007A52;
  --c-success-ink: #00603F;
  --c-success-bg: #E3F4EC;
  --c-live: #3DDC97;
  --c-warning-ink: #7A4E00;
  --c-warning-bg: #FFF1D6;
  --c-neutral-ink: #3D4A57;
  --c-neutral-bg: #EEF1F4;

  /* Gold accent */
  --c-gold: #A97F1F;
  --c-gold-ink: #6E5110;
  --c-gold-bg: #FBF3DC;
  --c-gold-light: #E2BE63;
  --c-gold-border: #EBD9A8;
  --c-cream: #FFFDF6;

  /* Type */
  --font-head: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 18px;
  --radius-pill: 999px;
  --shadow-menu: 0 24px 48px rgba(10, 63, 101, 0.16);
  --shadow-hover: 0 12px 28px rgba(10, 63, 101, 0.10);
  --shadow-panel: 0 16px 40px rgba(10, 63, 101, 0.10);

  /* Layout */
  --container: 1240px;
  --gutter: 32px;
  --nav-h: 68px;
  --nav-h-compact: 56px;
  --sticky-top: var(--nav-h-compact); /* space taken by the sticky header once scrolled */
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); line-height: 1.3; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
svg { flex-shrink: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: var(--c-primary); }
a:hover { color: var(--c-link-hover); }

a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
}

[hidden] { display: none !important; }

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

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--c-navy);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--c-white); }

body.is-locked { overflow: hidden; }

/* 3. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter)); /* --container is the content width */
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 88px; }
.section--sm { padding-block: 64px; }
.section--pale { background: var(--c-pale-2); }
.section--navy { background: var(--c-navy); color: var(--c-white); }

@media (max-width: 720px) {
  .section { padding-block: 56px; }
  .section--sm { padding-block: 44px; }
}

/* Section heading: optional eyebrow, title, lead */
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.section-head--row {
  max-width: none;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
}
.eyebrow { font-size: 14px; font-weight: 700; line-height: normal; color: var(--c-primary); }
.section-title { font-size: 36px; font-weight: 800; line-height: 1.3; }
.section-title--sm { font-size: 28px; }
.lead { font-size: 17px; line-height: 1.8; color: var(--c-text-2); }

@media (max-width: 720px) {
  .section-title { font-size: 28px; }
  .section-title--sm { font-size: 24px; }
}

/* Auto-fitting grid. Set --min per use (default 260px). */
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr));
  gap: var(--gap, 20px);
}

/* Page hero: pale band under the header with breadcrumb, H1 and lead */
.page-hero { background: var(--c-pale-2); border-bottom: 1px solid var(--c-border); }
.page-hero__inner { display: flex; flex-direction: column; gap: 14px; padding-block: 36px 48px; }
.page-hero__title { font-size: 44px; font-weight: 900; line-height: 1.25; }
.page-hero__lead { font-size: 18px; line-height: 1.8; color: var(--c-text-2); max-width: 720px; }

@media (max-width: 720px) {
  .page-hero__inner { padding-block: 24px 32px; }
  .page-hero__title { font-size: 32px; }
  .page-hero__lead { font-size: 16.5px; }
}

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; line-height: normal; color: var(--c-text-3); }
.breadcrumb a { color: var(--c-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* 4. Components ------------------------------------------------------------ */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--c-primary); color: var(--c-white); }
.btn--primary:hover { background: var(--c-primary-hover); color: var(--c-white); }
.btn--secondary { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn--secondary:hover { background: var(--c-pale); color: var(--c-primary); }
.btn--light { background: var(--c-white); color: var(--c-navy); }
.btn--light:hover { background: var(--c-pale); color: var(--c-navy); }
.btn--ghost { background: transparent; color: var(--c-white); border: 1.5px solid rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--c-white); }

.btn--md { height: 48px; }
.btn--lg { height: 52px; padding: 0 26px; border-radius: var(--radius-md); font-size: 17px; font-weight: 800; }
.btn--xl { height: 54px; padding: 0 30px; gap: 10px; border-radius: var(--radius-md); font-size: 17.5px; font-weight: 800; }
.btn--block { display: flex; width: 100%; }

/* Inline link with arrow */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--c-primary);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover { color: var(--c-link-hover); text-decoration: underline; }

/* Cards */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
}
.card-link {
  color: inherit;
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.card-link:hover { color: inherit; border-color: var(--c-primary); box-shadow: var(--shadow-hover); }

/* Pills / status labels */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.pill--success { background: var(--c-success-bg); color: var(--c-success-ink); }
.pill--warning { background: var(--c-warning-bg); color: var(--c-warning-ink); }
.pill--gold { background: var(--c-gold-bg); color: var(--c-gold-ink); }
.pill--info { background: var(--c-pale); color: var(--c-navy); }
.pill--neutral { background: var(--c-neutral-bg); color: var(--c-neutral-ink); }
.pill--on-navy { background: rgba(255, 255, 255, 0.1); color: var(--c-white); border: 1px solid rgba(255, 255, 255, 0.25); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-live); flex-shrink: 0; }

/* Filter chips (toggle buttons with aria-pressed) */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--c-border-strong);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  color: var(--c-ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.chip:hover { border-color: var(--c-primary); }
.chip[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

/* Segmented control (e.g. داخل مصر / خارج مصر) */
.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius);
  background: var(--c-mist);
}
.segmented button {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-text-2);
  font-size: 14.5px;
  font-weight: 700;
}
.segmented button[aria-pressed="true"] { background: var(--c-white); color: var(--c-navy); box-shadow: 0 1px 2px rgba(10, 63, 101, 0.12); }
.segmented--inline { display: inline-grid; }
.segmented--sm button { height: 36px; font-size: 14px; }

/* Radio cards: <label class="radio-card"><input type="radio" …> … </label> */
.radio-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  background: var(--c-white);
  cursor: pointer;
}
.radio-card:hover { border-color: var(--c-primary); }
.radio-card:has(input:checked) { border: 1.5px solid var(--c-primary); background: var(--c-pale-2); }
.radio-card input { width: 18px; height: 18px; margin: 0; accent-color: var(--c-primary); flex-shrink: 0; }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--c-primary); outline-offset: 2px; }

/* Check list */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.7; }
.check-list svg { margin-top: 4px; color: var(--c-success); }

/* Accordion (native details) */
.accordion { display: flex; flex-direction: column; gap: 12px; }
.accordion details {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}
.accordion summary {
  min-height: 84px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .chev { color: var(--c-primary); transition: transform .2s ease; }
.accordion details[open] .chev { transform: rotate(180deg); }
.accordion details > p,
.accordion .accordion__body { padding: 0 20px 18px; font-size: 15px; line-height: 1.8; color: var(--c-text-2); }

/* Call-to-action band at the end of pages */
.cta-band { background: var(--c-navy); color: var(--c-white); }
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 56px;
}
.cta-band__text { display: flex; flex-direction: column; gap: 8px; }
.cta-band__title { font-size: 28px; font-weight: 800; line-height: normal; }
.cta-band__lead { font-size: 16.5px; line-height: normal; color: #D5E6F3; }

/* Form fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 14px; font-weight: 600; color: var(--c-ink); }
.input, .select {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--radius);
  background: var(--c-white);
  font-size: 15.5px;
}
.input::placeholder { color: #7D93A8; }
.input:focus, .select:focus { border-color: var(--c-primary); outline: 3px solid rgba(22, 112, 173, 0.18); outline-offset: 0; }

/* Mobile sticky call-to-action bar (shown under 900px) */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -8px 24px rgba(10, 63, 101, 0.10);
  }
  .sticky-cta__text { display: flex; flex-direction: column; font-size: 13px; color: var(--c-text-3); line-height: 1.4; }
  .sticky-cta__text strong { font-size: 15px; color: var(--c-ink); font-family: var(--font-head); }
  body.has-sticky-cta { padding-bottom: 76px; }
}

/* 5. Header ---------------------------------------------------------------- */
.utility-bar { background: var(--c-navy); color: var(--c-white); font-size: 13.5px; line-height: normal; }
.utility-bar__inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-bar__note { display: flex; align-items: center; gap: 10px; min-width: 0; }
.utility-bar__note > span:not(.dot) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.utility-bar__links { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.util-link { display: inline-flex; align-items: center; gap: 6px; color: var(--c-white); font-weight: 500; text-decoration: none; }
.util-link:hover { color: var(--c-white); opacity: .85; }
.util-link--underline { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 0 rgba(10, 63, 101, 0.04);
  line-height: normal;
  transition: box-shadow .2s ease;
}
.site-header.is-compact { box-shadow: 0 6px 20px rgba(10, 63, 101, 0.08); }
.site-header__bar {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  transition: height .2s ease;
}
.site-header.is-compact .site-header__bar { height: var(--nav-h-compact); }

.brand { display: flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { color: var(--c-ink); }
.brand__mark { display: block; flex-shrink: 0; width: 48px; height: 48px; object-fit: contain; transition: width .2s ease, height .2s ease; }
.site-header.is-compact .brand__mark { width: 36px; height: 36px; }
.brand__name { font-family: var(--font-head); font-size: 19px; font-weight: 900; line-height: 1.2; color: var(--c-navy); white-space: nowrap; }

.nav-list { list-style: none; display: flex; align-items: center; gap: 4px; flex-grow: 1; }
.nav-item {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--c-ink);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-item:hover, .nav-item[aria-expanded="true"] { background: var(--c-pale); color: var(--c-navy); }
.nav-item.is-active { color: var(--c-navy); box-shadow: inset 0 -3px 0 var(--c-primary); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.nav-item svg { transition: transform .2s ease; }
.nav-item[aria-expanded="true"] svg { transform: rotate(180deg); }
/* A link with its own menu arrow ("الدورات"): the two read as one item. */
.nav-split { display: flex; align-items: center; }
.nav-split > .nav-item:first-child { padding-inline-end: 4px; }
.nav-item--caret { padding: 0 8px; cursor: pointer; }

.site-header__cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-inline-start: auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-navy);
}

/* Dropdown panels */
.mega {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  z-index: 60;
  padding: 0 var(--gutter);
}
.mega__panel {
  max-width: 1234px;
  margin: 8px auto 0;
  padding: 28px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-menu);
}
.mega__panel--courses { display: grid; grid-template-columns: 1.15fr 1.35fr 0.8fr; gap: 28px; }

.mega__featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--c-pale-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}
.mega__featured-title { font-family: var(--font-head); font-size: 21px; font-weight: 800; line-height: 1.35; }
.mega__featured-desc { font-size: 14.5px; line-height: 1.7; color: var(--c-text-2); }
.mega__facts { list-style: none; margin-top: 4px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--c-text-2); }
.mega__facts li { display: flex; align-items: center; gap: 8px; }
.mega__facts svg { color: var(--c-primary); }
.mega__facts strong { color: var(--c-ink); }
.mega__col { display: flex; flex-direction: column; gap: 6px; }
.mega__label { margin-bottom: 6px; font-size: 12.5px; font-weight: 700; color: var(--c-text-3); letter-spacing: 0.3px; }
.mega__aside { display: flex; flex-direction: column; gap: 10px; padding-inline-start: 24px; border-inline-start: 1px solid var(--c-border); }
.mega__aside-title { font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.mega__aside p:not(.mega__aside-title) { font-size: 14px; line-height: 1.7; color: var(--c-text-2); }

.menu-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--c-ink);
  text-decoration: none;
}
.menu-row:hover { background: var(--c-pale-2); color: var(--c-ink); }
.menu-row__title { font-size: 15.5px; font-weight: 700; }
.menu-row__sub { font-size: 13.5px; line-height: 1.6; color: var(--c-text-3); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  overflow-y: auto;
}
.drawer__head {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 64px;
  padding: 0 var(--gutter);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.drawer__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: var(--c-white);
  color: var(--c-navy);
}
.drawer__nav { padding: 8px var(--gutter); }
.drawer__list { list-style: none; display: flex; flex-direction: column; }
.drawer__list > li { border-bottom: 1px solid var(--c-mist); }
.m-row {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--c-ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  list-style: none;
  cursor: pointer;
}
.m-row::-webkit-details-marker { display: none; }
.m-row:hover, .m-row:active { color: var(--c-navy); }
.m-row[aria-current="page"] { color: var(--c-primary); }
details[open] > .m-row svg { transform: rotate(180deg); }
.drawer__sub { list-style: none; padding: 0 12px 12px; display: flex; flex-direction: column; }
.drawer__sub a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 6px 12px;
  border-radius: var(--radius);
  color: var(--c-text-2);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
}
.drawer__sub a:hover { background: var(--c-pale-2); color: var(--c-ink); }
.drawer__sub small { font-size: 13px; font-weight: 500; color: var(--c-text-3); }
.drawer__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  background: var(--c-pale-2);
  border-top: 1px solid var(--c-border);
}
.drawer__foot p { font-size: 14px; color: var(--c-text-2); }

@media (max-width: 1100px) {
  .nav-list, .site-header__cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .mega { display: none !important; }
}
@media (max-width: 720px) {
  .utility-bar__links { display: none; }
  .utility-bar__note { font-size: 12.5px; }
  .site-header__bar { height: 60px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__name { font-size: 17px; }
}

/* 6. Footer ---------------------------------------------------------------- */
.site-footer { background: var(--c-navy-deep); color: var(--c-on-navy); line-height: normal; }
.site-footer__inner { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 28px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 32px;
}
.site-footer__about { grid-column: span 2; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.site-footer .brand__mark { width: 56px; height: 56px; }
.site-footer .brand__name { font-size: 21px; color: var(--c-white); }
.site-footer__blurb { max-width: 380px; font-size: 14.5px; line-height: 1.8; color: var(--c-on-navy-muted); }
.site-footer__wa {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--c-navy-border);
  border-radius: var(--radius);
  color: var(--c-white);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
}
.site-footer__col { display: flex; flex-direction: column; gap: 4px; }
.site-footer__title { margin-bottom: 8px; font-family: var(--font-head); font-size: 15px; font-weight: 800; color: var(--c-white); }
.foot-link { padding: 6px 0; color: var(--c-on-navy); font-size: 14.5px; text-decoration: none; }
.foot-link:hover, .site-footer__wa:hover { color: var(--c-white); text-decoration: underline; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--c-navy-line);
  font-size: 13.5px;
  color: var(--c-on-navy-muted);
}
.site-footer__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.site-footer__pay span + span { padding: 3px 8px; border: 1px solid var(--c-navy-border); border-radius: 6px; }
.site-footer__legal { display: flex; gap: 18px; }
.site-footer__legal .foot-link { padding: 0; font-size: 13.5px; color: var(--c-on-navy-muted); }

@media (max-width: 560px) {
  .site-footer__about { grid-column: 1 / -1; }
}


/* 7. Click-to-play video cards ----------------------------------------------- */
/* Backend wiring, not in the design export: hero intro, graduate stories, full intro.
   Poster + play button until clicked, then the player fills the card (portrait videos
   sit letterboxed on the poster). The page-specific parts live in home.css and about.css. */
[data-video] { position: relative; }
.vc-poster,
.vc-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.vc-poster { object-fit: cover; }
.vc-player { z-index: 2; object-fit: contain; background: transparent; }
iframe.vc-player { background: var(--c-navy-deep); }
/* Shown from the click until the first frames can play. */
.vc-spinner {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--c-white);
  animation: vc-spin 0.8s linear infinite;
  pointer-events: none;
}
@keyframes vc-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vc-spinner { animation-duration: 2s; } }
