/* ════════════════════════════════════════════════════════════
   Trishul Comforts: premium dark theme
   Warm charcoal canvas, gold as the lead accent, logo blue in small touches.
   ════════════════════════════════════════════════════════════ */
:root {
  --bg: #0b0b0e;
  --bg-2: #101014;
  --bg-3: #17171c;
  --card: #141418;
  --card-2: #1a1a20;
  --head: #f6f1e7;       /* headings: warm ivory */
  --text: #e4e0d7;
  --muted: #a5a096;
  --gold: #d6a548;
  --gold-2: #f0cd85;
  --gold-ink: #e6bb68;   /* gold for text on dark */
  --sky: #18a6f2;        /* logo lotus, used sparingly */
  --sky-ink: #6cc8ff;
  --sky-tint: rgba(24, 166, 242, 0.12);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --wa: #25d366;

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Karla', system-ui, -apple-system, Segoe UI, sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --pad: clamp(16px, 5vw, 72px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.9);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* fine film grain for a richer, less flat black */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1000; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-loading { overflow: hidden; }
img, video, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; color: var(--head); }
em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%, #b98327);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
sup { font-size: 0.6em; }
::selection { background: var(--gold); color: #120d03; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: #120d03; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 16px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--lg { width: 30px; height: 30px; stroke-width: 1.5; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #b98327);
  color: #1a1103;
  box-shadow: 0 12px 34px -12px rgba(214, 165, 72, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold:hover { box-shadow: 0 18px 44px -12px rgba(214, 165, 72, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn--glass {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--head);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(240, 205, 133, 0.45); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--full { width: 100%; }

.iconbtn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-2); color: var(--head);
  transition: background 0.25s, transform 0.3s var(--ease), border-color 0.25s;
}
.iconbtn:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.1); border-color: rgba(240, 205, 133, 0.45); }
.iconbtn--sm { width: 44px; height: 44px; }
.iconbtn--gold { background: var(--gold); color: #1a1103; border: 0; }
.iconbtn--gold:hover { background: var(--gold-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
.hero .eyebrow::before { display: none; }
.eyebrow .ic { width: 16px; height: 16px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; background: var(--sky-tint); color: var(--sky-ink);
}
.chip--gold { background: rgba(214, 165, 72, 0.14); color: var(--gold-ink); }

/* ── Loader ──────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: radial-gradient(circle at 50% 45%, #1a1a20, var(--bg) 70%);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__ring { position: relative; width: 120px; height: 120px; display: grid; place-items: center; }
.loader__ring::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent; border-top-color: var(--gold); border-right-color: rgba(214, 165, 72, 0.3);
  animation: spin 1.1s linear infinite;
}
.loader__ring img { width: 96px; height: 96px; border-radius: 50%; }
.loader__txt { margin: 0; font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Nav ─────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; gap: 24px; padding: 14px var(--pad);
  transition: background 0.4s, padding 0.4s var(--ease), transform 0.5s var(--ease), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11, 11, 14, 0.78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-color: var(--line); padding-block: 10px;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; margin-right: auto; color: var(--head); white-space: nowrap; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55); }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(240, 205, 133, 0.35); }
.nav__brand strong { font-weight: 600; }
/* dark glass pill keeps the links readable over the bright daytime sky in the hero */
.nav__links { display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(11, 11, 14, 0.55); border: 1px solid var(--line-2); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); transition: background 0.4s, border-color 0.4s; }
.nav.is-scrolled .nav__links { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; color: #d9d4c9; white-space: nowrap; transition: color 0.2s, background 0.2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--head); background: rgba(255, 255, 255, 0.08); }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 11, 14, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--head); border-radius: 2px; transition: transform 0.35s var(--ease); }
.nav__burger span:first-child { top: 19px; } .nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 0; z-index: 85; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 90px var(--pad) 40px; background: rgba(11, 11, 14, 0.97); backdrop-filter: blur(20px);
}
.mnav[hidden] { display: none; }
.mnav a:not(.btn) { font-family: var(--serif); font-size: 36px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--head); }
.mnav .btn { margin-top: 24px; }

/* ── Hero ────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: var(--bg); }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; touch-action: pan-y; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 14, 0.9) 0%, rgba(11, 11, 14, 0.5) 42%, rgba(11, 11, 14, 0) 68%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 11, 14, 0) 26%);
}
.hero__inner { padding: clamp(92px, 13vh, 130px) var(--pad) clamp(72px, 11vh, 120px); max-width: 880px; pointer-events: none; }
.hero__inner a, .hero__inner button { pointer-events: auto; }
.hero__title { font-size: clamp(44px, min(7vw, 10.5vh), 108px); line-height: 1; margin-bottom: clamp(14px, 2.6vh, 26px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.1em; }
.hero__title .line > span { display: inline-block; }
.hero__lead { font-size: clamp(16px, min(1.5vw, 2.3vh), 20px); color: var(--muted); max-width: 540px; margin: 0 0 clamp(18px, 3.6vh, 34px); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(18px, 3.6vh, 36px); }
.hero__proof { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); }
.hero__proof strong { color: var(--head); }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 18px; height: 18px; }
.stars .dim { opacity: 0.3; }
.hero__hint {
  position: absolute; right: var(--pad); bottom: 42px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(165, 160, 150, 0.8);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; width: 28px; height: 46px; margin-left: -14px;
  border: 1.5px solid var(--line-2); border-radius: 20px;
}
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Marquee ─────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 30px); font-style: italic; white-space: nowrap; color: var(--head); }
.marquee__track i { color: var(--gold); font-style: normal; font-size: 0.6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Stats ───────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 56px) var(--pad); text-align: center; }
.stat b {
  display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 68px); line-height: 1; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ── Sections ────────────────────────────────── */
.section { position: relative; padding: clamp(52px, 6.5vw, 96px) var(--pad); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head h2 { font-size: clamp(40px, 6vw, 80px); margin-bottom: 20px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin: 0; max-width: 560px; }
.section__head strong { color: var(--gold-ink); }
.amenities, .location { background: var(--bg-2); }

/* ── Tour: 3D frame ──────────────────────────── */
.interiors { background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(214, 165, 72, 0.08), transparent 70%); }
.stage { perspective: 1400px; perspective-origin: 50% 30%; }
.frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden;
  transform-style: preserve-3d; transform: rotateX(28deg) scale(0.82); transform-origin: 50% 100%;
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(240, 205, 133, 0.25), 0 0 120px -30px rgba(214, 165, 72, 0.25);
  background: var(--bg-3); will-change: transform;
}
.frame video { width: 100%; height: 100%; object-fit: cover; }
.frame__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.16), transparent 45%); mix-blend-mode: overlay; }
.frame__ui {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  padding: clamp(16px, 3vw, 32px); background: linear-gradient(0deg, rgba(8, 8, 10, 0.85), transparent);
}
.frame__label strong { display: block; font-family: var(--serif); font-size: clamp(22px, 3vw, 36px); font-weight: 500; color: var(--head); }
.frame__label span { color: var(--muted); font-size: 15px; }
.frame__thumbs { display: flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.frame__thumbs:empty { display: none; }
.thumb { width: 150px; aspect-ratio: 16 / 9; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--bg-3); opacity: 0.6; transition: opacity 0.25s, border-color 0.25s, transform 0.3s var(--ease); }
.thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb[aria-pressed='true'], .thumb:hover { opacity: 1; border-color: var(--gold); transform: translateY(-3px); }

