/* ==========================================================================
   DAMARLAND INDONESIA — Design System
   Rebuilt from the legacy Mobirise site. No build step, no framework.
   --------------------------------------------------------------------------
   1.  Tokens
   2.  Reset & base
   3.  Layout primitives
   4.  Typography
   5.  Buttons
   6.  Header & navigation
   7.  Hero
   8.  Sections & headings
   9.  Cards
   10. Gallery & lightbox
   11. Video
   12. Accordion (FAQ)
   13. Logo strip / marquee
   14. Price tables
   15. Footer
   16. Floating WhatsApp
   17. Motion & reveal
   18. Responsive
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Brand — taken from the actual DAMAR Land logo & marketing material:
     gold wordmark on deep navy. The blue in the legacy stylesheet was only
     Mobirise's default button colour, so it is demoted to a rare accent. */
  --gold-400: #f4bd5e;
  --gold-500: #e8a33d;
  --gold-600: #c9861f;

  --navy-900: #0b1424;
  --navy-800: #121f36;
  --navy-700: #1b2c4a;
  --navy-600: #2b4166;

  /* Semantic aliases — the rest of the sheet speaks in these */
  --brand-500: var(--navy-700);
  --brand-600: var(--navy-800);
  --brand-700: var(--navy-900);
  --brand-050: #fdf4e3; /* warm cream tint */
  --accent: var(--gold-500);
  --accent-ink: #2a1d05;

  /* Surfaces (light) */
  --bg: #f7f5f1;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --surface-inverse: var(--navy-900);
  --tint: var(--brand-050);

  /* Text */
  --text: #14181f;
  --text-muted: #5d6470;
  --text-inverse: #ffffff;
  --text-on-dark-muted: #a9b4c7;

  /* Lines & shadows */
  --border: #e6e1d7;
  --border-strong: #d2cabb;
  --ring: rgba(232, 163, 61, 0.5);
  --shadow-sm: 0 1px 2px rgba(20, 24, 31, 0.06), 0 1px 3px rgba(20, 24, 31, 0.04);
  --shadow-md: 0 4px 12px rgba(20, 24, 31, 0.07), 0 2px 4px rgba(20, 24, 31, 0.04);
  --shadow-lg: 0 18px 40px -12px rgba(11, 20, 36, 0.22), 0 6px 16px rgba(20, 24, 31, 0.06);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Type */
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0: clamp(0.95rem, 0.91rem + 0.2vw, 1.05rem);
  --step-1: clamp(1.1rem, 1.03rem + 0.35vw, 1.3rem);
  --step-2: clamp(1.3rem, 1.16rem + 0.7vw, 1.75rem);
  --step-3: clamp(1.6rem, 1.35rem + 1.25vw, 2.5rem);
  --step-4: clamp(2rem, 1.5rem + 2.4vw, 3.5rem);
  --step-5: clamp(2.4rem, 1.6rem + 3.8vw, 4.75rem);

  /* Space */
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 7vw, 7rem);
  --maxw: 1200px;
  --maxw-wide: 1440px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #090f1a;
    --surface: #111a2b;
    --surface-2: #0d1523;
    --surface-inverse: #05090f;
    --tint: #17223a;

    --text: #eef2f9;
    --text-muted: #99a5b9;
    --text-inverse: #ffffff;
    --text-on-dark-muted: #8e9bb2;

    --border: #202b40;
    --border-strong: #2d3a53;
    --ring: rgba(232, 163, 61, 0.6);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.45);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 45px -14px rgba(0, 0, 0, 0.75);

    /* On dark surfaces the ink accent flips to gold so links stay legible */
    --brand-500: #f0b95c;
    --brand-600: #f7cd85;
    --brand-700: #fde3b5;
    --brand-050: #1d2637;
  }
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
iframe,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
  background-color: var(--surface-2);
}

a {
  color: var(--brand-500);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

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

::selection {
  background: var(--gold-500);
  color: var(--accent-ink);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--gold-500);
  color: var(--accent-ink);
  padding: 0.7rem 1.2rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  text-decoration: none;
}

