/* =========================================================
   SMK PELITA CIANJUR — Design tokens
   ========================================================= */
:root {
  --primary: #2563EB;
  --primary-dark: #1E40AF;
  --accent: #38BDF8;
  --bg: #ffffff;
  --bg-soft: #eff6ff;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.6);
  --border-glass: rgba(255, 255, 255, 0.35);
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-h: 76px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

[data-theme="dark"] {
  --bg: #0b1220;
  --bg-soft: #0e1729;
  --surface: #111a2e;
  --surface-glass: rgba(17, 26, 46, 0.55);
  --border-glass: rgba(255, 255, 255, 0.08);
  --ink: #e6edf7;
  --ink-soft: #a9b8cf;
  --ink-faint: #64748b;
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
}

/* =========================================================
   Reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

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

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--primary); color: #fff; padding: 12px 18px;
  z-index: 9999; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }

/* =========================================================
   Loader
   ========================================================= */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px;
  background: linear-gradient(160deg, var(--primary), var(--primary-dark));
  transition: opacity .6s var(--ease), visibility .6s;
}
#loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { font-size: 3rem; animation: float 2s ease-in-out infinite; }
.loader-bar { width: 180px; height: 4px; background: rgba(255,255,255,.25); border-radius: 4px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0%; background: #fff; transition: width .2s linear; }

/* =========================================================
   Scroll progress
   ========================================================= */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 1001; background: transparent; }
.scroll-progress span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width .1s linear; }

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border-glass);
  transition: box-shadow .3s var(--ease), height .3s var(--ease);
}
.navbar.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.brand-logo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; }
.brand-text em { font-style: normal; color: var(--primary); }
.nav-links { display: flex; gap: 4px; }
.nav-link {
  padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .93rem;
  color: var(--ink-soft); position: relative; transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--primary); background: rgba(37,99,235,.08); }
.nav-link.active { color: var(--primary); background: rgba(37,99,235,.12); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-glass);
  background: transparent; color: var(--ink); display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .2s;
}
.icon-btn:hover { background: rgba(37,99,235,.1); transform: translateY(-1px); }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

.nav-burger { display: none; flex-direction: column; gap: 4px; padding: 0; border-radius: 10px; }
.nav-burger span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Search panel */
.search-panel {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--surface); border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  padding: 18px 24px; animation: dropIn .25s var(--ease);
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.search-panel-inner { max-width: 700px; margin: 0 auto; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border-glass); border-radius: 999px; padding: 10px 18px; }
.search-panel-inner input { flex: 1; border: none; background: transparent; outline: none; color: var(--ink); }
.search-results { max-width: 700px; margin: 10px auto 0; max-height: 320px; overflow-y: auto; }
.search-results li a, .search-results li { display: block; padding: 10px 16px; border-radius: 10px; color: var(--ink-soft); }
.search-results li a:hover { background: rgba(37,99,235,.08); color: var(--primary); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: none; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-sm { padding: 10px 18px; font-size: .85rem; margin-right: 8px; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,99,235,.28); }
.btn-ghost {
  color: var(--primary); background: rgba(37,99,235,.08); border: 1px solid rgba(37,99,235,.25);
}
.btn-ghost:hover { background: rgba(37,99,235,.15); transform: translateY(-3px); }

.ripple::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--rx,50%) var(--ry,50%), rgba(255,255,255,.5) 0%, transparent 60%);
  opacity: 0; transition: opacity .5s;
}
.ripple:active::after { opacity: 1; transition: none; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at top, var(--bg-soft), var(--bg) 60%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .45; animation: float 10s ease-in-out infinite; }
.blob-1 { width: 420px; height: 420px; background: var(--primary); top: -120px; left: -100px; }
.blob-2 { width: 340px; height: 340px; background: var(--accent); bottom: -80px; right: -60px; animation-delay: -3s; }
.blob-3 { width: 260px; height: 260px; background: var(--primary-dark); top: 40%; left: 60%; animation-delay: -6s; opacity: .3; }
.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
#particles { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes float { 0%, 100% { transform: translate(0,0); } 50% { transform: translate(20px,-30px); } }

