/* ══════════════════════════════════════════════════
   Solutions Tabs — "Built for your type of business"
   Tab pills + expandable photo panels
   ══════════════════════════════════════════════════ */

.solutions {
    padding: var(--space-20) 0;
    background: var(--color-white);
}

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

.solutions__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.solutions__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--color-gray-900);
}

.solutions__subtitle {
    margin-top: 1rem;
    font-size: 1.0625rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ── Tab Pills ─────────────────────────────── */
.sol-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}

.sol-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 999px;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    color: var(--color-gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.sol-tab:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(37, 99, 235, 0.04);
}

.sol-tab.active {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.sol-tab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ── Panel ─────────────────────────────────── */
.sol-panels {
    position: relative;
    min-height: 380px;
}

.sol-panel {
    display: none;
    opacity: 0;
    animation: solFadeIn 0.4s ease forwards;
}

.sol-panel.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@keyframes solFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content side */
.sol-panel__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sol-panel__heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.3;
}

.sol-panel__points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sol-panel__point {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
}

.sol-panel__point-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-top: 2px;
}

.sol-panel__point-icon svg {
    width: 14px;
    height: 14px;
}

.sol-panel__point-text strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 0.125rem;
}

.sol-panel__point-text span {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
    line-height: 1.5;
}

.sol-panel__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: 0.5rem;
    transition: gap 0.2s ease;
}

.sol-panel__cta:hover {
    gap: 0.625rem;
}

.sol-panel__cta svg {
    width: 16px;
    height: 16px;
}

/* Photo side */
.sol-panel__photo {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-gray-100);
}

.sol-panel__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Mobile ────────────────────────────────── */
@media (max-width: 768px) {
    .sol-tabs {
        gap: 0.375rem;
        margin-bottom: 2rem;
    }

    .sol-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .sol-panel.active {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sol-panel__photo {
        order: -1;
        aspect-ratio: 16 / 10;
    }

    .sol-panel__heading {
        font-size: 1.25rem;
    }

    .sol-panels {
        min-height: auto;
    }
}