:root {
  --champagne: #e8d7c4;
  --soft-gold: #c9a84c;
  --deep-green: #39482a;
  --pearl: #fffcf8;
  --ink: #4e4138;
  --bg-main: #39482a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-family: "Outfit", "Avenir Next", sans-serif;
  background: var(--bg-main);
  line-height: 1.55;
}

img {
  width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-size: 35px;
  line-height: 1.02;
  letter-spacing: 0.015em;
  padding: 5px;
  text-align: center;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.portada-lock {
  overflow: hidden;
  height: 100svh;
}

body:not(.portada-lock) {
  overflow-x: hidden;
  overflow-y: auto;
}

.portada {
  position: fixed;
  inset: 0;
  z-index: 120;
  width: 100vw;
  height: 100vh;
  min-width: 100dvw;
  min-height: 100dvh;
  overflow: hidden;
  padding: 0;
  margin: 0;
  max-width: none;
  perspective: 1200px;
}

.portada-fondo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--deep-green);
}

.portada-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
  filter: none;
}

#portada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background: none;
  pointer-events: none;
}

.portada-contenido {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 1.25rem;
}

.portada-center {
  min-height: 100%;
  width: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
}

.portada-main-name {
  display: block;
  margin-top: 350px;
  padding: 5px;
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.015em;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: 0 4px 14px rgba(82, 52, 14, 0.34), 0 0 18px rgba(201, 168, 76, 0.32);
  animation: titleGlow 4.8s ease-in-out infinite, textFloatSoft 5.6s ease-in-out infinite;
}

#portada #btn-abrir {
  width: min(380px, 90vw);
  display: grid;
  justify-items: center;
  gap: clamp(1rem, 4vw, 1.45rem);
  padding: 0;
  background: transparent;
  border: 0;
  color: inherit;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transform-style: preserve-3d;
  animation: envelopeIdle 4.2s ease-in-out infinite;
}

#portada #btn-abrir:hover {
  transform: translateY(-4px);
}

.portada-open-copy {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff4c7;
  padding: 0.32rem 0.68rem;
  border: 1px solid rgba(232, 213, 163, 0.55);
  border-radius: 999px;
  background: rgba(6, 15, 10, 0.46);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28), 0 0 18px rgba(201, 168, 76, 0.22);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.82), 0 0 10px rgba(232, 213, 163, 0.48);
  backdrop-filter: blur(3px);
  animation: portadaCopyBlink 1.8s ease-in-out infinite;
}

#btn-abrir.opening {
  animation: envelopeOpenExit 2.2s ease forwards;
  pointer-events: none;
}

.portada-ambient-particle,
.particle,
.fairy-dust {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.portada-ambient-particle {
  z-index: 3;
  background: rgba(201, 168, 76, 0.64);
  box-shadow: 0 0 12px rgba(201, 168, 76, 0.46);
  animation: ambientFloat var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.particle,
.fairy-dust {
  left: var(--x, 50%);
  top: var(--y, 50%);
  z-index: 8;
  width: var(--size, 6px);
  height: var(--size, 6px);
  opacity: 0;
}

.particle {
  background: #d8bd67;
  box-shadow: 0 0 14px rgba(216, 189, 103, 0.8);
  animation: envelopeParticle var(--duration, 1s) ease-out var(--delay, 0s) forwards;
}

.fairy-dust {
  background: #f0f0c8;
  box-shadow: 0 0 10px rgba(240, 240, 200, 0.72);
  animation: fairyDust var(--duration, 1.2s) ease-out var(--delay, 0s) forwards;
}

#portada.abrir {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.65s ease, transform 0.65s ease;
  pointer-events: none;
}

.invitacion-shell,
#invitacion {
  display: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.85s ease, transform 0.85s ease, visibility 0.85s ease;
  background: var(--bg-main);
}

.invitacion-shell.revelar,
#invitacion.revelar {
  display: block;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.main-content {
  min-height: 0;
  text-align: center;
}

.section {
  padding: 0.5rem 0.5rem;
}

.section:not(.hero) {
  background: #39482a;
  text-align: center;
}

.footer {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  background: #0d2416;
  text-align: center;
}

