* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: white;
}

:root {
    --primary: #6C63FF;
    --primary-dark: #5a52d6;
    --secondary: #FF6584;
    --tertiary: #FFB347;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --light: #f8f9fa;
    --gray: #6c757d;
}

/* Logo en navbar */
.logo-img-nav {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #F2F2F2;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #1a1a2e;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #6C63FF;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1a1a2e;
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: #6C63FF;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #6C63FF;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Wave separator */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
}

.wave svg {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 60px;
    max-height: 120px;
}

.wave-path {
    fill: #FFFFFF;
}

.wave::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,64 C150,96 250,32 400,64 C550,96 650,32 800,64 C950,96 1050,32 1200,64 L1200,120 L0,120 Z" fill="%23FFFFFF"/></svg>') repeat-x;
    background-size: 1200px 100%;
    background-position: 0 0;
    animation: waveMove 8s linear infinite;
    opacity: 0.6;
}

.wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,80 C150,110 250,50 400,80 C550,110 650,50 800,80 C950,110 1050,50 1200,80 L1200,120 L0,120 Z" fill="%23FFFFFF"/></svg>') repeat-x;
    background-size: 1200px 100%;
    background-position: 0 0;
    animation: waveMove 12s linear infinite reverse;
    opacity: 0.3;
}

@keyframes waveMove {
    0% { background-position: 0 0; }
    100% { background-position: 1200px 0; }
}

