:root {
  --blue-950: #07172f;
  --blue-900: #0a2142;
  --blue-800: #113a6a;
  --blue-700: #1b548d;
  --gold-500: #d5a331;
  --gold-400: #e3ba58;
  --gold-100: #fff6dc;
  --neutral-950: #151922;
  --neutral-700: #465466;
  --neutral-650: #586477;
  --neutral-500: #768293;
  --neutral-200: #e5eaf0;
  --neutral-100: #f6f8fb;
  --neutral-50: #fcfdff;
  --warm-100: #fff8eb;
  --warm-50: #fffdf8;
  --white: #ffffff;
  --shadow-xs: 0 1px 2px rgba(8, 26, 52, 0.05), 0 8px 22px rgba(8, 26, 52, 0.05);
  --shadow-sm: 0 14px 34px rgba(8, 26, 52, 0.075);
  --shadow-md: 0 26px 70px rgba(8, 26, 52, 0.13);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--neutral-950);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, #ffffff 0, var(--warm-50) 520px),
    var(--warm-50);
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(27, 84, 141, 0.35);
  outline-offset: 3px;
}

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

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

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

.section {
  padding: 98px 0;
}

.section:nth-of-type(odd):not(.hero):not(.page-hero):not(.cta-band):not(.life-hero) {
  padding-top: 106px;
  padding-bottom: 92px;
}

.section:nth-of-type(even):not(.section-soft):not(.section-warm):not(.cta-band) {
  padding-top: 88px;
  padding-bottom: 108px;
}

.section-tight {
  padding: 76px 0;
}

.section-soft {
  background: linear-gradient(180deg, #fffaf0 0%, #f7f9fb 100%);
  border-block: 1px solid rgba(229, 220, 198, 0.55);
}

.section-warm {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(247, 244, 237, 0.94)),
    radial-gradient(circle at top left, rgba(213, 163, 49, 0.14), transparent 34%),
    var(--warm-50);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  content: "";
  background: var(--gold-400);
}

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

h1,
h2,
h3 {
  color: var(--blue-950);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.42rem, 4.35vw, 4.05rem);
  font-weight: 860;
}

h2 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(1.78rem, 3.05vw, 2.82rem);
  font-weight: 830;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  color: var(--neutral-700);
  margin-bottom: 1rem;
  max-width: 68ch;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  max-width: 720px;
  color: #314056;
  font-size: clamp(1.04rem, 1.7vw, 1.18rem);
  line-height: 1.72;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 58px);
}

.section-head p {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(218, 225, 235, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(7, 23, 47, 0.035);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(7, 23, 47, 0.09);
}

.nav {
  display: grid;
  width: min(100% - 48px, 1240px);
  min-height: 76px;
  align-items: center;
  grid-template-columns: minmax(230px, 1fr) auto minmax(270px, 1fr);
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: var(--white);
  border: 1px solid rgba(213, 163, 49, 0.28);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(7, 23, 47, 0.1);
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  color: var(--blue-950);
  font-size: 0.98rem;
  line-height: 1.1;
}

.brand-text span {
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
  margin: 0;
  padding: 0;
}

.nav-list li {
  margin: 0;
}

.nav-links a,
.nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--blue-900);
  font-size: 0.91rem;
  font-weight: 720;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-950);
  background: var(--gold-100);
}

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
  padding: 3px;
  background: #f8fbff;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
}

.language-option {
  display: inline-flex;
  min-width: 36px;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  color: var(--blue-900);
  font-size: 0.8rem;
  font-weight: 850;
  line-height: 1;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.language-option:hover {
  color: var(--blue-950);
  background: var(--gold-100);
}

.language-option.active {
  color: var(--white);
  background: var(--blue-900);
  box-shadow: 0 8px 18px rgba(7, 23, 47, 0.14);
}

.nav-actions .btn {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 0.91rem;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--neutral-200);
  color: var(--blue-950);
  background: var(--white);
  border-radius: 12px;
  cursor: pointer;
  touch-action: manipulation;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

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

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 13px 20px;
  color: var(--blue-950);
  font-size: 0.95rem;
  font-weight: 830;
  line-height: 1.1;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  touch-action: manipulation;
}

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