/* ==========================================================================
   3. LAYOUT PRIMITIVES
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--wide {
  max-width: var(--maxw-wide);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--tint {
  background: var(--tint);
}

.section--surface {
  background: var(--surface);
}

.section--inverse {
  background: var(--surface-inverse);
  color: var(--text-inverse);
}

.section--inverse .section__title,
.section--inverse h1,
.section--inverse h2,
.section--inverse h3,
.section--inverse h4 {
  color: var(--text-inverse);
}

.section--inverse .section__lede,
.section--inverse .muted {
  color: var(--text-on-dark-muted);
}

.section--tight {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
}

/* Two brochures side by side even inside a narrow split column */
.grid--pair {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr));
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}

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

  .split--media-first > :first-child {
    order: -1;
  }

  .split--wide-text {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.center {
  text-align: center;
}

.center-x {
  margin-inline: auto;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.75rem; }
.mt-4 { margin-top: 2.5rem; }

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

/* ==========================================================================
   4. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.022em;
  text-wrap: balance;
  color: var(--text);
}

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

p {
  text-wrap: pretty;
}

.lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.6;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: var(--step--1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-500);
}

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

.eyebrow--plain::before {
  display: none;
}

.prose p + p {
  margin-top: 1rem;
}

.prose strong {
  font-weight: 700;
}

.hl {
  color: var(--brand-500);
}

.hl-gold {
  color: var(--gold-600);
}

/* Pipe-separated amenity lists from the legacy copy */
.pipes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
}

.pipes li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.8rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.pipes li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
  flex: none;
}

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--accent-ink);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  padding: 0.8rem 1.6rem;
  font-size: var(--step-0);
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease), border-color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--gold {
  --btn-bg: var(--gold-500);
  --btn-fg: var(--accent-ink);
}

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

.btn--navy {
  --btn-bg: var(--navy-700);
  --btn-fg: #fff;
}

.btn--navy:hover {
  --btn-bg: var(--navy-800);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--border-strong);
}

.btn--ghost:hover {
  --btn-bd: var(--brand-500);
  --btn-fg: var(--brand-500);
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  --btn-bg: rgba(255, 255, 255, 0.22);
}

.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: var(--step--1);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--step-1);
}

.btn--block {
  width: 100%;
}

.btn .ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: currentColor;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 650;
  color: var(--brand-500);
}

.link-arrow::after {
  content: "";
  width: 1em;
  height: 1em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.18s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   6. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header {
    background: var(--surface);
  }
}

.site-header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  height: 50px;
  width: 104px;
  object-fit: cover;
  object-position: left top;
  background: #000;
  border-radius: 8px;
  flex: none;
}

@media (max-width: 560px) {
  .brand__mark {
    height: 44px;
    width: 92px;
  }
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand__name {
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand__tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

/* Desktop nav */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--r-sm);
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--brand-500);
  background: var(--brand-050);
  text-decoration: none;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
}

/* Dropdown */
.has-menu {
  position: relative;
}

.has-menu__panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 264px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease),
    visibility 0.18s;
  z-index: 10;
}

.has-menu:hover .has-menu__panel,
.has-menu:focus-within .has-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.has-menu__panel a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.has-menu__panel a:hover {
  background: var(--brand-050);
  color: var(--brand-500);
  text-decoration: none;
}

.has-menu__panel a span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.caret {
  width: 0.7em;
  height: 0.7em;
  fill: currentColor;
  opacity: 0.7;
}

/* Header actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: none;
}

.header__actions .btn {
  display: none;
}

@media (min-width: 720px) {
  .header__actions .btn {
    display: inline-flex;
  }
}

/* Language toggle */
.lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 2px;
  background: var(--surface-2);
  flex: none;
}

.lang button {
  padding: 0.32rem 0.6rem;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease);
}

.lang button[aria-pressed="true"] {
  background: var(--gold-500);
  color: var(--accent-ink);
}

/* Burger */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  color: var(--text);
}

.burger:hover {
  border-color: var(--brand-500);
  color: var(--brand-500);
}

@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

.burger__box {
  display: grid;
  gap: 4px;
  width: 18px;
}

.burger__box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.burger[aria-expanded="true"] .burger__box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__box span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] .burger__box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  background: var(--surface);
  padding: 1.25rem var(--gutter) 3rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .drawer {
    display: none;
  }
}

.drawer__group + .drawer__group {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.drawer__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
}

.drawer__link:hover,
.drawer__link[aria-current="page"] {
  background: var(--brand-050);
  color: var(--brand-500);
  text-decoration: none;
}

