/* Variables */
:root {
    --primary-color: #3A6FEB;
    --primary-hover: #2250BF;
    --secondary-color: #00E4FF;
    --dark-blue: #031B4E;
    --deep-space: #020B23;
    --space-blue: #051842;
    --light-blue: #E8F0FF;
    --gradient-blue: linear-gradient(135deg, var(--primary-color), #4E57FB);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
    --gray-light: #f8f9fa;
    --gray: #9BA6B2;
    --dark: #212529;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --glow-shadow: 0 0 15px rgba(58, 111, 235, 0.5);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    line-height: 1.6;
    background-color: var(--deep-space);
    background-image: linear-gradient(to bottom, var(--deep-space), var(--space-blue));
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Estrellas y efectos cósmicos */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px rgba(58, 111, 235, 0.2);
    animation: twinkle var(--duration, 5s) ease-in-out infinite;
    opacity: 0;
}

#star1 {
    width: 2px;
    height: 2px;
    top: 15%;
    left: 10%;
    --duration: 6s;
    animation-delay: 0.5s;
}

#star2 {
    width: 3px;
    height: 3px;
    top: 25%;
    left: 25%;
    --duration: 8s;
    animation-delay: 1s;
}

#star3 {
    width: 1px;
    height: 1px;
    top: 50%;
    left: 15%;
    --duration: 4s;
    animation-delay: 1.5s;
}

#star4 {
    width: 2px;
    height: 2px;
    top: 70%;
    left: 35%;
    --duration: 7s;
    animation-delay: 0s;
}

#star5 {
    width: 4px;
    height: 4px;
    top: 30%;
    left: 75%;
    --duration: 5s;
    animation-delay: 2s;
}

#star6 {
    width: 2px;
    height: 2px;
    top: 60%;
    left: 85%;
    --duration: 9s;
    animation-delay: 1s;
}

#star7 {
    width: 1px;
    height: 1px;
    top: 85%;
    left: 60%;
    --duration: 6s;
    animation-delay: 3s;
}

#star8 {
    width: 3px;
    height: 3px;
    top: 10%;
    left: 40%;
    --duration: 7s;
    animation-delay: 2.5s;
}

#star9 {
    width: 2px;
    height: 2px;
    top: 40%;
    left: 90%;
    --duration: 5s;
    animation-delay: 0.7s;
}

#star10 {
    width: 4px;
    height: 4px;
    top: 90%;
    left: 10%;
    --duration: 8s;
    animation-delay: 1.2s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

.btn-primary {
    display: inline-block;
    background: var(--gradient-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(58, 111, 235, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 111, 235, 0.5);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0.5rem auto 0;
    box-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

.section-subtitle {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--gray);
    font-size: 1.1rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    backdrop-filter: none;
    box-shadow: none;
    padding: 15px 0;
    transition: var(--transition);
    border-bottom: none;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(58, 111, 235, 0.3);
    transition: all 0.5s ease;
    cursor: pointer;
}

.site-name:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 15px rgba(0, 228, 255, 0.8);
    transform: scale(1.05);
    letter-spacing: 1px;
}

/* Hero */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -30%;
    left: -20%;
    background: url('../img/wave-bg.svg') no-repeat;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
}

.hero-content .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--gray);
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    align-items: center;
}

.hero-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(58, 111, 235, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(58, 111, 235, 0.5);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(58, 111, 235, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(58, 111, 235, 0.5), 0 0 15px rgba(0, 228, 255, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(58, 111, 235, 0.3);
    }
}

/* Servicios */
.servicios {
    padding: 120px 0;
    position: relative;
}

.servicios::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.servicio-card {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: all 0.6s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(58, 111, 235, 0.3);
    border: 1px solid rgba(58, 111, 235, 0.3);
}

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

.servicio-card .icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-blue);
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(58, 111, 235, 0.5);
}

.servicio-card .icon i {
    font-size: 28px;
    color: white;
}