@media (max-width: 768px) {
    .wave svg {
        min-height: 40px;
        max-height: 80px;
    }
    @keyframes waveMove {
        0% { background-position: 0 0; }
        100% { background-position: 800px 0; }
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.section-header p {
    color: #6c757d;
    font-size: 1.125rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.service-card p {
    color: #6c757d;
}

/* Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, #6C63FF, #FF6584, #FFB347, transparent);
    width: 60%;
    margin: 0 auto;
    border-radius: 3px;
}

/* Process Section */
.process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #6C63FF;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.25);
    border: 2px solid #6C63FF;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    background: linear-gradient(135deg, #6C63FF, #4a3fd6);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.4);
}

/* Differences Section */
.differences {
    padding: 80px 0;
    background: white;
}

.differences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.difference-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s;
}

.difference-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.difference-item i {
    font-size: 2.5rem;
    color: #6C63FF;
    margin-bottom: 1rem;
}

.difference-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.difference-item p {
    color: #6c757d;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-category {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
}

.tech-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-category i {
    font-size: 2.5rem;
    color: #6C63FF;
    margin-bottom: 1rem;
}

.tech-category h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.tech-category p {
    color: #6c757d;
}

/* Project Types Section */
.project-types {
    padding: 80px 0;
    background: white;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.type-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s;
}

.type-item:hover {
    transform: translateX(10px);
    background: linear-gradient(135deg, #6C63FF, #FF6584);
}

.type-item:hover i,
.type-item:hover span {
    color: white;
}

.type-item i {
    font-size: 1.5rem;
    color: #6C63FF;
}

.type-item span {
    font-size: 1rem;
    color: #1a1a2e;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
}

.benefits .section-header h2,
.benefits .section-header p {
    color: white;
}

.benefits .section-tag {
    background: rgba(255, 255, 255, 0.2);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.benefit-card i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: white;
}

/* CTA Final Section */
.cta-final {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

.footer-logo-img-grande {
    max-width: 250px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    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;
}

.social-icons a:hover {
    background: #6C63FF;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Servicios Detallados */
.servicios-detallados {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.servicio-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.servicio-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.servicio-icon {
    font-size: 2.5rem;
}

.servicio-header h3 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 0;
}

.servicio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    background: #e9ecef;
}

.servicio-descripcion {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.servicio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.servicio-col h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.servicio-col ul {
    list-style: none;
    padding: 0;
}

.servicio-col ul li {
    margin-bottom: 0.7rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.servicio-col ul li i {
    width: 18px;
    font-size: 0.85rem;
    color: #6C63FF;
}

.servicio-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-solicitar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    color: #1976D2;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #1976D2;
    cursor: pointer;
}

.btn-solicitar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(25, 118, 210, 0.3);
    background: #1976D2;
    color: white;
}

.btn-solicitar:hover i {
    transform: translateX(5px);
    color: white;
}

/* Colores para servicios en index */
.service-card-blue .service-icon-blue {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

.service-card-green .service-icon-green {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.service-card-gray .service-icon-gray {
    background: linear-gradient(135deg, #607D8B, #455A64);
    box-shadow: 0 10px 20px rgba(96, 125, 139, 0.3);
}

.service-card-red .service-icon-red {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    box-shadow: 0 10px 20px rgba(244, 67, 54, 0.3);
}

/* Botón Ver servicios */
.servicios-btn-container {
    margin-top: 2rem;
    text-align: center;
}

.btn-ver-servicios {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #FFFFFF;
    color: #6C63FF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.25);
    border: 2px solid #6C63FF;
}

.btn-ver-servicios:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.35);
    background: #6C63FF;
    color: white;
}

.btn-ver-servicios:hover i {
    transform: translateX(5px);
}

/* Contact note */
.contact-card .contact-note {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 0.5rem;
}

/* ========== MENÚ HAMBURGUESA CORREGIDO (LADO DERECHO) ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: block !important;
        font-size: 1.5rem;
        cursor: pointer;
        color: #1a1a2e;
        background: none;
        border: none;
        z-index: 1001;
        padding: 0.5rem;
        margin-left: auto;
    }
    
    .navbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-img-nav {
        height: 45px;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 280px !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 80px 0 2rem 0 !important;
        transition: right 0.3s ease !important;
        box-shadow: -2px 0 20px rgba(0,0,0,0.15) !important;
        z-index: 1000 !important;
        display: flex !important;
        margin: 0 !important;
        gap: 0 !important;
    }
    
    .nav-links.active {
        right: 0 !important;
        left: auto !important;
    }
    
    .nav-links li {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .nav-links li:last-child {
        border-bottom: none !important;
    }
    
    .nav-links a {
        font-size: 1rem !important;
        padding: 0.8rem 1.5rem !important;
        display: block !important;
        color: #1a1a2e !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 150, 255, 0.05)) !important;
        color: #6C63FF !important;
        padding-left: 2rem !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .hero-img {
        max-width: 280px;
    }
    
    .services-grid,
    .differences-grid,
    .tech-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
}

/* Overlay para el menú */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* ===== NUEVA SECCIÓN PROCESO: ILUSTRACIONES CON ANIMACIONES CSS NATIVAS ===== */
.process {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 50px;
}

.process-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.process-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternar orden de imagen y texto */
.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    flex: 1;
    max-width: 500px;
}

.process-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: -10px;
    letter-spacing: -2px;
}

.process-content h3 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.process-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6C63FF, #FF6584);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.process-item:hover .process-content h3::after {
    width: 80px;
}

.process-item:nth-child(even) .process-content h3::after {
    left: auto;
    right: 0;
}

.process-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Contenedor de la Animación (Ícono animado estilo dibujo) */
.process-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 220px;
}

.illustration-bg {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, rgba(108, 99, 255, 0.02) 50%, rgba(255, 255, 255, 0) 80%);
    border-radius: 50%;
    z-index: 0;
    transition: transform 0.5s ease;
}

.process-item:hover .illustration-bg {
    transform: scale(1.05);
}

/* Ícono animado principal */
.animate-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #f8f4ff, #f0ebff);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.process-item:hover .animate-icon {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.25);
}

.animate-icon i {
    font-size: 4rem;
    color: #6C63FF;
    transition: all 0.3s ease;
}

.process-item:hover .animate-icon i {
    transform: scale(1.1);
    color: #FF6584;
}

/* Partículas decorativas alrededor del ícono */
.icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.icon-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #6C63FF;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s ease-in-out infinite;
}

