/* =============================================
   SMKN 1 CILACAP – Main Stylesheet
   EdTech Design | 2025
============================================= */

/* ---- Nav logo image ---- */
.nav-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}
.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* =============================================
   VIDEO SECTION
============================================= */
.video-section { background: var(--white); }
.video-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.video-frame {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(37,99,235,0.18);
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-info { }
.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fee2e2;
  color: #dc2626;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.video-info h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 0.85rem;
}
.video-info > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.video-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}
.video-highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.video-highlights li i { color: #dc2626; font-size: 1rem; }

@media (max-width: 860px) {
  .video-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #14B8A6;
  --secondary-dark: #0f9188;
  --accent: #F59E0B;
  --bg: #F8FAFC;
  --white: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(37,99,235,0.08);
  --shadow-lg: 0 16px 48px rgba(37,99,235,0.14);
  --transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Sections ---- */
.section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.section-tag.light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--primary); }
.section-title.light { color: #fff; }
.section-title.light em { color: var(--accent); }
.section-desc { color: var(--text-muted); max-width: 540px; margin: 0 auto; font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,0.38);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-full { width: 100%; justify-content: center; }

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248,250,252,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: 0.6rem 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  border-color: var(--border);
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-main { font-size: 1.05rem; font-weight: 800; color: var(--text); }
.brand-sub { font-size: 0.72rem; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-cta {
  padding: 0.6rem 1.4rem;
  background: var(--primary);
  color: #fff !important;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37,99,235,0.28);
  margin-left: 0.5rem;
}
.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  background: linear-gradient(135deg, #dbeafe 0%, #ccfbf1 50%, #fef3c7 100%);
  padding-top: 110px;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
}
.shape-1 { width: 500px; height: 500px; background: #bfdbfe; top: -100px; right: -100px; }
.shape-2 { width: 360px; height: 360px; background: #99f6e4; bottom: -80px; left: -80px; }
.shape-3 { width: 240px; height: 240px; background: #fde68a; top: 40%; right: 30%; }
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--white);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4em 1em;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--primary); }
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: fit-content;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 0.73rem; color: var(--text-muted); font-weight: 600; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }
.hero-visual { display: flex; justify-content: center; }
.hero-img-wrap {
  position: relative;
  display: inline-block;
}
.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.hero-img-badge, .hero-img-float {
  position: absolute;
  background: var(--white);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
  white-space: nowrap;
}
.hero-img-badge { top: 16px; left: -16px; color: var(--accent); }
.hero-img-badge i { color: var(--accent); }
.hero-img-float { bottom: 24px; right: -16px; color: var(--secondary-dark); }
.hero-img-float i { color: var(--secondary); }
.hero-wave {
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.hero-wave svg { display: block; }

/* Animate on load */
[data-aos] { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].visible { opacity: 1; transform: none; }

/* =============================================
   JURUSAN
============================================= */
.jurusan-section { background: var(--white); }
.jurusan-carousel { padding-bottom: 2rem; }
.jurusan-card {
  margin: 0.75rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: var(--transition);
  outline: none;
}
.jurusan-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background: var(--white);
}
.jcard-icon {
  width: 56px; height: 56px;
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--c);
  margin-bottom: 1.1rem;
}
.jurusan-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.jurusan-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.jcard-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1.1rem; }
.jcard-tags span {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.25em 0.75em;
  border-radius: 100px;
}
.jcard-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}
.jcard-link:hover { gap: 0.7rem; }
/* Slick Arrows */
.jurusan-carousel .slick-prev,
.jurusan-carousel .slick-next {
  width: 44px; height: 44px;
  background: var(--white) !important;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  z-index: 10;
}
.jurusan-carousel .slick-prev { left: -10px; }
.jurusan-carousel .slick-next { right: -10px; }
.jurusan-carousel .slick-prev:before,
.jurusan-carousel .slick-next:before {
  color: var(--primary);
  font-size: 1.1rem;
}
.jurusan-carousel .slick-dots li button:before { color: var(--primary); }
.jurusan-carousel .slick-dots li.slick-active button:before { color: var(--primary); }

