/* =========================
   Home / Hero principal
========================= */

.texto-head {
    min-height: 255px;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.45rem, 5vw, 4rem);
    line-height: 1.1;
    color: #5c5c5c;
}

.hero-img {
    transform: perspective(1000px) rotateY(-15deg) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .3);
    transition: transform .5s ease;
}

.cursor {
    display: inline-block;
    width: 0;
    margin-left: 2px;
    background-color: #434545;
    animation: blink .7s steps(1) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.btn-sis360-custom {
    background: linear-gradient(135deg, #1f80e8 0%, #1d6fe8 55%, #1b63dc 100%) !important;
    border: 0 !important;
    color: #fff !important;
}

.btn-sis360-custom:hover {
    background: linear-gradient(135deg, #1b72d4 0%, #155fd1 55%, #1857c7 100%) !important;
    border: 0 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-sis360-outline {
    background: #fff !important;
    border: 1px solid #1f80e8 !important;
    color: #1f80e8 !important;
    transition: all .2s ease;
}

.btn-sis360-outline:hover {
    background: linear-gradient(135deg, #1f80e8 0%, #1d6fe8 55%, #1b63dc 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

/* =========================
   Secciones generales
========================= */

.facturap-section {
    padding: 2rem;
    background: linear-gradient(180deg, #eef5fb 0%, #e6eef7 100%);
    border-top: 1px solid rgba(36, 141, 254, .12);
    border-bottom: 1px solid rgba(36, 141, 254, .12);
    border-left: 4px solid #248dfe;
}

.rubros-section {
    background: #fff;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #686a69;
}

.section-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    line-height: 1.7;
    color: #434545;
}

.icono {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    color: #434545;
}

.sub-icono {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #434545;
}

.btn-demo-home {
    font-size: 2rem;
}


/* =========================
   API Sistemas 360
========================= */

.api360-section {
    background: linear-gradient(180deg, #eef5fb 0%, #e6eef7 100%);
    border-top: 1px solid rgba(36, 141, 254, .12);
    border-bottom: 1px solid rgba(36, 141, 254, .12);
}

.api360-card {
    background: linear-gradient(135deg, #07111f 0%, #153fcb 48%, #2680fe 100%);
}


.api360-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.08;
}

.api360-text {
    max-width: 620px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .86);
}

.api360-chip {
    display: inline-flex;
    align-items: center;
    padding: .45rem .8rem;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    color: #fff;
    font-size: .85rem;
    font-weight: 600;
}

.api360-console {
    background: #07111f;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .25);
}

.api360-console pre {
    margin: 0;
    color: #d7e3f3;
    font-size: .74rem;
    line-height: 1.48;
    white-space: pre-wrap;
}

.api360-console pre span {
    color: #56c7e9;
    font-weight: 700;
}


/* =========================
   Desarrollo a medida
========================= */

.sis360-section {
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-top: 1px solid rgba(36, 141, 254, .10);
    border-left: 4px solid #248dfe;
}

.sis360-box {
    border-color: rgba(36, 141, 254, .18) !important;
}



/* =========================
   Animaciones
========================= */

.animar-scroll {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}

.animar-scroll.visible {
    opacity: 1;
    transform: translateX(0);
}


/* =========================
   Footer
========================= */

.footer-link {
    position: relative;
    color: #fff;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width .3s ease;
}

.footer-link:hover::after {
    width: 100%;
}


/* =========================
   Responsive
========================= */

@media (max-width: 767.98px) {
    .texto-head {
        min-height: 150px;
        font-size: 2.35rem;
        line-height: 1.08;
    }

    .hero-img {
        max-width: 92%;
        margin-top: .5rem;
        transform: perspective(900px) rotateY(-8deg) scale(1);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
    }

    .facturap-section {
        padding: 1.4rem 1rem;
    }

    .facturap-section h3,
    .container-fluid h2 {
        font-size: 2.1rem !important;
        line-height: 1.15;
    }

    .section-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .icono {
        font-size: 1.15rem;
    }

    .sub-icono {
        font-size: .95rem;
    }

    .container-fluid .ph {
        font-size: 4.2rem !important;
    }

    .container-fluid img {
        max-width: 7.5rem !important;
    }

    .integraciones-subtitulo {
        margin-bottom: 2rem !important;
        font-size: 1.15rem !important;
        line-height: 1.45;
    }

    .integraciones-subtitulo span {
        border-bottom-width: 2px !important;
        padding-bottom: 2px !important;
    }

    .btn-demo-home {
        width: 100%;
        padding: .75rem 1rem;
        font-size: 1.15rem;
    }

    .api360-text {
        font-size: 1rem;
    }

    .api360-console {
        padding: 1rem !important;
    }

    .api360-console pre {
        font-size: .72rem;
        line-height: 1.55;
    }

    .sis360-section {
        padding: 2rem 0 !important;
    }

    .sis360-section .section-title {
        font-size: 2rem !important;
        line-height: 1.15;
    }

    .sis360-section .section-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }

    .sis360-box {
        margin-top: .5rem;
    }

    .sis360-box .btn {
        padding: .75rem 1rem;
        font-size: 1rem;
    }
}