/* =========================================================
   Kooxt Travel — Luxe (Gemini-inspired)
   Deep charcoal + muted gold + glass
   ========================================================= */

:root {
  --bg: #0a1628;
  --bg-mid: #0e2240;
  --bg-elev: #141f33;
  --blue: #0a3d91;
  --blue-glow: rgba(10, 61, 145, 0.42);
  --ink: #f0f4fc;
  --ink-dim: rgba(240, 244, 252, 0.62);
  --gold: #c6a15b;
  --gold-soft: #d4b57a;
  --gold-dim: rgba(198, 161, 91, 0.35);
  --teal: #1a4a6e;
  --teal-deep: #0f2e4a;
  --line: rgba(240, 244, 252, 0.12);
  --glass: rgba(10, 22, 40, 0.55);
  --glass-strong: rgba(14, 34, 64, 0.72);
  --display: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --sans: "Montserrat", "Noto Sans SC", sans-serif;
  --max: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.25rem);
  --nav: 4.6rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 0.95rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(ellipse 120% 70% at 50% -10%, var(--blue-glow) 0%, transparent 52%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(198, 161, 91, 0.08) 0%, transparent 50%),
    linear-gradient(165deg, #0a1628 0%, #0e2240 38%, #111827 72%, #0f1a2e 100%);
  background-attachment: fixed;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10, 61, 145, 0.28) 0%, transparent 48%),
    radial-gradient(ellipse 50% 35% at 0% 60%, rgba(37, 99, 235, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 30% at 100% 90%, rgba(198, 161, 91, 0.06) 0%, transparent 50%);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 50vh;
}

img, .media {
  max-width: 100%;
  display: block;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

.wrap,
.rail {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.rail--bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-inline: auto;
}

/* —— Slots —— */
.slot {
  width: 100%;
  height: 100%;
  min-height: 6rem;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(14, 34, 64, 0.85), rgba(10, 22, 40, 0.9)),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(10,61,145,0.08) 10px, rgba(10,61,145,0.08) 20px);
  border: 1px dashed rgba(198, 161, 91, 0.28);
  color: var(--gold-soft);
}
.slot__label {
  display: grid;
  gap: 0.25rem;
  text-align: center;
  padding: 0.75rem;
}
.slot__label em {
  font-family: var(--display);
  font-style: normal;
  font-size: clamp(1.05rem, 3vw, 1.45rem);
  font-weight: 600;
  color: var(--gold);
}
.slot__label small {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Nav —— */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav--home {
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav--home.is-scrolled,
.nav--inner {
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.nav__brand { justify-self: start; }
.nav__name {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.nav__name em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
}

.nav__menu {
  display: none;
  gap: 1.5rem;
  justify-self: center;
}
.nav__menu a,
.nav__menu .nav__linkbtn {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.78);
  transition: color 0.25s;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.nav__menu a:hover,
.nav__menu .nav__linkbtn:hover { color: var(--gold); }

.nav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  justify-self: end;
}

.nav__langpair {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(244, 239, 230, 0.4);
}
.nav__langpair i {
  font-style: normal;
  opacity: 0.5;
}
.nav__langpair .is-on { color: var(--ink); }

.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.55rem;
  padding: 0 1.15rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(10, 61, 145, 0.85), rgba(14, 34, 64, 0.95));
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.btn-pill:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(10, 61, 145, 0.35);
}
.btn-pill--solid {
  background: linear-gradient(145deg, rgba(10, 61, 145, 0.95), #0a2858);
  min-height: 2.9rem;
  padding: 0 1.4rem;
  font-size: 0.7rem;
}

.kicker {
  margin: 0 0 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  margin: 0.7rem 0 0;
  max-width: 32rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
  font-weight: 400;
}

/* —— Home hero: full viewport, full width only —— */
.page-home .hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  aspect-ratio: auto;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  background: var(--bg);
}

.page-home .hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
  width: 100%;
  height: 100%;
}
.page-home .hero__media .media,
.page-home .hero__media .slot {
  position: absolute !important;
  inset: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  /* Always fill the viewport edge-to-edge */
  object-fit: cover !important;
  object-position: center center !important;
}
.page-home .hero__media .media {
  transform: none;
  transition: none;
}
.page-home .hero.is-ready .hero__media .media {
  transform: none;
}

