/* ============================================================
   OBSIDIAN — RITUALES SENSORIALES · BARCELONA
   styles.css — Hoja de estilos principal
   ============================================================ */

:root {
  --night:        #0A0806;
  --ebony:        #141009;
  --ebony2:       #1C1610;
  --tobacco:      #2E2318;
  --gold:         #C4A882;
  --gold-dim:     rgba(196,168,130,0.5);
  --gold-faint:   rgba(196,168,130,0.15);
  --champagne:    #E8D5B8;
  --cream:        #F5EEE4;
  --cream-dim:    rgba(245,238,228,0.82);
  --cream-faint:  rgba(245,238,228,0.55);
  --wa-green:     #25D366;
  --wa-green-hov: #22C55E;
}

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

html { scroll-behavior: smooth; }

body {
  background:   var(--night);
  color:        var(--cream);
  font-family:  'Jost', sans-serif;
  font-weight:  300;
  overflow-x:   hidden;
  cursor:       none;
}

/* ── Custom cursor ─────────────────────────────────────────── */
.cursor {
  position:       fixed;
  width: 8px; height: 8px;
  background:     var(--gold);
  border-radius:  50%;
  pointer-events: none;
  z-index:        9999;
  transform:      translate(-50%, -50%);
  transition:     transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor-ring {
  position:       fixed;
  width: 36px; height: 36px;
  border:         0.5px solid rgba(196,168,130,0.5);
  border-radius:  50%;
  pointer-events: none;
  z-index:        9998;
  transform:      translate(-50%, -50%);
  transition:     transform 0.15s ease-out, width 0.3s, height 0.3s;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor    { width: 14px; height: 14px; }
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring { width: 56px; height: 56px; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar        { width: 2px; }
::-webkit-scrollbar-track  { background: var(--night); }
::-webkit-scrollbar-thumb  { background: var(--gold-dim); }

/* ── NAV ───────────────────────────────────────────────────── */
nav {
  position:   fixed; top: 0; left: 0; right: 0;
  z-index:    1100;
  padding:    28px 56px;
  display:    flex; align-items: center; justify-content: space-between;
  transition: background 0.6s, padding 0.4s;
}

nav.scrolled {
  background:    rgba(10,8,6,0.95);
  padding:       18px 56px;
  border-bottom: 0.5px solid var(--gold-faint);
}

.nav-logo {
  font-family:    'Cormorant Garamond', serif;
  font-size:      22px;
  font-weight:    400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:          var(--gold);
  text-decoration: none;
  white-space:    nowrap;
}

.nav-links { display: flex; gap: 40px; align-items: center; }

.nav-links a {
  font-size:      10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--cream-dim);
  text-decoration: none;
  transition:     color 0.3s;
}

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

/* FIX: base nav-cta — no !important cascade issues */
.nav-cta {
  font-size:      10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--gold);
  border:         0.5px solid var(--gold-dim);
  padding:        9px 22px;
  border-radius:  2px;
  transition:     background 0.3s;
  white-space:    nowrap;
}

.nav-cta:hover { background: var(--gold-faint); }

/* Hamburger — hidden desktop, shown mobile only */
.nav-toggle {
  display:         none !important;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  gap:             6px;
  background:      transparent;
  border:          none;
  width:           44px;
  height:          44px;
  padding:         0;
  cursor:          pointer;
  position:        relative;
  /* BUG FIX: z-index must be > nav-links overlay (1050) within nav's stacking context.
   * nav (position:fixed + z-index:1100) creates a stacking context. ALL children,
   * including nav-links (position:fixed, z-index:1050), are evaluated WITHIN nav's
   * context. With z-index:1001, the toggle painted BELOW the overlay (1001 < 1050).
   * Fix: 1200 > 1050 → toggle always above overlay, X visible & clickable. */
  z-index:         1200;
  flex-shrink:     0;
  touch-action:    manipulation;
}

.nav-toggle span {
  display:          block;
  width:            24px;
  height:           1.5px;
  background:       var(--gold);
  border-radius:    1px;
  transition:       transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
  transform-origin: center;
}

/* Hamburger → X animation */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height:      100vh;
  min-height:      100svh;
  display:         flex;
  flex-direction:  column;
  justify-content: center;
  align-items:     center;
  text-align:      center;
  position:        relative;
  overflow:        hidden;
  padding:         120px 40px 80px;
  background:      url('../images/hero-poster.jpg') center center / cover no-repeat;
}

