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

html, body {
  overflow-x: hidden;
  width: 100%;
  position: relative;
  background-color: #F2F0EC;
  color: #3D3830;
  font-family: 'Antic Didone', serif;
  color-scheme: light only;
}

:root {
  --blanco: #F5F5F3;
  --cafe: #B89A7A;
  --azul: #5B7FA6;
  --rosa: #E88AA2;
  --crema: #F5F5F3;
  --papel: #F8F6F3;
  --tinta: #4A4038;
  --tinta-media: #6B5E52;
  --tinta-suave: #8A7D70;
  --tinta-clara: #A89A8C;
  --beige-tostado: #B89A7A;
  --champagne: #B89A7A;
  --blanco-hueso: #F5F5F3;
  --dorado: #B89A7A;
  --dorado-claro: #E88AA2;
  --azul-mar: #5B7FA6;
  --texto: #4A4038;
  --texto-suave: #6B5E52;
  --textura-papel-algodon: url('https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/fondo-mas-clairo-1.webp');
  --fondo-agua: url('https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/RECUEROS/fondo%20agua.webp');
  --fondo-ubicacion: url('https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/RECUEROS/fondo%20ubicacion.webp');
  --plantas-cdn: https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/RECUEROS/planstas/;
  --crema-papel: #F2F0EC;
  --script: 'Italianno', cursive;
  --serif: 'Antic Didone', serif;
  --sans: 'Montserrat', sans-serif;
  --didone: 'Antic Didone', serif;
  --olive-deep: #4A4038;
  --olive: #B89A7A;
  --ink: #4A4038;
  --muted: #6B5E52;
  --line: rgba(184, 154, 122, 0.35);
  --ivory: #F5F5F3;
  /* Sombra fija (dsd): 0 = invisible, 1 = máxima. Prueba 0.08–0.25 */
  --page-shadow-opacity: 0.12;

  /* ═══ SOLAPAS — edita estas en Inspeccionar → :root ═══
     sepia 0–1 | saturate ~0.5–1.3 | brightness ~0.9–1.15
     contrast ~0.9–1.15 | hue en deg (ej. -12deg) | opacity 0–1 */
  --sobre-sepia: -29.86;
  --sobre-saturate: 1.9;
  --sobre-brightness: 4.03;
  --sobre-contrast: 0.02;
  --sobre-hue: -6deg;
  --sobre-opacity-front: 0.90;
  --sobre-opacity-back: 0.28;
}


/* ===== FONDO PLAYA SANTI (sin textura de Pao) ===== */
html {
  min-height: 100%;
  background-color: #F2F0EC;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-color: #F2F0EC;
  background-image:
    linear-gradient(180deg,
      rgba(242,240,236,0.88) 0%,
      rgba(238,232,224,0.76) 18%,
      rgba(228,218,204,0.66) 36%,
      rgba(216,196,170,0.52) 54%,
      rgba(210,188,168,0.46) 68%,
      rgba(216,196,170,0.54) 82%,
      rgba(242,240,236,0.84) 100%),
    var(--fondo-agua),
    var(--textura-papel-algodon);
  background-size: 100% 100%, cover, cover;
  background-position: center, center 40%, center;
  background-repeat: no-repeat;
  background-attachment: fixed, fixed, fixed;
  background-blend-mode: normal, soft-light, multiply;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(ellipse 150% 50% at 50% -5%, rgba(242,240,236,0.45) 0%, transparent 58%),
    radial-gradient(ellipse 140% 45% at 50% 105%, rgba(216,196,170,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 85% 38% at 18% 50%, rgba(242,240,236,0.16) 0%, transparent 68%),
    radial-gradient(ellipse 85% 38% at 82% 50%, rgba(216,196,170,0.12) 0%, transparent 68%);
  mix-blend-mode: multiply;
}

/* Secciones: sin fondo propio — un solo lienzo continuo */
.bienvenida,
.inv-carta,
.padres-section,
.padrinos-section,
.quote-section,
.historia-section,
.historia-video-section,
.palabras-section,
.ubicacion-section,
.firmas-section,
.hashtag-section,
.galeria-section,
.contacto-section,
.cierre-section,
.elegant-separator,
.Main-section,
.timeline-section,
.nombre-section,
.fecha-photo-section {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
}

/* Fotos a pantalla completa: conservan imagen, sin caja de color */
.portada-section {
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.fecha-photo-section {
  background-image: none !important;
}

#main-content > section,
#main-content > div:not(.floral-decor-layer):not(.ql-separator) {
  position: relative;
  z-index: 1;
  margin: 0;
}

/* Sombra atmosférica fija (dsd) — misma de Cris & Bri */
.page-shadow {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--page-shadow-opacity, 0.40);
  mix-blend-mode: multiply;
}
.page-shadow,
.page-shadow__img {
  pointer-events: none !important;
}
.page-shadow__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Fotos / marcos / CTAs por encima de la sombra
   (NO meter count-photo ni oval-invite: rompe el huequito) */
#main-content > .portada-section,
#main-content > .fecha-photo-section,
#main-content > .inv-carta,
#main-content > .page-album,
#main-content > .historia-section,
#main-content > .fotos-evento-section,
#main-content > .ql-dress,
#main-content > .ql-rsvp,
#main-content > .cierre-section,
.fecha-photo-slideshow,
.portada-photo-slideshow,
.ql-dress__frame,
.ubi-playa-maps,
.btn {
  position: relative;
  z-index: 40;
  isolation: isolate;
}

/* Ubicación: sin isolate para que lighten quite el negro de las ilustraciones */
#main-content > .ubicacion-section {
  position: relative;
  z-index: 40;
  isolation: auto;
}

/* Huequito: la foto va ENCIMA del crema del oval-invite */
#main-content > .count-photo-section {
  position: relative;
  z-index: 2 !important;
  isolation: auto;
}
#main-content > .oval-invite {
  position: relative;
  z-index: 1 !important;
  isolation: auto;
}

/* Pseudo-capas viejas que creaban franjas entre bloques */
.quote-section::before,
.quote-section::after,
.faltan-section::before,
.faltan-section::after {
  display: none !important;
  content: none !important;
}

/* En movil prioriza desplazamiento vertical sobre taps accidentales */
body { touch-action: pan-y; }

#main-content {
  position: relative;
  overflow-x: visible;
  background: transparent;
}

.floral-decor-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  pointer-events: none;
  z-index: 40;
  overflow: visible;
}

.divider-line {
  width: 65%;
  max-width: 300px;
  border: none;
  height: 0;
  margin: 18px auto;
  background: none;
  opacity: 0;
}

.organic-motif {
  position: absolute;
  width: clamp(95px, 24vw, 210px);
  opacity: 0.84;
  will-change: transform;
  pointer-events: none;
}

.organic-motif--sm  { width: clamp(72px, 18vw, 135px); opacity: 0.8; }
.organic-motif--md  { width: clamp(105px, 26vw, 225px); opacity: 0.78; }
.organic-motif--lg  { width: clamp(120px, 30vw, 260px); opacity: 0.82; }

/* Compatibilidad con clases anteriores */
.organic-motif--pampas { width: clamp(72px, 18vw, 135px); opacity: 0.8; }
.organic-motif--palma  { width: clamp(105px, 26vw, 225px); opacity: 0.78; }
.organic-motif--hortensia { width: clamp(95px, 22vw, 195px); opacity: 0.82; }

.organic-motif--right { right: max(-16px, -3vw); left: auto; }
.organic-motif--left  { left: max(-16px, -3vw); right: auto; }

.organic-motif--corner-tl {
  top: max(-8px, -1.5vw);
  left: max(-20px, -4vw);
  right: auto;
  bottom: auto;
}
.organic-motif--corner-tr {
  top: max(-8px, -1.5vw);
  right: max(-20px, -4vw);
  left: auto;
  bottom: auto;
}
.organic-motif--corner-bl {
  bottom: max(-8px, -1.5vw);
  left: max(-20px, -4vw);
  top: auto;
  right: auto;
}
.organic-motif--corner-br {
  bottom: max(-8px, -1.5vw);
  right: max(-20px, -4vw);
  top: auto;
  left: auto;
}

.organic-motif--corner .organic-motif-inner { transform-origin: 50% 0%; }
.organic-motif--corner-bl .organic-motif-inner,
.organic-motif--corner-br .organic-motif-inner { transform-origin: 50% 100%; }

.organic-motif-inner {
  width: 100%;
  transform-origin: 50% 92%;
  display: block;
}

.organic-motif-flip { display: block; width: 100%; line-height: 0; }
.organic-motif--left .organic-motif-flip,
.organic-motif--corner-tl .organic-motif-flip,
.organic-motif--corner-bl .organic-motif-flip { transform: scaleX(-1); }

.organic-motif-img,
.dc-floral-accent img,
.dc-leaf-asset,
.decor-planta,
.plantita {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  filter: sepia(0.1) saturate(0.9) contrast(1.04) brightness(1.03);
}

.organic-motif--sm .organic-motif-img,
.organic-motif--pampas .organic-motif-img {
  filter: sepia(0.14) saturate(0.85) contrast(1.05) brightness(1.04);
  opacity: 0.92;
}

@keyframes floral-sway-a {
  0%   { transform: rotate(-7deg) translate3d(-4px, 3px, 0); }
  100% { transform: rotate(8deg) translate3d(8px, -6px, 0); }
}
@keyframes floral-sway-b {
  0%   { transform: rotate(6deg) translate3d(5px, 2px, 0); }
  100% { transform: rotate(-8deg) translate3d(-9px, 5px, 0); }
}
@keyframes floral-sway-c {
  0%   { transform: rotate(-5deg) translate3d(-2px, 4px, 0); }
  100% { transform: rotate(6deg) translate3d(7px, -5px, 0); }
}

.organic-sway-a .organic-motif-inner { animation: floral-sway-a 6.5s ease-in-out infinite alternate; }
.organic-sway-b .organic-motif-inner { animation: floral-sway-b 7.4s ease-in-out infinite alternate; }
.organic-sway-c .organic-motif-inner { animation: floral-sway-c 5.8s ease-in-out infinite alternate; }

/* ═══════════════════════════════════════════════════════════════
   PLANTAS EDITABLES — Inspecciona: id + class en cada <img>
   Ejemplo: id="planta-portada-1" class="planta-editable planta-portada-1"
   CSS: busca "PLANTAS EDITABLES" · HTML: busca id="planta-"
   ═══════════════════════════════════════════════════════════════ */
.planta-editable {
  position: absolute;
  height: auto;
  display: block;
  pointer-events: auto;
  mix-blend-mode: lighten;
  filter: sepia(0.1) saturate(0.9) contrast(1.04) brightness(1.03);
  transform-origin: 50% 92%;
}

.floral-decor-layer .planta-editable { z-index: 2; }

/* —— Portada —— */
.planta-portada-esquina-izq { top: max(773px, -20vw); left: max(-36px, -4vw); width: clamp(50px, 142vw, 122px); transform: rotate(0deg); }
.planta-portada-1 { top: 6%; left: max(-16px, -3vw); width: clamp(50px, 12vw, 92px); transform: rotate(0deg); }
.planta-portada-2 { top: 952px; right: max(-16px, -3vw); left: auto; width: clamp(56px, 42vw, 127px); transform: rotate(0deg) scaleX(-1); z-index: -1; }
.planta-portada-3 { top: 15%; left: max(-78px, -24vw); width: clamp(137px, -6vw, 193px); transform: rotate(45deg); }
.planta-portada-4 { top: 23.4%; right: max(-16px, -3vw); left: auto; width: clamp(72px, 38vw, 155px); transform: rotate(0deg); }
.planta-portada-5 { top: 57.6%; left: max(-53px, -8vw); width: clamp(82px, 45vw, 143px); transform: rotate(180deg); }
.planta-portada-6 { top: 89%; right: max(-27px, -28vw); left: max(387px); width: clamp(72px, 31vw, 155px); transform: rotate(-42deg) scaleX(-1); }

