/* =========================================================
   HealPath Homepage Styles — Cleaned
   Load after healpath-core.css.

   Active homepage sections:
   - Who We Serve
   - How It Works
   - Services Snapshot
   - Hero
   - Why HealPath
   - Pricing Preview
   - Final CTA

   Removed legacy CSS for deleted/replaced homepage sections.
   ========================================================= */
body.healpath-home .main-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}   

/* ==================== Who We Serve ==================== */
.healpath-home .hp-audience {
    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            var(--hp-white) 0%,
            #fcfdff 100%
        );
}

.healpath-home .hp-audience .container-hp.hp-container {
    width: min(
        var(--hp-container-width),
        calc(100% - (var(--hp-container-gutter) * 2))
    );
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.healpath-home .hp-audience .hp-section-header {
    max-width: 1000px;
    margin-bottom: clamp(30px, 3vw, 40px);
}

.healpath-home .hp-audience .hp-title {
    max-width: none;
    margin-bottom: 8px;

    font-size: clamp(38px, 3vw, 46px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.healpath-home .hp-audience .hp-lead {
    color: #66718a;
    font-size: 16px;
    line-height: 1.55;
}

.healpath-home .hp-audience .hp-grid {
    gap: 22px;
}

.healpath-home .hp-audience .hp-card--audience {
    border-color: #e4eaf1;
    border-radius: 16px;

    box-shadow: 0 9px 25px rgba(5, 21, 73, 0.07);
}

.healpath-home .hp-audience .hp-card--audience:hover {
    transform: translateY(-3px);
    border-color: rgba(17, 175, 203, 0.25);
    box-shadow: 0 15px 34px rgba(5, 21, 73, 0.11);
}

.healpath-home .hp-audience .hp-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: visible;
}

.healpath-home .hp-audience .hp-card__media > p {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.healpath-home .hp-audience .hp-card__media img {
    display: block;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    object-fit: cover !important;
}

.healpath-home .hp-audience .hp-card__icon {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;

    border: 3px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;

    box-shadow: 0 6px 15px rgba(5, 21, 73, 0.18);
}

.healpath-home .hp-audience .hp-card__body {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    row-gap: 12px;

    height: 100%;
    padding: 20px 20px 22px;
}

.healpath-home .hp-audience .hp-card__title,
.healpath-home .hp-audience .hp-card__text,
.healpath-home .hp-audience .hp-card__link {
    margin: 0;
}

.healpath-home .hp-audience .hp-card__title {
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.healpath-home .hp-audience .hp-card__text {
    align-self: start;

    color: #63708a;

    font-size: 14px;
    line-height: 1.62;
}

.healpath-home .hp-audience .hp-card__footer {
    align-self: end;
    justify-self: start;

    margin: 0;
    padding: 2px 0 0;
}

.healpath-home .hp-audience .hp-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin: 0;
    padding: 0;

    line-height: 1.2;
    white-space: nowrap;
}

.healpath-home .hp-audience .hp-link-arrow {
    font-size: 13px;
    line-height: 1.2;
}

.healpath-home .hp-audience .serve-grid-hp.hp-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 1160px;
    margin-inline: auto !important;
}

.healpath-home .hp-audience .serve-families img {
    object-position: center 42%;
}

.healpath-home .hp-audience .serve-payers img {
    object-position: center 55%;
}

/* ==================== Shared Dark Section ==================== */
.healpath-home .hp-section--dark {
    color: rgba(255, 255, 255, 0.76);

    background:
        linear-gradient(
            115deg,
            var(--hp-navy-950) 0%,
            #082765 48%,
            #0f59a7 100%
        );
}

.healpath-home .hp-section--dark .hp-title {
    color: var(--hp-white);
}

.healpath-home .hp-section--dark .hp-eyebrow {
    color: var(--hp-turquoise-500);
    background-color: rgba(17, 175, 203, 0.16);

    box-shadow: none;
}

.healpath-home .hp-eyebrow-wrap--start {
    justify-content: flex-start;
}

/* ==================== How It Works ==================== */
.healpath-home .hp-process {
    overflow: hidden;
}

.healpath-home .hp-process__header {
    margin-bottom: clamp(36px, 3vw, 44px);
}

.healpath-home .hp-process .hp-process__grid {
    display: grid !important;

    grid-template-columns:
        minmax(0, 1fr)
        44px
        minmax(0, 1fr)
        44px
        minmax(0, 1fr) !important;

    align-items: stretch;
    gap: 0;

    width: 100%;
    max-width: 1160px;

    margin: 0 auto !important;
    padding: 0 !important;
}

.healpath-home .hp-process .hp-step {
    position: relative;

    display: flex !important;
    width: auto !important;
    min-width: 0;
    min-height: 350px;
    height: 100%;

    flex-direction: column;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;

    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);

    background-color: var(--hp-white);

    box-shadow: var(--hp-shadow-card);
}

.healpath-home .hp-process .hp-step__media {
    position: relative;

    width: 100%;
    height: clamp(175px, 14vw, 190px);
    flex: 0 0 auto;

    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.healpath-home .hp-process .hp-step__media > p {
    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;
}

.healpath-home .hp-process .hp-step__media img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: none;

    margin: 0 !important;

    object-fit: cover;
    object-position: center;
}

.healpath-home .hp-process .hp-step__body {
    display: flex !important;
    min-height: 0;
    flex: 1;
    flex-direction: column;

    margin: 0 !important;
    padding: 22px 24px 24px !important;
}

.healpath-home .hp-process .hp-step__title {
    margin: 0 0 12px !important;
    padding: 0 !important;

    color: var(--hp-text) !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.healpath-home .hp-process .hp-step__text {
    margin: 0 !important;
    padding: 0 !important;

    color: var(--hp-muted) !important;

    font-size: 14px !important;
    line-height: 1.62 !important;
}

.healpath-home .hp-process .hp-step__number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;

    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;

    margin: 0;
    padding: 0;

    border-radius: 50%;

    color: var(--hp-white);
    background-color: var(--hp-turquoise-500);

    font-size: 15px;
    font-weight: 800;
    line-height: 1;

    box-shadow:
        0 8px 18px rgba(17, 175, 203, 0.22);
}

.healpath-home
.hp-process
.step-connector-hp.hp-step__connector {
    position: relative !important;

    display: block !important;
    width: 44px !important;
    min-width: 44px !important;
    height: auto !important;
    min-height: 0 !important;

    align-self: stretch !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.healpath-home
.hp-process
.step-connector-hp.hp-step__connector::before {
    content: "" !important;

    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;

    display: block !important;
    width: 30px !important;
    height: 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    background-color: transparent !important;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='18' viewBox='0 0 30 18' fill='none'%3E%3Cpath d='M2 9H26M20 3L26 9L20 15' stroke='%2311AFCB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    opacity: 1 !important;

    transform: translate(-50%, -50%) !important;
}

.healpath-home
.hp-process
.step-connector-hp.hp-step__connector::after {
    content: none !important;
    display: none !important;
}

.healpath-home
.hp-process
.step-connector-hp.hp-step__connector
.connector-line-hp {
    display: none !important;
}

.healpath-home .hp-process .hp-step--final {
    border-color: rgba(47, 179, 109, 0.72);
}

.healpath-home
.hp-process
.hp-step--final
.hp-step__number {
    background-color: var(--hp-success);

    box-shadow:
        0 8px 18px rgba(47, 179, 109, 0.22);
}

@media (max-width: 991px) {

    .healpath-home .hp-process .hp-process__grid {
        grid-template-columns: minmax(0, 1fr) !important;

        max-width: 620px;
    }

    .healpath-home .hp-process .hp-step {
        min-height: 0;
    }

    .healpath-home
    .hp-process
    .step-connector-hp.hp-step__connector {
        display: none !important;
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-process__header {
        margin-bottom: 30px;
    }

    .healpath-home .hp-process .hp-step__media {
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .healpath-home .hp-process .hp-step__body {
        padding: 20px !important;
    }

    .healpath-home .hp-process .hp-step__number {
        top: 14px;
        left: 14px;

        width: 42px;
        height: 42px;

        font-size: 14px;
    }

    .healpath-home .hp-process .hp-step__title {
        font-size: 16px !important;
    }

    .healpath-home .hp-process .hp-step__text {
        font-size: 13px !important;
    }
}

/* ==================== Final CTA ==================== */
.healpath-home .hp-final-cta {
    position: relative;

    margin: 0 !important;
    padding: clamp(54px, 5vw, 72px) 0 !important;
    overflow: hidden;

    background:
        linear-gradient(
            100deg,
            #12b4c9 0%,
            var(--hp-turquoise-500, #11afcb) 52%,
            #0ca2b7 100%
        ) !important;
}

.healpath-home .hp-final-cta > .vc_column_container,
.healpath-home .hp-final-cta .vc-column-inner,
.healpath-home .hp-final-cta .vc_column-inner,
.healpath-home .hp-final-cta .wpb_text_column,
.healpath-home .hp-final-cta .section-hp,
.healpath-home .hp-final-cta .wpb_wrapper {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.healpath-home .hp-final-cta .section-hp {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.healpath-home .hp-final-cta::before,
.healpath-home .hp-final-cta::after,
.healpath-home .hp-final-cta__decor::before,
.healpath-home .hp-final-cta__decor::after {
    content: "";

    position: absolute;

    border-radius: 50%;

    background-color: rgba(255, 255, 255, 0.08);

    pointer-events: none;
}

.healpath-home .hp-final-cta::before {
    bottom: -135px;
    left: -105px;

    width: 250px;
    height: 250px;
}

.healpath-home .hp-final-cta::after {
    top: -135px;
    right: -85px;

    width: 280px;
    height: 280px;
}

.healpath-home .hp-final-cta__decor {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;

    margin: 0 !important;
    padding: 0 !important;

    pointer-events: none;
}

.healpath-home .hp-final-cta__decor::before {
    top: 22px;
    left: 18%;

    width: 135px;
    height: 135px;
}

.healpath-home .hp-final-cta__decor::after {
    top: 58px;
    right: 19%;

    width: 92px;
    height: 92px;
}

.healpath-home .hp-final-cta .hp-container {
    position: relative;
    z-index: 1;
}

.healpath-home
.hp-final-cta
.cta-wrapper-hp.hp-final-cta__content {
    display: flex !important;
    width: 100%;
    max-width: 980px;
    flex-direction: column;
    align-items: center;

    margin: 0 auto !important;
    padding: 0 !important;

    text-align: center;
}

.healpath-home .hp-final-cta__title {
    max-width: 900px;

    margin: 0 0 14px !important;
    padding: 0 !important;

    color: var(--hp-white, #ffffff) !important;

    font-size: clamp(28px, 3vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.025em;
}

.healpath-home .hp-final-cta__description {
    max-width: 760px;

    margin: 0 0 28px !important;
    padding: 0 !important;

    color: rgba(255, 255, 255, 0.88) !important;

    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

.healpath-home
.hp-final-cta
.cta-buttons-hp.hp-final-cta__actions {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;

    margin: 0 !important;
    padding: 0 !important;
}

.healpath-home .hp-final-cta__button {
    display: inline-flex !important;
    min-width: 210px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;

    margin: 0 !important;
    padding: 0 28px !important;

    border-radius: var(--hp-radius-pill, 999px) !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.healpath-home .hp-final-cta__button i {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 14px !important;
    line-height: 1 !important;
}

.healpath-home .hp-final-cta__button--primary {
    border: 1px solid var(--hp-white, #ffffff) !important;

    color: var(--hp-navy-900, #071847) !important;
    background-color: var(--hp-white, #ffffff) !important;

    box-shadow:
        0 10px 24px rgba(3, 29, 74, 0.14);
}

.healpath-home .hp-final-cta__button--primary:hover {
    color: var(--hp-navy-900, #071847) !important;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(3, 29, 74, 0.2);
}

.healpath-home .hp-final-cta__button--secondary {
    border: 2px solid rgba(255, 255, 255, 0.72) !important;

    color: var(--hp-white, #ffffff) !important;
    background-color: transparent !important;

    box-shadow: none !important;
}

.healpath-home .hp-final-cta__button--secondary:hover {
    border-color: var(--hp-white, #ffffff) !important;

    color: var(--hp-navy-900, #071847) !important;
    background-color: var(--hp-white, #ffffff) !important;

    transform: translateY(-2px);
}

@media (max-width: 991px) {

    .healpath-home .hp-final-cta {
        padding: 54px 0 !important;
    }

    .healpath-home .hp-final-cta__decor::before {
        left: 8%;
    }

    .healpath-home .hp-final-cta__decor::after {
        right: 8%;
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-final-cta {
        padding: 42px 0 !important;
    }

    .healpath-home .hp-final-cta__content {
        max-width: 430px;
    }

    .healpath-home .hp-final-cta__title {
        max-width: 360px;

        margin-bottom: 12px !important;

        font-size: 26px !important;
        line-height: 1.28 !important;
    }

    .healpath-home .hp-final-cta__description {
        max-width: 340px;

        margin-bottom: 24px !important;

        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .healpath-home
    .hp-final-cta
    .cta-buttons-hp.hp-final-cta__actions {
        width: 100%;
        max-width: 320px;
        flex-direction: column;
        gap: 12px;
    }

    .healpath-home .hp-final-cta__button {
        width: 100%;
        min-width: 0;
        min-height: 50px;

        padding-inline: 22px !important;

        font-size: 14px !important;
    }

    .healpath-home .hp-final-cta::before {
        bottom: -110px;
        left: -110px;

        width: 210px;
        height: 210px;
    }

    .healpath-home .hp-final-cta::after {
        top: -90px;
        right: -100px;

        width: 210px;
        height: 210px;
    }

    .healpath-home .hp-final-cta__decor::before {
        top: 24px;
        left: 12%;

        width: 82px;
        height: 82px;
    }

    .healpath-home .hp-final-cta__decor::after {
        top: auto;
        right: 10%;
        bottom: 18px;

        width: 62px;
        height: 62px;
    }
}

.healpath-home
.hp-final-cta
.cta-btn-white-hp::before,
.healpath-home
.hp-final-cta
.cta-btn-white-hp::after,
.healpath-home
.hp-final-cta
.cta-btn-outline-hp::before,
.healpath-home
.hp-final-cta
.cta-btn-outline-hp::after {
    content: none !important;
    display: none !important;
}

.healpath-home .hp-final-cta__button i {
    position: static !important;

    display: inline-block !important;
    flex: 0 0 auto;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    font-size: 14px !important;
    line-height: 1 !important;

    transform: none !important;
}

@media (min-width: 1200px) {

    .healpath-home .hp-final-cta__content {
        max-width: 1120px !important;
    }

    .healpath-home .hp-final-cta__title {
        width: 100%;
        max-width: none !important;

        font-size: 36px !important;
        white-space: nowrap;
    }
}

@media (max-width: 1199px) {

    .healpath-home .hp-final-cta__title {
        white-space: normal;
    }
}

/* ==================== Services Snapshot ==================== */
.healpath-home .hp-services-snapshot {
    background: var(--hp-white);
}

.healpath-home .hp-services-snapshot__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    width: 100%;
    max-width: 1040px;

    margin: 0 auto;
}

.healpath-home .hp-services-snapshot__card {
    position: relative;

    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;

    min-width: 0;
    min-height: 118px;

    padding: 20px;

    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius-md);

    color: var(--hp-text);
    background: var(--hp-white);

    box-shadow: 0 8px 24px rgba(5, 21, 73, 0.06);

    text-decoration: none !important;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.healpath-home .hp-services-snapshot__card:hover {
    transform: translateY(-3px);

    border-color: rgba(17, 175, 203, 0.32);

    box-shadow: 0 14px 30px rgba(5, 21, 73, 0.10);
}

.healpath-home .hp-services-snapshot__icon {
    display: grid;

    width: 52px;
    height: 52px;

    place-items: center;

    border-radius: 14px;

    color: var(--hp-turquoise-500);
    background: var(--hp-turquoise-050);

    font-size: 19px;
}

.healpath-home .hp-services-snapshot__content {
    min-width: 0;
}

.healpath-home .hp-services-snapshot__content h3 {
    margin: 0 0 5px;

    color: var(--hp-text);

    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.healpath-home .hp-services-snapshot__content p {
    margin: 0;

    color: var(--hp-muted);

    font-size: 13px;
    line-height: 1.5;
}

.healpath-home .hp-services-snapshot__arrow {
    color: var(--hp-turquoise-500);

    font-size: 20px;
    font-weight: 700;

    transition: transform 0.2s ease;
}

.healpath-home .hp-services-snapshot__card:hover
.hp-services-snapshot__arrow {
    transform: translateX(3px);
}

.healpath-home .hp-services-snapshot__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    margin-top: 28px;

    text-align: center;
}

.healpath-home .hp-services-snapshot__integration {
    margin: 0;

    color: var(--hp-muted);

    font-size: 13px;
    line-height: 1.5;
}

.healpath-home .hp-services-snapshot__integration i {
    margin-right: 6px;

    color: var(--hp-turquoise-500);
}

.healpath-home .hp-services-snapshot__all {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid var(--hp-turquoise-500);
    border-radius: var(--hp-radius-pill);

    color: var(--hp-turquoise-500);

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.healpath-home .hp-services-snapshot__all:hover {
    color: var(--hp-white);
    background: var(--hp-turquoise-500);
}

@media (max-width: 991px) {

    .healpath-home .hp-services-snapshot__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 760px;
    }

}

@media (max-width: 767px) {

    .healpath-home .hp-services-snapshot__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 10px;
    }

    .healpath-home .hp-services-snapshot__card {
        grid-template-columns: 32px minmax(0, 1fr) auto;

        min-height: 76px;

        gap: 8px;
        padding: 10px;
    }

    .healpath-home .hp-services-snapshot__icon {
        width: 32px;
        height: 32px;

        border-radius: 10px;

        font-size: 14px;
    }

    .healpath-home .hp-services-snapshot__content h3 {
        margin: 0;

        font-size: 11.5px;
        font-weight: 700;
        line-height: 1.18;
    }

    .healpath-home .hp-services-snapshot__content p {
        display: none;
    }

    .healpath-home .hp-services-snapshot__arrow {
        font-size: 15px;
    }

    .healpath-home .hp-services-snapshot__footer {
        gap: 12px;
        margin-top: 16px;
    }

    .healpath-home .hp-services-snapshot__integration {
        display: none;
    }

    .healpath-home .hp-services-snapshot__all {
        min-height: 40px;

        padding: 0 16px;

        font-size: 12.5px;
    }
}

@media (max-width: 1199px) {
    .healpath-home .hp-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .healpath-home .hp-audience .hp-title {
        white-space: normal;
    }

    .healpath-home .hp-audience .hp-grid {
        gap: 20px;
    }

}

@media (max-width: 991px) {
    .healpath-home {
        --hp-section-padding-y: 56px;
    }

}

@media (max-width: 767px) {
    .healpath-home {
        --hp-container-gutter: 20px;
        --hp-section-padding-y: 40px;
        --hp-grid-gap: 18px;
        --hp-card-icon-size: 48px;
        --hp-card-icon-font-size: 17px;
    }

    .healpath-home .hp-grid--4 {
        grid-template-columns: 1fr;
    }

    .healpath-home .hp-section-header {
        margin-bottom: 30px;
    }

    .healpath-home .hp-title {
        font-size: clamp(28px, 7vw, 32px) !important;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .healpath-home .hp-audience .container-hp.hp-container {
        width: calc(100% - 40px);
    }

    .healpath-home .hp-audience .hp-title {
        white-space: normal;
    }

}

@media (prefers-reduced-motion: reduce) {
    .healpath-home *,
.healpath-home *::before,
.healpath-home *::after {
        scroll-behavior: auto;
        transition-duration: 0.01ms;
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
    }
}

.healpath-home .hp-audience .hp-card__media {
    z-index: 2;
    overflow: visible;
}

.healpath-home .hp-audience .hp-card__icon {
    top: auto !important;
    bottom: calc(var(--hp-card-icon-size) / -2) !important;
    left: 20px !important;
}

.healpath-home .hp-audience .hp-card__body {
    padding-top: 46px;
}

@media (max-width: 767px) {
    .healpath-home .hp-audience .hp-card__icon {
        bottom: calc(var(--hp-card-icon-size) / -2) !important;
        left: 18px !important;
    }

    .healpath-home .hp-audience .hp-card__body {
        padding-top: 42px;
    }

}

@media (max-width: 767px) {

    .healpath-home
    .serve-grid-hp.hp-grid--4 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 20px !important;

        width: 100%;
        max-width: 410px;

        margin: 0 auto !important;
        padding: 0 !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience {
        display: flex !important;
        width: 100% !important;
        min-width: 0;
        min-height: 0 !important;
        height: auto !important;
        flex-direction: column;

        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;

        border-radius: 16px !important;

        background-color: var(--hp-white);

        box-shadow:
            0 10px 24px rgba(7, 24, 71, 0.08) !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__media {
        position: relative;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 16 / 10;
        flex: 0 0 auto !important;

        margin: 0 !important;
        padding: 0 !important;

        overflow: visible !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__media > p {
        width: 100%;
        height: 100%;

        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;

        border-radius: 16px 16px 0 0;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__media img {
        display: block;

        width: 100% !important;
        height: 100% !important;
        max-width: none !important;

        margin: 0 !important;

        object-fit: cover !important;
        object-position: center !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__icon {
        position: absolute !important;
        bottom: -23px !important;
        left: 18px !important;
        z-index: 3;

        display: grid !important;
        width: 46px !important;
        height: 46px !important;
        place-items: center;
        flex: 0 0 46px;

        margin: 0 !important;
        padding: 0 !important;

        border: 3px solid var(--hp-white) !important;
        border-radius: 50% !important;

        box-sizing: border-box;
        transform: none !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__body {
        position: relative;
        z-index: 1;

        display: flex !important;
        min-height: 0 !important;
        flex: 1;
        flex-direction: column;

        margin: 0 !important;
        padding: 34px 18px 18px !important;

        background-color: var(--hp-white) !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;

        margin: 0 0 10px !important;
        padding: 0 !important;

        color: var(--hp-text) !important;

        font-size: 16px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;

        transform: none !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__text {
        margin: 0 0 18px !important;
        padding: 0 !important;

        color: var(--hp-muted) !important;

        font-size: 13px !important;
        line-height: 1.6 !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__text br {
        display: none !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__footer {
        align-self: flex-start !important;
        margin: auto 0 0 !important;
        padding: 0 !important;
    }

    .healpath-home
    .serve-grid-hp
    .hp-card--audience
    .hp-card__link {
        display: inline-flex;
        align-items: center;
        gap: 8px;

        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}

/* ==================== Hero ==================== */
.healpath-home .hp-hero {
    position: relative;
    overflow: hidden;
}

.healpath-home .hp-hero .hero-content-hp {
    position: relative;
    z-index: 2;
}

.healpath-home .hp-hero .container-hp {
    width: calc(100% - 40px);
    max-width: 1160px;

    margin: 0 auto !important;
}

.healpath-home .hp-hero .hero-grid-hp {
    display: grid !important;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(56px, 6vw, 92px);

    width: 100%;

    margin: 0 !important;
}

.healpath-home .hp-hero .hero-text-hp {
    min-width: 0;
}

.healpath-home .hp-hero .hero-badge-hp {
    display: inline-flex !important;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;

    align-items: center !important;
    justify-content: center;
    gap: 8px;

    margin-bottom: 24px !important;
    padding: 0 14px !important;

    line-height: 1 !important;
}

.healpath-home .hp-hero .hero-badge-hp::before {
    position: static !important;
    inset: auto !important;

    display: block;
    flex: 0 0 auto;

    margin: 0 !important;

    line-height: 1 !important;
    transform: none !important;
}

.healpath-home .hp-hero .badge-text-hp {
    display: block;

    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;
}


.healpath-home .hp-hero .btn-primary-hp {
    display: inline-flex !important;
    min-height: 50px;

    align-items: center !important;
    justify-content: center;
    gap: 10px;

    padding: 0 24px !important;

    line-height: 1 !important;
}

.healpath-home .hp-hero .btn-primary-hp::after {
    position: static !important;
    inset: auto !important;

    display: block;
    flex: 0 0 auto;

    margin: 0 !important;

    line-height: 1 !important;
    transform: none !important;
}

.healpath-home .hp-hero .badge-text-hp {
    display: block;
    margin: 0;
    padding: 0;

    line-height: 1;
}

/* Arabic Hero — headline layout */
@media (min-width: 992px) {
    body.rtl.healpath-home .hp-hero .hero-title-main-hp {
        display: block;
        white-space: nowrap;
        font-size: 54px;
        line-height: 1.08;
    }

    body.rtl.healpath-home .hp-hero .title-highlight-hp {
        display: block;
        font-size: 64px;
        line-height: 1.08;
    }
}
.healpath-home .hp-hero .hero-title-hp {
    max-width: 560px;

    margin: 0 0 20px !important;

    line-height: 1.08 !important;
    letter-spacing: -0.035em;
}

.healpath-home .hp-hero .title-highlight-hp {
    display: block;
}

.healpath-home .hp-hero .hero-tagline-hp {
    margin: 0 0 22px !important;
}

/* Arabic Hero — Tagline accent */
body.rtl.healpath-home .hp-hero .hero-tagline-hp {
    padding-left: 0 !important;
    padding-right: 24px !important;
}

body.rtl.healpath-home .hp-hero .hero-tagline-hp::before {
    left: auto !important;
    right: 0 !important;
}

/* Arabic Hero — Tagline one line on desktop */
@media (min-width: 992px) {
    body.rtl.healpath-home .hp-hero .hero-tagline-hp {
        width: max-content;
        max-width: none;
        white-space: nowrap;
    }
}

.healpath-home .hp-hero .hero-desc-hp {
    max-width: 560px;

    margin: 0 0 28px !important;

    line-height: 1.72 !important;
}

.healpath-home .hp-hero .hero-cta-hp {
    margin: 0 0 30px !important;
}

.healpath-home .hp-hero .btn-primary-hp {
    display: inline-flex;
    min-height: 54px;

    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 26px !important;

    line-height: 1.2;
}

.healpath-home .hp-hero .hero-visual-hp {
    position: relative;

    width: 100%;
    max-width: 540px;
    min-width: 0;

    margin: 0 auto !important;
}

.healpath-home .hp-hero .hero-main-image-hp {
    position: relative;

    width: min(100%, 460px);
    aspect-ratio: 4 / 4.35;

    margin: 0 auto !important;
    overflow: hidden;

    border-radius: 24px;

    transform: none !important;
}

.healpath-home .hp-hero .hero-main-image-hp > p {
    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 !important;
}

.healpath-home .hp-hero .hero-main-image-hp img {
    display: block;

    width: 100% !important;
    height: 100% !important;
    max-width: none !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center !important;
}

.healpath-home .hp-hero .hero-stats-card-hp {
    display: flex !important;
    width: 150px;
    min-height: 82px;
    align-items: center;
    gap: 12px;

    padding: 14px 16px !important;

    border-radius: 18px;

    background-color: #ffffff;

    box-shadow:
        0 16px 34px rgba(7, 24, 71, 0.12);

    box-sizing: border-box;
}

.healpath-home .hp-hero .stats-icon-hp {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px;

    margin: 0 !important;
}

.healpath-home .hp-hero .stats-info-hp {
    min-width: 0;
}

.healpath-home .hp-hero .stats-number-hp {
    display: block;

    margin: 0 0 4px !important;

    font-size: 20px !important;
    line-height: 1 !important;
}

.healpath-home .hp-hero .stats-label-hp {
    display: block;

    font-size: 11px !important;
    line-height: 1.3 !important;
}

.healpath-home .hp-hero .stats-info-hp br {
    display: none !important;
}

.healpath-home .hp-hero .hero-stats-card-hp.sc-1 {
    top: 7%;
    left: -3%;
}

.healpath-home .hp-hero .hero-stats-card-hp.sc-2 {
    top: 42%;
    right: -5%;
}

.healpath-home .hp-hero .hero-stats-card-hp.sc-3 {
    bottom: 9%;
    left: -1%;
}

@media (max-width: 991px) {

    .healpath-home .hp-hero .hero-grid-hp {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 0.9fr);
        gap: 40px;
    }

    .healpath-home .hp-hero .hero-title-hp {
        font-size: clamp(40px, 5vw, 54px) !important;
    }

    .healpath-home .hp-hero .hero-main-image-hp {
        width: min(100%, 390px);
    }

    .healpath-home .hp-hero .hero-stats-card-hp {
        width: 134px;
        min-height: 72px;

        padding: 12px !important;
    }

    .healpath-home .hp-hero .stats-icon-hp {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px;
    }

    .healpath-home .hp-hero .stats-number-hp {
        font-size: 18px !important;
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-hero .container-hp {
        width: calc(100% - 32px);
    }

    .healpath-home .hp-hero .hero-grid-hp {
        grid-template-columns: minmax(0, 1fr);
        gap: 42px;
    }

    .healpath-home .hp-hero .hero-text-hp {
        text-align: center;
    }
    
    .healpath-home .hp-hero .hero-badge-hp {
        margin-right: auto !important;
        margin-left: auto !important;
    }
    
    .healpath-home .hp-hero .hero-title-hp {
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center;
    }
    
    .healpath-home .hp-hero .hero-tagline-hp {
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center;
    }
    
    .healpath-home .hp-hero .hero-desc-hp {
        max-width: 430px;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center;
    }
    
    .healpath-home .hp-hero .hero-cta-hp {
        display: flex;
        justify-content: center;
    
        margin-right: auto !important;
        margin-left: auto !important;
    }

    .healpath-home .hp-hero .hero-visual-hp {
        max-width: 430px;
        padding: 0 18px;
    }

    .healpath-home .hp-hero .hero-main-image-hp {
        width: 100%;
        max-width: 340px;
        aspect-ratio: 4 / 4.5;

        border-radius: 20px;
    }

    .healpath-home .hp-hero .hero-stats-card-hp {
        width: 124px;
        min-height: 66px;
        gap: 8px;

        padding: 10px !important;

        border-radius: 14px;
    }

    .healpath-home .hp-hero .stats-icon-hp {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px;
    }

    .healpath-home .hp-hero .stats-number-hp {
        font-size: 16px !important;
    }

    .healpath-home .hp-hero .stats-label-hp {
        font-size: 9px !important;
    }

    .healpath-home .hp-hero .hero-stats-card-hp.sc-1 {
        top: 7%;
        left: 0;
    }

    .healpath-home .hp-hero .hero-stats-card-hp.sc-2 {
        top: 42%;
        right: 0;
    }

    .healpath-home .hp-hero .hero-stats-card-hp.sc-3 {
        bottom: 7%;
        left: 0;
    }
}

@media (max-width: 390px) {

    .healpath-home .hp-hero .hero-visual-hp {
        padding-inline: 12px;
    }

    .healpath-home .hp-hero .hero-stats-card-hp {
        width: 112px;
    }

    .healpath-home .hp-hero .stats-icon-hp {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px;
    }
}

@media (max-width: 767px) {

    .healpath-home {
        --hp-container-gutter: 16px;
        --hp-section-padding-y: 32px;
        --hp-grid-gap: 14px;
        --hp-card-icon-size: 44px;
        --hp-card-icon-font-size: 16px;
    }

    .healpath-home .hp-section {
        padding-top: var(--hp-section-padding-y) !important;
        padding-bottom: var(--hp-section-padding-y) !important;
    }

    .healpath-home .hp-container,
.healpath-home .hp-audience .container-hp.hp-container,
.healpath-home .hp-hero .container-hp {
        width: calc(100% - 32px) !important;
    }

    .healpath-home .hp-section-header,
.healpath-home .hp-process__header {
        margin-bottom: 22px !important;
    }

    .healpath-home .hp-eyebrow {
        min-height: 34px;
        height: 34px;
        padding-inline: 15px;
        gap: 7px;
    }

    .healpath-home .hp-eyebrow {
        font-size: 11px !important;
    }

    .healpath-home .hp-title {
        font-size: clamp(26px, 7.4vw, 30px) !important;
        line-height: 1.14 !important;
    }

    .healpath-home .hp-lead {
        font-size: 14px !important;
        line-height: 1.55 !important;
    }

    .healpath-home .serve-grid-hp.hp-grid--4,
.healpath-home .hp-process .hp-process__grid {
        display: grid !important;
        grid-template-columns: none !important;
        grid-auto-flow: column;
        grid-auto-columns: min(84vw, 330px);
        align-items: stretch;
        gap: 14px !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
        padding: 0 0 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;

        scroll-snap-type: inline mandatory;
        scroll-padding-inline: 2px;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .healpath-home .serve-grid-hp.hp-grid--4::-webkit-scrollbar,
.healpath-home .hp-process .hp-process__grid::-webkit-scrollbar {
        display: none;
    }

    .healpath-home .serve-grid-hp.hp-grid--4 > *,
.healpath-home .hp-process .hp-process__grid > * {
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }

    .healpath-home .hp-hero .hero-grid-hp {
        gap: 26px !important;
    }

    .healpath-home .hp-hero .hero-badge-hp {
        margin-bottom: 16px !important;
    }

    .healpath-home .hp-hero .hero-title-hp {
        margin-bottom: 14px !important;
        font-size: clamp(34px, 10vw, 42px) !important;
    }

    .healpath-home .hp-hero .hero-tagline-hp {
        margin-bottom: 14px !important;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }

    .healpath-home .hp-hero .hero-desc-hp {
        margin-bottom: 20px !important;
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    .healpath-home .hp-hero .hero-cta-hp {
        margin-bottom: 18px !important;
    }

    .healpath-home .hp-hero .btn-primary-hp {
        min-height: 48px;
        padding-inline: 22px !important;
    }

    .healpath-home .hp-hero .hero-visual-hp {
        max-width: 360px;
        padding-inline: 16px !important;
    }

    .healpath-home .hp-hero .hero-main-image-hp {
        max-width: 300px;
        aspect-ratio: 4 / 4.15;
    }

    .healpath-home .hp-hero .hero-stats-card-hp {
        width: 108px;
        min-height: 58px;
        gap: 7px;
        padding: 8px 9px !important;
    }

    .healpath-home .hp-hero .stats-icon-hp {
        width: 30px !important;
        height: 30px !important;
        flex-basis: 30px;
    }

    .healpath-home .hp-hero .stats-number-hp {
        font-size: 15px !important;
    }

    .healpath-home .hp-hero .stats-label-hp {
        font-size: 8.5px !important;
    }

    .healpath-home .serve-grid-hp .hp-card--audience {
        min-height: 0 !important;
        height: auto !important;
    }

    .healpath-home .serve-grid-hp .hp-card--audience .hp-card__media {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 16 / 9 !important;
        flex: 0 0 auto !important;
    }

    .healpath-home .serve-grid-hp .hp-card--audience .hp-card__body {
        padding: 32px 16px 16px !important;
    }

    .healpath-home .serve-grid-hp .hp-card--audience .hp-card__text {
        margin-bottom: 14px !important;
        font-size: 12.5px !important;
        line-height: 1.52 !important;
    }

    .healpath-home .hp-process .hp-process__grid {
        grid-auto-columns: min(84vw, 330px);
    }

    .healpath-home .hp-process .step-connector-hp.hp-step__connector {
        display: none !important;
    }

    .healpath-home .hp-process .hp-step {
        min-height: 0 !important;
        height: auto !important;
    }

    .healpath-home .hp-process .hp-step__media {
        aspect-ratio: 16 / 9 !important;
    }

    .healpath-home .hp-process .hp-step__body {
        padding: 17px !important;
    }

    .healpath-home .hp-process .hp-step__text {
        margin-bottom: 14px !important;
        font-size: 12.5px !important;
        line-height: 1.52 !important;
    }

    .healpath-home .hp-final-cta {
        padding: 34px 0 !important;
    }

    .healpath-home .hp-final-cta__title {
        font-size: 24px !important;
    }

    .healpath-home .hp-final-cta__description {
        margin-bottom: 20px !important;
        font-size: 13px !important;
    }

    .healpath-home .hp-final-cta .cta-buttons-hp.hp-final-cta__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: 360px;
    }

    .healpath-home .hp-final-cta__button {
        width: 100%;
        min-height: 46px;
        padding-inline: 12px !important;
        gap: 7px;
        font-size: 12px !important;
        white-space: nowrap;
    }

}

@media (max-width: 360px) {
    .healpath-home {
        --hp-container-gutter: 14px;
    }

    .healpath-home .hp-container,
.healpath-home .hp-audience .container-hp.hp-container,
.healpath-home .hp-hero .container-hp {
        width: calc(100% - 28px) !important;
    }

    .healpath-home .serve-grid-hp.hp-grid--4,
.healpath-home .hp-process .hp-process__grid {
        grid-auto-columns: 88vw;
    }

    .healpath-home .hp-final-cta .cta-buttons-hp.hp-final-cta__actions {
        grid-template-columns: minmax(0, 1fr);
        max-width: 280px;
    }
}

@media (max-width: 767px) {

    .healpath-home .serve-grid-hp.hp-grid--4,
.healpath-home .hp-process .hp-process__grid {
        /* Roughly 1.3 cards remain visible in the viewport. */
        grid-auto-columns: 74% !important;
        gap: 10px !important;

        padding-inline-end: 16px !important;
        padding-bottom: 12px !important;

        scroll-snap-type: inline proximity;
        scroll-padding-inline: 0;

        /* A subtle scrollbar provides a second visual cue. */
        scrollbar-width: thin;
        scrollbar-color:
            rgba(17, 175, 203, 0.62)
            rgba(17, 175, 203, 0.10);
    }

    .healpath-home .serve-grid-hp.hp-grid--4::-webkit-scrollbar,
.healpath-home .hp-process .hp-process__grid::-webkit-scrollbar {
        display: block !important;
        height: 4px;
    }

    .healpath-home .serve-grid-hp.hp-grid--4::-webkit-scrollbar-track,
.healpath-home .hp-process .hp-process__grid::-webkit-scrollbar-track {
        border-radius: var(--hp-radius-pill);
        background: rgba(17, 175, 203, 0.10);
    }

    .healpath-home .serve-grid-hp.hp-grid--4::-webkit-scrollbar-thumb,
.healpath-home .hp-process .hp-process__grid::-webkit-scrollbar-thumb {
        border-radius: var(--hp-radius-pill);
        background: rgba(17, 175, 203, 0.62);
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-process .hp-process__grid {
        grid-auto-columns: 82% !important;
        gap: 10px !important;
    }

    .healpath-home .hp-process .appear-animation,
.healpath-home .hp-process .appear-animation-visible,
.healpath-home .hp-process [data-appear-animation],
.healpath-home .hp-process .wpb_animate_when_almost_visible,
.healpath-home .hp-process .wpb_start_animation,
.healpath-home .hp-process .porto-animate,
.healpath-home .hp-process .hp-process__grid > *,
.healpath-home .hp-process .hp-step {
        opacity: 1 !important;
        visibility: visible !important;

        animation: none !important;
        animation-name: none !important;
        animation-delay: 0s !important;
        animation-duration: 0s !important;

        transition-delay: 0s !important;
    }

    .healpath-home .hp-process .appear-animation,
.healpath-home .hp-process [data-appear-animation],
.healpath-home .hp-process .wpb_animate_when_almost_visible,
.healpath-home .hp-process .porto-animate,
.healpath-home .hp-process .hp-step {
        transform: none !important;
    }

}

@media (max-width: 360px) {
    .healpath-home .hp-process .hp-process__grid {
        grid-auto-columns: 72% !important;
    }
}

@media (max-width: 767px) {

    .healpath-home .serve-grid-hp.hp-grid--4,
.healpath-home .hp-process .hp-process__grid {
        scroll-snap-type: none !important;
        scroll-padding: 0 !important;
        scroll-behavior: auto !important;
        overflow-anchor: none !important;
    }

    .healpath-home .serve-grid-hp.hp-grid--4 > *,
.healpath-home .hp-process .hp-process__grid > * {
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
        overflow-anchor: none !important;
    }
}

@media only screen and (max-width: 767px) {

    .hp-hero .hero-wrapper-hp {
        display: block !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        flex: none !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        flex-basis: auto !important;

        overflow: hidden !important;
    }

    .hp-hero .hero-content-hp {
        display: block !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        flex: none !important;
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
        flex-basis: auto !important;
    }

    .hp-hero .hero-content-hp > .container-hp,
.hp-hero .hero-grid-hp,
.hp-hero .hero-text-hp,
.hp-hero .hero-visual-hp {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
}

/* ==================== Pricing Preview ==================== */
.healpath-home .hp-pricing-preview {
    position: relative;
    overflow: hidden;

    background-color: var(--hp-white, #ffffff);
}

.healpath-home .hp-pricing-preview__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 18px;
}

.healpath-home .hp-plan-preview-card {
    position: relative;

    display: flex;
    min-width: 0;
    flex-direction: column;

    padding: 26px 22px;

    border: 1px solid rgba(7, 30, 86, 0.10);
    border-radius: var(--hp-radius-lg);

    background-color: var(--hp-white);

    box-shadow:
        0 12px 32px rgba(5, 21, 73, 0.07);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.healpath-home .hp-plan-preview-card:hover {
    transform: translateY(-5px);

    border-color: rgba(17, 175, 203, 0.35);

    box-shadow:
        0 20px 45px rgba(5, 21, 73, 0.11);
}

.healpath-home .hp-plan-preview-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;

    margin-bottom: 18px;

    border-radius: 14px;

    color: var(--hp-white);
    background:
        linear-gradient(
            135deg,
            var(--hp-turquoise-500),
            var(--hp-turquoise-600)
        );

    font-size: 17px;

    box-shadow:
        0 10px 22px rgba(17, 175, 203, 0.22);
}

.healpath-home .hp-plan-preview-card__label {
    display: block;

    margin-bottom: 7px;

    color: var(--hp-turquoise-600);

    font-size: 10px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.healpath-home .hp-plan-preview-card h3 {
    margin: 0 0 15px;

    color: var(--hp-text);

    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.healpath-home .hp-plan-preview-card__price {
    display: flex;
    min-height: 55px;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: baseline;
    gap: 4px 6px;

    margin-bottom: 15px;
    padding-bottom: 15px;

    border-bottom: 1px solid var(--hp-border);
}

.healpath-home .hp-plan-preview-card__price small {
    width: 100%;

    color: var(--hp-muted);

    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
}

.healpath-home .hp-plan-preview-card__price strong {
    color: var(--hp-text);

    font-size: 23px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.healpath-home .hp-plan-preview-card__price span {
    color: var(--hp-muted);

    font-size: 10px;
    font-weight: 600;
    line-height: 1.35;
}

.healpath-home .hp-plan-preview-card > p {
    margin: 0;

    color: var(--hp-muted);

    font-size: 13px;
    line-height: 1.6;
}

.healpath-home .hp-pricing-preview__footer {
    display: flex;
    align-items: center;
    flex-direction: column;

    margin-top: 34px;

    text-align: center;
}

.healpath-home .hp-pricing-preview__button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 0 24px;

    border-radius: var(--hp-radius-pill);

    color: var(--hp-white);
    background:
        linear-gradient(
            135deg,
            var(--hp-turquoise-500),
            var(--hp-turquoise-600)
        );

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    box-shadow:
        0 12px 26px rgba(17, 175, 203, 0.24);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.healpath-home .hp-pricing-preview__button:hover {
    transform: translateY(-2px);

    color: var(--hp-white);
    text-decoration: none;

    box-shadow:
        0 16px 30px rgba(17, 175, 203, 0.32);
}

.healpath-home .hp-pricing-preview__footer > p {
    max-width: 570px;

    margin: 12px 0 0;

    color: var(--hp-muted);

    font-size: 12px;
    line-height: 1.55;
}

.hp-pricing-preview-row {
    margin: 0 !important;
    padding: 0 !important;
}

.hp-pricing-preview-row > .porto-wrap-container,
.hp-pricing-preview-row > .vc_column_container,
.hp-pricing-preview-row .vc_column-inner,
.hp-pricing-preview-row .wpb_wrapper,
.hp-pricing-preview-row .wpb_raw_code {
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 991px) {

    .healpath-home .hp-pricing-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-pricing-preview__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;

        gap: 10px;
    }

    .healpath-home .hp-plan-preview-card {
        height: auto;
        min-height: 0;

        padding: 14px 12px;

        border-radius: 15px;
    }

    .healpath-home .hp-plan-preview-card:hover {
        transform: none;
    }

    .healpath-home .hp-plan-preview-card__icon {
        width: 38px;
        height: 38px;

        margin-bottom: 10px;

        border-radius: 11px;

        font-size: 14px;
    }

    .healpath-home .hp-plan-preview-card__label {
        min-height: 0;

        margin-bottom: 5px;

        font-size: 9px;
        line-height: 1.25;
    }

    .healpath-home .hp-plan-preview-card h3 {
        min-height: 0;

        margin-bottom: 10px;

        font-size: 15px;
        line-height: 1.25;
    }

    .healpath-home .hp-plan-preview-card__price {
        min-height: 0;

        margin-bottom: 10px;
        padding-bottom: 10px;

        gap: 3px 5px;
    }

    .healpath-home .hp-plan-preview-card__price small {
        font-size: 9px;
        line-height: 1.2;
    }

    .healpath-home .hp-plan-preview-card__price strong {
        font-size: 18px;
        line-height: 1;
    }

    .healpath-home .hp-plan-preview-card__price span {
        font-size: 8px;
        line-height: 1.25;
    }

    .healpath-home .hp-plan-preview-card > p {
        margin: 0;

        font-size: 10px;
        line-height: 1.4;
    }

    .healpath-home .hp-pricing-preview__footer {
        margin-top: 22px;
    }

    .healpath-home .hp-pricing-preview__button {
        width: 100%;
        min-height: 46px;
    }
}

/* ==================== Why HealPath ==================== */
.healpath-home .hp-why {
    overflow: hidden;
}

.healpath-home .hp-why__layout {
    display: grid;
    grid-template-columns: minmax(320px, .85fr) minmax(0, 1.15fr);
    align-items: center;

    gap: clamp(40px, 5vw, 72px);
}

.healpath-home .hp-why__media {
    overflow: hidden;

    aspect-ratio: 4 / 4.2;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.healpath-home .hp-why__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.healpath-home .hp-why__header {
    margin-bottom: 26px;
}

.healpath-home .hp-why__benefits {
    display: grid;

    gap: 12px;
}

.healpath-home .hp-why__benefit {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;

    gap: 14px;

    padding: 14px 16px;

    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;

    background: rgba(255, 255, 255, .06);
}

.healpath-home .hp-why__benefit > i {
    display: grid;

    width: 42px;
    height: 42px;

    place-items: center;

    border-radius: 11px;

    color: var(--hp-turquoise-500);
    background: rgba(17, 175, 203, .16);

    font-size: 17px;
}

.healpath-home .hp-why__benefit h3 {
    margin: 0 0 3px;

    color: var(--hp-white);

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.healpath-home .hp-why__benefit p {
    margin: 0;

    color: rgba(255, 255, 255, .68);

    font-size: 12.5px;
    line-height: 1.5;
}

.healpath-home .hp-why__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    margin-top: 22px;

    border-top: 1px solid rgba(255, 255, 255, .13);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.healpath-home .hp-why__stat {
    padding: 18px 12px;

    text-align: center;
}

.healpath-home .hp-why__stat + .hp-why__stat {
    border-left: 1px solid rgba(255, 255, 255, .13);
}

.healpath-home .hp-why__stat strong {
    display: block;

    margin-bottom: 3px;

    color: var(--hp-white);

    font-size: 25px;
    font-weight: 800;
    line-height: 1;
}

.healpath-home .hp-why__stat span {
    color: rgba(255, 255, 255, .65);

    font-size: 11.5px;
    line-height: 1.3;
}

.healpath-home .hp-why__compliance {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 17px;
}

.healpath-home .hp-why__compliance > i {
    margin-right: 3px;

    color: var(--hp-turquoise-500);
}

.healpath-home .hp-why__compliance span {
    padding: 5px 10px;

    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;

    color: rgba(255, 255, 255, .78);

    font-size: 10.5px;
    font-weight: 600;
}

@media (max-width: 991px) {

    .healpath-home .hp-why__layout {
        grid-template-columns: 1fr;

        max-width: 720px;
        margin-inline: auto;

        gap: 32px;
    }

    .healpath-home .hp-why__media {
        width: 100%;
        max-width: 520px;

        aspect-ratio: 16 / 9;

        margin-inline: auto;
    }
}

@media (max-width: 767px) {

    .healpath-home .hp-why__layout {
        gap: 24px;
    }

    .healpath-home .hp-why__media {
        aspect-ratio: 16 / 10;

        border-radius: 16px;
    }

    .healpath-home .hp-why__header {
        margin-bottom: 20px;

        text-align: center;
    }

    .healpath-home .hp-why__header .hp-eyebrow-wrap {
        justify-content: center;
    }

    .healpath-home .hp-why__benefit {
        grid-template-columns: 36px minmax(0, 1fr);

        gap: 11px;

        padding: 12px;
    }

    .healpath-home .hp-why__benefit > i {
        width: 36px;
        height: 36px;

        font-size: 14px;
    }

    .healpath-home .hp-why__benefit h3 {
        font-size: 13.5px;
    }

    .healpath-home .hp-why__benefit p {
        font-size: 11.5px;
    }

    .healpath-home .hp-why__stats {
        margin-top: 18px;
    }

    .healpath-home .hp-why__stat {
        padding: 14px 6px;
    }

    .healpath-home .hp-why__stat strong {
        font-size: 21px;
    }

    .healpath-home .hp-why__stat span {
        font-size: 9.5px;
    }

    .healpath-home .hp-why__compliance {
        justify-content: center;

        margin-top: 14px;
    }

    .healpath-home .hp-why__compliance span {
        font-size: 9.5px;
    }
}

.healpath-home .hp-why .hp-eyebrow,
.healpath-home .hp-why .hp-eyebrow__text,
.healpath-home .hp-why .hp-eyebrow i {
    color: #fff !important;
}

.healpath-home .hp-why__compliance {
    gap: 10px;
}

.healpath-home .hp-why__compliance > i {
    font-size: 14px;
}

.healpath-home .hp-why__compliance span {
    padding: 6px 11px;
    font-size: 11px;
}


/* =========================================================
   Arabic Home — How It Works section fixes
   1) arrows flow from 01 -> 02 -> 03
   2) number badge moves to the right side of each card
========================================================= */

body.rtl.healpath-home .hp-process__grid .step-number-hp,
body.rtl.healpath-home .hp-process__grid .hp-step__number,
body.rtl .healpath-home .hp-process__grid .step-number-hp,
body.rtl .healpath-home .hp-process__grid .hp-step__number {
    left: auto !important;
    right: 18px !important;
}

/* flip connectors so the flow goes visually from right to left:
   01 (right) -> 02 (middle) -> 03 (left) */
body.rtl.healpath-home .hp-process__grid .step-connector-hp,
body.rtl.healpath-home .hp-process__grid .hp-step__connector,
body.rtl .healpath-home .hp-process__grid .step-connector-hp,
body.rtl .healpath-home .hp-process__grid .hp-step__connector {
    transform: scaleX(-1) !important;
    transform-origin: center center !important;
}