/* =====================================================
   PYMEVI DEMO
===================================================== */


/* =====================================================
   HERO
===================================================== */

.demo-hero {
    position: relative;
    overflow: hidden;
    padding: 50px 0 20px;
    background: linear-gradient(
        135deg,
        #f6fbff 0%,
        #ffffff 50%,
        #eef7ff 100%
    );
}


/* FONDOS DECORATIVOS */

.demo-bg {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.demo-bg-1 {
    width: 700px;
    height: 700px;
    top: -400px;
    right: -250px;
    background: rgba(13, 98, 173, 0.08);
}

.demo-bg-2 {
    width: 500px;
    height: 500px;
    bottom: -300px;
    left: -220px;
    background: rgba(29, 155, 240, 0.06);
}


/* =====================================================
   TAG
===================================================== */

.demo-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.demo-tag span {
    width: 35px;
    height: 3px;
    border-radius: 10px;
    background: #0d62ad;
}


/* =====================================================
   TITULO
===================================================== */

.demo-hero h1 {
    max-width: 700px;
    margin-bottom: 25px;
    color: #172a3d;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
}

.demo-hero h1 strong {
    display: block;
    color: #0d62ad;
}


/* =====================================================
   DESCRIPCION
===================================================== */

.demo-description {
    max-width: 620px;
    margin-bottom: 40px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.85;
}


/* =====================================================
   BENEFICIOS
===================================================== */

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.demo-benefit {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.demo-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    color: #ffffff;
    background: #0d62ad;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 8px 20px rgba(13, 98, 173, 0.18);
}

.demo-benefit strong,
.demo-benefit span {
    display: block;
}

.demo-benefit strong {
    margin-bottom: 4px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 750;
}

.demo-benefit span {
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}


/* =====================================================
   FORMULARIO
===================================================== */

.demo-form-card {
    position: relative;
    padding: 42px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e6edf5;
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.10);
}


/* HEADER FORM */

.demo-form-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
}

.demo-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0d62ad,
        #1d9bf0
    );
    border-radius: 17px;
    font-size: 22px;
    box-shadow: 0 10px 25px rgba(13, 98, 173, 0.22);
}

.demo-form-header span {
    display: block;
    margin-bottom: 4px;
    color: #0d62ad;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.demo-form-header h2 {
    margin: 0;
    color: #1e293b;
    font-size: 25px;
    font-weight: 800;
}


/* INTRO */

.demo-form-intro {
    margin-bottom: 30px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}


/* =====================================================
   CAMPOS
===================================================== */

.demo-form .form-group {
    margin-bottom: 22px;
}

.demo-form label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.input-wrapper,
.textarea-wrapper {
    position: relative;
}

.input-wrapper > i,
.textarea-wrapper > i {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #94a3b8;
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.textarea-wrapper > i {
    top: 20px;
    transform: none;
}


/* INPUTS */

.demo-form .form-control {
    width: 100%;
    height: 52px;
    padding: 0 16px 0 45px;
    color: #1e293b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: none;
    transition: all 0.25s ease;
}

.demo-form textarea.form-control {
    height: auto;
    min-height: 115px;
    padding-top: 16px;
    resize: vertical;
}

.demo-form .form-control::placeholder {
    color: #a0aec0;
}

.demo-form .form-control:focus {
    color: #1e293b;
    background: #ffffff;
    border-color: #0d62ad;
    box-shadow: 0 0 0 4px rgba(13, 98, 173, 0.08);
}


/* =====================================================
   BOTON
===================================================== */

.demo-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    min-height: 58px;
    margin-top: 8px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0d62ad,
        #084b85
    );
    border: none;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(13, 98, 173, 0.20);
    transition: all 0.3s ease;
}

.demo-submit span {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: transform 0.3s ease;
}

.demo-submit:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(13, 98, 173, 0.28);
}

.demo-submit:hover span {
    transform: translateX(5px);
}


/* =====================================================
   SEGURIDAD
===================================================== */

.demo-security {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    color: #94a3b8;
    font-size: 10px;
    line-height: 1.6;
    text-align: center;
}

.demo-security i {
    margin-top: 2px;
    color: #0d62ad;
}


/* =====================================================
   PROCESO
===================================================== */

.demo-process {
    padding: 120px 0;
    background: #ffffff;
}