/* —— Posiciones confirmadas Dayana —— */
#planta-portada-3 {
  top: 15%;
  left: max(-78px, -24vw);
  width: clamp(137px, -6vw, 193px);
  transform: rotate(45deg);
}
#planta-portada-4 {
  top: 23.4%;
  right: max(-16px, -3vw);
  left: auto;
  width: clamp(72px, 38vw, 155px);
  transform: rotate(0deg);
}
#planta-portada-5 {
  top: 57.6%;
  left: max(-53px, -8vw);
  width: clamp(82px, 45vw, 143px);
  transform: rotate(180deg);
}
#planta-global-1 {
  top: 47.8%;
  left: max(-29px, -8vw);
  width: clamp(77px, 20vw, 135px);
  transform: rotate(95deg) scaleX(-1);
}
#planta-global-3 {
  top: 75%;
  left: max(-16px, -3vw);
  width: clamp(120px, 30vw, 260px);
  transform: rotate(0deg);
}

/* —— RSVP (esquina del sobre) — ver reglas completas más abajo en bloque RSVP —— */

/* —— Resto de la página (capa global) —— */
.planta-global-1 { top: 47.8%; left: max(-29px, -8vw); width: clamp(77px, 20vw, 135px); transform: rotate(95deg) scaleX(-1); }
.planta-global-2 { top: 59.5%; right: max(-27px, -9vw); left: auto; width: clamp(105px, 26vw, 225px); transform: rotate(180deg); }
.planta-global-3 { top: 75%; left: max(-16px, -3vw); width: clamp(120px, 30vw, 260px); transform: rotate(0deg); }
.planta-global-4 { top: 37.4%; right: max(-16px, -12vw); left: max(342px); width: clamp(72px, 29vw, 135px); transform: rotate(180deg); }
.planta-global-5 { top: 50%; left: max(-16px, -3vw); width: clamp(105px, 26vw, 225px); transform: rotate(0deg) scaleX(-1); }
.planta-global-6 { top: 64%; right: max(-16px, -3vw); left: auto; width: clamp(120px, 30vw, 260px); transform: rotate(0deg); }
.planta-global-7 { top: 78%; left: max(-16px, -3vw); width: clamp(72px, 18vw, 135px); transform: rotate(0deg); }
.planta-global-8 { top: 90%; right: max(-16px, -3vw); left: auto; width: clamp(105px, 26vw, 225px); transform: rotate(0deg) scaleX(-1); }
.planta-global-esquina-inf-der { bottom: max(-8px, -1.5vw); top: auto; right: max(-20px, -4vw); left: auto; width: clamp(105px, 26vw, 225px); transform: rotate(0deg) scaleX(-1); }
.planta-global-esquina-inf-izq { bottom: 4%; top: auto; left: max(-20px, -4vw); width: clamp(72px, 18vw, 135px); transform: rotate(0deg); }

/* —— Carta física —— */
.inv-carta .planta-carta {
  right: 37%;
  left: auto;
  width: 39%;
  top: 14%;
  z-index: 8;
  pointer-events: auto;
  transform: rotate(12deg);
  transform-origin: 80% 0%;
  mix-blend-mode: lighten;
  filter: sepia(0.1) saturate(0.9) contrast(1.04) brightness(1.03);
}

/* —— Ubicación —— */
.planta-ubicacion { bottom: -53px; left: -50px; width: clamp(110px, 37vw, 150px); transform: rotate(-18deg); z-index: 0; transform-origin: 85% 100%; }

/* —— Dress code —— */
.planta-dresscode-der { right: -130px; top: 475px; left: auto; width: clamp(86px, 24vw, 140px); opacity: 0.7; z-index: 0; transform: rotate(0deg); }
.planta-dresscode-esquina { top: 0; right: -90px; left: auto; width: 240px; z-index: 1; transform: rotate(0deg); }

@media (max-width: 639px) {
  .planta-global-5,
  .planta-global-6,
  .planta-global-7,
  .planta-global-8,
  .planta-global-esquina-inf-der,
  .planta-global-esquina-inf-izq { display: none; }
  .planta-portada-esquina-izq { opacity: 0.72; }
}
@keyframes plant-breeze-a {
  0%   { translate: -3px 4px; }
  100% { translate: 5px -5px; }
}
@keyframes plant-breeze-b {
  0%   { translate: 4px 2px; }
  100% { translate: -6px 4px; }
}
@keyframes plant-breeze-c {
  0%   { translate: -2px 3px; }
  100% { translate: 4px -3px; }
}
@keyframes lazo-breeze {
  0%   { translate: 0 3px; rotate: -2deg; }
  100% { translate: 0 -3px; rotate: 2deg; }
}

/* Brisa suave — plantitas y lazos en toda la invitación */
.planta-editable {
  will-change: translate;
}
.planta-editable:nth-of-type(3n+1) {
  animation: plant-breeze-a 6.4s ease-in-out infinite alternate;
  animation-delay: -1.2s;
}
.planta-editable:nth-of-type(3n+2) {
  animation: plant-breeze-b 7.3s ease-in-out infinite alternate;
  animation-delay: -2.4s;
}
.planta-editable:nth-of-type(3n) {
  animation: plant-breeze-c 5.9s ease-in-out infinite alternate;
  animation-delay: -0.6s;
}

.lazo {
  transform-origin: 50% 50%;
  will-change: translate, rotate;
  animation: lazo-breeze 6.8s ease-in-out infinite alternate;
  animation-delay: -1.8s;
}

@media (prefers-reduced-motion: reduce) {
  .organic-motif-inner,
  .deco-planta-sway,
  .planta-editable,
  .lazo,
  .music-eq-bar { animation: none !important; }
}

/* Movimiento suave en plantas sueltas (dress code, portada…) */
.deco-planta-sway {
  transform-origin: 50% 88%;
  will-change: transform;
}
.deco-planta-sway--a { animation: floral-sway-a 6.2s ease-in-out infinite alternate; }
.deco-planta-sway--b { animation: floral-sway-b 7.2s ease-in-out infinite alternate; }
.deco-planta-sway--c { animation: floral-sway-c 5.6s ease-in-out infinite alternate; }

/* florales: ver bloque superior */

/* ===== OVERLAY DE APERTURA — estilo clásico (imgs) / temperatura Santi ===== */
.overlay-container {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  /* Crema: Safari 26+ tintea barras con el bg de fixed (no theme-color) */
  background-color: #F2F0EC;
  z-index: 70;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
  box-sizing: border-box;
}

.overlay-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Foto de portada detrás de las solapas (como el video en Cris) */
.overlay-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.overlay-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
/* Velo suave: se asoma un poco la foto, no a full */
.overlay-bg__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(245, 245, 243, 0.42) 0%,
    rgba(232, 220, 200, 0.28) 55%,
    rgba(212, 192, 168, 0.38) 100%
  );
}

/* Flor detrás del sello — centrado con margin (no % del alto: evita salto al 1er load) */
#flores {
  position: absolute;
  top: 45%;
  left: 50%;
  width: min(42vw, 168px);
  aspect-ratio: 1 / 1;
  height: auto;
  margin-left: calc(min(42vw, 168px) * -0.5);
  margin-top: calc(min(42vw, 168px) * -0.5);
  z-index: 88;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
  filter: none;
  transform-origin: 50% 85%;
  transform: rotate(-12deg) scaleX(-1);
  animation: hero-flor-breeze-b 5.8s ease-in-out infinite;
}

@keyframes hero-flor-breeze-b {
  0%, 100% {
    transform: rotate(-12deg) scaleX(-1) translate(0, 0);
  }
  25% {
    transform: rotate(-8.5deg) scaleX(-1) translate(6px, -8px);
  }
  50% {
    transform: rotate(-14deg) scaleX(-1) translate(-3px, -2px);
  }
  75% {
    transform: rotate(-10deg) scaleX(-1) translate(-5px, -7px);
  }
}

.notification-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 90;
}

.notification {
  position: absolute;
  top: auto;
  bottom: -62px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  color: #8a7d6e;
  text-shadow: 1px 2px 4px rgba(245, 245, 243, 0.7);
  padding: 5px;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
  font-family: 'Antic Didone', serif;
  letter-spacing: 1px;
  z-index: 95;
}

#selloButton {
  width: 128px;
  height: 128px;
  animation: pulso 1.5s infinite;
  z-index: 100;
  border: none !important;
  outline: none !important;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: drop-shadow(0 6px 14px rgba(80, 60, 45, 0.28));
}

@keyframes pulso {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

#sobreDiv {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
}

/* Solapas — mismas imágenes; tint + transparencia vía variables :root */
.sobre {
  position: absolute;
  height: 100vh;
  height: 105dvh;
  width: auto;
  max-width: 100vw;
  object-fit: cover;
  transition: transform 1s ease-in-out, opacity 1s ease-in-out;
  filter:
    sepia(var(--sobre-sepia))
    saturate(var(--sobre-saturate))
    brightness(var(--sobre-brightness))
    contrast(var(--sobre-contrast))
    hue-rotate(var(--sobre-hue));
}

/* Frente / atrás (Cris & Bri) */
#sobre1,
#sobre2 {
  opacity: var(--sobre-opacity-front);
}
#sobre3,
#sobre4 {
  opacity: var(--sobre-opacity-back);
}

@media (max-width: 639px) {
  #sobre1, #sobre2, #sobre3, #sobre4 {
    height: 100vh;
    height: 105dvh;
    width: 100vw;
    object-fit: cover;
  }
  #sobre1 { position: absolute; left: 0; z-index: 40; }
  #sobre2 { position: absolute; right: 0; z-index: 40; }
  #sobre3 { position: absolute; left: 0; z-index: 30; }
  #sobre4 { position: absolute; right: 0; z-index: 30; }
}

@media (min-width: 640px) {
  #sobre3, #sobre4 {
    display: block;
    height: 100vh;
    width: auto;
    max-width: 100vw;
    object-fit: cover;
  }
  #sobre1 { position: absolute; left: 0; z-index: 40; }
  #sobre2 { position: absolute; right: 0; z-index: 40; }
  #sobre3 { position: absolute; left: 0; z-index: 20; }
  #sobre4 { position: absolute; right: 0; z-index: 20; }
}

#selloButton:disabled {
  opacity: 0.55;
  cursor: wait;
  animation: none;
}

#selloButton.is-exiting,
#selloButton.is-exiting:disabled {
  opacity: 1;
  cursor: default;
  animation: none;
  transform: scale(1);
  pointer-events: none;
}

#flores.is-exiting {
  animation: none !important;
  /* transform lo congela el JS en el frame actual */
  pointer-events: none;
}

.background-overlay {
  position: fixed;
  inset: 0;
  background-color: #F5F5F3;
  z-index: 60;
  transition: opacity 1s ease-in-out;
}

/* ===== BOTÓN MÚSICA ===== */
#floatingButton {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: var(--cafe);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 200;
  border: none;
  outline: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  -webkit-tap-highlight-color: transparent;
}

.music-btn-state {
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-btn-state[hidden] {
  display: none !important;
}

.music-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  width: 24px;
  height: 22px;
}

.music-eq-bar {
  display: block;
  width: 3px;
  height: 14px;
  background: #5C4A3A;
  border-radius: 2px;
  transform-origin: center bottom;
  animation: music-eq-dance 0.85s ease-in-out infinite alternate;
}

.music-eq-bar:nth-child(1) { animation-delay: 0s; animation-duration: 0.7s; }
.music-eq-bar:nth-child(2) { animation-delay: 0.12s; animation-duration: 0.95s; }
.music-eq-bar:nth-child(3) { animation-delay: 0.24s; animation-duration: 0.8s; }
.music-eq-bar:nth-child(4) { animation-delay: 0.08s; animation-duration: 1s; }

@keyframes music-eq-dance {
  0%   { transform: scaleY(0.25); opacity: 0.65; }
  100% { transform: scaleY(1); opacity: 1; }
}

.loading-bar-bg {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: rgba(203,204,204,0.4);
  border-radius: 4px;
  overflow: hidden;
  z-index: 96;
}

.loading-bar-fill {
  width: 0%;
  height: 100%;
  background-color: #c9c2b8;
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* ===== CONTENIDO PRINCIPAL ===== */
#main-content { display: none; }

/* ===== FOTO PORTADA / INVITACION FISICA ===== */
.portada-section {
  background-image: none;
  background-size: cover;
  background-position: center 24%;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.portada-photo-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.portada-photo-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.portada-photo-slideshow img.active {
  opacity: 1;
}

.portada-section::before {
  display: none;
}

/* Transición suave en la base de la portada */
.portada-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 28%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(242,240,236,0.35) 70%,
    rgba(242,240,236,0.62) 100%);
}

