/* =========================================================
   ESTILOS DE ULTRA-LUJO: INVITACIÓN "CARTA VERDE"
   Bárbara & Sergio · 03.02.2027
   ========================================================= */

:root {
  /* Paleta "Carta Verde" Imperial */
  --emerald-deep: #0e2017;
  --emerald-dark: #152e22;
  --emerald: #1d3d2e;
  --emerald-medium: #2a523e;
  --emerald-light: #3e6e55;
  --sage: #759281;
  --sage-light: #9db5a7;
  --sage-mist: #e8eee9;

  /* Papelería de Algodón y Lino */
  --paper: #fbf8f2;
  --paper-cream: #f4eee2;
  --paper-card: #ffffff;
  --paper-border: #e6dcce;

  /* Oro Satinado y Foil Metálico */
  --gold: #c8a35e;
  --gold-light: #e6c88b;
  --gold-dark: #9a7636;
  --gold-shimmer: linear-gradient(135deg, #c8a35e 0%, #f7e8c3 50%, #b88d44 100%);
  --gold-glow: 0 0 20px rgba(200, 163, 94, 0.35);

  /* Tintas de Imprenta */
  --ink: #1a2620;
  --ink-soft: #4c5d54;
  --ink-muted: #798a81;
  --white: #ffffff;

  /* Sombras y Elevación */
  --shadow-lux: 0 25px 60px -15px rgba(14, 32, 23, 0.22);
  --shadow-card: 0 15px 35px -10px rgba(14, 32, 23, 0.12);
  --shadow-soft: 0 8px 20px -5px rgba(14, 32, 23, 0.08);

  /* Transiciones */
  --trans-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--paper);
  background-image: 
    radial-gradient(ellipse at 15% 10%, rgba(200, 163, 94, 0.08), transparent 45%),
    radial-gradient(ellipse at 85% 90%, rgba(29, 61, 46, 0.06), transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6), transparent 60%);
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 1.6;
  touch-action: pan-y;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* =========================================================
   SOBRE 3D REALISTA CON SELLO DE LACRE ESMERALDA Y ORO
   ========================================================= */
.envelope-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: 
    radial-gradient(circle at center, rgba(30, 60, 45, 0.88), rgba(10, 22, 16, 0.97)),
    #0e2017;
  backdrop-filter: blur(12px);
  transition: opacity 0.85s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.85s;
}

.envelope-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.envelope-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 90vw;
  perspective: 1400px;
}

.envelope-card-hint {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.7rem, 2.5vw, 0.85rem);
  letter-spacing: 0.3em;
  color: var(--gold-light);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.envelope-card-hint .sparkle {
  color: var(--gold);
  animation: pulseGold 2s infinite ease-in-out;
}

@keyframes pulseGold {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

.envelope-box {
  position: relative;
  width: min(84vw, 360px);
  height: min(58vw, 248px);
  transform-style: preserve-3d;
  cursor: pointer;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.6));
  transition: transform 0.4s ease;
}

.envelope-box:hover {
  transform: translateY(-4px) scale(1.02);
}

/* Fondo interior del sobre */
.env-back {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #183628, #10251c);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(200, 163, 94, 0.25);
}

.env-lining {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(200, 163, 94, 0.15) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(200, 163, 94, 0.04) 0px, rgba(200, 163, 94, 0.04) 2px, transparent 2px, transparent 10px);
}

/* Carta interna que emerge al abrir */
.env-letter {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 6%;
  height: 86%;
  background: var(--paper);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--paper-border);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  transform: translateY(0) translateZ(4px);
  transition: transform 1.0s cubic-bezier(0.16, 1, 0.3, 1) 0.45s, box-shadow 0.6s ease 0.5s;
}

.env-letter-inner {
  border: 1px solid rgba(200, 163, 94, 0.4);
  padding: 1rem;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.7);
}

.letter-monogram {
  width: 36px;
  height: 36px;
}

.letter-monogram img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.letter-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.letter-names {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.4rem, 5vw, 1.8rem);
  color: var(--emerald);
  line-height: 1;
}

.letter-date {
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
}

/* Solapas del sobre */
.env-flap-left, .env-flap-right, .env-flap-bottom {
  position: absolute;
  z-index: 4;
  transform: translateZ(8px);
}

.env-flap-left {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1b3d2e, #132a20);
  clip-path: polygon(0 0, 0 100%, 50% 50%);
  filter: drop-shadow(2px 0 4px rgba(0, 0, 0, 0.2));
}

