/* Variables y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a0e27;
    --secondary: #151b3d;
    --accent-blue: #4f46e5;
    --accent-purple: #7c3aed;
    --accent-pink: #ec4899;
    --accent-cyan: #06b6d4;
    --text-light: #f3f4f6;
    --text-gray: #9ca3af;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary);
    color: var(--text-light);
    overflow-x: hidden;
    cursor: default;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cursor personalizado */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    background: rgba(79, 70, 229, 0.1);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: all 0.5s ease;
    z-index: 9998;
}

/* Navegación flotante */
nav {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
}

nav:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(79, 70, 229, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    position: relative;
}

.logo::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-blue), transparent);
    border-radius: 50%;
    left: -10px;
    top: -10px;
    opacity: 0.3;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover {
    color: var(--text-light);
    background: rgba(79, 70, 229, 0.1);
}

.nav-links a.active {
    color: var(--text-light);
    background: rgba(79, 70, 229, 0.2);
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 101;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul {
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active li:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.active li:nth-child(6) { transition-delay: 0.6s; }

.mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 1rem;
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--accent-blue);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.liquid-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}

.liquid-shape {
    position: absolute;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
}

.shape1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(45deg, rgba(79, 70, 229, 0.3), rgba(124, 58, 237, 0.3));
    top: -200px;
    left: -200px;
    animation-duration: 12s;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, rgba(236, 72, 153, 0.3), rgba(79, 70, 229, 0.3));
    bottom: -150px;
    right: -150px;
    animation-duration: 10s;
    animation-delay: -4s;
}

.shape3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, rgba(6, 182, 212, 0.3), rgba(124, 58, 237, 0.3));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 14s;
    animation-delay: -7s;
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 60% 40% 30% 70% / 50% 60% 50% 40%;
        transform: rotate(90deg) scale(1.1);
    }
    50% {
        border-radius: 70% 30% 50% 50% / 30% 70% 40% 60%;
        transform: rotate(180deg) scale(0.9);
    }
    75% {
        border-radius: 30% 70% 60% 40% / 60% 40% 70% 30%;
        transform: rotate(270deg) scale(1.05);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 5s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Botones CTA */
.cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

.cta-button-outline {
    padding: 1.2rem 2.5rem;
    background: transparent;
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-button-outline:hover {
    background: var(--glass);
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Secciones */
.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
}

/* Preview de empresas */
.companies-preview {
    padding: 8rem 2rem;
    position: relative;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.company-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    text-decoration: none;
    color: var(--text-light);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.company-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
}

.company-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}

.gradient-esloogan {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
}

.gradient-kiwix {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
}

.gradient-volone {
    background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
}

.company-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.company-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.arrow {
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.company-card:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Círculo de empresas interconectadas - DESKTOP */
.companies-circle {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
}

/* Centro del grupo */
.center-hub {
    position: absolute;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 60px rgba(79, 70, 229, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.2);
    z-index: 10;
    animation: pulse-hub 3s ease-in-out infinite;
}

@keyframes pulse-hub {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 60px rgba(79, 70, 229, 0.6), inset 0 0 40px rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 80px rgba(79, 70, 229, 0.8), inset 0 0 50px rgba(255, 255, 255, 0.3);
    }
}

/* Órbita animada */
.orbit-ring {
    position: absolute;
    width: 600px;
    height: 600px;
    border: 2px dashed rgba(79, 70, 229, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Nodos de empresas flotantes */
.company-node {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    color: var(--text-light);
    /* Removemos la animación aquí */
}

.company-node::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent, rgba(79, 70, 229, 0.1));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.company-node:hover::before {
    opacity: 1;
}

.company-node:hover {
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.4);
    z-index: 20;
    animation-play-state: paused;
}

/* Eliminamos la animación float-node del selector general */

/* Iconos de nodos */
.node-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.company-node h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.company-node p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.4;
}

/* Posicionamiento circular de empresas - 4 empresas en cruz perfecta CORREGIDO */
.node-esloogan {
    /* Arriba */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-300px);
    animation: float-esloogan 4s ease-in-out infinite;
    animation-delay: 0s;
}