.btn-primary {
  color: var(--white);
  background: var(--blue-900);
  box-shadow: 0 12px 26px rgba(7, 23, 47, 0.18);
}

.btn-primary:hover {
  background: var(--blue-800);
}

.btn-secondary {
  color: var(--blue-950);
  background: var(--white);
  border-color: rgba(10, 33, 66, 0.26);
  box-shadow: 0 8px 20px rgba(7, 23, 47, 0.055);
}

.btn-secondary:hover {
  background: var(--gold-100);
  border-color: rgba(213, 163, 49, 0.5);
}

.btn-outline {
  color: var(--blue-900);
  background: var(--white);
  border-color: var(--neutral-200);
}

.btn-outline:hover {
  background: var(--gold-100);
  border-color: rgba(213, 163, 49, 0.48);
  box-shadow: var(--shadow-xs);
}

.btn-whatsapp {
  color: var(--white);
  background: #1f9d55;
  box-shadow: 0 10px 22px rgba(31, 157, 85, 0.14);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 82px 0 74px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(213, 163, 49, 0.14), transparent 26%),
    linear-gradient(118deg, rgba(255, 253, 248, 0.99) 0%, rgba(255, 253, 248, 0.95) 44%, rgba(255, 250, 241, 0.78) 100%);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 110px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--warm-50));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 0.9fr);
  gap: clamp(44px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  padding: 10px 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(2.34rem, 3.9vw, 3.68rem);
}

.school-motto,
.motto-note {
  width: fit-content;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 11px 14px;
  color: var(--blue-900);
  font-size: 0.95rem;
  font-weight: 820;
  line-height: 1.35;
  background: rgba(255, 246, 220, 0.68);
  border: 1px solid rgba(213, 163, 49, 0.24);
  border-radius: 999px;
}

.motto-note {
  width: auto;
  max-width: 610px;
  border-radius: var(--radius-sm);
}

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

.trust-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero-visual {
  position: relative;
  transform: translateY(2px);
}

.trust-photo {
  position: relative;
  grid-column: 1 / -1;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--warm-100);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 26px 70px rgba(8, 26, 52, 0.14);
}

.trust-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.trust-photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 13px 15px;
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
  background: linear-gradient(135deg, rgba(7, 23, 47, 0.82), rgba(27, 84, 141, 0.66));
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.hero-feature-photo::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 23, 47, 0) 48%, rgba(7, 23, 47, 0.42) 100%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.1), transparent 34%);
  pointer-events: none;
}

.hero-feature-photo figcaption {
  z-index: 2;
}

.trust-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 220, 198, 0.78);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.trust-panel .trust-item:first-of-type {
  position: relative;
  z-index: 2;
  grid-column: 1 / -1;
  width: min(92%, 540px);
  margin: -42px auto 0;
}

.trust-number {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--blue-950);
  font-weight: 900;
  background: var(--gold-100);
  border-radius: 16px;
}

.trust-item strong {
  display: block;
  color: var(--blue-950);
  font-size: 1.02rem;
}

.trust-item span {
  color: var(--neutral-500);
  font-size: 0.91rem;
}

.page-hero {
  padding: 112px 0 92px;
  background-image:
    linear-gradient(90deg, rgba(8, 26, 52, 0.93), rgba(8, 26, 52, 0.66) 56%, rgba(8, 26, 52, 0.22)),
    var(--hero-image, url("../assets/gallery/classroom2.jpg"));
  background-position: center;
  background-size: cover;
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero .eyebrow::before {
  background: var(--gold-400);
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.grid-3,
.grid-4,
.split,
.contact-grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

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

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

.split {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: 68px;
}

.card,
.program-card,
.value-card,
.testimonial,
.process-card,
.faq-item,
.contact-card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.value-card,
.card,
.process-card,
.contact-card {
  padding: 28px;
}

.value-card {
  min-height: 248px;
  border-color: rgba(229, 220, 198, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.value-card:hover,
.card:hover,
.process-card:hover {
  border-color: rgba(213, 163, 49, 0.32);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  place-items: center;
  color: var(--blue-900);
  font-weight: 900;
  background: var(--gold-100);
  border-radius: 14px;
}

.mission-vision {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 24px;
  align-items: stretch;
}

.mission-card,
.vision-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
}

.mission-card {
  padding: clamp(30px, 4vw, 46px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 235, 0.88));
}

.mission-card::after {
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 180px;
  height: 180px;
  content: "";
  background: rgba(213, 163, 49, 0.12);
  border-radius: 50%;
}

.mission-card .card-icon,
.vision-card .card-icon {
  margin-bottom: 22px;
}

.mission-card h2 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1.78rem, 2.75vw, 2.58rem);
}

