:root {
  --blue-950: #06366f;
  --blue-900: #07437f;
  --blue-800: #07549f;
  --blue-700: #0967c4;
  --blue-600: #0b76dc;
  --blue-500: #238fe8;
  --blue-300: #76c9f1;
  --blue-100: #e6f6ff;
  --blue-050: #f4fbff;
  --ink: #132a44;
  --muted: #61758b;
  --line: #dbe8f2;
  --white: #ffffff;
  --yellow: #f5d020;
  --red: #df2839;
  --shadow-sm: 0 12px 30px rgba(7, 67, 127, 0.08);
  --shadow-md: 0 22px 55px rgba(7, 67, 127, 0.13);
  --shadow-lg: 0 34px 90px rgba(7, 67, 127, 0.18);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --radius-xl: 46px;
  --container: min(1240px, calc(100% - 40px));
  --heading: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --body: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.08;
}

::selection {
  color: var(--blue-950);
  background: #ccefff;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue-950);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 20px;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--yellow), var(--red));
  box-shadow: 0 1px 8px rgba(11, 118, 220, 0.25);
}

.topline {
  position: relative;
  z-index: 60;
  color: rgba(255, 255, 255, 0.92);
  background: var(--blue-950);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topline::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500) 0 84%, var(--yellow) 84% 92%, var(--red) 92% 100%);
}

.topline-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topline-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topline a {
  transition: color 0.2s ease;
}

.topline a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(219, 232, 242, 0.7);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 35px rgba(7, 67, 127, 0.08);
}

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

.brand {
  min-width: 260px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-logo {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  padding: 5px;
  border: 1px solid rgba(7, 84, 159, 0.14);
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 22px rgba(7, 67, 127, 0.11);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-name {
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
}

.brand-motto {
  color: var(--blue-600);
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 12px 13px;
  border-radius: 999px;
  color: #415870;
  font-size: 13px;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-500);
  transform: translateX(-50%);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--blue-900);
  background: #fff;
  cursor: pointer;
}

.mobile-panel {
  display: none;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 28px rgba(11, 118, 220, 0.22);
}

.btn-primary:hover {
  box-shadow: 0 18px 35px rgba(11, 118, 220, 0.3);
}

.btn-secondary {
  color: var(--blue-900);
  border-color: rgba(7, 84, 159, 0.17);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: rgba(7, 84, 159, 0.3);
  background: #fff;
}

.btn-light {
  color: var(--blue-950);
  background: #fff;
  box-shadow: 0 14px 30px rgba(7, 67, 127, 0.16);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 16px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
}

.section {
  padding: 112px 0;
}

.section-sm {
  padding: 82px 0;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading.center .eyebrow {
  justify-content: center;
}

.section-title {
  margin: 16px 0 16px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: clamp(42px, 5.2vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.section-title.small {
  font-size: clamp(36px, 4.2vw, 56px);
}

.section-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.home-hero {
  position: relative;
  min-height: min(790px, calc(100svh - 122px));
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-050);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 9s ease;
}

.hero-slide.is-active img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(241, 250, 255, 0.96) 0%, rgba(241, 250, 255, 0.87) 36%, rgba(241, 250, 255, 0.18) 68%, rgba(6, 54, 111, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 54, 111, 0.22), transparent 42%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 118, 220, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 118, 220, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.5) 45%, transparent 72%);
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: min(790px, calc(100svh - 122px));
  display: flex;
  align-items: center;
  padding: 76px 0 120px;
}