.page-home .hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0) 0%,
    rgba(10, 22, 40, 0.2) 50%,
    rgba(10, 22, 40, 0.65) 85%,
    var(--bg) 100%
  );
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.38) 45%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, transparent 22%, transparent 78%, rgba(0, 0, 0, 0.2) 100%);
}

.page-home .hero__copy {
  position: relative;
  z-index: 3;
  width: min(100% - (var(--pad) * 2), 42rem);
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: center;
  align-self: center;
  transform: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}
.page-home .hero__brand {
  font-size: clamp(2.8rem, 9vw, 5.4rem);
}
.page-home .hero__line {
  margin-top: 1.1rem;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
}
.page-home .hero__lead {
  margin-top: 0.75rem;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  line-height: 1.6;
  max-width: 36rem;
  color: rgba(244, 239, 230, 0.9);
  font-weight: 500;
}
.page-home .hero__copy .btn-pill {
  margin-top: 1.35rem;
  min-height: 3.1rem;
  padding: 0.85rem 1.55rem;
  font-size: 0.82rem;
}
.page-home .dest__intro h2 {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
}
.page-home .dest__intro .lede {
  font-size: 1.05rem;
}
.page-home .why__item h3 {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
}
.page-home .why__item p {
  font-size: 1rem;
}
.page-home .why .kicker {
  font-size: 0.82rem;
}

/* —— Home body: boxed content below hero —— */
.page-home .dest {
  position: relative;
  z-index: 4;
  width: 100%;
  margin: 0;
  padding: 2rem 0 2.5rem;
  background: var(--bg);
}
.page-home .dest__box {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
}
.page-home .dest__intro {
  margin: 0 0 1.35rem;
  text-align: center;
}
.page-home .dest__intro h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  color: var(--gold);
  font-weight: 600;
}
.page-home .dest__intro .lede {
  margin-inline: auto;
}

body.page-home {
  background: var(--bg);
  background-attachment: scroll;
  overflow-x: hidden;
}
body.page-home .atmosphere {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(10, 61, 145, 0.22) 0%, transparent 48%),
    radial-gradient(ellipse 50% 30% at 0% 70%, rgba(37, 99, 235, 0.08) 0%, transparent 55%);
}

.page-home .why {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto 1rem;
  padding: 0 0 1rem;
  background: transparent;
}
.page-home .why__inner {
  width: 100%;
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.55) 0%, rgba(17, 24, 39, 0.62) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.page-home .foot {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 1rem auto 2.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.55) 0%, rgba(17, 24, 39, 0.65) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Legacy base hero (inner pages unused) kept light */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 16rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0a1628;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a1628;
}
.hero__media .media,
.hero__media .slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  aspect-ratio: auto !important;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
}
.hero__media .media {
  transform: none;
  transition: none;
}
.hero.is-ready .hero__media .media {
  transform: none;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.42) 0%, rgba(10, 22, 40, 0.08) 42%, rgba(10, 22, 40, 0.2) 72%, rgba(10, 22, 40, 0.55) 100%),
    linear-gradient(90deg, rgba(10, 22, 40, 0.18) 0%, transparent 28%, transparent 72%, rgba(10, 22, 40, 0.18) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__copy {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--pad) * 2), 44rem);
  margin: 0 auto;
  padding: calc(var(--nav) + 0.75rem) 0 clamp(5.5rem, 14vw, 8.5rem);
  text-align: center;
}

.hero__brand {
  font-size: clamp(2.4rem, 9vw, 5rem);
  line-height: 0.88;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__brand span { display: block; }
.hero__brand em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
  letter-spacing: 0.12em;
  font-size: 0.72em;
}

