/* ==========================================================
   DIOSAS DEL OLIMPO · Estilos del sitio
   ========================================================== */
:root {
  --ink: #0d0b09;
  --ink-2: #14110d;
  --ink-3: #1c1812;
  --line: rgba(230, 200, 132, 0.18);
  --gold: #e6c884;
  --gold-2: #d4ae62;
  --gold-3: #a8823f;
  --gold-dark: #6e4f22;
  --cream: #f6f1e7;
  --cream-2: #ece4d4;
  --text: #ede6d8;
  --muted: #a89f8f;
  --muted-dark: #6f6656;
  --gold-grad: linear-gradient(135deg, #f6e3ac 0%, #e2c27a 35%, #b8924a 70%, #e6c884 100%);

  --serif: "Cormorant Garamond", Georgia, serif;
  --roman: "Cinzel", "Trajan Pro", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, sans-serif;

  --gutter: clamp(16px, 5vw, 64px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-family: var(--serif);
  font-weight: 400;
}
.gold-text-dark { color: var(--gold-dark); font-style: italic; font-family: var(--serif); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s, color 0.4s, border-color 0.4s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--gold {
  background: var(--gold-grad);
  background-size: 200% 200%;
  color: #1a1309;
  box-shadow: 0 10px 30px -12px rgba(230, 200, 132, 0.55);
}
.btn--gold:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 18px 40px -14px rgba(230, 200, 132, 0.7); }
.btn--ghost { border-color: rgba(230, 200, 132, 0.45); color: var(--gold); background: rgba(13, 11, 9, 0.25); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--gold); background: rgba(230, 200, 132, 0.08); }
.btn--lg { min-height: 60px; padding-inline: 2.4rem; font-size: 0.82rem; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Verificación de edad ---------- */
.age-gate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 24px;
  background: radial-gradient(ellipse at 50% 30%, #1d170e 0%, var(--ink) 70%);
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.age-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.age-gate__box { max-width: 460px; text-align: center; }
.age-gate__logo { width: min(220px, 60vw); margin: 0 auto 1.8rem; }
.age-gate h2 { font-family: var(--roman); font-size: clamp(1.3rem, 4vw, 1.7rem); letter-spacing: 0.04em; margin-bottom: 0.8rem; }
.age-gate p:not(.eyebrow) { color: var(--muted); margin-bottom: 2rem; }
.age-gate__actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
.age-gate__actions .btn { width: min(320px, 100%); }

/* ---------- Barra de progreso ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--gold-grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Encabezado ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  transition: border-color 0.5s;
  border-bottom: 1px solid transparent;
  isolation: isolate;
}
/* el fondo va en ::before: un backdrop-filter en el header atraparía al menú móvil (position: fixed) */
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.5s; background: rgba(13, 11, 9, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header.is-solid { border-color: var(--line); }
.header.is-solid::before { opacity: 1; }
.brand { display: flex; align-items: center; gap: 0.75rem; position: relative; z-index: 2; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--roman); font-size: 0.95rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.brand em { font-style: normal; font-size: 0.75em; }

.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav a {
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text);
  position: relative; padding-block: 0.4rem; transition: color 0.3s;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav a:hover { color: var(--gold); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--gold); }
.nav__cta { border: 1px solid rgba(230, 200, 132, 0.5); padding: 0.6rem 1.3rem !important; border-radius: 999px; color: var(--gold) !important; }
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; z-index: 2; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--gold); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Portada ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) clamp(6.5rem, 14vh, 9rem);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; transform: scale(calc(1 + var(--hp, 0) * 0.12)); will-change: transform; }
.hero__media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 35%, transparent 0%, rgba(13, 11, 9, 0.35) 60%, rgba(13, 11, 9, 0.85) 100%),
    linear-gradient(180deg, rgba(13, 11, 9, 0.55) 0%, transparent 22%, rgba(13, 11, 9, 0.35) 42%, rgba(13, 11, 9, 0.9) 70%, var(--ink) 100%);
  opacity: calc(1 + var(--hp, 0) * 0.5);
}
.hero__content {
  text-align: center; max-width: 820px;
  transform: translateY(calc(var(--hp, 0) * 90px));
  opacity: calc(1 - var(--hp, 0) * 1.4);
}
.hero h1 {
  font-family: var(--roman);
  font-size: clamp(2.1rem, 6.4vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 1.3rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
}
.hero h1 .gold-text { font-size: 1.12em; letter-spacing: 0; text-shadow: none; }
.hero__lead { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: #d9d0bf; max-width: 560px; margin: 0 auto 2.2rem; }
.hero__actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  opacity: calc(1 - var(--hp, 0) * 3);
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Franja ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 1.3rem; overflow: hidden; background: var(--ink-2); }
.marquee__track { display: flex; gap: 2.4rem; width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee span { font-family: var(--roman); font-size: clamp(1rem, 2.2vw, 1.35rem); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.marquee b { color: var(--gold-3); font-size: 0.8rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(5.5rem, 12vw, 10rem); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(3rem, 6vw, 5rem); }
.section-head h2 { font-family: var(--roman); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; margin-bottom: 1.2rem; letter-spacing: 0.02em; }
.section-head h2 .gold-text, .section-head h2 .gold-text-dark { font-size: 1.12em; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }

/* El Santuario */
.santuario { overflow: hidden; }
.lit-text {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.4vw, 3.3rem);
  line-height: 1.3;
  font-weight: 300;
  max-width: 1000px;
  margin-bottom: clamp(4rem, 8vw, 6.5rem);
}
.lit-text .w { opacity: 0.16; transition: opacity 0.35s ease, color 0.35s ease; }
.lit-text .w.on { opacity: 1; }
.lit-text .w.gold { color: var(--gold); font-style: italic; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pillar { background: var(--ink); padding: 2.4rem 1.8rem; transition: background 0.5s; }
.pillar:hover { background: var(--ink-3); }
.pillar svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.4rem; }
.pillar h3 { font-family: var(--roman); font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.6rem; color: var(--text); }
.pillar p { color: var(--muted); font-size: 0.95rem; }
.santuario__ornament {
  position: absolute; right: -6%; top: 6%; width: min(520px, 55vw); opacity: 0.05; pointer-events: none;
  transform: translateY(var(--py, 0px));
}

/* Rituales */
.rituales { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); }
.ritual-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; counter-reset: r; }
.ritual {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 1.5rem 2rem;
  align-items: baseline;
  padding: 2.2rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.ritual:last-child { border-bottom: 1px solid var(--line); }
.ritual::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease);
}
.ritual:hover::before { transform: scaleX(1); }
.ritual__num { font-family: var(--roman); color: var(--gold-3); font-size: 1rem; letter-spacing: 0.1em; }
.ritual h3 { font-family: var(--roman); font-size: clamp(1.3rem, 2.8vw, 1.8rem); letter-spacing: 0.04em; margin-bottom: 0.5rem; transition: color 0.4s; }
.ritual:hover h3 { color: var(--gold); }
.ritual p { color: var(--muted); max-width: 560px; }
.ritual__meta { text-align: right; white-space: nowrap; }
.ritual__meta .dur { display: block; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.ritual__meta .price { font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--gold); }