/* FIX: extracted from CSS nesting (compatibility) */
.hero-eyebrow,
.hero-title,
.hero-line,
.hero-subtitle,
.hero-location,
.hero-cta-group,
.hero-grain {
  position: relative;
  z-index:  2;
}

.hero-scroll { z-index: 2; }

/* Hero video — FIX: increased opacity so video is visible */
.hero-video {
  position:       absolute;
  inset:          0;
  width:          100%;
  height:         100%;
  object-fit:     cover;
  opacity:        0.70;   /* increased for better video visibility */
  z-index:        0;
  pointer-events: none;
  background:     url('../images/hero-poster.jpg') center center / cover no-repeat;
}

@media (max-width: 768px) {
  .hero-video { opacity: 0.55; }
}

/* FIX: lightened overlay so video shows through */
.hero-overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.10) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.55) 100%
  );
  z-index: 1;
}

.hero-grain {
  position:          absolute;
  inset:             0;
  opacity:           0.025;
  background-image:  url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size:   256px;
  pointer-events:    none;
}

.hero-eyebrow {
  font-size:      9px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color:          var(--gold);
  opacity:        0;
  animation:      fadeUp 1s 0.3s forwards;
  margin-bottom:  28px;
}

.hero-title {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(52px, 9vw, 110px);
  font-weight:    300;
  letter-spacing: 16px;
  text-transform: uppercase;
  color:          var(--gold);
  line-height:    0.9;
  opacity:        0;
  animation:      fadeUp 1.2s 0.5s forwards;
  margin-bottom:  20px;
}

.hero-line {
  width:          1px; height: 60px;
  background:     linear-gradient(to bottom, var(--gold-dim), transparent);
  margin:         0 auto 20px;
  opacity:        0;
  animation:      fadeUp 1s 0.8s forwards;
}

.hero-subtitle {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(16px, 2.5vw, 22px);
  font-weight:    300;
  font-style:     italic;
  color:          var(--cream-dim);
  opacity:        0;
  animation:      fadeUp 1s 1s forwards;
  margin-bottom:  12px;
  letter-spacing: 1px;
}

.hero-location {
  font-size:      9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color:          rgba(196,168,130,0.55);
  opacity:        0;
  animation:      fadeUp 1s 1.2s forwards;
  margin-bottom:  56px;
}

.hero-cta-group {
  display:         flex;
  gap:             16px;
  justify-content: center;
  opacity:         0;
  animation:       fadeUp 1s 1.4s forwards;
  flex-wrap:       wrap;
}

.btn-primary {
  font-size:      10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--night);
  background:     var(--gold);
  padding:        16px 40px;
  border:         none;
  border-radius:  2px;
  cursor:         pointer;
  text-decoration: none;
  transition:     background 0.3s, letter-spacing 0.3s;
  display:        inline-block;
}

.btn-primary:hover { background: var(--champagne); letter-spacing: 4px; }

.btn-ghost {
  font-size:      10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--gold);
  background:     transparent;
  padding:        16px 40px;
  border:         0.5px solid var(--gold-dim);
  border-radius:  2px;
  cursor:         pointer;
  text-decoration: none;
  transition:     background 0.3s;
  display:        inline-block;
}

.btn-ghost:hover { background: var(--gold-faint); }

.hero-scroll {
  position:        absolute;
  bottom:          40px;
  left:            50%;
  margin-left:     -32px;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
  gap:             10px;
  z-index:         3;
  opacity:         0;
  animation:       fadeUp 1s 1.8s forwards;
}

.hero-scroll span {
  font-size:      8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:          rgba(196,168,130,0.45);
  text-align:     center;
}

.scroll-line {
  width:      1px;
  height:     40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation:  scrollPulse 2s ease-in-out infinite;
}