.hero__line {
  margin: 1.25rem auto 0;
  max-width: 28ch;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.hero__lead {
  margin: 0.75rem auto 0;
  max-width: 34rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(244, 239, 230, 0.78);
  line-height: 1.65;
}

.hero__copy .btn-pill {
  margin-top: 1.35rem;
}

/* —— Destinations —— */
.dest {
  position: relative;
  z-index: 4;
  margin-top: 0;
  padding: 0 0 2.5rem;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}

.dest__intro {
  margin: 0 0 1.35rem;
  text-align: center;
}
.dest__intro h2 {
  font-size: clamp(2.2rem, 5.5vw, 3.2rem);
  color: var(--gold);
  font-weight: 600;
}
.dest__intro .lede {
  margin-inline: auto;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(9.5rem, auto);
  gap: 0.75rem;
}

.mosaic__cell {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(14, 34, 64, 0.55);
  color: #fff;
  min-height: 9.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(198, 161, 91, 0.18);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.mosaic__cell:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 161, 91, 0.45);
  box-shadow: 0 22px 50px rgba(10, 61, 145, 0.28);
}

/* Mobile puzzle spans */
.mosaic__cell--xl {
  grid-column: 1 / -1;
  min-height: 16rem;
  aspect-ratio: 4 / 5;
}
.mosaic__cell--wide,
.mosaic__cell--wide3 {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  min-height: 10rem;
}
.mosaic__cell--sm {
  aspect-ratio: 1 / 1;
}

.mosaic__media {
  position: absolute;
  inset: 0;
}
.mosaic__media .media,
.mosaic__media .slot {
  width: 100%;
  height: 100%;
  aspect-ratio: auto !important;
  border: 0;
  border-radius: 0;
  min-height: 100%;
}
.mosaic__cell .media {
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
  filter: brightness(0.92);
}
.mosaic__cell:hover .media {
  transform: scale(1.06);
  filter: brightness(1.05);
}

.mosaic__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(10, 22, 40, 0.88) 100%);
  pointer-events: none;
}

.mosaic__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.15rem 1.2rem;
}
.mosaic__meta small {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.mosaic__meta h3 {
  font-size: clamp(1.1rem, 2.8vw, 1.65rem);
  font-weight: 600;
  color: #fff;
}
.mosaic__cell--xl .mosaic__meta h3 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}
.mosaic__soon {
  display: inline-block;
  margin-top: 0.4rem;
  font-style: normal;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.4);
}
.mosaic__cell.is-soon { cursor: default; }
.mosaic__cell.is-soon:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(198, 161, 91, 0.14);
}

/* —— Why —— */
.why {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin-inline: auto;
}
.why__inner {
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
  text-align: center;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.55) 0%, rgba(17, 24, 39, 0.62) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.why__grid {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}
.why__item h3 {
  margin: 0.85rem 0 0.4rem;
  font-size: 1.35rem;
  color: var(--gold);
}
.why__item p {
  margin: 0;
  color: var(--ink-dim);
  font-size: 0.88rem;
}
.why__icon {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid var(--gold-dim);
  border-radius: 999px;
  color: var(--gold);
  font-size: 1.1rem;
}

/* —— Shared sections (inner pages) —— */
.map-block { margin: 0; display: grid; gap: 0.75rem; width: 100%; }
.map-block__label {
  margin: 0;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.map-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 18rem;
  overflow: hidden;
  background: rgba(14, 34, 64, 0.7);
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.2) contrast(1.05);
}
.map-nav { display: grid; grid-template-columns: 1fr; gap: 0.65rem; }
.map-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(198, 161, 91, 0.2);
  background: rgba(14, 34, 64, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  border-radius: 999px;
}
.map-nav__btn:hover { border-color: var(--gold); color: var(--gold); }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.75rem 1.3rem;
  border: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
}
.cta--ember {
  background: linear-gradient(145deg, rgba(10, 61, 145, 0.95), #0a2858);
  color: #fff;
  border: 1px solid var(--gold-dim);
}
.cta--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  width: fit-content;
  backdrop-filter: blur(10px);
}
.cta--wide { width: 100%; }
.cta--ink {
  background: var(--gold);
  color: #111;
  width: 100%;
}
.cta--danger { background: #8b1e1e; color: #fff; width: 100%; }

.splash {
  position: relative;
  min-height: min(58vh, 30rem);
  color: #fff;
  overflow: hidden;
  margin: 0 0 0.5rem;
}
.splash__media { position: absolute; inset: 0; }
.splash__media .media,
.splash__media .slot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto !important;
  border: 0;
}
.splash__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.4) 0%, rgba(10, 22, 40, 0.82) 100%);
}
.splash__body {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  min-height: min(58vh, 30rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: calc(var(--nav) + 1.5rem) 0 2.25rem;
  gap: 0.75rem;
}
.splash__body h1 {
  font-size: clamp(2.6rem, 8vw, 4rem);
  color: var(--gold);
}
.splash__body .quote {
  margin: 0;
  max-width: 30rem;
  font-size: 1rem;
  color: rgba(244, 239, 230, 0.8);
  border-left: 1px solid var(--gold);
  padding-left: 0.9rem;
}

.section { padding: 1.75rem 0; }
.section--spots { padding-top: 0.5rem; }
.section h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--gold);
}