.node-ugclovers {
    /* Derecha */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(300px);
    animation: float-ugclovers 4s ease-in-out infinite;
    animation-delay: 1s;
}

.node-kiwix {
    /* Abajo */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(300px);
    animation: float-kiwix 4s ease-in-out infinite;
    animation-delay: 2s;
}

.node-volone {
    /* Izquierda */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateX(-300px);
    animation: float-volone 4s ease-in-out infinite;
    animation-delay: 3s;
}

/* Animaciones individuales para cada nodo */
@keyframes float-esloogan {
    0%, 100% { transform: translate(-50%, -50%) translateY(-300px); }
    50% { transform: translate(-50%, -50%) translateY(-315px); }
}

@keyframes float-ugclovers {
    0%, 100% { transform: translate(-50%, -50%) translateX(300px); }
    50% { transform: translate(-50%, -50%) translateX(315px); }
}

@keyframes float-kiwix {
    0%, 100% { transform: translate(-50%, -50%) translateY(300px); }
    50% { transform: translate(-50%, -50%) translateY(315px); }
}

@keyframes float-volone {
    0%, 100% { transform: translate(-50%, -50%) translateX(-300px); }
    50% { transform: translate(-50%, -50%) translateX(-315px); }
}

/* Ajuste del hover para mantener la posición correcta */
.node-esloogan:hover {
    transform: translate(-50%, -50%) translateY(-300px) scale(1.15);
}

.node-ugclovers:hover {
    transform: translate(-50%, -50%) translateX(300px) scale(1.15);
}

.node-kiwix:hover {
    transform: translate(-50%, -50%) translateY(300px) scale(1.15);
}

.node-volone:hover {
    transform: translate(-50%, -50%) translateX(-300px) scale(1.15);
}

/* Gradiente para UGC Lovers */
.gradient-ugclovers {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
}

/* Partículas orbitales */
.orbital-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.orbital-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.6;
    animation: orbit-particle 20s linear infinite;
}

@keyframes orbit-particle {
    from {
        transform: rotate(0deg) translateX(300px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(300px) rotate(-360deg);
    }
}

.orbital-particle:nth-child(1) { animation-delay: 0s; }
.orbital-particle:nth-child(2) { animation-delay: 5s; }
.orbital-particle:nth-child(3) { animation-delay: 10s; }
.orbital-particle:nth-child(4) { animation-delay: 15s; }

/* Timeline creativo */
.timeline-creative {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-blue), var(--accent-purple), var(--accent-pink));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: calc(50% - 40px);
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 40px);
    padding-left: 40px;
}

.timeline-content {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    top: 30px;
    box-shadow: 0 0 0 5px var(--primary);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -50px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -50px;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(79, 70, 229, 0.3);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
    position: relative;
}

.service-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

/* Page headers */
.page-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem;
}

.page-header-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.1;
}

/* Contact form moderno */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    align-items: start;
}

.contact-form-modern {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.contact-form-modern::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent);
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.form-group-modern {
    margin-bottom: 2rem;
    position: relative;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.2);
}

.form-group-modern label {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group-modern input:focus + label,
.form-group-modern input:not(:placeholder-shown) + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 20px;
    font-size: 0.8rem;
    background: var(--primary);
    padding: 0 10px;
    color: var(--accent-blue);
}

.submit-modern {
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(180deg, transparent, rgba(79, 70, 229, 0.05));
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.social-links-modern {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link span {
    position: relative;
    z-index: 1;
}

/* Partículas */
.particles {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    bottom: -10px;
    animation: float-particle 20s linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-110vh) translateX(100px);
        opacity: 0;
    }
}

/* Estilos para select y options */
select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5em;
    padding-right: 3rem !important;
}

select option {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 0.5rem;
}

select option:hover,
select option:focus,
select option:checked {
    background-color: var(--accent-blue);
    color: white;
}

/* Fix para el select en el formulario */
.form-group-modern select {
    color: var(--text-light);
}

.form-group-modern select option[value=""] {
    color: var(--text-gray);
}
.float-animation {
    animation: float-up 6s ease-in-out infinite;
}

