
/* =========================================
   SMP 2 UNDAAN — DESIGN SYSTEM
========================================= */

:root {
  --navy: #102b46;
  --navy-deep: #091e32;
  --blue: #176b87;
  --teal: #bdeee8;
  --teal-soft: #e9f6f2;
  --white: #ffffff;
  --surface: #f5f8f7;
  --text: #263b4b;
  --muted: #73818c;
  --border: #e5eceb;
  --radius: 14px;
  --shadow: 0 16px 45px rgba(16, 43, 70, 0.08);
  --container: 1160px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3,
.brand-text {
  font-family: "Plus Jakarta Sans", sans-serif;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

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

button {
  font: inherit;
}

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

.container {
  width: min(var(--container), 86%);
  margin-inline: auto;
}

.section {
  padding-block: 105px;
}

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

/* =========================================
   HEADER & NAVIGATION
========================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(16, 43, 70, 0.07);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-logo span {
  color: var(--teal);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

.brand-text strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1px;
  color: var(--navy);
}

.brand-text small {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  color: var(--muted);
}

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

.nav-link {
  position: relative;
  padding-block: 8px;
  color: #586977;
  font-size: 12px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  content: "";
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-contact {
  padding: 12px 16px;
  border-radius: 7px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.nav-contact:hover {
  background: var(--blue);
}

.nav-contact span {
  margin-left: 5px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  display: flex;
  min-height: 610px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy-deep);
  color: var(--white);
}

.hero-background,
.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.hero-background {
  background-image: url("hero.webp");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(7, 25, 43, 0.96) 0%,
      rgba(10, 38, 60, 0.88) 43%,
      rgba(10, 38, 60, 0.42) 100%
    ),
    linear-gradient(
      0deg,
      rgba(7, 25, 43, 0.4),
      transparent 55%
    );
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 610px;
  padding-block: 85px;
}

.hero-content {
  max-width: 690px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.eyebrow-light {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--teal);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.hero h1 {
  margin-top: 25px;
  max-width: 680px;
  color: var(--white);
  font-size: clamp(40px, 5.1vw, 66px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -2.7px;
}

.hero h1 span {
  display: block;
  color: var(--teal);
}

.hero-content > p {
  max-width: 490px;
  margin-top: 22px;
  color: #d9e5ed;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--teal);
  color: var(--navy);
}

.button-primary:hover {
  background: #d4f5ef;
}

.button-glass {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 37px;
  color: #d5e0e8;
  font-size: 10px;
  letter-spacing: 0.6px;
}

.caption-line {
  width: 35px;
  height: 1px;
  background: var(--teal);
}

.hero-card {
  position: absolute;
  right: 0;
  bottom: 50px;
  display: flex;
  min-width: 275px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.hero-card-icon {
  display: grid;
  width: 43px;
  height: 43px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--blue);
  font-size: 24px;
}

.hero-card strong {
  display: block;
  font-size: 12px;
}

.hero-card p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.hero-card-arrow {
  margin-left: auto;
  color: var(--blue);
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 17px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  letter-spacing: 2px;
}

.hero-index span {
  padding-inline: 5px;
  color: var(--teal);
}

/* =========================================
   VALUE STRIP
========================================= */

.value-strip {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-block: 27px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.value-number {
  color: var(--blue);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 27px;
  font-weight: 800;
}

.value-item strong,
.value-item small {
  display: block;
}

.value-item strong {
  font-size: 11px;
  line-height: 1.6;
}

.value-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

/* =========================================
   SHARED SECTION STYLES
========================================= */

.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 45px;
  margin-bottom: 39px;
}

.section-heading h2,
.about-content h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(29px, 3.4vw, 43px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1.7px;
}

.section-heading h2 span,
.about-content h2 span {
  color: var(--blue);
}

.section-heading > p {
  max-width: 410px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

/* =========================================
   ABOUT / PROFIL
========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 75px;
}

.about-visual {
  position: relative;
  padding: 0 22px 24px 0;
}

.about-image {
  position: relative;
  z-index: 1;
  height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dfeae8;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.035);
}

.visual-decoration {
  position: absolute;
  top: -17px;
  left: -17px;
  width: 65%;
  height: 65%;
  border-radius: var(--radius);
  background: var(--teal-soft);
}

.about-note {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  max-width: 300px;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.note-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 9px;
  background: var(--teal-soft);
  color: var(--blue);
  font-size: 23px;
}

.about-note strong {
  display: block;
  font-size: 11px;
}

.about-note p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.about-lead {
  margin-top: 20px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}

.body-copy {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 2;
}

.about-points {
  display: grid;
  gap: 19px;
  margin-top: 27px;
}

.about-point {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.check-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.about-point strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
}

.about-point p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 27px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* =========================================
   ACADEMIC / PROGRAMS
========================================= */

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.program-card {
  display: flex;
  min-height: 295px;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

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

.program-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.program-icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--blue);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.program-symbol {
  color: #9eafb9;
  font-size: 21px;
}

.program-category {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.program-card h3 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.5;
}

.program-card > p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

.program-link {
  display: inline-block;
  margin-top: auto;
  padding-top: 20px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 800;
}

.program-featured {
  border-color: var(--navy);
  background: var(--navy);
}

.program-featured .program-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal);
}

.program-featured .program-symbol,
.program-featured .program-category,
.program-featured .program-link {
  color: var(--teal);
}

.program-featured h3 {
  color: var(--white);
}

.program-featured > p {
  color: #cfdae3;
}

/* =========================================
   FACILITIES
========================================= */

.facility-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 19px;
}

