/* --- VARIABLES --- */
:root {
    --color-primary: #294262;      
    --color-accent: #FF6B35;       
    --color-bg-light: #F4F7F6;     
    --color-bg-white: #FFFFFF;     
    --color-text-dark: #1E293B;    
    --color-text-muted: #64748B;   
    --color-border: #E2E8F0;
    
    --font-heading: 'Geologica', sans-serif; 
    --font-body: 'Inter', sans-serif;       
    --font-tech: 'Inter', sans-serif;  
}

/* --- RESET & BASIC --- */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; -webkit-tap-highlight-color: transparent; }

body { font-family: var(--font-body); color: var(--color-text-dark); line-height: 1.5; background-color: var(--color-bg-light); margin: 0; padding: 0; }
html { scroll-behavior: smooth; margin: 0; padding: 0; }

h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); font-weight: 700; line-height: 1.3; }
p { font-size: 1.1rem; }
.highlight { color: var(--color-accent); }
.text-white { color: #FFFFFF !important; }
.w-100 { width: 100%; }
.m-0 { margin: 0; }
.mb-5 { margin-bottom: 50px; }
.mt-2 { margin-top: 10px; }
.mt-4 { margin-top: 40px; }

/* --- 1. PRELOADER PREMIUM ANIMADO --- */
.preloader { position: fixed; inset: 0; background: #0F1722; z-index: 999999; display: flex; align-items: center; justify-content: center; transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.4s; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.preloader.loaded { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); pointer-events: none; }
.preloader-bg-pattern { position: absolute; inset: -50px; background-image: url("img/Asset 1@2x.png"); background-size: cover; background-position: center; opacity: 0.04; mix-blend-mode: screen; z-index: 0; pointer-events: none; }

.preloader-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease; }
.preloader-content.fade-out { opacity: 0; transform: translateY(-20px) scale(0.95); }

.preloader-logo-wrapper { position: relative; width: 320px; max-width: 70vw; display: flex; justify-content: center; align-items: center; }
.preloader-logo-bg { width: 100%; height: auto; display: block; opacity: 0.08; filter: brightness(0) invert(1); }
.preloader-logo-fill { position: absolute; top: 0; left: 0; width: 100%; height: auto; filter: brightness(0) invert(1); clip-path: inset(100% 0 0 0); transition: clip-path 0.1s linear; }
.preloader-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140%; height: 140%; background: radial-gradient(circle, rgba(255,107,53,0.18) 0%, transparent 60%); filter: blur(25px); z-index: -1; opacity: 0.5; animation: pulseGlow 2s infinite alternate; }
@keyframes pulseGlow { 0% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); } 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1.1); } }

.preloader-counter { font-family: var(--font-heading); font-size: 3.2rem; font-weight: 600; color: white; line-height: 1; letter-spacing: -1px; position: relative; display: flex; align-items: flex-start; }
.preloader-counter::after { content: '%'; font-size: 1.6rem; margin-top: 4px; margin-left: 2px; color: var(--color-accent); }
.preloader-counter::before { content: 'CARGANDO EXPERIENCIA'; position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); font-family: var(--font-tech); font-size: 0.7rem; font-weight: 500; letter-spacing: 3px; color: rgba(255,255,255,0.4); white-space: nowrap; }

/* Adaptación mobile ajustada proporcionalmente */
@media (max-width: 768px) {
    .preloader-logo-wrapper { width: 240px; }
    .preloader-counter { font-size: 2.6rem; }
    .preloader-counter::after { font-size: 1.3rem; }
}

/* --- UTILS --- */
.section { padding: 100px 20px; position: relative; z-index: 2; }
.bg-light { background-color: var(--color-bg-light); }
.bg-white { background-color: var(--color-bg-white); }
.bg-dark-brand { background-color: var(--color-primary); } 
.container { max-width: 1200px; margin: 0 auto; position: relative; }
.section-title { font-size: 3rem; margin-bottom: 50px; color: var(--color-primary); }
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden !important; }
.minimal-icon { width: 24px; height: 24px; min-width: 24px; min-height: 24px; flex-shrink: 0; color: var(--color-primary); }

