/* ============================================================
   Hitimu College — Component classes
   CSS-class equivalents of the SBK component API pattern
   (variant + size props -> CSS custom properties) since this
   site has no build step for JSX. See ../../brand/components/
   for the pattern this mirrors (Button, Input, Select, Card).
   ============================================================ */

/* ---------- Utility bar (quick contact, above the header) ----------
   Standard placement for phone/contact is top-right in the header for
   fast access, on top of the fuller details already in the footer.
   Desktop only — mobile users already see contact info in the footer,
   and header space is too tight there for a third thing. */
.topbar-utility { background: var(--surface-primary-deep); padding: 7px 0; }
.topbar-utility .wrap { display: flex; justify-content: flex-end; gap: 22px; }
.topbar-utility a { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: rgba(255, 255, 255, 0.75); transition: color var(--dur-base) var(--ease-standard); }
.topbar-utility a:hover { color: var(--white); }
@media (max-width: 720px) {
  .topbar-utility { display: none; }
}

/* ---------- Header / Nav (shared across all pages) ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter); max-width: var(--content-max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; transition: opacity var(--dur-base) var(--ease-standard); }
.brand:hover { opacity: 0.8; }
.brand img { height: 38px; width: auto; border-radius: 6px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text-heading); }
.brand-text span { font-size: 10.5px; letter-spacing: 0.06em; color: var(--amber-600); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { position: relative; font-size: 14.5px; font-weight: 500; color: var(--text-muted); transition: color var(--dur-base); padding-bottom: 4px; }
.nav-links a:hover { color: var(--text-heading); }
.nav-links a.is-active { color: var(--text-heading); font-weight: 700; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--amber-500); border-radius: var(--radius-pill);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-base) var(--ease-standard);
}
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Mobile menu: slide-in sidebar + backdrop */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0; position: relative; z-index: 95;
  border-radius: var(--radius-sm); border: 1px solid var(--border-hairline);
  background: transparent; color: var(--text-heading); cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.nav-toggle:hover { background: var(--surface-card); border-color: var(--navy-800); }
.nav-backdrop {
  position: fixed; inset: 0; background: rgba(7, 21, 48, 0.55); z-index: 80;
  opacity: 0; pointer-events: none; transition: opacity var(--dur-base) var(--ease-standard);
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }
.nav-mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(300px, 82vw); display: flex; flex-direction: column; gap: 2px;
  padding: 88px 28px 28px; background: var(--surface-primary-deep);
  box-shadow: var(--shadow-lg); overflow-y: auto;
  transform: translateX(100%); transition: transform var(--dur-base) var(--ease-standard);
}
.nav-mobile-panel.is-open { transform: translateX(0); }
.nav-mobile-panel a:not(.btn) { padding: 15px 2px; font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, 0.85); border-bottom: 1px solid var(--border-hairline-dark); }
.nav-mobile-panel a.is-active { color: var(--white); font-weight: 700; }
.nav-mobile-panel .btn { margin-top: 18px; }

/* Login drawer: floating sign-in panel, triggered from the header.
   The backdrop stays fully transparent (no page dimming) — it only
   exists as a full-screen click target so clicking outside the
   drawer closes it. */
.login-backdrop {
  position: fixed; inset: 0; background: transparent; z-index: 105;
  pointer-events: none;
}
.login-backdrop.is-open { pointer-events: auto; }
.login-drawer {
  position: fixed; top: 50%; left: 50%; z-index: 110;
  width: min(380px, 92vw); max-height: 88vh;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow-y: auto;
  padding: 32px 28px; opacity: 0; pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
  transition: transform var(--dur-base) var(--ease-standard), opacity var(--dur-base) var(--ease-standard);
}
.login-drawer.is-open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.login-drawer-close {
  position: absolute; top: 20px; right: 20px; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--border-hairline);
  background: transparent; color: var(--text-heading); cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), transform var(--dur-fast) var(--ease-standard);
}
.login-drawer-close:hover { background: var(--surface-page); transform: rotate(90deg); }

/* ---------- Buttons ----------
   Usage: <a/button class="btn btn--primary btn--lg">Label</a>
   Variants: primary (amber) / secondary (solid navy) / outline (navy border)
             / ghost (translucent border, for dark surfaces)
   Sizes: sm / md / lg
*/
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; text-align: center;
  border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer;
  transition: background var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard),
    transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
  white-space: nowrap;
}
.btn--sm { padding: 9px 16px; font-size: 13.5px; }
.btn--md { padding: 11px 22px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 15px; font-weight: 700; }
.btn--block { width: 100%; }

