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

a:focus,
button:focus,
input:focus,
[tabindex]:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

:root {
  --sage: #9aab8a;
  --sage-light: #b5c4a5;
  --sage-dark: #7a8c6b;
  --olive: #6b7d5e;
  --moss: #4a5d4a;
  --cream: #fefcf8;
  --beige: #f5f0e8;
  --beige-light: #faf6ef;
  --text-dark: #2d2622;
  --text-medium: #5a4a44;
  --text-light: #8a7e76;
  --gold: #c9a84c;
  --rose-gold: #c4a080;
  --blush: #e8d5d0;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* === Scroll reveal (usado desde script.js) === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* === Rendimiento en scroll: no pintar secciones fuera de pantalla === */
section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

/* === Hero: Video a pantalla completa (100vh) === */
.hero-image {
  width: 100%;
  height: 100vh;
  background: #000;
  margin: 0;
  padding: 0;
  border: none;
  overflow: hidden;
  position: relative;
}

.hero-image-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border: none;
  outline: none;
}

@media (min-width: 768px) {
  .hero-image-img {
    object-fit: cover;
  }
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--beige-light) 50%, var(--cream) 100%);
  text-align: center;
  overflow: hidden;
}

/* === Fondo botánico etéreo === */
.botanical-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.botanical-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
}

/* Capa lejana: hojas pequeñas, opacidad baja, movimiento lento */
.layer-far {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 140'%3E%3Cpath d='M40 0 C25 25 8 55 16 95 C20 115 28 125 40 135 C52 125 60 115 64 95 C72 55 55 25 40 0Z' fill='%238a9a7b18'/%3E%3Cpath d='M40 10 L40 130' stroke='%238a9a7b12' stroke-width='0.6'/%3E%3Cpath d='M40 35 C30 30 22 40 20 55' fill='none' stroke='%23c4a26510' stroke-width='0.4'/%3E%3Cpath d='M40 55 C50 50 58 58 60 72' fill='none' stroke='%23c4a26510' stroke-width='0.4'/%3E%3C/svg%3E") no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 100'%3E%3Cellipse cx='30' cy='20' rx='12' ry='18' fill='%238a9a7b12' transform='rotate(-20 30 20)'/%3E%3Cellipse cx='24' cy='50' rx='10' ry='15' fill='%23c4a26510' transform='rotate(15 24 50)'/%3E%3Cellipse cx='36' cy='75' rx='9' ry='14' fill='%238a9a7b0d' transform='rotate(-10 36 75)'/%3E%3C/svg%3E") no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 90'%3E%3Cpath d='M25 0 C15 18 5 40 12 70 C15 82 20 88 25 90 C30 88 35 82 38 70 C45 40 35 18 25 0Z' fill='%23c4a26510'/%3E%3C/svg%3E") no-repeat;
  background-size: 120px 210px, 90px 150px, 70px 126px;
  background-position: -20px -30px, calc(100% + 10px) 10%, 15% calc(100% - 60px);
  opacity: 0.7;
  animation: layerFloat 14s ease-in-out infinite;
}

