/* ===== WHY US v2 (Trendine) ===== */
.td-whyus--v2 {
    --bg: #F5F1E9;
    --card-bg: #fff;
    --text: #1C1C1C;
    --muted: #5a5a5a;
    --accent-1: #B76E79; /* رزگلد */
    --accent-2: #A68A74; /* قهوه‌ای روشن */
    --badge-bg: linear-gradient(135deg, rgba(183, 110, 121, .18), rgba(166, 138, 116, .15));
    --radius: 22px;
    --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.td-whyus {
    padding: 10px;
    margin: 20px 10px;
}

.td-whyus__head {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2rem;
}

.td-whyus__title {
    font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -.2px;
}

.td-whyus__subtitle {
    margin-top: .5rem;
    color: var(--muted);
}

/* Grid */
.td-whyus__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px);
}

/* Card */
.td-whyus__card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 24px;
    padding: 1.4rem 1.25rem 1.25rem;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.td-whyus__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
}

.td-whyus__badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--badge-bg);
    color: var(--accent-1);
    margin: 0 auto .9rem; /* center like the screenshot */
}

.td-whyus__card-title {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: .35rem;
}

.td-whyus__card-text {
    color: var(--muted);
    text-align: justify;
    line-height: 1.9;
    font-size: .95rem;
}

/* Skeleton */
.td-whyus__skeleton .td-whyus__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 22px);
}

.td-skel-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 1.4rem 1.25rem;
}

.td-skel-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eee;
    margin: 0 auto .9rem;
}

.td-skel-line {
    height: 18px;
    width: 70%;
    background: #eee;
    border-radius: 9px;
    margin: 0 auto .6rem;
}

.td-skel-sub {
    height: 12px;
    width: 95%;
    background: #eee;
    border-radius: 8px;
    margin: .35rem auto;
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: shimmer 1.3s infinite;
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .td-whyus__cards,
    .td-whyus__skeleton .td-whyus__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .td-whyus__cards,
    .td-whyus__skeleton .td-whyus__cards {
        grid-template-columns: 1fr;
    }

    .td-whyus__card {
        border-radius: 20px;
    }
}

/* Motion safe */
@media (prefers-reduced-motion: reduce) {
    .td-whyus__card {
        transition: none;
    }

    .td-whyus__card:hover {
        transform: none;
    }

    .shimmer::after {
        animation: none;
    }
}
