.hero-film-strip-block {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #050033;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Video Background */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.3) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(5, 0, 51, 0.9) 30%, rgba(5, 0, 51, 0.2) 100%);
    z-index: 1;
}

/* Content Layout */
.hero-content {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    flex: 1;
    padding: 0;
    align-items: center;
    overflow: hidden;
}

.hero-text-side {
    flex: 1.4;
    padding: 0 40px 0 8vw;
    position: relative;
    z-index: 10;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

/* Typography matching Hero Servicio */
.hero-title {
    font-family: var(--wp--preset--font-family--heading, "Montserrat", sans-serif) !important;
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    max-width: 700px;
}

.hero-description {
    font-family: var(--wp--preset--font-family--body, "Inter", sans-serif) !important;
    font-size: 1.25rem !important;
    line-height: 1.6 !important;
    color: #ffffff;
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    padding-left: 0;
}

/* Shimmer Button Style */
.hero-actions {
    display: flex;
    gap: 20px;
}

.shimmer-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #3B82F6 0%, #A855F7 50%, #EC4899 100%);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shimmer-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.5);
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.button-icon {
    font-size: 1.2rem;
    color: #fff;
    display: flex;
}

.button-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.shimmer-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 45%,
            rgba(255, 255, 255, 0.4) 50%,
            transparent 55%);
    animation: shimmer 3s infinite linear;
    z-index: 1;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }

    100% {
        transform: translateX(100%) translateY(100%);
    }
}

/* Film Strip Visual */
.hero-visual-side {
    flex: 0.8;
    height: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-visual-side::before,
.hero-visual-side::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 10;
    pointer-events: none;
}

.hero-visual-side::before {
    top: 0;
    background: linear-gradient(to bottom, #050033 0%, rgba(5, 0, 51, 0) 100%);
}

.hero-visual-side::after {
    bottom: 0;
    background: linear-gradient(to top, #050033 0%, rgba(5, 0, 51, 0) 100%);
}

.film-strip-container {
    display: flex;
    gap: 15px;
    height: 150vh;
    width: 100%;
    padding: 0 5vw 0 0;
    margin-top: -25vh;
}

.film-strip {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.strip-track {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.strip-item {
    width: 100%;
    aspect-ratio: 4/5;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animations Up/Down */
.strip-up .strip-track {
    animation: scroll-up 50s linear infinite;
}

.strip-down .strip-track {
    animation: scroll-down 50s linear infinite;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-33.33%);
    }
}

@keyframes scroll-down {
    0% {
        transform: translateY(-33.33%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Logo Ticker */
.hero-logos-ticker {
    position: relative;
    z-index: 20;
    background: rgba(5, 0, 51, 0.6);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    width: 100%;
    overflow: hidden;
    flex-shrink: 0;
}

.ticker-track {
    display: flex;
    gap: 100px;
    width: max-content;
    animation: ticker-horizontal 50s linear infinite;
    padding: 0 60px;
    align-items: center;
}

.ticker-item {
    display: flex;
    align-items: center;
}

.ticker-item img {
    height: 38px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s;
}

.ticker-item:hover img {
    opacity: 1;
}

@keyframes ticker-horizontal {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-film-strip-block {
        height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem) !important;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1.15rem !important;
    }

    .hero-content {
        flex-direction: column;
        height: auto;
        padding-top: 120px;
        flex: 1 0 auto;
    }

    .hero-text-side {
        padding: 40px 24px;
        text-align: center;
        flex: 0 0 auto;
        width: 100%;
    }

    .hero-description {
        margin: 0 auto 2rem;
        padding: 0;
        max-width: 500px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual-side {
        width: 100%;
        height: 45vh;
        flex: 0 0 45vh;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .film-strip-container {
        padding: 0;
        height: 120%;
        /* Slightly smaller container for mobile */
        margin-top: -10%;
    }
}

@media (max-width: 640px) {
    .film-strip-container{
        display: none !important;
    }
    
    .hero-content {
        padding-top: 100px;
    }
    section.hero-film-strip-block.wp-block-castellondigital-hero-film-strip {
    min-height: auto;
}

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-description {
        font-size: 1.05rem !important;
    }

    .hero-visual-side {
        height: 35vh;
        flex: 0 0 35vh;
        display: none;
    }

    .ticker-track {
        gap: 60px;
    }

    .ticker-item img {
        height: 28px;
    }
}