/* ── DIVIDER ───────────────────────────────────────────────── */
.divider {
  display:     flex;
  align-items: center;
  gap:         20px;
  padding:     0 56px;
  margin:      0 auto;
  max-width:   1200px;
}

.divider-line { flex: 1; height: 0.5px; background: var(--gold-faint); }

.divider-mark {
  font-size:      8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color:          rgba(196,168,130,0.3);
}

/* ── SECTIONS ──────────────────────────────────────────────── */
section { padding: 120px 56px; max-width: 1200px; margin: 0 auto; }

.section-eyebrow {
  font-size:      9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  20px;
  opacity:        0;
  transform:      translateY(20px);
  transition:     opacity 0.8s, transform 0.8s;
}

.section-eyebrow.visible { opacity: 1; transform: none; }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about-grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   80px;
  align-items:           center;
}

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size:   clamp(36px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.1;
  color:       var(--cream);
  margin-bottom: 28px;
  opacity:     0;
  transform:   translateY(30px);
  transition:  opacity 0.9s 0.1s, transform 0.9s 0.1s;
}

.about-title.visible { opacity: 1; transform: none; }
.about-title em      { color: var(--gold); font-style: italic; }

.about-body {
  font-size:    15px;
  line-height:  2;
  color:        var(--cream-dim);
  opacity:      0;
  transform:    translateY(20px);
  transition:   opacity 0.9s 0.25s, transform 0.9s 0.25s;
  margin-bottom: 24px;
}

.about-body.visible { opacity: 1; transform: none; }

.about-pillars {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   16px;
  opacity:               0;
  transform:             translateY(20px);
  transition:            opacity 0.9s 0.4s, transform 0.9s 0.4s;
}

.about-pillars.visible { opacity: 1; transform: none; }

.pillar {
  border-left:  1px solid var(--gold-faint);
  padding-left: 14px;
}

.pillar-name {
  font-size:      9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  5px;
}

/* FIX: improved pillar desc readability */
.pillar-desc { font-size: 13px; color: var(--cream-dim); line-height: 1.7; }

.about-visual {
  position:  relative;
  opacity:   0;
  transform: translateX(30px);
  transition: opacity 1s 0.3s, transform 1s 0.3s;
}

.about-visual.visible { opacity: 1; transform: none; }

/* FIX: deduplicated — was defined twice */
.about-img-frame {
  background:    var(--ebony2);
  border:        0.5px solid var(--gold-faint);
  border-radius: 4px;
  aspect-ratio:  3/4;
  display:       flex;
  align-items:   center;
  justify-content: center;
  position:      relative;
  overflow:      hidden;
}

.real-space-image {
  width:       100%;
  height:      100%;
  object-fit:  cover;
  object-position: center center;
  display:     block;
  opacity:     0.85;
  filter:      saturate(0.92) brightness(0.94);
}

.about-corner { position: absolute; width: 20px; height: 20px; }
.about-corner.tl { top: -8px; left: -8px; border-top: 1px solid var(--gold-dim); border-left: 1px solid var(--gold-dim); }
.about-corner.br { bottom: -8px; right: -8px; border-bottom: 1px solid var(--gold-dim); border-right: 1px solid var(--gold-dim); }

/* ── RITUALES ──────────────────────────────────────────────── */
.rituales-header {
  display:         flex;
  justify-content: space-between;
  align-items:     flex-end;
  margin-bottom:   60px;
  flex-wrap:       wrap;
  gap:             20px;
}

.rituales-title {
  font-family: 'Cormorant Garamond', serif;
  font-size:   clamp(40px, 6vw, 68px);
  font-weight: 300;
  color:       var(--cream);
  line-height: 1;
  opacity:     0;
  transform:   translateY(30px);
  transition:  opacity 0.9s, transform 0.9s;
}

.rituales-title.visible { opacity: 1; transform: none; }

.rituales-note {
  font-size:   11px;
  color:       var(--cream-faint);
  max-width:   260px;
  line-height: 1.8;
  text-align:  right;
  opacity:     0;
  transition:  opacity 0.9s 0.3s;
}

.rituales-note.visible { opacity: 1; }

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

