/*
Theme Name:  Mito Energi Indonesia
Theme URI:   https://mitoenergiindonesia.test
Author:      PT Mito Energi Indonesia
Description: Theme company profile untuk PT Mito Energi Indonesia. Dibangun tanpa framework, tanpa jQuery, dan tanpa icon-font agar tetap ringan di jaringan lambat. Palet warna diturunkan langsung dari logo perusahaan.
Version:     1.0.0
Requires at least: 6.5
Requires PHP: 8.0
License:     GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mito
Tags:        company-profile, custom-menu, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens
   Warna diturunkan dari sampling piksel logo perusahaan:
   hijau daun #48B448 / #1DAC4B, tetesan minyak emas #BD842B.
   Nilai teks sudah dicek kontrasnya minimal 4.5:1 (WCAG AA).
   ========================================================================== */
:root {
	--brand-950: #062e17;
	--brand-900: #0a4523;
	--brand-800: #0b5c2a;
	--brand-700: #0e7a38; /* 5.4:1 di atas putih — aman untuk teks & tombol */
	--brand-600: #1dac4b;
	--brand-500: #48b448;
	--brand-400: #66bc45;
	--brand-100: #d7eedd;
	--brand-50:  #eff8f1;

	--gold-700: #8c5f16;
	--gold-600: #bd842b;
	--gold-400: #e3b25c; /* 6.3:1 di atas --brand-950 */

	--ink-900: #122019;
	--ink-700: #33443b;
	--ink-500: #63756b;

	--surface: #ffffff;
	--surface-soft: #f5f9f6;
	--line: #e3eae5;

	--wrap: 1140px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--radius: 14px;
	--radius-lg: 22px;

	--shadow-sm: 0 1px 2px rgb(6 46 23 / 6%), 0 2px 8px rgb(6 46 23 / 5%);
	--shadow-md: 0 4px 12px rgb(6 46 23 / 8%), 0 12px 32px rgb(6 46 23 / 7%);

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
	--step-0:  clamp(1rem, 0.96rem + 0.18vw, 1.09rem);
	--step-1:  clamp(1.19rem, 1.11rem + 0.35vw, 1.4rem);
	--step-2:  clamp(1.41rem, 1.28rem + 0.62vw, 1.8rem);
	--step-3:  clamp(1.67rem, 1.45rem + 1.02vw, 2.31rem);
	--step-4:  clamp(1.98rem, 1.63rem + 1.6vw, 2.97rem);
	--step-5:  clamp(2.36rem, 1.81rem + 2.44vw, 3.82rem);
}

/* ==========================================================================
   2. Reset & dasar
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink-700);
	font-family: var(--font);
	font-size: var(--step-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 0.5em;
	color: var(--ink-900);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-800); }

img, svg, video { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

strong { color: var(--ink-900); font-weight: 650; }

:focus-visible {
	outline: 3px solid var(--brand-600);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ==========================================================================
   3. Layout primitives
   ========================================================================== */
.wrap {
	width: min(var(--wrap), 100%);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section { padding-block: clamp(3rem, 8vw, 5.5rem); }
.section--soft { background: var(--surface-soft); }
.section--tint { background: var(--brand-50); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: var(--step-1); }

/* Label kecil di atas judul — memakai emas dari tetesan minyak pada logo. */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
	color: var(--gold-700);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.eyebrow::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: var(--gold-600);
	border-radius: 2px;
}

.section-head--center .eyebrow { justify-content: center; }

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }

/* Empat kartu: 1 kolom di ponsel, 2×2 di tablet, sebaris di desktop —
   supaya tidak pernah menyisakan satu kartu sendirian di baris terakhir. */
.grid--quad { grid-template-columns: 1fr; }

@media (min-width: 560px) {
	.grid--quad { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
	.grid--quad { grid-template-columns: repeat(4, 1fr); }
}

/* Lima kartu layanan. Grid biasa akan meninggalkan lubang di kolom ketiga
   pada baris kedua; flex membuat sisa kartu berada di tengah. */
.cards {
	--cards-gap: clamp(1rem, 2.5vw, 1.75rem);

	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--cards-gap);
}

