/* ==========================================================================
   LUZ ARIAS · CONTEMPORARY JEWELRY ATELIER
   Awwwards / SOTD Caliber Luxury Digital Experience
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Syne:wght@400;600;700;800&display=swap');

:root {
  --bg-deep: #070709;
  --bg-surface: #0e0e13;
  --bg-card: #14141c;
  --bg-card-hover: #1c1c27;
  
  --accent: #ff2e93;
  --accent-light: #ff65b0;
  --accent-glow: rgba(255, 46, 147, 0.35);
  
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.25);
  
  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #828ca0;
  --text-dark: #475569;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(255, 46, 147, 0.3);
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-display: 'Syne', sans-serif;
  
  --header-height: 84px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Lenis Smooth Scroll Recommended Rules */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Film Grain Texture */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Interactive Cursor (Desktop) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out, opacity 0.2s ease;
  transform: translate(-50%, -50%);
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.25s var(--ease-out-expo), width 0.3s ease, height 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-follower span {
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

body.cursor-hover .custom-cursor {
  transform: translate(-50%, -50%) scale(0.3);
}

body.cursor-hover .cursor-follower {
  width: 68px;
  height: 68px;
  border-color: var(--accent);
  background: rgba(255, 46, 147, 0.15);
  backdrop-filter: blur(2px);
}

body.cursor-view .cursor-follower {
  width: 80px;
  height: 80px;
  background: rgba(255, 46, 147, 0.85);
  border-color: transparent;
}
body.cursor-view .cursor-follower span {
  opacity: 1;
}

@media (pointer: coarse) {
  .custom-cursor, .cursor-follower {
    display: none !important;
  }
}

/* ==========================================================================
   Page Switch & Top Demo Bar
   ========================================================================== */
.version-banner {
  background: linear-gradient(90deg, #181028 0%, #3b114d 50%, #110e20 100%);
  color: #ede9fe;
  padding: 8px 24px;
  font-size: 11.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.version-banner span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.version-banner .tag-v2 {
  background: var(--accent);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.version-banner a {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.version-banner a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(7, 7, 9, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 900;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-logo-img {
  height: 44px;
  width: auto;
  transition: transform 0.3s var(--ease-out-expo);
  filter: drop-shadow(0 4px 12px rgba(255, 46, 147, 0.2));
}
.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.04);
}
.brand-tag {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 20px;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  font-size: 9.5px;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}
.nav-item a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}
.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-item a:hover,
.nav-item.active a {
  color: #ffffff;
}
.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}
.nav-badge-count {
  font-size: 9px;
  background: rgba(255, 46, 147, 0.2);
  color: var(--accent);
  padding: 2px 5px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s var(--ease-out-expo);
}

.header-social-icon:hover {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  padding: 9px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-header-wa:hover {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  z-index: 950;
}
.menu-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Fullscreen Menu */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 9, 0.98);
  backdrop-filter: blur(28px);
  z-index: 920;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
  padding: 40px 24px;
}
.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav-links a {
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.mobile-nav-links a:hover,
.mobile-nav-links .active a {
  color: var(--accent);
  transform: scale(1.05);
}

/* ==========================================================================
   Typography & Award-Winning Utilities
   ========================================================================== */
.font-serif { font-family: var(--font-serif); }
.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
}
.section-tag::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.section-title span {
  font-style: italic;
  font-weight: 300;
  color: #e2e8f0;
}

.section-desc {
  font-size: clamp(14.5px, 1.4vw, 17px);
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  font-weight: 300;
}

.container-luxury {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 8px 30px var(--accent-glow);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 46, 147, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Cinematic Marquee Ticker
   ========================================================================== */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 18px 0;
  position: relative;
}
.marquee-content {
  display: inline-flex;
  animation: marqueeScroll 32s linear infinite;
  gap: 48px;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Home Hero Section (Cinematic & Interactive)
   ========================================================================== */
.hero-luxury {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px;
}

.hero-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease-in-out-circ), transform 8s ease-out;
  transform: scale(1.08);
}
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    radial-gradient(circle at center, rgba(7, 7, 9, 0.4) 0%, rgba(7, 7, 9, 0.88) 75%),
    linear-gradient(to bottom, rgba(7, 7, 9, 0.6) 0%, transparent 30%, rgba(7, 7, 9, 0.95) 90%);
}

