@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

.rail__view { display: none; }

@media (max-width: 767px), (orientation: landscape) and (max-height: 560px) {
  .header { height: 84px; padding: 24px 16px; }
  .header__logo { top: 24px; font-size: 20px; font-weight: 400; }
  .header .sound { position: relative; }
  .header .sound::after { content: ""; position: absolute; inset: -16px; }
  .header .sound [data-sound-label], .sound--overlay [data-sound-label] { display: none; }

  .fade--bottom { height: 246px; }
  .hint { display: none; }

  @supports (height: 100lvh) {
    .stage { bottom: auto; height: 100lvh; --lift: calc(100lvh - 100dvh); }
  }

  .title { left: 16px; right: 16px; bottom: calc(var(--title-bottom, 24px) + var(--lift, 0px)); gap: 16px; }
  .stage.has-rail .title { --title-bottom: 123px; }
  .title__label { font-size: 12px; color: var(--paper-70); white-space: nowrap; }
  .title__text { font-size: min(44px, 11.28vw); line-height: 0.8; letter-spacing: -0.04em; white-space: normal; max-width: none; }
  .title__text br.wide { display: none; }
  .body, .center {
    left: 50%; right: auto; top: 50%; transform: translate(-50%, -50%);
    width: min(var(--wm, 308px), 100vw - 32px) !important; max-width: none;
    font-size: 14px; line-height: 1.2; letter-spacing: -0.02em; text-align: center; white-space: normal;
  }

  .card { display: none; }
  .rail { left: 16px; right: 16px; bottom: calc(24px + var(--lift, 0px)); gap: 12px; }
  .rail .rail__item, .rail .rail__item:not(.is-current) { display: flex; flex: 1 1 0; width: auto; min-width: 0; gap: 12px; }
  .rail__row { position: relative; display: block; }
  .rail__thumb { width: 100%; height: 62px; opacity: 1; }
  .rail__text { display: none; }
  .has-card .rail__item.is-current .rail__row::after { content: ""; position: absolute; inset: 0; background: rgba(15, 11, 8, 0.2); }
  .has-card .rail__item.is-current .rail__view {
    display: block; position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%);
    font-weight: 500; font-size: 12px; line-height: 1.2; letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap;
  }

  .btn-frame { padding: 20px 32px; font-size: 20px; }
  .preloader__frame { width: min(100vw - 32px, 358px); height: min(202px, 52vh); }
  .preloader__title { font-size: 20px; }
  .preloader__enter { gap: 20px; margin-top: 17px; }

  .overlay {
    display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 1fr auto 1fr; gap: 32px;
    padding: 64px 16px; overflow-y: auto; overscroll-behavior: contain;
  }
  .overlay[hidden] { display: none; }
  .overlay__close { top: 24px; right: 16px; }
  .overlay__left { position: static; transform: none; width: auto; align-self: end; gap: 16px; }
  .overlay__year, .overlay__label, .overlay__right p { font-size: 14px; }
  .overlay__title { font-size: min(44px, 11.28vw); }
  .overlay__label { white-space: normal; }
  .overlay__figure { position: static; transform: none; width: 100%; }
  .overlay__right { position: static; transform: none; width: auto; align-self: start; gap: 16px; }
  .overlay__note { position: absolute; left: 16px; bottom: 24px; transform: none; width: 289px; max-width: calc(100% - 72px); font-size: 12px; text-align: left; }
  .sound--overlay { display: inline-flex; right: 16px; bottom: 24px; }
}