.hero-panel {
  width: min(660px, 100%);
  padding: 44px 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 90px rgba(7, 67, 127, 0.2);
  backdrop-filter: blur(20px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(11, 118, 220, 0.15);
  border-radius: 999px;
  color: var(--blue-800);
  background: var(--blue-050);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin: 22px 0 20px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: clamp(52px, 6.2vw, 86px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

.hero-title em {
  color: var(--blue-600);
  font-style: normal;
}

.hero-text {
  max-width: 585px;
  margin-bottom: 0;
  color: #536e86;
  font-size: 18px;
  line-height: 1.78;
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 28px;
  color: #536a7f;
  font-size: 12px;
  font-weight: 800;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-point::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(11, 118, 220, 0.11);
}

.hero-controls {
  position: absolute;
  right: max(20px, calc((100vw - 1240px) / 2));
  bottom: 92px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-arrow:hover {
  transform: translateY(-2px);
  background: #fff;
}

.hero-dots {
  display: flex;
  gap: 7px;
  padding: 9px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #b6d6e9;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: var(--blue-600);
}

.hero-schoolmark {
  position: absolute;
  right: max(20px, calc((100vw - 1240px) / 2));
  top: 38px;
  z-index: 4;
  width: 118px;
  height: 118px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  object-fit: contain;
  animation: softFloat 5s ease-in-out infinite;
}

@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(9px); }
}

.level-ribbon {
  position: relative;
  z-index: 8;
  margin-top: -62px;
}

.level-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.level-quick {
  position: relative;
  min-height: 142px;
  padding: 28px 24px;
  border-right: 1px solid var(--line);
  transition: background 0.3s ease, transform 0.3s ease;
}

.level-quick:last-child {
  border-right: 0;
}

.level-quick:hover {
  background: var(--blue-050);
}

.level-quick::after {
  content: "→";
  position: absolute;
  right: 22px;
  top: 24px;
  color: var(--blue-400, #43a9dc);
  font-size: 20px;
  transition: transform 0.25s ease;
}

.level-quick:hover::after {
  transform: translateX(4px);
}

.level-quick small {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.level-quick strong {
  display: block;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 27px;
  line-height: 1;
}

.level-quick span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 80px;
  align-items: center;
}

.story-media {
  position: relative;
  min-height: 590px;
}

.story-main,
.story-small {
  position: absolute;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
}

.story-main {
  inset: 0 90px 50px 0;
}

.story-small {
  width: 48%;
  height: 270px;
  right: 0;
  bottom: 0;
  border: 10px solid #fff;
}

.story-main img,
.story-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.story-main:hover img,
.story-small:hover img {
  transform: scale(1.04);
}

.story-note {
  position: absolute;
  left: -24px;
  bottom: 76px;
  width: 210px;
  padding: 22px;
  border-radius: 22px;
  color: var(--blue-950);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.story-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(var(--blue-500) 0 70%, var(--yellow) 70% 84%, var(--red) 84% 100%);
}

.story-note strong {
  display: block;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 28px;
  line-height: 1;
}

.story-note span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.check-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.check-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  align-items: start;
}

.check-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.check-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--blue-950);
  font-size: 15px;
}

.check-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.program-experience {
  overflow: hidden;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 38px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.program-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--blue-050);
}

.program-tab {
  min-height: 86px;
  padding: 18px 22px;
  border: 0;
  border-right: 1px solid var(--line);
  color: #5f7387;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
}

.program-tab:last-child {
  border-right: 0;
}

.program-tab span {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-500);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.program-tab strong {
  display: block;
  font-family: var(--heading);
  font-size: 23px;
  line-height: 1;
}

.program-tab.is-active {
  color: var(--blue-950);
  background: #fff;
  box-shadow: inset 0 -4px 0 var(--blue-500);
}

.program-panels {
  position: relative;
}

.program-panel {
  display: none;
  grid-template-columns: 1.04fr 0.96fr;
  min-height: 530px;
}

.program-panel.is-active {
  display: grid;
  animation: panelIn 0.55s ease both;
}

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

.program-image {
  position: relative;
  min-height: 530px;
  overflow: hidden;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.program-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 54, 111, 0.26), transparent 50%);
}

.program-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 58px 54px;
}

.program-copy h3 {
  margin: 12px 0 14px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: clamp(38px, 4.2vw, 56px);
  letter-spacing: -0.04em;
}

.program-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.program-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.program-list li {
  position: relative;
  padding-left: 25px;
  color: #4d647a;
  font-size: 13px;
}

