/* ─────────────────────────────────────────────────────────────
   Sree Mallikarjuna Comforts — design tokens
   Palette pulled from the logo: temple gold + kumkum maroon on
   a warm, near-black "night" ground with ivory type.
   ───────────────────────────────────────────────────────────── */
:root {
  --bg: #0e0a0b;
  --bg-2: #140d0f;
  --surface: #1b1214;
  --surface-2: #241819;
  --line: rgba(232, 200, 130, 0.16);
  --line-strong: rgba(232, 200, 130, 0.32);

  --ivory: #f4ebdd;
  --ivory-2: #d9cbb7;
  --muted: #a8998a;

  --gold-1: #f3d892;
  --gold-2: #d4a64f;
  --gold-3: #a8742a;
  --gold: var(--gold-2);
  --gold-grad: linear-gradient(115deg, #f6e0a4 0%, #d4a64f 38%, #a8742a 62%, #f0cf86 100%);

  --maroon: #7d1526;
  --maroon-2: #a3213a;
  --wa: #25d366;

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: min(1240px, calc(100% - 2 * clamp(16px, 4vw, 48px)));
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold-2); color: #1a1008; }
:focus-visible { outline: 2px solid var(--gold-1); outline-offset: 3px; border-radius: 6px; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }
.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-2); color: #1a1008; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }

.ic { width: 20px; height: 20px; flex: none; }

/* ── Type ─────────────────────────────────────────── */
.display, h1, h2 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.display { font-size: clamp(2.4rem, 5.4vw, 4.6rem); max-width: 16ch; }
.display em, h1 em { font-style: italic; font-weight: 400; }
.gold-text {
  background: var(--gold-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: sheen 8s linear infinite;
}
@keyframes sheen { to { background-position: -200% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-1); font-weight: 500; margin: 0 0 22px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold-2); }
.eyebrow .dot { display: none; }
.muted { color: var(--muted); max-width: 52ch; }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  --pad: 14px 24px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); min-height: 48px;
  border-radius: 999px;
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.06em;
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease);
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn--sm { --pad: 10px 18px; min-height: 44px; font-size: 0.8rem; }
.btn--lg { --pad: 18px 30px; min-height: 56px; font-size: 0.92rem; }
.btn--block { width: 100%; }
.btn--gold {
  background: var(--gold-grad); background-size: 200% 100%; color: #1c1206;
  box-shadow: 0 10px 30px -10px rgba(212, 166, 79, .55), inset 0 1px 0 rgba(255,255,255,.45);
}
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 18px 44px -12px rgba(212, 166, 79, .75), inset 0 1px 0 rgba(255,255,255,.45); }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--ivory); background: rgba(20, 13, 15, .35); backdrop-filter: blur(10px); }
.btn--ghost:hover { border-color: var(--gold-1); color: var(--gold-1); }
.btn .ic { width: 18px; height: 18px; }
.btn:active { transform: scale(.97); }

/* ── Loader ───────────────────────────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, #24161a 0%, var(--bg) 70%);
  transition: opacity .9s var(--ease), visibility .9s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 26px; }
.loader__mark { width: 160px; height: auto; filter: drop-shadow(0 0 40px rgba(212,166,79,.35)); animation: breathe 2.4s var(--ease) infinite; }
@keyframes breathe { 50% { transform: scale(1.04); filter: drop-shadow(0 0 60px rgba(212,166,79,.55)); } }
.loader__bar { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width .3s; }
.loader__text { margin: 0; font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

/* ── Cursor & grain ───────────────────────────────── */
.cursor { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 250; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
  .cursor__dot { width: 6px; height: 6px; background: var(--gold-1); }
  .cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(243,216,146,.5); transition: width .35s var(--ease), height .35s var(--ease), background-color .35s, border-color .35s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(243,216,146,.08); border-color: var(--gold-1); }
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 120; opacity: .05; mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: clamp(16px, 4vw, 48px);
  transition: background-color .5s, backdrop-filter .5s, border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 10, 11, .72); backdrop-filter: blur(18px) saturate(1.3); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.nav__brand img { width: 54px; height: auto; }
