/* === HERO BANNER === */

.hero-banner {
    min-height: 80vh; /* altura elegante en escritorio */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
    overflow-x: hidden; /* evita scroll lateral */
    box-sizing: border-box;
}

/* Fondo translúcido para el texto */
.hero-banner .text-wrap {
    background: rgba(0, 0, 0, 0.35);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    display: inline-block;
    max-width: 100%;
}

/* Título */
.hero-banner .title {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    overflow-wrap: anywhere;
}

/* Frase */
.hero-banner p {
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    overflow-wrap: anywhere;
}

/* Botón CTA */
.hero-banner .btn {
    background-color: #ffffff;
    color: #000;
    font-weight: 600;
    border: none;
    padding: 10px 22px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}
.hero-banner .btn:hover {
    background-color: #ffce00; /* tono amarillo a juego con el fondo */
    color: #000;
}

/* Ajuste del grid para evitar overflow */
.hero-banner .row {
    margin-left: 0;
    margin-right: 0;
}
.hero-banner .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* === AJUSTES MÓVIL === */
@media (max-width: 768px) { 
    .hero-banner {
        min-height: 100vh; /* centrado vertical completo */
        padding: 0 1rem;
    }
    .hero-banner .text-wrap {
        padding: 1rem 1.5rem;
        margin: 0 auto;
    }
    .hero-banner .title {
        font-size: 2.2rem;
    }
    .hero-banner p {
        font-size: 1rem;
    }
}

/* Prevención global de scroll lateral */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
