/* ==========================================================================
   DENTAL INSIGHT — STYLESHEET
   --------------------------------------------------------------------------
   Gaya mengikuti web referensi: navy gelap + emas, judul serif,
   label huruf kapital renggang.

   Daftar isi:
     1.  Theme tokens (warna light & dark)
     2.  Dasar (reset, tipografi, layout)
     3.  Komponen umum (label, judul, tombol, link)
     4.  Header, logo, menu, cari & tombol tema
     5.  Home: KV
     6.  Kartu event (gambar & "Coming soon")
     7.  Home: 4 nilai, community (foto miring), angka
     8.  Page header (halaman dalam)
     9.  About
     10. Events (pagination), Gallery, For Participants, FAQ
     11. Detail event
     12. Contact
     13. Footer (stay updated), pencarian, ke atas, lightbox, animasi
     14. Responsive
   ========================================================================== */


/* ==========================================================================
   1. THEME TOKENS
   Bagian navy (KV, community, angka, footer, page header) sama di kedua tema.
   Yang berubah hanya area konten (latar terang / gelap).
   ========================================================================== */

:root {
  /* Warna merek (tetap) */
  --navy: #0B1A2E;
  --navy-2: #10233D;
  --navy-deep: #07111F;
  --gold: #E2BC74;
  --gold-hover: #ECCB8C;
  --gold-line: #D3A85C;

  /* Ukuran */
  --nav-h: 96px;      /* tinggi header saat di paling atas */
  --nav-h-s: 76px;    /* tinggi header setelah scroll */
  --radius: 6px;

  /* Font */
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Lingkaran emas (dekorasi). Garis gelombang ada di images/waves-1.svg & waves-2.svg */
  --arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%23D9B26A' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='110' stroke-opacity='.30'/%3E%3Ccircle cx='300' cy='300' r='160' stroke-opacity='.24'/%3E%3Ccircle cx='300' cy='300' r='210' stroke-opacity='.18'/%3E%3Ccircle cx='300' cy='300' r='260' stroke-opacity='.12'/%3E%3Ccircle cx='300' cy='300' r='298' stroke-opacity='.07'/%3E%3C/svg%3E");
}

/* --- Light (default) --- */
:root,
[data-theme="light"] {
  --bg: #FAF9F6;            /* section utama */
  --bg-soft: #F2EFE8;       /* section selang-seling */
  --surface: #FFFFFF;       /* kartu */
  --line: #E4DFD4;
  --line-strong: #CFC7B6;

  --text: #0E1B2E;
  --text-2: #33404F;
  --muted: #5F6977;

  --accent: #B98A3E;        /* emas versi gelap, terbaca di latar terang */
  --icon: #C99A48;          /* ikon garis emas */

  --shadow: 0 18px 40px -24px rgba(11, 26, 46, 0.35);
  --shadow-lg: 0 30px 60px -30px rgba(11, 26, 46, 0.45);
}

/* --- Dark --- */
[data-theme="dark"] {
  --bg: #0A1526;
  --bg-soft: #0D1B30;
  --surface: #11223B;
  --line: #1F3352;
  --line-strong: #2C4468;

  --text: #EEF1F5;
  --text-2: #C9D1DC;
  --muted: #95A3B6;

  --accent: #E2BC74;
  --icon: #E2BC74;

  --shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}


/* ==========================================================================
   2. DASAR
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.12;
}

p {
  margin: 0 0 1em;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Ikon SVG (dari <symbol> di index.html) */
.ico {
  flex: none;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* ==========================================================================
   3. KOMPONEN UMUM
   ========================================================================== */

/* --- Section --- */
.sec {
  padding: 88px 0;
}

.sec-light {
  background: var(--bg);
}

.sec-soft {
  background: var(--bg-soft);
}

/* Label kecil kapital renggang + garis emas di bawahnya */
.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.label::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 14px;
  background: var(--gold);
}

.label.dark {
  color: var(--text-2);
}

.label.dark::after {
  background: var(--gold-line);
}

/* Judul section (serif) */
.sec-head {
  max-width: 660px;
  margin: 0 0 48px;
}

.sec-head h2,
.story-text h2 {
  margin: 18px 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 700;
}

.sec-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head.center .label::after {
  margin-left: auto;
  margin-right: auto;
}

/* Baris judul "UPCOMING EVENTS ....... View all events →" */
.row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 30px;
}

h2.spaced {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

/* Link teks dengan panah */
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}

.more .ico {
  font-size: 1.15em;
  transition: transform 0.2s;
}

.more:hover {
  color: var(--accent);
}

.more:hover .ico {
  transform: translateX(4px);
}

.more-light {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}

.more-light:hover {
  color: var(--gold);
}

/* --- Tombol --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.95rem var(--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn .ico {
  font-size: 1.1em;
  transition: transform 0.2s;
}

.btn:hover .ico {
  transform: translateX(3px);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.88rem;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-hover);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-navy {
  background: var(--navy);
  color: #FFFFFF;
}

.btn-navy:hover {
  background: var(--navy-2);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Lingkaran ikon emas */
.ico-ring {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--icon);
  font-size: 1.4rem;
}

/* Daftar centang */
.checks {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checks .ico {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 4px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  stroke-width: 2.4;
}


/* ==========================================================================
   4. HEADER, LOGO, MENU, CARI & TOMBOL TEMA
   Header selalu di atas latar navy (KV / page header), jadi teksnya putih.
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--nav-h);
  color: #FFFFFF;
  transition: background 0.25s, box-shadow 0.25s, height 0.25s;
}

.header.scrolled {
  height: var(--nav-h-s);
  background: rgba(8, 18, 33, 0.92);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  flex: none;
  align-items: center;
  text-decoration: none;
}

.logo {
  display: block;
  width: auto;
  height: 82px;
  transition: height 0.25s;
}

.header.scrolled .logo {
  height: 64px;
}

/* --- Navigasi --- */
.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav ul a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s;
}