/* Capa media: eucalipto y olivo, opacidad media */
.layer-mid {
  background:
    /* Rama de eucalipto izquierda */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 300'%3E%3Cpath d='M70 0 C68 40 65 80 68 130 C70 170 72 210 70 280' stroke='%238a9a7b35' stroke-width='1.2' fill='none'/%3E%3Cellipse cx='55' cy='40' rx='18' ry='10' fill='%238a9a7b20' transform='rotate(-35 55 40)'/%3E%3Cellipse cx='85' cy='65' rx='16' ry='9' fill='%23c4a26518' transform='rotate(30 85 65)'/%3E%3Cellipse cx='50' cy='100' rx='20' ry='11' fill='%238a9a7b1a' transform='rotate(-25 50 100)'/%3E%3Cellipse cx='90' cy='130' rx='17' ry='10' fill='%23c4a26516' transform='rotate(28 90 130)'/%3E%3Cellipse cx='52' cy='165' rx='19' ry='10' fill='%238a9a7b18' transform='rotate(-30 52 165)'/%3E%3Cellipse cx='88' cy='200' rx='15' ry='9' fill='%23c4a26515' transform='rotate(25 88 200)'/%3E%3Cellipse cx='55' cy='240' rx='17' ry='10' fill='%238a9a7b14' transform='rotate(-20 55 240)'/%3E%3C/svg%3E") no-repeat,
    /* Rama de olivo derecha */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 260'%3E%3Cpath d='M60 10 C58 50 55 90 58 140 C60 180 62 220 60 250' stroke='%23c4a26528' stroke-width='1' fill='none'/%3E%3Cellipse cx='42' cy='50' rx='14' ry='8' fill='%238a9a7b1c' transform='rotate(-40 42 50)'/%3E%3Cellipse cx='78' cy='80' rx='12' ry='7' fill='%23c4a26518' transform='rotate(35 78 80)'/%3E%3Cellipse cx='40' cy='120' rx='15' ry='9' fill='%238a9a7b1a' transform='rotate(-30 40 120)'/%3E%3Cellipse cx='80' cy='155' rx='13' ry='8' fill='%23c4a26516' transform='rotate(32 80 155)'/%3E%3Cellipse cx='44' cy='195' rx='14' ry='8' fill='%238a9a7b15' transform='rotate(-28 44 195)'/%3E%3C/svg%3E") no-repeat,
    /* Hoja suelta superior */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 130'%3E%3Cpath d='M40 0 C22 22 6 50 14 85 C18 105 28 118 40 128 C52 118 62 105 66 85 C74 50 58 22 40 0Z' fill='%238a9a7b18'/%3E%3Cpath d='M40 8 L40 122' stroke='%23c4a26514' stroke-width='0.6'/%3E%3C/svg%3E") no-repeat;
  background-size: 180px 390px, 150px 325px, 100px 163px;
  background-position: -40px -20px, calc(100% + 20px) -10px, 60% calc(100% - 40px);
  opacity: 0.8;
  animation: layerSway 9s ease-in-out infinite;
}

/* Capa cercana: hojas grandes primer plano, opacidad baja */
.layer-near {
  background:
    /* Hoja grande inferior izquierda */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 320'%3E%3Cpath d='M100 0 C60 50 15 110 30 200 C38 240 60 270 100 300 C140 270 162 240 170 200 C185 110 140 50 100 0Z' fill='%238a9a7b0d'/%3E%3Cpath d='M100 15 L100 290' stroke='%238a9a7b0a' stroke-width='1'/%3E%3Cpath d='M100 60 C75 50 55 65 45 90' fill='none' stroke='%23c4a26508' stroke-width='0.5'/%3E%3Cpath d='M100 110 C125 100 145 112 155 138' fill='none' stroke='%23c4a26508' stroke-width='0.5'/%3E%3Cpath d='M100 165 C78 155 58 168 48 195' fill='none' stroke='%23c4a26508' stroke-width='0.5'/%3E%3C/svg%3E") no-repeat,
    /* Hoja grande superior derecha */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 260'%3E%3Cpath d='M80 0 C50 40 12 90 24 160 C30 190 48 215 80 240 C112 215 130 190 136 160 C148 90 110 40 80 0Z' fill='%23c4a2650a'/%3E%3Cpath d='M80 12 L80 232' stroke='%238a9a7b08' stroke-width='0.8'/%3E%3C/svg%3E") no-repeat;
  background-size: 260px 416px, 210px 338px;
  background-position: -60px calc(100% + 20px), calc(100% + 30px) -40px;
  opacity: 0.9;
  animation: layerDrift 6s ease-in-out infinite;
}

/* Partículas luminosas */
.botanical-particles {
  position: absolute;
  inset: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

/* Animaciones de capas */
@keyframes layerFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(4px) rotate(-0.3deg); }
}

@keyframes layerSway {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  25% { transform: translateX(5px) translateY(-6px) rotate(0.8deg); }
  50% { transform: translateX(-3px) translateY(2px) rotate(-0.5deg); }
  75% { transform: translateX(4px) translateY(-4px) rotate(0.3deg); }
}

@keyframes layerDrift {
  0%, 100% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-8px) translateY(-10px); }
}

/* Animación de partículas */
@keyframes particleRise {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  15% {
    opacity: var(--p-opacity, 0.6);
  }
  85% {
    opacity: var(--p-opacity, 0.6);
  }
  100% {
    opacity: 0;
    transform: translateY(calc(var(--p-travel, -120px))) scale(1);
  }
}

