:root {
    /* Nexup Studio Web Official Colors */
    --nexup-blue: #3322a8;
    --nexup-blue-light: #4c3db8;
    --nexup-blue-dark: #2a1a8a;
    --nexup-green: #a2c046;
    --nexup-green-light: #b5d15a;
    --nexup-orange: #ff6f3f;
    --nexup-orange-light: #ff8a66;
        --nexup-white: #000000;
        --nexup-light-gray: #1a1a1a;
        --nexup-medium-gray: #a0a0a0;
        --nexup-dark-gray: #0f0f0f;
        --nexup-text-dark: #ffffff;
        --nexup-text-light: #ffffff;
    --shadow-light: rgba(51, 34, 168, 0.1);
    --shadow-medium: rgba(51, 34, 168, 0.2);
    --shadow-dark: rgba(51, 34, 168, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--nexup-blue) 0%, var(--nexup-blue-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #000000 50%, #000000 100%);
    --gradient-accent: linear-gradient(135deg, var(--nexup-green) 0%, var(--nexup-green-light) 100%);
    --gradient-promo: linear-gradient(135deg, var(--nexup-orange) 0%, var(--nexup-orange-light) 100%);
}

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

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background: var(--nexup-white);
    color: var(--nexup-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: none; /* Hide default cursor */
}

/* Custom Technological Cursor */
.custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid var(--nexup-green);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 20px rgba(162, 192, 70, 0.5),
                0 0 40px rgba(51, 34, 168, 0.3),
                inset 0 0 10px rgba(162, 192, 70, 0.2);
    background: radial-gradient(circle, rgba(162, 192, 70, 0.1), transparent);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--nexup-green);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(162, 192, 70, 0.8),
                0 0 20px rgba(51, 34, 168, 0.6);
}

.custom-cursor::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--nexup-blue);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    border-color: var(--nexup-orange);
    box-shadow: 0 0 30px rgba(255, 111, 63, 0.6),
                0 0 60px rgba(162, 192, 70, 0.4),
                inset 0 0 15px rgba(255, 111, 63, 0.3);
}

.custom-cursor.click {
    width: 20px;
    height: 20px;
    border-color: var(--nexup-blue);
    box-shadow: 0 0 25px rgba(51, 34, 168, 0.8),
                0 0 50px rgba(162, 192, 70, 0.6);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--nexup-blue);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    box-shadow: 0 0 8px rgba(51, 34, 168, 0.8),
                0 0 16px rgba(162, 192, 70, 0.6);
}

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

/* Click effect */
.click-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--nexup-green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(5);
        opacity: 0;
        border-width: 1px;
    }
}

/* Particles on click */
.click-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: var(--nexup-green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    box-shadow: 0 0 6px rgba(162, 192, 70, 0.8);
}

@keyframes particle {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) translate(var(--random-x), var(--random-y)) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: var(--text-light);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(51, 34, 168, 0.95);
    box-shadow: 0 8px 32px var(--shadow-medium);
    backdrop-filter: blur(20px);
}

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

.mobile-menu-toggle {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--nexup-text-light);
    letter-spacing: -0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo i {
    color: var(--nexup-accent);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

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

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

.nav-link {
    color: var(--nexup-text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    background: var(--nexup-green);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4);
    color: var(--nexup-text-light);
}

.nav-link.active {
    background: var(--nexup-green);
    color: var(--nexup-text-light);
    font-weight: 600;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4);
}

/* Header active state when clicking on links */
.header.active {
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.98) 0%, rgba(51, 34, 168, 0.95) 50%, rgba(51, 34, 168, 0.9) 100%);
    box-shadow: 0 8px 32px rgba(51, 34, 168, 0.6);
    backdrop-filter: blur(25px);
    transition: all 0.3s ease;
}

/* Header click effect */
.header.clicked {
    background: linear-gradient(135deg, rgba(51, 34, 168, 1) 0%, rgba(51, 34, 168, 0.98) 50%, rgba(51, 34, 168, 0.95) 100%);
    box-shadow: 0 12px 40px rgba(51, 34, 168, 0.8);
    backdrop-filter: blur(30px);
    transform: translateY(-2px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-contact {
    background: var(--nexup-orange) !important;
    color: var(--nexup-text-light) !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(255, 111, 63, 0.3) !important;
}

.nav-contact:hover {
    background: var(--nexup-orange-light) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(255, 111, 63, 0.5) !important;
    color: var(--nexup-text-light) !important;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: 110px 0 72px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="tech" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 0v20M0 10h20M5 5v10M15 5v10" stroke="%233322a8" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23tech)"/></svg>');
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="leaves" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M10 2c-2 0-4 2-4 4s2 4 4 4 4-2 4-4-2-4-4-4z" fill="%2390ee90" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23leaves)"/></svg>');
    animation: float 20s infinite linear;
}

/* Puntillismo en esquinas del hero */
.hero {
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(162, 192, 70, 1) 0px, 
        rgba(162, 192, 70, 1) 4px, 
        transparent 5px);
    background-size: 28px 28px;
    z-index: 1;
    animation: dotsFloat 15s ease-in-out infinite;
    mask-image: radial-gradient(circle at center, transparent 0%, transparent 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,1) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(51, 34, 168, 1) 0px, 
        rgba(51, 34, 168, 1) 4px, 
        transparent 5px);
    background-size: 32px 32px;
    z-index: 1;
    animation: dotsFloat 12s ease-in-out infinite reverse;
    mask-image: radial-gradient(circle at center, transparent 0%, transparent 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,1) 100%);
    -webkit-mask-image: radial-gradient(circle at center, transparent 0%, transparent 30%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,1) 100%);
}

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

@keyframes dotsFloat {
    0% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
    100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    position: relative;
    z-index: 2;
    justify-items: center;
    text-align: center;
}

.hero-text {
    max-width: 1200px;
    width: 100%;
}

.hero-text h1 {
    font-size: clamp(3rem, 4.6vw, 3.75rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--nexup-text-dark);
    line-height: 1.02;
    letter-spacing: -0.04em;
    animation: slideInLeft 1s ease-out;
    text-align: center;
    padding-left: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.hero-text p {
    font-size: 1rem;
    margin: 0 auto 2.5rem;
    color: #ffffff;
    font-weight: 300;
    line-height: 1.68;
    animation: slideInLeft 1s ease-out 0.2s both;
    text-align: center;
    padding-left: 0;
    max-width: 56ch;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.4s both;
    padding-left: 0;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: var(--nexup-blue);
    color: var(--nexup-text-light);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
    background: var(--nexup-green);
    color: var(--nexup-text-light);
    box-shadow: 0 8px 25px rgba(162, 192, 70, 0.3);
}

.btn-promo {
    background: var(--nexup-orange);
    color: var(--nexup-text-light);
    box-shadow: 0 8px 25px rgba(255, 111, 63, 0.3);
}

.btn-promo:hover {
    background: var(--nexup-orange-light);
    box-shadow: 0 15px 40px rgba(255, 111, 63, 0.4);
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: var(--nexup-blue-light);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.hero-visual {
    display: none;
    justify-content: center;
    align-items: center;
    animation: slideInRight 1s ease-out;
}

.hero-video-container {
    position: relative;
    max-width: 1000px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0px 0px 200px rgba(0, 0, 0, 0.8), 0 0px 180px rgba(0, 0, 0, 0.6), 0 0px 160px rgba(0, 0, 0, 0.4);
    transform: rotate(0deg);
    transition: all 0.4s ease;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    top: -150px;
    left: -200px;
    right: -100px;
    bottom: -150px;
    background: 
        radial-gradient(ellipse 200% 100% at 30% center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 15%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.9) 70%, rgba(0, 0, 0, 1) 100%);
    pointer-events: none;
    z-index: -1;
    border-radius: 120px;
    filter: blur(25px);
}

.hero-video-container.floating {
    animation: videoFloat 1.5s ease-in-out infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--nexup-green) 0%, var(--nexup-blue) 50%, var(--nexup-orange) 100%);
    border-radius: 10px;
    border: 2px solid #0f0f23;
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--nexup-orange) 0%, var(--nexup-blue) 50%, var(--nexup-green) 100%);
    box-shadow: 0 0 10px rgba(162, 192, 70, 0.5);
}

