/* Hero Flota */

.hero-flota {
    height: 80vh;
    background: url('../Imagenes/flota-garaje.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 70px;
    margin-top: 90px;
}

.overlay-flota {
    background: rgba(255,255,255, 0.88);
    padding: 45px;
    border-radius: 20px;
    max-width: 500px;
}

.overlay-flota h1 {
    font-family: 'Oswald', sans-serif;
    color: #e53434;
    margin-bottom: 12px;
    font-size: 40px;
}

.overlay-flota h2 {
    font-family: 'Montserrat', sans-serif;
    color: #333333;
    font-size: 20px;
    margin-bottom: 20px;
    opacity: 0.85;
}

.overlay-flota p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333333;
    margin-bottom: 12px;
    opacity: 0.85;
    line-height: 1.4;
}

/* Flota */

.flota {
    padding: 80px 70px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.flota-vehiculos {
    display: flex;
    align-items: center;
    gap: 50px;
}

.flota-vehiculos.reverse {
    flex-direction: row-reverse;
}

.flota-vehiculos .imagen img {
    width: 500px;
    border-radius: 20px;
}

.flota-vehiculos .texto {
    max-width: 500px;
}

.flota-vehiculos .texto h3 {
    font-family: 'Oswald', sans-serif;
    color: #e53434;
    font-size: 35px;
    margin-bottom: 20px;
}

.flota-vehiculos .texto p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333333;
    line-height: 1.4;
}

/* Responsive */

@media (max-width: 768px) {
    .hero-flota {
        height: auto;
        min-height: 100svh;
        padding: 20px;
        padding-top: var(--navbar-height, 162px);
        margin-top: 0;
        justify-content: flex-start;
        align-items: flex-start;
        background-position: center top;
    }

    .overlay-flota {
        max-width: 100%;
        width: 100%;
        padding: 25px;
    }

    .overlay-flota h1 { font-size: 26px; }
    .overlay-flota h2 { font-size: 16px; }
    .overlay-flota p  { font-size: 14px; }

    .flota { padding: 40px 20px; gap: 40px; }

    .flota-vehiculos,
    .flota-vehiculos.reverse {
        flex-direction: column;
    }

    .flota-vehiculos .imagen img { width: 100%; }
    .flota-vehiculos .texto { max-width: 100%; }
    .flota-vehiculos .texto h3 { font-size: 24px; }
    .flota-vehiculos .texto p  { font-size: 15px; }
}

@media (max-width: 480px) {
    .hero-flota { padding-top: 200px; }
    .overlay-flota h1 { font-size: 20px; }
    .flota-vehiculos .texto h3 { font-size: 20px; }
}