/* MKP Homes — Quiet Luxury Editorial Design System
   Dark obsidian charcoal + warm champagne gold, phone-first, zero CDN CSS bloat. */

:root {
  --bg: #080a0f;
  --bg-elev: #0e121b;
  --card: #131824;
  --card-2: #171d2c;
  --ink: #f8fafc;
  --ink-soft: #cbd5e1;
  --muted: #94a3b8;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(226, 186, 110, 0.34);
  --gold: #e2ba6e;
  --gold-bright: #f5d693;
  --gold-deep: #c99438;
  --gold-soft: rgba(226, 186, 110, 0.12);
  --emerald: #10b981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --rose: #fb7185;
  --rose-soft: rgba(251, 113, 133, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Grotesk", ui-monospace, monospace;
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1200px;
}

/* ==================== LIGHT THEME (WARM IVORY & BRONZE GOLD) ==================== */
html.light {
  --bg: #faf8f4;
  --bg-elev: #ffffff;
  --card: #f4f0e8;
  --card-2: #ebe4d7;
  --ink: #14120f;
  --ink-soft: #3f3a32;
  --muted: #5e574c;
  --line: rgba(20, 18, 15, 0.12);
  --line-gold: rgba(154, 107, 22, 0.38);
  --gold: #9a6b16;
  --gold-bright: #b8821d;
  --gold-deep: #7d540d;
  --gold-soft: rgba(180, 127, 30, 0.12);
  --emerald: #059669;
  --emerald-soft: rgba(5, 150, 105, 0.12);
  --rose: #e11d48;
  --rose-soft: rgba(225, 29, 72, 0.1);
}

html.light .nav-bar {
  background: rgba(255, 253, 249, 0.95);
  border-color: rgba(154, 107, 22, 0.25);
  box-shadow: 0 10px 28px rgba(20, 18, 15, 0.08);
}

html.light .brand-mark span {
  background: #fffdf9;
}

html.light .brand-name,
html.light .hero-title,
html.light .section-title,
html.light .card-big,
html.light .hero-stats dt,
html.light .space-body h3,
html.light .step-head h2,
html.light .addons-title,
html.light .summary-price,
html.light .summary-line.total,
html.light .guide-spot-top,
html.light .faq-btn,
html.light .cal-month,
html.light .cal-chip-val,
html.light .addon-price,
html.light .info-card h3 {
  color: var(--ink);
}

html.light .menu-btn,
html.light .theme-btn,
html.light .icon-pill,
html.light .currency-select,
html.light .btn-outline,
html.light .btn-ghost,
html.light .pill:not(.pill-live),
html.light .filter-chip:not(.is-active),
html.light .cal-nav-btn,
html.light .row-btn {
  background: rgba(20, 18, 15, 0.04);
  color: var(--ink);
  border-color: var(--line);
}

html.light .currency-select option,
html.light .form-input option {
  background: #ffffff;
  color: #14120f;
}

html.light .mobile-menu {
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 20px 44px rgba(20, 18, 15, 0.14);
}

html.light .mobile-menu a:hover,
html.light .mobile-menu .menu-action:hover {
  background: rgba(20, 18, 15, 0.05);
}

html.light .btn-gold {
  background: linear-gradient(135deg, #d4a146, #b8821d 55%, #9a6b16);
  color: #fffdf9;
  box-shadow: 0 8px 20px rgba(154, 107, 22, 0.24);
}

html.light .pill-live,
html.light .rate-pill {
  color: #7d540d;
}

html.light .form-input,
html.light .cal-box,
html.light .cal-chip,
html.light .notice-box:not(.is-emerald):not(.is-rose),
html.light .addon-item,
html.light .upload-zone,
html.light .summary-note,
html.light .footer-audio-btn {
  background: #ffffff;
  color: var(--ink);
  border-color: var(--line);
}

html.light .form-input:focus {
  background: #ffffff;
  border-color: var(--gold);
}

html.light .notice-box.is-emerald {
  background: rgba(5, 150, 105, 0.1);
  color: #065f46;
}

html.light .notice-box.is-rose {
  background: rgba(225, 29, 72, 0.09);
  color: #9f1239;
}

html.light .sig-wrap {
  background: #ffffff;
  border-color: var(--line);
}

html.light .bank-box,
html.light .voucher-card {
  background: #f4f0e8;
}

html.light .site-footer {
  background: #f0ebe0;
}

html.light .row-bars button i {
  background: rgba(20, 18, 15, 0.14);
}

html.light .cal-day.is-past {
  color: rgba(94, 87, 76, 0.35);
}

html.light .cal-day.is-booked {
  color: #be123c;
  background: rgba(225, 29, 72, 0.09);
}

html.light .cal-day.is-in-range {
  background: rgba(180, 127, 30, 0.16);
  color: #7d540d;
}

html.light .cal-day.is-selected,
html.light .cal-day.is-selected:hover {
  background: linear-gradient(135deg, #c79234, #9a6b16);
  color: #fffdf9;
  border-color: #9a6b16;
}

html.light .cal-day.is-today:not(.is-selected) {
  border-color: rgba(20, 18, 15, 0.32);
}

html.light .modal-close {
  background: rgba(20, 18, 15, 0.08);
  color: var(--ink);
}

html.light #lightbox .modal-close,
html.light #video-modal .modal-close {
  background: rgba(10, 13, 20, 0.85);
  color: #fff;
}

html.light .toast {
  background: #14120f;
  color: #faf8f4;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--gold);
  color: #0b0d12;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap { padding: 0 24px; }
}

.grid-min > * {
  min-width: 0;
}

/* ==================== HEADER ==================== */
.site-header {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 12px;
}

.nav-bar {
  max-width: var(--max);
  margin: 0 auto;
  background: rgba(10, 13, 20, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 186, 110, 0.22);
  border-radius: 999px;
  padding: 7px 9px 7px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55);
}

@media (min-width: 768px) {
  .nav-bar {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 9px 14px 9px 18px;
    gap: 10px;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex: 1 1 auto;
}

@media (min-width: 1024px) {
  .brand { flex: 0 0 auto; }
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  padding: 1.5px;
  flex-shrink: 0;
}

.brand-mark span {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #0a0d14;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gold);
}

.brand-text {
  line-height: 1.15;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.currency-wrap {
  position: relative;
  display: none;
}

.currency-select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 28px 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 38px;
}

.currency-select option {
  background: #0f131d;
  color: #fff;
}

.currency-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.icon-pill {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  min-height: 38px;
  transition: border-color 0.2s, color 0.2s;
}

.icon-pill:hover {
  border-color: var(--line-gold);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.86rem;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, opacity 0.18s ease, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 52%, var(--gold-deep));
  color: #0b0d12;
  box-shadow: 0 8px 22px rgba(226, 186, 110, 0.22);
}

.btn-gold:hover {
  opacity: 0.94;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--line-gold);
  background: rgba(226, 186, 110, 0.08);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-soft);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-sm {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 0.76rem;
}

