/* Digital wallet — clean editorial layout inspired by the supplied reference. */
.hp-bg-canvas {
    position: relative;
    isolation: isolate;
    overflow: clip;
    --dw-ink: #171517;
    --dw-muted: #68656a;
    --dw-paper: #edeef0;
}

.dw-services {
    max-width: none;
    margin: 0;
    padding: clamp(64px, 10vh, 130px) clamp(20px, 4.5vw, 72px) clamp(72px, 11vh, 140px);
    color: var(--dw-ink);
    background: var(--dw-paper);
}

.dw-services__head {
    text-align: left;
}

.dw-services__title {
    margin: 0;
    color: var(--dw-ink);
    font-size: clamp(26px, 3.4vw, 50px);
    font-weight: 600;
    line-height: 1.06;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.dw-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(16px, 2vw, 26px);
    max-width: 1320px;
    margin: clamp(32px, 4.5vw, 58px) auto 0;
}

.dw-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(24px, 2.5vw, 34px);
    border: 1px solid rgba(23, 21, 23, .1);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 55px -42px rgba(23, 21, 23, .4);
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

    .dw-card:hover {
        border-color: rgba(84, 36, 61, .35);
        box-shadow: 0 30px 65px -42px rgba(23, 21, 23, .42);
        transform: translateY(-3px);
    }

.dw-card__header {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(23, 21, 23, .08);
}

.dw-card__logo {
    display: block;
    width: min(150px, 64%);
    height: 56px;
    object-fit: contain;
    object-position: left center;
    flex: 0 1 auto;
   
}

.dw-card__name {
    margin: 0;
    color: var(--dw-ink);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.035em;
}

.dw-card__services-label {
    margin: 0 0 14px;
    color: var(--dw-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dw-card__services {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex-grow: 1;
}

.dw-card__service {
    position: relative;
    padding-left: 19px;
    color: #363238;
    font-size: 14px;
    line-height: 1.5;
}

    .dw-card__service::before {
        content: "";
        position: absolute;
        left: 1px;
        top: .58em;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--color-brand);
        transition: transform .25s ease;
    }

.dw-card:hover .dw-card__service::before {
    transform: translateX(3px);
}

.dw-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 21px;
}

.dw-card__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.dw-card__stores {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.dw-card__store {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(84, 36, 61, .09);
    transition: background .2s ease, transform .2s ease;
}

    .dw-card__store:hover {
        background: rgba(84, 36, 61, .18);
        transform: translateY(-2px);
    }

    .dw-card__store img {
        display: block;
        width: 19px;
        height: 19px;
        object-fit: contain;
    }

.services__note {
    margin: clamp(30px, 4vh, 48px) 0 0;
    color: rgba(17, 17, 17, .55);
    font-size: 12.5px;
    line-height: 1.7;
    text-align: left;
    text-wrap: pretty;
}

@media (max-width: 1100px) {
    .dw-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .dw-services {
        padding: 64px 20px 76px;
    }

    .dw-grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 520px;
        margin-top: 32px;
    }

    .dw-card {
        padding: 24px;
    }

    .dw-card__footer {
        align-items: flex-start;
    }
}

