/* ==========================================================================
   CSS PRINCIPAL - ARKADIALAND CORPORATION
   Estilo Premium con Estética 3D, Neon y Glassmorphism
   ========================================================================== */

/* Variables del Sistema de Diseño */
:root {
    --bg-color: #05020a;
    --bg-darker: #020005;
    --text-color: #f8f7fa;
    --text-muted: #a39fb4;
    
    /* Colores de Acento (Neon) */
    --primary-color: #8b2cf5;
    --primary-glow: rgba(139, 44, 245, 0.5);
    --secondary-color: #00f0ff;
    --secondary-glow: rgba(0, 240, 255, 0.5);
    --accent-color: #ff007f;
    --accent-glow: rgba(255, 0, 127, 0.5);
    
    /* Variables de Vidrio (Glassmorphism) */
    --card-bg: rgba(13, 8, 24, 0.45);
    --card-bg-hover: rgba(22, 14, 38, 0.65);
    --card-border: rgba(255, 255, 255, 0.06);
    --card-border-hover: rgba(0, 240, 255, 0.35);
    
    /* Tipografías */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset de Estilos */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-color);
    overflow-x: hidden;
    width: 100%;
}

body {
    background: radial-gradient(circle at 50% 50%, #150a2b 0%, var(--bg-color) 70%);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Personalizado para Navegadores Modernos */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   ELEMENTOS GLOBALES
   ========================================================================== */

/* Three.js Canvas Container */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

/* Matrix Digital Rain Background (Persistent across all sections) */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2; /* Se coloca detrás de ufoGroup que está en #canvas-container (z-index -1) */
    pointer-events: none;
    opacity: 0.10; /* Opacidad extra sutil para todo el fondo de la web */
}

/* Cursor Personalizado */
.custom-cursor-dot, .custom-cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
    display: none; /* Se activa mediante JS si es PC */
}

@media (pointer: fine) {
    .custom-cursor-dot {
        display: block;
        width: 8px;
        height: 8px;
        background-color: var(--secondary-color);
        box-shadow: 0 0 10px var(--secondary-color);
    }
    
    .custom-cursor-outline {
        display: block;
        width: 35px;
        height: 35px;
        border: 1px solid rgba(0, 240, 255, 0.4);
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
    }
    
    /* Cursor hover effects */
    body.cursor-hover .custom-cursor-dot {
        width: 12px;
        height: 12px;
        background-color: var(--accent-color);
        box-shadow: 0 0 15px var(--accent-color);
    }
    
    body.cursor-hover .custom-cursor-outline {
        width: 55px;
        height: 55px;
        border-color: var(--accent-color);
        background-color: rgba(255, 0, 127, 0.05);
        box-shadow: 0 0 25px rgba(255, 0, 127, 0.2);
    }
}

/* Tipografías y Textos */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight {
    color: var(--secondary-color);
    text-shadow: 0 0 15px var(--secondary-glow);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(139, 44, 245, 0.15);
    border: 1px solid rgba(139, 44, 245, 0.3);
    color: #c9a3ff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-style: italic;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(139, 44, 245, 0.1);
}

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.25);
    color: var(--secondary-color);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-smooth), background-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.glass-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--card-border-hover);
    box-shadow: 0 15px 35px rgba(0, 240, 255, 0.08), 0 0 25px rgba(139, 44, 245, 0.05);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: rgba(139, 44, 245, 0.15);
    color: #ffffff;
    border: 2px solid #a453f7;
    box-shadow: 0 0 20px rgba(139, 44, 245, 0.65), inset 0 0 12px rgba(139, 44, 245, 0.3);
    text-shadow: 0 0 6px var(--primary-color);
}

.btn-primary:hover {
    background: rgba(139, 44, 245, 0.25);
    border-color: #b26eff;
    box-shadow: 0 0 30px rgba(139, 44, 245, 0.95), inset 0 0 18px rgba(139, 44, 245, 0.45);
    transform: translateY(-3px) scale(1.03);
}

