:root {
  --navy: #172554;
  --navy-deep: #0f1b3f;
  --blue: #12aee5;
  --pink: #ec168c;
  --yellow: #f5d40b;
  --green: #48b95b;
  --ink: #1d2943;
  --muted: #667085;
  --soft: #f5f8fc;
  --line: #dde5ef;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 55px rgba(23, 37, 84, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: white; color: var(--navy); border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 88px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(221,229,239,.9);
  backdrop-filter: blur(18px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.brand img { width: 50px; height: 50px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand strong { font-size: 1.02rem; letter-spacing: .015em; }
.brand small { margin-top: 4px; color: var(--muted); font-size: .64rem; letter-spacing: .11em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: .94rem; font-weight: 650; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--pink); transition: right .2s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.menu-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--navy); border-radius: 2px; }

.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 23px; border: 1px solid transparent; border-radius: 999px; font-weight: 750; line-height: 1.2; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 18px; color: white; background: var(--navy); }
.button-primary { background: var(--pink); color: white; box-shadow: 0 14px 30px rgba(236,22,140,.28); }
.button-ghost { color: white; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); }
.button-white { background: white; color: var(--navy); min-width: 190px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; color: var(--navy); font-weight: 800; border-bottom: 2px solid var(--pink); padding-bottom: 3px; }

.hero { position: relative; min-height: 710px; display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; background: url('/assets/images/class-teacher.webp') center 44% / cover no-repeat; transform: scale(1.01); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,20,55,.96) 0%, rgba(9,20,55,.83) 48%, rgba(9,20,55,.28) 100%); }
.hero::after { content: ""; position: absolute; width: 450px; height: 450px; right: -210px; bottom: -230px; border-radius: 50%; border: 70px solid rgba(18,174,229,.28); }
.hero-content { position: relative; z-index: 2; padding-top: 48px; padding-bottom: 48px; }
.eyebrow, .section-kicker { color: var(--pink); font-size: .78rem; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 18px 0 22px; color: white; font-size: clamp(3rem, 6.2vw, 5.5rem); line-height: .98; letter-spacing: -.055em; }
.hero h1 span { color: var(--yellow); }
.hero p { max-width: 630px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 37px; }
.hero-points span { color: white; font-size: .86rem; font-weight: 750; padding: 7px 13px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; background: rgba(255,255,255,.08); }