@media (max-width: 390px) {
    .dw-card__footer {
        display: grid;
        grid-template-columns: 1fr auto;
    }

    .dw-card__actions {
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dw-card__service::before, .dw-card__store {
        transition: none;
    }
}

/* Digital Wallet portfolio cards — match the supplied mockup. */
.hp-bg-canvas > .dw-services .dw-services__head {
    max-width: 1560px;
    margin: 0 auto;
    text-align: left;
}

.hp-bg-canvas > .dw-services .dw-grid {
    max-width: 1560px;
    margin: clamp(32px, 4.6vh, 56px) auto 0;
    gap: clamp(18px, 2vw, 28px);
    align-items: stretch;
}

.hp-bg-canvas > .dw-services .dw-card {
    min-width: 0;
    min-height: 480px;
    padding: clamp(24px, 3vw, 36px);
    border: 1px solid rgba(17, 17, 17, .1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 58px -44px rgba(17, 17, 17, .36);
    gap: clamp(14px, 2.2vh, 22px);
    transition: border-color .4s ease, box-shadow .4s ease;
}

    .hp-bg-canvas > .dw-services .dw-card:hover {
        border-color: rgba(84, 36, 61, .16);
        box-shadow: 0 30px 60px -42px rgba(17, 17, 17, .4);
        transform: translateY(-3px);
    }

.hp-bg-canvas > .dw-services .dw-card__header {
    min-height: 46px;
    height: 46px;
    flex: 0 0 46px;
    margin: 0;
    padding: 0;
    border: 0;
}

.hp-bg-canvas > .dw-services .dw-card__logo {
    width: auto;
    max-width: min(100%, 150px);
    height: auto;
    max-height: 46px;
    object-fit: contain;
    object-position: left center;
    opacity: .72;
}

.hp-bg-canvas > .dw-services .dw-card__services-label {
    margin: clamp(2px, .6vh, 8px) 0 0;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: rgba(17, 17, 17, .82);
}

.hp-bg-canvas > .dw-services .dw-card__services {
    flex: 1 1 auto;
    gap: 0;
    margin: 0;
    padding: 0;
}

.hp-bg-canvas > .dw-services .dw-card__service {
    padding: 5px 0 5px 20px;
    color: #242126;
    font-size: clamp(12.5px, 1vw, 13.5px);
    line-height: 1.5;
    text-wrap: pretty;
    transition: transform .5s cubic-bezier(.16, 1, .3, 1), color .4s ease;
}

    .hp-bg-canvas > .dw-services .dw-card__service::before {
        top: .72em;
        left: 1px;
        width: 6px;
        height: 6px;
    }

.hp-bg-canvas > .dw-services .dw-card__footer {
    margin-top: auto;
    padding-top: clamp(18px, 2.4vh, 26px);
    gap: 14px;
}

.hp-bg-canvas > .dw-services .dw-card__actions {
    gap: 8px;
}

/* Button: base sizing/shape, then the color variants, then the shared hover motion. */
.hp-bg-canvas > .dw-services .dw-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    padding: 13px 24px;
    border-width: 1px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    white-space: nowrap;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s ease, color .3s ease, border-color .3s ease;
}

    .hp-bg-canvas > .dw-services .dw-card__btn.hp-btn--outline-dark {
        border-color: rgba(84, 36, 61, .32);
        color: var(--color-brand);
        background: #fff;
    }

    .hp-bg-canvas > .dw-services .dw-card__btn.hp-btn--solid-dark {
        border-color: var(--color-brand);
        color: #fff;
        background: var(--color-brand);
    }

@media (hover: hover) and (pointer: fine) {
    .hp-bg-canvas > .dw-services .dw-card__btn:hover {
        transform: translateY(-3px);
        background: #451c31;
        border-color: #451c31;
        color: #fff;
    }
}

.hp-bg-canvas > .dw-services .dw-card__stores {
    gap: 8px;
}

.hp-bg-canvas > .dw-services .dw-card__store {
    width: 40px;
    height: 40px;
    background: rgba(84, 36, 61, .09);
}

@media (max-width: 1100px) {
    .hp-bg-canvas > .dw-services .dw-card {
        min-height: 450px;
    }
    .dw-hero__background {
        object-position: 60% center;
    }
     
}

@media (max-width: 700px) {
    .hp-bg-canvas > .dw-services {
        padding: 64px 20px 76px;
    }
    .dw-hero__background {
        object-position: 52% center;
    }
        .hp-bg-canvas > .dw-services .dw-grid {
            max-width: 520px;
            margin-top: 32px;
        }

        .hp-bg-canvas > .dw-services .dw-card {
            min-height: 0;
            padding: 26px;
        }

        .hp-bg-canvas > .dw-services .dw-card__footer {
            align-items: center;
        }
}

@media (max-width: 390px) {
    .hp-bg-canvas > .dw-services .dw-card__footer {
        display: flex;
    }

    .hp-bg-canvas > .dw-services .dw-card__actions {
        gap: 7px;
    }

    .hp-bg-canvas > .dw-services .dw-card__btn {
        padding-inline: 13px;
        font-size: 11px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .hp-bg-canvas > .dw-services .dw-card:hover {
        border-color: rgba(84, 36, 61, .34);
        box-shadow: 0 40px 76px -44px rgba(17, 17, 17, .5);
        transform: none;
    }

        .hp-bg-canvas > .dw-services .dw-card:hover .dw-card__service {
            transform: translateX(4px);
        }

            .hp-bg-canvas > .dw-services .dw-card:hover .dw-card__service::before {
                transform: none;
            }
}
/* Services dropdown */
.if-services__head {
    text-align: left;
    max-width: 1000px;
    margin: clamp(22px, 3vh, 36px) auto 0;
    border-radius: 20px;
    border: 1px solid rgba(87, 28, 42, 0.16);
    background: #ffffff;
    overflow: hidden;
}

.dep-info {
    text-align: left;
    max-width: 100%;
}

.dep-info__toggle-all {
    width: 100%;
    background: none;
    border: 0;
    padding: clamp(18px, 2.4vw, 26px) clamp(20px, 2.8vw, 32px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    font-family: inherit;
}

.dep-info__toggle-all-label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -.012em;
    color: var(--color-brand);
}

.dep-info__toggle-all-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    color: rgba(87, 28, 42, .6);
    transition: transform .4s cubic-bezier(.16, 1, .3, 1);
    transform: none;
}

    .dep-info__toggle-all-icon svg {
        width: 16px;
        height: 16px;
    }

.dep-info__toggle-all[aria-expanded="true"] .dep-info__toggle-all-icon {
    transform: rotate(180deg);
}

.dep-info__body {
    overflow: hidden;
    max-height: 0;
    visibility: hidden;
    transition: max-height .55s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .55s;
}

.dep-info__toggle-all[aria-expanded="true"] + .dep-info__body {
    visibility: visible;
    transition-delay: 0s;
}

.dep-info__body-inner {
    padding: clamp(4px, 1vw, 8px) clamp(20px, 2.8vw, 32px) clamp(20px, 2.6vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.72;
    color: rgba(17, 17, 17, .7);
}

    .dep-info__body-inner p {
        margin: 0;
        font-size: 14.5px;
        line-height: 1.72;
        color: rgba(17, 17, 17, .7);
        text-wrap: pretty;
    }

.dep-info__divider {
    display: block;
    height: 1px;
    background: rgba(87, 28, 42, .14);
    margin: 6px 0;
}

.dep-info__subheading {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -.012em;
    color: var(--color-brand) !important;
}

.dep-info__body-inner ol {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    counter-reset: dep-info-counter;
}

    .dep-info__body-inner ol li {
        counter-increment: dep-info-counter;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 14px;
        align-items: baseline;
        padding: 11px 0;
        border-top: 1px solid rgba(87, 28, 42, .14);
        font-size: 14.5px;
        line-height: 1.6;
        color: rgba(17, 17, 17, .78);
    }

        .dep-info__body-inner ol li::before {
            content: counter(dep-info-counter, decimal-leading-zero);
            font-size: 11px;
            font-weight: 500;
            letter-spacing: .12em;
            color: rgba(87, 28, 42, .65);
        }

@media (prefers-reduced-motion: reduce) {
    .dep-info__body {
        transition: none;
    }
}