.env-flap-right {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(225deg, #1e4232, #142b20);
  clip-path: polygon(100% 0, 100% 100%, 50% 50%);
  filter: drop-shadow(-2px 0 4px rgba(0, 0, 0, 0.2));
}

.env-flap-bottom {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, #163225, #214636);
  clip-path: polygon(0 100%, 100% 100%, 50% 48%);
  filter: drop-shadow(0 -3px 6px rgba(0, 0, 0, 0.3));
}

.env-flap-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 62%;
  background: linear-gradient(180deg, #244d3a, #193829);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: top center;
  transform-style: preserve-3d;
  transform: rotateX(0deg) translateZ(12px);
  z-index: 5;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.35));
}

/* Sello de Lacre Esmeralda y Oro */
.wax-seal {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(14px);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #2a5a43, #163324 75%, #0d2016);
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.6),
    inset 0 2px 4px rgba(255, 255, 255, 0.25),
    inset 0 -3px 6px rgba(0, 0, 0, 0.7);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  border: 1px solid rgba(200, 163, 94, 0.4);
}

.wax-rim {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 163, 94, 0.6);
  pointer-events: none;
}

.wax-inner {
  width: 70%;
  height: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.5));
}

.wax-inner img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: brightness(1.2) sepia(0.3);
}

.wax-shine {
  position: absolute;
  top: 10%;
  left: 15%;
  width: 35%;
  height: 25%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.35), transparent 70%);
  border-radius: 50%;
  transform: rotate(-35deg);
  pointer-events: none;
}

/* Estado de Sobre Abierto */
.envelope-box.is-opened .env-flap-top {
  transform: rotateX(180deg) translateZ(-6px);
  z-index: 1;
  transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1), z-index 0.01s linear 0.4s;
}

.envelope-box.is-opened .wax-seal {
  opacity: 0;
  transform: translate(-50%, -50%) translateZ(14px) scale(0.8);
  pointer-events: none;
}

.envelope-box.is-opened .env-letter {
  transform: translateY(-55%) translateZ(25px);
  z-index: 20;
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.45);
}

.envelope-caption {
  margin-top: 2rem;
}

.env-couple-title {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2rem, 7vw, 2.8rem);
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.env-couple-title span {
  color: var(--gold-light);
  font-family: 'Cinzel', serif;
  font-size: 0.8em;
}

.env-touch-hint {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.7rem, 2.4vw, 0.85rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-mist);
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  animation: pulseHint 2.2s infinite ease-in-out;
}

.env-touch-hint svg {
  animation: bounceHint 1.8s infinite ease-in-out;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; color: var(--gold-light); }
}

@keyframes bounceHint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* =========================================================
   PARTÍCULAS BOTÁNICAS Y POLVO DE ORO
   ========================================================= */
.ambient-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}

.particle-leaf {
  position: absolute;
  top: -40px;
  will-change: transform, opacity;
  color: var(--emerald-medium);
  opacity: 0.45;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.particle-gold {
  position: absolute;
  top: -20px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--gold-light), var(--gold-dark));
  box-shadow: 0 0 8px var(--gold);
  will-change: transform, opacity;
}

/* =========================================================
   REPRODUCTOR FLOTANTE DE LUJO (FAB)
   ========================================================= */
.floating-music-widget {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100;
}

.music-disc-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px;
  outline: none;
}

.vinyl-record {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1b3d2e, #0e2017);
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(14, 32, 23, 0.35);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.music-disc-btn:hover .vinyl-record {
  transform: scale(1.08);
}

.vinyl-lines {
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(200, 163, 94, 0.3);
}

.vinyl-center {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.vinyl-center img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.music-disc-btn.is-playing .vinyl-record {
  animation: rotateVinyl 8s linear infinite;
}

@keyframes rotateVinyl {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
  padding: 0 4px;
}

.sound-bars span {
  width: 3px;
  height: 4px;
  background: var(--gold-dark);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.music-disc-btn.is-playing .sound-bars span:nth-child(1) { animation: soundBar 0.9s infinite ease-in-out 0.1s; }
.music-disc-btn.is-playing .sound-bars span:nth-child(2) { animation: soundBar 1.2s infinite ease-in-out 0.3s; }
.music-disc-btn.is-playing .sound-bars span:nth-child(3) { animation: soundBar 0.8s infinite ease-in-out 0.2s; }
.music-disc-btn.is-playing .sound-bars span:nth-child(4) { animation: soundBar 1.1s infinite ease-in-out 0.4s; }

@keyframes soundBar {
  0%, 100% { height: 4px; }
  50% { height: 18px; background: var(--emerald-medium); }
}

/* =========================================================
   CONTENEDOR PRINCIPAL
   ========================================================= */
.invitation-main {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  position: relative;
  z-index: 10;
}

/* =========================================================
   HERO / PORTADA EDITORIAL DE LUJO
   ========================================================= */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 0 3rem;
  position: relative;
}

.hero-crest {
  width: 90px;
  height: 90px;
  margin-bottom: 1.2rem;
  position: relative;
}

.crest-frame {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--paper-card);
  padding: 8px;
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.line-deco {
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.eyebrow-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--emerald-dark);
  font-weight: 500;
}

.hero-names-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin-bottom: 1.8rem;
}