.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: var(--primary); background: rgba(37,99,235,.1); padding: 6px 16px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: .5em; }
.grad-text { background: linear-gradient(120deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.1rem; max-width: 620px; margin: 0 auto 2em; min-height: 3.6em; }
.typewriter::after { content: "|"; animation: blink 1s step-end infinite; color: var(--primary); }
@keyframes blink { 50% { opacity: 0; } }

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 3em; }

.hero-stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.stat-card {
  background: var(--surface-glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  padding: 22px 30px; min-width: 140px; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.stat-num, .stat-suffix { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat-label { display: block; font-size: .85rem; color: var(--ink-soft); margin-top: 4px; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 1; }
.scroll-hint span {
  display: block; width: 26px; height: 42px; border: 2px solid var(--ink-faint); border-radius: 20px; position: relative;
}
.scroll-hint span::before {
  content: ""; position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px;
  background: var(--primary); border-radius: 50%; animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0% { top: 6px; opacity: 1; } 80% { top: 26px; opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   Announcement marquee
   ========================================================= */
.announce { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: #fff; overflow: hidden; padding: 12px 0; }
.announce-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; font-size: .9rem; font-weight: 500; }
.announce-tag { background: rgba(255,255,255,.18); padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: .75rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section-desc { font-size: 1.02rem; }

.glass-card {
  background: var(--surface-glass); backdrop-filter: blur(14px);
  border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Card tilt / hover lift */
.tilt { transition: transform .25s var(--ease); will-change: transform; }

/* =========================================================
   Profil
   ========================================================= */
.profil-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.visi-card, .misi-card { padding: 28px 30px; margin-top: 18px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--ink-soft); }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; background: rgba(37,99,235,.12); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; }
.profil-side { display: grid; gap: 14px; }
.info-card { background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-sm); }
.info-card h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--ink); font-weight: 500; }
.info-card a { color: var(--primary); }

/* =========================================================
   Facilities
   ========================================================= */
.facility-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.facility-card { background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.fac-icon { font-size: 2rem; display: block; margin-bottom: 14px; }

/* =========================================================
   Jurusan
   ========================================================= */
.jurusan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.jurusan-card { padding: 36px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.jurusan-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.jurusan-icon { font-size: 2.6rem; display: block; margin-bottom: 10px; }
.jurusan-tag { position: absolute; top: 30px; right: 30px; font-weight: 800; color: var(--accent); font-family: var(--font-display); }
.jurusan-desc { margin-top: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .78rem; padding: 6px 13px; border-radius: 999px; background: rgba(37,99,235,.1); color: var(--primary); font-weight: 600; }

/* =========================================================
   Teachers
   ========================================================= */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.teacher-card {
  background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  padding: 26px 14px; text-align: center; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.teacher-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-md); }
.avatar {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
  width: 58px; height: 58px; border-radius: 50%; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent));
}
.teacher-card h3 { font-size: 1rem; margin-bottom: 2px; }
.teacher-card p { font-size: .8rem; color: var(--primary); margin: 0; font-weight: 600; }

/* =========================================================
   Ekskul
   ========================================================= */
.ekskul-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.ekskul-card { padding: 32px; text-align: center; transition: transform .3s var(--ease); }
.ekskul-card:hover { transform: translateY(-8px); }
.ekskul-icon { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.tag-pill { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--primary); background: rgba(37,99,235,.1); padding: 5px 14px; border-radius: 999px; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery-filters { display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; }
.filter-btn { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border-glass); background: var(--surface); color: var(--ink-soft); font-weight: 600; font-size: .85rem; transition: all .25s; }
.filter-btn:hover { color: var(--primary); }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.gallery-item { margin: 0; border-radius: var(--radius-md); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: transform .35s var(--ease); background: var(--surface); }
.gallery-item.hidden-item { display: none; }
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px;
  background: linear-gradient(to top, rgba(15,23,42,.75), transparent); color: #fff; font-size: .85rem; font-weight: 600;
}

