.hero {
    background: linear-gradient(180deg, #93c2ce 0%, #8fbfc8 100%);
    min-height: calc(65vh - 70px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(14, 43, 57, 0.765) 0%, rgba(0, 0, 0, 0.44) 100%);
    z-index: 2;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 520px;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 80px 80px;
    position: relative;
    z-index: 3;
}

.hero-left {
    max-width: 680px;
    position: relative;
    z-index: 4;
}

.hero-title {
    font-weight: 300;
    font-size: clamp(48px, 7.5vw, 100px);
    line-height: 0.85;
    margin-bottom: 120px;
    color: #ffffff;
    align-items: center;
    letter-spacing: -0.06em;
}

.eyebrow {
    font-size: 24px;
    font-weight: 300;
    opacity: .9;
    margin-bottom: 18px;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}


.btn {
    padding: 12px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: transform .12s ease, box-shadow .12s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: translateY(-3px);
}


.hero-right {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    position: relative;
    z-index: 4;
    height: 10px;
}

.x-image {
    width: 480px;
    height: 520px;
    position: relative;
    background-size: cover;
    background-position: center right;
    filter: saturate(.9) contrast(.98) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    overflow: hidden;
}

.x-image::before,
.x-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    transform-origin: center;
}

.x-image::before {
    transform: rotate(30deg) translateX(0) scale(1.15);
    clip-path: polygon(40% 0, 60% 0, 60% 100%, 40% 100%);
}

.x-image::after {
    transform: rotate(-30deg) translateX(0) scale(1.15);
    clip-path: polygon(40% 0, 60% 0, 60% 100%, 40% 100%);
}

.x-image::before,
.x-image::after {
    background: rgba(255, 255, 255, 0.0);
    mix-blend-mode: screen;
}

/* Responsive layout */
@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        padding: 48px 24px;
        gap: 40px;
    }

    .hero-right {
        order: -1;
        justify-content: flex-end;
    }

    .hero-title {
        text-align: left;
        font-size: clamp(40px, 10vw, 86px);
    }

    .x-image {
        width: 360px;
        height: 360px;
        opacity: .95;
    }
}

@media (max-width: 580px) {
    .header-inner {
        height: 60px;
        padding: 0 12px;
    }

    .main-nav ul {
        display: none;
    }

    .hero-inner {
        padding: 36px 18px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
        text-align: center;
    }

    .eyebrow {
        font-size: 20px;
        font-weight: 100;
        opacity: 1;
        margin-bottom: 18px;
        color: #484748;
        letter-spacing: -1.3px;
    }

    .hero-title {
        font-size: 60px;
        text-align: center;
        margin-bottom: 20px;
        letter-spacing: -1.3px;
    }

    .hero-right {
        margin-top: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .x-image {
        width: 260px;
        height: 260px;
        border-radius: 12px;
        background-size: cover;
        background-position: center;
    }

    /* En móvil, hacer el overlay un poco más oscuro para mejor legibilidad */
    .video-overlay {
        background: linear-gradient(180deg, rgba(147, 194, 206, 0.9) 0%, rgba(143, 191, 200, 0.95) 100%);
    }
}

/* Imagen full responsive */
.full-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

.full-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}