.two-column { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.section h2 { margin: 12px 0 0; color: var(--navy); font-size: clamp(2.15rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; }
.lead-copy { font-size: 1.08rem; color: #475467; }
.lead-copy p:first-child { margin-top: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 58px; }
.stats-grid article { padding: 24px; border: 1px solid var(--line); border-radius: 18px; }
.stats-grid strong, .stats-grid span { display: block; }
.stats-grid strong { color: var(--navy); font-size: 1.16rem; }
.stats-grid span { margin-top: 5px; color: var(--muted); font-size: .9rem; }

.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }
.section-heading.compact { margin-bottom: 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { min-height: 265px; padding: 27px; border-radius: var(--radius); background: white; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(23,37,84,.02); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-number { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: #eef9fd; color: #038cc0; font-weight: 850; }
.feature-card:nth-child(2) .feature-number { color: #c90f76; background: #fff0f8; }
.feature-card:nth-child(3) .feature-number { color: #267d34; background: #eef9ef; }
.feature-card:nth-child(4) .feature-number { color: #8a7200; background: #fffbea; }
.feature-card h3 { color: var(--navy); margin: 28px 0 10px; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.program-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 78px; align-items: start; }
.program-copy { position: sticky; top: 130px; }
.program-copy > p { color: var(--muted); font-size: 1.04rem; }
.subjects { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.subjects span { padding: 7px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: .86rem; font-weight: 750; }
.program-cards { display: grid; gap: 18px; }
.program-cards article { padding: 35px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.program-cards article:first-child { background: var(--navy); color: white; }
.program-label { display: inline-block; margin-bottom: 14px; color: var(--pink); font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.program-cards article:first-child .program-label { color: var(--yellow); }
.program-cards h3 { margin: 0 0 10px; font-size: 1.65rem; }
.program-cards p { margin-top: 0; opacity: .82; }
.program-cards ul { margin: 18px 0 0; padding-left: 20px; }
.program-cards li + li { margin-top: 8px; }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

.class-life { padding-bottom: 0; background: var(--navy-deep); }
.gallery-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: stretch; }
.gallery-main img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; border-radius: 24px 24px 0 0; }
.gallery-side { display: flex; flex-direction: column; justify-content: space-between; gap: 35px; padding: 30px 0 0 25px; }
.gallery-side h2 { color: white; font-size: clamp(2rem,3vw,3rem); }
.gallery-side p { color: rgba(255,255,255,.7); }
.gallery-side img { width: 100%; height: 260px; object-fit: cover; border-radius: 22px 22px 0 0; }
.section-kicker.light { color: var(--yellow); }

.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.facility-grid article { text-align: center; padding: 30px 24px; border-radius: 18px; border: 1px solid var(--line); }
.facility-grid article > span { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: var(--soft); color: var(--navy); font-size: 1.5rem; }
.facility-grid h3 { margin: 16px 0 6px; color: var(--navy); }
.facility-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.enrolment-section { padding-top: 20px; }
.enrolment-card { display: grid; grid-template-columns: minmax(280px, .75fr) 1.25fr; align-items: center; gap: 62px; padding: 48px; border-radius: 30px; background: var(--navy-deep); color: white; overflow: hidden; }
.enrolment-card > img { width: 100%; max-width: 430px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; justify-self: center; border-radius: 20px; box-shadow: 0 25px 55px rgba(0,0,0,.28); }
.enrolment-card h2 { color: white; }
.enrolment-card p { color: rgba(255,255,255,.72); }
.enrolment-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 25px 0 30px; padding: 0; list-style: none; }
.enrolment-list li { position: relative; padding-left: 25px; color: rgba(255,255,255,.88); font-size: .92rem; }
.enrolment-list li::before { content: "✓"; position: absolute; left: 0; color: var(--yellow); font-weight: 900; }

.press-section { padding-top: 25px; }
.press-card { display: grid; grid-template-columns: 230px 1fr; gap: 50px; align-items: center; padding: 55px; border-radius: 28px; background: #fff8f5; border: 1px solid #f4dfd5; }
.press-mark { width: 200px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #b21f24; color: white; font-family: Georgia, serif; font-weight: 800; letter-spacing: .05em; font-size: 1.65rem; }
.press-card h2 { font-size: clamp(2rem,3vw,3.1rem); }
.press-card p { max-width: 740px; color: var(--muted); }

.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.location-card { position: relative; padding: 30px; border-radius: var(--radius); background: white; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(23,37,84,.05); overflow: hidden; }
.location-card.featured { border-top: 4px solid var(--pink); }
.location-tag { display: inline-flex; padding: 5px 10px; border-radius: 999px; color: #087eaa; background: #eaf8fd; font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.location-card h3 { margin: 18px 0 10px; color: var(--navy); font-size: 1.45rem; }
.location-card address { min-height: 78px; color: var(--muted); font-style: normal; font-size: .93rem; }
.location-card .phone { display: inline-block; margin: 10px 0 24px; color: var(--navy); font-weight: 850; font-size: 1.08rem; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.location-actions a { font-size: .82rem; font-weight: 800; color: var(--navy); }
.location-actions a + a { color: #168c43; }

.faq-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
.faq-layout > div:first-child { position: sticky; top: 130px; }
.faq-layout > div:first-child p { color: var(--muted); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { list-style: none; cursor: pointer; position: relative; padding: 23px 45px 23px 0; color: var(--navy); font-weight: 800; font-size: 1.05rem; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 4px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 1.35rem; }
.accordion details[open] summary::after { content: "−"; }
.accordion details p { margin: -7px 0 24px; padding-right: 45px; color: var(--muted); }

.final-cta { padding: 78px 0; background: linear-gradient(115deg, var(--navy-deep), var(--navy) 62%, #123a71); color: white; }
.final-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 45px; }
.final-cta h2 { max-width: 750px; margin: 10px 0; color: white; font-size: clamp(2.1rem,4vw,3.8rem); line-height: 1.07; letter-spacing: -.04em; }
.final-cta p { margin: 0; color: rgba(255,255,255,.72); }

.site-footer { padding: 65px 0 25px; background: #0b142f; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 45px; }
.footer-brand img { width: 210px; max-width: 100%; height: auto; object-fit: contain; padding: 8px; border-radius: 12px; background: white; }
.footer-brand p { color: rgba(255,255,255,.58); }
.footer-grid h2 { margin: 0 0 14px; font-size: .78rem; color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; }
.footer-grid > div:not(.footer-brand) a { display: block; color: rgba(255,255,255,.75); font-size: .9rem; margin: 7px 0; }
.footer-grid a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.5); font-size: .82rem; }
.footer-credit a { color: white; font-weight: 800; }
.footer-credit a:hover { color: var(--yellow); }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 9px; padding: 9px 15px 9px 9px; border-radius: 999px; background: #1eaf5d; color: white; box-shadow: 0 15px 35px rgba(16,116,59,.3); font-size: .82rem; }
.floating-whatsapp span { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.17); font-size: .67rem; font-weight: 900; }

@media (max-width: 980px) {
  .main-nav { position: fixed; inset: 88px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 20px 25px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 35px rgba(23,37,84,.12); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 5px; }
  .main-nav .button { margin-top: 10px; }
  .menu-toggle { display: block; }
  .hero { min-height: 650px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(9,20,55,.96), rgba(9,20,55,.72)); }
  .two-column, .program-layout, .faq-layout { grid-template-columns: 1fr; gap: 36px; }
  .program-copy, .faq-layout > div:first-child { position: static; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .enrolment-card { grid-template-columns: .8fr 1.2fr; gap: 35px; padding: 35px; }
  .location-card address { min-height: auto; }
  .press-card { grid-template-columns: 150px 1fr; gap: 30px; padding: 40px; }
  .press-mark { width: 145px; font-size: 1.2rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 72px 0; }
  .site-header { height: 76px; }
  .brand img { width: 46px; height: 46px; }
  .main-nav { top: 76px; }
  .hero { min-height: 680px; align-items: flex-end; }
  .hero-media { background-position: 57% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(9,20,55,.98) 0%, rgba(9,20,55,.80) 62%, rgba(9,20,55,.45) 100%); }
  .hero-content { padding-top: 150px; padding-bottom: 55px; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
  .hero p { font-size: 1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-points { gap: 6px; }
  .hero-points span { font-size: .75rem; }
  .two-column { gap: 20px; }
  .stats-grid, .feature-grid, .facility-grid { grid-template-columns: 1fr; }
  .stats-grid { margin-top: 35px; }
  .feature-card { min-height: auto; }
  .program-cards article { padding: 27px; }
  .gallery-layout { grid-template-columns: 1fr; }
  .gallery-main img { min-height: 430px; border-radius: 20px; }
  .gallery-side { padding: 16px 0 0; }
  .gallery-side img { border-radius: 20px 20px 0 0; }
  .press-card { grid-template-columns: 1fr; padding: 30px; }
  .enrolment-card { grid-template-columns: 1fr; padding: 24px; }
  .enrolment-card > img { max-width: 100%; }
  .enrolment-list { grid-template-columns: 1fr; }
  .press-mark { width: 115px; }
  .faq-layout { gap: 22px; }
  .final-cta-inner { align-items: stretch; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; gap: 15px; flex-direction: column; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

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