/* ================================================================
   AnabhiDev-WEB — YKA Residence Jimbaran · Official Production Stylesheet
   CSS3 · Custom Properties · Self-Hosted Variable Fonts (WOFF2)
   Development · Anabhi Dev
   Version   : 2.5.10
   Generated : Thursday, 8 October 2026, 20:10:22 WITA
   Palette   : Deep Espresso (#1A130E), Warm Linen/Sand (#FAF7F2), Warm Brass (#C8A36E)
   Notes     : v2.5.0 — PageSpeed/CWV overhaul (self-hosted fonts, cinematic
               hero crossfade, WCAG ink tokens, reduced-motion support)
   ================================================================ */

/* Self-hosted variable fonts (latin subset) — removes the render-blocking
   third-party fonts.googleapis.com request. Weight ranges mirror the
   previous Google Fonts request so rendering stays identical. */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Dark Tone Tokens */
  --bg-dark: #1A130E;
  --bg-dark-surface: #241A13;
  --bg-dark-card: #2E2219;
  --bg-dark-card-hover: #382A20;
  --text-dark-main: #FFFFFF;
  --text-dark-muted: #C7BCB3;
  --text-dark-dim: #A59A90; /* v2.5.0: was #96897E (4.06:1 on hover cards) → ≥5:1 AA */
  --border-dark-subtle: rgba(200, 163, 110, 0.18);
  --border-dark-card: rgba(200, 163, 110, 0.25);

  /* Light Tone Tokens (Warm Sand Linen / Travertine Ivory) */
  --bg-light: #FAF7F2;
  --bg-light-surface: #FFFFFF;
  --bg-light-card: #FFFFFF;
  --bg-light-card-hover: #F7EFE8;
  --text-light-main: #1E1510;
  --text-light-muted: #5A4D44;
  --text-light-dim: #71645B; /* v2.5.0: was #84756A (4.15:1) → ≥5:1 AA */
  --border-light-subtle: rgba(179, 134, 74, 0.16);
  --border-light-card: rgba(179, 134, 74, 0.24);

  /* Universal Accent Tokens */
  --accent-gold: #C8A36E;
  --accent-gold-light: #E0C294;
  --accent-gold-dark: #A37E48;
  --accent-gold-glow: rgba(200, 163, 110, 0.2);

  --accent-terracotta: #C86D51;
  --accent-terracotta-glow: rgba(200, 109, 81, 0.22);

  --accent-green: #25D366;
  --accent-green-bg: rgba(37, 211, 102, 0.12);

  /* Accessible text "inks" (v2.5.0) — accent colours used as TEXT switch
     shade per section tone so every accent label clears WCAG AAA (7:1;
     4.5:1 for large display text). Defaults = dark tone (body is dark). */
  --ink-gold: #E0C294;          /* 8.1–10.8:1 on espresso surfaces */
  --ink-gold-display: #E0C294;
  --ink-terracotta: #E0AE9E;    /* 7.0–9.4:1 on espresso surfaces */
  --ink-green: #25D366;         /* 7.8–9.3:1 on espresso surfaces */
  --accent-terracotta-deep: #8D432D; /* white text on it = 7.06:1 */

  /* WhatsApp CTA — brand green kept, espresso ink instead of white
     (white on #25D366 = 1.98:1 → espresso = 9.65:1, hover 7.51:1) */
  --wa-green: #25D366;
  --wa-green-hover: #20BA5A;
  --wa-ink: #140E0A;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 24px rgba(200, 163, 110, 0.25);
  --shadow-light-card: 0 10px 30px rgba(36, 26, 19, 0.06);

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1440px;
  --header-height: 84px;
  --topbar-height: 38px; /* .top-bar rendered height (hidden ≤640px) */

  /* Motion */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Full-Width Fluid Rules */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-dark-main);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  position: relative;
  background-color: var(--bg-dark);
}


img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* <picture> wrappers (AVIF/WebP sources, v2.5.0) generate no box, so every
   existing img rule (object-fit, 100% sizing) keeps working unchanged. */
picture {
  display: contents;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

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

button {
  cursor: pointer;
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #110B08;
}
::-webkit-scrollbar-thumb {
  background: #382A20;
  border: 2px solid #110B08;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Utility Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.5vw, 48px);
}

/* ==========================================================================
   ALTERNATING SECTION ARCHITECTURE (SELANG-SELING GELAP & TERANG)
   ========================================================================== */

/* 1. Dark Section (Espresso Luxury) */
.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-dark-main);
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;

  --bg-card: var(--bg-dark-card);
  --bg-card-hover: var(--bg-dark-card-hover);
  --text-main: var(--text-dark-main);
  --text-muted: var(--text-dark-muted);
  --text-dim: var(--text-dark-dim);
  --border-card: var(--border-dark-card);
  --border-subtle: var(--border-dark-subtle);
  --card-shadow: var(--shadow-md);
}