@media (min-width: 400px) {
  .btn-sm {
    min-height: 38px;
    padding: 7px 14px;
    font-size: 0.78rem;
  }
}

.menu-btn,
.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}

.theme-btn:hover {
  border-color: var(--line-gold);
  color: var(--gold);
}

#theme-icon-moon { display: none; }
html.light #theme-icon-sun { display: none; }
html.light #theme-icon-moon { display: block; }

@media (min-width: 400px) {
  .menu-btn,
  .theme-btn {
    width: 40px;
    height: 40px;
  }
}

.mobile-menu {
  max-width: var(--max);
  margin: 8px auto 0;
  background: rgba(12, 16, 24, 0.97);
  border: 1px solid var(--line-gold);
  border-radius: 24px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.mobile-menu a,
.mobile-menu .menu-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
}

.mobile-menu a:hover,
.mobile-menu .menu-action:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}

.mobile-menu-sep {
  height: 1px;
  background: var(--line);
  margin: 8px 0;
}

.mobile-currency-row {
  padding: 4px 6px 8px;
}

.mobile-currency-row .currency-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 14px;
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .currency-wrap { display: block; }
  .mobile-currency-row { display: none; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .icon-pill { display: inline-flex; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ==================== HERO ==================== */
section[id] {
  scroll-margin-top: 84px;
}

.hero {
  padding: 84px 0 24px;
}

@media (min-width: 1024px) {
  .hero { padding: 118px 0 48px; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
  }
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
}

.pill-live {
  border-color: var(--line-gold);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
}

.kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.15rem, 6vw, 3.65rem);
  line-height: 1.07;
  margin: 0;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin: 18px 0 0;
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 54ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  max-width: 440px;
}

.hero-stats dt {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.55rem;
  color: #fff;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-media {
  position: relative;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-gold);
  background: var(--card);
  cursor: zoom-in;
}