/* --- CURSOR --- */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor-dot { width: 8px; height: 8px; background-color: white; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.5); transition: width 0.2s, height 0.2s; }
@media (max-width: 992px) { * { cursor: auto !important; } .cursor-dot, .cursor-outline { display: none; } }

/* --- TEXT REVEAL --- */
.reveal-wrapper { display: inline-block; overflow: hidden; vertical-align: top; text-align: left; }
.reveal-text { transform: translateY(100%); animation: textSlideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.reveal-text-scroll { transform: translateY(100%); transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-text-scroll.is-visible { transform: translateY(0); }
@keyframes textSlideUp { to { transform: translateY(0); } }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

/* --- SMART NAVBAR --- */
.navbar { position: fixed; top: 0; width: 100%; padding: 20px 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); z-index: 1000; border-bottom: 1px solid rgba(0, 0, 0, 0.05); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s; box-sizing: border-box; overflow: hidden; }
.navbar.hidden { transform: translateY(-100%); }
.nav-progress-bar { position: absolute; top: 0; left: 0; height: 3px; background: var(--color-accent); width: 0%; z-index: 1001; transition: width 0.1s linear; }
.nav-container { max-width: 1200px; width: 100%; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; position: relative; padding: 0 20px; box-sizing: border-box; }
.logo img { height: 40px; } 
.desktop-nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 35px; }
.desktop-nav a { position: relative; color: var(--color-text-dark); text-decoration: none; font-size: 0.95rem; transition: color 0.3s ease; font-weight: 400; }
.desktop-nav a::before { content: attr(data-text); font-weight: 600; visibility: hidden; display: block; height: 0; }
.desktop-nav a::after { content: ''; position: absolute; left: 0; bottom: -5px; width: 0%; height: 2px; background: var(--color-accent); transition: width 0.3s ease; }
.desktop-nav a:hover { font-weight: 600; color: var(--color-primary); }
.desktop-nav a:hover::after { width: 100%; }
.nav-cta.desktop-cta { margin-left: auto; display: flex; align-items: center; }
.btn-outline { border: 1px solid var(--color-accent); padding: 8px 20px; border-radius: 8px; color: var(--color-accent) !important; font-weight: 500; text-decoration: none; transition: all 0.3s ease; display: inline-block;}
.btn-outline:hover { background: var(--color-accent); color: white !important; box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3); }

/* --- MENU MOBILE --- */
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 6px; z-index: 1002; position: relative; }
.hamburger span { width: 30px; height: 2px; background-color: var(--color-primary); transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); z-index: 999; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }
.mobile-nav-links { display: flex; flex-direction: column; text-align: center; gap: 30px; }
.mobile-link { font-size: 2.5rem; font-family: var(--font-heading); font-weight: 600; color: var(--color-primary); text-decoration: none; opacity: 0; transform: translateY(20px); transition: all 0.4s ease; }
.mobile-menu-overlay.active .mobile-link { opacity: 1; transform: translateY(0); }
.mobile-social { margin-top: 50px; font-family: var(--font-tech); opacity: 0; transition: opacity 0.4s 0.6s; }
.mobile-menu-overlay.active .mobile-social { opacity: 1; }

/* --- HERO --- */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; padding: 0 20px; text-align: center; overflow: hidden; background: #000; }
.hero-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.3); transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.5s ease; z-index: 1; }
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 2; }
.hero-slide.prev { opacity: 0; transform: scale(0.85); z-index: 1; }
.hero-overlay-dark { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,15,22,0.6) 0%, rgba(10,15,22,0.9) 100%); z-index: 2; pointer-events: none; }
.hero-content { position: relative; z-index: 10; max-width: 900px; }
.hero-title { font-size: 5.5rem; line-height: 1.1; margin-bottom: 5px; color: white; margin-top: 0; padding-top: 0; }
.text-gradient { background: linear-gradient(90deg, var(--color-accent) 0%, #FF9B71 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.25rem; color: #E2E8F0; margin-bottom: 40px; font-weight: 300; margin-top: 20px; }
.cta-button { border: none; display: inline-block; background-color: var(--color-accent); color: white; text-decoration: none; padding: 16px 40px; border-radius: 8px; font-weight: 600; font-size: 1.1rem; transition: background 0.3s ease; font-family: var(--font-body); }
.cta-button:hover { background: var(--color-accent); color: white; }
.hero-progress-container { position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background: rgba(255,255,255,0.1); z-index: 10; }
.hero-progress-bar { height: 100%; width: 0%; background: var(--color-accent); }
.animate-hero { opacity: 0; transform: translateY(30px); animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes heroFadeUp { to { opacity: 1; transform: translateY(0); } }
.hero-delay-3 { animation-delay: 0.6s; }
.hero-delay-4 { animation-delay: 0.8s; }
.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: block; text-decoration: none; }
.mouse { width: 30px; height: 46px; border: 2px solid rgba(255,255,255,0.5); border-radius: 20px; position: relative; transition: border-color 0.3s; }
.scroll-indicator:hover .mouse { border-color: var(--color-accent); }
.mouse::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--color-accent); border-radius: 2px; animation: scrollWheel 2s infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 15px); } }

