.sg-solutions {
    padding: 80px 0 100px;
    background: #fff;
}

.sg-solutions-inner {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 50px;
}

.sg-solutions-title {
    text-align: center;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.2;
    color: #606060;
    margin: 0 0 60px;
}

.sg-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    min-height: 80px;
    overflow-x: auto;
    scrollbar-width: none;
    margin-bottom: 60px;
}

.sg-tabs::-webkit-scrollbar {
    display: none;
}

.sg-tab {
    position: relative;
    background: none;
    border: 0;
    padding: 0 0 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: #606060;
    white-space: nowrap;
    transition: color 0.2s, font-weight 0.2s;
}

.sg-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: transparent;
    transition: background 0.25s;
}

.sg-tab.active {
    font-weight: 600;
    color: #222;
}

.sg-tab.active::after {
    background: #ff7900;
}

.sg-panels {
    position: relative;
}

.sg-panel {
    display: none;
    animation: sgFadeIn 0.5s ease;
}

.sg-panel.active {
    display: block;
}

@keyframes sgFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.sg-panel-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.sg-panel-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 28px;
}

.sg-panel-text h3 {
    color: #ff7900;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
}

.sg-panel-text .sub {
    color: #545659;
    font-size: 38px;
    font-weight: 500;
    line-height: 1.27;
    white-space: pre-line;
    margin: 0;
}

.sg-panel-text .btn {
    margin-top: 8px;
    display: inline-block;
    width: fit-content;
    min-width: 170px;
    padding: 18px 40px;
    border: 1px solid #ff7900;
    color: #ff7900;
    background: transparent;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 999px;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
}

.sg-panel-text .btn:hover {
    background: #ff7900;
    color: #fff;
}

.sg-panel-text .btn span {
    display: inline-block;
}

.sg-panel-img {
    flex: 0 0 50%;
    aspect-ratio: 960 / 600;
    border-radius: 24px;
    overflow: hidden;
}

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

@media (max-width: 900px) {
    .sg-solutions {
        padding: 40px 0 50px;
    }

    .sg-solutions-inner {
        padding: 0 15px;
    }

    .sg-solutions-title {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #222;
    }

    .sg-tabs {
        gap: 24px;
        margin-bottom: 24px;
        min-height: 0;
        justify-content: center;
        flex-wrap: nowrap;
        padding: 0 2px;
    }

    .sg-panel-text {
        text-align: left;
        align-items: flex-start;
    }

    .sg-tab {
        font-size: 14px;
        padding: 10px 0 12px;
        flex-shrink: 0;
    }

    .sg-tab::after {
        height: 2px;
    }

    .sg-panel-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .sg-panel-img {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 12px;
    }

    .sg-panel-text {
        width: 100%;
        align-items: flex-start;
        text-align: left;
        gap: 14px;
    }

    .sg-panel-text h3 {
        font-size: 14px;
        font-weight: 600;
    }

    .sg-panel-text .sub {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.3;
    }

    .sg-panel-text .btn {
        margin-top: 4px;
        padding: 12px 24px;
        font-size: 14px;
    }
}