.hero-content-box {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 980px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.35);
  border-radius: 50px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-title-main {
  font-family: var(--font-serif);
  font-size: clamp(40px, 8vw, 96px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}
.hero-title-main em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-text {
  font-size: clamp(15px, 1.8vw, 19px);
  color: #cbd5e1;
  max-width: 660px;
  margin: 0 auto 38px auto;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.5px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-dots-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}
.hero-dot-btn {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hero-dot-btn.active {
  background: var(--accent);
  width: 48px;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ==========================================================================
   Curator's Highlights (Home Obras Maestras)
   ========================================================================== */
.section-highlights {
  padding: 120px 0;
  position: relative;
}

.highlights-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  display: flex;
  flex-direction: column;
}
.highlight-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.highlight-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 110%; /* Aspect ratio ~1:1.1 */
  overflow: hidden;
  background: #000;
}
.highlight-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.highlight-card:hover .highlight-img {
  transform: scale(1.08);
}

.highlight-badge-num {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 7, 9, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.highlight-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.highlight-category {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.highlight-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.25;
}
.highlight-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.highlight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.highlight-view-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease, gap 0.2s ease;
}
.highlight-view-link:hover {
  color: var(--accent);
  gap: 10px;
}

/* ==========================================================================
   Interactive Floating Image List (Awards Style)
   ========================================================================== */
.section-interactive-list {
  padding: 120px 0;
  background: var(--bg-surface);
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.editorial-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.editorial-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
}
.editorial-item:first-child {
  border-top: 1px solid var(--border-subtle);
}

.editorial-item-left {
  display: flex;
  align-items: baseline;
  gap: 32px;
}
.editorial-num {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-dark);
  transition: color 0.3s ease;
}
.editorial-name {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 48px);
  color: var(--text-body);
  transition: color 0.3s ease, transform 0.3s var(--ease-out-expo);
  letter-spacing: 1px;
}
.editorial-item:hover .editorial-name {
  color: #ffffff;
  transform: translateX(16px);
}
.editorial-item:hover .editorial-num {
  color: var(--accent);
}

.editorial-item-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.editorial-tag {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.editorial-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}
.editorial-item:hover .editorial-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(-45deg);
}

/* Floating Hover Preview Window */
.floating-preview-container {
  position: fixed;
  width: 260px;
  height: 320px;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9980;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px var(--accent-glow);
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out-expo);
}
.floating-preview-container.active {
  opacity: 1;
  transform: scale(1);
}
.floating-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Catalog Page (`coleccion.php`)
   ========================================================================== */
.catalog-hero {
  padding: 80px 0 40px 0;
  text-align: center;
  position: relative;
}

.filter-bar-sticky {
  position: sticky;
  top: var(--header-height);
  background: rgba(7, 7, 9, 0.92);
  backdrop-filter: blur(20px);
  z-index: 800;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 48px;
}

.filter-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 11.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.filter-pill:hover,
.filter-pill.active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 18px var(--accent-glow);
}

.catalog-counter {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.catalog-counter strong {
  color: #ffffff;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 80px;
}

.gallery-piece-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease-out-expo);
  cursor: pointer;
}
.gallery-piece-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
}

.piece-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Square */
  background: #000;
  overflow: hidden;
}
.piece-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.gallery-piece-card:hover .piece-thumb {
  transform: scale(1.06);
}

