/*
Theme Name: Jimon Tecnologias
Theme URI: https://jimon-tecnologias.com
Author: Tu Nombre
Description: Tema moderno y profesional para empresa de tecnología con animaciones.
Version: 1.0.0
*/

/* ==========================================================================
   TEMA: Jimon Tecnologias - Estilos Core
   ========================================================================== */
:root {
    --dark-bg: #000000;          /* Negro Puro de alta tecnología */
    --card-bg: #0b0f19;          /* Tono sutil para que resalten las tarjetas */
    --primary-color: #0072ff;
    --secondary-color: #00c6ff;
    --text-light: #ffffff;
    --text-muted: #8a99ad;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    margin: 0;
}

/* --- MENÚ DE NAVEGACIÓN MODERNO (Negro Puro Unificado) --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: #000000 !important; /* Forzado absoluto para evitar transparencias extrañas */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08); /* Línea sutil divisoria */
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px; /* Ajustado el padding para equilibrar el nuevo logo grande */
}

/* --- LOGO EN EL ENCABEZADO --- */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 75px;        /* Tamaño de gran impacto visual */
    width: auto;         /* Mantiene la proporción perfecta */
    display: block;
    transition: transform 0.3s ease;
}

.logo a:hover .site-logo {
    transform: scale(1.03); /* Crecimiento sutil al pasar el cursor */
}

.main-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu li {
    margin-left: 30px;
    position: relative;
}

.main-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 0;
}

.main-menu a:hover {
    color: var(--text-light);
}

/* Animación del subrayado del menú */
.main-menu a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform-origin: bottom right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.main-menu a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* ==========================================================================
   SECCIÓN HERO - CONFIGURACIÓN AVANZADA Y ANIMACIÓN ACTIVA
   ========================================================================== */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #000000;
    
    /* Forzamos que el fondo sea más grande para dar margen al movimiento continuo */
    background-size: 130% 130%; 
    background-repeat: no-repeat;
    
    /* Animación del mapa de datos de fondo (Bucle infinito de 35 segundos) */
    animation: neuralFlow 35s ease-in-out infinite;
    
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

/* Capa oscura intermedia (Overlay) para potenciar la legibilidad del texto */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

/* Contenedor del texto por encima de las capas */
.hero-content {
    z-index: 2;
    position: relative;
    max-width: 800px;
    margin-top: 90px; /* Espacio de cortesía para respetar la cabecera del logo */
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, #ffffff, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: #8a99ad;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Botón moderno con brillo y sombra de neón */
.btn-primary {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #0072ff, #00c6ff);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 198, 255, 0.6);
}

/* Desplazamiento dinámico forzado en los ejes X e Y para la Red Neural */
@keyframes neuralFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* --- GRID DE SERVICIOS --- */
.services-section {
    padding: 100px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.service-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 198, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Efecto ondas de pulso */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: pulseWhatsapp 2s infinite;
}

@keyframes pulseWhatsapp {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   SECCIÓN NUESTROS CLIENTES - SLIDER INFINITO NEÓN PREMIUM
   ========================================================================== */
.clients-section {
    padding: 100px 20px; /* Más espacio para darle importancia */
    background-color: #000000;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ffffff, #00c6ff); /* Combinado con el neón de la web */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contenedor del Slider */
.slider-wrapper {
    width: 100%;
    max-width: 1200px; /* Ampliado para logos más grandes */
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    padding: 30px 0;
}

/* Difuminado elegante a los lados para ocultar los bordes */
.slider-wrapper::before,
.slider-wrapper::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.slider-wrapper::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, #000000 0%, transparent 100%);
}
.slider-wrapper::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, #000000 0%, transparent 100%);
}

/* Tira interna de movimiento */
.slider-track {
    display: flex;
    width: calc(320px * 6); /* Ajustado al nuevo ancho de las cajas (320px * 6 logos) */
    animation: scrollLogos 22s linear infinite; /* Un pelín más lento para que se aprecien mejor */
}

/* Caja contenedora de cada logo (Más amplia) */
.slide {
    width: 320px; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 40px; /* Más aire entre logos */
}

/* Estilo Base de los Logos con Filtro de Tinte Azul Neón */
.slide img {
    max-width: 100%;
    height: 90px; /* ¡Imágenes notablemente más grandes! (Antes 65px) */
    object-fit: contain;
    border-radius: 12px;
    
    /* TRUCO DE COLOR: Tinta el logo con un tono azul neón tecnológico base */
    filter: drop-shadow(0px 0px 0px transparent) sepia(100%) hue-rotate(190deg) saturate(300%) opacity(70%);
    
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Efecto al pasar el ratón (Hover) */
.slide img:hover {
    /* Eliminamos el tinte azul, vuelve al 100% de su color real e interactivo */
    filter: drop-shadow(0px 0px 20px rgba(0, 198, 255, 0.6)) sepia(0%) hue-rotate(0deg) saturate(100%) opacity(100%);
    
    /* El logo crece sutilmente para dar sensación de relieve */
    transform: scale(1.1); 
}

/* Pausar la animación al poner el cursor encima */
.slider-track:hover {
    animation-play-state: paused;
}

/* Animación CSS Infinita */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-320px * 3)); /* Se desplaza la mitad exacta del set ampliado */
    }
}

/* ==========================================================================
   SECCIONES: SOBRE NOSOTROS & PRINCIPIOS (Alineado y Estructura Fija)
   ========================================================================== */
.about-section {
    padding: 100px 20px 40px 20px; /* Reducido el padding inferior de la sección para aproximar el banner */
    background-color: #000000;
}

