/* =========================================================
   Yayasan Perguruan Hang Kesturi — Design System
   Colors grounded in the school crest (red / sky-blue / gold / green)
   ========================================================= */

:root {
  /* Brand colors — derived from the official crest */
  --color-primary: #0F3B57;        /* deepened crest blue — structural (nav, footer, headings) */
  --color-primary-dark: #0A2739;
  --color-primary-light: #1E6088;
  --color-red: #B3272B;            /* crest banner red — accent / CTA */
  --color-red-dark: #8E1F22;
  --color-gold: #C8961E;           /* crest star/wreath gold — secondary accent */
  --color-gold-light: #F2C94C;
  --color-green: #3F7D48;          /* crest wreath ribbon green — heritage accent */

  --color-bg: #FFFFFF;
  --color-bg-alt: #F4F7F9;
  --color-bg-navy: var(--color-primary);
  --color-text: #16232E;
  --color-text-muted: #526070;
  --color-text-on-dark: #EAF1F6;
  --color-text-on-dark-muted: #A9BFCE;
  --color-border: #DCE3E8;
  --color-on-primary: #FFFFFF;
  --color-on-red: #FFFFFF;

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-banner: var(--font-body);

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(15, 59, 87, 0.10);
  --shadow-md: 0 8px 24px rgba(15, 59, 87, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 59, 87, 0.18);

  --container: 1200px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
html, body { overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.25; margin: 0 0 var(--space-3); color: var(--color-primary); }
p { margin: 0 0 var(--space-4); }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 2px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-5); }
@media (max-width: 640px) { .container { padding: 0 var(--space-4); } }

section { padding: var(--space-8) 0; }
@media (max-width: 768px) { section { padding: var(--space-7) 0; } }

