:root {
  --navy: #f4faff;
  --navy-2: #eaf6ff;
  --blue: #168bd2;
  --cyan: #168fc5;
  --gold: #d18a19;
  --white: #17364f;
  --text: #294b64;
  --muted: #668198;
  --line: rgba(52, 118, 160, .16);
  --card: #fff;
}

body {
  background: #f4faff;
  color: #17364f;
}

body:before {
  background: linear-gradient(120deg, rgba(77, 174, 230, .09), transparent 38%, rgba(132, 211, 246, .13));
}

.header {
  background: rgba(255, 255, 255, .88);
  border-bottom-color: rgba(47, 112, 153, .14);
  box-shadow: 0 8px 28px rgba(38, 96, 133, .07);
  transition: transform .28s ease;
  will-change: transform;
}

.header.is-hidden {
  transform: translateY(-110%);
}

.brand,
.nav-links>a:not(.button),
.nav-links>a:not(.button):hover,
.nav-links>a.active {
  color: #17364f;
}

.nav-profile {
  position: relative;
}

.nav-profile-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #17364f;
  font: 700 11px/1 var(--font);
  text-transform: uppercase;
  cursor: pointer;
}

.nav-profile-toggle:hover,
.nav-profile-toggle[aria-expanded="true"] {
  color: #1684cb;
}

.nav-links > a[aria-current="page"] {
  color: #1684cb;
}

.nav-profile-toggle span {
  transition: transform .2s ease;
}

.nav-profile.open .nav-profile-toggle span {
  transform: rotate(180deg);
}

.nav-profile-menu[hidden] {
  display: none;
}

.nav-profile-menu:not([hidden]) {
  position: absolute;
  z-index: 60;
  top: calc(100% + 18px);
  left: -18px;
  display: grid;
  gap: 4px;
  width: 300px;
  padding: 9px;
  border: 1px solid rgba(52, 118, 160, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(38, 96, 133, .16);
}

.nav-profile-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  color: #244b66;
  font: 700 13px/1.35 var(--font);
  text-decoration: none;
  text-transform: none;
  transition: background .15s ease, color .15s ease;
}

.nav-profile-menu a:hover,
.nav-profile-menu a[aria-current="page"] {
  background: #eaf6ff;
  color: #176fa8;
}

.nav-profile-menu a span {
  width: 28px;
  flex: 0 0 28px;
  color: #168bd2;
  font-size: 11px;
  font-weight: 800;
}

.nav-profile-toggle:focus-visible,
.nav-profile-menu a:focus-visible {
  outline: 3px solid rgba(22, 139, 210, .28);
  outline-offset: 2px;
}

.profile-detail-page {
  min-height: calc(100vh - 135px);
}

.profile-back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: #34799f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.profile-back-link:hover,
.profile-page-next a:hover {
  color: #1684cb;
}