.nav ul a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 2px;
  left: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}

.nav ul a:hover {
  color: #FFFFFF;
}

.nav ul a.active {
  color: var(--gold);
}

.nav ul a.active::after {
  transform: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}

.menu-btn {
  display: none;
}

/* --- Tombol tema --- */
.theme-toggle {
  position: relative;
  flex: none;
  width: 54px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.theme-toggle .knob {
  position: absolute;
  top: 3px;
  left: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.3, 1), background 0.3s, color 0.3s;
}

.theme-toggle .k-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .knob {
  transform: translateX(24px);
  background: #C9D3E0;
}

[data-theme="dark"] .theme-toggle .k-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .k-moon {
  display: block;
}


/* ==========================================================================
   5. HOME: KV
   ========================================================================== */

.page {
  display: none;
}

.page.show {
  display: block;
}

.kv {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, 48vw, 780px);
  padding: calc(var(--nav-h) + 30px) 0 80px;
  overflow: hidden;
  background: var(--navy);
  color: #FFFFFF;
}

.kv-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}

/* Gradasi navy: gelap di kiri (teks), terang di kanan (pembicara) */
.kv-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 32, 0.96) 0%, rgba(8, 17, 32, 0.86) 30%, rgba(8, 17, 32, 0.35) 58%, rgba(8, 17, 32, 0.15) 75%, rgba(8, 17, 32, 0.55) 100%),
    linear-gradient(180deg, rgba(8, 17, 32, 0.7) 0%, rgba(8, 17, 32, 0) 26%, rgba(8, 17, 32, 0) 72%, rgba(8, 17, 32, 0.6) 100%);
}

.kv-inner {
  width: 100%;
}

.kv-text {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.kv h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.4vw, 4.9rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.kv h1 span {
  display: block;
}

.kv h1 .gold {
  color: var(--gold);
}

.kv .lead {
  margin: 24px 0 36px;
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.kv .lead span {
  display: block;
}

/* Daftar kecil di tepi kanan KV (di samping pembicara, bukan di atasnya) */
.kv-words {
  position: absolute;
  top: 50%;
  right: 30px;
  z-index: 2;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 2.5;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  transform: translateY(-50%);
}

.kv-words::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 16px;
  background: var(--gold);
}


/* ==========================================================================
   6. KARTU EVENT
   ========================================================================== */

.ev-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ev-card {
  position: relative;
  display: flex;
  min-height: 310px;
  aspect-ratio: 1.24 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: var(--shadow);
  isolation: isolate;
}

/* Gambar latar */
.ev-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Gradasi agar teks terbaca */
.ev-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.55) 0%, rgba(8, 17, 32, 0.08) 42%, rgba(8, 17, 32, 0.2) 60%, rgba(8, 17, 32, 0.78) 100%);
}

a.ev-card:hover .ev-bg {
  transform: scale(1.05);
}

.ev-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 26px 28px 28px;
}

.ev-label {
  margin-bottom: 12px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  opacity: 0.92;
}

.ev-card h3 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  font-weight: 400;
  line-height: 1.08;
}

.ev-tag {
  max-width: 22ch;
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  opacity: 0.94;
}

.ev-meta {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-right: 64px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ev-meta span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ev-meta .ico {
  margin-top: 1px;
  font-size: 1.15rem;
  stroke-width: 1.5;
}

/* Tombol bulat emas */
.ev-go {
  position: absolute;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.35rem;
  transition: transform 0.25s, background 0.25s;
}

.ev-go .ico {
  stroke-width: 2;
}

a.ev-card:hover .ev-go {
  background: var(--gold-hover);
  transform: translateX(3px);
}

/* --- Kartu "Upcoming Event / Coming Soon" --- */
.ev-card.soon .ev-bg {
  object-position: center 62%;
}

.ev-card.soon::after {
  background: linear-gradient(180deg, rgba(8, 17, 32, 0.55) 0%, rgba(8, 17, 32, 0.1) 45%, rgba(8, 17, 32, 0.15) 70%, rgba(8, 17, 32, 0.6) 100%);
}

.ev-card.soon h3::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 18px;
  background: var(--gold);
}

.soon-pill {
  align-self: flex-start;
  margin-top: auto;
  margin-bottom: 18px;
  padding: 10px 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}


/* ==========================================================================
   7. HOME: 4 NILAI, COMMUNITY, ANGKA
   ========================================================================== */

/* --- 4 nilai (ikon emas, garis pemisah) --- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 60px;
}

.value {
  padding: 6px 26px;
  text-align: center;
}

.value + .value {
  border-left: 1px solid var(--line);
}

.value > .ico {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  color: var(--icon);
  stroke-width: 1.2;
}

.value h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.value p {
  max-width: 24ch;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
}

.values.in-page {
  margin-top: 10px;
}

/* --- Our community: teks kiri + 4 foto miring --- */
.community {
  position: relative;
  --edge: max(32px, calc((100vw - 1240px) / 2 + 32px));   /* sejajar tepi kiri konten */
  display: grid;
  grid-template-columns: calc(var(--edge) + 380px) 1fr;
  height: 470px;
  overflow: hidden;
  background: var(--navy);
  color: #FFFFFF;
}

/* Lingkaran emas di kiri */
.community::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -300px;
  width: 600px;
  height: 600px;
  background: var(--arcs) center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.community-text {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 40px 24px 40px var(--edge);
}

