/* Celeste, an escuelas template. Rebuilt 2026-11-10 as plain HTML/CSS (no scripts, no source photos) from the Webflow
   cloneable "Alliance Christian School Landing Page" by Reniel Justin Cole, published by Webflow under CC0 1.0 (see LICENSE).
   Download icon on the documents list: Lucide (ISC, see LICENSE-lucide). */

*{box-sizing:border-box}
html,body{overflow-x:hidden}
:root{
  /* The school's colours (TEMPLATE-SPEC "Colours are never fixed"): the builder overrides these; everything below derives from them. */
  --esc-primary:#134fbb;--esc-secondary:#fadf63;--esc-accent:#f55d5d;--esc-bg:#ffffff;--esc-text:#3f3f3f;
  --esc-primary-ink:#ffffff;--esc-secondary-ink:#3f3f3f;--esc-accent-ink:#111111;--esc-bg-ink:#3f3f3f;
  --esc-primary-text:#134fbb;--esc-secondary-text:#7d7032;--esc-accent-text:#c44a4a;
  /* The source's own names (--royal-blue, --yellow, --salmon, --blue-2, --font-color), now derived from the five roles. */
  --royal-blue:var(--esc-primary-text);
  --blue-2:color-mix(in srgb,var(--esc-primary) 82%,var(--esc-bg));
  --yellow:var(--esc-secondary);
  --salmon:var(--esc-accent-text);
  --font-color:var(--esc-text);
  --btn-fill:color-mix(in srgb,var(--esc-secondary) 42%,var(--esc-bg));        /* #fff1ae */
  --btn-ink:color-mix(in srgb,var(--esc-primary-text) 66%,var(--esc-text));   /* the blue button text, a touch deeper so it reads on the tinted fill */
  --band:color-mix(in srgb,var(--esc-secondary) 15%,var(--esc-bg));            /* #fffbe6 "mode" band, #fadf6326 cta band */
  --band-2:color-mix(in srgb,var(--esc-secondary) 20%,var(--esc-bg));          /* #fadf6333 testimonials band */
  --pill:color-mix(in srgb,var(--esc-secondary) 34%,var(--esc-bg));            /* #fadf6357 tuition header pill */
  --grey-brand:color-mix(in srgb,var(--esc-text) 78%,var(--esc-bg));           /* #686868 */
  --ink-strong:color-mix(in srgb,var(--esc-text) 75%,black);                   /* #212121 big prices */
  --silver:color-mix(in srgb,var(--esc-text) 30%,var(--esc-bg));               /* #bebebe */
  --blob-yellow:color-mix(in srgb,var(--esc-secondary) 24%,transparent);       /* #f1ffa43d */
  --blob-blue:color-mix(in srgb,var(--esc-primary) 17%,transparent);          /* #1963e82b */
  --card-glass:color-mix(in srgb,var(--esc-bg) 77%,transparent);               /* #ffffffc4 */
  --nav-glass:color-mix(in srgb,var(--esc-bg) 76%,transparent);                /* #ffffffc2 */
  --hover-gradient:linear-gradient(300deg,var(--esc-primary),color-mix(in srgb,var(--esc-primary) 62%,white));
  --head:"Merriweather Sans",sans-serif;
  --body:"Open Sans",sans-serif;
}
body{margin:0;background:var(--esc-bg);color:var(--font-color);font-family:var(--body);font-size:16px;font-weight:400;line-height:140%}
img{display:block;max-width:100%}
a{color:var(--royal-blue)}
p{margin:0 0 10px}
h1,h2,h3,h4{margin:0}
ul,ol{margin:0;padding:0}
figure{margin:0}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--royal-blue);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.center{text-align:center}
.more{margin-top:2.5em;margin-bottom:0}

/* ---------- containers and headings (source: .container, .page-heading-2, .subtext) ---------- */
.section{position:relative}
.container{max-width:1439px;margin-left:auto;margin-right:auto;padding:5vw 15px}
.container.narrow{max-width:860px}
.page-heading-2{color:var(--royal-blue);text-align:center;padding:5px 0;font-family:var(--head);font-size:3em;font-weight:800;line-height:120%}
.subtext{text-align:center;max-width:70%;margin:0 auto;padding:15px 0;font-size:1.1em}
.subtext p:last-child{margin-bottom:0}
.prose p{margin:0 0 1em}
.prose p:last-child{margin-bottom:0}
.prose h2,.prose h3{color:var(--royal-blue);font-family:var(--head);font-weight:800;line-height:120%;margin:1.4em 0 .5em}
.prose h2{font-size:1.6em}.prose h3{font-size:1.25em}
.prose ul,.prose ol{padding-left:1.4em;margin:0 0 1em}