/* --- CANVAS FLUIDO --- */
#heroCanvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; mix-blend-mode: screen; }

/* --- ENFOQUE --- */
.skew-wrapper { overflow: hidden; }
.skew-elem { transition: transform 0.1s linear; transform-origin: center; will-change: transform; }
.scrolly-text { font-size: 4rem; line-height: 1.2; font-weight: 700; color: var(--color-primary); }
.scrolly-word { opacity: 0.15; transform: translateY(15px); filter: blur(5px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease, color 0.5s ease; display: inline-block; margin-right: 12px; }
.scrolly-word.active { opacity: 1; transform: translateY(0); filter: blur(0); text-shadow: 0 4px 20px rgba(41, 66, 98, 0.15); }
.scrolly-word.painted-word.active { color: var(--color-accent); text-shadow: 0 4px 20px rgba(255, 107, 53, 0.2); }

/* --- UNIVERSO IDENTIA --- */
#universo-pin { height: 400vh; position: relative; }
.universo-sticky-container { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.universo-fixed-header { position: absolute; top: 10%; left: 0; width: 100%; z-index: 10; padding: 0 20px; }
.universo-title { font-size: 5.5rem; display: flex; align-items: center; justify-content: center; gap: 25px; margin-bottom: 5px; line-height: 1.1; overflow: visible !important; }
.text-dark-mode { color: var(--color-primary); }
.universo-inline-logo { height: 100px; width: auto; animation: floatPulseLogo 4s infinite cubic-bezier(0.4, 0, 0.2, 1); }
@keyframes floatPulseLogo { 0% { transform: scale(1) translateY(0); } 50% { transform: scale(1.08) translateY(-8px); } 100% { transform: scale(1) translateY(0); } }

.universo-track { display: flex; width: 400vw; height: 100%; will-change: transform; align-items: center; }
.universo-panel { width: 100vw; height: 100vh; display: flex; justify-content: center; align-items: center; padding: 0 5%; flex-shrink: 0; box-sizing: border-box; }
.universo-panel-inner { display: flex; align-items: center; max-width: 1200px; width: 100%; gap: 60px; margin-top: 10vh; }
.universo-panel-inner.reverse { flex-direction: row-reverse; }

.zoom-target { display: block; width: 100%; height: 100%; background-size: cover; background-position: center; animation: smoothZoom 15s alternate infinite ease-in-out; }
@keyframes smoothZoom { 0% { transform: scale(1); } 100% { transform: scale(1.15); } }
.universo-text { flex: 1; padding: 40px 0; z-index: 2; position: relative; }
.universo-text h3 { font-size: 2.8rem; margin-bottom: 20px; }
.universo-text p { font-size: 1.2rem; color: var(--color-text-muted); margin-bottom: 20px; }

/* FORMAS AMORFAS */
.zoom-wrapper { flex: 1.2; height: 50vh; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.1); -webkit-mask-image: -webkit-radial-gradient(white, black); mask-image: radial-gradient(white, black); }
.universo-panel-inner .zoom-wrapper { animation: shapeMorph1 12s ease-in-out infinite alternate; }
.universo-panel-inner.reverse .zoom-wrapper { animation: shapeMorph2 15s ease-in-out infinite alternate; }

@keyframes shapeMorph1 { 0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } 33% { border-radius: 30% 70% 70% 30% / 50% 60% 30% 60%; } 66% { border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%; } 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } }
@keyframes shapeMorph2 { 0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; } 33% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; } 66% { border-radius: 20% 80% 40% 60% / 60% 20% 80% 40%; } 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; } }

