/* ==========================================================================
   1. VARIABLES GLOBALES Y RESET
   ========================================================================== */
:root {
    --white: #ffffff;
    --gray-50: rgba(248, 250, 252, 0.6);
    --gray-100: #f1f5f9;
    --gray-400: #94a3b8;
    --text-dark: #0f172a;
    --text-light: #475569;
    
    --accent-1: #2563EB; 
    --accent-2: #00E5FF; 
    --accent-3: #38BDF8; 
    
    --gradient: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 229, 255, 0.1);
    --shadow-lg: 0 20px 40px -5px rgba(37, 99, 235, 0.15);
    --shadow-color: 0 20px 40px -5px rgba(0, 229, 255, 0.3);
    
    --font: 'Outfit', sans-serif;
}

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

@media (min-width: 992px) {
    body, a, button, input, select, textarea { cursor: none !important; }
}

html {
    scroll-behavior: smooth;
    font-family: var(--font);
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}

body { position: relative; background-color: var(--white); }

/* ==========================================================================
   2. PRELOADER (RÁPIDO Y CENTRADO)
   ========================================================================== */
.preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #030712; z-index: 100000;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    clip-path: circle(150% at 50% 50%);
}
.preloader-content { 
    text-align: center; width: 100%; max-width: 90vw;
    display: flex; flex-direction: column; align-items: center;
}
.preloader-logo-svg {
    width: 100%; max-width: 800px; height: 120px;
    margin: 0 auto 30px; display: block; overflow: visible;
}
.preloader-text-base {
    font-size: clamp(40px, 8vw, 100px); font-weight: 900; font-family: var(--font); letter-spacing: 2px;
}
.text-estrategia, .text-3d {
    fill: transparent; stroke-width: 2px;
    stroke-dasharray: 1200; stroke-dashoffset: 1200; 
}
.text-estrategia { stroke: var(--white); }
.text-3d { stroke: var(--accent-2); }

.preloader-logo-svg.animate-draw .text-estrategia {
    animation: draw-logo 1s ease-in-out forwards, fill-logo 0.3s ease-in-out 0.8s forwards;
}
.preloader-logo-svg.animate-draw .text-3d {
    animation: draw-logo 1s ease-in-out forwards, fill-logo-accent 0.3s ease-in-out 0.8s forwards;
}

@keyframes draw-logo { 0% { stroke-dashoffset: 1200; } 100% { stroke-dashoffset: 0; } }
@keyframes fill-logo { 100% { fill: rgba(255,255,255,1); } }
@keyframes fill-logo-accent { 100% { fill: var(--accent-2); } }

.preloader-bar { width: 250px; height: 3px; background: rgba(255,255,255,0.1); margin: 0 auto; overflow: hidden; border-radius: 3px; opacity: 0; }
.bar-progress { width: 0%; height: 100%; background: var(--gradient); }
.hero-content, .hero-visuals { opacity: 0; }

/* ==========================================================================
   3. CURSOR Y SCROLLSPY LATERAL
   ========================================================================== */
