/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

/* Variables CSS */
:root {
    /* Nueva paleta de colores moderna */
    --primary-dark: #0b0a2b;
    --primary-orange: #f86800;
    --primary-yellow: #FFD600;
    --text-primary: #000000;
    --text-secondary: #91929d;
    --white: #FFFFFF;
    
    /* Variables originales del diseño */
    --blanco: #FFFFFF;
    --negro: #000000;
    --gris-oscuro: #333333;
    --gris-claro: #91929d;
    --morado-oscuro: #0b0a2b;
    --violeta-claro: #9A4DFF;
    --violeta-suave: #8B5CF6;
    --azul-marino: #1e1b4b;
    --amarillo: #FFD600;
    
    --purple-gradient: linear-gradient(135deg, #9A4DFF 0%, #6B46C1 100%);
    --dark-gradient: linear-gradient(135deg, #0b0a2b 0%, #1e1b4b 100%);
    
    /* Tipografía */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-text: 'Nunito', sans-serif;
    --font-titles: 'Poppins', sans-serif;
    
    /* Espaciado */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --border-radius: 12px;
    
    /* Transiciones */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Elementos decorativos - Esferas */
.sphere {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violeta-claro), var(--violeta-suave));
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
    z-index: -1;
}

.sphere-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.sphere-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 10%;
    animation-delay: 2s;
}

.sphere-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 70%;
    animation-delay: 4s;
}

.sphere-4 {
    width: 180px;
    height: 180px;
    top: 20%;
    right: 20%;
    animation-delay: 1s;
}

.sphere-5 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

.sphere-6 {
    width: 160px;
    height: 160px;
    top: 15%;
    left: 20%;
    animation-delay: 0.5s;
}

.sphere-7 {
    width: 140px;
    height: 140px;
    bottom: 25%;
    right: 25%;
    animation-delay: 2.5s;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(11, 10, 43, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.nav-brand h2 {
    color: var(--white);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-menu .nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
}

.nav-menu .nav-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.nav-menu .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-menu .nav-link:hover::after {
    width: 80%;
}

.nav-cta {
    margin-left: 1rem;
}

.nav-cta-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    color: #1a1a2e !important;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%);
}

.nav-cta-btn::after {
    display: none;
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger {
    width: 30px;
    height: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.line {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: var(--dark-gradient);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

/* Formas geométricas animadas */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: var(--purple-gradient);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 30%;
    animation-delay: 4s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    bottom: 5%;
    left: 20%;
    animation-delay: 1s;
}

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

/* Partículas */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #8FA1FF;
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(143, 161, 255, 0.5);
    animation: float-around 8s linear infinite;
}

/* Posiciones y delays únicos para cada partícula */
.particle:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { top: 25%; left: 85%; animation-delay: 1s; animation-duration: 10s; }
.particle:nth-child(3) { top: 60%; left: 15%; animation-delay: 2s; animation-duration: 14s; }
.particle:nth-child(4) { top: 5%; right: 10%; animation-delay: 0.5s; animation-duration: 11s; }
.particle:nth-child(5) { bottom: 20%; right: 25%; animation-delay: 1.5s; animation-duration: 13s; }
.particle:nth-child(6) { bottom: 45%; left: 75%; animation-delay: 2.5s; animation-duration: 9s; }
.particle:nth-child(7) { top: 35%; left: 45%; animation-delay: 3s; animation-duration: 15s; }
.particle:nth-child(8) { top: 80%; left: 35%; animation-delay: 3.5s; animation-duration: 8s; }
.particle:nth-child(9) { top: 45%; right: 5%; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(10) { bottom: 10%; left: 55%; animation-delay: 4.5s; animation-duration: 10s; }
.particle:nth-child(11) { top: 65%; right: 40%; animation-delay: 5s; animation-duration: 11s; }
.particle:nth-child(12) { top: 85%; left: 10%; animation-delay: 5.5s; animation-duration: 13s; }
.particle:nth-child(13) { top: 30%; left: 25%; animation-delay: 6s; animation-duration: 9s; }
.particle:nth-child(14) { bottom: 35%; right: 10%; animation-delay: 6.5s; animation-duration: 14s; }
.particle:nth-child(15) { top: 50%; left: 90%; animation-delay: 7s; animation-duration: 12s; }

@keyframes float-around {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(50px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-20px, 40px) scale(0.8);
        opacity: 1;
    }
    75% { 
        transform: translate(30px, 20px) scale(1.1);
        opacity: 0.6;
    }
    100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid var(--primary-yellow);
    color: var(--primary-yellow);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero-text h1 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-text h1 .highlight {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition-bounce);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--primary-yellow);
    color: var(--text-primary);
    border-color: var(--primary-yellow);
    border-radius: 50px;
    padding: 1.2rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.3);
}