.nav__word { display: grid; line-height: 1.05; }
.nav__word span { font-family: var(--font-display); font-size: 1.24rem; font-weight: 600; letter-spacing: .01em; }
.nav__word small { font-size: .62rem; letter-spacing: .5em; text-transform: uppercase; color: var(--gold-1); }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav__links a { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ivory-2); position: relative; padding-block: 10px; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--gold-1); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--gold-1); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); place-items: center; }
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99; padding: 24px clamp(16px, 4vw, 48px) 32px;
  background: rgba(14, 10, 11, .96); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line);
  display: grid; gap: 4px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { font-family: var(--font-display); font-size: 1.8rem; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }

@media (max-width: 1120px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__cta [data-tel] span { display: none; }
}
@media (max-width: 560px) {
  .nav__word span { font-size: 1.02rem; }
  .nav__brand img { width: 44px; }
  .nav__cta .btn--gold, .nav__cta [data-tel] { display: none; }
}

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; z-index: 0; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; visibility: hidden; }
.no-webgl .hero__fallback { opacity: .55; visibility: visible; }
.hero__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(14,10,11,.92) 0%, rgba(14,10,11,.55) 38%, rgba(14,10,11,0) 64%),
    linear-gradient(0deg, var(--bg) 0%, rgba(14,10,11,0) 30%),
    linear-gradient(180deg, rgba(14,10,11,.7) 0%, rgba(14,10,11,0) 22%);
}
.hero__content { position: relative; z-index: 2; align-self: center; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 40px; pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__title { font-size: clamp(2.8rem, 5.4vw, 5.6rem); line-height: .96; max-width: 44vw; font-weight: 500; margin: 0 0 28px; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { font-size: clamp(.95rem, 1.15vw, 1.08rem); color: var(--ivory-2); max-width: min(40ch, 31vw); margin: 0 0 36px; font-weight: 300; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-bottom: 32px; gap: 16px; }
.rating-chip { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20,13,15,.5); backdrop-filter: blur(12px); font-size: .8rem; color: var(--ivory-2); min-height: 44px; transition: border-color .3s; }
.rating-chip:hover { border-color: var(--gold-2); }
.rating-chip strong { color: var(--gold-1); font-weight: 600; }
.rating-chip__stars { display: flex; gap: 2px; color: var(--gold-1); }
.rating-chip__stars .ic { width: 14px; height: 14px; }
.ic--dim { opacity: .3; }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue span { width: 1px; height: 48px; background: linear-gradient(var(--gold-1), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ''; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ivory); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 110%; } }

@media (min-width: 761px) and (max-width: 1180px) {
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .hero__vignette { background: linear-gradient(0deg, var(--bg) 8%, rgba(14,10,11,.75) 48%, rgba(14,10,11,.2) 75%, rgba(14,10,11,.6) 100%); }
  .hero__content { align-self: end; padding-bottom: 12px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.6rem); max-width: none; }
  .hero__lede { max-width: none; }
  .scroll-cue { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ── Marquee ──────────────────────────────────────── */
.marquee { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); padding-block: 22px; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 2rem); color: var(--ivory-2); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; transform: rotate(45deg); background: var(--gold-2); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Story ────────────────────────────────────────── */
.story__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.scrub-text { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.45; margin: 36px 0 48px; max-width: 34ch; color: var(--ivory); }
.scrub-text .w { opacity: .18; transition: opacity .2s; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; border-top: 1px solid var(--line); padding-top: 28px; }
.stats dt { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold-1); }
.stats sup { font-size: .4em; margin-left: 4px; color: var(--gold-2); vertical-align: super; }
.stats dd { margin: 8px 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.story__visual { position: relative; aspect-ratio: 4 / 4.6; perspective: 1200px; }
.frame { position: absolute; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); border: 1px solid var(--line); transform-style: preserve-3d; will-change: transform; }
.frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.frame--a { inset: 0 18% 22% 0; }
.frame--b { inset: 46% 0 0 30%; }
.frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(243,216,146,.18), transparent 40%); pointer-events: none; }
.seal { position: absolute; right: 4%; top: 6%; width: 150px; height: 150px; display: grid; place-items: center; z-index: 3; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-size: 13.5px; letter-spacing: 3.4px; fill: var(--gold-1); font-family: var(--font-body); font-weight: 500; }
.seal img { width: 62px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .seal { width: 112px; height: 112px; }
  .seal img { width: 46px; }
}
@media (max-width: 480px) { .stats { gap: 12px; } .stats dd { font-size: .64rem; letter-spacing: .08em; } }