#social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

#social-icons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #c9a84c;
  background: rgba(6, 15, 10, 0.5);
  border: 1px solid rgba(201,168,76,0.45);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(94, 74, 64, 0.12);
}

.footer-logo {
  width: min(120px, 42vw);
  margin: 0 auto;
}

#footer-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.music-fab {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 2147483000;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(201, 168, 76, 0.6);
  background: rgba(6, 15, 10, 0.72);
  color: #c9a84c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(6, 15, 10, 0.28), inset 0 0 12px rgba(201, 168, 76, 0.08), 0 0 18px rgba(201, 168, 76, 0.16);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.music-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.music-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(6, 15, 10, 0.34), inset 0 0 16px rgba(201, 168, 76, 0.12), 0 0 24px rgba(201, 168, 76, 0.24);
}

.album-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
  max-width: 520px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.album-card::before,
.album-card::after,
.album-card .info-card-corner-tr,
.album-card .info-card-corner-bl {
  display: none;
}

.album-qr {
  width: min(300px, 72vw);
  height: auto;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.music-fab-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.music-fab.is-playing {
  filter: saturate(1.06);
}

.music-fab.is-playing .music-fab-icon {
  animation: musicPulse 1.9s ease-in-out infinite;
}

@keyframes musicPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.11);
    opacity: 1;
  }
}

@keyframes envelopeIdle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-10px) scale(1.01);
  }
}

@keyframes portadaCopyBlink {
  0%,
  100% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
}

@keyframes envelopeOpenExit {
  0%,
  64% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(1.18);
  }
}

@keyframes ambientFloat {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.75);
  }
  20%,
  76% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift, 16px), -74px, 0) scale(1.15);
  }
}

@keyframes envelopeParticle {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.6);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--tx, 0), var(--ty, -120px), 0) scale(0.2);
  }
}

@keyframes fairyDust {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.7);
  }
  20% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--tx, 0), var(--ty, -90px), 0) scale(1.4);
  }
}

#hero.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('images/F1.png');
  background-size: cover;
  background-position: center;
  filter: brightness(1);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, #39482a 0%, rgba(57, 72, 42, 0.9) 24%, rgba(57, 72, 42, 0.45) 58%, rgba(57, 72, 42, 0) 100%);
  backdrop-filter: blur(5px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
  max-width: 600px;
}

.hero-corona {
  width: 150px;
}

.hero-mis-quince,
.hero-nombre,
.hero-frase {
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-mis-quince {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 3.4vw, 1.3rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 5px;
  margin: 0;
  animation: textRevealUp 0.9s ease 0.2s both, goldTextFlow 5s linear infinite;
}

.hero-nombre {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-size: clamp(3.4rem, 11vw, 6.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.015em;
  padding: 5px;
  margin: 0;
  white-space: nowrap;
  animation: textRevealUp 1s ease 0.38s both, titleGlow 4.6s ease-in-out infinite, goldTextFlow 5.8s linear infinite;
}

.hero-frase {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1rem, 3.2vw, 1.25rem);
  line-height: 1.8;
  max-width: 480px;
  margin: 0.5rem 0 0;
  font-style: italic;
  animation: textRevealUp 1s ease 0.62s both, goldTextFlow 6.2s linear infinite;
}

.hero-titles {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: min(460px, 96vw);
}

.hero-separador {
  display: block;
  width: min(210px, 62vw);
  margin: 0.35rem auto 0;
  filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.45));
}

.hero-titles-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.6rem 2.2rem;
  gap: 0.2rem;
}

.padres {
  background: #39482a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}

.padres-flor {
  width: clamp(80px, 20vw, 130px);
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 0 14px rgba(201,168,76,0.5));
}