.section-alt { background: var(--color-bg-alt); }
.section-navy { background: var(--color-primary); color: var(--color-text-on-dark); }
.section-navy h2, .section-navy h3 { color: #FFFFFF; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-red); margin-bottom: var(--space-3);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--color-gold); display: inline-block; }

h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
.section-head { max-width: 680px; margin: 0 auto var(--space-7); text-align: center; }
.section-head p { color: var(--color-text-muted); font-size: 1.05rem; }
.lead { font-size: 1.15rem; color: var(--color-text-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: 13px 26px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.98rem;
  border: 2px solid transparent; transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--color-red); color: var(--color-on-red); }
.btn-primary:hover { background: var(--color-red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-on-primary); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline-navy:hover { background: var(--color-primary); color: #fff; transform: translateY(-2px); }
.btn-gold { background: var(--color-gold); color: #1A1200; }
.btn-gold:hover { background: var(--color-gold-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--space-5); max-width: 1360px; }
.brand { display: flex; align-items: center; gap: var(--space-3); min-width: 0; flex: 1 1 auto; overflow: hidden; }
.brand img { height: 58px; width: auto; flex: none; }
.brand-text {
  display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.3;
  min-width: 0; overflow: hidden; font-family: var(--font-banner);
}
.brand-line-sm {
  font-size: 0.62rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-red); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.brand-line-lg {
  font-size: 1.08rem; font-weight: 800; letter-spacing: 0.015em; text-transform: uppercase;
  color: var(--color-primary); white-space: nowrap; margin: 3px 0;
}
.footer-brand .brand-line-sm { color: #fff; }
.footer-brand .brand-line-lg { color: #fff; }

.nav-links { display: flex; align-items: center; gap: var(--space-6); }
.nav-links a {
  font-weight: 600; font-size: 0.95rem; color: var(--color-text); position: relative; padding: 6px 0;
  transition: color 180ms ease; white-space: nowrap; flex-shrink: 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--color-red); }
.nav-links a[aria-current="page"]::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--color-gold); border-radius: 2px;
}

.header-actions { display: flex; align-items: center; gap: var(--space-4); flex: none; }
.lang-toggle {
  display: inline-flex; border: 1.5px solid var(--color-border); border-radius: 999px; padding: 3px; background: #fff;
}
.lang-toggle button {
  border: none; background: transparent; padding: 5px 12px; border-radius: 999px; font-weight: 700; font-size: 0.78rem;
  color: var(--color-text-muted); transition: background 180ms ease, color 180ms ease;
}
.lang-toggle button.active { background: var(--color-primary); color: #fff; }

.nav-toggle {
  display: none; background: none; border: none; padding: 8px; color: var(--color-primary);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: #fff; flex-direction: column; align-items: stretch;
    padding: var(--space-6) var(--space-5); gap: var(--space-2); transform: translateX(100%); transition: transform 260ms ease;
    overflow-y: auto; z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--color-border); font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-links .header-cta { margin-top: var(--space-4); }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-primary.header-cta-desktop { display: none; }
}
@media (min-width: 981px) {
  .nav-links .header-cta { display: none; }
}
@media (min-width: 981px) {
  .header-cta-desktop { padding: 12px 20px; }
  .lang-toggle button { padding: 5px 8px; }
  .brand img { height: 46px; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .nav-links { gap: var(--space-3); }
  .nav-links a { font-size: 0.82rem; }
  .header-actions { gap: var(--space-2); }
}
@media (min-width: 1200px) {
  .nav-links { gap: var(--space-6); }
  .nav-links a { font-size: 1rem; }
  .header-actions { gap: var(--space-5); }
  .brand img { height: 62px; }
}
@media (max-width: 420px) {
  .brand-line-sm { font-size: 0.58rem; }
  .brand img { height: 42px; }
  .brand-line-lg { font-size: 0.88rem; }
  .header-actions { gap: var(--space-2); }
  .lang-toggle button { padding: 5px 9px; font-size: 0.72rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,39,57,0.55) 0%, rgba(10,39,57,0.55) 40%, rgba(10,39,57,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding-top: var(--space-9); padding-bottom: var(--space-8); width: 100%; }
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--space-2); background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35); padding: 7px 16px; border-radius: 999px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em; margin-bottom: var(--space-5); backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; max-width: 820px; margin-bottom: var(--space-4); }
.hero .lead { color: rgba(255,255,255,0.88); max-width: 620px; margin-bottom: var(--space-6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.hero-stats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-6) var(--space-7);
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: var(--space-6);
}
.hero-stats .stat { text-align: center; min-width: 84px; }
.hero-stats strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--color-gold-light); }
.hero-stats span { font-size: 0.82rem; color: rgba(255,255,255,0.78); }
.hero-stats .stat-highlight strong {
  width: 60px; height: 60px; margin: 0 auto 6px; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--color-gold-light); border-radius: 50%;
  background: rgba(242, 201, 76, 0.12);
}
.hero-stats .stat-highlight span { color: var(--color-gold-light); font-weight: 700; letter-spacing: 0.03em; }
@media (max-width: 768px) { .hero-stats { gap: var(--space-5) var(--space-6); } }

