/* ==========================================================================
   ATELIER INVITACIONES - MANUELA & TOMÁS
   Aesthetic: Editorial Luxury / Minimalist Field & Party
   Format: Full Screen Snap Scroll (Proporciones Ampliadas)
   ========================================================================== */
/* Quita el resalte sombreado azul al tocar en pantallas táctiles (móviles) */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Quita el borde/contorno de enfoque azul al hacer clic en botones y enlaces */
button:focus,
a:focus,
summary:focus,
button:active,
a:active {
  outline: none !important;
  box-shadow: none !important;
}
@font-face {
  font-family: 'Lee Ton Dra Outline';
  src: url('./images/LeeTonDraOutline-9Mp6Z.otf') format('opentype');
  font-display: swap;
}
@font-face {
  font-family: 'BAKERIE ROUGH HEAVY';
  src: url('./images/BakerieRough-Heavy.woff') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'professor';
  src: url('./images/Professor.ttf') format('truetype');
  font-display: swap;
}

:root {
  --color-burgundy: #520f19;       
  --color-terracotta: #9e4139;     
  --color-olive-dark: #424123;     
  --color-corn-gold: #cab87b;      
  --color-bg-light: #faf8f5;       
  --color-white: #ffffff;
  --color-muted-grey: #8a8880;

  --font-featured: 'Lee Ton Dra Outline', sans-serif;
  --font-title: 'BAKERIE ROUGH HEAVY', sans-serif;
  --font-body: 'professor', serif;
  --font-heading: 'BAKERIE ROUGH HEAVY', sans-serif;
  --font-script: 'professor', serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-width-content: 580px;
}

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

/* ==========================================================================
   CONFIGURACIÓN SNAP SCROLL (FULL SCREEN)
   ========================================================================== */

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100%;
  font-size: 16px;
  background-color: var(--color-bg-light);
}