.community h2 {
  margin: 22px 0 28px;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.1vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
}

.community h2 em {
  font-style: normal;
  color: var(--gold);
}

.strip {
  position: relative;
  display: flex;
  height: 100%;
  margin-right: -120px;      /* foto terakhir sampai tepi layar */
}

.slice {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-left: 6px solid var(--navy);
  transform: skewX(-14deg);
}

/* Foto dibalik miringnya agar tetap tegak */
.slice-img {
  position: absolute;
  inset: 0 -70px;
  transform: skewX(14deg);
}

.slice img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slice:hover img {
  transform: scale(1.05);
}

/* --- Angka --- */
.numbers {
  position: relative;
  padding: 64px 0 78px;
  background:
    linear-gradient(rgba(7, 17, 31, 0.45), rgba(7, 17, 31, 0.45)),   /* redupkan garis di belakang angka */
    var(--navy-deep) url("../images/waves-1.svg") center 92% / cover no-repeat;
  color: #FFFFFF;
}

.numbers-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 6px 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--gold);
}

.stat span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
}

.stats-quote {
  max-width: 270px;
  margin: 0;
  padding-left: 36px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.45;
}


/* ==========================================================================
   8. PAGE HEADER (halaman dalam)
   ========================================================================== */

.page-head {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 60px) 0 76px;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(226, 188, 116, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #FFFFFF;
}

.page-head::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -180px;
  width: 640px;
  height: 640px;
  background: var(--arcs) center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

.page-head::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 220px;
  background: url("../images/waves-1.svg") center 60% / cover no-repeat;
  opacity: 0.8;
  pointer-events: none;
}

.page-head .wrap {
  position: relative;
  z-index: 2;
}

.page-head h1 {
  max-width: 18ch;
  margin: 20px 0 16px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
}

.page-head h1 em {
  font-style: normal;
  color: var(--gold);
}

.page-head p {
  max-width: 56ch;
  margin: 0;
  font-size: 1.04rem;
  color: rgba(255, 255, 255, 0.8);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

.crumb a {
  text-decoration: none;
}

.crumb a:hover {
  color: var(--gold);
}


/* ==========================================================================
   9. ABOUT
   ========================================================================== */

.story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
}

.story-text > p {
  color: var(--text-2);
}

.pull-quote {
  margin: 30px 0 0;
  padding-left: 24px;
  border-left: 2px solid var(--gold-line);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.45;
}

.story-media {
  position: relative;
}

.story-media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
}

.story-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: 45% center;
}

/* --- Format program --- */
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program {
  position: relative;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.program .num {
  position: absolute;
  top: 26px;
  right: 30px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
}

.program .ico-ring {
  margin-bottom: 24px;
}

.program h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
}

.program p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* --- Kartu fitur (What makes us different) --- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature {
  display: flex;
  gap: 22px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.feature p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}

/* --- Pendiri --- */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.founder {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  align-items: start;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 20%, rgba(226, 188, 116, 0.22), transparent 55%),
    linear-gradient(150deg, var(--navy-2), var(--navy-deep));
  color: var(--gold);
  font-family: var(--serif);
  font-size: 2.4rem;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.founder .role {
  display: block;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.founder p {
  margin: 0 0 10px;
  font-size: 0.94rem;
  color: var(--text-2);
}

.founder p:last-child {
  margin-bottom: 0;
}

/* --- Visi & misi --- */
.mv {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.mv-card {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mv-card > .ico {
  margin-bottom: 18px;
  font-size: 2rem;
  stroke-width: 1.3;
  color: var(--icon);
}

.mv-card h3 {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.mv-card.vision {
  border-color: transparent;
  background: var(--navy) url("../images/waves-2.svg") center bottom / cover no-repeat;
  color: #FFFFFF;
}

.mv-card.vision > .ico {
  color: var(--gold);
}

.mv-card.vision p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.55;
}

.mv-card.mission {
  background: var(--surface);
}

.mv-card.mission .checks {
  color: var(--text-2);
}


/* ==========================================================================
   10. EVENTS (pagination), GALLERY, FOR PARTICIPANTS, FAQ
   ========================================================================== */

/* --- Pagination --- */
.pager {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pager:empty {
  display: none;
}

.pager button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 600 0.92rem var(--sans);
  cursor: pointer;
}

.pager button:hover:not(:disabled) {
  border-color: var(--gold-line);
  color: var(--accent);
}

.pager button[aria-current="page"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold);
}

[data-theme="dark"] .pager button[aria-current="page"] {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy);
}

.pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

#eventList {
  scroll-margin-top: 110px;
}

.empty-note {
  padding: 40px 0;
  color: var(--muted);
}

/* --- Gallery --- */
.g-group + .g-group {
  margin-top: 80px;
}

.g-group .row-head p {
  flex-basis: 100%;
  margin: -10px 0 0;
  color: var(--muted);
}

.g-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 14px;
}

.g-grid.posters {
  grid-auto-rows: auto;
}

.g-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
}

.g-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.g-item.tall {
  grid-row: span 2;
}

.g-grid.posters .g-item {
  aspect-ratio: 4 / 5;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.g-item:hover img {
  transform: scale(1.04);
}

/* --- Langkah daftar --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 34px 28px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  counter-increment: step;
}

.step::before {
  content: "0" counter(step);
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
}

.step .ico-ring {
  margin-bottom: 22px;
}

.step h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.step p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

/* --- FAQ --- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.faq-grid .sec-head {
  margin-bottom: 32px;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 22px 56px 22px 0;
  font-size: 1.02rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq details[open] summary::after {
  content: "–";
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.faq .ans {
  padding: 0 56px 22px 0;
  color: var(--muted);
}

/* Kotak navy "Still have questions?" */
.side-card {
  position: sticky;
  top: 110px;
  padding: 36px;
  border-radius: var(--radius);
  background: var(--navy) url("../images/waves-2.svg") center bottom / cover no-repeat;
  color: #FFFFFF;
}

.side-card h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
}