@media (min-width: 1024px) {
  .hero-media {
    aspect-ratio: 4 / 5;
    max-height: 540px;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media:hover img {
  transform: scale(1.04);
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.88) 72%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.72);
  border: 1px solid var(--line-gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-caption-title {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

/* ==================== SECTIONS ==================== */
.section {
  padding: 22px 0;
}

@media (min-width: 1024px) {
  .section { padding: 44px 0; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 20px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.8vw, 2.35rem);
  line-height: 1.15;
  margin: 4px 0 0;
  color: #fff;
}

.section-sub {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 44ch;
}

/* ==================== CARDS ==================== */
.panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

@media (min-width: 640px) {
  .panel { padding: 28px; }
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card.featured {
  border-color: var(--line-gold);
  background: linear-gradient(180deg, rgba(226, 186, 110, 0.11) 0%, var(--card) 100%);
}

.card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.card-big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.85rem;
  color: #fff;
  margin: 10px 0 6px;
  line-height: 1.12;
  font-variant-numeric: tabular-nums;
}

.card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ==================== SIDEWAYS ROWS (ngwanu.tech v2 pattern) ==================== */
.side-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 14px;
  align-items: stretch;
}

.side-row::-webkit-scrollbar {
  display: none;
}

.row-slot {
  display: flex;
  min-width: 0;
  scroll-snap-align: start;
}

.row-slot > * {
  flex: 1 1 auto;
  min-width: 0;
}

/* Standard 3-card & 4-card rows: sideways on phones/tablets, grid on wide screens */
.row-3 > *,
.row-4 > * {
  flex: 0 0 min(84%, 310px);
}

@media (min-width: 1000px) {
  .row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
  }
  .row-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: 0;
  }
  .row-3 > *,
  .row-4 > * {
    flex: none;
  }
}

/* Photo row & Spaces row: ALWAYS sideways on phones AND desktop so the page stays short */
.photo-row > * {
  flex: 0 0 min(78%, 300px);
}

@media (min-width: 640px) {
  .photo-row > * {
    flex: 0 0 300px;
  }
}

@media (min-width: 1024px) {
  .photo-row > * {
    flex: 0 0 320px;
  }
}

.spaces-row > * {
  flex: 0 0 min(84%, 310px);
}

@media (min-width: 1024px) {
  .spaces-row > * {
    flex: 0 0 340px;
  }
}

/* Row navigation controls: counter + story bars + arrows */
.row-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

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

.row-count {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
  min-width: 4.1em;
  font-variant-numeric: tabular-nums;
}

.row-bars {
  display: flex;
  flex: 1;
  gap: 5px;
  max-width: 280px;
  margin-right: auto;
}

.row-bars button {
  flex: 1;
  min-width: 0;
  height: 28px;
  padding: 12px 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.row-bars button i {
  display: block;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.row-bars button i b {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
}

.row-bars button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.row-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, opacity 0.2s, transform 0.2s, color 0.2s;
}

.row-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.row-btn:active:not(:disabled) {
  transform: scale(0.92);
}

.row-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

/* Row motion & front-card highlight */
.rowfx {
  position: relative;
}

.rowfx .row-card {
  position: relative;
  transform-origin: center center;
  backface-visibility: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.rowfx .row-card::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  top: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
  pointer-events: none;
  z-index: 3;
}

.rowfx.is-row .row-card.is-current {
  border-color: rgba(226, 186, 110, 0.55);
  box-shadow: inset 0 -48px 64px -50px rgba(226, 186, 110, 0.34);
}

.rowfx.is-row .row-card.is-current::after {
  transform: scaleX(1);
}

@media (hover: hover) {
  .rowfx .row-card:hover::after {
    transform: scaleX(1);
  }
}

.rowfx.is-row {
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 34px), transparent 100%);
}

.rowfx.is-row.at-end {
  -webkit-mask-image: none;
  mask-image: none;
}

@media (hover: hover) and (pointer: fine) {
  .rowfx.is-row { cursor: grab; }
  .rowfx.is-row.dragging { cursor: grabbing; user-select: none; }
  .rowfx.dragging a,
  .rowfx.dragging button,
  .rowfx.dragging figure { pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rowfx .row-card,
  .rowfx .row-card * {
    transform: none !important;
    opacity: 1 !important;
  }
  .rowfx .row-card::after { transition: none; }
}

/* ==================== PHOTO GALLERY ==================== */
.photo-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: var(--card);
  cursor: zoom-in;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.photo-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 12, 0.88) 72%);
  z-index: 2;
}

.photo-title {
  display: block;
  font-weight: 700;
  font-size: 0.94rem;
  color: #fff;
}

.photo-sub {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.gallery-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-hint {
  font-size: 0.84rem;
  color: var(--muted);
}

.more-photos-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-chip.is-active,
.filter-chip:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
  color: var(--gold-bright);
}