.cards > * {
	flex: 0 1 calc((100% - 2 * var(--cards-gap)) / 3);
	min-width: min(100%, 17rem);
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 0.75rem 1.25rem;
	background: var(--brand-900);
	color: #fff;
	border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* ==========================================================================
   4. Tombol
   Tinggi minimum 44px agar nyaman ditekan di layar sentuh.
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.7rem 1.4rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn:active { transform: translateY(1px); }
.btn svg { flex: none; width: 1.15em; height: 1.15em; fill: currentcolor; }

.btn--primary { background: var(--brand-700); color: #fff; }
.btn--primary:hover { background: var(--brand-800); color: #fff; }

.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink-900); }
.btn--ghost:hover { border-color: var(--brand-700); color: var(--brand-800); }

.btn--onDark { border-color: rgb(255 255 255 / 45%); color: #fff; }
.btn--onDark:hover { border-color: #fff; background: rgb(255 255 255 / 12%); color: #fff; }

.btn--wa { background: #128c7e; color: #fff; }
.btn--wa:hover { background: #0d6d62; color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ==========================================================================
   5. Header & navigasi
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgb(255 255 255 / 92%);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 68px;
	padding-block: 0.6rem;
}

.site-brand { flex: none; margin-right: auto; }
.site-brand > a { text-decoration: none; }

.site-brand__lockup { display: flex; align-items: center; gap: 0.65rem; }
.site-brand__lockup img { width: auto; height: clamp(34px, 5.5vw, 42px); }

.site-brand__name {
	max-width: 9.5rem;
	color: var(--ink-900);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* Nama perusahaan dipertahankan selama masih muat — pada situs company
   profile, nama itu justru bagian terpenting dari header. */
@media (max-width: 430px) {
	.site-brand__lockup { gap: 0.5rem; }
	.site-brand__name { max-width: 7.5rem; font-size: 0.8rem; }
}

/* Di bawah ini lambang sudah cukup mewakili; nama justru mendesak
   tombol menu sampai tidak nyaman ditekan. */
@media (max-width: 340px) {
	.site-brand__name { display: none; }
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink-900);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentcolor; stroke-width: 2; stroke-linecap: round; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-nav a {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 0.85rem;
	border-radius: 10px;
	color: var(--ink-700);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.primary-nav a:hover { background: var(--brand-50); color: var(--brand-800); }

.primary-nav .current-menu-item > a,
.primary-nav .current_page_parent > a {
	color: var(--brand-800);
	background: var(--brand-50);
}

.header-cta { flex: none; }

/* Mobile: menu jadi panel penuh dengan target sentuh besar. */
@media (max-width: 900px) {
	.primary-nav {
		position: fixed;
		inset: 68px 0 auto;
		max-height: calc(100dvh - 68px);
		overflow-y: auto;
		padding: 0.5rem var(--gutter) 1.5rem;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-md);
	}

	.primary-nav[hidden] { display: none; }

	.primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }

	.primary-nav li + li { border-top: 1px solid var(--line); }

	.primary-nav a {
		min-height: 56px;
		border-radius: 0;
		font-size: var(--step-1);
	}

	.header-cta { display: none; }
}

@media (min-width: 901px) {
	.nav-toggle { display: none; }
	.primary-nav[hidden] { display: block; }
}

/* ==========================================================================
   6. Hero
   Latar dibuat dari gradien + SVG inline, bukan foto besar, supaya
   teks judul langsung tampil (LCP cepat) walau jaringan lambat.
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 120% at 85% 0%, var(--brand-800) 0%, transparent 55%),
		linear-gradient(160deg, var(--brand-950) 0%, var(--brand-900) 55%, var(--brand-800) 100%);
	color: #fff;
}

.hero__leaf {
	position: absolute;
	right: -6%;
	bottom: -22%;
	width: min(46rem, 78%);
	opacity: 0.09;
	pointer-events: none;
}

.hero__inner {
	position: relative;
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
	padding-block: clamp(3rem, 9vw, 6rem);
}

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .eyebrow { color: var(--gold-400); }
.hero .eyebrow::before { background: var(--gold-400); }

.hero__lead {
	max-width: 34rem;
	margin-bottom: 1.75rem;
	color: rgb(255 255 255 / 82%);
	font-size: var(--step-1);
}

.hero__figure {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: 0 24px 60px rgb(0 0 0 / 35%);
}

.hero__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero__figure::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgb(255 255 255 / 20%);
	border-radius: var(--radius-lg);
	pointer-events: none;
}

/* Statistik ringkas di bawah hero */
.hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
	gap: 1.5rem;
	margin-top: 2.5rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgb(255 255 255 / 18%);
}

.hero__stat strong {
	display: block;
	color: var(--gold-400);
	font-size: var(--step-3);
	font-weight: 700;
	line-height: 1.1;
}

.hero__stat span {
	color: rgb(255 255 255 / 72%);
	font-size: var(--step--1);
}

/* ==========================================================================
   7. Pita sertifikasi
   ========================================================================== */
.trustbar { padding-block: clamp(1.75rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }

.trustbar__label {
	margin-bottom: 1rem;
	color: var(--ink-500);
	font-size: var(--step--1);
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
}

.trustbar img { margin-inline: auto; width: min(900px, 100%); }

/* ==========================================================================
   8. Kartu
   ========================================================================== */
.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover { border-color: var(--brand-100); box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* Kartu yang seluruhnya berupa tautan tidak boleh mewarisi garis bawah
   dan warna tautan — isinya harus tetap terbaca seperti kartu biasa. */
a.card { color: inherit; text-decoration: none; }
a.card:hover { color: inherit; }
a.card:hover h3 { color: var(--brand-800); }

.card__media { position: relative; background: var(--brand-50); }
.card__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem; }
.card__body h3 { font-size: var(--step-1); margin-bottom: 0.4rem; }
.card__body h3 a { color: inherit; text-decoration: none; }
.card__body h3 a:hover { color: var(--brand-800); }
.card__body p { color: var(--ink-500); font-size: var(--step--1); }

.card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 1rem;
	color: var(--brand-700);
	font-size: var(--step--1);
	font-weight: 650;
	text-decoration: none;
}

.card__link svg { width: 1em; height: 1em; fill: currentcolor; transition: transform 0.18s ease; }
.card__link:hover svg { transform: translateX(3px); }

/* Seluruh kartu dapat diklik, tetapi hanya tautan judul yang masuk urutan tab. */
.card__stretch::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }

.card__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1rem;
	background: var(--brand-50);
	border-radius: 12px;
	color: var(--brand-700);
}

.card__icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentcolor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.card__meta {
	margin-bottom: 0.5rem;
	color: var(--gold-700);
	font-size: var(--step--1);
	font-weight: 650;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* ==========================================================================
   9. Blok "Tentang" dua kolom
   ========================================================================== */
.split {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

/* Untuk kolom yang tingginya jauh berbeda — misalnya formulir kontak
   di samping daftar kontak — perataan tengah terlihat mengambang. */
.split--top { align-items: start; }

@media (min-width: 860px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__media { order: -1; }
}

.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.checklist { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }

.checklist li {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	gap: 0.75rem;
	align-items: start;
}

.checklist svg { width: 1.5rem; height: 1.5rem; fill: var(--brand-600); }

/* ==========================================================================
   10. Pita ajakan (CTA)
   ========================================================================== */
.cta-band {
	background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
	color: #fff;
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 5vw, 3.25rem);
	text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { max-width: 40rem; margin-inline: auto; color: rgb(255 255 255 / 82%); font-size: var(--step-1); }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ==========================================================================
   11. Artikel / blog
   ========================================================================== */
.post-card__date { color: var(--ink-500); font-size: var(--step--1); }

.entry-header { margin-bottom: 2rem; }
.entry-meta { color: var(--ink-500); font-size: var(--step--1); }

.entry-content { max-width: 44rem; }
.entry-content > * + * { margin-top: 1.15rem; }
.entry-content h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.entry-content h3 { font-size: var(--step-1); margin-top: 2rem; }
.entry-content img { border-radius: var(--radius); }

.entry-content blockquote {
	margin: 2rem 0;
	padding: 0.25rem 0 0.25rem 1.5rem;
	border-left: 4px solid var(--brand-500);
	color: var(--ink-900);
	font-size: var(--step-1);
}

.page-hero {
	padding-block: clamp(2.5rem, 6vw, 4rem);
	background: var(--brand-50);
	border-bottom: 1px solid var(--brand-100);
}

.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { max-width: 42rem; color: var(--ink-500); font-size: var(--step-1); }

.breadcrumb { margin-bottom: 0.75rem; color: var(--ink-500); font-size: var(--step--1); }
.breadcrumb a { color: var(--ink-500); }
.breadcrumb span { padding-inline: 0.4rem; }

.pagination { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 3rem; }

.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding-inline: 0.5rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--ink-700);
	font-weight: 600;
	text-decoration: none;
}

.pagination .current { background: var(--brand-700); border-color: var(--brand-700); color: #fff; }

/* ==========================================================================
   12. Kontak
   ========================================================================== */
.contact-list { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; }

.contact-list li {
	display: grid;
	grid-template-columns: 2.75rem 1fr;
	gap: 1rem;
	align-items: start;
}

.contact-list .card__icon { margin: 0; width: 2.75rem; height: 2.75rem; }
.contact-list strong { display: block; color: var(--ink-900); }
.contact-list a { color: var(--ink-700); }

/* ==========================================================================
   12b. Formulir
   ========================================================================== */
.mito-form { margin-top: 1.75rem; }

.mito-form__row { display: grid; gap: 1rem; }

@media (min-width: 560px) {
	.mito-form__row { grid-template-columns: 1fr 1fr; }
}

.mito-form__field { margin: 0 0 1rem; }

.mito-form label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--ink-900);
	font-size: var(--step--1);
	font-weight: 650;
}

