/* ==========================================================
   Tazkia Fitrah Institute — gaya utama
   ========================================================== */
:root {
	--green: #0B5239;
	--green-2: #17674A;
	--green-dark: #08402C;
	--gold: #F5B514;
	--gold-2: #E9A800;
	--mint: #D8EEE3;
	--mint-2: #C2E3D3;
	--mint-text: #CFE6DD;
	--butter: #FFE9A8;
	--butter-2: #FFDD7A;
	--peach: #F0D9C4;
	--peach-2: #E8C9AE;
	--ink: #10231E;
	--ink-2: #24392F;
	--muted: #4F5F59;
	--bg: #F5F5EF;
	--line: #E3E6DF;
	--line-2: #DADDD5;
	--white: #FFFFFF;
	--coral: #FF6B4A;
	--font-display: 'Bricolage Grotesque', system-ui, sans-serif;
	--font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
	--radius: 28px;
	--wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
.nowrap { white-space: nowrap; }
img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip-link:focus { left: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.on-dark-muted { color: var(--mint-text); }
.stack-md { display: flex; flex-direction: column; gap: 28px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.grid-auto { display: grid; gap: 20px; }
.grid-auto--240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-auto--280 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-auto--320 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

/* ---------- Tipografi ---------- */
.display {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(42px, 6vw, 84px);
	line-height: .98;
	letter-spacing: -0.035em;
}
.display--md { font-size: clamp(36px, 5vw, 68px); }
.h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 4vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; }
.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.lead-sm { font-size: 17px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.highlight {
	display: inline-block;
	background: var(--gold);
	border-radius: 18px;
	padding: 0 14px;
	transform: rotate(-1.5deg);
}

/* ---------- Tombol & chip ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font: inherit; font-weight: 700; font-size: 15px;
	padding: 12px 20px; min-height: 44px;
	border-radius: 999px; border: 1.5px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: filter .15s ease, transform .15s ease;
}
.btn:hover { filter: brightness(.94); }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { color: var(--ink); }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.chip--sm { font-size: 13px; font-weight: 700; background: #F0F1EA; border: 0; padding: 4px 10px; }
.chip--gold { align-self: flex-start; background: var(--gold); color: var(--ink); border: 0; font-weight: 700; font-size: 13px; position: relative; }

.pill-badge {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 6px 14px; font-size: 14px; font-weight: 600;
}
.pill-badge__tag { background: var(--gold); border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; }
.tag-live {
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--coral); color: #fff; font-weight: 700; font-size: 12px;
	padding: 4px 10px; border-radius: 999px;
}
.tag-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

/* ---------- Header ---------- */
.site-header { padding: 16px 0; position: relative; z-index: 20; }
.navbar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	padding: 8px 10px 8px 18px;
	max-width: calc(var(--wrap) - 40px);
}
.tfi-logo { display: block; flex: none; line-height: 0; }
.tfi-logo img { height: 48px; width: auto; }
/* logo bawaan punya ruang putih: dipotong agar pas */
.tfi-logo:has(.tfi-logo--default) { width: 116px; height: 52px; overflow: hidden; position: relative; }
.tfi-logo .tfi-logo--default { position: absolute; width: 156px; height: 78px; left: -20px; top: -13px; max-width: none; }
.navbar__panel { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; flex: 1 1 auto; justify-content: space-between; }
.navbar__menu { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 600; font-size: 15px; }
.navbar__menu a { text-decoration: none; display: inline-block; padding: 10px 0; }
.navbar__actions { display: flex; gap: 8px; align-items: center; }
.navbar__link { text-decoration: none; font-weight: 600; padding: 12px 16px; }
.navbar__toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: var(--ink); align-items: center; justify-content: center; }

@media (max-width: 900px) {
	.navbar { border-radius: 26px; }
	.navbar__toggle { display: inline-flex; }
	.navbar__panel { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 8px 4px 12px; }
	.navbar.is-open .navbar__panel { display: flex; }
	.navbar__menu { flex-direction: column; margin: 0; }
	.navbar__menu a { padding: 12px 4px; display: block; }
	.navbar__actions { flex-wrap: wrap; }
	.navbar__actions .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.bento { flex: 1 1 440px; min-width: 0; display: flex; }
.bento__feature {
	flex: 1; background: var(--green); color: #fff; border-radius: var(--radius);
	padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 340px;
	position: relative; overflow: hidden;
}
.bento__feature > * { position: relative; }
.bento__feature--photo { background: var(--green-dark); }
.bento__feature > .bento__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bento__feature > .bento__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,64,44,.94) 0%, rgba(11,82,57,.80) 45%, rgba(11,82,57,.30) 100%); }
@media (max-width: 640px) {
	.bento__feature > .bento__shade { background: linear-gradient(180deg, rgba(8,64,44,.55) 0%, rgba(8,64,44,.92) 60%); }
}
.bento__top { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.bento__body { display: flex; flex-direction: column; gap: 6px; max-width: 420px; }
.bento__body h2 { font-family: var(--font-display); font-size: 40px; line-height: 1; letter-spacing: -0.02em; }
.bento__tagline { color: var(--gold); font-weight: 600; }
.bento__foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: auto; }
.bento__foot .btn { margin-left: auto; }
.bento__meta { background: rgba(255,255,255,.12); border-radius: 999px; padding: 8px 14px; font-size: 14px; }
.bento__tile {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
	padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 170px;
}
.bento__tile--mint { background: var(--mint); border-color: var(--mint); }
.bento__tile span { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; }
.tile-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; display: block; }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento__feature { grid-column: auto; } }

