/* Shared improvements: follows the current CEMA theme and responsive layout. */
.hero-description{max-width:560px;color:#eaf6fc;font-size:1.06rem;line-height:1.7;margin:22px 0 28px}
.cema-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cema-stage-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:32px;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(145deg,#fff,var(--sky));box-shadow:var(--shadow)}
.cema-stage-card h2,.cema-stage-card h3{font-size:1.55rem;line-height:1.2;margin:0;color:var(--navy-dark)}
.cema-stage-card p{margin:0 0 12px;color:var(--muted)}
.cema-stage-card .button{margin-top:auto;font-size:.9rem}
.cema-stage-card>a:not(.button){font-weight:700;color:var(--navy);padding:5px 0}
.cema-stage-label{color:var(--orange-dark);font-size:.74rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.cema-space-section{background:var(--sky)}
.cema-space-section .button{margin-top:16px}
.cema-team-teaser,.cema-visit-panel{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:36px;border:1px solid var(--line);border-radius:var(--radius-lg);background:linear-gradient(135deg,var(--sky),var(--cream))}
.cema-team-teaser h2,.cema-visit-panel h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.25;margin:0 0 12px;color:var(--navy-dark)}
.cema-team-teaser p,.cema-visit-panel p{margin:0;color:var(--muted)}
.cema-team-teaser .eyebrow,.cema-visit-panel .eyebrow{margin-bottom:12px;color:var(--orange-dark)}
.cema-team-teaser .button,.cema-visit-panel .button{flex-shrink:0}
.cema-visit-panel{margin-top:40px}
.cema-faq a{font-weight:700;color:var(--navy);display:inline-block;margin:0 24px 20px}
.cema-inline-links{display:flex;flex-wrap:wrap;gap:12px}
.cema-inline-links a{display:inline-block;padding:12px 20px;border-radius:16px;border:1px solid var(--line);background:var(--sky);color:var(--navy);font-weight:700;text-decoration:none}
.cema-help-note{max-width:850px;padding:20px 0;color:var(--muted)}
.cema-class-section{padding-top:26px;margin-bottom:48px;scroll-margin-top:120px}
#etapas,#avisos{scroll-margin-top:120px}
.class-content h3{font-size:1.2rem;color:var(--navy);margin:0 0 8px}
.contact-panel>.button{margin-bottom:22px}
.cema-route{margin-top:20px}
.site-navigation a[href="familias.php"]{border:1px solid var(--line);border-radius:12px}
@media(min-width:981px) and (max-width:1200px){.site-navigation{gap:2px}.site-navigation a{padding-inline:9px;font-size:.85rem}.brand img{width:185px}}
@media(max-width:900px){.cema-stage-grid{grid-template-columns:1fr}.cema-stage-card{padding:28px}.cema-team-teaser,.cema-visit-panel{align-items:flex-start;flex-direction:column;padding:28px}.hero-description{font-size:1rem}}
@media(max-width:600px){.cema-inline-links{gap:8px}.cema-inline-links a{font-size:.88rem;padding:10px 12px}.cema-stage-card .button,.cema-visit-panel .button,.cema-team-teaser .button{width:100%;text-align:center}.cema-stage-grid{gap:18px}.cema-faq a{margin-left:18px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
