/*
Theme Name: Pequeñas Estrellas
Theme URI: https://pequenas-estrellas.test
Author: helydev
Description: Tema de bloques liviano para el jardín Pequeñas Estrellas. La paleta vive en theme.json y en Apariencia > Editor > Estilos.
Version: 0.11.1
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: pequenas-estrellas
*/

/* ===== Base ===== */
:root { --pe-r: 24px; --pe-ease: cubic-bezier(.2, .8, .2, 1); --pe-spring: cubic-bezier(.34, 1.4, .5, 1); }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
.wp-site-blocks > * { margin-block-start: 0 !important; margin-block-end: 0 !important; }
:focus-visible { outline: 3px solid var(--wp--preset--color--primary-dark); outline-offset: 3px; border-radius: 6px; }
.pe-svg { display: block; overflow: visible; }
.pe-svg-sm { display: inline-block; vertical-align: -4px; }

.pe-kicker { display: block; margin: 0 0 6px; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.1rem; color: #C4503E; }
.has-text-align-center.pe-kicker { text-align: center; }
.pe-on-dark.pe-kicker { color: var(--wp--preset--color--accent); }
.pe-title { position: relative; font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 6px 0 14px; }
.pe-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 640px; opacity: .9; }
.has-text-align-center.pe-lead { margin-left: auto; margin-right: auto; }
.pe-sec { position: relative; padding: clamp(56px, 8vw, 104px) clamp(16px, 4vw, 40px); overflow: hidden; }
.pe-sec-tight { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(24px, 4vw, 40px); }
.pe-sec > *:not(.pe-floaters):not(.pe-sky):not(.pe-wave):not(.pe-polaroids) { position: relative; z-index: 1; max-width: 1140px; margin-left: auto; margin-right: auto; }

/* Garabato hecho a mano bajo los títulos centrados: se dibuja al entrar en pantalla */
.has-text-align-center.pe-title::after { content: ""; display: block; width: 120px; height: 14px; margin: 10px auto 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 14'%3E%3Cpath d='M3 9c14-6 24 4 38-1s24-5 38 0 25 3 38-3' fill='none' stroke='%23FFC934' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 120px 14px; transition: clip-path 1s .35s var(--pe-ease); }
.js .has-text-align-center.pe-title:not(.is-in)::after { clip-path: inset(0 100% 0 0); }

/* ===== Botones ===== */
.wp-block-button__link { position: relative; transition: transform .35s var(--pe-spring), box-shadow .35s var(--pe-ease), background-color .2s; box-shadow: 0 5px 0 rgba(0,0,0,.14); }
.wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 8px 0 rgba(0,0,0,.14); }
.wp-block-button__link:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0,0,0,.14); transition-duration: .08s; }
.is-style-outline > .wp-block-button__link { border: 3px solid currentColor; box-shadow: none; }

/* ===== Cabecera ===== */
.pe-header { position: sticky; top: 0; z-index: 40; gap: 16px; padding: 12px clamp(16px, 4vw, 40px); background: rgba(255,255,255,.94); border-bottom: 3px solid var(--wp--preset--color--primary); flex-wrap: nowrap !important; transition: box-shadow .3s; }
.pe-header.is-scrolled { box-shadow: 0 6px 24px -10px rgba(22,127,168,.35); }
.pe-header .wp-block-site-title a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.pe-header .wp-block-site-title a::before { content: "★"; color: var(--wp--preset--color--accent); font-size: 1.5em; line-height: 1; display: inline-block; text-shadow: 0 2px 0 rgba(0,0,0,.12); transition: transform .6s var(--pe-spring); }
.pe-header .wp-block-site-title a:hover::before { transform: rotate(144deg) scale(1.15); }
.pe-header .wp-block-navigation { font-weight: 700; }
.pe-header .wp-block-navigation-item__content { padding: 6px 10px; border-radius: 12px; transition: background .2s, color .2s; text-decoration: none; }
.pe-header .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--primary-light); color: var(--wp--preset--color--primary-dark); }
.pe-header-cta .wp-block-button__link { padding: 10px 18px; font-size: .95rem; white-space: nowrap; }
@media (max-width: 1100px) { .pe-header .pe-header-cta { display: none !important; } }

/* ===== Ondas ===== */
.pe-wave { line-height: 0; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.pe-wave svg { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }

/* ===== Hero ===== */
.pe-hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 40px) clamp(110px, 12vw, 170px); background: linear-gradient(180deg, #CDEFFA 0%, var(--wp--preset--color--primary-light) 60%, #fff 100%) !important; }
.pe-hero > *:not(.pe-sky):not(.pe-wave) { position: relative; z-index: 1; max-width: 1140px; margin-left: auto; margin-right: auto; }
.pe-hero-cols { align-items: center; gap: clamp(20px, 5vw, 60px); }
.pe-hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1.05; margin: 0 0 18px; }
.pe-hl { position: relative; color: var(--wp--preset--color--primary-dark); white-space: nowrap; display: inline-block; padding-bottom: .12em; }
/* subrayado a mano que se dibuja de izquierda a derecha */
.pe-hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: -.1em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'%3E%3Cpath d='M4 15C40 6 80 19 120 11s90-9 130-1 30 4 46-2' fill='none' stroke='%23FFC934' stroke-width='9' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left center / 100% 100%; z-index: -1; }
.pe-intro .pe-hl::after { clip-path: inset(0 100% 0 0); }
.pe-intro.pe-ready .pe-hl::after { clip-path: inset(0 0 0 0); transition: clip-path .9s .55s var(--pe-ease); }
.pe-intro .pe-hero .pe-kicker, .pe-intro .pe-hero .pe-lead, .pe-intro .pe-hero .wp-block-buttons, .pe-intro .pe-hero-alt { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--pe-ease), transform .8s var(--pe-ease); }
.pe-intro.pe-ready .pe-hero .pe-kicker { opacity: 1; transform: none; }
.pe-intro.pe-ready .pe-hero .pe-lead { opacity: .9; transform: none; transition-delay: .35s; }
.pe-intro.pe-ready .pe-hero .wp-block-buttons, .pe-intro.pe-ready .pe-hero-alt { opacity: 1; transform: none; transition-delay: .45s; }

.pe-sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pe-sun { position: absolute; top: 6%; right: 5%; width: clamp(70px, 9vw, 120px); height: auto; animation: pe-spin 50s linear infinite; }
.pe-cloud { position: absolute; height: auto; opacity: .95; filter: drop-shadow(0 6px 0 rgba(73,184,220,.16)); will-change: transform; }
.pe-cloud.c1 { top: 12%; left: -200px; animation: pe-drift 70s linear infinite; }
.pe-cloud.c2 { top: 54%; left: -200px; animation: pe-drift 95s linear -40s infinite; }
.pe-cloud.c3 { top: 30%; left: -200px; animation: pe-drift 85s linear -65s infinite; }
.pe-star { display: block; }
.pe-sky .pe-star { position: absolute; animation: pe-twinkle 3.4s ease-in-out infinite; }
.pe-sky .s1 { top: 18%; left: 8%; } .pe-sky .s2 { top: 72%; left: 4%; animation-delay: .8s; } .pe-sky .s3 { top: 9%; left: 46%; animation-delay: 1.4s; }
.pe-sky .s4 { top: 64%; left: 48%; animation-delay: 2s; } .pe-sky .s5 { top: 24%; right: 22%; animation-delay: .4s; } .pe-sky .s6 { top: 80%; right: 10%; animation-delay: 2.5s; }

.pe-blob-wrap { position: relative; max-width: 520px; margin-left: auto; margin-right: auto; }
.pe-blob { aspect-ratio: 1 / 1; overflow: hidden; border: 8px solid #fff; box-shadow: 0 18px 0 rgba(22,127,168,.14); background: var(--wp--preset--color--primary-light); animation: pe-morph 14s ease-in-out infinite; display: grid; place-items: center; transition: clip-path .9s .1s var(--pe-ease); }
.pe-intro .pe-blob { clip-path: circle(0% at 50% 50%); }
.pe-intro.pe-ready .pe-blob { clip-path: circle(75% at 50% 50%); }
.pe-blob-img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.2s .1s var(--pe-ease); }
.pe-intro .pe-blob-img { transform: scale(1.18); }
.pe-intro.pe-ready .pe-blob-img { transform: scale(1.04); }
.pe-blob:hover .pe-blob-img { transform: scale(1.1); transition-delay: 0s; }
.pe-badge { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 800; font-size: .95rem; color: var(--wp--preset--color--ink); box-shadow: 0 8px 0 rgba(0,0,0,.07); z-index: 3; transition: opacity .5s var(--pe-ease), scale .6s var(--pe-spring); }
.pe-intro .pe-badge { opacity: 0; scale: .6; }
.pe-badge .pe-svg { color: var(--wp--preset--color--accent-2); }
.pe-badge { animation: pe-bob 5s ease-in-out 1s infinite; }
.pe-intro.pe-ready .pe-badge { opacity: 1; scale: 1; }
.pe-badge.b1 { top: 44%; left: -6%; transition-delay: .6s; }
.pe-badge.b2 { top: 4%; right: 2%; transition-delay: .7s; animation-delay: -1.6s !important; }
.pe-badge.b3 { bottom: 6%; right: 8%; transition-delay: .8s; animation-delay: -3s !important; }