.padres-bendicion {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  line-height: 1.7;
  max-width: 420px;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.padres-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.padres-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.padres-label {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-size: clamp(2.1rem, 7vw, 3.3rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: none;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.padres-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  line-height: 1.5;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.padres-divider {
  font-size: 1.4rem;
  color: #c9a84c;
  opacity: 0.5;
  align-self: center;
}

.countdown {
  background: #39482a;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
}

.countdown-titulo {
  font-family: 'Great Vibes', 'Cormorant Garamond', cursive;
  font-weight: 400;
  font-size: clamp(2.6rem, 10vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: none;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.count-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(0.35rem, 2vw, 1.25rem);
  flex-wrap: nowrap;
  width: min(100%, 460px);
}

.count-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.count-lotus {
  position: relative;
  width: clamp(72px, 21vw, 112px);
  height: clamp(72px, 21vw, 112px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lotus-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.4));
}

.count-number {
  position: relative;
  z-index: 1;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(2rem, 8vw, 3.6rem);
  line-height: 1;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 1px 8px rgba(6, 15, 10, 0.45);
}

.count-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.55rem, 2vw, 0.72rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 1px 8px rgba(6, 15, 10, 0.45);
}

.countdown-fecha {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.15em;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.btn-calendario {
  margin-bottom: 30px;
}

.btn-calendario {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.62rem, 2vw, 0.74rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 15, 10, 0.22);
  backdrop-filter: blur(4px);
  box-shadow: 0 6px 18px rgba(6, 15, 10, 0.12);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.btn-calendario:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.62);
  box-shadow: 0 0 16px rgba(201, 168, 76, 0.16);
}

.separador-foto {
  padding: 0;
  margin: 0;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.separador-foto-inner {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(201, 168, 76, 0.7);
  box-shadow:
    0 0 0 1px rgba(201, 168, 76, 0.15),
    inset 0 0 30px rgba(201, 168, 76, 0.08),
    0 0 40px rgba(201, 168, 76, 0.15);
}

.separador-foto-inner::before,
.separador-foto-inner::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #c9a84c;
  border-style: solid;
  z-index: 2;
}

.separador-foto-inner::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.separador-foto-inner::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.separador-foto-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 5px;
  font-size: 35px;
}

p,
small,
a,
span {
  font-size: 22px;
}

.itinerario {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.itinerario-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: 680px;
}

.itinerario-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.itinerario-icono {
  width: 300px;
  height: 300px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.itinerario-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 600;
  margin: 0.4rem 0 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.itinerario-lugar {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.itinerario-direccion {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.75rem, 2.5vw, 0.85rem);
  letter-spacing: 0.08em;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.8;
}

.itinerario-hora {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
  font-style: italic;
  margin: 0.2rem 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-itinerario {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  font-size: clamp(0.7rem, 2.2vw, 0.82rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.6rem;
  border: 1px solid rgba(201, 168, 76, 0.6);
  color: #e8d5a3;
  background: rgba(6, 15, 10, 0.5);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-itinerario:hover {
  background: rgba(201, 168, 76, 0.12);
  box-shadow: 0 0 20px rgba(201, 168, 76, 0.2);
}

.itinerario-separador {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

@media (max-width: 480px) {
  .itinerario-separador {
    display: none;
  }
}

.timeline-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.timeline-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-list {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.4) 8%, rgba(201,168,76,0.4) 92%, transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  gap: 0;
  padding: 1rem 0;
}

.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #0d2416;
  border: 1px solid rgba(201,168,76,0.5);
  box-shadow: 0 0 16px rgba(201,168,76,0.2);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-dot i {
  color: #c9a84c;
  font-size: 24px;
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.5));
}

.timeline-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.timeline-item--left .timeline-content {
  text-align: right;
  padding-right: 1.2rem;
}

.timeline-item--right .timeline-content {
  text-align: left;
  padding-left: 1.2rem;
}

.timeline-empty {
  display: block;
}

.timeline-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3.2vw, 1.2rem);
  font-weight: 500;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.timeline-hora {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: clamp(0.72rem, 2.2vw, 0.85rem);
  letter-spacing: 0.15em;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.75;
}

.btn-calendario,
.btn-itinerario {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
  margin-top: 0.5rem;
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 999px;
  color: #e8d5a3;
  background: rgba(6, 15, 10, 0.5);
  backdrop-filter: blur(4px);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.62rem, 2vw, 0.74rem);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 246, 201, 0.05), 0 6px 18px rgba(6, 15, 10, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.btn-calendario::before,
.btn-itinerario::before {
  content: "";
  position: absolute;
  inset: -80% -35%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 246, 201, 0.34) 48%, rgba(201, 168, 76, 0.42) 52%, transparent 66%);
  transform: translateX(-120%) rotate(8deg);
  transition: transform 0.7s ease;
  pointer-events: none;
}

