/* ===== 전체 래퍼 ===== */
.tgr-invest-steps {
    width: 100% !important;
    max-width: 1100px !important;
    margin: 80px auto !important;
    padding: 0 20px !important;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif !important;
    color: #1e293b !important;
}

.tgr-invest-header {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    margin-bottom: 36px !important;
}
.tgr-invest-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    white-space: nowrap !important;
    margin: 0 !important;
}
.tgr-invest-header-line {
    flex: 1 !important;
    height: 1px !important;
    background: #cbd5e1 !important;
}
.tgr-contact-btn {
    display: inline-block !important;
    padding: 10px 24px !important;
    background: #1e293b !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
}
.tgr-contact-btn:hover {
    background: #1587F2 !important;
    color: #fff !important;
}

.tgr-invest-intro {
    display: flex !important;
    gap: 40px !important;
    align-items: flex-start !important;
    margin-bottom: 50px !important;
}
.tgr-invest-intro-img {
    flex: 0 0 55% !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}
.tgr-invest-intro-img img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 10px !important;
}
.tgr-invest-intro-text {
    flex: 1 !important;
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: #334155 !important;
    font-weight: 400 !important;
}

.tgr-invest-tabs {
    display: flex !important;
    gap: 30px !important;
    align-items: flex-start !important;
}
.tgr-tabs-left {
    flex: 0 0 58% !important;
}
.tgr-tabs-right {
    flex: 1 !important;
    min-height: 200px !important;
}

.tgr-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px !important;
}
.tgr-tab-btn {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 16px 8px 12px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: background 0.25s, border-color 0.25s !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 6px !important;
}
.tgr-tab-btn:hover {
    background: #e8f0fe !important;
    border-color: #1587F2 !important;
}
.tgr-tab-btn.active {
    background: #1587F2 !important;
    border-color: #1587F2 !important;
}
.tgr-tab-btn.active .tgr-tab-label,
.tgr-tab-btn.active .tgr-tab-name {
    color: #fff !important;
}
.tgr-tab-btn.active .tgr-tab-icon svg,
.tgr-tab-btn.active .tgr-tab-icon img {
    filter: brightness(0) invert(1) !important;
}

.tgr-tab-icon {
    width: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.tgr-tab-icon img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain !important;
    filter: invert(35%) sepia(80%) saturate(1500%) hue-rotate(195deg) brightness(95%) !important;
}
.tgr-tab-icon svg {
    width: 36px !important;
    height: 36px !important;
    stroke: #1587F2 !important;
}

.tgr-tab-btn.active .tgr-tab-icon img {
    filter: brightness(0) invert(1) !important;
}
.tgr-tab-btn.active .tgr-tab-icon svg {
    stroke: #ffffff !important;
}

.tgr-tab-label {
    display: block !important;
    font-size: 11px !important;
    color: #64748b !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}
.tgr-tab-name {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    word-break: keep-all !important;
    line-height: 1.4 !important;
}

.tgr-tab-content {
    display: none !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    animation: tgrFadeIn 0.3s ease !important;
}
.tgr-tab-content.active {
    display: block !important;
}
@keyframes tgrFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tgr-tab-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1587F2 !important;
    margin: 0 0 16px 0 !important;
}
.tgr-tab-main-desc,
.tgr-tab-detail-desc {
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin-bottom: 14px !important;
}
.tgr-tab-detail-desc {
    margin-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .tgr-invest-intro { flex-direction: column !important; }
    .tgr-invest-intro-img { flex: none !important; width: 100% !important; }
    .tgr-invest-tabs { flex-direction: column !important; }
    .tgr-tabs-left { flex: none !important; width: 100% !important; }
}
@media (max-width: 768px) {
    .tgr-tabs-nav { grid-template-columns: repeat(3, 1fr) !important; }
    .tgr-invest-header { flex-wrap: wrap !important; }
    .tgr-invest-header-line { display: none !important; }
}
@media (max-width: 480px) {
    .tgr-tabs-nav { grid-template-columns: repeat(2, 1fr) !important; }
}
