/* Carrusel de banners del inicio: imagen a todo el ancho y alto, sin bandas oscuras */
.cec .carrusel-hero{position:relative;width:100%;height:100vh;height:100svh;min-height:560px;overflow:hidden;background:#0d2238}
.cec .ch-diapo{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 1.2s ease,visibility 0s 1.2s;z-index:1}
.cec .ch-diapo.es-activa{opacity:1;visibility:visible;transition:opacity 1.2s ease,visibility 0s;z-index:2}
.cec .ch-diapo picture,.cec .ch-diapo img{position:absolute;inset:0;width:100%;height:100%;display:block}
.cec .ch-diapo img{object-fit:cover;object-position:center;transform:scale(1);transition:transform 0s 1.2s;will-change:transform}
.cec .ch-diapo.es-activa img{transform:scale(1.12);transition:transform 7.5s cubic-bezier(.25,.1,.25,1)}
.cec .ch-diapo:after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.6) 0,rgba(0,0,0,0) 180px),rgba(0,0,0,.45);pointer-events:none}
.cec .ch-texto{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 10vw;color:#fff}
.cec .ch-texto>*{opacity:0;transform:translateY(26px);transition:opacity .5s ease,transform .5s ease}
.cec .ch-diapo.es-activa .ch-texto>*{opacity:1;transform:none;transition:opacity .9s ease,transform .9s cubic-bezier(.2,.7,.2,1)}
.cec .ch-diapo.es-activa .ch-texto>:nth-child(1){transition-delay:.35s}
.cec .ch-diapo.es-activa .ch-texto>:nth-child(2){transition-delay:.55s}
.cec .ch-diapo.es-activa .ch-texto>:nth-child(3){transition-delay:.75s}
.cec .ch-diapo.es-activa .ch-texto>:nth-child(4){transition-delay:.95s}
.cec .ch-texto .antetitulo{color:var(--dorado-l);text-shadow:0 2px 10px rgba(0,0,0,.55)}
.cec .ch-texto h2{color:#fff;font-family:var(--serif);font-size:clamp(40px,6.4vw,92px);font-weight:600;line-height:1.05;letter-spacing:0;margin:10px 0 0;max-width:1100px;text-shadow:0 4px 30px rgba(0,0,0,.5)}
.cec .ch-texto h2 em{color:var(--dorado-l);font-weight:500;font-style:italic}
.cec .ch-texto p{font-size:clamp(15px,1.3vw,19px);max-width:640px;margin:22px auto 34px;text-shadow:0 2px 14px rgba(0,0,0,.65);color:#fff}
.cec .ch-botones{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.cec .carrusel-hero .boton.linea{color:#fff}
.cec .ch-flecha{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:1px solid rgba(228,205,142,.8);background:rgba(13,34,56,.25);color:var(--dorado-l);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.25s;padding:0}
.cec .ch-flecha:hover,.cec .ch-flecha:focus-visible{background:var(--dorado);color:var(--navy);border-color:var(--dorado)}
.cec .ch-prev{left:3vw}.cec .ch-sig{right:3vw}
.cec .ch-puntos{position:absolute;z-index:5;left:0;right:0;bottom:max(5vh,28px);display:flex;justify-content:center;gap:10px}
.cec .ch-punto{width:46px;height:14px;padding:5px 0;border:0;background:none;cursor:pointer}
.cec .ch-punto span{display:block;height:3px;background:rgba(255,255,255,.45);border-radius:3px;overflow:hidden;position:relative}
.cec .ch-punto span:after{content:"";position:absolute;inset:0;width:0;background:var(--dorado)}
.cec .ch-punto.es-activa span:after{width:100%}
.cec .carrusel-hero.con-js .ch-punto.es-activa span:after{width:0;animation:chProgreso 6s linear forwards}
.cec .carrusel-hero.en-pausa .ch-punto.es-activa span:after{animation-play-state:paused}
@keyframes chProgreso{from{width:0}to{width:100%}}
@media(max-width:700px){
.cec .ch-flecha{display:none}
.cec .ch-texto{padding:0 8vw}
.cec .ch-texto h2{font-size:clamp(36px,10vw,56px)}
.cec .ch-texto p{margin:16px auto 26px}
.cec .ch-punto{width:34px}
}
@media(prefers-reduced-motion:reduce){
.cec .ch-diapo,.cec .ch-diapo.es-activa{transition:none}
.cec .ch-diapo img,.cec .ch-diapo.es-activa img{transform:none;transition:none}
.cec .ch-texto>*,.cec .ch-diapo.es-activa .ch-texto>*{transition:none}
.cec .carrusel-hero.con-js .ch-punto.es-activa span:after{animation:none;width:100%}
}