@keyframes particleSway {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(calc(var(--p-sway, 15px))); }
}

.hero-content {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

/* === Animaciones de entrada del hero === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-content > *, .hero-text, .hero-date, .btn-primary, .hero-message, .esperamos {
  animation: fadeUp 0.8s ease both;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.25s; }
.hero-content > *:nth-child(3) { animation-delay: 0.4s; }
.hero-content > *:nth-child(4) { animation-delay: 0.55s; }
.hero-content > *:nth-child(5) { animation-delay: 0.7s; }
.hero-text { animation-delay: 0.85s; }
.hero-date { animation-delay: 1s; }
.btn-primary { animation-delay: 1.15s; }
.hero-message { animation-delay: 1.3s; }
.esperamos { animation-delay: 1.45s; }

/* (animaciones de hojas integradas en .botanical-bg arriba) */

.name-groom, .name-bride {
  font-family: 'Great Vibes', cursive;
  font-size: 56px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
}

.lastname-groom, .lastname-bride {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-top: 4px;
}

.ampersand {
  font-family: 'Great Vibes', cursive;
  font-size: 32px;
  color: var(--text-light);
  margin: 8px 0;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin: 0 auto 32px;
}

.hero-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-medium);
}

.hero-date {
  position: relative;
  z-index: 2;
  margin-bottom: 32px;
}

.hero-date .time {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.date-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.day-name, .month {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--text-medium);
}

.day-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1;
}

.hero-date .year {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--text-light);
  margin-top: 4px;
}

/* === Buttons === */
.btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(154, 171, 138, 0.4);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 36px;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(154, 171, 138, 0.4);
}

.hero-message {
  position: relative;
  z-index: 2;
  max-width: 380px;
  margin: 32px auto 24px;
}

.hero-message p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
}

.esperamos {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  font-weight: 400;
  color: var(--sage);
  position: relative;
  z-index: 2;
}

/* === Photo Sections === */
.photo-section {
  width: 100%;
  padding: 0;
}

.photo-placeholder {
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: linear-gradient(135deg, #d4c4bc 0%, #c4a8a8 50%, #a88a8a 100%);
  position: relative;
  overflow: hidden;
  transform: scale(1);
  transition: transform 0.6s ease;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder:hover {
  transform: scale(1.02);
}

.walking-photo {
  background: linear-gradient(180deg, #d4c4bc 0%, #a8b8a0 30%, #9aab8a 100%);
}

.couple-embrace {
  background: linear-gradient(180deg, #9aab8a 0%, #6b7b5c 50%, #4a5a3d 100%);
}

.footer-photo {
  background: linear-gradient(180deg, #d4c4bc 0%, #9aab8a 50%, #6b7b5c 100%);
}

.photo-overlay {
  display: block;
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: cover;
  object-position: center;
}

/* === Music Section === */
.music-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--cream);
}

.music-instruction {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.heart-icon {
  display: inline-block;
  vertical-align: middle;
  color: var(--sage);
  animation: heartBeat 1.2s ease-in-out infinite;
  transform-origin: center;
  margin: 0 4px;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.2); }
  60% { transform: scale(1); }
}

.music-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.prev-btn, .next-btn {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--sage);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.prev-btn:hover, .next-btn:hover {
  opacity: 1;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage);
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

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

.play-btn svg {
  animation: heartPulse 1.6s ease-in-out infinite;
}

.play-btn.playing svg {
  fill: currentColor;
}

.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(154, 171, 138, 0.4);
}

/* === Notas musicales flotando fuera del corazón === */
.play-btn .note {
  position: absolute;
  bottom: 6px;
  left: 50%;
  font-size: 16px;
  color: var(--sage);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.play-btn.playing .note {
  animation: noteFloat 2.6s ease-out infinite;
}

.play-btn.playing .note-1 { animation-delay: 0s;   --drift: -20px; }
.play-btn.playing .note-2 { animation-delay: 0.45s; --drift: 18px; }
.play-btn.playing .note-3 { animation-delay: 0.9s;  --drift: -10px; }
.play-btn.playing .note-4 { animation-delay: 1.35s; --drift: 22px; }
.play-btn.playing .note-5 { animation-delay: 1.8s;  --drift: -26px; }

@keyframes noteFloat {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0) scale(0.7) rotate(0deg);
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-50% + var(--drift))) translateY(-70px) scale(1.1) rotate(25deg);
  }
}

