:root {
    --bg-main: #030712;
    --bg-card: #0B132B;
    --bg-card-hover: #111E38;
    --accent-cyan: #06B6D4;
    --accent-blue: #3B82F6;
    --accent-glow: rgba(6, 182, 212, 0.2);
    --text-main: #F9FAFB;
    --text-muted: #9CA3AF;
    --border-tech: rgba(6, 182, 212, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ================= HEADER TECNOLÓGICO FULL WIDTH ================= */
header {
    background-color: rgba(3, 7, 18, 0.90);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-tech);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 20px 4%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-img {
    height: 45px;
    width: 45px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-glow);
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 12px var(--accent-cyan);
}

/* Botón Hamburguesa Móvil */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--accent-cyan);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ================= SECCIÓN HERO ================= */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 4%;
    width: 100%;
    background: radial-gradient(circle at center, #0F172A 0%, var(--bg-main) 70%);
    position: relative;
}

.hero-content {
    max-width: 1100px;
    width: 100%;
}

.hero-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--border-tech);
    display: inline-block;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.hero h1 {
    font-size: clamp(34px, 5vw, 56px);
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.15;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    background-clip: text;          /* Propiedad estándar recomendada */
    -webkit-background-clip: text;  /* Propiedad para navegadores basados en Webkit (Chrome, Safari, Edge) */
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= CONTENEDOR PRINCIPAL FULL WIDTH ================= */
.container {
    width: 100%;
    max-width: 100%;
    padding: 60px 4%;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 60px;
    font-size: 17px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Cuadrícula de Servicios Expansible para Monitores Grandes */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: 100%;
}

.service-card {
    background: linear-gradient(145deg, var(--bg-card), #070D1F);
    border: 1px solid var(--border-tech);
    padding: 45px 35px;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 25px var(--accent-glow);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    color: var(--accent-cyan);
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

/* ================= BOTONES Y FORMULARIOS ================= */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: #030712;
    padding: 16px 34px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.5);
    filter: brightness(1.1);
}

form {
    background: linear-gradient(145deg, var(--bg-card), #070D1F);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid var(--border-tech);
    display: flex;
    flex-direction: column;
    gap: 22px;
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

form label {
    font-weight: 700;
    color: var(--accent-cyan);
    font-size: 15px;
    letter-spacing: 0.5px;
}

form input, form textarea {
    padding: 16px;
    background-color: var(--bg-main);
    border: 1px solid var(--border-tech);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ================= PIE DE PÁGINA (FOOTER) ================= */
footer {
    background-color: #050B14;
    border-top: 1px solid var(--border-tech);
    padding: 50px 4%;
    margin-top: 100px;
    width: 100%;
    text-align: center;
}

.footer-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 700;
    font-size: 18px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 14px;
    text-align: center;
}

/* ================= BOTÓN FLOTANTE DE WHATSAPP ================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

/* ================= RESPONSIVO MÓVIL (MÁX 900px) ================= */
@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(16px);
        padding: 30px 0;
        border-bottom: 1px solid var(--border-tech);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.9);
        text-align: center;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 12px 0;
        font-size: 17px;
        justify-content: center;
    }

    .hero {
        min-height: 65vh;
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .container {
        padding: 40px 20px;
    }

    form {
        padding: 30px 20px;
        border-radius: 14px;
    }

    footer {
        padding: 40px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-logo {
        justify-content: center;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}