.portada-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 88vh;
  width: 100%;
  padding: 22px 24px 40px;
  box-sizing: border-box;
}

.portada-section .nos-casamos {
  font-family: 'Italianno', cursive;
  font-size: clamp(34px, 14.5vw, 58px);
  font-weight: 100;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
  margin: 0;
  align-self: center;
  transform: translateY(8px);
  position: relative;
  z-index: 6;
}

.portada-bottom {
  margin-top: auto;
  position: relative;
  z-index: 6;
}

.portada-section .portada-nombres {
  font-family: 'Antic Didone', serif;
  font-size: clamp(20px, 5.8vw, 38px);
  font-weight: 100;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.portada-section .portada-fecha {
  font-family: 'Antic Didone', serif;
  font-size: clamp(17px, 4.8vw, 28px);
  font-weight: 100;
  color: #ffffff;
  margin: 10px 0 0;
  position: relative;
  z-index: 7;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

/* ===== SECCIÓN MENSAJE BIENVENIDA ===== */
.bienvenida {
  padding: 50px 20px;
  text-align: center;
}

.bienvenida h3 {
  font-family: 'Antic Didone', serif;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 100;
  font-style: italic;
  color: #000;
  max-width: 500px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

/* divider-line: oculto — sin líneas entre bloques */

/* ===== INVITACIÓN - NOMBRE DEL INVITADO ===== */
.nombre-section {
  padding: 10px 20px;
  text-align: center;
}

#invitacion {
  max-width: 400px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  font-family: 'Antic Didone', serif;
  font-style: italic;
}

#invitacion.hidden { display: none; }
#invitacion.visible {
  display: block;
  opacity: 1;
  padding: 16px 12px;
  border-top: 3px double rgba(74, 64, 56, 0.55);
  border-bottom: 3px double rgba(74, 64, 56, 0.55);
}

#nombreInvitado {
  font-size: 4vw;
  line-height: 1.2;
  text-transform: uppercase;
  display: block;
  text-align: center;
}

#pasesInvitado {
  font-size: 3.5vw;
  text-align: center;
  margin-top: 8px;
}

@media (min-width: 480px) {
  #nombreInvitado { font-size: 18px; }
  #pasesInvitado { font-size: 16px; }
}

.bloque-nombre { display: inline-block; white-space: nowrap; }

/* ===== CARTA FÍSICA / SOBRE — estilo Standard ===== */
.inv-carta {
  padding: 72px 16px 0;
  margin-bottom: 0;
  touch-action: pan-y;
  position: relative;
  z-index: 1;
}

.inv-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  aspect-ratio: 10 / 10.2;
  min-height: 0;
  height: auto;
  background: transparent !important;
  overflow: visible;
}

@media (max-width: 480px) {
  .inv-container { aspect-ratio: 10 / 10.2; min-height: 0; }
}

.layer {
  position: absolute;
  width: 100%;
  height: auto;
  top: -28px;
  left: 0;
  background: none;
  pointer-events: none;
  user-select: none;
}

.z1 { z-index: 1; }

.inv-sello {
  width: 24%;
  left: 39%;
  top: 8%;
  z-index: 10;
}

.paper-wrapper {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 93%;
  transform: translateX(-50%);
  z-index: 5;
  background: transparent;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inv-paper {
  width: 100%;
  aspect-ratio: 7 / 5;
  min-height: 0;
  background-color: var(--papel);
  border: 1px solid rgba(61, 48, 40, 0.18);
  box-shadow: 0 18px 50px rgba(61, 48, 40, 0.1);
  padding: clamp(20px, 5.2vw, 28px) clamp(22px, 5.5vw, 30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.inv-paper-inner {
  width: 100%;
  max-width: 94%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(1.02);
  transform-origin: center center;
}

.inv-paper::before {
  content: '';
  position: absolute;
  inset: clamp(16px, 4.8vw, 22px);
  border: 1px solid rgba(61, 48, 40, 0.1);
  pointer-events: none;
}

.inv-carta .parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
  margin: 4px auto 12px;
  font-size: clamp(7px, 1.95vw, 9.5px);
  letter-spacing: 0.4px;
  line-height: 1.34;
  text-transform: uppercase;
  color: var(--tinta);
}

.inv-carta .parents-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-width: 0;
}

.inv-carta .parents-grid p {
  margin: 0;
  width: 100%;
  white-space: nowrap;
}

.inv-phrase {
  font-size: clamp(7.2px, 2vw, 9.8px);
  letter-spacing: 0.55px;
  margin-bottom: 8px;
  line-height: 1.32;
  color: var(--tinta);
  text-transform: uppercase;
  width: 100%;
  white-space: nowrap;
}

.inv-names {
  font-family: 'Italianno', cursive;
  font-size: clamp(18px, 5.2vw, 26px);
  font-weight: normal;
  color: var(--tinta);
  margin: 4px 0 10px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
  max-width: 100%;
  width: 100%;
}

.inv-details {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-transform: uppercase;
  color: var(--tinta-media);
}

.inv-detail-line {
  display: block;
  width: 100%;
  font-size: clamp(6.8px, 1.85vw, 9px);
  letter-spacing: 0.32px;
  line-height: 1.38;
  white-space: nowrap;
}

.inv-city {
  margin-top: 10px;
  font-family: 'Italianno', cursive;
  font-size: clamp(11px, 3.1vw, 14.5px);
  letter-spacing: 0.04em;
  color: var(--tinta);
  white-space: nowrap;
  width: 100%;
}

.inv-year {
  margin-top: 4px;
  font-size: clamp(7.2px, 2vw, 9.8px);
  letter-spacing: 0.22em;
  color: var(--tinta);
  white-space: nowrap;
}

.quote-hoja {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 7%;
  width: min(88%, 400px);
  padding: 0 8px;
  text-align: center;
  z-index: 6;
  pointer-events: none;
}

.quote-hoja p {
  font-family: 'Italianno', cursive;
  font-size: clamp(14px, 4.2vw, 22px);
  line-height: 1.35;
  color: var(--tinta-media);
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.quote-hoja p span {
  display: block;
  text-align: center;
  white-space: normal;
}

@media (max-width: 360px) {
  .quote-hoja p { font-size: clamp(13px, 3.6vw, 16px); }
}

/* ===== FECHA FOTO (sin huequito — solo foto + fecha) ===== */
.fecha-photo-section {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 680px);
  min-height: 0;
  margin-top: -10px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 48px;
  position: relative;
  z-index: 2 !important;
  overflow: hidden;
}

.fecha-photo-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fecha-photo-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fecha-photo-slideshow img.active {
  opacity: 1;
}

.fecha-photo-section::before,
.fecha-photo-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}

.fecha-photo-section::before {
  top: 0;
  height: 18%;
  background: linear-gradient(to bottom,
    rgba(242,240,236,0.55) 0%,
    transparent 100%);
}

.fecha-photo-section::after {
  bottom: 0;
  height: 22%;
  background: linear-gradient(to top,
    rgba(242,240,236,0.55) 0%,
    transparent 100%);
}

.fecha-photo-section .fecha-pill {
  position: relative;
  z-index: 2;
}

.fecha-pill {
  font-family: 'Antic Didone', serif;
  font-size: clamp(22px, 5vw, 36px);
  font-weight: 100;
  font-style: italic;
  color: #fff;
  text-shadow: 1px 0 1px #000;
}

/* ===== FOTO + HUEQUITO (debajo del cronómetro) ===== */
.count-photo-section {
  position: relative;
  z-index: 2 !important;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(78vh, 680px);
  margin: 0;
  overflow: hidden;
  /* Huequito medio (ni tan ancho ni tan estrecho) */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0h100v109H60C60 109 60 100 50 100S40 109 40 109H0V0z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 120' preserveAspectRatio='none'%3E%3Cpath fill='%23000' d='M0 0h100v109H60C60 109 60 100 50 100S40 109 40 109H0V0z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.count-photo-section img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  /* Subir la foto para que tape todo el huequito */
  object-position: center 58%;
  display: block;
  margin-top: -8%;
}

.faltan-section {
  text-align: center;
  padding: 36px 20px 40px;
  position: relative;
  z-index: 3;
  background-color: #F5EFE3 !important;
  margin-top: 0 !important;
}

.faltan-section h2.faltan-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(32px, 7.5vw, 48px);
  font-weight: 100;
  color: var(--cafe);
}

.faltan-section p.faltan-sub {
  font-family: 'Antic Didone', serif;
  font-size: 12px;
  font-weight: 600;
  color: #6B5E52;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 20px;
}

.cd-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
  border-radius: 12px;
  padding: 8px 12px;
}

.cd-digits {
  font-family: 'Lustria', serif;
  font-size: clamp(24px, 6vw, 36px);
  color: #616161;
  line-height: 1;
}

.cd-label {
  font-size: 12px;
  color: #6B5E52;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Botón calendario */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cafe);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-size: 11px;
  font-family: 'Antic Didone', serif;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  margin: 10px 5px;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s ease;
}

.btn-gold:hover {
  background: #a6876c;
}

.quote-section {
  padding: 36px 20px 24px;
  text-align: center;
  position: relative;
  overflow: visible;
}

.quote-section .ubicacion-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: min(94vw, 720px);
  margin: 0 auto;
  padding: 0 8px;
  overflow: visible;
}

.quote-section .ubicacion-corazon {
  flex: none;
  min-width: 0;
  width: 100%;
  max-width: min(94vw, 680px);
  margin: 0 auto;
  position: relative;
  display: block;
  overflow: visible;
}

.corazon-stage {
  position: relative;
  width: 100%;
  margin: 0 auto;
  line-height: 0;
  display: flex;
  justify-content: center;
}

.corazon-heart-wrap {
  position: relative;
  width: 81%;
  margin: 0 auto;
  transform-origin: center center;
  animation: corazon-latido 2.2s ease-in-out infinite;
}

@keyframes corazon-latido {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.045); }
  24% { transform: scale(1); }
  36% { transform: scale(1.03); }
  48%, 100% { transform: scale(1); }
}

.corazon-heart-visible {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(61, 56, 48, 0.1));
}

.corazon-frase-wrap {
  position: absolute;
  top: 30%;
  left: 22%;
  right: 22%;
  bottom: 34%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.corazon-frase-wrap .ubicacion-corazon-texto {
  position: static;
  inset: auto;
  width: 100%;
  max-width: 100%;
  display: block;
  text-align: center;
  font-family: 'Antic Didone', serif;
  font-style: italic;
  font-weight: 100;
  font-size: clamp(11px, 2.9vw, 15px);
  line-height: 1.35;
  color: #3D3830;
  margin: 0;
  padding: 4px 6px;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .quote-section .ubicacion-corazon {
    max-width: min(94vw, 520px);
  }

  .corazon-frase-wrap .ubicacion-corazon-texto {
    font-size: clamp(10px, 2.7vw, 13px);
    line-height: 1.32;
    padding: 2px 4px;
  }
}

/* ===== NUESTRA HISTORIA ===== */
.historia-section {
  padding: 40px 20px;
}

.historia-block {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.historia-titulo {
  font-family: 'Times New Roman', serif;
  font-size: clamp(26px, 5.8vw, 42px);
  color: #080808;
  margin: 0 0 12px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.historia-slideshow {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 620px);
  margin: 0 0 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
  position: relative;
  background: #2a2520;
}

.historia-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.historia-slideshow img.active { opacity: 1; }

.historia-texto {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 4vw, 18px);
  text-align: justify;
  color: #444;
  width: 100%;
  line-height: 1.5;
  text-transform: none;
}

.historia-texto p {
  text-transform: none;
  margin: 0;
}

.historia-texto p.historia-cuerpo::first-letter {
  float: left;
  font-size: 2.4em;
  line-height: 0.85;
  font-weight: bold;
  margin: 0.04em 0.12em 0 0;
  color: var(--cafe);
  text-transform: uppercase;
}

.historia-texto p.historia-cuerpo-plain::first-letter {
  float: none;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  margin: 0;
  color: inherit;
  text-transform: none;
}

.historia-cuerpo-plain {
  margin-top: 0.35em;
}

.historia-firma {
  text-align: center;
  margin-top: 10px;
  font-family: 'Italianno', cursive;
  font-size: 1.2em;
  color: var(--cafe);
}

/* ===== VIDEO HISTORIA ===== */
.historia-video-section {
  padding: 0;
  width: 100%;
  line-height: 0;
}

.historia-video-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
}