.mito-form .req { color: var(--gold-700); }

.mito-form input,
.mito-form select,
.mito-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	color: var(--ink-900);
	font: inherit;
}

.mito-form textarea { min-height: 8rem; resize: vertical; }

.mito-form input:focus,
.mito-form select:focus,
.mito-form textarea:focus {
	border-color: var(--brand-600);
	outline: 2px solid var(--brand-600);
	outline-offset: 1px;
}

.mito-form ::placeholder { color: var(--ink-500); opacity: 1; }

/* Jebakan robot — tersembunyi dari mata, tetap ada bagi skrip otomatis. */
.mito-form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-notice {
	padding: 0.9rem 1.1rem;
	border-radius: 10px;
	border-left: 4px solid;
	font-size: var(--step--1);
}

.form-notice--ok { background: var(--brand-50); border-color: var(--brand-600); color: var(--brand-900); }
.form-notice--error { background: #fdf1ec; border-color: #c0492b; color: #7a2c18; }

.search-form { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 30rem; }
.search-form label { flex: 1 1 14rem; }

.search-form input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	font: inherit;
}

/* ==========================================================================
   11b. Kartu pernyataan (Visi & Misi)
   ========================================================================== */
.statement .card__body { padding-top: 1.75rem; }

.statement__mark {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin-bottom: 1rem;
	background: var(--brand-700);
	color: #fff;
	border-radius: 50%;
	font-size: var(--step-0);
	font-weight: 700;
}

