/* =========================================================================
   Sport Massage Specialist — main.css
   Mobile-first. Breakpoints: 640 / 768 / 1024 px.
   ========================================================================= */

/* ---------- Fonts (self-hosted, latin subset, swap) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); }
/* Fallback dengan metrik disesuaikan ke Poppins → layout shift minimal saat font swap. */
@font-face { font-family: "Poppins Fallback"; src: local("Arial"); size-adjust: 112%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }

/* ---------- Tokens ---------- */
:root {
	--ink: #1b2552;
	--navy: #24316c;
	--teal: #0bb3ad;
	--teal-ink: #07726e;
	--teal-ink-hover: #055c59;
	--chalk: #f2f5f7;
	--line: #dfe5eb;
	--text: #2b3245;
	--muted: #5b6478;
	--white: #fff;
	--star: #f2a900;

	--font: "Poppins", "Poppins Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fs-xs: 0.8125rem;
	--fs-sm: 0.9375rem;
	--fs-base: 1rem;
	--fs-lg: 1.125rem;
	--fs-h3: 1.25rem;
	--fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
	--fs-h1: clamp(2.1rem, 1.4rem + 3.2vw, 3.5rem);

	--space-section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	--gutter: 1rem;
	--container: 1160px;
	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 28px;
	--shadow: 0 1px 2px rgba(27, 37, 82, 0.06), 0 12px 32px -12px rgba(27, 37, 82, 0.18);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--header-h: 64px;
	--bottom-nav-h: 64px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font-family: var(--font);
	font-size: var(--fs-base);
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-underline-offset: 3px; }
a:hover { color: var(--teal-ink-hover); }
address { font-style: normal; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { top: 1rem; color: var(--white); }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.site-main:focus { outline: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 760px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
	min-height: 48px; padding: 0.75rem 1.4rem;
	font: 600 var(--fs-sm)/1.2 var(--font);
	border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--teal-ink); color: var(--white); box-shadow: 0 8px 20px -10px rgba(7, 114, 110, 0.8); }
.btn--primary:hover { background: var(--teal-ink-hover); color: var(--white); transform: translateY(-2px); }
.btn--outline { border-color: var(--teal-ink); color: var(--teal-ink); background: transparent; }
.btn--outline:hover { background: var(--teal-ink); color: var(--white); }
.btn--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--chalk); color: var(--ink); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.icon-btn {
	width: 48px; height: 48px; display: inline-grid; place-items: center;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: inherit; cursor: pointer;
	transition: background-color 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.12); }
.icon-btn:disabled { opacity: 0.35; cursor: default; }
.link-arrow { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.badge { display: inline-block; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: var(--fs-xs); font-weight: 600; background: var(--teal); color: var(--ink); }
.badge--float { position: absolute; top: 0.75rem; left: 0.75rem; }
.chip { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 999px; background: var(--chalk); color: var(--navy); font-size: var(--fs-xs); font-weight: 600; text-decoration: none; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.86);
	backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(27, 37, 82, 0.5); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.site-header .btn { min-height: 44px; padding: 0.55rem 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand__logo { height: 40px; width: auto; }
.brand__text { font-size: 0.95rem; line-height: 1.1; font-weight: 600; letter-spacing: -0.01em; }
.brand__text strong { display: block; font-weight: 700; color: var(--teal-ink); }
.nav-header { display: none; }
.nav-header__list, .nav-header ul { display: flex; gap: 0.25rem; list-style: none; }
.nav-header a, .nav-header__link {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-sm);
	border-radius: 999px; transition: background-color 0.2s, color 0.2s;
}
.nav-header a:hover { background: var(--chalk); color: var(--ink); }
.nav-header .is-current, .nav-header .current-menu-item > a { color: var(--teal-ink); background: var(--chalk); }

/* ---------- Bottom nav (mobile) ---------- */
.nav-bottom {
	position: fixed; inset: auto 0 0 0; z-index: 60;
	background: var(--white); border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
	box-shadow: 0 -8px 24px -16px rgba(27, 37, 82, 0.35);
}
.nav-bottom__list { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; }
.nav-bottom__link {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	min-height: var(--bottom-nav-h); color: var(--muted); text-decoration: none; font-size: 0.6875rem; font-weight: 600;
	position: relative;
}
.nav-bottom__link .icon { width: 22px; height: 22px; }
.nav-bottom__link.is-current { color: var(--teal-ink); }
.nav-bottom__link.is-current::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--teal); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--tight { padding-block: calc(var(--space-section) * 0.6); }
.section--tint { background: var(--chalk); }
.section--navy { background: var(--ink); color: rgba(255, 255, 255, 0.86); }
.section--navy .section__title { color: var(--white); }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section__title { font-size: var(--fs-h2); }
.section__lead { color: var(--muted); font-size: var(--fs-lg); margin: 0; }
.section__more { margin: 2rem 0 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; font-size: var(--fs-sm); font-weight: 600; color: var(--teal-ink); }
.eyebrow--light { color: var(--teal); }