@media (max-width: 767px) and (max-height: 779px) {
  .overlay { grid-template-rows: auto auto auto auto; align-content: start; padding-bottom: 24px; }
  .overlay__note { position: static; grid-row: 4; grid-column: 1; margin-top: 8px; }
  .sound--overlay { position: static; grid-row: 4; grid-column: 1; justify-self: end; align-self: end; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .title { right: auto; max-width: calc(58vw - 16px); }
  .title__text { font-size: 44px; }
  .rail { right: auto; width: min(100vw - 32px, 358px); }
  .body { left: auto; right: 16px; transform: translateY(-50%); width: min(var(--wm, 308px), 42vw - 32px) !important; text-align: left; }
  .overlay { grid-template-columns: minmax(0, 1fr) min(46vw, 110vh); grid-template-rows: auto auto auto; align-content: start; gap: 16px 24px; padding: 56px 16px 24px; }
  .overlay__left { grid-column: 1; grid-row: 1; align-self: start; }
  .overlay__title { font-size: 32px; }
  .overlay__right { grid-column: 1; grid-row: 2; }
  .overlay__figure { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .overlay__note { position: static; grid-column: 1; grid-row: 3; margin-top: 8px; }
  .sound--overlay { position: static; grid-column: 2; grid-row: 3; justify-self: end; align-self: end; }
}

@media (min-width: 768px) and (max-width: 1023px) and (min-height: 561px) {
  .header__logo { font-size: 24px; }
  .hint { display: block; }
  .title { right: 24px; }
  .stage.has-rail .title { --title-bottom: 139px; }
  .title__label { color: var(--paper-70); white-space: nowrap; }
  .title__text { font-size: 80px; white-space: normal; max-width: none; }
  .title__text br.wide { display: none; }
  .body { left: auto; right: 24px; top: 50%; transform: translateY(-50%); width: 244px !important; max-width: none; }
  .center { width: auto; white-space: nowrap; text-align: left; }
  .card { top: 92px; padding: 12px; gap: 8px; }
  .card__img { width: 220px; height: 124px; }
  .card__cap { font-size: 14px; }
  .rail { gap: 16px; }
  .rail .rail__item, .rail .rail__item:not(.is-current) { display: flex; width: 130px; gap: 16px; }
  .rail__thumb { width: 130px; height: 74px; }
  .rail__text { display: none; }
}

@media (min-width: 768px) and (max-width: 1399px) and (min-height: 561px) {
  .overlay {
    display: grid; grid-template-columns: minmax(0, 1fr) min(50vw - 32px, 68vh); grid-template-rows: 1fr auto 1fr; gap: 0 32px;
    padding: 0 24px 0 16px; overflow-x: hidden; overflow-y: auto;
  }
  .overlay[hidden] { display: none; }
  .overlay__left { position: static; transform: none; width: 350px; max-width: 100%; grid-column: 1; grid-row: 1 / span 3; align-self: start; margin-top: 110px; gap: 16px; }
  .overlay__title { font-size: 44px; }
  .overlay__figure { position: static; transform: none; width: 100%; grid-column: 2; grid-row: 2; }
  .overlay__right { position: static; transform: none; width: auto; grid-column: 2; grid-row: 3; align-self: start; margin-top: 32px; }
  .overlay__note { position: absolute; left: 16px; bottom: 24px; transform: none; width: 289px; text-align: left; }
  .sound--overlay { display: inline-flex; }
}

@media (min-width: 1681px) and (min-height: 901px) {
  :root { --u: max(1px, min(100vw / 1680, 100vh / 900)); }
}


/* Ocultar elementos de museo (card y rail) */
.card, .rail {
  display: none !important;
}

/* Estilo poético para el botón Volver a vivir */
.btn-frame--center {
  position: absolute !important;
  left: 50% !important;
  top: 68% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 30 !important;
  cursor: pointer !important;
  border: 1px solid rgba(255, 235, 220, 0.45) !important;
  background: rgba(30, 15, 22, 0.65) !important;
  color: #fff4ea !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  padding: 16px 36px !important;
  border-radius: 40px !important;
  font-family: inherit !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  transition: opacity 500ms ease, visibility 500ms ease, background 300ms ease, transform 300ms ease !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.btn-frame--center:hover {
  background: rgba(255, 238, 225, 0.95) !important;
  color: #1a0812 !important;
  border-color: #ffffff !important;
  transform: translate(-50%, -50%) scale(1.05) !important;
}

.btn-frame--center.is-on {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* ========================================================
   ESTILO SUBTÍTULOS DE PELÍCULA (MONTSERRAT + OUTLINE EXTERNO)
   ======================================================== */
.title__text,
.title__label,
.body,
.center,
.btn-frame,
.header__about,
.header__logo,
.preloader__top,
.preloader__title,
.preloader__status,
.preloader__hint {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif !important;
  paint-order: stroke fill;
  -webkit-text-stroke: 1.5px rgba(0, 0, 0, 0.88);
  text-shadow:
    0 0 4px rgba(0, 0, 0, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.95),
    1px 1px 2px rgba(0, 0, 0, 0.9),
    -1px -1px 2px rgba(0, 0, 0, 0.9),
    1px -1px 2px rgba(0, 0, 0, 0.9),
    -1px 1px 2px rgba(0, 0, 0, 0.9) !important;
}

.title__text {
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.title__label {
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #ffe8d6 !important;
}

.body {
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
}

.center {
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #fff4ea !important;
}

.btn-frame {
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
}

.header__about {
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
}

.header__logo {
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  line-height: 1.1 !important;
}

.preloader__title {
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.1 !important;
}

/* Ajuste fino de espaciado en cabecera móvil */
@media (max-width: 767px) {
  .header { padding: 14px 12px !important; }
  .header__about { font-size: 10.5px !important; letter-spacing: 0.04em !important; }
  .header__logo { font-size: 15px !important; top: 12px !important; }
}

/* Ajustes para el marco principal (pantalla inicial) */
.in-hero .header__about {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.header__logo {
  font-size: calc(var(--u) * 30) !important; /* +25% respecto a 24px */
  line-height: 1.05 !important;
  letter-spacing: 0.08em !important;
  font-weight: 700 !important;
}

@media (max-width: 767px) {
  .header__logo {
    font-size: 20px !important; /* +25% respecto a 16px */
    top: 14px !important;
    letter-spacing: 0.06em !important;
  }
}

/* Mostrar sound label también en móviles */
@media (max-width: 767px) {
  .header .sound [data-sound-label] {
    display: inline-block !important;
    font-size: 10px !important;
    letter-spacing: 0.05em !important;
    margin-left: 4px !important;
  }
}

/* ========================================================
   REFINAMIENTO MARCO PRINCIPAL (SAAM INSTRUCTIONS)
   ======================================================== */
/* 1. Eliminar logo exterior arriba del marco */
.header__logo {
  display: none !important;
}

/* 2. Eliminar completamente el cursor flotante 'Toca para entrar' */
.cursor__touch,
.cursor.is-touch,
.cursor.is-touch .cursor__touch {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* ========================================================
   HINT: DESLIZA PARA ENTRAR (ABAJO DEL CUADRO Y CENTRADO, SOLO EN HERO)
   ======================================================== */
.hint {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  bottom: 24px !important;
  top: auto !important;
  transform: translateX(-50%) !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fff !important;
  text-align: center !important;
  white-space: nowrap !important;
  z-index: 25 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 400ms cubic-bezier(0.16, 1, 0.3, 1), visibility 400ms !important;
  display: block !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.88) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.8) !important;
}

/* Solo visible en el primer lienzo (in-hero) */
.in-hero .hint {
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 767px) {
  .hint {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    bottom: 20px !important;
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    text-align: center !important;
  }
}

/* Ocultar Confirmar RSVP en la cabecera por ahora (se reubicará más adelante) */
.header__about {
  display: none !important;
}

/* ========================================================
   ESCENA CEREMONIAL: PADRES Y PADRINOS
   ======================================================== */
.title:has(.ceremony-heading) {
  max-width: 580px !important;
  bottom: calc(var(--title-bottom, 24px) + 20px) !important;
  align-items: center !important;
}

.title__text:has(.ceremony-heading) {
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
  text-align: center !important;
}

.ceremony-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.ceremony-heading {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.4 !important;
  margin-bottom: 5px !important;
  text-align: center !important;
  text-wrap: balance !important;
  white-space: normal !important;
  max-width: 480px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.ceremony-heading--secondary {
  margin-top: 14px !important;
}

.ceremony-names-group {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  margin: 2px 0 0 0 !important;
  width: 100% !important;
}

.ceremony-names-group span {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-align: center !important;
  text-wrap: balance !important;
  white-space: normal !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8) !important;
}

.ceremony-names-group .ceremony-ampersand {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #fce7d8 !important;
  line-height: 1.1 !important;
  margin: 2px 0 !important;
  letter-spacing: 0.06em !important;
}

@media (max-width: 767px) {
  .title:has(.ceremony-heading) {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 360px !important;
    bottom: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .ceremony-heading {
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    max-width: 320px !important;
  }
  .ceremony-heading--secondary {
    margin-top: 12px !important;
  }
  .ceremony-names-group span {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }
  .ceremony-names-group .ceremony-ampersand {
    font-size: 11px !important;
    margin: 1px 0 !important;
  }
}

/* ========================================================
   ESCENA FECHA MONUMENTAL (CONQUEROR)
   ======================================================== */
.title:has(.date-hero-block) {
  max-width: 520px !important;
  bottom: calc(var(--title-bottom, 24px) + 24px) !important;
  align-items: center !important;
  text-align: center !important;
}

.title__text:has(.date-hero-block) {
  font-size: 16px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
  text-align: center !important;
}

.date-hero-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.date-hero-top {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.3 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.date-hero-sub {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  line-height: 1.3 !important;
  text-align: center !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.3px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.8) !important;
}

.date-hero-num {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 96px !important; /* GIGANTE */
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 0.92 !important;
  color: #ffffff !important;
  text-align: center !important;
  margin: 6px 0 8px 0 !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 2.2px rgba(0, 0, 0, 0.92) !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 180, 200, 0.3) !important;
}

@media (max-width: 767px) {
  .title:has(.date-hero-block) {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 340px !important;
    bottom: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .date-hero-top {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
    margin-bottom: 5px !important;
  }
  .date-hero-sub {
    font-size: 13px !important;
    letter-spacing: 0.16em !important;
  }
  .date-hero-num {
    font-size: 76px !important;
    margin: 4px 0 6px 0 !important;
    -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.92) !important;
  }
}

/* ========================================================
   ESCENA LUGAR DEL EVENTO / RECEPCIÓN (CH2)
   ======================================================== */
.title:has(.venue-hero-block) {
  max-width: 540px !important;
  bottom: calc(var(--title-bottom, 24px) + 20px) !important;
  align-items: center !important;
  text-align: center !important;
}

.title__text:has(.venue-hero-block) {
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
  text-align: center !important;
}

.venue-hero-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.venue-hero-sub {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.3 !important;
  margin-bottom: 4px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.venue-hero-title {
  margin: 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.92) !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 180, 200, 0.25) !important;
}

.venue-hero-time {
  display: inline-block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  color: #fce7d8 !important;
  margin-top: 4px !important;
  margin-bottom: 8px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.venue-hero-address {
  margin: 0 0 16px 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.35 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-wrap: balance !important;
  max-width: 440px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.venue-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 11px 24px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 240, 230, 0.6) !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: all 300ms ease !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8) !important;
}

.venue-btn:hover {
  background: rgba(255, 255, 255, 0.24) !important;
  border-color: #fce7d8 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(255, 180, 200, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.venue-btn-icon {
  width: 15px !important;
  height: 15px !important;
  stroke: #fce7d8 !important;
}

@media (max-width: 767px) {
  .title:has(.venue-hero-block) {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 350px !important;
    bottom: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .venue-hero-title {
    font-size: 34px !important;
  }
  .venue-hero-time {
    font-size: 15px !important;
  }
  .venue-hero-address {
    font-size: 13px !important;
    max-width: 310px !important;
    margin-bottom: 12px !important;
  }
  .venue-btn {
    padding: 9px 18px !important;
    font-size: 10.5px !important;
    letter-spacing: 0.12em !important;
  }
  .venue-btn-icon {
    width: 13px !important;
    height: 13px !important;
  }
}

/* ========================================================
   ESCENA CÓDIGO DE VESTIMENTA (STATUE)
   ======================================================== */
.title:has(.dress-title-block) {
  max-width: 480px !important;
}

.title__text:has(.dress-title-block) {
  font-size: 16px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
}

.dress-title-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.dress-label {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.3 !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.dress-heading {
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  line-height: 0.96 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.92) !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 180, 200, 0.25) !important;
}

.dress-tag {
  display: inline-block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  margin-top: 6px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

@media (max-width: 767px) {
  .title:has(.dress-title-block) {
    max-width: calc(100vw - 32px) !important;
    left: 16px !important;
    right: 16px !important;
    bottom: 24px !important;
    text-align: center !important;
    align-items: center !important;
  }
  .dress-title-block {
    align-items: center !important;
    text-align: center !important;
  }
  .dress-heading {
    font-size: 28px !important;
    text-align: center !important;
  }
  .dress-tag {
    font-size: 18px !important;
    margin-top: 4px !important;
  }
}

/* ========================================================
   ESCENA RSVP: TE ESPERAMOS CON CARIÑO (CH3)
   ======================================================== */
.title:has(.rsvp-hero-block) {
  max-width: 540px !important;
  bottom: calc(var(--title-bottom, 24px) + 20px) !important;
  align-items: center !important;
  text-align: center !important;
}

.title__text:has(.rsvp-hero-block) {
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
  text-align: center !important;
}

.rsvp-hero-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.rsvp-hero-sub {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.rsvp-hero-title {
  margin: 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.92) !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 180, 200, 0.25) !important;
}

.rsvp-hero-desc {
  margin: 10px 0 18px 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-wrap: balance !important;
  max-width: 440px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.rsvp-wa-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 28px !important;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.28), rgba(18, 140, 126, 0.4)) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(37, 211, 102, 0.8) !important;
  border-radius: 9999px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  transition: all 300ms ease !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 20px rgba(37, 211, 102, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.8) !important;
}

.rsvp-wa-btn:hover {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.45), rgba(18, 140, 126, 0.6)) !important;
  border-color: #25d366 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
}