.cta-button.primary:hover {
    background: #9A4DFF;
    border-color: #9A4DFF;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(154, 77, 255, 0.4);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.cta-button.demo-button {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    border: 2px solid #10B981;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.cta-button.demo-button:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    color: #059669;
    border-color: #10B981;
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(16, 185, 129, 0.4),
        0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.tech-illustration {
    position: relative;
    width: 400px;
    height: 400px;
}

.gradient-orb {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #9A4DFF 0%, #ffffff 100%);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 0 100px rgba(154, 77, 255, 0.3);
}

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

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.hero-logo {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    animation: logo-pulse 3s ease-in-out infinite;
    opacity: 0.9;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, rgba(11, 10, 43, 0.98) 0%, rgba(18, 18, 63, 0.98) 100%);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 0.8rem 0;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.6s; }
    
    .nav-menu .nav-link {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        border-radius: 15px;
        width: 200px;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.5rem;
    }
    
    .nav-menu .nav-link:hover {
        background: rgba(255, 215, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.4);
        transform: translateY(-2px);
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .nav-cta-btn {
        width: 200px;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
        box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
        color: #1a1a2e !important;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hamburger Animation */
    .nav-toggle.active .line1 {
        transform: rotate(45deg) translate(8px, 8px);
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    }
    
    .nav-toggle.active .line2 {
        opacity: 0;
        transform: translateX(20px);
    }
    
    .nav-toggle.active .line3 {
        transform: rotate(-45deg) translate(8px, -8px);
        background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    }
    
    /* Mejoras generales responsive */
    .container {
        padding: 0 1rem;
    }
    
    /* Hero section mobile improvements */
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }
    
    .demo-button {
        margin-bottom: 1.5rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .tech-illustration {
        width: 250px;
        height: 250px;
    }
    
    .gradient-orb {
        width: 200px;
        height: 200px;
    }
    
    .hero-logo {
        width: 130px;
    }
    
    .geometric-shapes .shape {
        display: none;
    }
}

/* Extra small devices (phones, 480px and down) */
@media (max-width: 480px) {
    .navbar .container {
        padding: 0.8rem 1rem;
    }
    
    .nav-brand h2 {
        font-size: 1.3rem;
    }
    
    .nav-brand .logo {
        height: 40px;
    }
    
    .nav-menu {
        width: 280px;
        padding: 1.5rem;
    }
    
    .nav-menu .nav-link {
        width: 180px;
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .nav-cta-btn {
        width: 180px;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .hamburger {
        width: 25px;
        height: 25px;
    }
    
    .line {
        width: 20px;
        height: 2px;
    }
    
    .hero-text h1 {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .demo-button {
        margin-bottom: 2rem;
    }
    
    /* Metodología responsive adicional */
    .about-features {
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.2rem;
    }
    
    .feature-icon {
        padding: 0.8rem;
    }
    
    /* Servicios responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        max-width: 100%;
        margin: 0;
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Portfolio responsive */
    .portfolio-grid {
        gap: 1rem;
    }
    
    .portfolio-item {
        padding: 1rem;
    }
    
    .portfolio-item h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-item p {
        font-size: 0.85rem;
    }
    
    /* Testimonials responsive */
    .testimonials-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonial-author h4 {
        font-size: 1rem;
    }
    
    .testimonial-author span {
        font-size: 0.8rem;
    }
    
    /* Stats responsive */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    /* Team responsive */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-member {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .team-member img {
        max-width: 150px;
        max-height: 150px;
    }
    
    .team-member h3 {
        font-size: 1.2rem;
    }
    
    .team-member .role {
        font-size: 0.9rem;
    }
    
    .team-member p {
        font-size: 0.85rem;
    }
    
    /* Footer responsive */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        max-width: 100%;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .social-icons {
        justify-content: center;
        gap: 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .footer-bottom {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    /* Newsletter responsive adicional */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form input {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    /* Contact responsive */
    .contact-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info,
    .contact-form {
        max-width: 100%;
        padding: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .contact-form button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .contact-item h3 {
        font-size: 1.1rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
    }
    
    /* WhatsApp button responsive */
    .whatsapp-float {
        bottom: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
    
    /* Chat modal responsive */
    .chat-modal {
        width: 95%;
        height: 80vh;
        max-width: none;
        margin: 10vh auto;
    }
    
    .chat-header {
        padding: 1rem;
    }
    
    .chat-header h3 {
        font-size: 1.1rem;
    }
    
    .chat-body {
        padding: 1rem;
    }
    
    .chat-input-container {
        padding: 1rem;
    }
    
    .chat-input {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .chat-send-btn {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Typography ajustes finales */
    h1 {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    h3 {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
    
    p {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
        line-height: 1.6;
    }
}
    
    .hero-logo {
        width: 130px;
    }
    
    .geometric-shapes .shape {
        display: none;
    }
}

/* Estilos legacy - Necesarios para compatibilidad */
.hero-content h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 3.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    max-width: 900px;
    line-height: 1.2;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--azul-marino);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
}

.cta-button {
    background: var(--amarillo);
    color: var(--negro);
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    background: var(--azul-marino);
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Sección Emocional: ¿Te sientes así? */
.emotional-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #0b0a2b 0%, #12123f 100%);
    overflow: hidden;
}

.emotional-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 132, 0, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.emotional-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.emotional-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.emotional-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 50%, #f97316 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}

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

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

.emotional-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emotional-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 8px 16px rgba(139, 92, 246, 0.2);
}

.emotional-section .emotional-icon {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.emotional-section .emotional-icon.stagnant {
    background: rgba(249, 115, 22, 0.2) !important;
    color: #f97316 !important;
}

.emotional-section .emotional-icon.team {
    background: rgba(59, 130, 246, 0.2) !important;
    color: #3b82f6 !important;
}

.emotional-section .emotional-icon.exhausted {
    background: rgba(168, 85, 247, 0.2) !important;
    color: #a855f7 !important;
}

.emotional-section .emotional-icon svg {
    width: 32px !important;
    height: 32px !important;
    color: currentColor !important;
}

.emotional-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin: 0 0 1rem 0;
    text-align: center;
}

.emotional-description {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: #d1d5db;
    margin: 0;
    text-align: center;
    max-width: 280px;
}

.emotional-transition {
    text-align: center;
    padding: 2.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.emotional-transition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #a855f7 50%, transparent 100%);
}

.emotional-transition p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #d1d5db;
    margin: 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    display: inline-block;
}

/* Responsive para sección emocional */
@media (max-width: 768px) {
    .emotional-section {
        padding: 4rem 0;
    }
    
    .emotional-header {
        margin-bottom: 3rem;
        padding-top: 1rem;
    }
    
    .emotional-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    
    .emotional-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 4rem;
    }
    
    .emotional-item {
        padding: 2rem 1.5rem;
    }
    
    .emotional-section .emotional-icon {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 20px !important;
    }
    
    .emotional-section .emotional-icon svg {
        width: 28px !important;
        height: 28px !important;
    }
    
    .emotional-subtitle {
        font-size: 1.125rem;
    }
    
    .emotional-description {
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .emotional-transition {
        padding: 2rem 0 0;
    }
    
    .emotional-transition p {
        font-size: 1rem;
        padding: 1rem;
    }
}

/* Sección de Beneficios */
.benefits {
    padding: var(--section-padding);
    background: var(--blanco);
}

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

.benefit-item {
    text-align: center;
    padding: 2rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--azul-marino), var(--violeta-claro));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
}

.benefit-title {
    font-family: var(--font-titles);
    font-weight: 600;
    color: var(--amarillo);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.benefit-item p {
    color: var(--gris-oscuro);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Sobre Nosotros */
.about {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
}

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

.about-badge {
    display: inline-block;
    color: #8FA1FF;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.about-text h2 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--primary-orange) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.highlight-year {
    color: #8FA1FF;
    position: relative;
}

.highlight-year::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #8FA1FF;
    border-radius: 2px;
}

.about-text > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

/* Estilos específicos para quitar sombras en la sección about */
.about-features .feature-item h4,
.about-features .feature-item p {
    text-shadow: none !important;
}

.about-features .feature-content p {
    color: #555 !important;
    text-shadow: none !important;
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    background: rgba(143, 161, 255, 0.1);
    border: 1px solid rgba(143, 161, 255, 0.2);
    border-radius: 12px;
    padding: 0.8rem;
    color: #8FA1FF;
    flex-shrink: 0;
}

.feature-content h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-shadow: none; /* Sin sombra para el texto */
}

.feature-content p {
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    font-weight: 400;
    text-shadow: none; /* Sin sombra para el texto */
    margin: 0;
}

.cta-container {
    margin-top: 2rem;
}

.cta-button-secondary {
    background: var(--primary-yellow);
    color: var(--text-primary);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-bounce);
    display: inline-block;
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.3);
}

.cta-button-secondary:hover {
    background: #9A4DFF;
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(154, 77, 255, 0.4);
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    animation: float-brain 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 35px rgba(154, 77, 255, 0.4));
}

@keyframes float-brain {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

/* Servicios - Diseño Moderno con Lila Glassmorphing */
.services {
    padding: 8rem 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.03) 0%, 
        rgba(196, 181, 253, 0.05) 30%,
        rgba(255, 255, 255, 0.98) 70%,
        rgba(167, 139, 250, 0.04) 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 214, 0, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(196, 181, 253, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    background: linear-gradient(135deg, 
        #1a1a1a 0%, 
        #6b46c1 50%, 
        #4a5568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

/* Gradient Text Multi-color Style */
.gradient-text-multi {
    background: linear-gradient(135deg, 
        #FFFFFF 0%,           /* Blanco */
        #E2E8F0 15%,          /* Blanco grisáceo */
        #A855F7 35%,          /* Morado claro */
        #8B5CF6 50%,          /* Morado medio */
        #7C3AED 65%,          /* Morado más intenso */
        #F59E0B 80%,          /* Amarillo/naranja */
        #FCD34D 100%          /* Amarillo claro */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
    font-weight: 700;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 25% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 75% 50%;
    }
}

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

.service-card {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(196, 181, 253, 0.12) 30%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(167, 139, 250, 0.06) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.08),
        0 4px 16px rgba(139, 92, 246, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.06) 0%, 
        rgba(255, 214, 0, 0.04) 50%,
        rgba(196, 181, 253, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.15),
        0 8px 32px rgba(139, 92, 246, 0.08),
        0 4px 16px rgba(255, 214, 0, 0.06);
    border-color: rgba(139, 92, 246, 0.25);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.12) 0%, 
        rgba(196, 181, 253, 0.16) 30%,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(167, 139, 250, 0.1) 100%);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(139, 92, 246, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2),
        0 4px 12px rgba(139, 92, 246, 0.15);
}

.whatsapp-service-icon {
    background: #25D366;
    color: white;
}

.service-card:hover .whatsapp-service-icon {
    background: #128C7E;
    transform: scale(1.1) rotate(3deg);
}

.email-icon {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
}

.calendar-icon {
    background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}

.copy-icon {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
}

.video-icon {
    background: linear-gradient(135deg, #FF5722 0%, #E91E63 100%);
}

.crm-icon {
    background: linear-gradient(135deg, #9C27B0 0%, #673AB7 100%);
}

.service-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-card:hover .service-title {
    color: #1a202c;
}

.service-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-badge {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.12) 0%, 
        rgba(196, 181, 253, 0.08) 100%);
    color: #6b46c1;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-family: var(--font-text);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.service-card:hover .service-badge {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.18) 0%, 
        rgba(255, 214, 0, 0.1) 50%,
        rgba(196, 181, 253, 0.12) 100%);
    transform: translateY(-1px);
    color: #553c9a;
    border-color: rgba(139, 92, 246, 0.3);
}

.service-description {
    color: #4a5568;
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.service-card:hover .service-description {
    color: #2d3748;
}

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

.service-features li {
    color: #4a5568;
    font-family: var(--font-text);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: 700;
    margin-right: 0.8rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, 
        rgba(72, 187, 120, 0.15) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    border-radius: 50%;
    font-size: 0.7rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(72, 187, 120, 0.2);
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-card:hover .service-features li {
    color: #2d3748;
}

.service-card:hover .service-features li::before {
    background: linear-gradient(135deg, 
        rgba(72, 187, 120, 0.2) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    transform: scale(1.1);
    border-color: rgba(72, 187, 120, 0.3);
}

/* Why Choose Us - Diseño Moderno */
.why-choose-us {
    padding: 8rem 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 214, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.why-choose-image {
    position: relative;
}

.why-choose-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    animation: float-gentle 8s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(139, 92, 246, 0.3));
}

@keyframes float-gentle {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    50% {
        transform: translateY(-5px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-1deg);
    }
}

.why-choose-text {
    color: var(--white);
}

.why-choose-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(255, 214, 0, 0.1) 100%);
    color: #8FA1FF;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.why-choose-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.highlight-text {
    background: linear-gradient(135deg, #8FA1FF 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #8FA1FF 0%, var(--primary-yellow) 100%);
    border-radius: 2px;
}

.why-choose-description {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    font-weight: 400;
}

.why-choose-features {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
}

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

.feature-number {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #8FA1FF 0%, var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    min-width: 80px;
    position: relative;
}

.feature-content h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-content p {
    font-family: var(--font-text);
    font-size: 1rem;
    line-height: 1.6;
    color: #91929C;
    font-weight: 400;
}

.feature-item:hover .feature-content h3 {
    color: #8FA1FF;
}

.feature-item:hover .feature-content p {
    color: #91929C;
}

.cta-button-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #f7b500 100%);
    color: var(--primary-dark);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button-primary::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;
}

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

.cta-button-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 214, 0, 0.4);
    background: linear-gradient(135deg, #f7b500 0%, var(--primary-yellow) 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .why-choose-image {
        order: -1;
    }
    
    .why-choose-illustration {
        max-width: 300px;
        height: auto;
    }
    
    .why-choose-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .why-choose-description {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 2.5rem;
    }
    
    .why-choose-features {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }
    
    .why-choose-features .feature-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 2rem 1.5rem;
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        transition: all 0.3s ease;
    }
    
    .why-choose-features .feature-item:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 215, 0, 0.3);
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    }
    
    .feature-number {
        min-width: auto;
        font-size: 3rem;
        margin-bottom: 0.5rem;
        background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .why-choose-features .feature-content {
        text-align: center;
    }
    
    .why-choose-features .feature-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        color: var(--white);
        font-weight: 600;
    }
    
    .why-choose-features .feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
        margin: 0;
    }
    
    .cta-container {
        text-align: center;
        margin-top: 2rem;
    }
    }
}

