/* ==========================================================================
   LAYANAN PAGES — FIGMA "Landing Page Satu 2"
   Penyedia Tenaga Kerja (10564:11519), Pelatihan & Pembekalan Kerja (10581:7670),
   Pengelolaan Tenaga Kerja (10581:9644)
   ========================================================================== */

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

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

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

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

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

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

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

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

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

/* Pola garis heksagon samar sebagai latar section */
.ly-pattern {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2264px;
    height: 1063px;
    transform: translate(-50%, -50%);
    opacity: 0.6;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   BENEFIT (dipakai ketiga halaman)
   -------------------------------------------------------------------------- */
.ly-benefit {
    position: relative;
    overflow: hidden;
    background: #FFFFFF;
    padding: 80px 20px;
}

.ly-benefit-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.ly-benefit-intro {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ly-benefit-photo {
    display: block;
    width: 100%;
    aspect-ratio: 565 / 225;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ly-benefit-photo--tall {
    aspect-ratio: 525 / 375;
}

.ly-benefit-list {
    flex: 1 0 0;
    min-width: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ly-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.ly-benefit-num {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 6px;
    background: #1D599B;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
}

.ly-benefit-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.ly-benefit-desc {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #4A4A4A;
}

/* --------------------------------------------------------------------------
   KARTU KATEGORI (Tenaga Kerja / Kami Kelola)
   -------------------------------------------------------------------------- */
.ly-cards {
    position: relative;
    overflow: hidden;
    background: #FAFAFA;
    padding: 80px 20px;
}

.ly-cards-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.ly-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.ly-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ly-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 20px 26px;
    background: #FFFFFF;
    border: 1px solid #1D599B;
    border-radius: 14px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ly-card:hover {
    box-shadow: 0 6px 24px rgba(29, 89, 155, 0.25);
    transform: translateY(-2px);
}

.ly-card-icon {
    display: block;
    width: 40px;
    height: 40px;
    color: #1D599B;
}

.ly-card-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #292929;
}

.ly-card-intro {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    color: #606060;
}

.ly-card-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #606060;
}

/* --------------------------------------------------------------------------
   SUMBER TENAGA KERJA (Penyedia Tenaga Kerja)
   -------------------------------------------------------------------------- */
.ly-sumber {
    background: #FFFFFF;
    padding: 80px 20px;
}

.ly-sumber-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.ly-sumber-intro {
    flex: 0 0 360px;
}

.ly-sumber-grid {
    flex: 1 0 0;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ly-sumber-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 28px;
}

/* Garis pemisah berbentuk silang di tengah grid */
.ly-sumber-item:nth-child(odd) {
    border-right: 1px solid #E0E0E0;
}

.ly-sumber-item:nth-child(-n+2) {
    border-bottom: 1px solid #E0E0E0;
}

.ly-sumber-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ly-sumber-num {
    flex: none;
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: #1D599B;
}

.ly-sumber-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: #292929;
}

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

/* --------------------------------------------------------------------------
   LPK + REELS INSTAGRAM (Pelatihan & Pembekalan Kerja)
   -------------------------------------------------------------------------- */
.ly-lpk {
    position: relative;
    overflow: hidden;
    background: #FAFAFA;
    padding: 80px 20px;
}

.ly-lpk-inner {
    display: flex;
    align-items: center;
    gap: 64px;
}

.ly-reel {
    flex: 0 0 340px;
    min-height: 560px;
    display: flex;
    justify-content: center;
}

/* Kotak embed resmi Instagram; style inline dari embed.js tetap berlaku */
.ly-reel .instagram-media {
    width: 100% !important;
    min-width: 326px !important;
    max-width: 340px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08) !important;
}

.ly-reel-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 520px;
    padding: 24px;
    background: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #3F3FC5;
}

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

.ly-lpk-logo {
    display: block;
    width: 100px;
    height: auto;
}

.ly-lpk-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #292929;
}

.ly-lpk-text {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #777777;
}

/* --------------------------------------------------------------------------
   HRIS (Pengelolaan Tenaga Kerja)
   -------------------------------------------------------------------------- */
.ly-hris {
    background: #FAFAFA;
    padding: 0 20px 80px;
}

.ly-hris-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.ly-hris-body {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ly-hris-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    color: #292929;
}

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

.ly-hris-list {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #292929;
}

.ly-hris-list li::marker {
    color: #D99A16;
}

/* Bingkai layar laptop */
.ly-hris-screen {
    flex: 1 0 0;
    min-width: 0;
    padding: 8px;
    background: #1F1F1F;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.ly-hris-screen img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

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

@media (max-width: 1024px) {
    .ly-benefit-inner,
    .ly-sumber-inner,
    .ly-lpk-inner,
    .ly-hris-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .ly-sumber-intro {
        flex-basis: auto;
    }

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

    .ly-reel {
        flex-basis: auto;
        align-self: center;
        width: 100%;
        max-width: 340px;
    }

    /* Saat ditumpuk: teks LPK dulu, baru reels */
    .ly-lpk-body {
        order: -1;
    }
}

@media (max-width: 640px) {
    .ly-benefit,
    .ly-cards,
    .ly-sumber,
    .ly-lpk {
        padding: 56px 16px;
    }

    .ly-hris {
        padding: 0 16px 56px;
    }

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

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

    .ly-benefit-item {
        gap: 16px;
    }

    .ly-benefit-title {
        font-size: 16px;
    }

    .ly-card-grid {
        grid-template-columns: 1fr;
    }

    .ly-sumber-grid {
        grid-template-columns: 1fr;
    }

    .ly-sumber-item {
        padding: 20px 4px;
        border-right: 0 !important;
        border-bottom: 1px solid #E0E0E0;
    }

    .ly-sumber-item:last-child {
        border-bottom: 0;
    }

    .ly-sumber-num {
        font-size: 26px;
    }

    .ly-lpk-title,
    .ly-hris-title {
        font-size: 22px;
    }

    .ly-lpk-logo {
        width: 80px;
    }

    .ly-reel {
        max-width: 100%;
    }

    .ly-reel .instagram-media {
        min-width: 0 !important;
    }
}
