/* ============================================================
   1. home
   ============================================================ */
:root {
    --primary-blue: #1a1e60;
    --accent-red: #ee3237;
    --brand-gray: #707276;
    --white: #ffffff;
    --black-text: #1a1a1a;
    --bg-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--white);
    color: var(--black-text);
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ============================================================
   2. NAVEGACIÓN
   ============================================================ */
.navbar {
    background: var(--white);
    padding: 10px 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 110px;
    display: flex;
    align-items: center;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 80px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--brand-gray);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-red);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ============================================================
   3. HERO (CORREGIDO PARA IMAGEN CLARA)
   ============================================================ */
.hero-container {
    position: relative;
    width: 100%;
    height: 85vh;
    background: var(--white); /* Cambiado de #000 para evitar velo oscuro */
    overflow: hidden;
}

.hero-background-carousel, .swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 95%;
    object-fit: cover;
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1); /* Overlay mínimo para no tapar la imagen */
    z-index: 2;
}

.hero-content {
    position: absolute !important;
    top: 50% !important;
    left: 5% !important;
    transform: translateY(-50%) !important;
    z-index: 20;
    width: 90%;
}

.hero-text-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 30px !important;
}

/* LA "I" GIGANTE */
.hero-text-wrapper img {
    width: 180px !important; 
    height: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.6));
}

.subtitle-mission {
    font-size: 65px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    text-shadow: 3px 3px 20px rgba(0,0,0,0.8) !important;
}

/* ============================================================
   4. BENTO GRID Y SERVICIOS
   ============================================================ */
.services-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--white);
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card.card-uno { background: var(--primary-blue); }
.card.card-dos { background: var(--brand-gray); }
.card.card-tres { background: var(--accent-red); }

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.icon-card {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}

.btn {
    padding: 15px 35px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--brand-gray);
    color: var(--white);
    transition: var(--transition);
    display: inline-block;
}

/* ============================================================
   5. FOOTER
   ============================================================ */
.footer-principal {
    background: #111;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.social-icons {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #fff;
    font-size: 1.5rem;
}

/* ============================================================
   6. RESPONSIVO
   ============================================================ */
@media (max-width: 1100px) {
    .subtitle-mission { font-size: 45px !important; }
    .hero-text-wrapper img { width: 120px !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .bento-grid { grid-template-columns: 1fr; }
    .hero-text-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    .hero-text-wrapper img { width: 80px !important; }
    .subtitle-mission {
        font-size: 32px !important;
        white-space: normal !important;
    }
}

/* ============================================================
   ESTILOS EXCLUSIVOS PARA EL HERO (LA I GIGANTE)
   ============================================================ */
.hero-text-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 30px !important;
}

.hero-text-wrapper img {
    width: 240px !important; 
    height: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
    filter: drop-shadow(5px 5px 15px rgba(0,0,0,0.5));
}

.subtitle-mission {
    font-size: 65px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .hero-text-wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    .hero-text-wrapper img {
        width: 120px !important;
    }
    .subtitle-mission {
        font-size: 32px !important;
    }
}

/* ==========================================================================
   Estilos específicos para el Isotipo en la esquina del encabezado
   ========================================================================== */

/* === PASO 1: HACE QUE EL ENCABEZADO SEA EL CONTENEDOR DE REFERENCIA === */
/* Importante para que el posicionamiento absoluto del isotipo funcione dentro */
.header-interno {
    position: relative; 
}

/* === PASO 2: POSICIONA EL ISOTIPO EN LA ESQUINA INFERIOR DERECHA === */
.isotipo-esquina {
    position: absolute;
    bottom: 20px;   /* Distancia desde el borde inferior del encabezado */
    right: 20px;    /* Cambiado de 'left' a 'right' para posicionar a la derecha */
    left: auto;     /* Asegura que cualquier valor 'left' previo se anule */
    z-index: 10;    /* Asegura que esté por encima de la imagen de fondo */
}

/* === PASO 3: DEFINE EL TAMAÑO DEL ISOTIPO MÁS GRANDE === */
.isotipo-esquina img {
    /* Agrandé el isotipo de 100px a 150px. Cambia este valor para ajustar el tamaño */
    max-width: 150px; 
    height: auto;
    display: block;
}

/* ============================================================
   PÁGINA: NOSOTROS (FORMATO BENTO UNIFICADO)
   ============================================================ */
