/* Portada en carrusel — hero-video-rotativo-v1 · full viewport carousel 1.6 */
.ws-carousel-hero-v1{
    position:relative;
    width:100%;
    height:100vh;
    height:100svh;
    min-height:100vh;
    min-height:100svh;
    overflow:hidden;
    background:var(--wb-text);
    color:var(--wb-surface);
    font-family:var(--pg-style-body);
    isolation:isolate;
}
.ws-carousel-hero-v1__track,.ws-carousel-hero-v1__slide{position:absolute;inset:0}
.ws-carousel-hero-v1__slide{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .42s ease,visibility .42s ease;
}
.ws-carousel-hero-v1__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.ws-carousel-hero-v1__media,.ws-carousel-hero-v1__shade{position:absolute;inset:0}
.ws-carousel-hero-v1__media{background:var(--wb-surface-muted)}
.ws-carousel-hero-v1__placeholder{position:absolute;inset:0;background:linear-gradient(135deg,var(--wb-muted) 0%,var(--wb-text) 52%,var(--wb-text) 100%)}
.ws-carousel-hero-v1__media .wapu-c-image-img,
.ws-carousel-hero-v1__media .ws-carousel-hero-v1__image,
.ws-carousel-hero-v1__video{width:100%;height:100%;object-fit:cover;display:block;border:0}
.ws-carousel-hero-v1__shade{z-index:1;background:linear-gradient(90deg,color-mix(in srgb,var(--wb-text) 72%,transparent) 0%,color-mix(in srgb,var(--wb-text) 48%,transparent) 46%,color-mix(in srgb,var(--wb-text) 14%,transparent) 100%)}
.ws-carousel-hero-v1[data-overlay="soft"] .ws-carousel-hero-v1__shade{background:linear-gradient(90deg,color-mix(in srgb,var(--wb-text) 58%,transparent),color-mix(in srgb,var(--wb-text) 30%,transparent) 58%,transparent)}
.ws-carousel-hero-v1[data-overlay="strong"] .ws-carousel-hero-v1__shade{background:linear-gradient(90deg,color-mix(in srgb,var(--wb-text) 84%,transparent),color-mix(in srgb,var(--wb-text) 62%,transparent) 55%,color-mix(in srgb,var(--wb-text) 24%,transparent))}
.ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,color-mix(in srgb,var(--wb-text) 24%,transparent),color-mix(in srgb,var(--wb-text) 68%,transparent))}
.ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__shade{background:linear-gradient(270deg,color-mix(in srgb,var(--wb-text) 72%,transparent) 0%,color-mix(in srgb,var(--wb-text) 48%,transparent) 46%,color-mix(in srgb,var(--wb-text) 14%,transparent) 100%)}
.ws-carousel-hero-v1__content{
    position:relative;
    z-index:2;
    height:100vh;
    height:100svh;
    min-height:100vh;
    min-height:100svh;
    width:100%;
    max-width:none;
    margin-inline:0;
    padding:clamp(2.125rem,5vw,4.5rem);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:flex-start;
    gap:0.625rem;
}
.ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__content{align-items:center;text-align:center}
.ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__content{align-items:flex-end;text-align:right}
.ws-carousel-hero-v1__headline{display:grid;width:100%;max-width:none;margin:0;color:var(--wb-surface);text-wrap:balance;gap:0.125rem}
.ws-carousel-hero-v1__headline .wapu-c-title{overflow-wrap:normal;word-break:normal;hyphens:auto}.ws-carousel-hero-v1__headline .ws-carousel-hero-v1__headline-accent{opacity:.96}
.ws-carousel-hero-v1__support{display:grid;width:100%;max-width:none;gap:0.125rem;margin:0.25rem 0 0;color:var(--wb-surface)}.ws-carousel-hero-v1__support .wapu-c-body{max-width:none}.ws-carousel-hero-v1__support .ws-carousel-hero-v1__highlight{}
.ws-carousel-hero-v1__cta{margin-top:0.625rem}
.ws-carousel-hero-v1[data-content-mode="media_only"] .ws-carousel-hero-v1__shade,
.ws-carousel-hero-v1[data-content-mode="media_only"] .ws-carousel-hero-v1__content{display:none}
.ws-carousel-hero-v1__dots{
    position:absolute;
    z-index:4;
    left:50%;
    bottom:clamp(1.125rem,3vw,2.125rem);
    transform:translateX(-50%);
    display:flex;
    gap:0.4375rem;
    align-items:center;
}
.ws-carousel-hero-v1 .ws-carousel-hero-v1__dot{appearance:none;width:1.75rem;height:0.25rem;border:0;border-radius:62.4375rem;background:var(--wb-surface);padding:0;cursor:pointer;transition:width .18s ease,background .18s ease}
.ws-carousel-hero-v1 .ws-carousel-hero-v1__dot span{display:none}
.ws-carousel-hero-v1 .ws-carousel-hero-v1__dot.is-active,.ws-carousel-hero-v1 .ws-carousel-hero-v1__dot[aria-selected="true"],.ws-carousel-hero-v1 .ws-carousel-hero-v1__dot.wapu-carousel__dot--active{width:2.25rem;background:var(--pg-style-primary)}
.ws-carousel-hero-v1__arrow{
    appearance:none;position:absolute;z-index:4;top:50%;transform:translateY(-50%);
    width:2.625rem;height:2.625rem;border-radius:62.4375rem;
    border:1px solid color-mix(in srgb,var(--wb-surface) 42%,transparent);
    background:color-mix(in srgb,var(--wb-text) 42%,transparent);backdrop-filter:blur(0.625rem);color:var(--wb-surface);font-size:1.375rem;line-height:1;
    display:grid;place-items:center;cursor:pointer;opacity:0;box-shadow:0 .25rem .875rem color-mix(in srgb,var(--wb-text) 18%,transparent);transition:opacity .18s ease,background-color .18s ease,border-color .18s ease,transform .18s ease;
}
.ws-carousel-hero-v1__arrow--prev{left:1.125rem}.ws-carousel-hero-v1__arrow--next{right:1.125rem}
@media (hover:hover){
    .ws-carousel-hero-v1:hover .ws-carousel-hero-v1__arrow,.ws-carousel-hero-v1:focus-within .ws-carousel-hero-v1__arrow{opacity:1}
    .ws-carousel-hero-v1__arrow:hover{background:color-mix(in srgb,var(--wb-text) 62%,transparent);border-color:color-mix(in srgb,var(--wb-surface) 62%,transparent);transform:translateY(-50%) scale(1.04)}
}
.ws-carousel-hero-v1__empty{
    width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;
    background:linear-gradient(135deg,var(--wb-surface-muted),color-mix(in srgb,var(--wb-primary) 12%,var(--wb-surface-muted)));color:var(--wb-primary);text-align:center;
}
.ws-carousel-hero-v1__empty>span{font-size:2.125rem;line-height:1}.ws-carousel-hero-v1__empty small{font-size:0.75rem;font-weight:700}
.ws-carousel-hero-v1__empty--cover{padding:2rem;color:var(--wb-text);background:radial-gradient(circle at 72% 24%,color-mix(in srgb,var(--wb-primary) 24%,transparent),transparent 34%),linear-gradient(135deg,var(--wb-surface-muted),color-mix(in srgb,var(--wb-text) 12%,var(--wb-surface-muted)))}
.ws-carousel-hero-v1__empty--cover>span{display:grid;place-items:center;width:3.5rem;height:3.5rem;border:1px solid color-mix(in srgb,var(--wb-primary) 34%,transparent);border-radius:50%;background:color-mix(in srgb,var(--wb-surface) 76%,transparent);color:var(--wb-primary)}
.ws-carousel-hero-v1__empty--cover small{letter-spacing:.14em;color:var(--wb-muted)}
.ws-carousel-hero-v1__empty--cover strong{font-family:var(--pg-style-heading);font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.15;text-wrap:balance}
.ws-carousel-hero-v1__empty--cover em{max-width:30rem;color:var(--wb-muted);font-size:.875rem;font-style:normal;line-height:1.55}