.btn-secondary {
    background: rgba(255, 0, 127, 0.15);
    color: #ffffff;
    border: 2px solid #ff33aa;
    box-shadow: 0 0 20px rgba(255, 0, 127, 0.65), inset 0 0 12px rgba(255, 0, 127, 0.3);
    text-shadow: 0 0 6px var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(255, 0, 127, 0.25);
    border-color: #ff5ebc;
    box-shadow: 0 0 30px rgba(255, 0, 127, 0.95), inset 0 0 18px rgba(255, 0, 127, 0.45);
    transform: translateY(-3px) scale(1.03);
}

.btn-outline {
    background: rgba(0, 240, 255, 0.15);
    color: #ffffff;
    border: 2px solid #33f5ff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.65), inset 0 0 12px rgba(0, 240, 255, 0.3);
    text-shadow: 0 0 6px var(--secondary-color);
}

.btn-outline:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: #80f9ff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.95), inset 0 0 18px rgba(0, 240, 255, 0.45);
    transform: translateY(-3px) scale(1.03);
}

/* Efecto Pulsante para el botón de Ver Servicios */
#hero-primary-btn {
    animation: buttonPulse 2.2s infinite ease-in-out;
}

#hero-primary-btn:hover {
    animation-play-state: paused;
}

@keyframes buttonPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(139, 44, 245, 0.65), inset 0 0 12px rgba(139, 44, 245, 0.3);
    }
    50% {
        transform: scale(1.04);
        box-shadow: 0 0 32px rgba(139, 44, 245, 0.95), inset 0 0 18px rgba(139, 44, 245, 0.45);
        border-color: #b26eff;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(139, 44, 245, 0.65), inset 0 0 12px rgba(139, 44, 245, 0.3);
    }
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateY(3px);
}

/* ==========================================================================
   CABECERA & NAVEGACIÓN
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(5, 2, 10, 0.8) 0%, rgba(5, 2, 10, 0) 100%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: padding var(--transition-smooth), background-color var(--transition-smooth);
}

.header.scrolled {
    padding: 12px 8%;
    background-color: rgba(5, 2, 10, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.logo-container {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-subtext {
    font-size: 0.6rem;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: -3px;
}

.nav {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 20px;
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 6px 12px;
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--text-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 12px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
    transition: width var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: calc(100% - 24px);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 8px;
    margin-right: -8px;
    cursor: pointer;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-color);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.menu-close svg {
    width: 28px;
    height: 28px;
}

/* Menú Móvil Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: rgba(8, 4, 18, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    z-index: 2000;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    transition: right var(--transition-smooth);
    pointer-events: none; /* Desactiva interacción cuando está cerrado */
}

.mobile-menu.open {
    right: 0;
    pointer-events: auto; /* Reactiva interacción cuando se abre */
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}

.mobile-link {
    color: var(--text-muted);
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: color var(--transition-fast);
}

.mobile-link:hover {
    color: var(--secondary-color);
}

.mobile-cta {
    margin-top: 40px;
    width: 100%;
}

/* ==========================================================================
   LAYOUT Y SECCIONES
   ========================================================================== */
.section {
    min-height: 100vh;
    padding: 120px 8% 80px 8%;
    display: flex;
    align-items: center;
    position: relative;
}

.section-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 10;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-subtitle, .contact-text {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 400;
    text-shadow: 0 0 8px rgba(139, 44, 245, 0.25);
}

/* ==========================================================================
   SECCIÓN HERO
   ========================================================================== */
.hero-section {
    padding-top: 150px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 0 0 8px rgba(139, 44, 245, 0.4);
    margin-bottom: 2.5rem;
    max-width: 580px;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* Tarjeta Interactiva del Hero */
.hero-interactive-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
    min-height: 320px;
    justify-content: space-between;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 44, 245, 0.12) 0%, rgba(0, 240, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0, 240, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 240, 255, 0); }
}

