/* =========================================================
   TEMA PUBLICO DE BODA
   Variables, tipografias locales y base visual compartida por
   portada, invitacion y confirmacion RSVP.
========================================================= */
:root {
  --color-petroleo: #0f3f46;
  --color-petroleo-oscuro: #08272d;
  --color-hueso: #f7f1e8;
  --color-dorado: #c9a86a;
  --color-beige: #d8c7ad;
  --color-texto: #4b4238;
  --color-blanco-suave: #fffaf3;
  --color-tinta: #172f34;
  --shadow-soft: 0 24px 70px rgba(15, 63, 70, 0.18);
  --shadow-deep: 0 32px 90px rgba(8, 39, 45, 0.26);
  --radius: 8px;
  --content-width: 1120px;
}

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cinzel";
  src: url("/fonts/Cinzel-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.wedding-body {
  margin: 0;
  overflow-x: hidden;
  color: var(--color-texto);
  background:
    radial-gradient(circle at 12% 8%, rgba(201, 168, 106, 0.2), transparent 24rem),
    radial-gradient(circle at 88% 16%, rgba(15, 63, 70, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--color-blanco-suave), var(--color-hueso) 46%, #efe1cf);
  font-family: "Cinzel", Georgia, serif;
  letter-spacing: 0;
}

.wedding-body.intro-active {
  overflow: hidden;
}

.wedding-body img {
  max-width: 100%;
}

.wedding-body a,
.wedding-body button,
.wedding-body input,
.wedding-body textarea {
  font: inherit;
}

.wedding-body :focus-visible {
  outline: 3px solid rgba(201, 168, 106, 0.75);
  outline-offset: 4px;
}

/* =========================================================
   PORTADA INICIAL - JERARQUIA VISUAL DE LOS NOVIOS
   El nombre de Evelyn y Ricardo se mantiene como elemento
   principal de la portada, por encima del nombre del invitado.
   La logica de token permanece en servidor y JavaScript publico.
========================================================= */
.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 24px;
  background:
    linear-gradient(rgba(8, 39, 45, 0.42), rgba(8, 39, 45, 0.38)),
    url("/images/wedding/wedding-bg-rings.png") center bottom / cover no-repeat,
    var(--color-hueso);
}

/* Cuando la portada termina su transicion debe salir realmente del flujo
   interactivo; evita que una capa invisible bloquee botones y enlaces. */
.intro[hidden] {
  display: none !important;
  pointer-events: none;
}

.intro::before,
.intro::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.intro::before {
  inset: 0;
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 250, 243, 0.88), rgba(255, 250, 243, 0.28) 26rem, rgba(8, 39, 45, 0.12)),
    linear-gradient(90deg, rgba(8, 39, 45, 0.2), transparent 28%, transparent 72%, rgba(8, 39, 45, 0.18));
}

.intro::after {
  inset: clamp(16px, 4vw, 54px);
  border: 1px solid rgba(15, 63, 70, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 243, 0.46),
    inset 0 0 70px rgba(255, 250, 243, 0.32);
}

#smoke {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.46;
}

.intro-content {
  position: relative;
  z-index: 2;
  width: min(100%, 900px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 2.2vw, 16px);
  text-align: center;
  color: var(--color-petroleo-oscuro);
  animation: weddingFadeUp 900ms ease both;
}

.intro-escudo {
  width: clamp(112px, 22vw, 176px);
  filter: drop-shadow(0 20px 26px rgba(8, 39, 45, 0.32));
  animation: sealPulse 4.8s ease-in-out infinite;
}

.linea {
  margin: 0;
  color: var(--color-petroleo);
  font-size: clamp(0.88rem, 2vw, 1.08rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.8vw, 12px);
}

.intro-couple-name-img {
  width: clamp(280px, 68vw, 680px);
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 28px rgba(255, 250, 243, 0.58));
}

/* La promesa reemplaza visualmente a la fecha; conserva tamano, color
   y espaciado, pero comparte familia tipografica con el invitado. */
