/* ===================== SECCIÓN HERO ===================== */
.hero-section {
    width: 100%;
    margin: 0 auto;
    background: transparent;
    padding: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.hero-item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
    transform: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s ease;
}

.hero-item:hover .hero-image {
    transform: scale(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: background 0.5s ease;
    z-index: 2;
}

.hero-item:hover .hero-overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.85));
}

.hero-overlay h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-overlay p {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 90%;
    margin: 0 auto;
    opacity: 0.9;
}

/* Media queries para dispositivos móviles */
@media (min-width: 1200px) {
    .hero-grid {
        max-width: 1200px;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding: 0;
    }

    .hero-item {
        height: 350px;
    }

    .hero-overlay h2 {
        font-size: 1.5rem;
    }

    .hero-overlay p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        width: 100%;
        box-shadow: none;
        gap: 0;
    }

    .hero-item {
        height: 300px;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .hero-item:last-child {
        border-bottom: none;
    }

    .hero-overlay h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .hero-overlay p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 0;
    }

    .hero-item {
        height: 250px;
    }

    .hero-overlay {
        padding: 1.25rem;
    }

    .hero-overlay h2 {
        font-size: 1.25rem;
    }
}

/* Optimizaciones para dispositivos pequeños en landscape */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 0.5rem;
    }

    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .hero-item {
        height: 200px;
    }

    .hero-overlay h2 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .hero-overlay p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}