/* =========================================================
   REFAMOTOFÁCIL
   Hoja de estilos principal
========================================================= */


/* =========================================================
   VARIABLES
========================================================= */

:root {

    --azul: #0d6efd;
    --azul-oscuro: #082b5c;
    --azul-profundo: #061d3b;

    --celeste: #eaf3ff;

    --gris: #64748b;
    --gris-claro: #f6f8fc;

    --blanco: #ffffff;

    --whatsapp: #25D366;

}


/* =========================================================
   GENERAL
========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: #14213d;

    background: #ffffff;

}


section {
    padding: 90px 0;
}


/* Evita que el navbar tape las secciones al navegar */

#inicio,
#funciones,
#catalogo,
#sistema,
#contacto {

    scroll-margin-top: 90px;

}



/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    background: rgba(255,255,255,.96);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #edf0f5;

    padding: 8px 0;

}


.navbar-brand {

    display: flex;

    align-items: center;

    padding: 0;

    margin: 0;

}


.logo-principal {

    width: 190px;

    height: 72px;

    object-fit: contain;

    object-position: left center;

    display: block;

}


.navbar .nav-link {

    font-weight: 500;

    color: #334155;

    margin: 0 7px;

}


.navbar .nav-link:hover {

    color: var(--azul);

}


.btn-login {

    border-radius: 10px;

    padding: 10px 20px;

    font-weight: 600;

}



/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 88vh;

    display: flex;

    align-items: center;

    padding: 130px 0 70px;

    overflow: hidden;

    position: relative;

    background:

        radial-gradient(
            circle at 85% 25%,
            rgba(13,110,253,.13),
            transparent 30%
        ),

        radial-gradient(
            circle at 10% 80%,
            rgba(13,110,253,.08),
            transparent 25%
        ),

        linear-gradient(
            180deg,
            #ffffff 0%,
            #f7faff 100%
        );

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: #eaf3ff;

    color: #0d6efd;

    padding: 8px 14px;

    border-radius: 30px;

    font-size: .9rem;

    font-weight: 700;

    margin-bottom: 20px;

}


.hero h1 {

    font-size: clamp(2.7rem,5vw,4.7rem);

    font-weight: 850;

    line-height: 1.03;

    letter-spacing: -2.5px;

    color: var(--azul-profundo);

}


.hero h1 span {

    color: var(--azul);

}


.hero-text {

    max-width: 620px;

    color: var(--gris);

    font-size: 1.15rem;

    line-height: 1.8;

    margin-top: 22px;

}


.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;

}


.hero-buttons .btn {

    padding: 13px 24px;

    border-radius: 12px;

    font-weight: 700;

}


.benefits {

    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 35px;

    color: #475569;

    font-size: .93rem;

}


.benefits span {

    display: flex;

    align-items: center;

    gap: 7px;

}


.benefits i {

    color: #16a34a;

}



/* =========================================================
   DASHBOARD DEMOSTRACIÓN
========================================================= */

.dashboard-wrap {

    position: relative;

    padding: 25px;

}


.dashboard-glow {

    position: absolute;

    width: 360px;

    height: 360px;

    background: rgba(13,110,253,.15);

    filter: blur(80px);

    border-radius: 50%;

    right: 0;

    top: 20px;

}


.dashboard-card {

    position: relative;

    background: white;

    border-radius: 22px;

    box-shadow:
        0 30px 80px rgba(8,43,92,.17);

    border: 1px solid #e8eef8;

    overflow: hidden;

    transform: rotate(1deg);

}


