/* ==========================================================================
   PENDAFTARAN MITRA PAGE — FIGMA "Landing Page Satu 2" (node 10593:377)
   ========================================================================== */

.mitra-container {
    max-width: 1212px;
    margin: 0 auto;
}

/* Section heading (bar emas + label + judul) */
.mitra-heading {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mitra-heading--center {
    align-items: center;
    text-align: center;
}

.mitra-tag {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mitra-heading--center .mitra-tag {
    align-items: center;
}

.mitra-tag-bar {
    display: block;
    width: 64px;
    height: 3px;
    background: #D99A16;
}

.mitra-tag-text {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #606060;
}

.mitra-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 48px;
    color: #292929;
}

.mitra-subtitle {
    margin: 0;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4A4A;
}

/* --------------------------------------------------------------------------
   1. ALUR KERJASAMA
   -------------------------------------------------------------------------- */
.mitra-alur {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    padding: 80px 20px;
}

.mitra-alur-pattern {
    position: absolute;
    left: -301px;
    top: -51.89%;
    bottom: -60.23%;
    width: 1193px;
    height: 211.12%;
    pointer-events: none;
    opacity: 0.5;
}

.mitra-alur-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 80px;
}

.mitra-alur-intro {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.mitra-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border: 1px solid #AA2713;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.128px;
    color: #AA2713;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.mitra-btn-outline:hover {
    background: #AA2713;
    color: #FFFFFF;
}

.mitra-steps {
    flex: 1 0 0;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.mitra-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.mitra-step + .mitra-step {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E0E0E0;
}

.mitra-step-num {
    font-family: 'Inter', sans-serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.5;
    color: #135EBF;
    white-space: nowrap;
    flex-shrink: 0;
}

.mitra-step-body {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mitra-step-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
    color: #333333;
}

.mitra-step-desc {
    margin: 0;
    font-family: 'DM Sans', 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4A4A;
}

/* --------------------------------------------------------------------------
   2. SISTEM KERJA SAMA
   -------------------------------------------------------------------------- */
.mitra-sistem {
    background: #FAFAFA;
    padding: 80px 20px;
}

.mitra-sistem .mitra-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mitra-model-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mitra-model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px;
    background: #FFFFFF;
    border: 1.5px solid #1D599B;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: box-shadow 0.25s ease;
}

.mitra-model-card:hover {
    box-shadow: 0 0 24px rgba(29, 89, 155, 0.4), 0 4px 14px rgba(0, 0, 0, 0.08);
}

.mitra-model-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333333;
}

.mitra-model-divider {
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid #E0E0E0;
}

.mitra-model-desc {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #606060;
}

/* --------------------------------------------------------------------------
   3. KOMPONEN LAYANAN & BIAYA
   -------------------------------------------------------------------------- */
.mitra-komponen {
    background: #FFFFFF;
    padding: 100px 20px 60px;
}

.mitra-komponen .mitra-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.mitra-komponen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 41px 29px;
}

.mitra-komponen-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px 24px;
}

/* Garis vertikal antar kolom */
.mitra-komponen-item:not(:nth-child(3n + 1))::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 1px;
    background: #E0E0E0;
}

/* Garis horizontal antar baris */
.mitra-komponen-item:nth-child(n + 4)::before {
    content: '';
    position: absolute;
    top: -21px;
    left: -15px;
    right: -15px;
    height: 1px;
    background: #E0E0E0;
}

.mitra-komponen-item:nth-child(3n + 4)::before {
    left: 0;
}

.mitra-komponen-item:nth-child(3n)::before {
    right: 0;
}

.mitra-komponen-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: #1D599B;
}

.mitra-komponen-desc {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #637381;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .mitra-alur-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 48px;
    }

    .mitra-model-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
        width: 100%;
    }

    .mitra-komponen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 24px;
    }

    .mitra-komponen-item {
        padding: 20px 16px;
        border-bottom: 1px solid #E0E0E0;
    }

    .mitra-komponen-item::before,
    .mitra-komponen-item::after {
        display: none;
    }
}

@media (max-width: 640px) {
    .mitra-alur,
    .mitra-sistem {
        padding: 56px 16px;
    }

    .mitra-komponen {
        padding: 56px 16px 40px;
    }

    .mitra-title {
        font-size: 26px;
        line-height: 36px;
    }

    .mitra-tag-text {
        font-size: 14px;
    }

    .mitra-step-num {
        font-size: 28px;
    }

    .mitra-step-title {
        font-size: 18px;
    }

    .mitra-komponen-grid {
        grid-template-columns: 1fr;
    }

    .mitra-komponen-title {
        font-size: 20px;
    }

    .mitra-komponen-desc,
    .mitra-subtitle {
        font-size: 16px;
    }
}
