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

        :root {
            --primary-color: #1a3a52;
            --secondary-color: #0066cc;
            --accent-color: #00a8e8;
            --light-bg: #f5f7fa;
            --dark-text: #1a1a1a;
            --text-secondary: #666666;
            --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-text);
            line-height: 1.6;
            overflow-x: hidden;
            background: #ffffff;
            padding-bottom: 0;
        }

        /* ==================== HEADER & NAV ==================== */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: var(--transition);
            background: rgba(255, 255, 255, 0.48);
            backdrop-filter: blur(10px);
        }

        header.scrolled {
            background: rgba(0, 56, 132, 0.95);
            backdrop-filter: blur(15px);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.48);
        }

        header.scrolled .logo {
            color: white;
        }

        header.scrolled .logo img{
    filter: brightness(0) invert(1);
}

        header.scrolled .nav-links a {
            color: rgba(255, 255, 255, 0.9);
        }

        header.scrolled .nav-links a::after {
            background: var(--accent-color);
        }

        header.scrolled .nav-links a:hover {
            color: white;
        }

        header.scrolled .mobile-menu-btn {
            color: white;
        }

        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 5%;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

        .logo {
            display: flex;
            align-items: center;
        }
        .logo img{
             height: 100px;
             width: 100%;
            display: block;
        }

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

        .nav-links a {
            color: var(--dark-text);
            text-decoration: none;
            font-weight: 400;
            position: relative;
            transition: var(--transition);
            font-size: 0.85rem;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--secondary-color);
            transition: var(--transition);
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* ==================== EFECTO PUNTOS FLOTANTES ==================== */
        .particles-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1; 
            pointer-events: none;
            overflow: hidden;
        }

        .particle {
            position: absolute;
            bottom: -10px;
            background: rgba(255, 255, 255, 0.4);
            border-radius: 50%;
            animation: floatUp linear infinite;
        }

        @keyframes floatUp {
            0% { transform: translateY(0); opacity: 0; }
            20% { opacity: 0.6; }
            100% { transform: translateY(-100vh); opacity: 0; }
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--primary-color);
            transition: var(--transition);
        }

        /* ==================== BANNER PRINCIPAL - SPLIT LAYOUT ==================== */
        .hero-banner {
            margin-top: 60px;
            height: 100vh;
            display: flex;
            overflow: hidden;
            position: relative;
            background: #000;
        }



        .hero-section {
            flex: 1;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 33.333%;

        }

        .hero-section.inactive {
            flex: 0.1;
            min-width: auto;
            overflow: hidden;
        }

        .hero-section.active {
            flex: 1;
        }
     
        .hero-section:nth-of-type(2) {
            background:
                linear-gradient(135deg, rgba(0,79,163,0.2), rgba(25,25,25,0.5)),
                url('../img/banner1.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;

        }

        .hero-section:nth-of-type(3) {
            background:
                linear-gradient(135deg, rgba(0,168,232,0.2), rgba(25,25,25,0.3)),
                url('../img/banner2.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
           
        }
        .hero-section:nth-of-type(1) {
            background:
                linear-gradient(135deg, rgba(0,102,204,0.1), rgba(0,79,163,0.1)),
                url('../img/banner3.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        

        .hero-section::before {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(0, 0, 0, 0.3);
            z-index: 1;
            transition: var(--transition);
        }

        .hero-section:hover::before {
            background: rgba(0, 0, 0, 0.4);
        }

        .hero-content {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 2rem;
            z-index: 2;
            transition: var(--transition);
            opacity: 1;
        }

        .hero-section.inactive .hero-content {
            justify-content: flex-end;
            padding-bottom: 2rem;
            opacity: 0.8;
        }

        .hero-content h2 {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            transition: var(--transition);
        }

        .hero-section.inactive .hero-content h2 {
            font-size: 1.2rem;
            margin-bottom: 0;
            writing-mode: vertical-rl;
            text-orientation: mixed;
            transform: rotate(180deg);
            white-space: nowrap;
        }

        .hero-content p {
            font-size: 1.2rem;
            margin-bottom: 2.5rem;
            opacity: 0.95;
            max-width: 500px;
            text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
            transition: var(--transition);
        }

        .hero-section.inactive .hero-content p {
            display: none;
        }

        .cta-button {
            display: inline-block;
            background: white;
            color: var(--primary-color);
            padding: 1rem 2.5rem;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 1rem;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .hero-section.inactive .cta-button {
            display: none;
        }

                /* ==================== STICKY FOOTER UNIFICADO ==================== */
                
        .footer-logo img {
            max-height: 55px;
            transition: 0.3s ease;
        }

        .footer-logo:hover img {
            transform: scale(1.05);
        }
        .sticky-footer {
            position: fixed;
            bottom: -100px; /* Escondido inicialmente */
            left: 0;
            right: 0;
            background: rgba(0, 56, 132, 0.95);
            backdrop-filter: blur(15px);
            color: white;
            padding: 0.6rem 5%;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
            transition: bottom 0.4s ease;
        }

        .sticky-footer.visible {
            bottom: 0 !important;
        }

        .footer-logo {
            font-weight: 700;
            font-size: 1.2rem;
            color: white;
            text-decoration: none;
            margin-right: 20px;
        }

        .footer-info-group {
            display: flex;
            gap: 20px;
            font-size: 0.8rem;
            flex-grow: 1;
            justify-content: center;
        }

        .info-item {
            display: flex;
            align-items: center;
            gap: 5px;
            color: rgba(255,255,255,0.9);
        }

        .info-item a{
            color: rgba(255,255,255,0.7);
            font-weight: 600;
            text-decoration:none;
        }
        .info-item:hover a{
            color: rgba(115,143,216,0.9);
            text-decoration:none;
        }

        .social-links {
            display: flex;
            gap: 0.8rem;
        }

        .social-links a {
            width: 32px;
            height: 32px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
            text-decoration: none;
            color: white;
            font-size: 0.9rem;
        }

        .social-links a:hover {
            background: var(--accent-color);
            transform: translateY(-3px);
        }


                .page-banner{
            height:45vh;
            display:flex;
            align-items:center;
            justify-content:center;
            background:linear-gradient(135deg,#1a3a52,#0066cc);
            margin-top:70px;
            color:white;
            text-align:center;
        }

        .page-banner h1{
            font-size:3rem;
        }

        .content-section{
            padding:80px 8%;
        }

        .grid-gallery{
            display:grid;
            grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
            gap:25px;
            margin-top:40px;
        }

        .card-hover{
            position:relative;
            overflow:hidden;
            border-radius:15px;
            cursor:pointer;
            min-height:300px;
        }

        .card-hover img{
            width:100%;
            height:100%;
            object-fit:cover;
            transition:0.5s;
        }

        .card-overlay{
            position:absolute;
            inset:0;
            background:rgba(0,0,0,0.7);
            display:flex;
            justify-content:center;
            align-items:center;
            opacity:0;
            transition:0.5s;
            padding:20px;
            text-align:center;
        }

        .card-overlay h3{
            color:white;
            font-size:1.6rem;
        }

        .card-hover:hover img{
            transform:scale(1.1);
        }

        .card-hover:hover .card-overlay{
            opacity:1;
        }



        /* ==================== RESPONSIVE ==================== */
        @media (max-width: 768px) {
            .hero-banner { height: 60vh; margin-top: 60px; }
            .hero-content h2 { font-size: 1.8rem; }
            
            /* Ajuste de Footer en Móvil */
            .sticky-footer {
                flex-direction: column;
                padding: 10px;
                height: auto;
                gap: 8px;
            }
            .footer-info-group {
                flex-direction: column;
                gap: 4px;
                text-align: center;
            }
            .info-item { justify-content: center; font-size: 0.7rem; }
            .footer-logo { margin: 0; font-size: 1rem; }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn { 
                display: block; 
                color: var(--primary-color); 
                font-size: 2rem; 
            }
            
            header.scrolled .mobile-menu-btn { color: white; }

            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background: rgba(26, 58, 82, 0.98);
                padding: 2rem;
                gap: 1.5rem;
            }

            .nav-links.active { display: flex; }
            .nav-links a { color: white; }
        }

        /* 2. Ajuste de WhatsApp con animación de movimiento */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 100px; /* Sube un poco para que el footer no lo tape */
            right: 20px;
            background-color: #25d366;
            color: #FFF;
            border-radius: 50px;
            text-align: center;
            font-size: 35px;
            box-shadow: 2px 4px 10px rgba(0,0,0,0.3);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: transform 0.3s ease;
            animation: bounce 2s infinite; /* Movimiento suave */
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            background-color: #128c7e;
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); } /* Se mueve un poquito */
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                bottom: 150px; /* Más arriba en móvil para no chocar con el footer expandido */
                width: 50px;
                height: 50px;
                font-size: 30px;
            }
        }

         /* --- ESTILOS DE LA SECCIÓN CATEGORIAS--- */

                #categorias-marcas {
            padding: 100px 20px;
            background: #f5f5f5;
            overflow: hidden;
            }

            .categorias-container {
            max-width: 1400px;
            margin: auto;
            }

        .categorias-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            max-width: 900px;
            margin: 30px auto 70px;
        }

        .categorias-title-wrap h2 {
            font-size: clamp(2.8rem, 5vw, 2.8rem);
            color: #1d3278;
            line-height: 1.1;
            font-weight: 800;
            margin-bottom: 30px;
        }

        .categorias-text p {
            color: #475569;
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 5px;
            margin-top: 2px;
            max-width: 100%;
        }

        .categoria-card {
            background: #dfe1e7;
            border-radius: 25px;
            padding: 60px 30px 35px;
            position: relative;
            box-shadow:  0 15px 35px rgba(0,0,0,0.08);
            transition:
                transform 0.4s ease,
                box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(80px);
        }

        .categoria-card.active {
            opacity: 1;
            transform: translateY(0);
        }

        .categoria-card:hover {
            transform: translateY(-10px);
            box-shadow:
                0 25px 45px rgba(0,0,0,0.12);
        }
        .categorias-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 70px 50px;
        }

        .categoria-badge {
            position: absolute;
            top: -18px;
            left: 30px;
            background: white;
            padding: 14px 28px;
            border-radius: 50px;
            font-weight: 700;
            color: #1d3278;
            box-shadow:
                0 8px 20px rgba(0,0,0,0.12);
        }

        .logos-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 22px;
        }

        .logos-grid img {
            width: 100%;
            max-width: 120px;
            height: 60px;
            object-fit: contain;
            background: rgba(255,255,255,0.6);
            padding: 12px;
            border-radius: 15px;
            margin: auto;
            transition:
                transform 0.3s ease,
                background 0.3s ease;
        }

        .logos-grid img:hover {
            transform: scale(1.08);
            background: white;
        }

        /* TABLET */

        @media (max-width: 992px) {

            .categorias-header {
                grid-template-columns: 1fr;
            }

            .categorias-grid {
                grid-template-columns: 1fr;
            }

        }

        /* MOBILE */

        @media (max-width: 768px) {

            #categorias-marcas {
                padding: 70px 15px;
            }

            .bg-title {
                top: -15px;
            }

            .categoria-card {
                padding: 55px 18px 25px;
            }

            .categoria-badge {
                left: 20px;
                font-size: 0.9rem;
                padding: 12px 18px;
            }

            .logos-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }

            .logos-grid img {
                max-width: 100px;
                height: 55px;
            }

        }

        /* --- ESTILOS DE LA SECCIÓN COBERTURA --- */
        .seccion-cobertura {
            background-color: #05142d; /* Azul oscuro del fondo */
            padding: 60px 20px;
            text-align: center;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: #ffffff;
        }

        .cobertura-titulo {
            text-align: center;
                font-size: clamp(2.5rem, 5vw, 2.5rem);
                color: #ffffff;
                margin-bottom: 25px;
                font-weight: 700;
                letter-spacing: 1px;
        }

        /* --- CONTENEDOR DEL MAPA RESPONSIVO --- */
        .mapa-contenedor {
            position: relative;
            max-width: 1200px; /* Tamaño máximo sugerido */
            margin: 0 auto;
            display: inline-block;
            width: 100%;
        }

        .mapa-imagen {
            width: 100%;
            height: auto;
            display: block;
        }

        /* --- PUNTOS INTERACTIVOS (Ubicación por %) --- */
        .punto-interactivo {
            position: absolute;
            transform: translate(-50%, -50%); /* Centra el elemento en el punto exacto */
            cursor: pointer;
            z-index: 10;
        }

        /* Coordenadas aproximadas basadas en la imagen */
        .punto-tijuana { top: 11%; left: 22%; }
        .punto-juarez { top: 14%; left: 39%; }
        .punto-monterrey { top: 40%; left: 52%; }
        .punto-elpaso { top: 11%; left: 38%; }
        .punto-chihuahua { top: 25%; left: 40%; }
        .punto-leon { top: 63%; left: 50%; }

        /* Etiqueta de texto de la ciudad */
        .ciudad-label {
            position: absolute;
            white-space: nowrap;
            color: #2f3e79;
            font-size: 13px;
            font-weight: 600;
            pointer-events: none; /* Evita que estorbe al hacer click */
        }
        
        .punto-tijuana .ciudad-label { top: 6px; left: -7px; }
        .punto-juarez .ciudad-label { top: 2px; left: -25px; font-size: 14px; color: #792f3f; }
        .punto-monterrey .ciudad-label { bottom: -20px; left: -20px; }
        .punto-elpaso .ciudad-label { bottom: 8px; left: -26px; }
        .punto-chihuahua .ciudad-label { bottom: -18px; left: -24px; }
        .punto-leon .ciudad-label { bottom: 8px; left: -4px; }


        /* Icono/Logo de la empresa (Puntito) */
        .logo-marcador {
            width: 10px;
            height: 10px;
            background-color: #00aaff; /* Puedes cambiar esto por la ruta de tu logo: background-image: url('img/logo-icono.png'); */
            border: 2px solid #ffffff;
            border-radius: 50%;
            box-shadow: 0 0 10px #00aaff;
            transition: transform 0.3s ease;
        }

        .punto-interactivo:hover .logo-marcador {
            transform: scale(1.3);
            background-color: #ffffff;
        }

        /* --- VENTANA EMERGENTE (POPUP) --- */
        .popup-info {
            display: none; /* Oculto por defecto */
            position: absolute;
            background: linear-gradient(135deg, #0b2545, #134074);
            border: 2px solid #00aaff;
            border-radius: 8px;
            padding: 15px;
            width: 260px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.5);
            z-index: 100;
            text-align: left;
            color: #fff;
            transform: translate(-50%, -110%); /* Aparece arriba del punto */
        }

        /* Posicionamiento específico del popup para que no se corte en los bordes */
        .punto-tijuana .popup-info { transform: translate(-50%, -115%); top: 0; left: 0px; }
        .punto-juarez .popup-info { transform: translate(-50%, -115%); top: 0; left: 0; }
        .punto-leon .popup-info { transform: translate(-50%, -115%); top: 0; left: 0; }
        .punto-monterrey .popup-info { transform: translate(-50%, -115%); top: 0; left: 0; }
        .punto-chihuahua .popup-info { transform: translate(-50%, -115%); top: 0; left: 0; }
        .punto-elpaso .popup-info { transform: translate(-50%, -115%); top: 0; left: 0; }

        .popup-info h4 {
            margin: 0 0 8px 0;
            color: #7fceff;
            font-size: 15px;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 5px;
        }

        .popup-info p {
            margin: 0;
            font-size: 12px;
            line-height: 1.4;
            color: #e0e0e0;
        }

        /* Botón de cerrar para móviles */
        .btn-cerrar {
            float: right;
            cursor: pointer;
            color: #aaa;
            font-weight: bold;
            font-size: 14px;
        }
        .btn-cerrar:hover { color: #fff; }

        /* --- RESPONSIVIDAD (MÓVILES) --- */
        @media (max-width: 768px) {
            .ciudad-label { font-size: 11px; }
            .punto-juarez .ciudad-label { font-size: 12px; }
            .popup-info {
                width: 200px;
                padding: 10px;
            }
            .logo-marcador {
            width: 8px;
            height: 8px;
            }
            .popup-info p { font-size: 11px; }
            /* Ajuste de popups en móvil para que queden centrados */
            .punto-tijuana .popup-info { transform: translate(-20%, -110%); top: 0; left: 0; }
        }


 /* --- ESTILOS DE LA SECCIÓN  TIMELINE--- */
       .timeline-section {
            background-color: #fdfdfd;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            width: 100%;
            max-width: 100%;
            padding: 25px 30px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        /* Contenedor principal de la línea */
        .timeline-container {
            position: relative;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
        }

        /* Línea gris de fondo */
        .timeline-line {
            position: absolute;
            top: 52px; /* Alineado exactamente con el centro de los círculos */
            left: 4%;
            right: 4%;
            height: 4px;
            background-color: #e2e8f0;
            z-index: 1;
        }

        /* Elemento de cada punto */
        .timeline-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            z-index: 2;
            cursor: pointer;
        }

        .timeline-main-title {
                text-align: center;
                font-size: clamp(1.5rem, 5vw, 1.5rem);
                color: #1f3c88;
                margin-bottom: 30px;
                font-weight: 500;
                letter-spacing: 1px;
            }

        /* Títulos superiores */
        .timeline-title {
            font-size: 11px;
            font-weight: 500;
            color: #334155;
            margin-bottom: 14px;
            text-align: center;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        .timeline-subtitle {
            display: block;
            font-size: 12px;
            font-weight: 500;
            color: #334155;
            margin-bottom: 14px;
            text-align: center;
            transition: color 0.3s ease;
            white-space: nowrap;
        }

        /* Círculo indicador (Nodo) */
        .timeline-node {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background-color: #cbd5e1; 
            border: 4px solid #fff;
            box-shadow: 0 0 0 2px #cbd5e1;
            transition: all 0.3s ease;
        }

        /* Efectos Hover y Estado Activo */
        .timeline-item:hover .timeline-title,
        .timeline-item.active .timeline-title {
            color: #f57c00;
        }

        .timeline-item:hover .timeline-node,
        .timeline-item.active .timeline-node {
            background-color: #738fd8;
            box-shadow: 0 0 0 2px #738fd8;
            transform: scale(1.15);
        }

        /* Contenedor dinámico para la información inferior */
        .info-display-container {
            min-height: 100px;
            margin-top: 30px;
            display: flex;
            justify-content: flex-start;
            position: relative;
        }

        /* Cuadro de contenido (Tooltip / Popover inferior) */
        .info-card {
            background: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 6px;
            padding: 20px;
            width: 100%;
            max-width: 680px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            display: none; /* Se controla por JS */
            position: absolute;
            left: 0;
            animation: fadeIn transform 0.4s ease;
            z-index: 9999;
        }

        .info-card.active {
            display: block;
        }

        /* Flecha decorativa superior de la tarjeta, alineada dinámicamente */
        .info-card::before {
            content: '';
            position: absolute;
            top: -10px;
            left: var(--arrow-left-pos, 45px);
            border-width: 0 10px 10px 10px;
            border-style: solid;
            border-color: transparent transparent #ffffff transparent;
            z-index: 3;
            transition: left 0.3s ease;
        }

        .info-card::after {
            content: '';
            position: absolute;
            top: -11px;
            left: var(--arrow-left-pos, 45px);
            border-width: 0 10px 10px 10px;
            border-style: solid;
            border-color: transparent transparent #e2e8f0 transparent;
            z-index: 2;
            transition: left 0.3s ease;
        }

        /* Contenido interno de la tarjeta */
        .info-content {
            display: flex;
            align-items: flex-start;
            gap: 20px;
        }

        /* Icono circular azul */
        .info-icon-wrapper {
            background-color: #1e3a8a;
            color: #ffffff;
            width: 58px;
            height: 58px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
        }

        /* Representación SVG del icono de la imagen (Libro/Líneas de la empresa) */
        .info-icon-wrapper svg {
            width: 36px;
            height: 36px;
            fill: currentColor;
        }
        .info-logo {
           width: 42px;
            height: auto;
            object-fit: contain;
        }

        .info-text-block {
            flex: 1;
        }

        .info-card-title {
            font-size: 15px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 10px;
                    }

        .info-card-description {
            font-size: 11px;
            color: #64748b;
            line-height: 1.6;
            text-align: justify;
        }

        .highlight-text {
            font-weight: 500;
            color: #334155;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* Animación suave */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsividad básica */
        @media (max-width: 768px) {

    .timeline-section {
        padding: 60px 20px;
        overflow: visible;
    }

    /* CONTENEDOR GENERAL */

    .timeline-container {
        display: flex;
        flex-direction: column;
        position: relative;
        gap: 22px;
        padding-left: 35px;
    }

    /* LINEA VERTICAL */
    .timeline-line {
        position: absolute;
        top: 8px;
        bottom: 8px;
        left: 14px;
        width: 3px;
        background: #dbe2ea;
        height: auto;
    }

    /* ITEMS */

    .timeline-item {
        display: flex;
        align-items: center;
        gap: 16px;
        position: relative;
        width: 100%;
    }

    /* NODO */

    .timeline-node {
        width: 24px;
        height: 24px;
        min-width: 24px;
        border-radius: 50%;
        background: white;
        border: 3px solid #cbd5e1;
        position: relative;
        z-index: 5;
        flex-shrink: 0;
    }

    .timeline-item.active .timeline-node {
        border-color: #f97316;
        background: #fff7ed;
    }

    /* TEXTO */

    .timeline-title {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        white-space: normal;
        text-align: left;
        color: #1e293b;
    }

    /* CARD */

    .info-display-container {
        margin-top: 10px;
        min-height: auto;
        width: 100%;
    }

    .info-card {

        position: relative !important;
        left: 0 !important;
        top: 0 !important;
        width: 100%;
        max-width: 100%;
        margin-top: 20px;
        border-radius: 20px;
        padding: 22px;
        transform: none !important;
    }

    /* QUITAR FLECHITA */

    .info-card::before,
    .info-card::after {

        display: none;
    }

    /* CONTENIDO */

    .info-content {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .info-card-title {
        font-size: 16px;
        line-height: 1.4;
    }

    .info-card-description {
        font-size: 13px;
        line-height: 1.8;
    }

}


 /* --- ESTILOS DE LA SECCIÓN  LINAS DE MANEJO--- */
            
            #lineasdemanejo {
                padding: 90px 20px;
                background: #f4f6fb;
                overflow: hidden;
            }

            .lineas-container {
                max-width: 1400px;
                margin: auto;
            }

            .lineas-title {
                text-align: center;
                font-size: clamp(2.5rem, 5vw, 2.5rem);
                color: #1f3c88;
                margin-bottom: 60px;
                font-weight: 700;
                letter-spacing: 1px;
            }

            .lineas-grid {
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 25px;
            }

            .linea-item {
                display: flex;
                align-items: center;
                gap: 15px;

                background: linear-gradient(90deg, #d9ddea, #c8cede);
                padding: 18px 22px;
                border-radius: 50px;

                box-shadow: 0 8px 20px rgba(0,0,0,0.08);

                transition:
                    transform 0.4s ease,
                    box-shadow 0.4s ease,
                    background 0.4s ease;

                opacity: 0;
                transform: translateY(60px);
            }

            .linea-item.active {
                opacity: 1;
                transform: translateY(0);
            }

            .linea-item:hover {
                transform: translateY(-8px);
                box-shadow: 0 15px 30px rgba(0,0,0,0.12);
                background: linear-gradient(90deg, #dfe4f2, #d2d8e8);
            }

            .linea-item i {
                width: 50px;
                height: 50px;
                background: white;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #1f3c88;
                font-size: 1.2rem;
                flex-shrink: 0;
                box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            }

            .linea-item span {
                color: #1f3c88;
                font-size: 1.05rem;
                font-weight: 700;
                line-height: 1.2;
            }

            /* TABLET */
            @media (max-width: 992px) {
                .lineas-grid {
                    grid-template-columns: repeat(2, 1fr);
                }

            }

            /* MOBILE */
            @media (max-width: 768px) {
                #lineasdemanejo {
                    padding: 70px 15px;
                }

                .lineas-grid {
                    grid-template-columns: 1fr;
                    gap: 18px;
                }

                .linea-item {
                    padding: 16px 18px;
                    border-radius: 25px;
                }

                .linea-item span {
                    font-size: 0.95rem;
                }

                .linea-item i {
                    width: 45px;
                    height: 45px;
                    font-size: 1rem;
                }

            }

             /* --- ESTILOS DE LA SECCIÓN CLIENTES --- */

            #clientes {
                padding: 50px 20px;
                background: #f8fafc;
                overflow: hidden;
            }

            .clientes-header {
                text-align: center;
                max-width: 850px;
                margin: 0 auto 70px;
            }

            .clientes-subtitle {
                display: block;
                font-size: 14px;
                font-weight: 700;
                letter-spacing: 2px;
                color: #64748b;
                margin-bottom: 1px;
            }

            .clientes-title {
                text-align: center;
                font-size: clamp(2.5rem, 5vw, 2.5rem);
                color: #1f3c88;
                margin-bottom: 3px;
                font-weight: 700;
                letter-spacing: 1px;
            }

            .clientes-text {
                color: #475569;
                font-size: 1.05rem;
                line-height: 1.8;
            }

            .clientes-slider {
                position: relative;
                overflow: hidden;
            }

            .clientes-track {
                display: flex;
                align-items: center;
                gap: 35px;
                width: max-content;
                animation: scrollClientes 35s linear infinite;
            }

            .cliente-item {
                width: 220px;
                height: 120px;
                background: white;
                border-radius: 24px;
                display: flex;
                align-items: center;
                justify-content: center;
                padding: 15px;
                box-shadow:
                    0 10px 25px rgba(0,0,0,0.06);
                transition:
                    transform 0.3s ease,
                    box-shadow 0.3s ease;
            }

            .cliente-item:hover {
                transform: translateY(-8px);
                box-shadow:
                    0 18px 35px rgba(0,0,0,0.1);
            }

            .cliente-item img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                filter: grayscale(10%);
                opacity: 0.8;
                transition:
                    filter 0.3s ease,
                    opacity 0.3s ease,
                    transform 0.3s ease;
            }

            .cliente-item:hover img {
                filter: grayscale(0%);
                opacity: 1;
                transform: scale(1.05);
            }

            @keyframes scrollClientes {
                from {
                    transform: translateX(0);
                }
                to {
                    transform: translateX(-50%);
                }

            }

            /* TABLET */
            @media (max-width: 992px) {
                .cliente-item {
                    width: 180px;
                    height: 100px;
                }

            }

            /* MOBILE */
            @media (max-width: 768px) {
                #clientes {
                    padding: 70px 15px;
                }
                .clientes-track {
                    gap: 20px;
                }
                .cliente-item {
                    width: 150px;
                    height: 85px;
                    padding: 18px;
                    border-radius: 18px;
                }

            }

 /* --- ESTILOS DE LA SECCIÓN DISTRIBUIDORES --- */

            #distribuidores {
            padding: 70px 20px;
            background: #f5f7fb;
            overflow: hidden;
        }

        .distribuidores-container {
            max-width: 1450px;
            margin: auto;
        }

        /* HEADER */

        .distribuidores-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            max-width: 900px;
            margin: 0 auto 90px;
        }

        .distribuidores-subtitle {
            display: block;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 2px;
            color: #1d3278;
            margin-bottom: 3px;
        }

        .distribuidores-title-wrap h2 {
                text-align: center;
                font-size: clamp(2.5rem, 5vw, 2.5rem);
                color: #1f3c88;
                margin-bottom: 6px;
                font-weight: 700;
                letter-spacing: 1px;                
        }

        .distribuidores-text p {
            color: #475569;
            font-size: 1.05rem;
            line-height: 1.8;
            margin-bottom: 5px;
            margin-top: 2px;
            max-width: 100%;
        }

        /* GRID */
        .distribuidores-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
        }

        /* CARD */
        .distribuidor-card {
            background: white;
            border-radius: 30px;
            padding: 30px;
            position: relative;
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
            transition:
                transform 0.4s ease,
                box-shadow 0.4s ease;
            opacity: 0;
            transform: translateY(70px);
        }

        .distribuidor-card.active {
            opacity: 1;
            transform: translateY(0);
        }

        .distribuidor-card:hover {
            transform: translateY(-10px);
            box-shadow:
                0 25px 45px rgba(0,0,0,0.12);
        }

        /* TOP */
        .distribuidor-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 25px;
        }

        .distribuidor-logo {
            width: 180px;
            max-width: 100%;
            object-fit: contain;
        }

        .distribuidor-producto {
            width: 95px;
            height: 95px;
            object-fit: contain;
        }

        /* LIST */
        .distribuidor-list {
            padding-left: 18px;
        }

        .distribuidor-list li {
            color: #1d3278;
            font-size: 13px;
            line-height: 1;
            margin-bottom: 10px;
        }

        /* ANIMACION */
        .reveal {
            opacity: 0;
            transform: translateY(70px);
            transition:
                opacity 0.8s ease,
                transform 0.8s ease;
        }

        .reveal.active {
            opacity: 1;
            transform: translateY(0);
        }

        /* TABLET */
        @media (max-width: 1100px) {
            .distribuidores-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* MOBILE */
        @media (max-width: 768px) {
            #distribuidores {
                padding: 80px 15px;
            }

            .distribuidores-grid {
                grid-template-columns: 1fr;
                gap: 28px;
            }

            .distribuidor-card {
                padding: 24px;
            }

            .distribuidor-top {
                flex-direction: column;
                text-align: center;
            }

            .distribuidor-logo {
                width: 160px;
            }

            .distribuidor-producto {
                width: 85px;
                height: 85px;
            }

            .distribuidor-list li {
                font-size: 11px;
            }

        }