.universo-separator { width: 12vw; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 5; }
.sep-text { font-family: var(--font-tech); font-size: 0.8rem; letter-spacing: 6px; color: var(--color-primary); transform: rotate(-90deg); margin-bottom: 70px; opacity: 0.4; white-space: nowrap; }
.sep-line { width: 1px; height: 120px; background: rgba(41, 66, 98, 0.2); margin-bottom: 30px; }
.sep-arrow { width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(41, 66, 98, 0.2); display: flex; align-items: center; justify-content: center; color: var(--color-primary); transition: all 0.4s ease; background: transparent; }
.sep-arrow:hover { background: var(--color-accent); border-color: var(--color-accent); color: white; transform: scale(1.1); }

/* --- OBJETIVOS --- */
.title-with-line { border-left: 6px solid var(--color-accent); padding-left: 20px; text-align: left; }
.objetivos-container { display: flex; gap: 80px; position: relative; align-items: center; margin-top: 40px; }
.objetivos-text { flex: 1; display: flex; flex-direction: column; gap: 60px; padding: 40px 0; }
.objetivos-visual { flex: 1; position: relative; height: 45vh; }
.scrolly-item { display: flex; gap: 25px; opacity: 0.2; transform: translateX(-20px); transition: all 0.6s ease; }
.scrolly-item.active { opacity: 1; transform: translateX(0); }
.scrolly-item.passed { opacity: 0.4; } 
.obj-icon { color: var(--color-primary); width: 40px; height: 40px; flex-shrink: 0; }
.scrolly-item h4 { font-size: 1.5rem; color: var(--color-primary); margin-bottom: 10px; }
.scrolly-item p { font-size: 1.1rem; color: var(--color-text-muted); }

.sticky-img-container { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.sticky-img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 0.8s ease, transform 0.8s ease; }
.sticky-img.active { opacity: 1; transform: scale(1); }

/* --- METODOLOGÍA APILABLE 3D --- */
.creative-steps-wrapper { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 40px; }
.premium-step-card { position: sticky; min-height: 400px; margin-bottom: 20px; border-radius: 32px; background: rgba(15, 23, 36, 0.6); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15); padding: 0 80px; display: flex; align-items: center; transform-origin: top center; transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease; overflow: hidden; }
.premium-ambient-glow { position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(120px); z-index: 0; opacity: 0.4; pointer-events: none; }
.glow-left { background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%); top: 10%; left: -20%; }
.glow-right { background: radial-gradient(circle, rgba(255,107,53,0.15) 0%, transparent 70%); bottom: 10%; right: -20%; }
.card-glow-hover { position: absolute; top: -200px; left: -200px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,107,53,0.1) 0%, transparent 70%); border-radius: 50%; pointer-events: none; transition: all 0.6s ease; }
.premium-step-card:hover .card-glow-hover { transform: scale(1.3) translate(50px, 50px); background: radial-gradient(circle, rgba(255,107,53,0.2) 0%, transparent 70%); }
.premium-step-content { display: flex; width: 100%; gap: 80px; align-items: center; position: relative; z-index: 2; }
.step-visual { flex: 0 0 30%; display: flex; justify-content: center; align-items: center; }
.huge-gradient-number { font-family: var(--font-heading); font-size: 16rem; line-height: 0.8; font-weight: 700; background: linear-gradient(180deg, var(--color-accent) 0%, rgba(255, 107, 53, 0.1) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 20px 40px rgba(255, 107, 53, 0.2)); letter-spacing: -5px; }
.step-text { flex: 1; }
.step-text h3 { font-size: 3.5rem; margin-bottom: 25px; letter-spacing: -1px; }
.step-text p { font-size: 1.35rem; color: rgba(255,255,255,0.65); }

/* --- TALLERES Y SPOTLIGHT --- */
.spotlight-card { position: relative; overflow: hidden; }
.spotlight-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 107, 53, 0.15), transparent 40%); z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s ease; }
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 1; }

