/* ==========================================================================
   Halaman Tentang (compro): profil, fasilitas, coaching, membership, event, galeri
   ========================================================================== */

.judul-sedang { font-size: clamp(36px, 4.6vw, 60px); }

/* ---------- Kepala ---------- */
.t-kepala { padding: 120px 0 56px; }
.t-remah { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 14px; font-weight: 500; color: var(--muted); }
.t-remah i { font-size: 12px; }
.t-remah span { color: var(--text); }
.t-kepala-isi { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: end; }
.t-kepala-isi .judul { font-size: clamp(44px, 6vw, 84px); }
.t-kepala-isi .sec-sub { margin: 0; }

.t-tab { gap: 6px; margin-top: 40px; padding: 6px; border-radius: 999px; background: var(--surface); width: fit-content; max-width: 100%; }
.t-tab-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
    height: 44px;
    padding: 0 18px 0 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
    transition: background-color .25s, color .25s;
}
.t-tab-item i { font-size: 19px; }
.t-tab-item.aktif { background: var(--btn-bg); color: var(--btn-fg); }
@media (hover: hover) { .t-tab-item:not(.aktif):hover { color: var(--text); background: var(--surface-2); } }

.t-kepala-foto { margin: 40px 0 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 36px; }
.t-kepala-foto img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section ---------- */
.t-sec { padding: 110px 0; }
.t-alt { background: var(--bg-alt); }
.t-gelap { background: var(--gelap); color: #f3efe7; --muted: rgba(243, 239, 231, .62); --line: rgba(243, 239, 231, .12); --emas-teks: linear-gradient(100deg, #cfae78 0%, #f1dfba 55%, #c9a46a 100%); }
.t-sec-kepala { max-width: 720px; margin-bottom: 50px; }

.t-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.t-kartu { padding: 28px; border-radius: 28px; background: var(--surface); }
.t-ikon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; background: var(--gold-soft); color: var(--on-gold); font-size: 25px; }
.t-kartu h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.t-kartu p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.t-kartu-kecil { padding: 22px; }
.t-kartu-kecil .t-ikon { width: 44px; height: 44px; margin-bottom: 16px; font-size: 21px; }
.t-kartu-kecil h3 { font-size: 17px; }

/* ---------- Profil ---------- */
.t-cerita { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: start; }
.t-kutip { margin: 0; font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; line-height: 1.25; letter-spacing: -.03em; }
.t-cerita-teks p { margin: 0 0 18px; font-size: 18px; line-height: 1.7; color: var(--muted); }