/* ── Rooms ───────────────────────────────────── */
.rooms__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1200px; }
.room {
  position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transform-style: preserve-3d;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s;
}
.room:hover { box-shadow: var(--shadow), 0 0 60px -25px rgba(214, 165, 72, 0.45); border-color: rgba(240, 205, 133, 0.3); }
.room__art { position: relative; height: 210px; overflow: hidden; transform: translateZ(30px); }
.room__art svg { width: 100%; height: 100%; }
.room__body { padding: 28px; display: flex; flex-direction: column; flex: 1; transform: translateZ(40px); }
.room__body h3 { font-size: 30px; margin: 12px 0 10px; }
.room__body p { color: var(--muted); margin: 0 0 20px; font-size: 16px; }
.room__meta { display: flex; gap: 18px; color: var(--gold-ink); font-size: 14px; font-weight: 600; margin-bottom: 18px; }
.room__meta span { display: inline-flex; align-items: center; gap: 6px; }
.room__meta .ic { width: 17px; height: 17px; }
.room ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.room li { font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.room .btn { margin-top: auto; }
.room__shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(240, 205, 133, 0.1), transparent 50%); opacity: 0; transition: opacity 0.3s; }
.room:hover .room__shine { opacity: 1; }

/* ── Amenities bento ─────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 16px; }
.tile {
  position: relative; overflow: hidden; padding: 28px; border-radius: var(--r); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}
.tile:hover { transform: translateY(-4px); border-color: rgba(240, 205, 133, 0.3); }
.tile .ic--lg { color: var(--gold-ink); margin-bottom: 6px; }
.tile h3 { font-size: 24px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }
.tile .chip { position: absolute; top: 24px; left: 28px; }
.tile--hero { grid-column: span 2; grid-row: span 2; min-height: 420px; }
.tile--hero h3 { font-size: clamp(32px, 4vw, 52px); }
.tile--hero p { font-size: 17px; max-width: 380px; }
.tile--wide { grid-column: span 2; background: linear-gradient(135deg, rgba(214, 165, 72, 0.14), var(--card) 70%); }
.tile--pool { background: linear-gradient(180deg, #0d1620 0%, #0c2a40 60%, #0f4a6e 100%); }
.tile__water { position: absolute; inset: 0; opacity: 0.45; pointer-events: none; background:
  repeating-radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.22) 0 2px, transparent 3px 26px),
  repeating-radial-gradient(ellipse at 75% 70%, rgba(255,255,255,0.16) 0 2px, transparent 3px 34px);
  animation: caustic 9s ease-in-out infinite alternate; mix-blend-mode: overlay; }
@keyframes caustic { to { transform: scale(1.18) translate(-3%, 2%); } }
.tile--pool > :not(.tile__water):not(.chip) { position: relative; }
.tile--pool .ic--lg { color: var(--sky-ink); }
.tile--pool p { color: #c6d6e2; }

/* ── Reviews: moving card strip ──────────────── */
.reviews { overflow: hidden; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; position: relative; z-index: 1; }
.reviews__head h2 { margin-bottom: 0; }
.rmarq {
  position: relative; z-index: 1; margin-inline: calc(var(--pad) * -1); overflow: hidden; padding: 12px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.rmarq__track { display: flex; gap: 24px; width: max-content; padding-left: 24px; animation: rmarq 55s linear infinite; }
.rmarq:hover .rmarq__track, .rmarq:focus-within .rmarq__track, .rmarq.is-paused .rmarq__track { animation-play-state: paused; }
@keyframes rmarq { to { transform: translateX(-50%); } }
.rcard {
  flex: none; width: clamp(290px, 30vw, 400px); margin: 0; padding: 30px; display: flex; flex-direction: column; gap: 18px;
  border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.rcard:hover { transform: translateY(-6px); border-color: rgba(240, 205, 133, 0.35); box-shadow: var(--shadow), 0 0 50px -25px rgba(214, 165, 72, 0.5); }
.rcard blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 21px; line-height: 1.4; font-style: italic; color: var(--head); }
.rcard figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.rcard figcaption b { display: block; color: var(--head); }
.rcard figcaption small { color: var(--muted); font-size: 14px; }
.av { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1103; font-weight: 700; font-size: 15px; }
.tags { position: relative; z-index: 1; list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); font-size: 15px; }
.tags b { color: var(--gold-ink); margin-left: 6px; }
@media (prefers-reduced-motion: reduce) {
  .rmarq { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; }
  .rmarq__track { animation: none; padding-right: 24px; }
  .rcard { scroll-snap-align: start; }
  .rcard[aria-hidden='true'] { display: none; }
}

