/* Testimonios */
[hidden]{display:none!important}
.testis>li{flex:0 0 min(380px,84vw);scroll-snap-align:center;display:flex}
.carousel:has(.testis) .car-btn{top:50%;margin-top:-22px}
.testi-card{position:relative;width:100%;height:100%;text-align:left;border:0;border-radius:28px 28px 28px 6px;padding:34px 28px 26px;background:#fff;color:var(--ink);cursor:pointer;display:grid;gap:10px;align-content:start;font:inherit;box-shadow:0 18px 40px -26px rgba(5,63,56,.55);transition:transform .3s cubic-bezier(.2,.9,.3,1.2),box-shadow .3s}
.testi-card:hover{transform:translateY(-4px);box-shadow:0 24px 44px -22px rgba(5,63,56,.6)}
.testi-comilla{position:absolute;top:2px;right:22px;font:800 6rem/1 var(--display);color:var(--peach);opacity:.7;pointer-events:none}
.testi-card h3{padding-right:48px}
.testi-extracto{margin:0;color:var(--muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.testi-pie{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-top:6px;font-size:.95rem}
.testi-pie b{color:var(--teal)}
.testi-pie small{display:block;margin-top:2px;color:var(--muted);font-size:.85rem}
.testi-pie i{font-style:normal;color:var(--rose);font-weight:600}
.testi-cta{display:grid;justify-items:center;gap:10px;margin-top:40px}

/* Testimonio a pantalla completa: crece desde la tarjeta */
.testi-full{position:fixed;inset:0;z-index:60;background:var(--teal-deep) url(../assets/fondo-testimonio.svg) center/cover no-repeat;color:#eef5f3;opacity:0;visibility:hidden;transform:scale(.04);transition:transform .6s cubic-bezier(.2,.8,.25,1),opacity .3s ease,visibility 0s .6s}
.testi-full.open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.testi-scroll{position:absolute;inset:0;overflow-y:auto;padding:88px 20px 64px}
.testi-body{max-width:680px;margin:0 auto}
.testi-body h3{color:#fff;font-size:clamp(2.2rem,6vw,3.6rem);margin-bottom:28px}
.testi-body p{font-size:clamp(1.15rem,2.4vw,1.35rem);line-height:1.85;margin:0 0 1.2em;color:#e6f0ed}
.testi-body .testi-autora{margin-top:36px;font:700 1.3rem var(--display);color:var(--peach)}
.testi-body .testi-fecha{margin:4px 0 0;font-size:1rem;color:#b9d3cd}
.testi-x{position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}
.testi-x:hover{background:var(--rose)}
.testi-full :focus-visible{outline-color:var(--gold)}
@media(prefers-reduced-motion:reduce){.testi-full,.testi-card{transition-duration:.01s}}
.testi-body h4{font-family:var(--display);color:var(--peach);font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.2;margin:48px 0 16px}

/* Líneas indicadoras del carrusel de testimonios */
.indicadores{display:flex;justify-content:center;gap:8px;margin-top:32px}
.indicadores + .carousel{margin-top:8px}
.indicadores button{padding:12px 0;border:0;background:none;cursor:pointer}
.indicadores button::before{content:"";display:block;width:28px;height:5px;border-radius:99px;background:var(--sage);opacity:.55;transition:width .35s cubic-bezier(.2,.9,.3,1.1),background-color .3s,opacity .3s}
.indicadores button[aria-current=true]::before{width:60px;background:var(--rose);opacity:1}
@media(prefers-reduced-motion:reduce){.indicadores button::before{transition-duration:.01s}}