body {
  height: 100%;
  font-family: var(--font-body);
  color: var(--color-olive-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: linear-gradient(rgba(250, 248, 245, 0.5), rgba(250, 248, 245, 0.5)), 
              url('images/fondo.webp') no-repeat center center fixed;
  background-size: cover;
}

.main-container {
  width: 100%;
  max-width: var(--max-width-content);
  margin: 0 auto;
}

/* PLACAS DE PANTALLA COMPLETA CON AIRE Y PRESENCIA */
.section-block,
.date-full-screen,
.full-screen-section,
.party-full-screen,
.phrase-section,
.dresscode-section,
.spotify-section,
.gifts-section,
.photo-upload-section,
.reveal-section,
.editorial-section {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100vw;
  max-width: 100%;
  
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  scroll-snap-align: start;
  scroll-snap-stop: always;
  
  padding: 3rem 1.8rem;
  box-sizing: border-box;
  position: relative;
}

.reveal {
  opacity: 1;
  transition: var(--transition-smooth);
}

/* ==========================================
   OVERLAY DE ENTRADA (COVER INTRO)
   ========================================== */

.intro-overlay {
  position: fixed;
  inset: 0;
  background-image: url('images/fondo.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100vw !important;
  height: 100dvh;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.intro-svg-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  position: relative;
}

.intro-svg-1 {
  width: 85vw;
  max-width: 420px;
  height: auto;
  display: block;
  fill: var(--color-burgundy);
  margin-bottom: 16px;
  z-index: 2;
}

.intro-svg-container > svg:nth-child(2),
.intro-svg:not(.intro-svg-1) {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw !important;
  max-width: 100vw !important;
  height: auto;
  max-height: 85vh;
  overflow: visible;
  z-index: 1;
  pointer-events: none;
}

.botanica-izq { transform: translateX(-480px); transition: transform 0.6s ease; }
.botanica-der { transform: translateX(480px); transition: transform 0.6s ease; }

.intro-svg-container > svg:nth-child(2) path { fill: var(--color-olive-dark) !important; }
.intro-svg-couple { display: none !important; }

.intro-subtitle {
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  color: var(--color-terracotta);
  margin: 12px 0 24px 0;
  font-weight: 400;
  text-transform: uppercase;
  z-index: 2;
}
.intro-enter-btn {
    background: transparent;
    border: none;
    color: var(--color-burgundy, #520f19);
    padding: 0;
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    z-index: 2;
    outline: none;
    
    /* Subrayado editorial */
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 1.5px;
    
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.intro-enter-btn:hover {
    background: transparent;
    color: var(--color-terracotta, #9e4139);
    opacity: 0.75;
    transform: translateY(-2px);
    box-shadow: none;
}

.intro-enter-btn:active {
    transform: translateY(0);
}
/* ==========================================================================
   REPRODUCTOR FLOTANTE
   ========================================================================== */

.music-player-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

.music-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-burgundy);
  color: var(--color-corn-gold);
  border: 1px solid var(--color-corn-gold);
  padding: 10px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(82, 15, 25, 0.35);
  transition: var(--transition-smooth);
}

.music-vinyl {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    var(--color-burgundy) 0px,
    #2a070c 2px,
    var(--color-burgundy) 3px,
    #6d1421 4px
  );
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.music-vinyl .vinyl-center {
  width: 16px;
  height: 16px;
  background-color: var(--color-corn-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-burgundy);
  font-size: 0.55rem;
}

.music-vinyl.spinning {
  animation: spinVinyl 3s linear infinite;
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 1.5rem 2rem 1.5rem;
  scroll-snap-align: start;
}

.hero-frame-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: auto 0;
}

/* Ilustración combinada del Hero ajustada */
.hero-combined-svg {
    width: 100%;
    max-width: 240px; /* Reducido de 340px/400px a 240px */
    height: auto;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

/* Color uniforme borgoña para el trazo */
.hero-combined-svg path {
    fill: var(--color-burgundy, #520f19);
}



.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  opacity: 0.75;
}

#txtScroll {
  font-family: var(--font-title);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-burgundy);
}

.scroll-line {
  width: 1px;
  height: 28px;
  background-color: var(--color-burgundy);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ==========================================================================
   FRASE / MANIFIESTO
   ========================================================================== */

.hero-concept-main {
  font-family: var(--font-featured), sans-serif;
  color: var(--color-burgundy);
  font-size: clamp(3.2rem, 10vw, 5rem);
  font-weight: normal;
  text-align: center;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.hero-concept-sub {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--color-olive-dark);
  line-height: 1.25;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.shift-left {
  display: inline-block;
  transform: translateX(-20px);
}

/* ==========================================================================
   FECHA & AGENDAR
   ========================================================================== */

.date-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  gap: 1.8rem;
  margin: auto 0;
}

.date-editorial-tag {
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--color-burgundy);
  opacity: 0.7;
  font-family: var(--font-featured);
}

.date-svg-container {
  width: 100%;
  max-width: 320px;
  margin: 0.5rem auto;
}

.date-illustration {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.date-illustration path {
  fill: var(--color-olive-dark);
}

.date-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.date-editorial-script {
  font-family: var(--font-title);
  font-size: clamp(2rem, 6vw, 2.8rem);
  color: #2b2b2b;
  letter-spacing: 6px;
  font-weight: 300;
  line-height: 1;
}

/* BOTONES EDITORIALES GRANDES */
.date-editorial-btn,
.editorial-btn,
.party-editorial-btn,
.editorial-link-btn {
  display: inline-block;
  background-color: transparent;
  border: none;
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 8px;
  text-decoration-thickness: 1.5px;
  font-size: 1.05rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: var(--font-title);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.date-editorial-btn:hover,
.editorial-btn:hover,
.party-editorial-btn:hover,
.editorial-link-btn:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

/* ==========================================================================
   CEREMONIA & FIESTA (AUMENTADAS EN TAMAÑO Y ESPACIO)
   ========================================================================== */
/* ==========================================================================
   CEREMONIA & FIESTA (ESCALA EDITORIAL AMPLIADA)
   ========================================================================== */

.venue-editorial-content,
.party-editorial-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px; /* Aumentado de 500px a 540px */
  gap: 2.2rem; /* Mayor separación vertical entre título, SVG y detalles */
  margin: auto 0;
}

.editorial-header,
.party-editorial-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.editorial-tag,
.editorial-tag-sub {
  font-size: 1.5rem; /* Aumentado de 1.35rem */
  letter-spacing: 7px;
  text-transform: uppercase;
  opacity: 0.65;
  font-family: var(--font-featured);
}

.editorial-title,
.party-editorial-title,
.editorial-section-title {
  font-size: clamp(2.8rem, 8.5vw, 3.8rem); /* Título protagónico más grande */
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin: 0;
  font-family: var(--font-title);
  color: #2b2b2b;
  line-height: 1.05;
}

/* Ilustraciones escaladas generosamente */
.svg-container-editorial,
.party-svg-container,
.editorial-svg-wrapper {
  width: 100%;
  max-width: 380px; /* Aumentado de 320px a 380px */
  height: 220px;    /* Aumentado de 180px a 220px */
  margin: 0.8rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-illustration,
.party-illustration {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Fuerza a que el gráfico vectorizado ocupe todo el espacio disponible */
  transform: scale(1.15); 
  transform-origin: center;
}

.map-illustration path,
.party-illustration path {
  fill: var(--color-burgundy);
}

.venue-details,
.party-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.venue-location,
.party-location,
.editorial-venue-name {
  font-size: 2rem; /* Aumentado de 1.7rem a 2rem */
  font-weight: 500;
  color: #2b2b2b;
  margin: 0;
  text-align: center;
  line-height: 1.2;
}

.venue-time,
.party-time,
.editorial-venue-time {
  font-size: 1.4rem; /* Aumentado de 1.25rem a 1.4rem */
  letter-spacing: 5px;
  color: var(--color-burgundy);
  font-weight: 600;
  margin: 0;
}

/* ==========================================================================
   DRESS CODE
   ========================================================================== */

.dresscode-svg-container {
  width: 100%;
  max-width: 220px;
  margin: 0 auto 1rem;
}

.dresscode-illustration path {
  fill: var(--color-burgundy);
}

.dresscode-title-script {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 3rem);
  color: var(--color-burgundy);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.dresscode-main-type {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--color-terracotta);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.dresscode-note {
  font-family: var(--font-body);
  font-size: 1.6rem;
  color: var(--color-burgundy);
  letter-spacing: 0.5px;
  max-width: 360px;
  margin: 1.2rem auto;
  line-height: 1.4;
  border-top: 1px solid rgba(66, 65, 35, 0.15);
  border-bottom: 1px solid rgba(66, 65, 35, 0.15);
  padding: 12px 0;
}

.dresscode-note-title {
  display: block;
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: var(--color-terracotta);
  margin-bottom: 4px;
}

.dresscode-inspo-label {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 1.2rem auto 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.dresscode-inspo-label::after {
  content: "↓";
  font-size: 0.9rem;
}

.pinterest-compact-wrapper {
  width: 300px;
  height: 180px;
  margin: 0.5rem auto 0;
  overflow: hidden;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   MÚSICA & PLAYLIST
   ========================================================================== */
.spotify-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.spotify-container {
    width: 100%;
    max-width: 500px;
    height: 100%;                
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;      
    text-align: center;
    margin: 0 auto;               
    gap: 1rem;                      
}

.spotify-title-script {
    font-family: var(--font-title);
    font-size: clamp(2.4rem, 7vw, 3rem);
    color: var(--color-burgundy);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.spotify-header-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* --- ESTILOS GENERALES Y BOTÓN --- */
.spotify-desc {
    font-size: 1.2rem;
    color: var(--color-olive-dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.spotify-player-wrapper {
    width: 100%;
    margin-bottom: 1.5rem;
}

.editorial-spotify-link {
    display: inline-block;
    background-color: transparent;
    border: none;
    color: var(--color-burgundy, #520f19);
    padding: 0;
    font-family: var(--font-title);
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 8px;
    text-decoration-thickness: 1.5px;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.editorial-spotify-link:hover {
    background-color: transparent;
    color: var(--color-terracotta, #9e4139);
    opacity: 0.75;
    transform: translateY(-2px);
    box-shadow: none;
}
/* ==========================================================================
   ANIMACIÓN BOLA DISCO (OPCIÓN 1: BALANCEO)
   ========================================================================== */

/* Animación para todo el sistema de la bola disco */
#discoSystem {
    transform-origin: 300px 100px; /* Punto superior de anclaje del cable */
    animation: swingDisco 4s ease-in-out infinite alternate;
}
/* ==========================================================================
   BAILARINES: ACERCAMIENTO INTERACTIVO
   ========================================================================== */

.left-dancer {
    transform-origin: center bottom;
    animation: approachLeft 4s ease-in-out infinite alternate;
}

.right-dancer {
    transform-origin: center bottom;
    animation: approachRight 4s ease-in-out infinite alternate;
}

@keyframes approachLeft {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    100% {
        transform: translateX(15px) rotate(2deg) scale(1.02); /* Se desliza hacia el centro */
    }
}

@keyframes approachRight {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    100% {
        transform: translateX(-15px) rotate(-2deg) scale(1.02); /* Se desliza hacia el centro */
    }
}

/* Balanceo suave de lado a lado */
@keyframes swingDisco {
    0% {
        transform: rotate(-3deg);
    }
    100% {
        transform: rotate(3deg);
    }
}

/* Cambia todo el trazo/relleno del SVG */
.animated-playlist-svg path {
    fill: var(--color-burgundy, #520f19);
    transition: fill 0.3s ease;
}
/* ==========================================================================
   REGALOS
   ========================================================================== */

.gifts-subtitle {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 0.5rem;
    font-family: var(--font-title);

}

.gifts-title-script {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 3rem);
  color: var(--color-burgundy);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.gifts-intro {
  font-size: 1.2rem;
  max-width: 500px;
  margin: 0 auto;
  color: var(--color-olive-dark);
  line-height: 1.6;
}

/* Ilustración SVG */
.gifts-icon {
  width: 180px;
  max-width: 80%;
  margin: 0.5rem auto 1.5rem auto;
  color: var(--color-burgundy);
}

.gifts-icon svg {
  width: 100%;
  height: auto;
  display: block;
  fill: currentColor;
}

/* Botón como texto subrayado */
.btn-underline {
  background: none;
  border: none;
  padding: 0;
  margin-top: 1.5rem;
  color: var(--color-burgundy);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
    font-family: var(--font-title);

}

.btn-underline:hover {
  opacity: 0.75;
}
/* Tarjeta de datos bancarios - Estilo Editorial / Minimalista */
.gifts-bank-card {
  margin-top: 2rem;
  padding: 2.5rem 1.5rem 1.5rem 1.5rem;
  background-color: transparent; /* Sin fondos pesados */
  border-top: 1px solid var(--color-terracotta); /* Líneas finas superior e inferior */
  border-bottom: 1px solid var(--color-terracotta);
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Filas de información */
.gifts-bank-card p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--color-olive-dark);
  line-height: 1.4;
}

/* Etiquetas principales (Titular, CBU, etc.) */
.gifts-bank-card strong {
  display: block;
  font-family: var(--font-title, inherit);
  color: var(--color-terracotta);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 0.25rem;
}

/* Valores (Datos reales) */
.gifts-bank-card span {
  font-family: var(--font-title); /* Tipografía elegante para los datos */
  font-size: 1.15rem;
  color: var(--color-burgundy);
  letter-spacing: 0.5px;
}

/* Botón copiar integrado elegantemente */
.btn-copy {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  margin-top: 1rem;
  color: var(--color-burgundy);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity 0.3s ease;
  font-family: var(--font-title);
}

.btn-copy:hover {
  opacity: 0.6;
}
/* ==========================================================================
   RSVP (ESTILO EDITORIAL TRANSPARENTE)
   ========================================================================== */

.rsvp, .rsvp-section {
  background-color: transparent; /* Fondo transparente para integrar el wallpaper */
  min-height: 100dvh;
  height: auto;
  padding: 4rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

.rsvp-inner, .rsvp-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: transparent;
  text-align: center;
}

/* Tarjeta informativa sin fondo con borde sutil */
.rsvp-inner .card {
  background: transparent;
  padding: 28px 20px;
  border: 1px solid rgba(202, 184, 123, 0.747); 
  border-radius: 2px;
  margin-bottom: 30px;
  text-align: center;
}

.rsvp-guest-info {
  background: transparent;
  border: 1px solid var(--color-corn-gold);
  font-family: var(--font-title);
  border-radius: 0px;
  padding: 28px 24px;
  margin-bottom: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-sizing: border-box;
  width: 100%;
}

/* Tipografías internas para que respiren dentro de la tarjeta */
.rsvp-guest-info .guest-label {
  font-family: var(--font-title);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--color-terracotta);
  margin-bottom: 4px;
}

.rsvp-guest-info .guest-name-title {
  font-family: var(--font-title); /* O tu fuente script correspondiente */
  font-size: 2rem;
  color: var(--color-burgundy);
  margin: 0;
  line-height: 1.1;
}

.rsvp-guest-info .guest-slots-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--color-olive-dark);
  margin-top: 4px;
}
.guest-label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 5px;
  color: var(--color-terracotta);
  display: block;
  margin-bottom: 8px;
  font-weight: 300;
}

.rsvp-inner .card h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--color-burgundy);
  margin-bottom: 6px;
  letter-spacing: 4px;
  font-weight: 400;
}

.rsvp-inner .card p {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--color-olive-dark);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.rsvp-header-block { 
  margin-bottom: 35px; 
}

.rsvp-subtitle {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 6px;
  color: var(--color-olive-dark);
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 8px;
  display: block;
}

.rsvp-inner .title-script {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 7vw, 3.2rem);
  color: var(--color-burgundy);
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.rsvp-inner .limit {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--color-terracotta);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 300;
}

/* Tarjeta del invitado transparente */
.guest-editorial-card {
  background: transparent;
  padding: 20px 0;
  border-bottom: 1px solid rgba(202, 184, 123, 0.4);
  margin-bottom: 25px;
  text-align: left;
}

.guest-card-top {
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(202, 184, 123, 0.4);
  padding-bottom: 6px;
}

.guest-number {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-burgundy);
  font-weight: 500;
}

.field-block { 
  margin-bottom: 24px; 
}

.editorial-label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  color: var(--color-olive-dark);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.editorial-input, .editorial-select, .editorial-textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-corn-gold);
  border-radius: 0;
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--color-burgundy);
  letter-spacing: 1px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.editorial-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23520f19' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0px center;
  background-size: 14px;
  padding-right: 20px;
  cursor: pointer;
}

