/* ======================================================
   Features grid — ما يميّزنا
   ====================================================== */

.wd-features {
    padding: 120px 40px;
    background: var(--bone);
    position: relative;
}

.wd-features__inner {
    max-width: 1360px;
    margin: 0 auto;
}

.wd-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 8px;
}

.wd-features__card {
    background: #fff;
    border-radius: var(--radius-2xl);
    padding: 36px 28px 40px;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;
    border: 1px solid rgba(var(--ink-rgb), .06);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.wd-features__card:nth-child(2n) {
    margin-top: 40px;
}

.wd-features__card:hover {
    transform: translateY(-6px);
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}

.wd-features__card-num {
    position: absolute;
    top: 20px;
    left: 24px;
    font-family: var(--serif);
    font-weight: 700;
    font-size: 14px;
    color: var(--brass);
    letter-spacing: .2em;
}

.wd-features__icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    background: var(--bone);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 28px;
    transition: all .4s ease;
}

.wd-features__card:hover .wd-features__icon {
    background: var(--brass);
    color: var(--ink-deep);
    transform: rotate(-8deg);
}

.wd-features__icon svg {
    width: 28px;
    height: 28px;
}

.wd-features__card-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 20px;
    margin: 0 0 12px;
    color: inherit;
}

.wd-features__card-desc {
    font-size: 14px;
    line-height: 1.75;
    color: inherit;
    opacity: .75;
    margin: 0;
}

@media (max-width: 992px) {
    .wd-features__card:nth-child(2n) {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .wd-features {
        padding: 80px 20px;
    }
}
