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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #0a1623 50%, #0d1b2a 75%, #001122 100%);
    color: #eaf6ff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(59,182,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30,144,255,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0,191,255,0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(138,43,226,0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(59,182,255,0.02)" stroke-width="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

header {
    background: transparent;
    padding-bottom: 0;
    position: relative;
    box-shadow: none;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 6vw;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(59,182,255,0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 60px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(59,182,255,0.5));
}

.logo:hover {
    transform: rotate(5deg) scale(1.05);
    filter: drop-shadow(0 0 15px rgba(59,182,255,0.8));
}

.brand {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(59,182,255,0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #eaf6ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    padding: 12px 20px;
    border-radius: 25px;
    background: rgba(59,182,255,0.08);
    border: 1px solid rgba(59,182,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59,182,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    color: #3bb6ff;
    background: rgba(59,182,255,0.15);
    border-color: rgba(59,182,255,0.4);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59,182,255,0.3);
    text-shadow: 0 0 10px rgba(59,182,255,0.5);
}

.nav-links a:active {
    transform: scale(0.98);
    background: rgba(59,182,255,0.2);
}

.hero {
    padding: 120px 8vw 80px 8vw;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 0 0 50px 50px;
    margin-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 250%;
    height: 250%;
    background: conic-gradient(from 0deg, transparent, rgba(59,182,255,0.08), transparent);
    animation: rotate 30s linear infinite;
    transform: translate(-50%, -50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease-in-out infinite;
    margin-bottom: 35px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.hero h1::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease-in-out infinite reverse;
    opacity: 0.3;
    filter: blur(3px);
    z-index: -1;
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 45px;
    color: #eaf6ff;
    text-shadow: 0 0 15px rgba(234,246,255,0.4);
    position: relative;
    z-index: 2;
    max-width: 850px;
    line-height: 1.6;
    font-weight: 400;
}

.cta-btn {
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1);
    background-size: 250% 250%;
    color: #fff;
    padding: 20px 55px;
    border: none;
    border-radius: 55px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 35px rgba(59,182,255,0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    animation: gradientFlow 5s ease-in-out infinite;
    z-index: 2;
    border: 2px solid rgba(59,182,255,0.25);
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.9s ease;
}

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

.cta-btn:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 15px 45px rgba(59,182,255,0.5);
    background-size: 180% 180%;
    border-color: rgba(59,182,255,0.6);
}

main {
    padding: 90px 8vw 0 8vw;
    position: relative;
    z-index: 1;
}

.servicios {
    margin-bottom: 110px;
    position: relative;
}

.servicios h2 {
    font-size: 2.8rem;
    color: #3bb6ff;
    text-align: center;
    margin-bottom: 70px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    position: relative;
}

.servicios h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #3bb6ff, #1e90ff, #00bfff);
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(59,182,255,0.4);
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 45px;
    position: relative;
}

.servicio-card {
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(59,182,255,0.25);
    border-radius: 22px;
    padding: 45px 35px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59,182,255,0.06), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
}

.servicio-card:hover::before {
    transform: translateX(100%);
}

.servicio-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.servicio-card:hover::after {
    opacity: 1;
}

.servicio-card:hover {
    transform: translateY(-25px) scale(1.08) rotateY(6deg);
    box-shadow: 0 30px 60px rgba(59,182,255,0.4);
    border-color: rgba(59,182,255,0.6);
    background: rgba(0,0,0,0.85);
}

.servicio-card h3 {
    font-size: 1.6rem;
    color: #3bb6ff;
    margin-bottom: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 12px rgba(59,182,255,0.4);
}

.servicio-card p {
    color: #eaf6ff;
    line-height: 1.7;
    font-size: 1.1rem;
    font-weight: 400;
}

.nosotros {
    margin-bottom: 110px;
    padding: 70px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: 2px solid rgba(59,182,255,0.25);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59,182,255,0.04), transparent);
    animation: shimmer 5s ease-in-out infinite;
}

.nosotros h2 {
    font-size: 2.8rem;
    color: #3bb6ff;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 0 15px rgba(59,182,255,0.4);
}

.nosotros p {
    color: #eaf6ff;
    line-height: 1.8;
    font-size: 1.3rem;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 0 8px rgba(234,246,255,0.2);
}