:root {
    --primary-blue: #1a1e60;
    --accent-red: #ee3237;
    --brand-gray: #707276;
    --white: #ffffff;
    --bg-light: #f4f4f4;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR & NAVBAR */
.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
    font-size: 13px;
    color: var(--brand-gray);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
}

.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 60px; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-links a.active { color: var(--accent-red); }

/* HEADER INTERNO CON IMAGEN */
.header-interno {
    position: relative;
    /* Usamos un negro muy suave (0.1) y un poco más oscuro abajo (0.3) */
    /* Esto quita el tinte azul y deja ver los colores reales de la foto */
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3)), 
                      url('CARRUSEL/principal.png');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* Forzamos a que no haya color de fondo azul detrás de la imagen */
    background-color: white; 
    
    padding: 120px 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 5px solid var(--accent-red);
}

.header-interno h1 {
    color: #ffffff;
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin: 0;
    /* Sombra más marcada para que el texto resalte sobre la imagen clara */
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.9);
}
/* GRID DE CONTENIDO (BENTO BOX) */
.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.box-info {
    padding: 40px;
    border-radius: 25px;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box-info:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-azul { background-color: var(--primary-blue); }
.card-rojo { background-color: var(--accent-red); }
.card-gris { background-color: var(--brand-gray); }

.full-width { grid-column: span 2; }

.box-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.box-header i { font-size: 2.2rem; }
.box-header h2 { font-size: 1.6rem; margin: 0; font-family: 'Orbitron', sans-serif; }

.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    gap: 15px;
    margin-top: 15px;
}

.services-list li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; line-height: 1.4; }
.services-list li i { color: #fff; opacity: 0.9; }

/* BOTÓN VOLVER */
.container-btn-volver { text-align: center; margin: 50px 0 60px 0; }

.btn-volver-custom {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 18px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-volver-custom:hover { background-color: var(--accent-red); transform: scale(1.05); }

/* FOOTER */
.footer-principal {
    background: #111;
    color: white;
    padding: 50px 0;
    text-align: center;
}

.footer-content-centered p { margin: 0; font-size: 0.9rem; color: #ccc; }

.social-icons { margin-top: 20px; display: flex; justify-content: center; gap: 25px; }
.social-link { color: white; font-size: 1.8rem; transition: color 0.3s; }
.social-link:hover { color: var(--accent-red); }

/* RESPONSIVE */
@media (max-width: 850px) {
    .header-interno h1 { font-size: 2.2rem; }
    .container-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .services-list { grid-template-columns: 1fr; }
    .box-info { padding: 30px; }
}



/* SERVICIOS */
:root {
    --primary-blue: #1a1e60;
    --accent-red: #ee3237;
    --brand-gray: #707276;
    --white: #ffffff;
    --bg-light: #f4f4f4;
}

/* ESTILOS BASE */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* BARRA SUPERIOR */
.top-bar {
    background-color: #f8f9fa;
    padding: 10px 0;
    font-size: 13px;
    color: var(--brand-gray);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
}

/* NAVEGACIÓN */
.navbar {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 60px; }

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-links a.active { color: var(--accent-red); }

/* HEADER INTERNO */
.header-interno {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-bottom: 5px solid var(--accent-red);
}

.header-interno h1 {
    font-family: 'Orbitron', sans-serif;
    margin: 0;
}

/* GRID DE SERVICIOS */
.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 40px;
}

.box-info {
    padding: 40px;
    border-radius: 25px;
    color: white;
    transition: transform 0.3s ease;
}

.box-info:hover { transform: translateY(-5px); }

.card-azul { background-color: var(--primary-blue); }
.card-rojo { background-color: var(--accent-red); }
.card-gris { background-color: var(--brand-gray); }

.full-width { grid-column: span 2; }

.box-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.box-header i { font-size: 2rem; }
.box-header h2 { font-size: 1.5rem; margin: 0; }

/* LISTA DE SERVICIOS */
.services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    padding: 0;
    gap: 15px;
}

.services-list li { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.95rem; 
}

/* --- ESTILO PARA EL NUEVO LOGO DE PUESTA A TIERRA --- */
.icon-custom {
    width: 24px; /* Tamaño ideal para alinearse con los iconos de Font Awesome */
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Esto hace que el logo negro se vea blanco para las tarjetas de color */
}

/* BOTÓN VOLVER */
.container-btn-volver { text-align: center; margin: 50px 0 20px 0; }

.btn-volver-custom {
    display: inline-block;
    background-color: var(--primary-blue);
    color: white;
    padding: 16px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-volver-custom:hover { background-color: var(--accent-red); transform: scale(1.05); }

/* CARRUSEL DE PROYECTOS */
.proyectos-section { margin-bottom: 60px; overflow: hidden; }

.titulo-carrusel {
    text-align: center;
    color: var(--primary-blue);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 30px;
}

.carousel-container { width: 100%; overflow: hidden; }

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
}

.carousel-item {
    flex: 0 0 300px;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #ddd;
    transition: all 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-item:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

/* FOOTER */
.footer-principal {
    background: #222;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.social-icons { margin-top: 15px; display: flex; justify-content: center; gap: 20px; }
.social-link { color: white; font-size: 1.5rem; }

/* RESPONSIVE DESIGN */
@media (max-width: 800px) {
    .container-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: span 1; }
    .services-list { grid-template-columns: 1fr; }
}

/* Contactos  */
/* VARIABLES GENERALES */
:root {
    --primary-blue: #1a1e60; 
    --accent-red: #ee3237;   
    --brand-gray: #707276;   
    --white: #ffffff;
    --bg-light: #f8f9fa;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: #333; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAVBAR Y TOPBAR */
.top-bar { background: var(--primary-blue); color: white; padding: 10px 0; font-size: 0.85rem; }
.top-bar-content { display: flex; justify-content: space-between; }
.navbar { background: white; padding: 15px 0; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.container-nav { display: flex; justify-content: space-between; align-items: center; }
.logo { height: 60px; }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--primary-blue); font-weight: 700; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-red); }

/* HEADER INTERNO */
.header-interno { background: var(--primary-blue); padding: 70px 0; text-align: center; color: white; border-bottom: 5px solid var(--accent-red); }
.header-interno h1 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; text-transform: uppercase; }