.name-script {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2.8rem, 10vw, 4.4rem);
  color: var(--emerald-deep);
  line-height: 1.05;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.ampersand {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  color: var(--gold-dark);
  margin: -0.4rem 0;
  font-style: italic;
}

/* Marco de Foto con Bisel Dorado */
.hero-photo-container {
  width: min(88vw, 420px);
  aspect-ratio: 3 / 4;
  margin: 0 auto 1.8rem;
  position: relative;
}

.photo-gold-border {
  width: 100%;
  height: 100%;
  padding: 10px;
  background: var(--paper-card);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-lux);
  position: relative;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  position: relative;
  filter: contrast(1.03) saturate(1.05);
}

.photo-overlay-warmth {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 61, 46, 0.05), rgba(14, 32, 23, 0.25));
}

.corner-filigree {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  border-style: solid;
  pointer-events: none;
}

.corner-filigree.top-left { top: 3px; left: 3px; border-width: 2px 0 0 2px; }
.corner-filigree.top-right { top: 3px; right: 3px; border-width: 2px 2px 0 0; }
.corner-filigree.bottom-left { bottom: 3px; left: 3px; border-width: 0 0 2px 2px; }
.corner-filigree.bottom-right { bottom: 3px; right: 3px; border-width: 0 2px 2px 0; }

.hero-date-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.5rem 1.4rem;
  background: rgba(29, 61, 46, 0.06);
  border: 1px solid rgba(200, 163, 94, 0.4);
  border-radius: 30px;
  font-family: 'Cinzel', serif;
  font-size: clamp(0.85rem, 3vw, 1.05rem);
  letter-spacing: 0.15em;
  color: var(--emerald-deep);
  margin-bottom: 0.6rem;
}

.date-number { font-weight: 700; color: var(--gold-dark); }
.date-sep { color: var(--gold); font-size: 0.7em; }
.date-month { font-weight: 500; }
.date-year { font-weight: 600; }

.hero-location {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.scroll-invitation-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.scroll-arrow-anim {
  color: var(--gold);
  animation: bounceCue 2s infinite ease-in-out;
}

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

/* =========================================================
   FRASE POÉTICA / INTRODUCCIÓN
   ========================================================= */
.section-quote {
  text-align: center;
  padding: 3.5rem 1.5rem;
  position: relative;
}

.botanical-ornament {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: 0.3em;
}

.poetic-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.2rem, 4vw, 1.55rem);
  line-height: 1.6;
  color: var(--emerald-deep);
  max-width: 520px;
  margin: 0 auto 1.4rem;
}

.quote-authors {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 0 auto 1.8rem;
}

.gold-filigree-divider {
  width: 180px;
  margin: 0 auto;
  color: var(--gold);
}

.gold-filigree-divider svg {
  width: 100%;
  height: 16px;
}

/* =========================================================
   REPRODUCTOR DE MÚSICA EMBEBIDO
   ========================================================= */
.section-player {
  padding: 1.5rem 0 2.5rem;
}

.player-card {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.player-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.player-mini-disc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--emerald-dark);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.player-mini-disc img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.player-text {
  display: flex;
  flex-direction: column;
}

.player-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold-dark);
  font-weight: 600;
}

.player-title {
  font-family: 'Marcellus', serif;
  font-size: 1.1rem;
  color: var(--emerald-deep);
}

.player-controls-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.player-btn {
  background: none;
  border: none;
  color: var(--ink-soft);
  width: 28px;
  height: 28px;
  cursor: pointer;
  transition: var(--trans-smooth);
}