.contacto {
    margin-bottom: 90px;
    padding: 70px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(25px);
    border-radius: 25px;
    border: 2px solid rgba(59,182,255,0.25);
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.contacto h2 {
    font-size: 2.8rem;
    color: #3bb6ff;
    margin-bottom: 45px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    text-shadow: 0 0 15px rgba(59,182,255,0.4);
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 12px;
    color: #eaf6ff;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 8px rgba(234,246,255,0.2);
}

input, textarea {
    width: 100%;
    padding: 18px 22px;
    border-radius: 18px;
    border: 2px solid rgba(59,182,255,0.3);
    background: rgba(0,0,0,0.75);
    color: #eaf6ff;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(12px);
    font-weight: 500;
}

input:focus, textarea:focus {
    border-color: #3bb6ff;
    box-shadow: 0 0 25px rgba(59,182,255,0.3);
    background: rgba(0,0,0,0.85);
    transform: scale(1.01);
}

.form-msg {
    margin-top: 22px;
    font-size: 1.1rem;
    text-align: center;
    min-height: 35px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(59,182,255,0.12);
    border: 1px solid rgba(59,182,255,0.25);
    backdrop-filter: blur(8px);
}

footer {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(25px);
    color: #3bb6ff;
    text-align: center;
    padding: 45px 0 25px 0;
    font-size: 1.1rem;
    letter-spacing: 2.5px;
    border-top: 2px solid rgba(59,182,255,0.25);
    position: relative;
    box-shadow: 0 -8px 25px rgba(0,0,0,0.4);
}

/* Animaciones futuristas ultra élite */
@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 12px rgba(59,182,255,0.5);
    }
    50% {
        box-shadow: 0 0 35px rgba(59,182,255,0.8), 0 0 50px rgba(59,182,255,0.6);
    }
}

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

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

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

/* Efectos de partículas ultra élite */
.particle {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    filter: blur(0.5px);
}

/* Efectos de brillo para elementos élite */
.glow-effect {
    animation: glow 4s ease-in-out infinite;
}

/* Cursor personalizado ultra élite */
.custom-cursor {
    position: fixed;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, rgba(59,182,255,0.8) 0%, rgba(59,182,255,0.25) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: screen;
    transition: all 0.15s ease;
    box-shadow: 0 0 25px rgba(59,182,255,0.7);
}