.t-linimasa { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.t-linimasa li { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 32px 0; border-top: 1px solid var(--line); }
.t-linimasa li:last-child { border-bottom: 1px solid var(--line); }
.t-tahun { font-size: 44px; font-weight: 700; letter-spacing: -.04em; line-height: 1; background: var(--emas-teks); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-linimasa h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.t-linimasa p { margin: 6px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.t-orang { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 30px 20px; border-radius: 28px; background: rgba(243, 239, 231, .05); text-align: center; }
.t-avatar { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 14px; border-radius: 50%; background: linear-gradient(135deg, #dcc293, #b8925a); color: #1c2620; font-size: 28px; font-weight: 700; }
.t-orang b { font-size: 18px; }
.t-orang small { font-size: 14px; color: var(--muted); }

.t-faq { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.t-akordeon { border-top: 1px solid var(--line); }
.t-akordeon details { border-bottom: 1px solid var(--line); }
.t-akordeon summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; font-size: 18px; font-weight: 600; list-style: none; cursor: pointer; }
.t-akordeon summary::-webkit-details-marker { display: none; }
.t-akordeon summary i { flex: none; font-size: 20px; transition: transform .35s var(--spring); }
.t-akordeon details[open] summary i { transform: rotate(45deg); }
.t-akordeon p { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--muted); animation: buka-faq .35s var(--ease); }
@keyframes buka-faq { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Fasilitas ---------- */
.t-court { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t-court-kartu { overflow: hidden; border-radius: 32px; background: var(--surface); }
.t-court-kartu figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.t-court-kartu img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.t-court-info { padding: 26px 28px 30px; }
.t-court-info h3 { margin: 12px 0 14px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.t-court-info ul, .t-harga ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.t-court-info li, .t-harga li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.t-court-info li i, .t-harga li i { color: var(--gold); font-size: 19px; }
@media (hover: hover) { .t-court-kartu:hover img { transform: scale(1.04); } }

.t-spek { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.t-spek b { display: block; font-size: clamp(40px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1; background: var(--emas-teks); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-spek span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ---------- Kartu harga (coaching & membership) ---------- */
.t-harga-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.t-harga { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 32px; background: var(--surface); }
.t-harga-unggul { background: var(--gelap); color: #f3efe7; --muted: rgba(243, 239, 231, .62); box-shadow: 0 30px 60px rgba(0, 0, 0, .18); }
.t-pita { position: absolute; top: 20px; right: 20px; padding: 6px 12px; border-radius: 999px; background: var(--gold); color: #1c2620; font-size: 12px; font-weight: 700; }
.t-harga-level { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.t-harga h3 { margin: 8px 0 0; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.t-harga-angka { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 0; }
.t-harga-angka b { font-size: 34px; font-weight: 700; letter-spacing: -.035em; }
.t-harga-angka small { font-size: 15px; color: var(--muted); }
.t-harga-meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.t-harga-meta span { display: inline-flex; align-items: center; gap: 6px; }
.t-harga ul { flex: 1; margin: 26px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.t-harga-unggul ul { border-color: rgba(243, 239, 231, .12); }
.t-catatan { display: flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 14px; color: var(--muted); }

.t-coach { padding: 28px; border-radius: 28px; background: var(--surface); }
.t-coach .t-avatar { width: 72px; height: 72px; margin-bottom: 18px; font-size: 22px; }
.t-coach b { display: block; font-size: 19px; }
.t-coach small { font-size: 14px; color: var(--muted); }
.t-coach p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Event ---------- */
.t-event-list { display: grid; gap: 14px; }
.t-event {
    display: grid;
    grid-template-columns: 90px 220px 1fr 220px;
    gap: 24px;
    align-items: center;
    padding: 14px 24px 14px 14px;
    border-radius: 28px;
    background: var(--surface);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.t-event-tgl { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 110px; border-radius: 20px; background: var(--surface-2); }
.t-event-tgl b { font-size: 36px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.t-event-tgl span { margin-top: 4px; font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.t-event figure { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 18px; }
.t-event figure img { width: 100%; height: 100%; object-fit: cover; }
.t-event-info h3 { margin: 10px 0 6px; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.t-event-info p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.t-event-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px !important; font-size: 13px !important; }
.t-event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.t-event-kuota { display: grid; gap: 10px; }
.t-event-kuota small { font-size: 13px; font-weight: 600; color: var(--muted); }
.t-bar { display: block; height: 6px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.t-bar span { display: block; height: 100%; border-radius: inherit; background: var(--gold); }
.t-event-kuota .btn { justify-content: space-between; }
.t-event-kuota .btn:disabled { opacity: .5; cursor: not-allowed; justify-content: center; }
@media (hover: hover) { .t-event:hover { transform: translateY(-3px); box-shadow: var(--shadow-besar); } }

/* ---------- Galeri ---------- */
.t-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; padding: 6px; border-radius: 999px; background: var(--surface); width: fit-content; }
.t-filter button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 15px; font-weight: 600; transition: background-color .25s, color .25s; }
.t-filter button.aktif { background: var(--btn-bg); color: var(--btn-fg); }
.t-galeri { columns: 3 280px; column-gap: 14px; }
.t-foto {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 24px;
    background: var(--surface-2);
    break-inside: avoid;
    cursor: zoom-in;
    transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.t-foto:nth-child(3n + 1) img { aspect-ratio: 4 / 5; }
.t-foto:nth-child(3n + 2) img { aspect-ratio: 1; }
.t-foto:nth-child(3n) img { aspect-ratio: 4 / 3; }
.t-foto img { width: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.t-foto span { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #1c2620; font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.t-foto.sembunyi { display: none; }
@media (hover: hover) {
    .t-foto:hover img { transform: scale(1.05); }
    .t-foto:hover span { opacity: 1; transform: none; }
}

.t-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 40px 90px; background: rgba(8, 10, 9, .92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.t-lightbox.buka { opacity: 1; visibility: visible; transition: opacity .3s; }
.t-lightbox img { max-width: 100%; max-height: 86vh; border-radius: 20px; transform: scale(.94); transition: transform .45s var(--spring); }
.t-lightbox.buka img { transform: none; }
.t-lb-tutup { position: absolute; top: 20px; right: 20px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: 40px; }
.t-lb-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; }
.t-lb-nav.kiri { left: 22px; }
.t-lb-nav.kanan { right: 22px; }

/* ---------- CTA ---------- */
.t-cta-sec { padding-top: 0; padding-bottom: 150px; }
.t-cta { position: relative; display: flex; flex-direction: column; align-items: center; padding: 80px 28px; overflow: hidden; border-radius: 36px; background: var(--gelap); color: #f3efe7; text-align: center; --emas-teks: linear-gradient(100deg, #cfae78 0%, #f1dfba 55%, #c9a46a 100%); }
.t-cta::before { content: ''; position: absolute; inset: -40% 20% auto; height: 80%; background: radial-gradient(closest-side, rgba(214, 185, 138, .26), transparent); pointer-events: none; }
.t-cta-emblem { position: relative; width: 52px; margin-bottom: 20px; }
.t-cta .judul { position: relative; max-width: 760px; }
.t-cta-aksi { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
    .t-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .t-event { grid-template-columns: 80px 1fr 200px; }
    .t-event figure { display: none; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 820px) {
    .t-kepala { padding: 74px 0 32px; }
    .t-remah { display: none; }
    .t-kepala-isi { grid-template-columns: 1fr; gap: 16px; }
    .t-kepala-isi .judul { font-size: clamp(36px, 10.5vw, 50px); }
    .t-tab { width: auto; margin: 26px -20px 0; padding: 0 20px; border-radius: 0; background: none; scroll-padding-inline: 20px; }
    .t-tab-item { height: 42px; background: var(--surface); font-size: 14px; }
    .t-kepala-foto { aspect-ratio: 4 / 3; margin-top: 24px; border-radius: 26px; }

    .t-sec { padding: 64px 0; }
    .t-sec-kepala { margin-bottom: 30px; }
    .judul-sedang { font-size: clamp(32px, 9vw, 42px); }
    .t-grid-3, .t-grid-4 { grid-template-columns: 1fr; gap: 12px; }
    .t-kartu { padding: 22px; border-radius: 24px; }

    .t-cerita, .t-faq { grid-template-columns: 1fr; gap: 26px; }
    .t-cerita-teks p { font-size: 16px; }
    .t-linimasa li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
    .t-tahun { font-size: 34px; }
    .t-orang { flex-direction: row; gap: 14px; padding: 16px; text-align: left; border-radius: 22px; }
    .t-orang .t-avatar { width: 56px; height: 56px; margin: 0; font-size: 18px; }
    .t-orang > b, .t-orang > small { display: block; }
    .t-akordeon summary { font-size: 16px; min-height: 60px; }

    .t-court { grid-template-columns: 1fr; gap: 12px; }
    .t-court-kartu { border-radius: 26px; }
    .t-court-info { padding: 20px 22px 24px; }
    .t-court-info h3 { font-size: 24px; }
    .t-spek { grid-template-columns: 1fr 1fr; gap: 28px 12px; }

    .t-harga-grid { grid-template-columns: 1fr; gap: 12px; }
    .t-harga { padding: 26px 22px 22px; border-radius: 26px; }

    .t-event { grid-template-columns: 64px 1fr; gap: 14px; padding: 12px; border-radius: 24px; }
    .t-event-tgl { min-height: 72px; border-radius: 16px; }
    .t-event-tgl b { font-size: 26px; }
    .t-event-info h3 { font-size: 18px; }
    .t-event-kuota { grid-column: 1 / -1; }

    .t-filter { width: auto; }
    .t-galeri { columns: 2; column-gap: 10px; }
    .t-foto { margin-bottom: 10px; border-radius: 18px; }
    .t-lightbox { padding: 20px; }
    .t-lb-nav { display: none; }

    .t-cta-sec { padding-bottom: 100px; }
    .t-cta { padding: 56px 22px; border-radius: 28px; }
    .t-cta-aksi { flex-direction: column; align-items: stretch; width: 100%; }
    .t-cta-aksi .btn { justify-content: space-between; }
}

/* ==========================================================================
   Halaman legal
   ========================================================================== */
.l-tanggal { display: flex; align-items: center; gap: 6px; margin: 16px 0 0; font-size: 14px; color: var(--muted); }
.l-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.l-toc { position: sticky; top: 100px; display: grid; gap: 2px; }
.l-toc p { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.l-toc a { padding: 9px 14px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); transition: color .2s, border-color .2s; }
.l-toc a.aktif { border-color: var(--gold); color: var(--text); font-weight: 600; }
.l-isi { max-width: 720px; }
.l-isi section { padding: 0 0 36px; scroll-margin-top: 100px; }
.l-isi h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.l-isi h2 span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--gold-soft); color: var(--on-gold); font-size: 14px; }
.l-isi p, .l-isi li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.l-isi p { margin: 0; }
.l-isi ul { margin: 0; padding-left: 20px; }
.l-isi li { margin-bottom: 8px; }
.l-catatan { display: flex; gap: 14px; margin-top: 10px; padding: 22px; border-radius: 24px; background: var(--surface); }
.l-catatan > i { flex: none; color: var(--accent); font-size: 28px; }
.l-catatan b { font-size: 16px; }
.l-catatan p { margin: 4px 0 0; font-size: 15px; }
.l-catatan a { color: var(--accent); font-weight: 600; }

@media (max-width: 820px) {
    .l-grid { grid-template-columns: 1fr; gap: 0; }
    .l-toc { display: none; }
    .l-isi h2 { font-size: 20px; }
    .l-isi p, .l-isi li { font-size: 15px; }
}



/* ================= Kontak kami (k-*) ================= */
.k-kanal { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.k-kanal-item { position: relative; display: flex; flex-direction: column; transition: transform .35s var(--spring), box-shadow .35s; }
.k-kanal-item small { font-size: 13px; font-weight: 600; color: var(--muted); }
.k-kanal-item b { margin-top: 4px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; overflow-wrap: anywhere; }
.k-kanal-panah { position: absolute; top: 28px; right: 28px; font-size: 20px; color: var(--muted); transition: transform .3s var(--spring), color .2s; }
@media (hover: hover) {
    a.k-kanal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-besar); }
    a.k-kanal-item:hover .k-kanal-panah { color: var(--text); transform: translate(2px, -2px); }
}

.k-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.k-lokasi .judul { margin-bottom: 18px; }
.k-alamat { display: flex; gap: 10px; max-width: 520px; margin: 0 0 24px; font-size: 17px; line-height: 1.55; }
.k-alamat i { flex: none; margin-top: 3px; font-size: 22px; color: var(--emas-teks); }
.k-peta { aspect-ratio: 4 / 3; margin-bottom: 24px; overflow: hidden; border-radius: 30px; background: var(--surface); }
.k-peta iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 820px) {
    .k-kanal { grid-template-columns: 1fr 1fr; gap: 10px; }
    .k-kanal-item { padding: 20px; }
    .k-kanal-item .t-ikon { width: 44px; height: 44px; margin-bottom: 14px; font-size: 21px; }
    .k-kanal-item b { font-size: 16px; }
    .k-kanal-item p { font-size: 13px; }
    .k-kanal-panah { top: 20px; right: 20px; }
    .k-grid { grid-template-columns: 1fr; gap: 30px; }
    .k-peta { border-radius: 24px; }
}