.carousel-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.carousel-controls { display: flex; gap: 15px; }
.btn-circle { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--color-border); background: var(--color-bg-white); color: var(--color-primary); font-size: 1.2rem; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; }
.btn-circle:hover { background: var(--color-accent) !important; color: white !important; border-color: var(--color-accent) !important; }
.carousel-track-container { width: 100%; overflow: hidden; position: relative; padding-bottom: 40px; }
.carousel-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 20px 5px; -ms-overflow-style: none; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card { flex: 0 0 calc(33.333% - 20px); min-width: 320px; height: 480px; border-radius: 16px; scroll-snap-align: start; background-size: cover; background-position: center; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 20px rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); }
.dark-mode-overlay { background: linear-gradient(to top, rgba(10, 15, 22, 0.98) 0%, rgba(10, 15, 22, 0.6) 50%, transparent 100%); }
.card-overlay-anim { position: absolute; inset: 0; transition: background 0.4s ease; z-index: 1; }
.card-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px; z-index: 2; transition: transform 0.4s ease; transform: translateY(60px); }
.card-hidden-text { opacity: 0; transition: opacity 0.4s ease; margin-top: 15px; }
.carousel-card:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3); border: 1px solid rgba(255, 107, 53, 0.6); }
.carousel-card:hover .dark-mode-overlay { background: linear-gradient(to top, rgba(10, 15, 22, 1) 0%, rgba(10, 15, 22, 0.8) 60%, transparent 100%); }
.carousel-card:hover .card-content { transform: translateY(0); }
.carousel-card:hover .card-hidden-text { opacity: 1; }
.card-content h3 { font-size: 2.2rem !important; line-height: 1.1; margin-bottom: 12px; }

/* --- CONTADORES --- */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.stat-number { font-size: 6rem; line-height: 1; color: white; margin-bottom: 15px; }
.stat-text-light { font-size: 1.1rem; color: rgba(255,255,255,0.7); font-weight: 300; }
.infinity-anim { animation: pulseInf 2s infinite alternate; }
@keyframes pulseInf { 0% { transform: scale(1); color: white; } 100% { transform: scale(1.1); color: var(--color-accent); } }

/* --- EQUIPO --- */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.glass-card { background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.8); backdrop-filter: blur(16px); padding: 40px; border-radius: 16px; transition: transform 0.3s ease; box-shadow: 0 10px 30px rgba(0,0,0,0.05);}
.team-img-large { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; margin-bottom: 25px; border: 4px solid white; box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.role { color: var(--color-accent); font-family: var(--font-tech); font-size: 0.85rem; margin-bottom: 15px; font-weight: 600; }
.quote { font-style: italic; color: var(--color-text-muted); font-size: 1.1rem; margin-bottom: 20px; }
.accordion-btn { background: transparent; border: 1px solid var(--color-border); color: var(--color-primary); font-family: var(--font-tech); font-weight: 600; font-size: 0.85rem; cursor: pointer; padding: 10px 24px; border-radius: 30px; margin-bottom: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all 0.3s ease; }
.accordion-btn:hover { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.arrow-icon { transition: transform 0.3s ease; }
.accordion-btn.open .arrow-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s ease; color: var(--color-text-muted); font-size: 0.95rem; text-align: left; border-top: 1px solid transparent; padding-top: 0; margin-top: 0; }
.accordion-content.open { max-height: 400px; opacity: 1; border-top: 1px solid var(--color-border); padding-top: 20px; margin-top: 10px; }

/* --- MARQUEE --- */
.section-clientes { padding: 60px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.marquee-container { width: 100%; overflow: hidden; position: relative; }
.marquee-container::before, .marquee-container::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; }
.marquee-container::before { left: 0; background: linear-gradient(to right, var(--color-bg-light), transparent); }
.marquee-container::after { right: 0; background: linear-gradient(to left, var(--color-bg-light), transparent); }
.marquee-track { display: flex; width: fit-content; animation: marquee 35s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.cliente-logo { margin: 0 40px; display: flex; align-items: center; justify-content: center; width: 150px; }
.cliente-logo img { width: 150px; height: 55px; object-fit: contain; filter: brightness(0); opacity: 0.35; transition: all 0.4s ease; }
.cliente-logo:hover img { opacity: 0.8; transform: scale(1.08); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- CONTACTO --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 60px; background: rgba(255, 255, 255, 0.7); border-radius: 20px; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.direct-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 15px; }
.contact-item a { color: var(--color-text-dark); text-decoration: none; font-size: 1.1rem; font-weight: 600; transition: color 0.3s ease; }
.contact-item a:hover { color: var(--color-accent); }
.form-ambient-blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 120%; height: 120%; background: radial-gradient(circle, rgba(41,66,98,0.15) 0%, transparent 60%); filter: blur(40px); z-index: 0; pointer-events: none; }
.glass-form { display: flex; flex-direction: column; gap: 20px; position: relative; z-index: 1; }
.form-group { position: relative; }
.glass-input { width: 100%; padding: 22px 20px 10px; border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 12px; font-family: var(--font-body); font-size: 1rem; color: var(--color-text-dark); background: rgba(255, 255, 255, 0.4); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: all 0.3s ease; outline: none; }
.glass-input:focus { background: rgba(255, 255, 255, 0.8); border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1), 0 8px 25px rgba(0,0,0,0.05); }
.form-group label { position: absolute; left: 20px; top: 18px; color: var(--color-text-muted); font-size: 1rem; transition: all 0.3s ease; pointer-events: none; z-index: 2;}
.glass-input:focus + label, .glass-input:not(:placeholder-shown) + label { top: 6px; font-size: 0.75rem; color: var(--color-primary); font-weight: 600; }

