/* ==========================
RESET
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f8f9fb;
    color: #1f2937;
}


/* ==========================
HEADER
========================== */

header {
    width: 100%;
    padding: 22px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    color: #111827;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: .3s;
}

nav a:hover {
    color: #ff6600;
}


/* ==========================
HERO
========================== */

.hero {
    max-width: 1200px;
    margin: auto;
    padding: 100px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.hero-text {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fff1e8;
    color: #ff6600;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 58px;
    line-height: 1.1;
    color: #003478;
    margin-bottom: 25px;
}

.hero p {
    color: #5b6472;
    line-height: 1.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn,
.btn-whatsapp {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.btn {
    background: #ff6600;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
}

.hero-image img {
    width: 100%;
    display: block;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0,0,0,.12);
}


/* ==========================
TÍTULOS
========================== */

.title {
    max-width: 800px;
    margin: auto;
    text-align: center;
    margin-bottom: 55px;
}

.title span {
    color: #ff6600;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.title h2 {
    font-size: 42px;
    color: #003478;
    margin: 12px 0;
}

.title p {
    color: #667085;
    line-height: 1.8;
}


/* ==========================
MARCAS
========================== */

.brands {
    background: white;
    padding: 90px 30px;
}

.brands-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    padding: 30px;
    background: #f8f9fb;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    color: #003478;
    font-size: 20px;
    font-weight: 700;
    transition: .3s;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}


/* ==========================
INVENTARIO
========================== */

.inventory {
    padding: 100px 30px;
}

.vehicle-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.vehicle-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    transition: .3s;
}

.vehicle-card:hover {
    transform: translateY(-7px);
}

.vehicle-image {
    height: 280px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-content {
    padding: 30px;
}

.vehicle-badge {
    color: #ff6600;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicle-content h3 {
    color: #003478;
    font-size: 26px;
    margin: 10px 0 15px;
}

.vehicle-content p {
    color: #667085;
    line-height: 1.8;
    margin-bottom: 25px;
}

.vehicle-button {
    display: inline-block;
    color: #003478;
    font-weight: 700;
    text-decoration: none;
}

.vehicle-button:hover {
    color: #ff6600;
}


/* ==========================
CÓMO FUNCIONA
========================== */

.how {
    background: white;
    padding: 100px 30px;
}

.how-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.how-card {
    padding: 35px;
    border-radius: 18px;
    background: #f8f9fb;
}

.how-number {
    color: #ff6600;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
}

.how-card h3 {
    color: #003478;
    margin-bottom: 15px;
}

.how-card p {
    color: #667085;
    line-height: 1.8;
}


/* ==========================
CONTACTO
========================== */

.contact-section {
    padding: 100px 30px;
    background: #003478;
}

.contact-box {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: white;
}

.contact-box span {
    color: #ff6600;
    font-weight: 700;
    text-transform: uppercase;
}

.contact-box h2 {
    font-size: 42px;
    margin: 15px 0 20px;
}

.contact-box p {
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
    opacity: .9;
}

.contact-whatsapp {
    display: inline-block;
    padding: 17px 32px;
    background: #25D366;
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.contact-whatsapp:hover {
    transform: translateY(-3px);
}


/* ==========================
FOOTER
========================== */

.footer {
    background: #111827;
    color: white;
    padding: 70px 30px 0;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 400px;
    color: #b8bec8;
    line-height: 1.8;
}

.footer h3 {
    font-size: 17px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #b8bec8;
    text-decoration: none;
    transition: .3s;
}

.footer-links a:hover {
    color: #ff6600;
}

.footer-contact p {
    color: #b8bec8;
    margin-bottom: 15px;
}

.footer-contact a {
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1200px;
    margin: auto;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #8d95a3;
    font-size: 13px;
}


/* ==========================
WHATSAPP FLOTANTE
========================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 9999;
    transition: .3s;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}


/* ==========================
RESPONSIVE
========================== */

@media(max-width:900px) {

    .hero {
        grid-template-columns: 1fr;
        padding-top: 70px;
    }

    .hero h1 {
        font-size: 45px;
    }

    .brands-grid {
        grid-template-columns: 1fr 1fr;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .how-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media(max-width:600px) {

    header {
        padding: 18px 20px;
        flex-direction: column;
        gap: 15px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        text-align: center;
    }

    .brands {
        padding: 70px 20px;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .inventory {
        padding: 70px 20px;
    }

    .how {
        padding: 70px 20px;
    }

    .contact-section {
        padding: 70px 20px;
    }

    .contact-box h2 {
        font-size: 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}