.bible-verse {
  max-width: 400px;
  margin: 0 auto;
}

.bible-verse p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-medium);
  font-style: italic;
}

.verse-ref {
  font-size: 14px !important;
  color: var(--rose-gold) !important;
  font-style: normal !important;
  margin-top: 8px;
}

/* === Wedding Details === */
.wedding-details {
  padding: 60px 24px;
  background: var(--beige);
  position: relative;
  overflow: hidden;
}

.wedding-details::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: url('../images/botanica/imgi_57_screen.png') no-repeat top right;
  background-size: contain;
  opacity: 0.7;
  pointer-events: none;
}

.wedding-details::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: url('../images/botanica/imgi_58_s.png') no-repeat bottom left;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}

.details-card {
  max-width: 500px;
  margin: 0 auto;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--beige-light) 0%, var(--beige) 100%);
  border-radius: 16px;
  text-align: center;
}

.details-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.details-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.details-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
}

.details-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.details-date span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 500;
  color: var(--text-dark);
}

.separator {
  color: var(--text-light);
  font-size: 28px !important;
}

.details-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--text-medium);
}

/* === Story Photo === */
.story-photo-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--cream);
}

.arch-wrapper {
  position: relative;
  width: 320px;
  max-width: 90vw;
  aspect-ratio: 1 / 1.05;
  margin: 0 auto 40px;
}

.arch-frame {
  position: absolute;
  top: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: 56%;
  height: 78%;
  border-radius: 50% 50% 8px 8px;
  overflow: hidden;
  z-index: 1;
  background: #2a2420;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.5),
    0 8px 30px rgba(0, 0, 0, 0.12);
}

.arch-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Imagen PNG del arco floral */
.arch-floral-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

.story-title {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.story-text {
  max-width: 420px;
  margin: 0 auto;
}

.story-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-medium);
}

.story-author {
  text-align: center !important;
  font-style: italic;
  font-size: 15px !important;
  color: var(--text-light) !important;
  margin-top: 16px !important;
  letter-spacing: 0.5px;
}

/* === Calendar === */
.calendar-section {
  padding: 60px 24px;
  background: var(--beige);
  position: relative;
  overflow: hidden;
}

.calendar-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -20px;
  width: 120px;
  height: 180px;
  background: url('../images/botanica/imgi_59_s.png') no-repeat center left;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  transform: rotate(-15deg);
}

.calendar-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 24px;
  background: var(--cream);
  border-radius: 16px;
  text-align: center;
}

.bc-monogram {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  color: var(--rose-gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.calendar-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.calendar-month {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.calendar-grid {
  margin-bottom: 24px;
}

.calendar-header, .calendar-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-header span {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  padding: 8px 0;
}

.calendar-body span {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-medium);
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-body span.empty {
  visibility: hidden;
}

.calendar-body span.highlight {
  background: var(--sage);
  color: var(--white);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  animation: dayGlow 3s ease-in-out infinite;
}

@keyframes dayGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(154, 171, 138, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(154, 171, 138, 0); }
}

.bell-icon {
  font-size: 24px;
  margin-bottom: 24px;
}

/* === Location === */
.location-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.location-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    url('../images/botanica/imgi_61_s.png') no-repeat top left,
    url('../images/botanica/imgi_62_s.png') no-repeat top right;
  background-size: 150px auto, 150px auto;
  opacity: 0.4;
  pointer-events: none;
}

.location-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.location-name {
  font-family: 'Great Vibes', cursive;
  font-size: 40px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.location-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 24px;
}

.location-pin {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-svg {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 6px rgba(154, 171, 138, 0.3));
  animation: pinBounce 1.8s ease-in-out infinite;
}

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

.pin-pulse {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  background: radial-gradient(ellipse, rgba(154, 171, 138, 0.5) 0%, transparent 70%);
  border-radius: 50%;
  animation: pinPulseRing 1.8s ease-in-out infinite;
}

@keyframes pinPulseRing {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.6; }
  50% { transform: translateX(-50%) scale(1.6); opacity: 0.2; }
}