/* Efectos de hover ultra élite */
.servicio-card {
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.servicio-card:hover {
    transform: translateY(-30px) scale(1.1) rotateY(8deg);
    box-shadow: 0 35px 70px rgba(59,182,255,0.5);
}

/* Efectos de texto ultra élite */
.hero h1 {
    background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 8s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 4vw;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 10px 16px;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .hero {
        padding: 40px 4vw 0 4vw;
        min-height: 70vh;
        margin-top: 140px; /* Espacio para el menú fijo */
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 25px;
    }
    
    .hero p {
        font-size: 1.3rem;
        margin-bottom: 35px;
    }
    
    .cta-btn {
        padding: 16px 40px;
        font-size: 1.1rem;
    }
    
    main {
        padding: 60px 4vw 0 4vw;
    }
    
    .servicios h2 {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .servicio-card {
        padding: 35px 25px;
    }
    
    .servicio-card h3 {
        font-size: 1.4rem;
    }
    
    .nosotros {
        padding: 50px 30px;
        margin-bottom: 80px;
    }
    
    .nosotros h2 {
        font-size: 2.2rem;
    }
    
    .nosotros p {
        font-size: 1.1rem;
    }
    
    .contacto {
        padding: 50px 30px;
        margin-bottom: 70px;
    }
    
    .contacto h2 {
        font-size: 2.2rem;
    }
    
    input, textarea {
        padding: 15px 18px;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .brand {
        font-size: 1.6rem;
        letter-spacing: 2px;
        /* Mantener el mismo gradiente que en desktop */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientFlow 6s ease-in-out infinite;
    }
    
    .logo {
        height: 50px;
        margin-right: 15px;
    }
    
    .navbar {
        padding: 12px 3vw;
        gap: 15px;
        background: rgba(0,0,0,0.95) !important;
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
    }
    
    .nav-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .nav-links a {
        padding: 8px 14px;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        /* Mantener los mismos colores que en desktop */
        color: #eaf6ff;
        background: rgba(59,182,255,0.08);
        border: 1px solid rgba(59,182,255,0.2);
    }
    
    .nav-links a:hover {
        /* Mantener los mismos colores en hover */
        color: #3bb6ff;
        background: rgba(59,182,255,0.15);
        border-color: rgba(59,182,255,0.4);
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 4px 15px rgba(59,182,255,0.3);
    }
    
    .hero {
        margin-top: 120px;
        padding: 30px 3vw 0 3vw;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 20px;
        letter-spacing: 1px;
        /* Mantener el mismo gradiente que en desktop */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientFlow 8s ease-in-out infinite;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }
    
    .cta-btn {
        padding: 14px 35px;
        font-size: 1rem;
        letter-spacing: 1px;
        /* Mantener el mismo gradiente que en desktop */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1);
        background-size: 250% 250%;
        animation: gradientFlow 5s ease-in-out infinite;
    }
    
    .servicios h2, .nosotros h2, .contacto h2 {
        font-size: 1.8rem;
        letter-spacing: 1.5px;
        /* Mantener el mismo color que en desktop */
        color: #3bb6ff;
    }
    
    .servicios-grid {
        gap: 25px;
    }
    
    .servicio-card {
        padding: 30px 20px;
        border-radius: 18px;
        /* Mantener los mismos colores de fondo y borde */
        background: rgba(0,0,0,0.75);
        border: 2px solid rgba(59,182,255,0.25);
    }
    
    .servicio-card h3 {
        font-size: 1.3rem;
        margin-bottom: 18px;
        /* Mantener el mismo color que en desktop */
        color: #3bb6ff;
    }
    
    .servicio-card p {
        font-size: 1rem;
        line-height: 1.6;
        /* Mantener el mismo color que en desktop */
        color: #eaf6ff;
    }
    
    .nosotros {
        padding: 40px 25px;
        margin-bottom: 60px;
        /* Mantener los mismos colores de fondo y borde */
        background: rgba(0,0,0,0.75);
        border: 2px solid rgba(59,182,255,0.25);
    }
    
    .nosotros p {
        font-size: 1rem;
        line-height: 1.7;
        /* Mantener el mismo color que en desktop */
        color: #eaf6ff;
    }
    
    .contacto {
        padding: 40px 25px;
        margin-bottom: 50px;
        /* Mantener los mismos colores de fondo y borde */
        background: rgba(0,0,0,0.75);
        border: 2px solid rgba(59,182,255,0.25);
    }
    
    .form-group {
        margin-bottom: 25px;
    }
    
    label {
        font-size: 1rem;
        margin-bottom: 10px;
        /* Mantener el mismo color que en desktop */
        color: #eaf6ff;
    }
    
    input, textarea {
        padding: 12px 16px;
        font-size: 1rem;
        border-radius: 15px;
        /* Mantener los mismos colores que en desktop */
        background: rgba(0,0,0,0.75);
        color: #eaf6ff;
        border: 2px solid rgba(59,182,255,0.3);
    }
    
    .form-msg {
        padding: 15px;
        font-size: 1rem;
        /* Mantener los mismos colores que en desktop */
        background: rgba(59,182,255,0.12);
        border: 1px solid rgba(59,182,255,0.25);
    }
    
    footer {
        padding: 35px 0 20px 0;
        font-size: 1rem;
        /* Mantener el mismo color que en desktop */
        color: #3bb6ff;
    }
    
    /* Desactivar efectos intensos en móvil pero mantener colores */
    .hero::before {
        animation: none;
        opacity: 0.3;
        /* Mantener el mismo color de fondo */
        background: conic-gradient(from 0deg, transparent, rgba(59,182,255,0.08), transparent);
    }
    
    .servicio-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 15px 30px rgba(59,182,255,0.3);
        /* Mantener los mismos colores en hover */
        border-color: rgba(59,182,255,0.6);
        background: rgba(0,0,0,0.85);
    }
    
    .nav-links a:hover {
        transform: translateY(-1px) scale(1.02);
        box-shadow: 0 0 15px rgba(59,182,255,0.2);
        /* Mantener los mismos colores en hover */
        color: #3bb6ff;
        background: rgba(59,182,255,0.12);
        border: 1px solid rgba(59,182,255,0.4);
    }
    
    .cta-btn:hover {
        transform: translateY(-3px) scale(1.03);
        box-shadow: 0 8px 25px rgba(59,182,255,0.4);
        /* Mantener el mismo gradiente en hover */
        background-size: 180% 180%;
        border-color: rgba(59,182,255,0.6);
    }
    
    /* Reducir efectos de partículas en móvil */
    .particle {
        display: none;
    }
    
    /* Simplificar cursor en móvil */
    .custom-cursor {
        display: none;
    }
    
    /* Optimizar efectos de hover para touch */
    .servicio-card {
        transition: all 0.3s ease;
    }
    
    .servicio-card:active {
        transform: scale(0.98);
        /* Mantener los mismos colores en active */
        box-shadow: 0 5px 15px rgba(59,182,255,0.3);
    }
    
    .cta-btn:active {
        transform: scale(0.98);
    }
    
    .nav-links a:active {
        transform: scale(0.98);
        /* Mantener los mismos colores en active */
        color: #3bb6ff;
        background: rgba(59,182,255,0.15);
        border-color: rgba(59,182,255,0.4);
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 3vw;
        gap: 12px;
    }
    
    .brand {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }
    
    .logo {
        height: 45px;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    .hero {
        margin-top: 110px;
        padding: 25px 3vw 0 3vw;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        /* Mantener el mismo gradiente */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientFlow 8s ease-in-out infinite;
    }
    
    .hero p {
        font-size: 1rem;
        /* Mantener el mismo color */
        color: #eaf6ff;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 0.95rem;
        /* Mantener el mismo gradiente */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1);
        background-size: 250% 250%;
        animation: gradientFlow 5s ease-in-out infinite;
    }
    
    main {
        padding: 40px 3vw 0 3vw;
    }
    
    .servicios h2, .nosotros h2, .contacto h2 {
        font-size: 1.6rem;
        /* Mantener el mismo color */
        color: #3bb6ff;
    }
    
    .servicio-card {
        padding: 25px 18px;
        /* Mantener los mismos colores */
        background: rgba(0,0,0,0.75);
        border: 2px solid rgba(59,182,255,0.25);
    }
    
    .servicio-card h3 {
        font-size: 1.2rem;
        /* Mantener el mismo color */
        color: #3bb6ff;
    }
    
    .nosotros, .contacto {
        padding: 30px 20px;
        /* Mantener los mismos colores */
        background: rgba(0,0,0,0.75);
        border: 2px solid rgba(59,182,255,0.25);
    }
    
    .nosotros p {
        font-size: 0.95rem;
        /* Mantener el mismo color */
        color: #eaf6ff;
    }
    
    input, textarea {
        padding: 10px 14px;
        font-size: 0.95rem;
        /* Mantener los mismos colores */
        background: rgba(0,0,0,0.75);
        color: #eaf6ff;
        border: 2px solid rgba(59,182,255,0.3);
    }
    
    label {
        font-size: 0.95rem;
        /* Mantener el mismo color */
        color: #eaf6ff;
    }
}

/* Optimizaciones específicas para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .servicio-card:hover {
        transform: none;
    }
    
    .nav-links a:hover {
        transform: none;
    }
    
    .cta-btn:hover {
        transform: none;
    }
    
    .logo:hover {
        transform: none;
    }
    
    /* Activar efectos solo en active/touch pero mantener colores */
    .servicio-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 15px rgba(59,182,255,0.3);
        /* Mantener los mismos colores */
        border-color: rgba(59,182,255,0.6);
        background: rgba(0,0,0,0.85);
    }
    
    .cta-btn:active {
        transform: scale(0.98);
    }
    
    .nav-links a:active {
        background: rgba(59,182,255,0.15);
        transform: scale(0.98);
        /* Mantener los mismos colores */
        color: #3bb6ff;
        border: 1px solid rgba(59,182,255,0.4);
    }
}