.btn-calendario:hover,
.btn-itinerario:hover {
  background: rgba(6, 15, 10, 0.58);
  border-color: rgba(201, 168, 76, 0.7);
  box-shadow: inset 0 0 12px rgba(201, 168, 76, 0.08), 0 0 18px rgba(201, 168, 76, 0.2);
  transform: translateY(-1px);
}

.btn-calendario:hover::before,
.btn-itinerario:hover::before {
  transform: translateX(120%) rotate(8deg);
}

.dresscode-section,
.regalos-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(201,168,76,0.35);
  background: rgba(6,15,10,0.4);
  backdrop-filter: blur(4px);
  position: relative;
}

.info-card::before,
.info-card::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #c9a84c;
  border-style: solid;
}

.info-card::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.info-card::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.info-card-corner-tr,
.info-card-corner-bl {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #c9a84c;
  border-style: solid;
}

.info-card-corner-tr {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.info-card-corner-bl {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.info-card-icono {
  width: clamp(64px, 16vw, 90px);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.info-card-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-card-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-style: italic;
  line-height: 1.8;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dresscode-section,
.regalos-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
  max-width: 480px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.info-card::before,
.info-card::after {
  display: none;
}

.info-card-icono {
  width: 300px;
  height: 300px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.info-card-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 600;
  margin: 0.4rem 0 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-card-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.playlist-section,
.deseos-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.deseos-card {
  max-width: 520px;
}

.deseos-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.deseos-form-panel {
  width: 100%;
}

.deseos-form-panel.hidden {
  display: none;
}

.deseos-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  margin-top: 0.5rem;
}

.deseos-form input,
.deseos-form textarea {
  width: 100%;
  background: rgba(6, 15, 10, 0.5);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: #e8d5a3;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  padding: 0.7rem 1rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

.deseos-form input::placeholder,
.deseos-form textarea::placeholder {
  color: rgba(232, 213, 163, 0.4);
}

.deseos-form input:focus,
.deseos-form textarea:focus {
  border-color: rgba(201, 168, 76, 0.8);
}

.deseos-status {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: #c9a84c;
  min-height: 1.2rem;
  margin: 0;
}

.deseos-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.deseo-item {
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0.9rem 1.1rem;
  background: rgba(6, 15, 10, 0.4);
  text-align: left;
}

.deseo-item-nombre {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.deseo-item-mensaje {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
}

.wishes-empty {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rsvp-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-card {
  max-width: 480px;
}

.rsvp-invitado-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
}

.rsvp-nombre-invitado {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 400;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rsvp-lugares-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 3vw, 1.1rem);
  font-style: italic;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
}

#rsvp-submit {
  width: 100%;
  max-width: 280px;
  justify-content: center;
  cursor: pointer;
}

.frase-final-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.frase-final-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 480px;
  text-align: center;
}

.frase-final-flor {
  width: clamp(60px, 14vw, 100px);
  filter: drop-shadow(0 0 14px rgba(201,168,76,0.5));
}

.frase-final-flor--bottom {
  transform: rotate(180deg);
  opacity: 0.7;
}

.frase-final-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 3.8vw, 1.4rem);
  font-style: italic;
  line-height: 1.9;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rsvp-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rsvp-section .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
  max-width: 520px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.rsvp-section .info-card::before,
.rsvp-section .info-card::after,
.rsvp-section .info-card-corner-tr,
.rsvp-section .info-card-corner-bl {
  display: none;
}

.rsvp-section .info-card-icono {
  width: 300px;
  height: 300px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.rsvp-section .info-card-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 600;
  margin: 0.4rem 0 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rsvp-section .info-card-texto,
.rsvp-lugares-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#fireflies-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 1.2s ease;
}

#fireflies-canvas.visible {
  opacity: 1;
}

