:root {
  --purple: #54228D;
  --purple2: #8B5BC2;
  --ink: #251b31;
  --muted: #71677c;
  --bg: #fff;
  --soft: #F5F0FA;
  --line: #e9e1f0;
  --white: #fff;
  --shadow: 0 18px 50px rgba(54, 25, 83, .10);
  --radius: 24px
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px
}

body {
  margin: 0;
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

button {
  font: inherit;
  cursor: pointer
}

.container {
  width: min(1160px, 92%);
  margin-inline: auto
}

.top-strip {
  background: #321454;
  color: #eee4f8;
  font-size: .82rem
}

.top-strip-inner {
  min-height: 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.top-strip a {
  color: #fff
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px);
  box-shadow: 0 5px 24px rgba(39, 19, 57, .07)
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px
}

.brand, .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 15px
}

.brand strong {
  display: block;
  color: var(--purple);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .75rem
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 22px)
}

.main-nav a {
  font-size: .88rem;
  font-weight: 800;
  color: #554b61;
  padding: 10px 0;
  position: relative;
  white-space: nowrap
}

.main-nav a:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--purple2);
  transition: width .2s
}

.main-nav a:hover, .main-nav a.active {
  color: var(--purple)
}

.main-nav a:hover:after, .main-nav a.active:after {
  width: 100%
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--soft);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  padding: 11px
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--purple);
  margin: 5px 0;
  border-radius: 2px
}

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(115deg, #29123f, #54228D 68%, #7544a4);
  color: #fff
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(35, 13, 55, .96), rgba(66, 27, 104, .82)), url("../images/placeholder/image-placeholder.jpeg") center/cover;
  opacity: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 90px
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.12;
  max-width: 850px;
  margin: 18px 0;
  font-weight: 900;
  letter-spacing: -1.5px
}

.hero h1 em {
  font-style: normal;
  color: #e5cef9
}

.hero p {
  max-width: 650px;
  color: #eee5f6;
  font-size: 1.08rem
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #e7d4fa
}

.eyebrow.purple {
  color: var(--purple2)
}

.eyebrow.light {
  color: #ead9fa
}

.hero-actions, .contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #160b2428
}

.btn-light {
  background: #fff;
  color: var(--purple)
}

.btn-outline-light {
  border-color: #ffffff88;
  color: #fff;
  background: #ffffff0d
}

.btn-primary {
  background: var(--purple);
  color: #fff
}

.btn-soft {
  background: var(--soft);
  color: var(--purple)
}

.hero-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: #e5d9ef;
  font-size: .9rem
}

.hero-shape {
  position: absolute;
  width: 460px;
  height: 460px;
  border: 1px solid #ffffff1e;
  border-radius: 50%;
  right: -100px;
  bottom: -280px;
  box-shadow: 0 0 0 55px #ffffff08, 0 0 0 110px #ffffff06
}

.stats-section {
  position: relative;
  margin-top: -1px;
  background: #fff
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 0;
  box-shadow: var(--shadow);
  border-radius: 0 0 22px 22px;
  background: #fff
}

.stat-card {
  text-align: center;
  padding: 10px 18px;
  border-right: 1px solid var(--line)
}

.stat-card:last-child {
  border: 0
}

.stat-card strong {
  display: block;
  color: var(--purple);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2
}

.stat-card span {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700
}

.section {
  padding: 86px 0
}

.section-soft {
  background: var(--soft)
}

.section-heading {
  text-align: center;
  margin: 0 auto 38px;
  max-width: 720px
}

.section-heading.align-left {
  text-align: left;
  margin-left: 0
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
  line-height: 1.2;
  margin: 10px 0 14px;
  font-weight: 900;
  letter-spacing: -.6px
}

.section-subtitle, .muted-note {
  color: var(--muted)
}

.lead {
  font-size: 1.12rem;
  color: #5d5368;
  max-width: 820px
}

.split-section {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center
}

.principal-sign {
  display: flex;
  flex-direction: column;
  margin-top: 28px
}

.principal-sign strong {
  color: var(--purple);
  font-size: 1.05rem
}

.principal-sign span {
  font-size: .86rem;
  color: var(--muted)
}

.feature-panel {
  min-height: 300px;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(145deg, #54228D, #8B5BC2);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow)
}

.feature-mark {
  font-size: 2rem;
  color: #f0ddff
}

.feature-panel h3 {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 20px 0 5px
}

.feature-panel p {
  color: #e8d9f5
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.quick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  transition: .25s
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #d3bce9
}

.quick-card>span {
  color: var(--purple2);
  font-weight: 900
}

.quick-card h3 {
  margin: 12px 0 5px
}

.quick-card p {
  margin: 0;
  color: var(--muted)
}

.row-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  text-align: left;
  max-width: none
}

