/* Custom Fonts */
@font-face {
    font-family: 'Oxanium';
    src: url('/fonts/Oxanium-VariableFont_wght.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('/fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Tooltip System - Desktop Optimized */
.kpi-tooltip {
    position: relative;
    cursor: pointer;
}

.kpi-tooltip .tooltip-text {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    width: 300px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 999999;
    
    /* Hidden by default */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Arrow pointing down */
.kpi-tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border: 8px solid transparent;
    border-top-color: #2d3748;
}

/* Show on hover - FORZADO */
.kpi-tooltip:hover .tooltip-text {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: translateX(-50%) translateY(-8px) !important;
    background: #2d3748 !important;
    color: white !important;
    z-index: 9999999 !important;
    position: absolute !important;
}

/* Temporal: Test visual para confirmar hover */
.kpi-tooltip:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
}

/* Debug desactivado - tooltips funcionan normalmente */

/* Mobile adjustments */
@media (max-width: 768px) {
    .kpi-tooltip .tooltip-text {
        width: 280px;
        font-size: 0.8rem;
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .kpi-tooltip .tooltip-text {
        width: 250px;
        font-size: 0.75rem;
        padding: 10px 14px;
    }
}

/* Overflow fix for tooltip containers */
.about-stats-visual,
.stats-card,
.quick-stats,
.about-stats,
.about-compressed,
.about-full,
.about-grid {
    overflow: visible !important;
}



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

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    /* Fix para scroll jumping en iOS */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Fix para evitar overflow en dispositivos móviles */
.container, 
.hero-container, 
.portfolio-grid,
.services-grid,
.problems-grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Responsive fixes for mobile viewport issues */
@media (max-width: 599px) {
    body, html {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        /* Fixes específicos para evitar scroll jumping en móvil */
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: auto;
        position: relative;
    }
    
    /* Desactivar parallax en móvil para evitar scroll jumping */
    .hero-container {
        transform: none !important;
    }
    
    /* Fix específico para iOS scroll bounce */
    .hero, .hero-container {
        position: relative;
        will-change: auto;
    }
    
    /* Optimize animations for mobile performance */
    .floating-sphere,
    .particle {
        animation-duration: 12s; /* Slower animations */
        animation-timing-function: ease-in-out;
    }
    
    /* Reduce backdrop-filter blur for better performance */
    header {
        backdrop-filter: blur(10px);
    }
    
    .service-card,
    .portfolio-item,
    .contact-form {
        backdrop-filter: blur(5px);
    }
    
    /* Reduce complex logo animation frequency */
    .logo::before {
        animation-duration: 6s;
    }
    
    /* Disable resource-intensive animations on mobile */
    .floating-sphere:nth-child(3),
    .floating-sphere:nth-child(4) {
        display: none; /* Remove extra floating spheres */
    }
    
    /* Simplify particle animations */
    .particle:nth-child(n+4) {
        display: none; /* Keep only first 3 particles */
    }
    
    /* Optimize transforms for better performance */
    .portfolio-item,
    .service-card,
    .testimonial-item {
        transform: translateZ(0); /* GPU acceleration */
        backface-visibility: hidden;
    }
    
    
    .container {
        padding: 0 1.5rem;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Asegurar que secciones principales no causen overflow */
    .hero-content,
    .testimonials,
    .services,
    .portfolio,
    .problems,
    .about,
    .contact {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Mejorar navegación móvil */
    .nav-links {
        padding: 0 1rem;
    }
    
    .nav-links a {
        padding: 1rem 0.8rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-menu-toggle {
        margin-right: 0.3rem;
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero mejorado en mobile */
    .hero {
        min-height: auto;
        height: auto;
        padding-top: 80px; /* Space for header */
        padding-bottom: 2rem;
    }
    
    .hero-container {
        min-height: calc(100vh - 80px); /* Viewport minus header */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem 0; /* Remove horizontal padding */
        overflow-y: auto; /* Permitir scroll en contenido largo */
        max-width: 100%;
        width: 100%;
    }
    
    /* Hero content uses full width on mobile */
    .hero-content {
        width: 100%;
        padding: 0 1rem;
    }
    
    /* Service cards use full screen width */
    .hero-services-slider {
        width: 100%;
        max-width: 100%;
        margin: 1.5rem 0;
        padding: 0;
        position: relative;
        overflow: hidden;
    }
    
    .hero-title {
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-subtitle {
        line-height: 1.4;
        text-align: center;
        max-width: 90%;
        margin: 0 auto 2rem auto;
    }
    
    /* Botones hero responsive */
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: auto;
        min-width: 200px;
        min-height: 48px;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        padding: 0.8rem 1.5rem;
    }
}

/* Extra small devices like iPhone SE (375px and below) */
@media (max-width: 375px) and (max-height: 667px) {
    /* Header adjustments */
    header {
        padding: 0.8rem 0;
    }
    
    nav {
        padding: 0 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: auto !important;
        height: auto !important;
        padding-top: 60px; /* Reduced for smaller header */
    }
    
    .hero-container {
        min-height: auto;
        padding: 1.5rem 0.5rem;
    }
    
    .hero-content {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 1.5rem;
    }
    
    .hero-services-slider {
        width: 100% !important;
        margin: 1.5rem 0;
        position: relative;
    }
    
    .hero-service-card {
        padding: 0.8rem;
    }
    
    .hero-service-card h3 {
        font-size: 0.85rem;
    }
    
    .hero-service-card p {
        font-size: 0.75rem;
    }
    
    /* Allow natural scrolling */
    body {
        overflow-y: auto !important;
    }
    
    /* Adjust button sizes */
    .btn-primary, .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Medium mobile devices (iPhone Plus, wider Android phones) */
@media (min-width: 376px) and (max-width: 480px) {
    .hero-container {
        padding: 2rem 0.75rem !important;
    }
    
    .hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-services-slider {
        width: 100%;
        margin: 1.5rem 0;
    }
    
    .hero-service-card {
        width: calc(100% - 0.75rem);
        padding: 1rem;
    }
    
    /* Better text sizing for wider phones */
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

:root {
    /* Nueva paleta de colores basada en la imagen */
    --primary-color: #1e3a5f;        /* Azul oscuro/Navy principal */
    --secondary-color: #2d5aa0;      /* Azul medio para elementos secundarios */
    --accent-color: #4a90e2;         /* Azul claro para acentos */
    --light-blue: #6bb6ff;           /* Azul más claro para elementos suaves */
    --very-light-blue: #e3f2fd;      /* Azul muy claro para fondos */
    
    /* Colores de texto */
    --text-dark: #1e3a5f;            /* Usando el azul oscuro para texto */
    --text-light: #546e7a;           /* Gris azulado para texto secundario */
    --text-muted: #90a4ae;           /* Texto deshabilitado */
    
    /* Fondos */
    --bg-dark: #0d1b2a;              /* Fondo oscuro con tinte azul */
    --bg-light: #ffffff;
    --bg-section: #f8fbff;           /* Fondo de secciones con tinte azul muy claro */
    
    /* Sombras */
    --shadow-light: rgba(30, 58, 95, 0.1);
    --shadow-dark: rgba(30, 58, 95, 0.3);
    --shadow-blue: rgba(74, 144, 226, 0.2);
    
    /* Colores de acento para CTAs */
    --cta-primary: #ff6b35;          /* Naranja vibrante para botón principal */
    --cta-primary-dark: #e55a2b;     /* Naranja más oscuro para hover */
    --cta-secondary: #4ade80;        /* Verde para botones secundarios */
    
    /* Colores vibrantes adicionales */
    --lime-green: #32D74B;           /* Verde lime para elementos secundarios */
    --cyan-bright: #00D4FF;          /* Cyan brillante para detalles */
    --golden-yellow: #FFD60A;        /* Amarillo dorado para highlights */
    --purple-soft: #AF52DE;          /* Púrpura suave para variedad */
    --purple-vibrant: #8B5CF6;       /* Púrpura vibrante para texto destacado */
    
    /* Typography Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    
    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Utilidades */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    /* Fix para scroll jumping en móvil */
    position: relative;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

/* Custom Cursor - Removed for better UX */

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px var(--shadow-light);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
    animation: logoShine 4s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes logoShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.logo-icon {
    height: 35px;
    width: auto;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 0;
}

.logo:hover .logo-icon {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Poppins', 'Arial Black', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 0;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

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

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

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

/* Hero Section - Redesigned */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.animated-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gradient-sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    filter: blur(40px);
    animation: float-sphere 8s ease-in-out infinite;
}

.sphere-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: -5%;
    animation-delay: -3s;
}

.sphere-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes float-sphere {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    z-index: 10;
    position: relative;
}

/* Mobile override for hero container */
@media (max-width: 599px) {
    .hero-container {
        padding: 2rem 0.5rem !important;
        max-width: 100% !important;
    }
}

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float-particle 8s ease-in-out infinite;
    opacity: 0;
    animation-fill-mode: both;
}

.particle:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 85%; left: 85%; animation-delay: 1s; }
.particle:nth-child(3) { top: 35%; left: 75%; animation-delay: 2s; }
.particle:nth-child(4) { top: 65%; left: 25%; animation-delay: 3s; }
.particle:nth-child(5) { top: 5%; left: 95%; animation-delay: 4s; }
.particle:nth-child(6) { top: 95%; left: 5%; animation-delay: 5s; }
.particle:nth-child(7) { top: 25%; left: 60%; animation-delay: 1.5s; }
.particle:nth-child(8) { top: 75%; left: 40%; animation-delay: 2.5s; }
.particle:nth-child(9) { top: 45%; left: 12%; animation-delay: 3.5s; }
.particle:nth-child(10) { top: 55%; left: 88%; animation-delay: 4.5s; }
.particle:nth-child(11) { top: 12%; left: 45%; animation-delay: 0.8s; }
.particle:nth-child(12) { top: 88%; left: 55%; animation-delay: 1.8s; }
.particle:nth-child(13) { top: 32%; left: 32%; animation-delay: 2.8s; }
.particle:nth-child(14) { top: 68%; left: 68%; animation-delay: 3.8s; }
.particle:nth-child(15) { top: 18%; left: 78%; animation-delay: 0.3s; }
.particle:nth-child(16) { top: 82%; left: 22%; animation-delay: 1.3s; }
.particle:nth-child(17) { top: 42%; left: 90%; animation-delay: 2.3s; }
.particle:nth-child(18) { top: 58%; left: 8%; animation-delay: 3.3s; }
.particle:nth-child(19) { top: 28%; left: 50%; animation-delay: 4.3s; }
.particle:nth-child(20) { top: 72%; left: 48%; animation-delay: 5.3s; }

/* Tamaños variables para las partículas */
.particle:nth-child(2n) { width: 2px; height: 2px; }
.particle:nth-child(3n) { width: 4px; height: 4px; }
.particle:nth-child(5n) { 
    width: 1px; 
    height: 1px; 
    background: rgba(255, 255, 255, 0.4); 
}
.particle:nth-child(7n) { 
    width: 5px; 
    height: 5px; 
    background: rgba(255, 255, 255, 0.3); 
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

@keyframes float-particle {
    0% { 
        opacity: 0; 
        transform: translateY(0px) translateX(0px) scale(0.5); 
    }
    10% { 
        opacity: 1; 
    }
    90% { 
        opacity: 1; 
    }
    100% { 
        opacity: 0; 
        transform: translateY(-60px) translateX(20px) scale(1.2); 
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 92vh; /* Balanced height ensuring scroll indicator visibility */
    padding-bottom: 50px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out 0.2s both;
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1.2rem;
    margin-top: 0;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.text-gradient {
    background: linear-gradient(45deg, var(--accent-color), var(--light-blue), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

.text-gradient-purple {
    background: linear-gradient(135deg, var(--cyan-bright) 0%, #00D4FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 900px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Services Slider */
.hero-services-slider {
    width: 100%;
    max-width: 900px;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-services-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    transition: transform 0.3s ease;
}

.hero-services-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hero-service-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-service-dot.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.service-card-mini {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 2.5rem 1rem 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 140px;
    min-width: 160px;
    overflow: visible;
    margin-top: 30px;
}


.service-card-mini:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    z-index: 2;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card-mini:hover .service-icon-wrapper {
    transform: translateX(-50%) scale(1.1);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Colores vibrantes para cada service card - Todos con el mismo estilo */
.service-card-mini:nth-child(1) .service-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-card-mini:nth-child(2) .service-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-card-mini:nth-child(3) .service-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-card-mini:nth-child(4) .service-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.service-card-mini:nth-child(5) .service-icon-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Animación secuencial de brillo pulsante en los íconos */
.service-card-mini:nth-child(1) .service-icon-wrapper {
    animation: iconGlow 7.5s ease-in-out 0s infinite;
}

.service-card-mini:nth-child(2) .service-icon-wrapper {
    animation: iconGlow 7.5s ease-in-out 1.5s infinite;
}

.service-card-mini:nth-child(3) .service-icon-wrapper {
    animation: iconGlow 7.5s ease-in-out 3s infinite;
}

.service-card-mini:nth-child(4) .service-icon-wrapper {
    animation: iconGlow 7.5s ease-in-out 4.5s infinite;
}

.service-card-mini:nth-child(5) .service-icon-wrapper {
    animation: iconGlow 7.5s ease-in-out 6s infinite;
}

@keyframes iconGlow {
    0% { 
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: translateX(-50%) scale(1);
    }
    10% { 
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.3);
        transform: translateX(-50%) scale(1.08);
    }
    20% { 
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: translateX(-50%) scale(1);
    }
    100% { 
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
        transform: translateX(-50%) scale(1);
    }
}

.service-icon {
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.service-card-mini h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: white;
    position: relative;
    z-index: 2;
}

.service-card-mini p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.hero-cta {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.8s both;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

/* Hero CTA Hierarchy */
.btn-hero-main {
    transform: scale(1.05);
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 138, 101, 0.4);
}

.btn-hero-secondary {
    opacity: 0.85;
    transform: scale(0.95);
    font-size: 0.9rem;
}

.btn-hero-main:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 12px 30px rgba(230, 74, 25, 0.5);
}

.btn-hero-secondary:hover {
    opacity: 1;
    transform: scale(0.97) translateY(-1px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #FF8A65, #E64A19);
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 138, 101, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 74, 25, 0.5);
    background: linear-gradient(135deg, #FFB74D, #D84315);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    color: white;
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 0.8rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

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

/* Contact Items Row */
.contact-items-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    justify-content: center;
    align-items: flex-start;
}

/* Contact Services Section */
.contact-services {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.contact-services h3 {
    color: var(--cyan-bright);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.services-grid-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-item-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.service-item-contact:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
    border-color: var(--cyan-bright);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.service-icon-contact {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--cyan-bright), #00D4FF);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 212, 255, 0.3);
}

.service-icon-contact i {
    font-size: 1rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-text-contact h4 {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.2;
}

.service-text-contact p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin: 0;
    line-height: 1.2;
}

/* Contact Stats Section */
.contact-stats {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Compact Stats Design */
.hero-stats-premium {
    display: flex;
    justify-content: center;
    padding: 0;
    position: relative;
    z-index: 2;
}

.stats-row-single {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-card-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.3rem;
}

.stat-card-compact:hover {
    transform: translateY(-3px);
}

.stat-card-compact .stat-icon {
    display: none;
}

.stat-card-compact .stat-icon i {
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card-compact:hover .stat-icon {
    transform: scale(1.05);
    color: #ffffff;
}

.stat-card-compact .stat-number {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.1rem;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: -0.02em;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8),
                 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.stat-card-compact .stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-card.premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.5rem;
}

.stat-card.premium:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
    display: block;
    color: var(--cyan-bright);
    transition: all 0.3s ease;
}

.stat-icon i {
    display: block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-card.premium:hover .stat-icon {
    transform: scale(1.05);
    color: #ffffff;
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.stat-card.premium .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.1rem;
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    letter-spacing: -0.02em;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8),
                 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

.stat-card.premium .stat-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan-bright);
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-description {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    line-height: 1.1;
    opacity: 0.9;
}

.stat-card.premium:hover .stat-description {
    color: rgba(255, 255, 255, 1);
}

/* Tooltips for compact stats - only show on desktop */
@media (min-width: 769px) {
    .stat-card-compact::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 0.3rem 0.6rem;
        border-radius: 6px;
        font-size: 0.7rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
        pointer-events: none;
        font-weight: 500;
    }

    .stat-card-compact:hover::after {
        opacity: 1;
        visibility: visible;
        bottom: -25px;
    }
    
    .stat-card.premium::after {
        content: attr(data-tooltip);
        position: absolute;
        bottom: -35px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.85);
        color: white;
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        font-size: 0.75rem;
        white-space: nowrap;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
        pointer-events: none;
        font-weight: 500;
    }

    .stat-card.premium:hover::after {
        opacity: 1;
        visibility: visible;
        bottom: -30px;
    }
}

/* Responsive Contact Stats */
@media (max-width: 599px) {
    .contact-items-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-stats {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .hero-stats-premium {
        gap: 0.8rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stats-row-single {
        gap: 1rem;
        justify-content: center;
    }
    
    .stat-card-compact {
        min-width: 70px;
        padding: 0.2rem;
    }
    
    .stat-card-compact .stat-icon {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .stat-card-compact .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-card-compact .stat-label {
        font-size: 0.65rem;
    }
    
    .contact-services {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .services-grid-contact {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .service-item-contact {
        padding: 0.7rem;
    }
    
    .service-icon-contact {
        width: 30px;
        height: 30px;
    }
    
    .service-icon-contact i {
        font-size: 0.9rem;
    }
    
    .service-text-contact h4 {
        font-size: 0.85rem;
    }
    
    .service-text-contact p {
        font-size: 0.7rem;
    }
    
    .stat-card.premium {
        min-width: 110px;
        padding: 0.5rem;
        flex: 1 1 calc(50% - 0.4rem);
        max-width: 140px;
    }
    
    .stat-icon {
        font-size: 1.4rem;
        margin-bottom: 0.4rem;
    }
    
    .stat-card.premium .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-card.premium .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-description {
        font-size: 0.6rem;
    }
    
    .stat-card.premium:hover {
        transform: translateY(-4px) scale(1.02);
    }
    
    /* Disable tooltips on mobile */
    .stat-card.premium::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .contact-stats {
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .hero-stats-premium {
        gap: 0.6rem;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .stat-card.premium {
        flex-direction: row;
        text-align: left;
        padding: 0.5rem;
        min-width: auto;
        max-width: none;
    }
    
    .stat-icon {
        font-size: 1.5rem;
        margin-bottom: 0;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .stat-content {
        align-items: flex-start;
        text-align: left;
    }
}

.stat {
    text-align: center;
    flex: 0 0 auto;
    min-width: 85px;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    margin-bottom: 0.2rem;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8),
                 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

/* Números de estadísticas en blanco con contorno negro */
.stat-number {
    color: #ffffff !important;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8),
                 2px 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--cyan-bright);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    animation: fadeInUp 1s ease-out 1.4s both;
    z-index: 10;
    width: fit-content;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

.scroll-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    text-align: center;
    white-space: nowrap;
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Old carousel styles removed - using new hero design */

/* Old duplicate styles removed - using new hero design styles above */

/* Old button styles removed - using new hero CTA styles */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 1;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid white;
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Problems Section */
.problems {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    color: white;
    z-index: 2;
}

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

.problems .section-title {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.problems-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 600px) and (max-width: 1180px) {
    .problems {
        padding: 5rem 2rem;
    }
    
    .problems-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 900px;
        gap: 2.5rem;
        padding: 0;
    }
    
    .problem-card {
        min-height: 280px;
        padding: 2.5rem 2rem;
    }
    
    .problem-icon {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
    
    .problems-header {
        text-align: center;
        max-width: 100%;
        margin: 0 auto 4rem;
        padding: 0;
    }
    
    .problems .section-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .problems-cta {
        max-width: 700px !important;
        margin: 0 auto !important;
        padding: 3rem 2.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        position: relative !important;
    }
    
    .problems-cta h3 {
        font-size: 2rem;
    }
    
    .problems-cta p {
        font-size: 1.15rem;
    }
}

@media (min-width: 1181px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Center services title without background box for desktop */
    .services .section-title {
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        text-align: center;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        margin: 0 auto 3rem auto !important;
    }
}

.problem-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.problem-card:hover::before {
    left: 100%;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.problem-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: white;
}

.problem-card p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0.9;
}

.problems-cta {
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.problems-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.problems-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* Mobile Responsive for Problems Section */
@media (max-width: 599px) {
    .problems {
        padding: 3rem 0;
    }
    
    .problems .section-title {
        font-size: 1.8rem;
    }
    
    .problems-subtitle {
        font-size: 1rem;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .problem-card {
        padding: 1.5rem;
    }
    
    .problem-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .problem-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .problem-card p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }
    
    .problems-cta {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .problems-cta h3 {
        font-size: 1.4rem;
    }
    
    .problems-cta p {
        font-size: 1rem;
    }
}

/* Problems Toggle Styles */
.problems-toggle {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.btn-show-more {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #dee2e6;
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-transform: none;
    min-width: 180px;
    max-width: 220px;
    height: 48px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-show-more:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

/* Nueva estructura simplificada de problemas */
.problems-extra {
    margin-top: 2rem;
}

/* Cuarto problema solo visible en tablet y móvil */
.tablet-fourth {
    display: block;
}

.problems-description {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.problems-description p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Responsive para problems-extra */
@media (max-width: 599px) {
    .problems-extra {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .problems-description p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .problems-extra {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
}

@media (min-width: 1181px) {
    .problems-extra {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .tablet-fourth {
        display: none;
    }
}

/* Button responsive styles */
@media (max-width: 599px) {
    .btn-show-more {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        min-width: 160px;
        max-width: 200px;
        height: 44px;
    }
    
    .problems-toggle {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .btn-show-more {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        min-width: 140px;
        max-width: 180px;
        height: 40px;
        gap: 0.3rem;
    }
    
    .btn-show-more .toggle-icon {
        width: 16px;
        height: 16px;
    }
}

/* Sticky Bottom CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta.show {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.sticky-cta-text {
    display: flex;
    flex-direction: column;
    color: white;
    flex: 1;
}

.sticky-cta-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.sticky-cta-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.sticky-cta-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sticky-cta-btn:hover {
    background: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sticky-cta-close {
    background: none;
    border: none;
    color: white;
    padding: 0.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.sticky-cta-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 599px) {
    .sticky-cta-content {
        padding: 0.8rem 1rem;
        gap: 0.5rem;
    }
    
    .sticky-cta-title {
        font-size: 0.9rem;
    }
    
    .sticky-cta-subtitle {
        font-size: 0.7rem;
    }
    
    .sticky-cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
}

/* Responsive utilities */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none !important;
}

/* Services Accordion - REMOVED SECTION - NO LONGER USED */
.services-accordion {
    max-width: 600px;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.accordion-title .service-icon {
    font-size: 1.5rem;
}

.accordion-title h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-toggle {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-toggle {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.2rem;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 0 1.2rem 1.2rem;
}

.accordion-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.9;
}

/* Typography Hierarchy System */
.section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-8);
}

.subsection-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-6);
}

.card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-4);
}

.body-text {
    font-size: var(--text-base);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.small-text {
    font-size: var(--text-sm);
    line-height: 1.5;
}

.xs-text {
    font-size: var(--text-xs);
    line-height: 1.4;
}

/* Responsive Typography */
@media (max-width: 599px) {
    .section-title {
        font-size: var(--text-3xl);
        margin-bottom: var(--space-6);
    }
    
    .subsection-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-5);
    }
    
    .card-title {
        font-size: var(--text-lg);
        margin-bottom: var(--space-3);
    }
}

/* Utility Spacing Classes */
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Tablet Layout Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .service-card {
        padding: 1.8rem;
    }
    
    .service-card h3 {
        font-size: var(--text-xl);
    }
    
    .service-card p {
        font-size: var(--text-sm);
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 2.5rem;
    }
    
    /* About section tablet layout */
    .about-content {
        gap: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 600px;
        margin: 0 auto;
    }
    
    /* Contact section tablet layout - split in half */
    .contact .contact-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        align-items: start !important;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    
    /* Left side - contact info and services */
    .contact .contact-info {
        display: block !important;
    }
    
    .contact .contact-info h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
        color: var(--cyan-bright);
    }
    
    /* Show desktop contact info and stats in tablet */
    .contact .desktop-only {
        display: block !important;
    }
    
    /* Hide mobile form in tablet */
    .contact .mobile-only {
        display: none !important;
    }
    
    /* Right side - desktop form container */
    .contact .contact-form-container.desktop-only {
        display: block !important;
        background: none;
        padding: 0;
    }
    
    /* Form UX improvements for tablet */
    .contact-form {
        padding: 2rem;
    }
    
    .form-group {
        margin-bottom: var(--space-6);
    }
    
    /* Testimonials tablet layout */
    .testimonials-container {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 599px) {
    .desktop-only {
        display: none !important;
    }
    
    /* Los bullets ahora están marcados como desktop-only directamente en HTML */
    
    /* Modificar sección de servicios en contacto para móvil */
    .contact-services {
        margin-top: 2rem;
    }
    
    .contact-services h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .services-grid-contact {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-item-contact {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .service-icon-contact {
        margin-bottom: 0.5rem;
    }
    
    .service-icon-contact i {
        font-size: 1.2rem;
        color: var(--accent-color);
    }
    
    .service-text-contact h4 {
        font-size: 0.9rem;
        margin: 0 0 0.3rem 0;
        color: var(--text-dark);
    }
    
    .service-text-contact p {
        font-size: 0.8rem;
        margin: 0;
        opacity: 0.8;
        color: var(--text-dark);
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* Ensure services grid is hidden on mobile */
    .services-grid.desktop-only {
        display: none !important;
    }
    
    /* Hide desktop contact form container in mobile */
    .contact-form-container.desktop-only {
        display: none !important;
    }
    
    /* Mobile contact form styling - simple full width */
    .contact-form-mobile.mobile-only {
        display: block !important;
        margin: 1rem 0;
        padding: 0;
        text-align: center;
        position: relative;
        z-index: 1;
        background: transparent;
        width: 100%;
    }
    
    .contact-form-mobile .form-title {
        margin: 0 0 1rem 0;
        text-align: center;
        padding: 0 1rem;
    }
    
    .contact-form-mobile .form-title h3 {
        text-align: center;
        margin: 0;
        font-size: 1rem;
        line-height: 1.4;
        color: #ffffff;
    }
    
    .contact-form-mobile .contact-form {
        padding: 0;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
        /* Remove glassmorphism on mobile */
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
    
    .contact-form-mobile .form-group {
        text-align: center;
        margin: 0 0 1.5rem 0;
        width: 100%;
        padding: 0 1rem;
    }
    
    .contact-form-mobile .form-group input,
    .contact-form-mobile .form-group select,
    .contact-form-mobile .form-group textarea {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
        text-align: left;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(102, 126, 234, 0.3);
        border-radius: 12px;
        padding: 1.2rem 1.5rem;
        font-size: 1.1rem;
        color: #333;
    }
    
    .contact-form-mobile .submit-btn {
        width: 100%;
        margin: 1rem 0 0 0;
        padding: 1.3rem 2rem;
    }
    
    /* Fix container padding for mobile */
    .contact .container {
        padding: 0 1rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Override contact section padding for mobile */
    .contact {
        padding: 3rem 0;
    }
    
    /* Remove grid layout from contact-content in mobile */
    .contact-content {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    /* Center contact title in mobile */
    .contact-info h2 {
        text-align: center !important;
        margin-bottom: 1.5rem;
    }
    
    /* Touch target optimization for mobile */
    button, .btn, input[type="submit"], input[type="button"] {
        min-height: 44px;
        min-width: 44px;
        padding: 0.8rem 1rem;
    }
    
    /* Enhanced testimonial dots for mobile */
    .testimonials-dots .dot {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.1);
        margin: 0 4px;
    }
    
    .testimonials-dots .dot::before {
        width: 12px;
        height: 12px;
    }
    
    .testimonials-dots .dot.active {
        background: rgba(74, 144, 226, 0.2);
    }
    
    /* Optimize testimonials carousel for mobile */
    .testimonials-carousel {
        touch-action: manipulation; /* Allow normal scrolling */
        -webkit-overflow-scrolling: touch;
        overflow: visible; /* Prevent scroll blocking */
    }
    
    .portfolio-btn {
        min-height: 44px;
        padding: 0.8rem 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Form UX improvements for mobile */
    .contact-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .form-group {
        margin-bottom: var(--space-8);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem;
        font-size: 16px;
        border-radius: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.1);
        color: white;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: var(--accent-color);
        background: rgba(255, 255, 255, 0.15);
        outline: none;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    }
    
    .form-group label {
        margin-bottom: var(--space-3);
        font-size: var(--text-base);
        font-weight: 600;
    }
    
    /* Error states */
    .form-group.error input,
    .form-group.error select,
    .form-group.error textarea {
        border-color: #ff4757;
        background: rgba(255, 71, 87, 0.1);
    }
    
    .form-group .error-message {
        color: #ff4757;
        font-size: 0.85rem;
        margin-top: 0.5rem;
        display: none;
    }
    
    .form-group.error .error-message {
        display: block;
    }
    
    /* Services Mobile Accordion - Show only in mobile */
    .services-mobile.mobile-only {
        margin-top: 2rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .service-accordion {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-accordion-item {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.3s ease;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .service-accordion-header {
        display: flex !important;
        align-items: center;
        padding: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        gap: 1rem;
        min-height: 60px;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .service-accordion-header:hover {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .service-accordion-header .service-icon {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--accent-color);
        border-radius: 8px;
        flex-shrink: 0;
    }
    
    .service-accordion-header h3 {
        margin: 0 !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        color: white !important;
        flex: 1;
        line-height: 1.3;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .accordion-toggle {
        font-size: 1.5rem;
        font-weight: bold;
        color: white;
        transition: transform 0.3s ease;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 50%;
    }
    
    .service-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0 1.2rem;
    }
    
    .service-accordion-item.active .service-accordion-content {
        max-height: 200px;
        padding: 0 1.2rem 1.2rem;
    }
    
    .service-accordion-item.active .accordion-toggle {
        transform: rotate(45deg);
    }
    
    .service-accordion-content p {
        margin: 0;
        padding: 0;
        font-size: 0.9rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.9);
        opacity: 0.9;
    }
    
    .accordion-header {
        padding: 1rem;
    }
    
    .accordion-title h3 {
        font-size: 1rem;
    }
    
    .accordion-content {
        padding: 0 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 1rem 1rem;
    }
}


/* Services Mobile Accordion - Hidden by default */
.services-mobile {
    display: none;
}

.service-accordion {
    display: flex !important;
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

.service-accordion-item {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 1rem;
}

.service-accordion-header {
    display: flex !important;
    align-items: center;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 1rem;
    min-height: 60px;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100%;
    box-sizing: border-box;
}

.service-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.service-accordion-header .service-icon {
    font-size: 1.5rem !important;
    width: 40px;
    height: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 8px;
    flex-shrink: 0;
}

.service-accordion-header h3 {
    margin: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    flex: 1;
    line-height: 1.3;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: left !important;
    max-width: none !important;
    overflow: visible !important;
    white-space: normal !important;
}

.accordion-toggle {
    font-size: 1.5rem !important;
    font-weight: bold;
    color: var(--accent-color) !important;
    transition: transform 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    opacity: 1 !important;
    visibility: visible !important;
}

.service-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.2rem;
}

.service-accordion-item.active .service-accordion-content {
    max-height: 200px;
    padding: 0 1.2rem 1.2rem;
}

.service-accordion-item.active .accordion-toggle {
    transform: rotate(45deg);
}

.service-accordion-content p {
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* About Section Compressed for Mobile */
.about-compressed {
    padding: 2rem 0;
}

.company-intro {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.company-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.company-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.company-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    opacity: 0.9;
}

.quick-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    margin-bottom: 1.5rem;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.1);
    gap: 1.5rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.quick-stats::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.quick-stats::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.quick-stat {
    text-align: center;
    flex: 1;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

.quick-stat:hover {
    transform: translateY(-3px);
}

.quick-stat .stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.quick-stat .stat-number::before {
    content: '+';
    font-size: 1.5rem;
    color: #00bcd4;
    position: relative;
    margin-right: 2px;
}

/* Todos los quick-stat ahora tienen + por defecto, sin excepciones */

.quick-stat .stat-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0.9;
    opacity: 0.8;
}

.about-cta {
    text-align: center;
}

.btn-about {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-about:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* About Expanded Content for Mobile */
.about-expanded {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideDown 0.3s ease-out;
}

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

.about-expanded h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-expanded h4 {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.about-expanded .timeline {
    margin-bottom: 2rem;
}

.about-expanded .timeline-item {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent-color);
}

.about-expanded .timeline-year {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.about-expanded .timeline-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.about-expanded .team-section {
    margin-top: 2rem;
}

.about-expanded .team-section h4 {
    margin-bottom: 1rem;
}

.about-expanded .team-members {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-expanded .team-member {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-expanded .team-link {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.about-expanded .team-link:hover {
    color: var(--light-blue);
    text-decoration: underline;
}

/* Urgency/Offer Section - Suavizada */
.urgency-section {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.urgency-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}

.urgency-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    animation: subtle-pulse 3s infinite;
}

.badge-icon {
    font-size: 1.2rem;
}

.urgency-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.urgency-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.offer-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: white;
    font-weight: 500;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.urgency-timer {
    margin-bottom: 2rem;
}

.timer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.timer-counter {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.time-unit {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    min-width: 80px;
    text-align: center;
}

.time-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.2rem;
}

.time-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.urgency-cta {
    margin-bottom: 1rem;
}

.btn-urgency {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

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

.btn-urgency:hover::before {
    left: 100%;
}

.btn-urgency:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-text {
    display: block;
    margin-bottom: 0.2rem;
}

.btn-price {
    font-size: 0.9rem;
    opacity: 0.9;
    text-decoration: line-through rgba(255, 255, 255, 0.5);
}

.urgency-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.note-icon {
    font-size: 1.1rem;
}

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

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
}

@media (max-width: 599px) {
    .urgency-title {
        font-size: 1.8rem;
    }
    
    .urgency-subtitle {
        font-size: 1rem;
    }
    
    .offer-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .timer-counter {
        gap: 0.5rem;
    }
    
    .time-unit {
        padding: 0.8rem;
        min-width: 70px;
    }
    
    .time-number {
        font-size: 1.5rem;
    }
    
    .btn-urgency {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .urgency-note {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
    }
}

/* Micro Quiz Styles */
.micro-quiz {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Quiz Section Spacing */
.quiz-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.02) 100%);
    position: relative;
    z-index: 2;
}

.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quiz-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quiz-question {
    display: none;
}

.quiz-question.active {
    display: block;
}

.question-text {
    font-size: 1.1rem;
    color: white;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quiz-option {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-align: center;
}

.quiz-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.quiz-option.selected {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
}

.option-icon {
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.option-text {
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.quiz-result {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.result-content {
    padding: 1rem;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.result-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 1rem;
}

.result-price {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: white;
}

.result-cta {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.result-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

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

@media (max-width: 599px) {
    .micro-quiz {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .quiz-section {
        padding: 2rem 0;
    }
    
    .quiz-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .quiz-option {
        padding: 1rem;
    }
    
    .option-icon {
        font-size: 1.8rem;
    }
    
    .option-text {
        font-size: 0.9rem;
    }
    
    .quiz-header h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .quiz-header p {
        font-size: 1rem;
    }
    
    .result-cta {
        padding: 1rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Better spacing between sections */
    .testimonials {
        padding: 3rem 0;
    }
    
    .problems {
        padding: 3rem 0;
    }
    
    .services {
        padding: 3rem 0;
    }
    
    .services .section-title {
        margin: 0 auto 2rem auto;
        padding: 0.8rem 1.5rem;
        font-size: 1.8rem;
    }
    
    .portfolio {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .problem-card {
        padding: 1.2rem;
    }
    
    .problem-icon {
        font-size: 2rem;
    }
    
    .problem-card h3 {
        font-size: 1rem;
    }
    
    .problem-card p {
        font-size: 0.85rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
}

.services .section-title {
    position: relative;
    z-index: 10;
    color: var(--text-dark);
    text-shadow: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 20px;
    display: inline-block;
    margin: 0 auto 3rem auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
    z-index: -1;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 20px var(--shadow-light);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,0.8) 50%, 
        transparent
    );
    transform: skewX(-25deg);
    animation: lightSweep 8s infinite;
    z-index: 1;
}

@keyframes lightSweep {
    0% { left: -100%; }
    20% { left: 120%; }
    100% { left: 120%; }
}

.service-card:nth-child(1)::after {
    animation-delay: 0s;
}

.service-card:nth-child(2)::after {
    animation-delay: 2s;
}

.service-card:nth-child(3)::after {
    animation-delay: 4s;
}

.service-card:nth-child(4)::after {
    animation-delay: 6s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    left: 0;
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    color: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card .service-icon {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
}

/* Portfolio Section Simplificado */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

/* Responsive Portfolio */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}


.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.portfolio-image,
.portfolio-slider {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
}

.portfolio-slider {
    position: relative;
}

.portfolio-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: var(--border-radius);
    background-color: #f8f9fa;
}

.portfolio-slide.active {
    opacity: 1;
}

.slider-dots {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.portfolio-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23ffffff" opacity="0.1"/><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.3"/><circle cx="80" cy="30" r="1.5" fill="%23ffffff" opacity="0.4"/><circle cx="40" cy="70" r="1" fill="%23ffffff" opacity="0.5"/></svg>');
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    text-align: center;
}

.portfolio-link-text {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, var(--accent-color), var(--light-blue));
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    align-self: center;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link-text {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.portfolio-overlay p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    display: block;
    margin-bottom: 0.2rem;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.8),
                 1px -1px 0 rgba(0, 0, 0, 0.8),
                 -1px 1px 0 rgba(0, 0, 0, 0.8),
                 1px 1px 0 rgba(0, 0, 0, 0.8),
                 2px 2px 4px rgba(0, 0, 0, 0.3),
                 0 0 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}


/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: white;
    position: relative;
    z-index: 2;
    min-height: 600px; /* Fixed height for desktop to prevent section movement */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonials .section-title {
    color: white;
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: visible; /* Prevent scroll interference */
    touch-action: manipulation; /* Enable smooth scrolling */
    -webkit-overflow-scrolling: touch;
}

.testimonial-item {
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transition);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.testimonial-item.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.testimonial-content {
    text-align: center;
    padding: 2rem;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.author-info h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.author-info h4 a,
.author-info h4 a:link,
.author-info h4 a:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

.author-info h4 a:hover,
.author-info h4 a:focus {
    color: #4a90e2 !important;
    text-decoration: underline !important;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Testimonials dots with better mobile touch targets */
.testimonials-dots .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 12px; /* Larger touch target */
    border: none;
}

.testimonials-dots .dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.testimonials-dots .dot.active::before {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

/* Tech Stack Section */
.tech-stack {
    padding: 5rem 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    box-shadow: 0 5px 20px var(--shadow-light);
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* Tooltip */
.tech-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    margin-bottom: 5px;
}

.tech-item::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--bg-dark);
    opacity: 0;
    transition: var(--transition);
}

.tech-item:hover::before,
.tech-item:hover::after {
    opacity: 1;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--bg-dark);
    color: white;
}

/* Conversion-optimized form header */
.form-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(0, 212, 255, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.form-header h3 {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-header h3 i {
    color: var(--cyan-bright);
    margin-right: 0.5rem;
}

.form-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info h2 {
    font-size: 2.375rem;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
    font-weight: 700;
}

.contact-form-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.contact-form-container .form-title {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-container .form-title h3 {
    color: #ffffff !important;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Form title styling */
.form-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-title h3 {
    color: #ffffff !important;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.4;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Conversion-optimized form styles */
.contact-form.conversion-optimized {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Form labels for better UX */
.form-group label {
    display: block;
    color: var(--cyan-bright);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Trust signals */
.trust-signals {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 0.8rem;
    border-radius: 10px;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-signals span {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.trust-signals span i {
    color: var(--cyan-bright);
    margin-right: 0.3rem;
    font-size: 0.8rem;
}

/* Conversion CTA Button */
.submit-btn.conversion-cta {
    background: linear-gradient(135deg, #00D4FF, #667EEA);
    border: none;
    padding: 1.2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.submit-btn.conversion-cta:hover {
    background: linear-gradient(135deg, #667EEA, #00D4FF);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.submit-btn.conversion-cta .btn-text i {
    margin-right: 0.5rem;
}

/* Form guarantee */
.form-guarantee {
    text-align: center;
    margin-top: 1rem;
    padding: 0.8rem;
    background: rgba(0, 255, 127, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.form-guarantee i {
    color: #00FF7F;
    margin-right: 0.5rem;
    font-size: 1rem;
}

.form-guarantee small {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.85rem;
}

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: none;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="white" d="M2 0L0 2h4zM2 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--text-dark);
    color: white;
    padding: 0.5rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    transform: scale(1.02);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: var(--accent-color);
}

.form-group .error-message {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1.3rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 1rem;
    background: linear-gradient(135deg, var(--cyan-bright), #8B5CF6);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

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

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
    background: linear-gradient(135deg, #00D4FF, #764ba2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.recaptcha-info {
    margin-top: 1rem;
    text-align: center;
}

.recaptcha-info small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
}

.recaptcha-info a {
    color: var(--cyan-bright);
    text-decoration: none;
    font-weight: 500;
}

.recaptcha-info a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.form-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.form-footer .privacy-link {
    color: var(--cyan-bright);
    text-decoration: none;
    font-weight: 500;
}

.form-footer .privacy-link:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* WhatsApp Link Styles */
.whatsapp-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.whatsapp-link:hover {
    color: #25D366;
    transform: scale(1.05);
}

.whatsapp-link::after {
    content: '💬';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    opacity: 0;
    transition: var(--transition);
}

.whatsapp-link:hover::after {
    opacity: 1;
}

/* Footer */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 599px) {
    
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: rgba(0, 123, 255, 0.1);
    }
    
    
    .hero-services-track {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
    }
    
    .hero-services-dots {
        display: flex;
    }
    
    .service-card-mini {
        padding: 1rem;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    
    .service-icon-wrapper {
        width: 35px;
        height: 35px;
        margin-bottom: 0.5rem;
        aspect-ratio: 1;
        flex-shrink: 0;
    }
    
    .service-icon {
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        min-width: 200px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .about-content,
    .contact-content {
        flex-direction: column;
        padding: 0 1rem;
    }
    
    .contact-form-container {
        margin-bottom: 3rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact-form {
        padding: 0;
        margin: 0;
        background: none;
        backdrop-filter: none;
        border-radius: 0;
        box-shadow: none;
        border: none;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact-form .form-group {
        margin-bottom: 1.5rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .contact-form .form-group input,
    .contact-form .form-group select {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
    }
    
    .contact-form-container .form-title h3 {
        font-size: 1rem;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    /* Asegurar que ningún elemento cause overflow horizontal */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Fix específicos para elementos problemáticos */
    .hero-services-track {
        width: 300%; /* 3 views of 2 cards each */
        max-width: none; /* Permitir que este elemento específico exceda para el carrusel */
    }
    
    /* Mejorar usabilidad táctil en móviles */
    .btn-primary,
    .btn-secondary,
    .service-button,
    .quick-reply-button {
        min-height: 44px; /* Target táctil mínimo recomendado */
        touch-action: manipulation; /* Mejor respuesta táctil */
    }
    
    /* Mejor espaciado en secciones */
    .problems,
    .services,
    .portfolio,
    .testimonials,
    .about,
    .contact {
        padding: 3rem 0;
    }
    
    /* Fix testimonials scroll issues on mobile */
    .testimonials {
        touch-action: manipulation;
        -webkit-overflow-scrolling: touch;
        overflow-x: visible;
        overflow-y: visible;
    }
    
    .testimonial-item {
        touch-action: manipulation;
        pointer-events: auto;
    }
    
    /* Reduce testimonials font sizes on mobile */
    .testimonials .section-title {
        font-size: 2rem !important; /* Smaller title */
    }
    
    .testimonial-content p {
        font-size: 1rem !important; /* Smaller testimonial text */
        line-height: 1.5 !important;
    }
    
    /* Better testimonials section height - enough to show content */
    .testimonials {
        min-height: 600px !important; /* Sufficient height for content */
        max-height: 85vh !important; /* Adaptive but generous */
        overflow: visible !important; /* Allow content to show */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 3rem 0 !important;
    }
    
    .testimonials-carousel {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .testimonial-content {
        padding: 1.5rem !important;
        text-align: center !important;
    }
    
    .testimonial-content p {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    /* Asegurar que formularios sean usables */
    input, 
    select, 
    textarea, 
    button {
        font-size: 16px; /* Evitar zoom en iOS */
        touch-action: manipulation;
    }
    
    .whatsapp-float {
        bottom: 80px;
        right: 15px;
    }
    
    .hero-title {
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
        max-width: 310px !important;
    }
    
    .hero-subtitle {
        line-height: 1.2 !important;
        margin-bottom: 1.5rem !important;
        max-width: 290px !important;
    }
    
    /* FRESH START: Hero Services Slider for Mobile */
    .hero-services-slider {
        width: 100%;
        overflow: hidden;
        margin: 1.5rem 0;
        position: relative;
    }
    
    .hero-services-track {
        display: flex;
        width: 250%; /* 5 cards total, show 2 at a time */
        transition: transform 0.3s ease;
    }
    
    .service-card-mini {
        flex: 0 0 18%; /* 19% width per card */
        margin: 0 0.5%; /* 0.5% margin = 19% + 19% + 1% + 1% = 40% total */
        box-sizing: border-box;
    }
    
    /* Fresh service card styling */
    .service-card-mini {
        padding: 2rem 1rem 1.2rem 1rem;
        min-height: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.12);
        margin-top: 25px;
        position: relative;
    }
    
    /* Mobile-specific service icon wrapper */
    .hero-services-track .service-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        top: -25px !important;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        flex-shrink: 0 !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    }
    
    /* Mobile-specific service icon */
    .hero-services-track .service-icon {
        font-size: 1.4rem !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .service-card-mini:hover {
        transform: none !important;
        background: rgba(255, 255, 255, 0.12);
    }
    
    .service-card-mini:hover .service-icon-wrapper {
        transform: none !important;
    }
    
    /* Mobile-specific service card text */
    .hero-services-track .service-card-mini h3 {
        font-size: 0.9rem !important;
        margin: 0.6rem 0 0.4rem 0 !important;
        line-height: 1.3 !important;
        color: white !important;
        font-weight: 700 !important;
        text-align: center !important;
    }
    
    .hero-services-track .service-card-mini p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
        margin: 0 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        text-align: center !important;
        padding: 0 0.3rem !important;
    }
    
    /* Extra fixes for very small screens */
    .hero-services-slider {
        max-width: 100% !important;
        margin: 0 auto 1.5rem auto !important;
        overflow: hidden !important;
    }
}

/* Extra small devices (320px and down) */
@media (max-width: 360px) {
    .hero-services-track .service-icon-wrapper {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        top: -20px !important;
    }
    
    .hero-services-track .service-icon {
        font-size: 1.1rem !important;
    }
    
    .hero-services-track .service-card-mini {
        min-height: 110px !important;
        max-height: 110px !important;
        padding: 1.2rem 0.4rem 0.8rem 0.4rem !important;
        max-width: 120px !important;
    }
    
    .hero-services-track .service-card-mini h3 {
        font-size: 0.75rem !important;
    }
    
    .hero-services-track .service-card-mini p {
        font-size: 0.65rem !important;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 0.8rem 1rem;
        margin-bottom: 1rem;
        max-width: 300px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-divider {
        display: none;
    }
    
    .hero-content {
        min-height: 90vh; /* Balanced height for mobile */
        padding-top: 90px; /* Ensure title doesn't overlap menu */
        padding-bottom: 30px;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .particles-container {
        opacity: 0.3;
    }
    
    .service-card .service-icon {
        width: 80px !important;
        height: 80px !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 2rem !important;
        line-height: 1 !important;
    }
    
    .service-card:hover .service-icon {
        transform: none !important;
    }
    
    .service-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }
    
    .service-card:hover {
        transform: none !important;
    }
    
    .logo {
        font-size: 1.65rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about {
        padding: 3rem 0 !important;
    }
    
    .about-content {
        gap: 1.5rem !important;
    }
    
    .about-text h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
        text-align: center;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1rem !important;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-label {
        font-size: 1rem !important;
        margin-top: 0.5rem;
    }
    
    .contact {
        padding: 3rem 0 !important;
    }
    
    .contact-info h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        margin-bottom: 1.2rem !important;
        transform: none !important;
    }
    
    .contact-item:hover {
        transform: none !important;
    }
    
    .contact-icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
        margin-right: 0.8rem !important;
    }
    
    .contact-form {
        padding: 1.5rem !important;
        margin-top: 2rem;
    }
    
    /* Mobile form title */
    .form-title {
        margin-bottom: 1rem;
    }
    
    .form-title h3 {
        font-size: 1.1rem;
    }
    
    /* Mobile conversion optimizations */
    .form-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.2rem;
    }
    
    .form-header p {
        font-size: 0.8rem;
    }
    
    .trust-signals {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.6rem;
    }
    
    .trust-signals span {
        font-size: 0.7rem;
        justify-content: center;
    }
    
    .submit-btn.conversion-cta {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .form-guarantee {
        padding: 0.6rem;
        margin-top: 0.8rem;
    }
    
    .form-guarantee small {
        font-size: 0.75rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem !important;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .submit-btn {
        padding: 0.8rem 2rem !important;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .recaptcha-info {
        font-size: 0.75rem !important;
        text-align: center;
        margin-top: 1rem !important;
        line-height: 1.4;
    }
    
    .grecaptcha-badge {
        visibility: hidden !important;
        opacity: 0 !important;
        z-index: 1000 !important;
        left: 4px !important;
        right: auto !important;
        bottom: 4px !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
    }
    
    /* Show in contact section on mobile too */
    .contact .grecaptcha-badge,
    body.contact-section .grecaptcha-badge {
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .whatsapp-float,
    .whatsapp-button {
        z-index: 10000 !important;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrolling for all browsers */
html {
    scroll-behavior: smooth;
}

/* Hide reCAPTCHA badge by default */
.grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    z-index: 1000 !important;
    position: fixed !important;
    bottom: 4px !important;
    left: 4px !important;
    right: auto !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

/* Show reCAPTCHA badge only in contact section */
.contact .grecaptcha-badge,
body.contact-section .grecaptcha-badge {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Selection styles */
::selection {
    background: var(--primary-color);
    color: white;
}

::-moz-selection {
    background: var(--primary-color);
    color: white;
}

/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} 
/* AI Chatbot Floating Button */
.chatbot-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 1000;
}

.chatbot-tooltip {
    position: absolute;
    bottom: 75px;
    right: -10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.chatbot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
}

.chatbot-float:hover .chatbot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    color: white;
    animation: pulse 2s infinite;
}

.chatbot-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.6);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    }
}

.chatbot-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 500px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.chatbot-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-circle {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.chatbot-info h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.chatbot-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.chatbot-status {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
}

.chatbot-info {
    flex: 1;
}

.whatsapp-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-popup-body {
    padding: 20px;
}

.whatsapp-message {
    margin-bottom: 15px;
}

.message-bubble {
    background: #f0f0f0;
    padding: 12px 16px;
    border-radius: 18px 18px 18px 4px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}

.whatsapp-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.whatsapp-options button {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px 16px;
    border-radius: 8px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #333;
}

.whatsapp-options button:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

/* Chatbot specific styles */
.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    background: #fafafa;
}

/* Custom scrollbar for chatbot messages */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-message .message-bubble {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-message.bot .message-bubble {
    background: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 5px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px 15px;
    background: #f0f0f0;
    border-radius: 15px;
    border-bottom-left-radius: 5px;
    width: fit-content;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    40% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

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

.chatbot-input-container {
    padding: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 0 0 12px 12px;
}

.chatbot-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 16px; /* Prevent zoom on iOS */
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input:focus {
    border-color: #667eea;
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.chatbot-send:hover {
    transform: scale(1.1);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive adjustments for chatbot */
@media (max-width: 599px) {
    .chatbot-popup {
        width: calc(100vw - 40px);
        height: calc(100vh - 140px);
        right: 20px;
        bottom: 90px;
        max-width: 380px;
        max-height: 600px;
    }
    
    .chatbot-float {
        bottom: 20px;
    }
    
    .chatbot-button {
        width: 56px;
        height: 56px;
    }
    
    .chatbot-input {
        font-size: 16px !important; /* Force 16px to prevent zoom */
        padding: 12px 15px; /* Slightly bigger for better touch */
        -webkit-text-size-adjust: 100%; /* Prevent text size adjustment */
        transform: scale(1); /* Prevent scaling */
    }
    
    .chatbot-input:focus {
        font-size: 16px !important;
        transform: scale(1);
    }
    
    /* Prevent viewport scaling when input is focused */
    .chatbot-input-container {
        transform: translate3d(0,0,0); /* Hardware acceleration */
        -webkit-transform: translate3d(0,0,0);
    }
    
    .chatbot-tooltip {
        right: -80px;
        transform: translateX(0);
        font-size: 13px;
        padding: 6px 10px;
        width: max-content;
        max-width: 200px;
    }
    
    .chatbot-tooltip::after {
        right: 85px;
        transform: none;
    }
    
    .chatbot-float:hover .chatbot-tooltip {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .chatbot-popup {
        width: calc(100vw - 20px);
        right: 10px;
    }
    
    .chatbot-float {
        right: 15px;
    }
}

/* Portfolio Fix - Estado Gris Inactivo con Colores Originales al Hover */
.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    /* Estado inactivo: sutilmente reducido */
    filter: brightness(0.9) contrast(0.95) saturate(0.85);
    opacity: 0.9;
    transform: scale(0.99);
}

.portfolio-item:hover {
    /* Estado activo: colores originales vibrantes restaurados */
    filter: grayscale(0) brightness(1.1) contrast(1.1) saturate(1.2);
    opacity: 1;
    transform: scale(1.02) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.portfolio-image {
    height: 100%;
    /* Colores originales vibrantes que se verán al hacer hover */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Patrón de fondo sutil */
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.1) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.1) 2px, transparent 2px);
    background-size: 50px 50px;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: var(--border-radius);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: white;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-overlay p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.portfolio-btn {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.portfolio-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Specific styles for Sivilla and Maker images to show full content */
.sivilla-image {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.maker-image {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-item:hover .tech-tag {
    /* Tags más vibrantes al activarse */
    background: rgba(102, 126, 234, 0.8);
    color: white;
    border-color: rgba(102, 126, 234, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Efecto de brillo al hacer hover */
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.portfolio-item:hover::before {
    opacity: 1;
    transform: translateX(100%);
}

/* Grid responsivo */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 50px;
}

/* Estilos del carrusel mejorado */
.portfolio-carousel-wrapper {
    cursor: grab;
}

.portfolio-carousel-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 0.5rem;
}

/* Sombras laterales sutiles */
.portfolio-carousel-wrapper::before,
.portfolio-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 15;
    pointer-events: none;
}

.portfolio-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0.8) 0%, transparent 100%);
}

.portfolio-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.8) 0%, transparent 100%);
}

/* Responsive Carousel */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .carousel-slide {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-carousel-container {
        padding: 0 55px;
    }
    
    .portfolio-nav {
        width: 42px;
        height: 42px;
    }
    
    .portfolio-prev {
        left: 5px;
    }
    
    .portfolio-next {
        right: 5px;
    }
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablet Responsive (768px - 1024px) */
@media (min-width: 600px) and (max-width: 1180px) {
    /* Hero Section Optimized for Tablet */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-container {
        padding: 2rem 3rem;
        max-width: 100%;
    }
    
    .hero-content {
        padding: 3rem 0;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Hero Services Grid for Tablet */
    .hero-services {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin: 3rem auto;
        padding: 0 2rem;
        max-width: 900px;
    }
    
    .hero-services-slider {
        width: 100%;
        overflow-x: auto;
        overflow-y: visible;
        margin: 3rem 0;
        position: relative;
        padding: 35px 0 20px 0;
        -webkit-overflow-scrolling: touch;
    }
    
    .hero-services-track {
        display: flex;
        gap: 1.5rem;
        padding: 30px 1rem 0 1rem;
        width: max-content;
        flex-wrap: nowrap;
    }
    
    /* Hide scrollbar completely */
    .hero-services-slider::-webkit-scrollbar {
        display: none;
    }
    
    .service-card-mini {
        flex: 0 0 200px;
        min-width: 200px;
        margin: 0;
        box-sizing: border-box;
        padding: 3rem 1rem 1.5rem 1rem;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        text-align: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        position: relative;
        transition: all 0.3s ease;
        overflow: visible;
    }
    
    .service-card-mini h3 {
        font-size: 1rem;
        margin: 0.5rem 0;
        color: white;
        font-weight: 600;
    }
    
    .service-card-mini p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
    }
    
    /* Service Icons for Tablet */
    .service-icon-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 56px !important;
        height: 56px !important;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
        border-radius: 50% !important;
        position: absolute !important;
        top: -28px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3) !important;
    }
    
    .service-card-mini .service-icon {
        font-size: 1.6rem !important;
        color: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1 !important;
        filter: none !important;
    }
    
    /* Hover effect for tablet */
    .service-card-mini:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.12);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }
    
    /* Hide dots 4 and 5 in tablet (only show 3 dots) */
    .hero-service-dot.mobile-only {
        display: none !important;
    }
    
    /* Service dots styling for tablet */
    .hero-services-dots {
        display: flex;
        justify-content: center;
        gap: 0.8rem;
        margin-top: 2rem;
    }
    
    /* Hide mobile services accordion in tablet */
    .services-mobile,
    .services-mobile.mobile-only {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* Show desktop services in tablet */
    .services-grid.desktop-only {
        display: grid !important;
    }
    
    /* Center services title without background box */
    .services .section-title {
        background: none !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        text-align: center;
        display: block !important;
        padding: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        margin: 0 auto 3rem auto !important;
    }
    
    .hero-service-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .hero-service-dot.active {
        background: white;
        transform: scale(1.3);
    }
    
    /* Hero CTAs for Tablet */
    .hero-cta {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        margin-top: 2.5rem;
        flex-wrap: wrap;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
        min-width: 200px;
    }
    
    /* Hero Stats for Tablet */
    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding: 0 2rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Scroll Indicator for Tablet */
    .scroll-indicator {
        bottom: 2rem;
        width: 35px;
        height: 50px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.12);
        margin-top: 25px;
        position: relative;
    }
    
    .hero-services-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }
}

/* Portfolio responsive mejorado */
@media (min-width: 480px) and (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        padding: 0 1rem;
    }
}

@media (max-width: 479px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .portfolio-item {
        /* En mobile estado más natural y menos filtrado */
        filter: brightness(0.95) contrast(1) saturate(0.9);
        opacity: 0.95;
        border-radius: 0;
    }
    
    .portfolio-item:hover,
    .portfolio-item:active {
        /* Activación completa en mobile también */
        filter: grayscale(0) brightness(1.05) contrast(1.05) saturate(1.1);
        transform: scale(1) translateY(-2px);
        opacity: 1;
    }
}

/* Nueva Sección Projects Showcase con Filtros */
.projects-showcase {
    position: relative;
}

.showcase-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.showcase-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtros por Categoría */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.filter-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.filtered-projects {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-nav {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-viewport {
    overflow: hidden;
    flex: 1;
    border-radius: 12px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 280px;
    opacity: 1;
    transform: scale(1);
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.7));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 1rem;
    backdrop-filter: blur(2px);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-overlay p {
    font-size: 0.85rem;
    margin: 0 0 1rem 0;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-link {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.carousel-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(102, 126, 234, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.carousel-counter {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* Responsive para Projects Showcase */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .project-card {
        height: 260px;
    }
    
    .project-image {
        height: 260px;
    }
}

@media (max-width: 599px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .showcase-title {
        font-size: 1.8rem;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .project-card {
        height: 240px;
        margin: 0 auto;
        max-width: 400px;
    }
    
    .project-image {
        height: 240px;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        width: 45px;
        height: 45px;
    }
    
    .carousel-nav svg {
        width: 18px;
        height: 18px;
    }
    
    .project-image {
        height: 180px;
    }
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.footer-logo-icon {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: 'Poppins', 'Arial Black', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 400px;
    padding-left: calc(28px + 0.6rem); /* Exactamente el ancho del icon + gap del logo */
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #667eea;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 599px) {
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 20px;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #ecf0f1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #bdc3c7;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-height: 44px; /* Mejor target táctil */
    touch-action: manipulation; /* Mejor respuesta táctil */
    -webkit-tap-highlight-color: transparent; /* Eliminar highlight azul en iOS */
    user-select: none; /* Prevenir selección de texto */
}

.cookie-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.cookie-decline {
    background: transparent;
    color: #bdc3c7;
    border: 2px solid #7f8c8d;
}

.cookie-decline:hover {
    background: #7f8c8d;
    color: white;
}

@media (max-width: 599px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}

/* About Section - New Nosotros Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--very-light-blue) 0%, #f0f7ff 100%);
}

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

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-story {
    order: 1;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-year {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-content h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.founder-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #0077b5;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #0077b5;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.linkedin-link:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.linkedin-link i {
    font-size: 1.1rem;
}

.about-expertise {
    order: 2;
    margin-bottom: 0;
}

.about-expertise h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-weight: 600;
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.expertise-item {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expertise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.expertise-item h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.expertise-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-stats-container {
    grid-column: 1 / -1;
    margin-top: 3rem;
}

/* About Section Stats - Enhanced Desktop Style */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 0 auto;
    max-width: 600px;
    justify-items: center;
    width: 100%;
    padding: 1rem;
}

.about-stat-item {
    text-align: center;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.about-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.about-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-stat-item:hover::before {
    opacity: 1;
}

.about-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Responsive Design for About Section */
@media (max-width: 599px) {
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-story {
        order: 1;
    }
    
    .about-expertise {
        order: 2;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        margin-left: 70px;
        padding-left: 2rem;
        text-align: left;
        padding-right: 1rem;
    }
    
    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .expertise-item {
        padding: 1.5rem;
    }
    
    .expertise-icon {
        font-size: 2.5rem;
    }
    
    .about-expertise h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .linkedin-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .about-stats {
        gap: 1.5rem;
        margin-top: 1.5rem;
        max-width: 400px;
    }
    
    .about-stat-item {
        padding: 0.8rem;
    }
    
    .about-stat-number {
        font-size: 1.9rem;
    }
    
    .about-stat-label {
        font-size: 0.8rem;
    }
}

/* Hero Section - New Styles */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.hero-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 950px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-text {
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-trust {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.trust-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-icon {
    color: #4ade80;
    font-weight: bold;
    margin-right: 0.3rem;
}

.button-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button.primary:hover .button-arrow {
    transform: translateX(4px);
}

/* Footer Compacto y Profesional */
.footer-compact {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 50%, #0a1221 100%);
    color: #e0e0e0;
    position: relative;
    padding: 3rem 0 1.5rem;
}

.footer-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand .footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}


.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: -0.3rem;
    left: 0;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.6rem;
}

.footer-column a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
    padding-left: 0.3rem;
}

.footer-contact a,
.contact-info a {
    color: #e0e0e0 !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover,
.contact-info a:hover {
    color: #4a90e2 !important;
    text-decoration: none;
    padding-left: 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-info a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: #888;
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.footer-trust {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: #888;
}

.footer-trust span {
    white-space: nowrap;
}

/* Responsive Footer Compacto */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 599px) {
    .footer-compact {
        padding: 2rem 0 1rem;
    }
    
    .footer-links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 2rem;
        text-align: left;
        padding: 0 1rem;
    }
    
    .footer-column h4 {
        font-size: 0.95rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-column ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-column a {
        font-size: 0.85rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .footer-compact {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-links-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem 1.5rem;
        padding: 0 0.5rem;
    }
    
    .footer-column h4 {
        font-size: 0.9rem;
    }
    
    .footer-column a {
        font-size: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Projects Showcase - CSS específico para evitar conflictos */
.projects-showcase {
    background: #f5f7fa;
    padding: 5rem 0;
}

.projects-showcase .showcase-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.projects-showcase .showcase-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filtros específicos para showcase */
.projects-showcase .portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.projects-showcase .filter-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: var(--text-dark);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.projects-showcase .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.projects-showcase .filter-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Grid específico para showcase */
.projects-showcase .filtered-projects {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.projects-showcase .projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    padding: 0 1rem;
    width: 100%;
}

/* Tarjetas específicas para showcase */
.projects-showcase .project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 280px;
    display: block !important;
    position: relative;
    width: 100%;
}

.projects-showcase .project-card.hidden {
    display: none !important;
}

.projects-showcase .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.projects-showcase .project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.projects-showcase .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.projects-showcase .project-card:hover .project-overlay {
    opacity: 1;
}

.projects-showcase .project-overlay h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.projects-showcase .project-overlay p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.projects-showcase .project-link {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid white;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-align: center;
    align-self: flex-start;
}

.projects-showcase .project-link:hover {
    background: white;
    color: var(--primary-color);
}

/* Responsive para Projects Showcase específico */
@media (max-width: 1024px) {
    .projects-showcase .projects-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    
    .projects-showcase .showcase-title {
        font-size: 2rem;
    }
    
    .projects-showcase .project-card {
        height: 260px;
    }
}

@media (max-width: 599px) {
    .projects-showcase .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .projects-showcase .showcase-title {
        font-size: 1.8rem;
    }
    
    .projects-showcase .showcase-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .projects-showcase .portfolio-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .projects-showcase .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .projects-showcase .project-card {
        height: 240px;
        margin: 0 auto;
        max-width: 400px;
    }
}