.icon-particles span:nth-child(1) { top: 10%; left: 80%; animation-delay: 0s; width: 4px; height: 4px; }
.icon-particles span:nth-child(2) { top: 70%; left: 15%; animation-delay: 0.5s; width: 5px; height: 5px; background: #FF6584; }
.icon-particles span:nth-child(3) { top: 20%; left: 10%; animation-delay: 1s; width: 3px; height: 3px; }
.icon-particles span:nth-child(4) { top: 85%; left: 85%; animation-delay: 1.5s; width: 4px; height: 4px; background: #FFB347; }
.icon-particles span:nth-child(5) { top: 45%; left: 90%; animation-delay: 0.8s; width: 5px; height: 5px; }
.icon-particles span:nth-child(6) { top: 60%; left: 5%; animation-delay: 2s; width: 3px; height: 3px; background: #6C63FF; }

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(0) scale(0); }
    50% { opacity: 0.8; transform: translateY(-15px) scale(1); }
    100% { opacity: 0; transform: translateY(-30px) scale(0); }
}

.process-item:hover .icon-particles span {
    animation-duration: 2s;
}

/* Animación de onda alrededor del ícono */
.icon-wave {
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 45px;
    background: transparent;
    border: 2px solid rgba(108, 99, 255, 0.3);
    z-index: 0;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0% { transform: scale(0.9); opacity: 0.6; }
    100% { transform: scale(1.2); opacity: 0; }
}

@media (max-width: 992px) {
    .process-item, .process-item:nth-child(even) {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
    }
    .process-content {
        max-width: 100%;
        text-align: center;
    }
    .process-content h3::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    .animate-icon {
        width: 120px;
        height: 120px;
    }
    .animate-icon i {
        font-size: 3rem;
    }
    .process-number {
        font-size: 3rem;
    }
    .process-content h3 {
        font-size: 1.5rem;
    }
    .illustration-bg {
        width: 180px;
        height: 180px;
    }
    .icon-wave {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 480px) {
    .animate-icon {
        width: 100px;
        height: 100px;
    }
    .animate-icon i {
        font-size: 2.5rem;
    }
    .process-grid {
        gap: 1.5rem;
    }
}

/* ===== SERVICIOS - ICONOS CON COLORES Y ANIMACIONES MEJORADAS ===== */
.services {
    padding: 80px 0;
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Iconos con colores específicos y animaciones */
.service-icon {
    width: 85px;
    height: 85px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
    position: relative;
}

.service-icon i {
    font-size: 2.3rem;
    color: white;
    transition: all 0.3s ease;
}

/* Efecto de onda al hacer hover */
.service-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
}

.service-card:hover .service-icon::after {
    width: 120%;
    height: 120%;
}

/* Color Azul - Desarrollo Web */
.service-card-blue .service-icon {
    background: linear-gradient(135deg, #2196F3, #1565C0);
    box-shadow: 0 12px 25px rgba(33, 150, 243, 0.35);
}

.service-card-blue:hover .service-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 18px 35px rgba(33, 150, 243, 0.5);
}

.service-card-blue:hover .service-icon i {
    transform: scale(1.08);
}

/* Color Verde - Aplicaciones Android */
.service-card-green .service-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    box-shadow: 0 12px 25px rgba(76, 175, 80, 0.35);
}

.service-card-green:hover .service-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 18px 35px rgba(76, 175, 80, 0.5);
}

.service-card-green:hover .service-icon i {
    transform: scale(1.08);
}