/* ── Tour ─────────────────────────────────────────── */
.tour { position: relative; }
.tour__pin { min-height: 100svh; display: grid; align-content: center; gap: 40px; padding-block: 96px 64px; }
.tour__head { text-align: center; display: grid; justify-items: center; }
.tour__head .display { max-width: 18ch; }
.tour__media {
  position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78svh; margin-inline: auto;
  clip-path: inset(0 22% round 32px); will-change: clip-path;
}
.tour__media video { width: 100%; height: 100%; object-fit: cover; }
.tour__caption {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(14,10,11,.6); backdrop-filter: blur(12px); border: 1px solid var(--line);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ivory-2); white-space: nowrap;
}
.tour__toggle { min-height: 36px; padding: 0 16px; border-radius: 999px; background: var(--ivory); color: #1a1008; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
@media (min-width: 761px) {
  .tour__pin { height: 100svh; min-height: 0; padding: 0; position: relative; overflow: hidden; display: block; }
  .tour__head { position: absolute; z-index: 2; left: 0; right: 0; top: calc(var(--nav-h) + 3vh); }
  .tour__head .display { font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
  .tour__media { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; clip-path: inset(36% 20% 6% 20% round 32px); }
}
@media (max-width: 760px) { .tour__media { clip-path: inset(0 6% round 20px); } .tour__caption span { display: none; } .tour__caption { padding: 6px; } }

/* ── Gallery ──────────────────────────────────────── */
.gallery { position: relative; overflow: hidden; }
.gallery__pin { height: 100svh; display: flex; align-items: center; gap: clamp(32px, 5vw, 72px); padding-left: max(clamp(16px, 4vw, 48px), calc((100vw - 1240px) / 2)); perspective: 1400px; }
.gallery__intro { flex: none; width: min(380px, 80vw); }
.gallery__intro .display { font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.gallery__intro .muted { margin-top: 20px; font-size: .86rem; }
.gallery__track { display: flex; gap: clamp(18px, 2.4vw, 32px); padding-right: 10vw; transform-style: preserve-3d; will-change: transform; }
.g-card { position: relative; flex: none; width: clamp(280px, 38vw, 560px); aspect-ratio: 4 / 5; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transform-style: preserve-3d; will-change: transform; background: var(--surface); }
.g-card:nth-child(even) { aspect-ratio: 4 / 4.2; align-self: flex-end; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease); }
.g-card:hover img { transform: scale(1.05); }
.g-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; background: linear-gradient(transparent, rgba(14,10,11,.92)); font-family: var(--font-display); font-size: 1.6rem; display: flex; align-items: baseline; gap: 14px; }
.g-card figcaption span { font-family: var(--font-body); font-size: .7rem; letter-spacing: .2em; color: var(--gold-1); }
@media (max-width: 760px) {
  .gallery__pin { height: auto; flex-direction: column; align-items: stretch; padding: 96px 0 72px; perspective: none; }
  .gallery__intro { padding-inline: clamp(16px, 4vw, 48px); width: auto; }
  .gallery__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px; scrollbar-width: none; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .g-card { width: 78vw; scroll-snap-align: center; }
  .g-card:nth-child(even) { aspect-ratio: 4 / 5; align-self: auto; }
}

/* ── Stay / rooms ─────────────────────────────────── */
.section-head { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head--split { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }
.stay { background: radial-gradient(70% 50% at 50% 0%, rgba(125,21,38,.22), transparent 70%); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1400px; }
@media (max-width: 980px) { .rooms { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.room {
  position: relative; border-radius: var(--radius-lg); padding: 1px; transform-style: preserve-3d;
  background: linear-gradient(160deg, rgba(243,216,146,.5), rgba(243,216,146,.06) 40%, rgba(163,33,58,.35));
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  will-change: transform;
}
.room:hover { box-shadow: 0 50px 90px -40px rgba(212,166,79,.4); }
.room__inner { position: relative; height: 100%; border-radius: calc(var(--radius-lg) - 1px); background: linear-gradient(180deg, var(--surface-2), var(--surface)); padding: 32px 30px 30px; display: flex; flex-direction: column; overflow: hidden; transform-style: preserve-3d; }
.room__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(243,216,146,.16), transparent 50%); opacity: 0; transition: opacity .4s; }
.room:hover .room__glare { opacity: 1; }
.room__art { height: 150px; margin: -8px -8px 24px; border-radius: 18px; display: grid; place-items: center; background: radial-gradient(80% 90% at 50% 100%, rgba(212,166,79,.22), transparent 70%), linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)); border: 1px solid var(--line); transform: translateZ(40px); }
.room__art svg { width: 84px; height: 84px; color: var(--gold-1); filter: drop-shadow(0 8px 24px rgba(212,166,79,.4)); }
.room__tag { align-self: flex-start; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold-1); margin-bottom: 16px; transform: translateZ(30px); }
.room h3 { font-family: var(--font-display); font-size: 2.1rem; font-weight: 500; margin: 0 0 10px; line-height: 1.05; transform: translateZ(30px); }
.room p { color: var(--muted); margin: 0 0 22px; font-size: .92rem; }
.room ul { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.room li { font-size: .74rem; padding: 6px 12px; border-radius: 999px; background: rgba(243,216,146,.06); color: var(--ivory-2); border: 1px solid var(--line); }
.room__price { margin: -8px 0 22px !important; color: var(--muted); font-size: .82rem !important; }
.room__price strong { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--gold-1); font-variant-numeric: lining-nums; }
.room .btn { margin-top: auto; transform: translateZ(20px); }
.link { color: var(--gold-1); text-decoration: underline; text-underline-offset: 3px; }
.room--featured { background: var(--gold-grad); }