/* ---------- header (source: .section.nav, .logo-embed, .call-to-action, .nav-text-block, .btn-primary.nav) ---------- */
.section.nav{z-index:99;background-color:var(--nav-glass);padding-top:5px;position:sticky;top:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.container.nav{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:5px;padding-bottom:5px;min-height:64px}
.logo-linker{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.logo-embed{width:56px;height:56px;flex:none}
.logo-embed img{width:100%;height:100%;object-fit:contain}
.nav-brand{font-family:var(--head);font-weight:800;font-size:1.25em;line-height:1.15;color:var(--royal-blue)}
.call-to-action{display:flex;align-items:center;gap:15px}
.nav-links{list-style:none;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 18px}
.nav-text-block{font-family:var(--head);font-weight:600;color:var(--font-color);text-decoration:none;font-size:.95em;white-space:nowrap}
.nav-text-block:hover,.nav-text-block[aria-current]{color:var(--royal-blue)}
.nav-text-block[aria-current]{text-decoration:underline;text-decoration-color:var(--yellow);text-decoration-thickness:3px;text-underline-offset:6px}
.btn-primary.nav-toggle{display:none}

/* ---------- buttons (source: .btn-primary, .btn-link, .tuition__button) ---------- */
.btn-primary{display:inline-block;border:1.5px solid var(--esc-primary);color:var(--btn-ink);background-color:var(--btn-fill);border-radius:20px;padding:16px 36px;font-weight:800;text-decoration:none;text-align:center;line-height:1.25;transition:all .2s ease-in-out;cursor:pointer;font-family:var(--body);font-size:1em}
.btn-primary:hover{border-color:var(--yellow);background-image:var(--hover-gradient);color:var(--esc-secondary-on-primary,var(--esc-secondary));transform:translate(0,-5px);box-shadow:1px 1px 10px 1px color-mix(in srgb,var(--esc-primary) 47%,transparent)}
.btn-primary.nav{border-radius:15px;padding:5px 18px;font-weight:700;white-space:nowrap}
.btn-primary.nav:hover{transform:translate(0,-3px)}
.btn-link{color:var(--royal-blue);font-weight:700;text-decoration:none;padding:10px 6px}
.btn-link:hover{text-decoration:underline}
.tuition__button{display:inline-block;background-image:linear-gradient(280deg,var(--esc-primary),color-mix(in srgb,var(--esc-primary) 82%,white));color:var(--esc-primary-ink);border:1px solid var(--esc-bg);border-radius:1em;padding:.6em 3em;font-family:var(--head);font-weight:600;text-decoration:none;transition:all .2s ease-in-out}
.tuition__button:hover{transform:translate(0,-3px);box-shadow:3px 3px 13px -4px var(--esc-primary)}

/* ---------- hero and inner page title (source: .section.hero, .hero-brand-name, .hero__heading, .hero__para, .blob1, .blob2) ---------- */
.section.hero,.section.tuition{isolation:isolate}
.blob1,.blob2{position:absolute;z-index:-1;pointer-events:none;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-position:center;mask-position:center}
.blob1{background:var(--blob-yellow);width:30vw;aspect-ratio:299/690;left:-7%;top:0;-webkit-mask-image:url(/_a/8e1dade7fc7190bc.svg);mask-image:url(/_a/8e1dade7fc7190bc.svg);-webkit-mask-position:left center;mask-position:left center}
.blob2{background:var(--blob-blue);width:30vw;height:70vw;top:5%;right:0;-webkit-mask-image:url(/_a/a257b272001a8068.svg);mask-image:url(/_a/a257b272001a8068.svg);-webkit-mask-position:right center;mask-position:right center}
.blob2.tuition{top:50%}
.container.hero{display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:80vh;padding-top:40px;padding-bottom:40px;text-align:center}
.hero.con-foto .container.hero{min-height:0;padding-top:6vw;padding-bottom:5vw}
.hero-brand-name{color:var(--grey-brand);padding-bottom:10px;margin:0;font-family:var(--head);font-size:1.5em;font-weight:800;line-height:1.25}
.hero__heading{max-width:20ch;color:var(--royal-blue);text-align:center;font-family:var(--head);font-size:clamp(2em,5.6vw,4.5em);font-weight:800;line-height:120%;overflow-wrap:break-word}
.hero__para{text-align:center;padding:10px 0;max-width:72ch}
.hero__para p:last-child{margin-bottom:0}
.horizontal-button-w{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 15px;margin-top:6px}
.hero__img{width:100%;max-width:960px;margin-top:3vw;box-shadow:3px 3px 0 0 var(--yellow)}
/* the inner pages' title: the hero, shorter */
.container.hero.page-head{min-height:0;padding-top:5vw;padding-bottom:3vw}
.page-head .hero__heading{font-size:clamp(2.2em,4.5vw,3.6em)}
.section.page-head{overflow:hidden}
.page-head .blob1{width:18vw;top:-40%}
.page-head .blob2{width:24vw;height:auto;top:-20%;bottom:-20%}

/* ---------- cards (source: .grade-level-card-w, .grade-level_card, .grade-level__img) ---------- */
.grade-level-card-w{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:3vw}
.grade-level-card-w.cards>*{flex:0 1 calc((100% - 32px)/3);min-width:0}
.grade-level-card-w.mv>*{flex-basis:calc((100% - 16px)/2)}
.grade-level_card{border:1px solid var(--esc-primary);background-color:var(--esc-bg);width:100%;min-height:300px;box-shadow:3px 3px 0 0 var(--yellow);border-radius:25px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:38px 22px;transition:all .2s ease-in-out;text-align:center}
.grade-level_card:hover{box-shadow:7px 7px 0 1px var(--yellow);transform:translate(0,-5px)}
.grade-level_card.wide{min-height:0;align-items:stretch;text-align:left;padding:32px}
.grade-level_card.wide:hover{transform:none;box-shadow:3px 3px 0 0 var(--yellow)}
.grade-level-card__heading{color:var(--royal-blue);text-align:center;font-size:2em;font-weight:700;line-height:1.2;margin-bottom:8px;overflow-wrap:break-word}
.grade-level-card__heading.small{font-size:1.5em}
.grade-level-card__heading a{color:inherit;text-decoration:none}
.grade-level-card__heading a:hover{text-decoration:underline}
.wide .grade-level-card__heading{text-align:left}
.grade-level__para{text-align:center;margin:0 0 10px}
.grade-level__para p{margin:0 0 .6em}
.grade-level__para p:last-child,.grade-level__para:last-child{margin-bottom:0}
/* photo frames keep a ratio, never a fixed height, so people's heads stay in (photos: TEMPLATE-SPEC "Photos") */
.grade-level__img{border:1px solid var(--silver);border-radius:25px;width:100%;aspect-ratio:3/2;overflow:hidden;flex:none}
.grade-level__img img{width:100%;height:100%;object-fit:cover}
.grade-level_card .grade-level__img{margin:-16px 0 22px}
.grade-level_card:has(.grade-level__img img),.grade-level_card.post{justify-content:flex-start}
.grade-level_card.post{min-height:0}
.grade-level_card.wide .grade-level__img{aspect-ratio:16/9;margin:0 0 20px}
.hero__img.grade-level__img{aspect-ratio:4/3;max-width:860px}
/* desktop: the hero shows the whole photo (no crop, so faces near the top or bottom stay in), up to 960 x 620, centred */
@media screen and (min-width:768px){
  .hero__img.grade-level__img:has(img){width:auto;max-width:min(100%,960px);min-width:min(100%,420px);min-height:300px;aspect-ratio:auto}  /* the minimums: a tinted frame while the photo loads */
  .hero__img.grade-level__img img{width:auto;height:auto;min-width:100%;min-height:300px;max-width:100%;max-height:max(300px,min(620px,72vh))}
}
/* phones: the photo at its own shape, kept between 260 and 480 px tall (a wide photo is cropped at the sides, a tall one only past 480) */
@media screen and (max-width:767px){
  .hero__img.grade-level__img:has(img){aspect-ratio:auto}
  .hero__img.grade-level__img img{height:auto;min-height:260px;max-height:480px}
}

/* news (built from the grade-level card + the tuition pill) */
.post__meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px 12px;margin:0 0 14px;color:var(--grey-brand);font-size:.95em}
.post__meta .tuition__header{margin:0}
.wide .post__meta{justify-content:flex-start}
.list-w{display:flex;flex-direction:column;gap:30px;max-width:860px;margin:0 auto}
.posts.list .container{padding-top:2vw}

/* ---------- tuition (source: .tution-wrapper, .tuition__card, .tuition__header, .tuition__pricing, .tuition__all-in, .tuition__inclusion-*) ---------- */
.tution-wrapper{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;padding-top:2vw;gap:10px;position:relative;list-style:none}
.tuition__card{min-width:0;flex:0 1 350px;color:var(--font-color);background-color:var(--card-glass);border:1px solid transparent;border-radius:30px;display:flex;flex-direction:column;align-items:center;padding:2.5em 1.5em;text-align:center;transition:all .2s cubic-bezier(.39,.575,.565,1)}
.tuition__card:hover{box-shadow:3px 3px 13px -4px var(--esc-primary);border-color:color-mix(in srgb,var(--esc-primary) 44%,transparent);transform:scale(1.02)}
.tuition__header{display:inline-block;color:var(--font-color);text-transform:uppercase;background-color:var(--pill);border-radius:.5em;margin:0 0 30px;padding:.5em 1.5em;font-size:1em;font-weight:700;line-height:1.3;text-decoration:none;font-family:var(--body)}
.tuition__pricing{display:block;color:var(--ink-strong);margin-bottom:10px;font-size:3.5em;font-weight:700;line-height:100%;overflow-wrap:anywhere}
.tuition__all-in{color:var(--salmon);font-size:1.5em;font-weight:800;margin:6px 0 0}
.tuition__period{font-weight:700;font-size:1.15em;margin:10px 0 0}
.tuition__inclusion-w{list-style:none;padding:0 0 .5em}
.tuition__inclusion-item{text-align:center;padding-top:12px;font-weight:400;line-height:1.3}
.tuition__fees{text-align:center;width:100%}
.tuition__fees p{margin:0 0 .7em}
.tuition__fees p:last-child{margin:0}
.steps{flex-basis:460px}
.steps-list{list-style:none;text-align:left;display:flex;flex-direction:column;gap:12px;width:100%}
.prose-c{text-align:center}

/* stats: the tuition price and its pill, in a row */
.container.stats{padding-top:3vw;padding-bottom:3vw}
.stats-w{gap:16px 40px;padding-top:0}
.stat{display:flex;flex-direction:column;align-items:center;text-align:center;flex:0 1 220px}
.stat .tuition__header{margin:6px 0 0;font-size:.85em;padding:.45em 1.1em}

/* ---------- bands (source: .section.mode, .section.testimonials, .section.cta-section) ---------- */
.section.mode{background-color:var(--band)}
.section.testimonials{background-color:var(--band-2)}
.section.cta-section{background-color:var(--band)}
.container.cta{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:6vw;padding-bottom:6vw}
.btn-primary.cta-button{margin-top:15px}
.mode .tuition__card{background-color:var(--esc-bg)}

/* about: history beside its photo; values as the "advantages" check list */
.about__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:40px;align-items:center;margin-top:3vw}
.about__grid.sin-foto{grid-template-columns:minmax(0,1fr);max-width:820px;margin-left:auto;margin-right:auto}
.about__img{height:auto;aspect-ratio:4/3;box-shadow:3px 3px 0 0 var(--yellow)}
.about__text{font-size:1.05em}
.lema{font-style:italic;font-weight:600}
.values__heading{color:var(--royal-blue);text-align:center;font-family:var(--head);font-weight:800;font-size:1.5em;margin-top:3vw}
.advantages-section{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 22px;margin:15px 0}
.adv-item{display:flex;align-items:center}
.check-icon{display:inline-flex;color:var(--royal-blue);padding-right:6px;flex:none}
.check-icon svg{width:17px;height:13px}

