/* ==========================================================================
   SMAS AL HIKAM — DESIGN SYSTEM INSPIRED BY PPDB SMAN 16 SURABAYA
   Visual Theme: Navy Deep (#0C0F45), Cyan Bright (#13AFF0), Golden Yellow (#FCD600)
   Typography: Montserrat, Roboto, Open Sans, Yantramanav
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Open+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto:wght@400;500;600;700&family=Yantramanav:wght@400;500;700;800&display=swap');

:root {
  /* 1. Primary Colors */
  --navy-deep: #0C0F45;
  --cyan-bright: #13AFF0;
  --cyan-secondary: #5BC0DE;

  /* Legacy & Semantic Aliases */
  --primary: #13AFF0;
  --primary-subtle: rgba(19, 175, 240, 0.12);
  --secondary: #0C0F45;
  --accent: #FCD600;
  --text-main: #4A4A4A;
  --text-muted: #666666;
  --text-light: #94A3B8;
  --bg-main: #FFFFFF;
  --border-color: #D4D4D4;

  /* 2. Accent Colors */
  --golden-yellow: #FCD600;
  --slate-blue: #1E293B;
  --slate-gray: #334155;

  /* 3. Interactive States */
  --cyan-interactive: #13AFF0;
  --cyan-hover: #0E8BC1;
  --cyan-active: #0A6A95;
  --yellow-hover: #FCD600;
  --white-ghost: #FFFFFF;

  /* 4. Neutral Scale */
  --charcoal: #4A4A4A;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #777777;
  --silver-gray: #818A91;
  --pale-gray: #94A3B8;
  --smoke: #D4D4D4;

  /* 5. Surface & Borders */
  --white-base: #FFFFFF;
  --off-white: #F1F5F9;
  --border-gray: #818A91;
  --dark-outline: #6C757D;

  /* 6. Semantic / Status */
  --warning-yellow: #FCD600;
  --error-red: #EA4335;
  --success-green: #39B54A;

  /* 7. Typography Families */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Yantramanav', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* 8. Shadows & Depth */
  --shadow-sm: rgba(51, 51, 51, 0.1) 0px 2px 5px 0px;
  --shadow-md: rgba(0, 0, 0, 0.3) 0px 2px 5px 0px;
  --shadow-lg: rgba(0, 0, 0, 0.5) 0px 1px 15px 1px;
  --shadow-feature: rgba(0, 0, 0, 0.1) 0px 4px 12px 0px;
  --shadow-feature-hover: rgba(0, 0, 0, 0.15) 0px 8px 16px 0px;

  /* 9. Radii Scale */
  --radius-0: 0px;
  --radius-sm: 5px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 28px;
  --radius-full: 50%;

  /* 10. Spacing & Transitions */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE TYPOGRAPHY
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--charcoal);
  background-color: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--navy-deep);
  font-family: var(--font-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

a {
  color: var(--cyan-interactive);
  text-decoration: none;
  font-family: var(--font-secondary);
  transition: var(--transition);
}

a:hover {
  color: var(--cyan-hover);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-banner {
  background: var(--golden-yellow);
  color: var(--navy-deep);
  padding: 8px 32px;
  font-size: 13px;
  font-family: var(--font-body);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  z-index: 1000;
  position: relative;
}

.badge-pulse {
  background: var(--navy-deep);
  color: var(--white-base);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 16px;
  display: inline-block;
  text-transform: uppercase;
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (FIXED NAVY #0C0F45, 64px HEIGHT)
   ========================================================================== */
.site-header {
  background: var(--navy-deep);
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px 0px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-box {
  width: 38px;
  height: 38px;
  background: var(--cyan-bright);
  color: var(--white-base);
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
  transition: transform var(--transition-fast);
}

.brand-area:hover .brand-logo-img {
  transform: scale(1.08) rotate(-3deg);
}

.footer-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.hero-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(12, 15, 69, 0.22);
  overflow: hidden;
  border: 4px solid var(--white-base);
  background: var(--navy-deep);
}

.hero-sekolah-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.hero-img-wrapper:hover .hero-sekolah-img {
  transform: scale(1.06);
}

.hero-card-float.overlay-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  width: auto;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  color: var(--navy-deep);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.brand-title-group {
  display: flex;
  flex-direction: column;
}

.brand-title {
  color: var(--white-base);
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  color: var(--cyan-secondary);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--white-base);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  padding: 20px 0;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--golden-yellow);
  border-bottom: 3px solid var(--golden-yellow);
}

.nav-links a.active {
  color: var(--cyan-bright);
  font-weight: 700;
  border-bottom: 3px solid var(--cyan-bright);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.search-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white-base);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
}

.search-btn:hover {
  background: var(--cyan-bright);
  border-color: var(--cyan-bright);
}

.btn-ppdb-header {
  background: var(--cyan-bright);
  color: var(--white-base);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-ppdb-header:hover {
  background: var(--cyan-hover);
  color: var(--white-base);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white-base);
  font-size: 26px;
  cursor: pointer;
}

/* ==========================================================================
   BUTTONS SYSTEM (CYAN PRIMARY, WHITE BORDER SECONDARY, GHOST NAVY)
   ========================================================================== */
.btn-primary, .btn-hero-primary, .btn-submit-ppdb {
  background: var(--cyan-bright);
  color: var(--white-base);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 14px 35px;
  border-radius: var(--radius-pill);
  border: none;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: none;
  text-decoration: none;
}

.btn-primary:hover, .btn-hero-primary:hover, .btn-submit-ppdb:hover {
  background: var(--cyan-hover);
  color: var(--white-base);
}

.btn-primary:active, .btn-hero-primary:active {
  background: var(--cyan-active);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.15);
}