.map-container {
  max-width: 500px;
  margin: 32px auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* === Upload Section === */
.upload-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.upload-section::before {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -20px;
  width: 130px;
  height: 180px;
  background: url('../images/botanica/wmremove-transformed.png') no-repeat bottom right;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  transform: rotate(15deg);
}

.upload-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.upload-icon-svg {
  animation: uploadBounce 2s ease-in-out infinite;
}

.upload-icon-svg .upload-arrow {
  animation: arrowUp 1.8s ease-in-out infinite;
  transform-origin: center;
}

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

@keyframes arrowUp {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-4px); opacity: 0.5; }
}

.upload-title {
  font-family: 'Great Vibes', cursive;
  font-size: 36px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.upload-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  color: var(--text-medium);
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 24px;
}

.upload-divider {
  width: 40px;
  height: 2px;
  background: var(--sage);
  margin: 0 auto 24px;
}

.btn-album {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-album-icon {
  animation: albumPulse 1.5s ease-in-out infinite;
  transform-origin: center;
}

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

.btn-album:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(154, 171, 138, 0.4);
}

.qr-block {
  max-width: 360px;
  margin: 40px auto 0;
}

.qr-code {
  width: 150px;
  height: 150px;
  display: block;
  margin: 0 auto 16px;
  border: 4px solid var(--rose-gold);
  border-radius: 12px;
  box-sizing: content-box;
  background: var(--white);
  padding: 4px;
}

.qr-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: var(--text-medium);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto 20px;
}

.btn-contact {
  background: var(--sage);
}

.btn-contact:hover {
  background: var(--sage-dark);
}

/* === Gifts Section === */
.gifts-section {
  padding: 0;
  position: relative;
  overflow: hidden;
}

.gifts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  background: url('../images/botanica/imgi_66_s.png') no-repeat top left;
  background-size: contain;
  opacity: 0.4;
  pointer-events: none;
}

.gifts-card {
  background: var(--sage);
  padding: 48px 24px;
  text-align: center;
}

.gift-icon {
  margin-bottom: 16px;
}

.gifts-title {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
}

.gifts-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto 24px;
}

.gifts-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 24px;
}

.gifts-code strong {
  font-weight: 600;
}

.btn-gift {
  display: inline-block;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  border: 2px solid var(--white);
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-bottom: 32px;
  cursor: pointer;
}

.btn-gift:hover {
  background: var(--white);
  color: var(--sage);
}

.btn-gift:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-gift:disabled:hover {
  background: transparent;
  color: var(--white);
}

.bank-details {
  margin-top: 32px;
}

.bank-icon {
  margin-bottom: 16px;
}

.bank-details p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

/* === Itinerario === */
.itinerary-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--beige-light);
  position: relative;
  overflow: hidden;
}

.itinerary-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: -10px;
  width: 140px;
  height: 200px;
  background: url('../images/botanica/imgi_63_s.png') no-repeat bottom right;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
  transform: rotate(10deg);
}

.itinerary-title {
  font-family: 'Great Vibes', cursive;
  font-size: 42px;
  font-weight: 400;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.itinerary-heart {
  margin-bottom: 40px;
}

.timeline {
  max-width: 420px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 1px;
  background: var(--sage);
  opacity: 0.4;
}

.timeline-row {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  position: relative;
}

.timeline-text {
  width: 44%;
  text-align: right;
}

.timeline-node {
  width: 12%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.timeline-node::after {
  content: '♥';
  font-size: 16px;
  line-height: 1;
  color: var(--sage);
  background: var(--beige-light);
  padding: 2px 4px;
}

.timeline-icon {
  width: 44%;
  text-align: left;
}

.timeline-icon-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.timeline-row:hover .timeline-icon-img {
  transform: scale(1.15) rotate(-5deg);
}

.timeline-event {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--sage);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.timeline-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
}

/* === Confirmar asistencia === */
.rsvp-section {
  padding: 60px 24px;
  text-align: center;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.rsvp-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -30px;
  width: 100px;
  height: 150px;
  background: url('../images/botanica/imgi_64_s.png') no-repeat center left;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  transform: translateY(-50%) rotate(-10deg);
}

.rsvp-section::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -30px;
  width: 100px;
  height: 150px;
  background: url('../images/botanica/imgi_65_s.png') no-repeat center right;
  background-size: contain;
  opacity: 0.5;
  pointer-events: none;
  transform: translateY(-50%) rotate(10deg);
}