.photo-grid-all {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 768px) {
  .photo-grid-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .photo-grid-all {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==================== SPACES & SUITES (#floorplan) ==================== */
.space-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.space-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0a0d14;
  cursor: zoom-in;
}

.space-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.space-thumb:hover img {
  transform: scale(1.05);
}

.space-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 10, 15, 0.82);
  border: 1px solid var(--line-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.space-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.space-body h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: #fff;
}

.space-body p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ==================== BOOKING ENGINE ==================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}

@media (min-width: 1024px) {
  .booking-grid {
    grid-template-columns: 7fr 5fr;
    gap: 28px;
  }
}

.booking-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* Fixed phone-safe Stepper: fits cleanly even at 320px/360px */
.stepper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px;
}

.step-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 6px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  min-width: 0;
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.step-tab.is-active {
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-weight: 700;
}

.step-tab.is-active .step-num {
  border-color: var(--gold);
  background: rgba(226, 186, 110, 0.22);
  color: var(--gold-bright);
}

.step-tab.is-done {
  color: var(--emerald);
}

.step-tab.is-done .step-num {
  border-color: var(--emerald);
  background: var(--emerald-soft);
  color: var(--emerald);
}

.step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.step-head h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: #fff;
}

.rate-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid var(--line-gold);
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 700;
}

.step-intro {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.form-grid-2 > * {
  min-width: 0;
}

@media (min-width: 560px) {
  .form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.field-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.form-input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(226, 186, 110, 0.24);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.92rem;
  color: #fff;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  transition: border-color 0.2s, background 0.2s;
}

input[type="date"].form-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  line-height: 1.35;
  text-align: left;
  -webkit-appearance: none;
  appearance: none;
}

input[type="date"].form-input::-webkit-date-and-time-value {
  text-align: left;
  min-height: 1.35em;
}

select.form-input {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}

.form-input option {
  background: #0f131d;
  color: #fff;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(40%) hue-rotate(8deg);
  cursor: pointer;
}

.stack-sm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.notice-box {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.84rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.notice-box.is-emerald {
  border-color: rgba(16, 185, 129, 0.35);
  background: var(--emerald-soft);
  color: #d1fae5;
}

.notice-box.is-rose {
  border-color: rgba(251, 113, 133, 0.4);
  background: var(--rose-soft);
  color: #fecdd3;
  justify-content: flex-start;
}

.notice-badge {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.78rem;
}

.notice-box.is-emerald .notice-badge {
  color: var(--emerald);
}

.addons-block {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.addons-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.addon-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.addon-item:hover {
  border-color: var(--line-gold);
  background: rgba(255, 255, 255, 0.05);
}

.addon-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
}

.addon-left input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.addon-price {
  font-family: var(--mono);
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  font-size: 0.84rem;
}

.upload-zone {
  position: relative;
  border: 1.5px dashed rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s;
}

.upload-zone:hover {
  border-color: var(--gold);
}

.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.upload-prompt p {
  margin: 6px 0 2px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.upload-prompt small {
  font-size: 0.76rem;
  color: var(--muted);
}

.upload-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.upload-preview img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line-gold);
}

.upload-preview img.avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.upload-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--emerald);
  word-break: break-word;
}

.sig-wrap {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #07090e;
  padding: 8px;
}

.sig-canvas {
  display: block;
  width: 100%;
  height: 110px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: crosshair;
  touch-action: none;
}

.agree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.agree-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.btn-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-full {
  width: 100%;
}

/* Right booking summary card (NOT sticky — no scroll-locking!) */
.summary-card {
  background: var(--bg-elev);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  padding: 22px;
}

@media (min-width: 640px) {
  .summary-card { padding: 26px; }
}

.summary-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.summary-price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.95rem;
  color: #fff;
}

.summary-unit {
  font-size: 0.86rem;
  color: var(--muted);
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.88rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink-soft);
}

.summary-line.gold {
  color: var(--gold);
}

.summary-line.total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.98rem;
  color: #fff;
}

.mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}

.summary-perks {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--ink-soft);
}

.summary-perk {
  display: flex;
  align-items: center;
  gap: 9px;
}

.summary-note {
  margin-top: 16px;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}

/* Bank & Voucher boxes */
.bank-box {
  padding: 18px;
  border-radius: 16px;
  background: #0a0d14;
  border: 1px solid var(--line-gold);
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.bank-account-row {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--line-gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.voucher-card {
  padding: 20px;
  border-radius: 18px;
  background: #0a0d14;
  border: 1px solid var(--line-gold);
}

/* ==================== INTERACTIVE AVAILABILITY CALENDAR ==================== */
.cal-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 640px) {
  .cal-box { padding: 18px; }
}

.cal-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.cal-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  min-width: 0;
}