.prose {
  font-size: 1.02rem;
  color: var(--ink-dim);
  white-space: pre-line;
  line-height: 1.8;
  max-width: 40rem;
  word-break: break-word;
}

.transit {
  margin-top: 2rem;
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.72) 0%, rgba(17, 24, 39, 0.78) 100%);
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.transit h2 { color: var(--gold); margin-bottom: 0.3rem; }
.transit .sub {
  margin: 0 0 1rem;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 600;
}
.transit__grid { display: grid; gap: 0.7rem; }
.transit__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}
.transit__item:first-of-type { border-top: none; padding-top: 0; }
.transit__item i { width: 2rem; text-align: center; color: var(--gold); }
.transit__item strong { display: block; font-size: 0.9rem; }
.transit__item span {
  font-size: 0.66rem;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.filters {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 0 1.15rem;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  padding: 0.45rem 0;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.filter.is-on {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.spots { display: grid; gap: 1.15rem; }
.spot {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.72) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid rgba(198, 161, 91, 0.16);
  padding: 0 !important;
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.spot:hover {
  transform: translateY(-3px);
  border-color: rgba(198, 161, 91, 0.4);
  box-shadow: 0 16px 36px rgba(10, 61, 145, 0.22);
}
.spot__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #0a1628;
  border-radius: 0;
}
.spot__media .media,
.spot__media .slot,
.spot__media img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
  object-position: center center;
  display: block;
}
.spot__badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 1;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(10, 61, 145, 0.88);
  border: 1px solid var(--gold-dim);
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
}
.spot__body { padding: 0.85rem 0.95rem 1rem; }
.spot__body h3 { font-size: 1.3rem; color: var(--ink); }
.spot__alt {
  margin: 0.25rem 0 0.4rem;
  font-size: 0.66rem;
  color: var(--ink-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.spot__txt {
  margin: 0 0 0.65rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spot__link {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.empty {
  padding: 2.5rem 1rem;
  text-align: center;
  color: var(--ink-dim);
  border: 1px dashed var(--line);
  font-weight: 500;
  border-radius: var(--radius);
}

.gallery {
  position: relative;
  width: 100%;
  height: min(56vw, 20rem);
  min-height: 13rem;
  max-height: 24rem;
  background: #0a1628;
  overflow: hidden;
}
.gallery .swiper,
.gallery .swiper-slide,
.gallery__empty { height: 100%; width: 100%; }
.gallery .media,
.gallery .slot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto !important;
  border: 0;
  min-height: 100%;
}
.gallery__bar {
  position: absolute;
  top: 1rem;
  left: var(--pad);
  right: var(--pad);
  z-index: 6;
}

.sheet {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: 1.35rem 0 0;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  margin: 0 0 0.7rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.tags b { color: var(--gold); }
.sheet h1 {
  font-size: clamp(1.85rem, 5vw, 2.6rem);
  color: var(--gold);
  word-break: break-word;
}
.sheet .alt {
  margin: 0.4rem 0 1rem;
  font-size: 0.72rem;
  color: var(--ink-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.sheet .body {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--ink-dim);
  white-space: pre-line;
  line-height: 1.8;
  word-break: break-word;
}

.comments {
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0 0.25rem;
}
.comments h2 {
  font-size: 1.7rem;
  margin: 1.5rem 0 1rem;
  color: var(--gold);
}
.comments h2 em {
  font-style: italic;
  color: var(--ink-dim);
  font-weight: 500;
  font-size: 1rem;
}

.panel {
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.72) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid rgba(198, 161, 91, 0.16);
  padding: 1.1rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.form-grid { display: grid; gap: 0.8rem; }
.field label {
  display: block;
  margin: 0 0 0.28rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.7rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(198, 161, 91, 0.18);
  background: rgba(10, 22, 40, 0.65);
  color: var(--ink);
  outline: none;
  border-radius: 0.55rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198, 161, 91, 0.15);
}

.social-grid { display: grid; gap: 0.5rem; }
.social-input { position: relative; }
.social-input i,
.social-input .xhs {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.social-input .xhs { color: #dc2626; font-weight: 800; font-size: 0.68rem; }
.social-input input { padding-left: 2.2rem; }

.comment-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.comment-user {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-width: 0;
}
.comment-user .flag { font-size: 1.5rem; }
.comment-user strong { display: block; word-break: break-word; }
.stars { color: var(--gold); font-size: 0.7rem; }
.comment-more { color: var(--ink-dim); padding: 0.5rem; }
.comment-body {
  margin-top: 0.75rem;
  color: var(--ink-dim);
  white-space: pre-line;
  word-break: break-word;
}
.comment-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}
.comment-socials a {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: rgba(14, 34, 64, 0.8);
  border-radius: 999px;
  border: 1px solid rgba(198, 161, 91, 0.2);
}

.auth-wrap {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: calc(var(--nav) + 1.5rem) var(--pad) 2rem;
}
.auth-panel {
  width: min(100%, 24rem);
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.82) 0%, rgba(17, 24, 39, 0.9) 100%);
  border: 1px solid rgba(198, 161, 91, 0.22);
  padding: 1.5rem;
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.auth-panel h1 {
  text-align: center;
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
  color: var(--gold);
}
.auth-panel .hint {
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.9rem;
  margin: 0 0 1rem;
}
.alert {
  background: #2a1212;
  color: #f5a8a8;
  padding: 0.65rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: 0.5rem;
}
.stack { display: flex; flex-direction: column; gap: 0.75rem; }

.foot {
  position: relative;
  z-index: 1;
  width: min(100% - (var(--pad) * 2), var(--max));
  margin: 1rem auto 2.5rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(26, 35, 50, 0.55) 0%, rgba(17, 24, 39, 0.65) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.foot__inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}
.foot__left {
  width: 100%;
  text-align: center;
}
.foot__brand {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--gold);
}
.foot__brand em {
  font-style: italic;
  color: var(--gold-soft);
  font-weight: 500;
}
.foot__copy {
  margin: 0;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}
.foot__owner {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute, rgba(232, 224, 208, 0.55));
  font-weight: 500;
  text-transform: none;
}
.site-notice {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.site-notice[hidden] { display: none !important; }
.site-notice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.72);
  backdrop-filter: blur(8px);
}
.site-notice__panel {
  position: relative;
  z-index: 1;
  width: min(26rem, 100%);
  padding: 1.75rem 1.6rem 1.5rem;
  border: 1px solid rgba(212, 175, 105, 0.35);
  border-radius: 1.1rem;
  background: linear-gradient(160deg, rgba(18, 32, 58, 0.96), rgba(10, 18, 36, 0.98));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
}
.site-notice__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.site-notice__title {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 600;
  color: var(--cream, #f3ead8);
}
.site-notice__body {
  margin: 0 0 1.35rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-mute, rgba(232, 224, 208, 0.78));
}
.site-notice__ok { margin: 0 auto; }

.fab-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 161, 91, 0.45);
  border-radius: 999px;
  background: rgba(14, 34, 64, 0.88);
  color: var(--gold);
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s var(--ease), background 0.25s, opacity 0.25s, visibility 0.25s;
}
.fab-top:hover {
  transform: scale(1.06);
  background: rgba(198, 161, 91, 0.95);
  color: #111;
}
.fab-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  max-width: calc(100% - 2rem);
  background: rgba(14, 34, 64, 0.92);
  color: var(--ink);
  border: 1px solid var(--gold-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.2rem;
  font-weight: 600;
  font-size: 0.84rem;
  z-index: 100;
  text-align: center;
  border-radius: 999px;
}

