:root {
  --blue: #0b63ce;
  --yellow: #ffd400;
  --ink: #111317;
  --paper: #f6f3ec;
  --white: #ffffff;
  --muted: #555960;
  --line: #d9d8d1;
  --title: "Bebas Neue", "Arial Narrow", sans-serif;
  --body: "Montserrat", Arial, sans-serif;
  --type-hero: clamp(76px, 6.1vw, 94px);
  --type-section: clamp(46px, 5.1vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 15px; line-height: 1.7; font-synthesis: none; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, input { border-radius: 0; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
.contact a:focus-visible { outline-color: var(--yellow); }
h1,h2,h3,p { margin: 0; }
h1,h2,h3 { font-family: var(--title); font-weight: 400; line-height: 1; }
h2 { font-size: var(--type-section); letter-spacing: -.025em; }
.text-blue { color: var(--blue); }
.shell { width: min(1256px, calc(100% - 104px)); margin-inline: auto; }
.section-space { padding-block: 104px; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 100; background: var(--yellow); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 24px; }
.wordmark { display: inline-flex; align-items: center; gap: 14px; }
.site-logo { display: block; width: auto; height: 40px; }
.wordmark-name { font-family: var(--title); font-size: 51px; line-height: 1; letter-spacing: -.035em; }
.wordmark-dot { color: var(--blue); }
.wordmark-meta { border-left: 1px solid #b9bbb8; padding-left: 13px; font-size: 8px; line-height: 1.6; font-weight: 600; letter-spacing: .07em; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 11px; font-weight: 600; }
.main-nav > a { padding-block: 12px; }
.main-nav .nav-home { color: var(--blue); }
.main-nav a:hover { color: var(--blue); }
.nav-contact { margin-left: 7px; border-bottom: 2px solid var(--ink); }
.nav-contact span { margin-left: 20px; }
.menu-toggle { display: none; border: 0; padding: 12px 0 12px 10px; background: transparent; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; }
.menu-lines { width: 22px; height: 12px; border-block: 2px solid var(--ink); }
.site-header .shell,
.hero.shell { width: min(1220px, calc(100% - 104px)); }
.hero { padding-top: 30px; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(470px, .96fr); gap: 0 52px; }
.hero-copy { padding: 34px 0 20px; min-height: 610px; }
.hero .eyebrow { gap: 16px; font-size: 11px; letter-spacing: .01em; margin-bottom: 30px; }
.short-line { display: inline-block; width: 25px; height: 3px; background: var(--yellow); flex-shrink: 0; }
.hero .eyebrow .short-line { margin-right: 8px; }
h1 { font-size: var(--type-hero); line-height: .94; letter-spacing: -.025em; }
h1 > span { display: block; white-space: nowrap; }
.hero-description { max-width: 380px; margin-top: 53px; font-size: 14px; line-height: 1.9; }
.hero-description strong { font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 15px 21px; font-size: 11px; line-height: 1.5; font-weight: 600; border: 1px solid transparent; transition: background .18s, color .18s; }
.button span { font-size: 21px; line-height: 1; font-weight: 400; }
.button-blue { background: var(--blue); color: var(--white); }
.button-blue span { color: var(--yellow); }
.button-blue:hover { background: var(--ink); }
.button-yellow { background: var(--yellow); color: var(--ink); }
.button-yellow:hover { background: var(--white); }
.hero .button { margin-top: 42px; min-width: 256px; min-height: 58px; padding-inline: 22px; }
.hero-history { margin-top: 57px; padding-left: 18px; border-left: 2px solid var(--ink); }
.hero-history > span { display: block; font-family: var(--title); font-size: 27px; line-height: .92; letter-spacing: -.01em; }
.hero-visual { position: relative; min-width: 0; height: 610px; background: #d4d9d4; overflow: hidden; }
.reference-photo { width: 100%; height: 100%; background-color: #d1d7d1; overflow: hidden; }
.photo-hero { position: absolute; inset: 0; }
.photo-hero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-photo-caption { position: absolute; left: 48px; right: 0; bottom: 34px; min-height: 72px; padding: 18px 22px; display: flex; align-items: center; background: var(--blue); color: var(--white); font-family: var(--title); font-size: 31px; line-height: 1; letter-spacing: .005em; white-space: nowrap; }
.hero-foot { grid-column: 1/-1; display: flex; justify-content: space-between; align-items: center; margin-top: 30px; padding: 22px 0 25px; border-top: 1px solid var(--line); font-size: 10px; font-weight: 600; }
.hero-foot > span > span { color: #92958f; margin-inline: 10px; }
.hero-foot > a > span { color: var(--blue); margin-left: 24px; font-size: 18px; }
.classes { background: var(--white); margin-top: 22px; }
.section-kicker { margin-bottom: 22px; }
.numbered-kicker { display: flex; align-items: center; gap: 12px; }
.section-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 43px; }
.section-intro > p { font-size: 14px; padding-bottom: 5px; color: var(--muted); line-height: 1.9; }
.classes .section-intro > p br { display: none; }
.section-number { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; font-size: 10px; color: var(--blue); font-weight: 600; }
.section-number::after { content: ""; width: 1px; height: 12px; background: var(--ink); }
.class-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.class-card { min-width: 0; }
.class-photo-wrap { height: 340px; position: relative; overflow: hidden; }
.photo-adults > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.photo-kids > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.class-photo-label { position: absolute; left: 0; bottom: 0; padding: 11px 23px 8px; background: var(--white); color: var(--blue); font-family: var(--title); font-size: 25px; line-height: 1.2; }
.class-card-body { padding: 28px 0 0; }
.small-label { font-size: 8px; font-weight: 600; letter-spacing: .1em; }
.class-card h3 { font-size: clamp(30px, 3vw, 41px); margin-top: 0; }
.class-card p { max-width: 440px; font-size: 14px; color: var(--muted); margin-top: 15px; line-height: 1.9; }
.kids-keep-together { white-space: nowrap; }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--ink); font-size: 11px; font-weight: 600; padding-bottom: 7px; border-bottom: 1px solid var(--ink); }
.text-link span { font-size: 19px; line-height: 1; color: var(--blue); font-weight: 400; }
.text-link:hover { color: var(--blue); border-color: var(--blue); }
.class-card .text-link { margin-top: 24px; }
.future-link[aria-disabled="true"] { max-width: 100%; cursor: default; }
.future-link[aria-disabled="true"]:hover { color: var(--ink); border-color: var(--ink); }
.school-layout { display: grid; grid-template-columns: 1fr .94fr; align-items: center; gap: 94px; }
.school-picture { height: 570px; position: relative; min-width: 0; }
.photo-community > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.school-year { background: var(--blue); color: var(--white); position: absolute; right: -24px; bottom: 32px; padding: 23px 30px 13px; display: flex; flex-direction: column; align-items: flex-start; }
.school-year span { font-size: 9px; font-weight: 600; letter-spacing: .18em; }
.school-year strong { font-family: var(--title); font-weight: 400; font-size: 86px; line-height: 1.05; letter-spacing: -.03em; }
.school-story { margin-top: 28px; max-width: 450px; }
.school-story p { font-size: 14px; color: var(--muted); line-height: 1.85; }
.school-story p + p { margin-top: 16px; }
.school-story strong { font-weight: 600; }
.school-mobile-break { display: none; }
.school-statement { margin-top: 30px; padding-left: 15px; border-left: 3px solid var(--ink); font-family: var(--title); font-size: 30px; line-height: 1.02; letter-spacing: .005em; }
.school-cta { margin-top: 28px; }
.locations { background: var(--blue); color: var(--white); }
.locations .section-intro { margin-bottom: 45px; }
.locations .section-number { color: var(--yellow); }
.locations .section-number::after { background: #ffffff45; }
.location-list { border-top: 1px solid #ffffff70; }
.location-row { display: grid; grid-template-columns: 42px 1.2fr .85fr auto; align-items: center; gap: 20px; padding-block: 30px; border-bottom: 1px solid #ffffff70; }
.location-mark { align-self: start; display: block; width: 25px; height: 3px; margin-top: 10px; background: var(--yellow); }
.location-name h3 { font-size: clamp(25px, 3.1vw, 42px); line-height: 1.1; }
.location-name > span { font-size: 10px; opacity: .8; }
.location-status { font-size: 9px; line-height: 1.6; }
.location-row a { grid-column: 4; display: flex; align-items: center; gap: 25px; font-size: 10px; font-weight: 600; }
.location-row a > span:last-child { display: grid; place-items: center; width: 42px; height: 42px; background: var(--yellow); color: var(--ink); font-size: 23px; transition: background .18s; }
.location-row a:hover > span:last-child { background: var(--white); }
.faq { background: var(--white); }
.faq-layout { display: grid; grid-template-columns: .86fr 1.14fr; gap: 88px; }
.faq-number::after { display: block; }
.faq-layout > div > p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding-block: 22px; padding-right: 4px; display: flex; justify-content: space-between; align-items: center; gap: 22px; font-size: 14px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-question-text { min-width: 0; }
.faq-icon { flex: 0 0 auto; font-family: var(--body); font-size: 24px; font-weight: 400; line-height: 1; color: var(--blue); }
.faq-list details[open] summary .faq-icon { transform: rotate(45deg); }
.faq-list details > p { padding: 0 40px 22px 0; font-size: 14px; color: var(--muted); line-height: 1.9; }
.faq-list details > p a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.faq-contact-label { color: var(--ink); font-weight: 600; }
.faq-contact-link { font-weight: 400; white-space: nowrap; }
.contact { background: var(--blue); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 60px; }
.contact .eyebrow { font-size: 9px; }
.contact .eyebrow .short-line { margin-right: 8px; }
.contact h2 { font-size: var(--type-section); }
.contact-layout > div > p:not(.eyebrow) { font-size: 14px; margin-top: 26px; line-height: 1.9; }
.contact-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 10px; padding-top: 23px; }
.contact-actions .button { min-width: 300px; }
.contact-phone { font-family: var(--title); font-size: 42px; line-height: 1.2; margin-top: 15px; letter-spacing: .015em; }
.contact-email { font-size: 11px; border-bottom: 1px solid #ffffff80; }
.contact-selection { font-size: 10px; border-left: 2px solid var(--yellow); padding-left: 10px; margin-bottom: 8px; }
.contact-selection[hidden] { display: none; }
.site-footer { background: var(--paper); }
.footer-top { padding-block: 46px 38px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.footer-name { font-family: var(--title); font-size: 32px; line-height: 1.2; }
.footer-logo { display: block; width: auto; height: 24px; }
.footer-top p { font-size: 10px; margin-top: 5px; color: var(--muted); }
.footer-top .text-link { font-size: 10px; }
.footer-instagram-copy { display: inline-flex; align-items: center; gap: 8px; color: var(--ink) !important; font-size: 10px !important; line-height: 1.7 !important; font-weight: 600 !important; }
.footer-instagram-icon { width: 14px; height: 14px; flex: 0 0 auto; }
.footer-disclosure { padding-bottom: 34px; }
.footer-disclosure p { max-width: 760px; color: var(--muted); font-size: 14px; line-height: 1.8; text-align: left; }
.footer-disclosure strong { color: var(--ink); font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 20px; font-size: 9px; color: var(--muted); }
.footer-bottom a span { padding-left: 14px; color: var(--blue); }
@media (min-width: 1600px) {
  .hero-visual { height: 620px; }
  .hero-copy { min-height: 620px; }
}
@media (max-width: 1100px) {
  :root { --type-hero: 7vw; }
  .shell { width: calc(100% - 64px); }
  .main-nav { gap: 22px; }
  .site-header .shell,
  .hero.shell { width: calc(100% - 64px); }
  .hero { gap: 0 24px; grid-template-columns: minmax(0, 1fr) minmax(420px, .96fr); }
  .hero-visual { height: 560px; }
  .hero-copy { min-height: 560px; padding: 26px 0 13px; }
  .hero-description { margin-top: 47px; }
  .hero .button { margin-top: 36px; }
  .hero-history { margin-top: 49px; }
  .hero-photo-caption { left: 28px; padding: 17px; font-size: 24px; }
  .school-layout { gap: 60px; }
  .school-picture { height: 520px; }
  .class-photo-wrap { height: 300px; }
  .location-row { grid-template-columns: 28px 1.15fr .85fr auto; gap: 16px; }
  .location-link-text { display: none; }
  .faq-layout { gap: 50px; }
}
@media (760px < width <= 980px) {
  .hero {
    --original-photo-width: max(420px, calc((100% - 24px) * 24 / 49));
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    width: calc(100% - 24px - var(--original-photo-width));
    min-height: 0;
  }
  .hero-visual { width: var(--original-photo-width); }
}
@media (max-width: 760px) {
  :root {
    --type-hero: clamp(52px, 14.2vw, 62px);
    --type-section: clamp(45px, 10.9vw, 66px);
  }
  html { scroll-padding-top: 87px; }
  .shell { width: calc(100% - 40px); }
  .site-header .shell,
  .hero.shell { width: calc(100% - 36px); }
  .section-space { padding-block: 68px; }
  .header-inner { height: 76px; }
  .wordmark-name { font-size: 44px; }
  .wordmark-meta { font-size: 7px; padding-left: 10px; }
  .wordmark { gap: 10px; }
  .site-logo { height: 34px; }
  .menu-toggle { display: flex; min-height: 44px; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); padding: 16px 20px 28px; gap: 0; border-bottom: 1px solid var(--line); }
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - 76px);
    max-height: var(--menu-available-height, calc(100dvh - 76px));
    overflow-y: auto;
    overscroll-behavior-y: contain;
  }
  .main-nav.is-open > a { flex-shrink: 0; }
  .main-nav > a { display: block; padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .main-nav .nav-contact { margin-left: 0; color: var(--blue); border-bottom: 0; }
  .nav-contact span { float: right; }
  .hero { grid-template-columns: 1fr; padding-top: 0; }
  .hero-copy { padding: 28px 0 17px; min-height: 0; }
  .hero .eyebrow { font-size: 8px; margin-bottom: 23px; gap: 11px; letter-spacing: .035em; }
  h1 { line-height: .96; letter-spacing: -.02em; }
  .hero-description { width: 100%; max-width: 288px; margin-top: 37px; font-size: 12px; line-height: 1.85; text-wrap: wrap; }
  .hero-reading-unit { white-space: nowrap; }
  .hero-keep-together { white-space: nowrap; }
  .hero .button { margin-top: 35px; min-width: 230px; min-height: 55px; padding-inline: 18px; font-size: 10px; }
  .hero-history { margin-top: 45px; padding-left: 14px; }
  .hero-history > span { font-size: 23px; line-height: .94; }
  .hero-visual { min-height: 0; height: auto; aspect-ratio: .87 / 1; margin-inline: -18px; }
  .hero-photo-caption { left: 31px; right: 0; bottom: 27px; min-height: 60px; padding: 15px 17px; font-size: 26px; }
  .hero-foot { margin-top: 22px; font-size: 8px; gap: 12px; padding: 17px 0 20px; }
  .hero-foot > span > span { margin-inline: 6px; }
  .hero-foot > a > span { margin-left: 8px; font-size: 16px; }
  .classes { margin-top: 15px; }
  .section-kicker { margin-bottom: 18px; }
  .numbered-kicker { gap: 12px; }
  .section-intro { display: block; margin-bottom: 31px; }
  .section-intro > p { margin-top: 22px; font-size: 12px; }
  .classes .section-intro > p br { display: block; }
  .section-number { font-size: 9px; }
  .class-grid { grid-template-columns: 1fr; gap: 43px; }
  .class-photo-wrap { height: auto; aspect-ratio: 1.25 / 1; }
  .class-card-body { padding-top: 21px; }
  .class-card h3 { font-size: 35px; }
  .class-card p { font-size: 12px; margin-top: 13px; }
  .class-card .text-link { margin-top: 19px; }
  .future-link[aria-disabled="true"] { white-space: normal; }
  .school-layout { grid-template-columns: 1fr; gap: 50px; }
  .school-picture { height: auto; aspect-ratio: 1.03 / 1; margin-right: 14px; }
  .school-year { right: -14px; bottom: 22px; padding: 17px 24px 9px; }
  .school-year strong { font-size: 74px; }
  .school-story { margin-top: 23px; max-width: none; }
  .school-story p { font-size: 12px; line-height: 1.85; }
  .school-story p + p { margin-top: 14px; }
  .school-mobile-break { display: block; }
  .school-statement { margin-top: 28px; font-size: 29px; }
  .school-cta { margin-top: 25px; }
  .locations .section-intro { margin-bottom: 33px; }
  .location-row { grid-template-columns: 21px 1fr 42px; gap: 10px; padding-block: 24px; }
  .location-mark { grid-row: 1 / 3; margin-top: 9px; }
  .location-name { grid-column: 2; }
  .location-name h3 { font-size: clamp(25px, 7vw, 38px); }
  .location-name > span { font-size: 9px; }
  .location-status { grid-column: 2; font-size: 8px; max-width: none; }
  .location-row a { grid-column: 3; grid-row: 1/3; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .faq-layout > div > p:not(.eyebrow) { font-size: 12px; }
  .faq-layout > div > p br { display: none; }
  .faq-list summary { font-size: 12px; padding-block: 20px; }
  .faq-list details > p { font-size: 12px; padding-right: 22px; }
  .faq-mobile-keep,
  .faq-tariffs-link { white-space: nowrap; }
  .contact-layout { grid-template-columns: 1fr; gap: 34px; }
  .contact .eyebrow { font-size: 8px; }
  .contact-layout > div > p:not(.eyebrow) { font-size: 12px; margin-top: 23px; }
  .contact-actions { padding-top: 0; }
  .contact-actions .button { min-width: 0; width: 100%; font-size: 10px; }
  .contact-phone { font-size: 39px; }
  .contact-email { font-size: 10px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 27px; padding-block: 38px 31px; }
  .footer-logo { height: 20px; }
  .footer-disclosure { padding-bottom: 28px; }
  .footer-disclosure p { font-size: 12px; }
  .privacy-keep-together { white-space: nowrap; }
  .footer-bottom { flex-wrap: wrap; font-size: 8px; gap: 12px; padding-block: 18px; }
  .footer-bottom > a { display: flex; align-items: center; width: 100%; min-height: 44px; }
}
@media (max-width: 847px) {
  .faq-list summary { gap: 10px; padding-right: 0; }
  .faq-keep-together { white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 779px) {
  .classes .section-intro { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 16px; align-items: end; }
  .classes-keep-together { white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 767px) {
  .class-card { display: grid; grid-template-rows: auto 1fr; }
  .class-card-body { display: flex; flex-direction: column; }
  .class-card .text-link { margin-top: auto; padding-top: 24px; }
}
@media (min-width: 761px) and (max-width: 847px) {
  .faq-layout { grid-template-columns: 320px minmax(0, 1fr); gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { transition: none !important; animation: none !important; }
}

/* Anchor the number to the first line while retaining each heading's grid column. */
:is(.tarifa-row, .modalidad-row, .condition-clause) h2 {
  position: relative;
  --title-index-offset: 72px;
}

.section-number.title-index {
  position: absolute;
  inset-inline-start: calc(-1 * var(--title-index-offset));
  inset-block-start: 1px;
  font-family: var(--body);
  line-height: 1.7;
  letter-spacing: normal;
}

@media (max-width: 1100px) {
  :is(.tarifa-row, .modalidad-row, .condition-clause) h2 { --title-index-offset: 56px; }
}

@media (max-width: 900px) {
  :is(.tarifa-row, .modalidad-row, .condition-clause) h2 { --title-index-offset: 44px; }
}

@media (max-width: 760px) {
  :is(.tarifa-row, .modalidad-row, .condition-clause) h2 { --title-index-offset: 40px; }
  .section-number.title-index {
    /* Bebas Neue capitals start 0.09em below the .98 line box top.
       The 12px rule starts 1.65px into the marker's 9px × 1.7 line box. */
    inset-block-start: calc(var(--numbered-title-size, 35px) * .09 - 1.65px);
  }
}
