/* ============================================================
   Skyline Vista — 360° virtual property experience
   Responsive, mobile-first styles
   ============================================================ */

:root {
  --navy: #101728;
  --ink: #1b2437;
  --slate: #5a6478;
  --line: #e6e9f0;
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --accent: #f5a524;
  --accent-dark: #d98c0b;
  --accent-soft: #fdf3df;
  --radius: 18px;
  --shadow: 0 18px 50px -18px rgba(16, 23, 40, 0.25);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.container { width: min(1180px, 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }

.accent-text { color: var(--accent); position: relative; white-space: nowrap; }
.accent-text::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.32em;
  background: var(--accent-soft); z-index: -1; border-radius: 3px;
}

.eyebrow {
  display: inline-block; font: 600 0.78rem/1 var(--font-head);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); padding: 0.55em 1em; border-radius: 999px;
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.08rem; color: var(--slate); max-width: 34em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 0.95rem/1 var(--font-head); padding: 0.95em 1.5em; border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ico { flex: none; }
.btn-accent { background: var(--accent); color: #231602; box-shadow: 0 10px 24px -8px rgba(245, 165, 36, 0.65); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 0.65em 1.15em; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(16, 23, 40, 0.28); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), #2a3a5c); color: var(--accent);
}
.brand-text em { font-style: normal; color: var(--accent-dark); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 500; font-size: 0.95rem; }
.site-nav > a:not(.nav-cta) { position: relative; padding: 0.3em 0; color: var(--slate); }
.site-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); border-radius: 2px; transition: width 0.22s ease;
}
.site-nav > a:not(.nav-cta):hover { color: var(--navy); }
.site-nav > a:not(.nav-cta):hover::after { width: 100%; }