.btn-secondary, .btn-hero-secondary {
  background: transparent;
  color: var(--white-base);
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 13px 33px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--white-base);
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover, .btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white-base);
  border-color: var(--white-base);
}

/* ==========================================================================
   HERO CONTAINER (NAVY BACKGROUND #0C0F45)
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, rgba(12, 15, 69, 0.88) 0%, rgba(12, 15, 69, 0.78) 45%, rgba(13, 92, 77, 0.88) 100%), url('gambar/hero-sekolah.jpeg') center/cover no-repeat;
  padding: 100px 48px 80px;
  color: var(--white-base);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  min-height: 640px;
  border-bottom: 4px solid var(--golden-yellow);
}

.hero-content-center {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 960px;
  margin-top: 56px;
  z-index: 2;
}

.hero-stat-box {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 24px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: transform var(--transition);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.hero-stat-box:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--golden-yellow);
}

.hero-stat-box .stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--golden-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.hero-stat-box .stat-text h4 {
  font-size: 18px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 4px;
  font-family: var(--font-display);
}

.hero-stat-box .stat-text p {
  font-size: 13px;
  color: var(--off-white);
  margin: 0;
}

.hero-badge {
  background: rgba(19, 175, 240, 0.22);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.5);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--white-base);
  margin-bottom: 22px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hero-title span {
  color: var(--golden-yellow);
}

.hero-desc {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--off-white);
  margin-bottom: 36px;
  max-width: 680px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-float {
  background: var(--golden-yellow);
  color: var(--navy-deep);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-feature);
  width: 100%;
  max-width: 440px;
  transition: var(--transition);
}

.hero-card-float:hover {
  box-shadow: var(--shadow-feature-hover);
  transform: translateY(-4px);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(12, 15, 69, 0.15);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  background: var(--navy-deep);
  color: var(--golden-yellow);
  font-size: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 0;
}

.hero-card-info p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--charcoal);
  margin: 0;
}

.hero-stat-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-stat-item h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0;
}

.hero-stat-item span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
}

/* ==========================================================================
   CARDS SYSTEM (FEATURE YELLOW #FCD600 vs STANDARD WHITE #FFFFFF)
   ========================================================================== */
.section-header-row {
  max-width: 1200px;
  margin: 64px auto 32px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.section-title-group h2 {
  font-family: var(--font-primary);
  font-size: 29px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--medium-gray);
}

.view-all-link {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-bright);
}

.view-all-link:hover {
  text-decoration: underline;
}

.informasi-grid {
  max-width: 1200px;
  margin: 48px auto 32px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Standard White Card */
.info-card {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.info-card:hover {
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-feature);
  transform: translateY(-3px);
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(19, 175, 240, 0.1);
  color: var(--cyan-bright);
  font-size: 24px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.info-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.info-card p {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.6;
}

/* Feature Yellow Card */
.feature-card-yellow {
  background: var(--golden-yellow);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-feature);
  color: var(--navy-deep);
  transition: var(--transition);
}

.feature-card-yellow:hover {
  box-shadow: var(--shadow-feature-hover);
  transform: translateY(-4px);
}

.feature-card-yellow h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
}

.feature-card-yellow p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ==========================================================================
   PENGUMUMAN & BERITA GRID
   ========================================================================== */
