/* =========================================================
   DESARROLLOS EDS-SISTEMAS - HOJA DE ESTILOS PRINCIPAL
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;

    --text-main: #f8fafc;
    --text-muted: #94a3b8;

    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --primary-blue: #3b82f6;

    --border: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   HEADER
========================================================= */

header {
    width: 100%;
    height: 70px;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: rgba(15, 23, 42, 0.94);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid var(--border);
}

.logo-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--primary-blue);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-nav {
    padding: 10px 18px;

    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 8px;

    color: #fff;
    background: rgba(59, 130, 246, 0.1);

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-nav:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-nav.secundario {
    border-color: rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.1);
}

.btn-nav.secundario:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: #04241a;
}

.btn-nav.activo {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #fff;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 720px;

    padding: 150px 6% 80px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        radial-gradient(
            circle at top right,
            rgba(59, 130, 246, 0.12),
            transparent 40%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(16, 185, 129, 0.08),
            transparent 35%
        );
}

.hero h1 {
    max-width: 900px;

    margin-bottom: 25px;

    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.05;

    font-weight: 800;
}

.hero p {
    max-width: 850px;

    margin-bottom: 45px;

    color: var(--text-muted);

    font-size: 18px;
}

.contenedor-imagen-hero {
    width: 100%;
    max-width: 1100px;
    height: 300px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;

    color: #64748b;

    background: rgba(255, 255, 255, 0.02);
}


/* =========================================================
   PUBLICIDAD
========================================================= */

.publicidad-banner {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 6%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.publicidad-slot {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.015);

    color: #475569;

    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition: 0.3s;
}

.publicidad-slot:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.04);
}

.publicidad-slot.leaderboard {
    height: 90px;
    margin: 30px 0;
}

.publicidad-slot.billboard {
    height: 120px;
    margin: 40px 0;
}

.publicidad-slot span {
    opacity: 0.6;
}


/* =========================================================
   CONTENEDOR GENERAL
========================================================= */

.seccion-contenedor {
    width: 100%;
    max-width: 1200px;

    margin: auto;

    padding: 90px 6%;
}

.titulo-seccion {
    margin-bottom: 15px;

    color: var(--primary-blue);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.subtitulo-seccion {
    margin-bottom: 30px;

    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.15;
}

.descripcion-seccion {
    max-width: 750px;
    margin-bottom: 45px;

    color: var(--text-muted);
    font-size: 16px;
}


/* =========================================================
   ACCESOS RÁPIDOS (vista previa de aplicaciones y servicios)
========================================================= */

.accesos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.accesos-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.acceso-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-left: 4px solid var(--primary-blue);
    border-radius: 14px;

    background: var(--bg-card);

    transition: 0.3s;
}