.mission-card p:not(.eyebrow),
.vision-card p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 690px;
  font-size: 1.03rem;
  line-height: 1.72;
}

.vision-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 36px);
  background:
    linear-gradient(160deg, rgba(10, 33, 66, 0.96), rgba(17, 58, 106, 0.92));
}

.vision-card .eyebrow,
.vision-card h3,
.vision-card p {
  color: var(--white);
}

.vision-card .eyebrow {
  opacity: 0.88;
}

.vision-card h3 {
  font-size: clamp(1.35rem, 2vw, 1.72rem);
  line-height: 1.24;
}

.vision-card p {
  color: rgba(255, 255, 255, 0.78);
}

.story-strip {
  display: grid;
  grid-template-columns: 1.1fr 0.82fr 0.92fr;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 44px);
}

.story-strip figure {
  position: relative;
  min-height: 260px;
  margin: 0;
  overflow: hidden;
  background: var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.story-strip figure:nth-child(2) {
  margin-top: 30px;
}

.story-strip figure:nth-child(3) {
  margin-top: 12px;
}

.story-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.story-strip figure:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.story-strip figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.35;
  background: rgba(7, 23, 47, 0.82);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.life-hero {
  position: relative;
  padding: 86px 0 76px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(213, 163, 49, 0.15), transparent 30%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 235, 0.78));
}

.life-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  content: "";
  background: linear-gradient(180deg, rgba(255, 253, 248, 0), var(--warm-50));
  pointer-events: none;
}

.life-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 0.92fr);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
}

.life-hero-copy h1 {
  max-width: 740px;
}

.life-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.life-hero-notes span {
  padding: 9px 13px;
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 800;
  background: rgba(255, 246, 220, 0.78);
  border: 1px solid rgba(213, 163, 49, 0.2);
  border-radius: 999px;
}

.life-hero-media {
  position: relative;
  min-height: 560px;
}

.life-hero-main,
.life-hero-card,
.life-story-image {
  margin: 0;
  overflow: hidden;
  background: var(--warm-100);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-md);
}

.life-hero-main {
  position: relative;
  height: 470px;
  border-radius: calc(var(--radius-lg) + 8px);
}

.life-hero-main img,
.life-hero-card img,
.life-story-image img,
.life-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.life-hero-main:hover img,
.life-hero-card:hover img,
.life-story-image:hover img,
.life-panel:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.025);
}

.life-hero-main figcaption,
.life-hero-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 12px 14px;
  color: var(--white);
  font-weight: 850;
  line-height: 1.35;
  background: rgba(7, 23, 47, 0.82);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.life-hero-main figcaption {
  right: auto;
  max-width: min(58%, 440px);
}

.life-hero-card {
  position: absolute;
  right: -10px;
  bottom: -4px;
  width: min(42%, 260px);
  height: 330px;
  border-radius: var(--radius-lg);
}

.life-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.56fr);
  gap: 56px;
  align-items: end;
}

.life-intro p:last-child {
  margin-bottom: 0;
}

.life-theme-thread {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.life-theme-thread article {
  position: relative;
  min-height: 178px;
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 248, 235, 0.7));
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.life-theme-thread article:nth-child(even) {
  margin-top: 18px;
  background: linear-gradient(180deg, var(--white), rgba(247, 249, 251, 0.94));
}

.life-theme-thread article::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  content: "";
  background: rgba(213, 163, 49, 0.13);
  border-radius: 50%;
}

.life-theme-thread article:hover {
  border-color: rgba(213, 163, 49, 0.36);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.life-theme-thread span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
}

.life-theme-thread h3 {
  margin-bottom: 8px;
  color: var(--blue-900);
  font-size: 1.02rem;
}

.life-theme-thread p {
  margin-bottom: 0;
  color: var(--neutral-650);
  font-size: 0.95rem;
  line-height: 1.62;
}