.ritual-card {
  background:   var(--ebony);
  padding:      40px 32px;
  position:     relative;
  overflow:     hidden;
  cursor:       pointer;
  opacity:      0;
  transform:    translateY(24px);
  transition:   opacity 0.7s, transform 0.7s, background 0.4s;
}

.ritual-card.visible { opacity: 1; transform: none; }

.ritual-card::before {
  content:    '';
  position:   absolute; inset: 0;
  background: linear-gradient(135deg, rgba(196,168,130,0.05) 0%, transparent 60%);
  opacity:    0;
  transition: opacity 0.4s;
}

.ritual-card:hover           { background: var(--ebony2); }
.ritual-card:hover::before   { opacity: 1; }

/* FIX: Roman numeral nums — larger, more elegant */
.ritual-num {
  font-family:    'Cormorant Garamond', serif;
  font-size:      13px;
  letter-spacing: 4px;
  color:          var(--gold-dim);
  margin-bottom:  16px;
  font-style:     italic;
}

.ritual-name {
  font-family:  'Cormorant Garamond', serif;
  font-size:    28px;
  font-weight:  400;
  color:        var(--gold);
  margin-bottom: 8px;
  line-height:  1.2;
}

/* FIX: improved duration visibility */
.ritual-duration {
  display:        inline-block;
  font-size:      9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:          var(--gold);
  background:     rgba(196,168,130,0.10);
  border:         0.5px solid var(--gold-faint);
  padding:        5px 12px;
  border-radius:  2px;
  margin-bottom:  20px;
  font-weight:    400;
}

.ritual-desc {
  font-size:    13px;
  line-height:  1.8;
  color:        var(--cream-dim);
  margin-bottom: 32px;
}

/* FIX: improved price visibility */
.ritual-price {
  display:       inline-flex;
  align-items:   baseline;
  gap:           6px;
  font-family:   'Cormorant Garamond', serif;
  font-size:     28px;
  font-weight:   400;
  color:         var(--champagne);
  background:    rgba(196,168,130,0.08);
  border:        0.5px solid var(--gold-faint);
  padding:       10px 18px;
  border-radius: 2px;
}

.ritual-price span { font-size: 11px; color: var(--gold-dim); letter-spacing: 1px; align-self: center; }

.ritual-tag {
  display:        inline-block;
  font-size:      8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          var(--night);
  background:     var(--gold);
  padding:        4px 10px;
  border-radius:  1px;
  margin-bottom:  16px;
}

/* ── EXPERIENCE ────────────────────────────────────────────── */
.experience-section { background: var(--ebony); padding: 100px 56px; max-width: 100%; }
.experience-inner   { max-width: 1200px; margin: 0 auto; }

.experience-title {
  font-family:   'Cormorant Garamond', serif;
  font-size:     clamp(36px, 5vw, 58px);
  font-weight:   300;
  color:         var(--cream);
  text-align:    center;
  margin-bottom: 70px;
  opacity:       0;
  transform:     translateY(30px);
  transition:    opacity 0.9s, transform 0.9s;
}

.experience-title.visible { opacity: 1; transform: none; }
.experience-title em      { color: var(--gold); font-style: italic; }

.steps {
  display:               grid;
  grid-template-columns: repeat(5, 1fr);
  position:              relative;
}

.steps::before {
  content:    '';
  position:   absolute;
  top: 28px; left: 10%; right: 10%;
  height:     0.5px;
  background: linear-gradient(to right, transparent, var(--gold-faint) 20%, var(--gold-faint) 80%, transparent);
}

.step {
  text-align: center; padding: 0 16px;
  opacity:    0; transform: translateY(20px);
  transition: opacity 0.7s, transform 0.7s;
}

.step.visible { opacity: 1; transform: none; }

.step-circle {
  width:           56px; height: 56px;
  border:          0.5px solid var(--gold-dim);
  border-radius:   50%;
  display:         flex; align-items: center; justify-content: center;
  margin:          0 auto 20px;
  font-family:     'Cormorant Garamond', serif;
  font-size:       18px; color: var(--gold);
  background:      var(--ebony);
  position:        relative; z-index: 1;
  transition:      background 0.3s, border-color 0.3s;
}

