/* ═══════════════════════════════════════════════════════════════════
   FIESTAS PATRIAS 2026 · Hotel Hacienda Majoro
   Mood: noche de fogata + hacienda de 400 años + cielo estrellado.
   Paleta de marca + rojo patrio #C1272D con cuentagotas.
   ═══════════════════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Artigo';
  src: url('../../assets/fonts/Artigo.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Artigo';
  src: url('../../assets/fonts/ArtigoPro-SemiBold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}

:root {
  --crema:     #f3ecdb;
  --crema-2:   #ece2cc;
  --terracota: #b8623a;
  --terracota-hondo: #964a28;
  --sepia:     #5c3a1e;
  --sepia-dim: #7d5c3d;
  --oliva:     #5e7a3e;
  --teal:      #1f7a6b;
  --patrio:    #C1272D;
  --noche:     #14100a;   /* off-black cálido, nunca #000 */
  --noche-2:   #1d1710;
  --brasa:     #e8955c;   /* luz de fuego sobre oscuro */
  --wa:        #1faa55;   /* verde WhatsApp, un punto más hondo */
  --wa-hover:  #24c161;

  --linea: rgba(92,58,30,0.16);
  --serif: 'Artigo', 'Cormorant Garamond', serif;
  --sans:  'Montserrat', sans-serif;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--crema);
  color: var(--sepia);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
em { font-style: italic; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* grano sutil fijo — nunca sobre contenedores con scroll */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 80; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* cinta escarapela: 3px arriba de todo — el acento patrio más silencioso */
.escarapela {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 90;
  background: linear-gradient(90deg, var(--patrio) 0 33%, #f6f1e4 33% 67%, var(--patrio) 67% 100%);
}

/* ═══ layout ═══ */
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.wrap.narrow { max-width: 760px; }
.section { padding: 72px 0; }
@media (min-width: 768px) {
  .wrap { padding: 0 48px; }
  .section { padding: 104px 0; }
}

.eyebrow {
  display: inline-block; margin-bottom: 14px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--terracota);
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 5.2vw, 54px); line-height: 1.05; letter-spacing: -0.01em;
  color: var(--sepia); text-wrap: balance;
}
.h2 em { color: var(--terracota); }
.lead { margin-top: 18px; font-size: 15.5px; font-weight: 300; color: var(--sepia-dim); max-width: 56ch; }
@media (min-width: 768px) { .lead { font-size: 17px; } }

/* escarapela pequeña (roseta) — detalle patrio reutilizable */
.roseta {
  display: inline-block; width: 18px; height: 18px; border-radius: 50%;
  vertical-align: -4px; margin-right: 8px;
  background: radial-gradient(circle, var(--patrio) 0 24%, #fdfaf2 24% 30%, var(--patrio) 30% 52%, #fdfaf2 52% 60%, var(--patrio) 60% 100%);
  box-shadow: 0 2px 6px rgba(193,39,45,0.35), inset 0 1px 1px rgba(255,255,255,0.25);
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ═══ botones WhatsApp ═══ */
.btn-wa {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--wa); color: #fdfdf8;
  font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 100px;
  box-shadow: 0 14px 36px -12px rgba(31,170,85,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-wa svg { width: 21px; height: 21px; flex: none; }
.btn-wa:hover { background: var(--wa-hover); transform: translateY(-2px); }
.btn-wa:active { transform: scale(0.98); }
.btn-wa-lg { font-size: 14px; padding: 19px 38px; }

.link-wa {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); border-bottom: 1px solid currentColor; padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.link-wa svg { width: 16px; height: 16px; }
.link-wa:hover { gap: 14px; color: var(--terracota-hondo); }

/* ═══ 1 · HERO ═══ */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 62%; animation: hero-zoom 7s var(--ease) forwards; }
@keyframes hero-zoom { from { transform: scale(1.09); } to { transform: scale(1.01); } }
.hero-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,16,10,0.5) 0%, rgba(20,16,10,0.08) 34%, rgba(20,16,10,0.52) 66%, rgba(20,16,10,0.94) 100%),
    linear-gradient(76deg, rgba(20,16,10,0.62) 0%, rgba(20,16,10,0.14) 52%, rgba(20,16,10,0) 78%);
}
.hero-content {
  position: relative; z-index: 1; width: 100%; max-width: 1140px; margin: 0 auto;
  padding: 0 22px 12dvh;
  opacity: 0; animation: fade-up 1.2s var(--ease) 0.25s forwards;
}
@media (min-width: 768px) { .hero-content { padding: 0 48px 13dvh; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--patrio); padding: 9px 15px; border-radius: 100px;
  background: rgba(252,249,242,0.95);
  box-shadow: 0 10px 30px -12px rgba(20,16,10,0.6), inset 0 1px 0 #fff;
}
@media (min-width: 768px) { .hero-badge { font-size: 11px; letter-spacing: 0.22em; padding: 10px 18px; } }
.badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--patrio); box-shadow: 0 0 0 3px rgba(193,39,45,0.25); animation: dot-breath 2.6s ease-in-out infinite; }
@keyframes dot-breath { 0%,100% { box-shadow: 0 0 0 3px rgba(193,39,45,0.25);} 50% { box-shadow: 0 0 0 6px rgba(193,39,45,0.08);} }