/* ---------- director and staff (source: .testimonial-card, .testi__image, .ts__name, .ts__grade-level) ---------- */
.container.testimonials{padding-bottom:5vw}
.testimonial-card{background-color:var(--esc-bg);border-radius:15px;display:flex;flex-direction:row;justify-content:center;align-items:center;padding:16px;box-shadow:0 1px 18px -8px rgba(0,0,0,.6)}
.director .testimonial-card{max-width:820px;margin:3vw auto 0;padding:28px;gap:10px}
.testi__image{flex:none;border-radius:50%;width:120px;height:120px;overflow:hidden}
.testi__image img{width:100%;height:100%;object-fit:cover}
.testi__content-w{padding-left:15px;position:relative;min-width:0;flex:1}
.sin-foto .testi__content-w,.story .testi__content-w{padding-left:0}
.ts__para{margin-bottom:12px}
.ts__para p{margin:0 0 .8em}
.ts__name{color:var(--royal-blue);font-size:1em;font-weight:700;margin:0}
.ts__grade-level{color:var(--grey-brand);font-size:.9em;font-style:italic;margin:0}
/* staff: rows of four, the last row centred (no empty columns whatever the count) */
.staff-w{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:3vw}
.staff-w>li{flex:0 1 calc((100% - 48px)/4);min-width:0}
.staff__card{justify-content:flex-start;align-items:center;padding:14px 16px}
.staff__card .testi__image{width:64px;height:64px}
.story{display:block;padding:28px}
.story .grade-level-card__heading{text-align:left}
.story .ts__grade-level{margin-bottom:14px}