.step:hover .step-circle { background: var(--gold-faint); border-color: var(--gold); }

.step-name {
  font-size:      11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  8px;
}

/* FIX: improved step desc readability */
.step-desc { font-size: 13px; color: var(--cream-dim); line-height: 1.7; }

/* ── TESTIMONIOS ───────────────────────────────────────────── */
.testimonios-title {
  font-family:   'Cormorant Garamond', serif;
  font-size:     clamp(36px, 5vw, 52px);
  font-weight:   300;
  color:         var(--cream);
  text-align:    center;
  margin-bottom: 60px;
  opacity:       0;
  transform:     translateY(30px);
  transition:    opacity 0.9s, transform 0.9s;
}

.testimonios-title.visible { opacity: 1; transform: none; }

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

.testimonio {
  background:    var(--ebony);
  border:        0.5px solid var(--gold-faint);
  border-radius: 4px;
  padding:       36px 28px 28px;
  position:      relative;
  opacity:       0;
  transform:     translateY(24px);
  transition:    opacity 0.8s, transform 0.8s;
}

.testimonio.visible { opacity: 1; transform: none; }

.testimonio::before {
  content:     '\201C';
  position:    absolute; top: 16px; left: 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size:   60px; color: var(--gold-faint); line-height: 1;
}

.testimonio-text {
  font-family:   'Cormorant Garamond', serif;
  font-size:     18px; font-style: italic; font-weight: 300;
  color:         var(--cream-dim);
  line-height:   1.7;
  margin-bottom: 16px;
  margin-top:    20px;
}

/* FIX: author initials hidden — only ritual name shows */
.testimonio-author { display: none; }

.testimonio-ritual {
  font-size:      11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-top:     0;
  font-weight:    400;
}

/* ── RESERVA ───────────────────────────────────────────────── */
.reserva-section {
  background: var(--ebony2);
  padding:    120px 56px;
  max-width:  100%;
  text-align: center;
}

.reserva-inner { max-width: 700px; margin: 0 auto; }

.reserva-eyebrow {
  font-size:      9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color:          var(--gold);
  margin-bottom:  20px;
  opacity:        0;
  transition:     opacity 0.8s;
}

.reserva-eyebrow.visible { opacity: 1; }

.reserva-title {
  font-family:   'Cormorant Garamond', serif;
  font-size:     clamp(40px, 6vw, 68px);
  font-weight:   300; color: var(--cream);
  line-height:   1.1; margin-bottom: 16px;
  opacity:       0; transform: translateY(30px);
  transition:    opacity 0.9s 0.1s, transform 0.9s 0.1s;
}

.reserva-title.visible { opacity: 1; transform: none; }
.reserva-title em      { color: var(--gold); font-style: italic; }

.reserva-sub {
  font-size:    15px; color: var(--cream-dim); line-height: 1.9;
  margin-bottom: 48px;
  opacity:      0; transition: opacity 0.9s 0.25s;
}

.reserva-sub.visible { opacity: 1; }

.reserva-form {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   12px;
  margin-bottom:         12px;
  text-align:            left;
  opacity:               0;
  transform:             translateY(20px);
  transition:            opacity 0.9s 0.35s, transform 0.9s 0.35s;
}

.reserva-form.visible { opacity: 1; transform: none; }

.form-full  { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size:      8px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color:          var(--gold-dim);
}

.form-input {
  background:  rgba(255,255,255,0.04);
  border:      0.5px solid var(--gold-faint);
  border-radius: 2px;
  padding:     14px 16px;
  color:       var(--cream);
  font-family: 'Jost', sans-serif;
  font-size:   13px; font-weight: 300;
  outline:     none;
  transition:  border-color 0.3s, background 0.3s;
  width:       100%;
  cursor:      auto;
}

.form-input:focus {
  border-color: var(--gold-dim);
  background:   rgba(196,168,130,0.05);
}

.form-input::placeholder  { color: rgba(245,238,228,0.2); }
select.form-input          { cursor: auto; }
select.form-input option   { background: var(--ebony2); }
textarea.form-input        { resize: vertical; min-height: 80px; }

.form-note {
  font-size:   10px; color: var(--cream-faint); line-height: 1.7;
  grid-column: 1/-1; margin-top: 4px;
}