.life-story {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 0.92fr);
  gap: clamp(34px, 5vw, 66px);
  align-items: center;
}

.life-story-image {
  height: 620px;
  border-radius: calc(var(--radius-lg) + 8px);
}

.life-story-copy {
  max-width: 650px;
}

.life-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.life-points li {
  position: relative;
  padding-left: 26px;
  color: var(--neutral-700);
}

.life-points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--gold-500);
  border-radius: 50%;
}

.life-mosaic {
  display: grid;
  gap: 26px;
}

.life-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(340px, 0.74fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: calc(var(--radius-lg) + 2px);
  box-shadow: var(--shadow-sm);
}

.life-panel img {
  height: 360px;
  border-radius: var(--radius-md);
}

.life-panel > div {
  max-width: 570px;
}

.life-panel-dark {
  grid-template-columns: minmax(340px, 0.74fr) minmax(0, 0.86fr);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(7, 23, 47, 0.96), rgba(17, 58, 106, 0.9));
}

.life-panel-dark h2,
.life-panel-dark p,
.life-panel-dark .eyebrow {
  color: var(--white);
}

.life-panel-dark p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
}

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

.life-rhythm-item {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.life-rhythm-item span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
}

.life-rhythm-item h3 {
  font-size: 1.14rem;
}

.section-partner {
  padding: 42px 0;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(247, 249, 251, 0.98));
  border-top: 1px solid rgba(229, 220, 198, 0.52);
}

.partner-feature {
  display: grid;
  grid-template-columns: minmax(220px, 310px) minmax(0, 620px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-content: center;
}

.partner-badge-panel {
  display: grid;
  align-items: center;
  justify-items: start;
}

.partner-label {
  width: fit-content;
  margin-bottom: 5px;
  color: var(--blue-800);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.partner-badge-panel img {
  width: min(100%, 250px);
  height: auto;
}

.partner-copy {
  display: grid;
  gap: 9px;
  max-width: 620px;
}

.partner-copy h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.28rem, 1.75vw, 1.65rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.partner-copy p:not(.eyebrow) {
  max-width: 590px;
  margin: 0;
  color: var(--neutral-700);
  font-size: 0.98rem;
  line-height: 1.68;
}

.activity-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: stretch;
}

.activity-feature {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 3.4vw, 40px);
  background: var(--white);
  border: 1px solid rgba(229, 220, 198, 0.78);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.activity-feature p:not(.eyebrow) {
  max-width: 560px;
}

.activity-feature img {
  width: 100%;
  height: 260px;
  margin-top: 28px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.activity-groups {
  display: grid;
  gap: 16px;
}

.activity-groups-full {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.activity-group {
  padding: 24px 24px 26px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(229, 220, 198, 0.78);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.activity-group:hover {
  border-color: rgba(213, 163, 49, 0.42);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.activity-group > span {
  display: block;
  margin-bottom: 15px;
  color: var(--blue-950);
  font-size: 1.04rem;
  font-weight: 850;
}

.activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.activity-list span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 780;
  line-height: 1.2;
  background: #f8fbff;
  border: 1px solid rgba(17, 58, 106, 0.12);
  border-radius: 999px;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--warm-100);
}

.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.image-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 260px;
  padding: 18px 19px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.image-note strong {
  display: block;
  color: var(--blue-950);
}

.image-note span {
  color: var(--neutral-700);
  font-size: 0.92rem;
}

.program-card {
  overflow: hidden;
  border-color: rgba(229, 220, 198, 0.82);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.program-card:hover,
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.program-card img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.program-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.035);
}

.program-body {
  padding: 25px 25px 28px;
}

.program-meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 11px;
  color: var(--blue-900);
  font-size: 0.78rem;
  font-weight: 850;
  background: #eef4fb;
  border-radius: 999px;
}

.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--neutral-700);
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.15rem;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--blue-950);
  font-size: 0.72rem;
  font-weight: 900;
  content: "\2713";
  background: var(--gold-400);
  border-radius: 50%;
}

.testimonials {
  display: grid;
  grid-template-columns: 0.9fr 1.08fr;
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
}

.testimonial {
  padding: clamp(28px, 3.4vw, 38px);
}