.rsvp-opciones {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  width: 100%;
  align-items: center;
}

.btn-rsvp-opcion {
  width: 100%;
  max-width: 280px;
  padding: 0.75rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.78rem, 2.5vw, 0.9rem);
  letter-spacing: 0.15em;
  cursor: pointer;
  border: 1px solid rgba(201,168,76,0.6);
  background: rgba(6,15,10,0.5);
  color: #e8d5a3;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.btn-rsvp-opcion:hover {
  background: rgba(201,168,76,0.12);
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
}

.btn-rsvp-opcion--no {
  opacity: 0.65;
  font-size: clamp(0.72rem, 2.2vw, 0.82rem);
}

.rsvp-pases-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.rsvp-pases-panel.hidden {
  display: none;
}

.rsvp-pases-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-style: italic;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rsvp-pases-counter {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-pase {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201,168,76,0.6);
  background: rgba(6,15,10,0.5);
  color: #e8d5a3;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.btn-pase:hover {
  background: rgba(201,168,76,0.15);
}

#pase-numero {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 600;
  min-width: 2rem;
  text-align: center;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-auto-section {
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: 86vw;
  max-height: 760px;
  min-height: 420px;
  overflow: hidden;
  background: #0d2416;
}

.gallery-auto-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-auto-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  border: 1px solid rgba(201,168,76,0.7);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.15),
    inset 0 0 30px rgba(201,168,76,0.08),
    0 0 40px rgba(201,168,76,0.15);
  overflow: hidden;
}

.gallery-auto-slide::before,
.gallery-auto-slide::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #c9a84c;
  border-style: solid;
  z-index: 2;
}

.gallery-auto-slide::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.gallery-auto-slide::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.gallery-auto-slide.is-active {
  opacity: 1;
}

.gallery-auto-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.playlist-section,
.deseos-section {
  background: #0d2416;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.playlist-section .info-card,
.deseos-section .info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  width: 100%;
  max-width: 520px;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

.playlist-section .info-card::before,
.playlist-section .info-card::after,
.deseos-section .info-card::before,
.deseos-section .info-card::after,
.playlist-section .info-card-corner-tr,
.playlist-section .info-card-corner-bl,
.deseos-section .info-card-corner-tr,
.deseos-section .info-card-corner-bl {
  display: none;
}

.playlist-section .info-card-icono,
.deseos-section .info-card-icono {
  width: 300px;
  height: 300px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(201,168,76,0.5));
}

.playlist-section .info-card-titulo,
.deseos-section .info-card-titulo {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.8rem);
  font-weight: 600;
  margin: 0.4rem 0 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.playlist-section .info-card-texto,
.deseos-section .info-card-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 500;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  background: linear-gradient(140deg, #fff6c9 0%, #e8d5a3 24%, #c9a84c 52%, #fff1b0 74%, #a97724 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-element h2,
.fade-in-element h3,
.fade-in-element h4,
.fade-in-element .info-card-titulo,
.fade-in-element .timeline-heading,
.fade-in-element .itinerario-titulo,
.fade-in-element .countdown-titulo,
.fade-in-element .padres-label {
  opacity: 0;
  transform: translateY(18px) scale(0.97);
}

.fade-in-element.is-visible h2,
.fade-in-element.is-visible h3,
.fade-in-element.is-visible h4,
.fade-in-element.is-visible .info-card-titulo,
.fade-in-element.is-visible .timeline-heading,
.fade-in-element.is-visible .itinerario-titulo,
.fade-in-element.is-visible .countdown-titulo,
.fade-in-element.is-visible .padres-label {
  animation: textRevealUp 0.85s ease both, titleGlow 4.4s ease-in-out 0.85s infinite, goldTextFlow 6s linear 0.85s infinite;
}

.fade-in-element p,
.fade-in-element .count-label,
.fade-in-element .countdown-fecha,
.fade-in-element .itinerario-lugar,
.fade-in-element .itinerario-direccion,
.fade-in-element .itinerario-hora,
.fade-in-element .info-card-texto,
.fade-in-element .timeline-nombre,
.fade-in-element .timeline-hora {
  opacity: 0;
  transform: translateY(14px);
}

.fade-in-element.is-visible p,
.fade-in-element.is-visible .count-label,
.fade-in-element.is-visible .countdown-fecha,
.fade-in-element.is-visible .itinerario-lugar,
.fade-in-element.is-visible .itinerario-direccion,
.fade-in-element.is-visible .itinerario-hora,
.fade-in-element.is-visible .info-card-texto,
.fade-in-element.is-visible .timeline-nombre,
.fade-in-element.is-visible .timeline-hora {
  animation: textRevealSoft 0.75s ease 0.14s both;
}

.slide-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in-element {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.zoom-in-element.is-visible {
  opacity: 1;
  transform: scale(1);
}

.timeline-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  transition-delay: calc(var(--reveal-order, 0) * 0.08s);
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.3),
    0 12px 40px rgba(0,0,0,0.3),
    0 0 30px rgba(201,168,76,0.12);
}

