/* =====================================================================
   BALLROOM 19 — LUXURY DESIGN SYSTEM
   "Where Luxury Celebrations Reach New Heights"

   Design language: the venue sits on the 19th floor of Ocean Towers,
   Clifton — a single gold horizon line, borrowed from the Arabian Sea
   view outside its windows, runs through the whole site as its
   signature motif. Palette leans warm ink-black and antique gold
   rather than pure black/yellow, with a deep wine undertone for
   depth so it never reads as generic "dark + gold".
   ===================================================================== */

:root {
  /* ---- Color tokens ---- */
  --ink:            #0a0908;   /* primary background */
  --ink-raised:     #14110d;   /* elevated surface */
  --ink-card:       #17130f;   /* card surface */
  --wine:           #2b0f14;   /* deep undertone accent */
  --wine-soft:      #3a161c;

  --gold:           #c9a961;   /* primary champagne gold */
  --gold-bright:    #e8d4a0;   /* pale champagne highlight */
  --gold-deep:      #8a6a35;   /* bronze / borders / shadow gold */
  --gold-line:      rgba(201, 169, 97, 0.28);

  --ivory:          #f3eee3;   /* marble / light text */
  --ivory-dim:      #cdc6b6;
  --ivory-muted:    #948d7c;

  --glass-bg:       rgba(20, 17, 13, 0.55);
  --glass-border:   rgba(201, 169, 97, 0.16);

  /* ---- Type ---- */
  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;
  --f-label:   'Jost', sans-serif;

  /* ---- Motion / layout ---- */
  --ease-lux: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.35s;
  --dur-med:  0.7s;
  --dur-slow: 1.2s;

  --container: 1360px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  color-scheme: dark;
}

/* Light "marble" theme toggle — applied on <body class="theme-light"> */
body.theme-light {
  --ink:            #f3eee3;
  --ink-raised:     #ffffff;
  --ink-card:       #fbf9f4;
  --ivory:          #14110d;
  --ivory-dim:      #3a342a;
  --ivory-muted:    #6b6355;
  --glass-bg:       rgba(255, 255, 255, 0.6);
  --glass-border:   rgba(138, 106, 53, 0.22);
}

/* =============================== RESET =============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background var(--dur-med) var(--ease-lux), color var(--dur-med) var(--ease-lux);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Focus visibility for accessibility — never removed, only restyled */
:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* =============================== TYPE =============================== */
.f-display { font-family: var(--f-display); }
.f-body { font-family: var(--f-body); }

h1, h2, h3, h4, .display {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ivory);
  letter-spacing: 0.01em;
  line-height: 1.08;
}

h1, .h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 500; }
h2, .h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h3, .h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h4, .h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-family: var(--f-body); font-weight: 500; letter-spacing: 0.02em;}

.italic { font-style: italic; }