.side-card p {
  color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   11. DETAIL EVENT
   ========================================================================== */

.ed-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 50px) 0 90px;
  background: var(--navy);
  color: #FFFFFF;
}

.ed-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

.ed-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 17, 32, 0.92) 0%, rgba(8, 17, 32, 0.7) 45%, rgba(8, 17, 32, 0.3) 100%),
    linear-gradient(180deg, rgba(8, 17, 32, 0.6) 0%, rgba(8, 17, 32, 0) 30%);
}

.ed-hero > .wrap {
  position: relative;
  z-index: 2;
}

.ed-hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.ed-hero h1 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 4.8vw, 4.1rem);
  font-weight: 700;
  line-height: 1.04;
}

.ed-hero .tagline {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  color: var(--gold);
}

.hooks {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 2.1;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.ed-hero .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 28px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.ed-hero .meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ed-hero .meta .ico {
  font-size: 1.15rem;
  color: var(--gold);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 92px));
  gap: 12px;
  margin-bottom: 32px;
}

.countdown div {
  padding: 14px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.countdown strong {
  display: block;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
}

.countdown span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.poster {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.8);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Menu lompat antar bagian --- */
.tabs-nav {
  position: sticky;
  top: var(--nav-h-s);
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.tabs-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.tabs-nav a {
  display: block;
  padding: 16px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  text-decoration: none;
  color: var(--muted);
}

.tabs-nav a:hover {
  color: var(--accent);
}

/* --- Isi detail --- */
.ed-layout {
  padding-top: 72px;
  padding-bottom: 100px;
}

.ed-sec {
  margin-bottom: 64px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 150px;
}

.ed-sec:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.ed-sec > h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 700;
}

.ed-sec > h3 {
  margin: 32px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.quote {
  margin-bottom: 22px;
  padding-left: 22px;
  border-left: 2px solid var(--gold-line);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-style: italic;
  line-height: 1.3;
}

.overview p {
  color: var(--text-2);
}

.learn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.learn li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.95rem;
  font-weight: 500;
}

.learn .ico {
  margin-top: 4px;
  color: var(--icon);
}

/* --- Pembicara --- */
.speakers {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.speaker {
  text-align: center;
}

.speaker .avatar {
  margin-bottom: 16px;
  font-size: 2rem;
}

.speaker h3 {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 600;
}

.speaker .role {
  margin-bottom: 4px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent);
}

.speaker .topic {
  margin: 0;
  font-size: 0.84rem;
  color: var(--muted);
}

/* --- Program per hari --- */
.daytabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.daytabs button {
  padding: 11px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font: 600 0.92rem var(--sans);
  text-align: left;
  cursor: pointer;
}

.daytabs button small {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
}

.daytabs button[aria-selected="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: #FFFFFF;
}

.daytabs button[aria-selected="true"] small {
  color: var(--gold);
}

[data-theme="dark"] .daytabs button[aria-selected="true"] {
  border-color: var(--gold);
}

.slots {
  margin: 0;
  padding: 0;
  list-style: none;
}

.slots li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.slots time {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
}

.slots strong {
  display: block;
  font-weight: 600;
}

.slots span {
  font-size: 0.9rem;
  color: var(--muted);
}

.slots .who {
  display: inline-flex;
  margin-top: 6px;
  padding: 2px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
}

/* --- Harga --- */
.tier-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: -8px 0 26px;
  padding: 18px 20px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: rgba(226, 188, 116, 0.08);
  color: var(--muted);
}

.tier-note strong, .tier-note div > span {
  display: block;
}

.tier-note strong {
  color: var(--text);
  margin-bottom: 4px;
}

.tier-note div > span {
  font-size: 0.88rem;
}

.tier-note .tier {
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.76rem;
  font-weight: 700;
}

.prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow);
}

.price-card .p-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border: 1px solid rgba(226, 188, 116, 0.6);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.3rem;
}