.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(4,8,20,.92);
  display: flex; align-items: center; justify-content: center;
}
.lightbox img { max-width: 88vw; max-height: 82vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: none; border: none; color: #fff; font-size: 1.6rem; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.1); border: none; color: #fff; font-size: 2rem; width: 50px; height: 50px; border-radius: 50%; }
.lightbox-nav.prev { left: 20px; } .lightbox-nav.next { right: 20px; }
.lightbox-nav:hover { background: rgba(255,255,255,.2); }

/* =========================================================
   Testimonials
   ========================================================= */
.testi-slider { overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform .5s var(--ease); }
.testi-card { min-width: 100%; background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); padding: 40px; text-align: center; box-shadow: var(--shadow-sm); }
.testi-card p { font-size: 1.15rem; font-style: italic; color: var(--ink); }
.testi-card strong { color: var(--primary); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--ink-faint); }
.testi-dots button.active { background: var(--primary); width: 24px; border-radius: 6px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-item {
  background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  padding: 6px 24px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.faq-item summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--primary); transition: transform .3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* =========================================================
   PPDB
   ========================================================= */
.ppdb-card { padding: 56px; text-align: left; background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(56,189,248,.08)); }
.ppdb-text { max-width: 640px; }

/* =========================================================
   Downloads
   ========================================================= */
.download-list { display: grid; gap: 14px; max-width: 720px; margin: 0 auto; }
.download-item {
  display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease);
}
.download-item:hover { transform: translateX(6px); }
.download-item span:first-child { font-size: 1.6rem; }
.download-item h4 { margin: 0 0 2px; font-size: 1rem; }
.download-item p { margin: 0; font-size: .85rem; }
.dl-arrow { margin-left: auto; color: var(--primary); }

/* =========================================================
   Map
   ========================================================= */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* =========================================================
   Contact form
   ========================================================= */
.contact-form { max-width: 620px; margin: 0 auto; padding: 40px; display: grid; gap: 18px; }
.form-row { display: grid; gap: 6px; text-align: left; }
.form-row label { font-weight: 600; font-size: .88rem; }
.form-row input, .form-row textarea {
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--border-glass); background: var(--bg);
  color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,.12); outline: none; }
.form-row input.invalid, .form-row textarea.invalid { border-color: #ef4444; }
.field-error { font-size: .78rem; color: #ef4444; min-height: 1em; }
.form-success { background: rgba(16,185,129,.12); color: #059669; padding: 12px 16px; border-radius: 10px; font-weight: 500; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--ink); color: #cbd5e1; padding: 70px 0 0; }
[data-theme="dark"] .footer { background: #060a14; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .brand-mark { font-size: 1.8rem; }
.footer-brand h3 { color: #fff; margin: 10px 0; }
.footer-brand p { color: #94a3b8; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .25s; }
.footer-social a:hover { background: var(--primary); }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer a, .footer p { display: block; color: #94a3b8; font-size: .9rem; margin-bottom: 10px; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #64748b; max-width: 1200px; margin: 0 auto; }

/* =========================================================
   Floating buttons
   ========================================================= */
.fab {
  position: fixed; right: 22px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: none;
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease), opacity .3s;
}
.fab-whatsapp { bottom: 22px; background: #25D366; color: #fff; animation: pulse 2.4s ease-in-out infinite; }
.fab-top { bottom: 90px; background: var(--surface); color: var(--primary); border: 1px solid var(--border-glass); }
.fab:hover { transform: translateY(-4px) scale(1.05); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 10px rgba(37,211,102,0); } }

/* =========================================================
   Cookie notice
   ========================================================= */
.cookie-notice {
  position: fixed; bottom: 16px; left: 16px; right: 16px; max-width: 460px; z-index: 950;
  background: var(--surface); border: 1px solid var(--border-glass); border-radius: var(--radius-md);
  padding: 18px 20px; box-shadow: var(--shadow-lg);
}
.cookie-notice p { font-size: .85rem; margin-bottom: 12px; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
  .profil-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); flex-direction: column; padding: 30px 24px; gap: 6px;
    transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-link { display: block; padding: 14px 16px; font-size: 1.05rem; }
  .nav-burger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .ppdb-card { padding: 32px 24px; }
  .section { padding: 70px 0; }
}

@media (max-width: 480px) {
  .hero-stats { gap: 12px; }
  .stat-card { padding: 16px 20px; min-width: 100px; }
  .stat-num, .stat-suffix { font-size: 1.5rem; }
}