.facility-card {
  position: relative;
  height: 355px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}

.facility-card img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.055);
}

.facility-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(6, 24, 41, 0.95) 0%,
    rgba(6, 24, 41, 0.45) 48%,
    rgba(6, 24, 41, 0.03) 100%
  );
  content: "";
}

.facility-overlay {
  position: absolute;
  right: 19px;
  bottom: 23px;
  left: 21px;
}

.facility-overlay > span {
  color: var(--teal);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.facility-overlay h3 {
  margin-top: 8px;
  color: var(--white);
  font-size: 21px;
}

.facility-overlay p {
  margin-top: 5px;
  color: #e0e8ed;
  font-size: 10px;
  line-height: 1.8;
}

.disclaimer {
  margin-top: 17px;
  color: #8997a0;
  font-size: 10px;
  line-height: 1.8;
}

/* =========================================
   MISSION BANNER
========================================= */

.mission {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(36, 116, 141, 0.25),
      transparent 35%
    ),
    var(--navy);
  color: var(--white);
}

.mission-inner {
  display: flex;
  min-height: 350px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 70px;
}

.mission-content {
  max-width: 660px;
}

.section-label-light {
  color: var(--teal);
}

.mission h2 {
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1.6px;
}

.mission h2 span {
  color: var(--teal);
}

.mission-content > p {
  max-width: 540px;
  margin-top: 16px;
  margin-bottom: 24px;
  color: #d0dce5;
  font-size: 12px;
  line-height: 2;
}

.mission-emblem {
  display: flex;
  min-width: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}


.emblem-circle {
  display: flex;
  width: 170px;
  height: 170px;
  align-items: center;
  justify-content: center;
  gap: 0;
  border: 1px solid rgba(189, 238, 232, 0.5);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -5px;
  line-height: 1;
  box-shadow:
    0 0 0 12px rgba(189, 238, 232, 0.04),
    0 0 0 24px rgba(189, 238, 232, 0.025);
}

.emblem-circle span {
  display: inline;
  position: static;
  margin: 0;
  padding: 0;
  color: var(--teal);
  font-size: inherit;
  line-height: 1;
}


.emblem-circle span {
  color: var(--teal);
}

.emblem-caption {
  margin-top: 23px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 4px;
}

/* =========================================
   NEWS
========================================= */

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

.news-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.news-image {
  position: relative;
  display: block;
  height: 205px;
  overflow: hidden;
  background: #dfe9e7;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.045);
}

.news-arrow {
  position: absolute;
  right: 13px;
  bottom: 13px;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  font-size: 16px;
}

.news-content {
  padding: 22px;
}

