*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f7fb;
    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-catalogo{
    width:100%;
    height:100vh;
    background:url('carro_ciudad-de-frente.webp');
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0 8%;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(to bottom,
    rgba(0,0,0,.7),
    rgba(0,0,0,.6));
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:850px;
    color:white;
}

.tag{
    display:inline-block;
    background:#176BFF;
    padding:10px 22px;
    border-radius:50px;
    font-size:14px;
    font-weight:bold;
    letter-spacing:1px;
}

.hero-content h1{
    font-size:85px;
    margin:30px 0;
    line-height:1.1;
}

.hero-content p{
    font-size:22px;
    color:#ddd;
    line-height:1.7;
    margin-bottom:40px;
}

/* SEARCH */

.search-box{
    background:white;
    padding:15px;
    border-radius:25px;
    display:flex;
    gap:15px;
    max-width:700px;
    margin:auto;
    box-shadow:0 20px 50px rgba(0,0,0,.2);
}

.input-box{
    flex:1;
    display:flex;
    align-items:center;
    padding:0 20px;
}

.input-box i{
    color:#176BFF;
    margin-right:12px;
}

.input-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
}

.search-box button{
    border:none;
    padding:18px 35px;
    background:#176BFF;
    color:white;
    border-radius:18px;
    font-weight:bold;
    cursor:pointer;
}

/* FILTROS */

.filtros{
    display:flex;
    justify-content:center;
    gap:20px;
    padding:60px 8%;
    flex-wrap:wrap;
}

.filtros button{
    border:none;
    padding:15px 28px;
    border-radius:50px;
    background:white;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.filtros button:hover,
.filtros .activo{
    background:#176BFF;
    color:white;
}

/* CATALOGO */

.catalogo{
    padding:0 8% 120px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,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);
}

.img-box{
    position:relative;
    height:260px;
    overflow:hidden;
}

.img-box 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;
    color:#176BFF;
    font-size:18px;
    cursor:pointer;
}

.categoria{
    position:absolute;
    bottom:20px;
    left:20px;
    background:#176BFF;
    color:white;
    padding:10px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:bold;
}

.contenido{
    padding:30px;
}

.top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.top h2{
    font-size:30px;
}

.top h3{
    color:#176BFF;
}

.contenido p{
    color:#666;
    line-height:1.7;
    margin-bottom:25px;
}

.detalles{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:30px;
}

.detalles span{
    background:#f2f5fa;
    padding:12px 15px;
    border-radius:12px;
    font-size:14px;
}

.contenido a{
    display:inline-block;
    padding:16px 28px;
    background:#176BFF;
    color:white;
    text-decoration:none;
    border-radius:14px;
    font-weight:bold;
}

/* 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:60px;
    margin-bottom:20px;
}

.cta-content p{
    font-size:22px;
    margin-bottom:35px;
}

.cta-content a{
    display:inline-block;
    padding:18px 35px;
    border-radius:15px;
    background:#176BFF;
    color:white;
    text-decoration:none;
    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:180px;
    margin-bottom:20px;
}

.footer-box h3{
    margin-bottom:20px;
    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,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-decoration:none;
    transition:.3s;
}

.social a:hover{
    background:#176BFF;
}

.footer-bottom{
    margin-top:60px;
    padding-top:25px;
    border-top:1px solid rgba(255,255,255,.15);
    text-align:center;
    color:#ccc;
}

/* RESPONSIVE */

@media(max-width:1000px){

    .nav{
        display:none;
    }

    .hero-content h1{
        font-size:55px;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:700px){

    .hero-content h1{
        font-size:42px;
    }

    .search-box{
        flex-direction:column;
    }

    .cta-content h2{
        font-size:42px;
    }

    .footer-grid{
        grid-template-columns:1fr;
    }

}