.btn--primary { background: var(--action-primary); color: var(--action-primary-text); }
.btn--primary:hover { background: var(--action-primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--secondary { background: var(--action-secondary); color: var(--action-secondary-text); }
.btn--secondary:hover { background: var(--action-secondary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--action-outline-text); border-color: var(--border-hairline); }
.btn--outline:hover { border-color: var(--action-outline-border); transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn--ghost { background: transparent; color: var(--action-ghost-text); border-color: var(--action-ghost-border); }
.btn--ghost:hover { border-color: var(--action-ghost-border-hover); background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }

.btn:active { transform: scale(0.97) !important; transition-duration: var(--dur-fast); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- Enrol call-to-action motion ----------
   Every button that links to the admissions page (Enrol now, Enrol in X,
   Claim your spot, ...) gets a soft pulsing ring plus a light shine that
   sweeps left to right, to draw the eye. It pauses on hover/focus so the
   normal hover state shows, is skipped for visitors who prefer reduced
   motion, and is switched off on the admissions page itself and the admin
   sign-in page (body.no-cta-motion). */
@media (prefers-reduced-motion: no-preference) {
  .btn[href*="admissions.html"] {
    --cta-pulse: rgba(245, 166, 35, 0.6);
    position: relative; overflow: hidden;
    animation: cta-pulse 2.4s ease-out infinite;
  }
  .promo .btn[href*="admissions.html"] { --cta-pulse: rgba(7, 21, 48, 0.4); }
  .btn[href*="admissions.html"]::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-20deg); pointer-events: none;
    animation: cta-shine 3.6s ease-in-out infinite;
  }
  .btn[href*="admissions.html"]:hover,
  .btn[href*="admissions.html"]:focus-visible { animation: none; }
  .btn[href*="admissions.html"]:hover::after,
  .btn[href*="admissions.html"]:focus-visible::after { animation: none; opacity: 0; }
  body[data-funnel-step="admissions"] .btn[href*="admissions.html"],
  body.no-cta-motion .btn[href*="admissions.html"] { animation: none; }
  body[data-funnel-step="admissions"] .btn[href*="admissions.html"]::after,
  body.no-cta-motion .btn[href*="admissions.html"]::after { display: none; }
}
@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 var(--cta-pulse); }
  70%  { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes cta-shine {
  0%   { left: -60%; }
  45%, 100% { left: 130%; }
}

/* ---------- Badges / eyebrows ---------- */
.badge {
  display: inline-block; background: var(--surface-primary); color: var(--text-on-primary);
  font-weight: 700; font-size: 12.5px; letter-spacing: 0.03em;
  padding: 8px 16px; border-radius: 6px 6px 6px 0;
}
.badge--outline { background: var(--surface-page); color: var(--text-heading); border: 1px solid var(--border-hairline); }

.eyebrow-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245, 166, 35, 0.14); border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--amber-500); font-weight: 600; font-size: 12.5px;
  padding: 7px 14px; border-radius: var(--radius-pill); width: fit-content;
}
.eyebrow-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber-500); }

/* ---------- Section heading ---------- */
.section-head { max-width: 560px; margin-bottom: 36px; }
.section-head .badge { margin-bottom: 18px; }
.section-head h2 { font-size: 34px; font-weight: 800; }
.section-head p { margin-top: 14px; color: var(--text-muted); font-size: 15.5px; max-width: 520px; }

/* ---------- Cards ----------
   Usage: <div class="card card--interactive card--pad-lg">...</div>
   Variants: default / navy
*/
.card {
  background: var(--surface-card); border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base);
}
.card--pad-sm { padding: 20px; }
.card--pad-md { padding: 24px; }
.card--pad-lg { padding: 32px 28px; }
.card--interactive:hover { border-color: var(--navy-800); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card--navy { background: var(--surface-primary); border-color: var(--navy-800); color: var(--text-on-primary); }

/* Welcome band (homepage, before the FAQs) — a dark band whose colours
   shift left to right: the navy background drifts across, the heading
   fades white to amber with an amber sweep, and a glow travels through the
   four steps in order. Motion is opt-out via prefers-reduced-motion; the
   static styles below are what those visitors (and no-JS) get. */
.welcome {
  position: relative; overflow: hidden; padding: 80px 0; color: var(--white);
  background:
    radial-gradient(640px 260px at 100% 0%, rgba(245,166,35,.20), transparent 70%),
    linear-gradient(90deg, var(--navy-950) 0%, var(--navy-900) 25%, #1B3270 50%, var(--navy-900) 75%, var(--navy-950) 100%);
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 0% 50%;
}
.welcome-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.welcome-name {
  font-size: 64px; font-weight: 800; line-height: 1.05; letter-spacing: .04em; text-transform: uppercase;
  max-width: 900px; color: var(--white); text-wrap: balance;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, var(--amber-500) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.welcome-tagline { margin-top: 16px; font-family: var(--font-display); font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--white); max-width: 720px; text-wrap: balance; }
.welcome-lede { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 19px; line-height: 1.55; max-width: 620px; }
.welcome-lede strong { color: var(--white); }
.welcome-steps { list-style: none; counter-reset: step; margin: 38px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; width: 100%; max-width: 840px; }
.welcome-steps li {
  counter-increment: step; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg);
  padding: 20px 12px 22px; font-family: var(--font-display); font-size: 25px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--white);
  transition: transform var(--dur-base) var(--ease-standard);
}
.welcome-steps li:hover { transform: translateY(-3px); }
.welcome-steps li::before { content: "0" counter(step); display: block; margin-bottom: 8px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; letter-spacing: .04em; color: var(--amber-500); }
.welcome-steps li:nth-child(1) { background: rgba(255,255,255,.05); }
.welcome-steps li:nth-child(2) { background: rgba(245,166,35,.12); border-color: rgba(245,166,35,.28); }
.welcome-steps li:nth-child(3) { background: rgba(245,166,35,.30); border-color: rgba(245,166,35,.50); }
.welcome-steps li:nth-child(4) { background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }
.welcome-steps li:nth-child(4)::before { color: var(--navy-950); }
.welcome-close { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: var(--white); margin-bottom: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .welcome { animation: welcome-drift 16s ease-in-out infinite alternate; }
  .welcome-name {
    background: linear-gradient(90deg, #fff 0%, #fff 25%, var(--amber-500) 50%, #fff 75%, #fff 100%);
    background-size: 200% 100%; background-position: 0% 50%;
    -webkit-background-clip: text; background-clip: text;
    animation: welcome-sweep 6s ease-in-out infinite alternate;
  }
  .welcome-steps li { animation: welcome-wave 4.8s ease-in-out infinite; }
  .welcome-steps li:nth-child(2) { animation-delay: .45s; }
  .welcome-steps li:nth-child(3) { animation-delay: .9s; }
  .welcome-steps li:nth-child(4) { animation-delay: 1.35s; }
}
@keyframes welcome-drift {
  from { background-position: 0 0, 0% 50%; }
  to   { background-position: 0 0, 100% 50%; }
}
@keyframes welcome-sweep {
  from { background-position: 100% 50%; }
  to   { background-position: 0% 50%; }
}
@keyframes welcome-wave {
  0%, 40%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0); transform: translateY(0); }
  15% { box-shadow: 0 0 28px 2px rgba(245,166,35,.55); transform: translateY(-5px); }
}

