:root {
    --bg-dark: #0a0c10;
    --bg-card: rgba(18, 22, 28, 0.75);
    --primary: #00b4d8;
    --primary-glow: rgba(0, 180, 216, 0.4);
    --text-light: #e2e8f0;
    --text-dim: #94a3b8;
    --border-neon: 1px solid rgba(0, 180, 216, 0.3);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, #0f172a, #020617);
    color: var(--text-light);
    line-height: 1.5;
    scroll-behavior: smooth;
}
.noise-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
/* NAVBAR FUTURISTA */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(8, 12, 20, 0.8);
    border-bottom: var(--border-neon);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-img {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px var(--primary));
}
.logo-text-fallback {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 12px var(--primary-glow);
    letter-spacing: 0.05em;
}
.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}
.nav-menu a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: 0.2s;
}
.nav-menu a:hover {
    color: var(--primary);
    text-shadow: 0 0 5px var(--primary);
}
.btn-neon {
    border: 1px solid var(--primary);
    padding: 0.4rem 1.2rem;
    border-radius: 2rem;
    background: transparent;
    transition: 0.2s;
}
.btn-neon:hover {
    background: var(--primary);
    color: #0a0c10 !important;
    box-shadow: 0 0 12px var(--primary);
}
.menu-toggle {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
}
/* SLIDER */
.hero {
    width: 100%;
    overflow: hidden;
}
.slider-container {
    position: relative;
    height: 550px;
}
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}
.slide.active {
    opacity: 1;
    z-index: 1;
}
.slide-text {
    max-width: 700px;
    margin-left: 8%;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.slide-text h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.neon {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}
.dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}
.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
    transform: scale(1.2);
}
/* SECCIONES */
.section {
    padding: 5rem 1.5rem;
    position: relative;
    z-index: 1;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
}
.alt-bg {
    background: rgba(2, 6, 23, 0.5);
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(0,180,216,0.2);
    border-bottom: 1px solid rgba(0,180,216,0.2);
}
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}
.title-accent {
    color: var(--primary);
    text-shadow: 0 0 6px var(--primary-glow);
}
.section-title::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background: var(--primary);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    box-shadow: 0 0 6px var(--primary);
}
/* TARJETAS GLASS */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: 1.5rem;
    transition: all 0.25s ease;
}
.glass:hover {
    border-color: var(--primary);
    box-shadow: 0 0 18px rgba(0, 180, 216, 0.2);
    transform: translateY(-4px);
}
.card, .servicio-card {
    padding: 2rem;
    text-align: center;
}
.card-icon, .servicio-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}
.card h3, .servicio-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}
.card p, .servicio-card p {
    color: var(--text-dim);
}
.mv-grid, .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
/* ESTADÍSTICAS */
.stats {
    background: linear-gradient(120deg, #020617, #0a0c10);
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}
.stat-card {
    text-align: center;
    padding: 1.5rem;
    min-width: 160px;
    background: rgba(0,0,0,0.4);
    border-radius: 1.5rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,180,216,0.2);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    display: block;
    color: var(--primary);
    text-shadow: 0 0 6px var(--primary);
}
/* FORMULARIO */
.contacto-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(0,180,216,0.3);
    border-radius: 1rem;
    color: var(--text-light);
    font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(0,180,216,0.3);
}
.btn-submit {
    width: 100%;
    background: linear-gradient(90deg, var(--primary), #0077b6);
    border: none;
    padding: 0.9rem;
    border-radius: 2rem;
    font-weight: bold;
    color: #0a0c10;
    cursor: pointer;
    transition: 0.2s;
}
.btn-submit:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 12px var(--primary);
}
.alert {
    padding: 0.8rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}
.exito {
    background: #14532d;
    color: #bbf7d0;
}
.error {
    background: #7f1d1d;
    color: #fecaca;
}
footer {
    border-top: 1px solid rgba(0,180,216,0.2);
    text-align: center;
    padding: 2rem;
    color: var(--text-dim);
}
/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(8,12,20,0.95);
        backdrop-filter: blur(12px);
        padding: 1rem;
        border-radius: 1rem;
        margin-top: 1rem;
        gap: 1rem;
    }
    .nav-menu.active {
        display: flex;
    }
    .slider-container {
        height: 400px;
    }
    .slide-text h1 {
        font-size: 2rem;
    }
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    .logo-img {
        height: 40px;
    }
}