:root {
    --primary: #0d4f63;
    --primary-dark: #083a4a;
    --bg-light: #f5f8fa;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --card-shadow: 0 4px 16px rgba(0, 0, 0, .07);
}

/* ===== GLOBAL ===== */
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #fff;
    color: var(--text-dark);
    line-height: 1.7;
}

.tsg-section {
    padding: 36px 20px;
}

.tsg-section.tsg-overview {
    padding: 36px 20px;
}

.tsg-section-title {
    font-weight: 800;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary);
}

/* ===== HERO ===== */
.tsg-hero {
    position: relative;
    padding: 80px 0 64px;
    background: linear-gradient(135deg, #eaf5f9 0%, #ffffff 60%);
    overflow: hidden;
    text-align: center;
}

.tsg-hero::after {
    content: "";
    position: absolute;
    right: -180px;
    top: -120px;
    width: 520px;
    height: 520px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.08;
}

.tsg-hero .tsg-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #2fa9da;
    margin-bottom: 10px;
}

.tsg-hero h1 {
    font-size: 44px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

.tsg-hero p {
    font-size: 17px;
    max-width: 680px;
    margin: 0 auto;
    color: var(--text-dark);
}

/* ===== STAGES FLOW ===== */
.tsg-stages-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 8px 0 0;
}

.tsg-stage-pill {
    background: var(--primary);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tsg-stage-pill .stage-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tsg-arrow {
    color: #2fa9da;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 6px;
}

/* ===== STAGES INTRO HEADING ===== */
.tsg-stages-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    padding: 28px 0 0;
    margin: 0;
}

/* ===== STAGE BLOCK ===== */
.tsg-stage {
    margin-bottom: 0;
}

.tsg-stage-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.tsg-stage-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2fa9da, #6bbada);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tsg-stage-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0;
}

.tsg-stage-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.6;
}

/* ===== SERVICE LABEL HEADING ===== */
.tsg-service-label-heading {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    padding: 28px 0 10px;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}

/* ===== STATUS CARDS ===== */
.tsg-status-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tsg-status-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
}

.tsg-status-card:hover {
    transform: translateY(-3px);
}

.tsg-status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2fa9da;
    flex-shrink: 0;
    margin-top: 7px;
}

.tsg-status-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
}

.tsg-status-card h3 .tsg-service-tags {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--text-muted);
}

.tsg-status-card p {
    font-size: 0.93rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
}

/* ===== EXCEPTIONS ===== */
.tsg-exception-card {
    background: #fff8e6;
    border-left: 5px solid #ffb703;
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
}

.tsg-exception-card:hover {
    transform: translateY(-3px);
}

.tsg-exception-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f59e0b;
    flex-shrink: 0;
    margin-top: 7px;
}

.tsg-exception-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===== CTA ===== */
.tsg-cta {
    background: linear-gradient(135deg, #eaf5f9 0%, #ffffff 60%);
    border-radius: 20px;
    padding: 52px 40px;
    text-align: center;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.tsg-cta::after {
    content: "";
    position: absolute;
    right: -100px;
    bottom: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.06;
}

.tsg-cta h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.tsg-cta p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.tsg-cta a.tsg-btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.tsg-cta a.tsg-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
}

/* ===== SECTION DIVIDER ===== */
.tsg-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #2fa9da, #6bbada);
    border-radius: 4px;
    margin: 0 auto 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .tsg-section {
        padding: 28px 16px;
    }

    .tsg-hero {
        padding: 60px 16px 48px;
    }

    .tsg-hero h1 {
        font-size: 28px;
        line-height: 1.25;
    }

    .tsg-hero p {
        font-size: 15px;
    }

    .tsg-hero::after {
        width: 300px;
        height: 300px;
        right: -120px;
        top: -100px;
    }

    .tsg-section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .tsg-stages-flow {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tsg-arrow {
        transform: rotate(90deg);
    }

    .tsg-status-card,
    .tsg-exception-card {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .tsg-cta {
        padding: 36px 20px;
    }

    .tsg-cta h2 {
        font-size: 1.4rem;
    }
}