/* Estadísticas - Fondo Blanco y Colores Modernos */
.stats {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 214, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.stats .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(139, 92, 246, 0.03) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    background-clip: padding-box;
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.05) 0%, 
        rgba(255, 214, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.stat-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(139, 92, 246, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(139, 92, 246, 0.2);
}

.stat-card > * {
    position: relative;
    z-index: 2;
}

.stat-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(255, 214, 0, 0.05) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8B5CF6;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(255, 214, 0, 0.1) 100%);
    color: #7C3AED;
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-number {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        #8B5CF6 50%, 
        var(--primary-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.05);
    background: linear-gradient(135deg, 
        #8B5CF6 0%, 
        var(--primary-yellow) 50%,
        var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1.1rem;
    color: #4A5568;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.stat-card:hover .stat-label {
    color: var(--primary-dark);
}

/* Animación de conteo */
.stat-number {
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #8B5CF6 0%, 
        var(--primary-yellow) 100%);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.stat-card:hover .stat-number::after {
    width: 60%;
}

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

@media (max-width: 768px) {
    .stats {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .stat-card {
        padding: 2rem 1.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 2rem 1rem;
    }
}

/* Portfolio - Sección Espectacular */
.portfolio {
    padding: 8rem 0;
    background: linear-gradient(135deg, 
        #fafbfc 0%, 
        rgba(139, 92, 246, 0.02) 30%,
        #ffffff 70%,
        rgba(255, 214, 0, 0.01) 100%);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 214, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.portfolio .container {
    position: relative;
    z-index: 2;
}

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

.portfolio-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(255, 214, 0, 0.05) 100%);
    color: #8B5CF6;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(10px);
}

.portfolio-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.portfolio-description {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6B7280;
    font-weight: 400;
}

/* Filtros de Portfolio */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    align-items: center;
}

