@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ═══════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════ */
:root {
  --blue:      #2563eb;
  --blue-dark: #1d4ed8;
  --blue-deep: #1e3a8a;
  --blue-soft: #60a5fa;
  --blue-100:  #dbeafe;
  --blue-50:   #eff6ff;
  --white:     #ffffff;
  --text:      #0f172a;
  --text-2:    #64748b;
  --border:    #e2e8f0;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(37,99,235,.12);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav {
  position: fixed; top: 0; width: 100%; z-index: 200;
  height: 64px; padding: 0 5vw;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: .95rem; font-weight: 700;
  color: var(--text); text-decoration: none;
}
.nav-logo-img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  font-size: .82rem; font-weight: 600; color: var(--text-2);
  text-decoration: none; position: relative; padding-bottom: 3px;
  transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--blue); border-radius: 2px;
  transition: width .25s;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--blue); }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; width: 100%; z-index: 199;
  background: white; border-bottom: 1px solid var(--border);
  padding: 1rem 5vw 1.5rem; flex-direction: column; gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: .95rem; font-weight: 600; color: var(--text);
  text-decoration: none; padding: .5rem 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; }
.mobile-cta { color: var(--blue) !important; font-weight: 700 !important; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
  min-height: 75vh;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 55%, #3b82f6 100%);
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  padding: 100px 5vw 60px;
  position: relative; overflow: hidden;
}
#hero::before {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 65%);
  top: -150px; right: -150px; pointer-events: none;
}
#hero::after {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
  bottom: 50px; left: 35%; pointer-events: none;
}

/* hero text */
.hero-text { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 700; color: white;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  padding: 5px 14px; border-radius: 50px; margin-bottom: 1.4rem;
  animation: fadeUp .7s ease both;
}
.hero-badge::before { content: '●'; font-size: .4rem; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.hero-title {
  font-size: 2.6rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -.025em; color: white; margin-bottom: 1rem;
  animation: fadeUp .7s .1s ease both;
}
.hero-title span { color: var(--blue-100); }

.hero-desc {
  font-size: .97rem; color: rgba(255,255,255,.82);
  line-height: 1.75; max-width: 460px; margin-bottom: 2rem;
  animation: fadeUp .7s .2s ease both;
}

/* ═══════════════════════════════════════
   HERO VISUAL (SISI KANAN)
═══════════════════════════════════════ */
.hero-visual {
  position: relative; z-index: 1;
  height: 360px;
  animation: fadeUp .8s .25s ease both;
}

/* orbit rings */
.hv-ring {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%; pointer-events: none;
}
.hv-ring-1 {
  width: 230px; height: 230px;
  border: 1.5px dashed rgba(255,255,255,.2);
  transform: translate(-50%,-50%);
  animation: spin 28s linear infinite;
}
.hv-ring-2 {
  width: 320px; height: 320px;
  border: 1px dashed rgba(255,255,255,.1);
  transform: translate(-50%,-50%);
  animation: spin 44s linear infinite reverse;
}
@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* center card */
.hv-center {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%);
  width: 120px; height: 120px;
  background: rgba(255,255,255,.95);
  border: 2px solid rgba(255,255,255,.28);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(0,0,0,.25), 0 0 0 12px rgba(255,255,255,.04);
  animation: centerPulse 5s ease-in-out infinite;
}
@keyframes centerPulse {
  0%,100% { box-shadow: 0 24px 60px rgba(0,0,0,.25), 0 0 0 12px rgba(255,255,255,.04); }
  50%     { box-shadow: 0 24px 60px rgba(0,0,0,.3),  0 0 0 22px rgba(255,255,255,.02); }
}
.hv-center-emoji  { font-size: 3rem; line-height: 1; }
.hv-center-label  { font-size: .65rem; font-weight: 700; color: rgba(255,255,255,.75); letter-spacing: .06em; text-transform: uppercase; }
.hv-center-logo   { width: 80px; height: 80px; object-fit: contain; }

