/* Variables CSS Mejoradas */ :root { /* Colores principales modernos */ --primary-blue: #0066ff; --primary-blue-dark: #0052cc; --primary-blue-light: #3385ff; --primary-gradient: linear-gradient(135deg, #0066ff 0%, #0052cc 100%); --accent-orange: #ff6600; --accent-orange-dark: #cc5200; --accent-orange-light: #ff8533; --accent-gradient: linear-gradient(135deg, #ff6600 0%, #cc5200 100%); --success-color: #10b981; --warning-color: #f59e0b; --error-color: #ef4444; /* Colores de fondo */ --bg-primary: #ffffff; --bg-secondary: #f8fafc; --bg-tertiary: #f1f5f9; --bg-dark: #0f172a; /* Colores de texto */ --text-primary: #1e293b; --text-secondary: #64748b; --text-light: #94a3b8; --text-white: #ffffff; /* Sombras modernas */ --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25); /* Bordes */ --border-radius-sm: 0.375rem; --border-radius-md: 0.5rem; --border-radius-lg: 1rem; --border-radius-xl: 1.5rem; --border-radius-full: 9999px; /* Transiciones */ --transition-fast: all 0.15s ease; --transition-normal: all 0.3s ease; --transition-slow: all 0.5s ease; --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Espaciado */ --spacing-xs: 0.5rem; --spacing-sm: 1rem; --spacing-md: 1.5rem; --spacing-lg: 2rem; --spacing-xl: 3rem; --spacing-2xl: 4rem; /* Contenedor */ --container-padding: 1rem; --container-max-width: 1280px; /* Z-index */ --z-dropdown: 1000; --z-sticky: 1020; --z-fixed: 1030; --z-modal-backdrop: 1040; --z-modal: 1050; --z-popover: 1060; --z-tooltip: 1070; --z-toast: 1080; } /* Tema Oscuro */ [data-theme="dark"] { --bg-primary: #0f172a; --bg-secondary: #1e293b; --bg-tertiary: #334155; --text-primary: #f8fafc; --text-secondary: #cbd5e1; --text-light: #94a3b8; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3); } /* Reset y Estilos Base */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; } body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; color: var(--text-primary); background-color: var(--bg-primary); overflow-x: hidden; transition: var(--transition-normal); } img { max-width: 100%; height: auto; display: block; } a { color: inherit; text-decoration: none; transition: var(--transition-normal); } button { cursor: pointer; border: none; background: none; font: inherit; transition: var(--transition-normal); } .loader { width: 48px; height: 48px; border: 5px solid var(--primary-color); border-bottom-color: transparent; border-radius: 50%; animation: rotation 1s linear infinite; position: relative; } .loader::after { content: ""; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px; border: 2px solid transparent; border-top-color: var(--accent-color); border-radius: 50%; animation: rotation 1.5s linear infinite reverse; } /* ===== PRELOADER MEJORADO Y CENTRADO ===== */ #preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%); display: flex; justify-content: center; align-items: center; z-index: 9999; transition: opacity 0.8s ease, transform 0.8s ease; } .loader-container { text-align: center; color: var(--text-white); max-width: 400px; padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; } .loader-logo { margin-bottom: 2rem; position: relative; display: flex; justify-content: center; align-items: center; width: 100%; } .loader-logo img { width: 100px; height: 100px; border-radius: var(--border-radius-full); background: var(--text-white); padding: 1.5rem; box-shadow: var(--shadow-2xl); animation: logoPulse 2s ease-in-out infinite; display: block; margin: 0 auto; } .loader-progress { width: 300px; height: 6px; background: rgba(255, 255, 255, 0.2); border-radius: var(--border-radius-full); overflow: hidden; margin: 0 auto 1.5rem; position: relative; backdrop-filter: blur(10px); } .loader-text { font-size: 1.2rem; font-weight: 500; margin-bottom: 0.5rem; opacity: 0.95; transition: opacity 0.3s ease; text-align: center; } .loader-percentage { font-size: 2rem; font-weight: 700; color: var(--text-white); text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); font-family: "Poppins", sans-serif; text-align: center; } .loader-bar { height: 100%; background: linear-gradient(90deg, #ffffff, #f0f9ff, #ffffff); background-size: 200% 100%; border-radius: var(--border-radius-full); width: 0%; transition: width 0.3s ease; animation: shimmer 2s infinite; position: relative; } @keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } } .loader-bar::after { content: ""; position: absolute; top: 0; right: 0; width: 20px; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent); animation: glow 1.5s ease-in-out infinite; } @keyframes glow { 0%, 100% { opacity: 0; } 50% { opacity: 1; } } /* Contenedor */ .container { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 0 var(--container-padding); } /* Navbar Mejorado */ .navbar { position: fixed; top: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: var(--z-fixed); transition: var(--transition-normal); padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); } .navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: var(--shadow-lg); padding: 0.75rem 0; } .navbar-container { display: flex; justify-content: space-between; align-items: center; } .navbar-logo { display: flex !important; align-items: center !important; justify-content: center !important; padding: 0.1rem; background: white; border-radius: 50%; width: fit-content; height: fit-content; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.279); /* Sombra suave */ position: relative; z-index: 10; } /* Corrección específica para el logo */ .navbar-logo img { display: block !important; margin: 0 auto; vertical-align: middle; } .logo-container { position: relative; display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: var(--text-white); border-radius: var(--border-radius-full); box-shadow: var(--shadow-md); transition: var(--transition-bounce); } .logo-container:hover { transform: scale(1.05); box-shadow: var(--shadow-xl); } .logo-img { width: 40px; height: 40px; object-fit: contain; } .logo-glow { position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: var(--primary-gradient); border-radius: var(--border-radius-full); opacity: 0; transition: var(--transition-normal); z-index: -1; } .logo-container:hover .logo-glow { opacity: 0.3; } .navbar-menu { display: flex; align-items: center; gap: var(--spacing-lg); } .nav-link { position: relative; font-weight: 600; /* Más peso para mejor legibilidad */ color: var(--text-primary); padding: 0.5rem 1rem; border-radius: var(--border-radius-md); transition: var(--transition-normal); } .nav-text { position: relative; z-index: 2; } .nav-indicator { position: absolute; bottom: 0; left: 50%; width: 0; height: 2px; background: var(--primary-gradient); border-radius: var(--border-radius-full); transform: translateX(-50%); transition: var(--transition-normal); } .nav-link:hover .nav-indicator { width: 100%; } .nav-link:hover { color: var(--primary-blue); background: rgba(0, 102, 255, 0.1); font-weight: 700; } .mobile-menu-btn { display: none; flex-direction: column; justify-content: center; width: 30px; height: 30px; cursor: pointer; position: relative; } .hamburger-line { width: 100%; height: 2px; background: var(--text-primary); border-radius: var(--border-radius-full); transition: var(--transition-normal); transform-origin: center; } .hamburger-line:not(:last-child) { margin-bottom: 6px; } .mobile-menu-btn.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); } .mobile-menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; } .mobile-menu-btn.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); } /* Botones Mejorados con Mejor Contraste */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 1.75rem; border-radius: var(--border-radius-lg); font-weight: 600; font-size: 0.95rem; text-align: center; position: relative; overflow: hidden; transition: var(--transition-normal); cursor: pointer; border: none; text-decoration: none; min-height: 48px; /* Mejor accesibilidad */ } .btn-primary { background: var(--primary-gradient); color: var(--text-white); box-shadow: var(--shadow-md); border: 2px solid transparent; } .btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); background: linear-gradient(135deg, #0052cc 0%, #003d99 100%); } .btn-outline { border: 2px solid var(--primary-blue); color: var(--primary-blue); background: var(--text-white); font-weight: 700; } .btn-outline:hover { background: var(--primary-blue); color: var(--text-white); transform: translateY(-2px); box-shadow: var(--shadow-lg); } .btn-cta { background: var(--accent-gradient); color: var(--text-white); position: relative; overflow: hidden; border: 2px solid transparent; font-weight: 700; } .btn-cta:hover { background: linear-gradient(135deg, #cc5200 0%, #994000 100%); transform: translateY(-2px); box-shadow: var(--shadow-xl); } .btn-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: var(--transition-slow); } .btn-cta:hover .btn-shine { left: 100%; } .btn-ripple { position: absolute; border-radius: var(--border-radius-full); background: rgba(255, 255, 255, 0.3); transform: scale(0); animation: ripple 0.6s linear; pointer-events: none; } @keyframes ripple { to { transform: scale(4); opacity: 0; } } /* Hero Section Mejorado */ .hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; } .hero-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; } #hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; } .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 102, 255, 0.8) 0%, rgba(0, 82, 204, 0.9) 100%); } .hero-particles { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; } .hero-content { position: relative; z-index: 2; text-align: center; color: var(--text-white); max-width: 900px; margin: 0 auto; } .hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); padding: 0.75rem 1.5rem; border-radius: var(--border-radius-full); font-size: 0.9rem; font-weight: 500; margin-bottom: 2rem; border: 1px solid rgba(255, 255, 255, 0.2); } .hero-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; font-family: "Poppins", sans-serif; color: var(--text-white); text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); } .title-line { display: block; opacity: 0.9; } .title-highlight { display: block; background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; } .hero-subtitle { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; max-width: 600px; margin-left: auto; margin-right: auto; color: var(--text-white); text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); font-weight: 400; } .hero-stats { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; } .hero-stats .stat-item { text-align: center; } .hero-stats .stat-number { display: block; font-size: 2rem; font-weight: 700; margin-bottom: 0.25rem; } .hero-stats .stat-label { font-size: 0.9rem; opacity: 0.8; } .hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; } .btn-hero { padding: 1rem 2rem; font-size: 1.1rem; min-width: 200px; } .hero-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); text-align: center; color: var(--text-white); } .scroll-link { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: inherit; opacity: 0.8; transition: var(--transition-normal); } .scroll-link:hover { opacity: 1; transform: translateY(-3px); } .scroll-mouse { width: 24px; height: 40px; border: 2px solid currentColor; border-radius: 12px; position: relative; margin-bottom: 0.5rem; } .scroll-wheel { width: 3px; height: 6px; background: currentColor; border-radius: 2px; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); animation: scroll-wheel 2s infinite; } @keyframes scroll-wheel { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } } /* Secciones */ .section { padding: var(--spacing-2xl) 0; position: relative; } .section:nth-child(even) { background: var(--bg-secondary); } .section-title { text-align: center; margin-bottom: var(--spacing-2xl); max-width: 800px; margin-left: auto; margin-right: auto; } .section-subtitle { color: var(--primary-blue); font-weight: 700; font-size: 0.875rem; letter-spacing: 2px; text-transform: uppercase; display: block; margin-bottom: 1rem; position: relative; } .section-subtitle::after { content: ""; position: absolute; bottom: -0.5rem; left: 50%; transform: translateX(-50%); width: 60px; height: 2px; background: var(--primary-gradient); border-radius: var(--border-radius-full); } .section-title h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--text-primary); margin-bottom: 1.5rem; line-height: 1.2; } .section-title p { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.6; } /* Services Section Mejorado */ .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; margin-top: 3rem; } .service-card { height: 400px; perspective: 1000px; cursor: pointer; } .service-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.6s; transform-style: preserve-3d; } .service-card:hover .service-card-inner { transform: rotateY(180deg); } .service-front, .service-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: var(--border-radius-xl); padding: 2rem; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-lg); background: var(--bg-primary); border: 1px solid rgba(0, 102, 255, 0.1); } .service-back { background: var(--primary-gradient); color: var(--text-white); transform: rotateY(180deg); } .service-icon-wrapper { position: relative; width: 80px; height: 80px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; border-radius: var(--border-radius-full); background: var(--primary-gradient); box-shadow: var(--shadow-md); } .service-icon { font-size: 2rem; color: var(--text-white); z-index: 2; } .icon-bg { position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px; background: var(--accent-gradient); border-radius: var(--border-radius-full); opacity: 0; transition: var(--transition-normal); z-index: 1; } .service-card:hover .icon-bg { opacity: 0.3; transform: scale(1.1); } .service-title { font-size: 1.5rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); text-shadow: none; } .service-description { color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; font-weight: 400; } .service-hover-indicator { margin-top: auto; color: var(--primary-blue); font-size: 1.2rem; opacity: 0; transform: translateY(10px); transition: var(--transition-normal); } .service-card:hover .service-hover-indicator { opacity: 1; transform: translateY(0); } .service-features { list-style: none; margin-bottom: 2rem; } .service-features li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.95rem; } .service-features i { color: var(--text-white); font-size: 0.9rem; } .service-button { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.2); color: var(--text-white); padding: 0.75rem 1.5rem; border-radius: var(--border-radius-lg); font-weight: 500; transition: var(--transition-normal); border: 1px solid rgba(255, 255, 255, 0.3); margin-top: auto; } .service-button:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-2px); } /* Stats Section Mejorado */ .stats-section { background: var(--bg-dark); color: var(--text-white); position: relative; overflow: hidden; } .stats-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.1; } .stats-pattern { width: 100%; height: 100%; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.3) 1px, transparent 0); background-size: 20px 20px; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; position: relative; z-index: 2; } .stat-item { text-align: center; padding: 2rem; background: rgba(255, 255, 255, 0.05); border-radius: var(--border-radius-xl); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); transition: var(--transition-normal); } .stat-item:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); box-shadow: var(--shadow-2xl); } .stat-icon-wrapper { width: 80px; height: 80px; margin: 0 auto 1.5rem; background: var(--primary-gradient); border-radius: var(--border-radius-full); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); } .stat-icon { font-size: 2rem; color: var(--text-white); } /* Mejorar contraste en estadísticas */ .stat-number { font-size: 2.5rem; font-weight: 700; color: var(--text-white) !important; margin-bottom: var(--spacing-xs); min-height: 1.2em; display: flex; align-items: center; justify-content: center; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; /* Transición más rápida */ } .stat-text { font-size: 1.1rem; opacity: 0.95; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.9) !important; /* Mejor contraste */ font-weight: 500; } .stat-progress { width: 100%; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: var(--border-radius-full); overflow: hidden; } .stat-bar { height: 100%; background: var(--accent-gradient); border-radius: var(--border-radius-full); width: 0; transition: width 2s ease-in-out; } .stat-item.animated .stat-bar { width: 100%; } /* Logos Carousel Mejorado */ .logos-carousel-section { background: var(--bg-secondary); padding: 4rem 0; overflow: hidden; } .logos-carousel { position: relative; margin: 3rem 0; padding: 2rem 0; background: var(--bg-primary); border-radius: var(--border-radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; } .logos-track { display: flex; animation: scroll-logos 30s linear infinite; gap: 4rem; align-items: center; } .logo-item { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 1rem; transition: var(--transition-normal); } .client-logo { height: 60px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(100%) opacity(0.7); transition: var(--transition-normal); } .logo-item:hover .client-logo { filter: grayscale(0%) opacity(1); transform: scale(1.1); } @keyframes scroll-logos { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-120px * 6 - 4rem * 6)); } } .logos-carousel::before, .logos-carousel::after { content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none; } .logos-carousel::before { left: 0; background: linear-gradient(to right, var(--bg-primary), transparent); } .logos-carousel::after { right: 0; background: linear-gradient(to left, var(--bg-primary), transparent); } /* About Section Mejorado */ .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; } .about-content { padding-right: 2rem; } .about-description { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2.5rem; } .about-features { display: grid; gap: 1.5rem; margin-bottom: 2.5rem; } .feature { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; background: var(--bg-secondary); border-radius: var(--border-radius-lg); transition: var(--transition-normal); border: 1px solid rgba(0, 102, 255, 0.1); } .feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-blue); } .feature-icon { width: 50px; height: 50px; background: var(--primary-gradient); border-radius: var(--border-radius-lg); display: flex; align-items: center; justify-content: center; color: var(--text-white); font-size: 1.2rem; flex-shrink: 0; } .feature-text h4 { color: var(--text-primary); font-weight: 600; margin-bottom: 0.5rem; } .feature-text p { color: var(--text-secondary); line-height: 1.5; } .about-image { position: relative; width: 100%; max-width: 100%; /* Ajusta según tus necesidades */ } .image-container { position: relative; border-radius: var(--border-radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); width: 100%; height: auto; /* Altura automática según la imagen */ } .image-container img { width: 100%; height: auto; /* Mantiene la proporción original */ display: block; /* Elimina espacio inferior fantasma */ object-fit: contain; /* Muestra toda la imagen sin recortar */ transition: var(--transition-slow); } /* Efecto hover opcional (sin el zoom) */ .image-container:hover img { transform: none; /* Elimina el efecto de zoom */ } /* Gallery Section Mejorado */ .services-gallery-section { background: var(--bg-primary); padding: 4rem 0; } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .gallery-item { position: relative; border-radius: var(--border-radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); transition: var(--transition-normal); cursor: pointer; } .gallery-item:hover { transform: translateY(-10px); box-shadow: var(--shadow-2xl); } .gallery-item img { width: 100%; height: 300px; object-fit: cover; transition: var(--transition-slow); } .gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0, 102, 255, 0.9) 0%, rgba(255, 102, 0, 0.9) 100%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition-normal); } .gallery-item:hover .gallery-overlay { opacity: 1; } .gallery-item:hover img { transform: scale(1.1); } .gallery-content { text-align: center; color: var(--text-white); padding: 2rem; } .gallery-content h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; } .gallery-content p { opacity: 0.9; margin-bottom: 1rem; } .gallery-icon { width: 50px; height: 50px; background: rgba(255, 255, 255, 0.2); border-radius: var(--border-radius-full); display: flex; align-items: center; justify-content: center; margin: 0 auto; font-size: 1.2rem; transition: var(--transition-bounce); } .gallery-item:hover .gallery-icon { transform: scale(1.1); background: rgba(255, 255, 255, 0.3); } /* Testimonials Section Mejorado */ .testimonials-section { background: var(--bg-secondary); padding: 4rem 0; overflow: hidden; } .testimonials-slider { margin-top: 3rem; padding-bottom: 3rem; } .testimonial-card { background: var(--bg-primary); border-radius: var(--border-radius-xl); padding: 2.5rem; box-shadow: var(--shadow-lg); height: auto; min-height: 350px; display: flex; flex-direction: column; transition: var(--transition-normal); border: 1px solid rgba(0, 102, 255, 0.1); } .testimonial-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-2xl); border-color: var(--primary-blue); } .testimonial-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; } .quote-icon { width: 50px; height: 50px; background: var(--primary-gradient); border-radius: var(--border-radius-lg); display: flex; align-items: center; justify-content: center; color: var(--text-white); font-size: 1.5rem; } .rating { display: flex; gap: 0.25rem; color: #fbbf24; } .testimonial-content { flex-grow: 1; margin-bottom: 2rem; } .testimonial-content p { color: var(--text-secondary); font-style: italic; font-size: 1.1rem; line-height: 1.6; } .testimonial-author { display: flex; align-items: center; gap: 1rem; } .author-avatar { position: relative; } .author-avatar img { width: 60px; height: 60px; border-radius: var(--border-radius-full); object-fit: cover; border: 3px solid var(--primary-blue); } .author-info h4 { color: var(--text-primary); font-weight: 600; margin-bottom: 0.25rem; } .author-info p { color: var(--text-secondary); font-size: 0.9rem; } /* Swiper Customization */ .swiper-pagination-bullet { background: var(--primary-blue); opacity: 0.3; width: 12px; height: 12px; } .swiper-pagination-bullet-active { opacity: 1; transform: scale(1.2); } .swiper-button-next, .swiper-button-prev { color: var(--primary-blue); background: var(--bg-primary); width: 50px; height: 50px; border-radius: var(--border-radius-full); box-shadow: var(--shadow-md); transition: var(--transition-normal); } .swiper-button-next:hover, .swiper-button-prev:hover { background: var(--primary-blue); color: var(--text-white); transform: scale(1.1); } .swiper-button-next::after, .swiper-button-prev::after { font-size: 1.2rem; } /* Contact Section Mejorado */ .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3rem; } .contact-form-container { background: var(--bg-primary); border-radius: var(--border-radius-xl); padding: 3rem; box-shadow: var(--shadow-xl); border: 1px solid rgba(0, 102, 255, 0.1); } .form-header { text-align: center; margin-bottom: 2.5rem; } .form-header h3 { font-size: 1.8rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.5rem; } .form-header p { color: var(--text-secondary); } .contact-form { display: flex; flex-direction: column; gap: 1.5rem; } .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } .form-group { position: relative; } .form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-primary); font-weight: 600; /* Más peso para mejor legibilidad */ font-size: 0.95rem; } .form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 2px solid rgba(0, 102, 255, 0.2); /* Borde más visible */ border-radius: var(--border-radius-lg); background: var(--bg-primary); /* Fondo blanco para mejor contraste */ color: var(--text-primary); font-size: 1rem; transition: var(--transition-normal); position: relative; font-weight: 500; } .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-blue); background: var(--bg-primary); box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1); } .form-focus-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary-gradient); transition: var(--transition-normal); } .form-group input:focus + .form-focus-line, .form-group select:focus + .form-focus-line, .form-group textarea:focus + .form-focus-line { width: 100%; } .form-group textarea { height: 120px; resize: vertical; font-family: inherit; } .btn-submit { margin-top: 1rem; padding: 1.25rem 2rem; font-size: 1.1rem; width: 100%; } .contact-info { display: flex; flex-direction: column; gap: 2rem; } .contact-card { background: var(--bg-primary); border-radius: var(--border-radius-xl); padding: 2.5rem; box-shadow: var(--shadow-xl); border: 1px solid rgba(0, 102, 255, 0.1); } .contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 2rem; } .contact-item:last-child { margin-bottom: 0; } .contact-icon { width: 50px; height: 50px; background: var(--primary-gradient); border-radius: var(--border-radius-lg); display: flex; align-items: center; justify-content: center; color: var(--text-white); font-size: 1.2rem; flex-shrink: 0; } .contact-text h4 { color: var(--text-primary); font-weight: 600; margin-bottom: 0.5rem; } .contact-text p { color: var(--text-secondary); line-height: 1.5; } .contact-text a { color: var(--primary-blue); transition: var(--transition-normal); } .contact-text a:hover { color: var(--primary-blue-dark); } .map-container { width: 100%; height: 300px; border-radius: var(--border-radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(0, 102, 255, 0.1); } .map-container iframe { width: 100%; height: 100%; border: 0; } /* Footer Mejorado */ .footer { background: var(--bg-dark); color: var(--text-white); padding: 4rem 0 2rem; position: relative; overflow: hidden; } .footer-background { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.05; } .footer-pattern { width: 100%; height: 100%; background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.3) 1px, transparent 0); background-size: 30px 30px; } .footer .container { position: relative; z-index: 2; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; } .footer-info { max-width: 400px; } .footer-logo { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; } .footer-logo img { width: 50px; height: 50px; border-radius: var(--border-radius-lg); } .footer-logo span { font-size: 1.5rem; font-weight: 700; color: var(--text-white); } .footer-description { color: rgba(255, 255, 255, 0.8); line-height: 1.6; margin-bottom: 2rem; } .social-links { display: flex; gap: 1rem; } .social-link { width: 45px; height: 45px; border-radius: var(--border-radius-lg); background: rgba(255, 255, 255, 0.1); color: var(--text-white); display: flex; align-items: center; justify-content: center; transition: var(--transition-normal); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .social-link:hover { background: var(--primary-gradient); transform: translateY(-3px); box-shadow: var(--shadow-lg); } .footer-links-section { position: relative; } .footer-title { color: var(--text-white); font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; position: relative; } .footer-title::after { content: ""; position: absolute; bottom: -0.5rem; left: 0; width: 40px; height: 2px; background: var(--primary-gradient); border-radius: var(--border-radius-full); } .footer-links { list-style: none; padding: 0; margin: 0; } .footer-links li { margin-bottom: 0.75rem; } .footer-links a { color: rgba(255, 255, 255, 0.9); transition: var(--transition-normal); position: relative; font-weight: 500; display: inline-block; } .footer-links a:hover { color: var(--text-white); padding-left: 0.5rem; font-weight: 600; } .footer-links a::before { content: ""; position: absolute; left: -0.5rem; top: 50%; transform: translateY(-50%); width: 0; height: 2px; background: var(--primary-gradient); transition: var(--transition-normal); } .footer-links a:hover::before { width: 0.25rem; } .footer-bottom { width: 100%; padding: 2rem 0; /* Espacio vertical solamente */ border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; /* Centrado horizontal del texto */ position: relative; z-index: 2; } .footer-bottom p { margin: 0 auto; /* Centrado automático */ color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; max-width: var(--max-width, 1200px); /* Usa variable o fallback a 1200px */ padding: 0 1rem; /* Pequeño padding lateral en móviles */ } /* Responsive Footer */ @media (max-width: 992px) { .footer .container { grid-template-columns: 1fr 1fr; gap: 2rem; } .footer-info { grid-column: 1 / -1; max-width: none; text-align: center; margin-bottom: 2rem; } .footer-links-section { text-align: center; } } @media (max-width: 768px) { .footer { padding: 3rem 0 1.5rem; } .footer .container { grid-template-columns: 1fr; gap: 2rem; text-align: center; } .footer-info { grid-column: 1; margin-bottom: 1rem; } .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; } .footer-bottom-links { justify-content: center; } .social-links { justify-content: center; } } @media (max-width: 480px) { .footer .container { gap: 1.5rem; } .footer-bottom-links { flex-direction: column; gap: 1rem; } .social-links { gap: 0.75rem; } .social-link { width: 40px; height: 40px; } } /* WhatsApp Float Button Mejorado */ .whatsapp-container { position: fixed; bottom: 2rem; right: 2rem; z-index: var(--z-toast); font-family: "Inter", sans-serif; } .whatsapp-button { position: relative; width: 65px; height: 65px; background: #25d366; border-radius: var(--border-radius-full); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--shadow-xl); transition: var(--transition-bounce); overflow: hidden; } .whatsapp-button:hover { transform: scale(1.1); box-shadow: var(--shadow-2xl); } .whatsapp-icon-container { position: relative; z-index: 2; } .whatsapp-icon { font-size: 2.2rem; color: var(--text-white); } .status-indicator { position: absolute; bottom: 2px; right: 2px; width: 14px; height: 14px; border-radius: var(--border-radius-full); border: 2px solid var(--text-white); background: #00ff5e; z-index: 3; } .status-indicator.offline { background: #ff6b6b; } .pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 65px; height: 65px; border: 2px solid #25d366; border-radius: var(--border-radius-full); animation: pulse-ring 2s infinite; } @keyframes pulse-ring { 0% { transform: translate(-50%, -50%) scale(1); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } } .whatsapp-chat { position: absolute; bottom: 80px; right: 0; width: 380px; max-width: 90vw; background: var(--text-white); border-radius: var(--border-radius-xl); box-shadow: var(--shadow-2xl); display: none; overflow: hidden; animation: slideInUp 0.3s ease; border: 1px solid rgba(0, 0, 0, 0.1); } @keyframes slideInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .chat-header { background: linear-gradient(135deg, #075e54 0%, #128c7e 100%); color: var(--text-white); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; } .chat-profile { position: relative; width: 50px; height: 50px; } .chat-profile img { width: 100%; height: 100%; border-radius: var(--border-radius-full); object-fit: cover; border: 2px solid rgba(255, 255, 255, 0.3); } .status-indicator-small { position: absolute; bottom: 0; right: 0; width: 12px; height: 12px; border-radius: var(--border-radius-full); border: 2px solid #128c7e; background: #00ff5e; } .status-indicator-small.offline { background: #ff6b6b; } .chat-header-info { flex-grow: 1; } .chat-header-info h4 { margin: 0; font-size: 1.1rem; font-weight: 600; } .chat-header-info small { font-size: 0.85rem; opacity: 0.9; } .close-btn { background: none; border: none; color: var(--text-white); cursor: pointer; padding: 0.5rem; font-size: 1.2rem; opacity: 0.8; transition: var(--transition-normal); border-radius: var(--border-radius-md); } .close-btn:hover { opacity: 1; background: rgba(255, 255, 255, 0.1); } .chat-body { padding: 1.5rem; max-height: 400px; overflow-y: auto; background: #e5ddd5; background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); } .chat-message { margin-bottom: 1rem; max-width: 85%; } .chat-message.received { margin-right: auto; } .message-content { background: var(--text-white); padding: 0.75rem 1rem; border-radius: var(--border-radius-lg); box-shadow: var(--shadow-sm); font-size: 0.95rem; line-height: 1.4; position: relative; } .message-content::before { content: ""; position: absolute; bottom: 0; left: -8px; width: 0; height: 0; border: 8px solid transparent; border-right-color: var(--text-white); border-bottom-color: var(--text-white); } .message-time { font-size: 0.75rem; color: var(--text-light); margin-top: 0.25rem; text-align: right; } .chat-options { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1rem; } .option-btn { display: flex; align-items: center; gap: 1rem; background: var(--text-white); border: none; border-radius: var(--border-radius-lg); padding: 1rem; width: 100%; text-align: left; cursor: pointer; transition: var(--transition-normal); box-shadow: var(--shadow-sm); border: 1px solid rgba(0, 0, 0, 0.05); } .option-btn:hover { background: #f8f9fa; transform: translateY(-2px); box-shadow: var(--shadow-md); } .option-icon { font-size: 1.5rem; min-width: 30px; text-align: center; } .option-content { flex-grow: 1; display: flex; flex-direction: column; } .option-title { font-weight: 600; color: var(--text-primary); font-size: 0.95rem; margin-bottom: 0.25rem; } .option-desc { color: var(--text-secondary); font-size: 0.8rem; line-height: 1.3; } .option-arrow { color: var(--text-light); font-size: 0.9rem; transition: var(--transition-normal); } .option-btn:hover .option-arrow { color: var(--primary-blue); transform: translateX(3px); } /* Back to Top Button Mejorado */ .back-to-top { position: fixed; bottom: 2rem; left: 2rem; width: 55px; height: 55px; background: var(--primary-gradient); color: var(--text-white); border-radius: var(--border-radius-full); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; opacity: 0; visibility: hidden; z-index: var(--z-fixed); transition: var(--transition-normal); box-shadow: var(--shadow-lg); cursor: pointer; overflow: hidden; } .back-to-top.visible { opacity: 1; visibility: visible; } .back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); } /* Responsive Design */ @media (max-width: 1200px) { .container { padding: 0 2rem; } .hero-title { font-size: clamp(2.2rem, 4vw, 3.5rem); } .services-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } .loader-progress { width: 250px; } .loader-logo img { width: 80px; height: 80px; } } @media (max-width: 992px) { .navbar-menu { position: fixed; top: 0; right: -100%; width: 80%; max-width: 350px; height: 100vh; background: var(--bg-primary); flex-direction: column; padding: 2rem; box-shadow: var(--shadow-2xl); z-index: var(--z-modal); transition: var(--transition-normal); justify-content: flex-start; gap: 1.5rem; padding-top: 4rem; } .navbar-menu.active { right: 0; } .mobile-menu-btn { display: flex; z-index: var(--z-modal); } .nav-link { color: var(--text-primary); padding: 1rem; width: 100%; text-align: center; border-radius: var(--border-radius-lg); } .nav-link:hover { background: var(--bg-secondary); } .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; } .about-content { padding-right: 0; } .footer-grid { grid-template-columns: repeat(2, 1fr); } .hero-stats { gap: 2rem; } .hero-buttons { flex-direction: column; align-items: center; } .btn-hero { width: 100%; max-width: 300px; } .loader-container { padding: 1.5rem; } .loader-progress { width: 250px; } .loader-logo img { width: 80px; height: 80px; } } @media (max-width: 768px) { .container { padding: 0 1rem; } .section { padding: 3rem 0; } .section-title h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); } .services-grid { grid-template-columns: 1fr; gap: 1.5rem; } .service-card { height: 350px; } .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; } .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } .form-row { grid-template-columns: 1fr; gap: 1rem; } .footer-grid { grid-template-columns: 1fr; gap: 2rem; } .footer-bottom { flex-direction: column; text-align: center; } .whatsapp-container { bottom: 1rem; right: 1rem; } .whatsapp-button { width: 55px; height: 55px; } .whatsapp-icon { font-size: 1.8rem; } .whatsapp-chat { width: calc(100vw - 2rem); right: -1rem; } .back-to-top { bottom: 1rem; left: 1rem; width: 45px; height: 45px; font-size: 1rem; } .loader-progress { width: 180px; } .loader-logo img { width: 70px; height: 70px; } .loader-text { font-size: 1rem; } .loader-percentage { font-size: 1.5rem; } } @media (max-width: 576px) { .hero { padding: 100px 0 60px; } .hero-content { padding: 0 1rem; } .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } .stats-grid { grid-template-columns: 1fr; } .testimonial-card { padding: 1.5rem; min-height: 300px; } .contact-form-container { padding: 2rem; } .service-card { height: 320px; } .service-card-inner { padding: 1.5rem; } .loader-container { padding: 1rem; } .loader-progress { width: 150px; height: 4px; } .loader-logo img { width: 60px; height: 60px; } } @media (max-width: 480px) { .hero-title { font-size: clamp(2rem, 5vw, 2.8rem); } .hero-subtitle { font-size: 1.1rem; } .btn { padding: 0.75rem 1.5rem; font-size: 0.9rem; } .section-title { margin-bottom: 2rem; } .feature { padding: 1rem; } .contact-form-container { padding: 1.5rem; } .loader-text { font-size: 0.9rem; } .loader-percentage { font-size: 1.2rem; } } /* Animaciones adicionales */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } } @keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } } /* Utilidades */ .text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; } .hidden { display: none; } .visible { display: block; } /* Accesibilidad */ @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } } /* Focus styles para accesibilidad */ button:focus, a:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary-blue); outline-offset: 2px; } /* Print styles */ @media print { .navbar, .whatsapp-container, .back-to-top, .hero-scroll-indicator { display: none !important; } .hero { min-height: auto; padding: 2rem 0; } .section { padding: 1rem 0; break-inside: avoid; } } /* Estilos para debugging de estadísticas */ .stats-section.debug { border: 3px solid red !important; } .stat-number.debug { border: 2px solid yellow !important; background: rgba(255, 255, 0, 0.2) !important; } /* Asegurar que las estadísticas sean siempre visibles */ .stats-section .stat-number { color: #ffffff !important; font-weight: 800 !important; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important; } /* Responsive para preloader */ @media (max-width: 768px) { .loader-container { padding: 1.5rem; max-width: 350px; } .loader-logo img { width: 80px; height: 80px; padding: 1.2rem; } .loader-progress { width: 250px; } .loader-text { font-size: 1.1rem; } .loader-percentage { font-size: 1.8rem; } } @media (max-width: 480px) { .loader-container { padding: 1rem; max-width: 300px; } .loader-logo img { width: 70px; height: 70px; padding: 1rem; } .loader-progress { width: 200px; height: 5px; } .loader-text { font-size: 1rem; } .loader-percentage { font-size: 1.6rem; } }