.text-link {
  color: var(--purple);
  font-weight: 900
}

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

.gallery-tile {
  border: 0;
  padding: 0;
  text-align: left;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 28px #29123f0d;
  transition: transform .2s
}

.gallery-tile:hover {
  transform: translateY(-4px)
}

.gallery-tile img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: var(--soft)
}

.gallery-tile span {
  display: block;
  padding: 13px 16px;
  font-weight: 800
}

.empty-state {
  grid-column: 1/-1;
  padding: 36px 20px;
  border: 1px dashed #cbb8dc;
  border-radius: 18px;
  text-align: center;
  color: var(--muted);
  background: #fbf9fd
}

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

.news-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: #fff
}

.news-card small {
  color: var(--purple2);
  font-weight: 800
}

.news-card h3 {
  line-height: 1.3;
  margin: 10px 0
}

.news-card p {
  color: var(--muted);
  margin: 0
}

.cta-section {
  background: linear-gradient(110deg, #321454, #54228D);
  color: #fff;
  padding: 54px 0
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 8px 0
}

.cta-inner p {
  color: #e2d5ed;
  margin: 0
}

.page-hero {
  padding: 70px 0 76px;
  color: #fff;
  background: radial-gradient(circle at 85% 20%, #8b5bc2 0, transparent 30%), linear-gradient(115deg, #321454, #54228D)
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  line-height: 1.1;
  margin: 12px 0;
  font-weight: 900
}

.page-hero p {
  color: #e9ddf2;
  font-size: 1.05rem;
  margin: 0
}

.identity-card {
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 35px #30184c0a
}

.identity-card h2 {
  margin-top: 0
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 30px
}

.identity-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--line)
}

.identity-item small {
  display: block;
  color: var(--muted);
  font-weight: 700
}

.identity-item b {
  font-size: 1rem
}

.top-space {
  margin-top: 52px
}

.facility-list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-left: 22px
}

.values-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 28px;
  align-items: stretch
}

.vision-card {
  background: linear-gradient(145deg, #54228D, #8B5BC2);
  border-radius: 24px;
  padding: 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px
}

.big-vision {
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff
}

.vision-card p {
  color: #eadcf6
}

.mission-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px
}

.mission-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px
}

.mission-item {
  background: var(--soft);
  padding: 18px;
  border-radius: 14px;
  font-weight: 900;
  color: var(--purple)
}

.goal-wrap {
  margin-top: 60px
}

.bisa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px
}

.bisa-grid div {
  padding: 20px;
  border-radius: 16px;
  background: var(--soft);
  display: flex;
  align-items: center;
  gap: 12px
}

.bisa-grid b {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--purple);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.25rem
}

.bisa-grid span {
  font-weight: 900
}

.teacher-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  background: var(--soft);
  border-radius: 20px;
  margin-bottom: 30px
}

.teacher-summary div {
  display: flex;
  align-items: center;
  gap: 14px
}

.teacher-summary strong {
  font-size: 2.4rem;
  color: var(--purple);
  font-weight: 900
}

.teacher-summary span {
  font-weight: 800
}

.teacher-summary p {
  max-width: 470px;
  color: var(--muted);
  margin: 0
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.person-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-align: center;
  background: #fff
}

.person-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 14px;
  object-fit: cover;
  background: var(--soft);
  display: grid;
  place-items: center;
  color: var(--purple2);
  font-size: 2.5rem;
  overflow: hidden
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.person-card h3 {
  font-size: 1rem;
  margin: 14px 0 2px
}

.person-card p {
  color: var(--muted);
  font-size: .88rem;
  margin: 0
}

.student-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 54px
}

.student-overview>div {
  padding: 26px;
  border-radius: 20px;
  background: var(--soft);
  display: flex;
  flex-direction: column
}

.student-overview span {
  color: var(--muted);
  font-weight: 800
}

.student-overview strong {
  font-size: 2rem;
  color: var(--purple);
  font-weight: 900
}

.student-overview small {
  font-size: .9rem
}

.class-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px
}

.bar-row {
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 14px
}

.bar-track {
  height: 10px;
  border-radius: 99px;
  background: var(--soft);
  overflow: hidden
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--purple2));
  border-radius: 99px
}