.btn-reserva {
  width:          100%;
  font-size:      10px; letter-spacing: 4px; text-transform: uppercase;
  color:          var(--night);
  background:     var(--gold);
  padding:        18px;
  border:         none; border-radius: 2px;
  cursor:         pointer;
  transition:     background 0.3s, letter-spacing 0.3s;
  margin-top:     4px;
  grid-column:    1/-1;
}

.btn-reserva:hover { background: var(--champagne); letter-spacing: 5px; }

.reserva-guarantees {
  display:         flex; gap: 32px; justify-content: center;
  margin-top:      40px; flex-wrap: wrap;
  opacity:         0; transition: opacity 0.9s 0.5s;
}

.reserva-guarantees.visible { opacity: 1; }

.guarantee { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.guarantee-icon  { font-size: 16px; color: var(--gold-dim); }
.guarantee-text  { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--cream-dim); }

/* ── TRABAJA (inline section) ──────────────────────────────── */
.trabaja-section {
  background: var(--night);
  padding:    120px 56px;
  max-width:  100%;
  border-top: 0.5px solid var(--gold-faint);
}

.trabaja-inner { max-width: 760px; margin: 0 auto; }

.trabaja-columns {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   60px;
  align-items:           start;
}

.trabaja-body {
  font-size:   14px;
  line-height: 2;
  color:       var(--cream-dim);
  margin-bottom: 24px;
  opacity:     0; transform: translateY(20px);
  transition:  opacity 0.9s 0.2s, transform 0.9s 0.2s;
}

.trabaja-body.visible { opacity: 1; transform: none; }

.trabaja-benefits {
  list-style: none;
  margin-bottom: 40px;
}

.trabaja-benefits li {
  font-size:    13px;
  color:        var(--cream-dim);
  padding:      8px 0 8px 20px;
  position:     relative;
  border-bottom: 0.5px solid var(--gold-faint);
  line-height:  1.6;
}

.trabaja-benefits li::before {
  content:    '✦';
  position:   absolute; left: 0; top: 9px;
  font-size:  8px; color: var(--gold-dim);
}

.trabaja-form {
  display:    flex;
  flex-direction: column;
  gap:        12px;
  opacity:    0; transform: translateY(20px);
  transition: opacity 0.9s 0.35s, transform 0.9s 0.35s;
}

.trabaja-form.visible { opacity: 1; transform: none; }

.trabaja-form .btn-reserva {
  width:     100%;
  margin-top: 4px;
}

/* ── QR DROPDOWNS ──────────────────────────────────────────── */
/* display:none/flex — reliable on all devices                 */
.review-dropdown,
.work-dropdown {
  display:         none;
  flex-direction:  column;
  align-items:     flex-start;
  gap:             10px;
  margin-top:      12px;
  width:           120px;
}

.review-dropdown.active,
.work-dropdown.active {
  display:   flex;
  animation: dropdownReveal 0.28s ease both;
}

@keyframes dropdownReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-dropdown img,
.work-dropdown img {
  display:    block;
  width:      96px !important; height: 96px !important;
  max-width:  96px !important; max-height: 96px !important;
  min-width:  96px;            min-height: 96px;
  object-fit: contain;
  flex-shrink: 0;
}

.review-btn,
.work-btn {
  display:        inline-flex; align-items: center;
  min-height:     44px;
  font-size:      11px; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none;
  color:          var(--cream-dim);
  border-bottom:  0.5px solid var(--gold-faint);
  padding-bottom: 3px;
  transition:     opacity 0.3s ease, border-color 0.3s ease;
  white-space:    nowrap;
}

.review-btn:hover,
.work-btn:hover  { opacity: 0.7; border-color: var(--gold-dim); }

/* ── WORK SECTION (trabaja.html) ───────────────────────────── */
.work-section  { padding: clamp(120px, 14vw, 180px) 0; }

.work-layout {
  display:               grid;
  grid-template-columns: 1fr 0.9fr;
  gap:                   clamp(60px, 8vw, 120px);
  align-items:           center;
}