.profile-detail-card {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(52, 118, 160, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 46px rgba(38, 96, 133, .08);
}

.profile-detail-card .welcome-grid {
  width: 100%;
  margin: 0;
}

.profile-detail-card .welcome-content h1,
.profile-detail-card .section-title h1 {
  margin: 0;
  color: #17364f;
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.04;
}

.profile-detail-card .welcome-content h1 em,
.profile-detail-card .section-title h1 em {
  color: #168bd2;
  font-style: normal;
}

.profile-detail-card .section-content > h2 {
  margin: 0 0 14px;
  color: #17364f;
  font-size: 21px;
  line-height: 1.3;
}

.profile-detail-card.profile-information h1 {
  margin-bottom: 24px;
  color: #17364f;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.profile-detail-card.profile-information h1 em {
  color: #168bd2;
  font-style: normal;
}

.profile-page-next {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.profile-page-next a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #34799f;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s ease;
}

.profile-page-next a span {
  color: #168bd2;
  font-size: 17px;
}

.profile-footer {
  background: transparent;
}

.menu-toggle i {
  background: #17364f;
}

.button {
  border-color: rgba(20, 121, 183, .16);
  background: linear-gradient(135deg, #42afea, #1684cb);
  color: #fff;
  box-shadow: 0 10px 24px rgba(22, 139, 210, .18);
}

.button:hover {
  box-shadow: 0 14px 30px rgba(22, 139, 210, .24);
}

.hero {
  background:
    linear-gradient(90deg, rgba(244, 250, 255, .8) 0%, rgba(244, 250, 255, .72) 38%, rgba(234, 247, 255, .35) 72%, rgba(234, 247, 255, .18) 100%),
    url('/sekolah.jpg') center 54% / cover no-repeat;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.hero-copy {
  max-width: 760px;
  padding-top: 40px;
}

.hero-art {
  display: none;
}

.hero:after {
  display: none;
}

.particle-canvas {
  opacity: .2;
}

.hero h1,
.section-title h2,
.news-heading h2,
.welcome-content h2,
.admission h2 {
  color: #17364f;
}

.hero h1 em,
h2 em {
  color: #168bd2;
}

.hero-copy>p,
.section-content>p,
.welcome-copy p,
.admission-copy>p,
.admission-copy ul {
  color: #58758c;
}

.hero-panel {
  border-color: rgba(72, 145, 185, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,248,255,.88));
  box-shadow: 0 28px 70px rgba(34, 94, 130, .16);
}

.hero-panel:before {
  background: linear-gradient(135deg, rgba(90, 190, 235, .14), transparent 48%, rgba(244, 185, 66, .08));
}

.hero-panel p,
.hero-pills span {
  color: #58758c;
}

.hero-pills span {
  border-color: rgba(52, 118, 160, .14);
  background: rgba(255, 255, 255, .72);
}

.scroll-cue,
.profile-label,
.principal-signature span {
  color: #668198;
}

.scroll-cue span {
  background: linear-gradient(#168fc5, transparent);
}

.section-number,
.program-index,
.announcement time,
.principal-badge span,
.footer-grid h4 {
  color: #197fb8;
}

.section-content h3,
.profile-value,
.text-link,
.announcement-heading,
.announcement p,
.teacher-card h3,
.principal-signature strong {
  color: #17364f;
}

.profile-info,
.profile-item,
.principal-signature,
.numbers,
.announcement,
.featured-news,
.footer-grid,
.copyright {
  border-color: var(--line);
}

.numbers {
  background: #e7f5ff;
}

.numbers-grid strong {
  color: #17364f;
}

.numbers-grid span,
.program-item p,
.announcement span,
.teacher-card p {
  color: #668198;
}

.programs {
  background: linear-gradient(180deg, #f7fbff, #edf7ff);
}

.program-item,
.announcement-panel,
.teacher-card {
  border-color: rgba(52, 118, 160, .15);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 32px rgba(38, 96, 133, .07);
}

.program-item:hover,
.teacher-card:hover {
  border-color: rgba(22, 139, 210, .32);
  background: #fff;
  box-shadow: 0 16px 34px rgba(38, 96, 133, .12);
}

.program-item>a,
.text-link span,
.announcement-heading a {
  color: #168bd2;
}

.announcement p a {
  color: #176fa8;
}

.welcome-section {
  background: #eaf6ff;
  border-color: var(--line);
}

.welcome-photo-card {
  border-color: rgba(52, 118, 160, .15);
  background: linear-gradient(150deg, #fff, #f4faff);
  box-shadow: 0 24px 56px rgba(38, 96, 133, .12);
}

.photo-glow {
  background: rgba(65, 178, 229, .2);
}

.principal-photo {
  border-color: rgba(52, 118, 160, .16);
}

.teacher-card img {
  background: #e4f3fc;
}

.news-orbit {
  border-color: rgba(22, 139, 210, .26);
}

.admission {
  background: linear-gradient(135deg, #e8f6ff, #d9efff);
}

.accreditation-section {
  background: radial-gradient(circle at 82% 48%, rgba(73, 177, 224, .14), transparent 33%), linear-gradient(135deg, #e7f6ff, #f7fbff 55%, #dff2ff);
}

.accreditation-section:before {
  background: linear-gradient(90deg, transparent 0 60%, rgba(22, 139, 210, .035) 60% 60.1%, transparent 60.1%);
}

.accreditation-kicker {
  color: #1778ad;
}

.accreditation-kicker:before {
  background: #f0ae2c;
}

.accreditation-copy h2 {
  color: #17364f;
}

.accreditation-copy h2 em {
  color: #168bd2;
}

.accreditation-copy > p {
  color: #58758c;
}

.accreditation-copy > p strong {
  color: #176fa8;
}

.accreditation-stats {
  border-color: rgba(52, 118, 160, .18);
}

.accreditation-stat + .accreditation-stat {
  border-color: rgba(52, 118, 160, .18);
}

.accreditation-stat span {
  color: #668198;
}

.accreditation-stat strong {
  color: #17364f;
}

.accreditation-copy .text-link {
  color: #17364f;
}

.accreditation-card {
  border-color: rgba(52, 118, 160, .18);
  background: linear-gradient(150deg, rgba(255,255,255,.96), rgba(235,248,255,.88));
  box-shadow: 0 30px 70px rgba(38, 96, 133, .17);
}

.accreditation-card:after {
  border-color: rgba(52, 118, 160, .1);
}

.accreditation-card-label {
  border-color: rgba(52, 118, 160, .14);
  background: #edf8ff;
  color: #176fa8;
}

.accreditation-card-copy strong {
  color: #17364f;
}

.accreditation-card-copy span {
  color: #5b7a90;
}

.accreditation-orbit-one {
  border-color: rgba(22, 139, 210, .22);
  box-shadow: 0 0 0 28px rgba(22, 139, 210, .025), 0 0 0 58px rgba(22, 139, 210, .018);
}

.accreditation-orbit-two {
  border-color: rgba(240, 174, 44, .24);
}

.admission-form {
  border-color: rgba(52, 118, 160, .16);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 22px 55px rgba(38, 96, 133, .1);
}

.form-heading span {
  color: #17364f;
}

.form-heading small,
label {
  color: #668198;
}

.admission-form input,
.admission-form select {
  border-color: rgba(52, 118, 160, .2);
  background: #fff;
  color: #17364f;
}

.admission-form input::placeholder {
  color: #8ba2b5;
}

.admission-form input:focus,
.admission-form select:focus {
  border-color: rgba(22, 139, 210, .6);
  box-shadow: 0 0 0 3px rgba(22, 139, 210, .12);
}

footer {
  background: #eaf6ff;
  border-color: var(--line);
}

.footer-grid p,
.footer-grid a:not(.brand) {
  color: #58758c;
}

.footer-grid a:not(.brand):hover {
  color: #147eb9;
}

.copyright {
  color: #668198;
}

@media(max-width:700px) {
  .nav-links {
    background: #fff;
    border-color: rgba(47, 112, 153, .14);
    box-shadow: 0 18px 35px rgba(38, 96, 133, .12);
  }

  .nav-profile {
    width: 100%;
  }

  .nav-profile-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 0;
  }

  .nav-profile-menu:not([hidden]) {
    position: static;
    width: 100%;
    margin-top: 8px;
    border-radius: 12px;
    background: #f7fbff;
    box-shadow: none;
  }

  .profile-detail-page {
    padding-top: 88px;
  }

  .profile-detail-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .profile-detail-card.split-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .profile-detail-card.split-layout .section-content {
    grid-column: auto;
  }

  .profile-page-next {
    flex-direction: column;
    gap: 12px;
  }
}

@media(prefers-reduced-motion: reduce) {
  .header {
    transition-duration: .01ms;
  }
}

/* Readability and section hierarchy */
body{font-size:16px;line-height:1.65}
.nav{height:82px}
.nav-links{gap:27px}
.nav-links>a:not(.button),.nav-profile-toggle{font-size:12px}
.hero{min-height:790px}
.hero-grid{min-height:790px}
.hero-copy{max-width:760px;padding-top:62px}
.hero h1{font-size:clamp(52px,7vw,90px);line-height:.96;letter-spacing:-.06em}
.hero-copy>p{max-width:58ch;margin:28px 0 34px;font-size:18px;line-height:1.8}
.section{padding:clamp(88px,10vw,136px) 0}
.section-title h2,.news-heading h2{font-size:clamp(42px,5.4vw,68px);line-height:1.02}
.section-content>p,.admission-copy>p{font-size:17px;line-height:1.8}
.section-marker{color:#1778ad}
.section-marker::after{background:linear-gradient(90deg,#168bd2,transparent)}
.section-marker-number{border-color:#b9dff2;background:#e9f6ff;color:#1684c5;box-shadow:0 5px 14px rgba(22,139,210,.1)}
.program-item,.teacher-card,.school-news-card,.announcement-panel{border-radius:20px}
.program-item{padding:28px 26px}
.program-item h3{font-size:20px;line-height:1.35}
.program-item p{font-size:13px}
.teacher-card{padding:17px}
.teacher-card h3{font-size:13px;line-height:1.45}
.teacher-card p{font-size:11px;line-height:1.65}
.news-page-heading{margin-bottom:56px}
.news-page-heading h1{font-size:clamp(46px,6vw,78px)}
.news-page-heading p{font-size:16px;line-height:1.8}
.profile-detail-card,.profile-tab-panel{border-radius:26px;box-shadow:0 20px 55px rgba(38,96,133,.1)}
.profile-detail-card .welcome-content h1{font-size:clamp(38px,4.8vw,62px)}
.profile-detail-page .welcome-copy p{font-size:17px;line-height:1.9}
.vision-card,.mission-card,.indicator-card{border-radius:20px;padding:26px}
.vision-card p:last-child{font-size:17px;line-height:1.85}
.mission-card ol,.indicator-card ol{font-size:14px;line-height:1.85}
.admission-copy>p{max-width:52ch}
.admission-form{border-radius:24px;padding:30px}
.map-frame{border-radius:26px}
@media(max-width:700px){.nav{height:72px}.hero,.hero-grid{min-height:760px}.hero-copy{padding-top:78px}.hero h1{font-size:clamp(48px,14vw,68px)}.hero-copy>p{font-size:15px;line-height:1.75}.section{padding:82px 0}.program-item{padding:23px 19px}.profile-detail-card,.profile-tab-panel{border-radius:20px}.vision-card,.mission-card,.indicator-card{padding:20px}}

/* Dropdown Pendidikan */
.nav-education{position:relative}
.nav-education-toggle{display:flex;align-items:center;gap:8px;padding:10px 0;border:0;background:transparent;color:#17364f;font:700 12px/1 var(--font);text-transform:uppercase;cursor:pointer}
.nav-education-toggle:hover,.nav-education-toggle[aria-expanded="true"]{color:#1684cb}
.nav-education-toggle span{transition:transform .2s ease}
.nav-education.open .nav-education-toggle span{transform:rotate(180deg)}
.nav-education-menu[hidden]{display:none}
.nav-education-menu:not([hidden]){position:absolute;z-index:60;top:calc(100% + 18px);left:-18px;display:grid;gap:4px;width:270px;padding:9px;border:1px solid rgba(52,118,160,.16);border-radius:16px;background:#fff;box-shadow:0 18px 40px rgba(38,96,133,.16)}
.nav-education-menu a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:10px;color:#244b66;font:700 13px/1.35 var(--font);text-decoration:none;text-transform:none;transition:background .15s ease,color .15s ease}
.nav-education-menu a:hover{background:#eaf6ff;color:#176fa8}
.nav-education-menu a span{width:28px;flex:0 0 28px;color:#168bd2;font-size:11px;font-weight:800}
@media(max-width:700px){.nav-education{width:100%}.nav-education-toggle{width:100%;justify-content:space-between;padding:12px 0}.nav-education-menu:not([hidden]){position:static;width:100%;margin-top:8px;border-radius:12px;background:#f7fbff;box-shadow:none}}

.profile-tab-panel[hidden] {
  display: none;
}

.profile-tab-panel.is-active {
  display: block;
}

.profile-tab-panel[data-profile-panel="profil"].is-active {
  display: grid;
}

.profile-tab-panel {
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(52, 118, 160, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 46px rgba(38, 96, 133, .08);
}

.profile-tab-panel[data-profile-panel="profil"] {
  padding: 32px 28px;
}

.profile-tab-panel .welcome-grid.container {
  width: 100%;
  margin: 0;
}

.profile-information h2 {
  margin-bottom: 24px;
  color: #17364f;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.profile-information h2 em {
  display: block;
  margin-top: 5px;
  color: #168bd2;
  font-style: normal;
}

.vision-mission-grid,
.indicator-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px;
  align-items: start;
}

.vision-card,
.mission-card,
.indicator-card {
  padding: 22px;
  border: 1px solid rgba(52, 118, 160, .14);
  border-radius: 16px;
  background: #f8fcff;
}

.vision-card p:last-child {
  margin: 0;
  color: #294b64;
  font-size: 16px;
  line-height: 1.8;
}

.mission-card ol,
.indicator-card ol {
  margin: 0;
  padding-left: 21px;
  color: #3e5f77;
  font-size: 13px;
  line-height: 1.7;
}

.mission-card li,
.indicator-card li {
  padding-left: 4px;
  margin: 0 0 9px;
}

.mission-card li:last-child,
.indicator-card li:last-child {
  margin-bottom: 0;
}

.indicators-section {
  margin-top: 38px;
}

.indicators-section h3 {
  margin-bottom: 18px;
  color: #17364f;
  font-size: clamp(22px, 3vw, 30px);
}

.indicator-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.indicator-card {
  background: #fff;
}

.indicator-card h4 {
  margin: 0 0 15px;
  color: #176fa8;
  font-size: 16px;
}

.indicator-card > ol > li {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(52, 118, 160, .12);
}

.indicator-card > ol > li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.indicator-card ul {
  margin: 8px 0 0;
  padding-left: 16px;
  color: #607b91;
  font-size: 12px;
  line-height: 1.65;
}

@media(max-width:900px) {
  .vision-mission-grid,
  .indicator-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:700px) {
  .profile-tab-panel,
  .profile-tab-panel[data-profile-panel="profil"] {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .profile-tab-panel .welcome-grid.container {
    gap: 28px;
  }

  .vision-card,
  .mission-card,
  .indicator-card {
    padding: 18px;
  }
}

.profile-detail-card {
  border-color: #d2e9f7;
  background: linear-gradient(145deg, #fff 0%, #f8fcff 100%);
}

.profile-detail-page .welcome-grid {
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}

.profile-detail-page .welcome-photo-card {
  border-color: #cfe6f5;
  background: linear-gradient(150deg, #fff, #eff8ff);
  box-shadow: 0 18px 42px rgba(38, 112, 153, .12);
}

.profile-detail-page .principal-photo {
  border: 3px solid #fff;
  box-shadow: 0 8px 24px rgba(28, 91, 130, .12);
}

.profile-detail-page .welcome-content h1 {
  max-width: 680px;
  font-size: clamp(36px, 4.2vw, 54px);
  line-height: 1.08;
}

.profile-detail-page .welcome-content h1 em {
  display: block;
  margin-top: 5px;
}

.profile-detail-page .welcome-copy {
  max-width: 68ch;
  margin-top: 24px;
}

.profile-detail-page .welcome-copy p {
  margin: 0 0 18px;
  color: #345870;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .005em;
}

.profile-detail-page .welcome-copy .welcome-greeting {
  padding: 13px 16px;
  border-left: 4px solid #168bd2;
  border-radius: 0 10px 10px 0;
  background: #eaf6ff;
  color: #17364f;
  font-weight: 700;
}

.profile-detail-page .welcome-copy .welcome-intro {
  color: #176fa8;
  font-size: 17px;
  font-weight: 700;
}

.profile-detail-page .welcome-copy .welcome-closing {
  margin-top: 22px;
  color: #176fa8;
  font-weight: 700;
}

.profile-detail-page .principal-signature {
  gap: 5px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #d6eaf7;
  border-radius: 14px;
  background: #f0f8fe;
}

.profile-detail-page .principal-signature span {
  color: #52738b;
  font-size: 12px;
}

.profile-detail-page .principal-signature strong {
  color: #17364f;
  font-size: 15px;
  line-height: 1.45;
}

.profile-detail-page .principal-signature small {
  color: #52738b;
  font-size: 12px;
}

@media(max-width:900px) {
  .profile-detail-page .welcome-grid {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 30px;
  }
}

@media(max-width:700px) {
  .profile-detail-page .welcome-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-detail-page .welcome-photo-card {
    width: min(280px, 100%);
  }

  .profile-detail-page .welcome-copy p {
    font-size: 15px;
    line-height: 1.8;
  }
}

.teacher-page-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.teacher-page-heading h1 {
  margin: 0 0 14px;
  color: #17364f;
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.teacher-page-heading h1 em {
  color: #168bd2;
  font-style: normal;
}

.teacher-page-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: #52738b;
  font-size: 16px;
  line-height: 1.75;
}

.teacher-directory-card {
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #d2e9f7;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff, #f8fcff);
  box-shadow: 0 18px 46px rgba(38, 96, 133, .08);
}

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

.teacher-page .teacher-card {
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.teacher-page .teacher-card:hover {
  transform: translateY(-3px);
}

.teacher-page .teacher-card img {
  height: 220px;
  border: 1px solid #d8eaf5;
  background: #eaf6ff;
}

.teacher-page .teacher-card h2 {
  margin: 14px 0 6px;
  color: #17364f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.teacher-page .teacher-card p {
  margin: 0;
  color: #52738b;
  font-size: 12px;
  line-height: 1.6;
}

@media(max-width:900px) {
  .teacher-page .teacher-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media(max-width:700px) {
  .teacher-page .teacher-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .teacher-page .teacher-card img {
    height: 200px;
  }

  .teacher-page-heading > p:last-child {
    font-size: 14px;
  }
}

@media(max-width:420px) {
  .teacher-page .teacher-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .teacher-page .teacher-card img {
    height: 220px;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 4px solid #54e0e8;
  background: linear-gradient(120deg, #06304a 0%, #0a4f6b 52%, #053c58 100%);
  color: #ffffff;
}

.site-footer::before {
  position: absolute;
  top: -190px;
  right: -100px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(143, 244, 246, .3);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(143, 244, 246, .07), 0 0 0 96px rgba(143, 244, 246, .045);
  content: '';
  pointer-events: none;
}

.site-footer .footer-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(150px, .65fr);
  gap: clamp(28px, 5vw, 72px);
  padding-top: 48px;
  padding-bottom: 40px;
}

.site-footer .brand,
.site-footer .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  padding: 5px;
  border-radius: 15px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 36, 57, .2);
}

.site-footer .brand-mark {
  display: none;
}

.site-footer .brand span {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .045em;
  white-space: normal;
}

.site-footer .footer-logo-frame {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 36, 57, .2);
}

.site-footer .footer-logo-frame img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.site-footer .footer-brand-copy {
  display: grid;
  gap: 6px;
}

.site-footer .footer-brand-copy strong {
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
}

.site-footer .footer-brand-copy small {
  color: #cfeef2;
  font-size: 10px;
  font-weight: 600;
}

.site-footer .footer-tagline,
.site-footer .footer-grid p {
  max-width: 390px;
  margin: 16px 0 0;
  color: #dcf0f4;
  font-size: 12px;
  line-height: 1.8;
}

.site-footer .footer-grid h2,
.site-footer .footer-grid h4 {
  margin: 4px 0 17px;
  color: #7fe6ea;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.site-footer .footer-contact-column > a {
  display: block;
  margin-top: 9px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.6;
  text-decoration-color: rgba(127, 230, 234, .75);
  text-underline-offset: 3px;
}

.site-footer .footer-grid a:not(.brand),
.site-footer .footer-navigation a {
  color: #dcf0f4;
  font-size: 12px;
  line-height: 1.9;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.site-footer .footer-navigation {
  display: grid;
  align-content: start;
  justify-items: start;
}

.site-footer .footer-navigation a:hover,
.site-footer .footer-grid a:not(.brand):hover {
  color: #ffffff;
}

.site-footer .footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(190, 240, 245, .28);
  background: rgba(0, 20, 30, .38);
}

.site-footer .footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  color: #c9e6ec;
  font-size: 10px;
}

.site-footer .footer-bottom a {
  color: #7fe6ea;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.site-footer > .copyright {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(190, 240, 245, .28);
  background: rgba(0, 20, 30, .38);
  color: #c9e6ec;
  font-size: 10px;
  padding-top: 16px;
  padding-bottom: 16px;
}

@media(max-width:900px) {
  .site-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .site-footer .footer-navigation {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 18px;
  }

  .site-footer .footer-navigation h2 {
    grid-column: 1 / -1;
  }
}

@media(max-width:700px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .site-footer .footer-navigation {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .footer-navigation h2 {
    grid-column: 1 / -1;
  }

  .site-footer .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* Halaman Pendidikan */
.education-page{padding-top:82px;background:#f4faff}
.education-hero{padding:clamp(72px,9vw,126px) 0 92px;background:linear-gradient(135deg,#eaf7ff 0%,#f7fbff 52%,#dff2ff 100%);overflow:hidden}
.education-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,470px);gap:clamp(40px,8vw,100px);align-items:center}
.education-hero-copy h1{max-width:12ch;color:#17364f;font-size:clamp(46px,6vw,78px);line-height:1.02;letter-spacing:-.06em}
.education-hero-copy h1 em,.education-heading h2 em,.scholarship-grid h2 em,.registration-heading h2 em{color:#168bd2;font-style:normal}
.education-hero-copy>p{max-width:54ch;margin:26px 0 32px;color:#58758c;font-size:17px;line-height:1.85}
.education-hero-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
.education-hero-actions .text-link{margin:0;color:#176fa8}
.education-hero-actions .text-link span{color:#168bd2}
.education-poster{margin:0;padding:12px;border:1px solid #c8e4f3;border-radius:28px;background:rgba(255,255,255,.82);box-shadow:0 28px 70px rgba(38,96,133,.16);transform:rotate(2deg)}
.education-poster img{display:block;width:100%;border-radius:19px}
.education-poster figcaption{padding:14px 8px 3px;color:#5c7b91;font-size:11px;font-weight:800;letter-spacing:.08em;text-align:center;text-transform:uppercase}
.education-section{padding:clamp(82px,9vw,126px) 0}
.education-section:nth-child(2){background:#fff}
.education-heading{display:flex;align-items:end;justify-content:space-between;gap:42px;margin-bottom:42px}
.education-heading h2,.scholarship-grid h2{max-width:13ch;color:#17364f;font-size:clamp(38px,4.5vw,60px);line-height:1.04;letter-spacing:-.055em}
.education-heading>p,.scholarship-grid>div>p{max-width:40ch;margin:0;color:#58758c;font-size:16px;line-height:1.8}
.education-price-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.education-price-card{min-height:192px;padding:25px 22px;border:1px solid #d4eaf6;border-radius:20px;background:linear-gradient(145deg,#fff,#f5fbff);box-shadow:0 12px 30px rgba(38,96,133,.07)}
.education-price-card-featured{border-color:#9ed1eb;background:linear-gradient(145deg,#e9f7ff,#fff);box-shadow:0 16px 36px rgba(22,139,210,.12)}
.education-price-label{display:block;margin-bottom:21px;color:#34799f;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.education-price-card strong{display:block;color:#17364f;font-size:clamp(22px,2.3vw,30px);letter-spacing:-.04em}
.education-price-card p{margin:9px 0 0;color:#6a879a;font-size:13px;line-height:1.6}
.education-scholarship{background:linear-gradient(135deg,#e8f6ff,#d9efff)}
.scholarship-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(40px,8vw,110px);align-items:start}
.scholarship-list{display:grid;gap:0;border-top:1px solid rgba(52,118,160,.2)}
.scholarship-list div{display:grid;grid-template-columns:38px 1fr;gap:15px;align-items:start;padding:19px 0;border-bottom:1px solid rgba(52,118,160,.2)}
.scholarship-list span{display:grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#fff;color:#168bd2;font-size:10px;font-weight:800;box-shadow:0 5px 12px rgba(38,96,133,.08)}
.scholarship-list p{margin:2px 0 0;color:#294b64;font-size:15px;font-weight:700;line-height:1.55}
.education-registration{background:#f7fbff}
.registration-heading{margin-bottom:44px}
.registration-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:stretch}
.registration-card,.registration-callout{padding:30px;border:1px solid #d4eaf6;border-radius:22px;background:#fff;box-shadow:0 16px 40px rgba(38,96,133,.07)}
.registration-card h3,.registration-callout h3{margin:0;color:#17364f;font-size:24px;letter-spacing:-.04em}
.registration-card ol{margin:24px 0 0;padding-left:24px;color:#3f627a;font-size:15px;line-height:1.85}
.registration-card li{padding-left:5px;margin-bottom:8px}
.registration-card li::marker{color:#168bd2;font-weight:800}
.registration-card a{color:#147eb9;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.registration-callout{display:flex;flex-direction:column;align-items:flex-start;background:linear-gradient(145deg,#173d5b,#166d9f);border-color:transparent;box-shadow:0 20px 48px rgba(22,103,151,.2)}
.registration-callout .section-marker{color:#d6f6ff}
.registration-callout .section-marker-number{border-color:rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:#fff;box-shadow:none}
.registration-callout h3{color:#fff;font-size:clamp(28px,3vw,40px);line-height:1.05}
.registration-callout p{margin:18px 0 28px;color:#d5ecf8;font-size:14px;line-height:1.8}
.registration-callout .button{margin-top:auto;background:#f7b92f;color:#17364f;border-color:transparent;box-shadow:0 12px 26px rgba(0,0,0,.12)}
.education-footer{padding:27px 0;border-top:1px solid #d4eaf6;background:#e8f6ff}
.education-footer .container{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:0}
.education-footer .brand{color:#17364f}
.education-footer p,.education-footer>a{margin:0;color:#5b7a90;font-size:12px;font-weight:600}
.education-footer>a{text-decoration:none}
.education-footer>a span{color:#168bd2;font-size:16px}
@media(max-width:900px){.education-hero-grid,.scholarship-grid,.registration-grid{grid-template-columns:1fr}.education-poster{width:min(460px,100%);margin:0 auto;transform:none}.education-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.education-heading{align-items:start;flex-direction:column;gap:18px}}
@media(max-width:700px){.education-page{padding-top:72px}.education-hero{padding:66px 0 76px}.education-hero-copy h1{font-size:clamp(44px,12vw,64px)}.education-hero-copy>p{font-size:15px;line-height:1.75}.education-section{padding:76px 0}.education-price-grid{grid-template-columns:1fr}.education-price-card{min-height:0}.registration-card,.registration-callout{padding:23px 20px}.education-footer .container{align-items:flex-start;flex-direction:column;gap:12px}}

/* Prestasi siswa */
.education-achievements{background:#fff}
.achievements-heading{margin-bottom:44px}
.achievement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.achievement-card{overflow:hidden;border:1px solid #d4eaf6;border-radius:22px;background:#f8fcff;box-shadow:0 14px 34px rgba(38,96,133,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.achievement-card:hover{transform:translateY(-4px);border-color:#a8d6ec;box-shadow:0 20px 42px rgba(38,96,133,.13)}
.achievement-media{position:relative;display:grid;place-items:center;aspect-ratio:4/3;overflow:hidden;background:linear-gradient(135deg,#dff2fc,#f7fbff)}
.achievement-media img{display:block;width:100%;height:100%;object-fit:cover}
.achievement-media img[hidden]{display:none}
.achievement-placeholder{display:none;place-items:center;width:100%;height:100%;padding:20px;color:#5a8097;font-size:12px;font-weight:800;letter-spacing:.06em;text-align:center;text-transform:uppercase;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.9),transparent 50%),linear-gradient(135deg,#dff2fc,#edf8ff)}
.achievement-media.is-placeholder .achievement-placeholder{display:grid}
.achievement-copy{padding:20px}
.achievement-type{display:block;margin-bottom:10px;color:#1682c0;font-size:9px;font-weight:800;letter-spacing:.1em;line-height:1.4;text-transform:uppercase}
.achievement-copy h3{margin:0;color:#17364f;font-size:20px;line-height:1.2;letter-spacing:-.035em}
.achievement-copy p{margin:11px 0 0;color:#5a788d;font-size:13px;line-height:1.7}
@media(max-width:1100px){.achievement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){.achievement-grid{grid-template-columns:1fr}.achievement-card{border-radius:18px}}

/* Halaman detail pada menu Pendidikan */
.education-subpage{padding-top:82px}
.education-subpage-hero{padding:clamp(64px,8vw,110px) 0 84px;background:linear-gradient(135deg,#eaf7ff 0%,#f7fbff 55%,#e0f3ff 100%)}
.education-subpage-hero h1{max-width:14ch;color:#17364f;font-size:clamp(44px,6vw,76px);line-height:1.02;letter-spacing:-.06em}
.education-subpage-hero h1 em{color:#168bd2;font-style:normal}
.education-subpage-hero p{max-width:58ch;margin:24px 0 0;color:#58758c;font-size:17px;line-height:1.85}
.education-back-link{display:inline-flex;margin-bottom:30px;color:#34799f;font-size:12px;font-weight:800;text-decoration:none}
.education-back-link:hover{color:#1684cb}
.education-detail-note{padding-top:0;background:#f7fbff}
.education-detail-note .registration-callout{max-width:760px;margin:0 auto}
.education-subpage .education-achievements{padding-top:72px}
@media(max-width:700px){.education-subpage{padding-top:72px}.education-subpage-hero{padding:58px 0 70px}.education-subpage-hero h1{font-size:clamp(42px,12vw,64px)}.education-subpage-hero p{font-size:15px;line-height:1.75}.education-back-link{margin-bottom:24px}.education-subpage .education-achievements{padding-top:64px}}

/* Halaman Berita */
.news-page{padding-top:82px;background:#f4faff}
.news-hero{position:relative;overflow:hidden;padding:clamp(64px,8vw,110px) 0 84px;background:radial-gradient(circle at 84% 42%,rgba(73,177,224,.14),transparent 34%),linear-gradient(135deg,#eaf7ff 0%,#f7fbff 55%,#e0f3ff 100%)}
.news-page-heading{display:flex;align-items:end;justify-content:space-between;gap:clamp(26px,5vw,56px);margin-top:26px}
.news-page-heading h1{max-width:14ch;margin:0;color:#17364f;font-size:clamp(46px,6vw,78px);font-weight:800;letter-spacing:-.06em;line-height:1.02}
.news-page-heading h1 em{color:#168bd2;font-style:normal}
.news-page-heading p{max-width:46ch;margin:0;color:#58758c;font-size:16px;line-height:1.8}
.news-listing{padding:clamp(72px,8vw,110px) 0 clamp(88px,10vw,136px);background:linear-gradient(180deg,#f4faff,#e9f5ff)}
.public-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.public-news-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #d4eaf6;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(38,96,133,.07);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.public-news-card:hover{transform:translateY(-4px);border-color:#a8d6ec;box-shadow:0 20px 42px rgba(38,96,133,.13)}
.public-news-image,.public-news-placeholder{display:block;width:100%;height:212px;object-fit:cover;border-bottom:1px solid #dcf0fa;background:#eaf6ff}
.public-news-placeholder{display:grid;place-items:center;padding:20px;color:#5a8097;font-size:10px;font-weight:800;letter-spacing:.09em;text-align:center;text-transform:uppercase;background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.92),transparent 52%),linear-gradient(135deg,#dff2fc,#edf8ff)}
.public-news-copy{display:flex;flex:1;flex-direction:column;padding:22px 20px 20px}
.public-news-meta{display:flex;justify-content:space-between;gap:12px;color:#1682c0;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.public-news-meta time{color:#6a879a;font-weight:600;letter-spacing:.05em;text-align:right}
.public-news-card h2{margin:13px 0 9px;color:#17364f;font-size:20px;font-weight:800;letter-spacing:-.035em;line-height:1.22}
.public-news-card p{margin:0 0 18px;color:#5a788d;font-size:13px;line-height:1.7}
.public-news-link{display:inline-flex;align-items:center;gap:8px;margin-top:auto;color:#176fa8;font-size:10px;font-weight:800;letter-spacing:.09em;text-decoration:none;text-transform:uppercase;transition:color .18s ease}
.public-news-link span{color:#168bd2;font-size:16px;line-height:1}
a.public-news-link:hover,.public-news-card:hover .public-news-link{color:#1684cb}
.news-empty{padding:48px 24px;border:1px dashed #bcdcef;border-radius:20px;background:rgba(255,255,255,.72);color:#5f7f95;font-size:14px;line-height:1.7;text-align:center}
.news-detail{max-width:920px;margin:0 auto;padding:clamp(26px,4vw,48px);border:1px solid #d2e9f7;border-radius:26px;background:linear-gradient(145deg,#fff 0%,#f8fcff 100%);box-shadow:0 20px 55px rgba(38,96,133,.1)}
.news-detail .public-news-meta{margin-top:26px}
.news-detail h1{margin:14px 0 0;color:#17364f;font-size:clamp(32px,4.6vw,54px);font-weight:800;letter-spacing:-.05em;line-height:1.06}
.news-detail-image{display:block;width:100%;max-height:440px;object-fit:cover;margin:26px 0;border:1px solid #d8eaf5;border-radius:20px;background:#eaf6ff}
.news-excerpt{margin:0 0 24px;padding:16px 20px;border-left:4px solid #168bd2;border-radius:0 12px 12px 0;background:#eaf6ff;color:#294b64;font-size:17px;line-height:1.8}
.news-content{margin-top:24px;color:#345870;font-size:16px;line-height:1.95;white-space:pre-wrap}
.news-attachment{display:inline-flex;align-items:center;gap:10px;margin-top:30px;padding:13px 18px;border-radius:12px;background:linear-gradient(135deg,#42afea,#1684cb);color:#fff;font-size:10px;font-weight:800;letter-spacing:.09em;text-decoration:none;text-transform:uppercase;box-shadow:0 12px 26px rgba(22,139,210,.2)}
.news-attachment:hover{filter:brightness(1.06)}
@media(max-width:1000px){.public-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-page-heading{align-items:start;flex-direction:column;gap:20px}}
@media(max-width:700px){.news-page{padding-top:72px}.news-hero{padding:56px 0 68px}.news-page-heading h1{font-size:clamp(42px,12vw,62px)}.news-page-heading p{font-size:15px;line-height:1.75}.public-news-grid{grid-template-columns:1fr}.public-news-image,.public-news-placeholder{height:200px}.news-detail{padding:22px 17px}.news-detail h1{font-size:clamp(30px,9vw,42px)}.news-content{font-size:15px;line-height:1.85}}

/* ==========================================================================
   FOOTER — JARING PENGAMAN
   Ditaruh paling akhir: menimpa aturan mana pun yang membuat teks footer
   tidak terbaca atau elemennya tersembunyi (mis. ikut animasi scroll).
   ========================================================================== */

/* 1. Footer tidak pernah ikut animasi / tidak pernah transparan */
footer.site-footer,
footer.education-footer,
.site-footer,
.education-footer {
  position: relative;
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  -webkit-text-fill-color: currentColor;
}

.site-footer *,
.education-footer * {
  opacity: 1 !important;
  visibility: visible !important;
  translate: none !important;
  rotate: none !important;
  scale: none !important;
  animation: none !important;
}

/* 2. Latar: biru-navy pekat, jelas terpisah dari konten di atasnya */
footer.site-footer,
.site-footer {
  border-top: 4px solid #4fd6de;
  background: linear-gradient(120deg, #0a1f33 0%, #10344f 50%, #0b2740 100%) !important;
}

footer.education-footer,
.education-footer {
  border-top: 1px solid #b9dcef;
  background: #eaf6ff !important;
  color: #17364f !important;
}

/* 3. Semua teks footer: putih / biru muda di atas latar gelap */
.site-footer,
.site-footer .footer-grid,
.site-footer .footer-grid p,
.site-footer .footer-tagline,
.site-footer .footer-grid a,
.site-footer .footer-grid a:not(.brand),
.site-footer .footer-navigation,
.site-footer .footer-navigation a,
.site-footer .footer-contact-column,
.site-footer .footer-contact-column > a,
.site-footer .footer-bottom,
.site-footer .footer-bottom .container,
.site-footer > .copyright {
  color: #e8f6fb !important;
}

.site-footer .brand,
.site-footer .footer-brand,
.site-footer .brand span,
.site-footer .footer-brand-copy strong {
  color: #ffffff !important;
}

.site-footer .footer-grid h2,
.site-footer .footer-grid h4,
.site-footer .footer-navigation h2,
.site-footer .footer-brand-copy small,
.site-footer .footer-bottom a {
  color: #7fe6ea !important;
}

.site-footer .footer-grid a:hover,
.site-footer .footer-navigation a:hover,
.site-footer .footer-contact-column > a:hover {
  color: #ffffff !important;
}

.site-footer .footer-bottom,
.site-footer > .copyright {
  border-top-color: rgba(190, 240, 245, .3) !important;
  background: rgba(0, 16, 26, .45) !important;
}

.site-footer .footer-logo,
.site-footer .footer-logo-frame {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3) !important;
}

.site-footer .footer-logo-frame {
  border: 1px solid rgba(255, 255, 255, .7) !important;
}

/* 4. Footer terang: teks gelap */
.education-footer,
.education-footer p,
.education-footer > a,
.education-footer .brand,
.education-footer .brand span {
  color: #2c536b !important;
}

.education-footer > a span {
  color: #168bd2 !important;
}