/* ── Amenities ────────────────────────────────────── */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (max-width: 980px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .amenity-grid { grid-template-columns: 1fr; } }
.amenity { position: relative; padding: 34px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; transition: background-color .5s; }
.amenity::before { content: ''; position: absolute; inset: auto 0 0 0; height: 0; background: linear-gradient(0deg, rgba(212,166,79,.14), transparent); transition: height .6s var(--ease); }
.amenity:hover::before { height: 100%; }
.amenity__icon { position: relative; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--gold-1); margin-bottom: 22px; background: rgba(243,216,146,.04); transition: transform .6s var(--ease); }
.amenity:hover .amenity__icon { transform: translateY(-4px) rotate(-6deg); }
.amenity__icon .ic { width: 26px; height: 26px; }
.amenity h3 { position: relative; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0 0 8px; }
.amenity p { position: relative; margin: 0; color: var(--muted); font-size: .88rem; }

/* ── Location ─────────────────────────────────────── */
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
@media (max-width: 900px) { .location__grid { grid-template-columns: 1fr; } }
.location__card { display: flex; flex-direction: column; justify-content: center; }
.location__addr { display: flex; gap: 14px; font-style: normal; margin: 32px 0 24px; font-size: 1.02rem; color: var(--ivory-2); }
.location__addr .ic { color: var(--gold-1); margin-top: 4px; }
.near { list-style: none; padding: 0; margin: 0 0 32px; border-top: 1px solid var(--line); }
.near li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.near b { font-weight: 500; color: var(--gold-1); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__map { position: relative; min-height: 440px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05) brightness(.92) sepia(.25); }