.card__link a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	color: var(--brand-700);
	text-decoration: none;
	font-weight: 650;
}

.card__link a:hover { text-decoration: underline; }
.card__link a svg { width: 1.05em; height: 1.05em; fill: none; stroke: currentcolor; stroke-width: 1.8; }

/* ==========================================================================
   12c. Katalog produk
   ========================================================================== */
/* Foto kemasan produk difoto di atas latar terang — ditampilkan utuh,
   bukan dipotong seperti foto suasana. */
.card__media--contain { background: #fff; border-bottom: 1px solid var(--line); }
.card__media--contain img { aspect-ratio: 1 / 1; object-fit: contain; padding: 0.75rem; }

.chip-list__label { margin-bottom: 0.75rem; color: var(--ink-500); font-size: var(--step--1); font-weight: 650; }

.chip-list ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.chip-list li {
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--brand-100);
	border-radius: 999px;
	background: var(--brand-50);
	color: var(--brand-900);
	font-size: var(--step--1);
	font-weight: 600;
}

.catalog__filter { max-width: 26rem; margin-bottom: 1.5rem; }

.catalog__filter label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--ink-900);
	font-size: var(--step--1);
	font-weight: 650;
}

.catalog__filter input {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	font: inherit;
}

.catalog__filter input:focus { border-color: var(--brand-600); outline: 2px solid var(--brand-600); outline-offset: 1px; }

.catalog__count { margin: 0.5rem 0 0; color: var(--ink-500); font-size: var(--step--1); }

.catalog__empty {
	padding: 1rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface-soft);
	color: var(--ink-500);
}

/* Tabel lebar harus menggulir di dalam wadahnya sendiri, bukan
   membuat seluruh halaman bergeser ke samping. */
