/* Maguana Club · estilos de la web pública */
:root {
  --bg: #0A0A0A;
  --bg-deep: #000000;
  --ivory: #EDE6D6;
  --ivory-dim: #B9B0A0;
  --gold: #C6A15B;
  --gold-bright: #DDBB74;
  --wine: #7A2333;
  --line: rgba(198,161,91,0.32);
  --wrap: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ivory);
  font-family: 'Jost', sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 64px;
}
@media (min-width: 800px) {
  body { padding-bottom: 0; }
}

.mobile-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: rgba(10,10,10,0.96);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}
.mobile-sticky-cta a {
  display: block;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: cta-pulse-glow 2.6s ease-in-out infinite;
}
.mobile-sticky-cta a::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: cta-shine 4.5s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-sticky-cta a { animation: none; }
  .mobile-sticky-cta a::after { display: none; }
}
@media (min-width: 800px) {
  .mobile-sticky-cta { display: none; }
}

/* ---------- MODAL DE RESERVA (calendario) ---------- */
.reserva-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.78);
  display: none;
  align-items: center; justify-content: center;
  z-index: 300;
  padding: 24px 16px;
}
.reserva-modal-backdrop.show { display: flex; }
.reserva-modal-card {
  background: var(--bg-deep);
  border: 1px solid rgba(198,161,91,0.4);
  max-width: 380px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  padding: 26px 22px 30px;
  position: relative;
}
.reserva-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: none; border: 1px solid var(--line);
  color: var(--ivory); font-size: 1rem; line-height: 1;
  cursor: pointer;
}
.reserva-modal-card h3 {
  font-size: 1.2rem; text-align: center; margin-bottom: 4px;
}
.reserva-modal-card .rm-sub {
  text-align: center; color: var(--ivory-dim); font-size: 0.8rem; margin-bottom: 20px;
}
.rm-cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.rm-cal-header button {
  background: none; border: 1px solid var(--line); color: var(--ivory);
  width: 32px; height: 32px; cursor: pointer; font-size: 1rem;
}
.rm-cal-month { font-size: 0.92rem; font-weight: 700; text-transform: capitalize; letter-spacing: 0.02em; }
.rm-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-bottom: 18px;
}
.rm-cal-dow {
  text-align: center; font-size: 0.6rem; color: var(--ivory-dim);
  text-transform: uppercase; letter-spacing: 0.05em; padding-bottom: 4px;
}
.rm-cal-day {
  aspect-ratio: 1/1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border: 1px solid rgba(198,161,91,0.2);
  font-size: 0.8rem;
  cursor: pointer;
  position: relative;
  background: transparent;
  color: var(--ivory);
}
.rm-cal-day.empty { border: none; cursor: default; }
.rm-cal-day.closed { color: #4a4a4a; border-color: rgba(255,255,255,0.06); cursor: not-allowed; }
.rm-cal-day.event { border-color: var(--gold); }
.rm-cal-day.selected { background: var(--gold); color: var(--bg-deep); font-weight: 700; }
.rm-cal-day .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); margin-top: 3px; }
.rm-cal-day.selected .dot { background: var(--bg-deep); }
.rm-legend {
  display: flex; gap: 14px; justify-content: center; margin-bottom: 20px;
  font-size: 0.66rem; color: var(--ivory-dim); flex-wrap: wrap;
}
.rm-legend span { display: inline-flex; align-items: center; gap: 5px; }
.rm-legend .sw { width: 10px; height: 10px; border: 1px solid rgba(198,161,91,0.4); }
.rm-legend .sw.closed { background: #1a1a1a; border-color: rgba(255,255,255,0.06); }
.rm-legend .sw.event { border-color: var(--gold); position: relative; }
.rm-legend .sw.event::after { content: ''; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); position: absolute; bottom: 1px; right: 1px; }
.rm-day-panel {
  border: 1px solid rgba(198,161,91,0.32);
  padding: 16px;
  display: none;
}
.rm-day-panel.show { display: block; }
.rm-day-panel .rm-dp-date {
  font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.rm-day-panel.no-event .rm-dp-body { text-align: center; padding: 8px 0; }
.rm-day-panel.no-event .rm-dp-body p { color: var(--ivory-dim); font-size: 0.84rem; margin-bottom: 16px; }
.rm-dp-event-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.rm-dp-thumb { flex: 0 0 58px; width: 58px; height: 78px; background: var(--bg); }
.rm-dp-event-body h4 { font-size: 0.98rem; margin-bottom: 6px; }
.rm-dp-event-body p { font-size: 0.78rem; color: var(--ivory-dim); line-height: 1.4; }
.rm-dp-btn {
  display: block; width: 100%; text-align: center;
  background: var(--gold); color: var(--bg-deep); border: none;
  padding: 13px; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer;
  font-family: 'Jost', sans-serif;
}

h1, h2, h3 {
  font-family: 'Prata', serif;
  font-weight: 400;
  line-height: 1.15;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 1px solid var(--gold-bright); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- FAN MOTIF DIVIDER ---------- */
.motif {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}
.motif svg { width: 64px; height: 32px; }

/* ---------- HEADER (overlay) ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}
header.scrolled {
  background: rgba(10,10,10,0.5);
  border-color: var(--line);
}

.nav-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 12px;
}

.logo-link {
  grid-column: 2;
  justify-self: center;
  display: flex;
}

.logo-mark {
  height: 42px;
  display: block;
}

nav.primary-links {
  grid-column: 1;
  display: none;
  gap: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
nav.primary-links a { color: var(--ivory-dim); transition: color 0.15s ease; }
nav.primary-links a:hover { color: var(--gold-bright); }

.nav-cta {
  grid-column: 3;
  justify-self: end;
  display: none;
  position: relative;
  overflow: hidden;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  white-space: nowrap;
  animation: cta-pulse-glow 2.6s ease-in-out infinite;
}
.nav-cta:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.nav-cta::after {
  content: "";
  position: absolute; top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.55), transparent);
  animation: cta-shine 4.5s ease-in-out infinite;
}
@keyframes cta-pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198,161,91,0.55); }
  50% { box-shadow: 0 0 14px 3px rgba(198,161,91,0.55); }
}
@keyframes cta-shine {
  0% { left: -60%; }
  35% { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-cta { animation: none; }
  .nav-cta::after { display: none; }
}

.burger {
  grid-column: 3;
  justify-self: end;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory);
}
.burger svg { width: 16px; height: 16px; }

@media (min-width: 800px) {
  .nav-row { height: 88px; }
  .logo-mark { height: 52px; }
  nav.primary-links { display: flex; }
  .nav-cta { display: inline-block; }
  .burger { display: none; }
}

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 0;
  overflow: hidden;
  background: rgba(0,0,0,0.96);
  border-top: 1px solid transparent;
  transition: max-height 0.3s ease, border-color 0.3s ease;
}
.mobile-menu.open {
  max-height: 260px;
  border-color: var(--line);
}
.mobile-menu a {
  padding: 14px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; margin: 10px 20px 16px; }
@media (min-width: 800px) {
  .mobile-menu { display: none; }
}

/* ---------- HERO CAROUSEL ---------- */
.hero-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 100vh;
  overflow: hidden;
  background: var(--bg-deep);
}
@media (min-width: 800px) {
  .hero-carousel { aspect-ratio: 16 / 9; }
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: flex-end;
}
.slide.active { opacity: 1; }

.slide .slide-bg {
  position: absolute;
  inset: 0;
  /* REEMPLAZA este gradiente por: background: url('tu-foto-o-frame-de-video.jpg') center/cover; */
}
.slide:nth-child(2) .slide-bg { background: radial-gradient(circle at 30% 20%, #24352E, var(--bg-deep) 70%); }
.slide:nth-child(3) .slide-bg { background: radial-gradient(circle at 70% 30%, #3A2430, var(--bg-deep) 70%); }
.slide:nth-child(4) .slide-bg { background: radial-gradient(circle at 50% 60%, #2E2A1C, var(--bg-deep) 70%); }

/* Filtro de color para que fotos/vídeos reales encajen con la paleta Art Decó de la web */
.slide-bg { position: absolute; inset: 0; overflow: hidden; }

.slide-bg img,
.slide-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.65) hue-rotate(75deg) saturate(2.6) brightness(0.45) contrast(1.25);
}

/* Efecto pantalla LED: rejilla de líneas finas superpuesta, como los paneles de leds del escenario */
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.5) 0px, rgba(0,0,0,0.5) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(0,0,0,0.35) 0px, rgba(0,0,0,0.35) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: multiply;
}
.slide-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(80,255,170,0.18), transparent 70%);
  mix-blend-mode: screen;
}

.slide-flyer .slide-bg {
  background: var(--bg-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-flyer .slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slide-flyer { cursor: pointer; }

.slide-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.92) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 0 36px 80px;
  width: 100%;
}

.slide-content .eyebrow { display: block; margin-bottom: 10px; }

.slide-content h1, .slide-content h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3.6rem);
  max-width: 16ch;
  margin-bottom: 16px;
}