.hero-title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 8.6vw, 82px); line-height: 1.02; letter-spacing: -0.015em;
  color: #f8f3e6; max-width: 15ch; text-wrap: balance;
}
.hero-title em { color: var(--brasa); }
.hero-sub {
  margin-top: 18px; max-width: 46ch;
  font-size: 15px; font-weight: 300; color: rgba(246,240,226,0.82);
}
@media (min-width: 768px) { .hero-sub { font-size: 17px; } }
.hero-actions { margin-top: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.hero-micro { font-size: 12.5px; color: rgba(246,240,226,0.6); }

/* ═══ marquee ═══ */
.marquee {
  overflow: hidden; background: var(--patrio); color: #fbf6ea;
  padding: 13px 0;
  border-top: 1px solid rgba(251,246,234,0.4); border-bottom: 1px solid rgba(251,246,234,0.4);
  box-shadow: inset 0 0 40px rgba(90,10,14,0.35);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span {
  font-family: var(--serif); font-size: 16px; letter-spacing: 0.06em; white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ═══ 2 · escalera ═══ */
.escalera { background: var(--crema); padding-bottom: 84px; }
.esc-rail {
  display: grid; gap: 24px; margin-top: 36px;
}
.esc-card {
  position: relative;
  background: #faf5e9; border: 1px solid var(--linea); border-radius: 20px;
  padding: 30px 24px 26px;
  box-shadow: 0 18px 40px -26px rgba(92,58,30,0.35);
  animation: esc-fade 0.3s ease-out forwards;
}
@keyframes esc-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.esc-n {
  display: flex; align-items: baseline; gap: 8px;
  font-family: var(--serif); font-size: 58px; line-height: 1; color: var(--sepia);
}
.esc-n small { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sepia-dim); }
.esc-card h3 { margin-top: 14px; font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--sepia); }
.esc-list { margin-top: 12px; padding-left: 20px; font-size: 13.5px; font-weight: 300; color: var(--sepia-dim); line-height: 1.5; }
.esc-list li { margin-bottom: 6px; }
.esc-fine { font-size: 11.5px !important; margin-top: 12px !important; opacity: 0.75; border-top: 1px dashed var(--linea); padding-top: 10px; }
.esc-tag {
  position: absolute; top: -13px; left: 22px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--oliva); color: #f4f1e4; padding: 6px 13px; border-radius: 100px;
  box-shadow: 0 8px 18px -8px rgba(94,122,62,0.6);
}
.esc-tag-rojo { background: var(--patrio); box-shadow: 0 8px 18px -8px rgba(193,39,45,0.6); }
.esc-card.is-reco { border-color: rgba(94,122,62,0.4); }
.esc-card.is-hero {
  background: linear-gradient(160deg, #fdfaf2 0%, #f7ead6 100%);
  border-color: rgba(193,39,45,0.28);
}
/* cinta escarapela en el borde izquierdo de la tarjeta héroe */
.esc-card.is-hero::before {
  content: ''; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--patrio) 0 33%, #fdfaf2 33% 67%, var(--patrio) 67% 100%);
  box-shadow: 1px 0 4px rgba(92,58,30,0.18);
}
@media (min-width: 860px) {
  .esc-tabs { display: none !important; }
  .esc-rail {
    display: grid; grid-template-columns: 1fr 1.12fr 1.12fr; gap: 20px;
  }
  .esc-card { display: block !important; animation: none !important; }
  .esc-card.is-reco { transform: translateY(-14px); }
  .esc-card.is-hero { transform: translateY(-28px); }
}

/* ═══ 3 · día central ═══ */
.central { background: var(--crema-2); }
.central-grid { display: grid; gap: 34px; }
@media (min-width: 900px) {
  .central-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .central-media { order: 2; }
}
.central-media img { border-radius: 18px; aspect-ratio: 4/3.4; object-fit: cover; box-shadow: 0 30px 60px -34px rgba(92,58,30,0.5); }
.central-cap { margin-top: 12px; font-size: 12px; color: var(--sepia-dim); letter-spacing: 0.04em; }