.rsvp-wa-icon {
  width: 18px !important;
  height: 18px !important;
  color: #25d366 !important;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.6)) !important;
}

@media (max-width: 767px) {
  .title:has(.rsvp-hero-block) {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 350px !important;
    bottom: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .rsvp-hero-title {
    font-size: 32px !important;
  }
  .rsvp-hero-desc {
    font-size: 12.5px !important;
    max-width: 310px !important;
    margin: 8px 0 14px 0 !important;
  }
  .rsvp-wa-btn {
    padding: 10px 20px !important;
    font-size: 11px !important;
    letter-spacing: 0.12em !important;
  }
  .rsvp-wa-icon {
    width: 15px !important;
    height: 15px !important;
  }
}

/* ========================================================
   ESCENA MESA DE REGALOS: LLUVIA DE SOBRES (COLUMN)
   ======================================================== */
.title:has(.gift-hero-block) {
  max-width: 540px !important;
  bottom: calc(var(--title-bottom, 24px) + 20px) !important;
  align-items: center !important;
  text-align: center !important;
}

.title__text:has(.gift-hero-block) {
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  letter-spacing: normal !important;
  text-align: center !important;
}

.gift-hero-block {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  width: 100% !important;
}

.gift-hero-sub {
  display: block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  line-height: 1.3 !important;
  margin-bottom: 6px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.1px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9) !important;
}