.testimonial.featured {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(8, 26, 52, 0.1), rgba(8, 26, 52, 0.9)),
    url("../assets/gallery/outdoor-games.jpg") center / cover;
  border: 0;
}

.testimonial.featured p,
.testimonial.featured strong,
.testimonial.featured span {
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  gap: 28px;
}

.quote {
  margin-bottom: 24px;
  color: #243247;
  font-size: 1.04rem;
  line-height: 1.72;
}

.person strong {
  display: block;
  color: var(--blue-950);
}

.person span {
  color: var(--neutral-500);
  font-size: 0.92rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 23, 47, 0.96), rgba(17, 58, 106, 0.84)),
    url("../assets/gallery/playhouse-friends.jpg") center / cover;
}

.cta-band::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p a {
  color: var(--gold-400);
  font-weight: 850;
}

.cta-band .btn-primary {
  color: var(--blue-950);
  background: var(--gold-500);
  box-shadow: 0 12px 26px rgba(213, 163, 49, 0.2);
}

.cta-band .btn-primary:hover {
  background: var(--gold-400);
}

.cta-band .btn-secondary,
.cta-band .btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

.cta-band .btn-secondary:hover,
.cta-band .btn-outline:hover {
  color: var(--blue-950);
  background: var(--white);
  border-color: var(--white);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(220px, auto);
  gap: clamp(28px, 5vw, 54px);
  align-items: center;
}

.cta-inner h2 {
  max-width: 780px;
}

.cta-inner .cta-actions {
  display: grid;
  justify-content: flex-end;
  margin-top: 0;
}

.values-row,
.values-grid {
  display: grid;
}

.values-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.value-pill {
  padding: 18px 14px;
  color: var(--blue-950);
  font-weight: 850;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xs);
}

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

.value-principle {
  min-height: 210px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.value-principle:hover {
  border-color: rgba(213, 163, 49, 0.34);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.value-principle span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-500);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
}

.value-principle h3 {
  margin-bottom: 9px;
  font-size: 1.1rem;
}

.value-principle p {
  margin: 0;
  color: var(--neutral-700);
  font-size: 0.94rem;
  line-height: 1.62;
}

.principal-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 34px;
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.94));
  border: 1px solid rgba(229, 220, 198, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.principal-card img {
  width: 210px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.principal-card h2 {
  max-width: 720px;
  margin-bottom: 18px;
}

.principal-card p:not(.eyebrow) {
  max-width: 760px;
}

.leadership-person {
  width: fit-content;
  margin-top: 22px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 220, 198, 0.78);
  border-radius: var(--radius-sm);
}

.process-grid {
  counter-reset: step;
}

.process-card {
  position: relative;
  min-height: 252px;
}

.process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold-500);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1;
}

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

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 23px 26px;
  color: var(--blue-950);
  font-weight: 850;
  text-align: left;
  background: var(--white);
  border: 0;
  cursor: pointer;
}

.faq-question span:last-child {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  background: var(--gold-100);
  border-radius: 50%;
  transition: transform 180ms ease;
}

.faq-item.open .faq-question span:last-child {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-answer p {
  padding: 0 26px 24px;
  margin: 0;
}

.gallery-hero {
  background-position: center;
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.5fr);
  gap: 54px;
  align-items: end;
  margin-bottom: 30px;
}

