.hero-h5c1 {
    position: relative;
    width: calc(100% - 16px);
    height: calc(100vh - var(--hero-offset, 16px));
    height: calc(100dvh - var(--hero-offset, 16px));
    max-width: 1920px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    margin: 8px auto;
    touch-action: pan-y;
}

.hero-background-h5c1 {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-gradient-h5c1 {
    position: absolute;
    inset: 0;
    background: #282834;
    z-index: 0;
}

.hero-images-container-h5c1 {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-images-container-h5c1 picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.hero-images-container-h5c1 .hero-picture-h5c1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.05, 0.7, 0.1, 1);
}

.hero-images-container-h5c1 .hero-picture-h5c1.active {
    opacity: 1;
}

.hero-images-container-h5c1 picture .hero-img-1-h5c1,
.hero-images-container-h5c1 picture .hero-img-2-h5c1,
.hero-images-container-h5c1 picture .hero-img-3-h5c1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero-bg-image-h5c1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero-bg-overlay-h5c1 {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(40, 40, 52, 0.15) 0%, rgba(40, 40, 52, 0) 60%);
}

.hero-content-h5c1 {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0 24px;
    margin-top: auto;
    margin-bottom: calc(24px + env(safe-area-inset-bottom));
    max-width: 100%;
}

.hero-subtitle-h5c1 {
    font-size: 20px;
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'ss04' on, 'case' on;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-headline-h5c1 {
    display: flex;
    flex-direction: column;
}

.headline-carousel-h5c1 {
    height: clamp(124px, 34vw, 160px);
    overflow: hidden;
    position: relative;
}

.carousel-track-h5c1 {
    display: flex;
    flex-direction: column;
}

.carousel-slide-h5c1 {
    display: flex;
    flex-direction: column;
    height: clamp(124px, 34vw, 160px);
    flex-shrink: 0;
    overflow: hidden;
}

.carousel-slide-h5c1 .line-h5c1 {
    font-family: 'Proxima Nova Advanced', 'Proxima Nova', sans-serif;
    font-feature-settings: 'ss04' on, 'case' on;
    font-size: clamp(40px, 11.11vw, 60px);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: #ffffff;
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
}

.carousel-slide-h5c1[data-slide="3"] .line-h5c1 {
    line-height: 1;
}

@keyframes lineSlideUp-h5c1 {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cta-button-h5c1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    min-height: 48px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #ffffff;
    text-decoration: none;
    background: #4850e5;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.18s ease-out, color 0.18s ease-out;
    width: 100%;
}

.cta-button-h5c1:hover { background: #3d44c4; color: #ffffff; }
.cta-button-h5c1:active { background: #3238a3; color: #ffffff; }
.cta-button-h5c1:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(72, 80, 229, 0.3); }

/* Mobile tap navigation zones */
.hero-nav-zone-h5c1 {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 4;
}

.hero-nav-prev-h5c1 { left: 0; }
.hero-nav-next-h5c1 { right: 0; }

/* Player controls */
.hero-player-h5c1 {
    position: absolute;
    top: 24px;
    bottom: auto;
    left: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    padding: 0;
}

.hero-bullets-h5c1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    padding: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-player-btn-h5c1 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(40, 40, 52, 0.7);
    border: none;
    cursor: pointer;
    color: #ffffff;
    padding: 0;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    align-self: flex-end;
}

.hero-player-btn-h5c1:hover { opacity: 0.7; }

.hero-player-btn-h5c1 .icon-pause-h5c1 { display: block; }
.hero-player-btn-h5c1 .icon-play-h5c1 { display: none; }
.hero-player-btn-h5c1.paused-h5c1 .icon-pause-h5c1 { display: none; }
.hero-player-btn-h5c1.paused-h5c1 .icon-play-h5c1 { display: block; }

.hero-bullet-h5c1 {
    flex: 1;
    width: auto;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, width 0.3s ease, border-radius 0.3s ease;
    flex-shrink: 0;
}

.hero-bullet-h5c1.active {
    background: rgba(255, 255, 255, 0.3);
    width: auto;
    border-radius: 2px;
}

.hero-bullet-h5c1.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    animation: bulletProgress-h5c1 3s linear forwards;
}

@keyframes bulletProgress-h5c1 {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@media (max-width: 1023px) {
    .hero-bullet-h5c1.completed {
        background: rgba(255, 255, 255, 0.3);
    }

    .hero-bullet-h5c1.completed::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #ffffff;
        border-radius: 2px;
        transform: scaleX(1);
        transform-origin: left center;
    }
}

.hero-player-h5c1.paused-h5c1 .hero-bullet-h5c1.active::after {
    animation-play-state: paused;
}

@media (min-width: 1024px) {
    .hero-h5c1 {
        touch-action: auto;
    }

    .hero-images-container-h5c1 picture .hero-img-1-h5c1,
    .hero-images-container-h5c1 picture .hero-img-2-h5c1,
    .hero-images-container-h5c1 picture .hero-img-3-h5c1 {
        object-position: center right;
    }

    .hero-bg-image-h5c1 {
        object-position: center right;
    }

    .hero-content-h5c1 {
        gap: 40px;
        padding: 0 40px;
        margin-bottom: 40px;
        max-width: 70%;
    }

    .cta-button-h5c1 {
        width: fit-content;
    }

    .headline-carousel-h5c1 {
        height: clamp(96px, 16vw, 200px);
    }

    .carousel-slide-h5c1 {
        height: clamp(96px, 16vw, 200px);
    }

    .carousel-slide-h5c1 .line-h5c1 {
        font-size: clamp(48px, 6vw, 100px);
    }

    .hero-nav-zone-h5c1 {
        display: none;
    }

    .hero-player-h5c1 {
        position: absolute;
        bottom: 24px;
        right: 24px;
        top: auto;
        left: auto;
        width: 160px;
        height: 56px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        background: rgba(40, 40, 52, 0.1);
        border-radius: 20px;
        padding: 8px;
    }

    .hero-bullets-h5c1 {
        width: 96px;
        height: 40px;
        gap: 8px;
        background: rgba(40, 40, 52, 0.7);
        border-radius: 12px;
        flex-shrink: 0;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .hero-player-btn-h5c1 {
        align-self: auto;
    }

    .hero-bullet-h5c1 {
        flex: unset;
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

    .hero-bullet-h5c1.active {
        width: 32px;
        border-radius: 4px;
    }

    .hero-bullet-h5c1.active::after {
        border-radius: 4px;
    }
}

@media (min-width: 1024px) and (max-width: 1500px) {
    .headline-carousel-h5c1,
    .carousel-slide-h5c1 {
        height: clamp(96px, 13vw, 200px);
    }
}

@media (min-width: 1700px)  {
    .hero-content-h5c1 {
        max-width: 60%;
    }
}