/* DAK AGENCY - OPTIMIZED STYLES */

/* Performance Optimizations */
* {
    box-sizing: border-box;
}

/* Utility Classes */
.hidden{display:none}
.flex-center{display:flex;gap:1rem;margin-top:2rem}
.skeleton-width-80{width:80%;max-width:600px}
.skeleton-width-60{width:60%;max-width:400px}
.skeleton-width-70{width:70%;max-width:500px}
.skeleton-margin-auto{width:80%;margin:0 auto}
.skeleton-margin-center{width:60%;margin:1rem auto}
.skeleton-margin-small{width:40%;margin:1rem auto}
.padding-2rem{padding:2rem}
.nowrap{white-space:nowrap}
.icon-small{margin-left:.25rem;width:1rem;height:1rem}

/* GPU acceleration for interactive elements + forced reflow prevention */
button,a,.service-card-modern,.modern-btn,.btn-primary,.btn-secondary{transform:translateZ(0);will-change:transform;contain:layout style paint;}
.hero-visual-advanced,.radar-container,.particle-field{contain:layout style;}

/* Optimize font rendering */
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeSpeed;}

/* 🎨 Optimized Typography System - 3 fonts instead of 6 */
:root {
    --primary: #870bd1;
    --primary-light: #a855f7;
    --primary-dark: #6a0ba1;
    --background: #000000;
    --card-background: #000000;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-faint: rgba(255, 255, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-medium: rgba(255, 255, 255, 0.2);
    --purple-glow: rgba(135, 11, 209, 0.15);
    
    /* Typography System */
    --font-primary: 'Inter', sans-serif;           /* Body text, clean & readable */
    --font-heading: 'Space Grotesk', sans-serif;   /* Main headings, modern & bold */
    --font-hero: 'League Spartan', sans-serif;     /* Hero title, bold & impactful */
    --font-mono: 'JetBrains Mono', monospace;      /* Code, technical */
    
    /* Typography Scale */
    --text-xs: 0.75rem;     /* 12px */
    --text-sm: 0.875rem;    /* 14px */
    --text-base: 1rem;      /* 16px */
    --text-lg: 1.125rem;    /* 18px */
    --text-xl: 1.25rem;     /* 20px */
    --text-2xl: 1.5rem;     /* 24px */
    --text-3xl: 1.875rem;   /* 30px */
    --text-4xl: 2.25rem;    /* 36px */
    --text-5xl: 3rem;       /* 48px */
    --text-6xl: 3.75rem;    /* 60px */
    --text-7xl: 4.5rem;     /* 72px */
    --text-8xl: 6rem;       /* 96px */
}

