*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#f4f4f4;
}

header{
    background:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)), url("fondo.png");
    background-size:cover;
    background-position:center;
    height:60vh;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

header h1{
    font-size:3rem;
    margin-bottom:10px;
}

nav{
    background:#222;
    padding:15px;
    text-align:center;
}

nav a{
    color:white;
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
}

nav a:hover{
    color:#ffc107;
}

section{
    padding:30px;
}

h2{
    text-align:center;
    margin-bottom:25px;
}

.vehiculos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
}

.auto{
    background:white;
    width:300px;
    border-radius:10px;
    overflow:hidden;
    box-shadow:0 0 10px rgba(0,0,0,.2);
    transition:.3s;
}

.auto:hover{
    transform:scale(1.03);
}

.auto img{
    width:100%;
    height:200px;
    object-fit:cover;
}

.auto h3{
    padding:10px;
}

.auto p{
    padding:0 10px 10px;
}

.auto button{
    width:90%;
    margin:10px;
}

.beneficios{
    max-width:500px;
    margin:auto;
    background:white;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.2);
}

.beneficios li{
    margin:10px 0;
}

form{
    background:white;
    max-width:600px;
    margin:auto;
    padding:20px;
    border-radius:10px;
    box-shadow:0 0 10px rgba(0,0,0,.2);
}

label{
    font-weight:bold;
}

input,
select{
    width:100%;
    padding:10px;
    margin-top:5px;
    margin-bottom:15px;
}

button{
    background:black;
    color:white;
    border:none;
    padding:12px;
    cursor:pointer;
    font-size:16px;
    width:100%;
}

button:hover{
    background:#333;
}

footer{
    background:black;
    color:white;
    text-align:center;
    padding:30px;
    margin-top:30px;
}

footer p{
    margin:8px 0;
}

hr{
    width:60%;
    margin:20px auto;
}
/* ===== FINANCIAMIENTO ===== */

.financiamiento{
    max-width:700px;
    margin:40px auto;
}

.financiamiento h2{
    color:#222;
    margin-bottom:20px;
}

#formFinanciamiento input,
#formFinanciamiento select,
#formFinanciamiento textarea{
    width:100%;
    padding:12px;
    margin-top:5px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
    font-size:16px;
}

#formFinanciamiento input:focus,
#formFinanciamiento select:focus,
#formFinanciamiento textarea:focus{
    border-color:#ffc107;
    outline:none;
    box-shadow:0 0 5px rgba(255,193,7,.5);
}

#formFinanciamiento textarea{
    min-height:120px;
    resize:vertical;
}

#formFinanciamiento input[type="submit"]{
    background:#000;
    color:white;
    border:none;
    padding:12px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:.3s;
}

#formFinanciamiento input[type="submit"]:hover{
    background:#ffc107;
    color:black;
}

#mensajeFinanciamiento{
    margin-top:15px;
    text-align:center;
    font-weight:bold;
    color:green;
}