.price-card .p-tier {
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.price-card h3 {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
}

.price-card .p-desc {
  margin-bottom: 22px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.price-card .p-amt {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.price-card .p-old {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  min-height: 28px;
  margin-bottom: 6px;
}

.price-card .p-old > span {
  font-size: 0.8rem;
  opacity: 0.85;
}

.price-card .p-price-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price-card .p-old s {
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  text-decoration-thickness: 2px;
  opacity: 0.9;
}

.price-card .save {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(226, 188, 116, 0.16);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 700;
}

.price-card .p-amt strong {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.price-card .btn {
  width: 100%;
}

.price-card .flag {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Kartu emas (Lecture + Hands-On) */
.price-card.best {
  background: linear-gradient(160deg, #F4DDAA 0%, #E2BC74 55%, #C89A4E 100%);
  color: var(--navy);
}

.price-card.best .p-ico {
  border-color: rgba(11, 26, 46, 0.35);
  color: var(--navy);
}

.price-card.best .p-tier {
  color: #6B4712;
}

.price-card.best .p-desc {
  color: #3B2A0E;
}

/* Keterangan batch sebelumnya sudah habis */
.price-card .p-soldout {
  display: inline-block;
  align-self: flex-start;
  margin: -10px 0 22px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #B42318;
  color: #FFFFFF;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.price-card.best .save {
  background: var(--navy);
  color: #FFFFFF;
}

.price-card.best .p-amt {
  border-top-color: rgba(11, 26, 46, 0.2);
}

/* Tombol ticket yang registrasinya belum dibuka (abu-abu) */
.price-card .btn-disabled,
.price-card .btn-disabled:hover {
  background: #A9AEB7;
  border-color: #A9AEB7;
  color: #FFFFFF;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}

/* --- Galeri poster --- */
.ed-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ed-gallery .g-item {
  aspect-ratio: 4 / 5;
}

/* --- Lokasi --- */
.venue {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  align-items: stretch;
}

.venue-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.venue-info h3 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.venue-info p {
  font-size: 0.93rem;
  color: var(--muted);
}

.venue-info .checks {
  margin-top: 16px;
  font-size: 0.92rem;
}

.map {
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
}

[data-theme="dark"] .map iframe {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.7);
}


/* ==========================================================================
   12. CONTACT
   ========================================================================== */

.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.info-cards > * {
  flex: 0 1 calc((100% - 40px) / 3);
  min-width: 0;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

a.info-card:hover {
  border-color: var(--gold-line);
  box-shadow: var(--shadow);
}

.info-card small {
  display: block;
  margin-bottom: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card strong {
  font-size: 1.05rem;
  font-weight: 600;
  word-break: break-word;
}

.info-card strong.sm {
  font-size: 0.95rem;
}


/* ==========================================================================
   13. FOOTER, PENCARIAN, KE ATAS, LIGHTBOX, ANIMASI
   ========================================================================== */

.footer {
  position: relative;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.93rem;
}

/* Garis gelombang emas hanya di area "Be Part of Our Next Event" */
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 330px;
  background: url("../images/waves-2.svg") center 30% / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  pointer-events: none;
}

.footer > .wrap {
  position: relative;
}

/* --- Be Part of Our Next Event --- */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  padding: 58px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.subscribe h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 400;
  color: #FFFFFF;
}

.subscribe p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.subscribe-form {
  display: flex;
  width: min(460px, 100%);
  padding: 5px;
  border-radius: 999px;
  background: #FFFFFF;
}

.subscribe-form:focus-within {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.subscribe-form input {
  flex: 1;
  min-width: 0;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: var(--navy);
  font: 400 0.95rem var(--sans);
  outline: none;
}

.subscribe-form input::placeholder {
  color: #7A8290;
}

.subscribe-form .btn {
  padding: 13px 24px;
}

.subscribe-note {
  flex-basis: 100%;
  margin: -8px 0 0;
  text-align: right;
  font-size: 0.85rem;
  color: var(--gold);
}

.subscribe-note:empty {
  display: none;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding: 56px 0 10px;
}

.footer .brand {
  margin-bottom: 16px;
}

.footer .logo {
  height: 96px;
}

.footer h4 {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--gold);
}

.foot-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.foot-contact .ico {
  margin-top: 4px;
  color: var(--gold);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 46px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --- Pencarian (layar penuh) --- */
.search {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  padding: 110px 0 60px;
  background: rgba(7, 17, 31, 0.97);
  color: #FFFFFF;
}

.search[hidden] {
  display: none;
}

.search-inner {
  max-width: 860px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.search-bar > .ico {
  font-size: 1.6rem;
  color: var(--gold);
}

.search-bar input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #FFFFFF;
  font: 400 clamp(1.4rem, 3vw, 2rem) var(--serif);
  outline: none;
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-bar input::-webkit-search-cancel-button {
  display: none;
}

.search-results {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.search-results a {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.search-results a:hover,
.search-results a:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.search-results small {
  display: block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.search-results strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.search-results span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.search-results .none {
  padding: 22px 4px;
  color: rgba(255, 255, 255, 0.6);
}

body.search-open {
  overflow: hidden;
}

/* --- Tombol kembali ke atas --- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.to-top .ico {
  stroke-width: 2.2;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 17, 31, 0.94);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  width: auto;
  max-height: 88vh;
  border-radius: var(--radius);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF;
  font-size: 1.3rem;
  cursor: pointer;
}

/* --- Animasi muncul saat di-scroll (hanya jika JavaScript aktif) --- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}


/* ==========================================================================
   14. RESPONSIVE
   ========================================================================== */

/* --- Daftar kecil KV hanya muat di layar lebar --- */
@media (max-width: 1360px) {
  .kv-words {
    display: none;
  }
}

/* --- Layar sedang: menu jadi drawer --- */
@media (max-width: 1100px) {
  .menu-btn {
    display: inline-flex;
  }

  .header-tools {
    margin-left: auto;
  }

  /* backdrop-filter membuat drawer "fixed" terpotong, jadi dimatikan */
  .header.scrolled {
    background: var(--navy);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 65;
    width: min(330px, 86vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 100px 24px 30px;
    overflow-y: auto;
    background: var(--navy) url("../images/waves-2.svg") 30% bottom / auto 260px no-repeat;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.3s, visibility 0.3s;
  }

  .nav.open {
    visibility: visible;
    box-shadow: -20px 0 50px -20px rgba(0, 0, 0, 0.6);
    transform: none;
  }

  .nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .nav ul a {
    padding: 14px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .nav ul a::after {
    display: none;
  }

  .header-tools {
    position: relative;
    z-index: 70;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(3, 9, 18, 0.55);
  }

  .numbers-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-quote {
    max-width: none;
    padding: 0;
    border: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .speakers {
    grid-template-columns: repeat(3, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .info-cards > * {
    flex-basis: calc((100% - 20px) / 2);
  }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  .sec {
    padding: 72px 0;
  }

  .ev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }

  .value:nth-child(3) {
    border-left: 0;
  }

  .community {
    grid-template-columns: 1fr;
    height: auto;
  }

  .community-text {
    padding-right: 32px;
  }

  .community-text {
    padding: 64px 32px 36px;
  }

  .community::before {
    top: 160px;
  }

  .strip {
    height: 360px;
    margin: 0 -90px 0 -60px;
  }

  .story,
  .faq-grid,
  .mv,
  .ed-hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .story-media {
    max-width: 520px;
  }

  .programs,
  .founders {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }

  .prices {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .venue {
    grid-template-columns: 1fr;
  }

  .poster {
    max-width: 340px;
  }

  .g-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .ed-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- HP --- */
@media (max-width: 680px) {
  :root {
    --nav-h: 80px;
    --nav-h-s: 68px;
  }

  .wrap {
    padding: 0 16px;
  }

  .logo {
    height: 66px;
  }

  .header.scrolled .logo {
    height: 54px;
  }

  .header-tools {
    gap: 4px;
  }

  /* KV: teks di bawah, pembicara tetap terlihat di atas */
  .kv {
    align-items: flex-end;
    min-height: min(760px, 100svh);
    padding: calc(var(--nav-h) + 20px) 0 48px;
  }

  .kv-img {
    object-position: 74% 30%;
  }

  .kv-shade {
    background: linear-gradient(180deg, rgba(8, 17, 32, 0.7) 0%, rgba(8, 17, 32, 0.1) 22%, rgba(8, 17, 32, 0.25) 42%, rgba(8, 17, 32, 0.9) 68%, #0B1A2E 100%);
  }

  .kv h1 {
    font-size: clamp(2.3rem, 10.5vw, 2.9rem);
  }

  .kv .lead {
    margin: 16px 0 26px;
  }

  .kv-words {
    display: none;
  }

  .sec {
    padding: 60px 0;
  }

  .row-head {
    margin-bottom: 22px;
  }

  h2.spaced {
    letter-spacing: 0.24em;
  }

  .ev-grid {
    grid-template-columns: 1fr;
  }

  .ev-card {
    min-height: 290px;
  }

  .values {
    grid-template-columns: 1fr;
    margin-top: 44px;
  }

  .value {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 4px 18px;
    padding: 18px 0;
    text-align: left;
  }

  .value + .value {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value > .ico {
    grid-row: span 2;
    margin: 0;
  }

  .value h3 {
    margin: 0;
  }

  .value p {
    max-width: none;
    margin: 0;
  }

  .community-text {
    padding: 56px 16px 32px;
  }

  /* 4 foto: grid 2 x 2, tidak miring */
  .strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    height: auto;
    margin: 0;
  }

  .slice {
    aspect-ratio: 4 / 5;
    border: 0;
    transform: none;
  }

  .slice-img {
    inset: 0;
    transform: none;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 22px;
  }

  .stat:nth-child(odd) {
    border-left: 0;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 24px;
  }

  .founder {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .founder .avatar {
    width: 110px;
  }

  .mv-card {
    padding: 30px 24px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .learn {
    grid-template-columns: 1fr;
  }

  .speakers {
    grid-template-columns: repeat(2, 1fr);
  }

  .countdown {
    grid-template-columns: repeat(4, 1fr);
  }

  .countdown strong {
    font-size: 1.45rem;
  }

  .slots li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .g-grid {
    grid-auto-rows: 150px;
    gap: 8px;
  }

  .g-item.wide {
    grid-row: span 1;
  }

  .ed-gallery {
    gap: 8px;
  }

  .info-cards > * {
    flex-basis: 100%;
  }

  .subscribe {
    padding: 48px 0;
  }

  .subscribe-form .btn {
    padding: 12px 16px;
  }

  .subscribe-note {
    text-align: left;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-head {
    padding: calc(var(--nav-h) + 36px) 0 56px;
  }

  .page-head::before {
    right: -340px;
  }

  .ed-hero {
    padding-bottom: 64px;
  }

  .search {
    padding-top: 90px;
  }
}

/* --- Kurangi animasi bila pengguna memintanya --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}


/* Sleep Summit programs and WhatsApp contact */
.summit-notice { margin: 28px 0; padding: 24px; border-left: 3px solid var(--gold); background: var(--bg-soft); }
.summit-notice h3 { margin-top: 0; }
.summit-notice p { margin-bottom: 0; }
.summit-programs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.summit-program { min-width: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.summit-program h3 { margin: 8px 0 16px; }
.summit-program h4 { margin: 24px 0 16px; font-size: 1rem; line-height: 1.6; }
.summit-program .learn { grid-template-columns: 1fr; }
.registration-programs .summit-program { display: flex; flex-direction: column; align-items: flex-start; }
.registration-programs .btn { margin-top: auto; white-space: normal; text-align: center; }
.slots.agenda-list li { grid-template-columns: minmax(0, 1fr); }
.wa-toggle { position: fixed; z-index: 80; right: 24px; bottom: 88px; display: flex; align-items: center; gap: 8px; padding: 14px 18px; border: 1px solid var(--gold); border-radius: 999px; background: var(--navy); color: var(--gold); box-shadow: var(--shadow); font: 600 .85rem var(--sans); cursor: pointer; }
.wa-dialog { position: fixed; inset: 0; margin: auto; width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 36px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.wa-dialog::backdrop { background: rgba(7, 17, 31, .7); }
.wa-dialog h2 { margin: 10px 0 20px; }
.wa-dialog p { margin: 0 0 20px; color: var(--text-2); }
.wa-close { position: absolute; top: 10px; right: 10px; }
.info-card > div:last-child { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 700px) {
  .summit-programs { grid-template-columns: 1fr; }
  .summit-program { padding: 22px; }
  .wa-toggle { right: 16px; bottom: 82px; }
  .wa-dialog { padding: 30px 24px; }
}


/* Rundown dates sit above each day's agenda; no trailing divider lines. */
.day-panel[hidden] { display: none !important; }
.day-details { margin: 28px 0 8px; }
.day-details h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.2rem; color: var(--text); }
.day-details p { margin: 0; color: var(--muted); font-weight: 500; }
#sec-program { border-bottom: 0; padding-bottom: 0; }
#sec-program .slots li:last-child { border-bottom: 0; }


/* Center Sleep Summit gallery images, including an incomplete final row. */
.ed-gallery.ed-gallery-centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --poster-columns: 3;
  --poster-gap: 16px;
  gap: var(--poster-gap);
}
.ed-gallery-centered > .g-item {
  flex: 0 0 calc((100% - (var(--poster-columns) - 1) * var(--poster-gap)) / var(--poster-columns));
  min-width: 0;
}
.summit-programs.single-program {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 1000px) {
  .ed-gallery.ed-gallery-centered { --poster-columns: 2; }
}
@media (max-width: 680px) {
  .ed-gallery.ed-gallery-centered { --poster-gap: 8px; }
}


/* Regular price stays readable beside the Early Bird offer. */
.price-card .p-old {
  align-items: flex-start;
  flex-direction: column;
  gap: 5px;
}
.price-card .p-old > span { font-size: 0.9rem; }

/* Compact language dropdown in the navigation bar. */
.language-picker {
  display: flex;
  align-items: center;
  flex: none;
  gap: 7px;
  padding-left: 7px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 5px;
  color: #fff;
}
.language-picker select {
  width: 49px;
  min-height: 38px;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: inherit;
  font: 600 .8rem var(--sans);
  cursor: pointer;
}
.language-picker select option { background: #fff; color: #0B1A2E; }
/* Do not show a yellow focus ring when the language menu is opened. */
.language-picker:focus-within { outline: none; }
.language-picker select:focus,
.language-picker select:focus-visible {
  outline: none;
  box-shadow: none;
}
/* Subtle neutral keyboard focus indicator for accessibility. */
.language-picker:has(select:focus-visible) {
  border-color: rgba(255, 255, 255, .7);
}
.language-flag {
  display: block;
  width: 24px;
  height: 16px;
  flex: none;
  border: 0;
  border-radius: 2px;
  overflow: hidden;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
}
.language-flag[data-language="id"] {
  background-image: url("../images/flag-id.svg");
}
.language-flag[data-language="en"] {
  background-image: url("../images/flag-us.svg");
}
@media (min-width: 1101px) and (max-width: 1280px) {
  .header-inner { gap: 12px; }
  .nav ul { gap: 0; }
  .nav ul a { padding: 10px 8px; font-size: .82rem; }
  .header-tools { gap: 5px; }
}
@media (max-width: 680px) {
  .header-inner { gap: 8px; }
  .language-picker { gap: 4px; padding-left: 5px; }
  .language-flag { width: 20px; height: 14px; }
  .language-picker select { width: 44px; }
  .header-tools .icon-btn { width: 34px; height: 38px; }
}
@media (max-width: 380px) {
  .header .logo { height: 50px; }
  .header.scrolled .logo { height: 46px; }
  .header-tools { gap: 2px; }
  .header-tools .theme-toggle { width: 48px; }
}

@media (max-width: 680px) {
  .subscribe-form { flex-direction: column; gap: 10px; padding: 0; border-radius: 0; background: transparent; }
  .subscribe-form input { width: 100%; padding: 14px 20px; border-radius: 999px; background: #fff; }
  .subscribe-form .btn { width: 100%; white-space: normal; text-align: center; }
}
@media (max-width: 680px) {
  .ev-card { min-width: 0; width: 100%; aspect-ratio: auto; min-height: 340px; }
  .ev-content, .ev-meta, .ev-meta span { min-width: 0; }
  .page h1, .page h2, .page h3, .page blockquote { overflow-wrap: break-word; }
}
@media (max-width: 680px) {
  .story-media::before { right: 0; }
  .feature, .feature > div { min-width: 0; overflow-wrap: break-word; }
}


/* ================================================================
   MODAL REGISTRASI — fullscreen desktop & mobile; content scrolls
   inside iframe, background cannot scroll while modal is open.
   Styles for the original ticket cards remain unchanged.
   ================================================================ */
.ev-card[hidden] { display: none !important; }

html.payment-open,
body.payment-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}
body.payment-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
}
.payment-dialog {
  position: fixed;
  inset: 0;
  display: block;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #0b1a2e;
  color: #fff;
  overflow: hidden;
  overscroll-behavior: contain;
}
.payment-dialog:not([open]) { display: none; }
.payment-dialog::backdrop { background: rgba(0, 0, 0, .85); }
.payment-shell {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.payment-topbar {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 10px 20px;
  padding-top: max(10px, env(safe-area-inset-top));
  background: #101e31;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.payment-heading { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.payment-heading .ico { color: #e2bc74; }
.payment-actions { display: flex; align-items: center; }
.payment-close {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}
.payment-close:hover { border-color: #e2bc74; }
.payment-body {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.payment-body iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.payment-confirm[hidden] { display: none !important; }
.payment-confirm {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 12, 25, .78);
}
.payment-confirm-card {
  width: min(100%, 440px);
  border: 1px solid rgba(226, 188, 116, .36);
  border-radius: 15px;
  padding: 28px 25px;
  background: #fff;
  color: #19283c;
  text-align: center;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .35);
}
.payment-confirm-card h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 12px; }
.payment-confirm-card p { margin: 0 0 24px; color: #566174; font-size: .95rem; line-height: 1.55; }
.payment-confirm-actions { display: flex; gap: 10px; justify-content: center; }
.payment-confirm-actions button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd2db;
  font: 600 .92rem var(--sans);
  cursor: pointer;
}
.payment-stay { background: #f6f7f9; color: #19283c; }
.payment-exit { background: #152b49; color: #fff; border-color: #152b49 !important; }
.payment-confirm-actions button:hover { filter: brightness(.95); }
@media (max-width: 600px) {
  .payment-topbar { min-height: 54px; padding-inline: 14px; }
  .payment-heading strong { font-size: .86rem; }
  .payment-close { width: 40px; height: 40px; }
  .payment-confirm { padding: 16px; }
  .payment-confirm-card { padding: 24px 18px; }
}


/* ==========================================================================
   IMPORTANT TICKET INFORMATION - under the Sleep Summit ticket cards.
   ========================================================================== */
.ticket-advisory {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.95fr);
  gap: 30px;
  align-items: center;
  margin-top: 24px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  background: linear-gradient(105deg, rgba(226, 188, 116, 0.13), var(--surface) 75%);
  box-shadow: 0 14px 32px -28px rgba(11, 26, 46, 0.4);
}

.ticket-advisory::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold-line);
}

.ticket-advisory-main,
.ticket-advisory-policy {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
}

.ticket-advisory-icon {
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(185, 138, 62, 0.26);
  border-radius: 14px;
  background: rgba(226, 188, 116, 0.18);
  color: var(--accent);
}

.ticket-advisory-icon .ico {
  font-size: 1.65rem;
}

.ticket-advisory-eyebrow,
.ticket-advisory-policy-heading {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--accent);
}

.ticket-advisory h3 {
  margin: 5px 0 8px;
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 700;
  line-height: 1.45;
}

.ticket-advisory p {
  margin: 0;
  color: var(--text-2);
  font-size: 0.85rem;
  line-height: 1.7;
}

.ticket-advisory-policy {
  gap: 12px;
  padding-left: 28px;
  border-left: 1px solid var(--line-strong);
}

.ticket-advisory-policy-icon {
  flex: 0 0 24px;
  margin-top: 1px;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1;
}

.ticket-advisory-policy-heading {
  margin-bottom: 7px;
  color: var(--text);
  letter-spacing: 0.07em;
}

@media (max-width: 820px) {
  .ticket-advisory {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 25px 24px;
  }

  .ticket-advisory-policy {
    padding: 19px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
  }
}

@media (max-width: 480px) {
  .ticket-advisory {
    margin-top: 20px;
    gap: 19px;
    padding: 22px 19px;
  }

  .ticket-advisory-main {
    gap: 13px;
  }

  .ticket-advisory-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .ticket-advisory-icon .ico {
    font-size: 1.35rem;
  }

  .ticket-advisory h3 {
    font-size: 1rem;
  }

  .ticket-advisory p {
    font-size: 0.82rem;
  }
}

/* ===============================================================
   GALERI UTAMA — kotak seragam, 10 gambar per halaman, slider panah
   Hanya #galleryPhotoGrid: poster Sleep Summit tidak ikut berubah.
   =============================================================== */
#galleryPhotoGrid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row;
  gap: 14px;
}
#galleryPhotoGrid > .gallery-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  grid-column: auto;
  grid-row: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  transition: box-shadow .25s ease, transform .25s ease;
}
#galleryPhotoGrid > .gallery-photo[hidden] {
  display: none !important;
}
#galleryPhotoGrid .gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#galleryPhotoGrid > .gallery-photo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
#galleryPhotoGrid > .gallery-photo:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.gallery-pagination[hidden] { display: none !important; }
.gallery-arrow {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.gallery-arrow svg { width: 20px; height: 20px; }
#galleryPrev svg { transform: rotate(180deg); }
.gallery-arrow:not(:disabled):hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.gallery-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery-arrow:disabled { cursor: not-allowed; opacity: .35; box-shadow: none; }
.gallery-page-label { min-width: 65px; text-align: center; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
/* Image zoom menyesuaikan layar HP dan laptop, tanpa terpotong */
#lightbox { padding: 70px 14px 24px; }
#lightbox #lbImg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 100px);
  object-fit: contain;
  border-radius: 10px;
}
body.lightbox-open { overflow: hidden; }
@media (max-width: 1050px) {
  #galleryPhotoGrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 720px) {
  #galleryPhotoGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 520px) {
  #galleryPhotoGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #galleryPhotoGrid > .gallery-photo { border-radius: 12px; }
  .gallery-pagination { margin-top: 24px; gap: 18px; }
  .gallery-arrow { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #galleryPhotoGrid > .gallery-photo, .gallery-arrow { transition: none; }
}

/* Event dengan satu jenis tiket (Incisal Halo, Veneer Masterclass) */
.prices.single-price {
  grid-template-columns: minmax(0, 460px);
}
.ed-note {
  margin: 20px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.ed-note a {
  font-weight: 600;
  color: var(--accent);
}

/* Judul event panjang di kartu: font lebih kecil agar tidak terpotong */
.ev-card h3.ev-title-long {
  font-size: clamp(1.35rem, 1.75vw, 1.6rem);
  line-height: 1.12;
}

/* Rundown dengan kolom jam (event Incisal Halo & Veneer) */
.slots.agenda-list.timed li { grid-template-columns: 130px minmax(0, 1fr); }
.slots.agenda-list.timed li:last-child { border-bottom: 0; }
.slots.agenda-list.timed .who { margin-top: 8px; }
@media (max-width: 680px) {
  .slots.agenda-list.timed li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