/* 2. Light Section (Warm Sand Linen / Travertine Ivory) */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-main);
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;

  --bg-card: var(--bg-light-card);
  --bg-card-hover: var(--bg-light-card-hover);
  --text-main: var(--text-light-main);
  --text-muted: var(--text-light-muted);
  --text-dim: var(--text-light-dim);
  --border-card: var(--border-light-card);
  --border-subtle: var(--border-light-subtle);
  --card-shadow: var(--shadow-light-card);

  /* Light-tone inks: AAA (≥7:1) on #FAF7F2 / #FFFFFF / #F7EFE8 */
  --ink-gold: #664C27;
  --ink-gold-display: #8B6735; /* large display numbers: ≥4.5:1 (AAA large) */
  --ink-terracotta: #813D29;
  --ink-green: #105D2D;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(0.75rem, 0.85vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.section-light .eyebrow {
  color: var(--ink-terracotta); /* v2.5.0: #C86D51 was 3.41:1 → 7.4:1 */
}

.eyebrow::before, .eyebrow::after {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
  vertical-align: middle;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  color: var(--text-main);
  text-wrap: balance;
}

.section-desc {
  font-size: clamp(0.9375rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.72;
  max-width: 660px;
  margin-inline: auto;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.top-bar {
  background: #110B08;
  border-bottom: 1px solid var(--border-dark-subtle);
  padding: 8px 16px;
  font-size: 0.8125rem;
  color: var(--accent-gold-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 101;
}

.top-bar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-bar a:hover {
  color: #FFFFFF;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  /* v2.5.0: backdrop-filter removed — behind a 96–98% opaque fill the blur
     was invisible yet forced a full GPU re-blur on every scroll frame. */
  background: rgba(26, 19, 14, 0.96);
  border-bottom: 1px solid var(--border-dark-subtle);
  z-index: 1000;
  transition: background-color var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: var(--accent-gold);
  background: rgba(22, 16, 11, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.5vw, 48px);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: none;
  background: transparent;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
}


.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  line-height: 1.1;
  white-space: nowrap; /* v2.5.0: never break the wordmark into 2 lines */
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #D1C7BD;
  position: relative;
  padding-block: 6px;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold-light);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Luxury Language Switcher (ID / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(36, 26, 19, 0.9);
  border: 1px solid rgba(200, 163, 110, 0.4);
  border-radius: var(--radius-full);
  padding: 3px 6px;
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #A3968C;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

.lang-btn:hover {
  color: #FFFFFF;
}

.lang-btn.active {
  background: var(--accent-gold);
  color: #140E0A;
  box-shadow: 0 2px 8px rgba(200, 163, 110, 0.35);
}

.lang-sep {
  font-size: 0.75rem;
  color: rgba(200, 163, 110, 0.4);
  user-select: none;
}

/* Primary Luxury Gold Button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-dark));
  color: #140E0A;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold-light);
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-light), var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(200, 163, 110, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  background: var(--wa-green);
  color: var(--wa-ink); /* v2.5.0: white on WA green failed WCAG (1.98:1) → 9.65:1 */
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: background-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.btn-whatsapp:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* v2.5.1 → v2.5.3: key facts row (index #kamar-highlight) as an espresso panel
   inside the light section. Dark inks are re-scoped locally so the gold numerals
   read ≥8:1. .stat-num is left-aligned and its width frozen by main.js before
   counting, so the count-up cannot shift layout. */
.stats-row {
  --ink-gold-display: #E0C294;
  --text-muted: var(--text-dark-muted);
  --border-subtle: var(--border-dark-subtle);

  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 clamp(48px, 6vw, 80px);
  padding: clamp(28px, 4vw, 52px) clamp(12px, 2.5vw, 32px);
  border-radius: 20px;
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(200, 163, 110, 0.16) 0%, rgba(200, 163, 110, 0) 60%),
    var(--bg-dark);
  box-shadow: 0 24px 60px -24px rgba(26, 19, 14, 0.55);
  overflow: hidden;
}

.stats-row::before {
  content: "";
  position: absolute;
  inset: 0 12% auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C8A36E, transparent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  text-align: center;
}

.stat-item + .stat-item {
  border-left: 1px solid var(--border-subtle);
}

.stat-value {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-serif);
  font-size: clamp(3rem, 1.9rem + 3.6vw, 5.25rem);
  font-weight: 600;
  line-height: 0.95;
  color: var(--ink-gold-display);
  font-variant-numeric: lining-nums tabular-nums;
  text-shadow: 0 2px 24px rgba(200, 163, 110, 0.25);
}

.stat-num {
  display: inline-block;
  text-align: left;
}

.stat-unit {
  font-family: var(--font-sans);
  font-size: clamp(0.875rem, 0.8rem + 0.3vw, 1.0625rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: none;
}

.stat-label {
  font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 0;
    border-radius: 16px;
  }
  .stat-item {
    padding: 18px 8px;
  }
  .stat-item:nth-child(3) {
    border-left: 0;
  }
  .stat-item:nth-child(n + 3) {
    border-top: 1px solid var(--border-subtle);
  }
}

/* v2.5.1/v2.5.2: video tour (galeri.html #video-tur) — two portrait 9:16 reels
   side by side, stacked on phones. width/height attributes reserve the space (CLS 0). */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 340px));
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
}