.table-scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	-webkit-overflow-scrolling: touch;
}

.catalog { width: 100%; border-collapse: collapse; font-size: var(--step--1); }

.catalog th, .catalog td { padding: 0.7rem 1rem; text-align: left; }

.catalog thead th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: var(--brand-900);
	color: #fff;
	font-weight: 650;
	white-space: nowrap;
}

.catalog__group th {
	background: var(--brand-50);
	color: var(--brand-900);
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.catalog tbody tr + tr { border-top: 1px solid var(--line); }
.catalog tbody tr:not(.catalog__group):hover { background: var(--surface-soft); }
.catalog td:first-child { color: var(--ink-900); font-weight: 600; }
.catalog td:not(:first-child) { white-space: nowrap; color: var(--ink-500); }

/* Di ponsel tabel tiga kolom terlalu sempit; tiap baris dijadikan kartu
   dengan label kolom ikut tercetak. */
@media (max-width: 560px) {
	.table-scroll { overflow-x: visible; border: 0; }
	.catalog thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.catalog tbody tr:not(.catalog__group) {
		display: grid;
		grid-template-columns: auto auto;
		gap: 0.15rem 1rem;
		padding: 0.85rem 1rem;
		border: 1px solid var(--line);
		border-radius: var(--radius);
		margin-bottom: 0.6rem;
	}
	.catalog tbody tr + tr { border-top: 1px solid var(--line); }
	.catalog td { padding: 0; }
	.catalog td:first-child { grid-column: 1 / -1; margin-bottom: 0.35rem; font-size: var(--step-0); }
	.catalog td:not(:first-child)::before {
		content: attr(data-label) ": ";
		color: var(--ink-900);
		font-weight: 600;
	}
	.catalog__group th { display: block; margin: 1.25rem 0 0.75rem; border-radius: 8px; }
}

/* ==========================================================================
   12d. Daftar kantor
   ========================================================================== */
.office-list { margin-top: 2.5rem; }

.office-list__title {
	margin-bottom: 1.25rem;
	font-size: var(--step-1);
	padding-top: 1.5rem;
	border-top: 1px solid var(--line);
}

.office + .office { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.office h3 { margin-bottom: 0.35rem; font-size: var(--step-1); }
.office p { color: var(--ink-500); font-size: var(--step--1); }
.office .card__meta { margin-bottom: 0.15rem; }

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
	background: var(--brand-950);
	color: rgb(255 255 255 / 72%);
	padding-block: clamp(3rem, 7vw, 4.5rem) 0;
}

.site-footer h2, .site-footer h3 { color: #fff; }

.site-footer__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 3rem);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.site-footer__brand { max-width: 22rem; }
.site-footer__brand .site-brand__lockup { margin-bottom: 1rem; }
.site-footer__brand .site-brand__lockup img { height: 48px; width: auto; }
.site-footer__brand .site-brand__name { max-width: 10rem; color: #fff; font-size: var(--step-0); }

.site-footer h3 {
	margin-bottom: 1rem;
	font-size: var(--step--1);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }

.site-footer li a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: rgb(255 255 255 / 72%);
	text-decoration: none;
}

.site-footer li a:hover { color: #fff; text-decoration: underline; }

.site-footer__bottom {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-block: 1.5rem;
	border-top: 1px solid rgb(255 255 255 / 12%);
	font-size: var(--step--1);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	justify-content: space-between;
}

/* ==========================================================================
   14. Tombol WhatsApp mengambang
   ========================================================================== */
.wa-float {
	position: fixed;
	right: clamp(0.75rem, 3vw, 1.5rem);
	bottom: clamp(0.75rem, 3vw, 1.5rem);
	z-index: 90;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 52px;
	padding: 0.75rem 1.25rem;
	background: #128c7e;
	color: #fff;
	border-radius: 999px;
	font-weight: 650;
	text-decoration: none;
	box-shadow: 0 8px 24px rgb(6 46 23 / 28%);
}

.wa-float:hover { background: #0d6d62; color: #fff; }
.wa-float svg { width: 1.35rem; height: 1.35rem; fill: currentcolor; }

@media (max-width: 560px) {
	.wa-float span { display: none; }
	.wa-float { padding: 0.9rem; }
}

/* ==========================================================================
   15. Utilitas
   ========================================================================== */
.muted { color: var(--ink-500); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