.player-btn:hover {
  color: var(--gold-dark);
  transform: scale(1.15);
}

.player-btn-main {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(29, 61, 46, 0.25);
  transition: var(--trans-smooth);
}

.player-btn-main:hover {
  background: var(--emerald-dark);
  transform: scale(1.08);
}

.player-btn-main svg {
  width: 22px;
  height: 22px;
}

.player-progress-wrapper {
  width: 100%;
  height: 4px;
  background: var(--paper-cream);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.player-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* =========================================================
   CUENTA REGRESIVA CON FLIP 3D
   ========================================================= */
.section-countdown {
  text-align: center;
  padding: 3rem 0;
}

.botanical-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 4.5vw, 1.9rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.countdown-photo-box {
  width: min(85vw, 380px);
  aspect-ratio: 4 / 3;
  margin: 0 auto 2rem;
}

.countdown-photo-mask {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  border-radius: 6px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200, 163, 94, 0.4);
}

.mask-gold-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29, 61, 46, 0.1), rgba(14, 32, 23, 0.3));
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 1.5vw, 0.8rem);
  margin-bottom: 2rem;
}

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

.flip-card {
  width: clamp(56px, 16vw, 76px);
  height: clamp(64px, 18vw, 84px);
  background: linear-gradient(160deg, #1d3d2e, #12281e);
  border: 1px solid var(--gold);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 300px;
}

.flip-number {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  display: inline-block;
  transform-style: preserve-3d;
}

.flip-label {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.55rem, 1.8vw, 0.65rem);
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 600;
}

.flip-colon {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.2rem;
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.4rem;
  background: var(--paper-card);
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--emerald-deep);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: var(--trans-smooth);
}

.btn-gold-outline:hover {
  background: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-gold-outline svg {
  color: var(--gold);
  transition: var(--trans-smooth);
}

.btn-gold-outline:hover svg {
  color: var(--gold-light);
}

/* =========================================================
   LUGARES: CEREMONIA Y RECEPCIÓN (TARJETAS DE GALA)
   ========================================================= */
.section-events {
  padding: 3.5rem 0;
  text-align: center;
}

.section-badge-center {
  margin-bottom: 0.4rem;
}

.badge-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.events-container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.event-card-luxury {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: var(--trans-smooth);
}

.event-card-luxury:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lux);
  border-color: rgba(200, 163, 94, 0.5);
}

.event-card-luxury::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-shimmer);
}

.card-img-preview {
  width: calc(100% + 3.6rem);
  margin: -2.2rem -1.8rem 1.8rem -1.8rem;
  height: 180px;
  position: relative;
  overflow: hidden;
}

.card-img-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.event-card-luxury:hover .card-img-preview img {
  transform: scale(1.05);
}

.card-img-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.95));
}

.event-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(29, 61, 46, 0.08);
  border: 1px solid var(--gold);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.event-icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-category {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}

.event-name {
  font-family: 'Cinzel', serif;
  font-size: 1.45rem;
  color: var(--emerald-deep);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.event-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.8rem;
  align-items: center;
}

.event-detail-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.event-detail-row svg {
  color: var(--gold-dark);
  flex-shrink: 0;
}

.event-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.2rem;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-decoration: none;
  transition: var(--trans-smooth);
}

.btn-maps {
  background: var(--emerald);
  color: var(--white);
  border: 1px solid var(--emerald);
}

.btn-maps:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 61, 46, 0.3);
}

.btn-waze {
  background: var(--paper-cream);
  color: var(--emerald-deep);
  border: 1px solid var(--paper-border);
}

.btn-waze:hover {
  background: var(--paper-border);
  transform: translateY(-2px);
}

/* =========================================================
   ITINERARIO / PROGRAMA DE LA BODA (TIMELINE)
   ========================================================= */
.section-itinerary {
  padding: 3.5rem 0;
}

.itinerary-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.itinerary-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.luxury-timeline {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.timeline-line {
  position: absolute;
  top: 15px;
  bottom: 25px;
  left: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--sage-light), var(--gold));
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.tl-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper-card);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
  transition: transform 0.3s ease;
}

.tl-item:hover .tl-icon-wrap {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--emerald);
}

.tl-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tl-icon-wrap.icon-star {
  font-size: 1.6rem;
  color: var(--gold-dark);
}

.tl-content {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 6px;
  padding: 1rem 1.4rem;
  flex: 1;
  box-shadow: var(--shadow-soft);
  transition: var(--trans-smooth);
}