.cursor-dot, .cursor-outline { position: fixed; top: 0; left: 0; transform: translate(-50%, -50%); border-radius: 50%; z-index: 2147483647; pointer-events: none; }
.cursor-dot { width: 10px; height: 10px; background-color: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); }
.cursor-outline { width: 40px; height: 40px; border: 2px solid rgba(0, 229, 255, 0.8); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.cursor-outline.hover { width: 60px; height: 60px; background-color: rgba(0, 229, 255, 0.2); border-color: transparent; }

.floating-nav { position: fixed; right: 30px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 15px; z-index: 9990; }
.nav-dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(37, 99, 235, 0.3); border: 2px solid transparent; transition: all 0.3s ease; position: relative; cursor: pointer; }
.nav-dot:hover, .nav-dot.active { background-color: var(--accent-1); transform: scale(1.3); box-shadow: 0 0 10px rgba(0, 229, 255, 0.6); }
.nav-dot::before { content: attr(data-tooltip); position: absolute; right: 35px; top: 50%; transform: translateY(-50%); background: var(--text-dark); color: var(--white); padding: 6px 14px; border-radius: 30px; font-size: 0.75rem; font-weight: 700; white-space: nowrap; opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.nav-dot.active::before, .nav-dot:hover::before { opacity: 1; visibility: visible; right: 25px; }

/* ==========================================================================
   4. ASTRONAUTA FLOTANTE Y CLICABLE
   ========================================================================== */
.guide-companion {
    position: fixed; left: 2%; bottom: 5vh; z-index: 9989; 
    pointer-events: none; 
    height: 35vh; width: 250px; display: flex; justify-content: center; align-items: flex-end;
}
.guide-wrapper {
    position: relative; width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
}

.astronaut-character {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: floating-autonomous 6s ease-in-out infinite alternate;
    z-index: 2;
    pointer-events: auto; 
}

.speech-bubble {
    background: var(--white);
    color: var(--text-dark);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    position: absolute;
    top: -50px; 
    white-space: nowrap;
    border: 2px solid var(--accent-2);
    opacity: 0;
    transform: scale(0.5);
    animation: popUpBubble 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) 2.5s forwards;
    transition: transform 0.3s;
}

.astronaut-character:hover .speech-bubble {
    transform: scale(1.1) translateY(-5px);
}

.speech-bubble::after {
    content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    border-width: 8px 8px 0; border-style: solid;
    border-color: var(--accent-2) transparent transparent transparent;
}
.speech-bubble::before {
    content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    border-width: 6px 6px 0; border-style: solid;
    border-color: var(--white) transparent transparent transparent;
    z-index: 1;
}

@keyframes popUpBubble {
    to { opacity: 1; transform: scale(1); }
}

.astronaut-character img { 
    width: 100%; max-height: 100%; object-fit: contain; 
    filter: drop-shadow(0 20px 30px rgba(0, 229, 255, 0.3)); 
    display: block !important; 
    transition: transform 0.3s;
}

.astronaut-character:hover img {
    transform: scale(1.05);
}

@keyframes floating-autonomous {
    0% { transform: translateY(0) rotate(-3deg); }
    100% { transform: translateY(-30px) rotate(3deg); }
}

.glow-trail { 
    position: absolute; width: 80%; height: 40px; background: var(--accent-2); 
    border-radius: 50%; bottom: -10px; left: 50%; transform: translateX(-50%); 
    filter: blur(25px); opacity: 0.7; z-index: 1; 
}

/* ==========================================================================
   5. BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    background: linear-gradient(135deg, #25D366, #128C7E); 
    color: #FFF; 
    border-radius: 50%; 
    width: 60px; height: 60px; 
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4); 
    z-index: 9990; 
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-wa 2s infinite;
}
.whatsapp-float svg { 
    width: 35px; height: 35px; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); 
    overflow: visible; 
}
.whatsapp-float:hover { 
    transform: translateY(-5px) scale(1.1) rotate(5deg); 
    animation: none; 
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.6), inset 0 0 15px rgba(255,255,255,0.4);
}
@keyframes pulse-wa { 
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } 
}

/* ==========================================================================
   6. BOTONES CON EFECTO SPARKS
   ========================================================================== */
.btn-primary, .btn-outline {
    display: inline-block; padding: 1rem 2rem; border-radius: 50px;
    font-weight: 600; text-decoration: none; text-align: center; border: none; font-size: 1rem;
    transition: all 0.3s ease; position: relative; cursor: pointer;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-color); }
.btn-outline { background: transparent; border: 2px solid var(--text-dark); color: var(--text-dark); }
.btn-outline:hover { color: var(--white); background: var(--text-dark); }