.acceso-card:hover {
    transform: translateY(-5px);

    border-left-color: var(--accent-green);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.acceso-card h3 {
    margin-bottom: 10px;

    color: var(--primary-blue);

    font-size: 18px;
}

.acceso-card p {
    color: var(--text-muted);
    font-size: 14px;
}

.centrar-boton {
    margin-top: 50px;
    text-align: center;
}

.btn-ver-mas {
    display: inline-block;

    padding: 14px 30px;

    border-radius: 10px;

    background: var(--primary-blue);
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    transition: 0.3s;
}

.btn-ver-mas:hover {
    background: var(--accent-green);
    color: #04241a;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}


/* =========================================================
   BENEFICIOS
========================================================= */

.beneficios-container {
    max-width: 1200px;

    margin: auto;

    padding: 70px 6%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.beneficio {
    padding: 30px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.02);
}

.beneficio h3 {
    margin-bottom: 12px;

    font-size: 20px;
}

.beneficio p {
    color: var(--text-muted);
    font-size: 14px;
}


/* =========================================================
   REDES SOCIALES FLOTANTES
========================================================= */

.redes-flotantes {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.redes-flotantes a {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--bg-card);
    border: 1px solid var(--border);

    color: var(--text-main);

    font-size: 20px;
    font-weight: 700;

    transition: 0.3s;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.redes-flotantes a:hover {
    transform: scale(1.15) translateX(5px);
    color: #fff;
}

.redes-flotantes a.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.redes-flotantes a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
}

.redes-flotantes a.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.redes-flotantes a.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.redes-flotantes a.email:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}


/* =========================================================
   FORMULARIO DE CONTACTO - SOLO FORMULARIO CENTRADO
========================================================= */

.contacto-seccion {
    max-width: 1200px;

    margin: 0 auto 60px;
    padding: 0 6%;
}

.contacto-container.contacto-solo {
    display: block;

    max-width: 720px;

    margin: 0 auto;

    padding: 60px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: var(--bg-card);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.subtitulo-contacto {
    margin-bottom: 18px;

    text-align: center;

    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.15;
}

.descripcion-contacto {
    max-width: 560px;

    margin: 0 auto 35px;

    text-align: center;

    color: var(--text-muted);
    font-size: 16px;
}

.formulario-contacto {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.formulario-contacto .campo {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.formulario-contacto label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.formulario-contacto input,
.formulario-contacto textarea,
.formulario-contacto select {
    padding: 12px 14px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);

    font-family: inherit;
    font-size: 15px;

    transition: 0.3s;
}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus,
.formulario-contacto select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.06);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.formulario-contacto textarea {
    min-height: 120px;
    resize: vertical;
}

.formulario-contacto select option {
    background: var(--bg-dark);
    color: var(--text-main);
}

.formulario-contacto button {
    margin-top: 10px;
    padding: 14px 30px;

    border: none;
    border-radius: 10px;

    background: var(--accent-green);
    color: #04241a;

    font-size: 16px;
    font-weight: 800;

    cursor: pointer;

    transition: 0.3s;
}

.formulario-contacto button:hover {
    background: #34d399;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}


/* =========================================================
   CTA FINAL
========================================================= */

.cta-final {
    max-width: 1200px;

    margin: 0 auto 60px;
    padding: 50px 6%;

    text-align: center;

    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;

    background:
        radial-gradient(
            circle at center,
            rgba(16, 185, 129, 0.08),
            transparent 70%
        ),
        var(--bg-card);
}

.cta-final h2 {
    margin-bottom: 15px;

    font-size: clamp(26px, 3.5vw, 38px);
}

.cta-final p {
    max-width: 700px;

    margin: 0 auto 30px;

    color: var(--text-muted);
}

.btn-cta {
    display: inline-block;

    padding: 14px 34px;

    border-radius: 10px;

    background: var(--accent-green);
    color: #04241a;

    font-size: 16px;
    font-weight: 800;

    transition: 0.3s;
}

.btn-cta:hover {
    background: #34d399;
    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    overflow: hidden;

    padding: 25px 0;

    border-top: 1px solid var(--border);

    background: #020617;

    color: #64748b;

    font-size: 12px;
    letter-spacing: 1px;

    white-space: nowrap;
}

.marquee {
    display: inline-block;

    animation: mover 30s linear infinite;
}

@keyframes mover {

    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .accesos-grid,
    .accesos-grid-3 {
        grid-template-columns: 1fr;
    }

    .beneficios-container {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    header {
        height: 62px;

        padding: 0 20px;
    }

    .logo-text {
        font-size: 11px;
    }

    .header-nav {
        gap: 6px;
    }

    .btn-nav {
        padding: 8px 10px;
        font-size: 11px;
    }

    .hero {
        min-height: 650px;

        padding: 120px 20px 60px;
    }

    .hero p {
        font-size: 16px;
    }

    .contenedor-imagen-hero {
        height: 220px;
    }

    .seccion-contenedor {
        padding: 65px 20px;
    }

    .acceso-card {
        padding: 22px;
    }

    .beneficios-container {
        padding: 50px 20px;
    }

    .cta-final {
        margin-bottom: 40px;
        padding: 40px 20px;
    }

    .publicidad-slot.leaderboard {
        height: 70px;
    }

    .publicidad-slot.billboard {
        height: 90px;
    }

    .redes-flotantes {
        left: 10px;
        gap: 8px;
    }

    .redes-flotantes a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contacto-container.contacto-solo {
        padding: 35px 22px;
    }

    .contacto-seccion {
        padding: 0 20px;
        margin-bottom: 40px;
    }

}