.intro-promise-text {
  max-width: min(88vw, 680px);
  margin: 0;
  color: var(--color-petroleo);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1rem, 2.6vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.intro-label {
  margin: 8px 0 0;
  color: #856e48;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-nombre {
  max-width: 100%;
  margin: 0;
  color: var(--color-petroleo-oscuro);
  font-size: clamp(1.25rem, 4.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 36px rgba(255, 250, 243, 0.64);
}

/* Los tamanos usan clamp() para sostener tactilidad en movil sin
   sobredimensionar el CTA ni competir con el nombre de los novios. */
.intro-btn {
  min-height: 42px;
  max-width: min(82vw, 260px);
  margin-top: 8px;
  padding: clamp(0.55rem, 1.8vw, 0.85rem) clamp(1rem, 4vw, 1.8rem);
  color: var(--color-blanco-suave);
  background:
    linear-gradient(135deg, rgba(15, 63, 70, 0.98), rgba(8, 39, 45, 0.98));
  border: 1px solid rgba(201, 168, 106, 0.76);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(8, 39, 45, 0.28);
  cursor: pointer;
  font-size: clamp(0.78rem, 2.8vw, 1rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.intro-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(8, 39, 45, 0.34);
}

.intro-btn.disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

/* =========================================================
   ESTRUCTURA GENERAL DE LA INVITACION
   Secciones fluidas y responsive con aparicion suave por scroll.
========================================================= */
#app {
  min-height: 100vh;
}

.wedding-page {
  position: relative;
  overflow: hidden;
}

.section-inner {
  width: min(var(--content-width), calc(100% - 32px));
  margin-inline: auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: #8a744f;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wedding-page h1,
.wedding-page h2,
.wedding-confirmation h2 {
  margin: 0;
  color: var(--color-petroleo-oscuro);
  font-weight: 600;
  line-height: 1.1;
}

.wedding-page h2,
.wedding-confirmation h2 {
  font-size: clamp(2rem, 5vw, 3.8rem);
}

.wedding-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  color: var(--color-petroleo-oscuro);
  background: var(--color-blanco-suave);
  border: 1px solid rgba(15, 63, 70, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(8, 39, 45, 0.13);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.wedding-button:hover {
  transform: translateY(-2px);
  border-color: rgba(201, 168, 106, 0.72);
  box-shadow: 0 20px 44px rgba(8, 39, 45, 0.18);
}

.wedding-button--light {
  color: var(--color-blanco-suave);
  background: linear-gradient(135deg, var(--color-petroleo), var(--color-petroleo-oscuro));
  border-color: rgba(201, 168, 106, 0.72);
}

.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   HERO / FOTO DE INTRO
========================================================= */
.wedding-hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.wedding-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/images/wedding/wedding-reference-cover.png") center / cover no-repeat;
  transform: scale(1.02);
}

.wedding-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 250, 243, 0.84), rgba(255, 250, 243, 0.38) 25rem, rgba(8, 39, 45, 0.18)),
    linear-gradient(180deg, rgba(255, 250, 243, 0.7), rgba(247, 241, 232, 0.9));
}

.wedding-hero__content {
  width: min(760px, calc(100% - 32px));
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 92px 0 120px;
  text-align: center;
}

.wedding-logo {
  width: clamp(130px, 18vw, 190px);
  filter: drop-shadow(0 22px 28px rgba(8, 39, 45, 0.3));
}

.wedding-eyebrow,
.wedding-date,
.wedding-guest {
  margin: 0;
}

.wedding-eyebrow {
  color: #8a744f;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wedding-hero h1 {
  font-size: clamp(3.3rem, 11vw, 8rem);
  letter-spacing: 0;
}

.wedding-date {
  color: var(--color-petroleo);
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wedding-guest {
  color: var(--color-texto);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
}

/* =========================================================
   CONTADOR Y FOTO SECUNDARIA
========================================================= */
.photo-countdown,
.promise-section,
.gallery-section,
.reserved-section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.split-layout {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.photo-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-deep);
}

.photo-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.countdown-panel {
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.82), rgba(247, 241, 232, 0.96));
  border: 1px solid rgba(201, 168, 106, 0.32);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.countdown-item {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 16px 10px;
  color: var(--color-blanco-suave);
  background:
    linear-gradient(145deg, var(--color-petroleo), var(--color-petroleo-oscuro));
  border: 1px solid rgba(201, 168, 106, 0.46);
  border-radius: var(--radius);
}

