/* Asegura que el header esté por encima del hero y tenga fondo sólido */
 .hero {
     position: relative;
     width: 100%;
     height: 70vh; /* Menos alto para evitar espacio en blanco */
     overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 68vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
    padding: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: left;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffc107;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
}

.hero-arrow.left {
    left: 9px;
}

.hero-arrow.right {
    right: 10px;
}

.btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
}

.btn-outline-light:hover {
    background: #fff;
    color: #000;
}
@media (min-width: 768px) {
    .hero,
    .carousel {
        padding-top: 100px; /* Altura aproximada del header en escritorio */
    }
}

@media (max-width: 767px) {
    .hero,
    .carousel {
        padding-top: 80px; /* Altura aproximada del header en móvil */
    }
}