body.is-locked {
  overflow: hidden;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
  position: relative;
  background: var(--surface-inverse);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      100deg,
      rgba(6, 12, 24, 0.94) 0%,
      rgba(6, 12, 24, 0.82) 42%,
      rgba(6, 12, 24, 0.45) 72%,
      rgba(6, 12, 24, 0.3) 100%
    ),
    radial-gradient(90% 70% at 85% 15%, rgba(232, 163, 61, 0.28), transparent 62%);
}

.hero__inner {
  position: relative;
  padding-block: clamp(4rem, 11vw, 8.5rem);
  max-width: 44rem;
}

/* On dark heroes the ink accent must flip to gold, otherwise the navy
   accent used in light mode disappears into the background. */
.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--gold-400);
}

.hero .eyebrow::before,
.page-hero .eyebrow::before {
  background: var(--gold-500);
}

.hero h1 {
  color: #fff;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}

.hero h1 .accent {
  color: var(--gold-500);
}

.hero__lede {
  font-size: var(--step-1);
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.stat__num {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gold-500);
  line-height: 1;
}

.stat__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}

/* Compact page hero for inner pages */
.page-hero {
  position: relative;
  background: var(--surface-inverse);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
  background: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
      90deg,
      rgba(6, 12, 24, 0.96) 0%,
      rgba(6, 12, 24, 0.9) 38%,
      rgba(6, 12, 24, 0.7) 68%,
      rgba(6, 12, 24, 0.58) 100%
    ),
    linear-gradient(0deg, rgba(6, 12, 24, 0.7), transparent 55%);
}

.page-hero__inner {
  position: relative;
  padding-block: clamp(2.75rem, 7vw, 5rem);
  max-width: 46rem;
}

.page-hero h1 {
  color: #fff;
  font-size: var(--step-4);
  margin-bottom: 0.85rem;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--step-1);
}

/* Breadcrumb */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  font-size: var(--step--1);
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.66);
}

.crumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  opacity: 0.5;
}

/* ==========================================================================
   8. SECTIONS & HEADINGS
   ========================================================================== */

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__title {
  font-size: var(--step-4);
  margin-top: 0.75rem;
}

.section__lede {
  font-size: var(--step-1);
  color: var(--text-muted);
  margin-top: 0.9rem;
}

/* Callout band (agent recruitment) */
.band {
  background: linear-gradient(
    115deg,
    var(--navy-900),
    var(--navy-700) 58%,
    var(--navy-600)
  );
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 195, 24, 0.34), transparent 68%);
}

@media (min-width: 860px) {
  .band {
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
  }
}

.band__text {
  position: relative;
  font-size: var(--step-1);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.94);
}

.band__text strong {
  color: #fff;
}

.band .btn {
  position: relative;
}

/* Quote */
.quote {
  border-left: 4px solid var(--gold-500);
  padding-left: 1.25rem;
  font-size: var(--step-1);
  font-style: italic;
  color: var(--text-muted);
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  font-size: var(--step-0);
  color: var(--text);
}

/* ==========================================================================
   9. CARDS
   ========================================================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.card__body {
  padding: 1.25rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.card__title {
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.card__text {
  color: var(--text-muted);
  font-size: var(--step-0);
}

.card__foot {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold-500);
  color: #21180a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: var(--r-pill);
}

.badge--sold {
  background: #d92d20;
  color: #fff;
}

.badge--soft {
  background: var(--brand-050);
  color: var(--brand-500);
}

.card__badges {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

/* Cluster card variant */
.cluster-card .card__media {
  aspect-ratio: 16 / 10;
}

.cluster-card__meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--brand-500);
}

/* Promo tile (the info-terjual banners) */
.promo-tile {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.promo-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-tile img {
  width: 100%;
}

/* Info panel */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.panel--tint {
  background: var(--tint);
  border-color: transparent;
}

.panel--inverse {
  background: var(--surface-inverse);
  border-color: transparent;
  color: var(--text-inverse);
}

.panel--inverse h3,
.panel--inverse h4 {
  color: var(--text-inverse);
}

/* Feature list with check marks */
.checks {
  display: grid;
  gap: 0.7rem;
}

.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: var(--step-0);
}