.demo-section-header {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

.demo-section-header > span {
    display: block;
    margin-bottom: 18px;
    color: #0d62ad;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.demo-section-header h2 {
    margin-bottom: 20px;
    color: #1e293b;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.15;
}

.demo-section-header h2 strong {
    display: block;
    color: #0d62ad;
}

.demo-section-header p {
    margin: 0;
    color: #64748b;
    font-size: 16px;
    line-height: 1.8;
}


/* =====================================================
   PASOS
===================================================== */

.demo-step {
    position: relative;
    height: 100%;
    min-height: 330px;
    padding: 45px 30px;
    margin-bottom: 30px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e8eef4;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.35s ease;
}

.demo-step::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -110px;
    bottom: -110px;
    background: rgba(13, 98, 173, 0.05);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.demo-step:hover {
    transform: translateY(-9px);
    border-color: rgba(13, 98, 173, 0.25);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.10);
}

.demo-step:hover::after {
    transform: scale(1.7);
}


/* NUMERO */

.step-number {
    position: absolute;
    top: 22px;
    right: 25px;
    color: #dbeafe;
    font-size: 14px;
    font-weight: 800;
}


/* ICONO */

.step-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 28px;
    color: #0d62ad;
    background: rgba(13, 98, 173, 0.10);
    border-radius: 20px;
    font-size: 26px;
    transition: all 0.3s ease;
}

.demo-step:hover .step-icon {
    color: #ffffff;
    background: #0d62ad;
}


/* TEXTO PASOS */

.demo-step h3,
.demo-step p {
    position: relative;
    z-index: 2;
}

.demo-step h3 {
    margin-bottom: 15px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 750;
}

.demo-step p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}


/* =====================================================
   CTA FINAL
===================================================== */

.demo-final {
    padding: 100px 0;
    background: #ffffff;
}

.demo-final-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 70px;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #0d62ad,
        #083d70
    );
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(13, 98, 173, 0.25);
}

.demo-final-content > div {
    max-width: 750px;
}

.demo-final-content > div > span {
    display: block;
    margin-bottom: 15px;
    color: #9bd8ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.demo-final h2 {
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
}

.demo-final h2 strong {
    display: block;
    color: #b6e5ff;
}

.demo-final p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.8;
}

.demo-final-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-shrink: 0;
    min-width: 220px;
    padding: 18px 28px;
    color: #0d62ad !important;
    background: #ffffff;
    border-radius: 13px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.demo-final-button:hover {
    color: #0d62ad !important;
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.demo-final-button span {
    font-size: 22px;
    transition: transform 0.3s ease;
}

.demo-final-button:hover span {
    transform: translateX(5px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .demo-hero {
        padding: 130px 0 90px;
    }

    .demo-form-card {
        margin-top: 60px;
    }

    .demo-process {
        padding: 90px 0;
    }

    .demo-final-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .demo-hero {
        padding: 110px 0 70px;
    }

    .demo-hero h1 {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .demo-description {
        font-size: 16px;
    }

    .demo-form-card {
        padding: 28px 20px;
        margin-top: 50px;
        border-radius: 20px;
    }

    .demo-form-header {
        gap: 12px;
    }

    .demo-form-header h2 {
        font-size: 21px;
    }

    .demo-form-icon {
        width: 50px;
        height: 50px;
        border-radius: 15px;
        font-size: 19px;
    }

    .demo-process {
        padding: 75px 0;
    }

    .demo-section-header {
        margin-bottom: 45px;
    }

    .demo-step {
        min-height: auto;
        padding: 40px 25px;
    }

    .demo-final {
        padding: 60px 0;
    }

    .demo-final-content {
        padding: 45px 25px;
        gap: 35px;
        border-radius: 22px;
    }

    .demo-final-button {
        width: 100%;
    }

}


/* =====================================================
   MOBILE PEQUEÑO
===================================================== */

@media (max-width: 480px) {

    .demo-hero h1 {
        font-size: 2.3rem;
    }

    .demo-tag {
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .demo-benefit {
        gap: 12px;
    }

    .demo-benefit-icon {
        width: 34px;
        height: 34px;
    }

    .demo-benefit strong {
        font-size: 14px;
    }

    .demo-benefit span {
        font-size: 12px;
    }

}