.deco { position: absolute !important; border-radius: 50%; pointer-events: none; }
.deco--circle { right: -60px; top: -60px; width: 220px; height: 220px; background: var(--green-2); }
.deco--dashed { right: 220px; bottom: -110px; width: 160px; height: 160px; border: 2px dashed var(--gold); }
.deco--circle-bl { left: -40px; bottom: -90px; width: 260px; height: 260px; background: var(--green-2); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--bg); padding: 18px 0; overflow: hidden; transform: rotate(-1deg); margin: 8px -10px; }
.marquee__track { display: flex; gap: 36px; white-space: nowrap; width: max-content; font-family: var(--font-display); font-size: 26px; font-weight: 700; animation: tfi-marquee 40s linear infinite; }
.marquee__star { color: var(--gold); }
@keyframes tfi-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Section ---------- */
.section { padding: 88px 0 0; }
.section--tight { padding-top: 0; padding-bottom: 88px; }
#kelas.section { padding-bottom: 72px; }
.section--cta { padding: 0 0 40px; }
.section-head { display: flex; flex-direction: column; gap: 8px; max-width: 720px; }
.section-head--row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; max-width: none; gap: 16px; }
.section-head--row > div { display: flex; flex-direction: column; gap: 8px; }
.link-arrow { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.split { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; }
.split > :first-child { flex: 1 1 480px; }
.split > :last-child { flex: 1 1 380px; }
.split--faq { align-items: flex-start; }
.split--faq > :first-child { flex: 1 1 320px; }
.split--faq > :last-child { flex: 2 1 520px; min-width: 0; }

/* Tahapan */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.steps li.is-accent { background: var(--gold); border-color: var(--gold); }
.steps__num { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--green); }
.steps li.is-accent .steps__num { color: var(--ink); }