/* --- FOOTER --- */
.site-footer { padding: 80px 20px 20px 20px; color: white; position: relative; overflow: hidden; }
.footer-bg-pattern { position: absolute; inset: -50px; background-image: url('Asset 1@2x.jpg'); background-size: cover; background-position: center; opacity: 0.08; mix-blend-mode: screen; z-index: 0; pointer-events: none; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-logo { height: 45px; filter: brightness(0) invert(1); }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 25px; color: white; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s ease; font-size: 0.95rem; }
.footer-links a:hover { color: var(--color-accent); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { opacity: 0.8; transition: opacity 0.3s, transform 0.3s; display: inline-block;}
.social-icons a:hover { opacity: 1; transform: translateY(-3px); }
.social-icons a:hover .minimal-icon { stroke: var(--color-accent) !important; transition: stroke 0.3s ease; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; }
.copyright { font-size: 0.75rem; color: rgba(255, 255, 255, 0.4); margin: 0; }
.back-to-top { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; transition: transform 0.3s ease; }
.arrow-up { background: rgba(255,255,255,0.1); width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border-radius: 50%; transition: all 0.3s ease; }
.back-to-top:hover .arrow-up { background: var(--color-accent); transform: translateY(-5px); }
.footer-icon { color: #ffffff !important; }

/* --- ANIMACIONES GENERALES --- */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================
   MEDIA QUERIES - TABLETS (HASTA 992px)
   ========================================= */
@media (max-width: 992px) {
    .desktop-nav, .desktop-cta { display: none !important; }
    .hamburger { display: flex; }
    #universo-pin { height: auto !important; padding: 60px 0; }
    .universo-separator { display: none; }
    .universo-sticky-container { position: relative !important; height: auto !important; overflow: visible !important; display: block; }
    .universo-fixed-header { position: relative; padding: 0 20px; margin-bottom: 40px; top: auto;}
    .universo-track { display: flex; flex-direction: column !important; width: 100% !important; transform: none !important; }
    .universo-panel { width: 100% !important; height: auto !important; padding: 20px !important; margin-bottom: 40px; box-sizing: border-box; }
    .universo-panel-inner { flex-direction: column !important; margin-top: 0; gap: 30px !important; }
    
    /* FIX: Fuerza un alto fijo en tablet para que se vea la imagen de las experiencias */
    .zoom-wrapper { height: 350px !important; width: 100% !important; border-radius: 20px !important; mask-image: none !important; -webkit-mask-image: none !important; animation: none !important; }
    
    .premium-step-content { flex-direction: column; gap: 30px; text-align: center; padding: 60px 0; }
    .premium-step-card { padding: 0 40px; min-height: auto; }
    .huge-gradient-number { font-size: 10rem; }
    .step-text h3 { font-size: 2.5rem; margin-bottom: 15px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .carousel-card { flex: 0 0 calc(50% - 15px); }
    .scrolly-text { font-size: 3rem; }
    .universo-title { font-size: 4rem; gap: 20px; }
    .universo-inline-logo { height: 60px; }
    .objetivos-container { flex-direction: column; }
    .objetivos-visual { position: relative; top: 0; height: 40vh; width: 100%; order: -1; }
    .objetivos-text { padding: 20px 0; }
}

/* =========================================
   MEDIA QUERIES - MOBILE (HASTA 768px)
   ========================================= */
@media (max-width: 768px) {
    /* Padding general ajustado de 15px a 24px para despegarlo de los bordes */
    .section { padding: 60px 24px !important; } 
    p { font-size: 0.95rem; line-height: 1.6; }
    
    /* Reducción general de titulares */
    .section-title { font-size: 1.5rem !important; margin-bottom: 25px; line-height: 1.2; }
    .hero-title { font-size: 2.1rem; line-height: 1.1; } 
    .hero-subtitle { font-size: 1rem; margin-bottom: 25px; }
    
    /* Aumento de tipografía en Nuestro Enfoque para equilibrar y reducción de height */
    .scrolly-text { font-size: 2rem; } 
    #enfoque { min-height: 50vh !important; } 
    
    /* Reducción de textos en menú mobile */
    .mobile-link { font-size: 1.8rem; } 
    
    .universo-title { font-size: 2.1rem; gap: 10px; flex-direction: column; }
    .universo-inline-logo { height: 40px; }
    .universo-text { padding: 0px; text-align: center; }
    .universo-text h3 { font-size: 1.6rem; margin-bottom: 12px; }
    .universo-text p { font-size: 0.95rem; margin-bottom: 0; }
    
    /* FIX: Fuerza un alto fijo en móvil para que se vea la imagen de las experiencias */
    .zoom-wrapper { height: 280px !important; flex-shrink: 0; }
    
    .stats-grid { grid-template-columns: 1fr !important; gap: 30px !important; padding: 20px 0; }
    .stat-number { font-size: 4.5rem; margin-bottom: 5px; }
    .stat-text-light { font-size: 1rem; }
    .premium-step-card { padding: 0 20px; border-radius: 24px; }
    .huge-gradient-number { font-size: 6rem; } 
    .step-text h3 { font-size: 1.8rem; }
    .step-text p { font-size: 1.05rem; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
    .social-icons { justify-content: center; }
    .carousel-card { flex: 0 0 85%; height: 380px; }
    .carousel-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .card-content { transform: translateY(0); padding: 20px 15px; }
    .card-hidden-text { opacity: 1; margin-top: 8px; }
    
    /* Titulares de tarjetas ajustados */
    .card-content h3 { font-size: 1.5rem !important; }
    
    .cliente-logo { width: 100px; margin: 0 10px; }
    .cliente-logo img { width: 100px; height: 35px; }
    .contact-wrapper { grid-template-columns: 1fr; gap: 30px; padding: 30px 15px; }
    .glass-input { padding: 18px 15px 8px; font-size: 0.95rem; }
    .form-group label { left: 15px; top: 16px; font-size: 0.95rem; }
	
	/* --- SECCIÓN EQUIPO CENTRADA Y REDUCIDA EN MOBILE --- */
    #equipo .reveal-wrapper {
        display: block;
        text-align: center;
        width: 100%;
    }
    #equipo .section-title {
        font-size: 1.7rem !important; /* Título aún más reducido */
        text-align: center;
    }
    #equipo .team-member {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    #equipo .accordion-content {
        text-align: center;
    }
}

/* --- WHATSAPP FLOTANTE --- */
.whatsapp-float { position: fixed !important; bottom: 30px !important; right: 30px !important; width: 60px !important; height: 60px !important; background-color: #25D366 !important; color: #ffffff !important; border-radius: 50% !important; display: flex !important; justify-content: center !important; align-items: center !important; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4) !important; z-index: 999999 !important; transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important; animation: whatsappPulse 3s infinite !important; }
.whatsapp-float svg { width: 30px !important; height: 30px !important; fill: #ffffff !important; }
.whatsapp-float:hover { transform: scale(1.1) !important; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6) !important; }
@keyframes whatsappPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 768px) { .whatsapp-float { bottom: 20px !important; right: 20px !important; width: 52px !important; height: 52px !important; } .whatsapp-float svg { width: 24px !important; height: 24px !important; } }