/* ---------- notice band (source: .notice__wrapper); the ¿Hay clases hoy? card in three states ---------- */
.container.tuition-notice{padding-top:0;padding-bottom:3vw}
.notice__wrapper{border:2px solid var(--esc-accent);background-color:var(--esc-accent);color:var(--esc-accent-ink);border-radius:25px;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:2.1em;text-align:center}
.notice__label{margin:0 0 6px;font-weight:700;font-size:.95em}
.notice__heading{font-family:var(--head);font-size:2.5em;line-height:110%;font-weight:400;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.notice__body{width:70%;margin:0;padding-top:15px;font-weight:600}
.notice--normal{background-color:var(--esc-bg);color:var(--font-color);border:1px solid var(--esc-primary);box-shadow:3px 3px 0 0 var(--yellow)}
.notice--normal .notice__heading{color:var(--royal-blue);font-weight:800}
.notice--normal .check-icon svg{width:30px;height:23px}
.notice--especial{background-color:var(--band);color:var(--font-color);border-color:var(--esc-secondary)}
.notice--especial .notice__heading{font-weight:800}
.notice--suspendidas .notice__heading{font-weight:800}
.es-inicio .hero:not(.con-foto) .container.hero{min-height:70vh}

/* ---------- FAQ, dates, documents (source: .faq__title-trigger, .faq__content, .faq-text-header) ---------- */
.faq-wrapper{padding-top:3vw;list-style:none}
.faq__item-wrapper{overflow:hidden}
.faq__title-trigger{display:block;border-bottom:2px solid var(--yellow);color:var(--royal-blue);cursor:pointer;margin-bottom:1em;padding:1em 2.4em 1em 1em;transition:all .2s ease-in-out;list-style:none;position:relative}
.faq__title-trigger::-webkit-details-marker{display:none}
summary.faq__title-trigger::after{content:"+";position:absolute;right:.6em;top:50%;transform:translateY(-50%);font-family:var(--head);font-weight:800;font-size:1.4em}
details[open]>summary.faq__title-trigger::after{content:"−"}
summary.faq__title-trigger:hover,a.faq__title-trigger:hover{color:var(--royal-blue);padding-left:2em}
.faq__heading{margin:0;font-size:1.25em;line-height:1.3;font-weight:700;display:inline}
.faq__content{padding:0 1em 0 3em}
.faq__content-w{padding-bottom:2em}
.faq-text-header{border-left:5px solid var(--blue-2);margin:15px 0 10px;padding-left:10px;font-weight:600}
.event{display:flex;align-items:flex-start;gap:18px;cursor:default;padding-right:1em}
.event:hover{padding-left:1em}
.event__date{flex:none;margin:0;width:7.2em;padding-left:.4em;padding-right:.4em;text-align:center;white-space:nowrap}
.event__text{min-width:0}
.event__text p{margin:4px 0 0;color:var(--font-color)}
.event__text .event__note{font-style:italic}
.event .faq__heading{display:block}
.doc{display:flex;justify-content:space-between;align-items:center;gap:14px;text-decoration:none;padding-right:1em}
.doc__icon{width:24px;height:24px;flex:none}
.doc-list li{list-style:none}

/* ---------- contact (grade-level cards with the FAQ answer's labels) ---------- */
.contact-w{display:flex;flex-wrap:wrap;gap:16px;justify-content:center;margin-top:3vw}
.contact__card{flex:1 1 360px;max-width:640px;justify-content:flex-start}
.contact__card p{margin:0 0 6px;overflow-wrap:anywhere}
.contact__card p+.faq-text-header{margin-top:20px}
.contact__card .faq-text-header:first-child{margin-top:0}
.contact__card .nota{color:var(--grey-brand);font-size:.95em}
.contact__card .grade-level-card__heading{margin-bottom:14px}
.social-pills{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.social-pills .tuition__header{margin:0}
.social-pills .tuition__header:hover{background-color:var(--yellow);color:var(--esc-secondary-ink)}

/* gallery: the source's rounded image frame, in a grid */
.gallery-w{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:3vw}
.gallery__item{flex:0 1 calc((100% - 32px)/3);min-width:0}
.gallery__item .grade-level__img{aspect-ratio:4/3}
/* three across: a count that would leave one or two photos alone ends in rows of two instead */
@media screen and (min-width:992px){
  .gallery__item:nth-last-child(1):nth-child(3n+1),.gallery__item:nth-last-child(2):nth-child(3n+3),
  .gallery__item:nth-last-child(3):nth-child(3n+2),.gallery__item:nth-last-child(4):nth-child(3n+1),
  .gallery__item:nth-last-child(1):nth-child(3n+2),.gallery__item:nth-last-child(2):nth-child(3n+1){flex-basis:calc((100% - 16px)/2)}
  .gallery__item:only-child{flex-basis:calc((100% - 16px)/2)}
}
html:not(:has(meta[name="esc-owner"])) .gallery__item:has(> [data-esc-empty]){display:none} /* a caption without its photo: visitors don't see it */
.gallery__item figcaption{text-align:center;padding-top:8px;font-size:.95em}

/* quick links: the hero's buttons in a row */
.container.quick{padding-top:0;padding-bottom:3vw}
.quick-w{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:10px}
.quick-w .btn-primary{padding:10px 24px}

/* ---------- footer (source: .section.footer, .social-link, .footer__contact-w) ---------- */
.section.footer{background-color:var(--font-color);color:var(--esc-bg)}
.container.footer{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:50px;padding-bottom:50px;text-align:center}
.footer a{color:inherit}
.footer__name{font-weight:600}
.social-wrapper{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;padding:15px 0}
.social-link{color:color-mix(in srgb,var(--esc-secondary) 72%,var(--esc-bg))!important;font-weight:700;text-decoration:none}
.social-link:hover{text-decoration:underline}
.footer__contact-w{display:flex;justify-content:center;align-items:center;padding-bottom:5px;overflow-wrap:anywhere}
.footer__contact-icon{display:inline-flex;padding-right:5px;flex:none}
.footer__contact-icon svg{width:22px;height:22px}
.footer__pages{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:4px 16px;margin-top:20px;padding-top:18px;border-top:1px solid color-mix(in srgb,var(--esc-bg) 25%,transparent);font-size:.95em}
.footer__pages a{text-decoration:none}
.footer__pages a:hover{text-decoration:underline}
.footer__legal{margin:12px 0 0;font-size:.85em;opacity:.85}
.footer a:focus-visible{outline-color:var(--esc-bg)}

/* ---------- responsive (the source's breakpoints) ---------- */
@media screen and (min-width:1440px){
  .subtext{max-width:60%}
  .grade-level-card-w{gap:30px}
  .grade-level-card-w.cards>*{flex-basis:calc((100% - 60px)/3)}
  .grade-level-card-w.mv>*{flex-basis:calc((100% - 30px)/2)}
}
@media screen and (max-width:1180px){
  .btn-primary.nav-toggle{display:inline-block}
  .call-to-action{display:none;position:absolute;left:0;right:0;top:100%;background:var(--esc-bg);flex-direction:column;align-items:stretch;gap:0;padding:6px 15px 18px;box-shadow:0 12px 18px -12px rgba(0,0,0,.35)}
  .esc-nav-open .call-to-action{display:flex}
  .nav-links{flex-direction:column;gap:0}
  .nav-links li{border-bottom:2px solid var(--yellow)}
  .nav-text-block{display:block;padding:12px 4px;font-size:1.05em;white-space:normal}
  .nav-text-block[aria-current]{text-decoration:none;color:var(--royal-blue)}
  .call-to-action .btn-primary.nav{margin-top:14px;align-self:center;padding:10px 26px}
}
@media screen and (min-width:1181px){
  .call-to-action.con-boton .nav-links li:has(a[data-ruta="/inscripciones"]){display:none}
}
@media screen and (max-width:991px){
  .container{padding-top:72px;padding-bottom:72px}
  .container.nav{padding-top:5px;padding-bottom:5px}
  .container.hero{min-height:0;padding-top:72px;padding-bottom:72px}
  .es-inicio .hero:not(.con-foto) .container.hero{min-height:0}
  .container.tuition-notice{padding-top:0;padding-bottom:40px}
  .container.stats{padding-top:40px;padding-bottom:40px}
  .container.quick{padding-top:0;padding-bottom:40px}
  .hero__heading{font-size:3em}
  .page-head .hero__heading{font-size:2.6em}
  .grade-level-card-w{gap:15px}
  .grade-level-card-w.cards>*{flex-basis:calc((100% - 15px)/2)}
  .grade-level_card{height:auto}
  .about__grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .gallery__item{flex-basis:calc((100% - 16px)/2)}
  .gallery__item:last-child:nth-child(odd){flex-basis:100%}  /* two across: an odd last photo takes the whole row, wider */
  .gallery__item:last-child:nth-child(odd) .grade-level__img{aspect-ratio:16/9}
  .staff-w>li{flex-basis:calc((100% - 32px)/3)}
  .notice__body{width:100%}
}
@media screen and (max-width:767px){
  .hero__heading{font-size:2.7em}
  .hero-brand-name{font-size:1.3em}
  .subtext{max-width:100%}
  .grade-level-card-w.cards>*,.grade-level-card-w.mv>*{flex-basis:100%}
  .tuition__card{flex-basis:100%}
  .staff-w>li{flex-basis:calc((100% - 16px)/2)}
  .hero__img.grade-level__img{aspect-ratio:4/3}  /* a phone hero shows people, not a strip (the frame while empty; with a photo see "phones" above) */
  .grade-level_card.wide .grade-level__img{aspect-ratio:3/2}
}
@media screen and (max-width:479px){
  .page-heading-2{font-size:2em}
  .container{padding-top:50px;padding-bottom:50px}
  .container.hero{padding-top:36px;padding-bottom:40px}
  .container.hero.page-head{padding-top:36px;padding-bottom:16px}
  .container.tuition-notice,.container.quick{padding-top:0;padding-bottom:30px}
  .container.stats{padding-top:32px;padding-bottom:32px}
  .container.cta{padding-top:50px;padding-bottom:50px}
  .container.footer{font-size:15px}
  .logo-embed{width:44px;height:44px}
  .nav-brand{font-size:1.05em}
  .hero__heading,.page-head .hero__heading{font-size:2em}
  .horizontal-button-w{gap:0 4px}
  .horizontal-button-w .btn-primary{flex:1 1 100%;margin-bottom:4px}
  .btn-primary{text-align:center}
  .hero-brand-name{text-align:center;font-size:1.1em}
  .blob2{width:40vw;height:150vw;top:51%}
  .subtext{font-size:1.1em}
  .grade-level_card{min-height:0;padding:28px 16px}
  .grade-level_card.wide{padding:24px 18px}
  .grade-level-card__heading{font-size:1.6em}
  .grade-level-card__heading.small{font-size:1.3em}
  .testimonial-card{flex-direction:column;align-items:center;text-align:center}
  .director .testimonial-card{padding:22px 16px}
  .testi__content-w{padding-left:0;padding-top:10px}
  .staff-w{gap:10px}
  .staff-w>li{flex-basis:calc((100% - 10px)/2)}
  .staff__card{padding:12px 10px}
  .staff__card .testi__content-w{padding:8px 0 0}
  .staff__card.sin-foto .testi__content-w{padding:0}
  .story{text-align:left}
  .tuition__card{padding:2em 1em}
  .tuition__pricing{font-size:2.6em}
  .notice__wrapper{padding:1.4em 1.1em}
  .notice__heading{font-size:1.7em}
  .faq__content{padding-left:1em}
  .faq__heading{font-size:1.1em}
  .event{flex-direction:column;gap:8px;padding-left:.5em}
  .gallery-w{gap:10px}
  .gallery__item{flex-basis:calc((100% - 10px)/2)}  /* two across on phones, never one long column */  .stats-w{gap:22px 16px}
  .stat{flex-basis:calc(50% - 8px)}
}
/* ---------- photos, round 2 (10 Nov 2026): counts that compose, compact lists, tight text cards ---------- */
/* the inner pages' text sections: a little air between the heading and its text */
.container.narrow>.page-heading-2{margin-bottom:.45em}
/* cards without a photo hold their text, not empty height */
.grade-level-card-w .grade-level_card:not(:has(.grade-level__img img)){min-height:0;padding:30px 24px}
/* four cards (needs) make two rows of two; one or two stay a readable width */
.grade-level-card-w.cards:not(.mv):has(>:nth-child(4):last-child),.needs .grade-level-card-w.cards:not(:has(>:nth-child(3))){max-width:1000px;margin-left:auto;margin-right:auto}
.grade-level-card-w.cards:not(.mv):has(>:nth-child(4):last-child)>*,.needs .grade-level-card-w.cards:has(>:nth-child(2):last-child)>*{flex-basis:calc(50% - 16px)}
.needs .grade-level-card-w.cards>:only-child{flex-basis:min(100%,640px)}
/* the day-to-day cards: four go four across */
@media screen and (min-width:992px){
  .daily-w:has(>:nth-child(4):last-child)>.tuition__card{flex:0 1 calc(25% - 10px)}
}
/* one or two levels: wide cards, the photo beside the text (a single level reads as intended, not a lone narrow card) */
@media screen and (min-width:768px){
  .grade-level .grade-level-card-w.cards:not(:has(>:nth-child(3))){flex-direction:column;align-items:center}
  .grade-level .grade-level-card-w.cards:not(:has(>:nth-child(3)))>*{flex:none;width:100%;max-width:960px}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card{text-align:left;align-items:stretch;padding:30px 36px}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card:has(.grade-level__img img){display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr;column-gap:34px;padding:22px 34px 22px 22px}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card:has(.grade-level__img img) .grade-level__img{grid-column:1;grid-row:1/-1;margin:0;aspect-ratio:4/3}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card:has(.grade-level__img img)>:not(.grade-level__img){grid-column:2}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card>:nth-child(2){grid-row:2}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card>:nth-child(3){grid-row:3}
  .grade-level .cards:not(:has(>:nth-child(3)))>.grade-level_card>:nth-child(4){grid-row:4}
  .grade-level .cards:not(:has(>:nth-child(3))) .grade-level-card__heading,.grade-level .cards:not(:has(>:nth-child(3))) .grade-level__para{text-align:left}
}
/* staff: one person gets a card of real width */
.staff-w>li:only-child{flex-basis:min(100%,440px)}
.staff-w>li:only-child .staff__card,.staff-w>li.staff__card:only-child{padding:22px 26px}
.staff-w>li:only-child .ts__name{font-size:1.15em}
.staff-w>li.staff__card:only-child{justify-content:center;text-align:center}
/* staff without any photos (five or more): a compact list of name and role, ruled with the FAQ's yellow line */
.staff-w:not(:has(img)):has(>:nth-child(5)){gap:0 28px}
.staff-w:not(:has(img)):has(>:nth-child(5))>li{flex:0 1 calc((100% - 84px)/4);background:none;box-shadow:none;border-radius:0;border-bottom:2px solid var(--yellow);justify-content:flex-start;align-items:center;text-align:left;padding:12px 2px}
.staff-w:not(:has(img)):has(>:nth-child(5)) .testi__image{width:34px;height:34px;min-height:0}
.staff-w:not(:has(img)):has(>:nth-child(5)) .testi__content-w{padding:0}
.staff-w:not(:has(img)):has(>:nth-child(5)) .testi__image+.testi__content-w{padding-left:10px}
@media screen and (max-width:991px){
  .staff-w:not(:has(img)):has(>:nth-child(5))>li{flex-basis:calc((100% - 56px)/3)}
}
@media screen and (max-width:767px){
  /* stats: one row of up to three, four as two by two, never a lone box; values shrink to fit their column */
  .stats-w{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;container-type:inline-size}
  .stats-w:has(>:only-child){grid-template-columns:minmax(0,1fr)}
  .stats-w:has(>:nth-child(3):last-child){grid-template-columns:repeat(3,minmax(0,1fr))}
  .stats-w:not(:has(>:nth-child(3):last-child))>.stat:last-child:nth-child(odd):not(:only-child){grid-column:1/-1}
  .stats-w .tuition__pricing{font-size:min(2.6em,12cqi);overflow-wrap:normal;white-space:nowrap}
  .stats-w:has(>:nth-child(3):last-child) .tuition__pricing{font-size:min(2.2em,8.4cqi)}
  .stats-w .stat .tuition__header{padding:.45em .8em;max-width:100%}
  /* news on the home page: the first item keeps its big photo, the rest are compact rows, a small photo beside the text */
  .posts:not(.list) .post:not(:first-child){min-height:0;padding:14px;text-align:left;align-items:stretch}
  .posts:not(.list) .post:not(:first-child):has(.grade-level__img img){display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:14px}
  .posts:not(.list) .post:not(:first-child) .grade-level__img{grid-column:1;grid-row:1/-1;margin:0;aspect-ratio:1/1;border-radius:16px;align-self:start}
  .posts:not(.list) .post:not(:first-child)>:not(.grade-level__img){grid-column:2}
  .posts:not(.list) .post:not(:first-child) .post__meta{justify-content:flex-start;gap:4px 8px;margin:0 0 6px;font-size:.85em}
  .posts:not(.list) .post:not(:first-child) .post__meta .tuition__header{padding:.3em .8em}
  .posts:not(.list) .post:not(:first-child) .grade-level-card__heading{font-size:1.1em;text-align:left;margin-bottom:4px}
  .posts:not(.list) .post:not(:first-child) .grade-level__para{text-align:left;font-size:.95em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  /* levels after the first: the same compact row (small photo beside the name; the description is kept whole) */
  .grade-level .cards>.grade-level_card:not(:first-child){min-height:0;padding:14px;text-align:left;align-items:stretch}
  .grade-level .cards>.grade-level_card:not(:first-child):has(.grade-level__img img){display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-rows:auto auto auto 1fr;column-gap:14px}
  .grade-level .cards>.grade-level_card:not(:first-child) .grade-level__img{grid-column:1;grid-row:1/-1;margin:0;aspect-ratio:1/1;border-radius:16px;align-self:start}
  .grade-level .cards>.grade-level_card:not(:first-child)>:not(.grade-level__img){grid-column:2}
  .grade-level .cards>.grade-level_card:not(:first-child) .grade-level-card__heading{font-size:1.25em;text-align:left;margin-bottom:4px}
  .grade-level .cards>.grade-level_card:not(:first-child) .grade-level__para{text-align:left;font-size:.95em;margin-bottom:4px}
  /* text-only cards (needs, mission, vision) and the day-to-day cards: tighter on phones */
  .grade-level-card-w .grade-level_card:not(:has(.grade-level__img img)){padding:20px 18px}
  .grade-level-card-w.cards:not(.mv)>*,.grade-level-card-w.cards:not(.mv):has(>:nth-child(4):last-child)>*,.needs .grade-level-card-w.cards:has(>:nth-child(2):last-child)>*{flex-basis:100%}
  .daily-w .tuition__card{padding:1.4em 1.1em}
  .daily-w .tuition__header{margin-bottom:14px}
  /* the staff list goes two across */
  .staff-w:not(:has(img)):has(>:nth-child(5)){gap:0 16px}
  .staff-w:not(:has(img)):has(>:nth-child(5))>li{flex-basis:calc(50% - 8px);padding:8px 0;flex-direction:row;align-items:center;text-align:left}
  .staff-w:not(:has(img)):has(>:nth-child(5)) .ts__name{font-size:.95em;line-height:1.25}
  .staff-w:not(:has(img)):has(>:nth-child(5)) .ts__grade-level{font-size:.85em;line-height:1.3}
  .staff-w:not(:has(img)):has(>:nth-child(5)) .testi__content-w{padding:0}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