.news-category {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.news-content h3 {
  margin-top: 10px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.7;
}

.news-content p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

/* =========================================
   CONTACT
========================================= */

.contact-section {
  background: var(--teal-soft);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding-block: 61px;
}

.contact-inner > div {
  max-width: 660px;
}

.contact-inner h2 {
  margin-top: 12px;
  color: var(--navy);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -1.2px;
}

.contact-inner p {
  max-width: 550px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
}

.button-dark {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
}

.button-dark:hover {
  background: var(--blue);
}

/* =========================================
   FOOTER
========================================= */

.footer {
  background: var(--navy-deep);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 35px;
  padding-block: 39px;
}

.footer-brand .brand-text strong {
  color: var(--white);
}

.footer-brand .brand-text small {
  color: #b4c3ce;
}

.footer-brand .brand-logo {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.footer-main > p {
  max-width: 320px;
  color: #b4c3ce;
  font-size: 11px;
  line-height: 1.9;
}

.footer-up {
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.footer-up:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #b4c3ce;
  font-size: 10px;
}

/* =========================================
   BACK TO TOP
========================================= */

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  box-shadow: 0 5px 20px rgba(16, 43, 70, 0.2);
  color: var(--white);
  font-size: 21px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* =========================================
   REVEAL ANIMATION
========================================= */

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {
  .container {
    width: 90%;
  }

  .navbar {
    gap: 18px;
  }

  .nav {
    gap: 15px;
  }

  .nav-link {
    font-size: 11px;
  }

  .nav-contact {
    padding: 11px 12px;
    font-size: 10px;
  }

  .about-grid {
    gap: 45px;
  }

  .hero-card {
    right: 0;
    bottom: 34px;
  }

  .value-grid {
    gap: 14px;
  }

  .value-item {
    gap: 8px;
  }

  .value-number {
    font-size: 23px;
  }

  .facility-card {
    height: 315px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  .container {
    width: 88%;
  }

  .section {
    padding-block: 68px;
  }

  .navbar {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 41px;
    height: 41px;
    border-radius: 10px;
    font-size: 18px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .brand-text small {
    font-size: 9px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 17px 6% 30px;
    overflow-y: auto;
    background: var(--white);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-link {
    padding: 15px 5px;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
  }

  .nav-link::after {
    display: none;
  }

  .nav-contact {
    margin-top: 18px;
    padding: 14px;
    text-align: center;
    font-size: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 635px;
  }

  .hero-background {
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(7, 25, 43, 0.95),
      rgba(10, 38, 60, 0.77)
    );
  }

  .hero-inner {
    align-items: flex-start;
    padding-top: 75px;
    padding-bottom: 125px;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .hero h1 {
    margin-top: 24px;
    font-size: clamp(36px, 9vw, 48px);
    line-height: 1.2;
    letter-spacing: -1.8px;
  }

  .hero-content > p {
    margin-top: 19px;
    font-size: 12px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 45px;
    padding: 11px 14px;
    font-size: 11px;
  }

  .hero-caption {
    margin-top: 27px;
    font-size: 9px;
  }

  .hero-card {
    right: auto;
    bottom: 25px;
    left: 0;
    min-width: 0;
    width: min(280px, 100%);
    padding: 13px;
  }

  .hero-index {
    right: 0;
    bottom: 20px;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 13px;
    padding-block: 25px;
  }

  .value-number {
    font-size: 22px;
  }

  .value-item strong {
    font-size: 10px;
  }

  .value-item small {
    font-size: 9px;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading h2,
  .about-content h2 {
    font-size: clamp(28px, 7.5vw, 36px);
    letter-spacing: -1.2px;
  }

  .section-heading > p {
    margin-top: 13px;
    font-size: 12px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 43px;
  }

  .about-visual {
    padding-right: 13px;
    padding-bottom: 20px;
  }

  .about-image {
    height: 320px;
  }

  .about-note {
    right: 0;
    max-width: 255px;
    padding: 12px;
  }

  .about-note strong {
    font-size: 10px;
  }

  .about-note p {
    font-size: 9px;
  }

  .about-lead {
    font-size: 14px;
  }

  .body-copy {
    font-size: 12px;
  }

  .program-grid,
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .program-card {
    min-height: 265px;
    padding: 24px;
  }

  .facility-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .facility-card {
    height: 300px;
  }

  .mission-inner {
    min-height: auto;
    padding-block: 62px;
  }

  .mission h2 {
    font-size: clamp(29px, 7.5vw, 38px);
    letter-spacing: -1px;
  }

  .mission-emblem {
    display: none;
  }

  .news-image {
    height: 220px;
  }

  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    padding-block: 50px;
  }

  .contact-inner h2 {
    font-size: 29px;
    letter-spacing: -0.8px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 32px;
  }

  .footer-main > p {
    max-width: 330px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
    font-size: 9px;
  }

  .back-top {
    right: 15px;
    bottom: 15px;
    width: 40px;
    height: 40px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
  .container {
    width: 90%;
  }

  .brand-text strong {
    font-size: 11px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-item {
    gap: 13px;
  }
}



/* =========================================
   FIX FOOTER LOGO — SMP 2 UNDAAN
========================================= */

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 35px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  text-decoration: none;
}

/* Kotak khusus lambang sekolah */
.footer-brand .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Gambar logo tidak terpotong */
.footer-brand .brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  margin: 0;
  object-fit: contain;
  object-position: center;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Nama sekolah di samping logo */
.footer-brand .brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  line-height: 1.5;
}

.footer-brand .brand-text strong {
  margin: 0;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.footer-brand .brand-text small {
  color: #b8d0e3;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

/* Footer HP */
@media (max-width: 760px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-brand .brand-logo {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
  }

  .footer-brand .brand-text strong {
    font-size: 14px;
  }

  .footer-brand .brand-text small {
    font-size: 10px;
  }
}


/* Responsif untuk HP */
@media (max-width: 600px) {
  .footer-brand {
    gap: 11px;
  }

  .footer-brand .brand-logo {
    width: 50px;
    height: 50px;
  }

  .footer-brand .brand-text strong {
    font-size: 15px;
  }

  .footer-brand .brand-text small {
    font-size: 11px;
  }
}



/* =========================================
   ACCESSIBILITY
========================================= */

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

  .js-enabled .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Tombol SPMB pada navbar */
.btn-spmb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  margin-left: 10px;
  background: #087eaf;
  color: #fff;
  border: 1px solid #087eaf;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.btn-spmb:hover {
  background: #075985;
  border-color: #075985;
  color: #fff;
  transform: translateY(-2px);
}

.btn-spmb span {
  font-size: 16px;
}

/* Tampilan HP */
@media (max-width: 768px) {
  .btn-spmb {
    margin: 10px 0;
    width: fit-content;
  }
}

/* =========================================
   FOTO EKSTRAKURIKULER
========================================= */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
}

.facility-card {
  position: relative;
  height: 420px;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 18px;
  background: #102b46;
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 41, 66, 0.12);
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-5px);
}

/* Foto */
.facility-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.facility-card:hover img {
  transform: scale(1.05);
}

/* Lapisan gelap di atas foto */
.facility-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(9, 26, 43, 0.02) 20%,
    rgba(9, 26, 43, 0.25) 48%,
    rgba(9, 26, 43, 0.92) 100%
  );
  pointer-events: none;
}

/* Tulisan di atas foto */
.facility-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 25px;
  color: #fff;
}

