/* ==========================================================================
   SUNODIA TOOLKIT — modern, fast, dependency-free
   Palette (locked from brand): navy, royal blue, gold, red
   Replaces Bootstrap + OwlCarousel + MagnificPopup + jQuery style foundations.
   ========================================================================== */

:root {
  /* Brand */
  --navy: #1a2d62;
  --navy-deep: #172554;
  --navy-ink: #12304a;
  --blue: #2c7aff;
  --blue-bright: #1e70f1;
  --blue-text: #1d64db;
  --blue-text-hover: #154eb0;
  --blue-soft: #7db7ff;
  --gold: #ffd74f;
  --gold-soft: #fec961;
  --cream: #fff8dc;
  --red: #db1a1a;
  --green: #10b981;

  /* Neutrals */
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --bg: #f8fafc;
  --surface: #ffffff;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(18, 48, 74, 0.06), 0 2px 8px rgba(18, 48, 74, 0.05);
  --shadow-md: 0 6px 20px rgba(18, 48, 74, 0.08);
  --shadow-lg: 0 20px 45px rgba(18, 48, 74, 0.12);
  --shadow-brand: 0 10px 30px rgba(44, 122, 255, 0.22);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.06) inset;

  /* Type */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* Layout */
  --container: 1180px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & SCROLLBAR SUPPRESSION (Clean Edge-to-Edge, Fully Scrollable)
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Legacy Edge */
}
body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  line-height: 1.65;
  background: var(--bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE / Legacy Edge */
}

/* Hide scrollbar globally for Chrome, Safari, Edge, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Lenis Weighted Smooth Scroll Engine */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { color: var(--blue-text-hover); }
:focus-visible {
  outline: 2px solid var(--blue-text);
  outline-offset: 2px;
}
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--navy-ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section-tight { padding-block: clamp(40px, 6vw, 64px); }
.grid { display: grid; gap: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--blue-text); margin-bottom: 14px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 0.98rem; line-height: 1;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { background: var(--blue-bright); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(44, 122, 255, 0.3); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 24px rgba(255, 215, 79, 0.35); }
.btn-gold:hover { background: var(--gold-soft); color: var(--navy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--blue); transform: translateY(-2px); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }

/* ==========================================================================
   NAVBAR (Transparent-to-Solid Scroll Transition)
   ========================================================================== */
.site-nav {
  position: sticky; top: 0; z-index: 1000;
  margin-bottom: calc(-1 * var(--nav-h));
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
.site-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 45, 98, 0.96);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(10, 20, 45, 0.25);
  opacity: var(--nav-opacity, 0);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}
.site-nav.scrolled::before {
  opacity: var(--nav-opacity, 1);
}
.site-nav .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--nav-h); max-width: 100%; padding-inline: clamp(16px, 3vw, 40px); }
.site-nav nav { min-width: 0; display: flex; align-items: center; justify-content: center; justify-self: center; }
.site-brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; justify-self: start; }
.site-brand img { width: 46px; height: auto; }
.site-brand .brand-name { font-weight: 700; color: #ffffff; line-height: 1.05; font-size: 1.05rem; letter-spacing: 0.02em; }
.site-brand .brand-name small { display: block; font-size: 0.66rem; font-weight: 500; color: rgba(255, 255, 255, 0.72); letter-spacing: 0.04em; }

.site-menu { display: flex; align-items: center; gap: 4px; }
.site-menu > li { position: relative; display: flex; align-items: center; }
.site-menu > li > a,
.site-menu > li > .nav-drop-btn {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 9px 13px; border-radius: var(--r-sm);
  font-weight: 500; color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; line-height: 1; transition: color 0.2s, background 0.2s;
  background: transparent; border: 0; font-family: inherit; cursor: pointer;
}
.site-menu > li > a:hover,
.site-menu > li > .nav-drop-btn:hover { color: #ffffff; background: rgba(255, 255, 255, 0.12); }
.site-menu > li.current > a,
.site-menu > li.current > .nav-drop-btn { color: var(--gold); font-weight: 600; background: rgba(255, 215, 79, 0.12); }
.site-menu .has-drop { position: relative; }
.site-menu .drop {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  margin-top: 0;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 8px; min-width: 230px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
/* Invisible bridge so the dropdown doesn't close while moving the cursor into it */
.site-menu .drop::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; background: transparent; }
.site-menu .has-drop:hover .drop, .site-menu .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.site-menu .drop a { display: flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: var(--r-sm); color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.site-menu .drop a:hover { background: var(--bg); color: var(--blue); }
.site-menu .drop a img { width: 30px; height: 30px; object-fit: cover; border-radius: var(--r-sm); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #ffffff; border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.open { opacity: 0; pointer-events: none; }
.nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; justify-self: end; }
.nav-user { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.12); color: #ffffff; border: 1.5px solid rgba(255, 255, 255, 0.25); transition: 0.2s; font-size: 1.1rem; }
.nav-user:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86%); top: 0; z-index: 1200;
  background: var(--surface); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.34s var(--ease);
  padding: 24px 20px 32px; overflow-y: auto; display: none;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}
.mobile-brand { display: flex; align-items: center; gap: 10px; }
.mobile-menu-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--bg); border: 1px solid var(--line-soft);
  font-size: 1.15rem; color: var(--ink-soft); line-height: 1;
  transition: all 0.2s ease; cursor: pointer;
}
.mobile-menu-close:hover {
  background: var(--line-soft); color: var(--ink);
}