/* floating info cards */
.hv-card {
  position: absolute;
  background: white; border-radius: 14px;
  padding: 11px 15px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  white-space: nowrap;
}
.hv-card-icon  { font-size: 1.35rem; flex-shrink: 0; }
.hv-card-title { font-size: .78rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.hv-card-sub   { font-size: .68rem; color: #64748b; font-weight: 600; }

.hv-top    { top: 18px;  left: 50%; transform: translateX(-50%); animation: floatY 4s ease-in-out infinite; }
.hv-right  { top: 50%;  right: 0;  transform: translateY(-50%); animation: floatX 4.5s 1s ease-in-out infinite; }
.hv-bottom { bottom: 8px; left: 50%; transform: translateX(-50%); animation: floatY 4.2s 1.5s ease-in-out infinite; }
.hv-left   { top: 50%;  left: 0;   transform: translateY(-50%); animation: floatX 3.9s .7s ease-in-out infinite; }

@keyframes floatY { 0%,100%{transform:translateX(-50%) translateY(0)}   50%{transform:translateX(-50%) translateY(-10px)} }
@keyframes floatX { 0%,100%{transform:translateY(-50%) translateX(0)}   50%{transform:translateY(-50%) translateX(-8px)} }

/* decorative dots */
.hv-dot { position: absolute; border-radius: 50%; background: rgba(255,255,255,.4); }
.hd1 { width:10px; height:10px; top:62px;   right:108px; animation: dotBlink 3s 0s   infinite; }
.hd2 { width: 7px; height: 7px; top:95px;   left: 72px;  animation: dotBlink 3s .7s  infinite; }
.hd3 { width: 9px; height: 9px; bottom:78px;right: 88px; animation: dotBlink 3s 1.3s infinite; }
.hd4 { width: 5px; height: 5px; bottom:108px;left:82px;  animation: dotBlink 3s 2s   infinite; }
.hd5 { width: 8px; height: 8px; top:42%;    right:30px;  animation: dotBlink 3s 2.6s infinite; }
@keyframes dotBlink { 0%,100%{transform:scale(1);opacity:.4} 50%{transform:scale(1.7);opacity:.9} }

/* stats strip */
.hv-stats {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; gap: .6rem;
}
.hv-stat {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px);
  border-radius: 10px; padding: 9px 14px; text-align: center;
}
.hv-stat-num { font-size: 1.2rem; font-weight: 800; color: white; line-height: 1; }
.hv-stat-num em { font-size: .85rem; font-style: normal; }
.hv-stat-lbl { font-size: .65rem; color: rgba(255,255,255,.65); font-weight: 600; margin-top: 1px; }

/* ═══════════════════════════════════════
   WAVE DIVIDERS
═══════════════════════════════════════ */
.wave-wrap { overflow: hidden; line-height: 0; display: block; margin-bottom: -2px; }
.wave-wrap svg { display: block; width: 100%; }
.wave-hero     { background: linear-gradient(135deg, var(--blue-deep), #3b82f6); }
.wave-profil   { background: var(--blue-50); }
.wave-program  { background: #ffffff; }
.wave-galeri   { background: var(--blue-deep); }
.wave-ekskul   { background: var(--blue-50); }
.wave-prestasi { background: var(--blue); }
.wave-guru     { background: #ffffff; }

/* ═══════════════════════════════════════
   SECTION BASE
═══════════════════════════════════════ */
section { padding: 80px 5vw; }
.section-inner { max-width: 1060px; margin: 0 auto; }

/* section backgrounds */
#profil   { background: var(--blue-50); padding-bottom: 120px; }
#program  { background: #ffffff; padding-top: 120px; }
#galeri   { background: var(--blue-deep); }
#ekskul   { background: var(--blue-50); }
#prestasi { background: var(--blue); }
#guru     { background: #ffffff; }
#kontak   { background: var(--blue-deep); }

/* eyebrow */
.s-eyebrow {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--blue); margin-bottom: .5rem;
  display: inline-flex; align-items: center; gap: 6px;
}
.s-eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
#galeri .s-eyebrow, #prestasi .s-eyebrow, #kontak .s-eyebrow { color: var(--blue-100); }

.s-title {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1.25;
  color: var(--text); margin-bottom: .6rem;
}
.s-desc { font-size: .93rem; color: var(--text-2); line-height: 1.7; max-width: 500px; }
#galeri .s-title, #prestasi .s-title, #kontak .s-title { color: #ffffff; }
#galeri .s-desc,  #prestasi .s-desc,  #kontak .s-desc  { color: rgba(255,255,255,.75); }

/* ═══════════════════════════════════════
   PROFIL
═══════════════════════════════════════ */
.profil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.profil-img-wrap { position: relative; }
.profil-img {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 20px; aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  box-shadow: 0 16px 48px rgba(37,99,235,.25);
  position: relative; overflow: hidden;
}
.profil-img-photo {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0; border-radius: 20px;
}
.profil-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.08) 0%, transparent 60%);
}
.profil-badge-float {
  position: absolute; bottom: -14px; right: -14px;
  background: white; border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.profil-badge-float strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--blue); line-height: 1; }
.profil-badge-float span   { font-size: .72rem; font-weight: 600; color: var(--text-2); }