.historia-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  object-position: center;
}

/* ===== PRE-VOTOS (layout votos.json) ===== */
.votos-section {
  padding: 40px 16px 56px;
  overflow: hidden;
}

.votos-titulo-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  min-height: 100px;
  margin: 0 auto 36px;
}

.votos-titulo-slight {
  display: block;
  font-family: 'Italianno', cursive;
  font-weight: 100;
  font-size: clamp(28px, 7vw, 44px);
  color: #3D3830;
  line-height: 1;
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(calc(-50% - clamp(40px, 12vw, 87px)));
  white-space: nowrap;
}

.votos-titulo-didone {
  display: block;
  font-family: 'Antic Didone', serif;
  font-weight: 100;
  font-size: clamp(32px, 9vw, 76px);
  color: #000;
  line-height: 1.05;
  position: absolute;
  left: 50%;
  top: clamp(28px, 8vw, 58px);
  transform: translateX(calc(-50% + clamp(20px, 8vw, 122px)));
  white-space: nowrap;
}

.votos-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(15px, 4vw, 50px);
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
}

.votos-row--novia {
  margin-top: 10px;
}

.votos-row--novio {
  margin-bottom: 24px;
}

.votos-foto {
  flex: 0 1 60%;
  min-height: clamp(280px, 55vw, 372px);
  border-radius: 48px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
}

.votos-foto--novia {
  background-position: center center;
}

.votos-foto--novio {
  background-position: center center;
}

.votos-texto {
  flex: 0 1 28%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: flex-end;
  padding-top: clamp(20px, 6vw, 50px);
  opacity: 0;
}

.votos-row--novio .votos-texto {
  align-self: center;
  padding-top: 0;
  padding-bottom: clamp(20px, 6vw, 50px);
}

.votos-rol {
  font-family: 'Antic Didone', serif;
  font-size: clamp(28px, 5.5vw, 36px);
  font-weight: 400;
  color: var(--cafe);
  margin: 0;
  line-height: 1.1;
}

.votos-nombre {
  font-family: 'Italianno', cursive;
  font-size: 2.1rem;
  font-weight: 100;
  color: #3D3830;
  margin: 0;
  line-height: 1.15;
}

.votos-copy {
  font-family: 'Antic Didone', serif;
  font-size: clamp(16px, 3.8vw, 19px);
  font-weight: 100;
  line-height: 1.55;
  color: #3D3830;
  text-align: justify;
  margin: 0;
}

.votos-copy::first-letter {
  float: left;
  font-size: 3.1em;
  line-height: 0.82;
  margin: 0.06em 0.1em 0 0;
  font-weight: 400;
  color: #3D3830;
}

.votos-section.is-visible .votos-foto--novia {
  animation: votosSlideLeft 1.1s ease 0.45s forwards;
}

.votos-section.is-visible .votos-row--novia .votos-texto {
  animation: votosSlideUp 1.1s ease 0.65s forwards;
}

.votos-section.is-visible .votos-row--novio .votos-texto {
  animation: votosSlideDown 1.1s ease 0.65s forwards;
}

.votos-section.is-visible .votos-foto--novio {
  animation: votosSlideRight 1.1s ease 0.45s forwards;
}

@keyframes votosSlideLeft {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes votosSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes votosSlideRight {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 768px) {
  .votos-titulo-wrap {
    min-height: 88px;
    margin-bottom: 28px;
  }

  .votos-titulo-slight {
    transform: translateX(calc(-50% - 28px));
    top: -2px;
  }

  .votos-titulo-didone {
    transform: translateX(calc(-50% + 8px));
    top: 34px;
  }

  .votos-row {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
  }

  .votos-row--novio {
    flex-direction: column-reverse;
  }

  .votos-foto {
    flex: none;
    width: 100%;
    min-height: 302px;
    border-radius: 48px;
  }

  .votos-texto {
    flex: none;
    width: 100%;
    align-self: center !important;
    padding: 0 8px !important;
    text-align: center;
  }

  .votos-rol,
  .votos-nombre {
    text-align: center;
  }

  .votos-copy {
    text-align: justify;
  }
}

/* ===== ITINERARIO — línea de tiempo con iconos ===== */
.timeline-section {
  overflow-x: hidden;
  padding: 24px 10px 44px;
  background-color: #F2F0EC !important;
  background-image: url('https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/fondo-mas-clairo-1.webp') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.timeline-section img { max-width: 100%; }

.timeline-section .Container {
  width: 100%;
  max-width: 100%;
  margin: 10px auto;
  padding: 10px;
  position: relative;
  background-position: center;
}

.timeline-section .ag-timeline_item {
  margin: 0 0 10px;
  position: relative;
  min-height: 150px;
}

.timeline-section .ag-timeline_item:nth-child(2n) { text-align: right; }

.timeline-section .ag-timeline {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.timeline-section .ag-timeline_line {
  width: 4px;
  background-color: #ffffff;
  position: absolute;
  top: 2px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  border-radius: 2px;
}

.timeline-section .ag-timeline_line-progress {
  width: 100%;
  height: 20%;
  background-color: var(--cafe);
}

.timeline-section .ag-timeline-card_box {
  padding: 0 0 5px 50%;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 150px;
}

.timeline-section .ag-timeline_item:nth-child(2n) .ag-timeline-card_box {
  padding: 0 50% 5px 0;
  justify-content: flex-end;
}

.timeline-section .ag-timeline-card_point-box {
  display: flex;
  align-items: center;
  margin: 0 14px 0 -4px;
  z-index: 10;
  position: relative;
}

.timeline-section .ag-timeline_item:nth-child(2n) .ag-timeline-card_point-box {
  margin: 0 -4px 0 14px;
  order: 2;
}

.timeline-section .ag-timeline-card_point {
  height: 10px;
  line-height: 10px;
  width: 10px;
  border: 3px solid #f0f0f0;
  background-color: #1d1d1b;
  text-align: center;
  font-size: 0;
  color: transparent;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: background-color 0.5s;
}

.timeline-section .js-ag-active .ag-timeline-card_point {
  color: transparent;
  background-color: #ffffff;
  border: 3px solid #1d1d1b;
}

.timeline-section .ag-timeline-card_meta-box {
  display: block;
  padding: 0;
}

.timeline-section .ag-timeline_item:nth-child(2n) .ag-timeline-card_meta-box { order: 1; }

.timeline-section .ag-timeline-card_meta {
  margin: 0;
  font-family: 'Antic Didone', serif;
  font-weight: 700;
  font-size: 21px;
  color: #000000;
  line-height: 1.2;
  text-shadow: none;
}

.timeline-section .ag-timeline-card_time {
  font-family: 'Antic Didone', serif;
  color: #000000;
  font-size: 16px;
  text-shadow: none;
  font-weight: normal;
}

.timeline-section .ag-timeline-card_item {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25%;
  padding: 15px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: transform 0.5s, opacity 0.5s;
  z-index: 1;
}

.timeline-section .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item {
  right: calc(50% + 20px);
  transform: translateX(-100%) translateY(-50%);
}

.timeline-section .ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
  left: calc(50% + 20px);
  transform: translateX(100%) translateY(-50%);
}

.timeline-section .js-ag-active.ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item,
.timeline-section .js-ag-active.ag-timeline_item:nth-child(2n) .ag-timeline-card_item {
  opacity: 1;
  transform: translateX(0) translateY(-50%);
}

.timeline-section .ag-timeline-card_img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 768px) {
  .timeline-section .ag-timeline_line { width: 3px; }

  .timeline-section .ag-timeline-card_item {
    width: 35%;
    padding: 10px;
    border-radius: 20px;
  }

  .timeline-section .ag-timeline_item:nth-child(2n+1) .ag-timeline-card_item { right: calc(50% + 15px); }
  .timeline-section .ag-timeline_item:nth-child(2n) .ag-timeline-card_item { left: calc(50% + 15px); }
}

@media (min-width: 769px) {
  .timeline-section {
    zoom: 0.75;
    transform: scale(0.75);
    transform-origin: top center;
    -moz-transform: scale(0.75);
    -moz-transform-origin: top center;
  }

  .timeline-section .Container {
    max-width: 800px;
    margin: 0 auto;
  }

  .timeline-section .ag-timeline-card_item { width: 20%; }
}

/* ===== FOTO GRANDE C&J ===== */
.foto-pareja {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
  height: 420px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* ===== UBICACIÓN ===== */
.ubicacion-section {
  padding: 30px 20px;
  text-align: center;
}

.ubicacion-intro {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.5vw, 20px);
  max-width: 640px;
  margin: 0 auto;
  padding: 0 4px;
}

.ubicacion-intro-foto {
  flex: 0 1 32%;
  max-width: 175px;
}

.ubicacion-intro-foto img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 26px rgba(61, 56, 48, 0.16);
}

.ubicacion-corazon {
  flex: 0 1 64%;
  max-width: 360px;
  min-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ubicacion-corazon-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(61, 56, 48, 0.12));
}

.ubicacion-corazon-texto {
  position: absolute;
  inset: 20% 13% 24%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Antic Didone', serif;
  font-size: clamp(10px, 2.8vw, 15px);
  font-style: italic;
  font-weight: 100;
  line-height: 1.48;
  color: #3D3830;
  margin: 0;
}

@media (max-width: 380px) {
  .ubicacion-intro-foto {
    flex: 0 1 30%;
    max-width: 130px;
  }

  .ubicacion-corazon {
    flex: 0 1 66%;
    min-width: 190px;
  }

  .ubicacion-corazon-texto {
    font-size: 9px;
    line-height: 1.4;
    inset: 21% 12% 25%;
  }
}

.itinerary-flip-card {
  position: relative;
  width: 249px;
  height: 309px;
  perspective: 1000px;
  margin: 60px auto;
  font-family: 'Antic Didone', serif;
  touch-action: pan-y;
  filter: drop-shadow(0 12px 28px rgba(61,56,48,0.12));
}

.itinerary-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
  z-index: 5;
}

.itinerary-flip-card:hover .itinerary-inner,
.itinerary-flip-card.flipped .itinerary-inner { transform: rotateY(180deg); }

.decor { position: absolute; pointer-events: none; }
.decor-sello { top: -40px; left: -35px; width: 105px; z-index: 10; }
.decor-planta {
  bottom: -12px;
  left: -82px;
  width: clamp(110px, 28vw, 150px);
  z-index: 0;
  transform: rotate(-18deg);
  transform-origin: 85% 100%;
}

.itinerary-front,
.itinerary-back {
  position: absolute;
  width: 249px !important;
  height: 309px !important;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.itinerary-front {
  z-index: 2;
  color: #6B5240;
  background: var(--fondo-ubicacion) center/cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.itinerary-front .titulo-itinerario,
.itinerary-front p {
  text-shadow: 0 1px 8px rgba(242,240,236,0.9);
}

.itinerary-back {
  z-index: 1;
  transform: rotateY(180deg);
  padding: 20px;
  background-blend-mode: overlay;
  background-color: rgba(255,255,255,0.85);
}

.titulo-itinerario { font-family: 'Italianno', cursive; font-size: 2.1rem; margin: 0; }

.timeline-titulo {
  text-align: center;
  margin: 0 auto 28px;
  color: #3D3830;
}
.itinerary-item { display: flex; flex-direction: row-reverse; align-items: center; width: 100%; text-align: right; }
.itinerary-item img { width: 50px; margin-left: 10px; }
.itinerary-text h3 { font-size: 0.65rem; margin: 0; text-transform: uppercase; }
.itinerary-text p { font-size: 0.65rem; font-style: italic; margin: 4px 0 6px; }

.btn-location {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid #000;
  text-decoration: none;
  font-size: 0.6rem;
  color: #000;
}

/* ===== DRESS CODE ===== */
.celebracion-photo-slideshow {
  width: calc(100% + 40px);
  margin: 0 -20px 18px;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 620px);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
}

.celebracion-photo-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.celebracion-photo-slideshow img.active {
  opacity: 1;
}

.dresscode-section {
  padding: 40px 20px 48px;
  text-align: center;
  position: relative;
}

.dc-plus-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(40px, 10vw, 58px);
  font-weight: normal;
  color: var(--tinta);
  margin-bottom: 18px;
  line-height: 1.1;
}