.cal-chip.is-waiting {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.cal-chip-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.cal-chip-val {
  display: block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cal-month {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cal-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: border-color 0.2s, color 0.2s, opacity 0.2s;
}

.cal-nav-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--gold);
}

.cal-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.cal-weekdays,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal-weekdays span {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 2px 0 4px;
}

.cal-day {
  position: relative;
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.84rem;
  font-weight: 600;
  display: grid;
  place-items: center;
  padding: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.cal-day:hover:not(:disabled) {
  border-color: var(--line-gold);
  background: rgba(226, 186, 110, 0.1);
}

.cal-day.is-today:not(.is-selected) {
  border-color: rgba(255, 255, 255, 0.22);
}

.cal-day.is-in-range {
  background: rgba(226, 186, 110, 0.16);
  color: var(--gold-bright);
  border-radius: 8px;
}

.cal-day.is-selected,
.cal-day.is-selected:hover {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #0b0d12;
  font-weight: 800;
  border-color: var(--gold-bright);
}

.cal-day.is-past {
  color: rgba(148, 163, 184, 0.28);
  cursor: default;
}

.cal-day.is-booked {
  color: rgba(251, 113, 133, 0.55);
  background: rgba(251, 113, 133, 0.07);
  text-decoration: line-through;
  cursor: not-allowed;
}

.cal-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cal-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cal-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  display: inline-block;
}

.cal-dot.sel { background: var(--gold); }
.cal-dot.booked { background: var(--rose); opacity: 0.65; }

.cal-status {
  color: var(--gold-bright);
  font-weight: 600;
}

/* ==================== GUIDE & GUARANTEE CARDS ==================== */
.guide-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

.guide-head {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--gold);
}

.guide-spot {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.guide-spot + .guide-spot {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.guide-spot-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
}

.guide-spot-time {
  font-family: var(--mono);
  color: var(--gold);
  white-space: nowrap;
  font-size: 0.82rem;
}

.guide-spot-time.ready {
  color: var(--emerald);
}

.guide-spot p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--line-gold);
  color: var(--gold);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.icon-badge.emerald {
  background: var(--emerald-soft);
  border-color: rgba(16, 185, 129, 0.35);
  color: var(--emerald);
}

/* ==================== FAQ ==================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-weight: 700;
  font-size: 0.94rem;
  color: #fff;
}

.faq-btn:hover {
  color: var(--gold);
}

.faq-chevron {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 18px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ==================== FOOTER ==================== */
.site-footer {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  background: #06080c;
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

.site-footer .brand {
  flex: 1 1 260px;
  min-width: 0;
}

.site-footer .brand > span:last-child {
  min-width: 0;
  line-height: 1.45;
}

.site-footer .brand-name {
  display: inline;
  white-space: normal;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--gold);
}

.footer-audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.sound-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.sound-eq span {
  width: 2.5px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
  animation: eqPulse 1.1s infinite ease-in-out alternate;
}

.sound-eq span:nth-child(2) { animation-delay: 0.2s; }
.sound-eq span:nth-child(3) { animation-delay: 0.4s; }
.sound-eq.is-paused span { animation: none; height: 4px; }

@keyframes eqPulse {
  from { height: 4px; }
  to { height: 14px; }
}

/* ==================== MODALS & LIGHTBOX ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elev);
  border: 1px solid var(--line-gold);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.75);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
}

.modal-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.video-shell {
  max-width: 390px;
  padding: 10px;
}

.video-frame-wrap {
  position: relative;
  padding-top: 177.78%;
  border-radius: 16px;
  overflow: hidden;
  background: #05070c;
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Lightbox */
.lightbox-figure {
  width: 100%;
  max-width: 960px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox-figure img {
  max-height: 78vh;
  max-width: 100%;
  width: auto;
  border-radius: 18px;
  border: 1px solid var(--line-gold);
  object-fit: contain;
}

.lightbox-meta {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.lightbox-counter {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 3px;
}

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(12, 16, 24, 0.85);
  border: 1px solid var(--line-gold);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 105;
}

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

/* Floating WhatsApp & Toast */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  background: #10b981;
  color: #05130d;
  font-weight: 800;
  font-size: 0.82rem;
  border: 1px solid #6ee7b7;
  box-shadow: 0 12px 30px rgba(16, 185, 129, 0.35);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 120;
  background: var(--card-2);
  color: #fff;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65);
  max-width: calc(100vw - 32px);
  text-align: center;
}

@media print {
  body * { visibility: hidden; }
  #printable-invoice, #printable-invoice * { visibility: visible; }
  #printable-invoice {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: #fff !important;
    color: #000 !important;
    border-color: #999 !important;
  }
}