.gallery-intro p:last-child {
  color: var(--neutral-700);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.gallery-filter {
  min-height: 42px;
  padding: 10px 16px;
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 800;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-filter:hover {
  background: var(--gold-100);
  border-color: rgba(213, 163, 49, 0.46);
  transform: translateY(-1px);
}

.gallery-filter.active {
  color: var(--white);
  background: var(--blue-900);
  border-color: var(--blue-900);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  align-items: stretch;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr 0.84fr;
  gap: 18px;
  align-items: stretch;
}

.gallery-preview-item {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  color: var(--white);
  background: var(--neutral-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-preview-item.large {
  min-height: 390px;
}

.gallery-preview-item:nth-child(2) {
  margin-top: 28px;
}

.gallery-preview-item:nth-child(3) {
  margin-top: 10px;
}

.gallery-preview-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-preview-item:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.04);
}

.gallery-preview-item span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px 16px;
  color: var(--white);
  font-weight: 850;
  background: rgba(7, 23, 47, 0.84);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.gallery-item {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background: var(--neutral-200);
  border-radius: calc(var(--radius-md) + 2px);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.gallery-item.feature {
  grid-column: span 7;
  min-height: 410px;
}

.gallery-item.tall {
  grid-column: span 5;
  min-height: 470px;
}

.gallery-item.small {
  grid-column: span 4;
}

.gallery-item.medium {
  grid-column: span 6;
  min-height: 350px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.gallery-item.portrait-focus img {
  object-position: center 68%;
}

.gallery-item:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.045);
}

.gallery-caption {
  position: absolute;
  inset: auto 16px 16px;
  max-width: calc(100% - 32px);
  padding: 16px 18px;
  color: var(--white);
  background: linear-gradient(135deg, rgba(7, 23, 47, 0.84), rgba(17, 58, 106, 0.72));
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
  transform: translateY(3px);
  transition: background 180ms ease, transform 180ms ease;
}

.gallery-item:hover .gallery-caption {
  background: rgba(7, 23, 47, 0.92);
  transform: translateY(0);
}

.gallery-caption::before {
  position: absolute;
  inset: -90px -18px 100%;
  content: "";
  background: linear-gradient(180deg, rgba(7, 23, 47, 0), rgba(7, 23, 47, 0.52));
  pointer-events: none;
}

.gallery-caption strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.2;
}

.gallery-caption span {
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.gallery-caption small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.87rem;
  line-height: 1.45;
}

.gallery-item.is-hidden {
  display: none;
}

.contact-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(310px, 0.55fr);
  align-items: start;
  gap: 36px;
}

.admission-enquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(480px, 1fr);
  align-items: center;
  gap: 52px;
}

.enquiry-copy {
  max-width: 540px;
}

.enquiry-copy .lead {
  margin-bottom: 28px;
}

.enquiry-reassurance {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
}

.enquiry-reassurance span {
  position: relative;
  display: block;
  padding: 14px 16px 14px 44px;
  color: var(--neutral-700);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(213, 163, 49, 0.24);
  border-radius: var(--radius-sm);
}

.enquiry-reassurance span::before {
  position: absolute;
  top: 16px;
  left: 17px;
  width: 12px;
  height: 12px;
  content: "";
  background: var(--gold-400);
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(213, 163, 49, 0.13);
}

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

.enquiry-contact a {
  display: grid;
  gap: 3px;
  padding: 12px 13px;
  color: var(--blue-900);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(229, 220, 198, 0.78);
  border-radius: var(--radius-sm);
  font-weight: 850;
}

.enquiry-contact strong {
  color: var(--neutral-500);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
}

.enquiry-contact span {
  overflow-wrap: anywhere;
}

.form {
  display: grid;
  gap: 19px;
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.admission-form {
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 253, 248, 0.96));
  border-color: rgba(213, 163, 49, 0.22);
  box-shadow: 0 22px 56px rgba(8, 26, 52, 0.11);
}

.form-intro {
  padding-bottom: 4px;
}

.form-intro h3 {
  margin-bottom: 6px;
  color: var(--blue-950);
  font-size: 1.34rem;
  letter-spacing: 0;
}

.form-intro p {
  margin: 0;
  color: var(--neutral-500);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field label {
  color: var(--blue-950);
  font-size: 0.92rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  color: var(--neutral-950);
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.admission-form .field input,
.admission-form .field textarea,
.admission-form .field select {
  min-height: 54px;
  background: var(--white);
}

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

.admission-form .field textarea {
  min-height: 126px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue-700);
  box-shadow: 0 0 0 4px rgba(27, 84, 141, 0.12);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--blue-800);
  font-weight: 750;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  background: rgba(27, 84, 141, 0.08);
  border-radius: var(--radius-sm);
}

.contact-card {
  display: grid;
  gap: 20px;
}

.contact-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.contact-line {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--neutral-200);
}

.contact-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-line strong {
  display: block;
  color: var(--blue-950);
}

.contact-line span,
.contact-line a {
  color: var(--neutral-700);
}