.status-text {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-row {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

.stat-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.stat-grid .stat-number {
    font-size: 1.8rem;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.stat-grid .stat-label {
    font-size: 0.72rem;
    margin-top: 2px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.scroll-icon-anim {
    display: flex;
    align-items: center;
}

.mouse-scroll {
    width: 14px;
    height: 24px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    position: relative;
}

.mouse-scroll::before {
    content: '';
    width: 4px;
    height: 6px;
    background-color: var(--secondary-color);
    position: absolute;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    animation: scrollMouse 1.5s infinite;
}

@keyframes scrollMouse {
    0% { top: 4px; opacity: 1; }
    100% { top: 14px; opacity: 0; }
}

/* ==========================================================================
   SECCIÓN SERVICIOS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    height: 100%;
}

.service-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(139, 44, 245, 0.08);
    border: 1px solid rgba(139, 44, 245, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(139, 44, 245, 0.1);
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), color var(--transition-smooth), border-color var(--transition-smooth);
}

.service-icon {
    width: 28px;
    height: 28px;
}

.service-card:hover .service-icon-container {
    transform: scale(1.1) rotate(5deg);
    background: var(--secondary-color);
    color: var(--bg-color);
    border-color: var(--secondary-color);
    box-shadow: 0 0 20px var(--secondary-glow);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.service-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    transition: color var(--transition-fast);
}

.link-icon {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--text-color);
}

.service-card:hover .link-icon {
    transform: translateX(4px);
}

/* ==========================================================================
   SECCIÓN FÓRMULA (PROCESO)
   ========================================================================== */
.formula-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

/* Línea de fondo para el Timeline */
.formula-steps::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color), transparent);
    z-index: 1;
    opacity: 0.4;
}

.step-item {
    display: flex;
    gap: 40px;
    padding: 30px 40px;
    z-index: 2;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transition: background-color var(--transition-smooth), border-color var(--transition-smooth), transform var(--transition-smooth);
}

.step-item:hover .step-number {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--primary-glow);
}

.step-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-title {
    font-size: 1.5rem;
}

.step-description {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   SECCIÓN CONTACTO
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-text {
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 3rem;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.contact-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    transition: border-color var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
}

.contact-detail-item:hover .contact-icon-wrapper {
    border-color: var(--secondary-color);
    background: rgba(0, 240, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.contact-detail-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a.contact-value:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-icon:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background: rgba(0, 240, 255, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

/* Formulario */
.contact-form-container {
    padding: 40px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: opacity var(--transition-smooth), transform var(--transition-smooth);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.form-input {
    width: 100%;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a39fb4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

.form-select option {
    background-color: #0d0818;
    color: var(--text-color);
}

.form-textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    padding: 14px 28px;
}

/* Mensaje de Éxito */
.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 20px 0;
    animation: fadeInUp var(--transition-smooth);
}

.success-icon-container {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.08);
    border: 2px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-icon {
    width: 35px;
    height: 35px;
}

.form-success-message h3 {
    font-size: 1.8rem;
    color: var(--text-color);
}

.form-success-message p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 320px;
}

.btn-reset-form {
    margin-top: 15px;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20deg); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* ==========================================================================
   PIE DE PÁGINA
   ========================================================================== */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 40px 8%;
    background-color: var(--bg-darker);
    position: relative;
    z-index: 10;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDAD)
   ========================================================================== */
@media (max-width: 992px) {
    .header {
        padding: 20px 5%;
    }
    .header.scrolled {
        padding: 12px 5%;
    }
    .nav {
        display: none;
    }
    .header-cta {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .section {
        padding: 100px 5% 60px 5%;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .hero-text-container {
        align-items: center;
    }
    .hero-title {
        font-size: 3.2rem;
    }
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-interactive-card {
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .contact-info-container {
        text-align: center;
    }
    .contact-details {
        align-items: center;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .formula-steps::before {
        left: 20px;
    }
    .step-item {
        gap: 20px;
        padding: 20px;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    .step-title {
        font-size: 1.25rem;
    }
    .step-description {
        font-size: 0.9rem;
    }
    .contact-form-container {
        padding: 25px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