.dc-plus-logo {
  width: min(88vw, 300px);
  margin: 0 auto 16px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 10px 28px rgba(55, 42, 30, 0.1),
    0 3px 10px rgba(55, 42, 30, 0.06);
}

.dc-plus-logo img {
  width: 49%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
  transition: transform 0.45s ease;
}

.dc-plus-logo.is-pulse img {
  transform: scale(1.03);
}

.dc-plus-phrase {
  font-family: 'Italianno', cursive;
  font-size: clamp(30px, 7.5vw, 42px);
  color: var(--tinta);
  margin: 0 auto 14px;
  line-height: 1.15;
}

.dc-plus-note {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 3.8vw, 17px);
  font-style: italic;
  color: var(--tinta-media);
  max-width: 400px;
  margin: 0 auto 10px;
  line-height: 1.65;
  padding: 0 8px;
}

.dc-plus-note--blanco {
  margin-top: 4px;
  margin-bottom: 16px;
  color: var(--tinta);
}

.dc-plus-swatches {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.dc-swatch {
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.dc-swatch--main {
  width: 30px;
  height: 30px;
}

.dc-swatch--accent {
  width: 26px;
  height: 26px;
  opacity: 0.95;
}

.dc-swatch:hover {
  transform: scale(1.12);
}

.dc-swatch.active {
  border-color: var(--cafe);
  box-shadow: 0 0 0 3px rgba(184, 154, 122, 0.28);
  transform: scale(1.08);
}

.dc-plus-color-hint {
  font-family: 'Lustria', serif;
  font-size: clamp(12px, 3.2vw, 14px);
  letter-spacing: 0.06em;
  color: var(--tinta-media);
  margin: 12px 0 0;
  min-height: 1.2em;
  transition: opacity 0.3s ease;
}

.dc-canvas-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 520px;
  margin: 20px auto;
  z-index: 1;
}

.dc-floral-accent {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

.dc-floral-accent--left {
  left: -34px;
  bottom: 36px;
  width: clamp(78px, 22vw, 130px);
}

.dc-floral-accent--right {
  right: -26px;
  top: 96px;
  width: clamp(86px, 24vw, 140px);
}

.dc-floral-accent img {
  width: 100%;
  display: block;
}

.dc-leaf-wrap {
  position: absolute;
  top: 0;
  right: -90px;
  width: 240px;
  z-index: 1;
  pointer-events: none;
}

.dc-leaf-asset {
  width: 100%;
  display: block;
}

.dc-flip-card {
  position: absolute;
  width: 340px;
  height: 225px;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.18);
  touch-action: pan-y;
}

.card-top-pos {
  top: -50px;
  left: -40px;
  z-index: 5;
}

.dc-logo-asset {
  position: absolute;
  bottom: 20px;
  left: -83px;
  width: 230px;
  z-index: 20;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.2));
  pointer-events: none;
}

.card-bottom-pos {
  bottom: -20px;
  right: -72px;
  z-index: 10;
}

.dc-flip-inner { position: relative; width: 100%; height: 100%; }

.dc-flip-front {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.slider-left.active .dc-flip-front { transform: translateX(-100%); }
.slider-right.active .dc-flip-front { transform: translateX(100%); }

.dc-flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fcfcfc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

.dc-back-content {
  text-align: center;
  max-width: 260px;
  transform: translateY(0);
}

.dc-ellos-ajuste {
  padding-left: 0;
  padding-right: 0;
}

.dc-title-style {
  font-family: 'Antic Didone', serif;
  font-size: 30px;
  margin: 0;
  color: #3D3830;
  line-height: 1;
  font-weight: 300;
  text-shadow:
    0 0 1px rgba(255,255,255,0.95),
    0 2px 12px rgba(242,240,236,0.9);
}

.dc-more-link {
  font-family: 'Antic Didone', serif;
  font-size: 17px;
  text-transform: uppercase;
  text-decoration: underline;
  color: #000;
  margin-top: 3px;
}

.dc-back-main {
  font-family: 'Antic Didone', serif;
  font-size: 28px;
  margin: 0;
  color: #000;
}

.dc-back-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  color: #000;
  margin-top: 8px;
  line-height: 1.3;
}

.dc-text-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 16px 14px 18px;
}

@media (max-width: 600px) {
  .dc-canvas-container {
    transform: scale(0.75);
    transform-origin: center center;
    height: 400px;
  }

  .dc-ellos-ajuste {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ===== REGALOS ===== */
.regalos-section {
  padding: 40px 20px 60px;
}

.gift-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  min-height: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.ovalo-fondo {
  position: absolute;
  top: 10px; left: 15px;
  width: 310px; height: 410px;
  background: url('https://caroyjuandiego.royal-invite.com/wp-content/uploads/sites/13/2026/03/mesa-fondo-e1773427293825.webp') no-repeat left center/contain;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}

.centrado-regalo {
  width: 210px;
  text-align: center;
  font-family: 'Antic Didone', serif;
  color: #000;
}

.regalo-title { font-size: clamp(22px, 5vw, 28px); letter-spacing: 2px; font-style: italic; margin-bottom: 8px; }
.regalo-intro { font-size: 11.5px; line-height: 1.3; font-style: italic; margin-bottom: 8px; }
.info-banco p { margin: 1px 0; font-size: 10px; text-transform: uppercase; }
.mail { text-transform: lowercase !important; }

.divisor-mini { width: 40px; height: 1px; background: #000; margin: 6px auto 4px; }

.btn-copiar {
  display: inline-block; padding: 8px 18px;
  background: var(--cafe); color: #fff;
  border: 1px solid var(--cafe); border-radius: 999px;
  font-size: 10px; cursor: pointer;
  text-transform: uppercase; letter-spacing: 1px;
  margin-top: 10px; font-family: 'Antic Didone', serif;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-copiar:hover {
  background: var(--rosa);
  border-color: var(--rosa);
}

.btn-paypal {
  display: inline-block; padding: 3px 10px;
  background: #fff; color: #000;
  border: 1px solid #000; border-radius: 20px;
  font-size: 8.5px; text-decoration: none;
  font-style: italic; margin-top: 5px;
  font-family: 'Antic Didone', serif;
}

.planta-inf {
  position: absolute; width: 120px;
  top: 360px; left: 30px; z-index: 1;
  transform: rotate(180deg);
}

.foto-novios-wrap {
  position: absolute; top: 290px; right: 0;
  width: 250px; z-index: 2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
}

.foto-novios-wrap img {
  width: 100%;
  display: block;
  border-radius: 20px;
}

@media (max-width: 500px) {
  .gift-wrap { min-height: 550px; }
  .ovalo-fondo { width: 280px; height: 370px; left: 5px; }
  .centrado-regalo { width: 190px; }
  .planta-inf { width: 100px; top: 320px; left: 15px; }
  .foto-novios-wrap { width: 200px; top: 270px; }
}

/* ===== NUESTRAS FIRMAS ===== */
.firmas-section {
  padding: 36px 20px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.firmas-heading {
  font-family: 'Antic Didone', serif;
  font-size: clamp(22px, 5.5vw, 32px);
  font-weight: 600;
  color: #3D3830;
  line-height: 1.35;
  margin: 0 auto 28px;
  max-width: 420px;
}

.firmas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  max-width: 520px;
  margin: 0 auto 24px;
}

.firma-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.firma-img-wrap {
  width: 55%;
  max-width: 180px;
  margin-bottom: 4px;
  background: transparent;
  border: none;
  box-shadow:
    0 10px 26px rgba(55, 42, 30, 0.12),
    0 3px 8px rgba(55, 42, 30, 0.07);
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
}

.firma-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
}

.firma-nombre {
  font-family: 'Antic Didone', serif;
  font-size: clamp(18px, 4.5vw, 22px);
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 1.2;
}

.firmas-couple-photo {
  width: min(87%, 440px);
  height: clamp(220px, 52vw, 376px);
  object-fit: cover;
  object-position: center;
  margin: 8px auto 0;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
}

@media (max-width: 480px) {
  .firmas-grid { gap: 10px; }
  .firma-img-wrap { max-width: 140px; margin-bottom: 4px; }
}

/* ===== RSVP ===== */
.rsvp-section {
  background-position: center;
  padding: 40px 20px 20px;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.rsvp-sobre-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  overflow: visible;
}

.rsvp-sobre-wrap .planta-rsvp,
#planta-rsvp {
  position: absolute;
  top: -7%;
  right: -7%;
  left: auto;
  width: clamp(60px, 26vw, 120px);
  height: auto;
  display: block;
  transform: rotate(18deg);
  transform-origin: 85% 0%;
  z-index: 100;
  mix-blend-mode: normal;
  filter: sepia(0.1) saturate(0.95) contrast(1.1) brightness(0.98);
  pointer-events: auto;
}

.contacto-wrap .planta-contacto,
#planta-contacto {
  position: absolute;
  top: 107%;
  right: 75%;
  left: auto;
  width: clamp(60px, 26vw, 120px);
  height: auto;
  display: block;
  transform: rotate(85deg);
  transform-origin: 85% 0%;
  z-index: 100;
  mix-blend-mode: normal;
  filter: sepia(0.1) saturate(0.95) contrast(1.1) brightness(0.98);
  pointer-events: auto;
}

.rsvp-heading {
  font-family: 'Antic Didone', serif;
  font-size: clamp(26px, 5.8vw, 42px);
  font-weight: 100;
  color: #040404;
  text-align: center;
  margin-bottom: 8px;
}

.rsvp-no-ninos {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 100;
  font-style: italic;
  color: #3D3D3D;
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  border-radius: 320px;
  max-width: 380px;
  margin: 0 auto 20px;
}

.royal-inv-main-wrapper {
  --r-dorado: #B89A7A;
  --r-texto: #333;
  --r-verde: #B89A7A;
  all: initial;
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  padding: 0 12px;
  box-sizing: border-box;
}

.royal-inv-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 0;
  height: auto;
  background: transparent !important;
  display: block;
  overflow: visible;
  font-family: 'Antic Didone', serif;
}

.royal-inv-layer { position: absolute; width: 100%; height: auto; top: 0; left: 0; pointer-events: none; }
.royal-inv-z1 { z-index: 1; }
.royal-inv-z10 { z-index: 10; }
.royal-inv-sello { width: 22%; left: 38%; top: 12%; pointer-events: auto; }

.royal-inv-paper-wrapper {
  position: relative;
  top: 180px;
  left: 50%;
  width: 76%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  background-image: url('https://caroyjuandiego.royal-invite.com/wp-content/uploads/sites/13/2026/03/dsf-1.webp');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 9px 15px rgba(0,0,0,0.1));
}