.about-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 110px; /* Margen estándar entre bloques */
}

/* Quita el margen excesivo en el último bloque para recortar la separación con el banner */
.about-row:last-of-type {
    margin-bottom: 40px; 
}

.about-col {
    flex: 1;
}

/* Corrección radical de especificidad para obligar a los h2 a adoptar el degradado neón */
.about-section .text-col h2,
.about-section .text-col h2.title-left {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-align: left !important;
    background: linear-gradient(45deg, #ffffff, #00c6ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important; /* Anula por completo cualquier color plano heredado */
    display: block;
}

.text-col {
    text-align: left; /* Todo el bloque de texto se orienta de forma natural a la izquierda */
}

.text-col p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}
/* ==========================================================================
   NUEVO DISEÑO DE PRINCIPIOS (Vertical, Limpio y Animado)
   ========================================================================== */
.principles-list {
    list-style: none;
    padding: 0;
    margin: 35px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 30px; /* Separación elegante entre bloques */
}

.principle-item {
    display: block; /* Forzamos la caída del texto debajo del título */
    text-align: left;
}

/* Encabezado: Icono + Título en una sola línea */
.principle-header {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre el icono y el título */
    margin-bottom: 8px; /* Separación sutil con su descripción inferior */
}

.principle-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
    padding: 0;
}

/* Texto descriptivo en la parte inferior */
.principle-desc {
    font-size: 1.05rem;
    color: var(--text-muted) !important;
    line-height: 1.6;
    margin: 0;
    padding-left: 45px; /* Alineación perfecta alineada con el inicio del título */
}

/* Estilo Base de los Iconos Tecnológicos */
.principle-header i {
    font-size: 1.4rem;
    color: var(--secondary-color);
    width: 30px;
    text-align: center;
    filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.4));
    transition: all 0.3s ease;
}

/* ==========================================================================
   ANIMACIONES ESPECÍFICAS PARA CADA ICONO (Efecto Loop Continuo)
   ========================================================================== */

/* 1. Innovación: Destello intermitente tecnológico */
.icon-innovation {
    animation: techPulse 3s infinite alternate;
}
@keyframes techPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 4px rgba(0, 198, 255, 0.3)); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.8)); color: #fff; }
}

/* 2. Seguridad: Escudo con balanceo de protección */
.icon-security {
    animation: shieldGuard 4s ease-in-out infinite;
}
@keyframes shieldGuard {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

/* 3. Proactivo: Efecto escáner/radar de anticipación */
.icon-proactive {
    animation: radarScan 2.5s linear infinite;
}
@keyframes radarScan {
    0% { opacity: 0.4; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.4; transform: scale(0.9); }
}

/* 4. Transparencia: Guiño sutil de enfoque/claridad */
.icon-transparency {
    animation: eyeClarify 5s ease-in-out infinite;
}
@keyframes eyeClarify {
    0%, 90%, 100% { transform: scale(1); opacity: 1; }
    95% { transform: scale(0.8); opacity: 0.5; } /* Simula un parpadeo de enfoque inteligente */
}

/* 5. Escalabilidad: Crecimiento y flotación exponencial */
.icon-scalability {
    animation: floatUp 3.5s ease-in-out infinite;
}
@keyframes floatUp {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px) scale(1.1); color: #ffffff; }
}

/* Efecto al pasar el cursor sobre todo el bloque del principio */
.principle-item:hover .principle-header i {
    color: #ffffff;
    filter: drop-shadow(0 0 18px rgba(0, 198, 255, 1));
}

/* Imágenes Tecnológicas */
.tech-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 114, 255, 0.15);
    transition: transform 0.4s ease;
}

.tech-img:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 198, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 198, 255, 0.3);
}

/* ==========================================================================
   BANNER DE CONTACTO (CTA) - ANIMADO Y FUTURISTA NEÓN
   ========================================================================== */
.cta-banner {
    position: relative;
    padding: 120px 20px;
    background-color: #050811;
    background-image: linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(11,15,25,0.9) 100%);
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Efecto de línea de luz neón superior moviéndose en bucle */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00c6ff, transparent);
    animation: neonLine 6s linear infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* Título del Banner corregido con degradado Neón Premium */
.cta-content h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #00c6ff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    display: inline-block;
    text-shadow: 0 0 20px rgba(0, 198, 255, 0.2);
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Efecto de pulso en el botón de Cotizar */
.pulse-btn {
    animation: buttonPulse 2.5s infinite;
}

/* ==========================================================================
   ANIMACIONES OPTIMIZADAS (Entradas sin deformación de texto)
   ========================================================================== */
.slide-from-left {
    animation: fadeInLeft 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

.slide-from-right {
    animation: fadeInRight 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animación de la línea láser del banner */
@keyframes neonLine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Animación de pulso de luz para el botón de acción */
@keyframes buttonPulse {
    0% { box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(0, 198, 255, 0.8); }
    100% { box-shadow: 0 4px 15px rgba(0, 114, 255, 0.4); }
}

/* ==========================================================================
   DISEÑO RESPONSIVO (Móviles y Tablets)
   ========================================================================== */
@media (max-width: 992px) {
    .about-row {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
    }
    .about-section .text-col h2,
    .about-section .text-col h2.title-left {
        font-size: 2rem;
        text-align: center !important;
    }
    .text-col {
        text-align: center;
    }
    .principles-list li {
        justify-content: center;
    }
    .cta-content h2 {
        font-size: 2.2rem;
    }
}