.page-hero {
  position: relative; padding: var(--space-9) 0 var(--space-7); color: #fff; overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,39,57,0.80), rgba(10,39,57,0.90)); z-index: 0; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: var(--space-3); }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-bottom: var(--space-4); }
.breadcrumb a:hover { color: var(--color-gold-light); }
.page-hero .lead { color: rgba(255,255,255,0.85); max-width: 620px; }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: var(--space-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease; display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card-media { aspect-ratio: 4/3; overflow: hidden; background: var(--color-bg-alt); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: var(--space-2); }
.card-body p { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: var(--space-3); }
.card-tag {
  display: inline-block; align-self: flex-start; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--color-red); background: rgba(179,39,43,0.08); padding: 4px 10px; border-radius: 999px;
  margin-bottom: var(--space-3);
}
.card-link { margin-top: auto; font-weight: 700; color: var(--color-primary); display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; }
.card-link svg { width: 16px; height: 16px; transition: transform 180ms ease; }
.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Level / program cards ---------- */
.level-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); padding: var(--space-6);
  text-align: left; position: relative; overflow: hidden; height: 100%;
}
.level-card .level-badge {
  min-width: 56px; width: fit-content; height: 56px; padding: 0 10px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center;
  background: var(--color-primary); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 1rem; white-space: nowrap; margin-bottom: var(--space-4);
}
.level-card:nth-child(1) .level-badge { background: #0F7A72; }
.level-card:nth-child(2) .level-badge { background: var(--color-red); }
.level-card:nth-child(3) .level-badge { background: var(--color-primary); }
.level-card:nth-child(4) .level-badge { background: #3B3F42; }
.level-card h3 { margin-bottom: var(--space-2); }
.level-card p { color: var(--color-text-muted); font-size: 0.94rem; margin-bottom: 0; }
.level-card-photo {
  background-size: cover; background-position: center 36%;
}
.level-card-photo p { color: rgba(255,255,255,0.85); }
.level-card-photo-tk { background-image: linear-gradient(180deg, rgba(10,39,57,0.80), rgba(10,39,57,0.90)), url('../img/facade/levelcard-pgtk.jpg'); }
.level-card-photo-sd { background-image: linear-gradient(180deg, rgba(10,39,57,0.80), rgba(10,39,57,0.90)), url('../img/facade/levelcard-sd.jpg?v=2'); background-position: center 50%; }
.level-card-photo-smp { background-image: linear-gradient(180deg, rgba(10,39,57,0.80), rgba(10,39,57,0.90)), url('../img/facade/levelcard-smp.jpg?v=3'); background-position: center 30%; }
.level-card-photo-sma { background-image: linear-gradient(180deg, rgba(10,39,57,0.80), rgba(10,39,57,0.90)), url('../img/facade/levelcard-sma.jpg'); background-position: center 50%; }

/* ---------- Motto pillars (About page) ---------- */
.motto-card {
  background: #fff; border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5) var(--space-5);
  text-align: left; position: relative; overflow: hidden; height: 100%;
  box-shadow: var(--shadow-sm); transition: transform 260ms ease, box-shadow 260ms ease;
}
.motto-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.motto-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; }
.motto-card::after {
  content: attr(data-num); position: absolute; right: 4px; bottom: -30px; z-index: 0;
  font-family: var(--font-heading); font-size: 7.5rem; font-weight: 700; line-height: 1; opacity: 0.07;
}
.motto-card .motto-icon {
  width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4); color: #fff; position: relative; z-index: 1;
}
.motto-card .motto-icon svg { width: 24px; height: 24px; }
.motto-card h3 { margin-bottom: var(--space-2); font-size: 1.3rem; position: relative; z-index: 1; color: var(--color-primary); }
.motto-card p { color: var(--color-text-muted); font-size: 0.96rem; margin-bottom: 0; position: relative; z-index: 1; }
.motto-card.m1::before { background: var(--color-primary); }
.motto-card.m1 .motto-icon { background: var(--color-primary); }
.motto-card.m1::after { color: var(--color-primary); }
.motto-card.m2::before { background: var(--color-red); }
.motto-card.m2 .motto-icon { background: var(--color-red); }
.motto-card.m2::after { color: var(--color-red); }
.motto-card.m3::before { background: var(--color-gold); }
.motto-card.m3 .motto-icon { background: var(--color-gold); color: #1A1200; }
.motto-card.m3::after { color: var(--color-gold); }

/* ---------- Stat band ---------- */
.stat-band { background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.stat-band .grid-4 { text-align: center; gap: var(--space-5); }
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 2.2rem; color: var(--color-primary); }
.stat-item span { color: var(--color-text-muted); font-size: 0.88rem; }

/* ---------- Icon list ---------- */
.icon-row { display: flex; gap: var(--space-4); align-items: flex-start; }
.icon-row .icon-wrap {
  width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(15,59,87,0.08); color: var(--color-primary);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.icon-wrap svg { width: 22px; height: 22px; }

/* ---------- Gallery / Lightbox ---------- */
.gallery-item { cursor: pointer; border: none; padding: 0; background: none; display: block; width: 100%; }
.lightbox {
  position: fixed; inset: 0; background: rgba(10,20,28,0.92); z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: var(--space-6);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(90vw, 1100px); max-height: 85vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox-close {
  position: absolute; top: var(--space-5); right: var(--space-5); background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-caption { position: absolute; bottom: var(--space-5); left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff; border-radius: var(--radius-lg); padding: var(--space-8) var(--space-7); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto var(--space-6); }
.cta-actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }
@media (max-width: 640px) { .cta-band { padding: var(--space-7) var(--space-5); } }

/* ---------- WhatsApp contact cards ---------- */
.wa-card {
  display: flex; align-items: center; gap: var(--space-4); background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-5); transition: box-shadow 200ms ease, transform 200ms ease;
}
.wa-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.wa-icon { width: 52px; height: 52px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; flex: none; }
.wa-icon.mail-icon { background: var(--color-primary); }
.wa-icon svg { width: 26px; height: 26px; fill: #fff; }
.wa-card .wa-num { font-weight: 700; font-size: 1.05rem; color: var(--color-primary); }
.wa-card .wa-for { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- Admission flowchart ---------- */
.flowchart { display: flex; flex-direction: column; align-items: center; max-width: 640px; margin: var(--space-7) auto 0; }
.flow-step { width: 100%; }
.flow-box {
  display: flex; align-items: center; gap: var(--space-5); background: #fff; border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6); width: 100%; box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-red);
}
.flow-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--color-red); color: #fff; flex: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.flow-body h3 { color: var(--color-primary); font-size: 1.05rem; margin-bottom: 4px; }
.flow-body p { color: var(--color-text-muted); font-size: 1.05rem; margin: 0; }
.flow-arrow { display: flex; justify-content: center; padding: 6px 0; }
.flow-arrow svg { width: 22px; height: 26px; color: var(--color-gold-light); }
.flow-step:last-child .flow-box { border-left-color: var(--color-gold); }
.flow-step:last-child .flow-num { background: var(--color-gold); color: #1A1200; }
@media (max-width: 560px) {
  .flow-box { flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--color-primary-dark); color: var(--color-text-on-dark); padding: var(--space-8) 0 var(--space-5); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.75fr 1.35fr 1.1fr; gap: var(--space-7); margin-bottom: var(--space-7); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: var(--space-3); margin-bottom: var(--space-4); align-items: center; }
.footer-brand img { height: 64px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--space-4); }
.footer-col p, .footer-col a { color: var(--color-text-on-dark-muted); font-size: 0.92rem; }
.footer-col li { margin-bottom: var(--space-2); }
.footer-col a:hover { color: #fff; }
@media (min-width: 421px) {
  .footer-col [data-i18n="contact.wa1.for"], .footer-col [data-i18n="contact.wa2.for"] { display: block; }
}
.footer-col a.footer-icon-link { display: inline-flex; align-items: center; gap: 8px; }
.footer-inline-icon { width: 16px; height: 16px; flex: none; }
@media (min-width: 901px) { [data-i18n^="footer.levels."] { white-space: nowrap; } }
.footer-social { display: flex; gap: var(--space-3); margin-top: var(--space-4); }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center;
  transition: background 180ms ease;
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); padding-top: var(--space-5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 0.82rem; color: var(--color-text-on-dark-muted); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: var(--space-6); } }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.badge-row { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-5); }
.pill { display: inline-flex; align-items: center; gap: var(--space-2); background: var(--color-bg-alt); border: 1px solid var(--color-border); padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
.pill svg { width: 16px; height: 16px; }

.placeholder-note {
  background: #FFF8E6; border: 1px dashed var(--color-gold); color: #6b5314; border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4); font-size: 0.85rem; margin-top: var(--space-3);
}

.news-meta { display: flex; align-items: center; gap: var(--space-3); font-size: 0.8rem; color: var(--color-text-muted); margin-bottom: var(--space-2); }
.news-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-border); }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-form { display: grid; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-field label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: var(--space-2); color: var(--color-primary); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--color-border); font: inherit; color: var(--color-text);
  background: #fff; transition: border-color 180ms ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--color-primary); outline: none; }
.form-field textarea { resize: vertical; min-height: 120px; }

/* ---------- Alumni university logo marquee ---------- */
.logo-marquee {
  overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee-track {
  display: flex; align-items: center; width: max-content; gap: var(--space-9);
  animation: logo-scroll 32s linear infinite;
}
.logo-marquee-track img {
  height: 84px; width: auto; flex: none;
}
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee-track { animation: none; } }