.royal-inv-content-overlay {
  position: relative;
  width: 100%;
  padding: 50px 25px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.royal-inv-form-inner {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 22px 16px 18px;
  text-align: left;
  box-sizing: border-box;
  border: 1px solid rgba(184, 154, 122, 0.24);
  background: rgba(255, 255, 255, 0.52);
  border-radius: 6px;
}
.royal-inv-form-header { text-align: center; margin-bottom: 15px; }
.royal-inv-form-title { font-style: italic; font-weight: normal; font-size: 24px; margin: 0 0 5px 0; color: var(--r-texto); }
.royal-inv-form-subtitle { font-size: 12px; color: #555; margin: 0; line-height: 1.2; }

.royal-inv-form-group { margin-bottom: 10px; }
.royal-inv-form-group label {
  display: block; font-weight: bold; font-size: 11px; margin-bottom: 3px;
  text-transform: uppercase; color: var(--r-texto); letter-spacing: 0.5px;
}

.royal-inv-form-input {
  width: 100% !important;
  padding: 8px !important;
  border: 1px solid rgba(0,0,0,0.15) !important;
  background: rgba(255,255,255,0.82) !important;
  box-sizing: border-box !important;
  font-family: 'Antic Didone', serif !important;
  font-size: 14px !important;
  border-radius: 4px !important;
  margin: 0 !important;
}

.royal-inv-disabled { background-color: rgba(0,0,0,0.05) !important; color: #777; cursor: not-allowed; }
.royal-inv-textarea { height: 50px !important; resize: none !important; }
.royal-inv-form-help { font-size: 11px; color: #666; font-style: italic; margin-top: 3px; margin-bottom: 0; }

.royal-inv-submit-btn {
  width: 100%;
  background: var(--cafe);
  color: white;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  margin-top: 10px;
  transition: background 0.25s ease;
}

.royal-inv-submit-btn:hover {
  background: #a6876c;
}

@media (max-width: 480px) {
  .royal-inv-main-wrapper {
    max-width: 340px;
    padding: 0 10px;
  }

  .royal-inv-form-inner {
    padding: 20px 14px 16px;
  }

  .royal-inv-paper-wrapper {
    top: 160px;
    width: 82%;
  }
  .royal-inv-content-overlay { padding: 40px 20px; }
}

/* ===== FOTOS / ACORDEON ===== */
.fotos-section {
  padding: 20px 20px 36px;
  text-align: center;
  background-color: #F2F0EC !important;
  background-image: url('https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/dayanapremium/fondo-mas-clairo-1.webp') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.fotos-titulo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 auto 14px;
  line-height: 1.15;
}

.fotos-titulo-linea {
  display: block;
  font-family: 'Antic Didone', serif;
  font-size: clamp(18px, 4.6vw, 28px);
  font-weight: 100;
  color: #3D3830;
  letter-spacing: 0.02em;
}

.fotos-titulo-script {
  display: block;
  font-family: 'Italianno', cursive;
  font-size: clamp(28px, 7vw, 42px);
  font-weight: 100;
  color: var(--cafe);
}

.fotos-frase {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 3.8vw, 18px);
  font-weight: 100;
  font-style: italic;
  color: #3D3830;
  max-width: 420px;
  margin: 0 auto 20px;
  line-height: 1.55;
}

.fotos-section .fotos-hint {
  font-size: 11px;
  color: #8a8078;
  font-family: 'Antic Didone', serif;
  font-style: italic;
  margin-top: 8px;
}

.acordeon {
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  height: 300px;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
  margin: 15px auto;
}

.acordeon .item {
  flex: 1;
  overflow: hidden;
  transition: flex 0.5s ease;
}

.acordeon .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.acordeon .item:hover { flex: 2; }

/* ===== HASHTAG / FOTOS EVENTO ===== */
.hashtag-section {
  padding: 30px 20px;
  text-align: center;
}

.hashtag-section h2 {
  font-family: 'Antic Didone', serif;
  font-size: clamp(18px, 4vw, 26px);
  color: var(--cafe);
  margin-bottom: 5px;
}

.camara-img {
  width: clamp(84px, 22vw, 112px);
  max-width: 112px;
  display: block;
  margin: 12px auto;
  animation: heartbeat 1.5s infinite;
  mix-blend-mode: normal;
  filter: drop-shadow(0 3px 8px rgba(61, 56, 48, 0.28)) contrast(1.12) saturate(0.95);
  opacity: 1;
  position: relative;
  z-index: 2;
}

@keyframes heartbeat {
  0%   { transform: scale(1); }
  25%  { transform: scale(1.1); }
  40%  { transform: scale(1); }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.hashtag-pill {
  display: inline-block;
  padding: 10px 20px;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
  border-radius: 30px;
  font-family: 'Antic Didone', serif;
  font-size: clamp(18px, 4vw, 24px);
  color: #000;
  margin: 10px auto;
}

.hashtag-info {
  font-family: 'Antic Didone', serif;
  font-size: clamp(13px, 3vw, 18px);
  color: #000;
  max-width: 380px;
  margin: 10px auto;
}

/* ===== GALERÍA ===== */
.galeria-section {
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.galeria-section h2 {
  font-family: 'Italianno', cursive;
  font-size: clamp(24px, 6vw, 40px);
  font-weight: 100;
  color: var(--cafe);
  margin-bottom: 5px;
}

.galeria-section p {
  font-family: 'Antic Didone', serif;
  font-size: 13px;
  color: #333;
  margin-bottom: 15px;
}

#galeria-vj {
  width: 100%;
  max-width: 1000px;
  height: clamp(520px, 72vw, 620px);
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #2a2520;
  box-shadow: 0 8px 28px rgba(61, 56, 48, 0.15);
}

#wrapper-vj {
  width: 100%;
  height: 100%;
  display: flex;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #2a2520;
  transition: background-image 0.45s ease, transform 0.45s ease;
}

.col-vj {
  flex: 1;
  min-width: 0;
  height: 100%;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 2;
  background: transparent;
  transition: background 0.35s ease, flex 0.4s ease;
}

.col-vj:last-child { border-right: none; }

.col-vj:hover,
.col-vj.is-active {
  flex: 1.35;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== CONTACTO / COLLAGE ===== */
.contacto-section {
  padding: 30px 20px;
  text-align: center;
  position: relative;
  z-index: 10;
  overflow: visible;
}

.contacto-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  overflow: visible;
}

.collage-master {
  position: relative;
  width: 100%; max-width: 400px;
  aspect-ratio: 9/14;
  margin: 0 auto;
  padding: 20px;
}

.collage-layer { position: absolute; transition: all 0.3s ease; }

.layer-monogram { width: 48%; top: 0; left: 0; z-index: 3; }

.layer-monogram img {
  border-radius: 16px;
  object-fit: cover;
}

.layer-couple { width: 70%; top: 22%; left: 18%; z-index: 2; }
.layer-flipbox { width: 40%; bottom: 14%; right: 2%; z-index: 4; }

.collage-layer img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow:
    0 10px 26px rgba(55, 42, 30, 0.12),
    0 3px 8px rgba(55, 42, 30, 0.07);
}

.contact-flip-card {
  width: 100%;
  aspect-ratio: 195/209;
  perspective: 1000px;
}

.contact-flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.contact-flip-card:hover .contact-flip-inner { transform: rotateY(180deg); }

.c-front, .c-back {
  position: absolute;
  top: 77px;
  left: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 10px 26px rgba(55, 42, 30, 0.12),
    0 3px 8px rgba(55, 42, 30, 0.07);
}

.c-front {
  display: flex; justify-content: center; align-items: center;
}

.c-front img { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; }

.c-front-text { position: absolute; text-align: center; width: 100%; }
.c-front-text h2 { font-family: 'Antic Didone', serif; font-size: 1.4rem; color: #000; margin: 0; }
.c-front-text p { font-family: 'Antic Didone', serif; font-size: 0.6rem; text-decoration: underline; color: #000; margin-top: 2px; }

.c-back {
  background: #fff;
  display: flex; justify-content: center; align-items: center;
  transform: rotateY(180deg);
  border: 1px solid #eee;
}

.c-back-btns { display: flex; flex-direction: column; gap: 6px; width: 85%; }
.c-back-btns a {
  padding: 6px 2px;
  background: #fff; color: #000;
  text-decoration: none;
  border: 1px solid #000;
  font-size: 8px;
  font-family: 'Antic Didone', serif;
  text-align: center;
}

/* ===== CIERRE ===== */
.cierre-photo {
  width: 100%;
  margin: 0 auto;
  padding: 0 16px;
  line-height: 0;
  box-sizing: border-box;
}

.cierre-photo img {
  width: 100%;
  max-height: min(56vh, 420px);
  object-fit: cover;
  object-position: center 35%;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
}

.cierre-section {
  padding: 50px 20px;
  text-align: center;
}

.cierre-section h2 {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 4vw, 18px);
  font-weight: 100;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cierre-firma {
  font-family: 'Italianno', cursive;
  font-size: clamp(20px, 5vw, 32px);
  color: var(--cafe);
  padding: 17px;
}

.royal-invite-credits {
  display: block;
  width: 100%;
  margin: 0;
  padding: 18px 20px 28px;
  border: 0;
  background: transparent;
  font-family: 'Antic Didone', serif;
  font-size: clamp(9px, 2.2vw, 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(102, 102, 102, 0.55);
  line-height: 1.65;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.royal-invite-credits:hover,
.royal-invite-credits:focus {
  color: rgba(102, 102, 102, 0.55);
  text-decoration: none;
  outline: none;
}

.royal-invite-brand {
  font-weight: 600;
  color: rgba(80, 70, 60, 0.72);
  letter-spacing: 0.1em;
}

/* ===== SEPARADOR CINTA / SELLO (forma original, champagne arena) ===== */
.elegant-separator {
  position: relative;
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin: 0;
  overflow: hidden;
}

.fan-band {
  position: absolute;
  width: 110%;
  left: -5%;
  height: 45px;
  background-color: var(--cafe);
  transform-origin: center center;
  will-change: transform, opacity;
}

.fan-top-2 { transform: rotate(6deg); z-index: 1; opacity: 0.28; }
.fan-top-1 { transform: rotate(3deg); z-index: 2; opacity: 0.55; }
.fan-bottom-2 { transform: rotate(-6deg); z-index: 1; opacity: 0.28; }
.fan-bottom-1 { transform: rotate(-3deg); z-index: 2; opacity: 0.55; }

.ribbon-main-aligned {
  position: absolute;
  width: 92%;
  max-width: 1200px;
  height: 55px;
  z-index: 5;
  background: linear-gradient(90deg, #a6876c 0%, var(--cafe) 12%, var(--cafe) 88%, #a6876c 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 50%, 100% 100%, 0 100%, 30px 50%);
  filter: drop-shadow(0 5px 12px rgba(184, 154, 122, 0.22));
  transform-origin: center center;
  will-change: transform, opacity;
}

.ribbon-fold-3d {
  position: absolute;
  width: 70px;
  height: 65px;
  background: linear-gradient(135deg, var(--blanco) 0%, var(--cafe) 100%);
  border-radius: 5px;
  box-shadow: inset 0 0 10px rgba(184, 154, 122, 0.35), 0 5px 10px rgba(184, 154, 122, 0.18);
  z-index: 6;
  will-change: transform, opacity;
}

.ribbon-fold-3d.left { transform: translateX(-65px) perspective(150px) rotateY(25deg); }
.ribbon-fold-3d.right { transform: translateX(65px) perspective(150px) rotateY(-25deg); }

.bow-seal {
  position: relative;
  width: 115px;
  z-index: 10;
  filter: drop-shadow(0 6px 12px rgba(61, 56, 48, 0.22));
  cursor: pointer;
  will-change: transform, opacity;
}

/* ===== ANIMACIONES ENTRADA ===== */
/* Sin ocultar contenido: evitamos "doble scroll" en mobile */
.fade-in { opacity: 1; transform: none; transition: none; }
.fade-in.visible { opacity: 1; transform: none; }

@keyframes slideL { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideR { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

.anim-in-left { animation: slideL 1.2s ease-out forwards; }
.anim-in-right { animation: slideR 1.5s ease-out forwards; }

/* ===== SANTI PLUS — secciones propias ===== */
.portada-section .portada-nombres {
  font-family: 'Italianno', cursive;
  font-size: clamp(30px, 8.5vw, 52px);
  font-weight: normal;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.padres-section {
  padding: 36px 20px 28px;
  text-align: center;
}

.padres-intro {
  font-family: 'Antic Didone', serif;
  font-size: clamp(15px, 4vw, 20px);
  line-height: 1.5;
  margin-bottom: 20px;
  color: var(--texto);
}

.padres-grid-plus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  max-width: 480px;
  margin: 0 auto 18px;
  font-size: clamp(9px, 2.4vw, 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.55;
}

.padres-frase {
  font-size: clamp(10px, 2.6vw, 12px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.padres-nombres {
  font-family: 'Italianno', cursive;
  font-size: clamp(24px, 7vw, 36px);
  color: var(--texto);
}

.acordeon--8 { height: clamp(200px, 38vw, 300px); }

.acordeon--8 .item { min-width: 0; }
@media (max-width: 640px) {
  .acordeon--8 {
    height: 240px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .acordeon--8 .item {
    flex: 0 0 68px;
    scroll-snap-align: start;
  }
  .acordeon--8 .item:active { flex: 0 0 160px; }
}

.padrinos-section {
  padding: 32px 20px 40px;
  text-align: center;
}

.padrinos-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(34px, 8.5vw, 48px);
  font-weight: normal;
  color: var(--tinta);
  margin: 0 0 6px;
  line-height: 1.05;
}

.padrinos-hint {
  font-family: 'Lustria', serif;
  font-size: 12px;
  font-style: italic;
  color: var(--tinta-clara);
  margin: 0 auto 18px;
  letter-spacing: 0.04em;
}

.padrinos-interactive {
  max-width: 320px;
  margin: 0 auto;
  perspective: 1100px;
}

.padrino-flip-card {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.padrino-flip-inner {
  position: relative;
  width: 100%;
  min-height: 248px;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.padrino-flip-card.is-flipped .padrino-flip-inner {
  transform: rotateY(180deg);
}

.padrino-flip-front,
.padrino-flip-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 22px 28px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid rgba(184, 154, 122, 0.28);
  border-radius: 18px;
  background-color: #f8f6f1;
  background-image: var(--textura-papel-hoja);
  background-repeat: repeat;
  background-size: 500px 500px;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.12),
    0 4px 10px rgba(55, 42, 30, 0.06);
}

.padrino-flip-front {
  justify-content: flex-start;
  padding-top: 20px;
}

.padrino-flip-front .padrinos-titulo {
  margin-bottom: 10px;
}

.padrino-flip-back {
  transform: rotateY(180deg);
  background-color: #f5f3ee;
}

.padrino-flip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 6px 0;
  opacity: 0.88;
}
.padrino-flip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.padrino-flip-rol {
  font-family: 'Antic Didone', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tinta-suave);
}

.padrino-flip-cta {
  font-family: 'Lustria', serif;
  font-size: 11px;
  font-style: italic;
  color: var(--azul);
  animation: padrino-cta-pulse 2.4s ease-in-out infinite;
}

.padrino-flip-front .padrino-flip-cta {
  margin-top: auto;
  padding-bottom: 4px;
}

.padrino-flip-card.is-flipped .padrino-flip-cta {
  animation: none;
  opacity: 0;
}

@keyframes padrino-cta-pulse {
  0%, 100% { opacity: 0.55; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.padrino-nombre {
  font-family: 'Lustria', serif;
  font-size: clamp(15px, 4vw, 17px);
  line-height: 1.55;
  color: var(--tinta);
  margin: 0;
}

/* ===== ITINERARIO — línea vertical minimal ===== */
.itinerario-section {
  padding: 32px 16px 40px;
  text-align: center;
}

.itinerario-seccion-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(38px, 9.5vw, 54px);
  font-weight: normal;
  color: var(--tinta);
  margin-bottom: 26px;
  padding: 0 8px;
}

.iti-v-wrap {
  position: relative;
  width: min(100%, 400px);
  margin: 0 auto;
  padding: 4px 16px 8px;
}

.iti-v-line {
  position: absolute;
  left: 50%;
  top: 24px;
  bottom: 24px;
  width: 1px;
  transform: translateX(-50%);
  background: rgba(61, 48, 40, 0.28);
  pointer-events: none;
}

.iti-v-list {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 5vw, 30px);
  position: relative;
  z-index: 1;
  width: 100%;
}

.iti-v-row {
  display: grid;
  grid-template-columns: 1fr 16px 1fr;
  align-items: center;
  column-gap: clamp(12px, 4vw, 18px);
  width: 100%;
  padding: 2px 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.iti-v-icon {
  justify-self: end;
  width: clamp(56px, 16vw, 72px);
  height: clamp(56px, 16vw, 72px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.iti-v-icon img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  display: block;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.iti-v-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tinta);
  justify-self: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.iti-v-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  justify-self: start;
  text-align: left;
  padding-right: 4px;
}

.iti-v-time {
  font-family: 'Lustria', serif;
  font-size: clamp(15px, 4.2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--tinta);
  line-height: 1.1;
}

.iti-v-label {
  font-family: 'Antic Didone', serif;
  font-size: clamp(10px, 2.7vw, 11px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tinta-media);
  line-height: 1.2;
}

.iti-v-row.active .iti-v-icon img {
  opacity: 1;
  transform: scale(1.04);
}

.iti-v-row.active .iti-v-dot {
  transform: scale(1.45);
  background: var(--azul);
  box-shadow: 0 0 0 4px rgba(91, 127, 166, 0.14);
}

.iti-v-row.active .iti-v-label {
  color: var(--tinta);
}

/* ===== PALABRAS — frases de los novios ===== */
.palabras-section {
  padding: 36px 20px 44px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.palabras-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(34px, 8.5vw, 48px);
  color: var(--tinta);
  margin-bottom: 24px;
  font-weight: normal;
}

.palabra-card {
  margin: 0 0 20px;
  padding: 22px 20px;
  border: 1px solid rgba(91, 127, 166, 0.16);
  background: rgba(255, 255, 255, 0.38);
  text-align: left;
  border-radius: 18px;
  box-shadow:
    0 10px 28px rgba(55, 42, 30, 0.1),
    0 3px 10px rgba(55, 42, 30, 0.06);
}

.palabra-card:last-child { margin-bottom: 0; }

.palabra-autor {
  font-family: 'Italianno', cursive;
  font-size: clamp(22px, 5.5vw, 28px);
  color: var(--tinta);
  margin-bottom: 10px;
}

.palabra-texto {
  font-family: 'Antic Didone', serif;
  font-size: clamp(14px, 3.6vw, 16px);
  line-height: 1.65;
  color: var(--tinta-media);
  font-style: italic;
}

.palabra-texto.is-typing::after {
  content: '|';
  margin-left: 1px;
  color: var(--cafe);
  font-style: normal;
  animation: palabra-cursor 0.7s step-end infinite;
}

.palabra-texto.is-done::after {
  content: none;
}

@keyframes palabra-cursor {
  50% { opacity: 0; }
}

/* ===== UBICACIÓN PLAYA — tarjetas costeras (distinto a Standard) ===== */
.ubicacion-section.ubicacion-playa {
  padding: 44px 18px 56px;
  text-align: center;
}

.ubi-playa-titulo {
  font-family: 'Italianno', cursive;
  font-size: clamp(38px, 9.5vw, 54px);
  font-weight: normal;
  color: var(--tinta);
  margin: 0 0 6px;
  line-height: 1.05;
}

.ubi-playa-sub {
  font-family: 'Lustria', serif;
  font-size: clamp(12px, 3.2vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tinta-suave);
  margin: 0 auto 28px;
  max-width: 320px;
  line-height: 1.5;
}

.ubi-playa-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 340px;
  margin: 0 auto 22px;
  border-bottom: 1px solid rgba(184, 154, 122, 0.28);
}

.ubi-playa-tab {
  flex: 1;
  padding: 12px 10px 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: 'Antic Didone', serif;
  font-size: clamp(10px, 2.6vw, 11px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tinta-clara);
  position: relative;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.ubi-playa-tab::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: -1px;
  height: 2px;
  background: var(--cafe);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.ubi-playa-tab.active {
  color: var(--tinta);
}

.ubi-playa-tab.active::after {
  transform: scaleX(1);
}

.ubi-playa-deck {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* Ambas tarjetas en la misma celda → altura fija (la más alta). Evita saltos al cambiar. */
.ubi-playa-card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.ubi-playa-card.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Ilustración suelta sobre el fondo de la página (sin caja) */
.ubi-playa-photo {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  padding: 0 6px;
  overflow: visible;
  background: transparent;
  min-height: min(52vw, 300px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ubi-playa-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(52vw, 300px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  background: transparent;
  mix-blend-mode: normal;
  filter: none;
}

/* Sin filtros de color en ubicación */
#ubi-ceremonia .ubi-playa-photo img,
#ubi-recepcion .ubi-playa-photo img {
  filter: none;
  mix-blend-mode: normal;
}

/* Tarjeta blanca solo para los datos — ola arriba */
.ubi-playa-body {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  padding: 28px 22px 26px;
  text-align: center;
  background: #FFFcf7;
  border-radius: 0 0 22px 22px;
  box-shadow:
    0 14px 34px rgba(55, 42, 30, 0.1),
    0 2px 8px rgba(55, 42, 30, 0.04);
}

.ubi-playa-body-wave {
  position: absolute;
  left: 0;
  right: 0;
  top: -26px;
  width: 100%;
  height: 28px;
  color: #FFFcf7;
  display: block;
  pointer-events: none;
}

.ubi-playa-tag {
  display: inline-block;
  font-family: 'Antic Didone', serif;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cafe);
  margin-bottom: 10px;
}

.ubi-playa-body h3 {
  font-family: 'Lustria', serif;
  font-size: clamp(17px, 4.5vw, 21px);
  font-weight: 600;
  color: var(--tinta);
  margin: 0 0 8px;
  line-height: 1.25;
}

.ubi-playa-hora {
  font-family: 'Antic Didone', serif;
  font-size: clamp(11px, 2.8vw, 12px);
  letter-spacing: 0.06em;
  color: var(--tinta-media);
  margin: 0 0 6px;
}

.ubi-playa-lugar {
  font-family: 'Lustria', serif;
  font-size: clamp(12px, 3.1vw, 13px);
  color: var(--tinta-media);
  margin: 0 0 18px;
  line-height: 1.45;
}

.ubi-playa-maps {
  display: inline-block;
  padding: 11px 26px;
  background: transparent;
  color: var(--tinta);
  border: 1px solid rgba(74, 64, 56, 0.55);
  border-radius: 999px;
  font-family: 'Antic Didone', serif;
  font-size: 10px;
  font-weight: 100;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.ubi-playa-maps:hover,
.ubi-playa-maps--mar:hover {
  background: var(--tinta);
  color: #FFFcf7;
  border-color: var(--tinta);
  transform: translateY(-1px);
}

.ubi-playa-maps--mar {
  background: transparent;
  color: var(--tinta);
  border-color: rgba(74, 64, 56, 0.55);
}

.ubi-playa-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.ubi-playa-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(184, 154, 122, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.ubi-playa-dot.active {
  background: var(--cafe);
  transform: scale(1.35);
}

.ubi-playa-hint {
  margin: 14px auto 0;
  font-family: 'Lustria', serif;
  font-size: 11px;
  font-style: italic;
  color: var(--tinta-clara);
  letter-spacing: 0.04em;
}

.gift-info-plus {
  flex: 1;
  text-align: center;
  padding: 24px 20px;
  background: rgba(255,255,255,0.4);
  border: 1px solid rgba(184, 154, 122, 0.2);
  max-width: 420px;
  margin: 0 auto;
}

.regalos-section .gift-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  min-height: auto;
  max-width: 520px;
}

.regalos-section .foto-novios-wrap {
  position: relative;
  top: auto;
  right: auto;
  width: min(280px, 80vw);
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 12px 32px rgba(55, 42, 30, 0.14),
    0 4px 12px rgba(55, 42, 30, 0.08);
}

.buenos-deseos-card {
  background: rgba(255,255,255,0.38);
  border: 1px solid rgba(91, 127, 166, 0.18);
  padding: 24px 20px;
  border-radius: 18px;
  box-shadow:
    0 10px 28px rgba(55, 42, 30, 0.1),
    0 3px 10px rgba(55, 42, 30, 0.06);
}

.rsvp-sub-plus {
  max-width: 420px;
  margin: 0 auto 24px;
  font-family: 'Lustria', serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--texto-suave);
  padding: 0 16px;
}

.cierre-section .cierre-firma img {
  width: min(140px, 38vw);
  margin: 0 auto;
  display: block;
}

/* ===== CRIS-STYLE: álbum / oval / dress / separator / gifts / rsvp ===== */
.page-album {
  position: relative;
  height: auto;
  margin: 0;
  padding: 0;
  background: transparent;
}
.page-album__pin {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  perspective: 1600px;
  perspective-origin: 50% 50%;
  background: #F2F0EC;
}
.page-album__book {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.page-album__page {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.28);
  background: #F2F0EC;
}
.page-album__page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  user-select: none;
}
.page-album__page.is-base { z-index: 1; box-shadow: none; }
.page-album__page[data-page] { z-index: 2; }
.page-album__page[data-page]:nth-child(2) { z-index: 4; }
.page-album__page[data-page]:nth-child(3) { z-index: 3; }

/* Álbum que voltea hacia la izquierda (espejo del de arriba) */
.page-album--flip-left .page-album__page {
  transform-origin: right center;
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.28);
}
.page-album--flip-left .page-album__page.is-base { box-shadow: none; }

/* Indicador mouse — desliza / sigue scrolleando */
.mouse-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: max(36px, env(safe-area-inset-bottom, 0px) + 28px);
  transform: translateX(-50%);
  z-index: 60;
  width: 56px;
  color: #ffffff;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
.mouse-scroll-hint.is-on {
  opacity: 1;
  visibility: visible;
}
.mouse-scroll-hint.is-out {
  opacity: 0;
  visibility: hidden;
}
.mouse-scroll-hint__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55));
}
.mouse-scroll-hint__svg rect,
.mouse-scroll-hint__svg line,
.mouse-scroll-hint__svg path {
  stroke: #ffffff;
}
.mouse-scroll-hint__dot {
  animation: mouseDotDrop 1.6s cubic-bezier(.45, 0, .55, 1) infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.mouse-scroll-hint__chevron {
  animation: mouseChevFade 1.6s cubic-bezier(.45, 0, .55, 1) infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.mouse-scroll-hint__chevron--2 {
  animation-delay: 0.25s;
}
@keyframes mouseDotDrop {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(24px); opacity: 0; }
  71%  { transform: translateY(-2px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes mouseChevFade {
  0%   { opacity: 0.2; transform: translateY(-4px); }
  50%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0.2; transform: translateY(4px); }
}

html.slides-touch .page-album { height: auto; }
html.slides-touch .page-album__pin {
  position: relative;
  height: auto;
  perspective: none;
}
html.slides-touch .page-album__book {
  position: relative;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  height: 100vh;
  height: 100dvh;
  min-height: 100dvh;
}
html.slides-touch .page-album__page {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
  transform: none !important;
  box-shadow: none;
}

.oval-invite {
  position: relative;
  z-index: 1;
  padding: 8px 28px 36px;
  text-align: center;
  background-color: #F5EFE3 !important;
  background-image: url("https://pub-a65601eb9ffe4b62a9bcbf111a23ee8c.r2.dev/invitations/custom-orders/crisybri/texture%20crema.webp") !important;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: var(--ink);
  /* El crema texturado sube y llena TODO el huequito de la foto */
  margin-top: -110px !important;
  padding-top: 100px;
}
/* Logo en el huequito */
.oval-invite__mono {
  position: relative;
  z-index: 5;
  display: block;
  width: min(92px, 44vw);
  height: auto;
  margin: -72px auto 18px;
  object-fit: contain;
  background: transparent;
  border: none;
  box-shadow: none;
}
.oval-invite__script {
  margin: 0 auto 28px;
  max-width: 340px;
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(26px, 7vw, 36px);
  line-height: 1.3;
  color: var(--olive-deep);
}
.oval-invite__text {
  margin: 12px auto 0;
  max-width: 300px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.oval-invite__stage {
  position: relative;
  display: block;
  width: min(88vw, 380px);
  margin: 18px auto 0;
  isolation: isolate;
}
.oval-invite__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 63%;
  height: 56%;
  object-fit: cover;
  object-position: center 32%;
  border-radius: 50%;
  z-index: 1;
}
.oval-invite__marco {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.oval-invite__sign {
  margin: 16px auto 0;
  font-family: var(--script);
  font-size: clamp(22px, 6.5vw, 30px);
  line-height: 1.35;
  color: var(--olive-deep);
}

.ql-dress {
  position: relative;
  z-index: 5;
  padding: 56px 22px 100px;
  text-align: center;
  background-color: #FAF8F3;
  isolation: isolate;
}
.ql-dress__frame {
  position: relative;
  display: block;
  width: min(72vw, 300px);
  margin: 0 auto 40px;
  isolation: isolate;
}
.ql-dress__photo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 63%;
  height: 56%;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 50%;
  z-index: 1;
  background: #2c2b26;
}
.ql-dress__marco {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}
.ql-dress__the {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--olive-deep);
  margin: 0 0 6px;
}
.ql-dress__title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(42px, 12vw, 56px);
  line-height: 1.05;
  color: var(--olive-deep);
  margin: 0 0 10px;
}
.ql-dress__tag {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--olive);
  margin: 0 0 28px;
}
.ql-dress__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  max-width: 340px;
  margin: 0 auto 28px;
  text-align: center;
}
.ql-dress__cols h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--olive-deep);
  margin-bottom: 6px;
}
.ql-dress__cols p {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
}
.ql-dress__note,
.ql-dress__avoid {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 300px;
  margin: 0 auto 14px;
}
.ql-dress__avoid { margin-bottom: 0; max-width: 280px; }

.ql-separator {
  position: relative;
  z-index: 50;
  width: 100%;
  max-width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin: -80px 0;
  overflow: hidden; /* recorta lo que se sale — une vestimenta + regalos */
  pointer-events: none !important;
}
.ql-separator__sinta {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: min(92vw, 520px);
  height: auto;
  object-fit: contain;
  /* screen en crema borra el encaje; multiply lo deja ver */
  mix-blend-mode: multiply;
  opacity: 0.88;
  filter: none;
  pointer-events: none;
}
.ql-separator__sinta--l {
  left: 50%;
  margin: 0;
  transform: translate(-92%, -50%);
}
.ql-separator__sinta--r {
  left: 50%;
  margin: 0;
  transform: translate(-8%, -50%) scaleX(-1);
}
.ql-separator__seal {
  position: relative;
  z-index: 10;
  width: min(108px, 17vw);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 6px 12px rgba(74, 64, 56, 0.28));
}

.ql-gifts {
  position: relative;
  z-index: 5;
  padding: 100px 0 64px;
  background-color: #E8DFD4;
  background-image:
    linear-gradient(180deg, rgba(232, 223, 212, 0.88) 0%, rgba(232, 223, 212, 0.82) 100%),
    var(--fondo-agua);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  overflow: hidden;
}
.ql-gifts__inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 22px;
}
.ql-gifts__copy { text-align: center; }
.ql-gifts__title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(42px, 12vw, 56px);
  line-height: 1.05;
  color: var(--olive-deep);
  margin: 0 0 14px;
}
.ql-gifts__lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(0.98rem, 3.6vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink);
  margin: 0 auto 28px;
  max-width: 340px;
}
.ql-gifts__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 28px;
}
.ql-gifts .bank {
  position: relative;
  z-index: 6;
  max-width: 340px;
  margin: 0 auto;
  text-align: left;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.92);
  pointer-events: auto;
}
.ql-gifts .bank p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink);
  padding: 9px 0;
  border-bottom: 1px solid rgba(184, 154, 122, 0.2);
}
.ql-gifts .bank p:last-child { border-bottom: none; }
.ql-gifts .bank > p > span:first-child {
  color: var(--olive);
  opacity: 0.85;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ql-gifts .bank p.bank__row { align-items: center; }
.ql-gifts .bank .bank__value {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000 !important;
  -webkit-text-fill-color: #000;
  opacity: 1;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.ql-gifts .bank .bank__value a,
.ql-gifts .bank a[href^="tel"],
.ql-gifts .bank a[x-apple-data-detectors] {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  text-decoration: none !important;
}
.ql-gifts .bank .bank__copy {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(184, 154, 122, 0.45);
  border-radius: 50%;
  background: transparent;
  color: var(--cafe);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto !important;
}
.ql-gifts .bank .bank__copy:hover,
.ql-gifts .bank .bank__copy:focus-visible {
  background: var(--cafe);
  border-color: var(--cafe);
  color: #FFFcf7;
  outline: none;
}
.ql-gifts .bank .bank__copy.is-copied {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
  color: #FFFcf7;
}

.ql-rsvp {
  position: relative;
  z-index: 5;
  padding: 56px 24px 88px;
  text-align: center;
  background-color: #F7F3EA;
  isolation: isolate;
}
.ql-rsvp .eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--olive);
  margin: 0 0 6px;
}
.ql-rsvp__title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(44px, 13vw, 58px);
  line-height: 1.05;
  color: var(--olive-deep);
  margin: 4px 0 16px;
}
.ql-rsvp__adults {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 4.2vw, 1.28rem);
  line-height: 1.5;
  color: var(--olive-deep);
  max-width: 330px;
  margin: 0 auto 28px;
}
.ql-rsvp__form-note {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  margin: 0 0 18px;
  letter-spacing: 0.02em;
}
.ql-rsvp .royal-inv-main-wrapper,
.ql-rsvp .royal-inv-container {
  max-width: 420px;
  margin: 0 auto;
}
.ql-rsvp .royal-inv-form-inner {
  border: 1px solid var(--line);
  background-color: #FFFcf7;
  box-shadow: 0 16px 40px rgba(74, 64, 56, 0.08);
  padding: 22px 18px 28px;
  border-radius: 4px;
}