/* ── Location ────────────────────────────────── */
.location__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); min-height: 440px; background: var(--bg-3); }
.map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; filter: invert(0.92) hue-rotate(180deg) saturate(0.35) brightness(0.9) contrast(0.95); }
.near { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.near address { font-style: normal; color: var(--muted); line-height: 1.6; }
.near address strong { color: var(--head); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.near ul { list-style: none; margin: 0; padding: 0; }
.near li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.near li .ic { color: var(--gold-ink); }
.near li span { flex: 1; }
.near li b { color: var(--gold-ink); font-weight: 700; white-space: nowrap; }
.near .btn { align-self: flex-start; margin-top: auto; }

/* ── Book ────────────────────────────────────── */
.book__card {
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 72px); border-radius: var(--r-lg);
  background: radial-gradient(circle at 0% 0%, rgba(214, 165, 72, 0.2), transparent 50%), radial-gradient(circle at 100% 100%, rgba(24, 166, 242, 0.1), transparent 50%), linear-gradient(135deg, #1c1c22, #121216);
  border: 1px solid rgba(240, 205, 133, 0.2); box-shadow: var(--shadow);
}
.book__copy h2 { font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.book__copy p:not(.eyebrow) { color: var(--muted); margin: 0 0 28px; max-width: 440px; }
.book__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--head); }
.field input, .field select {
  min-height: 52px; padding: 0 16px; border-radius: var(--r-sm); font: inherit; font-size: 16px; color: var(--head);
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line-2); transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 165, 72, 0.15); }
.field input[aria-invalid='true'] { border-color: #ff8a8a; }
.field select option { background: var(--bg-3); }
.form__err { grid-column: 1 / -1; margin: 0; min-height: 1.2em; color: #ffb0a8; font-size: 14px; }
.form__err:empty { display: none; }
.book__form .btn { grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--muted); text-align: center; }

/* ── Footer ──────────────────────────────────── */
.footer { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: 48px var(--pad) 120px; border-top: 1px solid var(--line); color: var(--muted); background: var(--bg-2); }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__brand img { width: 64px; height: 64px; border-radius: 50%; }
.footer__brand p { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--head); line-height: 1.3; }
.footer__brand small { font-family: var(--sans); font-size: 14px; color: var(--muted); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { padding: 8px 0; } .footer nav a:hover { color: var(--gold-ink); }
.footer__fine { grid-column: 1 / -1; margin: 0; font-size: 13px; }

/* ── Floating actions ────────────────────────── */
.fab {
  position: fixed; z-index: 95; right: max(20px, env(safe-area-inset-right)); width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; border: 0; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.7);
  transition: transform 0.35s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab--wa { bottom: calc(96px + env(safe-area-inset-bottom)); background: var(--wa); color: #fff; }
.fab--wa > svg { width: 30px; height: 30px; }
.fab--wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: ping 2.4s var(--ease) infinite; z-index: -1; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.7); opacity: 0; } }
.fab--chat { bottom: calc(24px + env(safe-area-inset-bottom)); background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1103; }
.fab--chat .ic { width: 26px; height: 26px; }
.fab__badge { position: absolute; top: -2px; right: -2px; width: 22px; height: 22px; border-radius: 50%; background: #e5484d; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.fab__badge[hidden] { display: none; }
.fab__tip { position: absolute; right: 72px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; background: #fff; color: #0b5a2c; font-size: 14px; font-weight: 700; opacity: 0; transform: translateX(8px); transition: 0.3s var(--ease); pointer-events: none; }
.fab--wa:hover .fab__tip, .fab--wa:focus-visible .fab__tip { opacity: 1; transform: none; }
.fab--chat.is-nudge { animation: nudge 2.8s var(--ease) 3; }
@keyframes nudge { 0%, 70%, 100% { transform: none; } 78% { transform: translateY(-8px) rotate(-8deg); } 86% { transform: translateY(0) rotate(6deg); } 92% { transform: rotate(-3deg); } }

/* ── Chatbot ─────────────────────────────────── */
.chat {
  position: fixed; z-index: 96; right: max(20px, env(safe-area-inset-right)); bottom: calc(96px + env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100svh - 130px));
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: rgba(20, 20, 24, 0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line-2); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.85);
  transform-origin: 100% 100%; animation: chatIn 0.45s var(--ease);
}
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(0.94); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: linear-gradient(135deg, #22222a, #18181d); border-bottom: 1px solid var(--line); }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; }
.chat__head div { flex: 1; }
.chat__head strong { display: block; font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--head); }
.chat__head small { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; animation: msgIn 0.35s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border-bottom-left-radius: 6px; }
.msg--me { align-self: flex-end; background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1103; border-bottom-right-radius: 6px; }
.msg b { color: var(--head); }
.msg a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.msg .btn { margin-top: 10px; min-height: 44px; font-size: 14px; padding: 0 16px; text-decoration: none; color: #fff; background: var(--wa); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; } .typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 12px; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips button { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(240, 205, 133, 0.4); background: rgba(214, 165, 72, 0.08); color: var(--gold-ink); font-size: 14px; font-weight: 600; transition: background 0.2s; }
.chat__chips button:hover { background: rgba(214, 165, 72, 0.2); }
.chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__input input { flex: 1; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, 0.35); color: var(--head); font: inherit; font-size: 16px; }
.chat__input input:focus { outline: none; border-color: var(--gold); }