.video-frame {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0E0A07;
  box-shadow: var(--card-shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #0E0A07;
}

.video-frame figcaption {
  padding: 12px 16px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #E9DFD3;
  text-align: center;
}

@media (max-width: 640px) {
  .video-grid {
    grid-template-columns: minmax(0, 340px);
  }
}

/* v2.5.1: honest label on mockup review cards (replaces the verified tick) */
.review-mock-badge {
  padding: 2px 8px;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* v2.5.1: the 4-column footer leaves ~250px for this button on desktop — keep
   it one compact line instead of a 2-line 70px block (still >= 44px tall). */
.site-footer .btn-whatsapp {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 0.875rem;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.22);
}

.mobile-nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  background: #261B14;
  border: 1px solid var(--border-dark-subtle);
  color: var(--accent-gold);
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-gold);
}

/* v2.5.0: drawer slides with transform (compositor-only) instead of animating
   `right` (layout every frame). visibility keeps the closed drawer out of
   the tab order / screen-reader tree; it flips only after the slide-out. */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 85vw);
  height: 100vh;
  height: 100dvh;
  background: #1A130E;
  border-left: 1px solid var(--border-dark-card);
  padding: 28px 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform var(--transition-smooth), visibility 0s linear 0.35s;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-drawer.open {
  transform: none;
  visibility: visible;
  transition: transform var(--transition-smooth), visibility 0s linear 0s;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-close {
  align-self: flex-end;
  width: 44px; /* v2.5.0: 36px → 44px touch target */
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #261B14;
  border: 1px solid var(--border-dark-subtle);
  color: #FFFFFF;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-nav a {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #FFFFFF;
  padding-block: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   HERO SECTION — FULL-BLEED CINEMATIC VISUAL · MINIMALIST LUXURY
   (Distinct from 2-column layouts; pure immersive architectural canvas)
   v2.5.0: this block is the single source of truth — the duplicated inline
   copy in index.html and the legacy `.hero` overrides were removed.
   ========================================================================== */
.hero-cinematic-full {
  position: relative;
  /* Fills exactly the first screen below top-bar + header so the 2-line crest
     is never cut by the fold (1366×768, 1440×900, 1024×768, 768×1024). */
  min-height: max(360px, calc(100vh - var(--header-height) - var(--topbar-height)));
  min-height: max(360px, calc(100svh - var(--header-height) - var(--topbar-height)));
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 clamp(4px, 0.8vh, 8px);
  overflow: hidden;
  background: #0E0A07;
  isolation: isolate;
  /* Horizontal swipes belong to the slideshow (vertical page scroll still
     works) — stops browsers treating a swipe as back/forward navigation. */
  touch-action: pan-y;
  overscroll-behavior-x: contain;
}

.hero-cinematic-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Blurred low-quality preview of slide 1 (inline data URI set in index.html
   via --hero-lqip) — paints instantly, so a slow 4G visitor sees the gate
   instead of an empty dark box. Too low-entropy to count as LCP. */
.hero-cinematic-backdrop::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-image: var(--hero-lqip, none);
  background-size: cover;
  background-position: center 36%;
  filter: blur(18px);
  transform: scale(1.04);
}

/* True crossfade: the outgoing slide stays fully opaque underneath while the
   incoming slide fades in on top, then hides 1.1s later (no dip to black). */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0s linear 1.1s, visibility 0s linear 1.1s;
  will-change: opacity; /* 3 layers only — pre-promoted to avoid a raster hitch at fade start */
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transition: opacity 1000ms cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 0s;
}

/* Slides 2–3 stay out of the render tree until main.js reveals them after
   window load, so their loading="lazy" images never compete with the LCP. */
.hero-slide.is-deferred {
  display: none;
}

/* Ken Burns zoom (compositor-only transform). It starts once main.js adds
   .is-animated after first paint, so slide 1 also gets the cinematic zoom;
   the outgoing image keeps its zoom until hidden, then resets unseen. */
.hero-slide .hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0s linear 1.1s;
}

.hero-cinematic-backdrop.is-animated .hero-slide.active .hero-bg-img {
  transform: scale(1.06);
  transition: transform 6.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-img-entrance {
  object-position: center 36%;
}

.hero-img-bed {
  object-position: center center;
}

.hero-img-wardrobe {
  object-position: center center;
}

.hero-cinematic-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(14, 10, 7, 0.1) 60%, rgba(14, 10, 7, 0.42) 100%),
    linear-gradient(180deg, rgba(14, 10, 7, 0.35) 0%, transparent 18%, transparent 62%, rgba(14, 10, 7, 0.78) 86%, #110B08 100%);
  pointer-events: none;
}

.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(14, 10, 7, 0.45);
  border: 1px solid rgba(212, 175, 122, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: opacity var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  opacity: 0.65;
}

