:root {
  --blue: #0757c9;
  --blue-deep: #073b92;
  --yellow: #ffbf00;
  --green: #14964d;
  --red: #ed2739;
  --ink: #0b2b63;
  --muted: #536681;
  --paper: #ffffff;
  --soft: #f5f9ff;
  --cream: #fff9df;
  --shadow: 0 18px 55px rgba(7, 59, 146, .13);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 "Nunito", sans-serif; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: "Baloo 2", sans-serif; }

.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: .7rem clamp(1rem, 5vw, 5rem); border-bottom: 1px solid #dce8f7; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1; }
.brand-sun { color: var(--yellow); font-size: 2.7rem; line-height: 1; filter: drop-shadow(0 3px 0 rgba(255,191,0,.2)); }
.brand-copy strong { display: block; font: 800 clamp(1.25rem, 2vw, 1.65rem)/.95 "Baloo 2", sans-serif; color: var(--blue); }
.brand-copy em { color: var(--red); font-style: normal; }
.brand-copy small { display: block; margin-top: .2rem; color: var(--blue-deep); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.4rem); font-weight: 800; }
nav a { position: relative; padding: .55rem 0; text-decoration: none; }
nav a::after { content: ""; position: absolute; right: 0; bottom: .15rem; left: 0; height: 4px; border-radius: 999px; background: var(--yellow); transform: scaleX(0); transition: transform .2s ease; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.menu-button { display: none; min-height: 44px; padding: .65rem 1rem; border: 0; border-radius: 999px; color: white; background: var(--blue); font-weight: 900; }

.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr); align-items: center; min-height: 700px; padding: clamp(3.5rem, 7vw, 7rem) max(1.25rem, calc((100vw - 1440px) / 2)); background: white; }
.hero-copy { z-index: 2; max-width: 670px; padding-left: clamp(0rem, 2vw, 2rem); }
.hero-kicker, .section-label { margin: 0 0 .35rem; color: var(--red); font-size: .85rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; color: var(--blue); font-size: clamp(4rem, 7vw, 7.4rem); line-height: .78; letter-spacing: -.055em; }
.hero-slogan { margin: 2rem 0 1.2rem; font: 800 clamp(1.75rem, 3.3vw, 3.35rem)/1.02 "Baloo 2", sans-serif; letter-spacing: -.025em; }
.hero-slogan span { color: var(--blue-deep); }
.hero-slogan strong { color: var(--green); }
.hero-age { margin: 0 0 1.6rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .82rem 1.4rem; border: 0; border-radius: 13px; text-decoration: none; font-weight: 900; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,59,146,.17); }
.button-primary { color: white; background: linear-gradient(135deg, #0b67df, var(--blue)); }
.button-outline { color: var(--blue); background: white; box-shadow: inset 0 0 0 2px var(--blue); }
.text-link { padding: .55rem .3rem; color: var(--blue); font-weight: 900; text-underline-offset: .3rem; }
.hero-visual { align-self: stretch; min-height: 600px; }
.illustration-frame { position: relative; overflow: hidden; margin: 0; }
.hero-visual { border-radius: 46% 0 0 46% / 48% 0 0 52%; }
.illustration-frame img { height: 100%; object-fit: cover; }
.hero-visual img { object-position: 58% center; }
.illustration-frame figcaption { position: absolute; right: 1rem; bottom: 1rem; padding: .35rem .65rem; border-radius: 999px; color: #334967; background: rgba(255,255,255,.88); font-size: .75rem; font-weight: 800; }
.shape { position: absolute; z-index: -1; border-radius: 50%; }
.shape-yellow { top: -80px; right: 110px; width: 180px; height: 180px; background: var(--yellow); }
.shape-green { top: -105px; right: 0; width: 205px; height: 205px; background: var(--green); }
.shape-red { top: 15px; right: 0; width: 150px; height: 150px; background: var(--red); }

.quick-info { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1500px; margin: -26px auto 0; padding: 2rem clamp(1.2rem, 4vw, 4rem); border-radius: 26px; color: white; background: linear-gradient(110deg, #0867d9, #004bad); box-shadow: var(--shadow); }
.quick-info article { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 94px; padding: .4rem clamp(.8rem, 2.4vw, 2.2rem); }
.quick-info article + article { border-left: 1px solid rgba(255,255,255,.42); }
.quick-info p { display: grid; gap: .15rem; margin: 0; }
.quick-info strong { font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.quick-info small { font-size: .92rem; }
.info-icon { display: grid; place-items: center; width: 60px; height: 60px; flex: 0 0 auto; border: 3px solid white; border-radius: 50%; font-size: 1.4rem; }
.info-icon.clock { font-size: 2.3rem; }

.section-shell { max-width: 1440px; margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); }
.admissions-meals { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.feature-column { padding: clamp(1rem, 4vw, 3.5rem); }
.feature-column + .feature-column { border-left: 1px solid #bfd2ea; }
.feature-column h2, .about h2, .gallery-heading h2, .registration h2, .contact h2 { margin: 0; color: var(--blue); font-size: clamp(2.7rem, 5vw, 5rem); line-height: .95; letter-spacing: -.035em; }
.feature-column > p:not(.section-label) { max-width: 560px; font-size: 1.08rem; }
.fee-card { display: grid; place-items: center; min-height: 250px; margin: 1.7rem 0; padding: 2rem; border-radius: 34px; background: linear-gradient(135deg, #fff7cd, #fffcef); box-shadow: inset 0 0 0 1px rgba(255,191,0,.22); }
.fee-card strong { color: var(--yellow); font: 800 clamp(5rem, 11vw, 9rem)/.75 "Baloo 2", sans-serif; text-shadow: 0 4px 0 rgba(214,153,0,.12); }
.fee-card span { color: var(--blue); font: 800 clamp(1.45rem, 3vw, 2.4rem)/1 "Baloo 2", sans-serif; }
.meal-art { display: flex; align-items: center; justify-content: center; min-height: 250px; margin: 1.7rem 0; border-radius: 34px; background: linear-gradient(135deg, #eef8ff, #fff9d8); font-size: clamp(3.5rem, 8vw, 7rem); }
.meal-art span { filter: drop-shadow(0 10px 10px rgba(7,59,146,.12)); }
.meal-art span:nth-child(2) { margin: 4rem -1.6rem 0 -2rem; font-size: .55em; transform: rotate(-12deg); }
.meal-art span:nth-child(3) { font-size: .6em; }
.meal-lead { color: var(--blue); font: 800 clamp(1.45rem, 2.4vw, 2rem)/1.15 "Baloo 2", sans-serif; }

.about { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(2rem, 7vw, 7rem); border-radius: 44px; background: var(--soft); }
.about-copy > p { margin-top: 0; font-size: 1.12rem; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.values article { padding: 1.2rem; border-radius: 20px; background: white; box-shadow: 0 8px 25px rgba(7,59,146,.07); }
.values article > span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; color: var(--blue); background: #fff4bd; font-size: 1.25rem; }
.values h3 { margin: .85rem 0 .25rem; color: var(--blue); font-size: 1.25rem; }
.values p { margin: 0; font-size: .92rem; }

.gallery-section { margin-top: clamp(5rem, 8vw, 8rem); padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem); color: white; background: var(--blue-deep); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; max-width: 1440px; margin: 0 auto 2rem; }
.gallery-heading h2 { color: white; }
.gallery-heading .section-label { color: var(--yellow); }
.gallery-intro { max-width: 590px; margin: .6rem 0 0; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .55rem; }
.filter { min-height: 44px; padding: .62rem 1rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; color: white; background: transparent; font-weight: 900; cursor: pointer; }
.filter:hover, .filter:focus-visible, .filter.is-active { color: var(--blue-deep); background: var(--yellow); border-color: var(--yellow); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 270px; gap: .9rem; max-width: 1440px; margin: 0 auto; }
.gallery-card { position: relative; overflow: hidden; margin: 0; border-radius: 20px; cursor: zoom-in; transition: transform .22s ease; }
.gallery-card:hover { transform: translateY(-4px); }
.gallery-card.wide { grid-column: span 2; }
.gallery-card.tall { grid-row: span 2; }
.gallery-card img { height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card figcaption { position: absolute; inset: auto 0 0; padding: 2.6rem 1rem .9rem; background: linear-gradient(transparent, rgba(4,28,72,.88)); font-weight: 800; }
.gallery-card.is-hidden { display: none; }

.registration { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 7vw, 6rem); }
.registration-intro > p:not(.section-label) { max-width: 580px; font-size: 1.08rem; }
.registration-note { display: grid; gap: .3rem; margin-top: 1.4rem; padding: 1rem 1.1rem; border-left: 5px solid var(--yellow); border-radius: 0 16px 16px 0; background: var(--cream); }
.registration-note strong { color: var(--red); }
.registration-note span { color: var(--muted); font-size: .9rem; }
.registration-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.2rem, 3vw, 2.4rem); border: 1px solid #d5e3f2; border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field-wide { grid-column: 1 / -1; }
.form-field label { font-weight: 900; }
.form-field label span { color: var(--muted); font-weight: 600; }
.form-field input, .form-field textarea { width: 100%; min-height: 50px; padding: .78rem .9rem; border: 2px solid #c8d9ec; border-radius: 12px; color: var(--ink); background: #fbfdff; }
.form-field textarea { min-height: 115px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus { outline: 3px solid rgba(255,191,0,.38); border-color: var(--blue); }
.age-field { margin: 0; padding: 1rem; border: 2px solid #d5e3f2; border-radius: 16px; }
.age-field legend { padding: 0 .35rem; font-weight: 900; }
.age-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.age-inputs label { display: grid; gap: .4rem; }
.age-inputs label span { color: var(--ink); }
.age-field small { margin-top: .5rem; color: var(--muted); font-weight: 700; }
.button-whatsapp { gap: .65rem; color: white; background: var(--green); }
.button-whatsapp span, .whatsapp-float span { display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid currentColor; border-radius: 50%; font-size: .68rem; font-weight: 900; }
.form-help, .form-status { margin: -.2rem 0 0; color: var(--muted); font-size: .88rem; }
.form-status { min-height: 1.3rem; color: var(--green); font-weight: 800; }

.contact { position: relative; display: grid; grid-template-columns: .72fr 1.28fr; align-items: stretch; min-height: 680px; background: linear-gradient(135deg, #f9fcff, #ebf8ff); }
.contact-card { z-index: 2; align-self: center; max-width: 620px; margin: 4rem -3rem 4rem max(1.25rem, calc((100vw - 1440px) / 2)); padding: clamp(2rem, 4vw, 4rem); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.contact address { margin: 1.3rem 0; font-style: normal; font-size: 1.2rem; font-weight: 700; }
.contact-email, footer a { color: var(--blue); font-weight: 800; overflow-wrap: anywhere; }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.contact-visual { min-height: 680px; border-radius: 45% 0 0 0 / 34% 0 0 0; }
.contact-visual img { object-position: 56% center; }

footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 5vw, 5rem); border-top: 1px solid #dce8f7; background: white; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 0 0 .25rem; }
.footer-slogan { margin: 0; color: var(--blue); font: 800 clamp(1rem, 2vw, 1.35rem)/1.25 "Baloo 2", sans-serif; text-align: center; }
.footer-slogan strong { color: var(--green); }
.footer-address { max-width: 320px; margin: 0; color: var(--muted); font-size: .9rem; text-align: right; }
.whatsapp-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 35; display: inline-flex; align-items: center; gap: .55rem; min-height: 54px; padding: .55rem 1rem .55rem .65rem; border: 3px solid white; border-radius: 999px; color: white; background: var(--green); text-decoration: none; box-shadow: 0 12px 35px rgba(12,94,50,.3); }

.lightbox { position: fixed; inset: 0; width: min(94vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: 24px; color: white; background: #071d49; box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.lightbox::backdrop { background: rgba(4,15,36,.88); backdrop-filter: blur(6px); }
.lightbox img { max-height: 82vh; object-fit: contain; background: #041126; }
.lightbox p { margin: 0; padding: .8rem 1.2rem; text-align: center; font-weight: 800; }
.lightbox-close { position: absolute; top: .7rem; right: .7rem; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--blue-deep); background: white; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 760px; padding: 0 clamp(1.25rem, 5vw, 4rem) 3rem; }
  .hero-visual { min-height: 540px; margin-left: clamp(1.25rem, 5vw, 4rem); border-radius: 44% 0 0 10% / 44% 0 0 10%; }
  .quick-info { margin-top: 0; border-radius: 0; }
  .about { margin-right: 1.25rem; margin-left: 1.25rem; }
  .values { grid-template-columns: 1fr; }
  .registration { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-card { margin: 4rem auto -2rem; }
  .contact-visual { min-height: 560px; margin-left: 1.25rem; border-radius: 40px 0 0 0; }
  footer { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-address { text-align: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .site-header { min-height: 72px; }
  .brand-sun { font-size: 2.15rem; }
  .brand-copy strong { font-size: 1.2rem; }
  .menu-button { display: block; }
  nav { position: absolute; top: calc(100% + .5rem); right: 1rem; left: 1rem; display: none; flex-direction: column; align-items: stretch; gap: .15rem; padding: .8rem; border: 1px solid #dce8f7; border-radius: 18px; background: white; box-shadow: var(--shadow); }
  nav.is-open { display: flex; }
  nav a { padding: .75rem; }
  .hero { min-height: 0; padding-right: 0; padding-left: 0; }
  h1 { font-size: clamp(3.8rem, 19vw, 5.5rem); }
  .hero-slogan { font-size: clamp(1.85rem, 9vw, 2.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .hero-visual { min-height: 410px; margin-left: 1rem; }
  .shape { display: none; }
  .quick-info { grid-template-columns: 1fr; padding: 1rem 1.25rem; }
  .quick-info article { justify-content: flex-start; min-height: 82px; }
  .quick-info article + article { border-top: 1px solid rgba(255,255,255,.38); border-left: 0; }
  .info-icon { width: 50px; height: 50px; }
  .admissions-meals { grid-template-columns: 1fr; padding-right: 1.25rem; padding-left: 1.25rem; }
  .feature-column { padding: 2rem 0; }
  .feature-column + .feature-column { border-top: 1px solid #bfd2ea; border-left: 0; }
  .fee-card, .meal-art { min-height: 210px; }
  .about { grid-template-columns: 1fr; padding: 3rem 1.25rem; border-radius: 30px; }
  .gallery-section { padding: 5rem .75rem; }
  .gallery-heading { align-items: flex-start; flex-direction: column; padding: 0 .45rem; }
  .filters { justify-content: flex-start; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 205px; gap: .6rem; }
  .gallery-card.wide { grid-column: span 2; }
  .registration { padding: 5rem 1.2rem; }
  .registration-form { grid-template-columns: 1fr; }
  .form-field { grid-column: 1; }
  .age-inputs { grid-template-columns: 1fr 1fr; }
  .contact { padding: 4rem 0 0; }
  .contact-card { margin: 0 1rem -1.5rem; padding: 2rem 1.25rem; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-visual { min-height: 430px; margin-left: .75rem; }
  .whatsapp-float strong { display: none; }
  .whatsapp-float { padding: .55rem; }
}

@media (max-width: 430px) {
  .gallery-grid { grid-auto-rows: 180px; }
  .gallery-card:not(.wide) { grid-column: span 1; }
  .gallery-card.tall { grid-row: span 2; }
}

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