.servicio-card h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.3rem;
}

.servicio-card p {
    color: var(--gray);
    flex-grow: 1;
}

/* Integraciones */
.integraciones {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.integraciones::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.apps-grid {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 3rem auto 0;
    gap: 40px;
}

.app-row {
    display: flex;
    gap: 20px;
    position: relative;
    width: auto;
    padding: 10px 0;
}

.app-row:nth-child(1) {
    animation: scrollLeft 35s linear infinite;
}

.app-row:nth-child(2) {
    animation: scrollRight 35s linear infinite;
}

.app-row:nth-child(3) {
    animation: scrollLeft 30s linear infinite;
}

.app-row:nth-child(4) {
    animation: scrollRight 30s linear infinite;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.app-icon {
    background: rgba(255, 255, 255, 0.03);
    width: 110px;
    height: 110px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    margin-bottom: 10px;
    flex-shrink: 0;
}

.app-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(58, 111, 235, 0.3);
    border: 1px solid rgba(58, 111, 235, 0.3);
    background: rgba(255, 255, 255, 0.08);
    z-index: 5;
    animation-play-state: paused;
}

.app-row:hover {
    animation-play-state: paused;
}

.app-icon i {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
    transition: var(--transition);
}

.app-icon:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.app-icon span {
    font-size: 12px;
    color: var(--gray);
    transition: var(--transition);
}

.app-icon:hover span {
    color: #ffffff;
}

/* Ventajas */
.ventajas {
    padding: 100px 0;
    position: relative;
}

.ventajas::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.ventajas-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.ventaja-card {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    width: 100%;
}

.ventaja-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(58, 111, 235, 0.3);
    border: 1px solid rgba(58, 111, 235, 0.3);
}

.ventaja-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.ventaja-image {
    flex: 0 0 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ventaja-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ventaja-text {
    flex: 1;
    position: relative;
}

.ventaja-text .number {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(58, 111, 235, 0.1);
    text-shadow: 0 0 10px rgba(58, 111, 235, 0.1);
}

.ventaja-text h3 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.5rem;
}

.ventaja-text p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

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

.ventaja-list li {
    color: var(--gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ventaja-list li i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Proceso */
.proceso {
    padding: 100px 0;
    position: relative;
}

.proceso::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.proceso-timeline {
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.proceso-timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    height: calc(100% - 100px);
    top: 50px;
    left: 50px;
    background: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 228, 255, 0.5);
}

.proceso-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.proceso-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    z-index: 2;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(58, 111, 235, 0.5);
}

.proceso-content {
    background: var(--gradient-card);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-left: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.proceso-content h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.proceso-content p {
    color: var(--gray);
}

/* Contacto */
.contacto {
    padding: 120px 0;
    position: relative;
}

.contacto::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.contacto-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.form-container {
    background: var(--gradient-card);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(58, 111, 235, 0.2);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 10px;
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    color: #fff;
}

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

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    transition: var(--transition);
}

.form-group textarea + .input-icon {
    top: 20px;
    transform: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 111, 235, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.form-group input:focus + .input-icon,
.form-group textarea:focus + .input-icon {
    color: var(--primary-color);
}

.modern-form .btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: var(--gradient-blue);
}

.modern-form .btn-primary:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(58, 111, 235, 0.6), 
                0 0 30px rgba(58, 111, 235, 0.4),
                0 0 50px rgba(0, 228, 255, 0.3);
    letter-spacing: 1px;
}