.piece-quick-cta {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 9, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-piece-card:hover .piece-quick-cta {
  opacity: 1;
}
.piece-quick-btn {
  background: rgba(14, 14, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-piece-card:hover .piece-quick-btn {
  transform: translateY(0);
  background: var(--accent);
  border-color: var(--accent);
}

.piece-info-box {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.piece-category-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
}
.piece-title-text {
  font-family: var(--font-serif);
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.25;
}
.piece-desc-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

/* ==========================================================================
   Luxury Lightbox / Visor de Obras
   ========================================================================== */
.luxury-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.luxury-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 9, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.lightbox-container {
  position: relative;
  z-index: 2;
  width: 92vw;
  max-width: 1180px;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  background: #0e0e13;
  border: 1px solid #22222e;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  max-height: 85vh;
  overflow-y: auto;
  align-items: center;
  width: 100%;
}
@media (max-width: 900px) {
  .lightbox-content {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
    max-height: 88vh;
  }
}
.lightbox-image-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #070709;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 340px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
}
.lightbox-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.lightbox-category {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.lightbox-counter {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-dark);
}
.lightbox-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.lightbox-desc {
  font-size: 15px;
  color: #cbd5e1;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 0;
  white-space: pre-line;
}
.lightbox-desc:empty {
  display: none;
}
.lightbox-btn-close {
  position: absolute;
  top: -46px;
  right: 0;
  background: transparent;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
.lightbox-btn-close:hover {
  color: #ffffff;
  transform: scale(1.1);
}
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 14, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 5;
}
.lightbox-nav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev {
  left: -68px;
}
.lightbox-next {
  right: -68px;
}
@media (max-width: 1024px) {
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-btn-close {
    top: 8px;
    right: 8px;
    background: rgba(14, 14, 19, 0.9);
    border-radius: 50%;
    z-index: 10;
  }
}

/* ==========================================================================
   Piece Detail Page (`obra.php`) - Minimal Pure Gallery Fallback
   ========================================================================== */
.piece-detail-section {
  padding: 60px 0 120px 0;
}
.piece-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
.piece-gallery-col {
  position: sticky;
  top: 120px;
}
.piece-hero-image-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  position: relative;
}
.piece-hero-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.piece-hero-image:hover {
  transform: scale(1.04);
}

.piece-data-col {
  display: flex;
  flex-direction: column;
}
.piece-badge-category {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.3);
  color: var(--accent);
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 18px;
}
.piece-header-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 54px);
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* ==========================================================================
   Workshop & Classes Page (`taller.php`)
   ========================================================================== */
.workshop-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.workshop-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 60px 0;
}
.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all 0.3s ease;
}
.feature-box:hover {
  border-color: var(--border-accent);
  transform: translateY(-6px);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Trajectory & Bio Page (`trayectoria.php`)
   ========================================================================== */
.bio-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
}
.bio-portrait-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.bio-portrait {
  width: 100%;
  display: block;
}

.timeline-luxury {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding-left: 40px;
  border-left: 1px solid var(--border-subtle);
}
.timeline-entry {
  position: relative;
  margin-bottom: 48px;
}
.timeline-entry:last-child {
  margin-bottom: 0;
}
.timeline-entry::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-text {
  font-size: 15.5px;
  color: #e2e8f0;
  line-height: 1.65;
  white-space: pre-line;
}

.press-grid-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.press-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.press-card-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
}
.press-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

/* Workshops & International Masterclasses Grid */
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.workshop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.workshop-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--border-subtle);
  transition: background 0.3s ease;
}
.workshop-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 46, 147, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.workshop-card:hover::before {
  background: var(--accent);
}
.workshop-icon-wrap {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}
.workshop-icon-wrap img {
  max-width: 24px;
  max-height: 24px;
  filter: brightness(1.2) contrast(1.1);
}
.workshop-content {
  flex: 1;
}
.workshop-year {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 6px;
  display: inline-block;
}
.workshop-text {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.65;
  white-space: pre-line;
}