.countdown-item span {
  font-size: clamp(2rem, 7vw, 3.6rem);
  line-height: 1;
}

.countdown-item small {
  color: var(--color-beige);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================================
   FRASE Y PROMESA RELIGIOSA
========================================================= */
.quote-section {
  position: relative;
  padding: clamp(76px, 10vw, 132px) 0;
  text-align: center;
  background:
    linear-gradient(rgba(8, 39, 45, 0.86), rgba(8, 39, 45, 0.86)),
    url("/images/wedding/ornament-leaves-wide.png") center / cover no-repeat;
}

.quote-section blockquote {
  margin: 0;
  color: var(--color-blanco-suave);
  font-size: clamp(1.6rem, 5vw, 4.2rem);
  line-height: 1.35;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.ornament {
  width: min(420px, 80vw);
  margin-bottom: 20px;
  opacity: 0.34;
}

.promise-card,
.dress-card,
.reserved-card,
.confirm-card,
.confirmation-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.92), rgba(247, 241, 232, 0.98));
  border: 1px solid rgba(201, 168, 106, 0.34);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.promise-card::before,
.confirmation-shell::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(15, 63, 70, 0.22);
  pointer-events: none;
}

.promise-logo {
  width: 112px;
  filter: drop-shadow(0 12px 18px rgba(8, 39, 45, 0.18));
}

.parents-grid,
.gift-grid,
.event-grid {
  display: grid;
  gap: 18px;
}

.parents-grid {
  margin: 34px auto;
}

.parents-title {
  color: #8a744f;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.names-lockup {
  display: grid;
  gap: 4px;
  margin: 34px 0;
  color: var(--color-petroleo);
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  line-height: 0.95;
}

.names-lockup span:nth-child(2) {
  color: var(--color-dorado);
  font-size: 0.7em;
}

.wedding-time,
.event-time {
  color: var(--color-petroleo);
  font-weight: 600;
}

/* =========================================================
   EVENTOS, TRANSICION E ITINERARIO
========================================================= */
.event-section,
.timeline-section,
.dress-section,
.gifts-section,
.confirm-cta {
  padding: clamp(64px, 9vw, 110px) 0;
}

.event-card,
.gift-card {
  padding: clamp(28px, 5vw, 46px);
  background: var(--color-blanco-suave);
  border: 1px solid rgba(15, 63, 70, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.event-card--dark {
  color: var(--color-blanco-suave);
  background:
    linear-gradient(145deg, var(--color-petroleo), var(--color-petroleo-oscuro));
}

.event-card--dark h2,
.event-card--dark .section-kicker,
.event-card--dark .event-time {
  color: var(--color-blanco-suave);
}

.visual-break {
  min-height: 72vh;
  display: grid;
  place-items: end center;
  padding: 0 20px 56px;
  color: var(--color-blanco-suave);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(8, 39, 45, 0.12), rgba(8, 39, 45, 0.74)),
    url("/images/wedding/wedding-bg-rings.png") center / cover fixed no-repeat;
}

.visual-break p {
  width: min(760px, 100%);
  margin: 0;
  font-size: clamp(1.7rem, 5vw, 4.3rem);
  line-height: 1.15;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-list li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  background: rgba(255, 250, 243, 0.82);
  border: 1px solid rgba(201, 168, 106, 0.28);
  border-radius: var(--radius);
}

.timeline-list time {
  color: var(--color-petroleo);
  font-weight: 600;
}

.dress-grid {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.dress-note {
  display: inline-block;
  margin: 8px 0 0;
  padding: 14px 18px;
  color: var(--color-petroleo-oscuro);
  background: rgba(201, 168, 106, 0.18);
  border: 1px solid rgba(201, 168, 106, 0.44);
  border-radius: var(--radius);
}

/* =========================================================
   GALERIA Y REGALOS
========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.gallery-grid button {
  min-height: 180px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-grid button:hover img {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(8, 39, 45, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: 86vh;
  border-radius: var(--radius);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  color: var(--color-blanco-suave);
  background: var(--color-petroleo);
  border: 1px solid rgba(201, 168, 106, 0.62);
  border-radius: 50%;
  cursor: pointer;
}

.gift-card h3 {
  margin: 0 0 10px;
  color: var(--color-petroleo);
  font-size: 1.5rem;
}

.section-copy {
  max-width: 720px;
}

.reserved-card p {
  margin: 0;
  color: var(--color-petroleo-oscuro);
  font-size: clamp(1.4rem, 4vw, 3rem);
}

.reserved-card strong {
  color: var(--color-dorado);
}

.confirm-card img {
  width: min(520px, 92%);
  margin-bottom: 18px;
}

/* =========================================================
   CONTROL DE AUDIO DE FONDO
========================================================= */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--color-blanco-suave);
  background: linear-gradient(145deg, var(--color-petroleo), var(--color-petroleo-oscuro));
  border: 1px solid rgba(201, 168, 106, 0.72);
  border-radius: 50%;
  box-shadow: 0 18px 34px rgba(8, 39, 45, 0.25);
  cursor: pointer;
}