.checks li::before {
  content: "";
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: var(--brand-050) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%23e8a33d' stroke-width='3.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/0.78rem no-repeat;
}

/* Numbered steps */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand-500);
  background: var(--brand-050);
  border-radius: var(--r-pill);
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  flex: none;
}

/* ==========================================================================
   10. GALLERY & LIGHTBOX
   ========================================================================== */

.gallery {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.gallery--masonry {
  grid-auto-rows: 1fr;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.gallery__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.gallery__zoom {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #101521;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.gallery__item:hover .gallery__zoom,
.gallery__item:focus-visible .gallery__zoom {
  opacity: 1;
  transform: scale(1);
}

.gallery__zoom svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.gallery--portrait .gallery__item {
  aspect-ratio: 3 / 4;
}

.gallery--wide .gallery__item {
  aspect-ratio: 16 / 10;
}

/* Document variant — tall price-list posters shown in full, uncropped */
.gallery--doc {
  max-width: 52rem;
  margin-inline: auto;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  align-items: start;
}

.gallery--doc .gallery__item {
  aspect-ratio: auto;
  background: var(--surface);
}

.gallery--doc .gallery__item img {
  height: auto;
  object-fit: contain;
}

.gallery--doc .gallery__item::after {
  display: none;
}

.gallery--doc .gallery__zoom {
  opacity: 1;
  transform: none;
  background: rgba(11, 20, 36, 0.82);
  color: #fff;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: rgba(4, 7, 13, 0.94);
  padding: clamp(1rem, 4vw, 3rem);
}

.lightbox.is-open {
  display: grid;
}

.lightbox__stage {
  position: relative;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: grid;
  place-items: center;
  gap: 0.9rem;
}

.lightbox__img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--r-md);
  background: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__cap {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--step--1);
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 0.18s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__close {
  top: 1.1rem;
  right: 1.1rem;
}

.lightbox__nav svg,
.lightbox__close svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
}

.lightbox__nav--prev {
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--next {
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lightbox__nav {
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }

  .lightbox__nav--prev {
    left: calc(50% - 3.4rem);
  }

  .lightbox__nav--next {
    right: calc(50% - 3.4rem);
  }
}

/* ==========================================================================
   11. VIDEO
   ========================================================================== */

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.video-embed iframe,
.video-embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Facade — shows poster, loads iframe on click (keeps the page fast) */
.video-facade {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 0;
  cursor: pointer;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.5s var(--ease), opacity 0.3s var(--ease);
}

.video-facade:hover img {
  transform: scale(1.04);
  opacity: 1;
}

.video-facade__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.video-facade__play span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ff0000;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease);
}

.video-facade:hover .video-facade__play span {
  transform: scale(1.09);
}

.video-facade__play svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: #fff;
  margin-left: 3px;
}

.video-facade--portrait {
  aspect-ratio: 9 / 16;
  max-width: 22rem;
}

.video-facade__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(4, 7, 13, 0.9), transparent);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 650;
  text-align: left;
}

/* Inside a card the facade becomes the card's own media area */
.card .video-facade,
.card .video-embed {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* A portrait facade inside a card would make one grid row taller than the
   rest. Flatten it to 16:9 unless the card opts into portrait explicitly. */
.card .video-facade--portrait {
  aspect-ratio: 16 / 9;
  max-width: none;
}

.card--portrait .video-facade--portrait {
  aspect-ratio: 9 / 16;
}

.card .video-facade--portrait img {
  object-position: center 32%;
}

/* Map embed — the iframe must fill its panel, not collapse to its
   intrinsic 300x150 default. */
.map-panel {
  padding: 0;
  overflow: hidden;
  display: grid;
  min-height: 26rem;
}

.map-embed {
  width: 100%;
  height: 100%;
  min-height: 26rem;
  border: 0;
  display: block;
}

/* Video + copy row */
.media-row {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .media-row {
    grid-template-columns: 1.1fr 1fr;
  }

  .media-row--flip .media-row__text {
    order: -1;
  }
}

/* ==========================================================================
   12. ACCORDION (FAQ) — native <details>
   ========================================================================== */

.accordion {
  display: grid;
  gap: 0.75rem;
}

.acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.acc[open] {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-md);
}

.acc__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
  font-weight: 650;
  font-size: var(--step-0);
  line-height: 1.45;
  list-style: none;
}