.mobile-nav { display: flex; flex-direction: column; }
.mobile-menu a.m-link,
.mobile-menu button.m-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; min-height: 46px; padding: 12px 6px;
  border: none; border-bottom: 1px solid var(--line-soft);
  background: transparent; font-family: inherit; font-size: 0.98rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none; cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}
.mobile-menu a.m-link:hover,
.mobile-menu button.m-link:hover { color: var(--blue); }
.mobile-menu a.m-link.current { color: var(--blue); font-weight: 700; }

.mobile-menu .m-group { border-bottom: 1px solid var(--line-soft); }
.mobile-menu .m-group > button.m-link { border-bottom: none; }
.mobile-menu .m-group.open > button.m-link { color: var(--blue); }

.mobile-menu .m-chevron {
  font-size: 0.72rem; color: var(--muted);
  transition: transform 0.25s var(--ease), color 0.2s ease;
}
.mobile-menu .m-group.open .m-chevron {
  transform: rotate(180deg); color: var(--blue);
}

.mobile-menu .m-sub {
  display: none; flex-direction: column; gap: 2px;
  padding: 4px 0 10px 14px;
  border-left: 2px solid var(--line-soft);
  margin: 0 0 8px 8px;
}
.mobile-menu .m-group.open .m-sub { display: flex; }
.mobile-menu .m-sub a {
  display: flex; align-items: center; min-height: 38px; padding: 7px 12px;
  border-radius: var(--r-sm); font-size: 0.92rem; font-weight: 500;
  color: var(--ink-soft); text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.mobile-menu .m-sub a:hover {
  background: var(--bg); color: var(--blue);
}
.mobile-menu .m-sub a.current {
  background: rgba(30, 58, 138, 0.08); color: var(--blue); font-weight: 600;
}

.mobile-menu .m-footer-action {
  margin-top: 20px; padding-top: 6px;
}
.mobile-menu .m-login-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; min-height: 44px; border-radius: var(--r-md);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
}
.mobile-menu-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); opacity: 0; visibility: hidden; transition: 0.3s; z-index: 1100; }
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
  .site-menu { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu { display: block; }
  .site-menu-desktop { display: none; }
}
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + clamp(36px, 5vw, 64px));
  padding-bottom: clamp(40px, 6vw, 72px);
  background: var(--navy);
  color: #fff;
}
.hero .container { position: relative; z-index: 1; max-width: 1440px; padding-inline: clamp(20px, 5vw, 80px); }
.hero-grid { display: grid; grid-template-columns: clamp(0px, 46vw, 620px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-eyebrow { display: none !important; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 18px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; color: #cdd9f0; max-width: 52ch; margin-bottom: 28px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-verse {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.96rem; color: var(--gold); font-style: italic; max-width: 46ch;
}
.hero-media { position: relative; }
.hero-media picture { display: block; width: 100%; }
.hero-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; transform: translateZ(0); -webkit-transform: translateZ(0); width: 100%; }
.hero-media .hero-badge {
  position: absolute; bottom: -20px; left: -20px; background: var(--surface); color: var(--navy);
  border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
}
.hero-media .hero-badge .b-num { font-size: 1.9rem; font-weight: 800; color: var(--blue); line-height: 1; }
.hero-media .hero-badge .b-label { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero.full-bleed { display: flex; align-items: center; padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 72px)); padding-bottom: clamp(48px, 7vw, 80px); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.card-wrapper { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); contain: paint; }
.card-wrapper .card-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; contain: paint; }
.card-wrapper .card-media picture { display: block; width: 100%; height: 100%; }
.card-wrapper .card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transform: translateZ(0); -webkit-transform: translateZ(0); }
.card-wrapper .card-body { padding: 22px; }
.card-wrapper .card-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue-text); background: #eaf2ff; padding: 5px 11px; border-radius: var(--r-pill); margin-bottom: 12px; }
.card-wrapper .card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-wrapper .card-body h3 a { color: var(--navy-ink); }
.card-wrapper .card-body h3 a:hover { color: var(--blue-text-hover); }
.card-wrapper .card-body p { color: var(--muted); font-size: 0.95rem; }
.card-wrapper .card-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 0.85rem; color: var(--muted); }
.card-wrapper .card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.card-wrapper .card-meta i { color: var(--blue-text); }