.program-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(11, 118, 220, 0.12);
}

.value-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
}

.value-band::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -170px;
  top: -260px;
  border: 70px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
}

.value-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%);
}

.value-inner {
  position: relative;
  z-index: 2;
}

.value-band .eyebrow,
.value-band .section-title,
.value-band .section-lead {
  color: #fff;
}

.value-band .eyebrow::before {
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.35));
}

.value-band .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

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

.value-card {
  position: relative;
  min-height: 260px;
  padding: 32px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  transition: transform 0.35s ease, background 0.35s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.15);
}

.value-number {
  position: absolute;
  right: 22px;
  top: 14px;
  color: rgba(255, 255, 255, 0.12);
  font-family: var(--heading);
  font-size: 92px;
  font-weight: 800;
  line-height: 1;
}

.value-card h3 {
  position: relative;
  margin: 88px 0 10px;
  color: #fff;
  font-family: var(--heading);
  font-size: 34px;
}

.value-card p {
  position: relative;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  line-height: 1.75;
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--blue-100);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-card.large {
  grid-row: 1 / span 2;
}

.gallery-card.wide {
  grid-column: 2 / span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 54, 111, 0.62), transparent 60%);
  opacity: 0.7;
  transition: opacity 0.35s ease;
}

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

.gallery-card:hover::after {
  opacity: 0.95;
}

.gallery-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  color: #fff;
}

.gallery-caption small {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-caption strong {
  display: block;
  font-family: var(--heading);
  font-size: 25px;
}

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

.commitment-card {
  min-height: 260px;
  padding: 28px 26px;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.commitment-card:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 118, 220, 0.25);
  box-shadow: var(--shadow-md);
}

.commitment-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 20px;
  color: var(--blue-700);
  background: var(--blue-100);
}

.commitment-card h3 {
  margin-bottom: 11px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 27px;
}

.commitment-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.admission-panel {
  position: relative;
  overflow: hidden;
  border-radius: 38px;
  color: #fff;
  background: linear-gradient(135deg, #0b62bd, #218fe7);
  box-shadow: var(--shadow-lg);
}

.admission-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.18), transparent 32%),
    radial-gradient(circle at 10% 100%, rgba(255, 255, 255, 0.12), transparent 30%);
}

.admission-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  padding: 58px;
}

.admission-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--heading);
  font-size: clamp(38px, 4.8vw, 60px);
  letter-spacing: -0.045em;
}

.admission-copy p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.admission-copy .eyebrow {
  color: #fff;
}

.admission-copy .eyebrow::before {
  background: #fff;
}

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

.admission-step {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.admission-step span {
  display: inline-grid;
  width: 35px;
  height: 35px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue-900);
  background: #fff;
  font-weight: 900;
}

.admission-step h3 {
  margin-bottom: 7px;
  font-size: 16px;
}

.admission-step p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.65;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 28px;
  background: var(--blue-050);
}

.contact-strip h2 {
  margin-bottom: 8px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 36px;
}

.contact-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-strip-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.inner-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: end;
  overflow: hidden;
  background: var(--blue-950);
}

.inner-hero-image,
.inner-hero-overlay {
  position: absolute;
  inset: 0;
}

.inner-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 54, 111, 0.93) 0%, rgba(6, 54, 111, 0.76) 42%, rgba(6, 54, 111, 0.16) 78%, rgba(6, 54, 111, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 54, 111, 0.7), transparent 55%);
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 96px 0 80px;
  color: #fff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: #fff;
}

.inner-hero h1 {
  margin-bottom: 18px;
  font-family: var(--heading);
  font-size: clamp(52px, 7vw, 86px);
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.inner-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  line-height: 1.8;
}

.page-nav {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}

.page-nav-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-md);
  scrollbar-width: none;
}

.page-nav-inner::-webkit-scrollbar {
  display: none;
}

.page-nav a {
  flex: 0 0 auto;
  padding: 12px 18px;
  border-radius: 999px;
  color: #50687d;
  font-size: 12px;
  font-weight: 900;
  transition: color 0.2s ease, background 0.2s ease;
}