@keyframes float-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Contenedor móvil para empresas - no afecta desktop */
.companies-mobile-container {
    display: contents;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    /* Tablets */
    .companies-circle {
        width: 500px;
        height: 500px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    /* Móviles */
    
    /* Navegación móvil */
    nav {
        top: 20px;
        left: 20px;
        right: 20px;
        transform: none;
        padding: 0.6rem 1.5rem;
    }
    
    .nav-container {
        justify-content: space-between;
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Mostrar menú hamburguesa en móvil */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Hero móvil */
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        line-height: 1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .cta-button,
    .cta-button-outline {
        width: 100%;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Formas líquidas móvil */
    .liquid-shape {
        transform: scale(0.7);
    }
    
    .shape1 {
        width: 300px;
        height: 300px;
        top: -100px;
        left: -100px;
    }
    
    .shape2 {
        width: 250px;
        height: 250px;
        bottom: -100px;
        right: -100px;
    }
    
    .shape3 {
        width: 200px;
        height: 200px;
    }
    
    /* Secciones móvil */
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Companies preview móvil */
    .companies-preview {
        padding: 4rem 1rem;
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-card {
        padding: 2rem;
    }
    
    /* Ocultar elementos de desktop */
    .orbit-ring,
    .orbital-particles,
    .desktop-only {
        display: none !important;
    }
    
    /* Rediseño completo del círculo para móvil */
    .companies-circle {
        width: 100%;
        height: auto;
        display: block;
        position: static;
    }
    
    .center-hub {
        position: relative;
        width: 120px;
        height: 120px;
        margin: 0 auto 3rem;
        top: auto;
        left: auto;
        transform: none;
        font-size: 1.1rem;
    }
    
    @keyframes pulse-hub {
        0%, 100% { 
            transform: scale(1);
            box-shadow: 0 0 40px rgba(79, 70, 229, 0.6);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 0 0 50px rgba(79, 70, 229, 0.8);
        }
    }
    
    .companies-mobile-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 340px;
        margin: 0 auto;
    }
    
    .company-node {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        width: 100%;
        height: auto;
        border-radius: 20px;
        padding: 1.5rem;
        background: var(--secondary);
        border: 1px solid var(--glass-border);
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1rem;
        align-items: center;
        animation: none !important;
        text-align: left;
    }
    
    .company-node:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    }
    
    .node-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 0;
        border-radius: 15px;
    }
    
    .company-node h3 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .company-node p {
        display: block;
        font-size: 0.85rem;
        opacity: 0.8;
    }
    
    /* Timeline móvil */
    .timeline-creative {
        padding: 0 1rem;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 40px !important;
        padding-right: 0 !important;
        margin-bottom: 3rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    /* Servicios móvil */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Contacto móvil */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 2rem 1rem;
    }
    
    .contact-form-modern {
        padding: 2rem;
    }
    
    .form-group-modern input,
    .form-group-modern textarea {
        font-size: 16px; /* Evita zoom en iOS */
    }
    
    /* Page header móvil */
    .page-header {
        min-height: 50vh;
        padding: 4rem 1rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    /* Footer móvil */
    footer {
        padding: 3rem 1rem 2rem;
        margin-top: 3rem;
    }
    
    .social-links-modern {
        gap: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
    
    /* Ocultar cursor personalizado en móvil */
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    /* Ajustes de padding general */
    section {
        padding: 3rem 1rem !important;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Animaciones reducidas en móvil */
    @media (prefers-reduced-motion: reduce) {
        * {
            animation: none !important;
            transition: none !important;
        }
    }
}

@media (max-width: 480px) {
    /* Móviles pequeños */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .center-hub {
        width: 100px;
        height: 100px;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .companies-mobile-container {
        gap: 1rem;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .company-node {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .node-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .company-node h3 {
        font-size: 1rem;
    }
    
    .company-node p {
        font-size: 0.8rem;
    }
}

/* Ajustes para pantallas muy grandes */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
    
    .hero h1 {
        font-size: 7rem;
    }
    
    .companies-circle {
        width: 800px;
        height: 800px;
    }
    
    .company-node {
        width: 220px;
        height: 220px;
    }
    
    .center-hub {
        width: 250px;
        height: 250px;
        font-size: 1.8rem;
    }
}