/* Filtros normales para desktop y tablet */
.desktop-only {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.mobile-only {
    display: none !important; /* Forzar ocultación en desktop y tablet */
}

/* Media query para tablet - mantener diseño 3x2 */
@media (max-width: 1024px) and (min-width: 641px) {
    .desktop-only {
        display: flex;
        gap: 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .mobile-only {
        display: none !important; /* NO mostrar dropdown en tablet */
    }
    
    .filter-dropdown {
        display: none !important; /* NO mostrar dropdown en tablet */
    }
    
    .filter-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Mantener grid 3x2 en tablet */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        max-width: 900px;
    }
    
    .portfolio-card {
        height: 320px; /* Ajustado para tablet */
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
    }
    
    .portfolio-content p {
        font-size: 0.8rem;
    }
}

.filter-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.1);
    color: #6B7280;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border-color: #8B5CF6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

/* Dropdown styles - SOLO PARA MÓVIL */
.filter-dropdown {
    position: relative;
    display: none; /* Oculto por defecto */
    width: 100%;
    max-width: 250px;
    z-index: 9998;
}

.dropdown-toggle {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    border: none;
    padding: 1.2rem 1.8rem;
    border-radius: 25px;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 9998;
}

.dropdown-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
}

.dropdown-toggle svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.dropdown-toggle.active {
    background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.dropdown-toggle.active svg {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 0.8rem;
    margin-top: 0.5rem;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 10px 25px rgba(139, 92, 246, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99999;
    min-width: 200px;
    pointer-events: none;
}

.dropdown-content.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
    display: block !important;
}

.filter-btn-mobile {
    width: 100%;
    background: #ffffff;
    color: #1a1a2e;
    border: 2px solid rgba(139, 92, 246, 0.1);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    margin-bottom: 0.5rem;
    display: block;
}

.filter-btn-mobile:hover,
.filter-btn-mobile.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: #ffffff;
    transform: translateX(5px);
    border-color: #8B5CF6;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.filter-btn-mobile:last-child {
    margin-bottom: 0;
}