.grid { display: grid; gap: 1.25rem; }
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media img { border-radius: var(--r-lg); width: 100%; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding-block: 2.5rem 4rem; background: linear-gradient(180deg, var(--white), var(--chalk)); }
/* Motif lintasan lari: busur konsentris = identitas "sport", 0 byte gambar. */
.hero__bg {
	position: absolute; inset: 0; pointer-events: none;
	background:
		repeating-radial-gradient(circle at 105% 115%, transparent 0 54px, rgba(11, 179, 173, 0.16) 54px 56px);
	-webkit-mask-image: radial-gradient(circle at 100% 100%, #000 20%, transparent 70%);
	mask-image: radial-gradient(circle at 100% 100%, #000 20%, transparent 70%);
}
.hero__inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero__title { font-size: var(--fs-h1); letter-spacing: -0.035em; max-width: 16ch; margin-bottom: 0.4em; }
.hero__subtitle { font-size: var(--fs-lg); color: var(--muted); max-width: 52ch; }
.hero__stats { list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 1rem 1.75rem; justify-content: start; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; color: var(--ink); font-size: 1.05rem; }
.hero__stats span { font-size: var(--fs-xs); color: var(--muted); }
.hero__visual { position: relative; }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 120px; box-shadow: var(--shadow); }
.glass { background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.7); }
.hero__float { position: absolute; left: -0.25rem; bottom: 1.25rem; display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--r-md); box-shadow: var(--shadow); font-size: var(--fs-xs); line-height: 1.35; color: var(--muted); }
.hero__float strong { color: var(--ink); font-size: var(--fs-sm); }
.hero__float-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--teal); color: var(--ink); }

/* Page hero (halaman dalam) */
.page-hero { position: relative; overflow: hidden; padding-block: 2rem 3rem; background: var(--chalk); }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; background: repeating-radial-gradient(circle at 110% 50%, transparent 0 46px, rgba(11, 179, 173, 0.14) 46px 48px); -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000); mask-image: linear-gradient(90deg, transparent 40%, #000); }
.page-hero__inner { position: relative; }
.page-hero__title { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); max-width: 18ch; }
.page-hero__subtitle { font-size: var(--fs-lg); color: var(--muted); max-width: 60ch; margin: 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; color: var(--line); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-ink); text-decoration: underline; }