.pengumuman-grid {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pengumuman-card {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.pengumuman-card:hover {
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-feature);
}

.pengumuman-tag {
  background: var(--golden-yellow);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 16px;
  display: inline-block;
  margin-bottom: 12px;
}

.pengumuman-title {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  line-height: 1.4;
}

.pengumuman-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.pengumuman-meta {
  border-top: 1px solid var(--smoke);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}

.pengumuman-meta .date {
  color: var(--silver-gray);
}

/* Berita List (berita.html) */
.berita-list {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.berita-card {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--transition);
}

.berita-card:hover {
  border-color: var(--cyan-bright);
  box-shadow: var(--shadow-feature);
}

.berita-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.berita-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.berita-info h3 {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.berita-info p {
  font-size: 13px;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.berita-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--silver-gray);
  border-top: 1px solid var(--smoke);
  padding-top: 10px;
}

/* ==========================================================================
   PROFIL & TABS LAYOUT (profil.html)
   ========================================================================== */
.page-container {
  min-height: calc(100vh - 120px);
}

.profil-layout {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.profil-sidebar {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: fit-content;
}

.profil-tab {
  background: transparent;
  border: none;
  text-align: left;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.profil-tab:hover {
  background: var(--off-white);
  color: var(--navy-deep);
}

.profil-tab.active {
  background: var(--navy-deep);
  color: var(--white-base);
}

.profil-content-box {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.content-pane {
  display: none;
}

.content-pane.active {
  display: block;
}

.bullet-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
}

.bullet-item i {
  color: var(--cyan-bright);
  font-style: normal;
  font-weight: 800;
}

.struktur-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.struktur-card {
  background: var(--off-white);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  transition: var(--transition);
}

.struktur-card:hover {
  border-color: var(--cyan-bright);
}

.struktur-avatar {
  width: 64px;
  height: 64px;
  background: var(--white-base);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 12px;
  box-shadow: var(--shadow-sm);
}

.struktur-card h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.struktur-card span {
  font-size: 12.5px;
  color: var(--cyan-bright);
  font-weight: 600;
}

/* ==========================================================================
   SPMB STEPPER & FORMULIR (spmb.html)
   ========================================================================== */
.ppdb-hero-banner, .spmb-hero-banner {
  background: linear-gradient(135deg, rgba(12, 15, 69, 0.88) 0%, rgba(13, 92, 77, 0.88) 100%), url('gambar/hero-sekolah.jpeg') center/cover no-repeat;
  color: var(--white-base);
  padding: 70px 32px;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--golden-yellow);
}

.ppdb-stepper, .spmb-stepper {
  max-width: 960px;
  margin: 0 auto 40px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.step-node {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-node:hover {
  border-color: var(--cyan-bright);
}

.step-node.active {
  background: var(--golden-yellow);
  border-color: var(--golden-yellow);
  color: var(--navy-deep);
}

.step-circle {
  width: 34px;
  height: 34px;
  background: var(--navy-deep);
  color: var(--white-base);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}

.step-node.active .step-circle {
  background: var(--navy-deep);
  color: var(--golden-yellow);
}

.step-label {
  font-weight: 700;
  font-size: 13.5px;
}

.ppdb-content-box, .spmb-content-box {
  max-width: 960px;
  margin: 0 auto 64px;
  padding: 36px;
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.ppdb-pane, .spmb-pane {
  display: none;
}

.ppdb-pane.active, .spmb-pane.active {
  display: block;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.input-field {
  margin-bottom: 20px;
}

.input-field label {
  display: block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.input-field input, .input-field select, .input-field textarea {
  width: 100%;
  background: var(--white-base);
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--charcoal);
  height: 42px;
  outline: none;
  transition: var(--transition);
}

.input-field textarea {
  height: auto;
}

.input-field input:focus, .input-field select:focus, .input-field textarea:focus {
  border: 2px solid var(--cyan-bright);
  box-shadow: 0px 0px 0px 3px rgba(19, 175, 240, 0.12);
}

/* ==========================================================================
   GALERI FOTO GRID & LIGHTBOX (galeri.html)
   ========================================================================== */
.filter-bar {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 32px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--charcoal);
  cursor: pointer;
  transition: var(--transition);
}

.filter-pill:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}

.filter-pill.active {
  background: var(--navy-deep);
  color: var(--white-base);
  border-color: var(--navy-deep);
}

.galeri-grid {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.galeri-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--smoke);
}

.galeri-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.galeri-item:hover img {
  transform: scale(1.08);
}

.galeri-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(12,15,69,0.9) 0%, transparent 100%);
  color: var(--white-base);
  padding: 16px;
  transform: translateY(100%);
  transition: var(--transition);
}

.galeri-item:hover .galeri-overlay {
  transform: translateY(0);
}

.galeri-overlay h4 {
  font-size: 14px;
  color: var(--white-base);
  margin: 0;
}

.galeri-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 15, 69, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 32px;
}