/* Invisible 48×48 hit area around the 38px visual (WCAG 2.5.5 target size) */
.hero-nav-arrow::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: inherit;
}

.hero-nav-arrow:hover,
.hero-nav-arrow:focus-visible {
  opacity: 1;
  background: var(--accent-gold);
  color: #140E0A;
  border-color: var(--accent-gold-light);
  transform: translateY(-50%) scale(1.08);
}

.hero-nav-prev {
  left: clamp(12px, 2.5vw, 32px);
}

.hero-nav-next {
  right: clamp(12px, 2.5vw, 32px);
}

.hero-cinematic-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 48px);
  display: flex;
  justify-content: center;
}

.hero-cinematic-card {
  position: relative;
  max-width: 440px;
  width: 92%;
  margin-inline: auto;
  padding: 6px 18px;
  background: rgba(14, 10, 7, 0.42);
  border: 1px solid rgba(212, 175, 122, 0.32);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Crest rises in after the photo (opacity + transform only, no layout) */
  animation: heroCrestIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
}

@keyframes heroCrestIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-cinematic-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.95), 0 4px 18px rgba(0, 0, 0, 0.9);
  text-wrap: balance;
}

.hero-cinematic-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 1px 8px;
  background: rgba(20, 14, 10, 0.55);
  border: 1px solid rgba(212, 175, 122, 0.3);
  border-radius: var(--radius-full);
  font-size: clamp(0.68rem, 0.72vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  margin-bottom: 0;
}

.hero-cinematic-status .status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  animation: pulseDot 2s infinite ease-in-out;
}

/* v2.5.4: hero price anchor + actions (index). Light text on the glass card:
   white/gold on rgba(14,10,7,.42) over a dark vignette. */
.hero-cinematic-price {
  margin: 6px 0 0;
  font-size: clamp(0.8rem, 0.9vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #F3E7D6;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-cinematic-price strong {
  font-family: var(--font-serif);
  font-size: 1.35em;
  font-weight: 700;
  color: #E0C294;
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 6px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.hero-cta:hover {
  transform: translateY(-2px);
}

.hero-cta-primary {
  background: var(--accent-gold);
  color: #140E0A;
  box-shadow: 0 6px 18px rgba(200, 163, 110, 0.35);
}

.hero-cta-wa {
  background: rgba(20, 14, 10, 0.55);
  color: #FFFFFF;
  border: 1px solid rgba(37, 211, 102, 0.75);
}

.hero-cta-wa svg {
  color: #25D366;
}

.hero-cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

/* ≥641px: price and buttons share one row, so the taller card never reaches
   the engraved logo on short laptop screens (measured: 1366×768). */
@media (min-width: 641px) {
  .hero-cinematic-card {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    justify-items: center;
    align-items: center;
    column-gap: 16px;
    max-width: 600px;
  }
  .hero-cinematic-title,
  .hero-cinematic-status {
    grid-column: 1 / -1;
  }
  .hero-cinematic-price {
    margin: 2px 0 0;
  }
  .hero-cinematic-actions {
    margin: 6px 0 4px;
  }
}

/* Very small / short phones (320×568): one-row buttons, and the status pill
   steps aside (the stats panel below repeats "16 kamar"). */
@media (max-width: 360px) {
  .hero-cinematic-card .hero-cinematic-actions { gap: 4px; }
  .hero-cinematic-actions .hero-cta { padding: 8px 9px; font-size: 0.6875rem; gap: 4px; }
}

@media (max-width: 640px) and (max-height: 600px) {
  .hero-cinematic-status { display: none; }
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.2); }
}

@media (max-width: 640px) {
  .hero-cinematic-full {
    min-height: 76vh;
    padding: 0 0 6px;
  }
  .hero-cinematic-backdrop::before {
    background-position: center 100%;
  }
  .hero-nav-arrow {
    display: none;
  }
  .hero-img-entrance {
    /* v2.5.8: real gate portrait — anchor to the bottom so the door clears the hero card */
    object-position: center 100%;
  }
  .hero-cinematic-card {
    padding: 5px 12px 4px;
    border-radius: 12px;
    width: 94%;
    max-width: 300px;
  }
  .hero-cinematic-title {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .hero-cinematic-status {
    padding: 1px 7px;
    font-size: 0.65rem;
    margin-bottom: 2px;
  }
  .hero-cinematic-card {
    max-width: 340px;
  }
  .hero-cinematic-price {
    margin-top: 2px;
  }
  .hero-cinematic-actions {
    gap: 6px;
    margin: 6px 0 4px;
  }
  .hero-cta {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
}


/* ==========================================================================
   ROOM CARDS (ADAPTABLE TO DARK & LIGHT SECTIONS)
   ========================================================================== */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: clamp(24px, 3.5vw, 40px);
}

.room-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.room-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-lg);
}

.room-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #120C08;
}

.room-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.room-card:hover .room-img {
  transform: scale(1.04);
}