.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(1100px 500px at 85% -10%, #fff2d6 0%, transparent 55%),
    linear-gradient(180deg, #f4f7fc 0%, #ffffff 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero-copy .lead { margin: 1.1rem 0 1.9rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 2.6rem); list-style: none; margin-top: 2.6rem; }
.hero-stats strong { font: 700 1.35rem/1 var(--font-head); color: var(--navy); display: block; }
.hero-stats span { font-size: 0.8rem; color: var(--slate); }

/* Decorative skyline card (pure CSS mock of the towers) */
.hero-visual { perspective: 900px; }
.skyline-card {
  position: relative; border-radius: 24px; padding: 2.6rem 2rem 0;
  background: linear-gradient(180deg, #b7d3ee 0%, #e8f1fa 70%, #f6f9fd 100%);
  box-shadow: var(--shadow); overflow: hidden; min-height: 380px;
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s ease;
}
.skyline-card:hover { transform: rotateY(2deg) rotateX(1deg); }
.mini-tower {
  position: absolute; bottom: 13%; width: 56px; border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #31405c, #22304a);
  box-shadow: 0 20px 40px -18px rgba(16, 23, 40, 0.5);
  display: flex; flex-direction: column; gap: 0; padding-top: 8px;
  animation: towerFloat 7s ease-in-out infinite;
}
.mini-tower.a { left: 18%; height: 62%; animation-delay: 0s; }
.mini-tower.b { left: 43%; height: 44%; animation-delay: 1.2s; width: 46px; }
.mini-tower.c { left: 64%; height: 54%; animation-delay: 2.4s; width: 50px; }
.mini-tower i {
  height: 12px; margin: 2px 6px; border-radius: 2px;
  background: linear-gradient(180deg, #cfe4f6, #9ec4e6);
  animation: windowGlow 4s ease-in-out infinite;
}
.mini-tower i:nth-child(2n) { animation-delay: 1.6s; }
.mini-tower i:nth-child(3n) { background: linear-gradient(180deg, #e8f3fd, #b9d8f0); animation-delay: 2.2s; }
@keyframes towerFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes windowGlow { 0%, 100% { opacity: 0.75; } 50% { opacity: 1; } }
.mini-ground { position: absolute; bottom: 0; left: 0; right: 0; height: 14%; background: linear-gradient(180deg, #a9c98f, #7fae6a); }
.mini-badge {
  position: absolute; top: 1.1rem; right: 1.1rem; display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255, 255, 255, 0.92); color: var(--navy); font: 600 0.72rem/1 var(--font-head);
  padding: 0.55em 0.9em; border-radius: 999px; box-shadow: 0 8px 20px -8px rgba(16,23,40,.35);
}
.mini-badge svg { color: var(--accent-dark); }

.hero-fade {
  position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

/* ---------- Feature strip ---------- */
.feature-strip { padding: 0.5rem 0 4.5rem; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.feature {
  padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature-ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 0.9rem;
  background: var(--accent-soft); color: var(--accent-dark);
}
.feature p { font-size: 0.9rem; color: var(--slate); }
.feature h3 { margin-bottom: 0.35rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head p { color: var(--slate); margin-top: 0.7rem; }
.fineprint { font-size: 0.78rem; color: var(--slate); margin-top: 1rem; }

/* ---------- Viewer (shared 360° carousel) ---------- */
.viewer-frame { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.viewer-stage {
  position: relative; height: clamp(400px, 64vh, 660px);
  background: #dfeaf5; overflow: hidden; isolation: isolate;
}
.viewer-stage:fullscreen { height: 100vh; border-radius: 0; }
.stage--sky {
  background: linear-gradient(180deg, #6fa5d8 0%, #a8cbe8 45%, #dfeaf5 78%, #e9eef2 100%);
}
.stage--interior { background: #10151f; }

.viewer-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; display: block; }
.viewer-canvas:active { cursor: grabbing; }

.viewer-loader {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; gap: 0.8rem;
  grid-auto-flow: column; align-content: center; grid-auto-columns: auto;
  font: 500 0.9rem var(--font-body); color: var(--navy);
  background: rgba(255, 255, 255, 0.8); transition: opacity 0.4s ease;
}
.stage--interior .viewer-loader { color: #fff; background: rgba(16, 21, 31, 0.85); }
.viewer-stage.is-ready .viewer-loader { opacity: 0; pointer-events: none; }
.spinner {
  width: 22px; height: 22px; border-radius: 50%;
  border: 2.5px solid rgba(16, 23, 40, 0.2); border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}
.stage--interior .spinner { border-color: rgba(255,255,255,.25); border-top-color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

.viewer-hint {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 4; display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(255, 255, 255, 0.9); color: var(--navy);
  font: 500 0.78rem var(--font-body); padding: 0.55em 1em; border-radius: 999px;
  box-shadow: 0 6px 18px -8px rgba(16, 23, 40, 0.4);
  animation: hintBob 2.6s ease-in-out infinite; transition: opacity 0.4s ease;
  white-space: nowrap;
}
.viewer-hint.is-hidden { opacity: 0; pointer-events: none; }
.stage--interior .viewer-hint { background: rgba(16, 23, 40, 0.78); color: #fff; }
@keyframes hintBob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 5px); } }

.viewer-bar {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 4;
  display: flex; gap: 0.45rem; padding: 0.4rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 30px -12px rgba(16, 23, 40, 0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  max-width: calc(100% - 20px);
}
.vbtn {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font: 600 0.74rem var(--font-head); color: var(--navy);
  padding: 0.55em 0.85em; border-radius: 999px; transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.vbtn:hover { background: var(--accent-soft); }
.vbtn.is-active { background: var(--accent); color: #231602; }

.tour-label {
  position: absolute; top: 60px; left: 50%; transform: translateX(-50%); z-index: 4;
  font: 700 0.95rem var(--font-head); color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(16, 23, 40, 0.72); padding: 0.5em 1.1em; border-radius: 999px;
  backdrop-filter: blur(6px); pointer-events: none;
  transition: opacity 0.3s ease;
}

.hotspot-card {
  position: absolute; z-index: 6; width: min(280px, 78%);
  background: rgba(255, 255, 255, 0.96); border-radius: 14px; padding: 1rem 1.1rem;
  box-shadow: 0 16px 40px -16px rgba(16, 23, 40, 0.55);
  transform: translate(-50%, calc(-100% - 26px));
  animation: cardPop 0.25s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
.hotspot-card::before {
  content: ""; position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%);
  border: 8px solid transparent; border-top-color: rgba(255, 255, 255, 0.96); border-bottom: 0;
}
@keyframes cardPop { from { opacity: 0; transform: translate(-50%, calc(-100% - 12px)); } }
.hotspot-card h4 { font-size: 0.95rem; margin-bottom: 0.25rem; padding-right: 1.2rem; }
.hotspot-card p { font-size: 0.8rem; color: var(--slate); }
.hotspot-close {
  position: absolute; top: 6px; right: 8px; font-size: 1.15rem; color: var(--slate);
  width: 28px; height: 28px; border-radius: 50%;
}
.hotspot-close:hover { background: var(--line); color: var(--navy); }

.viewer-legend { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.1rem; font-size: 0.82rem; color: var(--slate); }
.viewer-legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot-gold { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.dot-blue { background: #3aa0e8; box-shadow: 0 0 0 3px #e2f0fb; }

/* Room chips */
.room-chips {
  display: flex; gap: 0.6rem; margin-bottom: 1.4rem; overflow-x: auto; padding-bottom: 0.4rem;
  scrollbar-width: none;
}
.room-chips::-webkit-scrollbar { display: none; }
.room-chip {
  flex: none; font: 600 0.85rem var(--font-head); color: var(--slate);
  padding: 0.7em 1.3em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  transition: all 0.2s ease;
}
.room-chip:hover { border-color: var(--navy); color: var(--navy); }
.room-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Amenities ---------- */
.amenity-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; list-style: none;
}
.amenity-list li {
  padding: 0.9em 1.1em; border-radius: 12px; background: var(--bg-alt);
  font: 500 0.9rem var(--font-body); color: var(--ink);
  border: 1px solid var(--line); transition: 0.2s ease;
}
.amenity-list li::before { content: "•"; color: var(--accent-dark); margin-right: 0.5em; font-weight: 700; }
.amenity-list li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px rgba(16,23,40,.35); }

/* ---------- Floor plans ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.plan-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-featured { border: 2px solid var(--accent); }
.plan-flag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--accent); color: #231602; font: 700 0.68rem/1 var(--font-head);
  padding: 0.55em 0.9em; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: 0 6px 16px -6px rgba(245,165,36,.7);
}
.plan-thumb { background: #f9fafc; padding: 1.2rem; border-bottom: 1px solid var(--line); }
.plan-thumb svg { width: 100%; height: auto; }
.pp { font: 600 8.5px var(--font-body); fill: #64708a; }
.plan-body { padding: 1.4rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.plan-specs { font-size: 0.83rem; color: var(--slate); }
.plan-body ul { list-style: none; display: grid; gap: 0.35rem; margin: 0; }
.plan-body ul li { font-size: 0.88rem; color: var(--slate); }
.plan-body ul li::before { content: "✓"; color: #3c9d63; font-weight: 700; margin-right: 0.5em; }
.plan-price { font: 500 0.9rem var(--font-body); color: var(--slate); margin-top: auto; }
.plan-price strong { font: 700 1.5rem/1 var(--font-head); color: var(--navy); margin-left: 0.3rem; }

/* ---------- Booking ---------- */
.booking-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.booking-info {
  position: sticky; top: 100px;
  background: linear-gradient(160deg, var(--navy), #22335a 70%, #2c4170);
  color: #dfe6f5; border-radius: 22px; padding: clamp(1.8rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}
.booking-info h2 { color: #fff; }
.booking-info .eyebrow { background: rgba(245, 165, 36, 0.16); color: var(--accent); }
.booking-info p { color: #b9c3db; margin: 0.9rem 0 1.6rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); font-size: 1.05rem; }
.contact-list strong { display: block; color: #fff; font-size: 0.95rem; }
.contact-list small { color: #97a3c0; font-size: 0.78rem; }

.booking-card {
  border-radius: 22px; border: 1px solid var(--line); background: #fff; padding: clamp(1.5rem, 3.5vw, 2.2rem);
  box-shadow: 0 16px 44px -22px rgba(16, 23, 40, 0.28); position: relative; overflow: hidden;
}
.booking-card h3 { margin-bottom: 1.2rem; }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 0.9rem; }
.form-row label { font: 600 0.78rem var(--font-head); color: var(--navy); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 0.8em 1em; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg-alt); transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 165, 36, 0.18); background: #fff;
}
.form-row input.is-invalid { border-color: #e05252; }
.form-error { color: #e05252; font-size: 0.82rem; margin-top: 0.6rem; }
#bf-submit { margin-top: 0.4rem; }
.form-success[hidden] { display: none; } /* author display must not defeat [hidden] */
.form-success {
  position: absolute; inset: 0; background: #fff; display: grid; place-content: center;
  text-align: center; gap: 0.7rem; padding: 2rem; z-index: 2;
}
.success-ico {
  width: 64px; height: 64px; margin-inline: auto; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem; color: #2f9e5f;
  background: #e6f6ec; animation: popIn 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.4);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } }
.form-success p { color: var(--slate); max-width: 26em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c3db; padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand { color: #fff; margin-bottom: 0.9rem; }
.footer-brand p { font-size: 0.88rem; max-width: 26em; }
.footer-col h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.9rem; padding: 0.28em 0; color: #b9c3db; transition: color 0.18s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-col p { font-size: 0.9rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.4rem; font-size: 0.78rem; color: #8b98b8;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
  .amenity-list { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .booking-wrap { grid-template-columns: 1fr; }
  .booking-info { position: static; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 68px; left: 0; right: 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 4%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(16,23,40,.3);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.nav-cta) { padding: 0.85em 0.4em; border-bottom: 1px solid var(--line); }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin: 0.8rem 0 0.6rem; justify-content: center; }
  .plan-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .viewer-stage { height: clamp(360px, 68vh, 560px); }
  .vbtn span { display: none; }         /* icon-only controls on small screens */
  .vbtn { padding: 0.55em 0.7em; }
}

@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 1.1rem 1.6rem; }
  .hero-stats strong { font-size: 1.15rem; }
  .amenity-list { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .form-row { margin-bottom: 0.7rem; }
  .viewer-stage { height: min(62vh, 480px); }
  .viewer-hint { font-size: 0.7rem; padding: 0.5em 0.8em; }
  .tour-label { top: 52px; font-size: 0.8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hotspot-card { transform: translate(-50%, calc(-100% - 20px)); }
}

/* ============================ In-stage room selector ===================== */
/* Room chips rendered inside the tour stage so they remain visible and
   clickable while the viewer is in fullscreen. */
.stage-rooms {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.4rem;
  max-width: calc(100% - 24px);
  padding: 0.35rem 0.4rem;
  border-radius: 999px;
  background: rgba(16, 23, 40, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  overflow-x: auto;
  scrollbar-width: none;
}
.stage-rooms::-webkit-scrollbar { display: none; }
.stage-rooms .room-chip {
  padding: 0.55em 1.05em;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #e6eef8;
}
.stage-rooms .room-chip:hover {
  border-color: rgba(255, 255, 255, 0.5);
}
.stage-rooms .room-chip.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #16203a;
}
@media (max-width: 560px) {
  .stage-rooms { bottom: 118px; }
  .stage-rooms .room-chip { padding: 0.5em 0.85em; }
}