/* TARJETA DE CONTACTO (ESTILO BENTO) */
.contact-single-wrapper { display: flex; justify-content: center; padding: 60px 0; }
.contact-card-bento {
    background: white;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    max-width: 550px;
    width: 100%;
    text-align: center;
    border-top: 10px solid var(--primary-blue);
}

.card-header-icon {
    background: var(--bg-light);
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-blue);
    font-size: 2.2rem;
}

.contact-card-bento h3 { font-family: 'Orbitron', sans-serif; color: var(--primary-blue); margin-bottom: 5px; }
.position { color: var(--brand-gray); font-weight: 700; margin-bottom: 30px; font-size: 0.9rem; }

/* LISTA DE INFO */
.info-list-bento { text-align: left; margin-bottom: 30px; }
.info-item { display: flex; align-items: flex-start; gap: 15px; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.info-item i { color: var(--accent-red); font-size: 1.2rem; width: 25px; text-align: center; margin-top: 4px; }
.info-item strong { display: block; color: var(--primary-blue); font-size: 0.85rem; text-transform: uppercase; }
.info-item span, .info-item a { color: var(--brand-gray); text-decoration: none; font-size: 1rem; }

/* --- CORRECCIÓN DEL BOTÓN WHATSAPP --- */
.btn-whatsapp-bento {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #25d366; 
    color: white !important;
    text-decoration: none !important; /* ELIMINA SUBRAYADO */
    padding: 18px 25px;
    border-radius: 15px;
    font-weight: 800;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-whatsapp-bento:hover { background-color: #128c7e; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3); }

/* BOTÓN VOLVER */
.container-btn-volver { text-align: center; margin-bottom: 60px; }
.btn-volver-custom {
    display: inline-block;
    background: var(--brand-gray);
    color: white;
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}
.btn-volver-custom:hover { background: var(--primary-blue); }

/* FOOTER */
.footer-principal { background: #111; color: white; padding: 40px 0; text-align: center; }
.social-icons { margin-top: 20px; display: flex; justify-content: center; gap: 20px; }
.social-link { color: white; font-size: 1.6rem; transition: 0.3s; }
.social-link:hover { color: var(--accent-red); }





/* Productos */
/* ============================================================
    VARIABLES Y RESET
   ============================================================ */
:root {
    --primary: #1a1e60; 
    --accent: #ee3237;  
    --light-bg: #f8f9fa; 
    --white: #ffffff;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --border: #e1e4e8;
}

body { 
    font-family: 'Inter', sans-serif; 
    margin: 0; 
    background-color: var(--light-bg); 
    color: var(--text-dark); 
    overflow-x: hidden;
}

.container { 
    max-width: 1300px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ============================================================
    NAVBAR
   ============================================================ */
.navbar { 
    padding: 15px 0; 
    background: var(--white); 
    border-bottom: 3px solid var(--primary); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    width: 100%;
}

.container-nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.logo { height: 55px; }

.nav-links { 
    display: flex; 
    list-style: none; 
    gap: 25px; 
    margin: 0; 
}

.nav-links a { 
    text-decoration: none; 
    color: var(--primary); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.85rem; 
}

.nav-links a.active { color: var(--accent); }

/* ============================================================
    HEADER INTERNO
   ============================================================ */
.header-interno { 
    background: var(--primary); 
    color: var(--white); 
    padding: 50px 0; 
    text-align: center; 
    border-bottom: 6px solid var(--accent); 
}

.header-interno h1 { 
    font-family: 'Orbitron', sans-serif; 
    font-size: 2rem; 
    margin: 0; 
}

/* ============================================================
    CATÁLOGO LAYOUT
   ============================================================ */
.catalog-wrapper { 
    display: grid; 
    grid-template-columns: 320px 1fr; 
    gap: 30px; 
    margin: 40px auto; 
    align-items: start; 
}

/* === NUEVO: Título "Equipos y Tecnologías" === */
.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem; /* Tamaño más grande */
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent); /* Línea roja debajo */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
    ACORDEÓN (SIDEBAR)
   ============================================================ */
.brand-group { 
    background: var(--white); 
    border: 1px solid var(--border); 
    border-radius: 10px; 
    margin-bottom: 12px; 
    overflow: hidden; 
}

.brand-header { 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: 0.3s; 
}

.brand-header:hover { background: #f1f3f5; }

.brand-label { 
    color: var(--primary); 
    font-weight: 800; 
    font-size: 1rem; /* Ajustado para mejor legibilidad */
    text-transform: uppercase; 
}

.arrow-icon { 
    font-size: 0.7rem; 
    color: var(--text-muted); 
    transition: 0.3s; 
}

.brand-group.active .arrow-icon { 
    transform: rotate(180deg); 
    color: var(--accent); 
}

.brand-content { 
    max-height: 0; 
    overflow: hidden; 
    transition: max-height 0.4s ease-out; 
}

.sub-category { 
    padding: 15px 20px; 
    border-bottom: 1px solid #f1f3f5; 
}

.sub-label { 
    color: var(--accent); 
    font-size: 0.85rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    display: block; 
    margin-bottom: 8px; 
    letter-spacing: 0.5px;
}

.product-list { list-style: none; padding: 0; margin: 0; }

.product-list li { 
    padding: 8px 10px; 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    cursor: pointer; 
    border-radius: 4px; 
    transition: 0.2s; 
}

.product-list li:hover { 
    background: var(--primary); 
    color: var(--white); 
}

/* ============================================================
    VISOR DE PRODUCTOS
   ============================================================ */
.product-viewer { 
    background: var(--white); 
    border-radius: 12px; 
    padding: 40px; 
    border: 1px solid var(--border); 
    min-height: 500px; 
    position: sticky; 
    top: 110px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
}

.viewer-placeholder { 
    text-align: center; 
    padding-top: 100px; 
    color: var(--text-muted); 
}

.placeholder-logo { 
    width: 150px; 
    margin-bottom: 20px; 
}

.product-details { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    animation: fadeIn 0.4s; 
}

.product-image-side { 
    background: #fdfdfd; 
    border: 1px solid #f1f3f5; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
}

.product-image-side img { 
    max-width: 100%; 
    max-height: 350px; 
}

.brand-tag { 
    color: var(--accent); 
    font-weight: 800; 
    font-size: 0.75rem; 
}

.product-info-side h2 { 
    color: var(--primary); 
    font-size: 2.2rem; 
    margin: 10px 0; 
}

.specs-highlight { 
    background: #eef2ff; 
    color: var(--primary); 
    padding: 12px; 
    border-radius: 8px; 
    font-weight: 700; 
    border-left: 4px solid var(--accent); 
    margin: 20px 0; 
}

.p-desc { 
    color: var(--text-muted); 
    line-height: 1.6; 
    font-size: 1.05rem;
}

/* ============================================================
    BOTONES Y FOOTER
   ============================================================ */
.btn-quote { 
    display: flex; 
    background: var(--accent); 
    color: var(--white); 
    padding: 15px; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: 700; 
    justify-content: center; 
    align-items: center; 
    gap: 10px; 
    transition: 0.3s; 
}

.btn-quote:hover { 
    background: #d6282d; 
    transform: translateY(-2px); 
}

.footer-principal { 
    background: #2d3436; 
    color: var(--white); 
    padding: 30px 0; 
    margin-top: 50px; 
    text-align: center; 
}

.footer-content { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 15px; 
}

.social-icons { 
    display: flex; 
    gap: 20px; 
}

.social-link { 
    color: var(--white); 
    font-size: 1.5rem; 
    transition: 0.3s; 
}

.social-link:hover { 
    color: var(--accent); 
    transform: scale(1.2); 
}

/* ============================================================
    CAROUSEL DE MARCAS
   ============================================================ */
.brand-carousel-color {
    background: #ffffff;
    padding: 50px 0;
    border-top: 1px solid #f0f0f0;
    overflow: hidden;
}

.carousel-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    position: relative; 
}

.carousel-track { 
    display: flex; 
    width: calc(300px * 12); 
    animation: scroll 30s linear infinite; 
}

.brand-slide { 
    width: 300px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.uniform-logo {
    height: 80px; 
    max-width: 200px; 
    object-fit: contain; 
    transition: transform 0.3s ease; 
}

.brand-slide img:hover { transform: scale(1.05); }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 6)); } 
}

/* ============================================================
    UTILIDADES Y ANIMACIONES
   ============================================================ */
.hidden { display: none !important; }

@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* ============================================================
    CONFIGURACIÓN DE ESCALA (87%)
   ============================================================ */
main, .footer-principal, .brand-carousel-color {
    transform: scale(0.87);
    transform-origin: top center;
    width: 115%; 
    margin-left: -7.5%; 
}
.sidebar-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;             /* Un poco más balanceado para este texto */
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent);
    text-transform: uppercase;
    display: flex;                 /* Para alinear el icono con el texto */
    align-items: center;
    gap: 12px;                     /* Espacio entre icono y texto */
    letter-spacing: 0.5px;
}