.gift-hero-title {
  margin: 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 44px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em !important;
  line-height: 1.05 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.8px rgba(0, 0, 0, 0.92) !important;
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 180, 200, 0.25) !important;
}

.gift-hero-tag {
  display: inline-block !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #fce7d8 !important;
  margin-top: 8px !important;
  margin-bottom: 12px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

.gift-hero-desc {
  margin: 0 !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  text-wrap: balance !important;
  max-width: 440px !important;
  paint-order: stroke fill !important;
  -webkit-text-stroke: 1.2px rgba(0, 0, 0, 0.9) !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95) !important;
}

@media (max-width: 767px) {
  .title:has(.gift-hero-block) {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 32px) !important;
    max-width: 350px !important;
    bottom: 24px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .gift-hero-title {
    font-size: 32px !important;
  }
  .gift-hero-tag {
    font-size: 17px !important;
    margin-top: 6px !important;
    margin-bottom: 8px !important;
  }
  .gift-hero-desc {
    font-size: 12.5px !important;
    max-width: 310px !important;
  }
}

/* ========================================================
   ESCENA FINALE: CALIBRACIÓN PROPORCIÓN ÁUREA DE TEXTO
   ======================================================== */
.title--dim .title__text {
  font-size: 32px !important; /* Calibrado para proporción armónica */
  line-height: 1.15 !important;
  letter-spacing: 0.02em !important;
  max-width: 480px !important;
  white-space: normal !important;
}

.title--dim .title__label {
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  margin-bottom: 6px !important;
  color: #fce7d8 !important;
}

@media (max-width: 767px) {
  .title--dim .title__text {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
  .title--dim .title__label {
    font-size: 11px !important;
    letter-spacing: 0.14em !important;
  }
}