.page-nav a:hover {
  color: var(--blue-900);
  background: var(--blue-050);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.two-column.align-start {
  align-items: start;
}

.media-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  max-width: 270px;
  padding: 18px;
  border-radius: 18px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.media-label strong {
  display: block;
  font-family: var(--heading);
  font-size: 25px;
}

.media-label span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.simple-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.simple-list li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: #4f6579;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 7px 20px rgba(7, 67, 127, 0.04);
}

.simple-list li::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-500);
  font-size: 11px;
  font-weight: 900;
  transform: translateY(-50%);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-600));
}

.timeline-item {
  position: relative;
  z-index: 2;
  padding: 0 16px 24px;
  text-align: center;
}

.timeline-dot {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border: 7px solid var(--blue-050);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 12px 28px rgba(11, 118, 220, 0.18);
}

.timeline-item h3 {
  margin-bottom: 8px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 24px;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.quote-block {
  position: relative;
  padding: 38px 40px;
  border-left: 6px solid var(--blue-500);
  border-radius: 0 26px 26px 0;
  color: var(--blue-950);
  background: var(--blue-050);
}

.quote-block p {
  margin-bottom: 0;
  font-family: var(--heading);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.level-stack {
  display: grid;
  gap: 28px;
}

.level-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 490px;
  overflow: hidden;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.level-card:nth-child(even) .level-media {
  order: 2;
}

.level-media {
  position: relative;
  min-height: 490px;
  overflow: hidden;
}

.level-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.level-card:hover .level-media img {
  transform: scale(1.035);
}

.level-badge {
  position: absolute;
  left: 20px;
  top: 20px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, 0.92);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.level-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 52px;
}

.level-content h2 {
  margin: 14px 0 14px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: clamp(42px, 4.6vw, 60px);
  letter-spacing: -0.045em;
}

.level-content > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

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

.info-card {
  padding: 28px 26px;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.info-card .commitment-icon {
  margin-bottom: 20px;
}

.info-card h3 {
  margin-bottom: 10px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 26px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.admission-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.flow-card {
  position: relative;
  min-height: 280px;
  padding: 28px 25px;
  overflow: hidden;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.flow-card::after {
  content: attr(data-step);
  position: absolute;
  right: -2px;
  bottom: -18px;
  color: rgba(11, 118, 220, 0.07);
  font-family: var(--heading);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
}

.flow-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.flow-card h3 {
  position: relative;
  z-index: 2;
  margin-bottom: 10px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 27px;
}

.flow-card p {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}

.contact-panel {
  position: sticky;
  top: 120px;
  padding: 34px 30px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-900), var(--blue-600));
  box-shadow: var(--shadow-md);
}

.contact-panel h2 {
  margin: 12px 0 14px;
  font-family: var(--heading);
  font-size: 40px;
}

.contact-panel > p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.09);
}

.contact-row-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--blue-900);
  background: #fff;
}

.contact-row small {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-row strong {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.45;
}

.form-card {
  padding: 38px;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  margin-bottom: 9px;
  color: var(--blue-950);
  font-family: var(--heading);
  font-size: 40px;
}

.form-card > p {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--blue-950);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  color: var(--ink);
  background: #fbfdff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 118, 220, 0.11);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(7, 84, 159, 0.12);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 67, 127, 0.05);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  color: var(--blue-950);
  background: transparent;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-plus {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  border-radius: 50%;
  color: var(--blue-700);
  background: var(--blue-100);
  transition: transform 0.25s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
}

.map-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 35%, rgba(255, 255, 255, 0.18), transparent 14%),
    radial-gradient(circle at 72% 68%, rgba(255, 255, 255, 0.12), transparent 15%),
    linear-gradient(135deg, var(--blue-900), var(--blue-500));
  box-shadow: var(--shadow-md);
}

.map-card::before,
.map-card::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.map-card::before {
  width: 380px;
  height: 380px;
  right: -100px;
  top: -80px;
}

