/* =========================================
   VARIABLES DE DISEÑO Y TEMA
   ========================================= */
:root {
    /* Paleta de Colores (Dark Mode Premium) */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #e5e5e5;
    --text-muted: #a0a0a0;
    --accent-neon: #00f0ff;
    --accent-hover: #00c3d0;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Tipografía */
    --font-main: 'Space Grotesk', sans-serif;
    
    /* Transiciones */
    --transition-smooth: all 0.3s ease;
}
/* =========================================
   RESET Y ESTILOS BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}
ul {
    list-style: none;
}
img {
    max-width: 100%;
    height: auto;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
/* =========================================
   UTILIDADES Y COMPONENTES
   ========================================= */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}
.btn-primary {
    display: inline-block;
    background-color: var(--accent-neon);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--accent-neon);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--accent-neon);
    cursor: pointer;
}
.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}
.glow-effect {
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
    transition: var(--transition-smooth);
}
.glow-effect:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.7), 0 0 45px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
    background-color: var(--text-light);
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}
.section-title span {
    color: var(--accent-neon);
}
/* =========================================
   HEADER / NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}
.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}
.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}
.logo span {
    color: var(--accent-neon);
    font-weight: 300;
}
.nav-links ul {
    display: flex;
    gap: 2rem;
}
.nav-link {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-neon);
    transition: var(--transition-smooth);
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}
/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 5% 4rem;
    text-align: center;
    overflow: hidden;
}
.hero-content {
    max-width: 800px;
    z-index: 2;
}
.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.hero h1 span {
    color: var(--accent-neon);
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
/* Efectos de fondo Hero */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 1;
    opacity: 0.5;
}
.bg-glow-1 {
    width: 400px;
    height: 400px;
    background: rgba(0, 240, 255, 0.15);
    top: -100px;
    right: -100px;
}
.bg-glow-2 {
    width: 300px;
    height: 300px;
    background: rgba(0, 240, 255, 0.1);
    bottom: -50px;
    left: -50px;
}
/* =========================================
   SERVICIOS SECTION
   ========================================= */
.services {
    padding: 6rem 0;
    background-color: var(--bg-darker);
    position: relative;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
.service-card {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,240,255,0.1) 0%, rgba(0,0,0,0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 0;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
}
.service-card:hover::before {
    opacity: 1;
}
.service-card > * {
    z-index: 1;
}
.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}
.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-neon);
    margin-bottom: 1.5rem;
}
/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    padding: 4rem 0;
}
.cta-box {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(to right, rgba(0, 240, 255, 0.05), rgba(0, 0, 0, 0.2));
}
.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}
.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}
.footer-social {
    display: flex;
    gap: 1.5rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 1px solid var(--glass-border);
}
.footer-social a:hover {
    background: var(--accent-neon);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-neon);
    transform: translateY(-3px);
}
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-bottom strong {
    color: var(--text-light);
}
/* =========================================
   BOTÓN WHATSAPP Y ANIMACIONES
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Color oficial WhatsApp */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transition: var(--transition-smooth);
}
.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}
/* Animación de Pulso CSS */
.pulse {
    animation: pulse-animation 2s infinite;
}
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
/* Tablets y Escritorios pequeños */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
/* Móviles (Menu hamburguesa) */
@media (max-width: 767px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}