/* =========================================
   1. RESET GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* VARIABLES CSS CORPORATIVAS */
:root {
    --color-primary: #38BDF8; /* Azul vibrante tecnológico */
    --color-secondary: #0A1F4D; /* Azul oscuro corporativo */
    --color-accent: #0EA5E9; /* Azul acento */
    --color-background-light: #F4F7FA; /* Fondo claro */
    --color-text-dark: #1B263B; /* Texto oscuro */
    --color-text-light: #FFFFFF; /* Texto claro */
    --color-gray-light: #E5E7EB; /* Gris muy claro */
    --color-gray-medium: #6B7280; /* Gris medio */
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    font-size: 16px; /* Base 16px = 1rem */
    line-height: 1.6; /* Mejor respiración del texto */
}


/* ===== HEADER ===== */

header {
    background: var(--color-secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    height: 55px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    height: 35px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.logo-text {
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--color-primary), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ===== NAVBAR AJUSTADA ===== */

.navbar {
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
}

/* Logo - removido, ahora en header-container */

/* ===== MENÚ ===== */

.menu {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    align-items: center;
    flex-wrap: nowrap;
}

/* Botones más grandes */
.menu li a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    transition: 0.3s ease;
    padding: 4px 8px;
    white-space: nowrap;
}

/* Animación línea moderna */
.menu li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 3px;
    background-color: #38bdf8;
    transition: 0.3s ease;
}

/* Hover animado */
.menu li a:hover {
    color: #38bdf8;
    transform: translateY(-3px);
}

.menu li a:hover::after {
    width: 100%;
}


/* ===== RESPONSIVE MOBILE FIRST ===== */

@media (max-width: 768px) {
    header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1001 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }

    .header-container {
        padding: 6px 15px;
        height: 50px;
        justify-content: space-between;
    }

    .logo-container {
        gap: 6px;
        flex-shrink: 0;
    }

    .logo {
        height: 30px;
    }

    .logo-text {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .navbar {
        position: static;
        width: auto;
        background: transparent;
        z-index: auto;
        transition: none;
        padding: 0;
        box-shadow: none;
        flex: 1;
        margin-left: 10px;
    }

    .menu {
        flex-direction: row;
        gap: 8px;
        text-align: center;
        width: 100%;
        justify-content: flex-end;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .menu li a {
        font-size: 0.75rem;
        padding: 3px 6px;
        color: white;
        text-decoration: none;
        transition: 0.3s ease;
        white-space: nowrap;
    }

    .menu li a:hover {
        color: var(--color-primary);
        transform: none;
        padding: 3px 6px;
        background: none;
    }

    /* Ocultar animación de línea subrayada en móvil */
    .menu li a::after {
        display: none;
    }

    .hero {
        padding: 70px 15px 60px;
        min-height: 100vh;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 20px;
        font-weight: 900;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        padding: 0 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
        line-height: 1.6;
        opacity: 0.95;
        max-width: 100%;
        padding: 0 20px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    }

    .hero-buttons {
        gap: 15px;
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        border-radius: 50px;
        font-weight: 700;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .feature-item {
        padding: 30px 20px;
    }
}

/* =========================================
   2. SECCIÓN HERO - MEJORADA*/

.hero {
    padding: 80px 20px 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0b2c5f 50%, #081530 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    margin: auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem); /* 40px - 56px */
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    margin-bottom: 40px;
    font-size: 1.25rem; /* 20px */
    color: #cbd5e1;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: black;
}

/* ===== SECCIÓN FEATURES ===== */

.features {
    background: var(--color-background-light);
    padding: 60px 20px;
}

.features-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    border-top: 4px solid var(--color-primary);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(56, 189, 248, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-item p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================================
   6. SECCIÓN QUIÉNES SOMOS
========================================= */


.about {
    padding: 60px 20px;
    background-color: var(--color-background-light);
}

.about-container {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.about h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 30px;
    color: var(--color-primary);
    line-height: 1.3;
}

.about p {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 20px;
    line-height: 1.6;
    opacity: 0.9;
}



/* =========================================
   4. BOTÓN GENERAL
========================================= */

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: black;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: 0.3s;
    font-size: 1.125rem; /* 18px */
}

.btn:hover {
    background-color: var(--color-accent);
}


/* =========================================
   5. RESPONSIVE PARA CELULAR
========================================= */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .logo img {
        height: 60px;
        margin-bottom: 15px;
    }

    .menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.5rem); /* Ajuste para móvil */
    }

    .hero p {
        font-size: 16px;
    }
}