.room-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.badge-tag {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(26, 19, 14, 0.88);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  backdrop-filter: blur(8px);
}

.badge-tag.highlight {
  background: var(--accent-terracotta-deep); /* v2.5.0: white on #C86D51 was 3.64:1 → 7.06:1 */
  border-color: var(--accent-terracotta-deep);
  color: #FFFFFF;
}

.room-price-floating {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(26, 19, 14, 0.9);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--accent-gold);
  text-align: right;
  z-index: 2;
}

.room-price-val {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.room-price-period {
  font-size: 0.72rem;
  color: #D1C7BD;
}

.room-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.room-title {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.room-meta-specs {
  display: flex;
  flex-wrap: wrap; /* v2.5.0: 4 spec chips no longer overflow narrow cards */
  gap: 8px 16px;
  font-size: 0.875rem;
  color: var(--ink-terracotta);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.room-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.room-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--text-main);
}

.room-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.room-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   VIRTUAL LEASING SIMULATOR
   ========================================================================== */
.simulator-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--card-shadow);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.simulator-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-label span.note {
  font-size: 0.75rem;
  color: var(--ink-terracotta);
}

.form-control, .form-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-light-surface, #FFFFFF);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.9375rem;
}

.section-dark .form-control, .section-dark .form-select {
  background: #241A13;
  color: #FFFFFF;
}

.duration-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 8px;
}

.duration-btn, .sim-duration-btn {
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  background: rgba(200, 163, 110, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.duration-btn.active, .duration-btn:hover,
.sim-duration-btn.active, .sim-duration-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #140E0A;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 163, 110, 0.3);
}

.calc-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.simulator-preview {
  background: #0E1614;
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.wa-preview-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #25D366;
  object-fit: cover;
}

.wa-meta-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #FFFFFF;
}

.wa-meta-status {
  font-size: 0.75rem;
  color: #25D366;
}

.wa-bubble {
  background: #1F2C34;
  border-radius: 12px 12px 0 12px;
  padding: 16px;
  font-size: 0.875rem;
  color: #E9EDEF;
  line-height: 1.6;
  white-space: pre-wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.simulator-calc-summary {
  background: rgba(200, 163, 110, 0.08);
  border: 1px dashed var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-total {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-terracotta);
}

/* ==========================================================================
   FACILITIES & INCLUSIONS GRID
   ========================================================================= */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
}

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.facility-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.facility-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.facility-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.facility-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   NEIGHBORHOOD GRID
   ========================================================================== */
.neighborhood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
}

.location-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
}

.location-time-badge {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(200, 163, 110, 0.12);
  border: 1px solid var(--accent-gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.location-time-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-gold-display);
  line-height: 1;
}

.location-time-unit {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.location-info h3,
.location-info h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.location-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-wrapper {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-gold);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 20px 24px;
}

/* ==========================================================================
   GOOGLE MAPS & NAP
   ========================================================================== */
.maps-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.maps-info {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.nap-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.nap-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.nap-detail h3,
.nap-detail h5 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-terracotta); /* v2.5.0: 4.23:1 on dark card → 7.9:1 */
  margin-bottom: 4px;
}

.nap-detail p, .nap-detail a {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.5;
}

.maps-frame-wrap {
  min-height: 380px;
  width: 100%;
}

.maps-frame-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #110B08;
  border-top: 1px solid var(--border-dark-subtle);
  padding: clamp(56px, 7vw, 84px) 0 32px;
  color: #C7BCB3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 380px;
}

.footer-col h5,
.footer-col .footer-heading {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.875rem;
}

.footer-links a {
  display: inline-block;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-gold-light);
  transform: translateX(4px); /* v2.5.0: was padding-left (hover reflow / layout shift) */
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 16px;
}

.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 16px)); /* iOS home indicator */
  right: 24px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--wa-green);
  color: var(--wa-ink); /* v2.5.0: 1.98:1 → 9.65:1 */
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.floating-wa-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   SYMMETRICAL ARCHITECTURAL GALLERY (EDITORIAL MOSAIC)
   ========================================================================== */
.gallery-symmetrical-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
  margin-top: 16px;
}

.gallery-wing {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #140E0A;
  border: 1px solid rgba(200, 163, 110, 0.28);
  box-shadow: var(--card-shadow);
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: block;
}

.gallery-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.gallery-card-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

/* Specific symmetrical heights */
.gallery-wing .gallery-card {
  height: 250px;
}

.gallery-center .gallery-card.tall {
  height: 330px;
}

.gallery-center .gallery-card.short {
  height: 170px;
}

/* Architectural Corner Brackets */
.arch-bracket {
  position: absolute;
  width: 12px;
  height: 12px;
  pointer-events: none;
  z-index: 3;
  transition: all var(--transition-fast);
}