@media (max-width: 720px) {
  .welcome { padding: 56px 0; }
  .welcome-name { font-size: 38px; }
  .welcome-tagline { font-size: 22px; }
  .welcome-lede { font-size: 17px; }
  .welcome-steps { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 28px 0 26px; }
  .welcome-steps li { font-size: 21px; }
  .welcome-close { font-size: 20px; }
}

.courses { padding: 72px 0 64px 0; }

/* Course card = card + icon + link, used on home + courses page */
.course-card { display: flex; flex-direction: column; gap: 16px; }
.course-icon {
  width: 52px; height: 52px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  color: var(--white); background: var(--surface-primary);
  transition: transform var(--dur-base) var(--ease-standard);
}
.course-icon--accent { background: var(--amber-500); color: var(--text-on-accent); }
.course-card:hover .course-icon { transform: scale(1.08) rotate(-4deg); }
.course-card-header { display: flex; align-items: center; gap: 14px; }
.course-card-header .course-icon { flex-shrink: 0; }
.course-card h3 { font-size: 19.5px; font-weight: 700; }
.course-card p { font-size: 14.5px; color: var(--text-muted); flex-grow: 1; }
.course-link { font-size: 14px; font-weight: 600; color: var(--text-heading); display: inline-flex; align-items: center; gap: 6px; }
.course-link svg { transition: transform var(--dur-base); }
.course-card:hover .course-link svg { transform: translateX(3px); }
.course-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ---------- Hero ---------- */
.hero { background: var(--surface-primary); overflow: hidden; min-height: 720px; display: flex; align-items: stretch; }
.hero-grid { max-width: var(--content-max); margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: stretch; }
.hero-copy { padding: 88px var(--gutter) 64px var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 22px; position: relative; z-index: 3; color: var(--white); }
.hero-copy h1 { font-size: 52px; font-weight: 800; color: var(--white); }
.hero-copy h1 .accent { color: var(--amber-500); }
.hero-copy p.lede { font-size: 17px; color: var(--text-on-primary-muted); max-width: 460px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-row { display: flex; gap: 28px; margin-top: 24px; padding-top: 28px; border-top: 1px solid var(--border-hairline-dark); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, 0.82); font-weight: 500; }
.trust-item svg { flex-shrink: 0; }
.hero-visual { position: relative; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0% 100%); background: var(--surface-primary-deep); }
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,21,48,0) 0%, rgba(7,21,48,.55) 82%, rgba(7,21,48,.9) 100%);
  z-index: 2;
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.hero-wedge { position: absolute; left: 0; top: 0; bottom: 0; width: 60px; background: var(--amber-500); clip-path: polygon(100% 0, 100% 100%, 0 100%); z-index: 3; }

/* Hero entrance: staggered rise-in for copy, slow settle-zoom for the
   photo — both one-shot on load, not scroll-triggered, since this
   content starts above the fold. */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { opacity: 0; animation: hero-rise 0.8s var(--ease-standard) forwards; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.16s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.27s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.38s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.49s; }
  .hero-visual img { animation: hero-zoom 9s var(--ease-standard) forwards; }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-zoom {
  from { transform: scale(1.09); }
  to { transform: scale(1); }
}

/* ---------- Course "screen" visuals (landing page + course detail
   pages, per-course) ----------
   Illustrative decorative panels standing in for a real screen capture —
   a typing terminal for Web Dev / Cyber Security, a pulsing node graph
   for AI & Robotics. Fill the same absolute box the hero photo used.
   .course-screen is a fixed-height wrapper for placements outside the
   hero (e.g. courses.html), so .code-visual/.ai-network's absolute
   inset:0 has something sized to fill. */