.editorial-input:focus, .editorial-select:focus, .editorial-textarea:focus {
  outline: none;
  border-bottom-color: var(--color-burgundy);
}

.editorial-input::placeholder, .editorial-textarea::placeholder {
  color: var(--color-terracotta);
  opacity: 0.6;
  letter-spacing: 1px;
}

.editorial-radio-group { 
  display: flex; 
  gap: 24px; 
}

.radio-pill {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--color-olive-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
}

.radio-pill input[type="radio"] {
  accent-color: var(--color-burgundy);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Botón principal de confirmación sin bloque sólido rígido */
.editorial-submit-btn {
  width: 100%;
  background-color: var(--color-burgundy);
  color: var(--color-bg-light);
  border: 1px solid var(--color-burgundy);
  padding: 16px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 15px;
  border-radius: 0px;
}

.editorial-submit-btn:hover {
  background-color: transparent;
  color: var(--color-burgundy);
}

.form-error {
  color: var(--color-terracotta);
  font-family: var(--font-title);
  font-size: 0.8rem;
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 1px;
}

/* Modal de confirmación sin fondo blanco plano */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(82, 15, 25, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.modal.hidden { display: none; }

.modal-content {
  background: var(--color-bg-light);
  padding: 40px 30px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  border: 1px solid var(--color-corn-gold);
}

.modal-icon {
  font-size: 2.2rem;
  color: var(--color-burgundy);
  margin-bottom: 12px;
}

.modal-content h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--color-burgundy);
}