.facility-overlay span {
  margin-bottom: 10px;
  color: #bdeee8;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.facility-overlay h3 {
  margin: 0 0 9px;
  color: #fff;
  font-size: 25px;
  line-height: 1.3;
}

.facility-overlay p {
  max-width: 290px;
  margin: 0;
  color: #f0f4f7;
  font-size: 13px;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 900px) {
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .facility-card {
    height: 360px;
  }
}

/* HP */
@media (max-width: 600px) {
  .facility-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .facility-card {
    height: 360px;
  }

  .facility-overlay {
    padding: 22px;
  }
}

/* =====================================
   ANIMASI MODERN SMP 2 UNDAAN
===================================== */

/* Opening website */
body {
  animation: pageOpening 0.8s ease-out both;
}

@keyframes pageOpening {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Hero: gambar latar zoom perlahan */
.hero {
  overflow: hidden;
}

.hero-background {
  animation: heroZoom 2s ease-out both;
  will-change: transform;
}

@keyframes heroZoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1);
  }
}

/* Judul dan teks hero */
.hero-content .eyebrow {
  animation: slideIn 0.8s 0.2s ease-out both;
}

.hero h1 {
  animation: slideIn 0.9s 0.35s ease-out both;
}

.hero-content > p {
  animation: slideIn 0.9s 0.5s ease-out both;
}