/* ===== Cinta ===== */
.pe-marquee-sec { padding: 14px 0 !important; overflow: hidden; }
.pe-marquee { overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.pe-marquee-track { display: inline-flex; align-items: center; gap: 28px; animation: pe-marquee 45s linear infinite; font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; }
.pe-marquee-track .pe-sep { display: inline-flex; }
.pe-marquee:hover .pe-marquee-track { animation-play-state: paused; }

/* ===== Números ===== */
.pe-stats { gap: 16px; }
.pe-stat { text-align: center; padding: 22px 12px; border-radius: var(--pe-r); background: var(--wp--preset--color--mist); }
.pe-num { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; margin: 0; color: var(--wp--preset--color--primary-dark); font-variant-numeric: tabular-nums; }
.pe-stat-label { margin: 6px 0 0; font-weight: 700; opacity: .8; }

/* ===== Texto gigante ===== */
.pe-bigtext-sec { padding: 26px 0 !important; overflow: hidden; background: var(--wp--preset--color--surface); }
.pe-bigtext-sec > * { max-width: none !important; }
.pe-bigtext { overflow: hidden; white-space: nowrap; line-height: 1.08; }
.pe-bigtext-track { display: inline-flex; align-items: center; gap: 36px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(3rem, 11vw, 8rem); text-transform: uppercase; will-change: transform; }
.pe-bigtext-track > span { -webkit-text-stroke: 2px var(--wp--preset--color--primary-dark); color: transparent; transition: color .4s; }
.pe-bigtext-track > span:nth-child(4n+1) { color: var(--wp--preset--color--primary-light); }
.pe-bigtext-track > span:hover { color: var(--wp--preset--color--accent); -webkit-text-stroke-color: var(--wp--preset--color--accent); }
.pe-bigtext-track .pe-bigstar { -webkit-text-stroke: 0; color: var(--wp--preset--color--accent); display: inline-flex; }
.pe-bigtext-track .pe-bigstar .pe-svg { width: .55em; height: .55em; fill: currentColor; stroke-width: 0; animation: pe-spin 12s linear infinite; }

/* ===== Tarjetas ===== */
.pe-cards { gap: 18px; margin-top: 34px; }
.pe-why, .pe-serv { position: relative; overflow: hidden; height: 100%; padding: 26px 22px; border-radius: var(--pe-r); border: 3px solid var(--wp--preset--color--primary-light); box-shadow: 0 8px 0 var(--wp--preset--color--primary-light); transition: transform .4s var(--pe-spring), box-shadow .4s var(--pe-ease); }
.pe-why:hover, .pe-serv:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--wp--preset--color--primary-light); }
.pe-why h3, .pe-serv h3 { font-size: 1.25rem; margin: 14px 0 6px; }
.pe-why p, .pe-serv p { margin: 4px 0; }
.pe-ico-bubble, .pe-serv-ico { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; color: var(--wp--preset--color--primary-dark); transition: transform .5s var(--pe-spring), border-radius .5s var(--pe-ease); }
.pe-ico-bubble .pe-svg, .pe-serv-ico .pe-svg { width: 40px; height: 40px; }
.pe-why:hover .pe-ico-bubble, .pe-serv:hover .pe-serv-ico { transform: rotate(-8deg) scale(1.08); border-radius: 50%; }
/* el trazo del ícono se redibuja al pasar el mouse */
.pe-tile:hover .pe-svg * { stroke-dasharray: 160; animation: pe-redraw .9s var(--pe-ease); }
.c-sun, .s-sun .pe-serv-ico { background: #FFF0B8; color: #B7791F; } .c-sky, .s-sky .pe-serv-ico { background: #CFEFFA; color: #167FA8; }
.c-mint, .s-mint .pe-serv-ico { background: #CFF5E7; color: #1F8A66; } .c-coral, .s-coral .pe-serv-ico { background: #FFDAD3; color: #C4503E; }
.s-sun { border-color: #FFE27A; box-shadow: 0 8px 0 #FFE27A; } .s-sky { border-color: #A6E0F3; box-shadow: 0 8px 0 #A6E0F3; }
.s-mint { border-color: #9DE9CF; box-shadow: 0 8px 0 #9DE9CF; } .s-coral { border-color: #FFB6A9; box-shadow: 0 8px 0 #FFB6A9; }
.pe-serv a { font-weight: 800; text-decoration: none; }
.pe-serv a::after, .pe-tile a::after { content: ""; display: inline-block; }
.pe-serv:hover a, .pe-tile:hover a { text-decoration: underline; text-underline-offset: 4px; }

/* ===== Rincón de niños ===== */
.pe-rincon-cols { gap: 28px; margin-top: 34px; align-items: stretch; }
.pe-draw-card { padding: 14px; border-radius: 28px; background: #fff; box-shadow: 0 12px 0 rgba(255,201,52,.45); border: 4px solid var(--wp--preset--color--accent); }
.pe-draw-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.pe-dot { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #fff; background: var(--c); box-shadow: 0 0 0 2px rgba(0,0,0,.15); cursor: pointer; transition: transform .3s var(--pe-spring); }
.pe-dot:hover, .pe-dot.on { transform: scale(1.22); box-shadow: 0 0 0 3px var(--wp--preset--color--ink); }
.pe-tool { margin-left: 4px; height: 38px; padding: 0 12px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 12px; background: var(--wp--preset--color--mist); font: inherit; font-weight: 800; font-size: .9rem; color: var(--wp--preset--color--ink); cursor: pointer; transition: transform .3s var(--pe-spring); }
.pe-tool:hover { transform: scale(1.12); }
.pe-draw canvas { display: block; width: 100%; height: auto; aspect-ratio: 900 / 520; border-radius: 18px; background: #fff; touch-action: none; cursor: crosshair; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1.5px); background-size: 22px 22px; }
.pe-draw-hint { text-align: center; margin: 8px 0 0; font-size: .9rem; opacity: .7; }
.pe-tiles { gap: 16px; margin: 0 0 16px; }
.pe-tile { position: relative; overflow: hidden; height: 100%; padding: 20px; border-radius: var(--pe-r); transition: transform .4s var(--pe-spring); border: 3px solid rgba(0,0,0,.05); }
.pe-tile:hover { transform: translateY(-6px); }
.pe-tile h3 { margin: 10px 0 2px; font-size: 1.2rem; }
.pe-tile p { margin: 2px 0; }
.pe-tile a { font-weight: 800; text-decoration: none; }
.pe-tile-ico { width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.7); display: grid; place-items: center; color: var(--wp--preset--color--ink); }
.pe-tile-ico .pe-svg { width: 36px; height: 36px; }
.t-sun { background: #FFE9A0; } .t-sky { background: #BFE9F7; } .t-mint { background: #BDF0DD; } .t-coral { background: #FFCFC6; }
.pe-floaters { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.pe-floaters .pe-star { position: absolute; animation: pe-float 8s ease-in-out infinite; opacity: .8; }
.pe-floaters .f1 { top: 10%; left: 6%; } .pe-floaters .f2 { top: 24%; right: 8%; animation-delay: -3s; } .pe-floaters .f3 { bottom: 12%; left: 14%; animation-delay: -5s; } .pe-floaters .f4 { bottom: 20%; right: 16%; animation-delay: -1.5s; }

/* ===== Inicial ===== */
.pe-split { gap: clamp(24px, 5vw, 64px); align-items: center; }
.pe-inicial-visual { position: relative; border-radius: 32px; overflow: hidden; box-shadow: 0 14px 0 rgba(22,127,168,.14); border: 6px solid #fff; background: var(--wp--preset--color--primary-light); }
.pe-inicial-photo { margin: 0 !important; }
.pe-inicial-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.pe-ages { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 10px; align-items: flex-end; justify-content: center; padding: 18px 18px 0; background: linear-gradient(0deg, rgba(0,40,60,.5), rgba(0,40,60,0)); }
.pe-age { display: grid; place-items: center; align-content: center; border-radius: 50% 50% 0 0; font-family: var(--wp--preset--font-family--display); color: #fff; transform-origin: bottom center; transition: transform .9s var(--pe-spring); }
.js .pe-ages:not(.is-in) .pe-age { transform: scaleY(0); }
.pe-ages .a3 { transition-delay: .12s; } .pe-ages .a4 { transition-delay: .24s; } .pe-ages .a5 { transition-delay: .36s; }
.pe-age span { font-size: 1.9rem; line-height: 1; } .pe-age small { font-size: .78rem; font-weight: 700; }
.pe-age.a2 { width: 58px; height: 66px; background: #C4503E; }
.pe-age.a3 { width: 68px; height: 86px; background: #9A6100; }
.pe-age.a4 { width: 78px; height: 106px; background: #1F7A5A; }
.pe-age.a5 { width: 88px; height: 128px; background: #6A4FC9; }

/* ===== Un día ===== */
.pe-path { position: relative; height: 6px; max-width: 1000px; margin: 40px auto 0 !important; border-radius: 9px; background: rgba(22,127,168,.16); }
.pe-path i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 9px; background: var(--wp--preset--color--primary-dark); transition: width 2.2s var(--pe-ease); }
.pe-path.is-in i { width: 100%; }
.pe-path::after { content: ""; position: absolute; top: -15px; left: 0; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FFC934' stroke='%23B7791F' stroke-width='.8' d='M12 1.8l2.9 6.3 6.9.8-5.1 4.7 1.4 6.8L12 17l-6.1 3.4 1.4-6.8L2.2 8.9l6.9-.8z'/%3E%3C/svg%3E") no-repeat center / contain; transition: left 2.2s var(--pe-ease), transform 2.2s var(--pe-ease); }
.pe-path.is-in::after { left: calc(100% - 30px); transform: rotate(360deg); }
.pe-steps { gap: 14px; margin-top: -26px; }
.pe-step { text-align: center; padding: 8px; }
.pe-step-ico { width: 64px; height: 64px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--wp--preset--color--primary-dark); border: 4px solid var(--wp--preset--color--primary-dark); box-shadow: 0 6px 0 rgba(0,0,0,.08); transition: transform .4s var(--pe-spring), background .3s; }
.pe-step-ico .pe-svg { width: 32px; height: 32px; }
.pe-step-time { margin: 4px 0 0; font-weight: 800; color: var(--wp--preset--color--primary-dark); font-size: .9rem; }
.pe-step h4 { margin: 2px 0; font-size: 1.1rem; }

/* ===== Talleres ===== */
.pe-banner { background: linear-gradient(135deg, var(--wp--preset--color--primary-dark), #0F5C7D) !important; }
.pe-banner .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); }
.pe-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 26px auto; }
.pe-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--wp--preset--color--ink); font-weight: 800; box-shadow: 0 6px 0 rgba(0,0,0,.18); transition: opacity .5s var(--d, 0s) var(--pe-ease), transform .6s var(--d, 0s) var(--pe-spring); }
.js .pe-chips:not(.is-in) .pe-chip { opacity: 0; transform: translateY(16px) scale(.8); }
.pe-chip .pe-svg { color: var(--wp--preset--color--primary-dark); }
.pe-polaroids { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.pe-polaroid { position: absolute; margin: 0; padding: 8px 8px 30px; background: #fff; color: var(--wp--preset--color--ink); border-radius: 6px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); width: clamp(110px, 12vw, 190px); text-align: center; font-weight: 800; font-size: .85rem; }
.pe-polaroid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.pe-polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 7px; font-family: var(--wp--preset--font-family--display); }
.pe-polaroid.po1 { left: clamp(8px, 4vw, 60px); top: 16%; transform: rotate(-7deg) translateY(calc(var(--py, 0) * 1px)); }
.pe-polaroid.po2 { right: clamp(8px, 4vw, 60px); bottom: 14%; transform: rotate(6deg) translateY(calc(var(--py, 0) * -1px)); }
@media (max-width: 1240px) { .pe-polaroids { display: none; } }

/* ===== Galería ===== */
.pe-gallery { gap: 16px; margin-top: 16px; }
.pe-gtile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--pe-r); background: var(--wp--preset--color--primary-light); box-shadow: 0 8px 0 rgba(22,127,168,.12); }
.pe-gimg { margin: 0 !important; height: 100%; }
.pe-gimg img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--pe-ease); }
.pe-gtile:hover .pe-gimg img { transform: scale(1.08); }
.pe-gcap { position: absolute; left: 12px; bottom: 12px; margin: 0 !important; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.95); font-weight: 800; font-size: .95rem; box-shadow: 0 4px 0 rgba(0,0,0,.1); transition: transform .4s var(--pe-spring); }
.pe-gtile:hover .pe-gcap { transform: translateY(-5px); }

/* ===== CTA ===== */
.pe-cta { text-align: center; }
.pe-cta .pe-title { font-size: clamp(2.2rem, 5vw, 3.4rem); }

/* ===== Pie ===== */
.pe-footer { position: relative; margin-top: 70px; padding: 90px clamp(16px, 4vw, 40px) 28px; overflow: visible; }
.pe-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -69px; height: 70px; background: var(--wp--preset--color--ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V34C180 4 360 4 540 34s360 30 540 0 270-24 360-8v44z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 70V34C180 4 360 4 540 34s360 30 540 0 270-24 360-8v44z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pe-footer > * { max-width: 1140px !important; margin-left: auto !important; margin-right: auto !important; }
.pe-foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 28px; margin-bottom: 40px !important; border-radius: 28px; background: linear-gradient(120deg, var(--wp--preset--color--primary-dark), #0F5C7D); position: relative; overflow: hidden; }
.pe-foot-cta h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2.2rem); color: #fff; }
.pe-foot-cta p { margin: 4px 0 0; opacity: .95; }
.pe-foot-cta .pe-star { position: absolute; animation: pe-float 7s ease-in-out infinite; opacity: .85; }
.pe-foot-cta .fs1 { top: 10px; right: 42%; } .pe-foot-cta .fs2 { bottom: 10px; right: 30%; animation-delay: -3s; }
.pe-foot-cols { gap: clamp(20px, 4vw, 48px); }
.pe-footer h3 { font-size: 1.1rem; color: var(--wp--preset--color--accent); margin-bottom: 10px; }
.pe-footer p { margin: 0 0 6px; }
.pe-footer a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s var(--pe-ease); }
.pe-footer a:hover { background-size: 100% 2px; }
.pe-foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px !important; padding: 16px 90px 0 0; border-top: 1px solid rgba(255,255,255,.2); }
.pe-legal { font-size: .85rem; opacity: .85; margin: 0; }
.pe-top { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink) !important; font-weight: 800; background-image: none !important; box-shadow: 0 4px 0 rgba(0,0,0,.25); transition: transform .3s var(--pe-spring); }
.pe-top:hover { transform: translateY(-3px); }

/* ===== WhatsApp: botón circular discreto ===== */
.pe-wa { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #1A8D4E !important; border: 2px solid #DDEFE4; box-shadow: 0 8px 22px -8px rgba(0,0,0,.3); text-decoration: none !important; background-image: none !important; transition: transform .35s var(--pe-spring), box-shadow .3s; }
.pe-wa:hover, .pe-wa:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 26px -8px rgba(0,0,0,.35); }
.pe-wa-label { position: absolute; right: 66px; padding: 7px 12px; border-radius: 10px; background: var(--wp--preset--color--ink); color: #fff; font-weight: 700; font-size: .9rem; white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity .2s, transform .25s var(--pe-ease); }
.pe-wa:hover .pe-wa-label, .pe-wa:focus-visible .pe-wa-label { opacity: 1; transform: none; }
@media (max-width: 781px) { .pe-wa { right: 14px; bottom: 14px; width: 52px; height: 52px; } .pe-wa-label { display: none; } .pe-foot-bottom { padding-right: 0; padding-bottom: 60px; } }

/* ===== Páginas internas (provisional, T52) ===== */
.pe-page-title { padding: 28px clamp(16px, 4vw, 40px) 0; }
.pe-page-title h1 { margin: 0; }
.wp-block-post-content > :not(.alignfull) { max-width: 760px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.pe-card { height: 100%; padding: 22px; border-radius: 20px; border: 2px solid var(--wp--preset--color--primary-light); box-shadow: 0 6px 0 var(--wp--preset--color--primary-light); }
.pe-card h3 { margin: 6px 0; font-size: 1.2rem; }
.pe-card p { margin: 4px 0; }
.pe-ico { font-size: 2rem; line-height: 1; margin: 0; }
.pe-photo { min-height: 220px; display: grid; place-items: center; text-align: center; padding: 20px; border: 3px dashed var(--wp--preset--color--primary); border-radius: 24px; background: #fff; color: var(--wp--preset--color--primary-dark); }

/* ===== Entrada y salida de elementos ===== */
.js .pe-reveal { opacity: 0; transition: opacity .9s var(--pe-ease), transform 1s var(--pe-ease), clip-path 1.1s var(--pe-ease); }
.js .pe-reveal[data-anim="up"] { transform: translateY(46px); }
.js .pe-reveal[data-anim="left"] { transform: translateX(-56px) rotate(-2deg); }
.js .pe-reveal[data-anim="right"] { transform: translateX(56px) rotate(2deg); }
.js .pe-reveal[data-anim="zoom"] { transform: scale(.86); }
.js .pe-reveal.is-in { opacity: 1; transform: none; }
.js .wp-block-column:nth-child(2) > .pe-reveal { transition-delay: .08s; }
.js .wp-block-column:nth-child(3) > .pe-reveal { transition-delay: .16s; }
.js .wp-block-column:nth-child(4) > .pe-reveal { transition-delay: .24s; }
.js .wp-block-column:nth-child(5) > .pe-reveal { transition-delay: .32s; }
/* las fotos se descubren como una cortina */
.js .pe-gtile.pe-reveal, .js .pe-inicial-visual.pe-reveal { clip-path: inset(18% 18% 18% 18% round 40px); transform: none !important; }
.js .pe-gtile.pe-reveal.is-in, .js .pe-inicial-visual.pe-reveal.is-in { clip-path: inset(0 0 0 0 round var(--pe-r)); }
.js .pe-gtile .pe-gimg img, .js .pe-inicial-photo img { transform: scale(1.2); transition: transform 1.4s var(--pe-ease); }
.js .pe-reveal.is-in .pe-gimg img, .js .pe-reveal.is-in .pe-inicial-photo img { transform: scale(1); }
.js .pe-gtile.is-in:hover .pe-gimg img { transform: scale(1.08); }
/* títulos palabra por palabra */
.pe-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .14em; margin-bottom: -.14em; }
.pe-w > span { display: inline-block; transform: translateY(110%); transition: transform .8s var(--pe-ease) calc(var(--i, 0) * 60ms); }
.pe-words.is-in .pe-w > span, .pe-ready .pe-hero-title .pe-w > span { transform: none; }
.pe-ready .pe-hero-title .pe-w > span { transition-delay: calc(.05s + var(--i, 0) * 55ms); }

/* ===== Telón de entrada y transición de salida ===== */
.pe-splash-star { width: clamp(90px, 16vw, 140px); }
.pe-splash-star svg { display: block; width: 100%; height: auto; overflow: visible; }
.pe-splash-star path { fill: transparent; stroke: currentColor; stroke-width: 1.1; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: pe-draw-star .7s var(--pe-ease) forwards, pe-fill-star .35s .6s forwards; }
.pe-leaving .pe-leaving 
/* ===== Estrella viajera y progreso ===== */
.pe-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 60; background: linear-gradient(90deg, var(--wp--preset--color--accent), var(--wp--preset--color--accent-2), var(--wp--preset--color--primary)); border-radius: 0 6px 6px 0; }
.pe-runner { position: fixed; top: 0; left: 0; z-index: 55; width: 30px; height: 30px; pointer-events: none; will-change: transform; }
.pe-runner-star { position: absolute; inset: 0; color: var(--wp--preset--color--accent); filter: drop-shadow(0 2px 0 rgba(0,0,0,.18)) drop-shadow(0 0 8px rgba(255,201,52,.7)); }
.pe-runner-star svg { width: 100%; height: 100%; display: block; }
.pe-runner-tail { position: absolute; top: 50%; left: 50%; height: 6px; width: 0; margin-top: -3px; border-radius: 6px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255,201,52,.75), rgba(255,201,52,0)); }
@media (max-width: 781px) { .pe-runner { width: 22px; height: 22px; } }

/* ===== Paralaje ===== */
.pe-sky { transform: translate3d(0, calc(var(--sy, 0) * 0.22px), 0); }
.pe-blob-wrap { transform: translate3d(0, calc(var(--sy, 0) * -0.06px), 0); }
.pe-floaters { transform: translate3d(0, calc(var(--sy, 0) * 0.03px), 0); }

/* ===== Animaciones ===== */
@keyframes pe-spin { to { transform: rotate(360deg); } }
@keyframes pe-drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 400px)); } }
@keyframes pe-twinkle { 0%,100% { transform: scale(.85); opacity: .65; } 50% { transform: scale(1.15) rotate(12deg); opacity: 1; } }
@keyframes pe-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(14deg); } }
@keyframes pe-bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes pe-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pe-morph { 0%,100% { border-radius: 58% 42% 55% 45% / 52% 55% 45% 48%; } 33% { border-radius: 42% 58% 46% 54% / 58% 44% 56% 42%; } 66% { border-radius: 52% 48% 38% 62% / 46% 58% 42% 54%; } }
@keyframes pe-marquee { to { transform: translateX(-50%); } }
@keyframes pe-redraw { from { stroke-dashoffset: 160; } to { stroke-dashoffset: 0; } }
@keyframes pe-draw-star { to { stroke-dashoffset: 0; } }
@keyframes pe-fill-star { to { fill: currentColor; } }
@keyframes pe-curtain-up { to { transform: translateY(-102%); } }