.btn-sparkle { overflow: visible !important; z-index: 1; }
.btn-sparkle span { position: relative; z-index: 2; }
.sparks-container { position: absolute; top: 50%; left: 50%; width: 0; height: 0; z-index: -1; }
.spark {
    position: absolute; top: -8px; left: -2px; width: 4px; height: 16px;
    background: var(--accent-2); border-radius: 4px; opacity: 0;
    transform: rotate(var(--deg)) translateY(0);
}
.btn-sparkle:hover .spark { animation: burst 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -5px rgba(0, 229, 255, 0.4); }

@keyframes burst {
    0% { transform: rotate(var(--deg)) translateY(0) scaleY(0.5); opacity: 0; }
    50% { opacity: 1; scaleY: 1; }
    100% { transform: rotate(var(--deg)) translateY(-45px) scaleY(0.5); opacity: 0; }
}

/* ==========================================================================
   7. TYPEWRITER EFFECT
   ========================================================================== */
.cursor-blink {
    font-weight: 300;
    color: var(--accent-2);
    animation: blink 0.8s step-end infinite;
    margin-left: 4px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ==========================================================================
   8. UTILIDADES GENERALES
   ========================================================================== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; position: relative; z-index: 10; }
.gradient-text { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.bg-light { background-color: var(--gray-50); backdrop-filter: blur(10px); }
.transparent-bg { background-color: transparent; backdrop-filter: none; }
.badge-text { font-size: 0.85rem; font-weight: 800; letter-spacing: 2px; color: var(--accent-1); text-transform: uppercase; margin-bottom: 15px; display: inline-block; }
.btn-text { color: var(--accent-1); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.w-100 { width: 100%; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; color: var(--text-dark); }
.section-header p { font-size: 1.2rem; color: var(--text-light); max-width: 700px; margin: 0 auto; }

/* ==========================================================================
   9. NAVBAR Y CABECERA (HERO)
   ========================================================================== */
.navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 5%;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255, 255, 255, 0.3); transition: all 0.3s;
    opacity: 1 !important; 
}
.navbar.scrolled { padding: 1rem 5%; box-shadow: var(--shadow-sm); }
.navbar.dark-theme { background: transparent; border-bottom: none; }
.navbar.dark-theme .logo, .navbar.dark-theme .nav-links a { color: var(--white); }
.navbar.dark-theme .nav-btn { color: var(--white); border-color: var(--white); }

.logo { font-size: 1.5rem; font-weight: 900; letter-spacing: 1px; color: var(--text-dark); transition: color 0.3s;}
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 600; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent-1); }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 100px; }

.hero-dark-bg { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background-color: #030712; z-index: 0; 
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg width='150' height='150' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='15' cy='15' r='1.5' fill='rgba(255,255,255,0.4)'/%3E%3Ccircle cx='75' cy='75' r='0.5' fill='rgba(255,255,255,0.2)'/%3E%3Ccircle cx='120' cy='40' r='2' fill='rgba(255,255,255,0.15)'/%3E%3Ccircle cx='45' cy='120' r='1' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E");
    background-size: 100% 100%, 100% 100%, 100% 100%, 150px 150px;
}

.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; z-index: 5; }
.hero-content { z-index: 5; color: var(--white); }
.hero .badge-light { background: rgba(0, 229, 255, 0.1); color: var(--accent-2); border: 1px solid rgba(0, 229, 255, 0.2); padding: 0.5rem 1.2rem; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-bottom: 1.5rem; display: inline-block;}
.hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.5rem; color: var(--white); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.7); margin-bottom: 2.5rem; line-height: 1.6; }

.hero-visuals { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; z-index: 5;}
.illustration-wrapper { position: absolute; display: flex; align-items: center; justify-content: center;}

/* NATIVO */
.3d-asset { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    filter: drop-shadow(0 20px 30px rgba(0, 229, 255, 0.3)); 
    display: block; 
}

.glass-theme { background: rgba(255, 255, 255, 0.05); border-style: solid; border-color: rgba(255,255,255,0.1); }

.orbit-1 { width: 300px; height: 400px; top: -8%; right: -10%; z-index: 2; left: auto; } 
.orbit-2 { width: 220px; height: 220px; bottom: 10%; right: 10%; z-index: 3; left: auto; } 
.orbit-3 { top: 25%; left: 0%; z-index: 4; }