.map-frame {
  width: 100%;
  height: 440px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 18% 0%, rgba(213, 163, 49, 0.12), transparent 30%),
    linear-gradient(180deg, #07172f, #061326);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.08fr) minmax(130px, 0.55fr) minmax(150px, 0.62fr) minmax(240px, 0.86fr);
  gap: clamp(28px, 4vw, 52px);
  padding: 74px 0 48px;
}

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

.site-footer .brand-text span,
.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
}

.site-footer h3 {
  margin-bottom: 18px;
  font-size: 0.98rem;
}

.site-footer > .container:first-child > div:first-child p {
  max-width: 340px;
  line-height: 1.72;
}

.site-footer .brand-logo {
  border-color: rgba(255, 255, 255, 0.22);
}

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

.footer-links a {
  width: fit-content;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-links a:hover {
  color: var(--gold-400);
  transform: translateX(2px);
}

.footer-links a[href*="wa.me"] {
  margin-top: 4px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(31, 157, 85, 0.18);
  border: 1px solid rgba(31, 157, 85, 0.32);
  border-radius: 999px;
}

.footer-contact-list {
  display: grid;
  gap: 13px;
}

.footer-contact-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.footer-contact-list strong {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: none;
}

.footer-contact-list span,
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.footer-contact-list a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 26px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms ease;
}

@media (min-width: 1041px) {
  .grid-3 > .reveal:nth-child(2),
  .grid-4 > .reveal:nth-child(2),
  .grid-4 > .reveal:nth-child(4) {
    margin-top: 22px;
  }

  .grid-3 > .reveal:nth-child(3) {
    margin-top: 8px;
  }

  .process-grid > .reveal:nth-child(2),
  .process-grid > .reveal:nth-child(4) {
    margin-top: 30px;
  }

  .program-card:nth-child(odd) img {
    height: 232px;
  }

  .activity-group:nth-child(2) {
    margin-top: 18px;
  }

  .grid-4 > .program-card:nth-child(5):last-child {
    grid-column: 2 / span 2;
  }

  .site-footer .brand {
    margin-bottom: 18px;
  }
}

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

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