/* ── Lightbox ────────────────────────────────── */
.lightbox { width: min(1200px, 94vw); padding: 0; border: 0; border-radius: var(--r); background: #000; color: var(--head); overflow: visible; }
.lightbox::backdrop { background: rgba(5, 5, 7, 0.9); backdrop-filter: blur(8px); }
.lightbox video { width: 100%; border-radius: var(--r); }
.lightbox p { position: absolute; left: 0; top: -44px; margin: 0; font-family: var(--serif); font-size: 22px; }
.lightbox__close { position: absolute; right: 0; top: -58px; }

/* ── Reveal ──────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(36px); }
.js .reveal-hero { opacity: 0; transform: translateY(30px); }
.js .hero__title .reveal-hero { transform: translateY(105%); opacity: 1; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1080px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .rooms__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .location__grid, .book__card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero__hint { display: none; }
  .hero__veil { background: linear-gradient(0deg, var(--bg) 6%, rgba(11, 11, 14, 0.8) 50%, rgba(11, 11, 14, 0) 72%); }
  .hero__inner { align-self: end; padding-bottom: 96px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rooms__grid, .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide { grid-column: auto; grid-row: auto; }
  .tile--hero { min-height: 340px; }
  .book__form { grid-template-columns: 1fr; }
  .frame { border-radius: var(--r); }
  .frame__ui { flex-direction: column; align-items: flex-start; }
  .footer { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .chat { right: 16px; left: 16px; width: auto; bottom: calc(92px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-hero, .js .hero__title .reveal-hero { opacity: 1; transform: none; }
  .frame { transform: none; }
}

/* ── Hero: building diorama controls ─────────── */
.hero__canvas { cursor: grab; }
.hero__tod { position: absolute; right: var(--pad); bottom: 48px; z-index: 2; display: grid; justify-items: end; gap: 10px; }
.hero__time { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; color: var(--head); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; animation: dotPulse 2s infinite; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); } 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.seg { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(11, 11, 14, 0.6); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.seg button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 15px; font-weight: 600; transition: background 0.25s, color 0.25s; }
.seg button:hover { color: var(--head); }
.seg button[aria-pressed='true'] { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1103; }
.hero__tip {
  position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; display: grid; gap: 2px; min-width: 190px; padding: 12px 16px;
  border-radius: 14px; background: rgba(14, 14, 18, 0.9); border: 1px solid rgba(240, 205, 133, 0.45); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); opacity: 0; transition: opacity 0.2s;
}
.hero__tip.is-on { opacity: 1; }
.hero__tip strong { font-family: var(--serif); font-weight: 500; font-size: 18px; color: var(--head); }
.hero__tip span { color: var(--muted); font-size: 14px; }
.hero__tip em { -webkit-text-fill-color: var(--gold-ink); color: var(--gold-ink); background: none; font-style: normal; font-size: 13px; font-weight: 700; margin-top: 4px; }
@media (max-width: 860px) {
  .hero__tod { left: 16px; right: 16px; bottom: 24px; justify-items: center; }
  .hero__scroll { display: none; }
  .hero__inner { padding-bottom: 150px; }
  .seg button { padding: 0 12px; font-size: 14px; }
}