.eyebrow {
  font-family: var(--f-label);
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.lede {
  font-family: var(--f-body);
  font-weight: 300;
  color: var(--ivory-dim);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 46ch;
}

.gold-text {
  background: linear-gradient(120deg, var(--gold-deep) 0%, var(--gold-bright) 40%, var(--gold) 70%, var(--gold-deep) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmerText 8s linear infinite;
}
@keyframes shimmerText { to { background-position: 250% center; } }

/* =============================== LAYOUT =============================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.section { position: relative; padding: clamp(80px, 11vw, 160px) 0; }
.section-tight { padding: clamp(50px, 6vw, 90px) 0; }

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-line) 50%, transparent);
}

/* The signature "horizon" motif — a thin gold line that sweeps in on scroll,
   representing the sea horizon visible from the 19th floor */
.horizon {
  position: relative;
  height: 1px;
  background: var(--gold-line);
  overflow: hidden;
}
.horizon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  transform: translateX(-100%);
}
.horizon.in-view::after { animation: sweep 2.4s var(--ease-lux) forwards; }
@keyframes sweep { to { transform: translateX(100%); } }

/* Floor marker — replaces generic 01/02/03 numbering with the building's own
   elevator-panel language: this is the "19th floor" venue, so sections are
   marked like floor indicators rather than a countdown */
.floor-mark {
  font-family: var(--f-display);
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  color: var(--gold-deep);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 6px 16px 5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.floor-mark span { color: var(--gold); font-weight: 600; }

/* =============================== NAV =============================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding: 26px 0;
  transition: padding var(--dur-fast) var(--ease-lux), background var(--dur-fast) var(--ease-lux), border-color var(--dur-fast) var(--ease-lux);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 14px 0;
  background: rgba(10, 9, 8, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; font-family: var(--f-display); }
.brand-mark {
  width: 38px; height: 38px; border: 1px solid var(--gold-deep); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--gold-bright); letter-spacing: 0;
}
.brand-name { font-size: 1.25rem; letter-spacing: 0.06em; color: var(--ivory); }
.brand-name b { color: var(--gold); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-family: var(--f-label); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-dim); position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold);
  transition: width var(--dur-fast) var(--ease-lux);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-bright); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn {
  width: 38px; height: 38px; border: 1px solid var(--glass-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ivory-dim);
  transition: all var(--dur-fast) var(--ease-lux);
  display: none;
  font-size: 0.85rem;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }

.nav-burger { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-burger span { height: 1px; background: var(--gold); display: block; transition: all var(--dur-fast) var(--ease-lux); }

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 950; background: rgba(10,9,8,0.98);
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
  transform: translateY(-100%); transition: transform var(--dur-med) var(--ease-lux);
}
.mobile-drawer.open { transform: translateY(0); }
.mobile-drawer a { font-family: var(--f-display); font-size: 1.8rem; color: var(--ivory); }
.mobile-drawer .close-drawer { position: absolute; top: 30px; right: 30px; font-size: 1.4rem; color: var(--gold); }

/* =============================== BUTTONS =============================== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-label); font-size: 0.76rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 34px; border-radius: 2px; overflow: hidden; isolation: isolate;
  transition: transform var(--dur-fast) var(--ease-lux), box-shadow var(--dur-fast) var(--ease-lux), border-color var(--dur-fast) var(--ease-lux);
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold-deep), var(--gold) 45%, var(--gold-bright) 55%, var(--gold-deep));
  background-size: 220% auto; background-position: 0% center;
  color: var(--ink); font-weight: 600;
}
.btn-gold:hover { background-position: 100% center; box-shadow: 0 10px 30px -8px rgba(201,169,97,0.55); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--glass-border); color: var(--ivory);
}
.btn-ghost::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur-med) var(--ease-lux);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--gold); }
.btn-ghost:hover::before { transform: scaleX(1); }
.btn-sm { padding: 12px 24px; font-size: 0.7rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

/* Magnetic wrapper target */
.magnetic { display: inline-block; }

/* Ripple */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255,255,255,0.5); pointer-events: none; animation: rippleAnim 0.65s var(--ease-lux); }
body.theme-light .ripple { background: rgba(10,9,8,0.25); }
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* =============================== GLASS / CARDS =============================== */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-lg);
}

.card {
  background: var(--ink-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-lux), border-color var(--dur-fast) var(--ease-lux), box-shadow var(--dur-med) var(--ease-lux);
}
.card::before {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--gold-line), transparent 40%, transparent 60%, var(--gold-line));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-lux);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6); }
.card:hover::before { opacity: 1; }

.tilt-card { transform-style: preserve-3d; will-change: transform; }

/* Shimmer sweep on hover (used on premium buttons/cards) */
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.9s var(--ease-lux);
}
.shimmer:hover::after { left: 130%; }

/* =============================== PRELOADER =============================== */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.preloader .brand-mark { width: 70px; height: 70px; font-size: 1.6rem; }
.preloader-num { font-family: var(--f-display); font-size: 0.95rem; letter-spacing: 0.3em; color: var(--gold); }
.preloader-bar { width: 220px; height: 1px; background: var(--glass-border); position: relative; overflow: hidden; }
.preloader-bar span { position: absolute; inset: 0; width: 0%; background: var(--gold); }

/* =============================== SCROLL PROGRESS + CURSOR =============================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%; z-index: 999;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright));
}

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 998; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot { width: 6px; height: 6px; background: var(--gold-bright); }
.cursor-ring { width: 34px; height: 34px; border: 1px solid var(--gold-line); transition: width .25s, height .25s, border-color .25s; }
.cursor-ring.active { width: 60px; height: 60px; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* mouse spotlight glow */
.spotlight {
  position: fixed; width: 480px; height: 480px; border-radius: 50%; pointer-events: none; z-index: 1;
  background: radial-gradient(circle, rgba(201,169,97,0.08), transparent 70%);
  transform: translate(-50%, -50%); mix-blend-mode: screen;
}