.modern-form .btn-primary:hover i {
    transform: translateX(8px) scale(1.2);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.modern-form .btn-primary i {
    transition: all 0.4s ease;
}

.contacto-info {
    background: transparent;
    padding: 50px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: none;
    transition: none;
    border: none;
    backdrop-filter: none;
}

.contacto-info:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.info-header {
    text-align: center;
    margin-bottom: 40px;
}

.info-header p {
    color: var(--gray);
    margin-top: 10px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: transparent;
    border-radius: 12px;
    transition: none;
}

.info-item:hover {
    background: transparent;
    transform: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #fff;
}

.info-text p {
    color: var(--gray);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: transparent;
    border-radius: 12px;
    transition: none;
    color: var(--gray);
}

.social-link:hover {
    background: transparent;
    transform: none;
    color: var(--primary-color);
}

.social-link i {
    font-size: 20px;
}

.social-link span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4), 0 0 15px rgba(37, 211, 102, 0.5);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6), 0 0 20px rgba(37, 211, 102, 0.7);
}

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

/* Footer */
footer {
    background-color: transparent;
    color: white;
    padding: 60px 0;
    position: relative;
    z-index: 1;
    backdrop-filter: none;
    border-top: none;
    overflow: hidden;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    gap: 40px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    position: relative;
    padding: 20px;
}

.footer-logo .site-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 15px rgba(58, 111, 235, 0.5);
    margin: 0;
    position: relative;
    z-index: 2;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(58, 111, 235, 0.2) 0%, transparent 70%);
    filter: blur(10px);
    z-index: 1;
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
    text-align: center;
}

.footer-line {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.footer-line.left {
    justify-content: flex-end;
}

.footer-line.right {
    justify-content: flex-start;
}

.line-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(58, 111, 235, 0.8);
}

.line-path {
    height: 2px;
    flex: 1;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 20%,
        var(--primary-color) 80%,
        transparent 100%
    );
    position: relative;
    overflow: hidden;
}

.line-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(58, 111, 235, 0.8) 50%,
        transparent 100%
    );
    animation: line-flow 3s linear infinite;
}

@keyframes line-flow {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-line {
        width: 80%;
    }

    .footer-line.left {
        transform: rotate(180deg);
    }

    .footer-logo .site-name {
        font-size: 2rem;
    }
}