/* Responsive adjustments - Solo para móviles pequeños */
@media (max-width: 640px) {
    .desktop-only {
        display: none !important; /* Ocultar filtros normales en móvil */
    }
    
    .mobile-only {
        display: block !important; /* Mostrar SOLO en móvil */
        width: 100%;
    }
    
    .filter-dropdown {
        display: inline-block !important; /* Mostrar dropdown SOLO en móvil */
        width: 100%;
    }
    
    .portfolio-filters {
        justify-content: center;
        margin-bottom: 3rem;
        padding: 0 1rem;
        position: relative;
        z-index: 9997;
    }
    
    .filter-dropdown {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        position: relative;
        z-index: 9998;
    }
    
    .dropdown-toggle {
        width: 100%;
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
        text-align: left;
        position: relative;
        z-index: 9998;
    }
    
    .dropdown-content {
        width: 100%;
        max-width: 300px;
        margin-top: 0.8rem;
        border-radius: 20px;
        padding: 1rem;
        position: absolute;
        z-index: 9999;
        background: #ffffff !important;
        border: 3px solid #8B5CF6;
    }
    
    .filter-btn-mobile {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 15px;
        background: #ffffff !important;
        color: #1a1a2e !important;
        border: 2px solid rgba(139, 92, 246, 0.2);
        font-weight: 700;
    }
    
    .filter-btn-mobile:hover,
    .filter-btn-mobile.active {
        background: #8B5CF6 !important;
        color: #ffffff !important;
    }
    
    .filter-btn-mobile:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .portfolio-filters {
        padding: 0 0.5rem;
    }
    
    .dropdown-toggle {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .filter-btn-mobile {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Grid de Portfolio - Diseño 3x2 para Desktop/Tablet */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Asegurar que el overlay funcione en desktop */
@media (min-width: 1025px) {
    .portfolio-overlay {
        opacity: 0 !important;
    }
    
    .portfolio-card:hover .portfolio-overlay {
        opacity: 1 !important;
    }
    
    .portfolio-card:hover .portfolio-content {
        transform: translateY(0) !important;
    }
    
    .portfolio-card:hover .portfolio-btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.portfolio-item {
    transition: all 0.3s ease;
}

/* Posicionar específicamente cada item para 6 proyectos en 3x2 */
.portfolio-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.portfolio-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.portfolio-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.portfolio-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.portfolio-item:nth-child(5) { grid-column: 2; grid-row: 2; }
.portfolio-item:nth-child(6) { grid-column: 3; grid-row: 2; }

.portfolio-card {
    position: relative;
    height: 350px; /* Altura aumentada para acomodar información de negocio */
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(255, 214, 0, 0.15) 0%,
        rgba(255, 193, 7, 0.12) 25%,
        rgba(255, 235, 59, 0.08) 50%,
        rgba(255, 214, 0, 0.1) 75%,
        rgba(248, 187, 0, 0.12) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 214, 0, 0.2);
}

.portfolio-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 214, 0, 0.1) 0%,
        transparent 50%,
        rgba(255, 214, 0, 0.05) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-100%);
    }
    50% {
        opacity: 0.8;
        transform: translateX(100%);
    }
}

.placeholder-icon {
    color: rgba(255, 214, 0, 0.8);
    filter: drop-shadow(0 4px 12px rgba(255, 214, 0, 0.3));
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.portfolio-card:hover .placeholder-icon {
    opacity: 0.3;
    transform: scale(0.8);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.4) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    opacity: 0; /* Oculto por defecto */
    transition: all 0.3s ease;
    z-index: 10; /* Asegurar que esté por encima */
    pointer-events: none; /* No bloquear hover cuando invisible */
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
    pointer-events: all; /* Permitir interacción cuando visible */
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.7) 30%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.portfolio-content {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    padding: 0 0.5rem; /* Añadido padding lateral para mejor lectura */
    transform: translateY(20px); /* Efecto de entrada */
    transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-content {
    transform: translateY(0); /* Animación al hacer hover */
}

.portfolio-category {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.portfolio-content h3 {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem; /* Reducido para formato horizontal */
    margin-bottom: 0.6rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.portfolio-content p {
    font-family: var(--font-text);
    font-size: 0.9rem; /* Tamaño ajustado para mejor legibilidad */
    line-height: 1.4;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* Nuevos estilos para características del portfolio */
.portfolio-features {
    margin: 0.8rem 0;
    padding: 0;
    display: none; /* Ocultar características en vista horizontal */
}

.feature-item {
    font-family: var(--font-text);
    font-size: 0.75rem;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    margin-bottom: 0.3rem;
    padding-left: 0.5rem;
    font-weight: 400;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    max-height: 2.5rem; /* Limitar altura */
    overflow: hidden;
}

.portfolio-tags span {
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a2e;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem; /* Más pequeño */
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-shadow: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.portfolio-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a2e;
    border: none;
    padding: 0.7rem 1.4rem; /* Más compacto */
    border-radius: 25px;
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-top: auto;
    align-self: flex-start;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
}

.portfolio-card:hover .portfolio-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s; /* Aparece ligeramente después del contenido */
}

.portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.6);
    background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
}

/* CTA del Portfolio - Sección Independiente Pantalla Completa */
.portfolio-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100vh;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        rgba(139, 92, 246, 0.03) 30%,
        #fafbfc 70%,
        rgba(255, 214, 0, 0.02) 100%);
    position: relative;
}