/* Optimizaciones para pantallas de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero h1 {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .brand {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Optimizaciones para dispositivos con pantalla pequeña y alta densidad */
@media (max-width: 600px) and (-webkit-min-device-pixel-ratio: 2) {
    .hero h1 {
        font-size: 1.8rem;
        /* Mantener el mismo gradiente */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientFlow 8s ease-in-out infinite;
    }
    
    .brand {
        font-size: 1.4rem;
        /* Mantener el mismo gradiente */
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff, #4169e1, #3bb6ff);
        background-size: 400% 400%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: gradientFlow 6s ease-in-out infinite;
    }
}

/* Optimizaciones específicas para iOS */
@supports (-webkit-touch-callout: none) {
    /* iOS Safari optimizations */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        /* Forzar renderizado en GPU para iOS */
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }
    
    /* Arreglar fondos blancos en iOS */
    .navbar, .hero, main, .servicios, .nosotros, .contacto, .footer {
        background: rgba(0,0,0,0.85) !important;
        -webkit-backdrop-filter: blur(25px);
        backdrop-filter: blur(25px);
    }
    
    /* Optimizar gradientes para iOS */
    .hero h1, .brand, .cta-btn {
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent;
    }
    
    /* Acelerar animaciones en iOS */
    .hero h1, .brand, .cta-btn {
        animation-duration: 4s !important;
    }
    
    /* Optimizar transiciones para iOS */
    * {
        -webkit-transition: all 0.2s ease;
        transition: all 0.2s ease;
    }
    
    /* Arreglar menú en iOS */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(0,0,0,0.95) !important;
        -webkit-backdrop-filter: blur(35px);
        backdrop-filter: blur(35px);
    }
    
    .nav-links a {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

/* Optimizaciones específicas para Android */
@supports not (-webkit-touch-callout: none) {
    /* Android Chrome optimizations */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Arreglar menú en Android */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
    }
    
    /* Optimizar para Chrome en Android */
    .nav-links a {
        -webkit-tap-highlight-color: rgba(59,182,255,0.3);
        touch-action: manipulation;
    }
    
    /* Acelerar animaciones en Android */
    .hero h1, .brand, .cta-btn {
        animation-duration: 3s !important;
    }
}