.profil-body { font-size: .93rem; color: var(--text-2); line-height: 1.75; margin: 1rem 0 1.5rem; }
.vm-list { display: flex; flex-direction: column; gap: .6rem; }
.vm-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: white; border: 1px solid var(--border); border-radius: 10px; padding: 13px 16px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.vm-row:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateX(4px); }
.vm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 7px; flex-shrink: 0; }
.vm-row h4 { font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.vm-row p  { font-size: .83rem; color: var(--text-2); line-height: 1.55; }

/* ═══════════════════════════════════════
   PROGRAM
═══════════════════════════════════════ */
.prog-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.prog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.prog-card {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 24px; background: white;
  position: relative; overflow: hidden;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.prog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-soft));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.prog-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.prog-card:hover::before { transform: scaleX(1); }
.prog-card:first-child { background: var(--blue-50); border-color: var(--blue-100); }
.prog-icon { font-size: 1.8rem; margin-bottom: .75rem; display: block; }
.prog-card h3 { font-size: .93rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; }
.prog-card p  { font-size: .83rem; color: var(--text-2); line-height: 1.6; }

/* ═══════════════════════════════════════
   GALERI
═══════════════════════════════════════ */
.galeri-header { margin-bottom: 2rem; }
.marquee-wrap { overflow: hidden; display: flex; flex-direction: column; gap: 1rem; padding: .5rem 0; }
.marquee-row {
  display: flex; gap: 1rem;
  width: max-content;
  animation: marquee 60s linear infinite;
  will-change: transform;
}
.marquee-row:nth-child(2) { animation-direction: reverse; animation-duration: 50s; }
.marquee-row:hover { animation-play-state: paused; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

.g-card {
  width: 260px; height: 180px; flex-shrink: 0;
  border-radius: 14px; overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.g-card:hover { transform: scale(1.04); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.g-inner {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  font-size: .82rem; font-weight: 700;
}
.g-inner.g-photo { position: relative; overflow: hidden; padding: 0; }
.g-inner.g-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.g-inner.g-photo span {
  position: relative; z-index: 1;
  background: rgba(0,0,0,.45); padding: 4px 10px;
  border-radius: 6px; color: white;
  font-size: .78rem; font-weight: 700; margin-top: auto;
}
.gc1 { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); color: white; }
.gc2 { background: linear-gradient(135deg,#0891b2,#0e7490); color: white; }
.gc3 { background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.3); color: white; }
.gc4 { background: linear-gradient(135deg,#d97706,#b45309); color: white; }
.gc5 { background: linear-gradient(135deg,#db2777,#be185d); color: white; }
.gc6 { background: linear-gradient(135deg,#059669,#047857); color: white; }

/* ═══════════════════════════════════════
   EKSKUL
═══════════════════════════════════════ */
.ekskul-wrap { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(4,1fr); gap: .75rem; }
.ek-chip {
  display: flex; align-items: center; gap: 9px;
  border: 1.5px solid var(--blue-100); border-radius: 10px;
  padding: 12px 14px; font-size: .85rem; font-weight: 600;
  color: var(--blue-deep); background: white; cursor: default;
  transition: all .2s;
}
.ek-chip:hover { border-color: var(--blue); color: white; background: var(--blue); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(37,99,235,.25); }
.ek-chip .ei { font-size: 1.15rem; }

/* ═══════════════════════════════════════
   PRESTASI
═══════════════════════════════════════ */
.prestasi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.prestasi-card {
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  position: relative; aspect-ratio: 4/3;
}
.prestasi-card:hover { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.4); }
.prestasi-photo { position: absolute; inset: 0; width: 100%; height: 100%; }
.prestasi-img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.prestasi-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 50%, transparent 100%);
  border-radius: var(--radius);
}
.prestasi-card .prestasi-year {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--blue-deep); background: white;
  padding: 3px 10px; border-radius: 50px;
}
.prestasi-card h3 { position: absolute; bottom: 36px; left: 0; right: 0; z-index: 2; font-size: .93rem; font-weight: 700; color: white; margin: 0; padding: 0 16px; }
.prestasi-card p  { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 2; font-size: .78rem; color: rgba(255,255,255,.85); line-height: 1.4; padding: 0 16px; margin: 0; }

/* ═══════════════════════════════════════
   GURU & STAFF
═══════════════════════════════════════ */
.guru-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 2.5rem; }
.guru-card {
  background: white; border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.guru-card:hover { border-color: var(--blue); box-shadow: var(--shadow); transform: translateY(-4px); }
.guru-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.1rem; margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(37,99,235,.2);
  overflow: hidden;
  background: var(--blue-50);
  flex-shrink: 0;
}
.guru-foto {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
/* Avatar placeholder bila foto tidak ada */
.guru-avatar-icon {
  font-size: 2.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
}
.guru-info h3    { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.guru-role {
  display: inline-block; font-size: .72rem; font-weight: 700;
  color: var(--blue); background: var(--blue-50);
  padding: 2px 10px; border-radius: 50px; margin-bottom: .5rem;
}
.guru-info p { font-size: .8rem; color: var(--text-2); line-height: 1.55; }

/* ═══════════════════════════════════════
   KONTAK
═══════════════════════════════════════ */
.kontak-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.5rem; margin-top: 2rem; align-items: stretch;
}
.k-info { display: flex; flex-direction: column; gap: .85rem; }
.k-row {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px; padding: 14px 16px;
  transition: background .2s, border-color .2s;
}
.k-row:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.4); }
.k-icon {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.k-row label { display: block; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 3px; }
.k-row p { font-size: .88rem; font-weight: 600; color: white; }

/* ═══════════════════════════════════════
   MAP
═══════════════════════════════════════ */
.map-wrap {
  border-radius: 16px; overflow: hidden;
  border: 1.5px solid rgba(255,255,255,.2);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  display: flex; flex-direction: column; height: 100%;
}
.map-header {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.12);
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  flex-shrink: 0;
}
.map-label { font-size: .82rem; font-weight: 700; color: white; letter-spacing: .02em; }
.map-frame { flex: 1; min-height: 260px; }
.map-frame iframe { width: 100%; height: 100%; display: block; border: 0; }

/* ═══════════════════════════════════════
   SOSIAL MEDIA
═══════════════════════════════════════ */
.sosmed-wrap {
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.sosmed-label {
  font-size: .78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: rgba(255,255,255,.55); margin-bottom: 1rem;
}
.sosmed-list { display: flex; gap: .75rem; flex-wrap: wrap; }
.sosmed-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 700; text-decoration: none;
  padding: 10px 18px; border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1); color: white;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.sosmed-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.sosmed-btn:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.sosmed-btn.ig:hover { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); border-color: transparent; }
.sosmed-btn.fb:hover { background: #1877f2; border-color: transparent; }
.sosmed-btn.yt:hover { background: #ff0000; border-color: transparent; }
.sosmed-btn.wa:hover { background: #25d366; border-color: transparent; }
.sosmed-btn.tt:hover { background: #010101; border-color: transparent; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer { background: #0f172a; color: rgba(255,255,255,.6); padding: 52px 5vw 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.footer-brand .f-logo-img { height: 56px; width: auto; object-fit: contain; margin-bottom: .6rem; display: block; }
.footer-brand .f-name { font-size: .95rem; font-weight: 800; color: white; margin-bottom: .5rem; }
.footer-brand p { font-size: .82rem; line-height: 1.65; max-width: 220px; }
.footer-col h5 { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); margin-bottom: .85rem; }
.footer-col a { display: block; font-size: .83rem; color: rgba(255,255,255,.6); text-decoration: none; margin-bottom: .45rem; transition: color .2s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .78rem; }
.footer-akred { font-size: .73rem; font-weight: 700; color: white; background: rgba(255,255,255,.1); padding: 4px 12px; border-radius: 50px; }

/* footer sosmed icons */
.footer-sosmed { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-sosmed a {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none;
}
.footer-sosmed a svg { width: 16px; height: 16px; }
.footer-sosmed a:hover { background: var(--blue); color: white; transform: translateY(-2px); border-color: var(--blue); }

/* ═══════════════════════════════════════
   ANIMATIONS & REVEAL
═══════════════════════════════════════ */
@keyframes fadeUp { from{opacity:0;transform:translateY(28px)} to{opacity:1;transform:none} }

.reveal       { opacity: 0; transform: translateY(28px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-left  { opacity: 0; transform: translateX(-28px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(28px);  transition: opacity .6s ease, transform .6s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* Hero visual hanya tampil jika layar cukup lebar */
.hero-visual { display: none; }
@media (min-width: 1024px) {
  .hero-visual { display: block; }
}

@media (max-width: 1024px) {
  #hero { grid-template-columns: 1fr; padding-top: 90px; min-height: auto; padding-bottom: 60px; }
  .profil-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .prog-grid   { grid-template-columns: 1fr 1fr; }
  .ekskul-wrap   { grid-template-columns: repeat(2,1fr); }
  .prestasi-grid { grid-template-columns: 1fr 1fr; }
  .guru-grid     { grid-template-columns: 1fr 1fr; }
  .kontak-grid   { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 600px) {
  .prog-grid     { grid-template-columns: 1fr; }
  .prestasi-grid { grid-template-columns: 1fr; }
  .guru-grid     { grid-template-columns: 1fr; }
  .hero-title  { font-size: 2rem; }
  .s-title     { font-size: 1.5rem; }
  section      { padding: 60px 5vw; }
  .footer-top  { flex-direction: column; gap: 2rem; }
  .map-frame   { min-height: 240px; }
}
@media (max-width: 420px) {
  .ekskul-wrap { grid-template-columns: 1fr 1fr; }
}