::-webkit-scrollbar-corner {
    background: #0f0f23;
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--nexup-green) #0f0f23;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: var(--nexup-green);
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4);
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background: #9bb85a;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(162, 192, 70, 0.6);
    text-decoration: none;
    color: white;
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4);
    }
    50% {
        box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4), 0 0 0 10px rgba(162, 192, 70, 0.1);
    }
    100% {
        box-shadow: 0 8px 25px rgba(162, 192, 70, 0.4);
    }
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    filter: brightness(1) contrast(1.1);
    transition: filter 0.3s ease;
}

.hero-video::-webkit-media-controls {
    display: none !important;
}

.hero-video::-webkit-media-controls-panel {
    display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-timeline {
    display: none !important;
}

.hero-video::-webkit-media-controls-current-time-display {
    display: none !important;
}

.hero-video::-webkit-media-controls-time-remaining-display {
    display: none !important;
}

.hero-video::-webkit-media-controls-mute-button {
    display: none !important;
}

.hero-video::-webkit-media-controls-volume-slider {
    display: none !important;
}

.hero-video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}


/* Stats Section */
.stats {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M20 0v20M0 20h20" stroke="%233322a8" stroke-width="0.8" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: gridMove 15s ease-in-out infinite;
    opacity: 0.6;
}

.stats::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(51, 34, 168, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: glowPulse 6s ease-in-out infinite;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.8) 0%, rgba(51, 34, 168, 0.9) 100%);
    transition: all 0.4s ease;
    border: 2px solid rgba(51, 34, 168, 0.6);
    box-shadow: 0 10px 30px rgba(51, 34, 168, 0.3);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-light);
    border-color: var(--nexup-green);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--nexup-text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.stat-label {
    color: var(--nexup-text-dark);
    font-weight: 500;
}

/* Packages Section */
.packages {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

/* Custom Package Styles */
.package-custom {
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.9) 0%, rgba(51, 34, 168, 0.95) 50%, rgba(51, 34, 168, 0.85) 100%);
    border: 3px solid rgba(51, 34, 168, 0.8);
    border-radius: 25px;
    padding: 3rem 4rem;
    text-align: center;
    box-shadow: 0 25px 50px rgba(51, 34, 168, 0.5), 0 0 30px rgba(51, 34, 168, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.package-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(162, 192, 70, 0.15) 0%, rgba(51, 34, 168, 0.15) 50%, rgba(255, 111, 63, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 25px;
}

.package-custom::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(162, 192, 70, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: shimmer 3s ease-in-out infinite;
}

.package-custom:hover::before {
    opacity: 1;
}

.package-custom:hover::after {
    opacity: 1;
}

.package-custom:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 35px 70px rgba(51, 34, 168, 0.7), 0 0 40px rgba(162, 192, 70, 0.4);
    border-color: var(--nexup-green);
}

.custom-content h4 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.custom-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.custom-price {
    background: linear-gradient(135deg, rgba(162, 192, 70, 0.2) 0%, rgba(51, 34, 168, 0.2) 100%);
    border: 2px solid rgba(162, 192, 70, 0.4);
    border-radius: 15px;
    padding: 1.2rem 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.price-amount {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--nexup-green);
    text-shadow: 0 2px 10px rgba(162, 192, 70, 0.3);
    margin-bottom: 0.5rem;
}

.price-text {
    display: block;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: lowercase;
}

.custom-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    width: 100%;
}

.custom-features li {
    color: #ffffff;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.custom-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nexup-green);
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px rgba(162, 192, 70, 0.5);
}

.custom-cta {
    background: linear-gradient(135deg, var(--nexup-green) 0%, var(--nexup-green-light) 100%);
    border-radius: 15px;
    padding: 1.5rem 3rem;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(162, 192, 70, 0.3);
    border: 2px solid rgba(162, 192, 70, 0.3);
    text-decoration: none;
    cursor: pointer;
}

.custom-cta:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 15px 35px rgba(162, 192, 70, 0.5);
    border-color: rgba(162, 192, 70, 0.6);
}

.custom-text {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.packages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="3" fill="%23a2c046" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: dotsBounce 12s ease-in-out infinite;
    opacity: 0.7;
}

.packages::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(162, 192, 70, 0.1) 0%, transparent 70%);
    animation: spiralMove 18s ease-in-out infinite;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--nexup-text-dark);
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: var(--nexup-green);
    border-radius: 3px;
}

.package-category {
    margin-bottom: 4rem;
    position: relative;
}

.package-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nexup-text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--nexup-blue), var(--nexup-green));
    border-radius: 2px;
}

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