.bar-row span {
  text-align: right;
  font-weight: 900;
  color: var(--purple)
}

.filter-list, .news-tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-bottom: 26px
}

.filter-btn {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 800;
  color: var(--muted)
}

.filter-btn.active, .filter-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff
}

.video-section {
  margin-top: 60px
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.video-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px
}

.lightbox {
  border: 0;
  border-radius: 16px;
  max-width: min(900px, 92vw);
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow)
}

.lightbox::backdrop {
  background: #140b20d9
}

.lightbox img {
  max-height: 75vh;
  max-width: 100%;
  margin: auto;
  object-fit: contain
}

.lightbox p {
  text-align: center;
  font-weight: 800
}

.lightbox-close {
  position: absolute;
  right: 8px;
  top: 8px;
  border: 0;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  background: var(--purple);
  color: #fff;
  font-size: 1.5rem
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px
}

.contact-list {
  margin-top: 24px
}

.contact-line {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column
}

.contact-line b {
  color: var(--purple);
  font-size: .82rem
}

.contact-line span {
  font-weight: 800
}

.map-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px
}

.map-placeholder {
  min-height: 280px;
  border-radius: 16px;
  background: var(--soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  gap: 8px;
  text-align: center;
  padding: 20px
}

.map-placeholder iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 16px
}

.site-footer {
  background: #321454;
  color: #f1e9f7;
  padding: 54px 0 18px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 55px
}

.footer-brand {
  font-weight: 900;
  color: #fff;
  font-size: 1.15rem
}

.footer-brand img {
  width: 42px;
  height: 42px
}

.footer-about p {
  color: #cbbbdc;
  max-width: 360px
}

.footer-npsn {
  font-size: .9rem
}

.site-footer h2 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 16px
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0
}

.site-footer li {
  margin: 8px 0;
  color: #d8cbe3;
  font-size: .92rem
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline
}

.footer-bottom {
  border-top: 1px solid #ffffff25;
  margin-top: 38px;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #cbbbdc;
  font-size: .82rem
}

.muted-note {
  font-size: .9rem;
  margin-top: 22px
}

.empty-state p {
  margin: 0
}

.component-error {
  padding: 12px;
  background: #fff0f0;
  color: #8a2222;
  text-align: center
}

@media(max-width:980px) {
  .nav-wrap {
    min-height: 74px
  }

  .menu-toggle {
    display: block
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 4% 22px;
    box-shadow: 0 18px 24px #28123d16;
    flex-direction: column;
    align-items: stretch;
    gap: 0
  }

  .main-nav.open {
    display: flex
  }

  .main-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--line)
  }

  .main-nav a:after {
    display: none
  }

  .split-section {
    gap: 32px
  }

  .teacher-grid {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media(max-width:700px) {
  .top-strip-inner {
    justify-content: center
  }

  .top-strip-inner span {
    display: none
  }

  .nav-wrap {
    min-height: 68px
  }

  .brand-logo {
    width: 45px;
    height: 45px
  }

  .hero {
    min-height: 560px
  }

  .hero-content {
    padding-block: 70px
  }

  .hero h1 {
    font-size: 2.55rem
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0
  }

  .stat-card:nth-child(2) {
    border-right: 0
  }

  .stat-card:nth-child(3), .stat-card:nth-child(4) {
    border-top: 1px solid var(--line);
    padding-top: 18px
  }

  .section {
    padding: 64px 0
  }

  .split-section, .values-layout, .contact-layout {
    grid-template-columns: 1fr
  }

  .quick-grid, .news-grid {
    grid-template-columns: 1fr
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px
  }

  .gallery-tile img {
    height: 155px
  }

  .gallery-tile span {
    font-size: .84rem;
    padding: 10px
  }

  .row-heading, .cta-inner {
    align-items: flex-start;
    flex-direction: column
  }

  .identity-grid, .mission-list, .class-stats, .student-overview {
    grid-template-columns: 1fr
  }

  .teacher-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .teacher-summary {
    align-items: flex-start;
    flex-direction: column
  }

  .teacher-summary div {
    align-items: center
  }

  .bisa-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .bar-row {
    grid-template-columns: 75px 1fr 35px;
    gap: 9px;
    padding: 14px 12px
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px
  }

  .footer-bottom {
    flex-direction: column
  }

  .page-hero {
    padding: 56px 0
  }

  .facility-list ul {
    grid-template-columns: 1fr
  }
}

@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important
  }
}