/* Canvas/library previews stay useful without changing full-viewport output. */
.ws-carousel-hero-v1[data-wapu-authoring="true"]{height:clamp(32rem,72vh,50rem);min-height:32rem}
.ws-carousel-hero-v1[data-wapu-authoring="true"] .ws-carousel-hero-v1__content{height:100%;min-height:100%}
@media (max-width:45em){
    .ws-carousel-hero-v1__shade,
    .ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__shade,
    .ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,color-mix(in srgb,var(--wb-text) 10%,transparent) 18%,color-mix(in srgb,var(--wb-text) 34%,transparent) 52%,color-mix(in srgb,var(--wb-text) 82%,transparent) 100%)}
    .ws-carousel-hero-v1[data-overlay="soft"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,transparent 22%,color-mix(in srgb,var(--wb-text) 24%,transparent) 56%,color-mix(in srgb,var(--wb-text) 68%,transparent))}
    .ws-carousel-hero-v1[data-overlay="strong"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,color-mix(in srgb,var(--wb-text) 18%,transparent) 12%,color-mix(in srgb,var(--wb-text) 48%,transparent) 50%,color-mix(in srgb,var(--wb-text) 90%,transparent))}
    .ws-carousel-hero-v1__content,
    .ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__content,
    .ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__content{
        justify-content:flex-end;align-items:flex-start;text-align:left;padding:1.75rem 1.25rem 4.5rem;gap:0.625rem
    }
    .ws-carousel-hero-v1__headline{}
    .ws-carousel-hero-v1__support{max-width:none}
    .ws-carousel-hero-v1__cta{margin-top:0.5rem}
    .ws-carousel-hero-v1__arrow{display:none}
    .ws-carousel-hero-v1__dots{bottom:1.125rem}
}
@container wapu-block-preview (max-width:45em){
    .ws-carousel-hero-v1__shade,
    .ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__shade,
    .ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,color-mix(in srgb,var(--wb-text) 10%,transparent) 18%,color-mix(in srgb,var(--wb-text) 34%,transparent) 52%,color-mix(in srgb,var(--wb-text) 82%,transparent) 100%)}
    .ws-carousel-hero-v1[data-overlay="soft"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,transparent 22%,color-mix(in srgb,var(--wb-text) 24%,transparent) 56%,color-mix(in srgb,var(--wb-text) 68%,transparent))}
    .ws-carousel-hero-v1[data-overlay="strong"] .ws-carousel-hero-v1__shade{background:linear-gradient(180deg,color-mix(in srgb,var(--wb-text) 18%,transparent) 12%,color-mix(in srgb,var(--wb-text) 48%,transparent) 50%,color-mix(in srgb,var(--wb-text) 90%,transparent))}
    .ws-carousel-hero-v1__content,
    .ws-carousel-hero-v1[data-align="center"] .ws-carousel-hero-v1__content,
    .ws-carousel-hero-v1[data-align="right"] .ws-carousel-hero-v1__content{
        justify-content:flex-end;align-items:flex-start;text-align:left;padding:1.75rem 1.25rem 4.5rem;gap:0.625rem
    }
    .ws-carousel-hero-v1__headline{}
    .ws-carousel-hero-v1__support{max-width:none}
    .ws-carousel-hero-v1__cta{margin-top:0.5rem}
    .ws-carousel-hero-v1__arrow{display:none}
    .ws-carousel-hero-v1__dots{bottom:1.125rem}
}

@media (prefers-reduced-motion:reduce){
    .ws-carousel-hero-v1__slide,.ws-carousel-hero-v1__dot,.ws-carousel-hero-v1__arrow{transition:none}
}