/* =========================================
   NOSOTROS SECTION NUEVA
========================================= */

.nosotros-section{
    padding: 20px 20px;
    background: #f8fafc;
    overflow: hidden;
}

.nosotros-container{
    max-width: 1400px;
    margin: auto;
}

/* HEADER */

.nosotros-header{
    text-align: center;
    margin-bottom: 70px;
}

.nosotros-subtitle{
    display: inline-block;
    color: #0066cc;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.nosotros-title{
    font-size: clamp(2.5rem,5vw,2.8rem);
    color: #1f3c88;
    font-weight: 800;
    margin-bottom: 35px;
}

/* BANNER */

.nosotros-banner{
    width: 100%;
    max-width: 1100px;
    height: 280px;
    margin: auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.nosotros-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GRID */

.nosotros-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

/* REVERSE */

.nosotros-grid.reverse{
    margin-top: 80px;
}

/* IMAGE 

.nosotros-image{
    width: 100%;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.nosotros-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.nosotros-image:hover img{
    transform: scale(1.05);
}*/

.nosotros-video{
    width:100%;
    overflow:hidden;
    aspect-ratio:16/9;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.nosotros-video video{
    width:100%;
    height:100%;
    object-fit: cover;
    display:block;
}

/* CONTENT */

.nosotros-content h3{
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 20px;
    font-weight: 700;
}

.nosotros-content p{
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

/* FULL TEXT */

.nosotros-full-text{
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.nosotros-full-text p{
    color: #475569;
    line-height: 1.9;
    font-size: 1.05rem;
    text-align: justify;
}

/* RESPONSIVE */

@media(max-width: 992px){

    .nosotros-grid{
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .nosotros-grid.reverse .nosotros-image{
        order: 1;
    }

    .nosotros-grid.reverse .nosotros-content{
        order: 2;
    }

    .nosotros-banner{
        height: 220px;
    }

}

@media(max-width: 768px){

    .nosotros-section{
        padding: 70px 15px;
    }

    .nosotros-title{
        font-size: 2.2rem;
    }

    .nosotros-banner{
        height: 180px;
        border-radius: 18px;
    }

    .nosotros-content h3{
        font-size: 1.6rem;
    }

    .nosotros-content p,
    .nosotros-full-text p{
        font-size: 0.98rem;
        line-height: 1.8;
    }

    .nosotros-full-text{
        padding: 25px;
    }

}

/* ===============================
   GALERÍA CORPORATIVA
================================= */

.galeria-section{
    padding:30px 60px;
    background:#f8fafc;
    overflow:hidden;
}

.galeria-slider{
    overflow:hidden;
    position:relative;
    width:100%;
}

.galeria-track{
    display:flex;
    width:max-content;
    animation: scrollGaleria 40s linear infinite;
    gap:20px;
}

.galeria-slider:hover .galeria-track{
    animation-play-state: paused;
}

.foto-item{
    width:280px;
    height:180px;
    flex-shrink:0;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.4s ease;
}

.foto-item:hover{
    transform:translateY(-8px);
}

.foto-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s ease;
}

.foto-item:hover img{
    transform:scale(1.08);
}

@keyframes scrollGaleria{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}


.page-banner{
    height:280px;
    background:
        linear-gradient(rgba(13,76,146,.55), rgba(13,76,146,.65)),
        url('../img/nosotros-1.jpg');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
}

.banner-overlay{
    color:#fff;
}

.banner-overlay h1{
    font-size:3rem;
    margin-bottom:10px;
}

.banner-overlay p{
    font-size:15px;
}

.contact-section{
    padding:100px 8%;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
     align-items:stretch;
}

.contact-infos{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.infos-item{
    padding:20px;
    font-size:14px;
    background:#fff;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,.09);
}

.infos-item a{
        color:rgba(0, 56, 132, 0.95);
        font-weight: 700;
        text-decoration:none;
}
.infos-item:hover a{
            color: rgba(115,143,216,0.9);
            text-decoration:none;
        }

.map-section{
    width:100%;
    padding:0;
    margin-top:40px;
}

.map-section iframe{
    width:100%;
    height: 100%;
    min-height:450px;
    border:none;
    display:block;
    border-radius:15px;
}
