.chapter-section{padding-bottom:64px}
.chapter-carousel{position:relative;isolation:isolate;margin-top:45px;border:1px solid #dbe8e6;border-radius:36px;background:#f7faf6;outline-offset:6px;scroll-margin-top:110px}
.chapter-slides{border-radius:inherit}
.chapter-card{position:relative;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);min-height:560px;align-items:center;padding:25px clamp(32px,5vw,65px) 25px clamp(24px,4vw,45px);gap:24px;border-radius:inherit;overflow:hidden;background-color:#f7faf6;background-image:linear-gradient(90deg,transparent 28%,rgba(255,255,255,.15) 46%,rgba(255,255,255,.84) 100%),var(--chapter-scene);background-size:100% 100%,cover;background-position:center;background-repeat:no-repeat}
.chapter-card[hidden]{display:none}
#chapter-1{--chapter-scene:url("assets/carrusel/escena-1-r2.png")}
#chapter-2{--chapter-scene:url("assets/carrusel/escena-2-r2.png")}
#chapter-3{--chapter-scene:url("assets/carrusel/escena-3-r2.png")}
#chapter-4{--chapter-scene:url("assets/carrusel/escena-4-r2.png")}
#chapter-5{--chapter-scene:url("assets/carrusel/escena-5-r2.png")}
#chapter-6{--chapter-scene:url("assets/carrusel/escena-6-r2.png")}
.chapter-art{position:relative;display:grid;place-items:center;height:470px;min-width:0}
.chapter-art img{position:relative;display:block;width:auto;height:100%;max-width:100%;max-height:470px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 15px 12px #16304016);transform:translateY(0)}
.chapter-copy{position:relative;z-index:1;box-sizing:border-box;max-width:100%;padding:24px 28px;text-align:left;border:1px solid rgba(218,225,209,.88);border-radius:24px;background:rgba(255,253,246,.96);box-shadow:0 12px 28px rgba(20,43,64,.1);backdrop-filter:blur(3px)}
.chapter-copy .home-eyebrow{margin:0 0 10px;font-size:11px;line-height:1.5;letter-spacing:.13em;hyphens:none;overflow-wrap:normal}
.chapter-copy h3{margin:0 0 12px;font-size:clamp(27px,3vw,38px);line-height:1.12;letter-spacing:-.8px;hyphens:none;overflow-wrap:normal}
.chapter-copy .chapter-description{margin:0 0 18px;text-align:left!important;font-size:16px;line-height:1.55;color:#344d5a;hyphens:none;overflow-wrap:normal}
.chapter-copy .learn-label{margin:0 0 10px;text-align:left!important;font-size:15px;line-height:1.45;font-weight:750}
.chapter-copy ul{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.chapter-copy li{position:relative;padding-left:34px;font-size:15px;line-height:1.45;color:#344d5a;hyphens:none;overflow-wrap:normal}
.chapter-copy li::before{position:absolute;top:.08em;left:0;display:block;box-sizing:border-box;width:22px;height:22px;border:1px solid #63aaa5;border-radius:50%;background:#e9f6f1;content:""}
.chapter-copy li::after{position:absolute;top:.08em;left:0;display:grid;place-items:center;width:22px;height:22px;color:#087e85;content:"✓";font-size:13px;font-weight:800;line-height:1}
.chapter-arrow{position:absolute;top:50%;z-index:2;width:44px;height:44px;transform:translateY(-50%);border:1px solid #cddbd9;border-radius:50%;background:#fff;color:#172d3d;font-size:25px;cursor:pointer;transition:background .15s,transform .15s}
.chapter-arrow:hover{background:#fff19b}
.chapter-arrow.prev{left:-22px}
.chapter-arrow.next{right:-22px}
.chapter-navigation{display:flex;justify-content:center;align-items:center;gap:25px;margin-top:25px}
.chapter-dots{display:flex;gap:8px}
.chapter-dots button{width:38px;height:38px;border:1px solid #9ed8d9;border-radius:50%;background:#fff;color:#1b2c3b;cursor:pointer;font:inherit;font-size:13px}
.chapter-dots button[aria-current=true]{border-color:#78bfc2;background:linear-gradient(135deg,#fff19b,#a6e4ee);color:#142b40}
.chapter-navigation p{font-size:12px;color:#5d6d72}
.chapter-card.entering{animation:chapter-in .25s ease-out}
@keyframes chapter-in{from{opacity:0}to{opacity:1}}
@media(max-width:720px){
 .chapter-carousel{margin:30px 10px 0;border-radius:26px}
 .chapter-card{grid-template-columns:minmax(0,1fr);gap:0;min-height:0;padding:12px 18px 28px;border-radius:0;background:none;overflow:visible}
 .chapter-art{height:280px;overflow:hidden;border-radius:18px;background-image:var(--chapter-scene);background-size:cover;background-position:center;background-repeat:no-repeat}
 .chapter-art img{max-height:280px}
 .chapter-copy{margin-top:18px;padding:24px 24px;border-radius:24px}
 .chapter-copy h3{font-size:29px;margin-bottom:12px}
 .chapter-copy .chapter-description{font-size:16px}
 .chapter-copy li{font-size:16px}
 .chapter-arrow{width:36px;height:36px;top:260px}
 .chapter-arrow.prev{left:-17px}
 .chapter-arrow.next{right:-17px}
 .chapter-navigation{gap:12px}
 .chapter-dots{gap:5px}
 .chapter-dots button{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.chapter-card.entering{animation:none}}