/* Publications Tabbed Showcase */
.publications-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .publications-showcase {
    grid-template-columns: 1fr;
  }
}
.pub-tabs-nav {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pub-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.pub-tab-btn:hover {
  color: #ffffff;
}
.pub-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--accent);
}
.pub-tab-panel {
  display: none;
  animation: fadeInPub 0.4s ease forwards;
}
.pub-tab-panel.active {
  display: block;
}
@keyframes fadeInPub {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pub-content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 32px;
}
.pub-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.pub-content-text {
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.8;
  white-space: pre-line;
}
.pub-media-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}
.pub-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}
.pub-media-wrap:hover img {
  transform: scale(1.03);
}
.pub-media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 7, 9, 0.9) 100%);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
}

/* ==========================================================================
   Contact & Atelier Page (`contacto.php`)
   ========================================================================== */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  padding: 80px 0 120px 0;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact-item-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 46, 147, 0.1);
  border: 1px solid rgba(255, 46, 147, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-val {
  font-size: 15px;
  color: #ffffff;
  line-height: 1.5;
}
.contact-val a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-val a:hover {
  color: var(--accent);
}

.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 40px;
}
.form-group-luxury {
  margin-bottom: 24px;
}
.form-label-luxury {
  display: block;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-input-luxury,
.form-textarea-luxury {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 18px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}
.form-input-luxury:focus,
.form-textarea-luxury:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 46, 147, 0.03);
  box-shadow: 0 0 20px rgba(255, 46, 147, 0.2);
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
footer.site-footer {
  background: #040406;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px 0;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.7;
  margin-top: 16px;
}
.footer-heading {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
  font-size: 12px;
  color: var(--text-dark);
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating WhatsApp Classic Round Widget */
.floating-vip-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 850;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--ease-out-expo);
}
.floating-vip-wa:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.65);
}
@keyframes ping {
  75%, 100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .piece-detail-grid { grid-template-columns: 1fr; }
  .piece-gallery-col { position: static; }
  .workshop-intro-grid { grid-template-columns: 1fr; }
  .workshop-features { grid-template-columns: 1fr; }
  .bio-hero-grid { grid-template-columns: 1fr; }
  .contact-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .version-banner {
    font-size: 11px;
    padding: 6px 12px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .header-container { padding: 0 16px; }
  .brand-logo-img { height: 36px; }
  .brand-name { font-size: 16px; }
  .btn-header-wa span { display: none; }
  .btn-header-wa { padding: 8px 12px; }
  
  .hero-luxury { padding: 60px 16px; min-height: 520px; }
  .hero-title-main { font-size: clamp(28px, 8.5vw, 42px); line-height: 1.1; }
  .hero-sub-text { font-size: 13.5px; margin-bottom: 24px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 11.5px;
  }
  
  .highlights-grid { grid-template-columns: 1fr; }
  .editorial-item { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .editorial-item-right { width: 100%; justify-content: space-between; }
  
  .gallery-masonry { grid-template-columns: 1fr; }
  .filter-bar-inner { flex-direction: column; align-items: flex-start; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .floating-vip-wa span { display: none; }
  .floating-vip-wa { padding: 14px; border-radius: 50%; }
}

/* ==========================================================================
   AWWWARDS LUXURY MOTION SYSTEM & EFFECTS
   ========================================================================== */

/* 1. Cinematic Preloader */
.luxury-preloader {
  position: fixed;
  inset: 0;
  background: #040406;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.8s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.8s ease;
}
.luxury-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none !important;
}
.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 400px;
  width: 90%;
}
.preloader-monogram {
  font-size: 54px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 25px var(--accent-glow));
  animation: pulseAura 2s ease-in-out infinite;
}
.preloader-title {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 6px;
  color: #ffffff;
  display: block;
}
.preloader-sub {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--text-muted);
  display: block;
  margin-top: 6px;
  margin-bottom: 30px;
}
.preloader-progress-wrap {
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ffffff, var(--gold));
  transition: width 0.15s ease-out;
  box-shadow: 0 0 15px var(--accent);
}
.preloader-counter {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-top: 14px;
}

