/* Dasar halaman detail TK menggunakan palet gelap dan terang dari referensi. */
.tk-page {
    color: #ffffff;
    background: #242424;
}

.tk-header,
.tk-hero {
    color: #ffffff;
    background: #242424;
}

.tk-hero {
    min-height: 980px;
    padding: 170px 0 158px;
}

/* Breadcrumb berada tepat di atas informasi utama program. */
.tk-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 46px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    font-weight: 600;
}

.tk-breadcrumb span[aria-hidden] {
    font-size: 0;
}

.tk-breadcrumb span[aria-hidden]::before {
    content: ">";
    font-size: 12px;
}

.tk-breadcrumb a:hover,
.tk-breadcrumb a:focus-visible,
.tk-breadcrumb span:last-child {
    color: rgba(255, 255, 255, 0.76);
}

.tk-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    align-items: start;
    gap: 92px;
}

.tk-hero-copy h1 {
    margin: 0;
    color: #35cfd0;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.tk-age-badge {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 15px;
    color: #111317;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    background: #ffffff;
    border-radius: 6px;
}

.tk-lead {
    max-width: 600px;
    margin: 40px 0 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 20px;
    line-height: 1.55;
}

.tk-note {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, 0.43);
    font-size: 15px;
    line-height: 1.62;
}

.tk-hero-image {
    display: block;
    width: 540px;
    height: 400px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

/* Statistik menggunakan kartu ringkas dengan aksen sian pendek di bagian dalam. */
.tk-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 82px;
}

.tk-stat {
    position: relative;
    min-height: 90px;
    padding: 20px 28px 18px 38px;
    background: #111111;
    border-radius: 7px;
}

.tk-stat::before {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 3px;
    height: 28px;
    background: #35cfd0;
    border-radius: 999px;
    content: "";
    transform: translateY(-50%);
}

.tk-stat span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.tk-stat strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

/* Semua bagian konten utama memakai latar terang yang sama. */
.tk-pillars,
.tk-programs,
.tk-extracurricular,
.tk-facilities {
    color: #101214;
    background: #f4f7fb;
}

/* Bagian pertama masuk ke hero melalui potongan diagonal. */
.tk-pillars {
    position: relative;
    z-index: 1;
    margin-top: -82px;
    padding: 134px 0 138px;
    clip-path: polygon(
        0 0,
        var(--section-cut-edge) 0,
        var(--section-cut-width) var(--section-cut-height),
        100% var(--section-cut-height),
        100% 100%,
        0 100%
    );
}

/* Pill section dibuat konsisten dengan komponen halaman lain. */
.tk-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-width: 151px;
    min-height: 43px;
    margin: 0 0 28px;
    padding: 8px 16px;
    color: #55b96a;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.5;
    text-transform: uppercase;
    background: #dcf6e4;
    border-radius: 20px;
}

.tk-content h2,
.tk-cta h2 {
    margin: 0;
    font-size: 39px;
    font-weight: 800;
    line-height: 1.08;
}

.tk-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 54px;
}

.tk-pillar-card {
    min-height: 260px;
    padding: 32px 30px 28px;
    background: #ffffff;
    border: 1px solid #d7dbe0;
    border-radius: 13px;
}

.tk-pillar-card > i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin-bottom: 28px;
    color: #009214;
    font-size: 22px;
    background: #e9f9ec;
    border-radius: 8px;
}

.tk-pillar-card h3 {
    margin: 0 0 16px;
    color: #009214;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.tk-pillar-card p {
    margin: 0;
    color: #8b929f;
    font-size: 13px;
    line-height: 1.55;
}

/* Delapan program unggulan memakai kartu vertikal dengan gambar di bagian bawah. */
.tk-programs {
    padding: 42px 0 140px;
}

.tk-program-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 54px;
}

.tk-program-card {
    display: grid;
    grid-template-rows: auto 230px 240px;
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d6d9de;
    border-radius: 13px;
}

.tk-program-card > span {
    justify-self: start;
    margin: 22px 0 0 22px;
    padding: 9px 13px;
    color: #15171a;
    font-size: 13px;
    line-height: 1;
    background: #eeeeee;
    border: 1px solid #d4d4d4;
    border-radius: 5px;
}

.tk-program-card > div {
    align-self: start;
    padding: 50px 22px 18px;
}

.tk-program-card h3 {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.15;
}

.tk-program-card p {
    margin: 0;
    color: #8b929f;
    font-size: 14px;
    line-height: 1.5;
}

.tk-program-card > img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* Ekstrakurikuler disusun lima kolom dan dua baris. */
.tk-extracurricular {
    padding: 38px 0 140px;
}

.tk-activity-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 54px;
}

.tk-activity-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d6d9de;
    border-radius: 12px;
}

