.hp-bg-canvas {
    position: relative;
    isolation: isolate;
}

    .hp-bg-canvas::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--bg-height, 900px);
        background-image: var(--hero-bg-image);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        z-index: -1;
        -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 82%, transparent 100%);
    }

.dw-services {
    max-width: var(--site-max-width);
    margin: 0 auto;
    padding: 40px var(--site-padding, 40px);
}

.dw-services__head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.dw-services__title {
    margin: 0;
}

.dw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 24px;
}

.dw-card {
    display: flex;
    flex-direction: column;
    border: 1.5px solid var(--color-brand);
    border-radius: 28px;
    padding: 32px 32px 28px;
    background: transparent;
    transition: box-shadow 0.22s ease, background 0.22s ease;
}

    .dw-card:hover {
        box-shadow: 0 10px 36px rgba(109, 54, 30, 0.14);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
    }

.dw-card__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.dw-card__logo {
    width: 100px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}

.dw-card__name {
    margin: 0;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: var(--fw-medium);
    color: var(--color-brand);
    line-height: 1.1;
}

.dw-card__services-label {
    margin: 0 0 16px;
    font-weight: var(--fw-bold);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.dw-card__service {
    color: var(--color-brand);
    line-height: 1.4;
}

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

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

.dw-card__btn {
    border-radius: 999px;
    padding: 10px 22px;
    white-space: nowrap;
}

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

.dw-card__store {
    display: inline-flex;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

    .dw-card__store:hover {
        opacity: 0.75;
        transform: translateY(-2px);
    }

    .dw-card__store img {
        width: 34px;
        height: 34px;
        object-fit: contain;
    }

@media (max-width: 640px) {
    .dw-grid {
        grid-template-columns: 1fr;
    }

    .dw-card {
        padding: 28px 24px 24px;
    }

    .dw-card__footer {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}