.glass-card { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(15px); padding: 1.5rem; border-radius: 20px; display: flex; gap: 1rem; align-items: center; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.glass-card .icon { font-size: 2rem; }
.glass-card h4 { font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--white); }
.glass-card p { font-size: 0.9rem; color: var(--accent-2); font-weight: 700; margin: 0; }

/* ==========================================================================
   10. MARQUEE INFINITO
   ========================================================================== */
.marquee-section { padding: 2rem 0; background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: var(--white); transform: rotate(-2deg); margin-bottom: 4rem; width: 105vw; margin-left: -2vw; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.05); }
.marquee { white-space: nowrap; overflow: hidden; display: flex; }
.marquee-content { display: flex; animation: scroll-left 25s linear infinite; }
.marquee-content span { font-size: 1.5rem; font-weight: 800; padding: 0 2rem; text-transform: uppercase; letter-spacing: 2px; }
@keyframes scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   11. SECCIÓN FILOSOFÍA
   ========================================================================== */
.philosophy { padding: 8rem 5%; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.philosophy-text h2 { font-size: clamp(3rem, 4vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; color: var(--text-dark); letter-spacing: -1px; }
.philosophy-text .cyan-text { color: var(--accent-3); }
.philosophy-text p { font-size: 1.15rem; color: var(--text-light); line-height: 1.8; margin-bottom: 2.5rem; }
.philosophy-text strong { color: var(--text-dark); font-weight: 800; }
.link-blue { font-size: 1.1rem; font-weight: 800; color: var(--accent-1); text-decoration: none; display: inline-flex; align-items: center; transition: color 0.3s; }
.link-blue:hover { color: var(--accent-2); }

.philosophy-image { position: relative; width: 100%; height: 450px; margin-left: 20px; }
.decorative-cyan { position: absolute; width: 100%; height: 100%; border: 3px solid var(--accent-2); border-radius: 24px; top: 20px; left: -20px; z-index: 1; }
.decorative-shadow { position: absolute; width: 100%; height: 100%; background-color: #e2e8f0; border-radius: 24px; top: 20px; left: 20px; z-index: 1; }
.large-render { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--white); border-radius: 24px; z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; }
.filosofia-img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }

/* ==========================================================================
   12. SECCIÓN PORTAFOLIO
   ========================================================================== */
.portfolio { padding: 8rem 0; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 1.5rem; }
.bento-item { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer; border: 1px solid var(--gray-100); }
.bento-item.large { grid-column: span 2; grid-row: span 2; }

/* ESTILOS PARA LAS IMÁGENES DEL PORTAFOLIO (Escritorio) */
.portfolio-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; display: block; }
.bento-item:hover .portfolio-img { transform: scale(1.05); }

.bento-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--white); transform: translateY(20px); opacity: 0; transition: all 0.4s ease; }
.bento-item:hover .bento-overlay { transform: translateY(0); opacity: 1; }
.bento-overlay h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.bento-overlay p { color: var(--accent-2); font-weight: 600; }

/* ==========================================================================
   13. SECCIÓN SERVICIOS (ETAPAS)
   ========================================================================== */