.tk-activity-card > img {
    display: block;
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.tk-activity-card > div {
    position: relative;
    min-height: 150px;
    padding: 34px 16px 18px;
}

.tk-activity-card i {
    position: absolute;
    top: -22px;
    left: 14px;
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    color: #2677d8;
    font-size: 20px;
    background: #e9f4ff;
    border: 4px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.14);
}

/* Warna pastel dan glyph setiap kegiatan mengikuti identitas ikon pada referensi. */
.activity-tilawati i {
    color: #2677d8;
    background: #e9f4ff;
}

.activity-english i {
    color: #8b4bd8;
    background: #f1e9ff;
}

.activity-swimming i {
    color: #f2a23b;
    background: #fff2dd;
}

.activity-marching i {
    color: #ef6076;
    background: #ffe8ec;
}

.activity-dance i {
    color: #2c7bd8;
    background: #e9f4ff;
}

.activity-martial i {
    color: #12aaa8;
    background: #e2f8f5;
}

.activity-futsal i {
    color: #2f76dc;
    background: #e8f1ff;
}

.activity-skating i {
    color: #824bd8;
    background: #efe8ff;
}

.activity-painting i {
    color: #f2a13b;
    background: #fff1dc;
}

.activity-vocal i {
    color: #ed5e72;
    background: #ffe8ec;
}

.tk-activity-card h3 {
    margin: 0 0 13px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
}

.tk-activity-card p {
    margin: 0;
    color: #747b87;
    font-size: 11px;
    line-height: 1.5;
}

/* Fasilitas memakai tiga kolom dengan label kecil di atas foto. */
.tk-facilities {
    padding: 38px 0 138px;
}

.tk-unit-facility-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 54px;
}

.tk-unit-facility-card {
    min-height: 294px;
    overflow: hidden;
    padding-bottom: 20px;
    background: #ffffff;
    border: 1px solid #d6d9de;
    border-radius: 12px;
}

.tk-facility-media {
    position: relative;
    height: 164px;
    overflow: hidden;
    background: #bcbcbc;
}

.tk-facility-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tk-facility-media span {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    color: #15171a;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    background: #ffffff;
    border-radius: 5px;
}

.tk-unit-facility-card h3 {
    margin: 20px 18px 10px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.tk-unit-facility-card p {
    margin: 0 18px;
    color: #747b87;
    font-size: 11px;
    line-height: 1.5;
}

.tk-facility-placeholder {
    background: #bdbdbd;
}

/* CTA ditutup dengan latar gelap sebelum footer bersama. */
.tk-cta {
    padding: 152px 0 148px;
    color: #ffffff;
    text-align: center;
    background: #242424;
}

.tk-cta .section-container {
    display: grid;
    justify-items: center;
}

.tk-cta h2 {
    font-size: 47px;
}

.tk-cta p {
    max-width: 620px;
    margin: 20px 0 38px;
    color: rgba(255, 255, 255, 0.42);
    font-size: 16px;
    line-height: 1.45;
}

.tk-cta-actions {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.tk-solid-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 185px;
    min-height: 50px;
    padding: 10px 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    background: #087f2c;
    border: 1px solid #087f2c;
    border-radius: 4px;
}

.tk-solid-button:hover,
.tk-solid-button:focus-visible {
    background: #0b9636;
    border-color: #0b9636;
}

.tk-cta .outline-button {
    min-width: 185px;
    min-height: 50px;
    border-radius: 4px;
}

@media (max-width: 1180px) {
    .tk-hero {
        min-height: 0;
    }

    .tk-hero-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .tk-hero-image {
        width: min(100%, 680px);
        height: auto;
        aspect-ratio: 540 / 400;
    }

    .tk-pillar-grid,
    .tk-program-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tk-activity-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .tk-hero {
        padding: 142px 0 112px;
    }

    .tk-hero-copy h1,
    .tk-content h2 {
        font-size: 32px;
    }

    .tk-lead {
        margin-top: 30px;
        font-size: 18px;
    }

    .tk-stat-grid,
    .tk-pillar-grid,
    .tk-program-grid,
    .tk-activity-grid,
    .tk-unit-facility-grid {
        grid-template-columns: 1fr;
    }

    .tk-section-badge {
        min-width: 0;
        min-height: 38px;
        padding: 6px 14px;
        font-size: 14px;
    }

    .tk-activity-card > img,
    .tk-facility-media {
        height: 190px;
    }

    .tk-cta h2 {
        font-size: 36px;
    }

    .tk-cta-actions {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .tk-pillars {
        clip-path: polygon(
            0 0,
            62% 0,
            78% var(--section-cut-height),
            100% var(--section-cut-height),
            100% 100%,
            0 100%
        );
    }

    .tk-program-card {
        grid-template-rows: auto 230px 210px;
    }

    .tk-program-card > img {
        height: 210px;
    }
}