@media (max-width: 781px) {
  .pe-badge.b1 { left: 0; } .pe-badge.b2 { right: 0; }
  .pe-steps { margin-top: 10px; }
  .pe-path { display: none; }
  .pe-age.a2 { width: 44px; height: 52px; } .pe-age.a3 { width: 52px; height: 68px; } .pe-age.a4 { width: 60px; height: 84px; } .pe-age.a5 { width: 68px; height: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .pe-reveal, .pe-hero .pe-kicker, .pe-hero .pe-lead, .pe-hero .wp-block-buttons, .pe-badge, .pe-chip { opacity: 1 !important; transform: none !important; scale: 1 !important; clip-path: none !important; }
  .pe-blob, .pe-hl::after, .has-text-align-center.pe-title::after { clip-path: none !important; }
  .pe-age, .pe-w > span { transform: none !important; }
}

/* ===== v0.6: formatos distintos por sección ===== */
/* Por qué elegirnos: abierto, sin cajas */
.pe-why-cols .pe-why { background: transparent !important; border: 0; box-shadow: none; padding: 8px 4px; }
.pe-why-cols .pe-why:hover { transform: none; box-shadow: none; }
.pe-why-cols .pe-ico-bubble { width: 64px; height: 64px; border-radius: 20px; }
.pe-why-cols .pe-why h3 { font-size: 1.3rem; }
/* Servicios: filas con ícono a la izquierda */
.pe-serv-grid { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.pe-serv-grid > .wp-block-column { margin: 0 !important; }
.pe-serv-grid .pe-serv { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; align-items: start; padding: 22px 0; border: 0; border-bottom: 2px dashed var(--wp--preset--color--primary-light); border-radius: 0; box-shadow: none; background: transparent; height: auto; }
.pe-serv-grid .pe-serv:hover { transform: none; box-shadow: none; }
.pe-serv-grid .pe-serv > * { grid-column: 2; margin: 0; }
.pe-serv-grid .pe-serv > .pe-serv-ico, .pe-serv-grid .pe-serv > .wp-block-html { grid-column: 1; grid-row: 1 / span 3; }
.pe-serv-grid .pe-serv-ico { width: 64px; height: 64px; border-radius: 18px; }
.pe-serv-grid .pe-serv h3 { margin: 4px 0 4px; }
.pe-serv-grid .pe-serv a { display: inline-block; margin-top: 6px; }
/* Enlace secundario del hero */
.pe-hero-alt { margin: 16px 0 0; font-weight: 700; }
.pe-hero-alt a { color: var(--wp--preset--color--primary-dark); text-decoration-thickness: 2px; text-underline-offset: 4px; }
/* Revelado sobrio y una sola vez */
.js .pe-reveal { transform: translateY(24px); }
.js .pe-reveal[data-anim] { transform: translateY(24px); }

@media (max-width: 781px) {
  .pe-why-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .pe-why-cols > .wp-block-column { margin: 0 !important; }
  .pe-why-cols .pe-why h3 { font-size: 1.1rem; }
  .pe-serv-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pe-intro .pe-hero .pe-kicker, .pe-intro .pe-hero .pe-lead, .pe-intro .pe-hero .wp-block-buttons, .pe-intro .pe-hero-alt, .pe-intro .pe-badge { opacity: 1 !important; scale: 1 !important; transform: none !important; }
  .pe-intro .pe-blob, .pe-intro .pe-hl::after { clip-path: none !important; }
}
.pe-serv-grid .pe-serv > *, .pe-why-cols .pe-why > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; text-align: left; }

/* ===== Rincón de niños: cabecera integrada, sin título de plantilla ===== */
main:has(.pe-rincon-head) .pe-page-title { display: none; }
.pe-rincon-page { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); }
.pe-rincon-head { display: flex; align-items: center; gap: 22px; max-width: 980px; margin: 0 auto 30px; }
.pe-rincon-mascot { flex: none; width: clamp(80px, 10vw, 120px); animation: pe-bob 4s ease-in-out infinite; filter: drop-shadow(0 8px 0 rgba(0,0,0,.1)); }
.pe-rincon-mascot svg { width: 100%; height: auto; display: block; overflow: visible; }
.pe-rincon-title { margin: 0 0 6px; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; }
.pe-rincon-lead { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); opacity: .85; max-width: 44rem; }
.pe-tips { max-width: 760px; margin: 18px auto 0 !important; padding-left: 0; list-style: none; }
.pe-tips li { padding: 12px 0 12px 34px; border-bottom: 1px dashed rgba(0,0,0,.12); position: relative; font-size: 1.1rem; }
.pe-tips li::before { content: "★"; position: absolute; left: 6px; color: var(--wp--preset--color--accent); }
.pe-tips li:last-child { border-bottom: 0; }
@media (max-width: 600px) { .pe-rincon-head { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ===== v0.7: transiciones suaves y motion con oficio ===== */
/* la foto del hero se inclina siguiendo el mouse (solo puntero fino) */
.pe-blob-wrap { transform-style: preserve-3d; perspective: 900px; }
.pe-blob { transform: rotateX(calc(var(--ty, 0) * 1deg)) rotateY(calc(var(--tx, 0) * 1deg)); transition: transform .5s var(--pe-ease), clip-path .9s .1s var(--pe-ease); }
.pe-blob-shine { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(260px circle at calc(50% + var(--tx, 0) * 6%) calc(50% - var(--ty, 0) * 6%), rgba(255,255,255,.28), transparent 60%); mix-blend-mode: soft-light; }
/* las fotos se desplazan suavemente dentro de su marco al hacer scroll (solo navegadores con scroll-driven animations) */
@supports (animation-timeline: view()) {
  .pe-gtile .pe-gimg img, .pe-inicial-photo img { animation: pe-parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; scale: 1.12; }
  @keyframes pe-parallax { from { translate: 0 -6%; } to { translate: 0 6%; } }
  .js .pe-reveal.is-in .pe-gimg img, .js .pe-reveal.is-in .pe-inicial-photo img { transform: none; }
}
/* revelado más sereno */
.js .pe-reveal { transition: opacity 1s var(--pe-ease), transform 1.1s var(--pe-ease), clip-path 1.2s var(--pe-ease); }
.js .pe-reveal[data-anim] { transform: translateY(20px); }
/* el sol del hero late despacio y las nubes van más lentas */
.pe-sun { animation: pe-spin 70s linear infinite, pe-breathe 6s ease-in-out infinite; }
@keyframes pe-breathe { 0%,100% { scale: 1; } 50% { scale: 1.06; } }
.pe-cloud.c1 { animation-duration: 95s; } .pe-cloud.c2 { animation-duration: 120s; } .pe-cloud.c3 { animation-duration: 110s; }
/* el marcador de la cinta y los botones: menos rebote, más suavidad */
.wp-block-button__link:hover { transform: translateY(-2px); }
.pe-marquee-track { animation-duration: 60s; }
@media (prefers-reduced-motion: reduce) { .pe-blob { transform: none !important; } }

/* ===== v0.7.1: transición entre páginas con capas onduladas ===== */
/* salida: tres capas suben en cascada con borde ondulado y Estrellita da una voltereta al centro */
.pe-trans { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.pe-trans i { position: absolute; left: 0; right: 0; bottom: 0; height: calc(100% + 120px); transform: translateY(100%); transition: transform .62s cubic-bezier(.7, 0, .2, 1); }
.pe-trans i::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 121px; background: var(--c); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V60C240 0 480 0 720 60s480 60 720 0v60z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 120V60C240 0 480 0 720 60s480 60 720 0v60z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.pe-trans i::after { content: ""; position: absolute; left: 0; right: 0; top: 120px; bottom: 0; background: var(--c); }
.pe-trans .l1 { --c: var(--wp--preset--color--accent-2); }
.pe-trans .l2 { --c: var(--wp--preset--color--accent); transition-delay: .07s; }
.pe-trans .l3 { --c: var(--wp--preset--color--primary-dark); transition-delay: .14s; }
.pe-leaving .pe-trans { pointer-events: all; }
.pe-leaving .pe-trans i { transform: translateY(0); }
.pe-trans-star { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; color: var(--wp--preset--color--accent); filter: drop-shadow(0 6px 0 rgba(0,0,0,.18)); opacity: 0; transform: translate(-40vw, 30vh) rotate(-260deg) scale(.4); transition: transform .6s .18s cubic-bezier(.34, 1.3, .5, 1), opacity .25s .18s; }
.pe-trans-star svg { width: 100%; height: 100%; display: block; }
.pe-leaving .pe-trans-star { opacity: 1; transform: none; }
.pe-leaving .wp-site-blocks { transform: translateY(-24px); transition: transform .7s cubic-bezier(.7, 0, .2, 1); }

/* llegada: las capas ya cubren la pantalla al pintar y salen hacia arriba en orden inverso, con borde ondulado abajo */
.pe-arrive::before, .pe-arrive::after, .pe-arrive body::before { content: ""; position: fixed; left: 0; right: 0; top: 0; bottom: -120px; pointer-events: none; animation: pe-lift .72s cubic-bezier(.7, 0, .2, 1) both;
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 119px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0v60c240 60 480 60 720 0s480-60 720 0V0z'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000, #000) top / 100% calc(100% - 119px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0v60c240 60 480 60 720 0s480-60 720 0V0z'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; }
.pe-arrive::before { background: var(--wp--preset--color--accent-2); animation-delay: .2s; z-index: 101; }
.pe-arrive::after { background: var(--wp--preset--color--accent); animation-delay: .12s; z-index: 102; }
.pe-arrive body::before { background: var(--wp--preset--color--primary-dark); animation-delay: .04s; z-index: 103; }
.pe-arrive body::after { content: ""; position: fixed; z-index: 104; top: 50%; left: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC934' d='M24 3l6.2 12.6 13.9 2-10 9.8 2.4 13.8L24 34.7l-12.5 6.5 2.4-13.8-10-9.8 13.9-2z'/%3E%3C/svg%3E") center / contain no-repeat; filter: drop-shadow(0 6px 0 rgba(0,0,0,.18)); animation: pe-star-out .6s cubic-bezier(.6, -0.3, .7, 1) both; }
@keyframes pe-lift { from { transform: translateY(0); } to { transform: translateY(calc(-100% - 10px)); } }
@keyframes pe-star-out { from { transform: none; opacity: 1; } to { transform: translateY(-46vh) rotate(220deg) scale(.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .pe-trans { display: none; }
  .pe-arrive::before, .pe-arrive::after, .pe-arrive body::before, .pe-arrive body::after { display: none; }
}

/* ===== v0.7.3: telón de la primera visita con las mismas capas onduladas ===== */
/* mientras carga el JS, la página ya está tapada con el azul para que no se vea un parpadeo */
.pe-intro:not(.pe-ready) body::before { content: ""; position: fixed; inset: 0; z-index: 99; background: var(--wp--preset--color--primary-dark); }
.pe-splash { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.pe-splash i { position: absolute; left: 0; right: 0; top: 0; bottom: -120px; -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 119px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0v60c240 60 480 60 720 0s480-60 720 0V0z'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; mask: linear-gradient(#000, #000) top / 100% calc(100% - 119px) no-repeat, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0 0v60c240 60 480 60 720 0s480-60 720 0V0z'/%3E%3C/svg%3E") bottom / 100% 120px no-repeat; transition: transform .8s cubic-bezier(.7, 0, .2, 1); }
.pe-splash .l1 { background: var(--wp--preset--color--accent-2); transition-delay: .22s; }
.pe-splash .l2 { background: var(--wp--preset--color--accent); transition-delay: .12s; }
.pe-splash .l3 { background: var(--wp--preset--color--primary-dark); transition-delay: .02s; }
.pe-splash.out i { transform: translateY(calc(-100% - 10px)); }
.pe-splash-in { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--wp--preset--color--accent); transition: transform .7s cubic-bezier(.7, 0, .2, 1), opacity .4s; }
.pe-splash.out .pe-splash-in { transform: translateY(-40vh); opacity: 0; }
.pe-splash-in p { margin: 0; color: #fff; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.4rem, 4vw, 2.2rem); opacity: 0; animation: pe-rise .7s .55s var(--pe-ease) forwards; }
.pe-splash-star { filter: drop-shadow(0 8px 0 rgba(0,0,0,.18)); }
.pe-splash.out .pe-splash-star { animation: pe-star-spin-out .7s cubic-bezier(.6, -0.3, .7, 1) forwards; }
@keyframes pe-star-spin-out { to { transform: rotate(240deg) scale(.6); } }
@media (prefers-reduced-motion: reduce) { .pe-splash { display: none; } .pe-intro:not(.pe-ready) body::before { display: none; } }

/* ===== v0.8: páginas internas ===== */
main:has(.pe-page-hero) .pe-page-title { display: none; }
.pe-page-hero { padding: clamp(32px, 5vw, 64px) clamp(16px, 4vw, 40px) clamp(40px, 6vw, 72px); overflow: hidden; }
.pe-page-hero > * { max-width: 1140px !important; margin-left: auto !important; margin-right: auto !important; }
.pe-page-hero-cols { align-items: center; gap: clamp(24px, 5vw, 64px); }
.pe-page-h1 { margin: 0 0 12px; font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.05; }
.pe-page-hero .pe-lead { margin-bottom: 20px; }
.pe-page-hero-solo { text-align: left; }
.pe-contact-head { max-width: 760px; }

/* polaroids: fotos reales del jardín con borde blanco y una leve inclinación */
.pe-polas { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin: 26px 0; }
.pe-pola { margin: 0; width: clamp(140px, 16vw, 200px); padding: 9px 9px 34px; background: #fff; border-radius: 6px; box-shadow: 0 14px 30px -14px rgba(27,43,58,.45); transform: rotate(var(--r, 0deg)); transition: transform .5s var(--pe-spring), box-shadow .3s; position: relative; }
.pe-pola:hover { transform: rotate(0deg) translateY(-6px) scale(1.04); box-shadow: 0 20px 36px -14px rgba(27,43,58,.5); z-index: 2; }
.pe-pola img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }
.pe-pola figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: .95rem; }
.pe-polas-stack { position: relative; height: clamp(300px, 34vw, 400px); margin: 0; }
.pe-polas-stack .pe-pola { position: absolute; width: clamp(170px, 19vw, 240px); }
.pe-polas-stack .pe-pola:nth-child(1) { left: 2%; top: 6%; }
.pe-polas-stack .pe-pola:nth-child(2) { left: 34%; top: 0; z-index: 1; }
.pe-polas-stack .pe-pola:nth-child(3) { right: 0; top: 30%; }
.pe-polas-one .pe-pola { width: 240px; }
.pe-polas-two { justify-content: flex-start; }
.js .pe-polas.pe-reveal .pe-pola { opacity: 0; transform: rotate(var(--r, 0deg)) translateY(30px) scale(.9); transition: opacity .6s var(--pe-ease), transform .8s var(--pe-spring); }
.js .pe-polas.pe-reveal.is-in .pe-pola { opacity: 1; transform: rotate(var(--r, 0deg)); }
.js .pe-polas.pe-reveal.is-in .pe-pola:nth-child(2) { transition-delay: .1s; }
.js .pe-polas.pe-reveal.is-in .pe-pola:nth-child(3) { transition-delay: .2s; }
.js .pe-polas.pe-reveal.is-in .pe-pola:nth-child(4) { transition-delay: .3s; }
.js .pe-polas.pe-reveal.is-in .pe-pola:nth-child(5) { transition-delay: .4s; }
.js .pe-polas.pe-reveal { opacity: 1 !important; transform: none !important; }
.js .pe-polas.pe-reveal.is-in .pe-pola:hover { transform: rotate(0deg) translateY(-6px) scale(1.04); }

/* tarjetas con ícono */
.pe-two-cards, .pe-three-cards, .pe-four-cards { gap: 20px; margin-top: 24px; }
.pe-icard { height: 100%; padding: 26px 24px; background: #fff; border-radius: 24px; border: 3px solid var(--wp--preset--color--primary-light); box-shadow: 0 8px 0 var(--wp--preset--color--primary-light); transition: transform .4s var(--pe-spring), box-shadow .3s; }
.pe-icard:hover { transform: translateY(-6px); box-shadow: 0 14px 0 var(--wp--preset--color--primary-light); }
.pe-icard h3 { margin: 12px 0 6px; font-size: 1.3rem; }
.pe-icard p { margin: 0; opacity: .85; }
.pe-card-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--wp--preset--color--primary-light); color: var(--wp--preset--color--primary-dark); }
.pe-card-ico svg { width: 34px; height: 34px; }
.wp-block-column:nth-child(2) .pe-card-ico { background: #FFF0B8; color: #9A6100; }
.wp-block-column:nth-child(3) .pe-card-ico { background: #CFF5E7; color: #1F7A5A; }
.wp-block-column:nth-child(4) .pe-card-ico { background: #FFDAD3; color: #C4503E; }
.pe-card-link { margin-top: 12px !important; font-weight: 800; }
.pe-card-link a { text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* cita de la filosofía */
.pe-quote { margin: 0; padding: 30px 30px 26px 34px; border-radius: 28px; background: var(--wp--preset--color--primary-light); position: relative; }
.pe-quote::before { content: "“"; position: absolute; left: 18px; top: -18px; font-family: var(--wp--preset--font-family--display); font-size: 6rem; line-height: 1; color: var(--wp--preset--color--accent); }
.pe-quote p { margin: 0 0 12px; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.35; }
.pe-quote cite { font-style: normal; font-weight: 800; color: var(--wp--preset--color--primary-dark); }

/* línea de tiempo de la historia */
.pe-timeline { list-style: none; margin: 34px auto 0; padding: 0; max-width: 1000px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.pe-timeline::before { content: ""; position: absolute; left: 4%; right: 4%; top: 15px; height: 4px; border-radius: 4px; background: var(--wp--preset--color--primary-light); }
.pe-timeline::after { content: ""; position: absolute; left: 4%; top: 15px; height: 4px; width: 0; border-radius: 4px; background: var(--wp--preset--color--primary-dark); transition: width 1.8s var(--pe-ease); }
.pe-timeline.is-in::after { width: 92%; }
.pe-timeline li { position: relative; padding-top: 44px; }
.pe-timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--wp--preset--color--accent); box-shadow: 0 0 0 5px #fff, 0 4px 0 5px rgba(0,0,0,.06); }
.pe-tl-year { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.3rem; color: var(--wp--preset--color--primary-dark); }
.pe-timeline p { margin: 6px 0 0; opacity: .85; }

/* valores */
.pe-values-title { margin-top: 34px !important; }
.pe-values { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }
.pe-values-left { justify-content: flex-start; }
.pe-values span { padding: 12px 22px; border-radius: 999px; background: #fff; border: 3px solid var(--wp--preset--color--primary-light); font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: 1.15rem; box-shadow: 0 5px 0 var(--wp--preset--color--primary-light); }
.pe-values span:nth-child(5n+2) { border-color: #FFE27A; box-shadow: 0 5px 0 #FFE27A; }
.pe-values span:nth-child(5n+3) { border-color: #9DE9CF; box-shadow: 0 5px 0 #9DE9CF; }
.pe-values span:nth-child(5n+4) { border-color: #FFB6A9; box-shadow: 0 5px 0 #FFB6A9; }
.pe-values span:nth-child(5n+5) { border-color: #D4C6FF; box-shadow: 0 5px 0 #D4C6FF; }

/* talleres como etiquetas */
.pe-talleres { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 18px auto 10px; }
.pe-talleres span { padding: 12px 22px; border-radius: 999px; background: var(--wp--preset--color--primary-dark); color: #fff; font-weight: 800; box-shadow: 0 5px 0 rgba(0,0,0,.18); }
.pe-talleres span:nth-child(3n+2) { background: #C4503E; } .pe-talleres span:nth-child(3n+3) { background: #1F7A5A; }

/* pasos de admisión */
.pe-adm-steps { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.pe-adm-steps li { position: relative; padding: 24px 22px; background: #fff; border-radius: 24px; border: 3px solid var(--wp--preset--color--primary-light); box-shadow: 0 8px 0 var(--wp--preset--color--primary-light); }
.pe-adm-steps li > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--wp--preset--color--accent); font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 1.4rem; margin-bottom: 10px; }
.pe-adm-steps h3 { margin: 0 0 6px; font-size: 1.25rem; }
.pe-adm-steps p { margin: 0; opacity: .85; }
.js .pe-adm-steps.pe-reveal { opacity: 1 !important; transform: none !important; }
.js .pe-adm-steps.pe-reveal li { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--pe-ease), transform .7s var(--pe-spring); }
.js .pe-adm-steps.pe-reveal.is-in li { opacity: 1; transform: none; }
.js .pe-adm-steps.pe-reveal.is-in li:nth-child(2) { transition-delay: .12s; } .js .pe-adm-steps.pe-reveal.is-in li:nth-child(3) { transition-delay: .24s; } .js .pe-adm-steps.pe-reveal.is-in li:nth-child(4) { transition-delay: .36s; }

/* otros servicios */
.pe-other { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.pe-other a { padding: 12px 22px; border-radius: 999px; background: #fff; border: 2px solid var(--wp--preset--color--primary-light); font-weight: 800; text-decoration: none; transition: border-color .2s, transform .3s var(--pe-spring); }
.pe-other a:hover { border-color: var(--wp--preset--color--primary-dark); transform: translateY(-2px); }
.pe-other a[aria-current] { background: var(--wp--preset--color--primary-dark); color: #fff; }

/* contacto */
.pe-contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 34px; }
.pe-contact-card { display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: 24px; background: #fff; border: 3px solid var(--wp--preset--color--primary-light); box-shadow: 0 8px 0 var(--wp--preset--color--primary-light); color: var(--wp--preset--color--ink); text-decoration: none; transition: transform .35s var(--pe-spring); overflow-wrap: anywhere; }
.pe-contact-card:hover { transform: translateY(-6px); }
.pe-contact-card b { font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; }
.pe-contact-card span { font-weight: 800; color: var(--wp--preset--color--primary-dark); }
.pe-contact-card small { opacity: .75; }
.pe-contact-card.is-wa { background: #EFFFF5; border-color: #A9E5C1; box-shadow: 0 8px 0 #A9E5C1; }
.pe-contact-card.is-wa span { color: #1A8D4E; }
.pe-map { border-radius: 24px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 14px 30px -14px rgba(27,43,58,.4); aspect-ratio: 4 / 3; }
.pe-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.pe-split-top { align-items: flex-start !important; }
.pe-cta-band { text-align: center; }

@media (max-width: 900px) {
  .pe-timeline, .pe-adm-steps, .pe-contact-grid { grid-template-columns: 1fr 1fr; }
  .pe-timeline::before, .pe-timeline::after { display: none; }
}
@media (max-width: 781px) {
  .pe-polas-stack { height: 280px; }
  .pe-polas-stack .pe-pola { width: 150px; }
}
@media (max-width: 560px) {
  .pe-timeline, .pe-adm-steps, .pe-contact-grid { grid-template-columns: 1fr; }
}

/* formularios en páginas */
.pe-form-split { gap: clamp(24px, 5vw, 56px) !important; }
.pe-form-split > .wp-block-column:first-child { flex: 0 0 36% !important; }
.pe-form-split > .wp-block-column:last-child { flex: 1 1 0 !important; min-width: 0; }
@media (max-width: 781px) { .pe-form-split > .wp-block-column:first-child { flex-basis: 100% !important; } }

/* ===== v0.8.1 — revisión móvil ===== */
/* el desenfoque va en una capa: en el header encerraba el menú móvil (position:fixed) dentro de sus 53px */
.pe-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pe-header .pe-nav-adm { display: none !important; }
.pe-header .wp-block-navigation__responsive-container-open svg, .pe-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
@keyframes pe-menu-in { from { opacity: 0; transform: translateY(-14px); } }
/* hasta 1100px el menú es hamburguesa: con 8 ítems el menú horizontal se partía en dos líneas en tablet */
@media (max-width: 1100px) {
  .pe-header { padding-block: 8px; }
  .pe-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex !important; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; background: var(--wp--preset--color--primary-light); color: var(--wp--preset--color--primary-dark); }
  .pe-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .pe-header .wp-block-navigation__responsive-container.is-menu-open { display: flex !important; position: fixed !important; inset: 0 !important; z-index: 100000 !important; flex-direction: column; background: var(--wp--preset--color--cream, #FFF8E8) !important; padding: 14px 22px 28px !important; overflow-y: auto; animation: pe-menu-in .45s var(--pe-spring) both; }
  .pe-header .is-menu-open .wp-block-navigation__responsive-container-close { display: inline-flex !important; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 14px; position: absolute; top: 6px !important; right: 4px !important; background: #fff; box-shadow: 0 3px 0 rgba(0,0,0,.08); }
  .pe-header .is-menu-open .wp-block-navigation__responsive-container-content { display: flex !important; flex-direction: column; padding-top: 58px !important; width: 100%; max-width: 560px; margin: 0 auto; }
  .pe-header .is-menu-open .wp-block-navigation__container { display: flex !important; flex-direction: column; gap: 4px !important; width: 100%; }
  .pe-header .is-menu-open .wp-block-navigation__container,
  .pe-header .is-menu-open .wp-block-navigation__submenu-container,
  .pe-header .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left !important; justify-content: flex-start !important; }
  .pe-header .is-menu-open .wp-block-navigation-item { width: 100%; flex-direction: column; }
  .pe-header .is-menu-open .wp-block-navigation-item__content { box-sizing: border-box; max-width: 100%; }
  .pe-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--display); font-size: 1.45rem; font-weight: 600; padding: 7px 14px; border-radius: 14px; width: 100%; color: var(--wp--preset--color--ink); }
  .pe-header .is-menu-open .wp-block-navigation__submenu-container { position: static !important; opacity: 1 !important; visibility: visible !important; height: auto !important; width: 100% !important; min-width: 0 !important; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 0 0 6px 18px !important; gap: 0 !important; display: flex !important; flex-direction: column; }
  .pe-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 1.05rem; padding: 9px 14px; color: var(--wp--preset--color--primary-dark); }
  .pe-header .is-menu-open .wp-block-navigation-submenu__toggle, .pe-header .is-menu-open .wp-block-navigation__submenu-icon { display: none !important; }
  .pe-header .is-menu-open .wp-block-navigation-item__content[aria-current="page"] { background: var(--wp--preset--color--primary-light); }
  .pe-header .is-menu-open .pe-nav-adm { display: flex !important; margin-top: 14px; align-items: stretch !important; }
  .pe-header .is-menu-open .pe-nav-adm > .wp-block-navigation-item__content { justify-content: center !important; text-align: center; background: var(--wp--preset--color--primary-dark); color: #fff !important; border-radius: 999px; font-size: 1.3rem !important; padding: 15px 20px !important; box-shadow: 0 4px 0 rgba(0,0,0,.15); }
  html.has-modal-open .pe-wa, html.has-modal-open .pe-runner { display: none !important; }
}

/* pies de polaroid en el flujo: con dos líneas ya no tapan la foto */
.pe-pola { padding-bottom: 10px; }
.pe-pola figcaption { position: static; margin-top: 8px; line-height: 1.15; padding: 0 2px; }

@media (max-width: 599px) {
  /* tarjetas con ícono: ícono a la izquierda, mucho menos alto */
  .pe-icard, .pe-why-cols .pe-why { display: grid !important; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; padding: 18px 18px; }
  .pe-icard > *, .pe-why-cols .pe-why > * { grid-column: 2; }
  .pe-icard > .pe-card-ico, .pe-why-cols .pe-why > .pe-ico-bubble { grid-column: 1; grid-row: 1 / span 4; width: 52px; height: 52px; border-radius: 16px; }
  .pe-card-ico svg, .pe-why-cols .pe-ico-bubble svg { width: 28px; height: 28px; }
  .pe-icard h3, .pe-why-cols .pe-why h3 { margin: 2px 0 4px !important; font-size: 1.15rem !important; }
  .pe-two-cards, .pe-three-cards, .pe-four-cards { gap: 14px !important; }
  .pe-why-cols { grid-template-columns: 1fr !important; gap: 4px !important; }
  .pe-why-cols .pe-why { padding: 10px 0; }
  /* el día en el jardín: dos columnas */
  .pe-steps { display: grid !important; grid-template-columns: 1fr 1fr; gap: 18px 10px !important; }
  .pe-steps > .wp-block-column { margin: 0 !important; }
  .pe-step-ico { width: 56px; height: 56px; }
  /* juegos de la home: cuadrícula de 2 */
  .pe-tiles { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
  .pe-tiles > .wp-block-column { margin: 0 !important; }
  .pe-tile { padding: 14px; }
  .pe-tile-ico { width: 46px; height: 46px; border-radius: 14px; }
  .pe-tile-ico .pe-svg { width: 28px; height: 28px; }
  .pe-tile h3 { font-size: 1.05rem; }
  .pe-tile p { font-size: .92rem; line-height: 1.35; }
  /* colores del mini paint, más fáciles de tocar */
  .pe-dot { width: 40px; height: 40px; }
  /* footer: Explora y Síguenos lado a lado, enlaces con área táctil */
  .pe-foot-cols { display: grid !important; grid-template-columns: 1fr 1fr; gap: 26px 18px !important; }
  .pe-foot-cols > .wp-block-column { margin: 0 !important; }
  .pe-foot-cols > .wp-block-column:nth-child(-n+2) { grid-column: 1 / -1; }
  .pe-footer .pe-foot-cols a { display: inline-block; padding: 5px 0; }
  .pe-foot-cta { padding: 22px 20px; }
}
@media (max-width: 599px) { .pe-tile-ico { margin: 0 !important; } .pe-tile > * { text-align: left; } }
@media (max-width: 599px) { .pe-steps > .wp-block-column:last-child:nth-child(odd), .pe-tiles > .wp-block-column:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 599px) { .pe-talleres { gap: 8px; } .pe-talleres span { padding: 9px 16px; font-size: .95rem; box-shadow: 0 4px 0 rgba(0,0,0,.18); } .pe-values { gap: 9px; } .pe-values span { padding: 9px 17px; font-size: 1.02rem; } .pe-other { gap: 8px; } .pe-other a { padding: 10px 16px; } }
@media (max-width: 599px) { .pe-adm-steps { gap: 12px; } .pe-adm-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 18px; } .pe-adm-steps li > * { grid-column: 2; } .pe-adm-steps li > span { grid-column: 1; grid-row: 1 / span 3; width: 44px; height: 44px; margin: 0; font-size: 1.25rem; } .pe-adm-steps h3 { margin-top: 2px; font-size: 1.15rem; } .pe-contact-grid { gap: 12px; } .pe-contact-card { padding: 16px 18px; } }
.pe-footer .pe-slogan { font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; color: var(--wp--preset--color--accent); margin: 6px 0 10px; }

/* ===== v0.9.0 — jardín interactivo del banner ===== */
.pe-blob-scene { transform: none !important; aspect-ratio: 1 / 1; cursor: default; }
.pe-garden { display: block; width: 100%; height: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; }
.pe-garden [data-act] { cursor: pointer; outline: none; }
.pe-garden [data-act]:focus-visible .g-hit { stroke: #1B2B3A; stroke-width: 4; stroke-dasharray: 10 8; }
.pe-garden .g-hit { fill: transparent; }
.pe-garden text { font-family: var(--wp--preset--font-family--display); font-weight: 600; fill: #1B2B3A; }
.g-bubble-text { font-size: 26px; }
.g-hint-text { font-size: 24px; }

/* reposo: todo respira un poquito */
.g-sun { transform-origin: 100px 105px; }
.g-rays { transform-origin: 100px 105px; animation: pg-rays 22s linear infinite; }
.g-cloud { transform-origin: 450px 120px; }
.g-cloud-in { animation: pg-drift 9s ease-in-out infinite; }
.g-tree .g-crown { transform-origin: 478px 460px; animation: pg-sway 6s ease-in-out infinite; }
.g-flower { transform: translate(var(--fx), var(--fy)); }
.g-flower .g-bloom { transform: translate(0, -58px) scale(0); transition: transform .7s var(--pe-spring); }
.g-flower.is-bloom .g-bloom { transform: translate(0, -58px) scale(1); animation: pg-bloom-spin .8s var(--pe-spring); }
.g-star { transform: translate(300px, 440px); }
.g-star-body { animation: pg-bob 3.2s ease-in-out infinite; }
.g-bird { transform: translate(150px, 275px); }
.g-bird-body { animation: pg-bob 2.4s ease-in-out infinite; }
.g-wing { transform-origin: -4px -4px; animation: pg-flap 1.6s ease-in-out infinite; }
.g-bubble { opacity: 0; transform: translateY(6px) scale(.9); transform-origin: 0 -104px; transition: opacity .25s, transform .4s var(--pe-spring); }
.g-star.is-talking .g-bubble { opacity: 1; transform: none; }
.g-hint { animation: pg-hint 2.2s ease-in-out infinite; transform-origin: 300px 211px; transition: opacity .4s, transform .4s; }
.g-hint.is-off { opacity: 0; transform: scale(.8); animation: none; pointer-events: none; }
.g-rainbow { opacity: 0; transition: opacity .6s; }
.g-rainbow path { stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.6s var(--pe-ease); }
.g-rainbow.is-on { opacity: .9; }
.g-rainbow.is-on path { stroke-dashoffset: 0; }
.g-drop { opacity: 0; transform-origin: center; }
.g-wink { transition: opacity .15s; }
.g-butterfly { opacity: 0; transform: translate(var(--bx, 300px), var(--by, 300px)); }
.g-bw-l { transform-origin: 0 0; } .g-bw-r { transform-origin: 0 0; }
.g-sparks path { transform: translate(var(--x), var(--y)); animation: pg-spark .85s var(--pe-ease) forwards; }
.g-eye { transform-box: fill-box; transform-origin: center; }

/* reacciones al toque */
.g-sun.is-spin { animation: pg-spin 1s var(--pe-spring); }
.g-sun.is-spin .g-eye-r { opacity: 0; } .g-sun.is-spin .g-wink { opacity: 1; }
.g-cloud.is-rain { animation: pg-wobble .6s var(--pe-spring); }
.g-cloud.is-rain .g-drop { animation: pg-fall 1s ease-in forwards; }
.g-cloud.is-rain .g-drop:nth-child(2) { animation-delay: .15s; } .g-cloud.is-rain .g-drop:nth-child(3) { animation-delay: .3s; }
.g-bird.is-fly .g-bird-body { animation: pg-fly 2.5s ease-in-out; }
.g-bird.is-fly .g-wing { animation-duration: .25s; }
.g-bird.is-hop .g-bird-body { animation: pg-hop .7s var(--pe-spring); }
.g-tree.is-shake .g-crown { animation: pg-shake .9s ease-in-out; }
.g-tree.is-shake .g-apple { animation: pg-apple 1.2s ease-in forwards; }
.g-tree.is-shake .g-apple:nth-child(2) { animation-delay: .12s; } .g-tree.is-shake .g-apple:nth-child(3) { animation-delay: .24s; }
.g-star.is-jump .g-star-body { animation: pg-jump .9s var(--pe-spring); }
.g-star.is-jump .g-eye { animation: pg-blink .9s; }
.g-butterfly.is-fly { animation: pg-butterfly 2.6s ease-in-out forwards; }
.g-butterfly.is-fly .g-bw-l { animation: pg-bwl .22s ease-in-out infinite alternate; }
.g-butterfly.is-fly .g-bw-r { animation: pg-bwr .22s ease-in-out infinite alternate; }

@keyframes pg-rays { to { transform: rotate(360deg); } }
@keyframes pg-drift { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-14px) translateY(4px); } }
@keyframes pg-sway { 0%,100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
@keyframes pg-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pg-flap { 0%,100% { transform: rotate(0); } 50% { transform: rotate(-28deg); } }
@keyframes pg-hint { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pg-spin { 0% { transform: rotate(0) scale(1); } 60% { transform: rotate(360deg) scale(1.18); } 100% { transform: rotate(360deg) scale(1); } }
@keyframes pg-wobble { 0% { transform: scale(1); } 30% { transform: scale(1.1, .9); } 60% { transform: scale(.94, 1.06); } 100% { transform: scale(1); } }
@keyframes pg-fall { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(300px); } }
@keyframes pg-fly { 0% { transform: translate(0,0); } 30% { transform: translate(140px,-90px) rotate(-8deg); } 55% { transform: translate(330px,-70px) rotate(4deg); } 80% { transform: translate(120px,30px) rotate(-6deg) scaleX(-1); } 100% { transform: translate(0,0); } }
@keyframes pg-hop { 0%,100% { transform: translateY(0); } 40% { transform: translateY(-22px) rotate(-8deg); } }
@keyframes pg-shake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-5deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-3deg); } 80% { transform: rotate(3deg); } }
@keyframes pg-apple { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(120px); opacity: 1; } 85% { transform: translateY(105px); } 100% { transform: translateY(120px); opacity: 0; } }
@keyframes pg-jump { 0% { transform: translateY(0) scale(1); } 35% { transform: translateY(-60px) scale(1.08, .92) rotate(-10deg); } 65% { transform: translateY(0) scale(.94, 1.08); } 100% { transform: translateY(0) scale(1); } }
@keyframes pg-blink { 0%,100% { transform: scaleY(1); } 45%,55% { transform: scaleY(.1); } }
@keyframes pg-bloom-spin { from { transform: translate(0,-58px) scale(0) rotate(-120deg); } }
@keyframes pg-butterfly { 0% { opacity: 0; transform: translate(var(--bx), var(--by)); } 10% { opacity: 1; } 40% { transform: translate(calc(var(--bx) + 70px), calc(var(--by) - 120px)); } 75% { transform: translate(calc(var(--bx) - 40px), calc(var(--by) - 230px)); opacity: 1; } 100% { opacity: 0; transform: translate(calc(var(--bx) + 30px), calc(var(--by) - 330px)); } }
@keyframes pg-bwl { from { transform: rotateY(0); } to { transform: rotateY(70deg); } }
@keyframes pg-bwr { from { transform: rotateY(0); } to { transform: rotateY(-70deg); } }
@keyframes pg-spark { 0% { transform: translate(var(--x), var(--y)) scale(0); opacity: 1; } 30% { transform: translate(var(--x), var(--y)) scale(1.2); } 100% { transform: translate(calc(var(--x) + var(--dx)), calc(var(--y) + var(--dy))) scale(0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .g-rays, .g-cloud-in, .g-crown, .g-star-body, .g-bird-body, .g-wing, .g-hint { animation: none !important; }
  .g-flower .g-bloom { transition: none; }
}
.g-bud { transition: transform .3s, opacity .3s; transform-box: fill-box; transform-origin: center; }
.g-flower.is-bloom .g-bud { opacity: 0; transform: scale(0); }
.g-flower:not(.is-bloom) .g-bud { animation: pg-bud 2.6s ease-in-out infinite; }
@keyframes pg-bud { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }

/* ===== v0.9.1 — logo oficial ===== */
.pe-logo { display: inline-flex; align-items: center; line-height: 0; flex: none; transition: transform .4s var(--pe-spring); }
.pe-logo:hover { transform: rotate(-2deg) scale(1.04); }
.pe-logo img { display: block; height: 58px; width: auto; }
.pe-logo-foot { background: #fff; padding: 10px 16px; border-radius: 20px; box-shadow: 0 5px 0 rgba(0,0,0,.25); margin-bottom: 14px; }
.pe-logo-foot img { height: 68px; }
@media (max-width: 599px) { .pe-logo img { height: 46px; } }

/* ===== v0.9.2 — jardín completo (sin círculo) con entrada animada ===== */
.pe-garden-wrap { position: relative; max-width: 600px; margin: 0 auto; }
.pe-hero:has(.pe-garden) .pe-sky .pe-sun { display: none; }
.pe-garden { overflow: visible; }
.pe-garden:not(.is-ready) [data-act] { cursor: default; }
.pe-garden:not(.is-ready) .g-hint { opacity: 0; }
.pe-garden.is-ready .g-hint { transition: opacity .5s; }
.pe-garden.is-wait .g-hills, .pe-garden.is-wait .g-sun, .pe-garden.is-wait .g-cloud, .pe-garden.is-wait .g-tree, .pe-garden.is-wait .g-flower-in, .pe-garden.is-wait .g-bird, .pe-garden.is-wait .g-star { opacity: 0; }
.pe-garden.is-intro .g-hills { animation: pg-in-hills .9s var(--pe-ease) both; }
.pe-garden.is-intro .g-sun { animation: pg-in-sun 1.1s .2s var(--pe-spring) both; }
.pe-garden.is-intro .g-cloud { animation: pg-in-cloud 1s .5s var(--pe-ease) both; }
.pe-garden.is-intro .g-tree { transform-origin: 478px 470px; animation: pg-in-grow .9s .8s var(--pe-spring) both; }
.pe-garden.is-intro .g-flower-in { transform-origin: 0 0; animation: pg-in-grow .6s var(--pe-spring) both; }
.pe-garden.is-intro .g-flower:nth-of-type(1) .g-flower-in { animation-delay: 1.1s; } .pe-garden.is-intro .g-flower:nth-of-type(2) .g-flower-in { animation-delay: 1.25s; }
.pe-garden.is-intro .g-flower:nth-of-type(3) .g-flower-in { animation-delay: 1.4s; } .pe-garden.is-intro .g-flower:nth-of-type(4) .g-flower-in { animation-delay: 1.55s; }
.pe-garden.is-intro .g-bird { animation: pg-in-bird 1.1s 1.4s ease-out both; }
.pe-garden.is-intro .g-star { animation: pg-in-star 1s 1.9s var(--pe-spring) both; }
@keyframes pg-in-hills { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
@keyframes pg-in-sun { from { opacity: 0; transform: translate(-60px, 120px) rotate(-90deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pg-in-cloud { from { opacity: 0; transform: translateX(160px); } to { opacity: 1; transform: none; } }
@keyframes pg-in-grow { from { opacity: 0; transform: scale(0); } 60% { opacity: 1; } to { opacity: 1; transform: scale(1); } }
@keyframes pg-in-bird { from { opacity: 0; transform: translate(-120px, 120px); } 20% { opacity: 1; } to { opacity: 1; transform: translate(150px, 275px); } }
@keyframes pg-in-star { from { opacity: 0; transform: translate(300px, -120px) scale(.8); } 55% { opacity: 1; transform: translate(300px, 452px) scale(1.1, .85); } 75% { transform: translate(300px, 428px) scale(.96, 1.06); } to { opacity: 1; transform: translate(300px, 440px); } }
@media (prefers-reduced-motion: reduce) { .pe-garden.is-intro * { animation: none !important; } }
/* las colinas llegan hasta la ola blanca del final del banner */
.pe-hero .wp-block-column > .pe-garden-wrap { margin-block-end: calc(-1 * clamp(110px, 12vw, 170px) - 10px) !important; }
@media (max-width: 781px) { .pe-garden-wrap { margin-top: 10px; } }
@media (max-width: 781px) { .pe-hero:has(.pe-garden) .pe-sky .pe-cloud { display: none; } }

/* ===== v0.10.0 — hero slider a todo el ancho ===== */
.pe-slider { position: relative; padding: 0 !important; background: #0F5C7D; overflow: hidden; }
.pe-slider > * { max-width: none !important; }
.pe-slides { position: relative; height: clamp(520px, 78vh, 780px); min-height: 520px; }
.pe-slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--pe-ease), visibility 0s 1.1s; }
.pe-slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.pe-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1); }
.pe-slide.is-active .pe-slide-img { animation: pe-kenburns 9s linear both; }
.pe-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,92,125,.15) 0%, rgba(15,92,125,.35) 55%, rgba(15,92,125,.78) 100%), radial-gradient(62% 58% at 50% 58%, rgba(0,0,0,.42), transparent 72%); }
.pe-slide-text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: clamp(80px, 12vh, 140px) clamp(16px, 6vw, 80px) clamp(120px, 16vh, 170px); color: #fff; max-width: 980px; margin: 0 auto; }
.pe-slide-kicker { margin: 0 0 10px; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--wp--preset--color--accent); letter-spacing: .02em; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.pe-slide-title { margin: 0 0 14px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(2.2rem, 6.2vw, 4.6rem); line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 4px 24px rgba(0,0,0,.4), 0 2px 0 rgba(0,0,0,.18); }
.pe-slide-title span { display: inline-block; color: #FFE38A; }
.pe-slide-lead { margin: 0 0 26px; font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 600; max-width: 640px; text-shadow: 0 2px 12px rgba(0,0,0,.45); opacity: .96; }
.pe-slide-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; justify-content: center; }
.pe-slide-actions .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); box-shadow: 0 6px 0 rgba(0,0,0,.25); font-size: 1.1rem; padding: 14px 30px; }
.pe-slide-actions .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(0,0,0,.25); }
.pe-slide-link { color: #fff; font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,.55); transition: text-decoration-color .2s; }
.pe-slide-link:hover { text-decoration-color: #fff; }
/* el texto entra escalonado cada vez que la diapositiva se activa */
.pe-slide-text > * { opacity: 0; transform: translateY(26px); }
.pe-slide.is-active .pe-slide-text > * { animation: pe-slide-in .9s var(--pe-spring) forwards; }
.pe-slide.is-active .pe-slide-text > :nth-child(1) { animation-delay: .25s; } .pe-slide.is-active .pe-slide-text > :nth-child(2) { animation-delay: .4s; }
.pe-slide.is-active .pe-slide-text > :nth-child(3) { animation-delay: .55s; } .pe-slide.is-active .pe-slide-text > :nth-child(4) { animation-delay: .7s; }
.pe-slider-arrow { position: absolute; top: 50%; z-index: 3; width: 56px; height: 56px; margin-top: -40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .3s var(--pe-spring); }
.pe-slider-arrow:hover { background: rgba(255,255,255,.35); transform: scale(1.08); }
.pe-slider-arrow.is-prev { left: clamp(10px, 2.5vw, 36px); } .pe-slider-arrow.is-next { right: clamp(10px, 2.5vw, 36px); }
.pe-slider-dots { position: absolute; left: 0; right: 0; bottom: clamp(70px, 10vh, 110px); z-index: 3; display: flex; justify-content: center; gap: 10px; }
.pe-slider-dots button { width: 14px; height: 14px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; transition: transform .3s var(--pe-spring), background .2s; }
.pe-slider-dots button[aria-selected="true"] { background: var(--wp--preset--color--accent); border-color: var(--wp--preset--color--accent); transform: scale(1.3); }
.pe-slider-progress { position: absolute; left: 0; bottom: 0; z-index: 4; height: 4px; width: 0; background: var(--wp--preset--color--accent); }
.pe-slider.is-playing .pe-slider-progress { animation: pe-slider-bar 7s linear forwards; }
.pe-slider-wave { bottom: -1px; z-index: 3; }
.pe-slider-arrow:focus-visible, .pe-slider-dots button:focus-visible { outline: 3px solid var(--wp--preset--color--accent); outline-offset: 3px; }
@keyframes pe-kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes pe-slide-in { to { opacity: 1; transform: none; } }
@keyframes pe-slider-bar { from { width: 0; } to { width: 100%; } }
@media (max-width: 781px) {
  .pe-slides { height: clamp(500px, 82vh, 640px); }
  .pe-slide-img { object-position: center 30%; }
  .pe-slide-text { padding-top: 70px; padding-bottom: 130px; }
  .pe-slider-arrow { display: none; }
  .pe-slider-dots { bottom: 80px; }
  .pe-slide-actions { flex-direction: column; gap: 12px; }
}
/* el jardín como segunda sección: menos aire arriba y el cielo ya viene del slider */
.pe-hero.pe-jardin { padding-top: clamp(30px, 5vw, 60px); background: linear-gradient(180deg, #CDEFFA 0%, var(--wp--preset--color--primary-light) 100%); }
.pe-intro .pe-jardin .pe-kicker, .pe-intro .pe-jardin .pe-lead, .pe-intro .pe-jardin .wp-block-buttons { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .pe-slide, .pe-slide-img, .pe-slide-text > *, .pe-slider-progress { animation: none !important; transition: none !important; opacity: 1; transform: none; }
  .pe-slide:not(.is-active) { opacity: 0; }
}
/* en celular el texto baja a la zona oscura, lejos de las caras, y los botones van uno debajo del otro */
@media (max-width: 781px) {
  .pe-slide::before { background: linear-gradient(180deg, rgba(15,92,125,.05) 0%, rgba(15,92,125,.25) 40%, rgba(15,92,125,.9) 100%); }
  .pe-slide-text { justify-content: flex-end; padding-bottom: 120px; }
  .pe-slide-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  .pe-slide-lead { font-size: 1rem; margin-bottom: 18px; }
  .pe-slide-actions { flex-direction: column !important; gap: 10px; }
  .pe-slider-dots { bottom: 70px; }
}

/* v0.10.3: más contraste detrás del texto del slider */
.pe-slide::before { background: linear-gradient(180deg, rgba(10,60,90,.25) 0%, rgba(10,60,90,.45) 50%, rgba(10,60,90,.85) 100%); }
.pe-slide-text::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(1100px, 130%); height: 78%; transform: translate(-50%, -46%); border-radius: 50%; background: radial-gradient(closest-side, rgba(8,45,70,.62), rgba(8,45,70,.35) 55%, transparent 100%); pointer-events: none; }
.pe-slide-text > * { position: relative; }
.pe-slide-title { text-shadow: 0 3px 0 rgba(0,0,0,.35), 0 6px 30px rgba(0,0,0,.6); }
.pe-slide-kicker { color: #FFE38A; text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 2px 14px rgba(0,0,0,.6); }
.pe-slide-lead { text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 2px 16px rgba(0,0,0,.6); }
.pe-slide-link { text-shadow: 0 2px 10px rgba(0,0,0,.6); }
@media (max-width: 781px) { .pe-slide-text::before { height: 70%; transform: translate(-50%, -30%); } }

/* ===== v0.11.0 — revisión del cliente (19/10) ===== */
:root { --pe-sky: #71D8FD; }

/* cabecera celeste, igual que el fondo del logo */
.pe-header { background: var(--pe-sky); border-bottom: 3px solid #fff; }
.pe-header.is-scrolled { box-shadow: 0 8px 26px -10px rgba(8,70,110,.5); }
.pe-header .wp-block-navigation { color: var(--wp--preset--color--ink); }
.pe-header .wp-block-navigation-item__content:hover { background: rgba(255,255,255,.65); color: var(--wp--preset--color--ink); }
.pe-header .wp-block-navigation__responsive-container-open { background: #fff; color: var(--wp--preset--color--primary-dark); }
.pe-header-cta .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--ink); box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.pe-logo img { height: 56px; }
.pe-logo-foot { background: none; padding: 0; box-shadow: none; margin-bottom: 12px; }
.pe-logo-foot img { height: 92px; }
@media (max-width: 599px) { .pe-logo img { height: 44px; } }

/* banner: texto abajo, la foto es la protagonista, sin puntos */
.pe-slider-dots { display: none; }
.pe-slide::before { background: linear-gradient(180deg, rgba(10,60,90,0) 0%, rgba(10,60,90,.06) 38%, rgba(10,60,90,.84) 100%); }
.pe-slide-text { justify-content: flex-end; padding-top: 90px; padding-bottom: clamp(120px, 17vh, 170px); }
.pe-slide-text::before { top: auto; bottom: -8%; height: 72%; transform: translate(-50%, 0); background: radial-gradient(closest-side, rgba(8,45,70,.55), rgba(8,45,70,.28) 58%, transparent 100%); }
.pe-slide-title { font-size: clamp(2.3rem, 6.6vw, 4.9rem); margin-bottom: 18px; }
.pe-slide-title + .pe-slide-actions { margin-top: 8px; }
.pe-slide-lead { margin-bottom: 20px; }
@media (max-width: 781px) {
  .pe-slide-text { padding-bottom: 105px; }
  .pe-slide-text::before { height: 62%; transform: translate(-50%, 0); }
}

/* "Aprendemos jugando y crecemos con amor": 6 beneficios */
.pe-benef { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1140px; margin: 40px auto 0; }
.pe-benef-item { --c1: #FF5BA8; --c2: #E0307F; --ct: #C41A6B; --soft: #FFD3E6; display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; background: #fff; border-radius: 26px; border: 3px solid var(--soft); box-shadow: 0 8px 0 var(--soft); transition: transform .45s var(--pe-spring), box-shadow .3s; }
.pe-benef-item:hover { transform: translateY(-7px); box-shadow: 0 15px 0 var(--soft); }
.pe-benef-item.c-orange { --c1: #FFB020; --c2: #FF7A00; --ct: #B8560A; --soft: #FFE2B3; }
.pe-benef-item.c-blue { --c1: #4DB6F5; --c2: #1F7BE0; --ct: #1A62BA; --soft: #CDE8FB; }
.pe-benef-item.c-green { --c1: #8BDB5A; --c2: #3DB84F; --ct: #26793A; --soft: #D3F2C2; }
.pe-benef-item.c-purple { --c1: #B27CFF; --c2: #7B3FE4; --ct: #5E2CB8; --soft: #E3D3FF; }
.pe-benef-item.c-teal { --c1: #3FD9CC; --c2: #14B1B0; --ct: #0B7474; --soft: #C5F1EE; }
.pe-benef-ico { flex: none; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--c1), var(--c2)); box-shadow: 0 6px 0 rgba(0,0,0,.13), inset 0 3px 0 rgba(255,255,255,.35); transition: transform .5s var(--pe-spring); }
.pe-benef-ico svg { width: 38px; height: 38px; }
.pe-benef-item:hover .pe-benef-ico { transform: rotate(-9deg) scale(1.1); }
.pe-benef-item h3 { margin: 4px 0 6px; font-size: 1.22rem; line-height: 1.2; color: var(--ct); }
.pe-benef-item p { margin: 0; font-size: 1rem; line-height: 1.5; opacity: .9; }
@media (max-width: 1000px) { .pe-benef { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .pe-benef { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .pe-benef-item { padding: 16px 16px; gap: 14px; }
  .pe-benef-ico { width: 56px; height: 56px; }
  .pe-benef-ico svg { width: 30px; height: 30px; }
}
.pe-tagline { margin: 0 0 8px; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: clamp(1.15rem, 2vw, 1.45rem); color: var(--wp--preset--color--ink); }

/* estrellitas de colores que acompañan el scroll (como las del logo) */
.pe-runner { width: 0; height: 0; opacity: .94; }
.pe-runner-tail, .pe-runner-star { display: none; }
.pe-rs { position: absolute; left: 0; top: 0; display: block; filter: drop-shadow(0 2px 0 rgba(0,0,0,.2)); will-change: transform; }
.pe-rs svg { width: 100%; height: 100%; display: block; }
@media (max-width: 781px) { .pe-runner { opacity: .85; } }
/* v0.11.1: título pegado a la ola, debajo de los rostros (como el boceto del cliente) */
.pe-slides { height: clamp(540px, 84vh, 820px); }
.pe-slide-text { padding-bottom: clamp(74px, 10.5vh, 104px); }
.pe-slide-title { font-size: clamp(2.2rem, 5.6vw, 4.3rem); margin-bottom: 14px; }
.pe-slide-title + .pe-slide-actions, .pe-slide-lead + .pe-slide-actions { margin-top: 0; }
.pe-slide-text::before { height: 58%; bottom: -6%; }
.pe-slide::before { background: linear-gradient(180deg, rgba(10,60,90,0) 0%, rgba(10,60,90,0) 45%, rgba(10,60,90,.78) 100%); }
@media (max-width: 781px) { .pe-slides { height: clamp(520px, 80vh, 660px); } .pe-slide-text { padding-bottom: 84px; } }
