:root {
    /* Paleta extraída de image_f66344.png */
    --clr-primary: #4a2521; 
    --clr-accent: #ef8a41; 
    --clr-bg: #f8f9fa;
    --clr-white: #ffffff;
    --clr-text: #333333;
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Navegación --- */
.navbar {
    background-color: var(--clr-white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Área estrictamente configurada para la inserción limpia del logo */
.logo-container {
    width: 200px;
    height: 60px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--clr-primary);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--clr-accent);
}

/* --- Botones --- */
.btn-primary, .btn-primary-small, .btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--clr-accent);
    color: var(--clr-white);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: transform 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary-small { padding: 0.5rem 1.2rem; }
.btn-primary:hover { background-color: #d67a38; transform: translateY(-3px); }

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
    border: 2px solid var(--clr-primary);
    width: 100%;
}
.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1558981403-c5f9899a28bc?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') center/cover fixed;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(74,37,33,0.95) 0%, rgba(74,37,33,0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
    color: var(--clr-white);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight { color: var(--clr-accent); }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 600px; }

/* --- Catálogo --- */
.catalog { padding: 6rem 0; }
.section-title {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.moto-card {
    background: var(--clr-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease;
}

.moto-card:hover { transform: translateY(-10px); }

.moto-img-wrapper {
    height: 250px;
    overflow: hidden;
    background-color: #ebebeb;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #ddd;
    transition: transform 0.5s ease;
}

.moto-card:hover .img-placeholder { transform: scale(1.08); }

.moto-info { padding: 2rem; text-align: center; }
.moto-info h3 { font-family: var(--font-heading); color: var(--clr-primary); font-size: 1.5rem; margin-bottom: 0.5rem; }
.specs { color: #666; font-size: 0.9rem; margin-bottom: 1.5rem; }

/* --- Historia y Confianza --- */
.trust-section { background-color: var(--clr-primary); color: var(--clr-white); padding: 5rem 0; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.trust-text h2 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--clr-accent); }
.trust-stats { display: flex; gap: 2rem; }
.stat-box { text-align: center; }
.stat-box .counter, .stat-box .plus { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 800; color: var(--clr-accent); }
.stat-box p { font-size: 1.1rem; font-weight: 500; }

/* --- Footer --- */
footer { background-color: #2a1512; color: #fff; padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-logo { filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-info h4 { font-family: var(--font-heading); color: var(--clr-accent); margin-bottom: 1rem; font-size: 1.2rem; }
.footer-info p { margin-bottom: 0.5rem; display: flex; gap: 10px; align-items: center; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; font-size: 0.9rem; }

/* --- Widget WhatsApp --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Media Queries --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* En producción se añade un menú hamburguesa */
    .trust-grid { grid-template-columns: 1fr; text-align: center; }
    .trust-stats { justify-content: center; flex-wrap: wrap; }
}