.galeri-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.galeri-modal-content {
  background: var(--white-base);
  border-radius: var(--radius-md);
  overflow: hidden;
  max-width: 800px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.galeri-modal-content img {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background: #000;
}

.galeri-modal-footer {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   KONTAK & MAP LAYOUT (kontak.html)
   ========================================================================== */
.kontak-layout {
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.kontak-card {
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-sm);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.kontak-item-row {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.kontak-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-deep);
  color: var(--golden-yellow);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.kontak-text h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.kontak-text p {
  font-size: 13.5px;
  color: var(--charcoal);
  margin: 0;
}

.kontak-map-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--smoke);
  height: 250px;
}

.kontak-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   FOOTER SECTION (FULL WIDTH NAVY #0C0F45, 64px PADDING)
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: var(--white-base);
  padding: 64px 32px 32px;
  margin-top: 64px;
  border-top: 4px solid var(--golden-yellow);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--off-white);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 16px;
  color: var(--golden-yellow);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--off-white);
  font-size: 13.5px;
}

.footer-links a:hover {
  color: var(--cyan-bright);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--pale-gray);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   FLOATING CHATBOT AI & SEARCH MODALS
   ========================================================================== */
.chatbot-trigger {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: var(--cyan-bright);
  color: var(--white-base);
  border: none;
  border-radius: var(--radius-full);
  font-size: 26px;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-trigger:hover {
  background: var(--cyan-hover);
  transform: scale(1.08);
}

.chatbot-popup {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 360px;
  background: var(--white-base);
  border: 1px solid var(--smoke);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1501;
  display: flex;
  flex-direction: column;
  height: 480px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
  overflow: hidden;
}

.chatbot-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  background: var(--navy-deep);
  color: var(--white-base);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bot-avatar {
  width: 36px;
  height: 36px;
  background: var(--cyan-bright);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.bot-status h4 {
  color: var(--white-base);
  font-size: 14.5px;
  margin: 0;
}

.bot-status span {
  font-size: 11px;
  color: var(--golden-yellow);
  font-weight: 600;
}

.bot-controls button {
  background: none;
  border: none;
  color: var(--white-base);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.chatbot-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--off-white);
}

.msg-row {
  display: flex;
  gap: 8px;
  max-width: 85%;
}

.msg-row.bot {
  align-self: flex-start;
}

.msg-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-bubble {
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.msg-row.bot .msg-bubble {
  background: var(--white-base);
  color: var(--charcoal);
  border: 1px solid var(--smoke);
}

.msg-row.user .msg-bubble {
  background: var(--cyan-bright);
  color: var(--white-base);
}

.chatbot-quick-replies {
  padding: 8px 14px;
  background: var(--white-base);
  border-top: 1px solid var(--smoke);
  display: flex;
  gap: 6px;
  overflow-x: auto;
}

.quick-btn {
  background: var(--off-white);
  border: 1px solid var(--smoke);
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11.5px;
  color: var(--navy-deep);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition);
}

.quick-btn:hover {
  background: var(--cyan-bright);
  color: var(--white-base);
  border-color: var(--cyan-bright);
}

.chatbot-input-bar {
  padding: 12px 14px;
  background: var(--white-base);
  border-top: 1px solid var(--smoke);
  display: flex;
  gap: 8px;
}

.chatbot-input-bar input {
  flex: 1;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  outline: none;
}

.chatbot-input-bar input:focus {
  border-color: var(--cyan-bright);
}

.btn-send {
  background: var(--navy-deep);
  color: var(--white-base);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}

.btn-send:hover {
  background: var(--cyan-bright);
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(12, 15, 69, 0.88);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.search-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.search-modal-box {
  background: var(--white-base);
  border-radius: var(--radius-md);
  padding: 28px;
  width: 100%;
  max-width: 650px;
  box-shadow: var(--shadow-lg);
}

.search-input-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.search-input-row input {
  flex: 1;
  border: 2px solid var(--navy-deep);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  font-size: 15px;
  outline: none;
}

.btn-close-search {
  background: var(--off-white);
  border: 1px solid var(--smoke);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  cursor: pointer;
}

.search-results-list {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.search-result-item:hover {
  background: var(--cyan-bright);
  color: var(--white-base);
}

.search-result-item:hover h4, .search-result-item:hover span {
  color: var(--white-base) !important;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .informasi-grid, .galeri-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pengumuman-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-section {
    grid-template-columns: 1fr;
    padding: 64px 32px;
  }
  .hero-title {
    font-size: 48px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    padding: 60px 20px;
    min-height: auto;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-stats-row {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }
  .informasi-grid, .galeri-grid, .pengumuman-grid, .berita-list {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .profil-layout, .kontak-layout {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }
  .ppdb-stepper {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }
  .ppdb-content-box {
    margin: 0 20px 48px;
    padding: 24px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .berita-card {
    grid-template-columns: 1fr;
  }
  .berita-thumb {
    height: 180px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