.rsvp-title {
  font-family: 'Great Vibes', cursive;
  font-size: 40px;
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.rsvp-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 28px;
}

.rsvp-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.rsvp-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 32px;
}

.btn-rsvp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(154, 171, 138, 0.25);
  transition: all 0.3s ease;
}

.btn-rsvp:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(154, 171, 138, 0.4);
}

.btn-rsvp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
}

/* === Código de vestimenta === */
.dresscode-section {
  padding: 60px 24px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.dresscode-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: url('../images/botanica/wmremove-transformed (1).webp') no-repeat top left;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}

.dresscode-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: url('../images/botanica/wmremove-transformed.webp') no-repeat bottom right;
  background-size: contain;
  opacity: 0.6;
  pointer-events: none;
}

.dresscode-card {
  background: var(--sage);
  padding: 48px 24px;
  text-align: center;
  border-radius: 20px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(154, 171, 138, 0.25);
}

.dresscode-couple {
  width: 220px;
  height: auto;
  display: block;
  margin: 0 auto 32px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

.dresscode-title {
  font-family: 'Great Vibes', cursive;
  font-size: 48px;
  font-weight: 400;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.dresscode-formal {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 5px;
  color: var(--white);
  margin-bottom: 8px;
}

.dresscode-example {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  margin-bottom: 20px;
  font-style: italic;
}

.dresscode-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  max-width: 340px;
  margin: 0 auto 32px;
}

.dresscode-flower {
  width: 130px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

/* === Modal: Confirmar Asistencia === */
.rsvp-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: rsvpFadeIn 0.3s ease;
}

.rsvp-modal[hidden] {
  display: none;
}

.rsvp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.rsvp-modal-card {
  position: relative;
  background: var(--cream);
  border-radius: 20px;
  padding: 40px 32px 32px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: rsvpSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes rsvpFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rsvpSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.rsvp-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.rsvp-modal-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
}

.rsvp-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 24px;
}

.rsvp-modal-notice {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-medium);
  text-align: center;
  background: var(--blush);
  border-left: 3px solid var(--rose-gold);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rsvp-field input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #d4c8b8;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.rsvp-field input:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(154, 171, 138, 0.15);
}

.rsvp-add {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--sage);
  background: var(--white);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.rsvp-add:hover {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--white);
  transform: rotate(90deg) scale(1.05);
}

.rsvp-add:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.rsvp-roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  animation: rsvpSlideUp 0.4s ease;
}

.rsvp-roles[hidden] {
  display: none;
}

.rsvp-role {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 4px;
  background: var(--white);
  border: 1.5px solid #d4c8b8;
  border-radius: 50% 50% 12px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-medium);
  text-align: center;
}

.rsvp-role:hover {
  border-color: var(--sage);
  background: rgba(154, 171, 138, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(154, 171, 138, 0.15);
}

.rsvp-role-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  line-height: 1;
}

.rsvp-extras {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rsvp-extra {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(154, 171, 138, 0.08);
  border-radius: 10px;
  animation: rsvpSlideUp 0.3s ease;
}

.rsvp-extra-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: var(--sage);
  color: var(--white);
  border-radius: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.rsvp-extra input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid #d4c8b8;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  background: var(--white);
  color: var(--text-dark);
}

.rsvp-extra input:focus {
  outline: none;
  border-color: var(--sage);
}

.rsvp-extra-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  line-height: 1;
}

.rsvp-extra-remove:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #c0392b;
}

.rsvp-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin: 0;
}

.rsvp-attendance {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}

.rsvp-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: var(--text-medium);
  cursor: pointer;
  padding: 4px 0;
}

.rsvp-radio input[type="radio"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #d4c8b8;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.rsvp-radio input[type="radio"]:checked {
  border-color: var(--sage);
}

.rsvp-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: var(--sage);
  border-radius: 50%;
}

.rsvp-radio input[type="radio"]:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.rsvp-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--sage);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.rsvp-submit:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(154, 171, 138, 0.35);
}