/* ==========================================================================
   STATS / COUNCER
   ========================================================================== */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.stat .num { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; color: var(--blue-text); line-height: 1; font-variant-numeric: tabular-nums; }
.stat .num.gold { color: var(--gold-soft); }
.stat .lbl { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* ==========================================================================
   TICKER / MARQUEE
   ========================================================================== */
.marquee { overflow: hidden; background: var(--navy); color: #fff; padding-block: 14px; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-group { display: flex; gap: 46px; padding-right: 46px; align-items: center; }
.marquee-group span { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; white-space: nowrap; }
.marquee-group span i { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   FEATURES
   ========================================================================== */
.feature-card { padding: 26px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.feature-card .f-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: #eaf2ff; color: var(--blue-text); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.14rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* Testimonials */
.testimonial-card { display: flex; flex-direction: column; }
.testimonial-card > p { flex: 1; }
.testimonial-footer { display: flex; align-items: center; justify-content: flex-start; gap: 14px; padding-top: 16px; margin-top: auto; border-top: 1px solid var(--line-soft); }
.testimonial-person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.testimonial-person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; transform: translateZ(0); -webkit-transform: translateZ(0); }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: #eaf2ff; color: var(--blue-text); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-person strong { display: block; color: var(--navy-ink); font-size: 0.95rem; line-height: 1.2; }
.testimonial-person span { display: block; color: var(--muted); font-size: 0.8rem; margin-top: 2px; }

/* ==========================================================================
   CONTACT / FOOTER
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: #b7c4dd; }
.site-footer .footer-top { padding-block: 64px; display: grid; grid-template-columns: 1.3fr 1fr 0.9fr 1.3fr; gap: 32px; }
.site-footer .site-brand .brand-name { color: #fff; }
.site-footer .site-brand .brand-name small { color: #b7c4dd; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: #b7c4dd; }
.site-footer a:hover { color: #fff; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer p { font-size: 0.93rem; }
.social-row { display: flex; gap: 10px; margin-top: 20px; }
.social-row a { width: 42px; height: 42px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; transition: 0.22s var(--ease); }
.social-row a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-map { border-radius: var(--r-md); overflow: hidden; height: 170px; border: 1px solid rgba(255, 255, 255, 0.1); }
.footer-map iframe { width: 100%; height: 100%; border: 0; }
.site-footer .footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.88rem; }
@media (max-width: 992px) { .site-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 600px) { .site-footer .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ==========================================================================
   REVEAL / MOTION (Fade In From Bottom To Top, Triggered Once Per Refresh)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.reveal.in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *:not(.reveal), *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  /* Keep the values ticker running even when reduced motion is on */
  .marquee-track { animation: marquee 30s linear infinite !important; }
}

/* ==========================================================================
   MISC / SCROLL-TOP
   ========================================================================== */
.scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--blue); color: #fff; box-shadow: var(--shadow-brand); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; opacity: 0; pointer-events: none; transform: translateY(12px); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), background 0.2s ease, box-shadow 0.25s var(--ease); cursor: pointer; }
.scroll-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-bright); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(44, 122, 255, 0.35); }
.scroll-top:active { transform: translateY(0) scale(0.94); }