/* =============================== HERO =============================== */
.hero { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,9,8,0.55) 0%, rgba(10,9,8,0.25) 35%, rgba(10,9,8,0.55) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(10,9,8,0.55), transparent 55%);
}
.hero-noise { position: absolute; inset: 0; z-index: 2; opacity: 0.05; mix-blend-mode: overlay; pointer-events: none; }
.hero-content { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(60px, 8vw, 110px); }
.hero-title { max-width: 15ch; }
.hero-title .line { overflow: hidden; display: block; }
.hero-title .line span { display: inline-block; will-change: transform; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%; background: var(--gold-bright);
  opacity: 0.5; filter: blur(0.5px);
}

.scroll-indicator {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--f-label); font-size: 0.65rem; letter-spacing: 0.3em; color: var(--ivory-muted);
}
.scroll-indicator .stem { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-indicator .stem::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--gold-bright);
  animation: dropline 2.2s var(--ease-lux) infinite;
}
@keyframes dropline { to { top: 100%; } }

/* =============================== STATS =============================== */
.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--glass-border); }
.stat-item { background: var(--ink); padding: 44px 20px; text-align: center; }
.stat-num { font-family: var(--f-display); font-size: clamp(2.2rem, 3.6vw, 3.4rem); color: var(--gold-bright); }
.stat-label { font-family: var(--f-label); font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ivory-muted); margin-top: 8px; }

/* =============================== GRID HELPERS =============================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 56px; }
.section-head .lede { margin-top: 18px; }

/* =============================== FEATURE / VENUE CARDS =============================== */
.feature-card { padding: 0; }
.feature-media { height: 280px; overflow: hidden; position: relative; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-lux); }
.feature-card:hover .feature-media img { transform: scale(1.08); }
.feature-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,0.85), transparent 60%); }
.feature-body { padding: 26px 28px 30px; }
.feature-body h4 { margin-bottom: 8px; }
.feature-body p { color: var(--ivory-muted); font-size: 0.9rem; line-height: 1.7; }
.feature-tag { position: absolute; top: 18px; left: 18px; z-index: 2; }

/* =============================== SERVICE LIST =============================== */
.service-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 30px 4px; border-bottom: 1px solid var(--glass-border);
  transition: padding-left var(--dur-fast) var(--ease-lux);
}
.service-row:hover { padding-left: 16px; }
.service-left { display: flex; align-items: center; gap: 24px; }
.service-idx { font-family: var(--f-display); font-size: 1.05rem; color: var(--gold-deep); width: 44px; }
.service-row h4 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; }
.service-row p { color: var(--ivory-muted); font-size: 0.85rem; max-width: 40ch; }
.service-arrow { color: var(--gold); font-size: 1.1rem; opacity: 0; transform: translateX(-8px); transition: all var(--dur-fast) var(--ease-lux); }
.service-row:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* =============================== PACKAGES / PRICING =============================== */
.price-card { padding: 42px 34px; text-align: left; display: flex; flex-direction: column; gap: 22px; }
.price-card.featured { border-color: var(--gold-deep); background: linear-gradient(160deg, var(--ink-card), var(--wine) 220%); }
.price-badge {
  position: absolute; top: 22px; right: -34px; background: var(--gold); color: var(--ink);
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700;
  padding: 6px 40px; transform: rotate(45deg);
}
.price-amount { font-family: var(--f-display); font-size: 2.6rem; color: var(--gold-bright); }
.price-amount span { font-family: var(--f-label); font-size: 0.85rem; color: var(--ivory-muted); }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--ivory-dim); padding: 7px 0; }
.price-list li i { color: var(--gold); font-size: 0.75rem; width: 14px; }

/* =============================== TESTIMONIALS =============================== */
.testi-card { padding: 40px; }
.testi-stars { color: var(--gold); font-size: 0.8rem; letter-spacing: 4px; margin-bottom: 20px; }
.testi-quote { font-family: var(--f-display); font-size: 1.35rem; line-height: 1.55; color: var(--ivory); margin-bottom: 26px; }
.testi-person { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 1px solid var(--gold-deep); }
.testi-name { font-size: 0.9rem; }
.testi-role { font-size: 0.75rem; color: var(--ivory-muted); }