/* Jalur */
.track { border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; text-decoration: none; color: var(--ink); transition: transform .2s ease; }
.track:hover { transform: translateY(-4px); color: var(--ink); }
.track h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.05; }
.track__foot { margin-top: auto; font-size: 14px; font-weight: 700; }
.track--mint { background: var(--mint); }
.track--mint p { color: #2E4A3F; }
.track--green { background: var(--green); color: #fff; }
.track--green:hover { color: #fff; }
.track--green p { color: var(--mint-text); }
.track--green svg, .track--green .track__foot { color: var(--gold); }
.track--gold { background: var(--gold); }
.track--white { background: #fff; border: 1px solid var(--line); }
.track--white p { color: var(--muted); }

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 10px; }
.filter__btn {
	font: inherit; font-weight: 700; font-size: 15px; padding: 11px 18px; min-height: 44px;
	border-radius: 999px; cursor: pointer; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2);
}
.filter__btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Kartu program */
.card {
	text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line);
	border-radius: 26px; padding: 12px; display: flex; flex-direction: column; gap: 14px;
	transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(16,35,30,.10); color: var(--ink); }
.card[hidden] { display: none; }
.card__thumb {
	height: 190px; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between;
	position: relative; overflow: hidden; background-size: cover; background-position: center;
}
.card__blob { position: absolute; right: -30px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; }
.card__label { align-self: flex-start; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; position: relative; }
.card__title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.02em; position: relative; max-width: 240px; }
.card__body { padding: 0 8px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.card__body h3 { font-size: 17px; line-height: 1.35; font-weight: 700; font-family: var(--font-body); }
.card__meta { display: flex; align-items: center; gap: 6px; }
.card__foot { margin-top: auto; padding: 12px 8px 4px; border-top: 1px dashed var(--line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 20px; }

/* Warna kartu */
.tone--mint { background-color: var(--mint); color: var(--ink); }
.tone--mint .card__blob { background: var(--mint-2); }
.tone--green { background-color: var(--green); color: #fff; }
.tone--green .card__blob { background: var(--green-2); }
.tone--butter { background-color: var(--butter); color: var(--ink); }
.tone--butter .card__blob { background: var(--butter-2); }
.tone--ink { background-color: var(--ink); color: var(--gold); }
.tone--ink .card__blob { background: var(--ink-2); }
.tone--gold { background-color: var(--gold); color: var(--ink); }
.tone--gold .card__blob { background: var(--gold-2); }
.tone--white { background-color: #fff; color: var(--ink); border: 1px solid var(--line); }
.tone--white .card__blob { background: #F0F1EA; }
.tone--peach { background-color: var(--peach); color: var(--ink); }
.tone--peach .card__blob { background: var(--peach-2); }

/* Panel cara ikut */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 36px; padding: clamp(28px, 4vw, 56px); }
.howto { display: flex; flex-direction: column; gap: 10px; }
.howto__num { font-family: var(--font-display); font-size: 56px; font-weight: 800; color: var(--green); line-height: 1; }
.howto h3 { font-size: 20px; font-family: var(--font-body); }

/* Mentor */
.mentor { background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 14px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.mentor__photo { flex: 0 0 180px; height: 220px; border-radius: 24px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
.mentor__photo img { width: 100%; height: 100%; object-fit: cover; }
.grid-auto--260 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.speaker { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 12px; display: flex; flex-direction: column; gap: 14px; }
.speaker__photo { height: 280px; border-radius: 20px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; position: relative; }
.speaker__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.speaker__role { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.speaker__info { padding: 0 8px 8px; display: flex; flex-direction: column; gap: 6px; }
.speaker__info h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1.1; }
.speaker__info .chip-row { margin-top: 6px; }
.mentor__silhouette { width: 70%; aspect-ratio: 1; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.55); margin-bottom: -2px; }
.mentor__info { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; padding-right: 10px; }
.mentor__info h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }

/* Membership */
.member { display: flex; flex-wrap: wrap; gap: 20px; }
.member__intro { flex: 1 1 440px; min-width: 0; background: var(--green); color: #fff; border-radius: 36px; padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 18px; position: relative; overflow: hidden; }
.member__intro > * { position: relative; }
.member__card { flex: 1 1 360px; min-width: 0; background: #fff; border: 2px solid var(--ink); border-radius: 36px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 18px; box-shadow: 8px 8px 0 var(--gold); }
.member__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.member__price strong { font-family: var(--font-display); font-weight: 800; font-size: 48px; letter-spacing: -0.03em; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { color: var(--green); flex: none; }

/* Testimoni */
.testi { margin: 0; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.testi blockquote { margin: 0; font-family: var(--font-display); font-size: 22px; line-height: 1.3; font-weight: 500; }
.testi figcaption { font-size: 14px; font-weight: 600; }
.tilt-l { transform: rotate(-1deg); }
.tilt-r { transform: rotate(1deg); }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.faq__item summary {
	list-style: none; cursor: pointer; padding: 20px 22px; min-height: 44px;
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	font-weight: 700; font-size: 17px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__sign { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #F0F1EA; position: relative; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__sign { background: var(--gold); }
.faq__item[open] .faq__sign::after { display: none; }
.faq__item p { padding: 0 22px 22px; }

/* CTA */
.cta { background: var(--gold); border-radius: 40px; padding: clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta h2 { max-width: 760px; }

/* Footer */
.site-footer { padding: 40px 0 48px; font-size: 15px; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 32px; }
.site-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.site-footer__brand .tfi-logo { background: #fff; border-radius: 18px; }
.site-footer__brand .tfi-logo:has(.tfi-logo--default) { width: 180px; height: 81px; }
.site-footer__brand .tfi-logo .tfi-logo--default { width: 216px; height: 108px; left: -18px; top: -13px; }
.site-footer__social { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { padding: 2px 0; }
.site-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__bottom { margin-top: 32px; font-size: 13px; color: var(--muted); }

.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 50;
	width: 60px; height: 60px; border-radius: 50%; background: var(--green); color: var(--gold);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px rgba(16,35,30,.25);
}
.wa-float:hover { color: #fff; }

/* ---------- Halaman umum, Tutor LMS, WooCommerce ---------- */
.page-wrap { padding-top: 32px; padding-bottom: 88px; }
.entry__title { margin-bottom: 28px; }
.entry__content { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(20px, 3vw, 40px); }
.entry__content > * + * { margin-top: 1em; }
.entry__thumb img { border-radius: 24px; margin-bottom: 24px; }
.pagination { margin-top: 32px; }

/* Tombol Tutor & Woo mengikuti brand */
.tutor-btn-primary, .tutor-btn.tutor-btn-primary,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt {
	border-radius: 999px !important;
	font-weight: 700 !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce #place_order {
	background: var(--green) !important; color: #fff !important;
}
.tutor-card, .tutor-course-card { border-radius: 22px !important; }
.tutor-wrap, .tutor-container { font-family: var(--font-body); }
.tutor-course-details-title, .tutor-fs-3, .tutor-fs-4 { font-family: var(--font-display) !important; letter-spacing: -0.02em; }