/* ================= EXPERIENCIA TÉCNICA ================= */

.experiencia-tecnica {
   padding: 60px 20px;
    background: var(--color-background-light);
    text-align: center;
}

.experiencia-tecnica h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.experiencia-tecnica .subtitulo {
    color: #555;
    margin-bottom: 60px;
    font-size: 1.125rem; /* 18px */
}

.experiencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.experiencia-card {
    background: #f9fafc;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: 0.3s ease;
}

.experiencia-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.icono {
    font-size: 40px;
    margin-bottom: 20px;
}

.experiencia-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    color: #1b263b;
    margin-bottom: 10px;
    line-height: 1.4;
}

.experiencia-card p {
    font-size: 1.125rem; /* 18px */
    color: #555;
}

/* ===== PLANES DE INTERNET ===== */

.planes {
    background-color: var(--color-background-light);
   padding: 60px 20px;
}

.planes .container {
    max-width: 1200px;
    margin: auto;
}

/* TÍTULO CENTRADO */

.planes h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 50px;
    color: var(--color-primary);
    text-align: center;
    position: relative;
    line-height: 1.3;
}

.planes h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* GRID DE PLANES */

.planes-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* TARJETAS */

.plan-card {
    background-color: var(--color-text-light);
    padding: 40px 30px;
    border-radius: 12px;
    width: 380px; /* AUMENTADO PARA HACERLOS MÁS GRANDES */
    text-align: center;
    position: relative;
    transition: 0.3s ease;
    border: 1px solid var(--color-gray-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.plan-card h3 {
    margin-bottom: 20px;
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    color: var(--color-text-dark);
    line-height: 1.4;
}

.velocidad {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 30px;
}

.btn-plan {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-secondary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s;
    font-size: 1.125rem; /* 18px */
}

.btn-plan:hover {
    background-color: var(--color-primary);
    color: black;
}

.destacado {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: black;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .planes-grid {
        flex-direction: column;
        align-items: center;
    }

    .plan-card {
        width: 90%;
    }

    .video-info-led {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-led {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .titulo-planes {
        font-size: 2rem; /* Ajuste móvil */
    }

    @media (max-width: 900px) {
        .led-container {
            flex-direction: column;
        }

        .led-grid {
            grid-template-columns: 1fr;
        }
    }
}

/* ===== SECCIÓN COTIZACIÓN EMPRESARIAL ===== */

.cta-empresarial {
    background: linear-gradient(90deg, var(--color-secondary), #0b2c5f);
    padding: 60px 20px;
    text-align: center;
}

.cta-container {
    max-width: 900px;
    margin: auto;
}

.cta-empresarial h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    color: var(--color-primary);
    margin-bottom: 25px;
    line-height: 1.3;
}

.cta-empresarial p {
    font-size: 1.125rem; /* 18px */
    opacity: 0.85;
    margin-bottom: 40px;
    color: white;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s ease;
    font-size: 1.125rem; /* 18px */
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .cta-empresarial h2 {
        font-size: 26px;
    }

    .btn-cta {
        width: 100%;
        max-width: 350px;
    }
}

section {
    scroll-margin-top: 100px;
}

/* ============================= */
/* ESTILOS SECCIÓN TEST VELOCIDAD */
/* ============================= */

.test-velocidad {
    background: var(--color-background-light);
    padding: 80px 20px;
    text-align: center;
}

/* CONTENEDOR */
.contenedor-test {
    max-width: 800px;
    margin: auto;
}

/* TITULO */
.test-velocidad h2 {
    color: var(--color-text-dark);
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 20px;
    line-height: 1.3;
}

/* TEXTO */
.test-velocidad p {
    color: var(--color-text-dark);
    margin-bottom: 40px;
    font-size: 1.125rem; /* 18px */
}

/* BOTÓN */
.btn-test {
    background: linear-gradient(90deg, #00c6ff, #00e0ff);
    color: #002244;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(0,198,255,0.5);
    transition: 0.3s;
}

/* EFECTO HOVER */
.btn-test:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0,198,255,0.8);
}

/* ============================= */
/* FIN ESTILOS TEST VELOCIDAD */
/* ============================= */

/* PUBLICIDAD PANTALLA LED */


.planes-led {
    background: var(--color-background-light);
    padding: 80px 20px;
}

/* TITULO DESPLEGABLE */
.titulo-planes {
    color: var(--color-secondary);
    font-size: clamp(2.625rem, 5vw, 3.5rem); /* Mínimo 42px desktop */
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
    line-height: 1.2;
    font-weight: 700; /* Bold */
    text-shadow: 0 2px 8px rgba(56, 189, 248, 0.3); /* Glow suave */
    user-select: none;
}

.titulo-planes:hover {
    color: var(--color-primary);
    transform: scale(1.02);
}

.toggle-icon {
    display: inline-block;
    margin-left: 15px;
    font-size: 1.2em;
    transition: transform 0.6s ease;
    color: var(--color-primary);
}

.titulo-planes.activo .toggle-icon {
    transform: rotate(180deg);
}

/* CONTENIDO DESPLEGABLE */
.contenido-planes {
      max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease;
}

.contenido-planes.activo {
    max-height: 3000px; 
}

/* GALERIA */
.galeria-led {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 60px; /* ESTO BAJA LAS IMÁGENES */
}

.galeria-led img {
    width: 100%;
    border-radius: 12px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.galeria-led img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,224,255,0.4);
}


/* VIDEO + INFO CONTENEDOR */
.led-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

/* VIDEO */
.led-video video {
    width: 100%;
    max-width: 400px; /* VIDEO MÁS PEQUEÑO */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* GRID TARJETAS */
.led-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.led-card {
    padding: 30px;
    border-radius: 18px;
    background: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    text-align: center;
    animation: fadeInUp 0.6s ease-out;
    opacity: 1;
    color: #0a1f4d;
    animation-fill-mode: forwards;
}

.led-card:nth-child(1) { animation-delay: 0.1s; }
.led-card:nth-child(2) { animation-delay: 0.2s; }
.led-card:nth-child(3) { animation-delay: 0.3s; }
.led-card:nth-child(4) { animation-delay: 0.4s; }

.led-card:hover {
    transform: translateY(-8px);
}

.led-icon {
    font-size: 40px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.led-card h4 {
    font-size: 20px;
    color: #0a1f4d;
    margin-bottom: 10px;
    font-weight: 700;
}

.led-card p {
    font-size: 15px;
    color: #0a1f4d;
    margin-bottom: 15px;
}

.led-card ul li {
    font-size: 14px;
    color: #0a1f4d;
    text-align: left;
    margin-bottom: 5px;
}

.led-card.destacado {
    border: 2px solid var(--color-primary);
    box-shadow: 0 8px 20px rgba(56, 189, 248, 0.3);
}


/* GRID PLANES */
.grid-planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* TARJETA PLAN */
.plan {
    background: linear-gradient(180deg, #0f2a4d, #0b1f3a);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,224,255,0.2);
}

/* HOVER PLAN */
.plan:hover {
    transform: translateY(-12px) scale(1.04);
    box-shadow: 0 20px 50px rgba(0,224,255,0.4);
    border: 1px solid #00e0ff;
}

/* CLICK PLAN */
.plan:active {
    transform: scale(0.96);
}

/* PLAN DESTACADO */
.destacado {
    border: 2px solid #00e0ff;
    box-shadow: 0 0 30px rgba(0,224,255,0.6);
}

/* TITULO PLAN */
.plan h3 {
    color: white;
    font-size: 24px;
}

/* PRECIO */
.precio {
    color: #00e0ff;
    font-size: 26px;
    font-weight: bold;
    margin: 15px 0;
}

/* TEXTO PLAN */
.plan p {
    color: #cbd5e1;
}

/* BOTON */
.btn-plan {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(90deg, #00c6ff, #00e0ff);
    color: #002244;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

/* EFECTO BOTON */
.plan:hover .btn-plan {
    box-shadow: 0 0 20px rgba(0,224,255,0.8);
}

/* CONTACTO */
.contacto-led {
    margin-top: 50px;
    text-align: center;
    color: black;
    background: rgba(0,224,255,0.05);
    padding: 25px;
    border-radius: 12px;
}

.contacto-led h3 {
    margin-bottom: 10px;
    color: black;
}

.contacto-led p {
    color: black;
}

.contacto-led a {
    color: black;
    text-decoration: none;
    font-weight: bold;
}

.contacto-led a:hover {
    text-decoration: underline;
}

/* COBERTURA SAFENET */
.cobertura {
    padding: 80px 20px;
    background: var(--color-background-light);
    text-align: center;
}

.cobertura h2 {
    color: var(--color-text-dark);
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 40px;
    line-height: 1.3;
}

#mapaCobertura {
    height: 500px;
    width: 100%;
    max-width: 1000px;
    margin: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}
/* CLIENTES SAFENET */
.clientes {
    padding: 100px 20px;
    text-align: center;
    background: var(--color-background-light);
}

.clientes h2 {
    color: var(--color-text-dark);
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    line-height: 1.3;
}

.subtitulo {
    color: #8aa0c0;
    margin-bottom: 50px;
    font-size: 1.125rem; /* 18px */
}

/* SLIDER */
.slider-clientes {
    position: relative;
    max-width: 700px;
    margin: auto;
}

/* SLIDE */
.slide {
    display: none;
    background: linear-gradient(180deg, #1e5c7a, #1a4e68);
    padding: 40px;
    border-radius: 20px;
    animation: fade 0.5s;
}

.slide.activo {
    display: block;
}

.slide h3 {
    color: white;
}

.ubicacion {
    color: #00e0ff;
}

.estrellas {
    color: gold;
    font-size: 22px;
}

.comentario {
    color: white;
    margin-top: 20px;
}

/* BOTONES */
.btn-slider {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #00e0ff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

.izquierda {
    left: -60px;
}

.derecha {
    right: -60px;
}

/* INDICADORES */
.indicadores span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #00e0ff;
    border-radius: 50%;
    margin: 10px;
    cursor: pointer;
}

@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mundo {
    background: var(--color-background-light);
    padding: 80px 20px;
    text-align: center;
}

.mundo-container {
    max-width: 1000px;
    margin: auto;
}

.mundo h2 {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 50px;
    color: var(--color-primary);
    line-height: 1.3;
}

.mundo-img {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.5));
}

.mundo p {
    margin-top: 40px;
    font-size: 1.125rem; /* 18px */
    opacity: 0.85;
}

/* ===== ALIADOS ESTRATÉGICOS ===== */

.aliados {
    background-color: var(--color-background-light);
    padding: 80px 20px;
    text-align: center;
}

.aliados-title {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    margin-bottom: 10px;
    color: var(--color-text-dark);
    line-height: 1.3;
}

.aliados-subtitle {
    color: #555;
    margin-bottom: 50px;
    font-size: 1.125rem; /* 18px */
}

.aliados-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.aliado-card {
    background-color: white;
    padding: 40px 30px;
    border-radius: 12px;
    width: 300px;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.aliado-card:hover {
    transform: translateY(-8px);
}

.aliado-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background-color: var(--color-secondary);
    color: white;
    font-size: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.aliado-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    color: var(--color-text-dark);
    line-height: 1.4;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .aliado-card {
        width: 90%;
    }
}
/* ===== CIBERSEGURIDAD ===== */

.ciberseguridad {
    background-color: var(--color-background-light);
    padding: 80px 20px;
    text-align: center;
}

.ciber-title {
    font-size: clamp(2.25rem, 4vw, 2.625rem); /* 36px - 42px */
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.ciber-subtitle {
    color: #555;
    margin-bottom: 50px;
    font-size: 1.125rem; /* 18px */
}

.ciber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ciber-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.ciber-card:hover {
    transform: translateY(-8px);
}

.ciber-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background-color: var(--color-secondary);
    color: white;
    font-size: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.ciber-card h3 {
    margin-bottom: 10px;
    color: var(--color-text-dark);
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    line-height: 1.4;
}

.ciber-card p {
    color: #555;
    font-size: 1.125rem; /* 18px */
}

/* CERTIFICACIÓN */

.ciber-cert {
    margin-top: 60px;
    background-color: var(--color-secondary);
    color: white;
    padding: 30px;
    border-radius: 12px;
}

.ciber-cert span {
    font-weight: bold;
    font-size: 18px;
}

.ciber-cert p {
    margin-top: 10px;
    opacity: 0.9;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .ciber-title {
        font-size: 28px;
    }
}
/* ===== CONTACTO FINAL OPTIMIZADO ===== */

.contacto-final {
    background: linear-gradient(180deg, var(--color-secondary), #0f172a);
    padding: 70px 20px;
    color: white;
    text-align: center;
}

.contacto-final-title {
    font-size: clamp(3rem, 5vw, 3.5rem); /* 48px - 56px */
    color: var(--color-primary);
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Caja principal superior */

.contacto-final-box {
    background: rgba(255,255,255,0.06);
    padding: 35px;
    border-radius: 18px;
    margin-bottom: 40px;
}

.contacto-final-box h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.contacto-final-sub {
    font-size: 1.125rem; /* 18px */
    opacity: 0.9;
}

/* Grid principal */

.contacto-final-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* Tarjetas */

.contacto-final-card {
    background: rgba(255,255,255,0.08);
    padding: 35px 25px;
    border-radius: 18px;
    transition: 0.3s ease;
}

.contacto-final-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.12);
}

.contacto-final-card h4 {
    font-size: clamp(1.5rem, 3vw, 1.75rem); /* 24px - 28px */
    margin-bottom: 15px;
    color: var(--color-primary);
    line-height: 1.4;
}

.contacto-final-card p {
    font-size: 1.125rem; /* 18px */
    margin-bottom: 8px;
}

/* Botón */

.btn-final {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 28px;
    font-size: 1rem; /* 16px */
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: bold;
    transition: 0.3s ease;
}

.btn-final:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(56,189,248,0.7);
}

.contacto-final-card .btn-final {
    display: inline-block;
    margin: 5px 0;
    padding: 8px 16px;
    font-size: 0.875rem; /* 14px */
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .contacto-final-grid {
        grid-template-columns: 1fr;
    }

    .contacto-final-title {
        font-size: 32px;
    }
}

/* ===== FOOTER ===== */

footer {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #0b2c5f 100%);
    padding: 60px 20px 30px;
    color: white;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.footer-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.footer-section p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-divider {
    height: 1px;
    background: rgba(56, 189, 248, 0.3);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .footer-brand {
        flex-direction: column;
    }

    .footer-logo {
        height: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        width: 100%;
    }
}

.btn-cotizacion-animado {
    display: inline-block;
    padding: 16px 35px;
    font-size: 1rem; /* 16px */
    font-weight: 600;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    animation: pulseGlow 2s infinite;
}

/* Hover */

.btn-cotizacion-animado:hover {
    transform: scale(1.07);
    box-shadow: 0 0 25px rgba(56,189,248,0.8);
}

/* Efecto brillo que pasa */

.btn-cotizacion-animado::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.3);
    transform: skewX(-25deg);
    transition: 0.7s;
}

.btn-cotizacion-animado:hover::before {
    left: 130%;
}

/* Animación Glow suave */

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 rgba(56,189,248,0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(56,189,248,0.7);
    }
    100% {
        box-shadow: 0 0 0 rgba(56,189,248,0.5);
    }
}



