:root {
  --navy: #102969;
  --navy-deep: #0a1d4c;
  --blue: #2553b5;
  --red: #d92d51;
  --red-dark: #ba2042;
  --ink: #1a2a4f;
  --muted: #5b6884;
  --ice: #edf3ff;
  --line: #dbe5f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font: 400 16px/1.6 Inter, Arial, sans-serif; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: Inter, Arial, sans-serif; }
h2 { font-size: clamp(2.4rem, 4.3vw, 4.4rem); line-height: 1.09; letter-spacing: -.045em; color: var(--navy-deep); }
h3 { line-height: 1.2; letter-spacing: -.025em; }
p { color: var(--muted); }
section { scroll-margin-top: 88px; }
.wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
::selection { color: #fff; background: var(--blue); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); text-transform: uppercase; font: 800 12px/1.4 Inter, sans-serif; letter-spacing: .12em; }
.eyebrow:before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow.light { color: #ffc5d2; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 14px 24px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; font: 800 15px/1.2 Inter, sans-serif; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover, .nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #0d245038; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-outline { border-color: #a7b8d9; background: #fff; color: var(--navy); }
.btn-blue { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--red-dark); font-weight: 800; border-bottom: 2px solid currentColor; padding-bottom: 3px; }
.text-link.light-link { color: #fff; }

.utility-bar { background: #0b1e51; color: #dce6ff; font-size: 12px; font-weight: 700; }
.utility-inner { min-height: 31px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.utility-inner a:hover { text-decoration: underline; }
.header { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; box-shadow: 0 9px 24px #071b4a22; }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-lockup { display: flex; align-items: center; gap: 8px; flex: none; padding: 5px 10px; border-radius: 15px; background: #fff; box-shadow: 0 5px 15px #07183a30; }
.header-lockup a { display: block; line-height: 0; }
.header-lockup img { width: 63px; height: 63px; object-fit: contain; }
.logo-divider { width: 1px; height: 42px; margin: 0 4px; background: #c4d2eb; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.brand-crest { display: block; flex: 0 0 75px; width: 75px; height: 75px; border-radius: 50%; background: #fff url('assets/logo-oficial-iesm.png') no-repeat -114px -135px; background-size: 300px 375px; }
.brand-type strong { display: block; font: 800 21px/1 Inter, sans-serif; letter-spacing: -.02em; color: #fff; }
.brand-type small { display: block; max-width: 155px; margin-top: 4px; font: 600 10px/1.25 Inter, sans-serif; color: #d6e3ff; }
.nav { display: flex; align-items: center; gap: 21px; }
.nav>a:not(.nav-cta) { font-size: 13px; font-weight: 700; white-space: nowrap; color: #e8efff; }
.nav>a:not(.nav-cta):hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 13px 19px; border-radius: 999px; background: var(--red); color: #fff; font: 800 14px/1.2 Inter, sans-serif; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.nav-cta span { margin-left: 6px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid #a8b9e677; border-radius: 12px; background: transparent; color: #fff; font-size: 24px; line-height: 1; }

.hero { background: radial-gradient(circle at 3% 8%, #ffeef2, transparent 32%), #f4f7ff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.07fr; gap: 34px; align-items: stretch; }
.hero-copy { padding: 82px 0 79px; align-self: center; position: relative; z-index: 4; }
.hero h1 { max-width: 610px; margin: 17px 0 25px; color: var(--navy-deep); font: 800 clamp(3.4rem, 5.25vw, 5.65rem)/1.01 Inter, sans-serif; letter-spacing: -.053em; }
.hero h1 span { color: var(--red); }
.hero-copy>p { max-width: 555px; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 31px; }
.hero-foot { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 45px; padding-top: 15px; border-top: 1px solid #b5c6e2; color: #4e628b; font-size: 13px; font-weight: 800; }
.hero-foot span+span:before { content: "•"; color: var(--red); margin-right: 24px; }
.hero-visual { position: relative; min-height: 645px; }
.hero-canvas { position: absolute; inset: 36px 15px 35px 32px; overflow: hidden; border-radius: 44px 44px 38px 142px; background: linear-gradient(145deg, #315cbb, #102b75 71%); }
.hero-canvas:before { content: ""; position: absolute; width: 44%; height: 100%; right: 0; top: 0; background: #e33759; clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%); }
.hero-canvas:after { content: ""; position: absolute; width: 410px; height: 410px; left: -160px; top: -230px; border: 55px solid #ffffff18; border-radius: 50%; }
.canvas-word { position: absolute; bottom: 75px; left: 65px; color: transparent; -webkit-text-stroke: 2px #ffffff3a; font: 800 150px/1 Inter, sans-serif; letter-spacing: -.1em; }
.canvas-line { position: absolute; display: block; width: 180px; height: 3px; background: #ffffffa8; transform: rotate(-18deg); }
.line-one { top: 125px; left: -42px; }
.line-two { top: 144px; left: -42px; opacity: .55; }
.hero-students { position: absolute; z-index: 2; width: 105%; max-width: none; height: auto; object-fit: contain; right: -5%; bottom: 35px; filter: drop-shadow(0 17px 21px #0a1d502e); }
.hero-card { position: absolute; z-index: 3; bottom: 18px; left: 0; width: 268px; padding: 19px 22px 19px; border-radius: 20px; background: #fff; color: var(--navy); box-shadow: 0 16px 34px #091c4960; transform: rotate(-3deg); }
.hero-card-mark { color: var(--red); font-size: 23px; line-height: 1; }
.hero-card strong { display: block; margin-top: 4px; font: 800 19px/1.15 Inter, sans-serif; }
.hero-card small { display: block; margin-top: 7px; font-size: 12px; font-weight: 700; color: var(--muted); }
.hero-vertical { position: absolute; top: 73px; right: 26px; z-index: 3; writing-mode: vertical-rl; color: #fff; font: 800 10px/1 Inter, sans-serif; letter-spacing: .15em; }
.stage-rail { background: var(--red); color: #fff; }
.stage-rail-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 800 17px/1.2 Inter, sans-serif; }
.stage-rail-inner span:nth-child(even) { font-size: 14px; opacity: .7; }

.school-story { position: relative; overflow: hidden; padding: 82px 0 42px; background: linear-gradient(165deg, #eaf1ff, #dce9ff); }
.school-story:before { content: ""; position: absolute; top: -190px; right: -170px; width: 390px; height: 390px; border: 54px solid #d92d5114; border-radius: 50%; }
.school-story-grid { position: relative; display: grid; grid-template-columns: .94fr 1.06fr; gap: 65px; align-items: center; }
.school-story-copy { padding: 25px 0; }
.school-story h2 { margin: 16px 0 25px; max-width: 620px; }
.school-story-copy>p { max-width: 555px; color: #475978; font-size: 17px; line-height: 1.75; }
.school-story-copy>.school-spaces { margin-top: 20px; padding-left: 16px; border-left: 3px solid var(--red); color: var(--navy); font-size: 15px; line-height: 1.6; }
.school-values { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0 28px; }
.school-values span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; background: #fff; border: 1px solid #cfdef4; border-radius: 99px; color: var(--navy); font-size: 13px; font-weight: 800; }
.school-values span:before { content: ""; display: block; width: 7px; height: 7px; flex: 0 0 7px; background: var(--red); border-radius: 50%; }
.school-gallery { position: relative; min-height: 550px; }
.school-photo { position: absolute; overflow: hidden; margin: 0; border: 8px solid #fff; background: var(--navy); box-shadow: 0 18px 36px #0b265137; }
.school-photo img { width: 100%; height: 100%; object-fit: cover; }
.school-photo figcaption { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 7px 11px; border-radius: 7px; color: var(--navy); background: #fff; font-size: 12px; font-weight: 800; line-height: 1.25; }
.school-photo-main { left: 0; top: 0; width: 72%; height: 302px; border-radius: 30px 30px 86px 30px; }
.school-photo-main img { object-position: 60% center; }
.school-photo-small { right: 0; bottom: 0; width: 75%; height: 304px; border-radius: 28px; transform: rotate(2deg); }
.school-years { position: absolute; top: 0; right: 0; width: 185px; height: 155px; display: flex; flex-direction: column; justify-content: center; padding: 16px 23px; border-radius: 18px 18px 70px 18px; background: var(--red); color: #fff; box-shadow: 8px 8px 0 #ffffffc9; }
.school-years strong { font: 800 77px/.9 Inter, sans-serif; letter-spacing: -.07em; }
.school-years span { margin-top: 5px; font-size: 13px; font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .05em; }

.learning { padding: 62px 0 92px; border-top: 7px solid var(--red); background: #1b4b9a; }
.learning .section-heading-row h2 { color: #fff; }
.learning .section-heading-row>p { color: #e3ecff; }
.learning .eyebrow { color: #ffd1dc; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 55px; }
.section-heading-row>div { max-width: 690px; }
.section-heading-row h2 { margin-top: 12px; }
.section-heading-row>p { max-width: 355px; margin-bottom: 6px; font-size: 17px; }
.learning-baby { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 440px; margin-top: 44px; overflow: hidden; border-radius: 26px; background: #102f7c; color: #fff; box-shadow: 0 19px 33px #19335f2e; }
.learning-baby-mark { display: grid; place-items: center; min-height: 440px; padding: 42px; background: #f0f4ff; }
.learning-baby-mark img { display: block; width: min(100%, 310px); height: auto; object-fit: contain; }
.learning-baby-copy { align-self: center; padding: 43px 50px 46px; }
.baby-kicker { display: inline-block; padding: 8px 12px; border-radius: 99px; color: #a7163d; background: #ffdae3; text-transform: uppercase; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; }
.learning-baby h3 { max-width: 570px; margin: 17px 0 15px; color: #fff; font-size: clamp(2.1rem, 3vw, 3.35rem); line-height: 1.08; letter-spacing: -.048em; }
.learning-baby p { max-width: 550px; color: #e0e8ff; font-size: 16px; }
.learning-baby ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 26px; padding: 0; list-style: none; }
.learning-baby li { padding: 7px 10px; border: 1px solid #ffffff5c; border-radius: 7px; color: #fff; font-size: 12px; font-weight: 700; line-height: 1.2; }
.learning-baby + .learning-grid { margin-top: 22px; }
.learning-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 19px; margin-top: 44px; }
.learning-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 16px 30px #19335f1b; transition: transform .2s, box-shadow .2s; }
.learning-card:hover { transform: translateY(-5px); box-shadow: 0 23px 39px #19335f29; }
.learning-photo { height: 235px; position: relative; overflow: hidden; }
.learning-photo img { width: 100%; height: 100%; object-fit: cover; }
.learning-photo:after { content: ""; position: absolute; bottom: -1px; left: -4%; right: -4%; height: 23px; background: var(--red); border-radius: 55% 45% 0 0 / 100% 100% 0 0; }
.learning-card:nth-child(2) .learning-photo:after { background: var(--navy); }
.learning-body { display: flex; flex-direction: column; flex: 1; padding: 26px 27px 29px; }
.learning-tag { align-self: flex-start; padding: 8px 11px; border-radius: 999px; background: #edf3ff; color: var(--navy); text-transform: uppercase; font-size: 12px; font-weight: 800; line-height: 1.2; letter-spacing: .04em; }
.learning-card h3 { margin: 17px 0 17px; color: var(--navy-deep); font-size: clamp(1.45rem, 1.85vw, 1.75rem); }
.learning-card ul { padding-left: 20px; margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.learning-card li { margin: 8px 0; }
.learning-card li::marker { color: var(--red); }
.learning-card a { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: auto; color: var(--red-dark); font-size: 14px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.learning-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 23px; padding: 23px 28px; background: #fff; border-radius: 17px; }
.learning-cta p { color: var(--ink); font-weight: 800; }

.parent-note { padding: 93px 0; background: #d92d51; }
.parent-note-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 100px; align-items: center; }
.family-art { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; min-height: 490px; padding: 43px; overflow: hidden; border-radius: 30px 30px 140px 30px; background: var(--navy); color: #fff; box-shadow: 15px 15px 0 #ffffff42; }
.family-art:before { content: ""; position: absolute; z-index: -1; width: 430px; height: 430px; border: 65px solid #ffffff25; border-radius: 50%; right: -210px; bottom: -155px; }
.family-label { font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.family-art strong { max-width: 430px; font: 800 clamp(3rem, 5vw, 5.6rem)/.98 Inter, sans-serif; letter-spacing: -.048em; }
.family-lines { width: 105px; height: 22px; border-top: 3px solid #fff; border-bottom: 3px solid #fff; transform: rotate(-18deg); }
.family-copy h2 { margin: 13px 0 22px; }
.family-copy p { max-width: 500px; margin-bottom: 27px; font-size: 17px; line-height: 1.75; }
.family-copy h2, .family-copy p { color: #fff; }
.family-copy .eyebrow { color: #fff; }

.mascot { padding: 82px 0; background: #e7efff; }
.mascot-panel { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; min-height: 530px; border-radius: 34px; background: #132f83; color: #fff; }
.mascot-panel:before { content: ""; position: absolute; right: -170px; bottom: -300px; width: 650px; height: 650px; border: 90px solid #ffffff0b; border-radius: 50%; }
.mascot-copy { position: relative; z-index: 2; padding: 80px 45px 77px 70px; align-self: center; }
.mascot-copy h2 { max-width: 580px; margin: 15px 0 20px; color: #fff; }
.mascot-copy p { max-width: 510px; margin-bottom: 28px; color: #dbe5ff; font-size: 17px; }
.mascot-visual { position: relative; z-index: 1; display: grid; place-items: center; padding: 28px 45px; }
.mascot-visual:before { content: ""; position: absolute; inset: 35px 45px 30px; border-radius: 170px 170px 24px 24px; background: #3262ca; }
.mascot-visual img { position: relative; width: auto; height: 470px; border-radius: 130px 130px 16px 16px; object-fit: contain; box-shadow: 0 16px 30px #061b5880; }
.mascot-caption { position: absolute; z-index: 3; right: 24px; bottom: 35px; padding: 12px 15px; transform: rotate(-6deg); background: #fff; color: var(--navy); border-radius: 8px; font: 800 16px/1.2 Inter, sans-serif; box-shadow: 5px 5px 0 var(--red); }

.facilities { padding: 105px 0; background: #102969; color: #fff; }
.facilities h2 { color: #fff; }
.facilities .section-heading-row>p { color: #dce6ff; }
.spaces-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 42px; }
.space-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: stretch; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: 0 18px 38px #07183a55; }
.space-photo { display: grid; place-items: center; min-height: 260px; padding: 20px; background: #e4edff; }
.space-photo img { display: block; width: 100%; height: auto; max-height: 215px; object-fit: contain; border-radius: 9px; box-shadow: 0 8px 18px #12295b20; filter: brightness(1.035) contrast(1.045); }
.space-copy { align-self: center; padding: 25px 25px 27px; }
.space-copy span { color: var(--red-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.space-copy h3 { margin: 8px 0 9px; color: var(--navy-deep); font-size: clamp(1.65rem, 2.5vw, 2.2rem); }
.space-copy p { max-width: 480px; font-size: 16px; line-height: 1.55; }

.extras { position: relative; isolation: isolate; padding: 92px 0 98px; overflow: hidden; background: #f6f9ff; }
.extras:before, .extras:after { content: ""; position: absolute; inset: 0 0 0 53%; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.extras:before { background: var(--red); transform: translateX(-16px); }
.extras:after { background: var(--navy); }
.extras-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 55px; align-items: center; }
.extras-copy h2 { max-width: 640px; margin: 16px 0 17px; }
.extras-copy>p { max-width: 565px; font-size: 17px; line-height: 1.7; }
.extras-list { margin: 30px 0 27px; border-top: 1px solid #b7cae9; }
.extras-list article { display: grid; grid-template-columns: 48px 1fr; gap: 17px; padding: 18px 0; border-bottom: 1px solid #b7cae9; }
.extras-index { padding-top: 6px; color: var(--red); font-size: 18px; font-weight: 800; }
.extras-list article:nth-child(2) .extras-index { color: var(--blue); }
.extras-list h3 { color: var(--navy-deep); font-size: 26px; }
.extras-list p { margin-top: 5px; font-size: 15px; line-height: 1.55; }
.extras-visual { position: relative; min-height: 540px; }
.extras-visual:before { content: ""; position: absolute; width: 375px; height: 375px; top: 50px; right: 35px; border: 20px solid #ec5b7973; border-radius: 50%; }
.activity-photo { position: absolute; overflow: hidden; margin: 0; border-radius: 50%; background: #dce9ff; box-shadow: 0 18px 35px #10296931; }
.activity-photo img { width: 100%; height: 100%; object-fit: cover; }
.ballet-photo { top: 9px; right: 9px; width: 325px; height: 325px; border: 9px solid #fff; outline: 6px solid var(--red); }
.judo-photo { bottom: 9px; left: 9px; width: 295px; height: 295px; border: 9px solid #fff; outline: 6px solid #2a2c87; }

.faq { padding: 94px 0; background: #e8f0ff; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.faq h2 { margin: 13px 0 19px; }
.faq-grid>div:first-child>p { max-width: 420px; font-size: 17px; }
.faq-list { border-top: 1px solid #cad6ea; }
.faq-list details { border-bottom: 1px solid #cad6ea; padding: 20px 0; }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; list-style: none; cursor: pointer; color: var(--navy-deep); font: 700 19px/1.3 Inter, sans-serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:after { content: "+"; color: var(--red); font-size: 29px; line-height: .8; }
.faq-list details[open] summary:after { content: "−"; }
.faq-list details p { margin: 12px 30px 0 0; font-size: 15px; }

.lead-section { position: relative; overflow: hidden; padding: 104px 0; color: #fff; background: linear-gradient(125deg, #0a1e53, #173b96); }
.lead-section:before { content: ""; position: absolute; right: -140px; top: -230px; width: 480px; height: 480px; border: 75px solid #e3375936; border-radius: 50%; }
.lead-grid { position: relative; display: grid; grid-template-columns: 1fr .86fr; gap: 90px; align-items: center; }
.lead-copy h2 { max-width: 610px; margin: 14px 0 22px; color: #fff; }
.lead-copy p { max-width: 510px; color: #d8e4ff; font-size: 17px; }
.lead-contact { display: flex; flex-direction: column; gap: 8px; margin-top: 42px; padding-top: 19px; border-top: 1px solid #ffffff4f; }
.lead-contact span { color: #c2d0f4; font-size: 14px; }
.lead-contact a { color: #fff; font-size: 20px; font-weight: 800; }
.lead-form { padding: 34px; border-top: 8px solid var(--red); border-radius: 25px; background: #fff; color: var(--ink); box-shadow: 0 24px 48px #06133e55; }
.lead-form h3 { color: var(--navy-deep); font-size: 31px; }
.lead-form>p { margin: 2px 0 22px; font-size: 14px; }
.lead-form label { display: block; margin-bottom: 6px; color: #354464; font-size: 14px; font-weight: 800; }
.lead-form input, .lead-form select { width: 100%; height: 49px; margin-bottom: 16px; padding: 0 13px; border: 1px solid #cbd7e9; border-radius: 11px; background: #f8faff; color: var(--ink); font-size: 16px; }
.lead-form input::placeholder { color: #8a96aa; }
.lead-form .btn { width: 100%; margin-top: 4px; }

.location { padding: 104px 0 111px; background: #e8f0ff; }
.location-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 78px; align-items: center; }
.location h2 { margin: 12px 0 24px; font-size: clamp(2.3rem, 3.6vw, 3.75rem); }
.location address { margin-bottom: 25px; color: var(--muted); font-size: 17px; font-style: normal; line-height: 1.7; }
.location iframe { width: 100%; height: 415px; border: 5px solid var(--blue); border-radius: 23px; background: #e2eaf9; box-shadow: 15px 15px 0 #edb6c4; }
.location-social { display: flex; flex-direction: column; gap: 5px; margin-top: 25px; color: var(--navy); font-weight: 800; }
.location-social a:hover { text-decoration: underline; }
footer { padding: 29px 0; color: #d4dff9; background: #081842; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
footer p, footer a { color: #d4dff9; font-size: 13px; }
footer a:hover { text-decoration: underline; }
footer .brand-type strong { color: #fff; }
footer .brand-type small { color: #c4d2ef; }
.floating-whatsapp { position: fixed; z-index: 60; right: 24px; bottom: 24px; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 8px 24px #3b103070; transition: transform .18s; }
.floating-whatsapp:hover { transform: scale(1.06); }
.floating-whatsapp svg { width: 31px; height: 31px; fill: currentColor; }

@media (max-width: 1120px) {
  .nav { gap: 13px; }
  .nav>a:not(.nav-cta) { font-size: 12px; }
  .brand-type { display: none; }
  .hero h1 { font-size: clamp(3.2rem, 5.3vw, 4.75rem); }
  .lead-grid { gap: 55px; }
  .parent-note-inner { gap: 55px; }
  .school-story-grid { gap: 36px; }
  .school-photo-main { width: 74%; }
}
@media (max-width: 900px) {
  .brand-type { display: block; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 14px 25px 22px; background: var(--navy); box-shadow: 0 18px 28px #071d4e52; }
  .nav.open { display: flex; }
  .nav>a:not(.nav-cta) { padding: 10px 2px; font-size: 16px; }
  .nav-cta { margin-top: 9px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 66px 0 25px; }
  .hero h1 { max-width: 700px; font-size: clamp(3.9rem, 8vw, 5rem); }
  .hero-visual { min-height: 635px; max-width: 700px; width: 100%; margin-inline: auto; }
  .hero-students { width: min(95%, 600px); right: 0; }
  .school-story-grid { grid-template-columns: 1fr; gap: 25px; }
  .school-story-copy { padding: 0; }
  .school-gallery { width: min(680px,100%); margin-inline: auto; }
  .parent-note-inner, .faq-grid, .location-grid { grid-template-columns: 1fr; gap: 42px; }
  .lead-grid { grid-template-columns: minmax(0, 1fr); gap: 42px; }
  .section-heading-row { display: block; }
  .section-heading-row>p { max-width: 650px; margin-top: 18px; }
  .learning-baby { grid-template-columns: 1fr 1fr; }
  .learning-baby-copy { padding: 32px; }
  .learning-baby h3 { font-size: 2.25rem; }
  .learning-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .learning-card:last-child { grid-column: 1/-1; display: grid; grid-template-columns: 1fr 1fr; }
  .learning-card:last-child .learning-photo { height: 100%; min-height: 320px; }
  .mascot-panel { grid-template-columns: 1fr 1fr; }
  .mascot-copy { padding: 60px 15px 60px 40px; }
  .spaces-grid { grid-template-columns: 1fr; gap: 16px; }
  .extras:before, .extras:after { display: none; }
  .extras-layout { grid-template-columns: 1fr; gap: 38px; }
  .extras-visual { width: min(100%, 510px); margin-inline: auto; border-radius: 32px 32px 95px 32px; background: linear-gradient(145deg, var(--navy) 0 84%, var(--red) 84% 100%); }
  .lead-form { max-width: 560px; }
  .location iframe { height: 380px; }
}
@media (max-width: 700px) {
  .wrap { width: min(100% - 36px, 560px); }
  .utility-inner { justify-content: center; text-align: center; }
  .utility-inner a { display: none; }
  .header-inner { min-height: 75px; }
  .brand-crest { width: 65px; height: 65px; flex-basis: 65px; background-size: 260px 325px; background-position: -99px -117px; }
  .header-lockup { gap: 5px; padding: 5px 8px; border-radius: 12px; }
  .header-lockup img { width: 50px; height: 50px; }
  .logo-divider { height: 34px; margin: 0 3px; }
  .brand-type strong { font-size: 17px; }
  .brand-type small { font-size: 9px; }
  .hero-copy { padding: 50px 0 18px; }
  .hero .eyebrow, .school-story .eyebrow { max-width: 100%; font-size: 11px; letter-spacing: .07em; }
  .hero h1 { font-size: clamp(3.25rem, 11vw, 4.15rem); }
  .hero-copy>p { font-size: 16px; }
  .hero-actions { gap: 10px; }
  .hero-foot { margin-top: 29px; font-size: 12px; }
  .hero-foot span+span:before { margin-right: 12px; }
  .hero-visual { min-height: clamp(430px, 100vw, 520px); }
  .hero-canvas { inset: 16px 7px 10px; border-radius: 28px 28px 26px 85px; }
  .hero-canvas:before { width: 45%; height: 100%; top: 0; right: 0; }
  .canvas-word { font-size: 105px; left: 45px; bottom: 58px; }
  .hero-students { width: min(105%, 500px); right: -2%; bottom: 10px; }
  .hero-card { width: 195px; left: 0; bottom: 5px; padding: 12px 14px; }
  .hero-card strong { font-size: 15px; }
  .hero-card small { font-size: 11px; }
  .hero-card-mark { font-size: 16px; }
  .hero-vertical { display: none; }
  .stage-rail-inner { min-height: 55px; gap: 8px; font-size: 12px; }
  .stage-rail-inner span:nth-child(even) { font-size: 11px; }
  .school-story { padding: 66px 0 30px; }
  .learning { padding: 42px 0 76px; }
  .parent-note, .facilities, .extras, .faq, .lead-section, .location { padding: 76px 0; }
  .school-story h2 { font-size: clamp(2.35rem, 9vw, 3.5rem); }
  .school-story-copy>p { font-size: 16px; }
  .school-gallery { min-height: 400px; }
  .school-photo-main { width: 78%; height: 230px; border-width: 5px; border-radius: 23px 23px 64px 23px; }
  .school-photo-small { width: 79%; height: 230px; border-width: 5px; }
  .school-photo-small figcaption { font-size: 11px; }
  .school-years { width: 121px; height: 107px; padding: 13px; border-radius: 13px 13px 43px 13px; }
  .school-years strong { font-size: 48px; }
  .school-years span { font-size: 10px; }
  .learning-baby { grid-template-columns: 1fr; margin-top: 28px; }
  .learning-baby-mark { min-height: 0; padding: 35px 24px; }
  .learning-baby-mark img { width: min(100%, 220px); }
  .learning-baby-copy { padding: 30px 26px 32px; }
  .learning-baby h3 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .learning-baby p { font-size: 15px; }
  .learning-baby .btn { max-width: 100%; white-space: normal; text-align: center; }
  .learning-grid { grid-template-columns: 1fr; gap: 15px; margin-top: 28px; }
  .learning-card:last-child { display: flex; grid-column: auto; }
  .learning-photo, .learning-card:last-child .learning-photo { height: 250px; min-height: 0; }
  .learning-body { padding: 23px 24px 26px; }
  .learning-card h3 { font-size: 25px; }
  .learning-cta { display: block; padding: 20px; }
  .learning-cta a { margin-top: 12px; }
  .parent-note-inner { gap: 35px; }
  .family-art { min-height: 350px; padding: 30px; border-radius: 26px 26px 95px 26px; box-shadow: 9px 9px 0 #ffffff42; }
  .family-art strong { font-size: clamp(3rem, 11vw, 4rem); }
  .family-copy p { font-size: 16px; }
  .mascot { padding: 62px 0; }
  .mascot-panel { grid-template-columns: 1fr; }
  .mascot-copy { padding: 45px 28px 10px; }
  .mascot-copy p { font-size: 16px; }
  .mascot-visual { min-height: 410px; padding: 10px 20px 24px; }
  .mascot-visual:before { inset: 12px 40px 20px; }
  .mascot-visual img { height: 375px; }
  .mascot-caption { right: 14px; bottom: 17px; font-size: 13px; }
  .spaces-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .space-card { grid-template-columns: 1fr; }
  .space-photo { min-height: 0; padding: 18px; }
  .space-photo img { max-width: 320px; max-height: 220px; }
  .space-copy { padding: 23px 24px 27px; }
  .extras-layout { gap: 30px; }
  .extras-copy>p { font-size: 16px; }
  .extras .btn { max-width: 100%; white-space: normal; text-align: center; }
  .extras-visual { width: min(100%, 410px); min-height: 335px; border-radius: 25px 25px 70px 25px; }
  .extras-visual:before { width: 230px; height: 230px; right: 20px; top: 35px; border-width: 13px; }
  .ballet-photo { width: 220px; height: 220px; right: 7px; border-width: 7px; outline-width: 5px; }
  .judo-photo { width: 195px; height: 195px; bottom: 7px; left: 7px; border-width: 7px; outline-width: 5px; }
  .story-points>div { grid-template-columns: 1fr; gap: 3px; }
  .faq-grid { gap: 24px; }
  .lead-form { padding: 26px; }
  .lead-form .btn { white-space: normal; }
  .location iframe { height: 340px; box-shadow: 9px 9px 0 #edb6c4; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (max-width: 390px) {
  .brand-type small { display: none; }
  .lead-form .btn { gap: 6px; padding-inline: 10px; font-size: 14px; }
  .hero h1 { font-size: 3rem; }
  .hero-actions .btn { width: 100%; }
  .hero-foot span+span:before { display: none; }
  .hero-visual { min-height: 380px; }
  .hero-card { width: 160px; }
  .hero-card strong { font-size: 13px; }
  .stage-rail-inner { gap: 4px; font-size: 10px; }
  .stage-rail-inner span:nth-child(even) { font-size: 9px; }
  .school-gallery { min-height: 345px; }
  .school-photo-main, .school-photo-small { height: 196px; }
  .school-photo-small figcaption { left: 3px; right: 3px; max-width: none; padding: 4px 5px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .nav-cta, .learning-card, .floating-whatsapp { transition: none; }
}