.nav__lang--on-media {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.45rem 0.75rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (min-width: 700px) {
  .nav__menu { display: flex; }
  .mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(11rem, 12.5rem);
    gap: 0.9rem;
  }
  .mosaic__cell {
    min-height: 0;
    aspect-ratio: auto;
    height: 100%;
  }
  .mosaic__cell--xl {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .mosaic__cell--wide {
    grid-column: span 2;
  }
  .mosaic__cell--wide3 {
    grid-column: span 2;
  }
  .mosaic__cell--sm {
    grid-column: span 1;
  }
  .why__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .map-nav { grid-template-columns: repeat(3, 1fr); }
  .transit__grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .transit__item {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 0 0 0 1rem;
  }
  .transit__item:first-of-type { border-left: none; padding-left: 0; }
  .spots { grid-template-columns: 1fr 1fr; }
  .form-grid--2 { grid-template-columns: 1fr 1fr; }
  .social-grid { grid-template-columns: 1fr 1fr; }
  .head-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
  }
  .head-row h2 { margin-bottom: 0; }
  .filters { margin-bottom: 0; }
}

@media (min-width: 1000px) {
  /* 6-col puzzle — no holes:
     [KL 2x2][Penang 2x1][Johor 2x1]
             [Melaka][Perak][Pahang 2x1]
     [Kedah 2x1][Kelantan][NS][Terengganu 2x1]
     [Perlis][Sabah 2x1][Sarawak 3x1]
  */
  .mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(11.5rem, 13rem));
    gap: 1rem;
  }
  .mosaic__cell--xl {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }
  .mosaic__cell--wide,
  .mosaic__cell--wide3,
  .mosaic__cell--sm {
    grid-column: auto;
    grid-row: auto;
  }
  /* Explicit placement so order matches catalog */
  .mosaic__cell--xl { grid-area: 1 / 1 / 3 / 3; }
  .mosaic > .mosaic__cell:nth-child(2) { grid-area: 1 / 3 / 2 / 5; } /* Penang */
  .mosaic > .mosaic__cell:nth-child(3) { grid-area: 1 / 5 / 2 / 7; } /* Johor */
  .mosaic > .mosaic__cell:nth-child(4) { grid-area: 2 / 3 / 3 / 4; } /* Melaka */
  .mosaic > .mosaic__cell:nth-child(5) { grid-area: 2 / 4 / 3 / 5; } /* Perak */
  .mosaic > .mosaic__cell:nth-child(6) { grid-area: 2 / 5 / 3 / 7; } /* Pahang */
  .mosaic > .mosaic__cell:nth-child(7) { grid-area: 3 / 1 / 4 / 3; } /* Kedah */
  .mosaic > .mosaic__cell:nth-child(8) { grid-area: 3 / 3 / 4 / 4; } /* Kelantan */
  .mosaic > .mosaic__cell:nth-child(9) { grid-area: 3 / 4 / 4 / 5; } /* NS */
  .mosaic > .mosaic__cell:nth-child(10) { grid-area: 3 / 5 / 4 / 7; } /* Terengganu */
  .mosaic > .mosaic__cell:nth-child(11) { grid-area: 4 / 1 / 5 / 2; } /* Perlis */
  .mosaic > .mosaic__cell:nth-child(12) { grid-area: 4 / 2 / 5 / 4; } /* Sabah */
  .mosaic > .mosaic__cell:nth-child(13) { grid-area: 4 / 4 / 5 / 7; } /* Sarawak */
  .spots { grid-template-columns: repeat(3, 1fr); }
  .gallery {
    height: 26rem;
    max-height: 26rem;
  }
}

@media (max-width: 699px) {
  .nav__inner {
    grid-template-columns: 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mosaic__cell:hover,
  .spot:hover,
  .btn-pill:hover { transform: none; }
  .mosaic__cell:hover .media,
  .hero.is-ready .hero__media .media { transform: none; }
}
