/*
Theme Name: Studio Theme
Theme URI: https://wordpress.org/themes/
Author: Your Studio
Description: Tema de bloques para Cumani, Escuela Humanista en Coyoacán.
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: studio-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --c-cream: #f6f2e9;
  --c-cream-2: #efe9dc;
  --c-green: #1f4a2c;
  --c-green-deep: #1d4527;
  --c-sage: #51684f;
  --c-olive: #9bb35a;
  --c-olive-soft: #c9d6a4;
  --c-line: #d9dcc4;
  --c-ink: #23352a;
  --f-display: Nunito, system-ui, sans-serif;
  --f-body: "Nunito Sans", system-ui, sans-serif;
  --f-mono: "Space Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
html { scroll-behavior: smooth; }
html.cumani-lock { overflow: hidden; }
body { margin: 0; -webkit-font-smoothing: antialiased; background: var(--c-cream); color: var(--c-ink); font-family: var(--f-body); }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
a { text-underline-offset: .2em; }
::selection { background: var(--c-olive-soft); color: var(--c-green); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--c-olive); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.cumani-header { max-width: 1140px; margin: 10px auto 0; padding: 0 16px; pointer-events: auto; }
.cumani-skip { position: absolute; left: 1rem; top: -60px; background: var(--c-green); color: var(--c-cream); padding: .6rem 1rem; border-radius: 999px; z-index: 2; }
.cumani-skip:focus { top: 1rem; }
.cumani-header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: rgba(246, 242, 233, .96); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 8px 20px 8px 22px;
  box-shadow: 0 10px 30px -14px rgba(20, 45, 28, .45);
  transition: box-shadow .3s var(--ease);
}
.is-scrolled .cumani-header__bar { box-shadow: 0 14px 36px -12px rgba(20, 45, 28, .5); }
.cumani-header__logo { display: flex; line-height: 0; }
.cumani-header__logo img { height: 24px; width: auto; }
.cumani-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.cumani-nav__row { display: flex; align-items: center; }
.cumani-nav__link { color: var(--c-sage); text-decoration: none; font-weight: 600; font-size: .92rem; transition: color .2s; }
.cumani-nav__link:hover, .is-open .cumani-nav__link { color: var(--c-green); }
.cumani-nav__caret { border: 0; background: none; padding: 6px 4px; margin-left: 1px; cursor: pointer; color: var(--c-sage); display: inline-flex; }
.cumani-nav__caret::before { content: ""; border: 5px solid transparent; border-top: 7px solid currentColor; border-bottom: 0; transition: transform .2s var(--ease); }
.is-open .cumani-nav__caret { color: var(--c-green); }
.is-open .cumani-nav__caret::before { transform: rotate(180deg); }
.has-sub { position: relative; }
.cumani-sub {
  list-style: none; margin: 0; padding: 12px; position: absolute; top: calc(100% + 22px); left: -60px; min-width: 250px;
  background: var(--c-cream); border: 1px solid var(--c-line); border-radius: 16px;
  box-shadow: 0 24px 50px -20px rgba(20, 45, 28, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.is-open > .cumani-sub { opacity: 1; visibility: visible; transform: none; }
.cumani-sub a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; transition: background .2s; }
.cumani-sub a:hover, .cumani-sub a:focus-visible { background: var(--c-cream-2); }
.cumani-sub strong { display: block; color: var(--c-sage); font-weight: 700; font-size: .95rem; }
.cumani-sub span { display: block; color: var(--c-green); font-size: .8rem; margin-top: 2px; }
.cumani-btn {
  display: inline-block; background: var(--c-green-deep); color: var(--c-cream) !important; text-decoration: none;
  font-weight: 700; font-size: .88rem; padding: .6rem 1.15rem; border-radius: 999px; transition: transform .2s var(--ease), background .2s;
}
.cumani-btn:hover { background: #163a20; transform: translateY(-1px); }
.cumani-header__toggle { display: none; }

@media (max-width: 900px) {
  .cumani-header__bar { border-radius: 28px; flex-wrap: wrap; padding: 10px 12px 10px 20px; }
  .cumani-header__toggle { display: inline-flex; border: 0; background: var(--c-green-deep); color: var(--c-cream); width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }
  .cumani-burger { display: grid; gap: 4px; }
  .cumani-burger i { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
  .is-menu-open .cumani-burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .is-menu-open .cumani-burger i:nth-child(2) { opacity: 0; }
  .is-menu-open .cumani-burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .cumani-nav { display: none; flex-basis: 100%; max-height: calc(100dvh - 110px); overflow-y: auto; }
  .is-menu-open .cumani-nav { display: block; }
  .cumani-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 4px 6px; }
  .cumani-nav__list > li { border-top: 1px solid var(--c-line); }
  .cumani-nav__link { display: block; padding: 14px 4px; font-size: 1.05rem; flex: 1; }
  .cumani-nav__caret { padding: 14px; }
  .cumani-sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--c-cream-2); display: none; min-width: 0; margin-bottom: 10px; padding: 6px; }
  .is-open > .cumani-sub { display: block; }
  .cumani-nav__cta-li { border-top: 0 !important; padding-top: 10px; }
  .cumani-nav__cta-li .cumani-btn { display: block; text-align: center; padding: .9rem; }
}

/* ---------- Hero ---------- */
.cumani-hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; color: #fff8ec; margin: 0; }
.cumani-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; animation: cumani-zoom 18s var(--ease) both; }
.cumani-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cumani-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(18, 28, 18, .72) 0%, rgba(18, 28, 18, .45) 42%, rgba(18, 28, 18, .12) 75%), linear-gradient(0deg, rgba(18, 28, 18, .35), transparent 40%); }
.cumani-hero__inner { position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto; padding: 120px 24px 80px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.cumani-hero__copy > * { animation: cumani-rise .9s var(--ease) both; }
.cumani-hero__copy > :nth-child(2) { animation-delay: .1s; }
.cumani-hero__copy > :nth-child(3) { animation-delay: .2s; }
.cumani-hero__copy > :nth-child(4) { animation-delay: .3s; }
.cumani-hero__label { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.4rem; padding: .35rem .9rem; border: 1px solid rgba(201, 214, 164, .55); border-radius: 999px; background: rgba(20, 30, 20, .35); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: #efe9dc; }
.cumani-hero__label::before { content: ""; display: block; flex: none; width: 16px; height: 16px; background: url("assets/icons/lucide/map-pin.svg") center / contain no-repeat; }
.cumani-hero__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 5.2vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; margin: 0 0 1.4rem; color: #fff8ec; }
.cumani-hero__title mark { display: block; color: var(--c-olive); background: transparent; }
.cumani-hero__lead { font-size: 1.05rem; line-height: 1.6; max-width: 34em; margin: 0 0 1.6rem; color: #f3eee2; }
.cumani-pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.cumani-pills .wp-block-button__link { display: inline-flex; align-items: center; gap: .4rem; background: var(--c-cream); color: var(--c-green); text-decoration: none; font-weight: 600; font-size: .82rem; padding: .45rem .95rem; border-radius: 999px; transition: transform .2s var(--ease), background .2s; }
.cumani-pills .wp-block-button[class*="cumani-pill--"] .wp-block-button__link::before { content: ""; display: inline-block; flex: none; width: 16px; height: 16px; background: var(--cumani-pill-icon) center / contain no-repeat; }
.cumani-pill--baby { --cumani-pill-icon: url("assets/icons/lucide/baby.svg"); }
.cumani-pill--sun { --cumani-pill-icon: url("assets/icons/lucide/sun.svg"); }
.cumani-pill--heart { --cumani-pill-icon: url("assets/icons/lucide/heart.svg"); }
.cumani-pill--star { --cumani-pill-icon: url("assets/icons/lucide/star.svg"); }
.cumani-pill--book-open { --cumani-pill-icon: url("assets/icons/lucide/book-open.svg"); }
.cumani-pills .wp-block-button__link:hover { transform: translateY(-2px); background: #fff9ee; }
.cumani-hero__down { position: absolute; z-index: 1; left: 50%; bottom: 14px; transform: translateX(-50%); opacity: .7; animation: cumani-bob 2.4s ease-in-out infinite; }
.cumani-hero__down .wp-block-button__link { background: none; color: #fff8ec; font-size: .8rem; line-height: 1; padding: 0; }
.cumani-hero__end { height: 0; margin: 0; }

/* ---------- Form card ---------- */
.cumani-form-card { background: rgba(246, 245, 238, .96); color: var(--c-green); border: 2px solid rgba(140, 170, 130, .7); border-radius: 16px; padding: 1.4rem 1.2rem 1.3rem; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .55); animation: cumani-rise 1s .25s var(--ease) both; }
.cumani-hero__form-content > * { margin: 0; }
.cumani-visit-form__title { font-family: var(--f-display); font-size: 1.35rem; margin: 0 0 .25rem; color: var(--c-green); font-weight: 700; }
.cumani-visit-form__intro { font-size: .82rem; margin: 0 0 1.1rem; line-height: 1.45; color: var(--c-green); }
.cumani-visit-form form { display: grid; gap: .8rem; margin: 0; }
.cumani-visit-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.cumani-visit-form__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cumani-visit-form__notice { margin: 0 0 .8rem; padding: .55rem .8rem; border-radius: 10px; font-size: .8rem; background: #e6eed3; color: var(--c-green); }
.cumani-visit-form__notice--error { background: #f6e1d8; color: #7a2e1b; }
.cumani-visit-form__privacy { margin: 0; font-size: .7rem; line-height: 1.4; color: var(--c-sage); }
.cumani-visit-form__privacy a { color: var(--c-green); }
.cumani-visit-form label { display: block; font-size: .78rem; font-weight: 600; color: var(--c-green); margin-bottom: .3rem; }
.cumani-visit-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cumani-visit-form select, .cumani-visit-form textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: .8rem; color: var(--c-green);
  background: #f7f5ec; border: 1.5px solid var(--c-olive-soft); border-radius: 999px; padding: .5rem .85rem; transition: border-color .2s, box-shadow .2s;
}
.cumani-visit-form textarea { border-radius: 14px; min-height: 3.2rem; resize: vertical; }
.cumani-visit-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351684f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 14px; padding-right: 2rem; }
.cumani-visit-form ::placeholder { color: #5c6f58; opacity: .85; }
.cumani-visit-form input:focus, .cumani-visit-form select:focus, .cumani-visit-form textarea:focus { outline: none; border-color: var(--c-sage); box-shadow: 0 0 0 3px rgba(155, 179, 90, .25); }
.cumani-visit-form__submit { width: 100%; border: 0; cursor: pointer; background: var(--c-green-deep); color: var(--c-cream); font: inherit; font-weight: 700; font-size: .88rem; padding: .75rem; border-radius: 999px; transition: background .2s, transform .2s var(--ease); }
.cumani-visit-form__submit:hover { background: #163a20; transform: translateY(-1px); }

@media (max-width: 900px) {
  .cumani-hero__inner { grid-template-columns: 1fr; padding-top: 130px; gap: 2.2rem; }
  .cumani-hero::after { background: linear-gradient(180deg, rgba(18, 28, 18, .75), rgba(18, 28, 18, .45) 60%, rgba(18, 28, 18, .7)); }
}
@media (max-width: 520px) { .cumani-visit-form__row { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
body:not(.home) .wp-site-blocks > main, .cumani-page { padding-top: 130px; padding-bottom: 5rem; }
.cumani-page__title { font-family: var(--f-display); font-size: clamp(2.2rem, 4.5vw, 3.2rem); color: var(--c-green); letter-spacing: -.01em; }

/* ---------- Footer ---------- */
.site-footer { margin: 0; }
.cumani-footer { background: #214a2b; color: #d5dccd; padding: 3.2rem 24px 2rem; font-size: .8rem; }
.cumani-footer__grid, .cumani-footer__bottom { max-width: 1100px; margin: 0 auto; }
.cumani-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; padding-bottom: 2.6rem; border-bottom: 1px solid rgba(213, 220, 205, .15); }
.cumani-footer h2 { font-family: var(--f-display); font-size: .95rem; color: #fff8ec; margin: .3rem 0 1.1rem; font-weight: 700; }
.cumani-footer p { margin: 0; line-height: 1.55; }
.cumani-footer a { color: #d5dccd; text-decoration: none; transition: color .2s; }
.cumani-footer a:hover { color: #fff8ec; }
.cumani-footer__brand img { height: 28px; width: auto; margin-bottom: 1rem; }
.cumani-footer__domain { display: block; margin-top: 1.1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #8fa487; }
.cumani-footer ul { list-style: none; margin: 0; padding: 0; }
.cumani-footer nav li + li { margin-top: .85rem; }
.cumani-footer__contact li { display: flex; gap: .7rem; align-items: flex-start; }
.cumani-footer__contact li + li { margin-top: .85rem; }
.cumani-footer__contact svg { flex: none; width: 15px; height: 15px; fill: none; stroke: var(--c-olive); stroke-width: 2; margin-top: 2px; }
.cumani-social { display: flex; gap: .55rem; margin-top: 1.1rem !important; }
.cumani-social a { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(213, 220, 205, .3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.cumani-social a:hover { background: rgba(255, 248, 236, .1); border-color: rgba(213, 220, 205, .6); }
.cumani-social svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.cumani-social svg.fill { fill: currentColor; stroke: none; }
.cumani-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; }
.cumani-footer__bottom p:last-child { display: flex; gap: 1.1rem; flex-wrap: wrap; }
.cumani-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: #3dbb5b; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); }
.cumani-wa:hover { transform: scale(1.07); }
.cumani-wa svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .cumani-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cumani-footer__grid { grid-template-columns: 1fr; } }

@keyframes cumani-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes cumani-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes cumani-bob { 50% { transform: translate(-50%, 6px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Cumani homepage: match the live site's scale and keep interior pages intact. */
body.home { --f-body: Inter, sans-serif; --f-mono: "JetBrains Mono", monospace; }
.cumani-header { max-width: 1280px; margin-top: 16px; padding: 0; }
.cumani-header__bar { min-height: 62px; box-sizing: border-box; padding: 8px 32px; }
.cumani-header__logo img { height: 36px; }
.cumani-nav__link { font-size: 14px; }
body.home .cumani-hero__inner { max-width: 1216px; box-sizing: border-box; padding: 110px 0 70px; grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr); gap: 100px; }
body.home .cumani-hero__bg img { object-position: center center; }
body.home .cumani-hero__bg, body.home .cumani-hero__copy > *, body.home .cumani-form-card { animation: none; }
body.home .cumani-hero::after { background: linear-gradient(90deg,rgba(23,22,19,.73),rgba(23,22,19,.4) 43%,rgba(23,22,19,.08) 80%),linear-gradient(0deg,rgba(20,20,16,.3),transparent 40%); }
body.home .cumani-hero__title { font-size: clamp(48px,3.7vw,70px); line-height: 1.1; margin-bottom: 28px; font-weight: 800; }
body.home .cumani-hero__title mark { color: #8da52d; }
body.home .cumani-hero__lead { font-size: 18px; line-height: 1.55; max-width: 550px; margin-bottom: 44px; }
body.home .cumani-hero__label { margin-bottom: 24px; }
body.home .cumani-pills { gap: 7px; }
body.home .cumani-pills .wp-block-button__link { font-size: 14px; padding: 9px 16px; }
body.home .cumani-form-card { background: rgba(250,249,247,.98); border: 2px solid #95ae9e; border-radius: 22px; box-shadow: 5px 5px 0 rgba(16,67,37,.65); padding: 28px; }
body.home .cumani-visit-form__title { font-size: 24px; }
body.home .cumani-visit-form__intro { font-size: 14px; margin-bottom: 18px; }
body.home .cumani-visit-form form { gap: 8px; }
body.home .cumani-visit-form label { font-size: 14px; margin-bottom: 2px; }
body.home .cumani-visit-form input:not([type=checkbox]):not([type=radio]):not([type=submit]), body.home .cumani-visit-form select { font-size: 14px; padding: 7px 12px; }
body.home .cumani-visit-form textarea { font-size: 14px; min-height: 60px; }
body.home .cumani-visit-form__submit { font-size: 15px; padding: 13px; }
body.home .cumani-visit-form__privacy { font-size: 10px; line-height: 1.3; }
body.home .cumani-hero__down .wp-block-button__link { font-size: 0; }
body.home .cumani-hero__down .wp-block-button__link::after { content: "↓"; font-size: 30px; }

.cumani-section { padding: 112px 24px; margin: 0; scroll-margin-top: 80px; }
.cumani-section__container { max-width: 1216px; margin: 0 auto; }
.cumani-section h2, .cumani-section h3 { font-family: var(--f-display); color: #104326; letter-spacing: -.025em; line-height: 1.13; }
.cumani-section h2 { font-size: clamp(36px, 4vw, 54px); margin: 14px 0 22px; max-width: 680px; }
.cumani-section h3 { font-size: 24px; margin: 12px 0; }
.cumani-section p { line-height: 1.7; margin: 0 0 18px; }
.cumani-section__eyebrow { font: 500 12px var(--f-mono); text-transform: uppercase; letter-spacing: .22em; color: #336d47; }
.cumani-section__center { text-align: center; max-width: 740px; margin: 0 auto 55px; }
.cumani-section__center h2 { margin-left: auto; margin-right: auto; }
.cumani-essence, .cumani-testimonials { background: #f7f4f0; }
.cumani-pedagogy { background: #f7f5ef; }
.cumani-essence__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.cumani-essence__lead { min-width: 0; }
.cumani-essence__lead .wp-block-quote { border-left: 4px solid #104326; margin: 28px 0 0; padding-left: 22px; font-style: italic; }
.cumani-essence__lead .wp-block-quote p { margin: 0; }
.cumani-essence__photo { margin: 30px 0 0; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; }
.cumani-essence__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.cumani-essence__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: start; margin-top: 112px; }
.cumani-essence__cards > .cumani-essence__card { margin-block-start: 0; }
.cumani-essence__card, .cumani-levels__card, .cumani-tabs__detail { border: 1px solid #b7c6b0; border-radius: 20px; padding: 24px; background: #fffefa; box-shadow: 4px 5px 0 #aec0b5; }
.cumani-essence .cumani-section__eyebrow { font-size: 12px; letter-spacing: .26em; }
.cumani-essence h2 { font-size: 48px; line-height: 1.18; max-width: 440px; margin: 14px 0 22px; }
.cumani-essence__lead > p:not(.cumani-section__eyebrow) { font-size: 16px; line-height: 1.55; max-width: 500px; }
.cumani-essence__card { box-sizing: border-box; min-height: 280px; border: 2px solid #104326; border-radius: 22px; padding: 24px; background: #fafafa; box-shadow: 5px 5px 0 #104326; }
.cumani-essence__card::before { content: ""; display: block; width: 48px; height: 48px; border-radius: 50%; background: #e4ebe7 var(--cumani-essence-icon) center / 22px 22px no-repeat; margin-bottom: 18px; }
.cumani-essence__card--heart { --cumani-essence-icon: url("assets/icons/lucide/heart.svg"); }
.cumani-essence__card--lightbulb { --cumani-essence-icon: url("assets/icons/lucide/lightbulb.svg"); }
.cumani-essence__card--shield { --cumani-essence-icon: url("assets/icons/lucide/shield.svg"); }
.cumani-essence__card--users { --cumani-essence-icon: url("assets/icons/lucide/users.svg"); }
.cumani-essence__card h3 { font-size: 19px; line-height: 1.35; margin: 0 0 10px; }
.cumani-essence__card p { font-size: 14px; line-height: 1.48; margin-bottom: 0; }
@media (min-width: 1400px) {
  /* The source composition places this 1216px block left of viewport center. */
  .cumani-essence > .cumani-section__container { transform: translateX(-48px); }
}
.cumani-levels { background: #f7f2e9; }
.cumani-levels > .cumani-section__container > p:not(.cumani-section__eyebrow) { max-width: 650px; }
.cumani-levels__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 52px; }
.cumani-levels__grid > .cumani-levels__card {
  --level-accent: #b6d7b4;
  box-sizing: border-box; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; min-height: 624px;
  margin-block-start: 0; padding: 42px 28px 28px;
  background: #fafafa; border: 2px solid #104326; border-radius: 22px;
  box-shadow: 5px 5px 0 #104326;
}
.cumani-levels__card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 12px;
  background: var(--level-accent);
}
.cumani-levels__card:nth-child(2) { --level-accent: #8caaf0; }
.cumani-levels__card:nth-child(3) { --level-accent: #d9e2fb; }
.cumani-levels__card > .cumani-section__eyebrow {
  align-self: flex-start; width: fit-content; margin: 0 0 12px;
  padding: 4px 11px; background: var(--level-accent); border-radius: 999px;
  color: #104326; font: 600 11px/1.2 var(--f-body); letter-spacing: .02em;
}
.cumani-levels__card h3 { font-size: 30px; line-height: 1.15; margin: 0 0 3px; }
.cumani-levels__card > h3 + p { font-size: 14px; font-weight: 600; line-height: 1.4; margin: 0 0 20px; }
.cumani-levels__card > h3 + p + p { font-size: 16px; line-height: 1.62; margin: 0 0 22px; }
.cumani-levels__card ul {
  border-top: 1px solid #ddded8; margin: 0 0 22px;
  padding: 18px 0 0 18px; font-size: 14px; line-height: 1.8;
}
.cumani-levels__card li { padding-left: 1px; }
.cumani-levels__card li + li { margin-top: 4px; }
.cumani-levels__card li::marker { color: var(--level-accent); }
.cumani-tabs__detail ul { padding-left: 20px; line-height: 1.9; font-size: 14px; }
.cumani-levels__card .wp-block-buttons { display: block; margin-top: auto; }
.cumani-levels__card .wp-block-button { display: block; width: 100%; }
.cumani-levels__card .wp-block-button__link {
  box-sizing: border-box; display: block; width: 100%;
  border: 1px solid #e0e2df; border-radius: 999px; background: transparent;
  color: #104326; font: 700 13px/1.3 var(--f-body); text-transform: uppercase;
  text-align: center; padding: 11px 12px;
}
.cumani-levels__card .wp-block-button__link:hover { background: var(--level-accent); border-color: var(--level-accent); }
@media (min-width: 901px) and (max-width: 1399px) {
  .cumani-levels { padding-inline: 43px; }
  .cumani-levels > .cumani-section__container { max-width: 922px; margin-left: 0; }
  .cumani-levels > .cumani-section__container > .cumani-section__eyebrow { margin-bottom: 0; }
  .cumani-levels h2 { font-size: 36px; line-height: 1.2; max-width: 445px; margin: 6px 0 14px; }
  .cumani-levels > .cumani-section__container > p:not(.cumani-section__eyebrow) { font-size: 12px; line-height: 1.45; max-width: 500px; }
  .cumani-levels__grid { gap: 20px; margin-top: 39px; }
  .cumani-levels__grid > .cumani-levels__card { min-height: 472px; padding: 34px 24px 24px; border-radius: 17px; box-shadow: 4px 4px 0 #104326; }
  .cumani-levels__card::before { height: 9px; }
  .cumani-levels__card > .cumani-section__eyebrow { font-size: 9px; padding: 3px 9px; margin-bottom: 11px; }
  .cumani-levels__card h3 { font-size: 24px; margin-bottom: 3px; }
  .cumani-levels__card > h3 + p { font-size: 11px; margin-bottom: 14px; }
  .cumani-levels__card > h3 + p + p { font-size: 12px; line-height: 1.62; margin-bottom: 18px; }
  .cumani-levels__card ul { font-size: 11px; line-height: 1.75; padding-top: 15px; margin-bottom: 17px; }
  .cumani-levels__card li + li { margin-top: 3px; }
  .cumani-levels__card .wp-block-button__link { font-size: 10px; padding: 8px; }
}
.cumani-tabs__nav { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.cumani-tabs__nav button { border: 1px solid #b8c5b3; border-radius: 99px; background: transparent; color: #104326; font: 600 14px var(--f-body); padding: 12px 20px; cursor: pointer; }
.cumani-tabs__nav button[aria-selected="true"] { background: #104326; color: #fff; }
.cumani-tabs__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 850px; margin: auto; }
.cumani-tabs__panel[hidden] { display: none !important; }
.cumani-tabs__feature { border-radius: 20px; padding: 36px; color: #fff; background: #104326; min-height: 250px; }
.cumani-tabs__feature h3 { color: #fff; }
.cumani-tabs__feature .cumani-section__eyebrow { color: #bdd2a0; }
.cumani-tabs__detail { min-height: 250px; }
/* Pedagogy: reference composition at 1306px, with independent responsive sizing. */
.cumani-pedagogy { padding-top: 171px; padding-bottom: 62px; }
.cumani-pedagogy .cumani-section__center { max-width: 700px; margin-bottom: 42px; }
.cumani-pedagogy .cumani-section__center .cumani-section__eyebrow {
  margin: 0; font-size: 10px; letter-spacing: .29em;
}
.cumani-pedagogy .cumani-section__center h2 {
  max-width: 690px; font-size: 44px; line-height: 1.18;
  margin: 14px auto 20px; font-weight: 800;
}
.cumani-pedagogy .cumani-section__center > p:last-child {
  max-width: 650px; margin: 0 auto; font-size: 15px; line-height: 1.5;
}
.cumani-pedagogy .cumani-tabs__nav { gap: 10px; margin-bottom: 36px; }
.cumani-pedagogy .cumani-tabs__nav button {
  min-height: 38px; padding: 8px 18px; border: 1px solid #d1dac9;
  font-size: 13px; font-weight: 500; line-height: 1.25;
}
.cumani-pedagogy .cumani-tabs__nav button[aria-selected="true"] {
  border-color: #104326; box-shadow: 2px 2px 0 #c4d0ae;
}
.cumani-pedagogy .cumani-tabs__panel {
  max-width: 1100px; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px; align-items: stretch;
}
.cumani-pedagogy .cumani-tabs__panel > * { box-sizing: border-box; min-width: 0; min-height: 290px; margin-block-start: 0; }
.cumani-pedagogy .cumani-tabs__feature {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  align-items: center; overflow: hidden; text-align: center;
  padding: 32px 48px; border-radius: 24px;
  box-shadow: 5px 5px 0 #adc092;
}
.cumani-pedagogy .cumani-tabs__feature::before {
  content: "“"; position: absolute; left: 50%; top: 26px; transform: translateX(-50%);
  color: rgba(255,255,255,.055); font: 240px/1 Georgia, serif; pointer-events: none;
}
.cumani-pedagogy .cumani-tabs__feature > * { position: relative; }
.cumani-pedagogy .cumani-tabs__feature .cumani-section__eyebrow {
  font-size: 10px; letter-spacing: .28em; margin: 0 0 10px; text-transform: uppercase;
}
.cumani-pedagogy .cumani-tabs__feature h3 { font-size: 26px; margin: 0 0 22px; }
.cumani-pedagogy .cumani-tabs__feature > p:last-child {
  font-size: 14px; font-style: italic; line-height: 1.55; max-width: 390px; margin: 0;
}
.cumani-pedagogy .cumani-tabs__detail {
  padding: 34px 28px 26px; background: #fafafa; border: 2px solid #104326;
  border-radius: 24px; box-shadow: 5px 5px 0 #104326;
}
.cumani-pedagogy .cumani-tabs__detail h3 { font-size: 23px; margin: 0 0 18px; }
.cumani-pedagogy .cumani-tabs__detail ul {
  margin: 0; padding-left: 16px; font-size: 14px; line-height: 1.65;
}
.cumani-pedagogy .cumani-tabs__detail li { padding-left: 2px; }
.cumani-pedagogy .cumani-tabs__detail li + li { margin-top: 13px; }
.cumani-pedagogy .cumani-tabs__detail li::marker { color: #104326; }
.cumani-enrollment { position: relative; overflow: hidden; color: #fff; background: #104326; isolation: isolate; }
.cumani-enrollment__bg, .cumani-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; z-index: -2; }
.cumani-enrollment__bg img, .cumani-final__bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.cumani-enrollment__bg { opacity: .1; }
.cumani-enrollment .cumani-section__container, .cumani-final .cumani-section__container { position: relative; z-index: 1; }
.cumani-enrollment h2, .cumani-enrollment h3 { color: #fff; }
.cumani-enrollment .cumani-section__eyebrow { color: #b9d899; }
.cumani-enrollment__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.cumani-enrollment__step { border-top: 1px solid #7b9b7c; padding-top: 24px; }
.cumani-enrollment__step p { font-size: 14px; }
/* Enrollment: photo remains a decorative block so it stays editable in WordPress. */
.cumani-enrollment { min-height: 704px; box-sizing: border-box; padding: 115px 24px 100px; }
.cumani-enrollment::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: rgba(6, 64, 32, .68); pointer-events: none;
}
.cumani-enrollment__bg { opacity: 1; z-index: 0; }
.cumani-enrollment__bg img { object-position: center center; }
.cumani-enrollment > .cumani-section__container { max-width: 1096px; z-index: 2; }
.cumani-enrollment .cumani-section__center {
  text-align: left; max-width: 640px; margin: 0 0 53px;
}
.cumani-enrollment .cumani-section__center .cumani-section__eyebrow {
  margin: 0; font-size: 10px; letter-spacing: .25em; color: #acd18a;
}
.cumani-enrollment .cumani-section__center h2 {
  font-size: 40px; line-height: 1.17; font-weight: 800; max-width: 550px;
  margin: 18px 0 22px;
}
.cumani-enrollment .cumani-section__center > p:last-child {
  font-size: 14px; line-height: 1.55; max-width: 610px; margin: 0;
}
.cumani-enrollment__grid { gap: 18px; }
.cumani-enrollment__grid > .cumani-enrollment__step {
  box-sizing: border-box; min-width: 0; min-height: 222px; margin-block-start: 0;
  padding: 24px; background: rgba(32, 86, 53, .66);
  border: 1px solid rgba(174, 201, 135, .35);
  border-radius: 22px; box-shadow: 4px 5px 0 rgba(106, 139, 81, .55);
}
.cumani-enrollment__step .cumani-section__eyebrow {
  font: 400 46px/1 var(--f-display); letter-spacing: -.02em;
  color: #a1bc48; margin: 0 0 12px;
}
.cumani-enrollment__step h3 { font-size: 17px; line-height: 1.25; margin: 0 0 12px; }
.cumani-enrollment__step > p:last-child { font-size: 13px; line-height: 1.45; margin: 0; }
.cumani-testimonials__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.cumani-testimonials__card { background: #fff; border-radius: 20px; padding: 35px; border: 1px solid #dfdfd1; }
.cumani-testimonials__card h3 { font-size: 18px; margin: 25px 0 4px; }
.cumani-testimonials__card p:last-child { font-size: 13px; color: #66766b; }
/* Progressive enhancement: without JS the four editable Gutenberg cards remain a grid. */
.cumani-testimonials { background: #f7f4f0; }
.cumani-testimonials.is-enhanced { padding: 140px 24px 132px; }
.cumani-testimonials.is-enhanced .cumani-section__center { max-width: 920px; margin-bottom: 42px; }
.cumani-testimonials.is-enhanced .cumani-section__eyebrow {
  font: 500 10px/1.4 var(--f-mono); letter-spacing: .28em; margin: 0;
}
.cumani-testimonials.is-enhanced h2 {
  max-width: none; font-size: 40px; font-weight: 800; line-height: 1.2;
  margin: 14px auto 0;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
  max-width: 680px; margin: 0 auto;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card {
  box-sizing: border-box; position: relative; grid-area: 1 / 1; min-width: 0;
  min-height: 292px; margin: 0; padding: 76px 48px 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: #f8f9f8; border: 2px solid #104326;
  border-radius: 20px; box-shadow: 5px 2px 0 #104326;
  opacity: 0; visibility: hidden; transform: translateX(16px);
  transition: opacity .35s ease, transform .35s ease, visibility .35s;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card.is-current {
  opacity: 1; visibility: visible; transform: none; z-index: 1;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card.is-leaving {
  visibility: visible; transform: translateX(-16px);
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card::before {
  content: ""; position: absolute; top: 40px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: url("assets/icons/lucide/quote.svg") center / contain no-repeat;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card > p:first-child {
  max-width: 590px; font-size: 20px; font-style: italic; line-height: 1.58;
  color: #17462c; margin: 14px 0 28px;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card h3 {
  font: 700 13px/1.4 var(--f-body); letter-spacing: 0; margin: 0; color: #104326;
}
.cumani-testimonials.is-enhanced .cumani-testimonials__card > p:last-child {
  font-size: 12px; line-height: 1.4; color: #104326; margin: 0;
}
.cumani-testimonials__controls {
  display: flex; justify-content: center; align-items: center; gap: 20px;
  margin-top: 26px; color: #104326;
}
.cumani-testimonials__arrow {
  display: grid; place-items: center; width: 38px; height: 38px;
  padding: 0; border: 1px solid #dfdfd1; border-radius: 50%;
  background: transparent; color: inherit; font: 20px/1 var(--f-body); cursor: pointer;
}
.cumani-testimonials__arrow:hover { background: #e7ece2; }
.cumani-testimonials__dots { display: flex; align-items: center; gap: 2px; }
.cumani-testimonials__dots button {
  width: 11px; height: 24px; padding: 0; border: 0;
  background: transparent; cursor: pointer;
}
.cumani-testimonials__dots button::before {
  content: ""; display: block; width: 7px; height: 7px; margin: auto;
  border-radius: 99px; background: #cbd0c7; transition: width .25s, background .25s;
}
.cumani-testimonials__dots button[aria-current="true"] { width: 28px; }
.cumani-testimonials__dots button[aria-current="true"]::before {
  width: 26px; background: #104326;
}
@media (max-width: 600px) {
  .cumani-testimonials.is-enhanced { padding: 80px 24px; }
  .cumani-testimonials.is-enhanced .cumani-section__center { margin-bottom: 32px; }
  .cumani-testimonials.is-enhanced h2 { font-size: clamp(30px, 8vw, 40px); }
  .cumani-testimonials.is-enhanced .cumani-testimonials__card {
    min-height: 340px; padding: 74px 24px 32px;
  }
  .cumani-testimonials.is-enhanced .cumani-testimonials__card > p:first-child {
    font-size: 16px; line-height: 1.5; margin-bottom: 24px;
  }
}
.cumani-contact { background: #f7f2e9; }
.cumani-contact__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1096px; }
.cumani-contact__info a { color: #104326; text-decoration: none; }
.cumani-contact__info a:hover { text-decoration: underline; }
.cumani-contact__form { position: relative; min-width: 0; background: #fafafa; padding: 32px; border: 2px solid #104326; border-radius: 22px; box-shadow: 5px 5px 0 #104326; }
.cumani-contact__form > h3 { margin-top: 0; }
.cumani-contact__form .cumani-visit-form__title, .cumani-contact__form .cumani-visit-form__intro { display: none; }
/* The home contact card uses the freed form column for a contact-details grid. */
body.home .cumani-contact__grid {
  box-sizing: border-box; align-items: center; gap: clamp(28px, 5vw, 64px);
  padding: clamp(28px, 5vw, 56px); background: #fffefa;
  border: 1px solid #d9e0d7; border-radius: 24px; box-shadow: 5px 5px 0 #dbe2d8;
}
body.home .cumani-contact__grid > * { min-width: 0; margin-block-start: 0; }
body.home .cumani-contact__info {
  display: block; min-width: 0; padding: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none;
}
body.home .cumani-contact__info > .cumani-section__eyebrow {
  font-size: 11px; letter-spacing: .24em; line-height: 1.4; margin: 0 0 14px;
}
body.home .cumani-contact__info > h2 {
  max-width: 470px; color: #16432a; font-size: clamp(34px, 3.3vw, 42px); line-height: 1.16;
  font-weight: 800; margin: 0 0 24px;
}
body.home .cumani-contact__info > h2 + p {
  max-width: 460px; font-size: 15px; line-height: 1.6; margin: 0 0 28px;
}
body.home .cumani-contact__cta .wp-block-button__link {
  border: 1px solid #104326; border-radius: 999px; background: #104326; color: #fffefa;
  font: 700 14px/1.2 var(--f-body); padding: 14px 22px; transition: transform .2s, background .2s;
}
body.home .cumani-contact__cta .wp-block-button__link:hover { background: #1e5b37; transform: translateY(-1px); }
body.home .cumani-contact__details {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0;
}
body.home .cumani-contact__details > p,
body.home .cumani-contact__hours {
  box-sizing: border-box; position: relative; min-width: 0; min-height: 88px; margin: 0;
  padding: 17px 14px 15px 62px; border: 1px solid #dfe6dc; border-radius: 16px;
  background: #f8faf6; color: #23352a; font-size: 13px; line-height: 1.5;
}
body.home .cumani-contact__details > p:first-child,
body.home .cumani-contact__hours { grid-column: 1 / -1; }
body.home .cumani-contact__details a { overflow-wrap: anywhere; }
body.home .cumani-contact__details > p a::before {
  display: block; color: #104326; font-weight: 700; font-size: 13px;
}
body.home .cumani-contact__details > p:nth-child(1) a::before { content: "Ubicación"; }
body.home .cumani-contact__details > p:nth-child(2) a::before { content: "Teléfono"; }
body.home .cumani-contact__details > p:nth-child(3) a::before { content: "Correo"; }
body.home .cumani-contact__details > p::before,
body.home .cumani-contact__hours h3::before {
  content: ""; position: absolute; left: 14px; top: 17px; width: 34px; height: 34px;
  border-radius: 50%; background-color: #e4ebe7;
  background-position: center; background-size: 18px 18px; background-repeat: no-repeat;
}
body.home .cumani-contact__details > p:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104326' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E"); }
body.home .cumani-contact__details > p:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104326' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16.4v3a2 2 0 0 1-2.2 2A18 18 0 0 1 2.6 5.2 2 2 0 0 1 4.6 3h3a2 2 0 0 1 2 1.7l.5 2.7a2 2 0 0 1-.6 1.7L7.8 10.6a14 14 0 0 0 5.6 5.6l1.5-1.7a2 2 0 0 1 1.7-.6l2.7.5a2 2 0 0 1 1.7 2Z'/%3E%3C/svg%3E"); }
body.home .cumani-contact__details > p:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104326' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
body.home .cumani-contact__hours { padding-left: 62px; }
body.home .cumani-contact__hours h3 {
  margin: 0 0 5px; color: #104326; font: 700 13px/1.4 var(--f-body);
}
body.home .cumani-contact__hours h3::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23104326' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
body.home .cumani-contact__hours > p { margin: 0; font-size: 13px; line-height: 1.45; }
.cumani-contact__form > h3 { font-size: 20px; line-height: 1.25; margin: 0 0 9px; }
.cumani-contact__form > h3 + p { font-size: 13px; line-height: 1.45; margin: 0 0 20px; }
body.home .cumani-contact .cumani-visit-form form { gap: 10px; }
.cumani-contact .cumani-visit-form__row { gap: 12px; }
.cumani-contact .cumani-visit-form__field { min-width: 0; }
body.home .cumani-contact .cumani-visit-form label { font-size: 13px; line-height: 1.4; font-weight: 600; margin-bottom: 4px; }
body.home .cumani-contact .cumani-visit-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.home .cumani-contact .cumani-visit-form select,
body.home .cumani-contact .cumani-visit-form textarea {
  min-width: 0; width: 100%; box-sizing: border-box; background-color: #fafafa;
  border: 1px solid #cdd8c8; border-radius: 999px; color: #104326;
  font-size: 13px; line-height: 1.4; padding: 7px 12px;
}
body.home .cumani-contact .cumani-visit-form textarea { border-radius: 12px; min-height: 54px; }
body.home .cumani-contact .cumani-visit-form__privacy {
  position: absolute; left: 0; right: 0; top: calc(100% + 14px);
  font-size: 11px; line-height: 1.4; margin: 0;
}
body.home .cumani-contact .cumani-visit-form__submit { font-size: 14px; padding: 12px; background: #104326; }
.cumani-contact .cumani-visit-form__submit:focus-visible,
.cumani-contact .cumani-visit-form input:focus-visible,
.cumani-contact .cumani-visit-form select:focus-visible,
.cumani-contact .cumani-visit-form textarea:focus-visible { outline: 2px solid #104326; outline-offset: 2px; }
.cumani-final { position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box; min-height: 389px; padding: 78px 24px 65px; background: #104326; color: #fff; text-align: center; }
.cumani-final::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16,67,38,.94), rgba(6,54,26,.85) 50%, rgba(6,80,55,.65)); }
.cumani-final .cumani-section__container { max-width: 760px; }
.cumani-final .cumani-section__eyebrow { color: #b9d899; font-size: 10px; line-height: 1.5; letter-spacing: .28em; margin: 0 0 10px; }
.cumani-final h2 { max-width: none; color: #fff; font-size: 44px; font-weight: 800; line-height: 1.1; margin: 0 auto 16px; }
.cumani-final__highlight { display: block; color: #a3bb45; }
.cumani-final .cumani-section__container > p:not(.cumani-section__eyebrow) { max-width: 500px; margin: 0 auto 20px; font-size: 13px; line-height: 1.5; }
.cumani-final .wp-block-buttons { justify-content: center; margin: 0; }
.cumani-final .wp-block-button__link { display: inline-block; padding: 10px 28px; background: #a3bb45; border-radius: 99px; color: #104326; font: 700 12px/1.35 var(--f-body); text-decoration: none; }
.cumani-final .wp-block-button__link::after { content: " →"; }

/* Full-page reference continuity at the original desktop capture width. */
@media (min-width: 901px) {
  .cumani-essence { padding-bottom: 68px; }
  .cumani-levels__grid { margin-top: 59px; }
  .cumani-contact { padding-block: 112px; }
}
body.home .cumani-footer { background: #0b4323; padding-bottom: 60px; }

/* Contact: centered reference-matched introduction followed by visit form and existing contact routes. */
body.page-contacto .cumani-page { max-width: none; }
body.page-contacto .cumani-page__title { display: none; }
body.page-contacto:not(.home) .wp-site-blocks > main.cumani-page { max-width: none; padding-top: 0; padding-bottom: 0; }
.cumani-contact-hero {
  box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100vw; max-width: none; min-height: 394px; margin: 0 calc(50% - 50vw) !important;
  padding: 150px 24px 54px; background: #f6f2e9; color: #173e27; text-align: center;
}
.cumani-contact-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 23px; padding: 8px 16px;
  border: 1px solid #d3d8b8; border-radius: 999px; background: #eeeddd; color: #7f9139;
  font: 500 14px/1.2 var(--f-body); letter-spacing: .05em; text-transform: uppercase;
}
.cumani-contact-hero__eyebrow span {
  display: block; width: 14px; height: 14px;
  background: url("assets/icons/lucide/calendar.svg") center / contain no-repeat;
}
.cumani-contact-hero h1 {
  max-width: 900px; margin: 0 0 20px; color: #16432a;
  font: 700 clamp(42px, 5.4vw, 60px)/1.1 var(--f-display); letter-spacing: 0;
}
.cumani-contact-hero h1 span { color: #a4b83e; }
.cumani-contact-hero__description {
  max-width: 672px; margin: 0; color: #40584a; font: 500 20px/1.625 var(--f-body);
}
.cumani-contact-panel {
  box-sizing: border-box; width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) !important;
  padding: 76px 32px 78px; background: #f8f9f8; color: #40584a;
}
.cumani-contact-panel > .cumani-contact__grid {
  box-sizing: border-box; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start; gap: 80px; width: 100%; max-width: 1216px; margin: 0 auto !important; padding: 0;
}
.cumani-contact__grid > * { box-sizing: border-box; min-width: 0; width: auto; margin-block-start: 0; }
.cumani-contact-panel .cumani-contact__grid > * { max-width: none; margin-inline: 0 !important; }
.cumani-contact__list { margin: 0; padding: 0; list-style: none; }
.cumani-contact__item { margin: 0; padding: 23px 0; border-bottom: 1px solid #e0e5de; }
.cumani-contact__item:first-child { padding-top: 0; }
.cumani-contact__item:last-child { padding-bottom: 0; border-bottom: 0; }
.cumani-contact__item h3 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: #16432a;
  font: 700 20px/28px var(--f-display);
}
.cumani-contact__item p { margin: 0; color: #5b6f62; font: 400 16px/1.625 var(--f-body); overflow-wrap: anywhere; }
.cumani-contact__item a { color: inherit; text-decoration: none; }
.cumani-contact__item a:hover { color: #16432a; text-decoration: underline; }
.cumani-contact__icon {
  display: block; flex: none; width: 16px; height: 16px;
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.cumani-contact__icon--location { background-image: url("assets/icons/lucide/map-pin.svg"); }
.cumani-contact__icon--phone { background-image: url("assets/icons/lucide/phone.svg"); }
.cumani-contact__icon--email { background-image: url("assets/icons/lucide/mail.svg"); }
.cumani-contact__icon--whatsapp { background-image: url("assets/icons/lucide/message-circle.svg"); }
.cumani-contact-panel .cumani-visit-form {
  min-width: 0; padding: 32px; border: 2px solid #104326; border-radius: 22px;
  background: #fffefa; box-shadow: 5px 5px 0 #104326;
}
.cumani-contact-panel .cumani-visit-form__title { margin-bottom: 8px; color: #16432a; font-size: 30px; line-height: 1.2; }
.cumani-contact-panel .cumani-visit-form__intro { margin-bottom: 28px; color: #40584a; font-size: 14px; line-height: 1.45; }
.cumani-contact-panel .cumani-visit-form form { gap: 14px; }
.cumani-contact-panel .cumani-visit-form label { margin-bottom: 6px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.cumani-contact-panel .cumani-visit-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
.cumani-contact-panel .cumani-visit-form select,
.cumani-contact-panel .cumani-visit-form textarea { font-size: 14px; padding: 9px 14px; }
.cumani-contact-panel .cumani-visit-form textarea { min-height: 64px; }
.cumani-contact-panel .cumani-visit-form__submit { padding: 14px; font-size: 16px; font-weight: 500; }
.cumani-contact-social {
  box-sizing: border-box; width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) !important;
  padding: 80px 32px 74px; background: #f6f2e9; color: #104326;
}
.cumani-contact-social h2 {
  margin: 0 0 40px; color: #104326; text-align: center; font: 700 36px/1.2 var(--f-display); letter-spacing: 0;
}
.cumani-contact-social__grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  max-width: 832px; margin: 0 auto; padding: 0; list-style: none;
}
.cumani-contact-social__grid > li { display: block; min-width: 0; margin: 0; }
.cumani-social-card {
  box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 12px; height: 100%;
  padding: 28px 16px; border: 2px solid #104326; border-radius: 16px; background: #fffefa;
  box-shadow: 4px 4px 0 #104326; color: #104326; text-align: center; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.cumani-social-card:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 #104326; }
.cumani-social-card__icon {
  display: block; width: 48px; height: 48px; margin-bottom: 0; border-radius: 50%;
  background-color: #eef1de; background-position: center; background-repeat: no-repeat; background-size: 18px 18px;
}
.cumani-social-card__icon--instagram { background-image: url("assets/icons/lucide/instagram.svg"); }
.cumani-social-card__icon--facebook { background-image: url("assets/icons/lucide/facebook.svg"); }
.cumani-social-card__icon--tiktok { background-image: url("assets/icons/lucide/tiktok.svg"); }
.cumani-social-card strong { font: 700 18px/1.5 var(--f-display); }
.cumani-social-card span:last-child { max-width: 100%; color: #6b7a70; font: 400 14px/1.45 var(--f-body); overflow-wrap: anywhere; }
.cumani-contact-cta {
  box-sizing: border-box; width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) !important;
  padding: 80px 32px 88px; background: #104326; color: #fff8ec; text-align: center;
}
.cumani-contact-cta h2 { margin: 0 0 40px; color: #fff8ec; font: 700 36px/1.2 var(--f-display); letter-spacing: 0; }
.cumani-contact-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.cumani-contact-cta__button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 16px 32px; border: 1px solid transparent; border-radius: 999px;
  font: 600 16px/1.5 var(--f-body); text-decoration: none; transition: transform .2s var(--ease), background .2s;
}
.cumani-contact-cta__button:hover { transform: translateY(-1px); }
.cumani-contact-cta__button--primary { background: #a4b83e; color: #104326; }
.cumani-contact-cta__button--primary:hover { background: #b2c64a; }
.cumani-contact-cta__button--secondary { border-width: 2px; border-color: rgba(255, 248, 236, .3); color: #fff8ec; font-weight: 500; }
.cumani-contact-cta__button--secondary:hover { background: rgba(255, 248, 236, .08); }
.cumani-contact-cta__icon { display: block; flex: none; width: 15px; height: 15px; background-position: center; background-repeat: no-repeat; background-size: contain; }
.cumani-contact-cta__icon--calendar { background-image: url("assets/icons/lucide/calendar-deep.svg"); }
.cumani-contact-cta__icon--mail { background-image: url("assets/icons/lucide/mail-light.svg"); }
@media (min-width: 901px) and (max-width: 1023px) {
  .cumani-contact-panel > .cumani-contact__grid { gap: 48px; }
}
@media (max-width: 900px) {
  .cumani-contact-hero { min-height: 0; padding: 138px 24px 58px; }
  .cumani-contact-hero h1 { font-size: clamp(36px, 6.5vw, 48px); }
  .cumani-contact-hero__description { font-size: 18px; }
  .cumani-contact-panel { padding: 58px 24px 66px; }
  .cumani-contact-panel > .cumani-contact__grid { max-width: 660px; grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cumani-contact-social { padding: 64px 24px 62px; }
  .cumani-contact-cta { padding: 64px 24px 72px; }
}
@media (max-width: 520px) {
  .cumani-contact-hero { padding: 122px 22px 48px; }
  .cumani-contact-hero__eyebrow { margin-bottom: 20px; }
  .cumani-contact-hero h1 { font-size: 36px; line-height: 1.12; }
  .cumani-contact-hero__description { font-size: 18px; }
  .cumani-contact-panel { padding: 42px 18px 52px; }
  .cumani-contact-panel .cumani-visit-form { padding: 24px 18px; }
  .cumani-contact-panel .cumani-visit-form__row { grid-template-columns: minmax(0, 1fr); }
  .cumani-contact-social { padding: 52px 18px 54px; }
  .cumani-contact-social h2, .cumani-contact-cta h2 { font-size: 30px; }
  .cumani-contact-social h2 { margin-bottom: 28px; }
  .cumani-contact-social__grid { grid-template-columns: minmax(0, 1fr); max-width: 320px; gap: 14px; }
  .cumani-social-card { padding: 18px 12px 20px; }
  .cumani-contact-cta { padding: 52px 18px 60px; }
  .cumani-contact-cta h2 { font-size: 26px; }
  .cumani-contact-cta__actions { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
}

/* Visit submission confirmation page. */
body.page-agradecimientos .cumani-page { max-width: none; }
body.page-agradecimientos .cumani-page__title { display: none; }
body.page-agradecimientos:not(.home) .wp-site-blocks > main.cumani-page {
  max-width: none; padding: 0; overflow: hidden;
}
.cumani-thanks {
  box-sizing: border-box; display: grid; place-items: center; min-height: min(720px, 100svh);
  width: 100vw; max-width: none; margin: 0 calc(50% - 50vw) !important;
  padding: 150px 24px 90px; background: #f6f2e9; color: #173e27; text-align: center;
}
.cumani-thanks__card {
  box-sizing: border-box; width: min(100%, 760px); padding: clamp(30px, 6vw, 64px);
  border: 2px solid #104326; border-radius: 28px; background: #fffefa;
  box-shadow: 6px 6px 0 #104326;
}
.cumani-thanks__eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 20px; padding: 7px 14px;
  border-radius: 999px; background: #e9ebd5; color: #718232;
  font: 700 12px/1.3 var(--f-body); letter-spacing: .08em; text-transform: uppercase;
}
.cumani-thanks__eyebrow span {
  display: block; width: 18px; height: 18px; border: 2px solid currentColor; border-radius: 50%;
}
.cumani-thanks__eyebrow span::after {
  content: ""; display: block; width: 8px; height: 4px; margin: 4px 0 0 3px;
  border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
.cumani-thanks h1 {
  margin: 0 auto 18px; max-width: 620px; color: #16432a;
  font: 800 clamp(36px, 5.3vw, 58px)/1.12 var(--f-display); letter-spacing: -.035em;
}
.cumani-thanks__message { max-width: 540px; margin: 0 auto; color: #40584a; font-size: 17px; line-height: 1.65; }
.cumani-thanks__summary {
  max-width: 590px; margin: 28px auto 0; padding: 22px 24px; border-radius: 18px;
  background: #f6f2e9; text-align: left;
}
.cumani-thanks__summary[hidden] { display: none; }
.cumani-thanks__summary h2 {
  margin: 0 0 14px; color: #16432a; font: 700 20px/1.3 var(--f-display);
}
.cumani-thanks__summary dl { display: grid; gap: 10px; margin: 0; }
.cumani-thanks__summary dl > div {
  display: grid; grid-template-columns: minmax(130px, .4fr) minmax(0, 1fr); gap: 14px;
  padding-bottom: 10px; border-bottom: 1px solid #d9dec8;
}
.cumani-thanks__summary dt { color: #56694d; font-size: 13px; font-weight: 700; }
.cumani-thanks__summary dd { min-width: 0; margin: 0; color: #273d2f; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-wrap; }
.cumani-thanks__privacy { margin: 14px 0 0; color: #63715f; font-size: 12px; line-height: 1.5; }
.cumani-thanks__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cumani-thanks__button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; box-sizing: border-box; padding: 12px 20px; border: 1px solid #104326;
  border-radius: 999px; font: 700 14px/1.3 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s;
}
.cumani-thanks__button:hover { transform: translateY(-2px); }
.cumani-thanks__button--primary { background: #104326; color: #fffefa; }
.cumani-thanks__button--primary:hover { background: #0b351e; }
.cumani-thanks__button--secondary { background: transparent; color: #104326; }
.cumani-thanks__button--secondary:hover { background: #e9ebd5; }
.cumani-thanks__feedback { min-height: 1.4em; margin: 12px 0 0; color: #40584a; font-size: 13px; }
@media (max-width: 560px) {
  .cumani-thanks { min-height: 0; padding: 126px 18px 56px; }
  .cumani-thanks__card { padding: 30px 22px; border-radius: 22px; }
  .cumani-thanks__message { font-size: 15px; }
  .cumani-thanks__summary { padding: 19px 17px; }
  .cumani-thanks__summary dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .cumani-thanks__actions { flex-direction: column; }
  .cumani-thanks__button { width: 100%; }
}

/* Nosotros section scale calibrated against the 1905px reference captures. */
body.page-nosotros .cumani-page { max-width: none; }
body.page-nosotros .cumani-page__title { display: none; }
body.page-nosotros:not(.home) .wp-site-blocks > main.cumani-page { max-width: none; padding-top: 0; }
.cumani-about-hero {
  box-sizing: border-box; display: grid; place-items: center;
  position: relative; width: 100vw; max-width: none; min-height: 684px;
  margin: 0 calc(50% - 50vw) !important; padding: 85px 24px 80px;
  background: #f6f2e9; color: #173e27;
}
.cumani-about-hero__inner {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 516px) minmax(0, 516px);
  align-items: center; gap: 64px; width: 100%; max-width: 1096px; padding: 0;
  transform: translateX(9px);
}
.cumani-about-hero__copy { min-width: 0; width: 550px; transform: translateY(-3px); }
.cumani-about-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 36px;
  padding: 5px 11px; border-radius: 999px; background: #e9ebd5; color: #879844;
  font: 700 12px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase;
}
body.page-nosotros .cumani-about-hero__eyebrow::before {
  content: ""; display: block; flex: none; width: 14px; height: 14px;
  background: url("assets/icons/lucide/heart.svg") center / contain no-repeat;
}
.cumani-about-hero__eyebrow svg {
  display: block; width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cumani-about-hero h1 {
  max-width: 516px; margin: 0 0 20px; color: #16432a;
  font: 800 clamp(46px, 2.85vw, 56px)/1.08 var(--f-display); letter-spacing: -.035em;
}
.cumani-about-hero__highlight { color: #a4b83e; }
.cumani-about-hero__description {
  max-width: 550px; margin: 0 0 36px; color: #40584a;
  font: 400 1.25rem/1.5 var(--f-body);
}
.cumani-about-hero__button {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
  padding: 14px 28px; background: #104326; color: #fff !important;
  font: 700 14px/1.3 var(--f-body); text-decoration: none;
  box-shadow: 0 3px 8px rgba(16, 67, 38, .16);
  transition: background .2s, transform .2s var(--ease);
}
.cumani-about-hero__button:hover { background: #0b3620; transform: translateY(-1px); }
.cumani-about-hero__button span { font-size: 16px; line-height: 1; }
.cumani-about-hero__photo {
  box-sizing: border-box; width: 100%; aspect-ratio: 516 / 452; margin: 0;
  overflow: hidden; border: 2px solid #104326; border-radius: 15px; background: #e8e4d9;
}
.cumani-about-hero__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
@media (max-width: 1100px) {
  .cumani-about-hero { min-height: 0; padding: 100px 24px 64px; }
  .cumani-about-hero__inner { max-width: 620px; grid-template-columns: minmax(0, 1fr); gap: 34px; transform: none; }
  .cumani-about-hero__copy { width: auto; transform: none; }
  .cumani-about-hero__eyebrow { margin-bottom: 24px; }
  .cumani-about-hero h1 { max-width: 560px; margin-bottom: 32px; font-size: clamp(40px, 7vw, 52px); }
  .cumani-about-hero__description { max-width: 560px; }
  .cumani-about-hero__photo { width: 100%; max-width: 560px; }
}
@media (max-width: 900px) {
  .cumani-about-hero { min-height: 0; padding: 126px 24px 64px; }
  .cumani-about-hero__inner { max-width: 620px; grid-template-columns: minmax(0, 1fr); gap: 34px; padding: 0; }
  .cumani-about-hero h1 { max-width: 560px; font-size: clamp(38px, 7vw, 50px); }
  .cumani-about-hero__photo { width: 100%; max-width: 560px; }
}
@media (max-width: 520px) {
  .cumani-about-hero { padding: 116px 22px 52px; }
  .cumani-about-hero__inner { gap: 28px; }
  .cumani-about-hero h1 { font-size: clamp(34px, 9vw, 42px); line-height: 1.1; }
  .cumani-about-hero__description { font-size: 1.25rem; font-weight: 400; }
}
/* Nosotros second section: match the 1905px reference canvas and retain photo-first flow on mobile. */
.cumani-about-history {
  box-sizing: border-box; display: grid; place-items: center;
  width: 100vw; max-width: none; min-height: 613px;
  margin: 0 calc(50% - 50vw) !important; padding: 56px 0;
  background: #f8f9f8; color: #40584a;
}
.cumani-about-history__inner {
  box-sizing: border-box; display: grid !important;
  grid-template-columns: minmax(0, 516px) minmax(0, 1fr); align-items: center;
  gap: 64px; width: 100%; max-width: 1080px; margin: 0 auto !important; padding: 0;
}
.cumani-about-history__inner > .cumani-about-history__media,
.cumani-about-history__inner > .cumani-about-history__copy {
  box-sizing: border-box; min-width: 0; width: auto; margin-block-start: 0;
  flex-basis: auto !important;
}
.cumani-about-history__photo {
  width: 100%; aspect-ratio: 516 / 389; margin: 0; overflow: hidden;
  border-radius: 16px; background: #e8e4d9;
  box-shadow: 0 0 0 1px rgba(16, 67, 38, .18), 0 5px 16px rgba(16, 67, 38, .08);
}
.cumani-about-history__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.cumani-about-history__copy h2 {
  max-width: 480px; margin: 0 0 20px; color: #16432a;
  font: 800 clamp(34px, 2.2vw, 42px)/1.1 var(--f-display); letter-spacing: -.025em;
}
.cumani-about-history__copy p {
  max-width: 480px; margin: 0 0 16px; color: #40584a;
  font: 500 1.125rem/1.5 var(--f-body);
}
.cumani-about-history__copy p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
  .cumani-about-history { min-height: 0; padding: 90px 0 72px; }
  .cumani-about-history__inner { max-width: 668px; grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 0 24px; }
  .cumani-about-history__copy h2 { font-size: clamp(30px, 6vw, 36px); }
}
@media (max-width: 520px) {
  .cumani-about-history { padding: 88px 0 60px; }
  .cumani-about-history__inner { gap: 26px; padding-inline: 22px; }
  .cumani-about-history__copy h2 { font-size: clamp(28px, 8vw, 34px); }
}
/* Nosotros third section: editorial copy beside the natural-materials photo. */
.cumani-about-school {
  box-sizing: border-box; display: grid; place-items: center;
  width: 100vw; max-width: none; min-height: 847px;
  margin: 0 calc(50% - 50vw) !important; padding: 112px 24px 128px;
  background: #f6f2e9; color: #40584a;
}
.cumani-about-school__inner {
  box-sizing: border-box; display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(40px, 4.2vw, 80px);
  width: 100%; max-width: 1084px; margin: 0 auto !important; padding: 0;
}
.cumani-about-school__inner > .cumani-about-school__copy,
.cumani-about-school__inner > .cumani-about-school__media {
  box-sizing: border-box; min-width: 0; width: auto; margin-block-start: 0;
  flex-basis: auto !important;
}
.cumani-about-school__copy h2 {
  max-width: 480px; margin: 0 0 22px; color: #16432a;
  font: 800 clamp(36px, 2.2vw, 42px)/1.08 var(--f-display); letter-spacing: -.03em;
}
.cumani-about-school__copy p {
  max-width: 500px; margin: 0; color: #40584a;
  font: 500 1.125rem/1.5 var(--f-body);
}
.cumani-about-school__visual { position: relative; width: 100%; }
.cumani-about-school__photo {
  box-sizing: border-box; width: 100%; aspect-ratio: 4 / 5; margin: 0;
  overflow: hidden; border: 2px solid #104326; border-radius: 16px; background: #e8e4d9;
}
.cumani-about-school__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.cumani-about-school__badge {
  box-sizing: border-box; position: absolute; left: -40px; bottom: -38px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  width: 240px; padding: 18px 20px; border-radius: 18px;
  background: #104326; color: #fff8ec; box-shadow: 0 8px 22px rgba(16, 67, 38, .22);
  font: 700 15px/1.28 var(--f-body);
}
.cumani-about-school__badge-icon {
  display: block; width: 22px; height: 22px; flex: none;
  background: url("assets/icons/lucide/sparkles.svg") center / contain no-repeat;
}
@media (max-width: 900px) {
  .cumani-about-school { min-height: 0; padding: 88px 0 110px; }
  .cumani-about-school__inner {
    max-width: 668px; width: calc(100% - 48px);
    grid-template-columns: minmax(0, 1fr); gap: 36px;
  }
  .cumani-about-school__copy h2 { max-width: 560px; font-size: clamp(34px, 6vw, 40px); }
  .cumani-about-school__copy p { max-width: 560px; }
  .cumani-about-school__media { width: 100%; max-width: 560px; margin: 0 auto !important; }
}
@media (max-width: 520px) {
  .cumani-about-school { padding: 76px 0 94px; }
  .cumani-about-school__inner { width: calc(100% - 44px); gap: 30px; }
  .cumani-about-school__copy h2 { font-size: clamp(32px, 8.5vw, 38px); line-height: 1.1; }
  .cumani-about-school__copy p { font-size: 1rem; line-height: 1.5; }
  .cumani-about-school__badge {
    left: 12px; bottom: -20px; width: min(240px, calc(100vw - 44px));
    padding: 15px 17px; gap: 7px; font-size: 14px;
  }
  .cumani-about-school__badge svg { width: 20px; height: 20px; }
}
/* Nosotros fourth section: family values on the uninterrupted dark-green canvas. */
.cumani-about-families {
  box-sizing: border-box; width: 100vw; max-width: none; min-height: 866px;
  margin: 0 calc(50% - 50vw) !important; padding: 120px 24px 104px;
  background: #064326; color: #f7f4eb;
}
.cumani-about-families__inner { width: 100%; max-width: 1096px; margin: 0 auto; }
.cumani-about-families__heading { max-width: 720px; margin: 0 auto 100px; text-align: center; }
.cumani-about-families__heading h2 {
  max-width: 720px; margin: 0 auto 20px; color: #f7f4eb;
  font: 800 clamp(38px, 2.4vw, 46px)/1.12 var(--f-display); letter-spacing: -.025em;
}
.cumani-about-families__heading p {
  max-width: 620px; margin: 0 auto; color: #dbe4d8;
  font: 500 1.125rem/1.55 var(--f-body);
}
.cumani-about-families__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px;
  margin: 0; padding: 0; list-style: none;
}
.cumani-about-families__grid > .cumani-about-families__card {
  box-sizing: border-box; display: flex; align-items: center; gap: 24px;
  min-width: 0; min-height: 148px; height: 100%; margin: 0; padding: 28px 34px;
  border: 1px solid rgba(163, 187, 69, .3); border-radius: 20px;
  background: rgba(255, 255, 255, .035); box-shadow: 4px 4px 0 rgba(163, 187, 69, .55);
}
.cumani-about-families__icon {
  display: block; flex: none; width: 50px; height: 50px; border-radius: 50%;
  background-color: rgba(163, 187, 69, .14); background-position: center;
  background-repeat: no-repeat; background-size: 21px 21px;
}
.cumani-about-families__icon--sun { background-image: url("assets/icons/lucide/sun-lime.svg"); }
.cumani-about-families__icon--heart { background-image: url("assets/icons/lucide/heart-lime.svg"); }
.cumani-about-families__icon--users { background-image: url("assets/icons/lucide/users-lime.svg"); }
.cumani-about-families__icon--sparkles { background-image: url("assets/icons/lucide/sparkles.svg"); }
.cumani-about-families__card p {
  flex: 1 1 auto; min-width: 0; margin: 0; color: #f2f1e9; font: 600 17px/1.45 var(--f-body);
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .cumani-about-families { min-height: 0; padding: 92px 24px 84px; }
  .cumani-about-families__inner { max-width: 560px; }
  .cumani-about-families__heading { margin-bottom: 42px; }
  .cumani-about-families__heading h2 { font-size: clamp(34px, 7vw, 42px); }
  .cumani-about-families__grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .cumani-about-families__grid > .cumani-about-families__card { min-height: 120px; }
}
@media (max-width: 520px) {
  .cumani-about-families { padding: 78px 22px 72px; }
  .cumani-about-families__heading { margin-bottom: 34px; }
  .cumani-about-families__heading h2 { font-size: clamp(32px, 8.5vw, 38px); }
  .cumani-about-families__heading p { font-size: 1rem; font-weight: 500; line-height: 1.55; }
  .cumani-about-families__grid > .cumani-about-families__card { gap: 18px; min-height: 120px; padding: 22px; }
  .cumani-about-families__icon { width: 46px; height: 46px; background-size: 20px 20px; }
  .cumani-about-families__card p { font-size: 15px; }
}
.cumani-about-closing {
  box-sizing: border-box; width: 100vw; max-width: none; min-height: 448px;
  margin: 0 calc(50% - 50vw) !important; padding: 118px 24px 119px;
  background: #f6f2e9; color: #104326;
}
.cumani-about-closing__inner { width: 100%; margin: 0 auto; }
.cumani-about-closing h2 {
  margin: 0 0 28px; color: #104326; text-align: center;
  font: 800 36px/1.2 var(--f-display); letter-spacing: -.025em;
}
.cumani-about-closing__cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px; width: 100%; max-width: 750px; margin: 0 auto;
}
.cumani-about-closing__card {
  box-sizing: border-box; display: flex; align-items: center; gap: 10px;
  min-width: 0; min-height: 126px; margin: 0; padding: 18px 24px;
  border: 1px solid #1f4a2c; border-radius: 14px;
  text-align: left; text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease;
}
.cumani-about-closing__card:hover { transform: translateY(-1px); }
.cumani-about-closing__card:focus-visible { outline-offset: 4px; }
.cumani-about-closing__card--light {
  background: #fffefa; color: #16432a; box-shadow: 3px 3px 0 #a3bb45;
}
.cumani-about-closing__card--dark {
  border-color: #064326; background: #064326; color: #f7f4eb;
  box-shadow: 3px 3px 0 #a3bb45;
}
.cumani-about-closing__icon {
  display: block; flex: none; width: 18px; height: 18px;
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.cumani-about-closing__icon--book { background-image: url("assets/icons/lucide/book-open.svg"); }
.cumani-about-closing__icon--pin { background-image: url("assets/icons/lucide/map-pin.svg"); }
.cumani-about-closing__copy { display: grid; gap: 6px; min-width: 0; }
.cumani-about-closing__title { font: 700 16px/1.2 var(--f-body); }
.cumani-about-closing__action {
  color: #6d8245; font: 700 10px/1.2 var(--f-body); letter-spacing: .12em;
}
.cumani-about-closing__card--dark .cumani-about-closing__action { color: #a3bb45; }
.cumani-about-closing__action > span { font-size: 12px; letter-spacing: 0; }
@media (max-width: 760px) {
  .cumani-about-closing { min-height: 0; padding: 64px 24px 68px; }
  .cumani-about-closing__inner { max-width: 460px; }
  .cumani-about-closing__cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cumani-about-closing__card { min-height: 80px; padding: 14px 18px; }
  .cumani-about-closing__icon { width: 19px; height: 19px; }
  .cumani-about-closing__title { font-size: 16px; }
  .cumani-about-closing__action { font-size: 11px; }
}
@media (max-width: 520px) {
  .cumani-about-closing { padding: 54px 22px 58px; }
  .cumani-about-closing h2 { font-size: clamp(32px, 7vw, 36px); margin-bottom: 22px; }
}
body.home .cumani-footer__grid, body.home .cumani-footer__bottom { max-width: 1216px; }
body.home .cumani-footer__brand img { height: 36px; }
@media (max-width: 1300px) {
  .cumani-header { margin-left: 16px; margin-right: 16px; }
  body.home .cumani-hero__inner { margin: 0 24px; width: auto; gap: 50px; }
}
@media (max-width: 900px) {
  .cumani-header__bar { padding: 10px 20px; }
  body.home .cumani-hero__inner { display: grid; grid-template-columns: 1fr; padding: 130px 0 70px; gap: 35px; }
  body.home .cumani-hero__title { font-size: clamp(40px, 8vw, 64px); overflow-wrap: anywhere; }
  .cumani-essence__intro, .cumani-contact__grid { grid-template-columns: 1fr; gap: 40px; }
  body.home .cumani-contact__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
  .cumani-essence__cards { margin-top: 0; }
  .cumani-levels__grid { grid-template-columns: 1fr; }
  .cumani-levels__grid > .cumani-levels__card { min-height: 0; }
  .cumani-enrollment__grid { grid-template-columns: 1fr 1fr; }
  .cumani-pedagogy .cumani-tabs__panel { gap: 18px; }
  .cumani-pedagogy .cumani-tabs__feature { padding-inline: 24px; }
  .cumani-enrollment { min-height: 0; }
  .cumani-contact__grid { grid-template-columns: 1fr; max-width: 620px; }
}
@media (max-width: 600px) {
  .cumani-header__logo img { height: 27px; }
  body.home .cumani-hero__inner { margin: 0 24px; }
  body.home .cumani-hero__lead { font-size: 16px; margin-bottom: 28px; }
  body.home .cumani-pills { gap: 8px; }
  body.home .cumani-form-card { padding: 22px; }
  .cumani-section { padding: 80px 24px; }
  .cumani-contact { padding: 72px 20px; }
  .cumani-contact__grid { gap: 40px; }
  body.home .cumani-contact__grid { padding: 24px 18px; gap: 24px; }
  body.home .cumani-contact__details { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.home .cumani-contact__details > p:first-child,
  body.home .cumani-contact__hours { grid-column: 1; }
  .cumani-contact__info { column-gap: 12px; }
  .cumani-contact__info > h2 { font-size: clamp(32px, 9vw, 42px); }
  .cumani-contact__form { padding: 24px 18px; }
  body.home .cumani-contact .cumani-visit-form__privacy {
    position: static; margin: 0; font-size: 11px;
  }
  .cumani-essence__cards, .cumani-tabs__panel, .cumani-enrollment__grid, .cumani-testimonials__grid { grid-template-columns: 1fr; }
  .cumani-essence h2 { font-size: clamp(32px, 9vw, 44px); }
  .cumani-essence__card { min-height: 0; }
  .cumani-final { min-height: 0; padding: 70px 24px; }
  .cumani-final h2 { font-size: clamp(30px, 8vw, 42px); }
  .cumani-final .cumani-section__container > p:not(.cumani-section__eyebrow) { font-size: 14px; }
  .cumani-final__bg img { object-position: center center; }
  .cumani-pedagogy { padding-top: 64px; padding-bottom: 80px; }
  .cumani-pedagogy .cumani-section__center { margin-bottom: 32px; }
  .cumani-pedagogy .cumani-section__center h2 { font-size: clamp(32px, 8vw, 42px); }
  .cumani-pedagogy .cumani-tabs__nav { gap: 8px; margin-bottom: 30px; }
  .cumani-pedagogy .cumani-tabs__nav button { font-size: 12px; padding: 9px 12px; }
  .cumani-pedagogy .cumani-tabs__panel { grid-template-columns: 1fr; }
  .cumani-pedagogy .cumani-tabs__panel > * { min-height: 0; }
  .cumani-pedagogy .cumani-tabs__feature { min-height: 240px; }
  .cumani-pedagogy .cumani-tabs__detail { padding: 28px 24px; }
  .cumani-enrollment { padding-top: 80px; padding-bottom: 80px; }
  .cumani-enrollment .cumani-section__center { margin-bottom: 32px; }
  .cumani-enrollment .cumani-section__center h2 { font-size: clamp(32px, 8vw, 40px); }
  .cumani-enrollment__grid > .cumani-enrollment__step { min-height: 0; }
}
@media (max-width: 520px) {
  .cumani-contact__info { grid-template-columns: minmax(0, 1fr); }
  .cumani-contact__info > p:nth-child(4),
  .cumani-contact__info > p:nth-child(5),
  .cumani-contact__info > p:nth-child(6),
  .cumani-contact__info > h3,
  .cumani-contact__info > p:last-child { grid-column: 1; grid-row: auto; }
  .cumani-contact__info > p:nth-child(4),
  .cumani-contact__info > p:nth-child(5),
  .cumani-contact__info > p:nth-child(6) { margin-bottom: 18px; }
  .cumani-contact__info > h3,
  .cumani-contact__info > p:last-child { margin: 0; }
}

body.page-pedagogia { --cumani-pedagogia-content-width: 1100px; }

/* Give only the Pedagogía canvas the visible page width; inner sections own
   their content limits. This avoids 100vw extending under a classic scrollbar. */
body.page-pedagogia .cumani-main.cumani-page,
body.page-pedagogia .cumani-main.cumani-page > .wp-block-post-content {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
}

/* Pedagogía: the three editorial sections share one responsive grid. */
body.page-pedagogia .cumani-pedagogia-wellbeing,
body.page-pedagogia .cumani-pedagogia-hands,
body.page-pedagogia .cumani-pedagogia-bilingualism {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 100px 24px; color: #40584a;
}
body.page-pedagogia .cumani-pedagogia-wellbeing,
body.page-pedagogia .cumani-pedagogia-bilingualism { background: #f8f9f8; }
body.page-pedagogia .cumani-pedagogia-hands {
  background: #f6f2e9; scroll-margin-top: 90px;
}
body.page-pedagogia .cumani-pedagogia-bilingualism { scroll-margin-top: 90px; }

body.page-pedagogia .cumani-pedagogia-wellbeing__inner,
body.page-pedagogia .cumani-pedagogia-hands__inner,
body.page-pedagogia .cumani-pedagogia-bilingualism__inner {
  box-sizing: border-box; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center; gap: 64px; width: 100%;
  max-width: var(--cumani-pedagogia-content-width); margin: 0 auto;
}
.cumani-pedagogia-wellbeing__copy,
.cumani-pedagogia-hands__copy,
.cumani-pedagogia-bilingualism__copy { min-width: 0; }
.cumani-pedagogia-wellbeing__eyebrow,
.cumani-pedagogia-hands__eyebrow,
.cumani-pedagogia-bilingualism__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 0 0 14px; padding: 4px 10px;
  border-radius: 999px; background: #edf1e5;
  color: #738a38; font: 700 10px/1.2 var(--f-body);
  letter-spacing: .04em; text-transform: uppercase;
}
.cumani-pedagogia-wellbeing__icon {
  display: block; flex: none; width: 13px; height: 13px;
  background: url("assets/icons/lucide/sun.svg") center / contain no-repeat;
}
.cumani-pedagogia-hands__icon {
  display: block; flex: none; width: 13px; height: 13px;
  background: url("assets/icons/lucide/sprout.svg") center / contain no-repeat;
}
.cumani-pedagogia-bilingualism__icon {
  display: block; flex: none; width: 13px; height: 13px;
  background: url("assets/icons/lucide/languages.svg") center / contain no-repeat;
}
.cumani-pedagogia-wellbeing__copy h2,
.cumani-pedagogia-hands__copy h2,
.cumani-pedagogia-bilingualism__copy h2 {
  max-width: 440px; margin: 0 0 16px; color: #16432a;
  font: 700 30px/1.2 var(--f-display); letter-spacing: -.02em;
  scroll-margin-top: 170px;
}
.cumani-pedagogia-wellbeing__description,
.cumani-pedagogia-hands__description,
.cumani-pedagogia-bilingualism__description {
  max-width: 500px; margin: 0; color: #40584a;
  font-size: 15px; line-height: 1.55;
}
.cumani-pedagogia-wellbeing__photo,
.cumani-pedagogia-hands__photo,
.cumani-pedagogia-bilingualism__photo {
  box-sizing: border-box; width: 100%; aspect-ratio: 4 / 3;
  margin: 0; overflow: hidden; border: 2px solid #9bac9e;
  border-radius: 16px; background: #e7e3d8;
}
.cumani-pedagogia-wellbeing__photo img,
.cumani-pedagogia-hands__photo img,
.cumani-pedagogia-bilingualism__photo img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
}
@media (max-width: 900px) {
  body.page-pedagogia .cumani-pedagogia-wellbeing,
  body.page-pedagogia .cumani-pedagogia-hands,
  body.page-pedagogia .cumani-pedagogia-bilingualism { padding: 76px 24px; }
  body.page-pedagogia .cumani-pedagogia-wellbeing__inner,
  body.page-pedagogia .cumani-pedagogia-hands__inner,
  body.page-pedagogia .cumani-pedagogia-bilingualism__inner {
    grid-template-columns: minmax(0, 1fr); gap: 30px;
  }
}
@media (max-width: 520px) {
  body.page-pedagogia .cumani-pedagogia-wellbeing,
  body.page-pedagogia .cumani-pedagogia-hands,
  body.page-pedagogia .cumani-pedagogia-bilingualism { padding: 64px 22px; }
  body.page-pedagogia .cumani-pedagogia-wellbeing__inner,
  body.page-pedagogia .cumani-pedagogia-hands__inner,
  body.page-pedagogia .cumani-pedagogia-bilingualism__inner { gap: 24px; }
  .cumani-pedagogia-wellbeing__eyebrow,
  .cumani-pedagogia-hands__eyebrow,
  .cumani-pedagogia-bilingualism__eyebrow { margin-bottom: 12px; }
}

/* Pedagogía: same hero component and live cumani.mx measures as the level pages. */
body.page-pedagogia .cumani-main.cumani-page { padding-top: 0; }
body.page-pedagogia .cumani-main.cumani-page > .wp-block-post-content { margin-block-start: 0 !important; }
body.page-pedagogia .cumani-page__title { display: none !important; }
body.page-pedagogia .cumani-main.cumani-page .cumani-pedagogia-hero {
  box-sizing: border-box; display: block; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 128px 20px 80px; background: #f6f2e9; overflow: hidden;
}
body.page-pedagogia .cumani-pedagogia-hero__inner {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; gap: 48px; width: 100% !important;
  max-width: 1216px !important; margin: 0 auto !important;
}
.cumani-pedagogia-hero__copy { min-width: 0; max-width: 672px; }
.cumani-pedagogia-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 16px;
  border: 1px solid rgba(139, 165, 51, .2); border-radius: 999px; background: rgba(139, 165, 51, .1);
  color: #8ba533; font: 500 14px/20px var(--f-body); letter-spacing: .05em; text-transform: uppercase;
}
.cumani-pedagogia-hero__eyebrow::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: url("assets/icons/hero/leaf.svg") center / contain no-repeat;
}
.cumani-pedagogia-hero h1 {
  margin: 0 0 24px; color: #0b4323; font: 700 36px/1.1 var(--f-display); letter-spacing: 0;
}
.cumani-pedagogia-hero h1 span { display: inline; color: #8ba533; }
.cumani-pedagogia-hero__description {
  max-width: 576px; margin: 0 0 40px; color: rgba(11, 67, 35, .8);
  font-size: 18px; font-weight: 500; line-height: 1.625;
}
.cumani-pedagogia-hero__button {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px;
  border-radius: 999px; background: #0b4323; color: #f7f2e9;
  font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  transition: transform .2s var(--ease), background-color .2s;
}
.cumani-pedagogia-hero__button:hover { transform: translateY(-2px); background: #1d5634; }
.cumani-pedagogia-hero__button span {
  flex: none; width: 18px; height: 18px; overflow: hidden; font-size: 0; line-height: 0;
  background: url("assets/icons/hero/arrow-right.svg") center / contain no-repeat;
}
.cumani-pedagogia-hero__photo {
  box-sizing: border-box; width: 100%; height: 400px; margin: 0; overflow: hidden;
  border: 2px solid #0b4323; border-radius: 20px 28px; background: #e7e3d8;
  box-shadow: 4px 4px 0 #0b4323;
}
.cumani-pedagogia-hero__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
@media (min-width: 768px) {
  body.page-pedagogia .cumani-main.cumani-page .cumani-pedagogia-hero { padding: 160px 32px 128px; }
  .cumani-pedagogia-hero h1 { font-size: 48px; }
  .cumani-pedagogia-hero__description { font-size: 20px; }
  .cumani-pedagogia-hero__photo { height: 500px; }
}
@media (min-width: 1024px) {
  body.page-pedagogia .cumani-pedagogia-hero__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  .cumani-pedagogia-hero h1 { font-size: 60px; }
}
.cumani-pedagogia-intro {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 100px 24px 118px;
  background: #f8f9f8; color: #40584a;
}
.cumani-pedagogia-intro > .wp-block-heading {
  box-sizing: border-box; width: 100%; max-width: var(--cumani-pedagogia-content-width);
  margin: 0 auto 40px; color: #16432a;
  font: 700 30px/1.2 var(--f-display); letter-spacing: -.02em;
}
.cumani-pedagogia-intro > p {
  box-sizing: border-box; width: 100%; max-width: 680px;
  margin-top: 0; margin-right: auto !important; margin-bottom: 0;
  margin-left: max(0px, calc((100% - var(--cumani-pedagogia-content-width)) / 2)) !important;
  color: #40584a;
  font-size: 15px; line-height: 1.6;
}
.cumani-pedagogia-pillars {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 114px 24px;
  background: #0b4323; color: #f7f2e9; scroll-margin-top: 80px;
}
.cumani-pedagogia-pillars__grid {
  box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px; width: 100%; max-width: var(--cumani-pedagogia-content-width); margin: 0 auto;
}
.cumani-pedagogia-pillars__card {
  box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; min-height: 262px; margin: 0; padding: 28px;
  border: 1px solid rgba(69, 111, 42, .72); border-radius: 18px;
  background: transparent; box-shadow: 4px 4px 0 #456f2a;
}
.cumani-pedagogia-pillars__icon {
  display: block; flex: none; width: 42px; height: 42px; margin: 0 0 18px;
  border-radius: 50%; background-color: rgba(69, 111, 42, .18);
  background-position: center; background-repeat: no-repeat; background-size: 20px 20px;
}
.cumani-pedagogia-pillars__icon--flame { background-image: url("assets/icons/lucide/pedagogy-flame.svg"); }
.cumani-pedagogia-pillars__icon--shield { background-image: url("assets/icons/lucide/pedagogy-shield.svg"); }
.cumani-pedagogia-pillars__icon--sparkles { background-image: url("assets/icons/lucide/pedagogy-sparkles.svg"); }
.cumani-pedagogia-pillars__title {
  margin: 0 0 12px; color: #f7f2e9;
  font: 700 24px/1.25 var(--f-display); letter-spacing: -.02em;
}
.cumani-pedagogia-pillars__card p {
  margin: 0; color: #f7f2e9; font: 400 13px/1.5 var(--f-body);
}
.cumani-pedagogy__seriedad { max-width: 860px; margin: 0 auto; padding: 84px 24px; scroll-margin-top: 110px; }
@media (max-width: 900px) {
  body.page-pedagogia { --cumani-pedagogia-content-width: 640px; }
  .cumani-pedagogia-pillars { padding: 80px 24px; }
  .cumani-pedagogia-pillars__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cumani-pedagogia-pillars__card { min-height: 0; padding: 28px; }
}
@media (max-width: 520px) {
  .cumani-pedagogia-intro { padding: 64px 22px 68px; }
  .cumani-pedagogia-intro > .wp-block-heading { margin-bottom: 18px; }
  .cumani-pedagogia-intro > p { font-size: 15px; line-height: 1.6; }
  .cumani-pedagogia-pillars { padding: 64px 22px; }
  .cumani-pedagogia-pillars__grid { gap: 16px; }
  .cumani-pedagogia-pillars__card { padding: 24px; }
  .cumani-pedagogia-pillars__title { font-size: 24px; }
  .cumani-pedagogy__seriedad { padding: 58px 22px; }
}

/* Pedagogía: centered closing actions from the supplied reference. */
body.page-pedagogia .cumani-pedagogia-closing {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 112px 24px 110px;
  background: #f6f2e9; color: #16432a; text-align: center;
}
.cumani-pedagogia-closing__inner {
  width: 100%; max-width: var(--cumani-pedagogia-content-width); margin: 0 auto;
}
.cumani-pedagogia-closing h2 {
  margin: 0 0 18px; color: #16432a;
  font: 700 48px/1.15 var(--f-display); letter-spacing: -.02em;
}
.cumani-pedagogia-closing__description {
  margin: 0 0 45px; color: #536256; font-size: 15px; line-height: 1.5;
}
.cumani-pedagogia-closing__actions {
  display: flex; align-items: stretch; justify-content: center; gap: 18px;
}
.cumani-pedagogia-closing__button {
  box-sizing: border-box; display: flex; flex: 0 1 365px; flex-direction: column;
  justify-content: center; min-width: 0; min-height: 123px; padding: 22px 26px;
  border: 1.5px solid #16432a; border-radius: 25px;
  text-align: left; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.cumani-pedagogia-closing__button:hover { transform: translateY(-2px); }
.cumani-pedagogia-closing__button:focus-visible {
  outline: 3px solid #16432a; outline-offset: 4px;
}
.cumani-pedagogia-closing__button--primary {
  background: #0b4323; color: #f7f2e9;
  box-shadow: 2px 3px 0 rgba(22, 67, 42, .14);
}
.cumani-pedagogia-closing__button--primary:hover { background: #16432a; }
.cumani-pedagogia-closing__button--secondary {
  background: #fffefa; color: #16432a;
  box-shadow: 2px 3px 0 #0b4323;
}
.cumani-pedagogia-closing__button--secondary:hover { background: #fdfbf5; }
.cumani-pedagogia-closing__button-label {
  display: flex; align-items: center; gap: 9px;
  font-size: 18px; font-weight: 700; line-height: 1.35;
}
.cumani-pedagogia-closing__icon {
  display: block; flex: none; width: 17px; height: 17px;
  background-position: center; background-repeat: no-repeat; background-size: contain;
}
.cumani-pedagogia-closing__icon--calendar { background-image: url("assets/icons/lucide/calendar.svg"); }
.cumani-pedagogia-closing__icon--book { background-image: url("assets/icons/lucide/book-open.svg"); }
.cumani-pedagogia-closing__caption {
  display: block; margin: 11px 0 0 26px;
  color: #8da52d; font: 700 10px/1.2 var(--f-body); letter-spacing: .12em;
}
.cumani-pedagogia-closing__button--secondary .cumani-pedagogia-closing__caption { color: #82944c; }
@media (max-width: 900px) {
  body.page-pedagogia .cumani-pedagogia-closing { padding-right: 24px; padding-left: 24px; }
  .cumani-pedagogia-closing__button-label { font-size: 14px; }
}
@media (max-width: 520px) {
  body.page-pedagogia .cumani-pedagogia-closing { padding: 68px 22px 76px; }
  .cumani-pedagogia-closing h2 { font-size: clamp(32px, 8.2vw, 40px); }
  .cumani-pedagogia-closing__description { margin-bottom: 24px; }
  .cumani-pedagogia-closing__actions { flex-direction: column; align-items: center; gap: 12px; }
  .cumani-pedagogia-closing__button {
    flex: none; width: min(100%, 365px); min-height: 104px; padding: 18px 22px;
  }
  .cumani-pedagogia-closing__button-label { font-size: 15px; }
  .cumani-pedagogia-closing__caption { margin-top: 8px; font-size: 9px; }
}

/* Composed Estimulación Temprana and Day Care sections; shared header and footer stay unchanged. */
body.page-estimulacion-temprana .cumani-main.cumani-page,
body.page-estimulacion-temprana .cumani-main.cumani-page > .wp-block-post-content {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; padding: 0 !important;
}
body.page-estimulacion-temprana .cumani-page__title { display: none !important; }
body.page-estimulacion-temprana .cumani-main.cumani-page > .wp-block-post-content > .wp-block-html.alignfull {
  box-sizing: border-box; width: 100% !important; max-width: none !important; margin: 0 !important;
}
body.page-estimulacion-temprana .cumani-early-hero,
body.page-estimulacion-temprana .cumani-early-intro,
body.page-estimulacion-temprana .cumani-early-benefits,
body.page-estimulacion-temprana .cumani-early-hours,
body.page-estimulacion-temprana .cumani-early-closing {
  box-sizing: border-box; width: 100% !important; max-width: none !important;
  margin: 0 !important; color: #16432a;
}
/* Level-page hero: measures of the live cumani.mx component (shared by every level page). */
body.page-estimulacion-temprana .cumani-early-hero {
  display: block; min-height: 0; padding: 128px 20px 80px; background: #f6f2e9;
  overflow: hidden;
}
body.page-estimulacion-temprana .cumani-early-hero__inner {
  box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; gap: 48px; width: 100%; max-width: 1216px; margin: 0 auto;
}
body.page-estimulacion-temprana .cumani-early-hero__copy { min-width: 0; max-width: 672px; }
body.page-estimulacion-temprana .cumani-early-hero__label {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 8px 16px;
  border: 1px solid rgba(139, 165, 51, .2); border-radius: 999px; background: rgba(139, 165, 51, .1);
  color: #8ba533; font: 500 14px/20px var(--f-body); letter-spacing: .05em; text-transform: uppercase;
}
body.page-estimulacion-temprana .cumani-early-hero__label::before {
  content: ""; flex: none; width: 16px; height: 16px;
  background: url("assets/icons/hero/baby.svg") center / contain no-repeat;
}
body.page-estimulacion-temprana .cumani-early-hero h1 {
  margin: 0 0 24px; color: #0b4323; font: 700 36px/1.1 var(--f-display); letter-spacing: 0;
}
body.page-estimulacion-temprana .cumani-early-hero h1 span { display: inline; color: #8ba533; }
body.page-estimulacion-temprana .cumani-early-hero__description {
  max-width: 576px; margin: 0 0 40px; color: rgba(11, 67, 35, .8);
  font-size: 18px; font-weight: 500; line-height: 1.625;
}
body.page-estimulacion-temprana .cumani-early-hero__button {
  display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px;
  border-radius: 999px; background: #0b4323; color: #f7f2e9;
  font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  transition: transform .2s var(--ease), background-color .2s;
}
body.page-estimulacion-temprana .cumani-early-hero__button::before {
  content: ""; flex: none; width: 18px; height: 18px;
  background: url("assets/icons/hero/calendar.svg") center / contain no-repeat;
}
body.page-estimulacion-temprana .cumani-early-hero__button span {
  flex: none; width: 18px; height: 18px; overflow: hidden; font-size: 0; line-height: 0;
  background: url("assets/icons/hero/arrow-right.svg") center / contain no-repeat;
}
body.page-estimulacion-temprana .cumani-early-hero__button:hover { transform: translateY(-2px); background: #1d5634; }
body.page-estimulacion-temprana .cumani-early-hero__photo {
  box-sizing: border-box; width: 100%; height: 400px; margin: 0;
  overflow: hidden; border: 2px solid #0b4323; border-radius: 20px 28px; background: #e7e3d8;
  box-shadow: 4px 4px 0 #0b4323;
}
body.page-estimulacion-temprana .cumani-early-hero__photo img {
  display: block; width: 100%; height: 100%; object-fit: cover; object-position: center;
}
body.page-day-care .cumani-early-hero__label::before,
body.page-preescolar .cumani-early-hero__label::before { background-image: url("assets/icons/hero/sun.svg"); }
body.page-maternal .cumani-early-hero__label::before { background-image: url("assets/icons/hero/sprout.svg"); }
body.page-primaria .cumani-early-hero__label::before { background-image: url("assets/icons/hero/book-open.svg"); }
@media (min-width: 768px) {
  body.page-estimulacion-temprana .cumani-early-hero { padding: 160px 32px 128px; }
  body.page-estimulacion-temprana .cumani-early-hero h1 { font-size: 48px; }
  body.page-estimulacion-temprana .cumani-early-hero__description { font-size: 20px; }
  body.page-estimulacion-temprana .cumani-early-hero__photo { height: 500px; }
}
@media (min-width: 1024px) {
  body.page-estimulacion-temprana .cumani-early-hero__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; }
  body.page-estimulacion-temprana .cumani-early-hero h1 { font-size: 60px; }
}
body.page-estimulacion-temprana .cumani-early-hero__button:focus-visible,
body.page-estimulacion-temprana .cumani-early-closing__button:focus-visible {
  outline: 3px solid #8da52d; outline-offset: 4px;
}
body.page-estimulacion-temprana .cumani-early-intro {
  padding: 96px 24px 100px; background: #f8f9f8; color: #40584a;
}
body.page-estimulacion-temprana .cumani-early-intro__inner {
  box-sizing: border-box; width: 100%; max-width: 1080px; margin: 0 auto;
}
body.page-estimulacion-temprana .cumani-early-intro h2,
body.page-estimulacion-temprana .cumani-early-benefits h2,
body.page-estimulacion-temprana .cumani-early-closing h2 {
  color: #16432a; font-family: var(--f-display); font-weight: 800; letter-spacing: -.025em;
}
body.page-estimulacion-temprana .cumani-early-intro h2 {
  margin: 0 0 20px; font-size: clamp(30px, 3.4vw, 40px); line-height: 1.2;
}
body.page-estimulacion-temprana .cumani-early-intro__inner > p:not(.cumani-early-intro__age) {
  max-width: 790px; margin: 0 0 20px; font-size: 15px; line-height: 1.65;
}
body.page-estimulacion-temprana .cumani-early-intro__age {
  display: inline-flex; margin: 0; padding: 6px 12px; border-radius: 999px;
  background: #e9eee4; color: #41654a; font-size: 12px; font-weight: 700; line-height: 1.3;
}
body.page-estimulacion-temprana .cumani-early-benefits {
  padding: 86px 24px 94px; background: #f6f2e9;
}
body.page-estimulacion-temprana .cumani-early-benefits__inner {
  box-sizing: border-box; width: 100%; max-width: 1120px; margin: 0 auto;
}
body.page-estimulacion-temprana .cumani-early-benefits h2 {
  margin: 0 0 32px; font-size: clamp(32px, 3.4vw, 42px); line-height: 1.15;
}
body.page-estimulacion-temprana .cumani-early-benefits__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px;
}
body.page-estimulacion-temprana .cumani-early-benefits__card {
  box-sizing: border-box; display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0; min-height: 240px; margin: 0; padding: 22px;
  border: 2px solid #16432a; border-radius: 20px; background: #fffefa;
  box-shadow: 4px 4px 0 #16432a;
}
body.page-estimulacion-temprana .cumani-early-benefits__icon {
  display: block; flex: none; width: 40px; height: 40px; margin: 0 0 16px;
  border-radius: 50%; background-color: #e9eee4;
  background-position: center; background-repeat: no-repeat; background-size: 20px 20px;
}
body.page-estimulacion-temprana .cumani-early-benefits__icon--users { background-image: url("assets/icons/lucide/users.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__icon--star { background-image: url("assets/icons/lucide/star.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__icon--shield { background-image: url("assets/icons/lucide/shield.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__icon--heart { background-image: url("assets/icons/lucide/heart.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__icon--sun { background-image: url("assets/icons/lucide/sun.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__icon--map-pin { background-image: url("assets/icons/lucide/map-pin.svg"); }
body.page-estimulacion-temprana .cumani-early-benefits__card h3 {
  margin: 0 0 8px; color: #16432a; font: 700 16px/1.3 var(--f-display); letter-spacing: -.01em;
}
body.page-estimulacion-temprana .cumani-early-benefits__card p {
  margin: 0; color: #536256; font-size: 13px; line-height: 1.5;
}
body.page-estimulacion-temprana .cumani-early-hours {
  padding: 78px 24px 88px; background: #f8f9f8; color: #40584a;
}
body.page-estimulacion-temprana .cumani-early-hours__inner {
  box-sizing: border-box; width: 100%; max-width: 1080px; margin: 0 auto;
}
body.page-estimulacion-temprana .cumani-early-hours__heading { margin: 0 0 18px; }
body.page-estimulacion-temprana .cumani-early-hours__heading h2 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 8px;
  color: #16432a; font: 800 28px/1.2 var(--f-display); letter-spacing: -.02em;
}
body.page-estimulacion-temprana .cumani-early-hours__heading h2::before {
  content: ""; display: block; flex: none; width: 19px; height: 19px;
  background: url("assets/icons/lucide/calendar.svg") center / contain no-repeat;
}
body.page-estimulacion-temprana .cumani-early-hours__heading p {
  margin: 0; color: #536256; font-size: 13px; line-height: 1.5;
}
body.page-estimulacion-temprana .cumani-early-hours__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 22px;
}
body.page-estimulacion-temprana .cumani-early-hours__card {
  box-sizing: border-box; min-width: 0; margin: 0; padding: 18px 20px;
  border: 2px solid #16432a; border-radius: 18px; background: #fffefa;
  box-shadow: 4px 4px 0 #16432a;
}
body.page-estimulacion-temprana .cumani-early-hours__card h3 {
  margin: 0 0 9px; color: #536256; font: 700 10px/1.3 var(--f-body);
  letter-spacing: .12em; text-transform: uppercase;
}
body.page-estimulacion-temprana .cumani-early-hours__card ul {
  margin: 0; padding-left: 16px; color: #40584a; font-size: 12px; line-height: 1.7;
}
body.page-estimulacion-temprana .cumani-early-hours__card li { padding-left: 2px; }
body.page-estimulacion-temprana .cumani-early-hours__card li::marker { color: #8da52d; }
body.page-estimulacion-temprana .cumani-early-closing {
  padding: 94px 24px 100px; background: #f6f2e9; text-align: center;
}
body.page-estimulacion-temprana .cumani-early-closing__inner {
  box-sizing: border-box; width: 100%; max-width: 760px; margin: 0 auto;
}
body.page-estimulacion-temprana .cumani-early-closing h2 {
  max-width: 720px; margin: 0 auto 16px; font-size: clamp(34px, 4vw, 46px); line-height: 1.12;
}
body.page-estimulacion-temprana .cumani-early-closing__inner > p {
  margin: 0 0 28px; color: #536256; font-size: 14px; line-height: 1.5;
}
body.page-estimulacion-temprana .cumani-early-closing__actions {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px;
}
body.page-estimulacion-temprana .cumani-early-closing__button {
  box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 11px 18px; border: 1px solid #16432a; border-radius: 999px;
  font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
body.page-estimulacion-temprana .cumani-early-closing__button:hover { transform: translateY(-1px); }
body.page-estimulacion-temprana .cumani-early-closing__button--primary {
  background: #0b4323; color: #fff8ec;
}
body.page-estimulacion-temprana .cumani-early-closing__button--primary:hover { background: #16432a; }
body.page-estimulacion-temprana .cumani-early-closing__button--secondary {
  background: #fffefa; color: #16432a;
}
body.page-estimulacion-temprana .cumani-early-closing__button--secondary:hover { background: #edf1e5; }
@media (max-width: 900px) {
  body.page-estimulacion-temprana .cumani-early-benefits__inner,
  body.page-estimulacion-temprana .cumani-early-hours__inner { max-width: 700px; }
  body.page-estimulacion-temprana .cumani-early-benefits__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  body.page-estimulacion-temprana .cumani-early-benefits__card { min-height: 215px; }
}
@media (max-width: 560px) {
  body.page-estimulacion-temprana .cumani-early-intro { padding: 66px 22px 72px; }
  body.page-estimulacion-temprana .cumani-early-intro h2 { margin-bottom: 16px; }
  body.page-estimulacion-temprana .cumani-early-intro__inner > p:not(.cumani-early-intro__age) { font-size: 15px; }
  body.page-estimulacion-temprana .cumani-early-benefits { padding: 68px 22px 76px; }
  body.page-estimulacion-temprana .cumani-early-benefits h2 { margin-bottom: 22px; }
  body.page-estimulacion-temprana .cumani-early-benefits__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.page-estimulacion-temprana .cumani-early-benefits__card { min-height: 0; padding: 22px; }
  body.page-estimulacion-temprana .cumani-early-hours { padding: 66px 22px 74px; }
  body.page-estimulacion-temprana .cumani-early-hours__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.page-estimulacion-temprana .cumani-early-closing { padding: 72px 22px 80px; }
  body.page-estimulacion-temprana .cumani-early-closing__inner > p { margin-bottom: 22px; }
  body.page-estimulacion-temprana .cumani-early-closing__actions {
    flex-direction: column; align-items: stretch; gap: 12px; max-width: 330px; margin: 0 auto;
  }
  body.page-estimulacion-temprana .cumani-early-closing__button { width: 100%; min-height: 46px; }
}

/* Maternal keeps the shared level-page layout and its single existing schedule. */
body.page-maternal .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 340px); }
body.page-preescolar .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 340px); }
body.page-primaria .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 340px); }
@media (max-width: 560px) {
  body.page-maternal .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 1fr); }
  body.page-preescolar .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 1fr); }
  body.page-primaria .cumani-early-hours__grid--single { grid-template-columns: minmax(0, 1fr); }
}

/* Public-site interaction feedback. The editor keeps its existing static preview. */
.wp-site-blocks .cumani-header__toggle,
.wp-site-blocks .cumani-nav__caret,
.wp-site-blocks .cumani-tabs__nav button,
.wp-site-blocks .cumani-testimonials__arrow {
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
    transform .18s var(--ease), box-shadow .18s ease;
}
.wp-site-blocks .cumani-header__toggle:hover,
.wp-site-blocks .cumani-header__toggle:focus-visible { background: #163a20; }
.wp-site-blocks .cumani-nav__caret:hover,
.wp-site-blocks .cumani-nav__caret:focus-visible,
.wp-site-blocks .cumani-nav__link:focus-visible { color: var(--c-green); }
.wp-site-blocks .cumani-nav__link:focus-visible,
.wp-site-blocks .cumani-footer a:focus-visible,
.wp-site-blocks .cumani-contact__info a:focus-visible,
.wp-site-blocks .cumani-contact__card a:focus-visible,
.wp-site-blocks .cumani-contact__social a:focus-visible,
.wp-site-blocks .cumani-contact__details a:focus-visible {
  text-decoration: underline;
}
.wp-site-blocks .cumani-tabs__nav button:not([aria-selected="true"]):hover,
.wp-site-blocks .cumani-tabs__nav button:not([aria-selected="true"]):focus-visible {
  background: #eef1e8; border-color: #9bb35a;
}
.wp-site-blocks .cumani-testimonials__arrow:hover,
.wp-site-blocks .cumani-testimonials__arrow:focus-visible {
  background: #e7ece2; transform: translateY(-1px);
}
.wp-site-blocks .cumani-testimonials__dots button:focus-visible::before { background: #71883b; }
.wp-site-blocks .cumani-social a:focus-visible {
  background: rgba(255, 248, 236, .1); border-color: rgba(213, 220, 205, .6);
}
.wp-site-blocks .cumani-wa:focus-visible { transform: scale(1.05); }
.wp-site-blocks .cumani-levels__card .wp-block-button__link:focus-visible {
  background: var(--level-accent); border-color: var(--level-accent);
}
.wp-site-blocks .cumani-final .wp-block-button__link {
  transition: background-color .18s ease, filter .18s ease, transform .18s var(--ease);
}
.wp-site-blocks .cumani-final .wp-block-button__link:hover,
.wp-site-blocks .cumani-final .wp-block-button__link:focus-visible {
  filter: brightness(1.05); transform: translateY(-1px);
}
.wp-site-blocks .cumani-footer a:focus-visible { color: #fff8ec; }
.wp-site-blocks .cumani-social a:focus-visible,
.wp-site-blocks .cumani-contact__social a:focus-visible { text-decoration: underline; }
.wp-site-blocks .cumani-about-closing__card:focus-visible { transform: translateY(-1px); }

.wp-site-blocks .cumani-btn:focus-visible,
.wp-site-blocks .cumani-pills .wp-block-button__link:focus-visible,
.wp-site-blocks .cumani-visit-form__submit:focus-visible,
.wp-site-blocks .cumani-levels__card .wp-block-button__link:focus-visible,
.wp-site-blocks .cumani-contact__cta .wp-block-button__link:focus-visible,
.wp-site-blocks .cumani-thanks__button:focus-visible,
.wp-site-blocks .cumani-about-hero__button:focus-visible,
.wp-site-blocks .cumani-pedagogia-hero__button:focus-visible,
.wp-site-blocks .cumani-pedagogia-closing__button:focus-visible,
.wp-site-blocks .cumani-early-hero__button:focus-visible,
.wp-site-blocks .cumani-early-closing__button:focus-visible {
  transform: translateY(-1px);
}

/* Scroll reveals are progressive enhancements: no root class means no content is hidden. */
html.cumani-reveal-ready [data-cumani-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .52s var(--ease), transform .52s var(--ease);
}
html.cumani-reveal-ready [data-cumani-reveal="card"] {
  transform: translateY(9px);
  transition-duration: .46s;
}
html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(2) { transition-delay: 70ms; }
html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(3) { transition-delay: 140ms; }
html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(4) { transition-delay: 210ms; }
html.cumani-reveal-ready [data-cumani-reveal].is-visible,
html.cumani-reveal-ready [data-cumani-reveal]:focus-within {
  opacity: 1;
  transform: none;
}
@media (max-width: 600px) {
  html.cumani-reveal-ready [data-cumani-reveal] {
    transform: translateY(8px);
    transition-duration: .44s;
  }
  html.cumani-reveal-ready [data-cumani-reveal="card"] { transition-duration: .4s; }
  html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(2) { transition-delay: 45ms; }
  html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(3) { transition-delay: 90ms; }
  html.cumani-reveal-ready [data-cumani-reveal="card"]:nth-child(4) { transition-delay: 135ms; }
}
@media (prefers-reduced-motion: reduce) {
  html.cumani-reveal-ready [data-cumani-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .wp-site-blocks .cumani-btn,
  .wp-site-blocks .cumani-pills .wp-block-button__link,
  .wp-site-blocks .cumani-visit-form__submit,
  .wp-site-blocks .cumani-wa,
  .wp-site-blocks .cumani-testimonials__arrow,
  .wp-site-blocks .cumani-final .wp-block-button__link,
  .wp-site-blocks .cumani-levels__card .wp-block-button__link,
  .wp-site-blocks .cumani-contact__cta .wp-block-button__link,
  .wp-site-blocks .cumani-thanks__button,
  .wp-site-blocks .cumani-about-hero__button,
  .wp-site-blocks .cumani-about-closing__card,
  .wp-site-blocks .cumani-pedagogia-hero__button,
  .wp-site-blocks .cumani-pedagogia-closing__button,
  .wp-site-blocks .cumani-early-hero__button,
  .wp-site-blocks .cumani-early-closing__button {
    transform: none !important;
  }
}

/* ---------- Home closing sections: scale and structure of the live cumani.mx page ---------- */
body.home .cumani-enrollment,
body.home .cumani-testimonials,
body.home .cumani-testimonials.is-enhanced,
body.home .cumani-contact {
  box-sizing: border-box; min-height: 0; padding: 96px 20px;
}
body.home .cumani-enrollment .cumani-section__eyebrow,
body.home .cumani-testimonials .cumani-section__eyebrow,
body.home .cumani-testimonials.is-enhanced .cumani-section__eyebrow,
body.home .cumani-contact__info > .cumani-section__eyebrow {
  margin: 0; font: 400 12px/16px var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: #0b4323;
}
body.home .cumani-enrollment .cumani-section__center h2,
body.home .cumani-testimonials h2,
body.home .cumani-testimonials.is-enhanced h2,
body.home .cumani-contact__info > h2 {
  max-width: none; margin: 12px 0 0; color: #0b4323; font: 700 36px/1.25 var(--f-display); letter-spacing: 0;
}
@media (min-width: 768px) {
  body.home .cumani-enrollment,
  body.home .cumani-testimonials,
  body.home .cumani-testimonials.is-enhanced,
  body.home .cumani-contact { padding: 128px 32px; }
  body.home .cumani-enrollment .cumani-section__center h2,
  body.home .cumani-testimonials h2,
  body.home .cumani-testimonials.is-enhanced h2,
  body.home .cumani-contact__info > h2 { font-size: 48px; }
}

/* Inscripción */
body.home .cumani-enrollment > .cumani-section__container { max-width: 1216px; padding: 0; }
body.home .cumani-enrollment .cumani-section__center { max-width: 672px; margin: 0 0 56px; }
body.home .cumani-enrollment .cumani-section__center .cumani-section__eyebrow { color: #8ba533; }
body.home .cumani-enrollment .cumani-section__center h2 { color: #f7f2e9; }
body.home .cumani-enrollment .cumani-section__center > p:last-child {
  max-width: none; margin: 20px 0 0; font-size: 16px; line-height: 24px; color: rgba(247, 242, 233, .7);
}
body.home .cumani-enrollment__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 640px) { body.home .cumani-enrollment__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { body.home .cumani-enrollment__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.home .cumani-enrollment__grid > .cumani-enrollment__step {
  min-height: 0; padding: 28px; background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border: 2px solid rgba(139, 165, 51, .35); border-radius: 20px 28px; box-shadow: 4px 4px 0 rgba(139, 165, 51, .45);
}
body.home .cumani-enrollment__step .cumani-section__eyebrow {
  margin: 0; font: 400 48px/48px var(--f-display); letter-spacing: 0; text-transform: none; color: #8ba533;
}
body.home .cumani-enrollment__step h3 { margin: 20px 0 0; color: #f7f2e9; font: 700 20px/28px var(--f-display); }
body.home .cumani-enrollment__step > p:last-child { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: rgba(247, 242, 233, .7); }

/* Testimonios */
body.home .cumani-testimonials > .cumani-section__container { max-width: 832px; padding: 0; }
body.home .cumani-testimonials .cumani-section__center,
body.home .cumani-testimonials.is-enhanced .cumani-section__center { max-width: none; margin: 0 0 48px; text-align: center; }
body.home .cumani-testimonials h2,
body.home .cumani-testimonials.is-enhanced h2 { margin: 12px auto 0; }
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__grid { max-width: 816px; padding: 0; }
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card {
  min-height: 0; padding: 110px 24px 32px; justify-content: flex-start;
  border-radius: 20px 28px; box-shadow: 4px 4px 0 #0b4323; border-color: #0b4323;
}
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card::before { top: 50px; }
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card > p:first-child {
  max-width: none; margin: 0; color: rgba(11, 67, 35, .9);
  font: italic 400 18px/1.625 var(--f-display);
}
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card h3 {
  margin: 32px 0 0; font: 500 16px/24px var(--f-body); color: #0b4323;
}
body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card > p:last-child {
  margin: 0; font-size: 14px; line-height: 20px; color: #0b4323;
}
@media (min-width: 768px) {
  body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card { padding: 110px 48px 48px; }
  body.home .cumani-testimonials.is-enhanced .cumani-testimonials__card > p:first-child { font-size: 24px; }
}
body.home .cumani-testimonials__controls { gap: 24px; margin-top: 32px; }
body.home .cumani-testimonials__arrow { width: 44px; height: 44px; border: 1px solid rgba(11, 67, 35, .22); }
body.home .cumani-testimonials__dots { gap: 0; }
body.home .cumani-testimonials__dots button { width: 16px; height: 24px; }
body.home .cumani-testimonials__dots button::before { width: 8px; height: 8px; background: rgba(11, 67, 35, .2); }
body.home .cumani-testimonials__dots button[aria-current="true"] { width: 40px; }
body.home .cumani-testimonials__dots button[aria-current="true"]::before { width: 32px; background: #0b4323; }

/* Contacto: información con iconos a la izquierda y formulario a la derecha */
body.home .cumani-contact__grid {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "info" "details" "form";
  align-items: start; gap: 0; width: 100%; max-width: 1216px; margin: 0 auto; padding: 0;
  background: none; border: 0; border-radius: 0; box-shadow: none;
}
@media (min-width: 1024px) {
  body.home .cumani-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto 1fr;
    grid-template-areas: "info form" "details form"; column-gap: 48px;
  }
}
body.home .cumani-contact__info { grid-area: info; }
body.home .cumani-contact__details { grid-area: details; margin-top: 40px; }
body.home .cumani-contact__form { grid-area: form; margin-top: 48px; }
@media (min-width: 1024px) { body.home .cumani-contact__form { margin-top: 0; } }
body.home .cumani-contact__info > h2 { max-width: none; }
body.home .cumani-contact__info > h2 + p { max-width: 512px; margin: 20px 0 0; font-size: 16px; line-height: 24px; color: #0b4323; }
body.home .cumani-contact__details { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { body.home .cumani-contact__details { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.home .cumani-contact__details > p,
body.home .cumani-contact__hours {
  position: relative; min-height: 44px; margin: 0; padding: 0 0 0 60px; border: 0; border-radius: 0; background: none;
  color: #0b4323; font-size: 14px; line-height: 20px;
}
body.home .cumani-contact__details > p:first-child,
body.home .cumani-contact__hours { grid-column: auto; }
body.home .cumani-contact__details > p a { color: #0b4323; text-decoration: none; }
body.home .cumani-contact__details > p a:hover { text-decoration: underline; }
body.home .cumani-contact__details > p a::before,
body.home .cumani-contact__hours h3 { display: block; margin: 0 0 2px; color: #0b4323; font: 500 14px/20px var(--f-body); }
body.home .cumani-contact__details > p a::before { margin-bottom: 2px; }
body.home .cumani-contact__hours > p { font-size: 14px; line-height: 20px; }
body.home .cumani-contact__details > p::before,
body.home .cumani-contact__hours h3::before {
  left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  background-color: rgba(11, 67, 35, .1); background-size: 20px 20px;
}
body.home .cumani-contact__hours h3::before { position: absolute; }
body.home .cumani-contact__form {
  box-sizing: border-box; padding: 28px; background: #f8f9f8; border: 2px solid #0b4323;
  border-radius: 20px 28px; box-shadow: 4px 4px 0 #0b4323;
}
@media (min-width: 640px) { body.home .cumani-contact__form { padding: 36px; } }
body.home .cumani-contact .cumani-visit-form__title,
body.home .cumani-contact .cumani-visit-form__intro { display: block; }
body.home .cumani-contact .cumani-visit-form__title { margin: 0; color: #0b4323; font: 700 24px/32px var(--f-display); }
body.home .cumani-contact .cumani-visit-form__intro { margin: 4px 0 24px; color: #0b4323; font-size: 14px; line-height: 20px; }
body.home .cumani-contact .cumani-visit-form form { gap: 16px; }
body.home .cumani-contact .cumani-visit-form label { margin: 0 0 8px; font-size: 14px; line-height: 14px; font-weight: 500; }
body.home .cumani-contact .cumani-visit-form input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body.home .cumani-contact .cumani-visit-form select,
body.home .cumani-contact .cumani-visit-form textarea {
  border: 1px solid rgba(150, 172, 96, .5); border-radius: 16px; background-color: transparent;
  font-size: 14px; line-height: 20px; padding: 7px 12px; min-height: 36px;
}
body.home .cumani-contact .cumani-visit-form textarea { min-height: 60px; }
body.home .cumani-contact .cumani-visit-form__privacy { position: static; margin: 0; font-size: 11px; line-height: 1.4; }
body.home .cumani-contact .cumani-visit-form__submit {
  min-height: 48px; padding: 0 24px; border-radius: 999px; background: #0b4323; color: #f7f2e9;
  font-size: 16px; font-weight: 500; letter-spacing: .025em;
}

/* Grupos reducidos */
body.home .cumani-final { min-height: 0; padding: 0; }
body.home .cumani-final .cumani-section__container { max-width: 1216px; padding: 56px 20px; box-sizing: border-box; }
body.home .cumani-final::before { background: linear-gradient(to right, rgba(11, 67, 35, .9), rgba(11, 67, 35, .75), rgba(11, 67, 35, .5)); }
body.home .cumani-final .cumani-section__eyebrow { margin: 0; font: 400 10px/16px var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: #8ba533; }
body.home .cumani-final h2 { margin: 12px auto 0; font: 700 36px/1.25 var(--f-display); letter-spacing: 0; color: #f7f2e9; }
body.home .cumani-final__highlight { color: #8ba533; }
body.home .cumani-final .cumani-section__container > p:not(.cumani-section__eyebrow) {
  max-width: 512px; margin: 12px auto 0; font-size: 14px; line-height: 20px; color: rgba(247, 242, 233, .75);
}
body.home .cumani-final .wp-block-buttons { margin-top: 24px; }
body.home .cumani-final .wp-block-button__link {
  padding: 10px 24px; background: #8ba533; color: #0b4323; font: 600 14px/20px var(--f-body);
  box-shadow: 4px 4px 0 rgba(11, 67, 35, .6);
}
@media (min-width: 768px) {
  body.home .cumani-final .cumani-section__container { padding: 80px 32px; }
  body.home .cumani-final h2 { font-size: 48px; }
}

/* Pie de página */
body.home .cumani-footer { box-sizing: border-box; padding: 64px 20px; font-size: 14px; color: rgba(247, 242, 233, .7); }
body.home .cumani-footer__grid { gap: 48px; padding-bottom: 0; border-bottom: 0; }
body.home .cumani-footer p { line-height: 20px; }
body.home .cumani-footer h2 { margin: 0 0 16px; color: #f7f2e9; font: 700 18px/28px var(--f-display); }
body.home .cumani-footer a { color: rgba(247, 242, 233, .7); }
body.home .cumani-footer a:hover { color: #8ba533; }
body.home .cumani-footer__brand img { height: 40px; margin-bottom: 0; }
body.home .cumani-footer__brand p { margin-top: 20px; }
body.home .cumani-footer__domain { margin-top: 20px; font: 400 12px/16px var(--f-body); letter-spacing: .2em; color: rgba(247, 242, 233, .45); }
body.home .cumani-footer nav li + li { margin-top: 12px; }
body.home .cumani-footer__contact li { gap: 12px; }
body.home .cumani-footer__contact li + li { margin-top: 16px; }
body.home .cumani-footer__contact svg { width: 18px; height: 18px; margin-top: 1px; stroke: #8ba533; }
body.home .cumani-footer__grid > div:last-child > h2 + p { margin-top: 0; }
body.home .cumani-social { gap: 12px; margin-top: 20px !important; }
body.home .cumani-social a { width: 40px; height: 40px; border-color: rgba(255, 255, 255, .15); color: rgba(247, 242, 233, .8); }
body.home .cumani-social a:hover { background: #8ba533; border-color: #8ba533; color: #0b4323; }
body.home .cumani-footer__bottom { margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(247, 242, 233, .55); gap: 16px; }
body.home .cumani-footer__bottom p:last-child { gap: 8px 24px; }
@media (min-width: 768px) { body.home .cumani-footer { padding: 64px 32px; } }
body.home .cumani-enrollment::before { background: rgba(8, 64, 33, .8); }
body.home .cumani-footer ul { line-height: 20px; }
body.home .cumani-footer nav li { line-height: 24px; }
body.home .cumani-footer nav li + li { margin-top: 12px; }
/* Stronger green tint over photo sections. */
body.home .cumani-enrollment::before { background: rgba(8, 64, 33, .88); }
body.home .cumani-final::before { background: linear-gradient(to right, rgba(11, 67, 35, .95), rgba(11, 67, 35, .86) 50%, rgba(11, 67, 35, .68)); }