html, body {
    /* Background removed to allow space stars to show */
    color: var(--text-primary);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-size: var(--text-base);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.005em;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 🎨 Typography Classes */
.font-display {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    line-height: 1.1;
}

.font-heading {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.font-mono {
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* Heading Styles */
h1, .h1 {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ffffff, #a855f7, #870bd1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(135, 11, 209, 0.3);
}

h2, .h2 {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 0.75rem 0;
    color: var(--text-primary);
}

h3, .h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

h4, .h4 {
    font-family: var(--font-primary);
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
    color: var(--text-secondary);
}

p, .p {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    color: var(--text-secondary);
}

.text-hero {
    font-family: var(--font-hero);
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #870bd1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(135, 11, 209, 0.3);
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 25; /* Even higher for title */
    max-width: 100%;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 1; /* Allow text to shrink if needed */
    opacity: 1; /* Ensure it's visible by default */
    visibility: visible; /* Ensure it's visible by default */
}

.text-accent {
    color: var(--primary-light);
    font-weight: 600;
}

.text-glow {
    text-shadow: 0 0 20px rgba(135, 11, 209, 0.6);
}

/* Button Typography */
.btn-primary, .btn-secondary {
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

/* 🎯 Hero Layout */
.hero-section .hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 65vh; /* Reducido de 100vh a 85vh para dejar espacio a logos */
    padding: 55px 0rem 0 0rem; /* Reducido aún más: de 30px a 10px para desktop */
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section .hero-content {
    position: relative;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 4rem;
    padding: 0;
}

.hero-section .hero-text {
    flex: 1;
    max-width: 600px;
    text-align: left;
    position: relative;
    z-index: 20; /* Higher than 3D animation */
}

/* 🚀 Advanced Hero Visual */
.hero-section .hero-visual-advanced {
    flex: 0 0 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 450px;
    margin-left: 2rem;
    position: relative;
    z-index: 1; /* Lower than typewriter text */
}

.visual-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Prevent shrinking */
}


/* Particles */
.particle-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(135, 11, 209, 0.5);
    z-index: 2;
}

.particle-1 { top: 15%; left: 15%; }
.particle-2 { top: 25%; right: 20%; }
.particle-3 { bottom: 35%; right: 15%; }
.particle-4 { bottom: 20%; left: 25%; }
.particle-5 { top: 50%; left: 10%; }
.particle-6 { top: 10%; right: 35%; }
.particle-7 { bottom: 50%; right: 30%; }
.particle-8 { top: 35%; left: 8%; }

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-container {
        padding: 50px 1rem 0 1rem; /* Reducido a la mitad: de 100px a 50px */
        min-height: 100vh;
    }

    .hero-section .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .hero-section .hero-visual-advanced {
        flex: none;
        height: 300px;
        order: 2;
        margin-top: 2rem;
        margin-left: 0;
        width: 100%;
    }

    .hero-section .visual-container {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }


    .particle {
        width: 4px !important;
        height: 4px !important;
    }

    .hero-text {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .text-hero {
        font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
        line-height: 1.2 !important;
        margin: 0 0 1rem 0 !important;
    }
}

/* Header Navigation */
.header-nav {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    padding-top: 0.5rem;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 1.5rem;
    padding: 0 1.5rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    position: relative;
}

.nav-container.morphed {
    background: transparent;
    border: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.nav-bubble-left {
    position: fixed;
    left: 1rem;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    min-width: fit-content;
    display: none;
}

.nav-bubble-right {
    position: fixed;
    right: 1rem;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    min-width: fit-content;
    display: none;
}

.nav-links.morphed {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.nav-content.scrolled {
    padding: 1rem 0;
}

.logo-container {
    position: relative;
    transition: opacity 0.4s ease;
}

.logo-icon {
    text-decoration: none;
    display: block;
}


.logo-container-svg {
    width: 54.6px; /* 30% increase from 42px */
    height: 15.6px; /* 30% increase from 12px */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dak-logo {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

.logo-container-svg:hover .dak-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(135, 11, 209, 0.4));
}

/* Full DAK Logo for Mobile Bubble */
.logo-full-mobile {
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dak-logo-mobile {
    transition: all 0.3s ease;
}

.logo-full-mobile:hover .dak-logo-mobile {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(135, 11, 209, 0.4));
}

/* Responsive Logo Display */
@media (max-width: 767px) {
    .nav-bubble-left .logo-container-svg {
        display: none;
    }
    
    .nav-bubble-left .logo-full-mobile {
        display: flex;
    }
}

@media (min-width: 768px) {
    .nav-bubble-left .logo-container-svg {
        display: none;
    }
    
    .nav-bubble-left .logo-full-mobile {
        display: flex;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
    background: transparent;
}

.nav-link:hover {
    color: var(--text-primary);
    background: transparent;
}

.nav-link:active,
.nav-link:focus {
    color: #ffffff;
    background: transparent;
}

/* Top glow bar effect instead of underline */
.nav-link::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(135, 11, 209, 0.6); /* Soft purple glow */
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link:active::before,
.nav-link.active::before {
    width: 100%;
    background: var(--primary-light);
    box-shadow: 0 0 15px rgba(135, 11, 209, 0.8); /* Enhanced glow for active state */
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    transition: opacity 0.4s ease;
}

.mobile-menu-bubble {
    position: fixed;
    right: 1rem;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 2rem;
    padding: 0.5rem;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    display: none;
}

@media (max-width: 767px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-bubble-right {
        display: none;
    }
}

@media (min-width: 768px) {
    .nav-cta {
        display: block;
    }
}

.nav-cta {
    transition: opacity 0.4s ease;
}

/* Mobile Menu Bubble */
.mobile-menu-bubble {
    position: fixed;
    right: 1rem;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 2rem;
    padding: 0.5rem 0.75rem;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
    min-width: fit-content;
    display: none;
}

/* Navigation bubble buttons */
.nav-bubble-btn {
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

.nav-contact-btn {
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
}

/* Mobile menu buttons */
.mobile-menu-btn-normal,
.mobile-menu-btn-morphed {
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu Dropdown */
.mobile-menu-dropdown {
    position: fixed;
    top: 4rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-medium);
    border-radius: 1rem;
    padding: 0.5rem;
    z-index: 55;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Show mobile menu dropdown only on mobile devices */
@media (min-width: 768px) {
    .mobile-menu-dropdown {
        display: none;
    }
}

.mobile-menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-menu-link:hover {
    color: var(--text-primary);
    background: rgba(135, 11, 209, 0.1);
    transform: translateX(4px);
}

.mobile-menu-link:active {
    transform: translateX(4px) scale(0.98);
}

.mobile-menu-link-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--primary);
    flex-shrink: 0;
}

.mobile-menu-link span {
    font-family: var(--font-mono);
    letter-spacing: 0.025em;
}

/* Mobile menu link hover effect */
.mobile-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 2px 2px 0;
}

.mobile-menu-link:hover::before {
    transform: scaleY(1);
}

/* Hero Section - First Screen Layout */
.hero-section {
    background: #000000;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 0.5rem 0 2rem 0; /* Reduced top padding to close gap with navbar */
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh; /* Reduced to fit with logos */
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero title styling */
.text-hero {
    font-family: var(--font-hero);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0; /* Reduced bottom margin */
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--primary);
}

.text-glow {
    text-shadow: 0 0 30px rgba(135, 11, 209, 0.5);
}

.hero-subtitle {
    margin-top: 0;
    max-width: 650px;
    font-size: clamp(1.125rem, 3vw, 1.25rem);
    line-height: 1.7;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: -0.005em;
    position: relative;
    z-index: 22;
    word-wrap: break-word;
    box-sizing: border-box;
    opacity: 1;
    visibility: visible;
}



/* Mobile Section Subtitle */
.mobile-section-subtitle {
    display: none;
    margin-top: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .mobile-section-subtitle {
        display: block;
    }
    
    /* Compact logos for mobile first screen */
    .logos-section {
        padding: 1rem 0;
        margin-top: 0;
    }
    
    /* Mobile DOM optimization - hide non-essential elements */
    .particle-3,
    .particle-4 {
        display: none; /* Reduce DOM elements on mobile */
    }
    
    /* Simplify radar on mobile */
    .radar-ring-3 {
        display: none; /* Remove outermost ring on mobile */
    }
    
    .logos-slider-container {
        padding: 1rem 0; /* Más padding interno en móvil */
        margin-left: 0; /* Sin margen left en móvil para aprovechar espacio */
        width: 100%; /* Ancho completo en móvil */
    }
    
    /* Más espacio y centrado para "Impulsando a" en móvil */
    .logos-label {
        max-width: 100%; /* Ancho completo en móvil */
        border: none; /* Sin bordes en móvil para evitar sobreposición */
        background: transparent; /* Transparente para no interferir con radar */
        padding: 0.5rem 1rem; /* Padding reducido en móvil */
        margin-bottom: 1rem; /* Menos margen */
        z-index: 1; /* Z-index bajo para que no interfiera con radar */
    }
    
    /* Mobile performance optimizations */
    .logos-slider {
        animation: slide 60s linear infinite;
        will-change: transform; /* GPU acceleration for mobile */
    }
    
    /* Reduce animations complexity on mobile */
    .radar-beam {
        animation-duration: 8s; /* Slower animation to reduce CPU usage */
    }
    
    .social-icon {
        transition: transform 0.2s ease; /* Faster transitions on mobile */
    }
    
    /* Mobile-specific containment for better performance */
    .hero-visual-advanced {
        contain: layout style paint;
    }
    
    .radar-container {
        contain: layout;
    }
}


.hero-buttons {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1000 !important;
    position: relative !important;
    width: 100%;
}

.hero-buttons a,
.hero-buttons a:after,
.hero-buttons a:before,
.hero-content .hero-buttons a,
section .hero-content .hero-buttons a {
    opacity: 1 !important;
    visibility: visible !important;
    display: flex !important;
    transform: translateY(0px) !important;
    pointer-events: auto !important;
}

/* Anti-GSAP override rules */
[style*="opacity: 0"] .hero-buttons a,
[style*="visibility: hidden"] .hero-buttons a {
    opacity: 1 !important;
    visibility: visible !important;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center; /* Centrado en tablets */
    }
}

@media (min-width: 1024px) {
    .hero-buttons {
        align-items: flex-start; /* Izquierda en desktop */
        justify-content: flex-start; /* Izquierda en desktop */
    }
}

/* Hero Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: calc(100vh - 60px);
        padding: 1rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        min-height: auto;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-visual-advanced {
        order: 2;
        margin-top: 2rem;
        height: 300px; /* Fixed height to prevent shifts */
    }
    
    .text-hero {
        font-size: clamp(2rem, 8vw, 3rem);
        height: auto; /* Remove fixed height for mobile */
        line-height: 1.2; /* Better mobile line height */
    }
    
    /* Mobile-specific layout shift prevention */
    .hero-subtitle {
        margin-top: 1rem;
        min-height: 120px; /* Prevent text reflow shifts */
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
        min-height: 60px; /* Fixed height for buttons container */
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex !important;
    align-items: center;
    height: 3.5rem;
    padding: 0 2rem 0 1.75rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1); /* Ultra-fast response */
    will-change: transform, box-shadow;
    transform: translateZ(0); /* GPU acceleration */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(135, 11, 209, 0.4);
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 999 !important;
    position: relative !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(135, 11, 209, 0.4);
}

.btn-secondary {
    display: inline-flex !important;
    align-items: center;
    height: 3.5rem;
    padding: 0 2rem;
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-medium);
    border-radius: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1); /* Ultra-fast response */
    will-change: transform, background-color, border-color;
    transform: translateZ(0); /* GPU acceleration */
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    z-index: 999 !important;
    position: relative !important;
}

