/* =========================================================
   VIREXIS HEALTH CENTER
   MODELO DE ATENCION V2
   Diseno premium responsive
   ========================================================= */

.vx-home #modelo.vx-journey-v2 {
    padding: 88px 0 92px !important;
    background: linear-gradient(
        180deg,
        #f5f8fc 0%,
        #ffffff 100%
    );
}

.vx-home #modelo .vx-journey-v2-heading {
    max-width: 850px;
    margin: 0 auto 46px !important;
    text-align: center;
}

.vx-home #modelo .vx-journey-v2-heading > span {
    display: block;
    margin-bottom: 18px !important;
    color: #2574b9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.vx-home #modelo .vx-journey-v2-heading h2 {
    margin-bottom: 20px !important;
    color: #102b4c;
}

.vx-home #modelo .vx-journey-v2-heading p {
    max-width: 710px;
    margin: 0 auto !important;
    color: #52647a;
    line-height: 1.75;
}

/* CUATRO ETAPAS */

.vx-home #modelo .vx-journey-v2-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin: 0;
}

.vx-home #modelo .vx-journey-v2-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(16, 43, 76, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}

@media (hover: hover) {
    .vx-home #modelo .vx-journey-v2-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(16, 43, 76, .12);
    }
}

/* CONECTORES ENTRE TARJETAS */

.vx-home #modelo .vx-journey-v2-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    z-index: 5;
    top: 112px;
    right: -17px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #dbe7f4;
    border-radius: 50%;
    background: #ffffff;
    color: #2479bf;
    font-size: 19px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(16, 43, 76, .08);
}

/* FOTOGRAFIAS */

.vx-home #modelo .vx-journey-v2-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #eaf1f7;
}

.vx-home #modelo .vx-journey-v2-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.vx-home #modelo .vx-journey-v2-number {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    background: rgba(16, 43, 76, .94);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* CONTENIDO */

.vx-home #modelo .vx-journey-v2-content {
    padding: 25px 22px 28px;
}

.vx-home #modelo .vx-journey-v2-content h3 {
    margin: 0 0 13px;
    color: #102b4c;
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 700;
    line-height: 1.3;
}

.vx-home #modelo .vx-journey-v2-content p {
    margin: 0;
    color: #5a6b7f;
    font-size: 14px;
    line-height: 1.7;
}

/* BENEFICIOS */

.vx-home #modelo .vx-journey-v2-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 34px;
    margin-top: 42px;
}

.vx-home #modelo .vx-journey-v2-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #344d67;
    font-size: 14px;
    font-weight: 600;
}

.vx-home #modelo .vx-journey-v2-benefits span::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e7f2fc;
    color: #2074b9;
    font-size: 13px;
    font-weight: 700;
}

/* AGENDAMIENTO */

.vx-home #modelo .vx-journey-v2-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.vx-home #modelo .vx-journey-v2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 54px;
    padding: 15px 28px;
    border-radius: 9px;
    background: #102b4c;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}

.vx-home #modelo .vx-journey-v2-cta:hover {
    background: #1c5b91;
    color: #ffffff;
    transform: translateY(-2px);
}

.vx-home #modelo .vx-journey-v2-cta:focus-visible {
    outline: 3px solid #59a8e7;
    outline-offset: 4px;
}

.vx-home #modelo .vx-journey-v2-cta span {
    font-size: 20px;
}

/* TABLET */

@media (max-width: 1100px) {
    .vx-home #modelo .vx-journey-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .vx-home #modelo .vx-journey-v2-card::after {
        display: none !important;
    }

    .vx-home #modelo .vx-journey-v2-image {
        height: 240px;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .vx-home #modelo.vx-journey-v2 {
        padding: 58px 0 65px !important;
    }

    .vx-home #modelo .vx-journey-v2-heading {
        margin-bottom: 32px !important;
    }

    .vx-home #modelo .vx-journey-v2-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .vx-home #modelo .vx-journey-v2-image {
        height: 230px;
    }

    .vx-home #modelo .vx-journey-v2-content {
        padding: 23px;
    }

    .vx-home #modelo .vx-journey-v2-content h3 {
        font-size: 21px;
    }

    .vx-home #modelo .vx-journey-v2-benefits {
        flex-direction: column;
        align-items: flex-start;
        max-width: 270px;
        margin: 32px auto 0;
        gap: 16px;
    }

    .vx-home #modelo .vx-journey-v2-actions {
        margin-top: 30px;
    }

    .vx-home #modelo .vx-journey-v2-cta {
        width: 100%;
        max-width: 360px;
        gap: 14px;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vx-home #modelo .vx-journey-v2-card,
    .vx-home #modelo .vx-journey-v2-cta {
        transition: none;
    }
}