/* ---------- Mosaic / gallery ---------- */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: end; }
.mosaic__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-md); }
.mosaic__img:last-child { aspect-ratio: 3 / 3.4; transform: translateY(-2rem); }
.gallery { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Pricing ---------- */
.price-card {
	position: relative; display: flex; flex-direction: column; gap: 0.25rem;
	padding: 1.75rem; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card .badge { position: absolute; top: 1.25rem; right: 1.25rem; }
.price-card__name { font-size: var(--fs-sm); font-weight: 600; color: var(--muted); letter-spacing: 0; margin: 0; }
.price-card__duration { margin: 0; color: var(--muted); }
.price-card__num { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: -0.04em; color: var(--ink); margin-right: 0.15em; }
.price-card__price { font-size: 1.5rem; font-weight: 700; color: var(--teal-ink); margin: 0.75rem 0 0; }
.price-card__note { color: var(--muted); font-size: var(--fs-sm); flex: 1; }
.price-card .btn { align-self: flex-start; }
.price-card--featured { background: var(--ink); border-color: var(--ink); color: rgba(255, 255, 255, 0.8); }
.price-card--featured .price-card__name, .price-card--featured .price-card__duration, .price-card--featured .price-card__note { color: rgba(255, 255, 255, 0.72); }
.price-card--featured .price-card__num { color: var(--white); }
.price-card--featured .price-card__price { color: var(--teal); }
.price-card--featured .btn--primary { background: var(--teal); color: var(--ink); }
.price-card--featured .btn--primary:hover { background: var(--white); color: var(--ink); }

.addons { margin-top: 1.25rem; }
.addon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--chalk); }
.addon__name { font-size: var(--fs-h3); margin: 0 0 0.25rem; }
.addon__note { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.addon__side { display: flex; align-items: center; gap: 1rem; }
.addon__price { margin: 0; font-weight: 700; font-size: var(--fs-lg); color: var(--ink); }

/* ---------- Packages ---------- */
.package { display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: transform 0.3s var(--ease); }
.package:hover { transform: translateY(-4px); }
.package__media { position: relative; }
.package__media > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease); }
.package:hover .package__media > img { transform: scale(1.04); }
.package__body { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; flex: 1; }
.package__name { font-size: 1.375rem; margin: 0; }
.package__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.6rem; margin: 0; }
.package__from { width: 100%; font-size: var(--fs-xs); color: var(--muted); }
.package__price del { color: var(--muted); font-size: var(--fs-sm); text-decoration-color: #d64545; text-decoration-thickness: 2px; }
.package__price strong { font-size: 1.75rem; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.package--featured .package__price strong { color: var(--teal-ink); }
.package__badge img { max-width: 220px; }
.package .btn { margin-top: auto; align-self: flex-start; }
.package--featured { outline: 2px solid var(--teal); outline-offset: -2px; }
.checklist { list-style: none; display: grid; gap: 0.5rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checklist .icon { color: var(--teal-ink); margin-top: 0.2em; }

/* ---------- Features ---------- */
.features { list-style: none; display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature p { margin: 0; color: var(--muted); }
.feature__icon { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; background: var(--chalk); color: var(--teal-ink); }
.feature__title { font-size: var(--fs-lg); margin: 0 0 0.25rem; letter-spacing: -0.01em; }

/* ---------- Testimonials (scroll-snap slider) ---------- */
.slider {
	list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 1rem;
	overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
	padding-bottom: 0.5rem; scrollbar-width: none;
}
.slider::-webkit-scrollbar { display: none; }
.testi { scroll-snap-align: start; }
.testi figure { margin: 0; height: 100%; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.testi__stars { display: flex; gap: 2px; color: var(--star); margin: 0 0 1rem; }
.testi__stars .icon { width: 18px; height: 18px; }
.testi__text { margin: 0 0 1.5rem; flex: 1; color: var(--white); font-size: var(--fs-lg); line-height: 1.55; }
.testi__text p { margin: 0; }
.testi__name { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: var(--fs-sm); }
.testi__avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: var(--ink); font-weight: 700; }
.slider-ctrl { display: flex; gap: 0.5rem; color: var(--white); }

/* ---------- Locations ---------- */
.locations { display: grid; gap: 1.5rem; }
.location { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.location__media { position: relative; aspect-ratio: 16 / 10; background: var(--chalk); }
.location__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.location__body { padding: 1.5rem; }
.location__name { font-size: 1.5rem; margin: 0; }
.location__name span { color: var(--teal-ink); }
.location__area { color: var(--muted); margin: 0 0 1rem; }
.location__meta { list-style: none; display: grid; gap: 0.75rem; font-size: var(--fs-sm); }
.location__meta li { display: flex; gap: 0.6rem; align-items: flex-start; }
.location__meta .icon { color: var(--teal-ink); margin-top: 0.2em; }

/* ---------- Posts ---------- */
.post-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-md); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease); }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card__media { aspect-ratio: 16 / 10; background: var(--chalk); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--teal); }
.post-card__placeholder .icon { width: 40px; height: 40px; }
.post-card__body { padding: 1.25rem 1.25rem 1.5rem; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: var(--fs-xs); color: var(--muted); margin-bottom: 0.6rem; }
.post-card__title { font-size: var(--fs-h3); margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { color: var(--teal-ink); }
.post-card__excerpt { color: var(--muted); font-size: var(--fs-sm); margin: 0; }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card .chip { position: relative; z-index: 2; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.75rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--white); }
a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

.empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: var(--r-md); }
.empty > .icon { width: 40px; height: 40px; margin: 0 auto 1rem; color: var(--teal); }
.empty__title { font-weight: 700; color: var(--ink); font-size: var(--fs-lg); }
.search-form { display: flex; gap: 0.5rem; max-width: 460px; margin: 1.25rem auto 0; }
.search-form input { flex: 1; min-height: 48px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); font: inherit; }
.search-form input:focus-visible { outline-offset: 0; }

/* ---------- Article ---------- */
.article__head { padding-block: 2rem 1.5rem; }
.article__title { font-size: clamp(1.875rem, 1.3rem + 2.6vw, 2.875rem); margin: 0.75rem 0; }
.article__meta { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--muted); font-size: var(--fs-sm); }
.article__meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article__cover { margin-block: 0 2.5rem; }
.article__cover img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 9; object-fit: cover; }
.article__foot { padding-block: 1rem 3rem; }
.article__cta { margin-top: 2.5rem; padding: 1.75rem; border-radius: var(--r-md); background: var(--chalk); border-left: 4px solid var(--teal); }
.article__cta-title { font-weight: 700; font-size: var(--fs-h3); color: var(--ink); margin-bottom: 0.25rem; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags a { display: inline-block; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--chalk); text-decoration: none; font-size: var(--fs-xs); font-weight: 600; color: var(--navy); }