/* =============================== GALLERY =============================== */
.masonry { column-count: 3; column-gap: 18px; }
.masonry-item { break-inside: avoid; margin-bottom: 18px; position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.masonry-item img { width: 100%; display: block; transition: transform 0.9s var(--ease-lux); }
.masonry-item:hover img { transform: scale(1.06); }
.masonry-overlay {
  position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,0.85), transparent 55%);
  display: flex; align-items: flex-end; padding: 18px;
  opacity: 0; transition: opacity var(--dur-fast) var(--ease-lux);
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay span { font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-bright); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 22px; border: 1px solid var(--glass-border); border-radius: 100px; color: var(--ivory-dim);
  transition: all var(--dur-fast) var(--ease-lux);
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold-bright); }
.filter-chip.active { background: var(--gold); color: var(--ink); border-color: var(--gold); font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; background: rgba(10,9,8,0.97);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-lux);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 88vw; max-height: 82vh; object-fit: contain; border: 1px solid var(--glass-border); }
.lightbox-close { position: absolute; top: 30px; right: 40px; font-size: 1.6rem; color: var(--gold); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--ivory); padding: 14px; }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }

/* =============================== VIRTUAL TOUR =============================== */
.tour-shell { position: relative; height: 620px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--glass-border); }
#panorama { position: absolute; inset: 0; }
.tour-hotspots { position: absolute; bottom: 24px; left: 24px; right: 24px; display: flex; gap: 10px; flex-wrap: wrap; z-index: 5; }
.tour-hotspots button {
  font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 18px; background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border);
  color: var(--ivory-dim); border-radius: 100px;
}
.tour-hotspots button.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.tour-controls { position: absolute; top: 20px; right: 20px; display: flex; gap: 8px; z-index: 5; }

/* =============================== FORMS =============================== */
.field { position: relative; margin-bottom: 22px; }
.field label {
  display: block; font-family: var(--f-label); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ivory-muted); margin-bottom: 10px;
}
.field input, .field select, .field textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--glass-border);
  color: var(--ivory); font-family: var(--f-body); font-size: 0.96rem; padding: 12px 2px;
  transition: border-color var(--dur-fast) var(--ease-lux);
}
.field select option { background: var(--ink-raised); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #d98a8a; font-size: 0.72rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b95a5a; }
.field.invalid .err { display: block; }
.field.boxed input, .field.boxed select {
  border: 1px solid var(--glass-border); padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ink-raised);
}

.checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; color: var(--ivory-dim); }

/* =============================== FAQ ACCORDION =============================== */
.faq-item { border-bottom: 1px solid var(--glass-border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: var(--f-display); font-size: 1.2rem;
}
.faq-q i { color: var(--gold); transition: transform var(--dur-fast) var(--ease-lux); font-size: 0.9rem; }
.faq-item.open .faq-q i { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-lux); }
.faq-a p { padding: 0 4px 26px; color: var(--ivory-muted); max-width: 65ch; line-height: 1.8; }