.arch-bracket-tl { top: 8px; left: 8px; border-top: 2px solid var(--accent-gold); border-left: 2px solid var(--accent-gold); }
.arch-bracket-tr { top: 8px; right: 8px; border-top: 2px solid var(--accent-gold); border-right: 2px solid var(--accent-gold); }
.arch-bracket-bl { bottom: 8px; left: 8px; border-bottom: 2px solid var(--accent-gold); border-left: 2px solid var(--accent-gold); }
.arch-bracket-br { bottom: 8px; right: 8px; border-bottom: 2px solid var(--accent-gold); border-right: 2px solid var(--accent-gold); }

.gallery-card:hover .arch-bracket {
  transform: scale(1.2);
  border-color: #FFFFFF;
}

/* Badge & Overlay */
.gallery-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  background: rgba(26, 19, 14, 0.88);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  backdrop-filter: blur(8px);
}

.gallery-overlay-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 19, 14, 0.1) 0%, rgba(20, 14, 10, 0.85) 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  z-index: 2;
  opacity: 0.9;
  transition: opacity var(--transition-smooth);
}

.gallery-card:hover .gallery-overlay-info {
  opacity: 1;
}

.gallery-card-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.gallery-card-sub {
  font-size: 0.78125rem;
  color: var(--accent-gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Lightbox Modal */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 9, 6, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 50px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  background: #1E1510;
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
}

.lightbox-img-wrap {
  width: 100%;
  max-height: 72vh;
  overflow: hidden;
  background: #0D0805;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.lightbox-caption {
  padding: 18px 24px;
  background: #17100B;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(200, 163, 110, 0.2);
}

.lightbox-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #FFFFFF;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 19, 14, 0.85);
  border: 1px solid var(--accent-gold);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: #140E0A;
}

/* v2.5.0 — lightbox gallery navigation (prev/next, counter) */
.lightbox-img-wrap {
  position: relative;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 10, 7, 0.62);
  border: 1px solid rgba(212, 175, 122, 0.45);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
  background: var(--accent-gold);
  color: #140E0A;
}

.lightbox-nav[hidden] {
  display: none;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.lightbox-counter {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-gold-light);
}

.lightbox-img-wrap img {
  transition: opacity 0.25s ease;
}

.lightbox-img-wrap img.is-loading {
  opacity: 0.35;
}

/* ==========================================================================
   v2.5.0 — FOTO ASLI PROPERTI (real owner photos, editorial bento grid)
   ========================================================================== */
.real-gallery .section-header {
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.real-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}

.real-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(46, 34, 25, 0.85);
  border: 1px solid var(--border-dark-card);
  color: #E9E1D8;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.real-filter-btn:hover {
  border-color: var(--accent-gold);
  color: #FFFFFF;
}

.real-filter-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #140E0A;
}

.real-filter-count {
  min-width: 22px;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
}

.real-filter-btn.active .real-filter-count {
  background: rgba(20, 14, 10, 0.16);
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 15.5vw, 240px);
  grid-auto-flow: dense;
  gap: clamp(10px, 1.3vw, 18px);
}

.real-card {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 163, 110, 0.24);
  background: #140E0A;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
  isolation: isolate;
  text-align: left;
}

.real-card[hidden] {
  display: none;
}

.real-card.tall { grid-row: span 2; }
.real-card.wide { grid-column: span 2; }

.real-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.real-card:hover img,
.real-card:focus-visible img {
  transform: scale(1.05);
}

.real-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 10, 7, 0.55) 40%, rgba(14, 10, 7, 0.9) 100%);
  font-family: var(--font-serif);
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  font-weight: 600;
  line-height: 1.3;
  color: #FFFFFF;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.real-card-caption::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-bottom: 8px;
  background: var(--accent-gold);
  transform-origin: left center;
  transition: transform var(--transition-smooth);
}

.real-card:hover .real-card-caption::before,
.real-card:focus-visible .real-card-caption::before {
  transform: scaleX(1.8);
}

.real-card-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 10, 7, 0.55);
  border: 1px solid rgba(212, 175, 122, 0.45);
  color: #FFFFFF;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.real-card:hover .real-card-zoom,
.real-card:focus-visible .real-card-zoom {
  opacity: 1;
  transform: none;
}

@media (hover: none) {
  .real-card-zoom { opacity: 1; transform: none; }
}

@media (max-width: 1024px) {
  .real-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 22vw, 230px); }
}

@media (max-width: 640px) {
  .real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 44vw; gap: 10px; }
  .real-card-caption { padding: 32px 12px 11px; font-size: 0.88rem; }
  .real-card-zoom { width: 30px; height: 30px; top: 8px; right: 8px; }
}

/* ==========================================================================
   GOOGLE REVIEWS (VERIFIED 5-STAR ONLY)
   ========================================================================== */
.google-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 32px;
  box-shadow: var(--card-shadow);
  flex-wrap: wrap;
  gap: 16px;
}

.google-brand-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}

.google-big-score {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
}

.google-stars-summary {
  color: #FBBC05;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.google-review-count {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.google-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: #2E7D32;
}

.section-dark .google-filter-pill {
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.35);
}