.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.pt-0 { padding-top: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.flex { display: flex; } .items-center { align-items: center; } .justify-between { justify-content: space-between; } .gap-2 { gap: 16px; }
.wrap { flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero-actions .btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   LEGACY DYNAMIC SECTIONS (render_unit_kegiatan_section / ekskul / teacher)
   These come from _inc/db.php helpers; styled to match the toolkit.
   ========================================================================== */
.sd-section { padding: clamp(56px, 8vw, 96px) 0; }
.sd-section-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }
.sd-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sd-section-header { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); text-align: center; }
.sd-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-text); margin-bottom: 12px; }
.sd-section-header h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); margin-bottom: 10px; }
.sd-section-header p { color: var(--muted); font-size: 1.02rem; max-width: 58ch; margin: 0 auto; }
.sd-empty-state { text-align: center; padding: 40px 0; color: var(--muted); }
.sd-empty-state p { margin: 0; }

.sd-program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sd-program-card-inner { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 26px; text-align: left; }
.sd-program-card-inner strong { display: block; font-size: 1.12rem; color: var(--navy-ink); margin-bottom: 6px; }
.sd-program-card-inner small { color: var(--muted); font-size: 0.92rem; }
.sd-program-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: #eaf2ff; color: var(--blue-text); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 14px; }
.sd-program-card.active .sd-program-card-inner { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44,122,255,0.18); }

.sd-kegiatan-list-head { margin-bottom: 24px; }
.sd-kegiatan-list-head h3 { font-size: 1.5rem; color: var(--navy-ink); }
.sd-kegiatan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sd-kegiatan-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sd-kegiatan-image { display: block; width: 100%; padding: 0; }
.sd-kegiatan-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sd-kegiatan-body { padding: 20px; }
.sd-kegiatan-body h4 { font-size: 1.08rem; color: var(--navy-ink); margin-bottom: 6px; }
.sd-kegiatan-body p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.sd-ekskul-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sd-ekskul-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.sd-ekskul-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sd-ekskul-body { padding: 20px; }
.sd-ekskul-body h4 { font-size: 1.08rem; color: var(--navy-ink); margin-bottom: 6px; }
.sd-ekskul-body span { color: var(--blue-text); font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sd-ekskul-body p { color: var(--muted); font-size: 0.92rem; margin: 0; }

.sd-teacher-slider-wrapper { position: relative; display: flex; align-items: center; gap: 12px; }
.sd-teacher-track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; }
.sd-teacher-track::-webkit-scrollbar { display: none; }
.sd-teacher-card { flex: 0 0 auto; width: calc(33.333% - 14px); background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; text-align: center; }
.sd-teacher-card .teacher-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.sd-teacher-card .teacher-info { padding: 18px 14px; }
.sd-teacher-card .teacher-info h4 { font-size: 1rem; color: var(--navy-ink); margin-bottom: 4px; }
.sd-teacher-card .teacher-info span { color: var(--muted); font-size: 0.85rem; }
.sd-slider-btn { width: 44px; height: 44px; border-radius: var(--r-pill); background: var(--surface); color: var(--navy); border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: 0.2s var(--ease); }
.sd-slider-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

@media (max-width: 900px) {
  .sd-program-grid, .sd-kegiatan-grid, .sd-ekskul-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-teacher-card { width: calc(33.333% - 14px); }
}
@media (max-width: 600px) {
  .sd-program-grid, .sd-kegiatan-grid, .sd-ekskul-grid { grid-template-columns: 1fr; }
  .sd-teacher-card { width: calc(50% - 10px); }
  .sd-slider-btn { width: 38px; height: 38px; }
}

