/* --- VARIABLES GLOBALES DE CSS --- */
/* --- USADOS EN LA LANDING PAGE --- */
:root {
    --dark-bg: #1a1a1a; /* Un negro/gris oscuro para más contraste */
    --yellow-accent: #fec500; /* Un amarillo vibrante y llamativo */
    --light-bg: #f8f9fa; /* Un fondo claro para la sección de marcas */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #cccccc;
}

/* --- ESTILOS GENERALES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Para que el scroll entre secciones sea suave */
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--yellow-accent);
}

/* --- ENCABEZADO Y NAVEGACIÓN --- */
.main-header {
    background-color: rgba(26, 26, 26, 0.9);
    padding: 0.1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    border-bottom: 1px solid #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar-logo img {
    max-height: 90px; /* <--- CAMBIAR A ESTO */
    width: auto;      /* Asegura que el ancho sea proporcional */
}


.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--yellow-accent);
}

/* --- BOTONES --- */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: #ffde59;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--yellow-accent);
    border-color: var(--yellow-accent);
}

.btn-secondary:hover {
    background-color: var(--yellow-accent);
    color: var(--text-dark);
}

/* --- SECCIÓN PRINCIPAL (HERO) --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
    color: var(--text-muted);
}

.hero-content .btn {
    font-size: 1.1rem;
}

/* --- SECCIÓN NOSOTROS --- */
.value-section {
    padding: 6rem 0;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.value-item i {
    font-size: 3rem;
    color: var(--yellow-accent);
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- SECCIÓN MARCAS --- */
.brands-section {
    background-color: var(--light-bg);
    padding: 6rem 0;
    color: var(--text-dark);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.brands-grid img {
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brands-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- SECCIÓN CONTACTO --- */
.contact-section {
    padding: 6rem 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--yellow-accent);
}

.contact-section p {
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

/* --- PIE DE PÁGINA --- */
footer.main-footer {
    background-color: #111;
    padding: 4rem 0;
    color: var(--text-muted);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-col h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--yellow-accent);
}

.footer-logo {
    height: 35px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* --- MENÚ HAMBURGUESA PARA MÓVILES --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-light);
}


/* --- DISEÑO RESPONSIVE PARA MÓVILES Y TABLETS --- */
@media(max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px; /* Ajustar según la altura del header */
        flex-direction: column;
        background-color: var(--dark-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        padding: 1.5rem 0;
        width: 100%;
    }
    
    .nav-item-cta {
        padding-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .value-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}