.prose { font-size: 1.0625rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 2em; }
.prose > h2:first-child { margin-top: 0; }
.section--article { border-top: 1px solid var(--line); }
.prose h3 { font-size: 1.3rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.4em; }
.prose img, .prose figure img { border-radius: var(--r-md); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: var(--fs-xs); color: var(--muted); margin-top: 0.5rem; }
.prose blockquote { margin-inline: 0; padding: 0.5rem 0 0.5rem 1.25rem; border-left: 4px solid var(--teal); color: var(--ink); font-size: var(--fs-lg); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose th, .prose td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); text-align: left; }
.prose pre { overflow-x: auto; padding: 1rem; border-radius: var(--r-sm); background: var(--ink); color: var(--white); }
.alignwide, .alignfull { max-width: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); transition: border-color 0.2s; }
.faq__item[open] { border-color: var(--teal); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; min-height: 56px; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; width: 10px; height: 10px; flex-shrink: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform 0.25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__item p { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { padding-block: 0 var(--space-section); }
.cta__box {
	position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center;
	padding: 2.25rem 1.75rem; border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, 0.82);
}
.cta__box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-radial-gradient(circle at 100% 0, transparent 0 40px, rgba(11, 179, 173, 0.22) 40px 42px); -webkit-mask-image: radial-gradient(circle at 100% 0, #000 10%, transparent 60%); mask-image: radial-gradient(circle at 100% 0, #000 10%, transparent 60%); }
.cta__box > * { position: relative; }
.cta__box p { margin: 0; }
.cta__title { color: var(--white); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.1rem); margin-bottom: 0.4rem; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .btn-row { justify-content: center; }
.notfound__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 700; line-height: 1; letter-spacing: -0.06em; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--teal); }

/* ---------- Comments ---------- */
.comments { padding-block: 2rem 4rem; }
.comments__list { list-style: none; padding: 0; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-form input:not([type="checkbox"]):not([type="submit"]), .comment-form textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); font: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: var(--fs-sm); padding-top: 3.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.site-footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__title { color: var(--white); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.site-footer__title strong { color: var(--teal); }
.site-footer__heading { color: var(--white); font-weight: 600; margin-bottom: 0.75rem; }
.site-footer__col ul { list-style: none; display: grid; gap: 0.25rem; }
.site-footer__col ul a { display: inline-flex; align-items: center; min-height: 36px; }
.site-footer__col .icon { display: inline-block; vertical-align: -0.2em; width: 1em; height: 1em; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.25rem; font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.social { list-style: none; display: flex; gap: 0.5rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.anim-in { animation: rise 0.8s var(--ease) both; }
.anim-delay-1 { animation-delay: 0.08s; }
.anim-delay-2 { animation-delay: 0.16s; }
.anim-delay-3 { animation-delay: 0.24s; }
.anim-delay-4 { animation-delay: 0.32s; }
/* Catatan: H1 & gambar hero sengaja TIDAK dianimasikan dari opacity 0 — elemen opacity:0 tidak dihitung LCP, jadi animasi akan memperlambat skor LCP. */
/* Reveal on scroll — hanya aktif bila JS jalan (class .js di <html>), tanpa JS konten tetap tampil. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal--left { transform: translateX(-28px); }
.js .reveal--right { transform: translateX(28px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* =========================================================================
   Breakpoints
   ========================================================================= */
@media (min-width: 640px) {
	:root { --gutter: 1.5rem; }
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(2, 1fr); }
	.slider { grid-auto-columns: calc(50% - 0.5rem); }
	.site-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.cta__box { grid-template-columns: 1fr auto; padding: 3rem; }
	.location { grid-template-columns: 1fr 1fr; }
	.location:nth-child(even) .location__media { order: 2; }
	.location__media { aspect-ratio: auto; min-height: 280px; }
	.location__body { padding: 2rem; align-self: center; }
}

@media (min-width: 768px) {
	body { padding-bottom: 0; }
	.nav-bottom { display: none; }
	.nav-header { display: block; }
}

@media (min-width: 1024px) {
	:root { --header-h: 76px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.slider { grid-auto-columns: calc((100% - 2rem) / 3); }
	.split { grid-template-columns: 1fr 1fr; gap: 4rem; }
	.hero { padding-block: 4rem 6rem; }
	.hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 4rem; }
	.hero__float { left: -2rem; bottom: 2.5rem; }
	.hero__img { aspect-ratio: 4 / 5; }
	.page-hero { padding-block: 3rem 4.5rem; }
	.site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }
	.price-card--featured { transform: translateY(-12px); }
	.price-card--featured:hover { transform: translateY(-16px); }
}

/* Header nav: di tablet sempit sembunyikan teks brand supaya 5 menu + CTA muat. */
@media (min-width: 768px) and (max-width: 1023px) {
	.brand__text { display: none; }
	.nav-header a, .nav-header__link { padding: 0 0.65rem; }
}

@media print {
	.site-header, .nav-bottom, .cta, .site-footer, .slider-ctrl { display: none !important; }
	body { padding: 0; }
}
