/* ═══════════════════════════════════════════════════════════════
   premium-v2.css — additive premium layer (2026-09-25)
   Gold-on-dark · glassmorphism · motion. All new classes, no overrides
   that break cinematic.css. Opacity floor 25% on decorative elements
   (phone screens kill low-opacity decor).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --pv-gold: #c8a84e;
  --pv-gold-soft: rgba(200, 168, 78, .16);
  --pv-gold-line: rgba(200, 168, 78, .28);
  --pv-glow: rgba(200, 168, 78, .38);
  --pv-ink: #eceef5;
  --pv-mute: #a7a9b6;
  --pv-bg: #0a0a0f;
  --pv-card: rgba(255, 255, 255, .035);
  --pv-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ── 1. Scroll progress bar (gold, top) ─────────────────────────── */
.pv-progress {
  position: fixed; top: 0; left: 0; height: 2.5px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--pv-gold), #f0d78c, var(--pv-gold));
  box-shadow: 0 0 18px var(--pv-glow);
  z-index: 2000; pointer-events: none; will-change: transform;
}

/* ── 2. Cursor spotlight glow (desktop) ─────────────────────────── */
.pv-cursor-glow {
  position: fixed; width: 560px; height: 560px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 168, 78, .09) 0%, transparent 62%);
  pointer-events: none; z-index: 1; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .6s ease; will-change: left, top;
}
.pv-cursor-glow.is-on { opacity: 1; }

/* ── 3. Hero floating glass badges ──────────────────────────────── */
.pv-hero-badges {
  position: absolute; inset: auto 0 12% 0; display: flex;
  justify-content: center; gap: 18px; flex-wrap: wrap; padding: 0 24px;
  z-index: 5;
}
.pv-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  background: rgba(10, 10, 15, .55); backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--pv-gold-line);
  color: var(--pv-ink); font-size: .82rem; letter-spacing: .05em;
  font-weight: 600; white-space: nowrap;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  animation: pv-rise 1.1s var(--pv-ease) both;
}
.pv-badge:nth-child(2) { animation-delay: .12s; }
.pv-badge:nth-child(3) { animation-delay: .24s; }
.pv-badge b { color: var(--pv-gold); font-weight: 700; }
.pv-badge .pv-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--pv-gold);
  box-shadow: 0 0 12px var(--pv-gold); animation: pv-pulse 2.4s infinite;
}
@keyframes pv-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pv-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── 4. Developer marquee strip ─────────────────────────────────── */
.pv-marquee {
  overflow: hidden; padding: 30px 0; position: relative;
  border-top: 1px solid var(--pv-gold-line); border-bottom: 1px solid var(--pv-gold-line);
  background: linear-gradient(180deg, rgba(200, 168, 78, .05), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.pv-marquee-track {
  display: flex; gap: 64px; width: max-content;
  animation: pv-scroll 34s linear infinite;
}
.pv-marquee:hover .pv-marquee-track { animation-play-state: paused; }
.pv-marquee-item {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display, 'Playfair Display', serif); font-size: 1.22rem;
  color: var(--pv-mute); opacity: .55; white-space: nowrap;
  transition: opacity .35s, color .35s;
}
.pv-marquee-item:hover { opacity: 1; color: var(--pv-gold); }
.pv-marquee-item::before {
  content: "◆"; font-size: .55rem; color: var(--pv-gold); opacity: .8;
}
@keyframes pv-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── 5. Section divider ornament ────────────────────────────────── */
.pv-divider {
  display: flex; align-items: center; gap: 18px; margin: 0 auto;
  max-width: 1200px; padding: 0 28px;
}
.pv-divider::before, .pv-divider::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--pv-gold-line), transparent);
}
.pv-divider span { color: var(--pv-gold); font-size: .72rem; letter-spacing: .42em; text-transform: uppercase; }

/* ── 6. Stat cards (upgrade counters) ───────────────────────────── */
.pv-stats .stat {
  position: relative; padding: 34px 22px; border-radius: 18px;
  background: var(--pv-card); border: 1px solid var(--pv-gold-line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--pv-ease), box-shadow .5s, border-color .5s;
  overflow: hidden;
}
.pv-stats .stat::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at 50% -20%, rgba(200, 168, 78, .12), transparent 70%);
  opacity: .8;
}
.pv-stats .stat:hover {
  transform: translateY(-7px); border-color: var(--pv-gold);
  box-shadow: 0 26px 54px rgba(0, 0, 0, .5), 0 0 34px var(--pv-glow);
}
.pv-stats .num {
  font-family: var(--display, 'Playfair Display', serif);
  font-size: clamp(2.5rem, 4.4vw, 3.7rem); line-height: 1;
  background: linear-gradient(135deg, #f0d78c, var(--pv-gold) 55%, #a8893c);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--pv-gold);
}
.pv-stats .lab { margin-top: 12px; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--pv-mute); }