/* ── Book ─────────────────────────────────────────── */
.book { background: radial-gradient(60% 60% at 80% 50%, rgba(125,21,38,.28), transparent 70%), var(--bg-2); border-top: 1px solid var(--line); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 900px) { .book__grid { grid-template-columns: 1fr; } }
.book__intro .muted { margin: 24px 0 28px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; color: var(--ivory-2); font-size: .94rem; }
.ticks .ic { color: var(--gold-1); width: 18px; height: 18px; }
.book__form { padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius-lg); background: rgba(36,24,25,.6); border: 1px solid var(--line); backdrop-filter: blur(16px); display: grid; gap: 18px; box-shadow: 0 50px 100px -50px rgba(0,0,0,.9); }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory-2); }
.field .opt { text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px;
  background: rgba(14,10,11,.6); border: 1px solid var(--line-strong); color: var(--ivory);
  font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s; color-scheme: dark;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-1); box-shadow: 0 0 0 4px rgba(243,216,146,.12); }
.field input::placeholder, .field textarea::placeholder { color: #7d7064; }
.field.is-invalid input { border-color: #e2677b; }
.field__err { margin: 0; min-height: 0; font-size: .78rem; color: #f08a9b; }
.book__note { margin: 0; text-align: center; font-size: .76rem; color: var(--muted); }

/* ── Footer ───────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__logo { grid-column: 1 / -1; } }
.footer__logo { width: 220px; height: auto; }
.footer h3 { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-1); font-weight: 500; margin: 0 0 14px; }
.footer p { margin: 0 0 6px; color: var(--ivory-2); font-size: .9rem; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--gold-1); }
.credit { color: inherit; }
.credit:hover, .credit:focus-visible { color: var(--gold-1); }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--muted); padding-right: 88px; } /* keeps the credit clear of the floating buttons */

/* ── Floating action buttons ──────────────────────── */
.fab-stack { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 140; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 60px; min-width: 60px; border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.7); transition: transform .4s var(--ease), box-shadow .4s; }
.fab:hover { transform: translateY(-3px); }
.fab .ic { width: 28px; height: 28px; }
.fab--wa { background: var(--wa); color: #fff; padding: 0 16px; gap: 0; }
.fab--wa::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.45); opacity: 0; } }
.fab__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .86rem; transition: max-width .5s var(--ease), margin .5s var(--ease); }
.fab--wa:hover .fab__label, .fab--wa:focus-visible .fab__label { max-width: 120px; margin-left: 10px; }
.fab--chat { width: 60px; background: var(--gold-grad); color: #1c1206; }
.fab--chat .ic--close { display: none; }
.fab--chat[aria-expanded="true"] .ic--open { display: none; }
.fab--chat[aria-expanded="true"] .ic--close { display: block; }
.fab__badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: var(--maroon-2); color: #fff; font-size: .68rem; font-weight: 600; display: grid; place-items: center; border: 2px solid var(--bg); }
.fab--chat[aria-expanded="true"] .fab__badge, .fab__badge.is-seen { display: none; }

/* ── Chatbot ──────────────────────────────────────── */
.chat {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 150px); z-index: 150;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 200px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(24, 16, 18, .94); backdrop-filter: blur(20px); border: 1px solid var(--line-strong);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9);
  transform-origin: bottom right; animation: pop .45s var(--ease);
}
.chat[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(125,21,38,.35), transparent); }
.chat__head img { width: 40px; }
.chat__head div { display: grid; flex: 1; line-height: 1.25; }
.chat__head strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.chat__head span { font-size: .72rem; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37,211,102,.2); }
.chat__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory-2); }
.chat__close:hover { background: rgba(255,255,255,.06); }
.chat__log { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .88rem; line-height: 1.5; animation: msgIn .4s var(--ease); white-space: pre-line; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.msg--bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg--user { align-self: flex-end; background: var(--gold-grad); color: #1c1206; border-bottom-right-radius: 6px; font-weight: 500; }
.msg a.msg__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; font-size: .8rem; }
.msg a.msg__cta .ic { width: 16px; height: 16px; }
/* structured concierge replies */
.msg--rich { max-width: 100%; width: 100%; padding: 16px; white-space: normal; display: grid; gap: 12px; }
.cb-title { margin: 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; color: var(--ivory); }
.cb-text { margin: -4px 0 0; color: var(--ivory-2); font-size: .86rem; }
.cb-note { margin: 0; font-size: .78rem; color: var(--muted); padding-left: 10px; border-left: 2px solid var(--gold-3); }
.cb-rows { margin: 0; display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cb-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 10px 12px; font-size: .82rem; }
.cb-row + .cb-row { border-top: 1px solid var(--line); }
.cb-row dt { display: flex; align-items: center; gap: 8px; color: var(--ivory-2); }
.cb-row dt .ic { width: 16px; height: 16px; color: var(--gold-1); flex: none; }
.cb-row dd { margin: 0; text-align: right; color: var(--ivory); font-weight: 500; max-width: 60%; }
.cb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cb-grid li { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(243,216,146,.05); border: 1px solid var(--line); font-size: .76rem; line-height: 1.3; color: var(--ivory-2); }
.cb-grid li.is-action { padding: 0; }
.cb-grid__btn { display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 10px; text-align: left; font-size: inherit; color: inherit; border-radius: 12px; transition: background-color .3s, color .3s; }
.cb-grid__btn:hover { background: rgba(243,216,146,.1); color: var(--ivory); }
.cb-grid .ic { width: 18px; height: 18px; color: var(--gold-1); flex: none; }
.cb-steps { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.cb-steps li { counter-increment: st; display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--ivory-2); }
.cb-steps li::before { content: counter(st); width: 24px; height: 24px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: .72rem; font-weight: 600; color: #1c1206; background: var(--gold-grad); }
.cb-rooms { display: grid; gap: 8px; }
.cb-room { display: grid; gap: 6px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(14,10,11,.45); transition: border-color .3s, background-color .3s; }
.cb-room:hover { border-color: var(--gold-2); background: rgba(243,216,146,.05); }
.cb-room__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cb-room__name { display: grid; gap: 4px; }
.cb-room__name strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; line-height: 1.1; }
.cb-room__tag { justify-self: start; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-1); padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-strong); }
.cb-room__price { text-align: right; white-space: nowrap; }
.cb-room__price strong { display: block; font-size: 1rem; color: var(--gold-1); font-weight: 600; }
.cb-room__price small { font-size: .68rem; color: var(--muted); }
.cb-room__meta { margin: 0; font-size: .74rem; color: var(--muted); }
.cb-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.cb-tags li { font-size: .66rem; padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ivory-2); }
.cb-room__go { justify-self: end; display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 600; color: var(--gold-1); }
.cb-room__go .ic { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.cb-room:hover .cb-room__go .ic { transform: translateX(3px); }
.cb-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-btn { flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: .78rem; font-weight: 600; transition: transform .3s var(--ease), filter .3s; }
.cb-btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.cb-btn .ic { width: 16px; height: 16px; }
.cb-btn--primary { background: var(--gold-grad); color: #1c1206; }
.cb-btn--wa { background: var(--wa); color: #fff; }
.cb-btn--ghost { border: 1px solid var(--line-strong); color: var(--ivory); }
.cb-next { display: flex; flex-wrap: wrap; gap: 6px; animation: msgIn .4s var(--ease); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-1); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat__chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; scrollbar-width: none; }
.chat__chips::-webkit-scrollbar { display: none; }
.chat__chips[hidden] { display: none; }
.chip { flex: none; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .76rem; color: var(--gold-1); transition: background-color .3s, color .3s; }
.chip:hover { background: var(--gold-2); color: #1c1206; }
.chat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat__form input { flex: 1; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(14,10,11,.7); color: var(--ivory); font: inherit; font-size: 16px; }
.chat__form input:focus { outline: none; border-color: var(--gold-1); }
.chat__form button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1c1206; }
@media (max-width: 480px) { .chat { right: 8px; left: 8px; width: auto; bottom: calc(max(18px, env(safe-area-inset-bottom)) + 150px); height: min(520px, calc(100svh - 190px)); } }

/* ── Reveal helpers (initial states set in JS so no-JS stays visible) ── */
.reveal-up { will-change: transform, opacity; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tour__media { clip-path: none; }
  .scrub-text .w { opacity: 1; }
  .marquee__track { animation: none; }
}