.course-screen { position: relative; height: 220px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 20px; }
.course-screen--sm { height: 140px; margin-bottom: 4px; }
.course-screen--sm .code-visual-panel { max-width: 100%; }
.course-screen--sm .code-visual, .course-screen--sm .ai-network { padding: 14px; }
.course-screen--sm .code-visual-body { font-size: 11px; padding: 12px; min-height: 90px; }
.code-visual, .ai-network {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 32px; background: linear-gradient(160deg, #0c1f42 0%, #071530 100%);
}
.code-visual-panel {
  position: relative; overflow: hidden; width: 100%; max-width: 420px;
  background: #0a1730; border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.code-visual-chrome { display: flex; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, 0.04); }
.code-visual-chrome span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.code-visual-chrome span:nth-child(1) { background: #ff5f57; }
.code-visual-chrome span:nth-child(2) { background: #febc2e; }
.code-visual-chrome span:nth-child(3) { background: #28c840; }
.code-visual-body {
  margin: 0; min-height: 150px; padding: 18px; font-family: 'SFMono-Regular', Menlo, Consolas, monospace;
  font-size: 13px; line-height: 1.75; color: #d7e2f5; white-space: pre-wrap; word-break: break-word;
}
.code-visual-body .tok-fn { color: #79c0ff; }
.code-visual-body .tok-str { color: #7ee787; }
.code-visual-body .tok-ok { color: var(--amber-500); font-weight: 700; }
.cyber-scan-line {
  position: absolute; left: 0; right: 0; height: 46px; top: -46px;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0) 0%, rgba(245, 166, 35, 0.16) 50%, rgba(245, 166, 35, 0) 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .cyber-scan-line { animation: cyber-sweep 3.4s ease-in-out infinite; }
}
@keyframes cyber-sweep {
  0% { top: -46px; }
  100% { top: 100%; }
}
.ai-network svg { width: 100%; max-width: 420px; height: auto; }
.ai-network .ai-node { fill: var(--amber-500); }
.ai-network .ai-edge { stroke: rgba(245, 166, 35, 0.32); stroke-width: 1.2; }
@media (prefers-reduced-motion: no-preference) {
  .ai-network .ai-node { animation: ai-pulse 2.6s ease-in-out infinite; }
  .ai-network .ai-node:nth-of-type(odd) { animation-delay: 0.4s; }
  .ai-network .ai-node:nth-of-type(3n) { animation-delay: 0.8s; }
  .ai-network .ai-edge { animation: ai-flow 2.6s ease-in-out infinite; }
}
@keyframes ai-pulse {
  0%, 100% { opacity: 0.65; r: 4; }
  50% { opacity: 1; r: 6; }
}
@keyframes ai-flow {
  0%, 100% { stroke-opacity: 0.2; }
  50% { stroke-opacity: 0.85; }
}

/* ---------- Featured course screens (course detail pages) ----------
   The homepage card preview (.course-screen--sm) stays calm and small.
   The full-size version on courses.html — where someone is actually
   deciding whether to enrol — gets extra attention-grabbing motion:
   a breathing glow, data visibly flowing along the network edges, and
   a brief security-terminal glitch. */
@media (prefers-reduced-motion: no-preference) {
  .course-screen:not(.course-screen--sm) .code-visual-panel { animation: screen-glow 2.8s ease-in-out infinite; }
  .course-screen:not(.course-screen--sm) .ai-network svg { filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.28)); }
  .course-screen:not(.course-screen--sm) .ai-network .ai-edge {
    stroke-dasharray: 6 5;
    animation: ai-flow 2.6s ease-in-out infinite, ai-dash 1.1s linear infinite;
  }
  .course-screen:not(.course-screen--sm) [data-code-visual="cyber-security"] .code-visual-body {
    animation: cyber-glitch 4.5s ease-in-out infinite;
  }
}
@keyframes screen-glow {
  0%, 100% { box-shadow: var(--shadow-lg), 0 0 0 rgba(245, 166, 35, 0); }
  50% { box-shadow: var(--shadow-lg), 0 0 26px rgba(245, 166, 35, 0.32); }
}
@keyframes ai-dash {
  to { stroke-dashoffset: -22; }
}
@keyframes cyber-glitch {
  0%, 92%, 100% { transform: translateX(0); filter: none; }
  93% { transform: translateX(-2px); filter: hue-rotate(25deg); }
  95% { transform: translateX(2px); filter: hue-rotate(-15deg); }
  97% { transform: translateX(-1px); filter: none; }
}

/* ---------- Tier 2: "what the project looks like" (homepage cards) ----------
   Compact previews, scoped to .course-screen--sm so the tier-3 landing
   page versions of the same components (browser mockup) stay in their
   static "already built" state instead of animating. */
.course-screen--sm .browser-panel { max-width: 100%; }
.course-screen--sm .browser-chrome { padding: 5px 8px; }
.course-screen--sm .browser-dots span { width: 5px; height: 5px; }
.course-screen--sm .browser-url { font-size: 8px; padding: 2px 6px; }
.course-screen--sm .browser-body { height: 62px; padding: 8px; }
.course-screen--sm .mock-navbar { height: 6px; width: 55%; margin-bottom: 8px; }
.course-screen--sm .mock-hero-text { height: 8px; width: 78%; margin-bottom: 6px; }
.course-screen--sm .mock-hero-sub { height: 6px; width: 58%; margin-bottom: 8px; }
.course-screen--sm .mock-button { height: 10px; width: 30px; }
@media (prefers-reduced-motion: no-preference) {
  .course-screen--sm .mock-navbar { opacity: 0; animation: reveal-navbar 5.5s ease infinite; }
  .course-screen--sm .mock-hero-text { opacity: 0; animation: reveal-hero-text 5.5s ease infinite; }
  .course-screen--sm .mock-hero-sub { opacity: 0; animation: reveal-hero-sub 5.5s ease infinite; }
  .course-screen--sm .mock-button { opacity: 0; animation: reveal-button 5.5s ease infinite; }
}
@keyframes reveal-navbar {
  0%, 8% { opacity: 0; transform: translateY(-6px); }
  18%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}
@keyframes reveal-hero-text {
  0%, 22% { opacity: 0; transform: translateY(8px); }
  32%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}
@keyframes reveal-hero-sub {
  0%, 36% { opacity: 0; transform: translateY(8px); }
  46%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}
@keyframes reveal-button {
  0%, 50% { opacity: 0; transform: scale(0.85); }
  60%, 82% { opacity: 1; transform: none; }
  94%, 100% { opacity: 0; }
}

.audit-map {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 10px; background: linear-gradient(160deg, #0c1f42 0%, #071530 100%);
}
.audit-map svg { width: 100%; height: 100%; }
.audit-node { fill: rgba(224, 72, 77, 0.55); stroke: rgba(255, 255, 255, 0.15); stroke-width: 1; }
.audit-scan { fill: rgba(245, 166, 35, 0.35); }
@media (prefers-reduced-motion: no-preference) {
  .audit-scan { animation: audit-sweep 3.4s linear infinite; }
  .audit-node.n1 { animation: audit-clear 3.4s linear infinite; animation-delay: 0.2s; }
  .audit-node.n2 { animation: audit-clear 3.4s linear infinite; animation-delay: 1s; }
  .audit-node.n3 { animation: audit-clear 3.4s linear infinite; animation-delay: 1.8s; }
  .audit-node.n4 { animation: audit-clear 3.4s linear infinite; animation-delay: 2.6s; }
}
@keyframes audit-sweep {
  0% { transform: translateX(0); opacity: 1; }
  90% { transform: translateX(222px); opacity: 1; }
  91%, 100% { transform: translateX(222px); opacity: 0; }
}
@keyframes audit-clear {
  0%, 20% { fill: rgba(224, 72, 77, 0.55); }
  26%, 88% { fill: rgba(46, 158, 91, 0.65); }
  94%, 100% { fill: rgba(224, 72, 77, 0.55); }
}

/* ---------- Tier 3: "the payoff" (landing page, applying for a
   specific course) ----------
   Distinct from the homepage teaser and the courses.html featured set —
   these show the exciting result of finishing the course, right at the
   point someone is deciding to apply. */
.browser-visual {
  position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 28px; background: linear-gradient(160deg, #0c1f42 0%, #071530 100%);
}
.browser-visual::before {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.22) 0%, rgba(245, 166, 35, 0) 70%);
}
.browser-panel {
  position: relative; z-index: 1; width: 100%; max-width: 380px; background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(900px) rotateY(-6deg) rotateX(2deg);
}
.browser-chrome { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #eef0f4; }
.browser-dots { display: flex; gap: 5px; }
.browser-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d7dbe3; }
.browser-url { flex: 1; background: #fff; border-radius: 5px; padding: 4px 10px; font-size: 11px; color: #4a5568; text-align: center; }
.browser-body { position: relative; height: 140px; padding: 16px; background: linear-gradient(180deg, #fff 0%, #f5f7fb 100%); }
.mock-navbar { height: 12px; width: 55%; background: var(--navy-900); border-radius: 3px; margin-bottom: 16px; }
.mock-hero-text { height: 15px; width: 78%; background: linear-gradient(90deg, #0b1e42, #22407e); border-radius: 3px; margin-bottom: 10px; }
.mock-hero-sub { height: 10px; width: 58%; background: #c7cedb; border-radius: 3px; margin-bottom: 16px; }
.mock-button { height: 18px; width: 54px; background: linear-gradient(135deg, var(--amber-500), #ffcf6b); border-radius: 5px; box-shadow: 0 4px 10px rgba(245, 166, 35, 0.45); }
.deployed-badge {
  position: absolute; z-index: 2; bottom: 20px; right: 20px; background: linear-gradient(135deg, #22c55e, #1e7a46); color: #fff;
  font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: var(--radius-pill);
  box-shadow: 0 6px 16px rgba(30, 122, 70, 0.45);
}
.deployed-badge::before {
  content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid rgba(34, 197, 94, 0.5);
}
@media (prefers-reduced-motion: no-preference) {
  .deployed-badge { animation: badge-pulse 2.2s ease-in-out infinite; }
  .deployed-badge::before { animation: ping-out 2.2s ease-out infinite; }
}
@keyframes badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.ai-progress {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #0c1f42 0%, #071530 100%);
}
.ai-progress-ring { position: relative; width: 180px; height: 180px; display: flex; align-items: center; justify-content: center; }
.ai-ring-glow {
  position: absolute; width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.28) 0%, rgba(245, 166, 35, 0) 70%);
}
.ai-progress-ring svg { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.4)); }
.ai-progress-ring .ring-bg { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 10; }
.ai-progress-ring .ring-fill {
  fill: none; stroke: url(#hcRingGrad); stroke-width: 10; stroke-linecap: round;
  stroke-dasharray: 314; stroke-dashoffset: 314;
}
@media (prefers-reduced-motion: no-preference) {
  .ai-progress-ring .ring-fill { animation: ring-fill-anim 2.2s ease-out 0.3s forwards; }
  .ai-ring-glow { animation: promo-float 3.6s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ai-progress-ring .ring-fill { stroke-dashoffset: 6; }
}
@keyframes ring-fill-anim {
  to { stroke-dashoffset: 6; }
}
.ai-progress-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; color: #fff;
}
.ai-progress-label strong { font-family: var(--font-display); font-size: 32px; text-shadow: 0 0 20px rgba(245, 166, 35, 0.5); }
.ai-progress-label span { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin-top: 2px; }

.shield-visual {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 18px; background: linear-gradient(160deg, #0c1f42 0%, #071530 100%);
}
.shield-visual .shield-icon-wrap { position: relative; width: 100px; height: 100px; display: flex; align-items: center; justify-content: center; }
.shield-visual svg { position: relative; z-index: 2; filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.5)); }
.radar-ring { position: absolute; width: 100px; height: 100px; border-radius: 50%; border: 1.5px dashed rgba(34, 197, 94, 0.4); }
@media (prefers-reduced-motion: no-preference) {
  .radar-ring { animation: radar-spin 8s linear infinite; }
}
@keyframes radar-spin {
  to { transform: rotate(360deg); }
}
.ping-ring { position: absolute; width: 76px; height: 76px; border-radius: 50%; border: 2px solid rgba(30, 122, 70, 0.55); }
@media (prefers-reduced-motion: no-preference) {
  .ping-ring { animation: ping-out 2.6s ease-out infinite; }
  .ping-ring--delay { animation-delay: 1.3s; }
}
@keyframes ping-out {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.1); opacity: 0; }
}
.shield-label { color: #fff; font-weight: 700; font-size: 15.5px; }

/* ---------- Page hero (simpler header band for inner pages) ---------- */
.page-hero { background: var(--surface-primary); padding: 56px 0 48px; color: var(--white); }
.page-hero h1 { color: var(--white); font-size: 40px; font-weight: 800; }
.page-hero p { margin-top: 14px; color: var(--text-on-primary-muted); font-size: 16px; max-width: 560px; }

/* ---------- Laptop promo band ---------- */
.promo { background: var(--amber-500); position: relative; overflow: hidden; padding: 48px 0; }
.promo-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.promo-copy { display: flex; align-items: center; gap: 22px; }
.promo-icon { width: 64px; height: 64px; border-radius: 14px; background: var(--surface-primary-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (prefers-reduced-motion: no-preference) {
  .promo-icon { animation: promo-float 3.2s ease-in-out infinite; }
}
@keyframes promo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.promo-copy h2 { font-size: 27px; font-weight: 800; color: var(--surface-primary-deep); max-width: 480px; }
.promo-copy p { font-size: 14.5px; color: rgba(7,21,48,.75); margin-top: 6px; max-width: 480px; }
.promo .btn--primary { background: var(--surface-primary-deep); color: var(--white); }
.promo .btn--primary:hover { background: #0e2245; }
/* ---------- Why us ---------- */
.why { padding: 72px 0; background: var(--white); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.why--flush { border-top: none; }
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.why-copy h2 { font-size: 32px; font-weight: 800; }
.why-copy p { margin-top: 16px; color: var(--text-muted); font-size: 15.5px; max-width: 420px; }
.why-list { display: flex; flex-direction: column; gap: 22px; }
.why-row { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border: 1px solid var(--border-hairline); border-radius: 12px; transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard); }
.why-row:hover { border-color: var(--navy-800); box-shadow: var(--shadow-sm); }
.why-row .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--surface-page); border: 1px solid var(--border-hairline); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-heading); transition: transform var(--dur-base) var(--ease-standard); }
.why-row:hover .icon { transform: scale(1.08) rotate(-4deg); }
.why-row h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.why-row p { font-size: 14px; color: var(--text-muted); }

/* Homepage "Why Hitimu": intro on the left (top-aligned, stays in view while
   the cards scroll), three stronger cards on the right — amber accent edge and
   navy icon chips. Scoped to .why-grid so about.html's numbered variant is
   untouched. */
.why-grid { align-items: start; gap: 56px; }
.why-copy { position: sticky; top: 110px; }
.why-copy .badge { margin-bottom: 18px; }
.why-copy h2 { font-size: 36px; line-height: 1.15; }
.why-copy p { font-size: 16.5px; line-height: 1.6; max-width: 440px; }
.why-grid .why-list { gap: 18px; }
.why-grid .why-row {
  gap: 20px; padding: 26px 26px 26px 24px; align-items: center;
  background: var(--white); border-left: 4px solid var(--amber-500);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard);
}
.why-grid .why-row:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--border-hairline); border-left-color: var(--amber-500); }
.why-grid .why-row .icon { width: 54px; height: 54px; border-radius: 14px; background: var(--surface-primary); border-color: var(--surface-primary); color: var(--amber-500); }
.why-grid .why-row .icon svg { width: 26px; height: 26px; }
.why-grid .why-row h4 { font-size: 18px; margin-bottom: 6px; }
.why-grid .why-row p { font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) {
  .why-copy { position: static; }
  .why-grid .why-row { padding: 20px 18px 20px 18px; gap: 16px; align-items: flex-start; }
  .why-grid .why-row .icon { width: 46px; height: 46px; }
  .why-grid .why-row .icon svg { width: 22px; height: 22px; }
}

/* Stacked variant (about.html "three things") — deliberately different
   composition from the horizontal .why-list rows elsewhere: icon on
   top, and a large faint numeral watermark instead of a plain card. */
.three-col-grid .why-row { flex-direction: column; position: relative; overflow: hidden; }
.three-col-grid .why-row::after {
  content: attr(data-step); position: absolute; top: -18px; right: 2px;
  font-family: var(--font-display); font-weight: 800; font-size: 76px; line-height: 1;
  color: rgba(11, 30, 66, 0.05); pointer-events: none;
}

/* ---------- Steps timeline (e.g. thank-you.html "next steps") ----------
   Deliberately distinct from .why-list — a connected, numbered
   sequence rather than a stack of icon cards, since this content is
   inherently ordered ("do this, then this"). */
.steps-timeline { display: flex; flex-direction: column; max-width: 640px; }
.step-item { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.step-item:last-child { padding-bottom: 0; }
.step-item:not(:last-child)::before {
  content: ""; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px;
  background: var(--border-hairline);
}
.step-marker {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; position: relative; z-index: 1;
  background: var(--surface-primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px;
}
.step-content { padding-top: 6px; }
.step-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-content p { font-size: 14px; color: var(--text-muted); }

/* ---------- Forms ----------
   Usage: <div class="form-field"><label class="form-label">...</label>
          <input class="form-input"> <span class="form-helper|form-error">...</span></div>
   Works on both light (paper/white) and dark (navy) surfaces via
   .form-field--on-dark modifier.
*/
.form-field { margin-bottom: 16px; }
.form-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.form-input, .form-select {
  width: 100%; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 12px 14px; color: var(--text-body);
  font-size: 14px; font-family: var(--font-body);
  transition: border-color var(--dur-base) var(--ease-standard), outline-color var(--dur-base) var(--ease-standard),
    background var(--dur-base) var(--ease-standard);
}
.form-input::placeholder { color: var(--slate); opacity: .6; }
.form-input:focus, .form-select:focus { outline: 2px solid var(--amber-500); outline-offset: 1px; border-color: transparent; }
/* The native options list always renders on a light system background,
   regardless of how the closed select itself is themed — force readable
   dark-on-light text here so dark-surface selects don't end up with
   invisible white-on-white options. */
.form-select option { color: var(--text-body); background: var(--white); }
.form-helper { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-muted); }
.form-error { display: block; margin-top: 6px; font-size: 12.5px; color: #C0392B; }
.form-input[aria-invalid="true"], .form-select[aria-invalid="true"] { border-color: #C0392B; }

/* Password show/hide toggle (added by admin.js around #password) */
.password-field { position: relative; }
.password-field .form-input { padding-right: 46px; }
.password-field .form-input::-ms-reveal, .password-field .form-input::-ms-clear { display: none; }
.password-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; border-radius: var(--radius-md); padding: 0;
  color: var(--text-muted); cursor: pointer;
  transition: color var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard);
}
.password-toggle:hover { color: var(--text-heading); background: var(--surface-page); }
.password-toggle:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 1px; }

/* Dark-surface variant (contact/admissions panel on navy) */
.form-field--on-dark .form-label { color: rgba(255, 255, 255, 0.7); }
.form-field--on-dark .form-input, .form-field--on-dark .form-select {
  background: rgba(255, 255, 255, 0.06); border-color: var(--border-hairline-dark); color: var(--white);
}
.form-field--on-dark .form-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.form-field--on-dark .form-helper { color: rgba(255, 255, 255, 0.55); }

.form-status { margin-top: 14px; font-size: 13.5px; padding: 10px 14px; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: rgba(46, 158, 91, 0.14); color: #1E7A46; }
.form-status--error { background: rgba(224, 72, 77, 0.14); color: #B23338; }
.form-field--on-dark ~ .form-status--success,
.contact-form .form-status--success { background: rgba(46, 158, 91, 0.16); color: #6FDB9C; }
.contact-form .form-status--error { background: rgba(224, 72, 77, 0.18); color: #FF9A9D; }

/* ---------- FAQ ----------
   Same composition as the homepage "Why Hitimu" section: intro + a help card
   on the left (sticky), the accordion on the right. */
.faq { padding: 80px 0; background: var(--surface-page); border-top: 1px solid var(--border-hairline); }
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro .badge { margin-bottom: 18px; }
.faq-intro h2 { font-size: 36px; line-height: 1.15; font-weight: 800; }
.faq-intro > p { margin-top: 16px; color: var(--text-muted); font-size: 16.5px; line-height: 1.6; max-width: 420px; }
.faq-help { margin-top: 28px; max-width: 420px; padding: 22px; background: var(--white); border: 1px solid var(--border-hairline); border-left: 4px solid var(--amber-500); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.faq-help-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-heading); }
.faq-help-text { margin-top: 4px; font-size: 14px; color: var(--text-muted); }
.faq-help-actions { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--border-hairline); border-left: 4px solid var(--border-hairline); border-radius: var(--radius-lg);
  padding: 2px 24px 2px 22px; background: var(--white); box-shadow: var(--shadow-sm);
  transition: border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}
.faq-item:hover { box-shadow: var(--shadow-md); border-left-color: var(--amber-500); }
.faq-item[open] { border-left-color: var(--amber-500); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 48px 20px 0; position: relative;
  font-weight: 700; font-size: 17px; line-height: 1.35; color: var(--text-heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 4px; border-radius: 6px; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; width: 32px; height: 32px; margin-top: -16px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: var(--surface-page); border: 1px solid var(--border-hairline);
  font-size: 20px; font-weight: 400; line-height: 1; color: var(--amber-600);
  transition: transform var(--dur-base) var(--ease-standard), background var(--dur-base) var(--ease-standard), color var(--dur-base) var(--ease-standard);
}
.faq-item summary:hover::after { background: rgba(245, 166, 35, 0.16); }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--amber-500); border-color: var(--amber-500); color: var(--navy-950); }
.faq-item p { padding-bottom: 22px; color: var(--text-muted); font-size: 15.5px; line-height: 1.6; max-width: 600px; }
.faq-item[open] p { animation: faq-fade-in 0.35s var(--ease-standard); }
@keyframes faq-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-intro { position: static; }
  .faq-intro h2 { font-size: 30px; }
  .faq-item { padding: 0 16px 0 16px; }
  .faq-item summary { font-size: 16px; padding: 18px 44px 18px 0; }
}

/* ---------- Contact / enrollment panel ---------- */
.contact-panel { background: var(--surface-primary-deep); color: var(--white); padding: 64px 0; }
.contact-panel--admissions { padding: 56px 0 72px; }
.admissions-intro { text-align: center; max-width: 560px; margin: 0 auto 32px; }
.admissions-intro h2 { margin-top: 14px; }
.admissions-intro p { margin-top: 10px; color: var(--text-on-primary-muted); }
.contact-panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-panel h2 { color: var(--white); font-size: 30px; font-weight: 800; }
.contact-panel > .contact-panel-grid > div:first-child p { margin-top: 14px; color: var(--text-on-primary-muted); font-size: 15px; max-width: 400px; }
.contact-list { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { width: 42px; height: 42px; border-radius: 10px; background: rgba(245,166,35,.14); border: 1px solid rgba(245,166,35,.35); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--amber-500); }
.contact-item strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 2px; }
.contact-item span { font-size: 14px; color: var(--text-on-primary-muted); }
.contact-form { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-hairline-dark); border-radius: var(--radius-xl); padding: 32px; }
.contact-form h3 { color: var(--white); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.contact-form p.sub { font-size: 13.5px; color: rgba(255, 255, 255, 0.55); margin-bottom: 22px; }

/* ---------- Footer ----------
   Single slim row on every page: brand, phone/WhatsApp (with icons),
   and copyright. Site nav already lives in the header, so the footer
   doesn't repeat it. */
footer.site-footer { background: var(--surface-primary-deep); border-top: 1px solid var(--border-hairline-dark); padding: 32px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; border-radius: 5px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; color: var(--white); }
footer.site-footer p { font-size: 13px; color: rgba(255, 255, 255, 0.45); }
.footer-contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-contact a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255, 255, 255, 0.55); transition: color var(--dur-base) var(--ease-standard); }
.footer-contact a:hover { color: var(--white); }

/* ---------- Admin (login + leads table) ---------- */
.admin-shell { min-height: 100vh; display: flex; flex-direction: column; }
.admin-topbar { background: var(--surface-primary-deep); padding: 16px var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 3px solid var(--amber-500); }
.admin-topbar .brand-text strong, .admin-topbar .brand-text span { color: var(--white); }
.admin-topbar .brand-text span { color: rgba(255,255,255,.6); }
.admin-main { flex: 1; padding: 48px var(--gutter); max-width: var(--content-max); margin: 0 auto; width: 100%; }
.admin-login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.admin-login-brand img { height: 32px; width: auto; border-radius: 6px; }
.admin-login-brand .hc-overline { color: var(--text-muted); }

.leads-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-hairline); }
.leads-table th, .leads-table td { text-align: left; padding: 12px 16px; font-size: 13.5px; border-bottom: 1px solid var(--border-hairline); }
.leads-table th { background: var(--surface-page); font-weight: 700; text-transform: uppercase; font-size: 11.5px; letter-spacing: .04em; color: var(--text-muted); }
.leads-table tr:last-child td { border-bottom: none; }
.leads-table tbody tr { transition: background var(--dur-base) var(--ease-standard); }
.leads-table tbody tr:hover { background: var(--surface-page); }
.leads-table select.form-select { padding: 6px 10px; font-size: 13px; }
.status-cell { display: flex; align-items: center; gap: 8px; }
.status-cell .save-status-btn { flex-shrink: 0; min-width: 64px; }