@keyframes pulseAura {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(255,46,147,0.3)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 35px rgba(255,46,147,0.7)); }
}

/* 2. 3D Tilt Card Physics & Shimmer */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform;
}
.tilt-card:hover {
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 46, 147, 0.15);
}
.parallax-img-box {
  overflow: hidden;
  position: relative;
}
.parallax-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform;
}
.tilt-card:hover .parallax-img {
  transform: scale(1.1) translateZ(20px);
}

/* 3. Magnetic Button Physics */
.magnetic-btn {
  display: inline-flex;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 4. Interactive Spotlight Overlay */
.spotlight-wrap {
  position: relative;
}
.spotlight-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(255, 46, 147, 0.12), transparent 70%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* 5. Fluid Scroll Reveal Classes */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-up.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.reveal-words span {
  display: inline-block;
  margin-right: 0.28em;
  opacity: 0;
  transform: translateY(25px) rotate(2deg);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-words span:last-child {
  margin-right: 0;
}
.reveal-words.is-inview span {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* 6. Glowing Shimmer Badge */
.hero-badge-pill {
  position: relative;
  overflow: hidden;
}
.hero-badge-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: badgeShimmer 4s infinite ease-in-out;
}
@keyframes badgeShimmer {
  0% { left: -100%; }
  40%, 100% { left: 200%; }
}

/* ==========================================================================
   Scroll Progress Bar & Scroll to Top Floating Luxury Widget
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff6eb4 50%, var(--gold) 100%);
  z-index: 100000;
  pointer-events: none;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: width 0.1s linear;
}

.scroll-to-top-btn {
  position: fixed;
  bottom: 96px;
  right: 33px;
  z-index: 850;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(14, 12, 22, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 46, 147, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 46, 147, 0.2);
}
.scroll-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-to-top-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 46, 147, 0.55), 0 0 25px var(--accent-glow);
}
.scroll-to-top-btn svg {
  transition: transform 0.3s ease;
}
.scroll-to-top-btn:hover svg {
  transform: translateY(-3px);
}
.scroll-to-top-btn .scroll-tooltip {
  position: absolute;
  right: 60px;
  background: rgba(10, 8, 16, 0.95);
  border: 1px solid var(--border-subtle);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.25s ease;
}
.scroll-to-top-btn:hover .scroll-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Comprehensive Scroll Animation Classes
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal-zoom {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.scroll-reveal.is-inview,
.scroll-reveal-left.is-inview,
.scroll-reveal-right.is-inview,
.scroll-reveal-zoom.is-inview {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger Delays */
[data-delay="1"] { transition-delay: 0.1s !important; }
[data-delay="2"] { transition-delay: 0.2s !important; }
[data-delay="3"] { transition-delay: 0.3s !important; }
[data-delay="4"] { transition-delay: 0.4s !important; }
[data-delay="5"] { transition-delay: 0.5s !important; }

/* Timeline Interactive Scroll Glow Effect */
.timeline-entry {
  opacity: 0;
  transform: translateX(25px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.timeline-entry.is-inview {
  opacity: 1;
  transform: translateX(0);
}
.timeline-entry.is-inview::before {
  animation: dotPulse 1.2s ease-out forwards;
}
@keyframes dotPulse {
  0% { transform: scale(0.5); box-shadow: 0 0 0 0 rgba(255, 46, 147, 0.8); }
  50% { transform: scale(1.4); box-shadow: 0 0 20px 6px rgba(255, 46, 147, 0.6); }
  100% { transform: scale(1); box-shadow: 0 0 12px 2px var(--accent-glow); }
}

@media (max-width: 640px) {
  .floating-vip-wa {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .floating-vip-wa svg {
    width: 26px;
    height: 26px;
  }
  .scroll-to-top-btn {
    bottom: 80px;
    right: 25px;
    width: 40px;
    height: 40px;
  }
}


