/* ==========================================================================
   TENTANG KAMI PAGE — FIGMA "Landing Page Satu 2" (node 10528:718)
   ========================================================================== */

.tk-wrap {
    position: relative;
    max-width: 1212px;
    margin: 0 auto;
}

.tk-wrap--wide {
    max-width: 1280px;
}

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

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

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

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

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

.tk-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;
}

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

.tk-divider {
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid #E0E0E0;
}

/* --------------------------------------------------------------------------
   1. PROFIL PERUSAHAAN
   -------------------------------------------------------------------------- */
.tk-profil {
    background: #FFFFFF;
    padding: 80px 20px 120px;
}

.tk-profil-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.tk-profil-intro {
    flex: 0 0 391px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.tk-profil-logo {
    display: block;
    width: 173px;
    height: 200px;
}

.tk-profil-body {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tk-profil-text {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tk-profil-text p {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #777777;
}

.tk-profil-text strong {
    font-weight: 600;
    color: #1D599B;
}

.tk-profil-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.tk-badge {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tk-badge-logo {
    flex: none;
    width: 70px;
    height: auto;
}

.tk-badge-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.tk-badge-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: #292929;
}

.tk-badge-sub {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: #606060;
}

/* --------------------------------------------------------------------------
   2. VISI & MISI
   -------------------------------------------------------------------------- */
.tk-visimisi {
    position: relative;
    overflow: hidden;
    background: #FAFAFA;
    padding: 80px 20px;
}

/* Ornamen garis gelombang (opacity sudah termasuk di gambar) */
.tk-visimisi-pattern {
    position: absolute;
    left: calc(50% - 878px);
    top: 108px;
    width: 1440px;
    height: 800px;
    pointer-events: none;
}

.tk-visimisi-inner {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.tk-visi {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.tk-visi-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tk-visi-quote {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4A4A;
}

.tk-visi-photo {
    flex: 1 0 0;
    min-height: 280px;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.tk-visi-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 90%;
}

.tk-misi {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 32px 40px;
    background: #102F60;
    border-radius: 14px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

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

.tk-misi-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.tk-misi-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tk-misi-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.tk-misi-item:last-child {
    padding-bottom: 0;
}

.tk-misi-num {
    flex: none;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.5;
    color: #E1D122;
}

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

/* --------------------------------------------------------------------------
   3. STRUKTUR PERUSAHAAN
   -------------------------------------------------------------------------- */
.tk-struktur {
    position: relative;
    overflow: hidden;
    background: #FAFAFA;
    padding: 80px 20px;
}

.tk-struktur-pattern {
    position: absolute;
    left: 50%;
    top: calc(50% - 280px);
    width: 2264px;
    height: 1063px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.tk-struktur-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Warna garis penghubung bagan */
.tk-org {
    --tk-org-line: #A8B3C7;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Komisaris → Direktur → Manager HRD, dihubungkan satu garis tengah */
.tk-org-upper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.tk-org-upper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 40px;
    border-left: 2px solid var(--tk-org-line);
    transform: translateX(-1px);
}

.tk-org-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 289px;
    min-height: 87px;
    padding: 16px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 2px solid #13294B;
    border-radius: 10px;
    text-align: center;
}

.tk-org-node--komisaris {
    border-color: #C0262D;
}

.tk-org-node--direktur {
    width: 270px;
    min-height: 78px;
    border-color: #E1D122;
}

.tk-org-node--manager {
    margin-top: 38px;
}

.tk-org-directors {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 714px;
    max-width: 100%;
    margin-top: 87px;
}

/* Garis horizontal di atas kedua direktur */
.tk-org-directors::before {
    content: '';
    position: absolute;
    top: -32px;
    left: 135px;
    right: 135px;
    border-top: 2px solid var(--tk-org-line);
}

/* Garis turun ke masing-masing direktur */
.tk-org-directors .tk-org-node::before {
    content: '';
    position: absolute;
    top: -34px;
    left: 50%;
    height: 32px;
    border-left: 2px solid var(--tk-org-line);
    transform: translateX(-1px);
}

.tk-org-role {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: #56627A;
}

.tk-org-name {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    color: #13294B;
}

/* Divisi di bawah Manager HRD */
.tk-org-divisions {
    --tk-org-gap: 44px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--tk-org-gap);
    width: 100%;
    margin-top: 87px;
}

/* Garis turun dari Manager HRD */
.tk-org-divisions::after {
    content: '';
    position: absolute;
    top: -87px;
    left: 50%;
    height: 55px;
    border-left: 2px solid var(--tk-org-line);
    transform: translateX(-1px);
}

/* Garis horizontal dari divisi pertama ke terakhir */
.tk-org-divisions::before {
    content: '';
    position: absolute;
    top: -32px;
    left: calc((100% - 3 * var(--tk-org-gap)) / 8);
    right: calc((100% - 3 * var(--tk-org-gap)) / 8);
    border-top: 2px solid var(--tk-org-line);
}

.tk-org-division {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
}

.tk-org-head {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 93px;
    padding: 16px;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #E6E9EF;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(19, 41, 75, 0.04);
    text-align: center;
}

.tk-org-head .tk-org-role {
    color: #C0262D;
}

.tk-org-head .tk-org-name {
    font-size: 14px;
}

/* Garis turun ke tiap divisi */
.tk-org-head::before {
    content: '';
    position: absolute;
    top: -33px;
    left: 50%;
    height: 32px;
    border-left: 2px solid var(--tk-org-line);
    transform: translateX(-1px);
}

/* Garis dari kepala divisi ke kelompok staf */
.tk-org-head::after {
    content: '';
    position: absolute;
    bottom: -23px;
    left: 50%;
    height: 22px;
    border-left: 2px solid var(--tk-org-line);
    transform: translateX(-1px);
}

.tk-org-staff {
    list-style: none;
    margin: 0;
    padding: 10px 11px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #E8EDF5;
    border-radius: 10px;
}

.tk-org-staff-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 57px;
    padding: 8px 12px;
    box-sizing: border-box;
    background: #FFFFFF;
    border-radius: 6px;
    text-align: center;
}

.tk-org-staff-name {
    font-family: 'Inter', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: normal;
    color: #13294B;
}

.tk-org-staff-role {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: normal;
    color: #56627A;
}

/* --------------------------------------------------------------------------
   4. LEGALITAS PERUSAHAAN
   -------------------------------------------------------------------------- */
.tk-legalitas {
    background: #FFFFFF;
    padding: 100px 20px 60px;
}

.tk-legalitas-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tk-legalitas-grid {
    display: grid;
    grid-template-columns: minmax(0, 380fr) minmax(0, 471fr) minmax(0, 380fr);
    gap: 24px;
    align-items: stretch;
}

.tk-legal-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 34px 26px;
    background: #FFFFFF;
    border: 2px solid #0C45B5;
    border-radius: 14px;
}

.tk-legal-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.5;
    color: #333333;
}

.tk-legal-fields {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tk-legal-row {
    display: flex;
    align-items: baseline;
}

.tk-legal-row dt {
    flex: 0 0 80px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #0C45B5;
}

.tk-legal-row dd {
    margin: 0;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    color: #606060;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .tk-legalitas-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tk-legal-row dd {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .tk-org-divisions {
        --tk-org-gap: 20px;
    }
}

@media (max-width: 1024px) {
    .tk-profil-inner,
    .tk-visimisi-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .tk-profil-intro {
        flex-basis: auto;
    }

    .tk-visi-photo {
        flex: none;
        height: 360px;
    }

    /* Divisi jadi 2 kolom: garis horizontal diganti garis tengah saja */
    .tk-org-divisions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 40px;
        margin-top: 40px;
    }

    .tk-org-divisions::before,
    .tk-org-head::before {
        display: none;
    }

    .tk-org-divisions::after {
        top: -40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .tk-profil {
        padding: 56px 16px 72px;
    }

    .tk-visimisi,
    .tk-struktur {
        padding: 56px 16px;
    }

    .tk-legalitas {
        padding: 56px 16px 48px;
    }

    .tk-title,
    .tk-misi-title {
        font-size: 26px;
        line-height: 36px;
    }

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

    .tk-profil-text p {
        font-size: 16px;
    }

    .tk-profil-logo {
        width: 130px;
        height: 150px;
    }

    .tk-profil-badges {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tk-badge-title {
        font-size: 16px;
    }

    .tk-visi-quote {
        font-size: 18px;
    }

    .tk-visi-photo {
        height: 240px;
    }

    .tk-misi {
        padding: 28px 20px;
    }

    .tk-misi-num {
        font-size: 22px;
    }

    .tk-misi-desc {
        font-size: 15px;
    }

    /* Bagan ditumpuk vertikal */
    .tk-org-directors {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        margin-top: 24px;
    }

    .tk-org-directors::before,
    .tk-org-directors .tk-org-node::before {
        display: none;
    }

    .tk-org-node--manager {
        margin-top: 24px;
    }

    .tk-org-node,
    .tk-org-node--direktur {
        width: 100%;
        max-width: 289px;
    }

    .tk-org-divisions {
        grid-template-columns: 1fr;
        row-gap: 32px;
        margin-top: 32px;
    }

    .tk-org-divisions::after {
        top: -32px;
        height: 32px;
    }

    .tk-legalitas-grid {
        grid-template-columns: 1fr;
    }

    .tk-legal-card {
        padding: 24px 20px;
    }

    .tk-legal-title {
        font-size: 20px;
    }

    .tk-legal-row dd {
        font-size: 16px;
    }
}