.kpi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.kpi-card { display: flex; flex-direction: column; gap: 6px; border-top: 3px solid var(--border-hairline); transition: box-shadow var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard); }
.kpi-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.kpi-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.kpi-value { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--text-heading); }
.kpi-card--new { border-top-color: var(--amber-500); }
.kpi-card--contacted { border-top-color: var(--navy-900); }
.kpi-card--enrolled { border-top-color: #1E7A46; }
.kpi-card--not-interested { border-top-color: var(--text-muted); }
@media (max-width: 720px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
}
.kpi-section-label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin: 0 0 10px; }
.kpi-section-label span { font-weight: 500; text-transform: none; letter-spacing: 0; }
.kpi-card--course { font: inherit; text-align: left; width: 100%; cursor: pointer; border-top-color: var(--navy-900); }
.kpi-card--course[hidden] { display: none; }
.kpi-card--course[aria-pressed="true"] { border-top-color: var(--amber-500); box-shadow: 0 0 0 2px var(--amber-500); }
.kpi-card--course:focus-visible { outline: 2px solid var(--amber-500); outline-offset: 2px; }

.filter-bar { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0 16px; margin-bottom: 24px; }
.filter-bar .form-field { margin-bottom: 0; min-width: 160px; }
.filter-bar .form-field[hidden] { display: none; }
.filter-bar .filter-actions { min-width: 0; }
.filter-count { margin: 0 0 0 auto; font-size: 13px; color: var(--text-muted); align-self: center; }
@media (max-width: 720px) {
  .filter-bar { gap: 12px; }
  .filter-bar .form-field { flex: 1 1 140px; }
  .filter-count { margin-left: 0; flex-basis: 100%; }
}
.status-pill { display: inline-block; padding: 3px 10px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 600; }
.status-pill--new { background: rgba(245,166,35,.16); color: var(--amber-600); }
.status-pill--contacted { background: rgba(11,30,66,.1); color: var(--navy-900); }
.status-pill--enrolled { background: rgba(46,158,91,.16); color: #1E7A46; }

/* ---------- Floating WhatsApp button (all public pages) ----------
   Sits below the nav/login overlays (z-index 80+). Darker green than
   WhatsApp's stock #25D366 so the white label meets contrast. */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 20px 0 16px;
  border-radius: var(--radius-pill); background: #0F7A6D; color: #fff;
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow-lg);
  transition: background var(--dur-base) var(--ease-standard), transform var(--dur-base) var(--ease-standard);
}
.wa-float:hover { background: #0C6459; transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; }
.wa-float svg { flex-shrink: 0; }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Careers chips (courses page info cards) ---------- */
.career-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.career-list li { background: var(--white); border: 1px solid var(--border-hairline); border-radius: var(--radius-pill); padding: 6px 14px; font-size: 13.5px; font-weight: 600; color: var(--text-heading); }

/* ---------- Admissions: split apply layout ----------
   Left: intro + course preview. Right: the form. Stacks under 900px. */
.admissions-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.admissions-split .admissions-intro { text-align: left; margin: 0; max-width: 480px; }
.admissions-visual-wrap { display: none; max-width: 480px; margin-top: 28px; }
.admissions-visual-wrap #admissions-visual { margin-bottom: 16px; }
.admissions-visual-wrap #admissions-course-desc { color: var(--amber-500); font-weight: 600; font-size: 14.5px; }
.admissions-chat { margin-top: 18px; text-align: center; font-size: 14px; color: var(--text-on-primary-muted); }
.admissions-chat a { color: var(--amber-500); font-weight: 600; }
.admissions-chat a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .admissions-split { grid-template-columns: 1fr; gap: 32px; }
  .admissions-split .admissions-intro { text-align: center; margin: 0 auto; }
  .admissions-visual-wrap { margin: 24px auto 0; }
  .admissions-visual-wrap #admissions-course-desc { text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1.2fr 1fr; }
  .hero { min-height: 0; }
  .hero-visual { clip-path: none; min-height: 480px; }
  .hero-visual img { object-position: 50% 18%; }
  .hero-wedge { display: none; }
  .hero-copy { padding: 40px 20px 40px 24px; gap: 16px; }
  .hero-copy h1 { font-size: 32px; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 20px; padding-top: 20px; }
  .course-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-panel-grid { grid-template-columns: 1fr; }
  .contact-panel-grid .contact-form { order: -1; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .promo-inner { flex-direction: column; align-items: flex-start; }

  /* Tighter section rhythm on mobile — less dead vertical space */
  .courses { padding: 56px 0 48px; }
  .why { padding: 56px 0; }
  .faq { padding: 56px 0; }
  .contact-panel { padding: 56px 0; }
  .contact-panel--admissions { padding: 48px 0 56px; }
  .promo { padding: 44px 0; }
  .page-hero { padding: 44px 0 36px; }
  .section-head { margin-bottom: 32px; }
  .why-list { gap: 14px; }
  .why-row { padding: 16px; }
  .course-list { gap: 16px; }
  .card--pad-lg { padding: 24px 22px; }
  .faq-list { gap: 8px; }
}
@media (min-width: 981px) {
  .nav-mobile-panel, .nav-backdrop { display: none !important; }
}
@media (max-width: 560px) {
  .nav { padding: 14px 20px; }
  .brand-text span { display: none; }
  .nav-actions .btn--secondary { padding: 9px 14px; font-size: 13px; }
  /* The standalone header Login button was wide enough at this width to
     overlap the brand wordmark — it's already duplicated in the mobile
     slide-out menu, so just hide it here rather than shrink it further. */
  .nav-actions .login-trigger { display: none; }
  .hero-grid { grid-template-columns: 1fr 0.82fr; }
  .hero-visual { min-height: 380px; }
  .hero-copy { padding: 28px 16px 28px 20px; gap: 12px; }
  .hero-copy h1 { font-size: 22px; }
  .hero-copy p.lede { font-size: 13px; }
  .eyebrow-badge { font-size: 10.5px; padding: 6px 10px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-cta-row .btn { padding: 11px 16px; font-size: 13px; }
  .trust-row { display: none; }
  .section-head h2 { font-size: 27px; }
  .page-hero h1 { font-size: 30px; }
}