.portfolio-cta h3 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.portfolio-cta p {
    font-family: var(--font-text);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: #6B7280;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
}

.portfolio-cta .cta-button-primary {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    padding: 1.2rem 3rem;
    border-radius: 60px;
    box-shadow: 0 12px 30px rgba(255, 214, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-cta .cta-button-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 214, 0, 0.5);
}

/* Responsive */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .portfolio-item.portfolio-wide {
        grid-column: span 2;
        grid-row: auto;
    }
    
    /* Reset positioning for smaller screens */
    .portfolio-item:nth-child(1) { grid-column: auto; grid-row: auto; }
    .portfolio-item:nth-child(2) { grid-column: auto; grid-row: auto; }
    .portfolio-item:nth-child(3) { grid-column: auto; grid-row: auto; }
    .portfolio-item:nth-child(4) { grid-column: span 2; grid-row: auto; }
    .portfolio-item:nth-child(5) { grid-column: auto; grid-row: auto; }
    .portfolio-item:nth-child(6) { grid-column: auto; grid-row: auto; }
    .portfolio-item:nth-child(7) { grid-column: span 2; grid-row: auto; }
}

@media (max-width: 640px) {
    .portfolio {
        padding: 6rem 0;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .portfolio-item.portfolio-wide {
        grid-column: span 1;
    }
    
    /* Reset all positioning for mobile */
    .portfolio-item:nth-child(n) { 
        grid-column: auto !important; 
        grid-row: auto !important; 
    }
    
    /* Mostrar características detalladas en móvil */
    .portfolio-features {
        display: block !important;
        margin: 1rem 0;
    }
    
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .portfolio-overlay {
        opacity: 1 !important;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.95) 100%
        ) !important;
        padding: 1.2rem; /* Ajustado para móvil */
    }
    
    /* En móvil, mostrar siempre el contenido */
    .portfolio-content {
        transform: translateY(0) !important;
    }
    
    .portfolio-btn {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .portfolio-card {
        height: 420px; /* Altura para móvil con contenido expandido */
    }
    
    .portfolio-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
        text-shadow: 0 3px 15px rgba(0, 0, 0, 0.9);
    }
    
    .portfolio-content p {
        font-size: 0.9rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    }
    
    .portfolio-content p {
        font-size: 1rem;
        margin-bottom: 1rem;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    
    .portfolio-category {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-tags {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .portfolio-tags span {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
        background: rgba(255, 255, 255, 0.95);
    }
    
    .portfolio-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

/* Animaciones para portfolio */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Nuestro Equipo - Diseño Coherente */
.team {
    padding: 8rem 0;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 214, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.team .container {
    position: relative;
    z-index: 2;
}

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

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

.team-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(255, 214, 0, 0.1) 100%);
    color: #8FA1FF;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-family: var(--font-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    backdrop-filter: blur(10px);
}

.team-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.team-description {
    font-family: var(--font-text);
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.team-member {
    transition: transform 0.3s ease;
}

.team-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(139, 92, 246, 0.12) 30%,
        rgba(255, 255, 255, 0.06) 70%,
        rgba(255, 214, 0, 0.08) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.06) 0%, 
        rgba(255, 214, 0, 0.04) 50%,
        rgba(139, 92, 246, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.team-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(255, 214, 0, 0.4);
    box-shadow: 
        0 25px 60px rgba(139, 92, 246, 0.2),
        0 12px 30px rgba(255, 214, 0, 0.1);
}

.team-card > * {
    position: relative;
    z-index: 2;
}

.member-image {
    margin-bottom: 2rem;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    border: 4px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.15),
        0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-card:hover .member-photo {
    transform: scale(1.05);
    border-color: var(--primary-yellow);
    box-shadow: 
        0 15px 40px rgba(255, 214, 0, 0.2),
        0 8px 25px rgba(139, 92, 246, 0.25);
}

.member-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.marketing-specialist {
    background: linear-gradient(135deg, 
        rgba(255, 214, 0, 0.15) 0%, 
        rgba(255, 193, 7, 0.12) 100%);
    border: 2px solid rgba(255, 214, 0, 0.3);
}

.fullstack-developer {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.15) 0%, 
        rgba(168, 85, 247, 0.12) 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.member-icon {
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.member-specialty-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.4);
    transition: all 0.3s ease;
}

.team-card:hover .member-placeholder {
    transform: scale(1.1);
}

.team-card:hover .member-specialty-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 6px 20px rgba(255, 214, 0, 0.6);
}

.member-info {
    text-align: center;
}