/* Optimizaciones generales para móviles */
@media (max-width: 768px) {
    /* Acelerar todas las animaciones en móvil */
    * {
        animation-duration: 0.8s !important;
        transition-duration: 0.2s !important;
    }
    
    /* Optimizar gradientes para mejor rendimiento */
    .hero h1, .brand, .cta-btn {
        animation-duration: 3s !important;
        will-change: background-position;
    }
    
    /* Arreglar menú en todos los móviles */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(35px);
        -webkit-backdrop-filter: blur(35px);
        padding: 15px 4vw;
    }
    
    /* Asegurar que el contenido no se superponga con el menú */
    .hero {
        margin-top: 120px;
        padding-top: 40px;
    }
    
    /* Optimizar efectos de hover para touch */
    .servicio-card, .nav-links a, .cta-btn {
        -webkit-tap-highlight-color: rgba(59,182,255,0.3);
        touch-action: manipulation;
    }
    
    /* Reducir complejidad de animaciones en móvil */
    .hero::before, .hero::after {
        display: none;
    }
    
    /* Simplificar efectos de partículas */
    .particle {
        display: none;
    }
    
    /* Optimizar scroll */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Optimizaciones específicas para pantallas pequeñas */
@media (max-width: 600px) {
    /* Acelerar aún más las animaciones */
    .hero h1, .brand, .cta-btn {
        animation-duration: 2.5s !important;
    }
    
    /* Simplificar gradientes para mejor rendimiento */
    .hero h1 {
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff);
        background-size: 200% 200%;
        animation: gradientFlow 2.5s ease-in-out infinite;
    }
    
    .brand {
        background: linear-gradient(45deg, #3bb6ff, #1e90ff, #00bfff);
        background-size: 200% 200%;
        animation: gradientFlow 2s ease-in-out infinite;
    }
    
    .cta-btn {
        background: linear-gradient(45deg, #3bb6ff, #1e90ff);
        background-size: 150% 150%;
        animation: gradientFlow 2s ease-in-out infinite;
    }
    
    /* Asegurar fondos correctos */
    .servicio-card, .nosotros, .contacto {
        background: rgba(0,0,0,0.85) !important;
        border: 2px solid rgba(59,182,255,0.3);
    }
    
    /* Optimizar formulario */
    input, textarea {
        background: rgba(0,0,0,0.85) !important;
        color: #eaf6ff !important;
        border: 2px solid rgba(59,182,255,0.3);
        -webkit-appearance: none;
        border-radius: 15px;
    }
    
    /* Arreglar botones en iOS */
    button, input[type="submit"] {
        -webkit-appearance: none;
        border-radius: 15px;
    }
}

/* Optimizaciones para dispositivos de alta densidad */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    /* Optimizar para pantallas Retina en móvil */
    .hero h1, .brand {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    /* Reducir complejidad de animaciones */
    .hero h1, .brand, .cta-btn {
        animation-duration: 2s !important;
    }
}

/* Optimizaciones específicas para Safari en iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports (-webkit-touch-callout: none) {
        /* Safari iOS optimizations */
        .navbar {
            background: rgba(0,0,0,0.95) !important;
            -webkit-backdrop-filter: blur(35px);
        }
        
        /* Arreglar problemas de renderizado en Safari */
        .hero, main, .servicios, .nosotros, .contacto {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
        }
        
        /* Optimizar gradientes para Safari */
        .hero h1, .brand, .cta-btn {
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }
}