.acc__q::-webkit-details-marker {
  display: none;
}

.acc__q:hover {
  color: var(--brand-500);
}

.acc__icon {
  flex: none;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--brand-050);
  color: var(--brand-500);
  display: grid;
  place-items: center;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.acc[open] .acc__icon {
  transform: rotate(180deg);
  background: var(--gold-500);
  color: var(--accent-ink);
}

.acc__icon svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: currentColor;
}

.acc__a {
  padding: 0 1.25rem 1.35rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.7;
}

.acc__a > * + * {
  margin-top: 0.85rem;
}

.acc__a strong {
  color: var(--text);
}

/* ==========================================================================
   13. LOGO STRIP / MARQUEE
   ========================================================================== */

.marquee {
  overflow: hidden;
  position: relative;
  padding-block: 0.5rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee--slow .marquee__track {
  animation-duration: 60s;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.logo-tile {
  flex: none;
  width: 168px;
  height: 88px;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.9rem;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.logo-tile:hover {
  border-color: var(--brand-500);
  transform: translateY(-2px);
}

.logo-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: none;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s var(--ease), opacity 0.25s var(--ease);
}

.logo-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ==========================================================================
   14. PRICE TABLES
   ========================================================================== */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}

table.price {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--step-0);
}

table.price caption {
  caption-side: top;
  text-align: left;
  padding: 1rem 1.25rem 0.5rem;
  font-weight: 700;
  color: var(--text-muted);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

table.price th,
table.price td {
  padding: 0.85rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.price thead th {
  background: var(--surface-2);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: sticky;
  top: 0;
  z-index: 1;
}

table.price tbody tr:hover {
  background: var(--brand-050);
}

table.price tbody tr:last-child td {
  border-bottom: 0;
}

table.price td strong {
  color: var(--text);
}

.price-tag {
  font-weight: 800;
  color: var(--brand-500);
  white-space: nowrap;
}

/* Brochure image panel (used on 3D layout / price lists) */
.brochure {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.brochure img {
  width: 100%;
}

/* Horizontal snap carousel — replaces the Embla dependency */
.rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem var(--gutter) 1.25rem;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.rail > * {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: min(88vw, 34rem);
}

.rail::-webkit-scrollbar {
  height: 8px;
}

.rail::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 8px;
}

.rail__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.site-footer {
  background: var(--surface-inverse);
  color: var(--text-on-dark-muted);
  padding-block: clamp(2.5rem, 5vw, 4rem) 1.75rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.86);
}

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

.site-footer h4 {
  color: #fff;
  font-size: var(--step-0);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .footer__grid {
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  }
}

.footer__brand .brand__name {
  color: #fff;
}

.footer__brand .brand__tag {
  color: var(--text-on-dark-muted);
}

.footer__list {
  display: grid;
  gap: 0.6rem;
  font-size: var(--step--1);
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social a {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.social a:hover {
  background: var(--gold-500);
  transform: translateY(-3px);
}

.social a:hover svg {
  fill: var(--accent-ink);
}

.social svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: #fff;
  transition: fill 0.2s var(--ease);
}

.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--step--1);
}

/* ==========================================================================
   16. FLOATING WHATSAPP
   ========================================================================== */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  border-radius: var(--r-pill);
  padding: 0.75rem 1.15rem;
  font-weight: 700;
  font-size: var(--step--1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.42);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.03);
  color: #fff;
  text-decoration: none;
}

.wa-float svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: #fff;
  flex: none;
}

.wa-float span {
  display: none;
}

@media (min-width: 560px) {
  .wa-float span {
    display: inline;
  }
}

/* Back to top */
.to-top {
  position: fixed;
  left: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  color: var(--brand-500);
  border-color: var(--brand-500);
}

.to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

/* ==========================================================================
   17. MOTION & REVEAL
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.4s; }

/* Language swap: hide the inactive language without a flash */
html[lang="id"] [data-lang-only="en"],
html[lang="en"] [data-lang-only="id"] {
  display: none !important;
}

/* ==========================================================================
   18. RESPONSIVE & PREFERENCES
   ========================================================================== */

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .band .btn {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .marquee__track {
    animation: none;
  }
}

@media print {
  .site-header,
  .wa-float,
  .to-top,
  .drawer,
  .lightbox {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