@media (max-width: 1040px) {
  .nav {
    display: flex;
    width: min(100% - 40px, var(--container));
    justify-content: space-between;
  }

  .nav-links,
  .nav-actions .btn-outline {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: block;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    padding: 18px 20px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-links .nav-list {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    width: 100%;
    justify-content: flex-start;
  }

  .menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
  }

  .hero-grid,
  .section-head,
  .split,
  .contact-grid,
  .cta-inner,
  .testimonials,
  .gallery-intro,
  .story-strip,
  .life-hero-grid,
  .life-intro,
  .life-story,
  .life-panel,
  .life-panel-dark,
  .life-rhythm-grid,
  .partner-feature,
  .activity-showcase,
  .activity-groups-full,
  .mission-vision,
  .admission-enquiry {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 18px;
    margin-bottom: 36px;
  }

  .story-strip figure:nth-child(2) {
    margin-top: 0;
  }

  .partner-feature {
    grid-template-columns: minmax(190px, 250px) minmax(0, 1fr);
    gap: 28px;
    justify-content: start;
  }

  .partner-copy {
    max-width: 720px;
  }

  .cta-inner {
    gap: 24px;
  }

  .cta-inner .cta-actions {
    justify-content: flex-start;
    margin-top: 6px;
  }

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-grid {
    gap: 34px;
  }

  .trust-panel {
    grid-template-columns: 1fr;
  }

  .trust-panel .trust-item:first-of-type {
    width: min(94%, 560px);
  }

  .life-hero-media {
    min-height: auto;
  }

  .life-hero-main {
    height: 440px;
  }

  .life-hero-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 320px);
    height: 310px;
    margin: -72px 24px 0 auto;
  }

  .life-panel-dark img {
    order: -1;
  }

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

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

  .values-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .grid-4 > .program-card:nth-child(5):last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .section:nth-of-type(odd):not(.hero):not(.page-hero):not(.cta-band):not(.life-hero),
  .section:nth-of-type(even):not(.section-soft):not(.section-warm):not(.cta-band) {
    padding-top: 66px;
    padding-bottom: 66px;
  }

  .section-tight {
    padding: 58px 0;
  }

  .nav {
    width: min(100% - 28px, var(--container));
    min-height: 70px;
    gap: 14px;
  }

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

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

  .brand-text strong {
    max-width: 118px;
    font-size: 0.86rem;
    line-height: 1.05;
  }

  .brand-text span {
    display: none;
  }

  .nav-links {
    top: 70px;
  }

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

  .language-switcher {
    padding: 3px;
  }

  .language-option {
    min-width: 34px;
    min-height: 32px;
    padding: 7px 9px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
    padding: 58px 0 46px;
    background:
      radial-gradient(circle at 80% 8%, rgba(213, 163, 49, 0.14), transparent 32%),
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 253, 248, 0.9));
  }

  h1 {
    font-size: clamp(2.15rem, 10.6vw, 3rem);
    line-height: 1.04;
  }

  .hero h1 {
    font-size: clamp(2rem, 9.4vw, 2.52rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .lead {
    line-height: 1.66;
  }

  .hero-actions,
  .cta-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .grid-4,
  .grid-3,
  .enquiry-contact,
  .form-row,
  .values-row,
  .values-grid,
  .life-rhythm-grid,
  .footer-grid,
  .principal-card {
    grid-template-columns: 1fr;
  }

  .grid-4 > .program-card:nth-child(5):last-child {
    grid-column: auto;
  }

  .principal-card img {
    width: 100%;
    height: 280px;
  }

  .image-frame img {
    min-height: 335px;
  }

  .image-note {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .life-hero {
    padding: 58px 0 52px;
  }

  .life-hero-main {
    height: 330px;
  }

  .life-hero-card {
    width: min(78%, 270px);
    height: 265px;
    margin-top: -46px;
  }

  .life-hero-main figcaption,
  .life-hero-card figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .life-story-image {
    height: 420px;
  }

  .life-panel {
    padding: 20px;
  }

  .life-panel img {
    height: 285px;
  }

  .life-theme-thread {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .life-theme-thread article,
  .life-theme-thread article:nth-child(even) {
    min-height: auto;
    margin-top: 0;
    padding: 22px;
  }

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

  .gallery-preview-grid {
    grid-template-columns: 1fr;
  }

  .gallery-preview-item:nth-child(2),
  .gallery-preview-item:nth-child(3) {
    margin-top: 0;
  }

  .gallery-item,
  .gallery-item.feature,
  .gallery-item.tall,
  .gallery-item.small,
  .gallery-item.medium {
    grid-column: auto;
    min-height: 300px;
  }

  .gallery-preview-item,
  .gallery-preview-item.large {
    min-height: 300px;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: 26px;
  }

  .gallery-filter {
    flex: 1 1 auto;
    padding-inline: 12px;
  }

  .form,
  .principal-card,
  .mission-card,
  .vision-card,
  .value-principle,
  .value-card,
  .card,
  .process-card,
  .contact-card,
  .activity-feature,
  .activity-group,
  .testimonial {
    padding: 24px;
  }

  .cta-inner .cta-actions {
    display: flex;
  }

  .section-partner {
    padding: 34px 0 36px;
  }

  .partner-feature {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .partner-badge-panel {
    align-items: flex-start;
    justify-items: start;
  }

  .partner-badge-panel img {
    width: min(100%, 230px);
  }

  .partner-copy {
    gap: 8px;
  }

  .partner-copy h2 {
    font-size: clamp(1.22rem, 6vw, 1.48rem);
  }

  .partner-copy p:not(.eyebrow) {
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .admission-enquiry {
    gap: 30px;
  }

  .admission-form {
    padding: 24px 20px;
    border-radius: var(--radius-md);
  }

  .enquiry-reassurance span {
    padding-right: 14px;
  }

  .trust-panel {
    padding: 12px;
  }

  .trust-photo,
  .trust-photo img {
    min-height: 245px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual .trust-item {
    display: none;
  }

  .hero-feature-photo figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 11px 12px;
    font-size: 0.82rem;
  }

  .story-strip {
    margin-top: 26px;
  }

  .story-strip figure {
    min-height: 265px;
  }

  .activity-feature img {
    height: 230px;
  }

  .trust-item {
    grid-template-columns: 52px 1fr;
    gap: 13px;
    padding: 13px;
  }

  .trust-number {
    width: 52px;
    height: 52px;
    font-size: 0.92rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