/* Optimizaciones para Chrome en Android */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    @supports not (-webkit-touch-callout: none) {
        /* Chrome Android optimizations */
        .navbar {
            background: rgba(0,0,0,0.95);
            backdrop-filter: blur(35px);
        }
        
        /* Optimizar para Chrome */
        .hero h1, .brand, .cta-btn {
            background-clip: text;
            -webkit-background-clip: text;
        }
    }
}

/* Forzar fondos correctos en todos los dispositivos */
@media (max-width: 768px) {
    body {
        background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0a0a0a 100%) !important;
    }
    
    .navbar {
        background: rgba(0,0,0,0.95) !important;
        backdrop-filter: blur(35px) !important;
        -webkit-backdrop-filter: blur(35px) !important;
    }
    
    .servicio-card, .nosotros, .contacto {
        background: rgba(0,0,0,0.85) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
    }
    
    input, textarea {
        background: rgba(0,0,0,0.85) !important;
        color: #eaf6ff !important;
    }
}

/* Optimizaciones de rendimiento general */
@media (max-width: 768px) {
    /* Desactivar efectos pesados en móvil */
    .particle, .custom-cursor, .custom-cursor-trail {
        display: none !important;
    }
    
    /* Simplificar animaciones */
    .hero h1::before, .hero h1::after {
        display: none;
    }
    
    /* Optimizar transiciones */
    .servicio-card, .nav-links a, .cta-btn {
        transition: all 0.2s ease !important;
    }
    
    /* Reducir sombras para mejor rendimiento */
    .servicio-card {
        box-shadow: 0 8px 25px rgba(0,0,0,0.3) !important;
    }
    
    .servicio-card:hover {
        box-shadow: 0 12px 35px rgba(59,182,255,0.3) !important;
    }
} 

/* Asegurar que el menú funcione correctamente */
.navbar {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 6vw !important;
    background: rgba(0,0,0,0.85) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border-bottom: 1px solid rgba(59,182,255,0.2) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4) !important;
    width: 100% !important;
    min-height: 80px !important;
}

.nav-links {
    display: flex !important;
    list-style: none !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.nav-links a {
    color: #eaf6ff !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    background: rgba(59,182,255,0.08) !important;
    border: 1px solid rgba(59,182,255,0.2) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    display: inline-block !important;
    white-space: nowrap !important;
}

.nav-links a:hover {
    color: #3bb6ff !important;
    background: rgba(59,182,255,0.15) !important;
    border-color: rgba(59,182,255,0.4) !important;
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(59,182,255,0.3) !important;
    text-shadow: 0 0 10px rgba(59,182,255,0.5) !important;
}

.nav-links a:active {
    transform: scale(0.98) !important;
    background: rgba(59,182,255,0.2) !important;
}

/* Asegurar que el hero tenga el margen correcto */
.hero {
    margin-top: 100px !important;
    padding: 120px 8vw 80px 8vw !important;
    text-align: center !important;
    min-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    background: rgba(0,0,0,0.3) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-radius: 0 0 50px 50px !important;
}

/* Asegurar que el contenido principal tenga el margen correcto */
main {
    padding: 60px 8vw 0 8vw !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Optimizaciones para móvil */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 4vw !important;
        min-height: 70px !important;
    }
    
    .nav-links {
        gap: 15px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .nav-links a {
        padding: 10px 16px !important;
        font-size: 1rem !important;
        white-space: nowrap !important;
    }
    
    .hero {
        margin-top: 90px !important;
        padding: 80px 4vw 60px 4vw !important;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 12px 3vw !important;
        min-height: 60px !important;
    }
    
    .nav-links {
        gap: 10px !important;
    }
    
    .nav-links a {
        padding: 8px 14px !important;
        font-size: 0.95rem !important;
    }
    
    .hero {
        margin-top: 80px !important;
        padding: 60px 3vw 40px 3vw !important;
    }
} 