/* =============================== CALENDAR =============================== */
.flatpickr-calendar { background: var(--ink-raised) !important; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7) !important; border: 1px solid var(--glass-border) !important; }
.flatpickr-months, .flatpickr-weekdays { background: var(--ink-raised) !important; }
.flatpickr-current-month, .flatpickr-weekday { color: var(--gold-bright) !important; }
.flatpickr-day { color: var(--ivory-dim) !important; }
.flatpickr-day.selected { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--ink) !important; }
.flatpickr-day.flatpickr-disabled { color: #4a4438 !important; }
.day-available { box-shadow: inset 0 0 0 1px rgba(120,180,140,0.5); border-radius: 50%; }
.day-booked { background: rgba(185,90,90,0.18) !important; color: #d98a8a !important; }
.day-reserved { background: rgba(201,169,97,0.18) !important; }

.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ivory-muted); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; }
.legend-dot.available { background: #7ab48c; }
.legend-dot.booked { background: #b95a5a; }
.legend-dot.reserved { background: var(--gold); }
.legend-dot.past { background: #4a4438; }

/* =============================== CALCULATOR =============================== */
.calc-shell { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.calc-group { margin-bottom: 34px; }
.calc-group-title { font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.calc-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.calc-opt {
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 14px 16px; cursor: pointer;
  transition: all var(--dur-fast) var(--ease-lux); font-size: 0.85rem;
}
.calc-opt .price { display: block; color: var(--gold-deep); font-size: 0.72rem; margin-top: 4px; }
.calc-opt.selected { border-color: var(--gold); background: rgba(201,169,97,0.08); }
.calc-summary { position: sticky; top: 110px; padding: 34px; }
.calc-line { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ivory-dim); padding: 9px 0; border-bottom: 1px dashed var(--glass-border); }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 20px; }
.calc-total .num { font-family: var(--f-display); font-size: 2rem; color: var(--gold-bright); }
.calc-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* =============================== TOASTS / MODALS =============================== */
.toast-wrap { position: fixed; bottom: 26px; right: 26px; z-index: 1100; display: flex; flex-direction: column; gap: 12px; }
.toast {
  min-width: 280px; padding: 16px 20px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 12px;
  transform: translateX(120%); transition: transform var(--dur-fast) var(--ease-lux);
}
.toast.show { transform: translateX(0); }
.toast i { font-size: 1.1rem; }
.toast.success { border-left: 3px solid #7ab48c; }
.toast.error { border-left: 3px solid #b95a5a; }
.toast.info { border-left: 3px solid var(--gold); }

.modal-overlay {
  position: fixed; inset: 0; z-index: 1050; background: rgba(10,9,8,0.85); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-lux); padding: 20px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-box { width: 100%; max-width: 480px; padding: 40px; transform: scale(0.94); transition: transform var(--dur-fast) var(--ease-lux); }
.modal-overlay.open .modal-box { transform: scale(1); }
.modal-close { position: absolute; top: 18px; right: 18px; color: var(--gold); }

/* =============================== FOOTER =============================== */
.footer { background: var(--ink-raised); border-top: 1px solid var(--glass-border); padding-top: 90px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer h5 { font-family: var(--f-label); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--ivory-dim); font-size: 0.88rem; transition: color var(--dur-fast); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; border-top: 1px solid var(--glass-border); flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.78rem; color: var(--ivory-muted); }
.social-row { display: flex; gap: 12px; }

.newsletter-form { display: flex; gap: 0; border-bottom: 1px solid var(--glass-border); padding-bottom: 10px; margin-top: 10px; }
.newsletter-form input { flex: 1; background: none; border: none; color: var(--ivory); padding: 8px 0; }
.newsletter-form button { color: var(--gold); font-size: 0.85rem; }

/* =============================== FLOATING WIDGETS =============================== */
.float-stack { position: fixed; right: 26px; bottom: 26px; z-index: 850; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; box-shadow: 0 12px 30px -10px rgba(0,0,0,0.6);
  transition: transform var(--dur-fast) var(--ease-lux);
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn.whatsapp { background: #25d366; color: #0a0908; }
.float-btn.call { background: var(--gold); color: var(--ink); }
.float-btn.top { background: var(--ink-card); border: 1px solid var(--glass-border); color: var(--gold); opacity: 0; pointer-events: none; }
.float-btn.top.show { opacity: 1; pointer-events: all; }

/* Cookie consent */
.cookie-bar {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1200; max-width: 620px; margin: 0 auto;
  padding: 22px 26px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  transform: translateY(140%); transition: transform var(--dur-med) var(--ease-lux);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { font-size: 0.82rem; color: var(--ivory-dim); flex: 1; min-width: 200px; }

/* =============================== UTILITIES =============================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1{margin-top:8px;} .mt-2{margin-top:16px;} .mt-3{margin-top:24px;} .mt-4{margin-top:40px;} .mt-5{margin-top:60px;}
.mb-1{margin-bottom:8px;} .mb-2{margin-bottom:16px;} .mb-3{margin-bottom:24px;} .mb-4{margin-bottom:40px;} .mb-5{margin-bottom:60px;}
.muted { color: var(--ivory-muted); }
.small { font-size: 0.82rem; }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: 16px; }
.w-full { width: 100%; }
.skel { background: linear-gradient(90deg, var(--ink-card) 25%, var(--ink-raised) 37%, var(--ink-card) 63%); background-size: 400% 100%; animation: skeleton 1.4s ease infinite; border-radius: var(--radius-sm); }
@keyframes skeleton { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* fade/reveal helpers set by JS/AOS-like classes */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal.in { opacity: 1; transform: translateY(0); transition: opacity 1s var(--ease-lux), transform 1s var(--ease-lux); }

/* Page transition overlay */
.page-transition { position: fixed; inset: 0; z-index: 9998; background: var(--ink); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }

/* Bg mesh */
.bg-mesh {
  position: absolute; inset: 0; z-index: 0; opacity: 0.5; pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(201,169,97,0.08), transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(43,15,20,0.5), transparent 45%);
}

/* Noise overlay (SVG data-uri fractal noise) */
.noise {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================== RESPONSIVE =============================== */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-shell { grid-template-columns: 1fr; }
  .calc-summary { position: static; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links, .nav-actions .icon-btn.lang { display: none; }
  .nav-burger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .masonry { column-count: 1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .price-badge { display: none; }
  .float-stack { right: 16px; bottom: 16px; }
}
@media (max-width: 860px) {
    #theme-toggle {
        display: none;
    }
}