/* =============================================
   FASILITAS
============================================= */
.fasilitas-section { background: var(--bg); }
.fasilitas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.fas-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.fas-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 28px rgba(20,184,166,0.12);
  transform: translateY(-3px);
}
.fas-card--wide { grid-column: span 2; }
.fas-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary-light), #ccfbf1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}
.fas-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.fas-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   BOOKING
============================================= */
.booking-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 50%, var(--secondary-dark) 100%);
  padding: 96px 0;
  overflow: hidden;
}
.booking-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='7' cy='7' r='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}
.booking-info { color: #fff; }
.booking-info p { opacity: 0.85; margin-bottom: 1.75rem; font-size: 1.05rem; }
.booking-perks { display: flex; flex-direction: column; gap: 0.75rem; }
.booking-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.booking-perks li i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.booking-form-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 24px 64px rgba(0,0,0,0.18);
}
.booking-form h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text);
}
.form-group { margin-bottom: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; }
/* Success state */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.success-icon {
  font-size: 3rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.form-success h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.form-success p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* =============================================
   TESTIMONI
============================================= */
.testi-section { background: var(--white); }
.testi-slider { padding: 0.5rem 0.75rem 2.5rem; }
.testi-card {
  margin: 0.75rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  position: relative;
  transition: var(--transition);
}
.testi-card:hover { box-shadow: var(--shadow-lg); border-color: var(--primary); transform: translateY(-4px); }
.testi-quote { font-size: 1.8rem; color: var(--primary); opacity: 0.18; margin-bottom: 0.75rem; }
.testi-card > p { font-size: 0.93rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.7; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.85rem; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 0.92rem; font-weight: 700; }
.testi-author span { font-size: 0.78rem; color: var(--text-muted); }
.testi-stars { color: var(--accent); font-size: 0.85rem; }
.testi-stars i { margin-right: 1px; }

/* =============================================
   FAQ
============================================= */
.faq-section { background: var(--bg); }
.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.faq-left p { color: var(--text-muted); margin-bottom: 0.5rem; }
.faq-right { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); box-shadow: var(--shadow); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
}
.faq-q:hover { color: var(--primary); }
.faq-item.open .faq-q { color: var(--primary); }
.faq-q i {
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-q i { transform: rotate(180deg); color: var(--primary); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0 1.25rem;
  line-height: 1.65;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 1.25rem 1.1rem; }

/* =============================================
   FOOTER
============================================= */
.footer { background: #0f172a; color: #94a3b8; }
.footer-top { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2.5rem;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-brand .nav-brand .brand-main { color: #fff; }
.footer-brand .nav-brand .brand-sub { color: #64748b; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.footer-col h4 {
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col li a {
  font-size: 0.87rem;
  color: #94a3b8;
  transition: var(--transition);
}
.footer-col li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
}
.footer-contact li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* =============================================
   WHATSAPP FLOAT
============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 999;
  transition: var(--transition);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.55); }
.wa-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  animation: waPulse 2.2s infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: #1a1a1a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35em 0.85em;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: var(--transition);
  pointer-events: none;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* =============================================
   SCROLL TO TOP
============================================= */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
}
.scroll-top.show { opacity: 1; transform: none; pointer-events: all; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .fasilitas-grid { grid-template-columns: repeat(2, 1fr); }
  .fas-card--wide { grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { order: -1; }
  .hero-img { max-width: 380px; margin: 0 auto; }
  .hero-img-badge { left: 0; }
  .hero-img-float { right: 0; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .booking-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .faq-wrap { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: all; }
  .nav-links .nav-link, .nav-links .nav-cta {
    width: 100%;
    text-align: center;
    border-radius: 10px;
    margin: 0;
  }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 0; }
  .fasilitas-grid { grid-template-columns: 1fr; }
  .fas-card--wide { grid-column: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; gap: 1rem; width: 100%; text-align: center; }
  .stat-divider { width: 60px; height: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .booking-form-wrap { padding: 1.5rem; }
  .hero-img-badge, .hero-img-float { display: none; }
}

/* =============================================
   MODAL SAMBUTAN KEPALA SEKOLAH
============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: var(--white);
  border-radius: 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.28);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.modal-overlay.open .modal-box {
  transform: none;
}
.modal-close {
  position: sticky;
  top: 0;
  float: right;
  margin: 1rem 1rem 0 0;
  width: 36px; height: 36px;
  background: var(--bg);
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 10;
}
.modal-close:hover { background: #fee2e2; color: #dc2626; }
.modal-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  clear: both;
  padding-top: 0;
}
.modal-photo-wrap {
  background: linear-gradient(160deg, var(--primary-light), #ccfbf1);
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  border-radius: 0 0 0 24px;
}
.modal-photo {
  width: 130px; height: 160px;
  object-fit: cover;
  object-position: top;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.modal-photo-caption strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.modal-photo-caption span {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.modal-content {
  padding: 2.5rem 2rem 2.5rem 2rem;
}
.modal-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.modal-content h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}
.modal-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.modal-closing { font-weight: 600; color: var(--primary) !important; }
@media (max-width: 640px) {
  .modal-inner { grid-template-columns: 1fr; }
  .modal-photo-wrap { border-radius: 0; padding: 2rem 1.5rem 1.5rem; flex-direction: row; text-align: left; }
  .modal-photo { width: 72px; height: 88px; }
  .modal-content { padding: 1.5rem; }
}

/* =============================================
   SAMBUTAN TRIGGER (hero)
============================================= */
.sambutan-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 0.55rem 1.2rem 0.55rem 0.55rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 100%;
}
.sambutan-trigger:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.sambutan-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
}
.sambutan-text { display: flex; flex-direction: column; text-align: left; }
.sambutan-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
}
.sambutan-role {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* =============================================
   SPMB SECTION (pengganti booking form)
============================================= */
.spmb-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 55%, var(--secondary-dark) 100%);
  padding: 96px 0;
  overflow: hidden;
}
.spmb-bg {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='7' cy='7' r='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.spmb-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.spmb-info { color: #fff; }
.spmb-info p { opacity: 0.88; margin-bottom: 1.75rem; font-size: 1.05rem; }
.spmb-perks { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.spmb-perks li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}
.spmb-perks li i { color: var(--accent); font-size: 1rem; flex-shrink: 0; }
.btn-accent {
  background: var(--accent);
  color: #1a1a1a;
  box-shadow: 0 4px 16px rgba(245,158,11,0.35);
}
.btn-accent:hover {
  background: #d97706;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.45);
}
.spmb-img-wrap {
  position: relative;
}
.spmb-img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  object-fit: cover;
  max-height: 400px;
  display: block;
}
.spmb-img-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--white);
  border-radius: 100px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent);
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .spmb-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .spmb-img { max-height: 280px; }
}

/* =============================================
   TESTIMONI WITH PHOTO
============================================= */
.testi-img-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-light);
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}
.testi-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