.music-toggle.is-playing .music-toggle__icon {
  animation: musicPulse 1.6s ease-in-out infinite;
}

/* =========================================================
   CONFIRMACION RSVP
   Estilos exclusivos de confirmar.hbs. El panel administrativo no
   comparte estas clases, por lo que no hereda la linea grafica de boda.
========================================================= */
.wedding-confirmation {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 72px) 16px;
  background:
    linear-gradient(rgba(255, 250, 243, 0.78), rgba(247, 241, 232, 0.92)),
    url("/images/wedding/wedding-bg-rings.png") center / cover no-repeat;
}

.confirmation-shell {
  width: min(760px, 100%);
}

.confirmation-logo {
  width: 116px;
  filter: drop-shadow(0 14px 20px rgba(8, 39, 45, 0.24));
}

.mensaje,
.confirmado,
.confirmation-thanks {
  color: var(--color-texto);
}

.acciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.acciones button {
  min-height: 48px;
  padding: 13px 24px;
  color: var(--color-blanco-suave);
  background: linear-gradient(135deg, var(--color-petroleo), var(--color-petroleo-oscuro));
  border: 1px solid rgba(201, 168, 106, 0.72);
  border-radius: var(--radius);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 220ms ease, opacity 220ms ease;
}

.acciones button:hover {
  transform: translateY(-2px);
}

.acciones button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.acciones .btn-no {
  color: var(--color-petroleo-oscuro);
  background: rgba(255, 250, 243, 0.82);
  border-color: rgba(15, 63, 70, 0.22);
}

#formulario {
  margin-top: 30px;
}

.input-group {
  margin: 0 auto 18px;
  text-align: left;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--color-petroleo);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nombre-invitado {
  margin: 0;
  padding: 14px 16px;
  color: var(--color-petroleo-oscuro);
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid rgba(201, 168, 106, 0.36);
  border-radius: var(--radius);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--color-texto);
  background: rgba(255, 250, 243, 0.86);
  border: 1px solid rgba(15, 63, 70, 0.18);
  border-radius: var(--radius);
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: rgba(201, 168, 106, 0.74);
  box-shadow: 0 0 0 4px rgba(201, 168, 106, 0.14);
  outline: none;
}

.field-help {
  display: block;
  margin-top: 6px;
  color: #786b5a;
  font-size: 0.78rem;
}

.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid rgba(255, 250, 243, 0.42);
  border-top-color: var(--color-blanco-suave);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

button.is-loading .button-loader {
  display: inline-block;
}

/* =========================================================
   ANIMACIONES Y RESPONSIVE
========================================================= */
@keyframes weddingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 760px) {
  .split-layout,
  .event-grid,
  .gift-grid,
  .parents-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }

  .gallery-grid button:first-child {
    grid-row: span 2;
    min-height: 430px;
  }
}

@media (max-width: 680px) {
  .intro {
    padding: 18px;
  }

  .intro::after {
    inset: 12px;
  }

  .wedding-hero {
    min-height: 94vh;
  }

  .photo-card {
    min-height: 320px;
  }

  .timeline-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .acciones {
    flex-direction: column;
  }

  .acciones button,
  .wedding-button {
    width: 100%;
  }

  .music-toggle {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .visual-break {
    background-attachment: scroll;
  }
}