@media (min-width: 800px) {
  .slide-content { padding-left: 64px; padding-right: 64px; }
}

.slide-play {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 2;
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
}
.slide-play svg { width: 11px; height: 11px; fill: var(--gold-bright); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #FFFFFF;
  color: #FFFFFF;
  padding: 12px 18px;
  font-family: 'Jost', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
  color: #FFFFFF;
}
.btn:hover { background: #FFFFFF; color: var(--bg-deep); }
.btn:hover::after { color: var(--bg-deep); }
.btn-solid { background: transparent; color: #FFFFFF; }
.btn-solid:hover { background: #FFFFFF; color: var(--bg-deep); }

.slide-content .btn {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

/* corner frame */
.corner {
  position: absolute;
  z-index: 3;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  opacity: 0.85;
}
.corner.tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.corner.br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.hero-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  background: rgba(7,11,9,0.5);
  color: var(--ivory);
  display: grid; place-items: center;
}
.hero-nav.prev { left: 14px; }
.hero-nav.next { right: 14px; }
.hero-nav svg { width: 14px; height: 14px; }

.hero-dots {
  position: absolute;
  z-index: 4;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 22px; height: 2px;
  background: rgba(237,230,214,0.35);
  border: none;
}
.hero-dots button.active { background: var(--gold-bright); }

/* ---------- INTRO / QUE ES MAGUANA ---------- */
.intro {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
  text-align: center;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.intro .wrap { max-width: 640px; }
.intro h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 20px; }
.intro p {
  color: var(--ivory-dim);
  font-size: 1rem;
  margin-bottom: 24px;
}
.intro a.more {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* ---------- EVENTOS ---------- */
.events {
  position: relative;
  z-index: 1;
  padding: 40px 0 64px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.section-head {
  text-align: center;
  margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 6px; }

.month-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.month-tabs button {
  background: none;
  border: 1px solid var(--line);
  color: var(--ivory-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.month-tabs button.active {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.month-panel { display: none; }
.month-panel.active { display: block; }

.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 700px) {
  .event-grid { grid-template-columns: repeat(3, 1fr); }
}

.event-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 14px;
}
.event-thumb {
  flex: 0 0 74px;
  width: 74px;
  height: 98px;
  overflow: hidden;
  background: var(--bg-deep);
}
.event-thumb img,
.event-thumb .thumb-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.event-body-text { flex: 1; min-width: 0; }
.event-item .date {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.event-item h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
  line-height: 1.2;
}
.event-item p {
  color: var(--ivory-dim);
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.event-item a {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
}

.empty-month {
  text-align: center;
  color: var(--ivory-dim);
  font-size: 0.9rem;
  padding: 30px 0;
  border: 1px dashed var(--line);
}

/* ---------- APARICIÓN AL HACER SCROLL ---------- */
/* Todo esto solo se activa si "js-ready" está presente (lo añade un script
   al cargar la página). Si el JavaScript no llega a ejecutarse por
   cualquier motivo, las secciones se quedan visibles con normalidad,
   tal cual estaban antes de añadir este efecto — nunca invisibles. */
.js-ready .reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(24px);
  transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}
.js-ready .reveal.in-view {
  opacity: 1;
  filter: blur(0px);
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* ---------- GALERÍA ---------- */
.gallery {
  position: relative;
  z-index: 1;
  padding: 20px 0 64px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 700px) {
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
}
.gallery-item {
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line);
}
.gallery-item:nth-child(1) { background: radial-gradient(circle at 30% 30%, #3A2430, var(--bg-deep) 75%); }
.gallery-item:nth-child(2) { background: radial-gradient(circle at 60% 40%, #24352E, var(--bg-deep) 75%); }
.gallery-item:nth-child(3) { background: radial-gradient(circle at 50% 50%, #2E2A1C, var(--bg-deep) 75%); }
.gallery-item:nth-child(4) { background: radial-gradient(circle at 40% 60%, #33261C, var(--bg-deep) 75%); }
.gallery-item:nth-child(5) { background: radial-gradient(circle at 65% 30%, #24352E, var(--bg-deep) 75%); }
.gallery-item:nth-child(6) { background: radial-gradient(circle at 35% 55%, #3A2430, var(--bg-deep) 75%); }
.gallery-cta {
  text-align: center;
  margin-top: 24px;
}

/* ---------- SALÓN DE LA FAMA ---------- */
.fame {
  position: relative;
  z-index: 1;
  padding: 20px 0 64px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.fame-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
}
@media (min-width: 700px) {
  .fame-grid { grid-template-columns: repeat(4, 1fr); }
}
.fame-item { text-align: center; }
.fame-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 35% 30%, #2E2A1C, var(--bg-deep) 75%);
  display: grid;
  place-items: center;
  font-family: 'Prata', serif;
  font-size: 1.3rem;
  color: var(--gold-bright);
}
.fame-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.fame-item p {
  color: var(--ivory-dim);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- BLOG ---------- */
.blog {
  position: relative;
  z-index: 1;
  padding: 20px 0 72px;
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(2px);
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

.blog-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px solid var(--line);
  padding: 14px;
}
.blog-card .img {
  flex: 0 0 74px;
  width: 74px;
  height: 98px;
  overflow: hidden;
}
.blog-card:nth-child(1) .img { background: radial-gradient(circle at 40% 30%, #3A2430, var(--bg-deep) 75%); }
.blog-card:nth-child(2) .img { background: radial-gradient(circle at 60% 40%, #24352E, var(--bg-deep) 75%); }
.blog-card:nth-child(3) .img { background: radial-gradient(circle at 50% 50%, #2E2A1C, var(--bg-deep) 75%); }
.blog-card:nth-child(4) .img { background: radial-gradient(circle at 30% 60%, #33261C, var(--bg-deep) 75%); }

.blog-card .body-text { flex: 1; min-width: 0; }
.blog-card .tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.blog-card h4 {
  font-family: 'Prata', serif;
  font-size: 1.02rem;
  line-height: 1.3;
}

/* ---------- FONDO FIJO (ambiente) ---------- */
.site-ambience {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-deep);
}
.site-ambience .parallax-bg {
  position: absolute;
  top: -10%; left: 0; right: 0;
  height: 120%;
}

/* ---------- PARALLAX BANNER ---------- */
.parallax-banner {
  position: relative;
  height: 56vh;
  min-height: 340px;
  overflow: hidden;
}
.parallax-bg {
  position: absolute;
  top: -20%; left: 0; right: 0;
  height: 140%;
  background-image: url('/assets/img/fondo-lounge.webp?v=20260923');
  background-size: cover;
  background-position: center 35%;
  filter: sepia(0.55) hue-rotate(75deg) saturate(2.2) brightness(0.5) contrast(1.2);
  will-change: transform;
}
.parallax-shade {
  position: absolute;
  inset: 0;
  background: rgba(7,11,9,0.45);
}
.parallax-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.parallax-content h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  max-width: 18ch;
  margin: 12px 0 0;
}

/* ---------- FOOTER ---------- */
footer {
  position: relative;
  z-index: 1;
  padding: 40px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.foot-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--ivory-dim);
}
@media (min-width: 700px) {
  .foot-row { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* demo viewport tag */
/* demo viewport tag — eliminado */

/* ======================================================================
   Gestor de contenidos: imágenes reales y páginas interiores
   ====================================================================== */
.gallery-item img, .blog-card .img img, .fame-avatar img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.fame-avatar { overflow: hidden; }
.gallery-item.con-foto, .blog-card .img.con-foto { background: var(--bg-deep) !important; }
a.gallery-item { display: block; }
.slide-bg > img.slide-foto { position: absolute; inset: 0; }

/* Cabecera de página interior */
.pagina { position: relative; z-index: 1; background: rgba(0,0,0,0.72); min-height: 60vh; padding: 130px 0 80px; }
.pagina-cab { text-align: center; max-width: 760px; margin: 0 auto 40px; padding: 0 20px; }
.pagina-cab .eyebrow { display: block; margin-bottom: 12px; }
.pagina-cab h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.pagina-cab p { color: var(--ivory-dim); font-size: 1rem; }
.pagina-portada { max-width: 980px; margin: 0 auto 40px; padding: 0 20px; }
.pagina-portada img { width: 100%; max-height: 520px; object-fit: cover; display: block; border: 1px solid var(--line); }

/* Texto largo (historia, artículos, textos legales) */
.prosa { max-width: 720px; margin: 0 auto; padding: 0 20px; font-size: 1.04rem; line-height: 1.75; color: #E6DFD0; }
.prosa > * + * { margin-top: 1.1em; }
.prosa h2 { font-size: 1.6rem; margin-top: 1.8em; color: var(--ivory); }
.prosa h3 { font-size: 1.25rem; margin-top: 1.5em; font-family: 'Prata', serif; font-weight: 400; color: var(--ivory); }
.prosa h4 { font-size: 1rem; margin-top: 1.3em; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-bright); }
.prosa a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }
.prosa ul, .prosa ol { padding-left: 1.3em; }
.prosa li + li { margin-top: .4em; }
.prosa blockquote { border-left: 2px solid var(--gold); padding: 4px 0 4px 18px; font-family: 'Prata', serif; font-size: 1.2rem; color: var(--ivory); }
.prosa img { max-width: 100%; height: auto; display: block; margin: 1.6em auto; border: 1px solid var(--line); }
.prosa figure figcaption { text-align: center; font-size: .82rem; color: var(--ivory-dim); margin-top: -1em; }
.prosa hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prosa strong { color: var(--ivory); }

/* Artículo */
.post-meta { text-align: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.post-cta { max-width: 720px; margin: 56px auto 0; padding: 26px 20px; border-top: 1px solid var(--line); text-align: center; }
.post-cta p { color: var(--ivory-dim); margin-bottom: 16px; }
.post-cta .nav-cta { display: inline-block; }
.volver { display: inline-block; margin-bottom: 26px; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ivory-dim); }
.volver:hover { color: var(--gold-bright); }

/* Listado del blog */
.blog-lista { max-width: 1000px; margin: 0 auto; padding: 0 20px; display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .blog-lista { grid-template-columns: repeat(2, 1fr); } }
.post-tarjeta { display: block; border: 1px solid var(--line); background: rgba(0,0,0,.5); transition: border-color .2s ease; }
.post-tarjeta:hover { border-color: var(--gold); }
.post-tarjeta .foto { aspect-ratio: 16 / 9; overflow: hidden; background: radial-gradient(circle at 40% 30%, #2E2A1C, var(--bg-deep) 75%); }
.post-tarjeta .foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-tarjeta .txt { padding: 18px 20px 22px; }
.post-tarjeta .tag { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 8px; }
.post-tarjeta h2 { font-size: 1.3rem; margin-bottom: 8px; }
.post-tarjeta p { color: var(--ivory-dim); font-size: .9rem; }
.post-tarjeta .fecha { font-size: .72rem; color: var(--ivory-dim); margin-top: 12px; display: block; }
.vacio-pagina { text-align: center; color: var(--ivory-dim); padding: 40px 20px; }

/* Galería completa + visor */
.galeria-completa { max-width: 1180px; margin: 0 auto; padding: 0 20px; columns: 2 220px; column-gap: 10px; }
.galeria-completa a { display: block; break-inside: avoid; margin-bottom: 10px; border: 1px solid var(--line); }
.galeria-completa img { width: 100%; height: auto; display: block; }
.visor { position: fixed; inset: 0; z-index: 400; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 20px; }
.visor.abierto { display: flex; }
.visor img { max-width: 100%; max-height: 86vh; object-fit: contain; }
.visor figcaption { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--ivory-dim); font-size: .85rem; padding: 0 60px; }
.visor button { position: absolute; background: rgba(0,0,0,.6); border: 1px solid var(--line); color: var(--ivory); width: 44px; height: 44px; font-size: 1.3rem; cursor: pointer; }
.visor .cerrar { top: 16px; right: 16px; }
.visor .ant { left: 12px; top: 50%; transform: translateY(-50%); }
.visor .sig { right: 12px; top: 50%; transform: translateY(-50%); }

/* Pie ampliado */
footer .foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .78rem; }
footer .foot-links a { color: var(--ivory-dim); }
footer .foot-links a:hover { color: var(--gold-bright); }
