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

:root {
    --primary: #00d4ff;
    --secondary: #0066cc;
    --accent: #ff6b35;
    --dark: #1a1a2e;
    --darker: #16213e;
    --light: #f8f9fa;
    --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --tech-gradient: linear-gradient(45deg, #00d4ff, #0066cc, #667eea);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 2s infinite;
    z-index: 1001;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: var(--darker);
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 2rem 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
    position: relative;
}

.mobile-menu-header .logo {
    font-size: 1.3rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-links a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-left-color: var(--primary);
    color: var(--primary);
}

.mobile-login-btn {
    margin: 2rem;
    display: block;
    text-align: center;
    background: var(--tech-gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Login Button - Desktop */
.login-btn {
    background: var(--tech-gradient);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3);
    color: white;
    text-decoration: none;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    background: var(--gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    width: 100%;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    animation: slideInUp 1s ease-out;
    line-height: 1.2;
}

.hero .typewriter {
    font-size: clamp(1rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
    border-right: 3px solid var(--primary);
    overflow: hidden;
    white-space: nowrap;
    animation: typewriter 3s steps(40) 1s forwards, pulse 1s infinite;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 3rem;
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.5s both;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: slideInUp 1s ease-out 0.7s both;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
    background: #ff5722;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 4s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--light);
}

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

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 1rem;
}

.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-title p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tech-gradient);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark);
    line-height: 1.3;
}

.service-card p {
    color: #666;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background: var(--light);
    overflow: hidden;
}

.testimonials-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.carousel-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 20px;
}

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

.testimonial-slide {
    min-width: 100%;
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.testimonial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--tech-gradient);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-text {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
    flex-grow: 1;
}

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

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--tech-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}

.author-info p {
    color: #666;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: #ffd700;
    font-size: 1.1rem;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.nav-btn {
    background: var(--tech-gradient);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.dot:hover {
    background: var(--secondary);
}

/* Auto-play indicator */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--tech-gradient);
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: var(--dark);
    color: white;
}

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

.about-text h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    opacity: 0.8;
    margin-top: 0.5rem;
    line-height: 1.3;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--light);
}

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

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary);
    color: white;
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--tech-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item div:last-child {
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.4;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: clamp(1.3rem, 3vw, 1.5rem);
    color: var(--dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--tech-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

/* Footer */
footer {
    background: var(--darker);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
    line-height: 1.5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

footer p:last-child {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    opacity: 0.7;
}

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

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
    color: white;
    font-size: 1.8rem;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float:active {
    transform: scale(0.95);
}

/* WhatsApp pulse animation */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    content: 'Compartir por WhatsApp';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(0, 0, 0, 0.8);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
}

/* Promotional Modal - MOBILE OPTIMIZED */
.promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
    padding: 1rem;
    overflow-y: auto;
}

.promo-modal.show {
    opacity: 1;
    visibility: visible;
}

.promo-modal-content {
    /*background: white;*/
    background: #ffffff; /* Asegurar fondo completamente blanco */
    border-radius: 20px;
    max-width: 90vw;
    width: 100%;
    max-width: 450px;
    position: relative;
    overflow: hidden;
    /*box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);*/
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.0); /* Reducida opacidad de sombra */
    animation: modalSlideIn 0.5s ease-out;
    margin: auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

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

.promo-header {
    background: var(--tech-gradient);
    color: white;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.promo-header::before {
    content: '🚀';
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
}

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

.promo-title {
    font-size: clamp(1.2rem, 4vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.promo-subtitle {
    font-size: clamp(0.8rem, 3vw, 0.95rem);
    opacity: 0.9;
    line-height: 1.4;
}

.promo-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex-grow: 1;

}

.promo-offer {
    text-align: center;
    margin-bottom: 1.5rem;
}

.promo-price {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    font-weight: 800;
    color: var(--accent);
    margin: 1rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
}

.promo-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: clamp(0.8rem, 3vw, 1.1rem);
    margin-right: 0.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.promo-features {
    list-style: none;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.promo-features li {
        color: #212529; /* Asegurar color oscuro para las características */
        padding: 0.4rem 0;
        display: flex;
        align-items: flex-start;
        font-size: clamp(0.75rem, 3vw, 0.85rem);
        line-height: 1.4;
    }


.promo-features li::before {
    content: '✅';
    margin-right: 0.5rem;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.promo-urgency {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: white;
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    margin: 1rem 0;
    font-weight: 600;
    font-size: clamp(0.75rem, 3vw, 0.9rem);
    animation: urgencyPulse 3s infinite;
    line-height: 1.3;
}

@keyframes urgencyPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
    }
}

.promo-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.promo-btn {
    flex: 1;
    padding: 0.8rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    line-height: 1.3;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-btn-primary {
    background: var(--tech-gradient);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.promo-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    color: white;
    text-decoration: none;
}

.promo-btn-secondary {
        background: #e9ecef;
        color: #212529; /* Color más oscuro */
        border: 2px solid #dee2e6;
        font-weight: 600; /* Hacer texto más bold */
    }
/*.promo-btn-secondary {
    background: #f8f9fa;
    color: var(--dark);
    border: 2px solid #e9ecef;
}*/

.promo-btn-secondary:hover {
        background: #dee2e6;
        transform: translateY(-1px);
        color: #212529;
    }

/*.promo-btn-secondary:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}*/

.promo-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

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

.promo-footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
    flex-shrink: 0;
}

/* Mejorar contraste del footer del modal */
    .promo-footer button {
        background: none;
        border: none;
        color: #495057; /* Color más oscuro */
        cursor: pointer;
        font-size: clamp(0.7rem, 2vw, 0.75rem);
        text-decoration: underline;
        font-weight: 500; /* Hacer más bold */
    }

/*.promo-footer button {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: clamp(0.7rem, 2vw, 0.75rem);
    text-decoration: underline;
}*/

.promo-footer button:hover {
        color: #007bff; /* Color más contrastante al hover */
    }

/*.promo-footer button:hover {
    color: var(--primary);
}*/

/* Responsive - Mobile */
    @media (max-width: 768px) {
        .scroll-to-top-btn {
            width: 45px;
            height: 45px;
            font-size: 20px;
            bottom: 15px;
            right: 15px;
        }
        
        /* Modal móvil con mejor contraste */
        .promo-modal {
            padding: 0.5rem;
            background: rgba(0, 0, 0, 0.35); /* Incluso más claro en móvil */
        }
        
        .promo-modal-content {
            max-width: 95vw;
            border-radius: 15px;
        }
    }
        @media (max-width: 480px) {
        .scroll-to-top-btn {
            width: 40px;
            height: 40px;
            font-size: 18px;
        }
        
        .promo-modal-content {
            max-width: 98vw;
        }
    }

/* WhatsApp Share Modal */
.whatsapp-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.whatsapp-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    animation: slideInUp 0.3s ease-out;
}

.whatsapp-modal-content h3 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 4vw, 1.3rem);
    line-height: 1.3;
}

