
        /* --- BASE --- */
        :root { --primary: #1F4E5F; --secondary: #00B4D8; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { font-family: 'Helvetica Neue', Arial, sans-serif; color: #333; background: #fff; overflow-x: hidden; }
        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

        /* --- HEADER GLASS --- */
        header { background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
        .header-flex { display: flex; justify-content: space-between; align-items: center; }
        .logo-group { display: flex; align-items: center; gap: 10px; }
        .logo-group img { height: 55px; }
        nav ul { display: flex; list-style: none; gap: 20px; align-items: center; }
        nav a { font-size: 13px; font-weight: bold; text-transform: uppercase; text-decoration: none; color: #333; }
        .btn-header { background: var(--primary); color: #fff !important; padding: 10px 20px; border-radius: 4px; }

        /* --- HERO --- */
        .hero {
    position: relative;
  
    background: url('img/fondo-escritorio.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    width: 800px; 
    height: 600px;
    
    background: rgba(15, 125, 168, 0.322); 
    
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    
    filter: blur(60px);
    z-index: 1; /* Capa intermedia */
}

.hero-content {
    position: relative;
    z-index: 2; /* CAPA SUPERIOR: Debe ser mayor que el de la mancha */
    text-align: center;
}

.main-logo {
    width: 320px; /* Tamaño del logo */
    margin-bottom: 25px;
}

.hero h1 {
    font-size: 45px;
    font-weight: 900;
    color: #000;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
}
        @keyframes moveAura { 0% { transform: translate(-5%, -5%); } 100% { transform: translate(5%, 5%); } }
        .hero-content { position: relative; z-index: 10; animation: fadeIn 1s ease-in; }
        .hero-content img { width: 320px; margin-bottom: 20px; }
        .hero h2 { font-size: 50px; font-weight: 900; color: #000; letter-spacing: -2px; }
        .hero p { font-size: 18px; color: #666; letter-spacing: 3px; text-transform: uppercase; }

        /* --- ANIMACIONES REVEAL --- */
        .reveal { opacity: 0; transform: translateY(30px); transition: 0.8s all ease; }
        .reveal.active { opacity: 1; transform: translateY(0); }

        /* --- SECCIONES --- */
        .section-padding { padding: 90px 0; }
        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
        .title-blue { color: var(--primary); font-size: 32px; font-weight: 800; text-transform: uppercase; margin-bottom: 25px; }
        .content-p { font-size: 16px; color: #555; line-height: 1.7; margin-bottom: 20px; text-align: justify; }
        .img-placeholder { background: #f9f9f9; height: 350px; border-radius: 12px; border: 1px solid #eee; }
      
        .fondo-hacemos {
         background-color: #03687a91; /* Azul muy pálido */
         width: 100%;
         border-top: 1px solid #03687a91;
         border-bottom: 1px solid #e1e8eb;
        }
        /* --- CENTRADO DE PASOS DE PROCESO --- */
        .steps-section {
        display: flex;
        align-items: center; /* Centra verticalmente los pasos con el texto lateral */
        padding: 80px 0;
        border-top: 1px solid #f0f0f0;
       }

        .steps-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        width: 100%;
        justify-content: center; /* Centra la cuadrícula */
      }

       .step-item {
        text-align: center; /* Centra el texto de cada paso */
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra el círculo, el título y el párrafo */
      }

      .step-number {
        width: 55px;
        height: 55px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
       align-items: center;
       justify-content: center;
       font-size: 22px;
       color: #aaa;
       margin-bottom: 25px; /* Mantiene el espacio debajo del círculo */
       transition: background 0.3s ease, color 0.3s ease;
     }

     /* Efecto visual cuando pasas el mouse */
     .step-item:hover .step-number {
      background: #1F4E5F;
      color: #fff;
      transform: scale(1.1);
     }
     /* --- EQUIPO --- */
        .team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-top: 30px; }
        .member-item { border: 1px solid #eee; padding: 20px; text-align: center; border-radius: 8px; transition: 0.3s; }
        .member-item:hover { transform: translateY(-5px); border-color: var(--secondary); }
        .member-item h4 { color: var(--primary); font-size: 16px; margin-bottom: 5px; }
        .member-item span { color: var(--secondary); font-size: 10px; font-weight: bold; text-transform: uppercase; }

        /* --- SERVICIOS 4x4 --- */
        .services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 50px; }
        .service-box { background: #fff; padding: 30px 20px; border: 1px solid #0ab9d8; border-radius: 10px; text-align: center; transition: 0.3s; }
        .service-box:hover { transform: translateY(-10px); border-color: var(--primary); }
        .service-box i { font-size: 40px; color: var(--primary); margin-bottom: 15px; display: block; }
        .service-box ul { list-style: none; font-size: 13px; color: #777; text-align: left; display: inline-block; }
        .service-box li::before { content: "+ "; font-weight: bold; }
        
        /* Estilo específico para la tarjeta de Medusa */
        .medusa-card {
         text-align: center; /* Mantiene el título y botón centrados */
         padding: 30px;
         }   

        .medusa-description {
         text-align: justify; /* JUSTIFICA EL TEXTO de los párrafos */
         font-size: 14px;
         color: #555;
         line-height: 1.6;
         margin-bottom: 15px;
         }

        .medusa-list {
         list-style: none; 
         padding: 0;
         margin: 20px 0;
         text-align: left; /* Alineamos la lista a la izquierda para que los + luzcan */
         display: inline-block; /* Centra el bloque de la lista en la tarjeta */
         }

        .medusa-list li {
         font-size: 15px;
         color: #333;
         margin-bottom: 8px;
         position: relative;
         padding-left: 25px; /* Espacio para el símbolo + */
         }

       /* Ponemos un solo símbolo + elegante y azul */
         .medusa-list li::before {
          content: "+";
          color: #00B4D8;
          font-weight: bold;
          position: absolute;
          left: 0;
         }

        /* --- CONTACTO --- */
        .contact-bar { background: #f5f5f5; padding: 60px 0; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-top: 1px solid #eee; }
        .contact-bar div p { font-size: 14px; margin-top: 10px; color: #666; }

        /* --- CARRUSEL SEGURO --- */
        .carousel { padding: 60px 0; overflow: hidden; background: #fff; border-top: 1px solid #eee; }
        .track { display: flex; width: max-content; animation: scroll 30s linear infinite; }
        .logo-box { width: 200px; margin: 0 40px; text-align: center; font-weight: 900; color: #ddd; font-size: 22px; letter-spacing: 2px; }

        @keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        footer { padding: 40px; text-align: center; color: #999; font-size: 14px; }
        
        /* --- ESTILO DE EQUIPO CON FOTOS RECTANGULARES (AJUSTADO) --- */
         .team-grid { 
          display: grid; 
          grid-template-columns: repeat(5, 1fr); 
          gap: 20px; /* Espacio entre los cuadros */
          margin-top: 30px; 
         }

         .member-item { 
          border: 1px solid #eee; 
          border-radius: 8px; /* Mantiene la esquina suave del cuadro original */
          background: #fff;
          transition: all 0.3s ease; 
          overflow: hidden; /* Importante para que la foto respete el borde del cuadro */
          padding: 0; /* Quitamos el padding original para que la foto llene el ancho */
          text-align: center;
         }

         /* Efecto hover: el cuadro se eleva ligeramente */
         .member-item:hover { 
          transform: translateY(-5px); 
          border-color: #00B4D8; 
          box-shadow: 0 10px 25px rgba(0,0,0,0.05); 
         }

        /* --- Contenedor de la foto (arriba) --- */
         .member-photo-box { 
          width: 100%; 
          height: 250px; /* altura fotos */
          background: #f4f4f4; /* Color gris falta imagen */
          overflow: hidden;
          border-bottom: 1px solid #eee; /* Línea sutil que separa la foto del texto */
         }

         .member-photo-box img { 
          width: 100%; 
          height: 100%; 
          object-fit: cover; /* Llena el contenedor sin estirar la imagen */
          object-position: center top; /* Centra la imagen y prioriza mostrar la cabeza */
          transition: transform 0.3s ease; /* Prepara para el efecto hover de la foto */
         }

         /* Efecto hover en la foto: se acerca suavemente */
         .member-item:hover .member-photo-box img {
          transform: scale(1.05);
         }

         /* --- Títulos y cargos centrados (Padding agregado) --- */
         .member-item h4 { 
          color: #1F4E5F; 
          font-size: 17px; 
          font-weight: 700;
          margin: 20px 10px 5px; /* Margen arriba, lados, abajo */
         }

         .member-item span { 
          color: #00B4D8; 
          font-size: 11px; 
          font-weight: bold; 
          text-transform: uppercase; 
          letter-spacing: 1px;
          margin: 0 10px 20px; /* Margen arriba, lados, abajo */
          display: block; /* Ocupa todo el ancho */
         }
         /* Estilo para la imagen de Quiénes Somos */
         .img-box-quienes {
          width: 100%;
          height: 350px; /* Mantén la altura que ya tenías */
          border-radius: 8px;
          overflow: hidden;
          border: 1px solid #eee;
         }

         .img-box-quienes img {
          width: 100%;
          height: 100%;
          object-fit: cover; /* Esto hace que la imagen llene el recuadro sin estirarse */
          object-position: center; /* La centra para que se vea lo más importante */
          display: block;
         }
         /* Estilo para la imagen de la izquierda (Lo que hacemos) */
         .img-box-hacemos {
          width: 100%;
          height: 400px; /* He subido un poco la altura para que luzca más la información técnica */
          border-radius: 8px;
          overflow: hidden;
          border: 1px solid #eee;
         }

         .img-box-hacemos img {
          width: 100%;
          height: 100%;
          object-fit: cover; /* Mantiene la proporción sin estirar */
          object-position: center;
         display: block;
         }

         .logo-box {
         width: 250px; /* Mantén el ancho que ya tenías o ajústalo */
         margin: 0 160px;
         display: flex;
         align-items: center;
         justify-content: center;
         }

         .logo-box img {
         max-height: 200px; /* Controla qué tan grandes se ven los logos */
         max-width: 200%;
         object-fit: contain; /* Evita que las imágenes se estiren */
         }

         @media screen and (max-width: 768px) {
    /* 1. Resetear todos los Grids y Flexbox a una sola columna */
    .grid-2, .grid-3, .grid-4, .steps-grid, .track, .grid-column {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 20px !important;
    }

    /* 2. Quitar anchos fijos a los elementos internos */
    .grid-2 > div, .grid-3 > div, .step-item, .logo-box, .team-item {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 0 10px !important;
        text-align: center !important; /* Centramos para que se vea mejor en móvil */
    }

    /* 3. Ajustar los textos que se ven estirados */
    p, .content-p, .tecky-text {
        text-align: justify !important; /* Para que no se vea desordenado */
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* 4. Ajustar el equipo (las fotos de los compañeros) */
    .team-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Dos fotos por fila en móvil */
        gap: 10px !important;
    }

    .team-item img {
        width: 100% !important;
        height: auto !important;
    }

    /* 5. El carrusel de logos en móvil es mejor que no se mueva tanto o que sea lento */
    .track {
        animation: none !important; /* Opcional: detiene el movimiento si marea en móvil */
        flex-direction: row !important; /* Los logos sí pueden ir de lado */
        overflow-x: auto !important; /* Permite deslizar con el dedo */
    }

    /* 6. Evitar que el título "COMUNICACIONES" se corte */
    .hero h1 {
        font-size: 22px !important;
        word-wrap: break-word !important;
    }
    /* --- DESBLOQUEO DE TODOS LOS SERVICIOS EN MÓVIL --- */
#servicios, .section-padding {
    height: auto !important; /* Permite que la sección crezca según el contenido */
    max-height: none !important;
    overflow: visible !important; /* Asegura que nada se esconda */
}

/* Ajuste de la cuadrícula de servicios */
.grid-4, .services-grid, .grid-3 {
    display: flex !important;
    flex-direction: column !important; /* Los apila uno tras otro */
    height: auto !important;
    gap: 25px !important;
}

.service-box, .medusa-card {
    display: block !important; /* Asegura que cada tarjeta sea visible */
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important; /* Quita animaciones que puedan fallar en móvil */
}
/* --- FORZAR MOVIMIENTO DEL CARRUSEL EN MÓVIL --- */
.carousel {
    display: block !important;
    overflow: hidden !important;
    width: 100vw !important; /* Ocupa el ancho de la ventana */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.track {
    display: flex !important;
    flex-direction: row !important; /* Obligamos a que sea horizontal */
    width: max-content !important; /* Para que la fila sea muy larga */
    animation: scrollInfinite 15s linear infinite !important; /* Reactivamos la animación */
    will-change: transform; /* Ayuda al celular a procesar el movimiento suave */
}

.logo-box {
    flex: 0 0 auto !important; /* Evita que el navegador intente ajustar el ancho */
    width: 150px !important; 
    margin: 0 30px !important;
}
@keyframes scrollInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Se mueve exactamente la mitad de la tira de logos */
        transform: translateX(-50%); 
    }
}
}

/* --- ESTILO DEL BOTÓN HAMBURGUESA --- */
.menu-toggle {
    display: none; /* Escondido en PC */
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: #03687a; /* Color de tu marca */
    transition: 0.3s;
}

/* --- RESPONSIVE PARA MÓVIL (768px o menos) --- */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex; /* Aparece en celular */
    }

    header nav {
        position: absolute;
        top: 80px; /* Ajusta según el alto de tu header */
        right: -100%; /* Escondido a la derecha */
        width: 70%;
        height: 100vh;
        background: #fff;
        box-shadow: -10px 0 20px rgba(0,0,0,0.1);
        transition: 0.4s;
        z-index: 1000;
    }

    header nav.active {
        right: 0; /* Aparece al activarse */
    }

    header nav ul {
        flex-direction: column; /* Lista vertical */
        padding: 40px 20px;
        gap: 20px;
    }

    header nav ul li a {
        color: #333 !important;
        font-size: 18px;
    }
}
/* --- SOLUCIÓN DEFINITIVA TECKY --- */

/* 1. Eliminamos el parpadeo rosa: forzamos transparencia desde el inicio */
n8n-chat, 
#n8n-chat-container,
.n8n-chat-button {
    --n8n-chat-button-background-color: transparent !important;
    --n8n-chat-button-background-color-hover: transparent !important;
    --n8n-chat-button-icon-color: transparent !important;
    background-color: transparent !important; /* Refuerzo */
    border: none !important;
}
/* 1. AJUSTE FINAL DEL PARCHE (Para borrar el mini rosa) */
.bloqueador-blanco {
    position: fixed;
    bottom: 10px; /* Ajustado para centrar mejor */
    right: 10px;
    width: 100px;  /* Lo crecemos un poco más */
    height: 100px;
    background-color: white; 
    border-radius: 50%;
    z-index: 2147483646; 
    pointer-events: none;
}

/* 2. TEKKY (Posición definitiva) */
.tecky-final-overlay {
    position: fixed;
    bottom: -15px; 
    right: -10px;
    width: 145px; 
    height: 145px;
    background-image: url('../../img/tecky_animado.gif'); 
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2147483647; 
    cursor: pointer;
    pointer-events: none;
    transition: transform 0.3s ease;
}

/* 3. EL GLOBO DE TEXTO (Para que sepan que es un chat) */
.tecky-tooltip {
    position: fixed;
    bottom: 125px;
    right: 30px;
    background: var(--primary);
    color: white;
    padding: 10px 15px;
    border-radius: 15px 15px 0 15px;
    font-size: 14px;
    font-weight: bold;
    z-index: 2147483648;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease; /* Suaviza la entrada y salida */
    pointer-events: none;
}

/* Flechita del globo */
.tecky-tooltip::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 10px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: var(--primary) transparent transparent transparent;
}

.tecky-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}
    

/* ===== EQUIPO SYSTECK ===== */
.systeck-team-section {
    padding: 90px 0;
    background: #f5f9fa;
}
.systeck-team-heading {
    text-align: center;
    margin-bottom: 45px;
}
.systeck-team-heading span {
    color: #03687a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}
.systeck-team-heading h2 {
    color: #1f4e5f;
    font-size: clamp(28px, 4vw, 42px);
    margin: 12px 0;
}
.systeck-team-heading p {
    color: #64748b;
    line-height: 1.7;
}
.systeck-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}
.systeck-team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.systeck-team-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
.systeck-team-photo {
    height: 240px;
    overflow: hidden;
    background: #e5edef;
}
.systeck-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.systeck-team-info {
    padding: 20px 12px;
    text-align: center;
}
.systeck-team-info h3 {
    color: #1f4e5f;
    font-size: 16px;
    margin-bottom: 8px;
}
.systeck-team-info p {
    color: #03687a;
    font-size: 12px;
    font-weight: 700;
}
@media (max-width: 1000px) {
    .systeck-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 650px) {
    .systeck-team-section { padding: 65px 0; }
    .systeck-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .systeck-team-photo { height: 190px; }
    .systeck-team-info h3 { font-size: 14px; }
}
@media (max-width: 370px) {
    .systeck-team-grid { grid-template-columns: 1fr; }
}