.btn-secondary:hover {
    background: var(--purple-glow);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Client Logos Section - Compact for first screen */
.logos-section {
    background: #000000;
    padding: 2rem 0; /* Increased padding to accommodate larger logos */
    margin-top: -2rem; /* Negative margin to bring it closer to hero */
}

.logos-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logos-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .logos-content {
        flex-direction: row;
    }
}

.logos-label {
    flex-shrink: 0;
    max-width: 12rem;
    border-right: 1px solid var(--border-subtle);
    padding: 1rem 2rem 1rem 1rem; /* Reduced padding for compact layout */
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .logos-label {
        margin-bottom: 0;
    }
}

.logos-label p {
    text-align: center; /* Centrado para aprovechar el espacio extra */
    font-size: 0.95rem; /* Reducido: más pequeño que el original */
    font-weight: 600; /* Menos bold */
    color: var(--text-primary); /* Más llamativo: de muted a primary */
    margin: 0;
    font-family: var(--font-heading); /* Más personalidad con font heading */
    letter-spacing: 0.05em; /* Menos espaciado de letras */
    text-transform: uppercase; /* Más presencia */
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light)); /* Gradiente sutil */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 0.25rem 0; /* Menos padding vertical */
}

/* Añadir un pequeño glow effect */
.logos-label p::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.logos-slider-container {
    position: relative;
    padding: 0.5rem 0;
    width: calc(100% - 12rem); /* Adjusted for new logos-label width */
    overflow: hidden;
    margin-left: 1.5rem;
}