/* STAFF GRID (from _inc/public_staff.php) */
.sunodia-staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sunodia-staff-item { display: flex; }
.sunodia-staff-item .our-team { width: 100%; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.sunodia-staff-item .team_img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.sunodia-staff-item .team-content { padding: 18px; text-align: center; }
.sunodia-staff-item .team-content .title { font-size: 1.05rem; color: var(--navy-ink); margin-bottom: 4px; }
.sunodia-staff-item .team-content .post { color: var(--muted); font-size: 0.88rem; }
.staff-category-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.staff-category-nav a { padding: 9px 18px; border-radius: var(--r-pill); background: var(--surface); border: 1.5px solid var(--line); color: var(--ink-soft); font-weight: 600; font-size: 0.9rem; transition: 0.2s var(--ease); }
.staff-category-nav a:hover { border-color: var(--blue); color: var(--blue); }
.staff-category-nav a.active { background: var(--blue); color: #fff; border-color: var(--blue); }
@media (max-width: 900px) { .sunodia-staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sunodia-staff-grid { grid-template-columns: 1fr; } }

/* KEGIATAN modal */
.sd-modal-overlay, .modal-overlay, .events-modal-overlay {
  position: fixed; inset: 0; z-index: 120; background: rgba(15,23,42,0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease), visibility 0.25s;
  backdrop-filter: blur(4px);
}
.sd-modal-overlay.active, .modal-overlay.active, .events-modal-overlay.active { opacity: 1; visibility: visible; }
.sd-modal, .events-modal-dialog {
  background: var(--surface); border-radius: var(--r-lg); max-width: 880px; width: 100%;
  overflow: hidden; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; position: relative;
}
.sd-modal img, .events-modal-dialog img { width: 100%; max-height: 62vh; object-fit: cover; }
.sd-modal .sd-modal-body, .events-modal-body { padding: 24px 28px; }
.sd-modal h2, .events-modal-body h2 { color: var(--navy-ink); margin-bottom: 10px; }
.sd-modal .modal-meta, .events-modal-body .modal-meta { color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.sd-modal p, .events-modal-body p { color: var(--ink-soft); }
.sd-btn-close, .events-btn-close {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.92); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.sd-scroll-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 46px; height: 46px; border-radius: var(--r-pill); background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   VISI & MISI / MOTTO SHOWCASE
   ========================================================================== */
.motto-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 18px;
}
.motto-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.motto-pill i {
  color: var(--blue);
  font-size: 0.95rem;
}
.motto-pill.gold i {
  color: #d97706;
}
.motto-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-soft);
}

/* =========================================================
   Visi & Misi Redesign (Preserving exact canonical values)
   ========================================================= */
#visi {
  background: #f8faff;
  position: relative;
  overflow: hidden;
}
/* Motto Pill */
.motto-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Visi Showcase Card */
.visi-showcase-card {
  background: var(--navy-deep);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 42px 38px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px -12px rgba(11, 25, 61, 0.32), 0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.visi-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.visi-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
  font-size: 1.35rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.visi-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  color: #fbbf24;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.visi-quote-icon {
  font-size: 2.2rem;
  color: rgba(251, 191, 36, 0.25);
}

.visi-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex: 1;
  padding: 24px 0;
}
.visi-statement {
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 1.42;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.015em;
}
.visi-statement .hl {
  color: #ffd166;
  text-shadow: 0 0 24px rgba(255, 209, 102, 0.4);
  font-weight: 800;
}


.visi-footer-seal {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.visi-seal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.visi-seal-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.visi-seal-dots span:nth-child(2) {
  background: #fbbf24;
  transform: scale(1.3);
}
.visi-seal-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 8px;
}
.visi-seal-brand i {
  color: #fbbf24;
}

/* Misi Showcase Container */
.misi-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 38px 34px;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.misi-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.misi-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
  font-size: 1.35rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}