.google-action-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-google-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #FFFFFF;
  color: #3C4043;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #DADCE0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.btn-google-maps:hover {
  background: #F8F9FA;
  border-color: #4285F4;
  color: #1A73E8;
  transform: translateY(-2px);
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.google-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  position: relative;
}

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

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-gold);
  background: #241A13;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.avatar-initials {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--accent-gold-light);
}

.reviewer-name-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-main);
}

.google-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4285F4;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 900;
}

.reviewer-role {
  font-size: 0.75rem;
  color: var(--ink-terracotta);
  font-weight: 600;
}

.review-time {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.google-g-badge {
  padding: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.google-stars {
  color: #FBBC05;
  font-size: 1.125rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars-score {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.review-body {
  font-size: 0.9375rem;
  color: var(--text-main);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-card-footer {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.google-view-link {
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--ink-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.google-view-link:hover {
  color: #4285F4;
}

/* ==========================================================================
   SUBPAGE ARCHITECTURE & SPECIALIZED COMPONENTS
   ========================================================================== */

/* 1. Room Catalog & Filter Tabs (kamar.html) */
.catalog-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.catalog-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.catalog-tab-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  transform: translateY(-1px);
}

.catalog-tab-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #140E0A;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.catalog-room-card {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.check-yes {
  color: var(--ink-green); /* v2.5.0: #25D366 on white was 1.98:1 */
  font-weight: 700;
  margin-right: 4px;
}

/* Room Comparison Table (kamar.html) */
.compare-table-wrapper {
  margin-top: clamp(48px, 6vw, 72px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.compare-table th, .compare-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-table th {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(200, 163, 110, 0.08);
}

.compare-table tbody tr:hover {
  background: rgba(200, 163, 110, 0.05);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-dark-muted);
  transition: color var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-gold-light);
}

.breadcrumb span {
  color: var(--accent-gold-light);
  font-weight: 600;
}

.breadcrumb-sep {
  color: var(--accent-gold);
  opacity: 0.6;
}

/* 2. Room Detail Page Layout (kamar-deluxe.html & kamar-executive.html) */
.detail-hero {
  background: var(--bg-dark);
  color: var(--text-dark-main);
  padding-block: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--border-dark-subtle);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.spec-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
}

.spec-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-terracotta);
  margin-bottom: 4px;
}

.section-dark .spec-label {
  color: var(--ink-gold);
}

.spec-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.booking-sidebar-card {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
}

/* 3. Amenities Detailed Cards (fasilitas.html) */
.amenity-detail-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
}

.amenity-detail-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.amenity-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.amenity-content h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.amenity-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.amenity-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.amenity-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(200, 163, 110, 0.12);
  border: 1px solid rgba(200, 163, 110, 0.3);
  color: var(--accent-gold);
}

.section-light .amenity-pill {
  background: rgba(200, 109, 81, 0.1);
  border-color: rgba(200, 109, 81, 0.3);
  color: var(--ink-terracotta);
}

/* 4. Neighborhood Guide POIs (kawasan.html) */
.neighborhood-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.place-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
}

.place-body {
  display: flex;
  flex-direction: column;
}

.place-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.place-distance {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-terracotta);
  background: rgba(200, 109, 81, 0.1);
  border: 1px solid rgba(200, 109, 81, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-dark .place-distance {
  color: var(--accent-gold-light);
  background: rgba(200, 163, 110, 0.15);
  border-color: rgba(200, 163, 110, 0.35);
}

/* 5. Architectural Floor Plans (denah.html) */
.floorplan-switcher {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.floorplan-tab-btn {
  padding: 11px 22px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-fast);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.floorplan-tab-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.floorplan-tab-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #140E0A;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.floorplan-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--card-shadow);
}

.floorplan-view {
  display: block;
}

.floorplan-view:not(:first-child) {
  display: none;
}

.arch-svg-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #140E0A;
  border: 1px solid rgba(200, 163, 110, 0.3);
  border-radius: var(--radius-md);
  padding: clamp(16px, 3vw, 32px);
  margin-block: 24px;
  overflow-x: auto;
}

.legend-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 6. House Rules Grid (tata-tertib.html) */
.rules-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
}

.rule-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-smooth);
  position: relative;
}

.rule-box:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.rule-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.9;
}

.section-light .rule-number {
  color: var(--accent-terracotta);
}

.rule-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.rule-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 7. Contact Page Layout & Form (kontak.html) */
.contact-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--card-shadow);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-gold-glow);
  border: 1px solid var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-desc {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 380px;
}

/* ==========================================================================
   MULTI-BREAKPOINT RESPONSIVE MATRIX (320px to 1920px+)
   v2.5.0: dead rules for retired hero layouts (.hero background override,
   .hero-split-grid, .hero-concierge-card, .hero-micro-pillars, .hero-visual-*,
   .hero-opening-badge, .concierge-pricing-box — referenced by no page) were
   removed; the `.hero` override also fought the cinematic hero on ≤1024px.
   ========================================================================== */

/* Top bar is exactly one line tall so the hero height calc (100svh − header
   − top bar) is exact; long promo text truncates instead of wrapping. */