.logos-slider {
    display: flex;
    animation: slide 120s linear infinite;
    gap: 7rem;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Asegurar que el loop infinito sea suave */
.logos-slider {
    will-change: transform; /* Optimización para animaciones */
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 7rem;
    min-width: fit-content;
    padding: 0 1rem;
}

.logo-item span {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Estilos para logos SVG de clientes */
.client-logo {
    height: 3rem;
    width: auto;
    max-width: 180px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

/* Logos específicos que necesitan ser más grandes */
.client-logo[src*="logo-1.svg"] {
    height: 3.5rem;
    max-width: 200px;
}

/* Logo blanco un poco más grande */
.client-logo[src*="logo-blanco.svg"] {
    height: 3.8rem;
    max-width: 220px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
}

/* Logo Spa Kreativos más grande */
.client-logo[src*="logo-spa-kreativos.svg"] {
    height: 5rem;
    max-width: 300px;
}

/* Logo Berse Line aún más grande */
.client-logo[src*="logo-berse-line.svg"] {
    height: 6.2rem;
    max-width: 370px;
}

.logo-item:hover .client-logo {
    opacity: 1;
    transform: scale(1.05);
}

/* Gradient overlays for slider */
.gradient-left {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5rem;
    background: linear-gradient(to right, #000000, transparent);
    pointer-events: none;
    z-index: 10;
}

.gradient-right {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 5rem;
    background: linear-gradient(to left, #000000, transparent);
    pointer-events: none;
    z-index: 10;
}

/* Modern Services Section */
.services-modern {
    background: #000000;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.services-container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-bottom: 0rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin: 0;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* Price Toggle */
.price-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.toggle-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 3rem;
    padding: 1rem 2rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.toggle-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-label.active {
    color: var(--primary);
    font-weight: 600;
}

.toggle-switch {
    width: 60px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-switch.active {
    background: var(--primary);
}

.toggle-thumb {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch.active .toggle-thumb {
    transform: translateX(30px);
}

.discount-badge {
    background: var(--primary);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* Services Grid */
.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Center web services when only 3 packages are shown */
.services-grid-modern.web-services-active {
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    max-width: 1200px;
    justify-content: center;
    gap: 3rem;
}

/* Smooth responsive transitions for web services */
@media (max-width: 1024px) {
    .services-grid-modern.web-services-active {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        max-width: 900px;
        gap: 2rem;
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    .services-grid-modern.web-services-active {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 1.5rem;
        transition: all 0.3s ease;
    }
}

@media (min-width: 1400px) {
    .services-grid-modern {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Service Card */
.service-card-modern {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 1.75rem;
    padding: 2rem;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: all 0.15s cubic-bezier(0.25, 0.8, 0.25, 1); /* Ultra-fast response */
    overflow: hidden;
    cursor: pointer;
    will-change: transform, box-shadow, border-color, background-color;
    transform: translateZ(0); /* Force GPU acceleration */
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(135, 11, 209, 0.1);
}

/* Removed conflicting legacy service classes */

.service-card-modern:hover {
    transform: translateY(-8px) scale(1.03) translateZ(0); /* More pronounced lift */
    border-color: var(--primary);
    background: rgba(135, 11, 209, 0.12);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 15px 35px rgba(135, 11, 209, 0.35),
        0 0 0 1px rgba(135, 11, 209, 0.1); /* Glow border */
}

.service-card-modern.featured {
    border-color: var(--primary);
    background: rgba(135, 11, 209, 0.08);
    transform: scale(1.02);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.12),
        0 4px 15px rgba(135, 11, 209, 0.2); /* Enhanced shadow for featured card */
}

.service-card-modern.featured:hover {
    transform: scale(1.04) translateY(-10px) translateZ(0); /* More pronounced for featured */
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 20px 40px rgba(135, 11, 209, 0.4),
        0 0 0 2px rgba(135, 11, 209, 0.2); /* Stronger glow for featured */
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.1s ease-out; /* Ultra-fast glow response */
    pointer-events: none;
    z-index: 1;
    will-change: opacity;
}

.service-card-modern:hover .card-glow {
    opacity: 0.1;
}

.featured-glow {
    opacity: 0.05;
}

.service-card-modern.featured:hover .featured-glow {
    opacity: 0.15;
}

/* Featured Label */
.featured-label {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(135, 11, 209, 0.3);
    z-index: 10;
    display: none; /* Hidden by default */
}

/* Show featured label only on featured cards */
.service-card-modern.featured .featured-label {
    display: block;
}

/* Card Content */
.card-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.tier-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.12s cubic-bezier(0.25, 0.8, 0.25, 1); /* Ultra-fast icon response */
    box-shadow: 0 4px 15px rgba(135, 11, 209, 0.3); /* Add shadow to icons */
    position: relative;
    z-index: 2;
}

.tier-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.1s ease-out;
}

.tier-icon i {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.service-card-modern:hover .tier-icon {
    transform: scale(1.15) rotateY(10deg); /* Enhanced with rotation */
    box-shadow: 0 12px 35px rgba(135, 11, 209, 0.5);
}

.service-card-modern:hover .tier-icon::before {
    opacity: 1; /* Show gradient border on hover */
}

.tier-name {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
}

.tier-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Price Section */
.price-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    z-index: 5;
}

.price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 600;
}

.amount {
    font-size: 2.5rem;
    color: var(--text-primary);
    font-weight: 300;
    line-height: 1;
    transition: all 0.3s ease;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.price-note {
    font-size: 0.75rem;
    color: var(--text-faint);
    font-family: var(--font-mono);
}

/* Features Section */
.features-section {
    margin-bottom: 2rem;
    position: relative;
    z-index: 5;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.feature-check {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
    flex-shrink: 0;
}

.premium-feature .feature-check {
    color: #ffd700;
}

/* Action Button */
.card-action {
    position: relative;
    z-index: 5;
}

.modern-btn {
    width: 100%;
    background: transparent;
    border: 2px solid var(--border-medium);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.12s cubic-bezier(0.25, 0.8, 0.25, 1); /* Ultra-fast button response */
    will-change: transform, background-color, border-color;
    transform: translateZ(0); /* GPU acceleration */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modern-btn:hover {
    border-color: var(--primary);
    background: var(--purple-glow);
    transform: translateY(-2px);
}

.featured-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px rgba(135, 11, 209, 0.3);
}

.featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(135, 11, 209, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-modern {
        padding: 1.5rem;
    }
    
    .service-card-modern.featured {
        transform: none;
    }
    
    .service-card-modern.featured:hover {
        transform: translateY(-8px);
    }
}

/* Enhanced Blog Section */
.blog-section-modern {
    background: #000000;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.header-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(135, 11, 209, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.blog-main-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
}

.blog-subtitle {
    color: var(--text-secondary);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.header-accent-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto;
    border-radius: 2px;
}

/* Featured Blog Post */
.featured-post-container {
    margin-bottom: 5rem;
}

.featured-blog-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(135, 11, 209, 0.2);
    border-radius: 1.5rem;
    overflow: hidden;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.featured-blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(135, 11, 209, 0.2);
}

.featured-glow-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 11, 209, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.featured-blog-card:hover .featured-glow-effect {
    opacity: 1;
}

.featured-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0;
    position: relative;
    z-index: 2;
}

.featured-image-section {
    position: relative;
    min-height: 300px;
}

.featured-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-icon-container {
    position: relative;
    z-index: 3;
}

.featured-icon {
    width: 4rem;
    height: 4rem;
    color: white;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.featured-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 2;
}

.featured-category-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    z-index: 4;
}

.featured-text-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.featured-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.featured-category {
    color: var(--primary);
    font-weight: 600;
}

.featured-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.featured-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.featured-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.featured-link:hover {
    color: var(--primary-light);
    transform: translateX(8px);
}

/* Blog Grid */
.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.modern-blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(135, 11, 209, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
    position: relative;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px) rotateX(10deg);
    filter: blur(5px);
}

.modern-blog-card.animate-in {
    opacity: 1;
    transform: translateY(0) rotateX(0);
    filter: blur(0);
}

.modern-blog-card:hover {
    transform: translateY(-6px) rotateX(2deg);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(135, 11, 209, 0.15);
}

.blog-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(135, 11, 209, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}

.modern-blog-card:hover .blog-card-glow {
    opacity: 1;
}

.blog-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-image-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s ease;
}

.gradient-1 { background: linear-gradient(135deg, var(--primary), #ff6b6b); }
.gradient-2 { background: linear-gradient(135deg, var(--primary-light), var(--primary)); }
.gradient-3 { background: linear-gradient(135deg, var(--primary), #ffd93d); }
.gradient-4 { background: linear-gradient(135deg, #ff6b6b, var(--primary)); }

.modern-blog-card:hover .blog-image-gradient {
    transform: scale(1.1);
}

.blog-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    z-index: 3;
    position: relative;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.blog-category-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    z-index: 4;
}

.blog-content-modern {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.blog-meta-modern {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.blog-title-modern {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

.blog-excerpt-modern {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    min-height: 3rem;
}

.blog-footer-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-link-modern {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.blog-link-modern:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.blog-engagement {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.blog-engagement span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-engagement i {
    width: 0.9rem;
    height: 0.9rem;
}

/* Blog CTA Section */
.blog-cta-section {
    margin-top: 5rem;
}

.blog-cta-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(135, 11, 209, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    position: relative;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cta-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(135, 11, 209, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-input {
    flex: 1;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(135, 11, 209, 0.3);
    border-radius: 0.75rem;
    color: var(--text-primary);
    font-size: 1rem;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.cta-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(135, 11, 209, 0.1);
}

.cta-input::placeholder {
    color: var(--text-secondary); /* Mejor contraste - más claro */
    opacity: 0.8; /* Suavizar un poco */
}

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(135, 11, 209, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-main-title {
        font-size: 2rem;
    }
    
    .featured-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .featured-text-section {
        padding: 2rem;
    }
    
    .featured-title {
        font-size: 1.5rem;
    }
    
    .blog-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .cta-form {
        flex-direction: column;
    }
}

/* Contact Section */
.contact-section {
    background: #000000;
    padding: 5rem 0;
}

.contact-container {
    max-width: 64rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: 1.5rem;
    padding: 3rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(135, 11, 209, 0.05);
}

.form-input::placeholder {
    color: var(--text-faint);
}

/* Better contrast for select dropdown */
.form-input option {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none;
    padding: 0.75rem !important;
}

.form-input option:hover,
.form-input option:focus,
.form-input option:checked {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* Fix for selected option visibility */
.form-input[type="select"],
.form-input select,
select.form-input {
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.03) !important;
}

select.form-input option:checked,
select.form-input option[selected] {
    background: var(--primary) !important;
    color: #ffffff !important;
}

/* Ensure select text is always visible */
#service-select {
    color: var(--text-primary) !important;
    font-weight: 500;
}

#service-select:invalid {
    color: var(--text-secondary) !important;
}

#service-select option:first-child {
    color: var(--text-secondary) !important;
    font-style: italic;
}

.form-submit {
    grid-column: 1 / -1;
    text-align: center;
}

/* ========================================
   BLOG SECTION STYLES
   ======================================== */

.blog-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.blog-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    margin-top: 4rem;
}

.blog-featured {
    grid-row: span 2;
}

/* Blog Cards */
.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(135, 11, 209, 0.3);
    box-shadow: 0 20px 40px rgba(135, 11, 209, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-featured .blog-image {
    aspect-ratio: 16/12;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #870bd1, #a855f7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: calc(100% - 40%);
}

.blog-featured .blog-content {
    padding: 2rem;
    gap: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.blog-category {
    background: rgba(135, 11, 209, 0.2);
    color: #a855f7;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

.blog-title {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured .blog-title {
    font-size: 1.75rem;
    font-weight: 700;
    -webkit-line-clamp: 2;
}

.blog-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-featured .blog-excerpt {
    font-size: 1.1rem;
    -webkit-line-clamp: 4;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(135, 11, 209, 0.3);
}

.author-name {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.blog-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.read-time-icon {
    width: 14px;
    height: 14px;
}

/* Blog CTA */
.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

.blog-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .blog-featured {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding: 4rem 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .blog-featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-featured .blog-content {
        padding: 1.5rem;
    }
    
    .blog-title {
        font-size: 1.125rem;
    }
    
    .blog-featured .blog-title {
        font-size: 1.5rem;
    }
    
    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Footer */
.footer {
    background: #000000;
    border-top: 1px solid var(--border-subtle);
    padding: 2rem 0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-text {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 1s ease-out;
}

.loading-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-dak-logo {
    filter: drop-shadow(0 0 20px rgba(135, 11, 209, 0.5));
}

.loading-text {
    margin-top: 2rem;
    display: flex;
    gap: 0.5rem;
}

.loading-text span {
    color: #870AD1;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    animation: dotPulse 1.5s ease-in-out infinite;
}

#loading-dot-1 {
    animation-delay: 0s;
}

#loading-dot-2 {
    animation-delay: 0.5s;
}

#loading-dot-3 {
    animation-delay: 1s;
}

@keyframes dotPulse {
    0%, 20% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    80%, 100% {
        opacity: 0;
        transform: scale(1);
    }
}

/* Hidden loading screen */
.loading-screen.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Show main content */
#main-content {
    opacity: 0;
    transition: opacity 1s ease-in;
}

#main-content.show {
    opacity: 1 !important;
}

/* ========================================
   SKELETON LOADING SYSTEM - YouTube Style
   ======================================== */

.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.03) 25%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.03) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 8px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Skeleton para diferentes elementos */
.skeleton-text {
    height: 1rem;
    margin: 0.5rem 0;
}

.skeleton-text.large {
    height: 2rem;
    margin: 1rem 0;
}

.skeleton-text.small {
    height: 0.75rem;
    width: 60%;
}

.skeleton-button {
    height: 3.5rem;
    width: 12rem;
    border-radius: 0.875rem;
    margin: 0.5rem 0;
}

.skeleton-card {
    height: 15rem;
    border-radius: 1.25rem;
    margin-bottom: 2rem;
}

.skeleton-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.skeleton-nav {
    height: 4rem;
    border-radius: 1.5rem;
    margin-bottom: 2rem;
}

/* Contenedor de skeletons */
.skeleton-container {
    padding: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.skeleton-hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
}

.skeleton-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.skeleton-blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

/* Skeleton específico para móvil */
@media (max-width: 768px) {
    .skeleton-services {
        grid-template-columns: 1fr;
    }
    
    .skeleton-blog {
        grid-template-columns: 1fr;
    }
    
    .skeleton-hero {
        min-height: 50vh;
        padding: 1rem;
    }
}

/* Estado de carga inicial */
.loading-content {
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-content.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Ocultar contenido real mientras carga */
.main-content-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ========================================
   ACCESIBILIDAD
   ======================================== */

/* Screen reader only - mantiene accesibilidad sin mostrar visualmente */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   FOCUS STATES - ACCESIBILIDAD
   ======================================== */

/* Focus general para elementos interactivos */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Focus mejorado para botones principales */
.btn-primary:focus,
.btn-secondary:focus {
    outline: 3px solid rgba(135, 11, 209, 0.6);
    outline-offset: 3px;
    box-shadow: 0 0 0 6px rgba(135, 11, 209, 0.2);
}

/* Focus para elementos de navegación */
.nav-links a:focus,
.mobile-menu-btn:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    background: rgba(135, 11, 209, 0.1);
}

/* Focus para formularios */
.form-input:focus,
.cta-input:focus {
    outline: 2px solid var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(135, 11, 209, 0.1);
}

/* Focus para service toggle */
.service-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ========================================
   RADAR VISUAL ELEMENT
   ======================================== */

.radar-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto;
}

/* Central Chat Bubble */
.chat-bubble-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(135, 11, 209, 0.2);
    border: 2px solid #870bd1;
    border-radius: 50% 50% 50% 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 20px rgba(135, 11, 209, 0.3);
}

.chat-dots {
    display: flex;
    gap: 4px;
    align-items: center;
}

.chat-dots .dot {
    width: 6px;
    height: 6px;
    background: #870bd1;
    border-radius: 50%;
    animation: chatDotPulse 1.5s ease-in-out infinite;
}

.chat-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes chatDotPulse {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    30% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Radar Rings */
.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(135, 11, 209, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

.radar-ring-1 {
    width: 150px;
    height: 150px;
    animation: radarPulse 3s ease-in-out infinite;
}

.radar-ring-2 {
    width: 250px;
    height: 250px;
    animation: radarPulse 3s ease-in-out infinite 1s;
}

.radar-ring-3 {
    width: 350px;
    height: 350px;
    animation: radarPulse 3s ease-in-out infinite 2s;
}

@keyframes radarPulse {
    0% {
        border-color: rgba(135, 11, 209, 0.6);
        box-shadow: 0 0 0 0 rgba(135, 11, 209, 0.4);
    }
    50% {
        border-color: rgba(135, 11, 209, 0.2);
        box-shadow: 0 0 0 10px rgba(135, 11, 209, 0);
    }
    100% {
        border-color: rgba(135, 11, 209, 0.6);
        box-shadow: 0 0 0 0 rgba(135, 11, 209, 0);
    }
}

/* Radar Beam */
.radar-beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 175px;
    height: 2px;
    background: linear-gradient(90deg, 
        #870bd1 0%, 
        rgba(135, 11, 209, 0.8) 30%, 
        rgba(135, 11, 209, 0.4) 70%, 
        transparent 100%
    );
    transform-origin: 0 50%;
    transform: translate(0, -50%);
    animation: radarSweep 6s linear infinite;
    z-index: 5;
    box-shadow: 0 0 10px #870bd1, 0 0 20px rgba(135, 11, 209, 0.5);
}

.radar-beam::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 175px;
    height: 22px;
    background: linear-gradient(90deg, 
        rgba(135, 11, 209, 0.3) 0%, 
        rgba(135, 11, 209, 0.1) 30%, 
        rgba(135, 11, 209, 0.05) 70%, 
        transparent 100%
    );
    filter: blur(8px);
}

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

/* Social Media Icons */
.social-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(135, 11, 209, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 8;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(135, 11, 209, 0.2);
    border-color: #870bd1;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(135, 11, 209, 0.4);
}

.social-icon:hover svg {
    color: #870bd1;
}

/* Icon positioning - orbiting around center at precise angles */
.icon-facebook {
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitFloat 6s ease-in-out infinite;
}

.icon-instagram {
    top: 80px;
    right: 80px;
    animation: orbitFloat 6s ease-in-out infinite 0.5s;
}

.icon-whatsapp {
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    animation: orbitFloat 6s ease-in-out infinite 1s;
}

.icon-x {
    bottom: 80px;
    left: 80px;
    animation: orbitFloat 6s ease-in-out infinite 1.5s;
}


.icon-tiktok {
    top: 50%;
    right: 50px;
    transform: translateY(-50%);
    animation: orbitFloat 6s ease-in-out infinite 4s;
}

@keyframes orbitFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        opacity: 1;
    }
}

/* Highlight effect when beam passes over icons */
.social-icon.highlighted {
    background: rgba(135, 11, 209, 0.6) !important;
    border-color: #870bd1 !important;
    box-shadow: 0 0 40px rgba(135, 11, 209, 1.0), 0 0 20px rgba(135, 11, 209, 0.8) !important;
    transform: scale(1.15) !important;
    transition: all 0.2s ease !important;
}

.social-icon.highlighted svg {
    color: #ffffff !important;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.8));
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .radar-container {
        width: 300px;
        height: 300px;
    }
    
    .radar-ring-1 {
        width: 120px;
        height: 120px;
    }
    
    .radar-ring-2 {
        width: 200px;
        height: 200px;
    }
    
    .radar-ring-3 {
        width: 280px;
        height: 280px;
    }
    
    .radar-beam {
        width: 140px;
    }
    
    .radar-beam::after {
        width: 140px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
    
    /* Redistribuir iconos en móvil para mejor espaciado con 7 iconos */
    .icon-facebook {
        top: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .icon-instagram {
        top: 70px;
        right: 60px;
    }
    
    .icon-tiktok {
        top: 50%;
        right: 30px;
        transform: translateY(-50%);
    }
    
    .icon-meta {
        bottom: 70px;
        right: 60px;
    }
    
    .icon-whatsapp {
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .icon-x {
        bottom: 70px;
        left: 60px;
    }
    
    .icon-gmail {
        top: 70px;
        left: 60px;
    }
}

/* ========================================
   🌌 SPACE BACKGROUND - SIMPLE VERSION
   ======================================== */

/* Optimized Space Background System */
body {
    background: 
        /* Main Stars - Reduced complexity */
        radial-gradient(4px 4px at 15% 20%, #870bd1, transparent 60%),
        radial-gradient(3px 3px at 65% 25%, #a855f7, transparent 55%),
        radial-gradient(4px 4px at 45% 65%, #870bd1, transparent 60%),
        radial-gradient(3px 3px at 85% 35%, #a855f7, transparent 55%),
        radial-gradient(4px 4px at 25% 45%, #870bd1, transparent 60%),
        radial-gradient(3px 3px at 75% 55%, #a855f7, transparent 55%),
        
        /* Distant Stars - Simplified */
        radial-gradient(2px 2px at 35% 15%, rgba(135, 11, 209, 0.6), transparent),
        radial-gradient(2px 2px at 80% 85%, rgba(168, 85, 247, 0.5), transparent),
        radial-gradient(2px 2px at 20% 75%, rgba(135, 11, 209, 0.6), transparent),
        radial-gradient(2px 2px at 90% 70%, rgba(168, 85, 247, 0.5), transparent),
        
        /* Subtle Nebula - Minimal */
        radial-gradient(ellipse 600px 300px at 30% 60%, rgba(135, 11, 209, 0.015), transparent 70%),
        
        /* Deep Space Black */
        linear-gradient(to bottom, #000000, #000000);
    background-attachment: fixed;
    /* Removed heavy animation from body */
}

/* Cosmic Breathing Animation */
@keyframes cosmicBreathing {
    0% { 
        filter: brightness(0.8) saturate(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.1) saturate(1.2);
        transform: scale(1.005);
    }
    100% { 
        filter: brightness(0.9) saturate(1.1);
        transform: scale(1.002);
    }
}

/* Optimized Star Twinkle */
@keyframes starTwinkle {
    0% { 
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
    100% { 
        opacity: 0.7;
        transform: scale(1);
    }
}

/* Pulsing Stars Animation */
@keyframes starPulse {
    0% { 
        filter: brightness(1) saturate(1);
        transform: scale(1);
    }
    50% {
        filter: brightness(1.8) saturate(1.5);
        transform: scale(1.2);
    }
    100% { 
        filter: brightness(1.1) saturate(1.1);
        transform: scale(1);
    }
}

/* Advanced Space Background System */
.space-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    background: 
        /* Constellation Stars - Bright */
        radial-gradient(8px 8px at 10% 20%, #870bd1, rgba(135, 11, 209, 0.8) 20%, rgba(135, 11, 209, 0.4) 40%, transparent 80%),
        radial-gradient(6px 6px at 70% 30%, #a855f7, rgba(168, 85, 247, 0.7) 25%, rgba(168, 85, 247, 0.3) 50%, transparent 75%),
        radial-gradient(8px 8px at 20% 90%, #870bd1, rgba(135, 11, 209, 0.8) 20%, rgba(135, 11, 209, 0.4) 40%, transparent 80%),
        radial-gradient(6px 6px at 80% 50%, #a855f7, rgba(168, 85, 247, 0.7) 25%, rgba(168, 85, 247, 0.3) 50%, transparent 75%),
        
        /* Variable Stars */
        radial-gradient(5px 5px at 30% 70%, rgba(135, 11, 209, 0.9), rgba(135, 11, 209, 0.5) 30%, transparent 60%),
        radial-gradient(5px 5px at 90% 80%, rgba(168, 85, 247, 0.8), rgba(168, 85, 247, 0.4) 35%, transparent 65%),
        radial-gradient(5px 5px at 50% 10%, rgba(135, 11, 209, 0.9), rgba(135, 11, 209, 0.5) 30%, transparent 60%),
        radial-gradient(5px 5px at 60% 40%, rgba(168, 85, 247, 0.8), rgba(168, 85, 247, 0.4) 35%, transparent 65%),
        
        /* Distant Star Field */
        radial-gradient(3px 3px at 40% 80%, rgba(135, 11, 209, 0.6), transparent 40%),
        radial-gradient(3px 3px at 15% 60%, rgba(168, 85, 247, 0.5), transparent 35%),
        radial-gradient(2px 2px at 85% 25%, rgba(135, 11, 209, 0.7), transparent 45%),
        radial-gradient(2px 2px at 25% 35%, rgba(168, 85, 247, 0.6), transparent 40%),
        
        /* Deep Space Nebula */
        radial-gradient(ellipse 1200px 600px at 30% 60%, rgba(135, 11, 209, 0.03), transparent 70%),
        radial-gradient(ellipse 800px 400px at 70% 20%, rgba(168, 85, 247, 0.025), transparent 60%),
        radial-gradient(ellipse 600px 800px at 10% 80%, rgba(135, 11, 209, 0.02), transparent 50%),
        
        #000000;
    pointer-events: none;
    animation: deepSpaceFloat 20s ease-in-out infinite alternate;
}

.stars-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Twinkling Variable Stars */
        radial-gradient(6px 6px at 25% 15%, #870bd1, rgba(135, 11, 209, 0.7) 25%, transparent 60%),
        radial-gradient(4px 4px at 75% 25%, #a855f7, rgba(168, 85, 247, 0.6) 30%, transparent 55%),
        radial-gradient(7px 7px at 35% 55%, #870bd1, rgba(135, 11, 209, 0.8) 20%, transparent 65%),
        radial-gradient(4px 4px at 85% 75%, #a855f7, rgba(168, 85, 247, 0.6) 30%, transparent 55%),
        radial-gradient(6px 6px at 45% 85%, #870bd1, rgba(135, 11, 209, 0.7) 25%, transparent 60%),
        
        /* Pulsing Bright Stars */
        radial-gradient(3px 3px at 15% 40%, rgba(135, 11, 209, 0.9), transparent 40%),
        radial-gradient(3px 3px at 65% 10%, rgba(168, 85, 247, 0.8), transparent 35%),
        radial-gradient(3px 3px at 90% 45%, rgba(135, 11, 209, 0.9), transparent 40%);
    animation: starTwinkle 8s ease-in-out infinite;
}

.shooting-stars {
    width: 100%;
    height: 100%;
}

/* Optimized Shooting Stars */
.shooting-stars::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -20px;
    width: 4px;
    height: 4px;
    background: #870bd1;
    border-radius: 50%;
    box-shadow: 
        0 0 10px #870bd1,
        0 0 20px rgba(135, 11, 209, 0.6),
        -60px 0 8px rgba(135, 11, 209, 0.4),
        -120px 0 4px rgba(135, 11, 209, 0.2);
    animation: shootingStarFast 6s linear infinite;
}

.shooting-stars::after {
    content: '';
    position: absolute;
    top: 75%;
    right: -15px;
    width: 3px;
    height: 3px;
    background: #a855f7;
    border-radius: 50%;
    box-shadow: 
        0 0 8px #a855f7,
        0 0 16px rgba(168, 85, 247, 0.6),
        -50px 0 6px rgba(168, 85, 247, 0.4),
        -100px 0 3px rgba(168, 85, 247, 0.2);
    animation: shootingStarSlow 8s linear infinite 3s;
}

/* Optimized Shooting Star Animations */
@keyframes shootingStarFast {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(-120vw) translateY(60vh) rotate(45deg);
        opacity: 0;
    }
}

@keyframes shootingStarSlow {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(-110vw) translateY(55vh) rotate(45deg);
        opacity: 0;
    }
}

/* Deep Space Float Animation */
@keyframes deepSpaceFloat {
    0% { 
        filter: brightness(0.7) saturate(0.9);
        transform: scale(1) rotate(0deg);
    }
    25% {
        filter: brightness(1.2) saturate(1.3);
        transform: scale(1.003) rotate(0.1deg);
    }
    50% {
        filter: brightness(0.9) saturate(1.1);
        transform: scale(1.001) rotate(0deg);
    }
    75% {
        filter: brightness(1.4) saturate(1.4);
        transform: scale(1.004) rotate(-0.1deg);
    }
    100% { 
        filter: brightness(0.8) saturate(1);
        transform: scale(1) rotate(0deg);
    }
}

@keyframes twinkle {
    0% { 
        opacity: 0.4;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        opacity: 0.6;
    }
}

/* Ensure content appears above stars */
#main-content {
    position: relative;
    z-index: 1;
    background: transparent;
}



/* Make all sections transparent to show stars */
section,
.hero-section,
.services-section,
.blog-section,
.contact-section,
.logos-section {
    background: transparent !important;
}

/* ========================================
   🟢 WHATSAPP FLOATING BUTTON
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.whatsapp-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    box-shadow: 
        0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 25px rgba(37, 211, 102, 0.6),
        0 0 0 10px rgba(37, 211, 102, 0.1);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-svg {
    width: 32px;
    height: 32px;
    color: white;
    transition: transform 0.3s ease;
}

.whatsapp-link:hover .whatsapp-svg {
    transform: scale(1.1);
}

/* Pulso animado - COMPLETAMENTE ELIMINADO para evitar cuadrado negro */

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-primary);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: rgba(0, 0, 0, 0.9);
}

.whatsapp-link:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-5px);
}

/* WhatsApp animations removed to prevent square artifacts */

/* whatsapp-pulse-ring animation removed to prevent black square */

/* Responsive - Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-link {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-svg {
        width: 28px;
        height: 28px;
    }
    
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móvil */
    }
}

/* Responsive - Mobile pequeño */
@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-svg {
        width: 24px;
        height: 24px;
    }
}

/* ========================================
   📝 FORMULARIO DE CONTACTO - VALIDACIÓN Y NOTIFICACIONES
   ======================================== */

/* Estados de validación de campos */
.form-input.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.3) !important;
    background-color: rgba(239, 68, 68, 0.05);
}

.form-input.valid {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.3) !important;
    background-color: rgba(16, 185, 129, 0.05);
}

/* Mensajes de error de campo */
.field-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    padding: 0.25rem 0;
    font-family: var(--font-primary);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contador de caracteres */
.char-counter {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    font-family: var(--font-mono);
}

.char-counter.warning {
    color: #f59e0b;
}

.char-counter.error {
    color: #ef4444;
}

/* Estado de envío del formulario */
.form-submit.submitting {
    background: var(--text-muted) !important;
    cursor: not-allowed;
    transform: none !important;
}

.form-submit.submitting:hover {
    background: var(--text-muted) !important;
    transform: none !important;
}

/* Sistema de notificaciones */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    min-width: 300px;
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.hide {
    opacity: 0;
    transform: translateX(100%);
}

.notification-content {
    padding: 1rem 1.25rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.notification-message {
    color: white;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    line-height: 1.5;
    flex: 1;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Tipos de notificación */
.notification-success {
    border-color: rgba(16, 185, 129, 0.3);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(0, 0, 0, 0.95));
}

.notification-success::before {
    content: '✓';
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #10b981;
    font-weight: bold;
    font-size: 1rem;
}

.notification-success .notification-content {
    padding-left: 2.5rem;
}

.notification-error {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(0, 0, 0, 0.95));
}

.notification-error::before {
    content: '⚠';
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #ef4444;
    font-weight: bold;
    font-size: 1rem;
}

.notification-error .notification-content {
    padding-left: 2.5rem;
}

.notification-info {
    border-color: rgba(59, 130, 246, 0.3);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.95));
}

.notification-info::before {
    content: 'ℹ';
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1rem;
}

.notification-info .notification-content {
    padding-left: 2.5rem;
}

/* Responsive para notificaciones */
@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
        min-width: auto;
    }
    
    .notification-content {
        padding: 0.875rem 1rem;
    }
    
    .notification-message {
        font-size: 0.8rem;
    }
}

/* ========================================
   🌟 LOADING SCREEN STYLES
   ======================================== */

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-logo-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loading-dak-text {
    display: flex;
    gap: 0.2rem;
    font-family: var(--font-hero);
    font-weight: 900;
    font-size: 4rem;
    color: var(--text-primary);
    line-height: 1;
}

.loading-letter {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

.loading-letter.show {
    opacity: 1;
    transform: translateY(0);
}

.loading-letter:nth-child(1) { /* D */
    color: var(--text-primary);
}

.loading-letter:nth-child(2) { /* A */
    color: var(--primary);
    text-shadow: 0 0 20px rgba(135, 11, 209, 0.5);
}

.loading-letter:nth-child(3) { /* K */
    color: var(--text-primary);
}

.loading-subtitle {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 0.875rem;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.loading-text {
    display: flex;
    gap: 0.25rem;
    margin-top: 1.5rem;
}

.loading-dot {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.3;
    transition: all 0.3s ease;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(1) {
    animation-delay: 0s;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.3s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.6s;
}

.loading-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    opacity: 0;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 0.5s ease-out;
}

/* Loading animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New DAK SVG Logo Loading Animation */
.loading-svg-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
}

.loading-dak-svg {
    width: 100%;
    height: auto;
    opacity: 0;
    transform: scale(0.7);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.loading-dak-svg.show {
    opacity: 1;
    transform: scale(1);
}

.loading-path {
    stroke: #880bd2;
    stroke-width: 3;
    fill-opacity: 0;
    stroke-dasharray: inherit;
    stroke-dashoffset: inherit;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.loading-path.animate {
    stroke-dashoffset: 0;
    fill-opacity: 1;
}

.loading-agency-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    opacity: 0;
    margin-top: 1.5rem;
    display: block;
    letter-spacing: 0.2em;
    text-align: center;
}

.loading-agency-text.show {
    opacity: 1;
    transition: opacity 0.8s ease;
}

.loading-dots {
    margin-top: 1rem;
    text-align: center;
}

.loading-dot {
    font-size: 2rem;
    color: #880bd2;
    margin: 0 0.5rem;
    animation: pulse 1.5s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.3s; }
.loading-dot:nth-child(3) { animation-delay: 0.6s; }

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

/* Mobile responsive for loading */
@media (max-width: 768px) {
    .loading-dak-text {
        font-size: 3rem;
    }
    
    .loading-subtitle {
        font-size: 0.75rem;
    }
    
    .loading-dot {
        font-size: 1.25rem;
    }
}