.tl-item:hover .tl-content {
  border-color: rgba(200, 163, 94, 0.4);
  transform: translateX(4px);
}

.tl-time-badge {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.2rem;
}

.tl-title {
  font-family: 'Marcellus', serif;
  font-size: 1.15rem;
  color: var(--emerald-deep);
  margin-bottom: 0.3rem;
}

.tl-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* =========================================================
   BANNER PARALLAX FOTO EDITORIAL
   ========================================================= */
.section-parallax-banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 60vh;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

.parallax-photo-layer {
  position: absolute;
  inset: -15% 0;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
}

.parallax-overlay-filter {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 32, 23, 0.4) 0%, rgba(14, 32, 23, 0.7) 100%);
}

.parallax-quote-box {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: var(--white);
  padding: 2rem;
  border: 1px solid rgba(200, 163, 94, 0.4);
  background: rgba(14, 32, 23, 0.45);
  backdrop-filter: blur(4px);
  border-radius: 4px;
}

.parallax-quote-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.3rem, 4.5vw, 1.85rem);
  line-height: 1.4;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.parallax-signature {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  color: var(--gold-light);
}

/* =========================================================
   CÓDIGO DE VESTIMENTA (DRESS CODE)
   ========================================================= */
.section-dresscode {
  padding: 3rem 0;
}

.dresscode-inner {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  align-items: center;
}

.dresscode-photo-side {
  width: min(85vw, 360px);
}

.dresscode-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
  border: 1px solid var(--gold);
}

.dresscode-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dresscode-info-side {
  text-align: center;
  max-width: 480px;
}

.dresscode-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(29, 61, 46, 0.08);
  border: 1px solid var(--gold);
  color: var(--emerald-dark);
  margin: 0 auto 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dresscode-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.8rem 0;
}

.role-box {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 6px;
  padding: 1.2rem 1rem;
  box-shadow: var(--shadow-soft);
}

.role-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--emerald-deep);
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
}

.role-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.reserved-colors-section {
  background: var(--paper-card);
  border: 1px dashed rgba(200, 163, 94, 0.5);
  border-radius: 6px;
  padding: 1.4rem;
  margin-top: 1.2rem;
}

.reserved-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.swatches-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.swatch-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.swatch-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.swatch-item:hover .swatch-circle {
  transform: scale(1.15);
}

.swatch-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-deep);
}

.swatch-tag {
  font-size: 0.65rem;
  color: var(--gold-dark);
  font-style: italic;
}

/* =========================================================
   GALERÍA EDITORIAL ("NUESTROS MOMENTOS")
   ========================================================= */
.section-gallery {
  padding: 3.5rem 0;
  text-align: center;
}

.gallery-header {
  margin-bottom: 2rem;
}

.gallery-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  background: #000;
  aspect-ratio: 4 / 5;
}

.gallery-item.item-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 32, 23, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.view-icon {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold);
  border-radius: 20px;
  background: rgba(14, 32, 23, 0.7);
  transform: translateY(10px);
  transition: transform 0.35s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.9);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover .view-icon {
  transform: translateY(0);
}

/* =========================================================
   MESA DE REGALOS / TRANSFERENCIA BANCARIA
   ========================================================= */
.section-gifts {
  padding: 3.5rem 0;
  text-align: center;
}

.gift-header {
  margin-bottom: 2rem;
}

.gift-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto;
}

.bank-card-luxury {
  max-width: 440px;
  margin: 2rem auto 0;
  background: linear-gradient(135deg, #183628 0%, #10241b 100%);
  border: 1px solid var(--gold);
  border-radius: 12px;
  box-shadow: var(--shadow-lux);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: left;
}

.bank-card-bg-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(200, 163, 94, 0.2), transparent 45%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 8px);
}

.bank-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.bank-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bank-chip {
  width: 42px;
  height: 32px;
  background: linear-gradient(135deg, #d4af37, #aa862a);
  border-radius: 4px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}

.bank-name-logo {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-weight: 700;
}

.bank-acc-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.acc-type-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--sage-light);
}

.acc-number-display {
  font-family: 'Cinzel', monospace, serif;
  font-size: clamp(1.4rem, 5vw, 1.85rem);
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.acc-holder {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--white);
}

.btn-copy-account {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(200, 163, 94, 0.15);
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--gold-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
}

.btn-copy-account:hover {
  background: var(--gold);
  color: var(--emerald-deep);
}