.work-content  { max-width: 620px; }
.work-title    { margin-top: 18px; margin-bottom: 34px; }

.work-text {
  display:        flex; flex-direction: column; gap: 22px;
  max-width:      560px; opacity: 0.92;
}

.work-text p   { line-height: 1.9; }
.work-cta      { margin-top: 48px; }

.work-image-wrapper { position: relative; }

.work-image {
  width:         100%; aspect-ratio: 4 / 5;
  object-fit:    cover; border-radius: 2px; opacity: 0.95;
}

@media (max-width: 980px) {
  .work-layout { grid-template-columns: 1fr; gap: 60px; }
  .work-content { max-width: 100%; }
  .work-image   { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
  .work-section  { padding: 100px 0; }
  .work-title    { margin-bottom: 28px; }
  .work-text     { gap: 18px; }
  .work-cta      { margin-top: 40px; }
}

/* ── FOOTER ────────────────────────────────────────────────── */
footer {
  background:  var(--night);
  border-top:  0.5px solid var(--gold-faint);
  padding:     60px 56px 40px;
}

.footer-inner {
  max-width:             1200px; margin: 0 auto;
  display:               grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap:                   60px; margin-bottom: 48px;
}

.footer-brand-name {
  font-family:    'Cormorant Garamond', serif;
  font-size:      26px; font-weight: 300;
  letter-spacing: 4px; text-transform: uppercase;
  color:          var(--gold); margin-bottom: 8px;
}

.footer-brand-tag {
  font-size:      9px; letter-spacing: 3px; text-transform: uppercase;
  color:          rgba(196,168,130,0.35); margin-bottom: 20px;
}

.footer-brand-desc {
  font-size:   13px; color: var(--cream-faint); line-height: 1.9; max-width: 280px;
}

.footer-col-title {
  font-size:      9px; letter-spacing: 3px; text-transform: uppercase;
  color:          var(--gold-dim); margin-bottom: 20px;
}

.footer-links { list-style: none; }

.footer-links li {
  margin-bottom: 10px;
  display:       flex; flex-direction: column; align-items: flex-start;
}

.footer-links a {
  font-size:       13px; color: var(--cream-dim); text-decoration: none;
  transition:      color 0.3s;
}

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

.footer-bottom {
  max-width:       1200px; margin: 0 auto;
  display:         flex; justify-content: space-between; align-items: center;
  border-top:      0.5px solid var(--gold-faint); padding-top: 24px;
  flex-wrap:       wrap; gap: 12px;
}

.footer-copy     { font-size: 11px; color: rgba(196,168,130,0.4); letter-spacing: 1px; }
.footer-legal    { display: flex; gap: 24px; }
.footer-legal a  {
  font-size:       11px; color: rgba(196,168,130,0.4); text-decoration: none;
  transition:      color 0.3s;
}
.footer-legal a:hover { color: var(--gold-dim); }

/* ── WHATSAPP FLOAT — FIX: official green ─────────────────── */
.whatsapp-float {
  position:        fixed; bottom: 32px; right: 32px;
  width:           52px; height: 52px;
  background:      var(--wa-green);     /* #25D366 official green */
  border-radius:   50%;
  display:         flex; align-items: center; justify-content: center;
  z-index:         200;
  text-decoration: none;
  transition:      background 0.3s, transform 0.3s;
  box-shadow:      0 2px 12px rgba(37,211,102,0.25);
}

.whatsapp-float:hover { background: var(--wa-green-hov); transform: scale(1.08); }
.whatsapp-float svg   { width: 22px; height: 22px; fill: #fff; }

/* ── LEGAL PAGES ───────────────────────────────────────────── */
.legal-hero {
  min-height:      40vh;
  display:         flex; flex-direction: column;
  justify-content: flex-end; align-items: flex-start;
  padding:         140px 56px 60px;
  position:        relative;
  border-bottom:   0.5px solid var(--gold-faint);
}

.legal-hero-bg {
  position:   absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 100%, rgba(196,168,130,0.04) 0%, transparent 70%);
}

.legal-eyebrow {
  font-size:      9px; letter-spacing: 5px; text-transform: uppercase;
  color:          var(--gold); margin-bottom: 16px;
  position:       relative;
}

.legal-page-title {
  font-family:    'Cormorant Garamond', serif;
  font-size:      clamp(40px, 6vw, 72px);
  font-weight:    300; color: var(--cream);
  line-height:    1; letter-spacing: 2px;
  position:       relative;
}

.legal-content {
  max-width: 860px; margin: 0 auto;
  padding:   80px 56px 120px;
}

.legal-section {
  margin-bottom:  56px;
  padding-bottom: 56px;
  border-bottom:  0.5px solid var(--gold-faint);
}

.legal-section:last-child { border-bottom: none; margin-bottom: 0; }

.legal-section-title {
  font-family:    'Cormorant Garamond', serif;
  font-size:      28px; font-weight: 400;
  color:          var(--gold); margin-bottom: 20px;
  letter-spacing: 1px;
}

.legal-section-subtitle {
  font-size:      9px; letter-spacing: 4px; text-transform: uppercase;
  color:          var(--gold-dim); margin-bottom: 16px; margin-top: 28px;
}

.legal-text {
  font-size:     14px; line-height: 2;
  color:         var(--cream-dim); margin-bottom: 16px;
}

.legal-text a,
.legal-list a {
  color:          var(--gold); text-decoration: none;
  border-bottom:  0.5px solid var(--gold-faint);
  transition:     border-color 0.3s;
}

.legal-text a:hover,
.legal-list a:hover { border-color: var(--gold); }

.legal-list {
  list-style: none; margin: 16px 0;
}

.legal-list li {
  font-size:    14px; line-height: 1.9; color: var(--cream-dim);
  padding-left: 20px; position: relative; margin-bottom: 8px;
}

.legal-list li::before {
  content:    '✦';
  position:   absolute; left: 0; top: 6px;
  font-size:  8px; color: var(--gold-dim);
}

.legal-updated {
  font-size:      10px; letter-spacing: 2px; text-transform: uppercase;
  color:          rgba(196,168,130,0.3); margin-bottom: 60px;
}

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(1.1); }
}

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