.member-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.member-role {
    font-family: var(--font-text);
    font-weight: 600;
    font-size: 1rem;
    color: #8FA1FF;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-description {
    font-family: var(--font-text);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-tag {
    background: rgba(255, 214, 0, 0.15);
    color: var(--primary-yellow);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-family: var(--font-text);
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 214, 0, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.team-card:hover .skill-tag {
    background: rgba(255, 214, 0, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 214, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .team {
        padding: 6rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 400px;
    }
    
    .team-card {
        padding: 2rem;
    }
    
    .member-placeholder {
        width: 100px;
        height: 100px;
    }
    
    .member-specialty-icon {
        width: 35px;
        height: 35px;
    }
}

/* Testimonios - Fondo Blanco y Glassmorphing Mejorado */
.testimonials {
    padding: 8rem 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials .section-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.testimonials-title {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: clamp(2.2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.testimonials-description {
    font-family: var(--font-text);
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(139, 92, 246, 0.03) 30%,
        rgba(255, 255, 255, 0.85) 70%,
        rgba(255, 214, 0, 0.02) 100%);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    display: none;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 92, 246, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card.active {
    display: block;
    animation: fadeInTestimonial 0.8s ease-out;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(139, 92, 246, 0.12),
        0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-card p {
    font-family: var(--font-text);
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.7;
    color: #222;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.3px;
}

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

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.3),
        0 4px 12px rgba(247, 147, 30, 0.2);
    transition: all 0.3s ease;
}

.author-image:hover {
    transform: scale(1.1);
    box-shadow: 
        0 12px 35px rgba(255, 107, 53, 0.4),
        0 6px 18px rgba(247, 147, 30, 0.3);
}

.author-placeholder {
    color: white;
    font-size: 1.8rem;
    font-weight: bold;
}

.author-info {
    text-align: left;
}

.author-info strong {
    display: block;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    color: #000;
    margin-bottom: 0.3rem;
}

.author-info span {
    font-family: var(--font-text);
    font-size: 0.95rem;
    color: #888;
    font-weight: 500;
}

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

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
}

.carousel-dots {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    backdrop-filter: blur(10px);
}

.dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: rgba(139, 92, 246, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.dot.active {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    transform: scale(1.2);
    box-shadow: 
        0 6px 20px rgba(139, 92, 246, 0.3),
        0 0 0 3px rgba(139, 92, 246, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.dot.active::before {
    background: rgba(255, 255, 255, 0.9);
    width: 8px;
    height: 8px;
}

.dot:hover {
    background: rgba(139, 92, 246, 0.4);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.dot:hover::before {
    background: #8B5CF6;
    width: 7px;
    height: 7px;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials {
        padding: 6rem 0;
    }
    
    .testimonial-card {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .testimonial-card p {
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }
    
    .author-info {
        text-align: center;
    }
    
    .carousel-controls {
        margin-top: 2rem;
    }
    
    .dot {
        width: 12px;
        height: 12px;
    }
    
    .dot::before {
        width: 5px;
        height: 5px;
    }
    
    .dot.active::before {
        width: 6px;
        height: 6px;
    }
}

/* ================================
   CONTACT SECTION - GLASSMORPHING
   ================================ */
.contact-section {
    padding: 8rem 0;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 214, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Contact Info Styles */
.contact-info {
    color: var(--primary-dark);
}

.contact-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    backdrop-filter: blur(20px);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.contact-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--primary-dark);
}

.contact-header p {
    font-family: var(--font-text);
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(139, 92, 246, 0.08) 50%,
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    border: 1px solid rgba(139, 92, 246, 0.15);
    transition: var(--transition-smooth);
    box-shadow: 
        0 10px 30px rgba(139, 92, 246, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-item:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(139, 92, 246, 0.12) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 
        0 15px 40px rgba(139, 92, 246, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, 
        #8B5CF6 0%, 
        #A855F7 50%, 
        #9333EA 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    box-shadow: 
        0 8px 20px rgba(139, 92, 246, 0.25),
        0 4px 12px rgba(139, 92, 246, 0.15);
    transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 
        0 12px 30px rgba(139, 92, 246, 0.35),
        0 6px 18px rgba(139, 92, 246, 0.25);
}

.contact-text h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.contact-text p {
    color: #6B7280;
    font-size: 1rem;
    font-weight: 500;
}

.contact-social h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-yellow);
}

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

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.social-link:hover {
    background: linear-gradient(135deg, #F4D03F 0%, #F7DC6F 50%, #F4D03F 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(244, 208, 63, 0.35),
        0 4px 12px rgba(244, 208, 63, 0.25);
    color: #2C3E50;
}

/* Contact Form Styles */
.contact-form-container {
    position: relative;
}

.contact-form-wrapper {
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(123, 97, 255, 0.06) 50%,
        rgba(147, 107, 255, 0.08) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 
        0 20px 60px rgba(139, 92, 246, 0.08),
        0 8px 32px rgba(139, 92, 246, 0.04);
}

.contact-form-wrapper h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.contact-form-wrapper > p {
    font-family: var(--font-text);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

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

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

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1.5px solid rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    font-family: var(--font-text);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    color: var(--primary-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 0 0 3px rgba(139, 92, 246, 0.1),
        0 4px 20px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 15px 40px rgba(139, 92, 246, 0.3),
        0 8px 25px rgba(123, 58, 237, 0.2);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-section {
        padding: 6rem 0;
    }
    
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-header h2 {
        font-size: 2.2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* CTA Final */
.final-cta {
    padding: var(--section-padding);
    background: var(--blanco);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 3rem;
    color: var(--azul-marino);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--gris-oscuro);
    margin-bottom: 2.5rem;
}

.cta-button-large {
    background: var(--amarillo);
    color: var(--negro);
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button-large:hover {
    background: var(--azul-marino);
    color: var(--blanco);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--morado-oscuro);
    color: var(--blanco);
    padding: 3rem 0 1rem;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand .footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1); /* Convierte el logo a blanco */
}

.footer-brand h3 {
    font-family: var(--font-titles);
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.footer-brand p {
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-column h4 {
    font-family: var(--font-titles);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--amarillo);
}

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

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

.footer-column a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--amarillo);
}

.footer-social h4 {
    font-family: var(--font-titles);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--amarillo);
}

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

.social-icon {
    color: var(--amarillo);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--azul-marino);
    transform: translateY(-2px);
}

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

/* Modal de Contacto */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--blanco);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gris-claro);
}

.close:hover {
    color: var(--negro);
}

.modal-content h3 {
    font-family: var(--font-titles);
    font-weight: 700;
    color: var(--azul-marino);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form label {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: var(--font-text);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.contact-form textarea {
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #9CA3AF;
    font-style: italic;
    opacity: 0.8;
}

/* Newsletter Section */
.newsletter-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, 
        var(--primary-dark) 0%, 
        #1a1b4b 50%, 
        var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        rgba(139, 92, 246, 0.1) 0%, 
        transparent 50%);
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.newsletter-badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(255, 214, 0, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 100%);
    backdrop-filter: blur(20px);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(255, 214, 0, 0.2);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-yellow);
    margin-bottom: 1.5rem;
}

.newsletter-header h2 {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.newsletter-header h2.gradient-text-multi {
    background: linear-gradient(135deg, 
        #FFFFFF 0%,           /* Blanco */
        #E2E8F0 15%,          /* Blanco grisáceo */
        #A855F7 35%,          /* Morado claro */
        #8B5CF6 50%,          /* Morado medio */
        #7C3AED 65%,          /* Morado más intenso */
        #F59E0B 80%,          /* Amarillo/naranja */
        #FCD34D 100%          /* Amarillo claro */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.newsletter-header p {
    font-family: var(--font-text);
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.topic-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(139, 92, 246, 0.05) 100%);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    text-align: center;
}

.topic-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(139, 92, 246, 0.08) 100%);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

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

.topic-card h4 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.topic-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
}

.newsletter-signup {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form-wrapper {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.08) 0%, 
        rgba(139, 92, 246, 0.08) 100%);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-form-wrapper h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.newsletter-form-wrapper > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.newsletter-input-group input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 3px rgba(255, 214, 0, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, #F7DC6F 100%);
    border: none;
    border-radius: 12px;
    color: var(--primary-dark);
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 214, 0, 0.4),
        0 4px 12px rgba(255, 214, 0, 0.3);
    background: linear-gradient(135deg, #F7DC6F 0%, var(--primary-yellow) 100%);
}

.newsletter-disclaimer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 5rem 0;
    }
    
    .newsletter-topics {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .newsletter-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input {
        min-width: unset;
    }
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #9CA3AF;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.1);
}

.contact-form .cta-button-primary {
    display: inline-block;
    background: linear-gradient(135deg, #F4D03F 0%, #F7DC6F 50%, #F4D03F 100%);
    color: #2C3E50;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(244, 208, 63, 0.35),
        0 4px 12px rgba(244, 208, 63, 0.25);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 1.5rem;
    border: 2px solid rgba(244, 208, 63, 0.3);
}

.contact-form .cta-button-primary::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;
}

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

.contact-form .cta-button-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(244, 208, 63, 0.45),
        0 8px 20px rgba(244, 208, 63, 0.35);
    background: linear-gradient(135deg, #F7DC6F 0%, #F4D03F 50%, #F7DC6F 100%);
}

.contact-form .cta-button-primary:active {
    transform: translateY(-1px) scale(1.01);
    transition: transform 0.1s;
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .navbar nav {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-text h2 {
        font-size: 2.2rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-item {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .feature-icon {
        margin-bottom: 1rem;
        background: rgba(143, 161, 255, 0.15);
        border: 1px solid rgba(143, 161, 255, 0.3);
        padding: 1rem;
        border-radius: 16px;
    }
    
    .feature-content {
        text-align: center;
    }
    
    .feature-content h4 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        color: var(--white);
    }
    
    .feature-content p {
        font-size: 0.95rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .founder-info {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .diagram-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

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

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 4px 15px rgba(139, 92, 246, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(135deg, 
        #1a1a2e 0%,           /* Azul oscuro */
        #16213e 15%,          /* Azul medio */
        #A855F7 35%,          /* Morado claro */
        #8B5CF6 50%,          /* Morado medio */
        #7C3AED 65%,          /* Morado más intenso */
        #F59E0B 80%,          /* Amarillo/naranja */
        #FCD34D 100%          /* Amarillo claro */
    );
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.whatsapp-float a:hover {
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.3),
        0 8px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-3px);
}

/* Botón flotante de WhatsApp - Estilos independientes */
.whatsapp-float-icon {
    color: #FFFFFF;
    background: transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float-icon svg {
    fill: #FFFFFF !important;
    stroke: none;
    background: none !important;
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float-icon {
    transform: scale(1.1);
}

.whatsapp-float:hover .whatsapp-float-icon svg {
    fill: #FFFFFF !important;
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 70px;
        height: 70px;
    }
    
    .whatsapp-float-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Animación adicional para el botón */
@keyframes whatsappPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes neonGlow {
    0% {
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 1))
                drop-shadow(0 0 25px rgba(255, 255, 255, 0.8))
                drop-shadow(0 0 35px rgba(255, 255, 255, 0.6));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 1))
                drop-shadow(0 0 30px rgba(255, 255, 255, 0.9))
                drop-shadow(0 0 40px rgba(255, 255, 255, 0.7))
                drop-shadow(0 0 50px rgba(255, 255, 255, 0.5));
    }
}

.whatsapp-float.pulse {
    animation: whatsappPulse 2s ease-in-out infinite;
}

/* Estilos para el modal de chat con IA */
.ai-chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-out;
}

.ai-chat-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease-out;
}

.ai-chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header h3 {
    color: white;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-ai-chat {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-ai-chat:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.ai-chat-body {
    padding: 20px;
    height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-message {
    align-self: flex-start;
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 15px 15px 15px 5px;
    padding: 12px 16px;
    max-width: 80%;
    color: white;
}

.user-message {
    align-self: flex-end;
    background: rgba(118, 75, 162, 0.2);
    border: 1px solid rgba(118, 75, 162, 0.4);
    border-radius: 15px 15px 5px 15px;
    padding: 12px 16px;
    max-width: 80%;
    color: white;
}

.ai-suggestions {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ai-suggestions button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: left;
}

.ai-suggestions button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.ai-chat-input {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    color: white;
    font-family: 'Nunito', sans-serif;
}

.ai-chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.ai-chat-input button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ai-chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

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

/* Responsive para el chat IA */
@media (max-width: 768px) {
    .ai-chat-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .ai-chat-body {
        height: 300px;
    }
    
    .ai-message, .user-message {
        max-width: 90%;
    }
}