.hero-actions {
  animation: slideIn 0.9s 0.7s ease-out both;
}

.hero-caption {
  animation: slideIn 0.9s 0.9s ease-out both;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Kartu hero melayang */
.hero-card {
  animation: cardEntrance 1s 0.8s ease-out both,
             floatCard 4s 1.8s ease-in-out infinite;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -7px; }
}

/* Animasi elemen saat digulir */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gambar fasilitas dan berita */
.facility-card img,
.news-image img,
.about-image img {
  transition: transform 0.7s ease;
}

.facility-card:hover img,
.news-card:hover .news-image img,
.about-visual:hover .about-image img {
  transform: scale(1.05);
}

/* Kartu bergerak saat diarahkan */
.program-card,
.news-card,
.facility-card {
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.program-card:hover,
.news-card:hover {
  transform: translateY(-7px);
}

/* Tombol interaktif */
.button,
.nav-contact,
.btn-spmb {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.button:hover,
.nav-contact:hover,
.btn-spmb:hover {
  transform: translateY(-3px);
}

/* Logo berputar sedikit saat diarahkan */
.brand-logo img {
  transition: transform 0.5s ease;
}

.brand:hover .brand-logo img {
  transform: rotate(-6deg) scale(1.06);
}

/* Mengurangi gerakan jika diminta perangkat */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =================================
   OPENING LOGO SMP 2 UNDAAN
================================= */

.logo-opening {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(135deg, #071a2d, #102b46, #183c5c);
  color: #fff;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.logo-opening.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-opening img {
  width: 125px;
  height: 125px;
  object-fit: contain;
  animation: logoAppear 1s ease both;
  filter: drop-shadow(0 0 20px rgba(255,255,255,.15));
}

.logo-opening h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 3px;
  animation: openingText 0.8s 0.3s ease both;
}

.logo-opening p {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: #c4d7e6;
  animation: openingText 0.8s 0.5s ease both;
}

.logo-opening .opening-line {
  width: 0;
  height: 3px;
  margin-top: 8px;
  border-radius: 5px;
  background: #d9e7bc;
  animation: loadingLine 1.5s 0.4s ease forwards;
}

@keyframes logoAppear {
  from {
    opacity: 0;
    transform: scale(.55) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes openingText {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingLine {
  from { width: 0; }
  to { width: 150px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-opening *,
  .logo-opening {
    animation: none !important;
    transition: none !important;
  }

  .logo-opening .opening-line {
    width: 150px;
  }
}

.logo-opening {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: #102b46;
  color: white;
  opacity: 1;
  visibility: visible;
  transition: opacity .7s ease, visibility .7s ease;
}

.logo-opening.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.logo-opening img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  animation: logoAppear .9s ease both;
}

.logo-opening h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: 3px;
}

.logo-opening p {
  font-size: 11px;
  letter-spacing: 2px;
  text-align: center;
}

.opening-line {
  width: 150px;
  height: 3px;
  border-radius: 5px;
  background: #d9e7bc;
  animation: openingLoad 1.5s ease both;
}

@keyframes logoAppear {
  from {
    opacity: 0;
    transform: scale(.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes openingLoad {
  from { width: 0; }
  to { width: 150px; }
}



/* =================================
   OPENING SMP 2 UNDAAN — PREMIUM
================================= */

.logo-opening {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(35, 105, 139, 0.38) 0%,
      transparent 48%
    ),
    linear-gradient(
      145deg,
      #071827 0%,
      #102f49 52%,
      #061522 100%
    );

  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

/* Efek cahaya dekoratif */
.logo-opening::before {
  content: "";
  position: absolute;
  width: min(75vw, 480px);
  aspect-ratio: 1;
  border: 1px solid rgba(189, 238, 232, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(189, 238, 232, 0.025),
    0 0 0 58px rgba(189, 238, 232, 0.02);
  pointer-events: none;
}

.logo-opening.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-content {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  padding: 24px;
  animation: openingRise 0.9s ease both;
}

/* LOGO TANPA LATAR KOTAK */
.opening-logo {
  display: block;
  width: 155px;
  height: 155px;
  object-fit: contain;

  background: transparent;
  border: none;
  border-radius: 0;

  filter:
    drop-shadow(0 0 16px rgba(189, 238, 232, 0.12));

  animation: logoAppear 1.1s ease both;
}

.opening-content h2 {
  margin: 26px 0 0;

  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.3;
}

.opening-content p {
  margin: 11px 0 0;

  color: #bdeee8;
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

/* GARIS LOADING */
.opening-line {
  width: 150px;
  height: 3px;
  margin-top: 30px;

  overflow: hidden;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
}

.opening-line span {
  display: block;
  width: 100%;
  height: 100%;

  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #bdeee8,
    #ffffff
  );

  transform: scaleX(0);
  transform-origin: left;
  animation: loadingProgress 2.4s ease forwards;
}

/* ANIMASI */
@keyframes logoAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes openingRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadingProgress {
  to {
    transform: scaleX(1);
  }
}

/* RESPONSIVE HP */
@media (max-width: 480px) {
  .opening-logo {
    width: 125px;
    height: 125px;
  }

  .opening-content h2 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .opening-content p {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
}

/* AKSESIBILITAS */
@media (prefers-reduced-motion: reduce) {
  .logo-opening,
  .logo-opening *,
  .opening-content {
    animation: none !important;
    transition: none !important;
  }

  .opening-line span {
    transform: scaleX(1);
  }
}


/* =========================================
   LOADING SCREEN — SMP 2 UNDAAN
========================================= */

.logo-opening {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 42%,
      rgba(23, 107, 135, 0.3),
      transparent 38%
    ),
    linear-gradient(145deg, #102b46, #091e32 70%, #071725);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.logo-opening.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(189, 238, 232, 0.09);
  filter: blur(70px);
  animation: openingGlow 3s ease-in-out infinite alternate;
}

.opening-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  text-align: center;
  animation: openingAppear 1s ease both;
}

.opening-ring {
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(189, 238, 232, 0.15);
  border-top-color: #bdeee8;
  border-right-color: #bdeee8;
  animation: openingRotate 2s linear infinite;
  box-shadow: 0 0 35px rgba(189, 238, 232, 0.08);
}

.opening-logo {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  overflow: hidden;
  border: 4px solid rgba(189, 238, 232, 0.3);
}

.opening-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  animation: openingCounterRotate 2s linear infinite;
}

.opening-title {
  margin-top: 30px;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(23px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: 3px;
}

.opening-subtitle {
  margin-top: 10px;
  color: #bdeee8;
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1.8;
}

.opening-loader {
  width: 180px;
  height: 3px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
}

.opening-loader span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #176b87, #bdeee8);
  animation: openingProgress 1.5s ease-in-out infinite;
}

.opening-status {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.65);
  font: 12px "DM Sans", sans-serif;
}

.opening-footer {
  position: absolute;
  bottom: 28px;
  left: 16px;
  right: 16px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font: 9px "DM Sans", sans-serif;
  letter-spacing: 2px;
}

@keyframes openingRotate {
  to { transform: rotate(360deg); }
}

@keyframes openingCounterRotate {
  to { transform: rotate(-360deg); }
}

@keyframes openingGlow {
  from { transform: scale(0.85); opacity: 0.5; }
  to { transform: scale(1.2); opacity: 1; }
}

@keyframes openingProgress {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(360%); }
}

@keyframes openingAppear {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .opening-ring {
    width: 124px;
    height: 124px;
  }

  .opening-logo {
    width: 94px;
    height: 94px;
  }

  .opening-title {
    letter-spacing: 2px;
  }

  .opening-subtitle {
    max-width: 270px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening-glow,
  .opening-ring,
  .opening-logo img,
  .opening-loader span,
  .opening-content {
    animation: none;
  }
}


/* LOKASI SEKOLAH */
.school-location {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.school-location iframe {
  display: block;
  width: 100%;
  height: 400px;
}

.location-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.location-info h3 {
  color: var(--navy);
  font-size: 18px;
}

.location-info p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .school-location iframe {
    height: 300px;
  }

  .location-info {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
}


.footer-contact p a {
  color: #bdeee8;
  text-decoration: none;
}

.footer-contact p a:hover {
  color: #ffffff;
  text-decoration: underline;
}