/* ── MOBILE ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Mobile Nav */
  nav          { padding: 20px 24px; }
  nav.scrolled { padding: 14px 24px; }

  .nav-toggle { display: flex !important; }

  /* Full-screen overlay */
  .nav-links {
    position:        fixed; inset: 0;
    background:      rgba(10, 8, 6, 0.97);
    display:         flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap:             36px;
    z-index:         1050;
    opacity:         0; pointer-events: none;
    transition:      opacity 0.4s ease;
    padding:         0;
  }

  .nav-links.is-open { opacity: 1; pointer-events: auto; }

  .nav-links a {
    font-size:      11px;
    letter-spacing: 5px;
    padding:        8px 0;
    color:          var(--cream-dim);
  }

  /* FIX: use higher specificity to beat .nav-links a */
  .nav-links .nav-cta {
    font-size:      11px;
    letter-spacing: 4px;
    padding:        12px 28px;
    margin-top:     8px;
    color:          var(--gold);
    border:         0.5px solid var(--gold-dim);
  }

  /* Layout */
  section                              { padding: 80px 24px; }
  .about-grid                          { grid-template-columns: 1fr; gap: 40px; }
  .rituales-grid                       { grid-template-columns: 1fr; }
  .steps                               { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before                       { display: none; }
  .testimonios-grid                    { grid-template-columns: 1fr; }
  .reserva-form                        { grid-template-columns: 1fr; }
  .footer-inner                        { grid-template-columns: 1fr; gap: 40px; }
  .experience-section, .reserva-section { padding: 80px 24px; }
  footer                               { padding: 48px 24px 32px; }
  .hero-title                          { letter-spacing: 8px; }
  .trabaja-section                     { padding: 80px 24px; }
  .trabaja-columns                     { grid-template-columns: 1fr; gap: 40px; }
  .legal-hero                          { padding: 120px 24px 48px; }
  .legal-content                       { padding: 60px 24px 80px; }
}

/* Touch devices — disable custom cursor */
@media (pointer: coarse) {
  .cursor, .cursor-ring { display: none; }
  body                  { cursor: auto; }
}
