*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f5f7fb;
    overflow-x:hidden;
}

/* HEADER */

.header{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:1000;
    backdrop-filter:blur(18px);
    background:rgba(10,10,15,.75);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.header-container{
    max-width:1400px;
    margin:auto;
    padding:18px 5%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo img{
    width:140px;
}

.nav ul{
    display:flex;
    gap:30px;
}

.nav ul li{
    position:relative;
}

.nav ul li a{
    color:white;
    font-size:15px;
    font-weight:500;
    transition:.3s;
}

.nav ul li a:hover,
.nav ul li a.active{
    color:#00bfff;
}

.dropdown{
    position:absolute;
    top:40px;
    left:0;
    background:#121826;
    min-width:220px;
    padding:15px;
    border-radius:16px;
    opacity:0;
    visibility:hidden;
    transition:.3s;
}

.submenu:hover .dropdown{
    opacity:1;
    visibility:visible;
}

.dropdown li{
    margin:12px 0;
}

.header-actions{
    display:flex;
    align-items:center;
    gap:15px;
}

.btn-dark,
.favoritos-icono{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:white;
    cursor:pointer;
    transition:.3s;
}

.btn-dark:hover,
.favoritos-icono:hover{
    background:#00bfff;
    transform:translateY(-4px);
}

.hamburger{
    display:none;
}

/* HERO */

.hero{
    width:100%;
    height:100vh;
    background:url('carro_ciudad-de-frente.webp');
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    padding:0 8%;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to right,
    rgba(0,0,0,.85),
    rgba(0,0,0,.4));
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
    color:white;
}

.tag{
    background:#176BFF;
    padding:10px 20px;
    border-radius:50px;
    font-size:14px;
    font-weight:bold;
}

.hero-content h1{
    font-size:80px;
    margin:30px 0;
    line-height:1.1;
}

.hero-content p{
    font-size:22px;
    color:#ddd;
    line-height:1.7;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-top:40px;
}

.btn-principal,
.btn-secundario{
    padding:18px 35px;
    border-radius:15px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-principal{
    background:#176BFF;
    color:white;
}

.btn-secundario{
    border:2px solid white;
    color:white;
}

.btn-principal:hover,
.btn-secundario:hover{
    transform:translateY(-5px);
}

/* BUSQUEDA */

.busqueda{
    margin-top:-70px;
    position:relative;
    z-index:20;
    padding:0 8%;
}

.search-box{
    background:white;
    border-radius:30px;
    padding:30px;
    display:grid;
    grid-template-columns:1fr 1fr auto;
    gap:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.1);
}

.input-group{
    height:65px;
    border:1px solid #ddd;
    border-radius:15px;
    display:flex;
    align-items:center;
    padding:0 20px;
}

.input-group i{
    color:#176BFF;
    margin-right:12px;
}

.input-group input,
.input-group select{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
    background:none;
}

.search-box button{
    border:none;
    padding:0 35px;
    border-radius:15px;
    background:#176BFF;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

/* AUTOS */

.autos{
    padding:120px 8%;
}

.section-title{
    text-align:center;
    max-width:800px;
    margin:auto;
    margin-bottom:70px;
}

.section-title span{
    color:#176BFF;
    font-weight:bold;
    letter-spacing:2px;
}

.section-title h2{
    font-size:60px;
    margin:20px 0;
}

.section-title p{
    color:#666;
    font-size:20px;
    line-height:1.7;
}

.autos-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

.card-auto{
    background:white;
    border-radius:30px;
    overflow:hidden;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
    transition:.4s;
}

.card-auto:hover{
    transform:translateY(-10px);
}

.card-img{
    position:relative;
    height:260px;
    overflow:hidden;
}

.card-img img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.card-auto:hover img{
    transform:scale(1.1);
}

.fav{
    position:absolute;
    top:20px;
    right:20px;
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    background:white;
    font-size:18px;
    cursor:pointer;
}

.card-content{
    padding:30px;
}

.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.top h3{
    font-size:28px;
}

.precio{
    color:#176BFF;
    font-weight:bold;
}

.card-content p{
    color:#666;
    line-height:1.7;
    margin-bottom:20px;
}

.specs{
    display:flex;
    gap:20px;
    margin-bottom:25px;
    flex-wrap:wrap;
}

.specs span{
    background:#f2f5fa;
    padding:10px 15px;
    border-radius:12px;
    font-size:14px;
}

.card-content a{
    display:inline-block;
    padding:15px 25px;
    border-radius:14px;
    background:#176BFF;
    color:white;
    text-decoration:none;
    font-weight:bold;
}

/* BENEFICIOS */

.beneficios{
    padding:0 8% 100px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.beneficio{
    background:white;
    padding:40px;
    border-radius:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.beneficio i{
    font-size:50px;
    color:#176BFF;
    margin-bottom:20px;
}

.beneficio h3{
    font-size:28px;
    margin-bottom:15px;
}

.beneficio p{
    color:#666;
    line-height:1.7;
}

/* FINANCE */

.finance{
    padding:0 8% 100px;
}

.finance-box{
    background:linear-gradient(135deg,#176BFF,#001D3D);
    border-radius:35px;
    padding:70px;
    color:white;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
}

.finance-info span{
    letter-spacing:2px;
    font-weight:bold;
}

.finance-info h2{
    font-size:55px;
    margin:25px 0;
}

.finance-info p{
    color:#ddd;
    line-height:1.7;
    font-size:20px;
}

.finance-form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.finance-form input{
    height:65px;
    border:none;
    border-radius:15px;
    padding:0 20px;
    font-size:16px;
}

.finance-form button{
    height:65px;
    border:none;
    border-radius:15px;
    background:black;
    color:white;
    font-weight:bold;
    cursor:pointer;
}

.finance-form p{
    margin-top:10px;
    font-size:18px;
}

/* PROCESO */

.proceso{
    padding:0 8% 120px;
}

.pasos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
}

.paso{
    background:white;
    border-radius:25px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.numero{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#176BFF;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin:auto;
    margin-bottom:25px;
}

.paso h3{
    font-size:28px;
    margin-bottom:15px;
}

.paso p{
    color:#666;
    line-height:1.7;
}

/* CTA */

.cta{
    margin:0 8% 100px;
    position:relative;
    border-radius:35px;
    overflow:hidden;
    background:url('camaro.webp');
    background-size:cover;
    background-position:center;
    padding:110px 40px;
    text-align:center;
}

.cta-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.cta-content{
    position:relative;
    z-index:2;
    color:white;
}

.cta-content h2{
    font-size:65px;
    margin-bottom:20px;
}

.cta-content p{
    font-size:22px;
    margin-bottom:35px;
}

.cta-content a{
    display:inline-block;
    padding:18px 35px;
    background:#176BFF;
    color:white;
    text-decoration:none;
    border-radius:15px;
    font-weight:bold;
}

/* FOOTER */

.footer{
    background:linear-gradient(to right,#000814,#001d3d,#000814);
    color:white;
    padding:80px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-box img{
    width:190px;
    margin-bottom:20px;
}

.footer-box h3{
    margin-bottom:25px;
    font-size:24px;
}

.footer-box p{
    color:#ccc;
    line-height:1.7;
}

.footer-box ul{
    list-style:none;
}

.footer-box ul li{
    margin-bottom:15px;
}

.footer-box ul li a{
    color:white;
    text-decoration:none;
}

.social{
    display:flex;
    gap:15px;
}

.social a{
    width:50px;
    height:50px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.footer-bottom{
    margin-top:60px;
    border-top:1px solid rgba(255,255,255,.15);
    padding-top:25px;
    text-align:center;
    color:#ccc;
}

/* RESPONSIVE */

@media(max-width:1000px){

    .nav{
        display:none;
    }

    .hero-content h1{
        font-size:55px;
    }

    .search-box{
        grid-template-columns:1fr;
    }

    .finance-box{
        grid-template-columns:1fr;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:700px){

    .hero-content h1{
        font-size:42px;
    }

    .section-title h2{
        font-size:42px;
    }

    .finance-info h2{
        font-size:40px;
    }

    .cta-content h2{
        font-size:42px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

}
@media(max-width:768px){

    .nav{
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: #111;
        transition: .4s;
        padding: 20px;
    }

    .nav.active{
        right: 0;
    }

    .nav ul{
        flex-direction: column;
        gap: 20px;
    }

    .hamburger{
        display:flex;
        flex-direction:column;
        gap:5px;
        cursor:pointer;
    }

    .hamburger span{
        width:25px;
        height:3px;
        background:#fff;
    }
}

.dark-mode{
    background:#111;
    color:white;
}

.dark-mode .card-auto,
.dark-mode .finance-box,
.dark-mode .beneficio{
    background:#1d1d1d;
}