.dash-top {

    background: #082b5c;

    padding: 17px 20px;

    color: white;

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.dash-brand {

    font-weight: 800;

}


.dots {

    display: flex;

    gap: 6px;

}


.dots span {

    width: 8px;

    height: 8px;

    background: rgba(255,255,255,.6);

    border-radius: 50%;

}


.dash-body {

    padding: 22px;

}


.dash-title {

    font-weight: 800;

    font-size: 1.2rem;

    margin-bottom: 18px;

}


.stat {

    border: 1px solid #edf0f5;

    background: #fafcff;

    border-radius: 14px;

    padding: 15px;

    height: 100%;

}


.stat-icon {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #eaf3ff;

    color: #0d6efd;

    margin-bottom: 10px;

}


.stat small {

    color: #64748b;

}


.stat strong {

    display: block;

    font-size: 1.3rem;

    color: #0f172a;

}



/* =========================================================
   GRÁFICA
========================================================= */

.fake-chart {

    height: 150px;

    margin-top: 22px;

    border-radius: 14px;

    background:

        linear-gradient(
            to top,
            rgba(13,110,253,.08),
            transparent
        ),

        repeating-linear-gradient(
            to bottom,
            transparent,
            transparent 36px,
            #edf2f7 37px
        );

    position: relative;

    overflow: hidden;

}


.chart-bars {

    position: absolute;

    bottom: 0;

    left: 20px;

    right: 20px;

    height: 120px;

    display: flex;

    align-items: end;

    gap: 10px;

}


.chart-bars .bar {

    flex: 1;

    background:
        linear-gradient(
            180deg,
            #4d9aff,
            #0d6efd
        );

    border-radius: 5px 5px 0 0;

}


.bar-35 { height: 35%; }
.bar-55 { height: 55%; }
.bar-42 { height: 42%; }
.bar-76 { height: 76%; }
.bar-60 { height: 60%; }
.bar-92 { height: 92%; }
.bar-72 { height: 72%; }



/* =========================================================
   SECCIONES
========================================================= */

.section-light {

    background: var(--gris-claro);

}


.section-title {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;

}


.section-title small {

    color: var(--azul);

    text-transform: uppercase;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.section-title h2 {

    color: var(--azul-profundo);

    font-size: clamp(2rem,4vw,3rem);

    font-weight: 800;

    margin-top: 10px;

}


.section-title p {

    color: var(--gris);

    margin-top: 15px;

    line-height: 1.7;

}



/* =========================================================
   MÓDULOS
========================================================= */

.module-card {

    background: white;

    border: 1px solid #e8edf5;

    border-radius: 18px;

    padding: 28px;

    height: 100%;

    transition: .25s ease;

}


.module-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(15,23,42,.08);

    border-color: #d5e5ff;

}


.module-icon {

    width: 52px;

    height: 52px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #eaf3ff;

    color: var(--azul);

    font-size: 23px;

    margin-bottom: 18px;

}


.module-card h5 {

    font-weight: 800;

    color: #0f172a;

}


.module-card p {

    color: var(--gris);

    margin: 0;

    line-height: 1.65;

    font-size: .95rem;

}




/* =========================================================
   CATÁLOGO EN LÍNEA
========================================================= */

.catalog-section {
    background: radial-gradient(circle at 85% 20%, rgba(13,110,253,.12), transparent 30%),
                linear-gradient(180deg, #fff 0%, #f7faff 100%);
    overflow: hidden;
}

.catalog-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #eaf3ff;
    color: var(--azul);
    font-size: .9rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.catalog-title {
    color: var(--azul-profundo);
    font-size: clamp(2rem,4vw,3.2rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -1.5px;
}

.catalog-description {
    color: var(--gris);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-top: 22px;
}

.catalog-benefits {
    display: grid;
    gap: 14px;
    margin-top: 28px;
    color: #334155;
    font-weight: 600;
}

.catalog-benefits div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalog-benefits i { color: #16a34a; }

.catalog-preview-wrap {
    position: relative;
    padding: 24px;
}

.catalog-preview-wrap::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: 0;
    top: 30px;
    border-radius: 50%;
    background: rgba(13,110,253,.14);
    filter: blur(75px);
}

.catalog-preview {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid #e3ebf7;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 28px 70px rgba(8,43,92,.16);
}

.catalog-preview-top,
.catalog-preview-brand,
.catalog-product-bottom {
    display: flex;
    align-items: center;
}

.catalog-preview-top,
.catalog-product-bottom { justify-content: space-between; }

.catalog-preview-top { gap: 15px; margin-bottom: 20px; }
.catalog-preview-brand { gap: 12px; }
.catalog-preview-brand strong,
.catalog-preview-brand small { display: block; }
.catalog-preview-brand strong { color: #0f172a; }
.catalog-preview-brand small { color: #64748b; }

.catalog-preview-logo,
.catalog-preview-cart,
.catalog-add-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-preview-logo {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #eaf3ff;
    color: var(--azul);
    font-size: 22px;
}

.catalog-preview-cart {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--azul);
    color: #fff;
    font-size: 20px;
}

.catalog-preview-cart span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    background: #061d3b;
    color: #fff;
    font-size: .7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.catalog-preview-search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #94a3b8;
    background: #f8fafc;
}

.catalog-preview-categories {
    display: flex;
    gap: 8px;
    overflow: hidden;
    margin: 15px 0 18px;
}

.catalog-preview-categories span {
    white-space: nowrap;
    padding: 7px 12px;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.catalog-preview-categories span.active {
    background: var(--azul);
    color: #fff;
}

.catalog-product-card {
    height: 100%;
    padding: 14px;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: #fff;
}

.catalog-product-image {
    height: 105px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #eef5ff, #f8fbff);
    color: var(--azul);
    font-size: 42px;
}

.catalog-product-card small {
    display: block;
    color: #94a3b8;
    font-size: .72rem;
    margin-bottom: 3px;
}

.catalog-product-card strong {
    display: block;
    color: #0f172a;
    font-size: .9rem;
}

.catalog-product-bottom { gap: 8px; margin-top: 14px; }

.catalog-product-bottom > span:first-child {
    color: var(--azul-profundo);
    font-weight: 800;
}

.catalog-add-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--azul);
    color: #fff;
}

.catalog-preview-footer {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f4f8ff;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.5;
}

.catalog-preview-footer i {
    color: var(--azul);
    margin-right: 5px;
}


/* =========================================================
   EL SISTEMA
========================================================= */

.system-title {

    color: #061d3b;

    font-size: clamp(2rem,4vw,3rem);

    font-weight: 800;

    margin-top: 8px;

}


.system-description {

    color: #64748b;

    margin-top: 24px;

    line-height: 1.8;

}


.devices-box {

    padding: 48px;

    border-radius: 20px;

    background: #f4f8ff;

}


.device-card {

    background: white;

    border-radius: 16px;

    padding: 24px;

    box-shadow:
        0 4px 15px rgba(15,23,42,.06);

}



/* =========================================================
   ACCESO CLIENTES
========================================================= */

.access-section {

    padding-top: 0;

}


.cta-box {

    background:
        linear-gradient(
            135deg,
            #061d3b,
            #0d6efd
        );

    border-radius: 25px;

    padding: 55px;

    color: white;

    position: relative;

    overflow: hidden;

}


.cta-box::after {

    content: "";

    position: absolute;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

    right: -70px;

    top: -100px;

}


.cta-content {

    position: relative;

    z-index: 2;

}


.cta-box h2 {

    font-weight: 800;

    font-size: 2.3rem;

}


.cta-box p {

    color: rgba(255,255,255,.78);

    max-width: 650px;

}



/* =========================================================
   CONTACTO
========================================================= */

.contact-section {

    background: #f6f8fc;

}


.contact-card {

    background: #ffffff;

    border: 1px solid #e8edf5;

    border-radius: 24px;

    padding: 38px;

    height: 100%;

    box-shadow:
        0 15px 40px rgba(15,23,42,.06);

}


.contact-card h3 {

    font-weight: 800;

    color: #061d3b;

}


.contact-card p {

    color: #64748b;

    line-height: 1.7;

}


.contact-icon {

    width: 64px;

    height: 64px;

    border-radius: 18px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    margin-bottom: 20px;

}


.whatsapp-icon {

    background: #e9fbf0;

    color: #25D366;

}


.numero-whatsapp {

    display: flex;

    align-items: center;

    gap: 10px;

    color: #0f172a;

    font-weight: 700;

    margin: 22px 0;

}


.numero-whatsapp i {

    color: #25D366;

    font-size: 1.2rem;

}


.btn-whatsapp {

    background: #25D366;

    border: none;

    color: white;

    border-radius: 12px;

    padding: 13px 22px;

    font-weight: 700;

    transition: .2s ease;

}


.btn-whatsapp:hover {

    background: #1fbd5a;

    color: white;

    transform: translateY(-2px);

}



/* =========================================================
   REDES SOCIALES
========================================================= */

.social-card {

    background: white;

    border: 1px solid #e8edf5;

    border-radius: 18px;

    padding: 20px;

    height: 100%;

    display: flex;

    align-items: center;

    gap: 15px;

    transition: .25s ease;

}


.social-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(15,23,42,.08);

}


.social-icon {

    width: 52px;

    height: 52px;

    min-width: 52px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 24px;

}


.facebook {

    background: #eef4ff;

    color: #1877F2;

}


.tiktok {

    background: #f3f4f6;

    color: #111111;

}


.youtube {

    background: #fff0f0;

    color: #ff0000;

}


.social-info h6 {

    margin: 0;

    font-weight: 800;

    color: #0f172a;

}


.social-info span {

    font-size: .85rem;

    color: #94a3b8;

}


.social-link {

    text-decoration: none;

    color: inherit;

}


.social-coming-soon {

    margin-top: 24px;

    padding: 16px;

    border-radius: 16px;

    background: #f7f9fc;

    color: #64748b;

}



/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.whatsapp-floating {

    position: fixed;

    right: 24px;

    bottom: 24px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    background: #25D366;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 30px;

    text-decoration: none;

    box-shadow:
        0 10px 30px rgba(37,211,102,.38);

    z-index: 1050;

    transition: .2s ease;

}


.whatsapp-floating:hover {

    color: white;

    background: #1fbd5a;

    transform: scale(1.08);

}



/* =========================================================
   FOOTER
========================================================= */

footer {

    background: #06152c;

    color: #94a3b8;

    padding: 35px 0;

}


footer strong {

    color: white;

}



/* =========================================================
   MODAL LOGIN
========================================================= */

.modal-content {

    border: none;

    border-radius: 22px;

    overflow: hidden;

    box-shadow:
        0 30px 80px rgba(0,0,0,.2);

}


.login-modal {

    padding: 35px;

}


.login-logo-oficial {

    width: 210px;

    max-width: 80%;

    height: 100px;

    object-fit: contain;

    display: block;

    margin: 0 auto 12px;

}


.login-modal h3 {

    font-weight: 800;

    color: #061d3b;

}


.login-modal .form-control {

    height: 54px;

    border-radius: 11px;

    border: 1px solid #dce3ec;

}


.login-modal .form-control:focus {

    box-shadow:
        0 0 0 4px rgba(13,110,253,.1);

    border-color: #0d6efd;

}


.domain-preview {

    background: #f4f7fb;

    border-radius: 10px;

    padding: 12px;

    font-size: .9rem;

    color: #64748b;

    word-break: break-all;

}


.domain-preview strong {

    color: #0d6efd;

}


.login-error {

    display: none;

    color: #dc3545;

    font-size: .88rem;

    margin-top: 8px;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .hero {

        padding-top: 140px;

    }


    .dashboard-wrap {

        margin-top: 50px;

    }


    .hero h1 {

        letter-spacing: -1.5px;

    }


    .devices-box {

        padding: 30px;

    }

}



/* =========================================================
   MÓVIL
========================================================= */


/* Catálogo en móvil */
@media (max-width: 576px) {
    .catalog-preview-wrap { padding: 0; margin-top: 10px; }
    .catalog-preview { padding: 16px; border-radius: 18px; }
    .catalog-title { letter-spacing: -1px; }
    .catalog-product-image { height: 82px; font-size: 34px; }
    .catalog-product-card { padding: 10px; }
    .catalog-product-card strong { font-size: .8rem; }
    .catalog-product-bottom > span:first-child { font-size: .82rem; }
}

@media (max-width: 576px) {

    .navbar {

        padding: 6px 0;

    }


    .logo-principal {

        width: 145px;

        height: 58px;

    }


    .hero {

        padding-top: 120px;

    }


    .hero h1 {

        font-size: 2.65rem;

    }


    .hero-text {

        font-size: 1rem;

    }


    .hero-buttons {

        flex-direction: column;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .benefits {

        flex-direction: column;

        gap: 10px;

    }


    .dashboard-wrap {

        padding: 5px;

    }


    .devices-box {

        padding: 18px;

    }


    .device-card {

        padding: 18px 5px;

    }


    .cta-box {

        padding: 35px 25px;

    }


    .contact-card {

        padding: 28px 22px;

    }


    .login-modal {

        padding: 28px 22px;

    }


    .login-logo-oficial {

        width: 180px;

        height: 85px;

    }


    .whatsapp-floating {

        width: 55px;

        height: 55px;

        right: 18px;

        bottom: 18px;

        font-size: 27px;

    }

}