.whatsapp-modal-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 3vw, 1rem);
}

.whatsapp-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.whatsapp-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    min-height: 44px;
}

.whatsapp-btn.primary {
    background: linear-gradient(45deg, #25d366, #128c7e);
    color: white;
}

.whatsapp-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn.secondary {
    background: #f0f0f0;
    color: var(--dark);
}

.whatsapp-btn.secondary:hover {
    background: #e0e0e0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    nav {
        padding: 1rem 1.5rem;
    }
    
    .services {
        padding: 4rem 1.5rem;
    }
    
    .testimonials {
        padding: 4rem 1.5rem;
    }
    
    .about {
        padding: 4rem 1.5rem;
    }
    
    .contact {
        padding: 4rem 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        gap: 1rem;
    }

    .nav-links {
        display: none;
    }

    .login-btn {
        display: none;
    }

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

    nav {
        padding: 1rem;
    }

    .hero {
        padding: 1rem;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .services {
        padding: 3rem 1rem;
    }

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

    .service-card {
        padding: 2rem;
    }

    .testimonials {
        padding: 3rem 1rem;
    }

    /* Single testimonial per slide on mobile */
    .testimonial-slide {
        flex-direction: column;
        gap: 0;
        align-items: center;
        justify-content: center;
    }

    /* Hide second testimonial card on mobile */
    .testimonial-slide .testimonial-card:nth-child(2) {
        display: none;
    }

    /* Make single card take full width */
    .testimonial-slide .testimonial-card:first-child {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 2rem;
        margin: 0;
    }

    .carousel-nav {
        gap: 1rem;
        margin-top: 2rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .about {
        padding: 3rem 1rem;
    }

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

    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact {
        padding: 3rem 1rem;
    }

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

    .contact-info,
    .contact-form {
        padding: 2rem;
    }

    footer {
        padding: 2rem 1rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }

    .whatsapp-float::before {
        right: 65px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    .whatsapp-float::after {
        right: 55px;
        border-left-width: 6px;
        border-top-width: 6px;
        border-bottom-width: 6px;
    }

    .mobile-menu {
        width: 100%;
    }

    /* Mobile modal adjustments */
    .promo-modal {
        padding: 0.5rem;
    }

    .promo-modal-content {
        max-width: 95vw;
        border-radius: 15px;
    }

    .promo-header,
    .promo-body {
        padding: 1.2rem;
    }

    .promo-buttons {
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem;
    }

    .hero-content {
        padding: 0;
    }

    .services {
        padding: 2rem 0.75rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .testimonials {
        padding: 2rem 0.75rem;
    }

    .testimonial-card {
        padding: 1.5rem !important;
        border-radius: 15px;
    }

    .about {
        padding: 2rem 0.75rem;
    }

    .stat {
        padding: 1rem;
    }

    .contact {
        padding: 2rem 0.75rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .contact-item {
        padding: 0.75rem;
        flex-direction: row;
        align-items: flex-start;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    footer {
        padding: 1.5rem 0.75rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        bottom: 15px;
        right: 15px;
    }

    /* Extra small modal adjustments */
    .promo-modal-content {
        max-width: 98vw;
    }
}

@media (max-height: 700px) {
    .promo-modal-content {
        max-height: 95vh;
    }
    
    .promo-header::before {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
}

/* Better touch targets for mobile */
@media (max-width: 768px) {
    .btn, .cta-button, .submit-btn, .promo-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .form-group input,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}
/* ********************************************************************/
/* Clients Section - Agregar al final del CSS */
/* Clients Section - CSS Corregido para Responsive */
/* ********************************************************************/

.clients {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.clients::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="clientsGrid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(0,212,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23clientsGrid)"/></svg>');
    pointer-events: none;
}

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

.clients-carousel-container {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* DESKTOP: Múltiples clientes por slide */
.clients-slide {
    min-width: 100%;
    display: flex;
    gap: 2rem;
    padding: 3rem;
    align-items: stretch;
}

.client-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
    border: 2px solid transparent;
    flex: 1; /* Importante para desktop */
}

.client-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tech-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.client-card-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border: none;
}

.client-card-cta:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-10px) scale(1.02);
}

.client-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--light);
    border-radius: 15px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.client-card-cta .client-logo {
    background: rgba(255, 255, 255, 0.2);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(1) opacity(0.8);
    transition: all 0.3s ease;
}

.client-card:hover .client-logo img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

.next-project-icon {
    font-size: 3rem;
    opacity: 0.9;
    animation: bounce 2s infinite;
}

.client-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.client-info h4 {
    font-size: clamp(1.1rem, 3vw, 1.3rem);
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.client-card-cta .client-info h4 {
    color: white;
}

.client-info p {
    color: #666;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.client-card-cta .client-info p {
    color: rgba(255, 255, 255, 0.9);
}

.client-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.client-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
    color: white;
    text-decoration: none;
}

.client-link-cta {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.client-link-cta:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Clients Navigation */
.clients-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.clients-nav-btn {
    background: var(--tech-gradient);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.clients-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.clients-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.clients-dots {
    display: flex;
    gap: 0.5rem;
}

.clients-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.clients-dot:hover {
    background: var(--secondary);
}

/* Progress Bar */
.clients-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 1rem;
    overflow: hidden;
}

.clients-progress-fill {
    height: 100%;
    background: var(--tech-gradient);
    border-radius: 2px;
    transition: width 0.1s linear;
    width: 0%;
}

/* Trust Indicators */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.trust-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-text {
    font-weight: 600;
    color: var(--dark);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

/* RESPONSIVE DESIGN - MOBILE */
@media (max-width: 768px) {
    .clients {
        padding: 3rem 1rem;
    }
    
    .clients-slide {
        flex-direction: column;
        gap: 0;
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }
    
    /* MOBILE: Hide second and third client cards */
    .clients-slide .client-card:nth-child(2),
    .clients-slide .client-card:nth-child(3) {
        display: none;
    }
    
    /* MOBILE: Make single card take full width */
    .clients-slide .client-card:first-child {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: auto;
        margin: 0;
    }
    
    .client-card {
        min-height: 240px;
        padding: 1.5rem;
    }
    
    .clients-nav {
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .clients-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .trust-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0.5rem;
    }
    
    .trust-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .clients {
        padding: 2rem 0.75rem;
    }
    
    .clients-slide {
        padding: 1.5rem;
    }
    
    .client-card {
        min-height: 220px;
        padding: 1.2rem;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .clients-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .clients-dot {
        width: 10px;
        height: 10px;
    }
}

/* ********************************************************************/
/* FIN Clients Section - Agregar al final del CSS */
/* Clients Section - CSS Corregido para Responsive */
/* ********************************************************************/