.services { padding: 8rem 5%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background: rgba(255, 255, 255, 0.9); padding: 3rem; border-radius: 24px; border: 2px solid; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: var(--shadow-sm); }
.service-card:hover { transform: translateY(-8px); }
.service-card .icon { font-size: 3rem; margin-bottom: 1.5rem; display: inline-block; transition: transform 0.3s; }
.service-card:hover .icon { transform: scale(1.1) translateY(-5px); }
.service-card:nth-child(1) { border-color: rgba(37, 99, 235, 0.2); }
.service-card:nth-child(1):hover { border-color: var(--accent-1); box-shadow: 0 15px 30px rgba(37, 99, 235, 0.15); }
.service-card:nth-child(1) .icon { filter: drop-shadow(0 5px 10px rgba(37, 99, 235, 0.3)); }
.service-card:nth-child(2) { border-color: rgba(0, 229, 255, 0.2); }
.service-card:nth-child(2):hover { border-color: var(--accent-2); box-shadow: 0 15px 30px rgba(0, 229, 255, 0.15); }
.service-card:nth-child(2) .icon { filter: drop-shadow(0 5px 10px rgba(0, 229, 255, 0.3)); }
.service-card:nth-child(3) { border-color: rgba(56, 189, 248, 0.2); }
.service-card:nth-child(3):hover { border-color: var(--accent-3); box-shadow: 0 15px 30px rgba(56, 189, 248, 0.15); }
.service-card:nth-child(3) .icon { filter: drop-shadow(0 5px 10px rgba(56, 189, 248, 0.3)); }

/* ==========================================================================
   14. PROCESOS: NÚMEROS SVG
   ========================================================================== */
.process { padding: 8rem 0; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; text-align: center; }
.step { position: relative; }
.svg-number { width: 120px; height: 120px; margin: 0 auto -2rem; position: relative; z-index: -1; }
.svg-number text { font-size: 80px; font-weight: 900; font-family: var(--font); fill: rgba(37, 99, 235, 0.05); stroke: var(--accent-1); stroke-width: 2px; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw-number 3s ease-in-out infinite alternate; }
.delay-1 text { animation-delay: -1s; stroke: var(--accent-2); }
.delay-2 text { animation-delay: -2s; stroke: var(--accent-3); }
@keyframes draw-number { 0% { stroke-dashoffset: 400; } 100% { stroke-dashoffset: 0; } }

/* ==========================================================================
   15. PRICING
   ========================================================================== */
.pricing { padding: 8rem 5%; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; align-items: start; }

.pricing-card { 
    background: rgba(255, 255, 255, 0.95); 
    padding: 3rem 2.5rem; 
    border-radius: 30px; 
    border: 1px solid var(--gray-100); 
    transform-style: preserve-3d; 
    transform: perspective(1000px); 
    transition: transform 0.5s ease, box-shadow 0.5s ease; 
    box-shadow: var(--shadow-sm); 
    display: flex; 
    flex-direction: column; 
}
.pricing-card.premium { background: #f8faff; transform: perspective(1000px) scale(1.05); z-index: 2; border: none; box-shadow: var(--shadow-lg); }
.pricing-card:hover { border-color: rgba(0, 229, 255, 0.5); transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 50px rgba(0, 229, 255, 0.2); }
.popular-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%) translateZ(30px); background: var(--gradient); color: var(--white); padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3); }

.pricing-card h3 { font-size: 2rem; transform: translateZ(30px); margin-bottom: 0.5rem;}
.pricing-card .price { font-size: 3.5rem; font-weight: 900; transform: translateZ(50px); color: var(--accent-1); margin: 1rem 0 2rem;}

.pricing-card ul { list-style: none; margin-bottom: 1rem; transform: translateZ(25px); flex-grow: 1; }
.pricing-card ul li { padding: 0.8rem 0; border-bottom: 1px solid var(--gray-100); font-weight: 500; }
.pricing-card ul li::before { content: '✓'; color: var(--accent-1); margin-right: 10px; font-weight: bold; }

.pricing-card .btn-sparkle { 
    transform: translateZ(40px); 
    margin-top: 1rem; 
}

.toggle-features-btn {
    background: transparent;
    border: none;
    color: var(--accent-1);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1rem;
    text-align: left;
    display: inline-block;
    transition: color 0.3s ease;
    transform: translateZ(25px);
    outline: none;
}
.toggle-features-btn:hover { color: var(--accent-2); text-decoration: underline; }

/* ==========================================================================
   16. CONTACTO Y FOOTER
   ========================================================================== */
