/* ==========================================================================
   WEBSITISM — Industries Archive & Single Industry Styles
   Reuses shared .wsa-* and .wss-* classes from services.css
   Adds industry-specific sections: results, challenges, solutions
   ========================================================================== */


/* ==========================================================================
   SINGLE — RESULTS / STATS BAR
   ========================================================================== */

.wsi-results {
    padding: var(--ws-space-10) 0;
    background: var(--ws-surface-1);
    border-top: 1px solid var(--ws-border);
    border-bottom: 1px solid var(--ws-border);
}

.wsi-results__grid {
    display: flex;
    justify-content: center;
    gap: clamp(32px, 6vw, 80px);
    flex-wrap: wrap;
}

.wsi-result {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wsi-result__num {
    font-family: var(--ws-font-primary);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--ws-accent);
    line-height: 1;
    letter-spacing: -0.03em;
}

.wsi-result__label {
    font-size: var(--ws-text-xs);
    font-weight: 500;
    color: var(--ws-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* ==========================================================================
   SINGLE — CHALLENGES & SOLUTIONS (Split Layout)
   ========================================================================== */

.wsi-challenges,
.wsi-solutions {
    padding: var(--ws-space-16) 0;
}

.wsi-challenges {
    background: var(--ws-surface-0);
}

.wsi-solutions {
    background: var(--ws-surface-1);
}

.wsi-split {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.wsi-split__left {
    position: sticky;
    top: 120px;
}

.wsi-split__left h2 {
    margin-bottom: var(--ws-space-4);
}

.wsi-split__desc {
    color: var(--ws-text-muted);
    font-size: var(--ws-text-md);
    line-height: 1.7;
}

.wsi-split__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Challenge item (red X icon) */
.wsi-challenge-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--ws-radius-lg);
    background: var(--ws-surface-1);
    border: 1px solid var(--ws-border);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wsi-challenge-item:hover {
    border-color: rgba(255, 107, 107, 0.2);
    background: var(--ws-surface-2);
}

.wsi-challenge-item svg {
    flex-shrink: 0;
}

.wsi-challenge-item span {
    font-size: var(--ws-text-sm);
    color: var(--ws-text-secondary);
    font-weight: 500;
}

/* Solution item (teal check icon) */
.wsi-solution-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--ws-radius-lg);
    background: var(--ws-surface-2);
    border: 1px solid var(--ws-border);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.wsi-solution-item:hover {
    border-color: rgba(0, 201, 219, 0.2);
}

.wsi-solution-item svg {
    flex-shrink: 0;
    color: var(--ws-accent);
    opacity: 0.8;
}

.wsi-solution-item span {
    font-size: var(--ws-text-sm);
    color: var(--ws-text-secondary);
    font-weight: 500;
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .wsi-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .wsi-split__left {
        position: static;
    }

    .wsi-results__grid {
        gap: 24px;
    }
}