.gallery-auto-slide img {
  transition: transform 6s ease;
}

.gallery-auto-slide.is-active img {
  transform: scale(1.04);
}

.itinerario-icono {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.itinerario-card:hover .itinerario-icono {
  transform: translateY(-5px) scale(1.08);
  filter: drop-shadow(0 0 18px rgba(201,168,76,0.7));
}

.timeline-dot {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.12);
  box-shadow: 0 0 24px rgba(201,168,76,0.45);
}

.btn-itinerario,
.btn-calendario,
.btn-rsvp-opcion {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.btn-itinerario:active,
.btn-calendario:active,
.btn-rsvp-opcion:active {
  transform: scale(0.97);
}

.hero-corona {
  animation: corona-float 3.5s ease-in-out infinite;
}

.padres-flor {
  animation: corona-float 4s ease-in-out infinite;
  animation-delay: 0.5s;
}

.frase-final-flor {
  animation: corona-float 4.5s ease-in-out infinite;
}

.count-lotus {
  animation: corona-float 3s ease-in-out infinite;
}

.count-unit:nth-child(2) .count-lotus { animation-delay: 0.2s; }
.count-unit:nth-child(3) .count-lotus { animation-delay: 0.4s; }
.count-unit:nth-child(4) .count-lotus { animation-delay: 0.6s; }

.separador-foto-inner {
  transition: box-shadow 0.4s ease;
}

.separador-foto:hover .separador-foto-inner {
  box-shadow:
    0 0 0 1px rgba(201,168,76,0.5),
    inset 0 0 40px rgba(201,168,76,0.12),
    0 0 60px rgba(201,168,76,0.25);
}

@keyframes textRevealUp {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes textRevealSoft {
  0% {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes titleGlow {
  0%, 100% {
    text-shadow: 0 4px 14px rgba(82, 52, 14, 0.28), 0 0 12px rgba(201, 168, 76, 0.24);
  }
  50% {
    text-shadow: 0 5px 18px rgba(82, 52, 14, 0.38), 0 0 24px rgba(255, 246, 201, 0.42), 0 0 36px rgba(201, 168, 76, 0.24);
  }
}

@keyframes textFloatSoft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes goldTextFlow {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 220% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portada-main-name,
  .hero-mis-quince,
  .hero-nombre,
  .hero-frase,
  .fade-in-element.is-visible h2,
  .fade-in-element.is-visible h3,
  .fade-in-element.is-visible h4,
  .fade-in-element.is-visible .info-card-titulo,
  .fade-in-element.is-visible .timeline-heading,
  .fade-in-element.is-visible .itinerario-titulo,
  .fade-in-element.is-visible .countdown-titulo,
  .fade-in-element.is-visible .padres-label,
  .fade-in-element.is-visible p,
  .fade-in-element.is-visible .count-label,
  .fade-in-element.is-visible .countdown-fecha,
  .fade-in-element.is-visible .itinerario-lugar,
  .fade-in-element.is-visible .itinerario-direccion,
  .fade-in-element.is-visible .itinerario-hora,
  .fade-in-element.is-visible .info-card-texto,
  .fade-in-element.is-visible .timeline-nombre,
  .fade-in-element.is-visible .timeline-hora {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}