.map-card::after {
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -80px;
}

.map-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 54px;
}

.map-pin {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 24px;
  color: var(--blue-900);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-content h2 {
  margin-bottom: 14px;
  font-family: var(--heading);
  font-size: 48px;
}

.map-content p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.8;
}

.footer {
  position: relative;
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--blue-950);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500) 0 84%, var(--yellow) 84% 92%, var(--red) 92% 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: 54px;
}

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

.footer .brand-name {
  color: #fff;
}

.footer .brand-motto {
  color: #9bd9f7;
}

.footer-about {
  max-width: 430px;
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.8;
}

.footer h3 {
  margin-bottom: 19px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  font-size: 13px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-address {
  font-size: 13px;
  line-height: 1.75;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 58px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 11px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #17b75a;
  box-shadow: 0 18px 38px rgba(15, 134, 67, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 42px rgba(15, 134, 67, 0.34);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  background: rgba(5, 25, 48, 0.91);
  backdrop-filter: blur(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 82vh;
  border: 8px solid #fff;
  border-radius: 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  right: 28px;
  top: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 26px;
  cursor: pointer;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  max-width: min(480px, calc(100% - 34px));
  padding: 14px 18px;
  border-radius: 15px;
  color: #fff;
  background: var(--blue-950);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

@media (max-width: 1180px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-panel {
    position: fixed;
    inset: 122px 0 auto;
    z-index: 49;
    max-height: calc(100vh - 122px);
    overflow-y: auto;
    padding: 18px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 50px rgba(7, 67, 127, 0.14);
    transform: translateY(-125%);
    transition: transform 0.3s ease;
  }

  .mobile-panel.is-open {
    display: block;
    transform: translateY(0);
  }

  .mobile-nav {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    padding: 14px 16px;
    border-radius: 14px;
    color: var(--blue-950);
    font-weight: 800;
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    background: var(--blue-050);
  }

  .commitment-grid,
  .admission-flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-grid,
  .two-column {
    gap: 52px;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 0.8fr 0.8fr;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --container: min(100% - 32px, 1240px);
  }

  .section {
    padding: 88px 0;
  }

  .section-sm {
    padding: 68px 0;
  }

  .home-hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    align-items: end;
    padding: 70px 0 94px;
  }

  .hero-panel {
    width: min(620px, 100%);
    padding: 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(239, 249, 255, 0.98) 0%, rgba(239, 249, 255, 0.8) 48%, rgba(6, 54, 111, 0.08) 100%),
      linear-gradient(90deg, rgba(239, 249, 255, 0.18), transparent);
  }

  .hero-schoolmark {
    width: 94px;
    height: 94px;
    top: 28px;
  }

  .hero-controls {
    bottom: 22px;
  }

  .level-ribbon {
    margin-top: -28px;
  }

  .level-ribbon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .level-quick:nth-child(2) {
    border-right: 0;
  }

  .level-quick:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .story-grid,
  .two-column,
  .form-layout,
  .contact-strip,
  .admission-inner,
  .program-panel,
  .level-card {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 520px;
  }

  .program-tabs {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    scrollbar-width: none;
  }

  .program-tabs::-webkit-scrollbar {
    display: none;
  }

  .program-image {
    min-height: 420px;
  }

  .value-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 320px 250px 250px;
  }

  .gallery-card.large {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .gallery-card.wide {
    grid-column: 1 / span 2;
  }

  .admission-inner {
    padding: 46px;
  }

  .contact-strip-actions {
    justify-content: flex-start;
  }

  .inner-hero {
    min-height: 510px;
  }

  .inner-hero-overlay {
    background:
      linear-gradient(0deg, rgba(6, 54, 111, 0.92) 0%, rgba(6, 54, 111, 0.55) 60%, rgba(6, 54, 111, 0.13) 100%);
  }

  .inner-hero-content {
    max-width: 760px;
    padding: 84px 0 62px;
  }

  .level-card:nth-child(even) .level-media {
    order: 0;
  }

  .level-media {
    min-height: 400px;
  }

  .contact-panel {
    position: relative;
    top: auto;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 24px, 1240px);
  }

  html {
    scroll-padding-top: 94px;
  }

  .topline-inner {
    min-height: 34px;
    justify-content: center;
    text-align: center;
  }

  .topline-links {
    display: none;
  }

  .navbar {
    min-height: 74px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

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

  .brand-name {
    font-size: 16px;
  }

  .brand-motto {
    font-size: 6.6px;
  }

  .nav-actions .btn {
    display: none;
  }

  .mobile-panel {
    inset: 108px 0 auto;
    max-height: calc(100vh - 108px);
  }

  .section {
    padding: 72px 0;
  }

  .section-sm {
    padding: 54px 0;
  }

  .section-title {
    font-size: 44px;
  }

  .section-lead {
    font-size: 15px;
  }

  .home-hero,
  .hero-content {
    min-height: 720px;
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .hero-content {
    align-items: end;
    padding: 48px 0 82px;
  }

  .hero-panel {
    padding: 27px 22px 25px;
    border-radius: 30px;
  }

  .hero-title {
    font-size: 51px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 9px;
  }

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

  .hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-schoolmark {
    width: 78px;
    height: 78px;
    top: 18px;
    right: 16px;
  }

  .hero-controls {
    right: 16px;
    bottom: 17px;
  }

  .hero-arrow {
    display: none;
  }

  .level-ribbon-grid {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .level-quick {
    min-height: 122px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .level-quick:last-child {
    border-bottom: 0;
  }

  .story-media {
    min-height: 460px;
  }

  .story-main {
    inset: 0 42px 80px 0;
  }

  .story-small {
    width: 55%;
    height: 210px;
    border-width: 7px;
  }

  .story-note {
    left: 12px;
    bottom: 26px;
    width: 190px;
  }

  .program-experience {
    border-radius: 26px;
  }

  .program-tabs {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
  }

  .program-tab {
    min-height: 78px;
    padding: 15px 17px;
  }

  .program-image {
    min-height: 300px;
  }

  .program-copy {
    padding: 34px 24px 36px;
  }

  .value-grid,
  .commitment-grid,
  .info-grid,
  .admission-flow,
  .admission-steps,
  .form-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 230px;
  }

  .gallery-bento {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 290px);
  }

  .gallery-card.large,
  .gallery-card.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .admission-panel {
    border-radius: 28px;
  }

  .admission-inner {
    gap: 36px;
    padding: 32px 23px;
  }

  .contact-strip {
    padding: 28px 23px;
  }

  .inner-hero {
    min-height: 480px;
  }

  .inner-hero-image img {
    object-position: 58% center;
  }

  .inner-hero h1 {
    font-size: 54px;
  }

  .inner-hero p {
    font-size: 15px;
  }

  .page-nav {
    margin-top: -25px;
  }

  .page-nav-inner {
    border-radius: 20px;
  }

  .media-card {
    min-height: 420px;
  }

  .quote-block {
    padding: 28px 25px;
  }

  .level-card {
    border-radius: 26px;
  }

  .level-media {
    min-height: 300px;
  }

  .level-content {
    padding: 34px 24px 36px;
  }

  .form-card,
  .contact-panel {
    padding: 30px 23px;
    border-radius: 24px;
  }

  .field.full {
    grid-column: auto;
  }

  .map-card {
    min-height: 390px;
    border-radius: 26px;
  }

  .map-content {
    padding: 36px 25px;
  }

  .map-content h2 {
    font-size: 40px;
  }

  .footer {
    padding-top: 58px;
  }

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

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    display: grid;
    gap: 8px;
    margin-top: 42px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

/* Small browser-normalization fixes */
figure {
  margin: 0;
}

.gallery-card {
  padding: 0;
  text-align: left;
}

@media (max-width: 1180px) {
  .mobile-panel {
    top: var(--header-bottom, 122px);
    bottom: auto;
  }
}