.sidebar-title i {
    font-size: 1.2rem;
    color: var(--accent);          /* El icono en rojo para que resalte */
}

/* ============================================================
   📱 RESPONSIVE PARA CELULAR
   ============================================================ */
@media (max-width: 768px) {

    /* Contenedor general */
    .container {
        width: 100%;
        padding: 0 15px;
    }

    /* NAVBAR */
    .container-nav {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-links {
        flex-direction: column;
        gap: 12px;
    }

    .logo-container img {
        height: 60px;
        width: auto;
    }

    /* HERO */
    .hero-container {
        height: auto; /* Evita que se vea gigante */
    }

    .swiper-slide img {
        height: auto !important; /* Evita estiramiento vertical */
        width: 100% !important;
        object-fit: cover;
    }

    .hero-content {
        top: auto !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        text-align: center;
        width: 90%;
    }

    .hero-text-wrapper {
        flex-direction: column !important;
        gap: 10px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-text-wrapper img {
        width: 100px !important;
        height: auto !important;
    }

    .subtitle-mission {
        font-size: 28px !important; /* De 65px → 28px */
        white-space: normal !important; /* Permite salto de línea */
        line-height: 1.2 !important;
        text-align: center !important;
        padding: 0 10px;
    }

    /* TARJETAS */
    .bento-grid {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
        height: auto;
    }

    /* BOTONES */
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn,
    .btn-whatsapp {
        width: 100%;
        text-align: center;
    }

    /* FOOTER */
    .footer-principal .container {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        margin-top: 10px;
    }
}
/* RESPONSIVE DESIGN */
/* ... tus otros media queries ... */

@media (max-width: 480px) {
  .subtitle-mission {
    font-size: 22px;
  }

  .hero-text-wrapper img {
    width: 80px;
  }
}