/* ── 7. Testimonial glass cards ─────────────────────────────────── */
.pv-quotes { display: grid; gap: 26px; }
@media (min-width: 900px) { .pv-quotes { grid-template-columns: repeat(3, 1fr); } }
.pv-quote {
  position: relative; margin: 0; padding: 38px 30px 30px; border-radius: 20px;
  background: var(--pv-card); border: 1px solid var(--pv-gold-line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .5s var(--pv-ease), box-shadow .5s, border-color .5s;
}
.pv-quote:hover {
  transform: translateY(-8px); border-color: var(--pv-gold);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5), 0 0 38px var(--pv-glow);
}
.pv-quote::before {
  content: "\201C"; position: absolute; top: 6px; left: 22px;
  font-family: var(--display, 'Playfair Display', serif); font-size: 5.2rem;
  color: var(--pv-gold); opacity: .38; line-height: 1;
}
.pv-quote p { position: relative; color: var(--pv-ink); line-height: 1.75; font-size: .97rem; margin: 0; }
.pv-quote .pv-stars {
  margin-top: 20px; letter-spacing: 5px; color: var(--pv-gold); font-size: .95rem;
}
.pv-quote .pv-who {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--pv-gold-line);
  display: flex; align-items: center; gap: 13px;
}
.pv-quote .pv-who .pv-ring {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, rgba(200, 168, 78, .32), rgba(200, 168, 78, .1));
  border: 1px solid var(--pv-gold-line);
  display: grid; place-items: center; color: var(--pv-gold);
  font-weight: 700; font-size: .95rem;
}
.pv-quote .pv-who b { display: block; color: var(--pv-ink); font-size: .92rem; }
.pv-quote .pv-who span { color: var(--pv-mute); font-size: .78rem; }

/* ── 8. CTA banner: gold rim + light sweep ──────────────────────── */
.pv-cta {
  position: relative; overflow: hidden; border-radius: 26px;
  border: 1px solid var(--pv-gold-line);
  background:
    radial-gradient(900px circle at 12% -30%, rgba(200, 168, 78, .17), transparent 60%),
    radial-gradient(700px circle at 108% 130%, rgba(200, 168, 78, .12), transparent 55%),
    rgba(255, 255, 255, .03);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .5);
}
.pv-cta::after {
  content: ""; position: absolute; top: -60%; left: -70%; width: 42%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(240, 215, 140, .16), transparent);
  transform: rotate(16deg); animation: pv-sweep 7s ease-in-out infinite;
}
@keyframes pv-sweep {
  0%, 62% { left: -70%; }
  100% { left: 130%; }
}

/* ── 9. Back-to-top ─────────────────────────────────────────────── */
.pv-top {
  position: fixed; right: 22px; bottom: 158px; width: 50px; height: 50px;
  border-radius: 50%; border: 1px solid var(--pv-gold-line); cursor: pointer;
  background: rgba(10, 10, 15, .72); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pv-gold); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .45s, transform .45s var(--pv-ease), visibility .45s, box-shadow .45s;
  z-index: 900;
}
.pv-top.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.pv-top:hover { box-shadow: 0 0 30px var(--pv-glow); border-color: var(--pv-gold); }

/* ── 10. Image hover zoom for property cards ────────────────────── */
.pv-zoom { overflow: hidden; }
.pv-zoom img, .pv-zoom .photo {
  transition: transform 1.1s var(--pv-ease), filter .8s;
}
.pv-zoom:hover img, .pv-zoom:hover .photo {
  transform: scale(1.07); filter: saturate(1.12) brightness(1.04);
}

/* ── 11. Section reveal (safe: forced-visible fallback in JS) ───── */
.pv-reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--pv-ease), transform .9s var(--pv-ease); }
.pv-reveal.is-in { opacity: 1; transform: none; }

/* ── 12. Form focus premium ─────────────────────────────────────── */
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  outline: none; border-color: var(--pv-gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, .16), 0 10px 30px rgba(0, 0, 0, .3);
}

/* ── 13. Reduced motion: kill all of it ─────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pv-progress, .pv-cursor-glow, .pv-badge, .pv-marquee-track, .pv-cta::after { animation: none !important; }
  .pv-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pv-zoom img, .pv-zoom .photo { transition: none !important; }
  .pv-badge, .pv-quote, .pv-stats .stat { transition: none !important; }
}

/* ── Mobile tuning ──────────────────────────────────────────────── */
@media (max-width: 720px) {
  .pv-hero-badges { gap: 10px; bottom: 16%; }
  .pv-badge { padding: 9px 15px; font-size: .72rem; }
  .pv-marquee { padding: 22px 0; }
  .pv-marquee-item { font-size: 1rem; }
  .pv-top { bottom: 162px; right: 16px; width: 46px; height: 46px; }
}

/* ── 13. Floating button column: never collide, respect the menu ─
   Order bottom→top: WhatsApp FAB (22px) → chat (92px) → scroll-up
   (158px desktop / 162px mobile). Chat layer 950 > scroll-up 900 so
   its open panel is never covered. */
body:has(#mobileMenu.open) .fab-inquire,
body:has(#mobileMenu.open) #chatw,
body:has(#mobileMenu.open) .pv-top {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ── 14. Tap targets >= 24px on mobile (WCAG) ─────────────────── */
@media (max-width: 720px) {
  a:not(.btn):not(.button):not(.c-cta):not(.card-link):not(.pv-lb__btn):not(.pv-draw):not(.fab-inquire),
  .pv-draw, .chatw-x {
    display: inline-flex; align-items: center;
    min-height: 26px; padding: 2px 0;
  }
  .chatw-x { min-width: 28px; min-height: 28px; justify-content: center; }
}