.contact { padding: 8rem 5%; }
.contact-box { background: var(--text-dark); border-radius: 40px; padding: 5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 100%; height: 100%; background: radial-gradient(circle, rgba(0, 229, 255, 0.2) 0%, transparent 70%); pointer-events: none; }
.contact-info, .contact-form { z-index: 2; position: relative; }
.contact-info h2 { color: var(--white); font-size: 3rem; margin-bottom: 1.5rem; }
.contact-info p { color: var(--gray-400); font-size: 1.1rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; }
.input-group { display: flex; gap: 1.5rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 1.2rem; border-radius: 12px; border: none; background: rgba(255,255,255,0.05); color: var(--white); font-family: var(--font); font-size: 1rem; border: 1px solid rgba(255,255,255,0.1); outline: none; transition: all 0.3s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent-2); background: rgba(255,255,255,0.1); box-shadow: 0 0 15px rgba(0, 229, 255, 0.2); }

.contact-form select option { background-color: var(--text-dark); color: var(--white); }

footer { padding: 3rem 0; border-top: 1px solid var(--gray-100); background: var(--white); z-index: 10; position: relative;}
.footer-content { display: flex; justify-content: space-between; align-items: center; }

/* ==========================================================================
   17. RESPONSIVE DESIGN INTERMEDIO
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .philosophy-grid, .contact-box { grid-template-columns: 1fr; }
    .hero-visuals { height: 350px; margin-top: 2rem; }
    .orbit-1 { width: 150px; height: auto; top: -5%; right: 5%; }
    .orbit-2 { width: 100px; height: auto; bottom: 5%; left: 5%; }
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-item.large { grid-column: span 1; grid-row: span 1; }
    .pricing-card.premium { transform: perspective(1000px) scale(1); margin: 1rem 0; }
    .floating-nav { display: none; }
    .philosophy-image { margin-left: 0; height: 350px; margin-top: 3rem; }
    .decorative-cyan { left: -10px; top: 15px; }
    .decorative-shadow { left: 10px; top: 15px; }
    .contact-box { padding: 3rem; }
}

.section-scroll { padding-top: 80px; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   18. RESPONSIVE DESIGN ESTRICTO (HASTA 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .marquee-section { transform: rotate(0); width: 100%; margin-left: 0; }
    
    .guide-companion { display: none !important; }
    
    .hero-visuals { height: 400px !important; margin-top: 2rem !important; }
    
    html body .illustration-wrapper.orbit-1 { 
        width: 150px !important; 
        max-width: 150px !important;
        height: auto !important;
        top: -5% !important; 
        right: 0 !important; 
        left: auto !important; 
        transform: none !important;
    } 
    html body .illustration-wrapper.orbit-1 img {
        width: 100% !important; 
        height: auto !important;
        object-fit: contain !important;
    }

    /* PLANETA REDUCIDO A LA MITAD (165px) EN MÓVIL */
    html body .illustration-wrapper.orbit-2 { 
        width: 330px !important; 
        max-width: 330px !important;
        height: auto !important;
        bottom: 5% !important; 
        left: -10px !important; 
        right: auto !important; 
        transform: none !important;
        z-index: 1 !important;
    }
    html body .illustration-wrapper.orbit-2 img {
        width: 100% !important; 
        height: auto !important;
        object-fit: contain !important;
    }

    html body .illustration-wrapper.orbit-3 { 
        top: auto !important;
        bottom: -20px !important;
        left: 50% !important;
        transform: translateX(-50%) scale(0.7) !important;
        width: auto !important;
    } 

    /* ==========================================================================
       FIX PARA IMÁGENES DEL PORTAFOLIO EN MÓVIL
       ========================================================================== */
    .bento-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .bento-item {
        width: 100%;
        height: 280px; 
        min-height: 280px;
        position: relative;
        overflow: hidden;
        border-radius: 20px;
    }
    
    .portfolio-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover !important; 
        object-position: center center !important; 
        transition: transform 0.5s ease;
    }
    
    .contact-box { padding: 2rem; gap: 2rem; border-radius: 25px; }
    .contact-info h2 { font-size: 2rem; }
    .input-group { flex-direction: column; gap: 1rem; }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}