/* ── Room cards: two actions ─────────────────── */
.room__ctas { margin-top: auto; display: flex; gap: 10px; }
.room__ctas .btn { flex: 1; padding: 0 14px; }
.room__ctas .btn--glass { flex: 0 0 auto; }

/* ── 360° viewer ─────────────────────────────── */
.view360 { background: radial-gradient(ellipse 70% 50% at 40% 60%, rgba(214, 165, 72, 0.07), transparent 70%); }
.v360 { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.viewer { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); border: 1px solid rgba(240, 205, 133, 0.22); box-shadow: var(--shadow); }
.viewer:fullscreen { aspect-ratio: auto; border-radius: 0; }
.viewer canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: none; }
.viewer canvas:active { cursor: grabbing; }
.viewer canvas:focus-visible { outline-offset: -4px; }
.viewer__labels { position: absolute; inset: 0; pointer-events: none; }
.viewer__fade { position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.viewer__fade.is-on { opacity: 1; }
.viewer__badge { position: absolute; top: 16px; left: 16px; display: flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--head); background: rgba(11, 11, 14, 0.65); backdrop-filter: blur(10px); border: 1px solid var(--line-2); }
.viewer__controls { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(11, 11, 14, 0.65); backdrop-filter: blur(12px); border: 1px solid var(--line-2); }
.vbtn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--muted); transition: background 0.2s, color 0.2s; }
.vbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vbtn:hover { background: rgba(255, 255, 255, 0.1); color: var(--head); }
.vbtn.is-on { color: var(--gold-ink); }
.vbtn .i-moon { display: none; }
.vbtn[aria-pressed='true'] .i-sun { display: none; }
.vbtn[aria-pressed='true'] .i-moon { display: block; }
.viewer__hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: rgba(11, 11, 14, 0.7); backdrop-filter: blur(10px); color: var(--head); font-size: 14px; pointer-events: none; transition: opacity 0.6s; }
.viewer__hint svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: swipe 2s ease-in-out infinite; }
@keyframes swipe { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }
.viewer__hint.is-gone { opacity: 0; }
.viewer__loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); background: var(--bg-3); transition: opacity 0.5s; }
.viewer__loading.is-gone { opacity: 0; pointer-events: none; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.15); border-top-color: var(--gold); animation: spin 0.9s linear infinite; }