/* ═══ 4 · incluye ═══ */
.incluye { background: var(--patrio); color: #fff; padding-top: 70px; padding-bottom: 70px; }
.incluye .eyebrow { color: #ffbba6; }
.incluye .h2 { color: #fff; }
.inc-grid {
  margin-top: 34px; display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.inc-grid li {
  display: flex; align-items: center; gap: 15px;
  padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,0.2);
  font-size: 14px; font-weight: 400; color: #fff;
}
.inc-grid svg {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.inc-note { margin-top: 14px; font-size: 11.5px; color: rgba(255,255,255,0.8); }
@media (min-width: 768px) {
  .inc-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .inc-grid li { font-size: 15px; }
}


/* ═══ 6 · precios ═══ */
.precios { background: var(--crema); }
.seg {
  display: inline-flex; gap: 4px; margin-top: 30px;
  background: var(--crema-2); border: 1px solid var(--linea); border-radius: 100px; padding: 5px;
}
.seg-btn {
  border: none; background: transparent; color: var(--sepia-dim);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em;
  padding: 10px 18px; border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.seg-btn.is-on { background: var(--sepia); color: var(--crema); box-shadow: 0 10px 22px -12px rgba(92,58,30,0.7); }
.seg-btn:active { transform: scale(0.97); }
.seg-gift.is-on { background: var(--patrio); }

.rooms { margin-top: 30px; display: grid; gap: 13px; }
@media (min-width: 900px) { .rooms { grid-template-columns: 1fr 1fr; gap: 18px; } }
.room {
  display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 16px;
  background: #faf5e9; border: 1px solid var(--linea); border-radius: 18px;
  padding: 14px; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.room:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -26px rgba(92,58,30,0.45); }
.room-img { width: 92px; height: 84px; border-radius: 12px; object-fit: cover; }
.room-info h3 { font-family: var(--serif); font-weight: 600; font-size: 18.5px; line-height: 1.15; color: var(--sepia); }
.room-cap { display: block; margin-top: 3px; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sepia-dim); }
.room-gift { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--patrio); }
.room-gift[hidden] { display: none; }
.room-price { text-align: right; padding-right: 6px; }
.room-price .p {
  display: block; font-family: var(--serif); font-size: 27px; line-height: 1; color: var(--sepia);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.room-price .p.flip { opacity: 0; transform: translateY(8px); }
.room-price .per { display: block; margin-top: 4px; font-size: 10.5px; color: var(--sepia-dim); letter-spacing: 0.06em; }
.room-wa {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal);
}
.room-wa svg { width: 14px; height: 14px; }
.rooms-note { margin-top: 20px; font-size: 12.5px; color: var(--sepia-dim); }
.rooms-cta { margin-top: 26px; }

/* ═══ 7 · upsell ═══ */
.upsell { background: linear-gradient(135deg, var(--patrio) 0%, #a31d23 100%); color: #fff; padding-top: 60px; padding-bottom: 60px; }
.upsell .eyebrow { color: #ffbba6; }
.upsell .h2, .upsell .h2 em { color: #fff; }
.up-grid { margin-top: 24px; display: grid; gap: 13px; }
@media (min-width: 768px) { .up-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
.up-card {
  display: flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: 16px;
  padding: 20px 22px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.up-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.15); }
.up-card svg { width: 30px; height: 30px; flex: none; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.up-card h3 { font-family: var(--serif); font-weight: 600; font-size: 18px; color: #fff; }
.up-card p { margin-top: 3px; font-size: 12.5px; color: #ffbba6; font-weight: 600; }
.up-note { margin-top: 16px; font-size: 12px; color: rgba(255,255,255,0.7); }

/* ═══ 8 · itinerario ═══ */
.itinerario { background: var(--crema); }
.acc { margin-top: 30px; border-top: 1px solid var(--linea); }
.acc details { border-bottom: 1px solid var(--linea); }
.acc summary {
  display: flex; align-items: center; gap: 14px; list-style: none; cursor: pointer;
  padding: 19px 2px; font-size: 14.5px; font-weight: 500; color: var(--sepia);
  transition: color 0.3s ease;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--terracota-hondo); }
.acc-day {
  flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sepia-dim); background: var(--crema-2); border-radius: 100px; padding: 5px 12px; min-width: 108px; text-align: center;
}
.acc-28 { background: var(--patrio); color: #f8f0e2; }
.acc-x { margin-left: auto; position: relative; width: 14px; height: 14px; flex: none; }
.acc-x::before, .acc-x::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--terracota);
  transition: transform 0.35s var(--ease);
}
.acc-x::before { width: 14px; height: 1.5px; }
.acc-x::after { width: 1.5px; height: 14px; }
.acc details[open] .acc-x::after { transform: rotate(90deg); }
.acc-body { padding: 0 2px 22px; }
.acc-body p { font-size: 14px; font-weight: 300; color: var(--sepia-dim); max-width: 60ch; }
.acc .is-28 .acc-body p { color: var(--sepia); }

/* ═══ 9 · cierre ═══ */
.cierre { position: relative; padding: 110px 22px; overflow: hidden; text-align: center; }
.cierre-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cierre-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,10,0.82) 0%, rgba(20,16,10,0.62) 50%, rgba(20,16,10,0.9) 100%); }
.cierre-inner { position: relative; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.roseta-lg { width: 26px; height: 26px; margin: 0; }
.cierre .h2 { color: #f6f0e2; }
.cierre .h2 em { color: var(--brasa); }
.cierre-loc { font-size: 12.5px; letter-spacing: 0.1em; color: rgba(246,240,226,0.65); }
@media (min-width: 768px) { .cierre { padding: 150px 48px; } }

/* ═══ footer ═══ */
.footer {
  position: relative;
  background: var(--noche); color: rgba(239,230,210,0.7);
  padding: 40px 22px 100px; text-align: center;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--patrio) 0 33%, #f6f1e4 33% 67%, var(--patrio) 67% 100%);
}
.footer-logo { height: 40px; width: auto; margin: 0 auto 20px; opacity: 0.9; }
.footer-socials { display: flex; justify-content: center; gap: 20px; margin-bottom: 24px; }
.footer-socials a { color: var(--text-base); transition: color 0.3s, transform 0.3s; opacity: 0.8; }
.footer-socials a:hover { color: var(--brasa); transform: translateY(-2px); opacity: 1; }
.footer-contacts { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.05em; opacity: 0.8; }
.footer-contacts a { display: inline-flex; align-items: center; gap: 8px; border-bottom: 1px solid transparent; transition: color 0.3s, border-color 0.3s; }
.footer-contacts a:hover { color: var(--brasa); border-color: var(--brasa); }

/* ═══ WhatsApp flotante ═══ */
.wa-float {
  position: fixed; right: 18px; bottom: 84px; z-index: 70;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 16px 34px -10px rgba(31,170,85,0.65), inset 0 1px 0 rgba(255,255,255,0.2);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), background 0.3s;
}
.wa-float svg { width: 26px; height: 26px; }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { background: var(--wa-hover); }
.wa-float:active { transform: scale(0.94); }

/* ═══ GALERÍA ═══ */
.galeria { background: var(--crema-2); padding-top: 60px; padding-bottom: 60px; }
.gal-grid {
  margin-top: 34px;
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 22px;
  padding-bottom: 12px; scrollbar-width: none;
}
.gal-grid::-webkit-scrollbar { display: none; }
.gal-grid img {
  flex: 0 0 85%; max-width: 340px;
  height: 280px; object-fit: cover; border-radius: 16px;
  scroll-snap-align: center;
  box-shadow: 0 12px 24px -10px rgba(92,58,30,0.3);
}
@media (min-width: 768px) {
  .gal-grid { gap: 24px; padding: 0 48px; }
  .gal-grid img { flex: 0 0 auto; max-width: 420px; height: 340px; }
}

/* ═══ MODAL (UPSELLS) ═══ */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(20,16,10,0.85); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-content {
  position: relative; background: #faf5e9; width: 90%; max-width: 500px;
  border-radius: 20px; overflow: hidden;
  transform: translateY(20px) scale(0.95); transition: transform 0.4s var(--ease);
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.4);
}
.modal.is-open .modal-content { transform: none; }
.modal-img { width: 100%; height: 220px; object-fit: cover; }
.modal-body { padding: 26px 30px; }
.modal-body h3 { font-family: var(--serif); font-size: 24px; color: var(--sepia); line-height: 1.1; margin-bottom: 12px; }
.modal-body p { font-size: 14px; color: var(--sepia-dim); margin-bottom: 24px; }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(20,16,10,0.4); border: none; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.modal-close:hover { background: rgba(20,16,10,0.7); }

/* ═══ ANIMACIÓN DE ENTRADA (Intro YouTube) ═══ */
.intro-curtain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  overflow: hidden;
}
.intro-rojo, .intro-blanco {
  position: absolute; top: 0; bottom: 0; width: 150%; left: -25%;
  transform: translateX(-100%) skewX(-25deg);
}
.intro-blanco {
  background: rgba(255, 255, 255, 0.8); z-index: 1;
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.6);
  animation: sweep-across 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}
.intro-rojo {
  background: rgba(193, 39, 45, 0.85); z-index: 2;
  box-shadow: 0 0 60px rgba(193, 39, 45, 0.6);
  animation: sweep-across 2.2s cubic-bezier(0.65, 0, 0.35, 1) 0.25s forwards;
}
@keyframes sweep-across {
  0% { transform: translateX(-100%) skewX(-25deg); }
  99% { transform: translateX(120%) skewX(-25deg); opacity: 1; }
  100% { transform: translateX(120%) skewX(-25deg); opacity: 0; display: none; }
}