/* Media queries para la sección de servicios */
@media (max-width: 1200px) {
    .servicios-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

/* Responsive general */
@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contacto-grid {
        grid-template-columns: 1fr;
    }
    
    .ventaja-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ventaja-image {
        flex: 0 0 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .ventaja-text .number {
        position: relative;
        top: 0;
        right: 0;
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .cta-header {
        margin-top: 15px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .ventajas-grid {
        grid-template-columns: 1fr;
    }
    
    .proceso-timeline::before {
        display: none;
    }
    
    .proceso-item {
        flex-direction: column;
    }
    
    .proceso-number {
        margin: 0 auto 20px;
    }
    
    .proceso-content {
        margin-left: 0;
        text-align: center;
    }
    
    .ventaja-card {
        padding: 20px;
    }
    
    .ventaja-image {
        flex: 0 0 120px;
        height: 120px;
    }
    
    .ventaja-text h3 {
        font-size: 1.3rem;
    }
    
    .ventaja-text p {
        font-size: 1rem;
    }
}

/* Flujo de Trabajo */
.flujo-trabajo {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.flujo-trabajo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 0;
}

.flujo-container {
    position: relative;
    z-index: 1;
    margin-top: 3rem;
}

.flujo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    min-height: 600px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.flujo-nodo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: var(--gradient-card);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    width: 100%;
    aspect-ratio: 1;
    max-width: 120px;
    margin: 0 auto;
}

/* Posicionamiento circular de los nodos */
.flujo-nodo.central {
    grid-column: 2;
    grid-row: 2;
    transform: scale(1);
    background: var(--gradient-blue);
    border: none;
    max-width: 130px;
    border-radius: 50%;
    padding: 15px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    overflow: visible;
}

.nodo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(58, 111, 235, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.pulse-1, .pulse-2, .pulse-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(58, 111, 235, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.pulse-1 {
    animation: nodePulse 2s infinite;
}

.pulse-2 {
    animation: nodePulse 2s infinite 0.7s;
}

.pulse-3 {
    animation: nodePulse 2s infinite 1.4s;
}

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

.flujo-nodo.central .nodo-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.flujo-nodo.central .nodo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0;
}

.flujo-nodo.central .nodo-label {
    font-size: 0.85rem;
    line-height: 1.2;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.flujo-nodo.central .nodo-label span {
    display: block;
}

.flujo-nodo.central .nodo-label .novapsis {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.flujo-nodo.central .nodo-label .ia {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Posicionamiento de los nodos de entrada */
.nodo-1 { grid-column: 1; grid-row: 1; }
.nodo-2 { grid-column: 2; grid-row: 1; }
.nodo-3 { grid-column: 3; grid-row: 1; }
.nodo-4 { grid-column: 1; grid-row: 2; }
.nodo-5 { grid-column: 3; grid-row: 2; }
.nodo-6 { grid-column: 1; grid-row: 3; }
.nodo-7 { grid-column: 2; grid-row: 3; }
.nodo-8 { grid-column: 3; grid-row: 3; }

.flujo-nodo.central:hover {
    transform: scale(1.1);
}

.flujo-conexiones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.conexiones-svg {
    width: 100%;
    height: 100%;
}

.conexion-path {
    stroke: url(#gradient);
    stroke-width: 1.5;
    fill: none;
    filter: url(#glow);
    stroke-dasharray: 8;
    animation: dash 1s linear infinite;
    pointer-events: none;
}

.electricidad-path {
    stroke: #3A6FEB;
    stroke-width: 2;
    fill: none;
    filter: url(#glow);
    stroke-dasharray: 5;
    animation: electricidad 0.1s linear infinite;
    pointer-events: none;
}

@keyframes dash {
    to {
        stroke-dashoffset: 16;
    }
}

@keyframes electricidad {
    0% {
        stroke-dashoffset: 10;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .flujo-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 1fr);
        max-width: 600px;
    }

    .flujo-nodo.central {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .nodo-1 { grid-column: 1; grid-row: 1; }
    .nodo-2 { grid-column: 2; grid-row: 1; }
    .nodo-3 { grid-column: 1; grid-row: 3; }
    .nodo-4 { grid-column: 2; grid-row: 3; }
    .nodo-5 { grid-column: 1; grid-row: 4; }
    .nodo-6 { grid-column: 2; grid-row: 4; }
    .nodo-7 { grid-column: 1; grid-row: 5; }
    .nodo-8 { grid-column: 2; grid-row: 5; }
}

@media (max-width: 768px) {
    .flujo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(9, 1fr);
        max-width: 300px;
    }

    .flujo-nodo.central {
        grid-column: 1;
        grid-row: 5;
    }

    .nodo-1 { grid-column: 1; grid-row: 1; }
    .nodo-2 { grid-column: 1; grid-row: 2; }
    .nodo-3 { grid-column: 1; grid-row: 3; }
    .nodo-4 { grid-column: 1; grid-row: 4; }
    .nodo-5 { grid-column: 1; grid-row: 6; }
    .nodo-6 { grid-column: 1; grid-row: 7; }
    .nodo-7 { grid-column: 1; grid-row: 8; }
    .nodo-8 { grid-column: 1; grid-row: 9; }
}

/* Tecnología */
.tecnologia {
    padding: 100px 0;
    position: relative;
    background: transparent;
    overflow: hidden;
}

.tecnologia::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(58, 111, 235, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.tecnologia-content {
    position: relative;
    z-index: 1;
}

.tecnologia-header {
    text-align: center;
    margin-bottom: 60px;
}

.tecnologia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.tecnologia-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.tecnologia-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 111, 235, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tecnologia-card:hover {
    transform: translateY(-10px);
    border-color: rgba(58, 111, 235, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), 0 0 20px rgba(58, 111, 235, 0.2);
}

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

.tecnologia-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 15px;
    transition: all 0.4s ease;
}

.tecnologia-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: grayscale(100%) brightness(1.2);
    padding: 5px;
}

.tecnologia-card:hover .tecnologia-icon {
    background: rgba(58, 111, 235, 0.1);
    transform: scale(1.05);
}

.tecnologia-card:hover .tecnologia-icon img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
    animation: pulse 2s infinite;
}

/* Ajustes específicos para cada logo */
.tecnologia-card:nth-child(1) .tecnologia-icon img {
    padding: 10px;
}

.tecnologia-card:nth-child(2) .tecnologia-icon img {
    padding: 8px;
}

.tecnologia-card:nth-child(3) .tecnologia-icon img {
    padding: 12px;
}

.tecnologia-card:nth-child(4) .tecnologia-icon img {
    padding: 10px;
}

.tecnologia-card:nth-child(5) .tecnologia-icon img {
    padding: 8px;
}

.tecnologia-card:nth-child(6) .tecnologia-icon img {
    padding: 10px;
}

.tecnologia-info h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.tecnologia-info p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

.tecnologia-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tecnologia-footer p {
    color: var(--gray);
    font-size: 1.1rem;
    font-style: italic;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: grayscale(0%) brightness(1);
    }
    50% {
        transform: scale(1.1);
        filter: grayscale(0%) brightness(1.2);
    }
    100% {
        transform: scale(1);
        filter: grayscale(0%) brightness(1);
    }
}

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

@media (max-width: 768px) {
    .tecnologia-grid {
        grid-template-columns: 1fr;
    }
    
    .tecnologia-card {
        padding: 20px;
    }
    
    .tecnologia-icon {
        width: 80px;
        height: 80px;
        padding: 10px;
    }
}

/* Ajuste para el logo en la sección hero - completamente transparente */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 28%;
    margin: 0 auto;
    position: relative;
    background: transparent;
}

.logo-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
    background: transparent;
}

/* Efecto jello-horizontal */
.jello-horizontal {
    animation: jello-horizontal 0.9s linear both;
    animation-delay: 1s; /* Retraso inicial */
    animation-iteration-count: infinite; /* Repetir infinitamente */
    animation-direction: alternate; /* Alternar dirección */
    animation-duration: 3s; /* Duración más larga para que no sea tan intenso */
}

@keyframes jello-horizontal {
    0% {
        transform: scale3d(1, 1, 1);
    }
    30% {
        transform: scale3d(1.25, 0.75, 1);
    }
    40% {
        transform: scale3d(0.75, 1.25, 1);
    }
    50% {
        transform: scale3d(1.15, 0.85, 1);
    }
    65% {
        transform: scale3d(0.95, 1.05, 1);
    }
    75% {
        transform: scale3d(1.05, 0.95, 1);
    }
    100% {
        transform: scale3d(1, 1, 1);
    }
}

/* Media Queries mejoradas */
@media (max-width: 1200px) {
  .container {
    max-width: 90%;
  }
  .hero-content {
    padding: 60px 0;
  }
}

@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text, .hero-image {
    width: 100%;
  }
  .hero-image {
    margin-top: 30px;
  }
  .services-grid, .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .services-grid, .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-steps {
    flex-direction: column;
  }
  .step {
    width: 100%;
    margin-bottom: 30px;
  }
  .navbar-links {
    display: none;
  }
  .mobile-menu-icon {
    display: block;
  }
  .mobile-menu {
    display: flex;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .cta-button {
    width: 100%;
  }
  .contact-form {
    padding: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Mejoras táctiles para móviles */
@media (max-width: 768px) {
  input, select, textarea, button {
    font-size: 16px; /* Evita zoom en campos de formulario en iOS */
  }
  
  .card, .cta-button, .nav-link {
    padding: 12px; /* Áreas táctiles más grandes */
  }
  
  button, .button, a {
    min-height: 44px; /* Altura mínima recomendada para áreas táctiles */
  }
}

/* Prevenir desbordamiento en móviles */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
} 