.hotspot { pointer-events: auto; position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; padding: 0; }
.hotspot::before { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: rgba(214, 165, 72, 0.95); box-shadow: 0 0 0 6px rgba(214, 165, 72, 0.25), 0 4px 14px rgba(0, 0, 0, 0.4); transition: transform 0.3s var(--ease); }
.hotspot::after { content: ''; position: absolute; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(214, 165, 72, 0.8); animation: ring 2.2s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: 1; } to { transform: scale(2.3); opacity: 0; } }
.hotspot svg { position: relative; width: 12px; height: 12px; fill: none; stroke: #1a1103; stroke-width: 3; stroke-linecap: round; transition: transform 0.3s var(--ease); }
.hotspot:hover::before, .hotspot.is-open::before { transform: scale(1.18); }
.hotspot.is-open svg { transform: rotate(45deg); }
.hotcard { position: absolute; left: 50%; bottom: 52px; transform: translate(-50%, 8px); width: 230px; padding: 14px 16px; border-radius: 14px; background: rgba(14, 14, 18, 0.92); border: 1px solid rgba(240, 205, 133, 0.35); backdrop-filter: blur(12px); text-align: left; opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.3s var(--ease); font-size: 14px; color: var(--muted); }
.hotcard strong { display: block; color: var(--head); font-family: var(--serif); font-size: 18px; font-weight: 500; margin-bottom: 4px; }
.hs-wrap.is-open .hotcard { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.labels-off .hs-wrap { display: none; }

.roominfo { display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.roomtabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.roomtab { flex: 1; min-height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font-weight: 600; font-size: 15px; transition: background 0.3s, color 0.3s; }
.roomtab:hover { color: var(--head); }
.roomtab.is-active { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1a1103; }
.roominfo__name { font-size: 32px; margin-top: 4px; }
.roominfo__desc { color: var(--muted); margin: 0; font-size: 16px; }
.roominfo__features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.roominfo__features li { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.roominfo__features .ic { color: var(--gold-ink); width: 18px; height: 18px; }
.roominfo__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.roominfo__meta span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted); }
.roominfo__meta strong { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--head); }

@media (max-width: 1080px) { .v360 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .viewer { aspect-ratio: 4 / 5; border-radius: var(--r); }
  .viewer__controls { top: auto; bottom: 12px; right: 50%; transform: translateX(50%); grid-auto-flow: column; }
  .viewer__hint { bottom: 80px; }
  .roominfo__features { grid-template-columns: 1fr; }
}

/* ── Footer credit ───────────────────────────── */
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer__credit { margin: 0; font-size: 13px; }
.footer__credit a { color: inherit; font-weight: inherit; transition: color 0.2s; }
.footer__credit a:hover, .footer__credit a:focus-visible { color: var(--gold-ink); }