/* === Toast de notificación === */
.rsvp-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, calc(100% + 32px));
  display: flex;
  align-items: center;
  gap: 14px;
  width: calc(100% - 32px);
  max-width: 440px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.22),
    0 2px 8px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.4s ease;
  z-index: 2000;
  overflow: hidden;
}

.rsvp-toast[hidden] {
  display: none;
}

.rsvp-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

/* Variantes de color según tipo */
.rsvp-toast.is-success .rsvp-toast-icon {
  background: var(--primary-soft);
  color: var(--sage);
}

.rsvp-toast.is-error .rsvp-toast-icon {
  background: #fce7e7;
  color: #c0392b;
}

.rsvp-toast.is-error {
  border-color: #f5b5b5;
}

.rsvp-toast.is-info .rsvp-toast-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.rsvp-toast-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--sage);
  transition: all 0.3s ease;
}

.rsvp-toast-icon svg {
  display: block;
}

.rsvp-toast.is-success .rsvp-toast-icon svg {
  animation: toastCheck 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes toastCheck {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(0deg); opacity: 1; }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

.rsvp-toast-content {
  flex: 1;
  min-width: 0;
}

.rsvp-toast-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 2px;
}

.rsvp-toast-message {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: var(--text-medium);
  line-height: 1.4;
  margin: 0;
}

.rsvp-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  padding: 0;
  line-height: 1;
}

.rsvp-toast-close:hover {
  background: rgba(0, 0, 0, 0.06);
  color: var(--text-dark);
}

/* Barra de progreso (auto-cierre) */
.rsvp-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--sage);
  width: 100%;
  transform-origin: left;
  transform: scaleX(1);
  opacity: 0.7;
}

.rsvp-toast.is-error .rsvp-toast-progress {
  background: #c0392b;
}

.rsvp-toast.is-info .rsvp-toast-progress {
  background: #0284c7;
}

.rsvp-toast.is-progressing .rsvp-toast-progress {
  animation: toastProgress 5s linear forwards;
}

@keyframes toastProgress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 480px) {
  .rsvp-toast {
    bottom: 16px;
    width: calc(100% - 24px);
    padding: 14px 14px;
    gap: 10px;
  }
  .rsvp-toast-icon {
    width: 38px;
    height: 38px;
  }
  .rsvp-toast-icon svg {
    width: 26px;
    height: 26px;
  }
  .rsvp-toast-title {
    font-size: 15px;
  }
  .rsvp-toast-message {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .rsvp-modal-card {
    padding: 32px 20px 24px;
  }
  .rsvp-modal-title {
    font-size: 26px;
  }
  .rsvp-roles {
    gap: 8px;
  }
  .rsvp-role {
    font-size: 10px;
    padding: 10px 2px;
  }
  .rsvp-role-icon {
    width: 36px;
    height: 36px;
  }
}

/* === Footer === */
.footer-section {
  padding: 0;
  margin: 0;
  line-height: 0;
}

.footer-image {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  outline: none;
}

/* === Botón flotante === */
.floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 18px;
  border-radius: 50px;
  background: var(--sage);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(154, 171, 138, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: floatBounce 3s ease-in-out infinite;
}

.floating-btn svg {
  flex-shrink: 0;
}

.floating-btn-tooltip {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--white);
  white-space: nowrap;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
}

.floating-btn:hover .floating-btn-tooltip,
.floating-btn:focus-visible .floating-btn-tooltip {
  max-width: 200px;
  opacity: 1;
  margin-right: 4px;
}

.floating-btn:hover {
  background: var(--sage-dark);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 32px rgba(154, 171, 138, 0.5);
  animation: none;
}

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

@media (max-width: 480px) {
  .floating-btn {
    bottom: 16px;
    right: 16px;
    padding: 14px 16px 14px 14px;
  }
  .floating-btn svg {
    width: 22px;
    height: 22px;
  }
  .floating-btn-tooltip {
    display: none;
  }
}

/* === Responsive === */
@media (min-width: 768px) {
  .hero {
    padding: 100px 48px 60px;
  }
  
  .name-groom, .name-bride {
    font-size: 72px;
  }
  
  .day-number {
    font-size: 80px;
  }
  
  .photo-overlay {
    max-height: 85vh;
  }
  
  .details-card, .calendar-card {
    padding: 60px 48px;
  }
}