/* Google Ads specific grid override */
.package-category:has(.package-custom) .packages-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.package-card {
    background: var(--nexup-light-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid rgba(51, 34, 168, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(51, 34, 168, 0.3);
    border-color: var(--nexup-green);
}

.package-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.package-content {
    padding: 1.5rem;
    text-align: center;
}

.package-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--nexup-text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.package-content p {
    color: var(--nexup-medium-gray);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.package-image-only {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    position: relative;
}

.package-image-only:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.package-image-only img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.package-image-only:hover img {
    transform: scale(1.02);
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(51, 34, 168, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-decoration: none;
    border-radius: 12px;
}

.package-image-only:hover .package-overlay {
    opacity: 1;
}

.package-overlay span {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 30px;
    background: var(--nexup-green);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(162, 192, 70, 0.4);
    transition: all 0.3s ease;
}

.package-overlay:hover span {
    background: #8fb03a;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(162, 192, 70, 0.6);
}

/* Services Section */
.services {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a2e 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20 0l17.32 10v20l-17.32 10L2.68 30V10L20 0z" stroke="%23ff6f3f" stroke-width="1" fill="none" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    animation: hexagonRotate 20s ease-in-out infinite;
    opacity: 0.6;
}

.services::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 111, 63, 0.1) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    perspective: 1000px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: linear-gradient(135deg, #1a0a3e 0%, #2d1b69 50%, #0f0f23 100%);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(51, 34, 168, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(51, 34, 168, 0.4);
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.2), rgba(162, 192, 70, 0.1));
    opacity: 0;
    transition: all 0.5s ease;
    transform: scale(0.8);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(51, 34, 168, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.service-card:hover::after {
    opacity: 1;
    animation: shimmer 2s ease-in-out;
}

.service-card:hover {
    transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(51, 34, 168, 0.6), 0 0 20px rgba(162, 192, 70, 0.4);
    border-color: var(--nexup-blue);
    background: linear-gradient(135deg, #0f0f23 0%, #1a0a3e 50%, #2d1b69 100%);
    animation: none;
}

.service-icon {
    font-size: 4rem;
    color: var(--nexup-text-dark);
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    animation: iconPulse 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotateY(180deg);
    color: var(--nexup-green);
    filter: drop-shadow(0 0 30px rgba(162, 192, 70, 0.6));
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--nexup-text-dark);
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover h3 {
    transform: translateY(-5px);
    color: var(--nexup-green);
    text-shadow: 0 0 10px rgba(162, 192, 70, 0.3);
}

.service-card p {
    margin-bottom: 1.5rem;
    color: var(--nexup-text-dark);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover p {
    transform: translateY(-3px);
    color: var(--nexup-text-light);
}

.service-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--nexup-orange);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--nexup-text-dark);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.3s ease;
    transform: translateX(0);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--nexup-green);
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    transform: scale(1);
}

.service-card:hover .service-features li {
    transform: translateX(10px);
    color: var(--nexup-text-light);
}

.service-card:hover .service-features li::before {
    transform: scale(1.2);
    color: var(--nexup-orange);
    text-shadow: 0 0 10px rgba(255, 111, 63, 0.5);
}

/* Portfolio Section */
.portfolio {
    padding: 0;
    margin: 0;
    padding-bottom: 0;
    background: var(--nexup-light-gray);
    position: relative;
}

.portfolio::before {
    display: none;
}

.portfolio-category {
    padding: 2rem 0 0;
    position: relative;
}

.portfolio-category:first-child {
    padding-top: 4rem;
}

.portfolio-category:last-child {
    padding-bottom: 0;
}

.portfolio-category-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: -0.02em;
}

.portfolio-category-title i {
    font-size: 2rem;
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

.portfolio-grid-branding {
    grid-template-columns: repeat(6, 1fr);
}

.portfolio-grid-web {
    grid-template-columns: repeat(4, 1fr);
}

.portfolio-grid-mobile {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--nexup-light-gray);
    aspect-ratio: 1;
    min-height: 250px;
    margin: 0;
    padding: 0;
    border: none;
}

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

.portfolio-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(51, 34, 168, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.portfolio-content {
    text-align: center;
    color: var(--nexup-text-light);
    padding: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.portfolio-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* Click instruction for web portfolio items */
.click-instruction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(162, 192, 70, 0.2);
    border: 1px solid rgba(162, 192, 70, 0.5);
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--nexup-green);
    font-weight: 600;
    animation: pulse-click 2s ease-in-out infinite;
}

.click-instruction i {
    font-size: 1rem;
    animation: bounce-pointer 1s ease-in-out infinite;
}

@keyframes pulse-click {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(162, 192, 70, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(162, 192, 70, 0);
    }
}

@keyframes bounce-pointer {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* 3D Model Styles */
.portfolio-3d-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: transparent !important;
}

.portfolio-3d-container model-viewer {
    width: 100%;
    height: 100%;
    background: transparent;
    --poster-color: transparent;
    touch-action: pan-x pan-y;
}

.portfolio-item-3d .portfolio-image {
    background: transparent !important;
}

/* Desactivar todos los efectos de hover en items 3D */
.portfolio-item-3d:hover {
    transform: none !important;
    z-index: auto !important;
}

.portfolio-item-3d:hover .portfolio-3d-container {
    background: transparent !important;
}

.portfolio-item-3d:hover .portfolio-image {
    background: transparent !important;
}

.portfolio-item-3d {
    cursor: default;
    background: transparent !important;
}

.portfolio-item-3d:hover {
    background: transparent !important;
}

/* Prevenir zoom con CSS */
.portfolio-item-3d model-viewer {
    touch-action: pan-x pan-y !important;
    -ms-touch-action: pan-x pan-y !important;
}