/* Fotos del evento — fondo claro playa (sin “Share the day”) */
.fotos-evento-section {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--olive-deep);
  text-align: center;
  padding: 64px 28px calc(56px + env(safe-area-inset-bottom, 0px));
  background-color: #F5EFE3;
  background-image:
    linear-gradient(
      180deg,
      rgba(245, 239, 227, 0.72) 0%,
      rgba(245, 239, 227, 0.55) 50%,
      rgba(232, 223, 212, 0.78) 100%
    ),
    var(--fondo-agua);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.fotos-evento-section__veil {
  display: none;
}
.fotos-evento-section__copy {
  position: relative;
  z-index: 2;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0;
}
.fotos-evento-section__eyebrow {
  display: none;
}
.fotos-evento-section__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(24px, 6.5vw, 28px);
  line-height: 1.3;
  color: var(--olive-deep);
}
.fotos-evento-section__text {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  opacity: 1;
}
.fotos-evento-section__qr {
  width: min(148px, 42vw);
  height: auto;
  margin: 0 0 18px;
  padding: 10px;
  background: rgba(255, 252, 247, 0.55);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(74, 64, 56, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.fotos-evento-section__link {
  display: inline-block;
  margin: 0 0 20px;
  padding: 0 0 4px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cafe);
  border-bottom: 1px solid rgba(184, 154, 122, 0.55);
  -webkit-tap-highlight-color: transparent;
}
.fotos-evento-section__link:hover {
  opacity: 0.88;
  border-bottom-color: var(--cafe);
}
.fotos-evento-section__tag {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  opacity: 0.9;
}

/* ===== PANTALLA COMPUTADOR / LAPTOP ===== */
.desktop-gate {
  display: none;
}

@media (min-width: 768px) {
  .desktop-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 10000;
    padding: 40px 24px;
    text-align: center;
    overflow: hidden;
    background: #F2F0EC;
  }

  .page-shadow,
  #overlay,
  #main-content,
  #background,
  #floatingButton {
    display: none !important;
  }

  .desktop-gate__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }

  .desktop-gate__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: blur(14px) saturate(0.85);
    transform: scale(1.08);
    opacity: 0.55;
  }

  .desktop-gate__bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(242, 240, 236, 0.72) 0%, rgba(245, 239, 227, 0.82) 55%, rgba(232, 223, 212, 0.88) 100%);
  }

  .desktop-gate-inner {
    position: relative;
    z-index: 1;
    max-width: 480px;
    width: 100%;
    padding: 48px 40px 40px;
    background: rgba(255, 252, 247, 0.72);
    border: 1px solid rgba(184, 154, 122, 0.35);
    border-radius: 4px;
    box-shadow:
      0 28px 64px rgba(74, 64, 56, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: desktopGateIn 0.9s ease-out both;
  }

  .desktop-gate-seal {
    width: 88px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
    filter: drop-shadow(0 8px 16px rgba(74, 64, 56, 0.14));
  }

  .desktop-gate-eyebrow {
    margin: 0 0 10px;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--cafe);
  }

  .desktop-gate-names {
    margin: 0 0 20px;
    font-family: var(--script);
    font-weight: 400;
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.15;
    color: var(--olive-deep);
  }

  .desktop-gate-line {
    display: block;
    width: 64px;
    height: 1px;
    margin: 0 auto 22px;
    background: linear-gradient(90deg, transparent, var(--cafe), transparent);
  }

  .desktop-gate-message {
    margin: 0 auto 24px;
    max-width: 360px;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(15px, 1.7vw, 18px);
    line-height: 1.65;
    color: var(--muted);
  }

  .desktop-gate-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(184, 154, 122, 0.18);
    color: var(--olive-deep);
    border: 1px solid rgba(184, 154, 122, 0.4);
  }

  .desktop-gate-fecha {
    margin: 0;
    font-family: var(--sans);
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 0.28em;
    color: var(--cafe);
  }
}

@keyframes desktopGateIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

