/* ════════════════════════════════════════════
   Why Choose V2 — light companion to Hero V7
   Full-width centered-card grid with gradient
   icon chips. Matches Features V2 (white bg,
   black/400 subtitle, chip language, lift-only
   hover); centered cards + 4 columns give it
   its own identity next to Features V2.
   Depends on scw-base (tokens + .scw-section,
   heading group).
   ════════════════════════════════════════════ */

.scw-wc2 {
    background: var(--scw-wc2-bg, #FFFFFF);
    font-family: var(--scw-font, 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.scw-wc2 *,
.scw-wc2 *::before,
.scw-wc2 *::after {
    box-sizing: border-box;
}

/* ── Subtitle override — solid black, regular weight (matches Features V2) ── */
.scw-wc2 .scw-section-subtitle {
    color: #000000;
    font-weight: 400;
}

/* ── Grid ── */
.scw-wc2__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--scw-wc2-cols, 4), 1fr);
    gap: 20px;
}

/* ── Card — centered content ── */
.scw-wc2__card {
    background: var(--scw-wc2-card-bg, #FFFFFF);
    border: 1px solid var(--scw-wc2-border, #EAEAF0);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.25s var(--scw-ease, cubic-bezier(0.4, 0, 0.2, 1));
}

.scw-wc2__card:hover {
    transform: translateY(-4px);
}

/* ── Icon chip — gradient square, white stroke icon ── */
.scw-wc2__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--scw-wc2-a1, #A855F7) 0%, var(--scw-wc2-a2, #EC4899) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(15, 15, 15, 0.12);
}

.scw-wc2__icon svg {
    width: 24px;
    height: 24px;
}

/* ── Card text ── */
.scw-wc2__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0 0 8px;
    color: var(--scw-wc2-title, #0F0F0F);
}

.scw-wc2__desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--scw-wc2-desc, #52525B);
    margin: 0;
}

/* ════════════════════════════════════════════
   Responsive — Tablet (≤ 1023px)
   ════════════════════════════════════════════ */
@media (max-width: 1023px) {
    .scw-wc2__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* ════════════════════════════════════════════
   Responsive — Mobile (≤ 640px)
   ════════════════════════════════════════════ */
@media (max-width: 640px) {
    .scw-wc2__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .scw-wc2__card {
        padding: 26px 22px;
    }

    .scw-wc2__icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .scw-wc2__title { font-size: 16px; }

    .scw-wc2__desc { font-size: 14px; }
}

/* ── Elementor Editor Overrides ── */
.elementor-editor-active .scw-wc2 {
    min-height: 120px;
}