/* Responsive styles for 3D models section */
/* iPad and tablets */
@media (max-width: 1024px) and (min-width: 768px) {
    .portfolio-grid-mobile {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem;
        padding: 1rem;
    }
    
    .portfolio-item-3d {
        min-height: 200px;
        aspect-ratio: 1;
    }
    
    .portfolio-category-title {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    .portfolio-3d-container model-viewer {
        min-height: 200px;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .portfolio-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
    }
    
    .portfolio-item-3d {
        min-height: 300px;
        aspect-ratio: 1;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .portfolio-category-title {
        font-size: 1.5rem;
        padding: 0 1rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .portfolio-category-title i {
        font-size: 1.5rem;
    }
    
    .portfolio-3d-container {
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
    
    .portfolio-3d-container model-viewer {
        min-height: 300px;
        width: 100%;
        height: 100%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .portfolio-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 1rem 0.5rem;
    }
    
    .portfolio-item-3d {
        min-height: 250px;
        aspect-ratio: 1;
    }
    
    .portfolio-category-title {
        font-size: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .portfolio-category-title i {
        font-size: 1.25rem;
    }
    
    .portfolio-3d-container {
        min-height: 250px;
    }
    
    .portfolio-3d-container model-viewer {
        min-height: 250px;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Portfolio category title animations */
.portfolio-category-title {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-category-title.animate-title {
    opacity: 1;
    transform: translateY(0);
}

/* Section title animations */
.section-title {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.section-title.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Package category fade in */
.package-category {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Parallax effect for hero */
.hero-video-container {
    transition: transform 0.1s ease-out;
}

/* Stagger animation for portfolio grid items */
.portfolio-grid .portfolio-item:nth-child(1) { transition-delay: 0ms; }
.portfolio-grid .portfolio-item:nth-child(2) { transition-delay: 100ms; }
.portfolio-grid .portfolio-item:nth-child(3) { transition-delay: 200ms; }
.portfolio-grid .portfolio-item:nth-child(4) { transition-delay: 300ms; }
.portfolio-grid .portfolio-item:nth-child(5) { transition-delay: 400ms; }
.portfolio-grid .portfolio-item:nth-child(6) { transition-delay: 500ms; }
.portfolio-grid .portfolio-item:nth-child(n+7) { transition-delay: 600ms; }

/* Scroll Decorative Elements */
.scroll-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.scroll-decorations > div {
    position: absolute;
    opacity: 0;
    display: block;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

/* Decorative Circles */
.decoration-circle {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51, 34, 168, 0.3), rgba(162, 192, 70, 0.2));
    border: 2px solid rgba(51, 34, 168, 0.4);
}

.decoration-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    width: 80px;
    height: 80px;
    top: 35%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

.decoration-4 {
    width: 100px;
    height: 100px;
    top: 75%;
    right: 8%;
    animation: float 9s ease-in-out infinite reverse;
}

.decoration-5 {
    width: 90px;
    height: 90px;
    top: 45%;
    left: 50%;
    animation: float 6.5s ease-in-out infinite;
}

.decoration-6 {
    width: 110px;
    height: 110px;
    top: 85%;
    left: 40%;
    animation: float 8.5s ease-in-out infinite reverse;
}

.decoration-13 {
    width: 70px;
    height: 70px;
    top: 10%;
    left: 50%;
    animation: float 7.5s ease-in-out infinite;
}

.decoration-14 {
    width: 95px;
    height: 95px;
    top: 50%;
    right: 5%;
    animation: float 9.5s ease-in-out infinite reverse;
}

.decoration-15 {
    width: 85px;
    height: 85px;
    top: 25%;
    left: 25%;
    animation: float 6s ease-in-out infinite;
}

.decoration-16 {
    width: 130px;
    height: 130px;
    top: 55%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.decoration-17 {
    width: 65px;
    height: 65px;
    top: 80%;
    right: 30%;
    animation: float 7s ease-in-out infinite;
}

.decoration-18 {
    width: 105px;
    height: 105px;
    top: 30%;
    right: 40%;
    animation: float 10s ease-in-out infinite reverse;
}

.decoration-19 {
    width: 75px;
    height: 75px;
    top: 65%;
    left: 60%;
    animation: float 8.2s ease-in-out infinite;
}

.decoration-20 {
    width: 115px;
    height: 115px;
    top: 90%;
    left: 20%;
    animation: float 9s ease-in-out infinite reverse;
}

/* Decorative Squares */
.decoration-square {
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.2), rgba(162, 192, 70, 0.15));
    border: 2px solid rgba(255, 111, 63, 0.3);
    transform: rotate(45deg);
}

.decoration-7 {
    width: 60px;
    height: 60px;
    top: 25%;
    right: 20%;
    animation: rotate 10s linear infinite;
}

.decoration-8 {
    width: 80px;
    height: 80px;
    top: 70%;
    left: 25%;
    animation: rotate 12s linear infinite reverse;
}

.decoration-21 {
    width: 55px;
    height: 55px;
    top: 15%;
    left: 35%;
    animation: rotate 9s linear infinite;
}

.decoration-22 {
    width: 70px;
    height: 70px;
    top: 80%;
    right: 45%;
    animation: rotate 11s linear infinite reverse;
}

/* Decorative Lines */
.decoration-line {
    background: linear-gradient(90deg, transparent, rgba(51, 34, 168, 0.5), transparent);
    height: 2px;
}

.decoration-9 {
    width: 200px;
    top: 40%;
    left: 30%;
    transform: rotate(25deg);
    animation: expand 5s ease-in-out infinite;
}

.decoration-10 {
    width: 180px;
    top: 55%;
    right: 25%;
    transform: rotate(-35deg);
    animation: expand 6s ease-in-out infinite reverse;
}

.decoration-23 {
    width: 160px;
    top: 20%;
    left: 60%;
    transform: rotate(15deg);
    animation: expand 7s ease-in-out infinite;
}

.decoration-24 {
    width: 190px;
    top: 70%;
    left: 45%;
    transform: rotate(-50deg);
    animation: expand 5.5s ease-in-out infinite reverse;
}

/* Decorative Blobs */
.decoration-blob {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    background: radial-gradient(circle, rgba(162, 192, 70, 0.25), rgba(255, 111, 63, 0.2));
    border: 2px solid rgba(51, 34, 168, 0.3);
}

.decoration-11 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 70%;
    animation: morph 8s ease-in-out infinite;
}

.decoration-12 {
    width: 130px;
    height: 130px;
    top: 65%;
    right: 15%;
    animation: morph 10s ease-in-out infinite reverse;
}

.decoration-25 {
    width: 90px;
    height: 90px;
    top: 40%;
    left: 70%;
    animation: morph 9s ease-in-out infinite;
}

.decoration-26 {
    width: 110px;
    height: 110px;
    top: 75%;
    right: 25%;
    animation: morph 11s ease-in-out infinite reverse;
}

.decoration-27 {
    width: 85px;
    height: 85px;
    top: 35%;
    left: 10%;
    animation: morph 8.5s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(10px) translateX(-15px);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(405deg);
    }
}

@keyframes expand {
    0%, 100% {
        width: 150px;
        opacity: 0.3;
    }
    50% {
        width: 250px;
        opacity: 0.6;
    }
}

@keyframes morph {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    25% {
        border-radius: 60% 40% 30% 70% / 50% 60% 50% 40%;
    }
    50% {
        border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%;
    }
    75% {
        border-radius: 70% 30% 60% 40% / 50% 50% 40% 60%;
    }
}

/* Responsive adjustments for decorations */
@media (max-width: 900px) {
    .scroll-decorations > div {
        opacity: 0.5;
    }
    
    .decoration-1, .decoration-2, .decoration-3,
    .decoration-4, .decoration-5, .decoration-6 {
        width: 60px;
        height: 60px;
    }
    
    .decoration-7, .decoration-8 {
        width: 40px;
        height: 40px;
    }
    
    .decoration-9, .decoration-10 {
        width: 120px;
    }
    
    .decoration-11, .decoration-12 {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 600px) {
    .scroll-decorations > div {
        opacity: 0.3;
    }
}

/* Ocultar overlay en items 3D */
.portfolio-item-3d .portfolio-overlay {
    display: none !important;
}

.portfolio-item-3d:hover .portfolio-overlay {
    display: none !important;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(51, 34, 168, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.portfolio-content {
    text-align: center;
    color: var(--nexup-text-light);
    padding: 1rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-content {
    transform: translateY(0);
}

.portfolio-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.portfolio-content p {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Portfolio Responsive */
@media (max-width: 1200px) {
    .portfolio-category-title {
        font-size: 2rem;
    }
    
    .portfolio-grid-branding {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .portfolio-grid-web {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid-mobile {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .portfolio-category {
        padding: 1.5rem 0 0;
    }
    
    .portfolio-category:first-child {
        padding-top: 3rem;
    }
    
    .portfolio-category:last-child {
        padding-bottom: 0;
    }
    
    .portfolio-category-title {
        font-size: 1.75rem;
        margin-bottom: 0.8rem;
    }
    
    .portfolio-category-title i {
        font-size: 1.5rem;
    }
    
    .portfolio-grid-branding {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .portfolio-grid-web {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .portfolio-grid-mobile {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .portfolio-grid {
        gap: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .portfolio-item {
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }
    
    .portfolio-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
    
    .portfolio-image {
        height: 65%;
        position: relative;
        overflow: hidden;
    }
    
    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-image img {
        transform: scale(1.05);
    }
    
    .portfolio-content {
        height: 35%;
        padding: 0.7rem;
        background:none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    
    .portfolio-content h3 {
        font-size: 1.05rem;
        margin-bottom: 0.4rem;
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .portfolio-content p {
        font-size: 0.82rem;
        color: var(--text-dark);
        line-height: 1.35;
        margin: 0;
    }
}

@media (max-width: 600px) {
    .portfolio-category {
        padding: 1rem 0 0;
    }
    
    .portfolio-category:first-child {
        padding-top: 2rem;
    }
    
    .portfolio-category:last-child {
        padding-bottom: 0;
    }
    
    .portfolio-category-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .portfolio-category-title i {
        font-size: 1.25rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0;
        box-sizing: border-box;
        max-width: none;
    }
    
    .portfolio-grid-mobile {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-item {
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        border: none;
        position: relative;
    }
    
    .portfolio-item:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .portfolio-image {
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-image img {
        transform: scale(1.05);
    }
    
    /* Restaurar overlay para mostrar texto en hover */
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(51, 34, 168, 0.7));
        opacity: 0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }
    
    .portfolio-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(100%);
        padding: 1rem;
        background: none;
        color: white;
        text-align: center;
        border-radius: 0;
        backdrop-filter: none;
        transition: transform 0.3s ease;
        z-index: 3;
        width: 90%;
        max-width: 300px;
    }
    
    .portfolio-item:hover .portfolio-content {
        transform: translate(-50%, -50%) translateY(0);
    }
    
    .portfolio-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: white;
        font-weight: 600;
    }
    
    .portfolio-content p {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.4;
        margin: 0;
    }
}

@media (max-width: 400px) {
    .portfolio-category-title {
        font-size: 1.25rem;
    }
    
    .portfolio-category-title i {
        font-size: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .portfolio-item {
        border-radius: 0;
        overflow: hidden;
        box-shadow: none;
        transition: all 0.3s ease;
        border: none;
        position: relative;
    }
    
    .portfolio-item:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .portfolio-image {
        height: 100%;
        position: relative;
        overflow: hidden;
    }
    
    .portfolio-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-image img {
        transform: scale(1.05);
    }
    
    /* Restaurar overlay para mostrar texto en hover */
    .portfolio-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(51, 34, 168, 0.7));
        opacity: 0;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }
    
    .portfolio-item:hover .portfolio-overlay {
        opacity: 1;
    }
    
    .portfolio-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) translateY(100%);
        padding: 0.8rem;
        background: none;
        color: white;
        text-align: center;
        border-radius: 0;
        backdrop-filter: none;
        transition: transform 0.3s ease;
        z-index: 3;
        width: 90%;
        max-width: 280px;
    }
    
    .portfolio-item:hover .portfolio-content {
        transform: translate(-50%, -50%) translateY(0);
    }
    
    .portfolio-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
        color: white;
        font-weight: 600;
    }
    
    .portfolio-content p {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.3;
        margin: 0;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #2d1b69 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0 25 Q12.5 10 25 25 T50 25 T75 25 T100 25" stroke="%233322a8" stroke-width="1" fill="none" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    animation: waveFlow 16s ease-in-out infinite;
    opacity: 0.5;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 15%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(51, 34, 168, 0.1) 0%, transparent 70%);
    animation: spiralMove 22s ease-in-out infinite;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: linear-gradient(135deg, #0f0f23 0%, #1a0a3e 50%, #2d1b69 100%);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    border: 2px solid rgba(51, 34, 168, 0.8);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 25px;
    font-size: 5rem;
    color: var(--nexup-orange);
    font-family: serif;
    opacity: 0.8;
}

.testimonial-text {
    margin-bottom: 2rem;
    font-style: italic;
    color: #ffffff;
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: bold;
}

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

.author-info p {
    color: #ffffff;
    font-size: 0.9rem;
}

    /* Contact Section */
    .contact {
        padding: 8rem 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        position: relative;
        overflow: hidden;
    }

    .contact::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circuits" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M0 12.5h25M12.5 0v25M6.25 6.25h12.5v12.5h-12.5z" stroke="%23a2c046" stroke-width="1" fill="none" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23circuits)"/></svg>');
        animation: circuitPulse 14s ease-in-out infinite;
        opacity: 0.6;
    }

    .contact::after {
        content: '';
        position: absolute;
        top: 30%;
        left: 20%;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(162, 192, 70, 0.1) 0%, transparent 70%);
        animation: glowPulse 7s ease-in-out infinite;
    }

    .contact-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
        margin-top: 4rem;
        position: relative;
        z-index: 2;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 4rem;
    }

    .contact-info h3 {
        color: #ffffff;
        margin-bottom: 2.5rem;
        font-size: 2rem;
        font-weight: 800;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        letter-spacing: -0.02em;
    }

    .contact-item {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: linear-gradient(135deg, rgba(51, 34, 168, 0.3) 0%, rgba(51, 34, 168, 0.5) 100%);
        border-radius: 15px;
        border: 1px solid rgba(51, 34, 168, 0.4);
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .contact-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(51, 34, 168, 0.3);
        border-color: var(--nexup-green);
    }

    .contact-item i {
        color: var(--nexup-green);
        font-size: 1.5rem;
        width: 30px;
        text-align: center;
        text-shadow: 0 0 10px rgba(162, 192, 70, 0.5);
    }

    .contact-item a {
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .contact-item a:hover {
        color: var(--nexup-green);
        text-shadow: 0 0 10px rgba(162, 192, 70, 0.5);
        transform: translateX(5px);
    }

    .contact-form {
        background: linear-gradient(135deg, rgba(51, 34, 168, 0.95) 0%, rgba(51, 34, 168, 0.98) 50%, rgba(51, 34, 168, 0.9) 100%);
        padding: 2rem 2.5rem 1.5rem 2.5rem;
        border-radius: 25px;
        border: 2px solid rgba(162, 192, 70, 0.3);
        box-shadow: 0 25px 50px rgba(51, 34, 168, 0.6), 0 0 30px rgba(51, 34, 168, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
        position: relative;
        overflow: visible;
        min-height: 450px;
        backdrop-filter: blur(20px);
    }

    .contact-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(162, 192, 70, 0.15) 0%, rgba(51, 34, 168, 0.15) 50%, rgba(255, 111, 63, 0.1) 100%);
        opacity: 0;
        transition: opacity 0.4s ease;
        border-radius: 30px;
    }

    .contact-form::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(162, 192, 70, 0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
        animation: shimmer 4s ease-in-out infinite;
    }

    .contact-form:hover::before {
        opacity: 1;
    }

    .contact-form:hover::after {
        opacity: 1;
    }

    /* Contact form specific button styles */
    .contact-form .btn-primary {
        background: linear-gradient(135deg, var(--nexup-green) 0%, var(--nexup-green-light) 100%);
        color: #ffffff;
        box-shadow: 0 10px 30px rgba(162, 192, 70, 0.4);
        border: 2px solid rgba(162, 192, 70, 0.3);
        font-weight: 700;
        font-size: 1.1rem;
        padding: 1.2rem 2.5rem;
        border-radius: 15px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
    }

    .contact-form .btn-primary:hover {
        background: linear-gradient(135deg, var(--nexup-green-light) 0%, var(--nexup-green) 100%);
        box-shadow: 0 15px 40px rgba(162, 192, 70, 0.6), 0 0 20px rgba(162, 192, 70, 0.4);
        transform: translateY(-3px) scale(1.02);
        border-color: rgba(162, 192, 70, 0.6);
    }

    .form-group {
        margin-bottom: 0.8rem;
        position: relative;
        z-index: 2;
    }

    .form-group label {
        display: none;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1.2rem 1.5rem;
        border: 2px solid rgba(162, 192, 70, 0.4);
        border-radius: 15px;
        font-family: inherit;
        transition: all 0.3s ease;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        backdrop-filter: blur(10px);
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
        color: #ffffff;
        font-weight: 500;
        font-size: 1rem;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--nexup-green);
        box-shadow: 0 0 0 3px rgba(162, 192, 70, 0.2), 0 5px 15px rgba(51, 34, 168, 0.3);
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.15);
    }

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

    /* Form message styles */
    .form-message {
        padding: 1rem 1.5rem;
        border-radius: 12px;
        margin-bottom: 1rem;
        font-weight: 500;
        font-size: 0.95rem;
        position: relative;
        z-index: 2;
        animation: slideDown 0.3s ease-out;
    }

    .form-message-success {
        background: linear-gradient(135deg, rgba(162, 192, 70, 0.2) 0%, rgba(162, 192, 70, 0.15) 100%);
        border: 2px solid var(--nexup-green);
        color: var(--nexup-green);
        box-shadow: 0 5px 15px rgba(162, 192, 70, 0.3);
    }

    .form-message-error {
        background: linear-gradient(135deg, rgba(255, 111, 63, 0.2) 0%, rgba(255, 111, 63, 0.15) 100%);
        border: 2px solid var(--nexup-orange);
        color: #ffcc99;
        box-shadow: 0 5px 15px rgba(255, 111, 63, 0.3);
    }

    .form-message::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        border-radius: 12px 0 0 12px;
    }

    .form-message-success::before {
        background: var(--nexup-green);
    }

    .form-message-error::before {
        background: var(--nexup-orange);
    }

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

    .contact-form .btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none !important;
    }

    /* 1) Evitar que la tarjeta del form se estire y genere hueco abajo */
.contact-content { 
    align-items: start;       /* opción global: ambas columnas se ajustan a su contenido */
  }
  
  /* —alternativa si quieres afectar solo el formulario— */
  /* .contact-form { align-self: start; } */
  
  /* 2) Placeholders blancos (con prefijos) */
  .form-group input::placeholder,
  .form-group textarea::placeholder { 
    color: #fff !important;     
    opacity: 1;               /* Safari */
  }
  .form-group input::-webkit-input-placeholder,
  .form-group textarea::-webkit-input-placeholder { color: #fff; }
  .form-group input:-ms-input-placeholder,
  .form-group textarea:-ms-input-placeholder { color: #fff; }
  .form-group input::-ms-input-placeholder,
  .form-group textarea::-ms-input-placeholder { color: #fff; }

  
/* Footer */
.footer {
    background: linear-gradient(135deg, var(--nexup-blue) 0%, var(--nexup-blue-dark) 100%);
    color: var(--nexup-text-light);
    padding: 6rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%2306b6d4" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 30s infinite linear;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--nexup-green);
    width: 20px;
    font-size: 1rem;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--nexup-green);
}

.footer-section h3 {
    margin-bottom: 2rem;
    color: var(--nexup-green);
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--nexup-green);
}

/* Contenedor de secciones del footer - Desktop */
.footer-sections-container {
    display: contents;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: var(--nexup-green);
    transform: translateX(8px);
}

.footer-section a i {
    width: 16px;
    font-size: 0.9rem;
}

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

.social-links a {
    width: 60px;
    height: 60px;
    background: rgba(162, 192, 70, 0.1);
    border: 2px solid rgba(162, 192, 70, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--nexup-green);
    font-size: 1.3rem;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--nexup-green);
    color: var(--nexup-text-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(162, 192, 70, 0.4);
    text-decoration: none;
}

.newsletter {
    background: linear-gradient(135deg, rgba(51, 34, 168, 0.8) 0%, rgba(51, 34, 168, 0.9) 100%);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid rgba(51, 34, 168, 0.6);
    box-shadow: 0 10px 30px rgba(51, 34, 168, 0.3);
}

.newsletter h4 {
    color: var(--nexup-green);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(162, 192, 70, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--nexup-text-light);
    font-size: 1rem;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--nexup-medium-gray);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    background: var(--nexup-green);
    color: var(--nexup-text-light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--nexup-green-light);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(162, 192, 70, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

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

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

.btn-terms {
    background: var(--nexup-blue) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    transition: all 0.3s ease !important;
    font-size: 0.75rem !important;
    border: 1px solid var(--nexup-blue) !important;
}

.btn-terms:hover {
    background: var(--nexup-blue-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(51, 34, 168, 0.3) !important;
    color: white !important;
}

.btn-terms i {
    font-size: 0.75rem;
}

.btn-privacy {
    background: var(--nexup-blue) !important;
    color: white !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    transition: all 0.3s ease !important;
    font-size: 0.75rem !important;
    border: 1px solid var(--nexup-blue) !important;
}

.btn-privacy:hover {
    background: var(--nexup-blue-light) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(51, 34, 168, 0.3) !important;
    color: white !important;
}

.btn-privacy i {
    font-size: 0.75rem;
}

.newsletter h3 {
    margin-bottom: 1rem;
    color: var(--nexup-green);
    font-size: 1.3rem;
    font-weight: 700;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.input-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    background: transparent;
    color: white;
    font-size: 0.9rem;
}

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

.input-group button {
    padding: 1rem 1.5rem;
    background: var(--nexup-green);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.input-group button:hover {
    background: var(--nexup-green-light);
    transform: scale(1.05);
}

.newsletter-benefits {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.newsletter-benefits small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.newsletter-benefits i {
    color: var(--nexup-green);
    font-size: 0.7rem;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: clamp(2.5rem, 5.4vw, 3rem);
        line-height: 1.04;
        max-width: 34ch;
    }

    .hero-text p {
        font-size: 0.98rem;
        max-width: 48ch;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }
    
    .newsletter {
        grid-column: 1 / -1;
        margin-top: 2rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 0.85rem;
    }
    
    /* Header */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        z-index: 1001;
        padding: 0.5rem;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
    }
    
    .mobile-menu-toggle:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: 
            rgba(51, 34, 168, 0.95),
            linear-gradient(135deg, rgba(51, 34, 168, 0.98) 0%, rgba(51, 34, 168, 0.95) 30%, rgba(51, 34, 168, 0.9) 60%, rgba(51, 34, 168, 0.85) 100%),
            var(--gradient-primary);
        background-image: 
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobileGrid" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M30 0v30M0 30h30" stroke="%23a2c046" stroke-width="1.2" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23mobileGrid)"/></svg>'),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobileDots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="3" fill="%23ff6f3f" opacity="0.4"/></pattern></defs><rect width="100" height="100" fill="url(%23mobileDots)"/></svg>'),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobileWaves" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0 25 Q12.5 10 25 25 T50 25 T75 25 T100 25" stroke="%2306b6d4" stroke-width="2" fill="none" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23mobileWaves)"/></svg>');
        background-size: 60px 60px, 80px 80px, 100px 100px;
        background-position: 0 0, 20px 20px, 40px 40px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 1000;
        padding: 2rem;
        box-sizing: border-box;
        transform: translateX(-100%);
        animation: mobileMenuBackground 20s linear infinite;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
        display: flex;
        box-shadow: 
            inset 0 0 100px rgba(255, 255, 255, 0.1),
            0 0 50px rgba(51, 34, 168, 0.3),
            0 0 100px rgba(162, 192, 70, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 0 20px 20px 0;
    }
    
    .nav-menu.closing {
        transform: translateX(-100%);
        transition: all 0.3s cubic-bezier(0.55, 0.06, 0.68, 0.19);
    }
    
    .nav-menu li {
        margin: 0.2rem 0;
        opacity: 0;
        transform: translateX(-50px) translateY(20px);
        transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
    
    .nav-menu.active li:nth-child(1) { 
        transition-delay: 0.1s; 
        animation: slideInFromLeft 0.6s ease-out 0.1s both;
    }
    .nav-menu.active li:nth-child(2) { 
        transition-delay: 0.2s; 
        animation: slideInFromLeft 0.6s ease-out 0.2s both;
    }
    .nav-menu.active li:nth-child(3) { 
        transition-delay: 0.3s; 
        animation: slideInFromLeft 0.6s ease-out 0.3s both;
    }
    .nav-menu.active li:nth-child(4) { 
        transition-delay: 0.4s; 
        animation: slideInFromLeft 0.6s ease-out 0.4s both;
    }
    .nav-menu.active li:nth-child(5) { 
        transition-delay: 0.5s; 
        animation: slideInFromLeft 0.6s ease-out 0.5s both;
    }
    .nav-menu.active li:nth-child(6) { 
        transition-delay: 0.6s; 
        animation: slideInFromLeft 0.6s ease-out 0.6s both;
    }
    
    /* Closing animations for menu items */
    .nav-menu.closing li {
        animation: slideOutToLeft 0.3s ease-in forwards;
    }
    
    .nav-menu.closing li:nth-child(1) { animation-delay: 0s; }
    .nav-menu.closing li:nth-child(2) { animation-delay: 0.05s; }
    .nav-menu.closing li:nth-child(3) { animation-delay: 0.1s; }
    .nav-menu.closing li:nth-child(4) { animation-delay: 0.15s; }
    .nav-menu.closing li:nth-child(5) { animation-delay: 0.2s; }
    .nav-menu.closing li:nth-child(6) { animation-delay: 0.25s; }
    
    /* Overlay for mobile menu */
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgb(0, 0, 0) 0%, rgba(3, 0, 209, 0.877) 100%);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: -1;
        backdrop-filter: blur(5px);
    }
    
    .nav-menu.active::before {
        opacity: 1;
        animation: fadeInOverlay 0.4s ease-out;
    }
    
    /* Floating elements for mobile menu */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 10%;
        right: 10%;
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(162, 192, 70, 0.15) 0%, rgba(162, 192, 70, 0.05) 50%, transparent 70%);
        border-radius: 50%;
        animation: float 6s ease-in-out infinite;
        z-index: -1;
    }
    
    .nav-menu.active::after {
        animation: float 6s ease-in-out infinite, fadeInOverlay 0.4s ease-out;
    }
    
    /* Additional floating elements */
    .nav-menu .floating-element-1,
    .nav-menu .floating-element-2,
    .nav-menu .floating-element-3 {
        position: absolute;
        border-radius: 50%;
        z-index: -1;
        animation: float 8s ease-in-out infinite;
    }
    
    .nav-menu .floating-element-1 {
        top: 20%;
        left: 15%;
        width: 70px;
        height: 70px;
        background: radial-gradient(circle, rgba(255, 111, 63, 0.2) 0%, rgba(255, 111, 63, 0.1) 50%, transparent 70%);
        animation-delay: -2s;
    }
    
    .nav-menu .floating-element-2 {
        top: 60%;
        right: 20%;
        width: 90px;
        height: 90px;
        background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, rgba(6, 182, 212, 0.1) 50%, transparent 70%);
        animation-delay: -4s;
    }
    
    .nav-menu .floating-element-3 {
        bottom: 20%;
        left: 20%;
        width: 50px;
        height: 50px;
        background: radial-gradient(circle, rgba(162, 192, 70, 0.25) 0%, rgba(162, 192, 70, 0.15) 50%, transparent 70%);
        animation-delay: -6s;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 0.6rem 1.4rem;
        display: block;
        text-align: center;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--accent-color);
    }
    
    /* Hero Section */
    .hero {
        min-height: auto;
        padding: 7rem 0 4.5rem;
    }

    .hero-text {
        max-width: 100%;
    }
    
    .hero-text h1 {
        font-size: clamp(2rem, 7vw, 2.25rem);
        line-height: 1.06;
        max-width: 30ch;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        margin: 1.25rem auto 2rem;
        line-height: 1.65;
        max-width: 32ch;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.85rem;
        align-items: center;
    }
    
    .btn {
        width: min(100%, 320px);
        min-height: 52px;
        justify-content: center;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-brand {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        text-align: center;
        max-width: 300px;
    }
    
    .social-links {
        justify-content: center;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }
    
    .footer-section {
        order: 2;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Contenedor para servicios y empresa en móvil */
    .footer-sections-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        order: 2;
        margin-bottom: 1rem;
    }
    
    .footer-sections-container .footer-section {
        order: unset;
        margin-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: var(--accent-color);
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul {
        gap: 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section li {
        text-align: center;
    }
    
    .footer-section li a {
        font-size: 0.9rem;
        padding: 0.5rem 0;
        justify-content: center;
    }
    
    .newsletter {
        order: 3;
        grid-column: 1;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.05);
        padding: 1.5rem;
        border-radius: 15px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        text-align: center;
        color: var(--accent-color);
    }
    
    .newsletter p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        text-align: center;
        max-width: 300px;
    }
    
    .newsletter-form {
        margin-bottom: 0.8rem;
        width: 100%;
        max-width: 300px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
    }
    
    .input-group input {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .input-group button {
        width: 100%;
        padding: 0.8rem;
    }
    
    .newsletter-benefits {
        flex-direction: column;
        gap: 0.3rem;
        align-items: center;
        text-align: center;
    }
    
    .newsletter-benefits small {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .footer-bottom {
        margin-top: 1.5rem;
        padding: 1rem 1rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
        justify-content: center;
        width: 100%;
    }
    
    .btn-terms,
    .btn-privacy {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .input-group button {
        border-radius: 0 0 12px 12px;
    }
    .hero-video-container {
        position: relative;
        max-width: 850px;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0px 0px 20px rgb(0, 0, 0), 0 0px 20px rgba(0, 0, 0, 0.9), 0 0px 20px rgba(0, 0, 0, 0.7);
        transform: rotate(0deg);
        transition: all 0.4s ease;
    }
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    50% { 
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.5));
    }
}

@keyframes shimmer {
    0% { 
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-80px) translateY(30px) scale(0.8);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-20px) translateY(10px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
}

@keyframes slideOutToLeft {
    0% {
        opacity: 1;
        transform: translateX(0) translateY(0) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateX(-40px) translateY(15px) scale(0.9);
    }
    100% {
        opacity: 0;
        transform: translateX(-100px) translateY(30px) scale(0.7);
    }
}

@keyframes fadeInOverlay {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

@keyframes mobileMenuBackground {
    0% {
        background-position: 0 0, 20px 20px;
    }
    25% {
        background-position: 15px 15px, 35px 35px;
    }
    50% {
        background-position: 30px 30px, 50px 50px;
    }
    75% {
        background-position: 15px 15px, 35px 35px;
    }
    100% {
        background-position: 0 0, 20px 20px;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero-content {
        padding: 0 0.7rem;
    }
    
    /* Ensure mobile menu button is visible */
    .mobile-menu-toggle {
        display: block !important;
        font-size: 1.3rem;
        padding: 0.4rem;
    }
    
    /* Hero */
    .hero {
        padding: 6.5rem 0 4rem;
    }

    .hero-text h1 {
        font-size: clamp(1.9rem, 8.2vw, 2.15rem);
        max-width: 28ch;
    }
    
    .hero-text p {
        font-size: 0.92rem;
        max-width: 30ch;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Services */
    .service-card {
        padding: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.85rem;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 1rem;
    }
    
    .footer-content {
        padding: 0 0.5rem;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
       
    }
    
    .footer-brand .logo {
        justify-content: center;
        display: flex;
        align-items: center;
    }
    
    .footer-brand p {
        font-size: 0.85rem;
        line-height: 1.5;
        text-align: center;
        max-width: 280px;
        margin-bottom: 0.8rem;
    }
    
    .social-links {
        justify-content: center;
        display: flex;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 0.8rem;
    }
    
    /* Contenedor para servicios y empresa en móvil pequeño */
    .footer-sections-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
        order: 2;
        margin-bottom: 0.8rem;
    }
    
    .footer-sections-container .footer-section {
        order: unset;
        margin-bottom: 0;
    }
    
    .footer-section h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.6rem;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-section ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
    
    .footer-section li {
        text-align: center;
    }
    
    .footer-section li a {
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .newsletter {
        padding: 1rem;
        border-radius: 12px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0.8rem;
    }
    
    .newsletter h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.5rem;
    }
    
    .newsletter p {
        font-size: 0.8rem;
        text-align: center;
        max-width: 280px;
        margin-bottom: 0.6rem;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 280px;
    }
    
    .input-group {
        width: 100%;
        gap: 0.4rem;
    }
    
    .input-group input {
        padding: 0.7rem;
        font-size: 0.85rem;
        text-align: center;
    }
    
    .input-group button {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .newsletter-benefits {
        text-align: center;
        gap: 0.2rem;
    }
    
    .newsletter-benefits small {
        font-size: 0.75rem;
        text-align: center;
    }
    
    .footer-bottom {
        padding: 0.8rem 0.5rem 0;
        margin-top: 1rem;
    }
    
    .footer-bottom-content {
        text-align: center;
        gap: 0.8rem;
    }
    
    .footer-bottom-content p {
        font-size: 0.8rem;
        text-align: center;
    }
    
    /* Social Links */
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn-terms,
    .btn-privacy {
        font-size: 0.75rem;
        padding: 0.6rem 1rem;
    }
}

@keyframes gridMove {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(10px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(10px); }
    75% { transform: translateX(5px) translateY(-10px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes dotsBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-10px) scale(1.1); }
    50% { transform: translateY(-5px) scale(0.9); }
    75% { transform: translateY(-15px) scale(1.05); }
}

@keyframes hexagonRotate {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(0.9); }
    75% { transform: rotate(270deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes waveFlow {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(20px) translateY(-10px); }
    50% { transform: translateX(-10px) translateY(15px); }
    75% { transform: translateX(15px) translateY(-5px); }
    100% { transform: translateX(0) translateY(0); }
}

@keyframes circuitPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.1;
    }
    25% { 
        transform: scale(1.2) rotate(90deg);
        opacity: 0.3;
    }
    50% { 
        transform: scale(0.8) rotate(180deg);
        opacity: 0.2;
    }
    75% { 
        transform: scale(1.1) rotate(270deg);
        opacity: 0.25;
    }
}

@keyframes glowPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.1;
        filter: blur(0px);
    }
    50% { 
        transform: scale(1.5);
        opacity: 0.3;
        filter: blur(2px);
    }
}

@keyframes spiralMove {
    0% { 
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% { 
        transform: translateX(50px) translateY(-30px) rotate(90deg);
    }
    50% { 
        transform: translateX(0) translateY(-60px) rotate(180deg);
    }
    75% { 
        transform: translateX(-50px) translateY(-30px) rotate(270deg);
    }
    100% { 
        transform: translateX(0) translateY(0) rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

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

@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Google Ads Package Tablet Styles */
    .package-custom {
        padding: 2.5rem 2rem;
        margin: 0 0.5rem;
        min-height: 250px;
        border-radius: 22px;
    }
    
    .custom-content h4 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    
    .custom-content p {
        font-size: 1.1rem;
        margin-bottom: 1.3rem;
        line-height: 1.5;
    }
    
    .custom-price {
        padding: 1.1rem 1.8rem;
        margin-bottom: 1.8rem;
        border-radius: 13px;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .price-text {
        font-size: 0.95rem;
    }
    
    .custom-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
        margin-bottom: 1.8rem;
    }
    
    .custom-features li {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
        padding-left: 1.3rem;
    }
    
    .custom-cta {
        padding: 1.3rem 2.5rem;
        border-radius: 13px;
    }
    .contact-form {
        padding: 1rem;
        margin-top: -120px;
    }
    
    .custom-text {
        font-size: 1.1rem;
    }
    
    /* Services centering for tablet */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .service-card h3 {
        text-align: center;
    }
    
    .service-card p {
        text-align: center;
    }
    
    .service-features {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .footer-brand {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    /* Google Ads Package Mobile Styles */
    .package-custom {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
        min-height: auto;
        border-radius: 20px;
    }
    
    .custom-content h4 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .custom-content p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        line-height: 1.5;
    }
    
    .custom-price {
        padding: 1rem 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .price-text {
        font-size: 0.9rem;
    }
    
    .custom-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .custom-features li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        padding-left: 1.2rem;
    }
    
    .custom-cta {
        padding: 1.2rem 2rem;
        border-radius: 12px;
    }
    
    .custom-text {
        font-size: 1rem;
    }
    
    /* Services centering for mobile */
    .service-card {
        text-align: center;
    }
    
    .service-icon {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .service-card h3 {
        text-align: center;
    }
    
    .service-card p {
        text-align: center;
    }
    
    .service-features {
        text-align: left;
    }
}