.misi-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  color: #059669;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Misi Cards List */
.misi-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.misi-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}
.misi-tile:hover {
  background: #ffffff;
  transform: translateX(6px);
  border-color: #93c5fd;
  box-shadow: 0 6px 16px -2px rgba(37, 99, 235, 0.1);
}
.misi-tile-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  color: #2563eb;
  font-size: 0.76rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.misi-tile:hover .misi-tile-num {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.misi-tile-text {
  color: #334155;
  font-size: 0.94rem;
  line-height: 1.55;
  font-weight: 500;
}
@media (max-width: 600px) {
  .visi-showcase-card,
  .misi-showcase-card {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   BUDAYA 5S (TEXT LEFT, WHEEL RIGHT)
   ========================================================================== */
.sd-5s-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}
.sd-5s-text-col {
  flex: 1 1 540px;
  min-width: 0;
}
.sd-5s-wheel-col {
  flex: 0 0 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sd-5s-svg-container {
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1;
  filter: drop-shadow(0 10px 24px rgba(16, 42, 67, 0.08));
}
.sd-5s-wheel {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.sector-slice {
  transform-origin: 200px 200px;
}
.sector-text {
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  user-select: none;
  transform-origin: 200px 200px;
}

.sd-5s-pill {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-ink);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.sd-5s-pill:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 860px) {
  .sd-5s-row {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .sd-5s-wheel-col {
    flex: 0 0 auto;
    width: 100%;
  }
  .sd-5s-svg-container {
    max-width: 280px;
  }
}

/* ==========================================================================
   PUBLIC COMPONENT EXTENSIONS (Antislop Semantic Classes)
   ========================================================================== */

/* Video Profile Component */
.video-profile-card {
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.video-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.video-feature-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
}
.video-feature-item i {
  color: var(--blue-text);
  margin-right: 10px;
}

/* SPMB CTA Banner */
.spmb-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 5vw, 52px);
  background: var(--navy);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-lg);
}
.spmb-cta-content {
  max-width: 560px;
}

/* Anniversary Confetti Canvas */
#annivConfettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* Navigation & Header Enhancements */
.nav-drop-chevron {
  font-size: 0.65rem;
  margin-left: 6px;
}
.site-nav .nav-user {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Footer Semantic Classes */
.footer-logo {
  width: 52px;
  height: auto;
}
.footer-map-container {
  margin-top: 16px;
}
.mobile-brand-logo {
  width: 36px;
  height: auto;
}
.mobile-brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Logo Meaning Page Components */
.logo-meaning-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 820px) {
  .logo-meaning-wrap {
    grid-template-columns: 1fr;
  }
}
.logo-meaning-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}
.logo-meaning-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: #eaf2ff;
  color: var(--blue-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-meaning-icon.gold {
  background: #fff8dc;
  color: var(--gold-soft);
}
.logo-display-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background: var(--navy);
  border-color: transparent;
  border-radius: var(--r-lg);
}

/* Ekstrakurikuler Semantic Classes */
.ekskul-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(30, 58, 138, 0.08);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.ekskul-placeholder-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, rgba(26, 45, 98, 0.92), rgba(15, 23, 42, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
}
.ekskul-unit-badge {
  background: rgba(30, 58, 138, 0.08);
  color: var(--blue-text);
  border: 1px solid rgba(30, 58, 138, 0.15);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 700;
}
.ekskul-schedule-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 10px;
}

/* SPMB Semantic Notice Classes */
.spmb-closed-notice {
  max-width: 640px;
  margin: 40px auto;
  padding: 48px 32px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}
.spmb-closed-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

/* Events & News Semantic Classes */
.article-admin-preview {
  background: #fff3cd;
  color: #856404;
  font-size: 0.9rem;
  z-index: 100;
  position: relative;
}
.article-notfound-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.article-notfound-title {
  color: var(--navy);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

/* Sarana Prasarana Semantic Classes */
.sarana-doc-card {
  background: var(--bg);
  border-radius: var(--r-md);
  padding: 14px 16px;
  margin-top: 12px;
}

/* Unit Page Semantic Classes */
.principal-grid-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.principal-grid-row .principal-card {
  grid-column: 2;
  text-align: center;
}
@media (max-width: 767px) {
  .principal-grid-row {
    display: flex;
    justify-content: center;
  }
  .principal-grid-row .principal-card {
    width: 100%;
    max-width: 380px;
  }
}
.principal-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  box-shadow: var(--shadow-sm);
  border: 3px solid var(--gold);
}
.principal-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--surface-subtle, #f1f5fb);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--muted);
  border: 3px solid var(--gold);
}
.principal-badge {
  display: inline-block;
  background: #eaf2ff;
  color: var(--blue-text);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.teacher-avatar-img {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 4px 12px rgba(18, 48, 74, 0.08);
}
.teacher-avatar-placeholder {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--surface-subtle, #f1f5fb);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--muted);
}
.unit-cta-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy);
  border-color: transparent;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

/* Global Keyboard Focus Replacement Indicator */
:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 2px !important;
}

/* Responsive Photo Gallery Grid with Clamp */
.gallery-auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(260px, 30vw, 360px), 1fr));
  gap: clamp(16px, 2.5vw, 28px);
}