/* Color Gris/Acero - Software Empresarial */
.service-card-gray .service-icon {
    background: linear-gradient(135deg, #546E7A, #37474F);
    box-shadow: 0 12px 25px rgba(84, 110, 122, 0.35);
}

.service-card-gray:hover .service-icon {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 18px 35px rgba(84, 110, 122, 0.5);
}

.service-card-gray:hover .service-icon i {
    transform: scale(1.08);
}

/* Color Rojo/Rosa - Email Corporativo */
.service-card-red .service-icon {
    background: linear-gradient(135deg, #F44336, #C62828);
    box-shadow: 0 12px 25px rgba(244, 67, 54, 0.35);
}

.service-card-red:hover .service-icon {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 18px 35px rgba(244, 67, 54, 0.5);
}

.service-card-red:hover .service-icon i {
    transform: scale(1.08);
}

/* Animación de entrada para las tarjetas */
.service-card {
    opacity: 0;
    animation: cardFadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Texto de las tarjetas */
.service-card h3 {
    font-size: 1.5rem;
    margin: 1rem 0 0.8rem;
    color: #1a1a2e;
    font-weight: 700;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    background: linear-gradient(135deg, #1a1a2e, #6C63FF);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: #6c757d;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover p {
    color: #4a5568;
}

/* Efecto de brillo en borde al hacer hover */
.service-card {
    position: relative;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, transparent, transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: all 0.4s ease;
}

.service-card-blue:hover::after {
    background: linear-gradient(135deg, #2196F3, #64B5F6);
}

.service-card-green:hover::after {
    background: linear-gradient(135deg, #4CAF50, #81C784);
}

.service-card-gray:hover::after {
    background: linear-gradient(135deg, #546E7A, #90A4AE);
}

.service-card-red:hover::after {
    background: linear-gradient(135deg, #F44336, #EF9A9A);
}

@media (max-width: 768px) {
    .service-icon {
        width: 70px;
        height: 70px;
    }
    .service-icon i {
        font-size: 1.8rem;
    }
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* ===== TECNOLOGÍAS - CARDS CON COLORES Y ANIMACIÓN AUTOMÁTICA ===== */
.technologies {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.tech-category {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Efecto de brillo en el borde */
.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    transition: left 0.4s ease;
}

/* Efecto de fondo al hacer hover */
.tech-category::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
    border-radius: 20px;
}

/* Estado activo (hover o auto-seleccionado) */
.tech-category.active,
.tech-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
}

.tech-category.active::after,
.tech-category:hover::after {
    opacity: 0.08;
}

.tech-category.active::before,
.tech-category:hover::before {
    left: 0;
}

.tech-category i,
.tech-category h3,
.tech-category p {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.tech-category i {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.tech-category.active i,
.tech-category:hover i {
    transform: scale(1.1);
}

.tech-category h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.tech-category p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

/* Colores específicos por categoría */

/* Frontend - Azul */
.tech-frontend::before { background: linear-gradient(90deg, #2196F3, #64B5F6); }
.tech-frontend::after { background: radial-gradient(circle, #2196F3, transparent); }
.tech-frontend i { color: #2196F3; }
.tech-frontend.active, .tech-frontend:hover { box-shadow: 0 20px 35px rgba(33, 150, 243, 0.25); }
.tech-frontend.active h3, .tech-frontend:hover h3 { color: #2196F3; }

/* Backend - Verde */
.tech-backend::before { background: linear-gradient(90deg, #4CAF50, #81C784); }
.tech-backend::after { background: radial-gradient(circle, #4CAF50, transparent); }
.tech-backend i { color: #4CAF50; }
.tech-backend.active, .tech-backend:hover { box-shadow: 0 20px 35px rgba(76, 175, 80, 0.25); }
.tech-backend.active h3, .tech-backend:hover h3 { color: #4CAF50; }

/* Bases de datos - Naranja */
.tech-database::before { background: linear-gradient(90deg, #FF9800, #FFB74D); }
.tech-database::after { background: radial-gradient(circle, #FF9800, transparent); }
.tech-database i { color: #FF9800; }
.tech-database.active, .tech-database:hover { box-shadow: 0 20px 35px rgba(255, 152, 0, 0.25); }
.tech-database.active h3, .tech-database:hover h3 { color: #FF9800; }

/* Hosting & Cloud - Morado */
.tech-cloud::before { background: linear-gradient(90deg, #9C27B0, #CE93D8); }
.tech-cloud::after { background: radial-gradient(circle, #9C27B0, transparent); }
.tech-cloud i { color: #9C27B0; }
.tech-cloud.active, .tech-cloud:hover { box-shadow: 0 20px 35px rgba(156, 39, 176, 0.25); }
.tech-cloud.active h3, .tech-cloud:hover h3 { color: #9C27B0; }

/* Optimización - Rojo/Cereza */
.tech-optimization::before { background: linear-gradient(90deg, #E91E63, #F06292); }
.tech-optimization::after { background: radial-gradient(circle, #E91E63, transparent); }
.tech-optimization i { color: #E91E63; }
.tech-optimization.active, .tech-optimization:hover { box-shadow: 0 20px 35px rgba(233, 30, 99, 0.25); }
.tech-optimization.active h3, .tech-optimization:hover h3 { color: #E91E63; }

/* Animación de pulso ligero para el activo */
.tech-category.active {
    animation: softPulse 0.5s ease;
}

@keyframes softPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .tech-category {
        padding: 1.5rem 1rem;
    }
    .tech-category i {
        font-size: 2.2rem;
    }
    .tech-category h3 {
        font-size: 1.1rem;
    }
}

/* ===== SECCIÓN PROCESO - ICONOS CON FONDO ANIMADO AL HOVER ===== */
.process {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 50px;
}

.process-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.process-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-content {
    flex: 1;
    max-width: 500px;
}

.process-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: -10px;
    letter-spacing: -2px;
}

.process-content h3 {
    font-size: 1.8rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    position: relative;
    font-weight: 700;
}

.process-content h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #6C63FF, #FF6584);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.process-item:hover .process-content h3::after {
    width: 80px;
}

.process-item:nth-child(even) .process-content h3::after {
    left: auto;
    right: 0;
}

.process-content p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

/* Contenedor de la animación */
.process-illustration {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 260px;
}

/* Fondo de movimiento (ondas expansivas) */
.illustration-bg {
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.08) 0%, rgba(108, 99, 255, 0.02) 50%, rgba(255, 255, 255, 0) 80%);
    border-radius: 50%;
    z-index: 0;
    transition: all 0.5s ease;
}

/* Ondas adicionales que aparecen al hacer hover */
.illustration-bg::before,
.illustration-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
}

.illustration-bg::before {
    border: 2px solid rgba(108, 99, 255, 0.3);
}

.illustration-bg::after {
    border: 2px solid rgba(255, 101, 132, 0.3);
}

/* Animación de onda al hacer hover */
.process-item:hover .illustration-bg::before {
    animation: rippleExpand 1.2s ease-out infinite;
}

.process-item:hover .illustration-bg::after {
    animation: rippleExpand 1.2s ease-out 0.4s infinite;
}

@keyframes rippleExpand {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: 180%;
        height: 180%;
        opacity: 0;
    }
}

/* Ícono animado principal */
.animate-icon {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #f8f4ff, #f0ebff);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 15px 35px rgba(108, 99, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo interno al hacer hover */
.animate-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 99, 255, 0.15), transparent);
    transform: scale(0);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.process-item:hover .animate-icon::before {
    transform: scale(1);
}

.animate-icon i {
    font-size: 4rem;
    color: #6C63FF;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
}

.process-item:hover .animate-icon {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 45px rgba(108, 99, 255, 0.25);
}

.process-item:hover .animate-icon i {
    transform: scale(1.1);
    color: #FF6584;
}

/* Partículas flotantes alrededor del icono */
.icon-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.icon-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #6C63FF;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.process-item:hover .icon-particles span {
    animation: particleFloat 1.5s ease-in-out infinite;
}

.icon-particles span:nth-child(1) { top: 10%; left: 80%; animation-delay: 0s; width: 4px; height: 4px; }
.icon-particles span:nth-child(2) { top: 70%; left: 15%; animation-delay: 0.3s; width: 5px; height: 5px; background: #FF6584; }
.icon-particles span:nth-child(3) { top: 20%; left: 10%; animation-delay: 0.6s; width: 3px; height: 3px; }
.icon-particles span:nth-child(4) { top: 85%; left: 85%; animation-delay: 0.9s; width: 4px; height: 4px; background: #FFB347; }
.icon-particles span:nth-child(5) { top: 45%; left: 90%; animation-delay: 0.2s; width: 5px; height: 5px; }
.icon-particles span:nth-child(6) { top: 60%; left: 5%; animation-delay: 0.5s; width: 3px; height: 3px; background: #6C63FF; }
.icon-particles span:nth-child(7) { top: 15%; left: 20%; animation-delay: 0.7s; width: 4px; height: 4px; background: #FF6584; }
.icon-particles span:nth-child(8) { top: 75%; left: 70%; animation-delay: 0.4s; width: 3px; height: 3px; }

@keyframes particleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-15px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0);
    }
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .process-item, .process-item:nth-child(even) {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1.5rem;
    }
    .process-content {
        max-width: 100%;
        text-align: center;
    }
    .process-content h3::after {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }
    .animate-icon {
        width: 120px;
        height: 120px;
    }
    .animate-icon i {
        font-size: 3rem;
    }
    .process-number {
        font-size: 3rem;
    }
    .process-content h3 {
        font-size: 1.5rem;
    }
    .illustration-bg {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .animate-icon {
        width: 100px;
        height: 100px;
    }
    .animate-icon i {
        font-size: 2.5rem;
    }
    .process-grid {
        gap: 1.5rem;
    }
    .illustration-bg {
        width: 160px;
        height: 160px;
    }
}

/* ===== SECCIÓN SOLUCIONES - CON IMÁGENES Y ANIMACIONES ===== */
.project-types {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

/* Grid de soluciones - diseño moderno tipo cards */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
}

/* Animación de entrada escalonada */
.solution-card.animated {
    animation: cardReveal 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1) forwards;
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Retrasos escalonados para cada card */
.solution-card:nth-child(1) { animation-delay: 0.05s; }
.solution-card:nth-child(2) { animation-delay: 0.1s; }
.solution-card:nth-child(3) { animation-delay: 0.15s; }
.solution-card:nth-child(4) { animation-delay: 0.2s; }
.solution-card:nth-child(5) { animation-delay: 0.25s; }
.solution-card:nth-child(6) { animation-delay: 0.3s; }

/* Hover effect */
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(108, 99, 255, 0.15);
}

/* Contenedor de la imagen */
.solution-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.solution-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Efecto de zoom en la imagen al hacer hover */
.solution-card:hover .solution-image img {
    transform: scale(1.08);
}

/* Overlay de color sobre la imagen */
.solution-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 101, 132, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.solution-card:hover .solution-image::after {
    opacity: 1;
}

/* Contenido de la solución */
.solution-content {
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

/* Ícono decorativo */
.solution-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px auto 1rem auto;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(108, 99, 255, 0.3);
    transition: all 0.3s ease;
}

.solution-icon i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 12px 25px rgba(108, 99, 255, 0.4);
}

.solution-card:hover .solution-icon i {
    transform: scale(1.1);
}

.solution-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0.8rem 0 0.5rem;
    transition: color 0.3s ease;
}

.solution-card:hover .solution-content h3 {
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-content p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Efecto de borde inferior animado */
.solution-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #6C63FF, #FF6584, #FFB347);
    transition: width 0.4s ease;
    border-radius: 0 0 24px 24px;
}

.solution-card:hover::after {
    width: 100%;
}


/* Responsive */
@media (max-width: 768px) {
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .solution-image {
        height: 180px;
    }
    
    .solution-content h3 {
        font-size: 1.2rem;
    }
    
    .solution-icon {
        width: 45px;
        height: 45px;
    }
    
    .solution-icon i {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-image {
        height: 160px;
    }
}

/* Animación de entrada al hacer scroll usando Intersection Observer */
.solution-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SECCIÓN SOLUCIONES - BOTÓN ÚNICO ===== */
.soluciones-btn-container {
    margin-top: 3rem;
    text-align: center;
}

.btn-ver-soluciones {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #FFFFFF;
    color: #6C63FF;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.25);
    border: 2px solid #6C63FF;
}

.btn-ver-soluciones:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 99, 255, 0.35);
    background: #6C63FF;
    color: white;
}

.btn-ver-soluciones:hover i {
    transform: translateX(5px);
}

/* ===== PÁGINA DE SERVICIOS - ESTILOS Y ANIMACIONES ===== */
.servicios-detallados {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    min-height: 100vh;
}

/* Tarjeta de servicio con animación al hacer scroll (solo aparece una vez) */
.servicio-card {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.08);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

/* Estado visible cuando aparece en scroll (se queda estático) */
.servicio-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Efecto de borde superior animado */
.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6C63FF, #FF6584, #FFB347);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.servicio-card.visible::before {
    transform: scaleX(1);
}

/* Hover effect */
.servicio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(108, 99, 255, 0.12);
}

/* Cabecera del servicio */
.servicio-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.servicio-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #6C63FF, #FF6584);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(108, 99, 255, 0.25);
    transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.35);
}

.servicio-icon i {
    font-size: 2rem;
    color: white;
}

.servicio-titulo h3 {
    font-size: 1.8rem;
    margin: 0;
    color: #1a1a2e;
    font-weight: 700;
}

.servicio-subtitulo {
    font-size: 0.9rem;
    color: #6C63FF;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Badge */
.servicio-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(255, 101, 132, 0.08));
    color: #6C63FF;
}

.servicio-badge i {
    font-size: 0.9rem;
}

/* Descripción */
.servicio-descripcion {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Grid de características */
.servicio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.servicio-col h4 {
    font-size: 1rem;
    color: #1a1a2e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
}

.servicio-col h4 i {
    color: #6C63FF;
    font-size: 1.1rem;
}

.servicio-col ul {
    list-style: none;
    padding: 0;
}

.servicio-col ul li {
    margin-bottom: 0.7rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.servicio-col ul li i {
    width: 20px;
    font-size: 0.85rem;
    color: #6C63FF;
}

/* Footer de la tarjeta */
.servicio-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e9ecef;
}

.btn-solicitar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: white;
    color: #6C63FF;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #6C63FF;
    cursor: pointer;
}

.btn-solicitar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 99, 255, 0.3);
    background: #6C63FF;
    color: white;
}

.btn-solicitar:hover i {
    transform: translateX(5px);
    color: white;
}

/* Retrasos escalonados para animaciones más fluidas */
.servicio-card:nth-child(1) { transition-delay: 0s; }
.servicio-card:nth-child(2) { transition-delay: 0.05s; }
.servicio-card:nth-child(3) { transition-delay: 0.1s; }
.servicio-card:nth-child(4) { transition-delay: 0.15s; }
.servicio-card:nth-child(5) { transition-delay: 0.2s; }

/* Asegurar que los iconos de FontAwesome se vean correctamente */
.servicio-icon i,
.servicio-badge i,
.servicio-col h4 i,
.servicio-col ul li i,
.btn-solicitar i {
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .servicios-detallados {
        padding: 120px 0 60px;
    }
    .servicio-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .servicio-header {
        flex-direction: column;
        text-align: center;
    }
    .servicio-titulo h3 {
        font-size: 1.5rem;
    }
    .servicio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .servicio-icon {
        width: 55px;
        height: 55px;
    }
    .servicio-icon i {
        font-size: 1.6rem;
    }
    .btn-solicitar {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .servicio-titulo h3 {
        font-size: 1.3rem;
    }
    .servicio-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }
}

/* ===== COLORES DISTINTIVOS POR SERVICIO ===== */

/* Servicio 1: Desarrollo Web Básico - Azul */
.servicio-card:nth-child(1) .servicio-icon {
    background: linear-gradient(135deg, #2196F3, #1565C0);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.25);
}
.servicio-card:nth-child(1):hover .servicio-icon {
    box-shadow: 0 15px 30px rgba(33, 150, 243, 0.4);
}
.servicio-card:nth-child(1) .servicio-badge {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
    color: #2196F3;
}
.servicio-card:nth-child(1) .servicio-col h4 i,
.servicio-card:nth-child(1) .servicio-col ul li i {
    color: #2196F3;
}
.servicio-card:nth-child(1)::before {
    background: linear-gradient(90deg, #2196F3, #64B5F6, #2196F3);
}

/* Servicio 2: Desarrollo Web Corporativo - Azul Oscuro/Acero */
.servicio-card:nth-child(2) .servicio-icon {
    background: linear-gradient(135deg, #455A64, #263238);
    box-shadow: 0 10px 20px rgba(69, 90, 100, 0.25);
}
.servicio-card:nth-child(2):hover .servicio-icon {
    box-shadow: 0 15px 30px rgba(69, 90, 100, 0.4);
}
.servicio-card:nth-child(2) .servicio-badge {
    background: linear-gradient(135deg, rgba(69, 90, 100, 0.1), rgba(69, 90, 100, 0.05));
    color: #455A64;
}
.servicio-card:nth-child(2) .servicio-col h4 i,
.servicio-card:nth-child(2) .servicio-col ul li i {
    color: #455A64;
}
.servicio-card:nth-child(2)::before {
    background: linear-gradient(90deg, #455A64, #78909C, #455A64);
}

/* Servicio 3: Desarrollo Web Profesional - Púrpura/Dorado */
.servicio-card:nth-child(3) .servicio-icon {
    background: linear-gradient(135deg, #9C27B0, #6A1B9A);
    box-shadow: 0 10px 20px rgba(156, 39, 176, 0.25);
}
.servicio-card:nth-child(3):hover .servicio-icon {
    box-shadow: 0 15px 30px rgba(156, 39, 176, 0.4);
}
.servicio-card:nth-child(3) .servicio-badge {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1), rgba(156, 39, 176, 0.05));
    color: #9C27B0;
}
.servicio-card:nth-child(3) .servicio-col h4 i,
.servicio-card:nth-child(3) .servicio-col ul li i {
    color: #9C27B0;
}
.servicio-card:nth-child(3)::before {
    background: linear-gradient(90deg, #9C27B0, #CE93D8, #9C27B0);
}

/* Servicio 4: Aplicaciones Android - Verde */
.servicio-card:nth-child(4) .servicio-icon {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.25);
}
.servicio-card:nth-child(4):hover .servicio-icon {
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4);
}
.servicio-card:nth-child(4) .servicio-badge {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
    color: #4CAF50;
}
.servicio-card:nth-child(4) .servicio-col h4 i,
.servicio-card:nth-child(4) .servicio-col ul li i {
    color: #4CAF50;
}
.servicio-card:nth-child(4)::before {
    background: linear-gradient(90deg, #4CAF50, #81C784, #4CAF50);
}

/* Servicio 5: Software Empresarial - Naranja */
.servicio-card:nth-child(5) .servicio-icon {
    background: linear-gradient(135deg, #FF9800, #E65100);
    box-shadow: 0 10px 20px rgba(255, 152, 0, 0.25);
}
.servicio-card:nth-child(5):hover .servicio-icon {
    box-shadow: 0 15px 30px rgba(255, 152, 0, 0.4);
}
.servicio-card:nth-child(5) .servicio-badge {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.05));
    color: #FF9800;
}
.servicio-card:nth-child(5) .servicio-col h4 i,
.servicio-card:nth-child(5) .servicio-col ul li i {
    color: #FF9800;
}
.servicio-card:nth-child(5)::before {
    background: linear-gradient(90deg, #FF9800, #FFB74D, #FF9800);
}

/* Efecto hover adicional con color específico para cada badge */
.servicio-card:nth-child(1):hover .servicio-badge {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.08));
}
.servicio-card:nth-child(2):hover .servicio-badge {
    background: linear-gradient(135deg, rgba(69, 90, 100, 0.15), rgba(69, 90, 100, 0.08));
}
.servicio-card:nth-child(3):hover .servicio-badge {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(156, 39, 176, 0.08));
}
.servicio-card:nth-child(4):hover .servicio-badge {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08));
}
.servicio-card:nth-child(5):hover .servicio-badge {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.15), rgba(255, 152, 0, 0.08));
}

/* Efecto de borde inferior animado con colores específicos */
.servicio-card:nth-child(1) .btn-solicitar {
    border-color: #2196F3;
    color: #2196F3;
}
.servicio-card:nth-child(1) .btn-solicitar:hover {
    background: #2196F3;
    color: white;
}

.servicio-card:nth-child(2) .btn-solicitar {
    border-color: #455A64;
    color: #455A64;
}
.servicio-card:nth-child(2) .btn-solicitar:hover {
    background: #455A64;
    color: white;
}

.servicio-card:nth-child(3) .btn-solicitar {
    border-color: #9C27B0;
    color: #9C27B0;
}
.servicio-card:nth-child(3) .btn-solicitar:hover {
    background: #9C27B0;
    color: white;
}

.servicio-card:nth-child(4) .btn-solicitar {
    border-color: #4CAF50;
    color: #4CAF50;
}
.servicio-card:nth-child(4) .btn-solicitar:hover {
    background: #4CAF50;
    color: white;
}

.servicio-card:nth-child(5) .btn-solicitar {
    border-color: #FF9800;
    color: #FF9800;
}
.servicio-card:nth-child(5) .btn-solicitar:hover {
    background: #FF9800;
    color: white;
}