/* =========================================================
   CONFIRMACIÓN DE ASISTENCIA (RSVP)
   ========================================================= */
.section-rsvp {
  padding: 3.5rem 0;
}

.rsvp-card-container {
  background: var(--paper-card);
  border: 1px solid var(--paper-border);
  border-radius: 10px;
  box-shadow: var(--shadow-lux);
  padding: 2.5rem 1.8rem;
  text-align: center;
  position: relative;
}

.rsvp-ornament {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.rsvp-instructions {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.luxury-rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  max-width: 440px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  font-weight: 600;
}

.luxury-rsvp-form input,
.luxury-rsvp-form select,
.luxury-rsvp-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--paper-border);
  border-radius: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--ink);
  outline: none;
  transition: var(--trans-smooth);
}

.luxury-rsvp-form input:focus,
.luxury-rsvp-form select:focus,
.luxury-rsvp-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 163, 94, 0.2);
}

.form-actions-stacked {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.btn-rsvp-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem;
  background: var(--emerald);
  border: 1px solid var(--gold);
  border-radius: 4px;
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--trans-smooth);
}

.btn-rsvp-primary:hover {
  background: var(--emerald-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lux);
}

.btn-rsvp-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem;
  background: #25D366;
  border: none;
  border-radius: 4px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-smooth);
}

.btn-rsvp-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35);
}

.rsvp-confirmation-toast {
  text-align: center;
  padding: 2rem 1rem;
}

.toast-seal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(29, 61, 46, 0.1);
  color: var(--emerald);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.rsvp-confirmation-toast h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--emerald-deep);
  margin-bottom: 0.6rem;
}

.rsvp-confirmation-toast p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* =========================================================
   CIERRE Y DESPEDIDA
   ========================================================= */
.section-closing {
  padding: 3rem 0 1rem;
  text-align: center;
}

.closing-photo-wrap {
  width: min(88vw, 420px);
  aspect-ratio: 4 / 5;
  margin: 0 auto 2.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
  border: 1px solid var(--gold);
}

.closing-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.closing-content {
  max-width: 500px;
  margin: 0 auto;
}

.closing-message {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.closing-signature {
  font-size: 1.1rem;
  color: var(--emerald-dark);
  font-style: italic;
}

.closing-names {
  font-family: 'Alex Brush', cursive;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  color: var(--emerald-deep);
  line-height: 1.1;
  margin-bottom: 1.8rem;
}

.closing-monogram-seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 2.5rem;
  padding: 6px;
  border-radius: 50%;
  background: var(--paper-card);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-soft);
}

.closing-monogram-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.closing-footer-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* =========================================================
   LIGHTBOX PARA LA GALERÍA
   ========================================================= */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10, 22, 16, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  border: 1px solid var(--gold);
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
}

/* =========================================================
   ANIMACIONES GSAP & ESTADOS INICIALES
   ========================================================= */
[data-reveal="fade-down"] { opacity: 0; transform: translateY(-25px); }
[data-reveal="fade-up"]   { opacity: 0; transform: translateY(25px); }
[data-reveal="zoom-in"]   { opacity: 0; transform: scale(0.92); }

.reveal-section {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================================================
   RESPONSIVE DESIGN (TABLETS & SMARTPHONES)
   ========================================================= */
@media (min-width: 768px) {
  .dresscode-inner {
    flex-direction: row;
    justify-content: center;
    gap: 3.5rem;
  }

  .dresscode-info-side {
    text-align: left;
  }

  .dresscode-icon-badge {
    margin: 0 0 1rem 0;
  }

  .swatches-row {
    justify-content: flex-start;
  }

  .events-container {
    flex-direction: row;
    align-items: stretch;
  }

  .event-card-luxury {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .card-img-preview {
    width: calc(100% + 3.6rem);
    height: 160px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding-top: 3.5rem;
  }

  .hero-photo-container {
    width: 92vw;
  }

  .countdown-grid {
    gap: 0.25rem;
  }

  .flip-card {
    width: 56px;
    height: 64px;
  }

  .flip-number {
    font-size: 1.55rem;
  }

  .flip-colon {
    font-size: 1.3rem;
  }

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

  .gallery-item.item-wide {
    grid-column: span 1;
  }

  .dresscode-roles {
    grid-template-columns: 1fr;
  }

  .bank-card-luxury {
    padding: 1.5rem;
  }

  .acc-number-display {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:where(button, a, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #c5a052;
  outline-offset: 3px;
}