/* Las Diosas */
.diosas { background: var(--ink-2); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.staff-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); font-family: var(--serif); font-size: 1.3rem; font-style: italic; }
.card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left;
  background: var(--ink-3); border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5.4;
  isolation: isolate;
}
.card::after {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(230, 200, 132, 0); z-index: 2; pointer-events: none;
  transition: border-color 0.6s var(--ease), inset 0.6s var(--ease);
}
.card:hover::after, .card:focus-visible::after { border-color: rgba(230, 200, 132, 0.6); inset: 14px; }
.card__img { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card:hover .card__img { transform: scale(1.06); }
.card__ph {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 35%, #2a2216 0%, var(--ink-3) 70%);
}
.card__ph img { width: 62%; opacity: 0.22; filter: saturate(0.8); }
.card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(13, 11, 9, 0.55) 65%, rgba(13, 11, 9, 0.95) 100%); }
.card__tag {
  position: absolute; top: 1.4rem; left: 1.4rem; z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); padding: 0.35rem 0.75rem; border-radius: 999px; font-weight: 500;
}
.card__count {
  position: absolute; top: 1.4rem; right: 1.4rem; z-index: 3; display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; color: var(--gold); background: rgba(13, 11, 9, 0.6); backdrop-filter: blur(4px); padding: 0.3rem 0.6rem; border-radius: 999px;
}
.card__count svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem 1.6rem; z-index: 3; }
.card__name { font-family: var(--roman); font-size: 1.7rem; letter-spacing: 0.08em; color: var(--text); line-height: 1.1; margin-bottom: 0.4rem; }
.card__quote { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: #cfc5b2; line-height: 1.35; }
.card__more {
  display: inline-flex; gap: 0.5rem; align-items: center; margin-top: 1rem;
  font-size: 0.66rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.card:hover .card__more, .card:focus-visible .card__more { opacity: 1; transform: none; }
@media (hover: none) { .card__more { opacity: 1; transform: none; } }

/* La Casa (sección clara) */
.casa { background: var(--cream); color: #2b241a; }
.casa .eyebrow { color: var(--gold-dark); }
.casa .section-head h2 { color: #1f1912; }
.casa__logo { margin: 0 auto 1.6rem; width: 110px; height: auto; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem); margin-bottom: clamp(4rem, 8vw, 6rem); }
.rule { padding-top: 1.4rem; border-top: 1px solid rgba(110, 79, 34, 0.25); }
.rule span { font-family: var(--roman); color: var(--gold-dark); font-size: 0.9rem; letter-spacing: 0.15em; }
.rule h3 { font-family: var(--roman); font-size: 1.15rem; letter-spacing: 0.06em; margin: 0.5rem 0; color: #1f1912; }
.rule p { color: var(--muted-dark); font-size: 0.97rem; }
.steps { background: #fff; border: 1px solid rgba(110, 79, 34, 0.15); border-radius: 4px; padding: clamp(2rem, 4vw, 3.2rem); }
.steps__title { font-family: var(--roman); text-align: center; font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 2rem; color: #1f1912; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { text-align: center; position: relative; }
.steps li b { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 2.6rem; color: var(--gold-3); line-height: 1; margin-bottom: 0.6rem; }
.steps li p { font-size: 0.95rem; color: #4a4033; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.3rem; right: -0.75rem; width: 1.5rem; height: 1px; background: rgba(110, 79, 34, 0.3); transform: translateX(50%); }

/* Reservar */
.reservar { background: radial-gradient(ellipse 70% 80% at 20% 50%, #1f1810 0%, var(--ink) 70%); overflow: hidden; }
.reservar__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.reservar h2 { font-family: var(--roman); font-size: clamp(2.2rem, 5.4vw, 3.8rem); line-height: 1.1; margin-bottom: 1.2rem; }
.reservar h2 .gold-text { font-size: 1.12em; }
.reservar__copy > p:not(.eyebrow) { color: var(--muted); max-width: 460px; margin-bottom: 2.2rem; font-size: 1.05rem; }
.reservar__info { display: grid; gap: 1.2rem; }
.info-block { border: 1px solid var(--line); padding: 1.8rem; border-radius: 4px; background: rgba(20, 17, 13, 0.6); }
.info-block h3 { font-family: var(--roman); font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.info-block dl { margin: 0; display: grid; gap: 0.6rem; }
.info-block dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: 0.6rem; }
.info-block dl div:last-child { border: 0; padding-bottom: 0; }
.info-block dt { color: var(--text); }
.info-block dd { margin: 0; color: var(--muted); text-align: right; }
.info-block p { color: var(--muted); }

/* Pie */
.footer { text-align: center; padding: 4.5rem var(--gutter) 6rem; border-top: 1px solid var(--line); background: var(--ink); }
.footer__logo { margin: 0 auto 1.6rem; width: 170px; height: auto; }
.footer__note { color: var(--muted); font-size: 0.85rem; max-width: 480px; margin: 0 auto 1.6rem; }
.footer__links { display: flex; gap: 2rem; justify-content: center; margin-bottom: 1.6rem; }
.footer__links a { font-size: 0.72rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); }
.footer__copy { font-size: 0.75rem; color: #6a6254; letter-spacing: 0.08em; }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-grad); color: #1a1309;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.6), 0 0 0 0 rgba(230, 200, 132, 0.5);
  transform: scale(0); transition: transform 0.5s var(--ease);
  animation: pulse 3s infinite;
}
.wa-float.is-visible { transform: scale(1); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; }
@keyframes pulse { 0%, 100% { box-shadow: 0 10px 30px -8px rgba(0,0,0,.6), 0 0 0 0 rgba(230,200,132,.45); } 50% { box-shadow: 0 10px 30px -8px rgba(0,0,0,.6), 0 0 0 12px rgba(230,200,132,0); } }

/* ---------- Ficha (modal) ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, 0.82); backdrop-filter: blur(8px); animation: fade 0.4s var(--ease); }
.modal__card {
  position: relative; width: min(1080px, 100%); max-height: calc(100svh - 40px); overflow: auto;
  display: grid; grid-template-columns: 1.15fr 1fr;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px;
  animation: rise 0.6s var(--ease);
}
.modal__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(13, 11, 9, 0.7); font-size: 1.6rem; line-height: 1; color: var(--gold);
}
.modal__media { position: relative; min-height: min(620px, calc(100svh - 40px)); background: var(--ink-3); }
.modal__gallery { position: absolute; inset: 0; background: var(--ink-3); display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.modal__gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.modal__gallery .card__ph { flex: 0 0 100%; }
.gal-nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(230, 200, 132, 0.4);
  background: rgba(13, 11, 9, 0.6); backdrop-filter: blur(6px); color: var(--gold); font-size: 1.6rem; line-height: 1;
  display: grid; place-items: center; transition: opacity 0.3s, background 0.3s;
}
.gal-nav:hover { background: rgba(13, 11, 9, 0.85); }
.gal-nav:disabled { opacity: 0; pointer-events: none; }
.gal-nav--prev { left: 12px; }
.gal-nav--next { right: 12px; }
.gal-count {
  position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 0.7rem; letter-spacing: 0.18em;
  background: rgba(13, 11, 9, 0.65); color: var(--gold); padding: 0.35rem 0.75rem; border-radius: 999px;
}
.gal-thumbs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; gap: 6px; overflow-x: auto; padding: 2.2rem 12px 12px; scrollbar-width: none;
  background: linear-gradient(transparent, rgba(13, 11, 9, 0.85));
}
.gal-thumbs::-webkit-scrollbar { display: none; }
.gal-thumbs button { flex: 0 0 48px; height: 60px; padding: 0; border: 1px solid transparent; border-radius: 4px; overflow: hidden; opacity: 0.55; background: none; transition: opacity 0.3s, border-color 0.3s; }
.gal-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs button.on { opacity: 1; border-color: var(--gold); }
.gal-nav[hidden], .gal-count[hidden], .gal-thumbs[hidden] { display: none; }
.modal__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.modal__body h2 { font-family: var(--roman); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: 0.06em; margin-bottom: 0.6rem; }
.modal__quote { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--gold); margin-bottom: 1.2rem; line-height: 1.35; }
.modal__body > p { color: var(--muted); }
.modal__lang { font-size: 0.8rem; letter-spacing: 0.12em; margin: 1rem 0 1.8rem; }
.modal__body .btn { align-self: flex-start; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0; padding: 0; }
.chips li { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; border: 1px solid var(--line); color: var(--gold); padding: 0.4rem 0.8rem; border-radius: 999px; }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(0.98); } }

/* ---------- Animación al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .rules { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 1.6rem;
    background: rgba(13, 11, 9, 0.97); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--roman); font-size: 1.3rem; letter-spacing: 0.15em; }
  .nav__cta { margin-top: 1rem; font-family: var(--sans) !important; font-size: 0.8rem !important; }
  .brand span { font-size: 0.8rem; letter-spacing: 0.14em; }
  .brand img { width: 36px; }

  .reservar__inner { grid-template-columns: 1fr; }
  .modal__card { display: block; }
  .modal__media { min-height: 0; aspect-ratio: 4 / 4.4; }
  .steps ol { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .steps li::after { display: none; }
}

@media (max-width: 600px) {
  .pillars, .rules { grid-template-columns: 1fr; }
  .ritual { grid-template-columns: 1fr; gap: 0.6rem; padding: 1.8rem 0; }
  .ritual__num { font-size: 0.8rem; }
  .ritual__meta { text-align: left; display: flex; gap: 1rem; align-items: baseline; }
  .ritual__meta .dur { margin: 0; }
  .hero__actions .btn { width: 100%; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card { aspect-ratio: 3 / 4.4; }
  .card__body { padding: 1.1rem 1rem; }
  .card__name { font-size: 1.15rem; }
  .card__quote { font-size: 0.92rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card__tag { top: 0.8rem; left: 0.8rem; font-size: 0.55rem; }
  .card__count { top: 0.8rem; right: 0.8rem; font-size: 0.65rem; padding: 0.25rem 0.5rem; }
  .gal-nav { width: 38px; height: 38px; font-size: 1.3rem; }
  .card__more { display: none; }
  .card::after { inset: 6px; }
  .modal { padding: 0; align-items: end; }
  .modal__card { max-height: 94svh; border-radius: 14px 14px 0 0; }
  .modal__body .btn { align-self: stretch; }
  .reservar .btn--lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .lit-text .w { opacity: 1; }
}