.top-bar {
  height: var(--topbar-height);
  overflow: hidden;
  white-space: nowrap;
}

.top-bar .container > div:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-bar-links {
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .mobile-nav-toggle { display: flex; }
  .detail-layout { grid-template-columns: 1fr; }
  .contact-grid-layout { grid-template-columns: 1fr; }
  .simulator-wrapper { grid-template-columns: 1fr; }
  .maps-wrapper { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-symmetrical-grid { grid-template-columns: 1fr 1fr; }
  .gallery-center { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .gallery-center .gallery-card.tall, .gallery-center .gallery-card.short { height: 250px; }
}

@media (max-width: 768px) {
  .room-grid { grid-template-columns: 1fr; }
  .google-summary-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .top-bar { display: none; }
  .room-actions { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating-wa-btn span { display: none; }
  .floating-wa-btn { padding: 14px; }
  .gallery-symmetrical-grid { grid-template-columns: 1fr; }
  .gallery-center { grid-column: span 1; grid-template-columns: 1fr; }
  .amenity-detail-card { flex-direction: column; gap: 16px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .contact-card-box { padding: 20px; }
  .rules-card-grid { grid-template-columns: 1fr; }
  .neighborhood-full-grid { grid-template-columns: 1fr; }

  /* v2.5.0: mobile header — the wordmark used to wrap to 4 lines, overflow
     the 84px bar and collide with the ID/EN switch (320–414px). */
  .header-container { gap: 10px; }
  .site-header .brand-logo { gap: 10px; min-width: 0; }
  .site-header .brand-logo-img { width: 40px; height: 40px; }
  .site-header .brand-text { min-width: 0; }
  .site-header .brand-title { font-size: 1rem; letter-spacing: 0.04em; }
  .site-header .brand-subtitle { font-size: 0.58rem; letter-spacing: 0.12em; }
  .header-actions { gap: 8px; flex-shrink: 0; }
}

/* Tablets: icon-only floating WhatsApp (as on phones) so the pill never
   overlaps the hero crest, which now sits fully above the fold. */
@media (max-width: 1024px) {
  .floating-wa-btn span { display: none; }
  .floating-wa-btn { padding: 14px; }
}

/* v2.5.4: the floating button steps aside while the hero CTAs are on screen
   (main.js 8D toggles .is-tucked); it never covers the pillars ribbon. */
@media (max-width: 1024px) {
  .floating-wa-btn {
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), opacity 0.3s ease, visibility 0.3s;
  }
  .floating-wa-btn.is-tucked {
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    pointer-events: none;
  }
}

@media (max-width: 380px) {
  .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 365px) {
  .site-header .brand-logo { gap: 8px; }
  .site-header .brand-logo-img { width: 34px; height: 34px; }
  .site-header .brand-title { font-size: 0.86rem; }
  .site-header .brand-subtitle { display: none; }
  .site-header .lang-switcher { padding: 2px 4px; }
  .site-header .lang-btn { padding: 4px 6px; }
}

@media (max-width: 340px) {
  .site-header .brand-title { font-size: 0.8rem; letter-spacing: 0.03em; }
}

/* Touch devices: ≥44px touch targets (WCAG 2.5.5) without changing the
   desktop look. The compact ID/EN switch gets an invisible ≈42×44px hit area. */
@media (pointer: coarse) {
  .lang-btn { position: relative; }
  .lang-btn::after {
    content: "";
    position: absolute;
    inset: -12px -4px;
  }
  /* v2.5.10: top-bar (tablets) and breadcrumb links were 21px tall — same
     invisible hit-area pattern, no visual change */
  .top-bar a, .breadcrumb a { position: relative; }
  .top-bar a::after, .breadcrumb a::after {
    content: "";
    position: absolute;
    inset: -12px -4px;
  }
  .site-header .brand-logo { min-height: 44px; }
  .drawer-nav a { min-height: 44px; }
  .duration-btn, .sim-duration-btn { min-height: 44px; }
  .hero-cta { min-height: 44px; }
  .btn-google-maps { min-height: 44px; }
  .footer-links { gap: 0; }
  .footer-links a { padding-block: 11px; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .google-view-link { padding-block: 12px; margin-block: -12px; }
}

/* Long CTA labels wrap instead of overflowing 320–400px screens */
@media (max-width: 400px) {
  .btn-primary { white-space: normal; text-align: center; max-width: 100%; }
}

/* Room feature bullets: one column on phones (2 columns broke every line
   into 3-word fragments at 320–480px) */
@media (max-width: 480px) {
  .room-features-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   REDUCED MOTION (WCAG 2.3.3 / vestibular safety) — v2.5.0
   Animations collapse to their end state; the hero stops auto-rotating
   (main.js) and the Ken Burns zoom / pulsing dot are removed.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-slide .hero-bg-img,
  .hero-cinematic-backdrop.is-animated .hero-slide.active .hero-bg-img {
    transform: none;
  }
}
