/* Elvora: landing page Hotel dan Hospital. HTML statis, tanpa framework; animasi dengan Motion (js/vendor/motion.js).
   Palet: putih mutiara + navy + emas sampanye. Seksi baca terang (mutiara/putih); seksi navy (.theme-navy) hanya
   untuk hero, demo portal ke TV, penutup, navbar, dan footer. Satu aksen: emas. Komponen hanya memakai token,
   jadi warnanya ikut tema seksi tempat ia berada.
   Sudut: tombol dan pil = penuh (999px), kartu = 20px, gambar/screenshot = 14px, elemen UI tiruan (portal) = 10px.
   Keadaan awal animasi hanya berlaku bila JavaScript aktif (.js); bila Motion gagal dimuat, .no-motion menampilkan semuanya. */

@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Light.ttf') format('truetype'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('../fonts/Outfit-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('../fonts/DMSerifDisplay-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }

:root, .theme-light {
	--bg: #f6f4ef;
	--surface: #ffffff;
	--text: #0f1c35;
	--muted: #4b5568;
	--dim: #697285;
	--line: rgb(15 28 53 / 0.1);
	--line-2: rgb(15 28 53 / 0.18);
	--accent: #cfa64f;
	--accent-hover: #dbb664;
	--accent-ink: #0f1c35;
	--accent-text: #7f5f17;
	--accent-soft: rgb(207 166 79 / 0.14);
	--accent-soft-2: rgb(207 166 79 / 0.22);
	--accent-line: rgb(207 166 79 / 0.5);
	--chip-bg: rgb(15 28 53 / 0.05);
	--chip-bg-2: rgb(15 28 53 / 0.1);
	--star-off: rgb(15 28 53 / 0.12);
	--shadow-c: rgb(15 28 53 / 0.35);
	--card-shadow: 0 1px 2px rgb(15 28 53 / 0.04), 0 18px 40px -28px rgb(15 28 53 / 0.28);

	/* Serif mengikuti huruf sapaan nama tamu di TV Elvora; sans untuk teks. */
	--serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
	--sans: 'Outfit', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

	--r-card: 20px;
	--r-media: 14px;
	--r-ui: 10px;

	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
	--dur-1: 180ms;
	--dur-2: 420ms;

	--container: 1200px;
	--nav-h: 72px;

	/* Lapisan: konten 0, navbar 50, skip link 100. */
	--z-nav: 50;
	--z-skip: 100;
}
/* Seksi navy: token yang sama, nilai gelap. */
.theme-navy {
	--bg: #0d1d3a;
	--surface: #13284b;
	--text: #f5f2ea;
	--muted: #b7bfcd;
	--dim: #939db0;
	--line: rgb(255 255 255 / 0.1);
	--line-2: rgb(255 255 255 / 0.18);
	--accent: #d8b25c;
	--accent-hover: #e4c274;
	--accent-ink: #0d1d3a;
	--accent-text: #e2c06f;
	--accent-soft: rgb(216 178 92 / 0.14);
	--accent-soft-2: rgb(216 178 92 / 0.2);
	--accent-line: rgb(216 178 92 / 0.4);
	--chip-bg: rgb(255 255 255 / 0.07);
	--chip-bg-2: rgb(255 255 255 / 0.13);
	--star-off: rgb(255 255 255 / 0.14);
	--shadow-c: rgb(0 0 0 / 0.55);
	--card-shadow: none;
	color-scheme: dark;
	color: var(--text);
}
.sec--white { --bg: #ffffff; --surface: #f6f4ef; }

/* Pindah Hotel / Rumah sakit: transisi halaman bawaan browser, foto kamar ikut berpindah. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 380ms; animation-timing-function: var(--ease-out); }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------- Dasar ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; interpolate-size: allow-keywords; color-scheme: light; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: var(--z-skip); background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
@media (min-width: 768px) { .container { width: min(100% - 64px, var(--container)); } }

/* ---------- Tipografi ---------- */
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 16px; }
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 18px; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border-radius: 999px; border: 0; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation; transition: transform var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-gold { background: var(--accent); color: var(--accent-ink); }
.btn-gold:hover { background: var(--accent-hover); }
.btn-gold .icon { transition: transform var(--dur-2) var(--ease-out); }
.btn-gold:hover .icon { transform: translateX(3px); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--chip-bg); }
.btn-icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--chip-bg); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: background-color var(--dur-1) var(--ease-out); }
.btn-icon:hover { background: var(--chip-bg-2); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); text-underline-offset: 6px; transition: text-decoration-color var(--dur-1) var(--ease-out); }
.link-arrow:hover { text-decoration-color: var(--accent-text); }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: var(--z-nav); color: var(--text); transition: background-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav.is-scrolled { background: rgb(13 29 58 / 0.9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.brand-mark { height: 32px; width: auto; }
.brand-word { font-weight: 600; font-size: 19px; letter-spacing: 0.14em; line-height: 1; }
.brand-sub { font-weight: 500; font-size: 11px; letter-spacing: 0.32em; opacity: 0.7; margin-left: 4px; }
.nav-links { display: none; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a { text-decoration: none; opacity: 0.8; padding: 10px 0; position: relative; transition: opacity var(--dur-1); }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-2) var(--ease-out); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
/* Pilihan produk: dua tautan biasa (crawlable), jempol emas bergeser ke produk halaman ini. */
.product-switch { position: relative; flex: none; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px var(--line-2); view-transition-name: product-switch; }
.product-switch::before { content: ''; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--accent); transition: transform 520ms var(--ease-out); }
.product-switch.is-rs::before { transform: translateX(100%); }
.product-switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 6px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; color: rgb(255 255 255 / 0.78); transition: color var(--dur-2) var(--ease-out); }
.product-switch a:hover { color: #fff; }
.product-switch a[aria-current='page'] { color: var(--accent-ink); font-weight: 600; }
.nav .nav-switch { display: none; margin-left: 12px; }
.nav-cta { margin-left: auto; }
.nav-cta-short { display: none; }
@media (min-width: 640px) { .nav .nav-switch { display: inline-grid; } }
@media (min-width: 1100px) { .nav-links { display: flex; } .nav-cta { margin-left: 8px; } }
@media (max-width: 599px) { .nav-cta { min-height: 40px; padding: 0 16px; font-size: 14px; } .nav-cta-long { display: none; } .nav-cta-short { display: inline; } }
@media (max-width: 479px) { .nav .brand-sub { display: none; } }

/* ---------- Hero ----------
   Foto kamar penuh layar (full-bleed). TV di foto selalu ditempatkan di titik yang sama (--tv-tx, --tv-ty: pusat TV
   terhadap layar); skrip menghitung ukuran dan posisi foto supaya menutup hero tanpa celah. Layar TV memutar
   screenshot asli bergantian. Teks di kiri bawah di atas gradasi gelap, tidak pernah bertumpuk dengan TV.
   Motion: kamar gelap, lampu menyala, TV menyala, lalu kamera mendorong ke TV saat discroll. */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-media { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #07080c; view-transition-name: stage; --tv-tx: 0.52; --tv-ty: 0.5; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgb(13 29 58 / 0.6) 0%, rgb(13 29 58 / 0) 24%), linear-gradient(0deg, var(--bg) 0%, rgb(13 29 58 / 0) 32%); }
.hero-content { position: relative; padding: 8px 0 48px; }
.hero-label { font-size: 15px; font-weight: 500; color: var(--muted); }
.hero-title { margin-top: 14px; font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 11vw, 64px); line-height: 1.04; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .line > span { display: inline-block; }
.hero .lead { margin-top: 18px; max-width: 38ch; color: rgb(242 239 232 / 0.84); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.hero-controls { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
@media (min-width: 1024px) {
	.hero { min-height: 100dvh; }
	.hero-media { position: absolute; inset: 0; aspect-ratio: auto; --tv-tx: 0.66; --tv-ty: 0.36; }
	.hero-scrim {
		background:
			linear-gradient(180deg, rgb(13 29 58 / 0.62) 0%, rgb(13 29 58 / 0) 18%),
			linear-gradient(90deg, rgb(13 29 58 / 0.86) 0%, rgb(13 29 58 / 0.52) 32%, rgb(13 29 58 / 0) 56%),
			linear-gradient(0deg, rgb(13 29 58 / 0.92) 0%, rgb(13 29 58 / 0.32) 32%, rgb(13 29 58 / 0) 52%);
	}
	.hero-content { min-height: 100dvh; display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; padding: calc(var(--nav-h) + 24px) 0 56px; }
	.hero-copy { max-width: 620px; }
	.hero-title { font-size: clamp(48px, 5vw, 80px); }
	.hero-controls { margin-top: 0; padding-bottom: 6px; }
}
/* Kamar: lebar dan posisi diisi skrip (--room-w/l/t). Titik zoom = pusat TV di foto. */
.room { position: absolute; left: var(--room-l, 0px); top: var(--room-t, 0px); width: var(--room-w, 100%); aspect-ratio: 3 / 2; transform-origin: var(--tv-cx) var(--tv-cy); }
.room-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-dark { position: absolute; inset: 0; background: #04060b; opacity: 0; pointer-events: none; }
.lamp { position: absolute; left: var(--x); top: var(--y); width: var(--s, 22%); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none; opacity: 0.45; mix-blend-mode: screen; background: radial-gradient(closest-side, var(--glow, rgb(255 190 110 / 0.6)), transparent 78%); }
/* TV di foto: posisi layar diukur per foto (persen dari foto) lewat style .hero-media: --tv-x/y/w/h, --tv-cx/cy
   (pusat TV di foto), --tv-glow (warna cahaya layar ke dinding). Isi layar = screenshot asli TV. */
.tv { position: absolute; left: var(--tv-x); top: var(--tv-y); width: var(--tv-w); height: var(--tv-h); background: #020203; border-radius: 0.3%; overflow: hidden; }
.tv-screen { position: absolute; inset: 0; overflow: hidden; }
.tv-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; opacity: 0; }
.tv-frame.is-on { opacity: 1; }
.tv-glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgb(255 255 255 / 0.07) 0%, transparent 38%, transparent 70%, rgb(255 255 255 / 0.03) 100%); }
.tv-light { position: absolute; left: var(--tv-x); top: var(--tv-y); width: var(--tv-w); height: var(--tv-h); pointer-events: none; border-radius: 3%; box-shadow: 0 0 6vw 1.2vw var(--tv-glow, rgb(150 110 230 / 0.3)); mix-blend-mode: screen; }
/* Kontrol putar: progres per layar dan tombol jeda (wajib untuk konten yang berganti otomatis). */
.guest-dots { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.guest-dots li { width: 28px; height: 4px; border-radius: 4px; background: rgb(255 255 255 / 0.22); overflow: hidden; }
.guest-dots li span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* Keadaan awal sebelum Motion menganimasikan (hanya bila JavaScript aktif). */
.js .hero-title .line > span { transform: translateY(108%); }
.js .hero-in { opacity: 0; }
.js .hero-media .room-dark { opacity: 0.88; }
.js .hero-media .lamp { opacity: 0; }
.js .tv[data-tv] .tv-screen { clip-path: inset(50% 0 50% 0); }
.js .tv-light { opacity: 0; }
.js [data-reveal] { opacity: 0; transform: translateY(24px); }
.no-motion .hero-title .line > span, .no-motion [data-reveal] { transform: none; }
.no-motion .hero-in, .no-motion [data-reveal], .no-motion .tv-light { opacity: 1; }
.no-motion .hero-media .room-dark { opacity: 0; }
.no-motion .hero-media .lamp { opacity: 0.45; }
.no-motion .tv[data-tv] .tv-screen { clip-path: none; }

/* ---------- Seksi ---------- */
.sec { padding: clamp(88px, 11vw, 148px) 0; position: relative; background: var(--bg); color: var(--text); }
.sec + .sec { border-top: 1px solid var(--line); }

/* Masalah: dua masalah bernomor + perbandingan tanpa/dengan Elvora */
.problem-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1000px) { .problem-grid { grid-template-columns: 1fr 1.08fr; gap: 72px; } }
.problems { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.problems li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.problem-no { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--accent-text); }
.problems h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.problems p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.math { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 16px; margin-top: 36px; }
.math-cell { display: grid; gap: 2px; }
.math-cell b { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.math-cell small { font-size: 14px; color: var(--dim); }
.math-cell--total b { color: var(--accent-text); }
.math-op { font-size: 26px; color: var(--dim); }
.note { margin-top: 14px; font-size: 14px; color: var(--dim); }
.punch { margin-top: 32px; font-family: var(--serif); font-size: clamp(26px, 2.8vw, 34px); line-height: 1.2; }
.punch span { color: var(--accent-text); }
.compare { display: grid; gap: 18px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; justify-self: start; padding: 4px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg-btn { position: relative; z-index: 1; min-height: 44px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color var(--dur-2) var(--ease-out); }
.seg-btn[aria-pressed='true'] { color: var(--accent-ink); }
.seg-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--accent); transition: transform 520ms var(--ease-out); }
.compare.is-after .seg-thumb { transform: translateX(100%); }
.compare-tv { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: #050507; box-shadow: 0 0 0 7px #0a0d14, 0 40px 80px -36px var(--shadow-c); }
.compare-screen { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-after { opacity: 0; }
.compare-caption { font-size: 15px; color: var(--muted); min-height: 3.2em; }

/* Fitur: bento dengan ritme (2+1, 1+2, 1+1+1, 2+1). Jumlah sel = jumlah isi. */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; grid-auto-flow: dense; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-2 { grid-column: span 2; } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: border-color var(--dur-2) var(--ease-out); }
@media (hover: hover) { .tile:hover { border-color: var(--line-2); } }
.tile h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.005em; }
.tile p { font-size: 16px; color: var(--muted); }
.tile-ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.tile-ic .icon { width: 22px; height: 22px; }
.tile--warm { background: linear-gradient(160deg, var(--accent-soft-2) 0%, var(--surface) 62%); border-color: var(--accent-line); }
/* Tile dengan screenshot asli: teks di atas, layar TV muncul dari bawah. Tile lebar: teks kiri, layar kanan. */
.tile--shot { padding: 0; gap: 24px; }
.tile--shot .tile-copy { display: grid; gap: 10px; padding: 28px 28px 0; }
.tile-shot { margin: auto 28px 0; border-radius: var(--r-media) var(--r-media) 0 0; overflow: hidden; box-shadow: 0 0 0 6px #0a0d14; }
@media (min-width: 1040px) {
	.span-2.tile--shot { flex-direction: row; align-items: stretch; }
	.span-2.tile--shot .tile-copy { flex: 0 0 38%; padding: 32px 0 32px 32px; align-content: start; }
	.span-2.tile--shot .tile-shot { flex: 1; align-self: end; margin: 40px 0 0 28px; border-radius: var(--r-media) 0 0 0; }
}
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500; color: var(--text); white-space: nowrap; }
.marquee { margin: auto -28px -6px; padding-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 8px; width: max-content; animation: marquee 34s linear infinite; }
.tile:hover .marquee-track { animation-play-state: paused; }
.stars { display: flex; gap: 6px; margin-top: auto; padding-top: 14px; }
.star { width: 30px; height: 30px; fill: var(--star-off); stroke: none; }
.lang-demo { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: auto; padding: 4px; border-radius: 999px; background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line); width: 112px; font-size: 14px; font-weight: 600; }
.lang-demo span { position: relative; z-index: 1; text-align: center; padding: 6px 0; color: var(--muted); }
.lang-demo::before { content: ''; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--accent); animation: lang-swap 4s var(--ease-inout) infinite; }
.lang-demo span.on { animation: lang-on 4s steps(1) infinite; }
.lang-demo span:not(.on) { animation: lang-off 4s steps(1) infinite; }

/* Cara kerja: portal ke TV */
.demo { position: relative; display: grid; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 960px) { .demo { grid-template-columns: 1fr 64px 1.15fr; padding: 48px; gap: 24px; } }
.portal { border-radius: 14px; overflow: hidden; background: #fbfaf7; color: #121826; box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.portal-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #eef0f4; border-bottom: 1px solid #e1e5ec; font-size: 13px; color: #556072; }
.portal-dots { display: flex; gap: 6px; }
.portal-dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5df; }
.portal-body { position: relative; padding: 20px; display: grid; gap: 16px; }
.portal-room { display: flex; align-items: center; gap: 14px; }
.portal-roomno { display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-ui); background: #121826; color: #fff; font-weight: 600; font-size: 17px; }
.portal-room b { display: block; font-size: 16px; }
.portal-room small { font-size: 14px; color: #556072; transition: color 300ms; }
.portal-room small.is-filled { color: #157347; }
.portal-grid { display: grid; grid-template-columns: 96px 1fr 1fr; gap: 12px; }
.pf { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: #556072; font-weight: 500; }
.pf:nth-child(1) { grid-column: 1; }
.pf:nth-child(2) { grid-column: 2 / -1; }
.pf:nth-child(3) { grid-column: 1 / 3; }
.pf:nth-child(4) { grid-column: 3; }
.pf-input { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-ui); border: 1px solid #dfe3ea; background: #fff; font-size: 15px; color: #121826; font-weight: 400; transition: border-color 300ms, box-shadow 300ms, background-color 300ms; }
.pf-input .icon { width: 16px; height: 16px; color: #556072; }
.pf-input.is-active { border-color: #b8891a; box-shadow: 0 0 0 3px rgb(207 166 79 / 0.4); }
.pf-input.is-set { background: #fff7dc; border-color: #ecd27c; }
.pf-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { width: 2px; height: 20px; margin-right: auto; background: #b8891a; opacity: 0; }
.pf-input.is-active .caret { opacity: 1; animation: blink 1s steps(1) infinite; }
.portal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.pbtn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r-ui); background: #121826; color: #fff; font-size: 15px; font-weight: 600; transition: transform var(--dur-1) var(--ease-out), background-color 200ms; }
.pbtn--ghost { background: #fff; color: #121826; box-shadow: inset 0 0 0 1px #dfe3ea; }
.pbtn.is-press { transform: scale(0.95); background: #000; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.35); border-top-color: #fff; display: none; animation: spin 700ms linear infinite; }
.pbtn.is-loading .spinner { display: inline-block; }
.toast { position: absolute; left: 20px; right: 20px; bottom: 16px; white-space: nowrap; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r-ui); background: #0f2a1e; color: #d6f5e3; font-size: 14px; font-weight: 500; opacity: 0; pointer-events: none; }
.toast .icon { color: #4ade80; }
.demo-arrow { display: none; position: relative; height: 2px; }
@media (max-width: 479px) {
	.demo { padding: 16px; }
	.portal-body { padding: 16px; }
	.toast { left: 16px; right: 16px; font-size: 13px; }
	.portal-grid { grid-template-columns: 1fr 1fr; }
	.portal-grid .pf { grid-column: auto; }
}
@media (min-width: 960px) {
	.demo-arrow { display: flex; align-items: center; justify-content: flex-end; color: var(--accent); }
	.demo-arrow span { position: absolute; left: 0; right: 10px; height: 2px; background: linear-gradient(90deg, transparent, var(--accent)); transform: scaleX(0); transform-origin: left; }
}
.demo-tv { display: grid; gap: 12px; justify-items: center; }
.tv--mini { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 10px; box-shadow: 0 0 0 7px #05070c, 0 30px 70px -20px rgb(0 0 0 / 0.8); overflow: visible; }
.tv--mini .tv-screen { border-radius: 10px; }
.tv-off { position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center; padding: 8%; background: radial-gradient(70% 90% at 50% 40%, #131a2d, #04060b); color: rgb(255 255 255 / 0.5); font-size: clamp(12px, 1.3vw, 15px); letter-spacing: 0.04em; }
.tv-off b { color: rgb(255 255 255 / 0.82); font-weight: 500; font-size: 1.15em; }
.tv--mini .tv-frame { opacity: 0; }
.tv-pulse { position: absolute; inset: -7px; border-radius: 14px; box-shadow: 0 0 0 0 rgb(216 178 92 / 0.7); pointer-events: none; }
.demo-caption { font-size: 14px; color: var(--dim); letter-spacing: 0.04em; }
.demo-replay { justify-self: center; }
@media (min-width: 960px) { .demo-replay { position: absolute; right: 24px; bottom: 20px; } }
/* Langkah: empat kolom berbatas garis tipis, tanpa kartu. */
.steps { display: grid; gap: 0; margin: 56px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { display: grid; gap: 8px; align-content: start; padding: 22px 0; border-top: 1px solid var(--line-2); }
.step-no { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--accent-text); }
.steps h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
.steps p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Ringan: teks dan STB di kiri, angka vertikal di kanan (tanpa kartu). */
.light-grid { display: grid; gap: 48px; }
@media (min-width: 1000px) { .light-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; } }
.metrics { list-style: none; margin: 0; padding: 0; }
.metric { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 20px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line); }
.metric:last-child { border-bottom: 1px solid var(--line); }
.metric b { font-size: clamp(36px, 4.2vw, 56px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric > div > span { display: block; font-weight: 500; }
.metric small { display: block; margin-top: 4px; font-size: 14px; color: var(--dim); line-height: 1.5; }
.stb { display: flex; align-items: center; gap: 18px; margin-top: 36px; padding: 22px 24px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.stb-ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft-2); color: var(--accent-text); }
.stb-ic .icon { width: 26px; height: 26px; }
.stb h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.stb p { margin-top: 4px; font-size: 16px; color: var(--muted); }
/* Catatan PMS di Cara kerja: pita selebar kontainer, ikon | teks | tombol, supaya seimbang dengan 4 langkah di atasnya. */
.stb--pms { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px; margin-top: 48px; padding: 28px 32px; background: var(--surface); border-color: var(--line-2); }
.stb--pms p { max-width: 64ch; text-wrap: pretty; }
@media (max-width: 860px) { .stb--pms { grid-template-columns: auto minmax(0, 1fr); } .stb--pms .btn { grid-column: 2; justify-self: start; } }
@media (max-width: 560px) { .stb--pms { grid-template-columns: 1fr; gap: 16px; } .stb--pms .btn { grid-column: 1; } }
@media (max-width: 560px) { .stb { flex-direction: column; align-items: flex-start; padding: 22px; } }

/* Kenapa LDP: fakta singkat dengan garis aksen, lalu dua cara memesan (kartu sejajar dengan subgrid). */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; margin: 44px 0 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts li { padding-left: 18px; border-left: 2px solid var(--accent); }
.facts b { display: block; font-size: 30px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.facts li > span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); }
.order-head { margin-top: 72px; font-size: 22px; font-weight: 600; }
.bundle { display: grid; gap: 12px; margin-top: 18px; }
@media (min-width: 720px) {
	.bundle { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; column-gap: 16px; row-gap: 6px; align-items: stretch; }
	.bundle > * { grid-row: 1 / span 3; }
	.bundle-card { grid-template-rows: subgrid; row-gap: 6px; }
}
.bundle-card { display: grid; gap: 6px; align-content: start; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.bundle-card small { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.bundle-card b { font-size: 22px; }
.bundle-card span { font-size: 16px; color: var(--muted); max-width: 46ch; }
.bundle-card--main { border-color: var(--accent-line); background: linear-gradient(160deg, var(--accent-soft-2) 0%, var(--surface) 60%); }
.bundle-card--main small { color: var(--accent-text); }

/* Tanya jawab: judul menempel di kiri, akordeon di kanan. */
.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 1000px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } .faq-wrap .h2 { position: sticky; top: calc(var(--nav-h) + 32px); } }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color var(--dur-2) var(--ease-out); }
.faq details[open] { border-color: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--dim); transition: transform var(--dur-2) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--accent-text); }
.faq details::details-content { height: 0; overflow: clip; transition: height 420ms var(--ease-out), content-visibility 420ms allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq-a { padding: 0 22px 22px; color: var(--muted); }

/* Produk lain: kartu lebar dengan screenshot. */
.xsell { display: grid; gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); text-decoration: none; color: var(--text); }
@media (min-width: 900px) { .xsell { grid-template-columns: 1fr 1.1fr; padding: 48px; gap: 56px; } }
.xsell p { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.xsell-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-weight: 600; color: var(--accent-text); }
.xsell-link .icon { transition: transform var(--dur-2) var(--ease-out); }
.xsell:hover .xsell-link .icon { transform: translateX(4px); }
.tvframe { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-media); background: #050507; box-shadow: 0 0 0 7px #0a0d14, 0 40px 80px -36px var(--shadow-c); transition: transform 700ms var(--ease-out); }
.tvframe img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .xsell:hover .tvframe { transform: translateY(-6px); } }

/* Penutup: pernyataan di tengah, di atas foto kamar yang diredupkan navy. */
.closing { text-align: center; }
.sec.closing[style*='--closing-photo'] { background: linear-gradient(180deg, rgb(13 29 58 / 0.9), rgb(13 29 58 / 0.82) 50%, rgb(13 29 58 / 0.95)), var(--closing-photo) center / cover no-repeat, var(--bg); }
.closing .h2 { font-size: clamp(40px, 5.6vw, 76px); max-width: 16ch; margin-inline: auto; }
.closing .lead { max-width: 56ch; margin: 22px auto 0; }
.closing-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.assure li { display: inline-flex; align-items: center; gap: 8px; }
.assure .icon { color: var(--accent-text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg); color: var(--muted); padding: 48px 0; font-size: 15px; }
.footer-inner { display: grid; gap: 24px; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1fr auto; align-items: center; } .footer-copy { grid-column: 1 / -1; } }
.footer .brand { color: var(--text); }
.footer .brand img { height: 28px; width: auto; }
.footer-brand p { margin-top: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-decoration: none; padding: 10px 0; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-copy { font-size: 13px; color: var(--dim); padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- Keyframes (yang tidak ditangani Motion) ---------- */
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lang-swap { 0%, 45% { transform: translateX(0); } 50%, 95% { transform: translateX(100%); } 100% { transform: translateX(0); } }
@keyframes lang-on { 0% { color: var(--accent-ink); } 50% { color: var(--muted); } }
@keyframes lang-off { 0% { color: var(--muted); } 50% { color: var(--accent-ink); } }

/* ---------- Gerak dikurangi ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; }
	.marquee { -webkit-mask-image: none; mask-image: none; margin-inline: 0; }
	.marquee-track { flex-wrap: wrap; width: auto; }
	.marquee-track .chip:nth-child(n + 11) { display: none; }
}