.modal-content p {
  font-family: var(--font-body);
  color: var(--color-olive-dark);
  font-size: 1.15rem;
  margin-bottom: 22px;
  line-height: 1.4;
}

.modal-btn {
  background: var(--color-burgundy);
  color: #ffffff;
  border: none;
  padding: 14px 34px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  border-radius: 0px;
}

/* ==========================================================================
   FOTOS Y FOOTER
   ========================================================================== */

.photo-desc {
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 auto 1.5rem auto;
}

footer {
  text-align: center;
  padding: 35px 0;
  font-size: 0.8rem;
  color: var(--color-muted-grey);
  border-top: 1px solid rgba(202, 184, 123, 0.2);
  scroll-snap-align: end;
}

footer a {
  color: var(--color-burgundy);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover { text-decoration: underline; }

/* ==========================================================================
   RESPONSIVE DESIGN (MÓVILES)
   ========================================================================== */

@media (max-width: 480px) {
  .intro-svg-1 { max-width: 340px; }
  .botanica-izq { transform: translateX(-400px); }
  .botanica-der { transform: translateX(400px); }
  .shift-left { transform: none; }
  
  .svg-container-editorial,
  .party-svg-container,
  .editorial-svg-wrapper {
    max-width: 280px;
    height: 160px;
  }
}