@import url('https://fonts.googleapis.com/css2?family=Alice&family=Allura&family=Lora:ital,wght@0,400..700;1,400..700&family=Monsieur+La+Doulaise&family=MonteCarlo&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background-color: #FFFBFD;
  font-family: 'Montserrat', sans-serif;
  height: 150vh;
}

#swipe-indicator {
  position: fixed;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s;
  animation: swipe-fadein 1.2s;
  overflow: visible !important;
}

#swipe-indicator.hide {
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.swipe-arrow {
  width: 32px;
  height: 32px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
  margin-bottom: 0.3rem;
  animation: swipe-arrow-move 1.1s infinite;
  opacity: 0.8;
}

@keyframes swipe-arrow-move {
  0% {
    transform: translateY(0) rotate(-45deg);
  }

  50% {
    transform: translateY(18px) rotate(-45deg);
  }

  100% {
    transform: translateY(0) rotate(-45deg);
  }
}

@keyframes swipe-fadein {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* === LOADER DE INICIO === */
#loader-xv {
  position: fixed;
  inset: 0;
  background: #FCEDE2;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
}

#loader-xv .loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

#loader-xv .loader-spinner {
  border: 6px solid #e7d2c0;
  border-top: 6px solid #E6848D;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  animation: spin 1s linear infinite;
}

#loader-xv .loader-text {
  font-family: 'MonteCarlo', cursive;
  color: #E6848D;
  font-size: 2rem;
  letter-spacing: 0.04em;
  text-align: center;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.fade-in-opacity {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.4, 0, .2, 1);
}

.fade-in-opacity.visible {
  opacity: 1;
}

.content1 {
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* Cover Section */
.cover {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  position: relative;

}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  filter: brightness(0.8);
}

.text-cover {
  position: absolute;
  top: 61%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Montserrat', cursive;
  font-size: 1rem;
  font-weight: 200;
}

.name-cover {
  width: 100%;
  position: absolute;
  top: 58%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'MonteCarlo', cursive;
  font-size: 7rem;
  font-weight: 400;
}

.text-date {
  position: absolute;
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-family: 'Montserrat', cursive;
  font-size: 0.8rem;
  font-weight: 200;
}

/* Divider Image */
.divider-image {
  width: 100%;
  margin: 1.5rem auto;
  display: block;
}

/* Thanks and Parents Sections */
.thanks,
.parents {
  display: block;

}

.thanks p,
.parents p {
  font-family: 'Lora', serif;
  color: #d8a64a;
  text-align: center;
  line-height: 1.5;
}

.thanks p {
  font-size: 4vw;
  text-align: center;
}

.thanks-paragraph {
  white-space: normal;
  word-break: break-word;
  width: 80%;
  margin: 0 auto;
}

.thanks-paragraph2 {
  white-space: normal;
  word-break: break-word;
  width: 80%;
  margin: 0 auto;
  margin-top: 0.5rem;
}


/* Parents Section */
.parents {
  position: relative;
  height: 58rem;
  text-align: center;
  padding: 2rem;
  margin-bottom: -18rem;
}

.parents-content {
  position: relative;
  text-align: center;
  line-height: 1.1;
  flex-direction: column;
  top: 31%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #b05451;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.section-title p {
  font-family: 'Lora', serif;
  font-size: 3.5vw;
  margin-bottom: 2vw;
  color: #b05451;
}

.group {
  margin-bottom: 2rem;
}

.highlight p {
  font-family: 'MonteCarlo', cursive;
  font-size: 12vw;
  color: #d8a64a;
  margin-bottom: 1vw;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.highlight {
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.parent-name p,
.godparent-name p {
  font-family: 'Lora', serif;
  font-size: 3.6vw;
  color: #b05451;
  margin: 1vw 0;
}



/* Corner Images */
.corner-top-left img,
.corner-top-right1 img,
.corner-top-right2 img,
.bottom-left-corner1 img,
.bottom-left-corner2 img,
.bottom-right-corner img {
  position: absolute;
  width: 11rem;
  height: auto;
  z-index: 1;
}

.corner-top-right2 img {
  width: 12rem !important;
}

.corner-top-left img {
  top: 0%;
  left: 2%;
}

.corner-top-right1 img {
  top: 0%;
  right: 2%;
}

.corner-top-right2 img {
  top: 5%;
  right: -18%;
  opacity: 0.5;
  transform: rotate(-57deg) scaleY(-1);
}

.bottom-left-corner1 img {
  bottom: 37%;
  left: 2%;
  transform: rotate(-90deg) scaleX(-1);
}

.bottom-left-corner2 img {
  bottom: 57%;
  left: -25%;
  transform: rotate(-130deg);
  opacity: 0.5;
}

.bottom-right-corner img {
  bottom: 37%;
  right: 2%;
  transform: rotate(-180deg);
}

.countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 20rem;
  text-align: center;
  position: relative;
  font-weight: 200;

}

.countdown-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  filter: brightness(0.4);
}

.countdown-header {
  font-family: 'MonteCarlo', cursive;
  font-size: 10vw;
  color: #fff;
  margin-bottom: 2vw;
  text-shadow: 1px 1px 8px #0006;
  font-weight: 200;
  letter-spacing: 0.02em;
}

#countdown-timer {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5rem;
  font-family: 'Lora', serif;
  color: #fff;
  font-size: 10vw;
  font-weight: 200;
  letter-spacing: 0.1em;
  text-shadow: 1px 1px 8px #0006;
  margin-bottom: 0.2rem;
}

#countdown-timer span {
  min-width: 2.5rem;
  display: inline-block;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 200;
}

.countdown-units {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  color: #fff;
  font-size: 3vw;
  margin-top: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  letter-spacing: 0.05em;
  width: 100%;
  position: relative;
  top: -0.2rem;
}

#countdown-message {
  font-family: 'MonteCarlo', cursive;
  font-size: 8vw;
  color: #fff;
  margin-top: 5vw;
  text-shadow: 1px 1px 8px #0006;
  font-weight: 200;
}

.unit-days {
  margin-right: 1rem;
}

.unit-seconds {
  margin-right: -1rem;
}


.details-frame-wrap {
  position: relative;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

.details {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
  padding: 2rem;
  overflow: visible !important;
  margin-top: -2.5rem;
}

.frame-element1 img,
.frame-element2 img {
  position: absolute;
  display: flex;
  width: 50vw;
  height: auto;
  z-index: -10;
}

.frame-element3 img,
.frame-element4 img,
.frame-element5 img,
.frame-element6 img {
  width: 30vw;
}

.frame-element1 img {
  top: 12%;
  left: 80%;
  opacity: 0.5;
  transform: rotate(-57deg) scaleY(-1);
}

.frame-element2 img {
  top: 42%;
  right: 80%;
  opacity: 0.5;
  transform: rotate(-57deg) scaleX(-1);
}

.frame-element3 img {
  position: absolute;
  top: 2%;
  left: -25%;
}

.frame-element4 img {
  position: absolute;
  top: 15%;
  left: 90%;
  transform: scaleX(-1);
}

.frame-element5 img {
  position: absolute;
  top: 35%;
  left: 90%;
  transform: scaleX(-1);
}

.frame-element6 img {
  position: absolute;
  top: 45%;
  left: -30%;
}

.icon-iglesia {
  position: absolute;
  top: -8%;
  left: -50%;
  display: flex;
  width: 80vw;
  height: auto;
  z-index: 1;
}

.icon-recepcion {
  position: absolute;
  top: 40%;
  left: 40%;
  display: flex;
  width: 80vw;
  height: auto;
  z-index: 1;
}

.icon-gala {
  display: flex;
  width: 20vw;
  height: auto;
  z-index: 1;
}

.icon-carta {
  display: flex;
  width: 20vw;
  height: auto;
  z-index: 1;
  margin-bottom: 4vw;
}

.details-eventos{
  display: block;
}

.details-misa-wrapper{
  position: absolute;
  top:20%;
  left:50%;
}

.details-recepcion-wrapper{
  position: absolute;
  top:46%;
  left:6%;
}

.details-extra{
  width: 100%;
  margin-top: 37rem;
}

.extra-corner-top-left1 img,
.extra-corner-top-left2 img,
.extra-corner-top-right img,
.extra-corner-bottom-left img,
.extra-corner-bottom-right1 img,
.extra-corner-bottom-right2 img {
  position: absolute;
  width: 8rem;
  height: auto;
  z-index: 1;
}

.extra-corner-top-left1 img {
  top: 65%;
  right: 88%;
  transform: rotate(310deg);
  opacity: 0.5;
}

.extra-corner-top-left2 img {
  top: 68%;
  right: 65%;
}
.extra-corner-top-right img {
  top: 67%;
  left: 65%;
}

.extra-corner-bottom-left img {
  top: 97%;
  right: 65%;
  transform: rotate(180deg);
}

.extra-corner-bottom-right1 img {
  top: 99%;
  right: -25%;
  opacity: 0.5;
  transform: rotate(105deg);
}

.extra-corner-bottom-right2 img {
  top: 97%;
  right: -5%;
  transform: rotate(90deg) scaleX(-1);
}

.details-extra-decor > .details-block2 {
  position: relative;
  z-index: 2;
}


.details-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2.5rem;
  margin-top: 2.5rem;
  z-index: 10;
}

.details-text {
  font-family: 'Alice', serif;
  font-size: 5.5vw;
  color: #d8a64a;
  line-height: 1.5;
  max-width: 600px;
  margin-bottom: -1rem;
}

.details-phrase {
  font-family: 'MonteCarlo', serif;
  font-size: 9vw;
  color: #e6828b;
  z-index: 10;
  width: 100%;
}

.details-phrase2 {
  font-family: 'MonteCarlo', serif;
  font-size: 9vw;
  color: #e6828b;
  margin-top: -7vw;
  z-index: 10;
  padding: 0.5rem;
  
}

.details-block {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.details-block2 {
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.detail-info {
  font-family: 'Alice', cursive;
  font-size: 4vw;
  color: #C19A6B;
  margin-bottom: 0.4vw;
  font-style: italic;
}

.details-label {
  font-family: 'MonteCarlo', cursive;
  font-size: 9vw;
  color: #C19A6B;
  margin-bottom: 0.4vw;
}

.details-place {
  font-family: 'Lora', serif;
  font-size: 4vw;
  color: #b05451;
  margin-bottom: 0.4vw;
}

.details-time {
  font-family: 'Lora', serif;
  font-size: 4vw;
  color: #b05451;
  font-style: italic;
  margin-bottom: 1.4vw;
}

.details-link {
  display: inline-block;
  padding: 0.8vw 2.4vw;
  background:
    linear-gradient(90deg, #bfa14a 0%, #e6d3a3 50%, #bfa14a 100%) padding-box,
    linear-gradient(90deg, #bfa14a 0%, #DAAA59 50%, #bfa14a 100%) border-box;
  border: 0.35vw solid transparent;
  color: #fff;
  border-radius: 1.4vw;
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5vw;
  text-decoration: none;
  margin-top: 1.4vw;
  margin-bottom: 1vw;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px #0002;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
}

.details-link:hover,
.details-link:focus {
  background:
    linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) padding-box,
    linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) border-box;
  color: #6b5b2b;
  filter: brightness(1.08) drop-shadow(0 0 6px #e6d3a388);
  text-shadow: 0 1px 6px #fff8;
  transition: background 0.3s, color 0.3s, filter 0.3s, text-shadow 0.3s;
}

.confirmation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 40rem;
  text-align: center;
  position: relative;
  font-weight: 200;
  margin-top: 5rem;
}

.attendance-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
  filter: brightness(0.4);
}

.confirmation-header-group {
  display: flex;
  position: absolute;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  top: 10%;
}

.confirmation-text-group {
  display: flex;
  position: absolute;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  top: 30%;
}

.confirmation-header {
  font-family: 'MonteCarlo', cursive;
  font-size: 3rem;
  color: #fff;
  text-shadow: 1px 1px 8px #0006;
  font-weight: 200;
  letter-spacing: 0.02em;
  margin-bottom: -2.5rem;
  text-align: top center;
}

.confirmation-header2 {
  font-family: 'MonteCarlo', cursive;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0.6rem;
  text-shadow: 1px 1px 8px #0006;
  font-weight: 200;
  letter-spacing: 0.02em;
}

.confirmation-text {
  font-family: 'Montserrat', serif;
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  line-height: 1.5;
  max-width: 600px;
}

.confirmation-btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  z-index: 2;
  position: absolute;
  top: 60%;
}

.btn-confirmar-asistencia {
  background: transparent;
  border: 0.12rem solid #fff;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  padding: 0.7rem 1.1rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  outline: none;
  font-weight: 400;
  box-shadow: none;
  letter-spacing: 0.03em;
}

.btn-confirmar-asistencia:hover,
.btn-confirmar-asistencia:focus {
  background: #fff;
  color: #000;
  border: 0.12rem solid #fff;
  cursor: pointer;
}


/* === MODAL CONFIRMACIÓN ASISTENCIA === */
.confirm-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(230, 130, 139, 0.18);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.confirm-modal {
  background: #FFFBFD;
  border-radius: 2rem;
  box-shadow: 0 8px 32px #e6828b33;
  padding: 2.5rem 2rem 2rem 2rem;
  min-width: 320px;
  max-width: 90vw;
  font-family: 'Montserrat', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: modalPop 0.25s;
}

@keyframes modalPop {
  0% {
    transform: scale(0.95);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-modal h2 {
  font-family: 'MonteCarlo', cursive;
  color: #d8a64a;
  font-size: 2.2rem;
  text-align: center;
  font-weight: 400;
}

.confirm-modal label {
  font-family: 'Lora', serif;
  color: #b05451;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  display: block;
  text-align: center;
}

.confirm-modal input[type="text"],
.confirm-modal select {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 1rem;
  border: 1px solid #d8a64a;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.2rem;
  background: #fff;
  color: #b05451;
  outline: none;
  transition: border-color 0.2s;
}

.confirm-modal input[type="text"]:focus,
.confirm-modal select:focus {
  border-color: #e6828b;
}

.confirm-modal .modal-btn {
  background: linear-gradient(90deg, #bfa14a 0%, #e6d3a3 50%, #bfa14a 100%);
  color: #fff;
  border: none;
  border-radius: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  padding: 0.7rem 2.2rem;
  cursor: pointer;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px #0002;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.confirm-modal .modal-btn:hover,
.confirm-modal .modal-btn:focus {
  background:
    linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) padding-box,
    linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) border-box;
  color: #6b5b2b;
}

.confirm-modal .modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #e6828b;
  cursor: pointer;
  z-index: 2;
  transition: color 0.2s;
}

.confirm-modal .modal-close:hover {
  color: #d8a64a;
}

.confirm-modal .modal-msg {
  font-family: 'Lora', serif;
  color: #b05451;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  min-height: 1.5em;
}

.confirm-modal .modal-success {
  color: #388e3c;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.confirm-modal .modal-error {
  color: #e6828b;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.confirm-modal .modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1.5rem 0;
}

.confirm-modal .spinner {
  border: 4px solid #f3e9d7;
  border-top: 4px solid #e6828b;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.confirm-modal select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' fill='c1b085' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23923231' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center/1.2rem;
}

.confirm-modal .modal-final {
  font-family: 'Montserrat', cursive;
  color: #e6828b;
  font-size: 1rem;
  margin: 2rem 0 1rem 0;
  text-align: center;
}

.confirm-modal .modal-small {
  font-family: 'Montserrat', sans-serif;
  color: #b05451;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  text-align: center;
}

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

/* Ocultar scroll del fondo cuando modal abierto */
body.modal-open {
  overflow: hidden !important;
}

/* === GALERÍA === */
.galery {
  position: relative;
  background: #FFFBFD;
  padding: 9vw 3vw 7vw 3vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 115vw;
  margin-top: 6vw;
  margin-bottom: 0;
  border-radius: 4vw;
  box-sizing: border-box;
}

.galery-decor-left,
.galery-decor-right {
  position: absolute;
  top: 6vw;
  width: 30%;
  max-width: 220px;
  z-index: 1;
}

.galery-decor-left {
  top: 2.5%;
  left: 0;
  display: flex;
  justify-content: flex-start;
}

.galery-decor-right {
  top: 2.5%;
  right: 0;
  display: flex;
  justify-content: flex-end;
  transform: scaleX(-1);
}

.galery-decor-left img,
.galery-decor-right img {
  width: 100%;
  height: auto;
  opacity: 1;
}

.galery-header {
  font-family: 'MonteCarlo', cursive;
  font-size: 12vw;
  color: #e6828b;
  text-align: center;
  margin: 0 auto 8vw auto;
  font-weight: 400;
  letter-spacing: 0.08em;
  position: relative;
  z-index: 2;
  line-height: 1.1;
  overflow: visible !important;
  max-height: none !important;
  height: auto !important;
}

.galery-images {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2vw;
  margin-bottom: 7vw;
  margin-top: 1.5vw;
  width: 100%;
  max-width: 420px;
  z-index: 2;
}

.galery-img-large {
  width: 55vw;
  height: 61vw;
  background: linear-gradient(to top, #b8d8e6 70%, #fff 100%);
  border-radius: 1.5vw;
  margin-bottom: 1.5vw;
  box-shadow: 0 0.6vw 2vw #0001;

}

.galery-img-row {
  display: flex;
  flex-direction: row;
  gap: 2vw;
  width: 100%;
  justify-content: center;
}

.galery-img-small {
  width: 27vw;
  height: 24vw;
  background: linear-gradient(to top, #b8d8e6 70%, #fff 100%);
  border-radius: 1.5vw;
  box-shadow: 0 0.6vw 2vw #0001;

}

.galery-text-main {
  font-family: 'Lora', serif;
  font-size: 4vw;
  color: #C19A6B;
  text-align: center;
  margin-top: 4vw;
  margin-bottom: 2vw;
  z-index: 2;
}

.galery-text-thanks {
  font-family: 'MonteCarlo', cursive;
  font-size: 8vw;
  color: #e6828b;
  text-align: center;
  margin-top: 0.6vw;
  z-index: 2;
  width: 100%;
}

/* === GALERÍA MODAL (solo lo necesario) === */
#galery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
}

.galery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.galery-modal-content {
  position: relative;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  overflow: visible !important;
}

.galery-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: 1vw;
  box-shadow: 0 0 24px #0008;
  background: #fff;
  display: block;

}

.galery-modal-close,
.galery-modal-prev,
.galery-modal-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  width: 1.7rem;
  height: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  pointer-events: auto;
  overflow: visible !important;
}

.galery-modal-close {
  top: 1rem;
  right: 1rem;
}

.galery-modal-prev {
  left: 0.5rem;
}

.galery-modal-next {
  right: 0.5rem;
}

.galery-modal-close:hover,
.galery-modal-prev:hover,
.galery-modal-next:hover {
  background: rgba(255, 155, 163, 0.941);
}

/* Animaciones para abrir/cerrar modal y cambiar imagen */
.galery-modal-open-anim {
  animation: galeryModalOpen 0.25s cubic-bezier(.4, 0, .2, 1);
}

.galery-modal-close-anim {
  animation: galeryModalClose 0.25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes galeryModalOpen {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes galeryModalClose {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.95);
  }
}

.galery-img-fadein {
  animation: galeryImgFadeIn 0.25s cubic-bezier(.4, 0, .2, 1);
}

.galery-img-fadeout {
  animation: galeryImgFadeOut 0.25s cubic-bezier(.4, 0, .2, 1);
}

@keyframes galeryImgFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes galeryImgFadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

/* --- NUEVAS ANIMACIONES SLIDE --- */
.galery-img-slideout-left {
  animation: galeryImgSlideOutLeft 0.3s cubic-bezier(.4, 0, .2, 1);
}

.galery-img-slidein-right {
  animation: galeryImgSlideInRight 0.3s cubic-bezier(.4, 0, .2, 1);
}

.galery-img-slideout-right {
  animation: galeryImgSlideOutRight 0.3s cubic-bezier(.4, 0, .2, 1);
}

.galery-img-slidein-left {
  animation: galeryImgSlideInLeft 0.3s cubic-bezier(.4, 0, .2, 1);
}

@keyframes galeryImgSlideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-3rem);
  }
}

@keyframes galeryImgSlideInRight {
  from {
    opacity: 0;
    transform: translateX(3rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes galeryImgSlideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(3rem);
  }
}

@keyframes galeryImgSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-3rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Galería imágenes cuadradas */
.galery-img-photo {
  width: 15rem;
  height: auto;
  aspect-ratio: 1/1;
  background: #eee;
  border-radius: 0.6rem;
  box-shadow: 0 0.23rem 0.75rem #0001;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

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

/* === NAVBAR FLOTANTE === */
.floating-navbar-xv {
  position: fixed;
  right: 0.7rem;
  left: auto;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  z-index: 20000;
  background: #FFFBFD;
  border: 1.2px solid #E6838C;
  border-radius: 1rem;
  padding: 0.18rem 0.10rem;
  box-shadow: 0 2px 8px #E6838C22;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
}

.floating-navbar-xv.visible {
  opacity: 1;
  pointer-events: auto;
}

.floating-navbar-xv .floating-btn-xv {
  background: #E6838C;
  color: #FFFBFD;
  border: 1.5px solid #E6838C;
  border-radius: 0.7rem;
  width: 1.9rem;
  height: 1.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 8px #E6838C11, 0 0 0 2px #E6838C11 inset;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
  outline: none;
  margin: 0 0.08rem;
  padding: 0;
  overflow: visible;
}

.floating-navbar-xv .floating-btn-xv i,
.floating-navbar-xv .floating-btn-xv svg {
  color: #FFFBFD;
  fill: #FFFBFD;
  font-size: 1rem;
  line-height: 1;
  vertical-align: middle;
  display: block;
  transition: color 0.18s, fill 0.18s;
}

.floating-navbar-xv .floating-btn-xv:active,
.floating-navbar-xv .floating-btn-xv.active,
.floating-navbar-xv .floating-btn-xv:focus {
  background: #FFFBFD;
  color: #E6838C;
  border-color: #E6838C;
  box-shadow: 0 2px 8px #E6838C33;
  transform: scale(1.0);
}

.floating-navbar-xv .floating-btn-xv:active i,
.floating-navbar-xv .floating-btn-xv.active i,
.floating-navbar-xv .floating-btn-xv:focus i,
.floating-navbar-xv .floating-btn-xv:active svg,
.floating-navbar-xv .floating-btn-xv.active svg,
.floating-navbar-xv .floating-btn-xv:focus svg {
  color: #E6838C;
  fill: #E6838C;
}

.floating-navbar-xv .floating-btn-xv.music-paused {
  background: #FFFBFD;
  color: #E6838C;
  border: 1.5px solid #E6838C;
}

.floating-navbar-xv .floating-btn-xv.music-paused i,
.floating-navbar-xv .floating-btn-xv.music-paused svg {
  color: #E6838C;
  fill: #E6838C;
}

@media (min-width: 700px) {
  .floating-navbar-xv {
    right: calc(50vw - 200px - 0.7rem);
  }
}

/* === SIMULACIÓN DE TELÉFONO EN DESKTOP === */
@media (min-width: 700px) {

  html,
  body {
    height: 100vh;
    overflow: hidden;
  }

  body {
    background-color: #fb8e8b;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #mobile-simulator {
    background: #FFFBFD;
    border-radius: 40px;
    box-shadow: 0 0 40px 8px #0008;
    padding: 0;
    width: 400px;
    max-height: 90vh;
    height: auto;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #mobile-simulator::-webkit-scrollbar {
    display: none;
  }

  #mobile-simulator::before {
    content: '';
    display: block;
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 9999;
  }

  .cover {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;

  }

  .cover-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 0;
    filter: brightness(0.8);
  }


  .cover-text-group {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 1.1;
    flex-direction: column;
    color: #fff;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: visible !important;
    white-space: normal;
    max-height: none;
    width: 100%;
    padding: 0 1rem;
  }

  .text-cover {
    top: 0%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Montserrat', cursive;
    font-size: 1rem;
    font-weight: 200;
    overflow: visible !important;
    white-space: normal;
    max-height: none;
    margin-bottom: -1rem;
  }

  .text-cover p {
    overflow: visible !important;
    white-space: normal;
    max-height: none;
  }

  .name-cover {
    top: 0%;
    left: 53%;
    transform: translate(-50%, -10%);
    width: 100%;
    font-family: 'MonteCarlo', cursive;
    font-size: 7rem;
    font-weight: 400;
    overflow: visible !important;
    white-space: normal;
    max-height: none;
  }

  .name-cover p {
    overflow: visible !important;
    white-space: normal;
    max-height: none;
    padding-right: 3rem;
  }


  .text-date {
    top: 0%;
    left: 50%;
    transform: translate(-50%, 700%);
    font-family: 'Montserrat', cursive;
    font-size: 0.8rem;
    font-weight: 200;
    overflow: visible !important;
    white-space: normal;
    max-height: none;
    margin-top: 1rem;
  }

  .text-date p {
    overflow: visible !important;
    white-space: normal;
    max-height: none;
  }

  /* Divider Image */
  .divider-image {
    width: 90%;
    margin: 1rem auto;
    display: block;
  }

  /* Thanks and Parents Sections */
  .thanks,
  .parents {
    display: block;
  }

  .thanks p,
  .parents p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #d8a64a;
    text-align: center;
    line-height: 1.5;
  }

  .thanks p {
    text-align: center;
  }

  .thanks-paragraph {
    white-space: normal;
    word-break: break-word;
    width: 80%;
    margin: 0 auto;
  }

  .thanks-paragraph2 {
    white-space: normal;
    word-break: break-word;
    width: 80%;
    margin: 0 auto;
    margin-top: 0.5rem;
  }

  /* Parents Section */
  .parents {
    position: relative;
    height: 60rem;
    text-align: center;
    padding: 2rem;
    margin-bottom: -18rem;
  }

  .parents-content {
    position: relative;
    text-align: center;
    line-height: 1.1;
    flex-direction: column;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #b05451;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }


  .section-title p {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #b05451;
  }

  .group {
    margin-bottom: 2rem;
  }

  .highlight p {
    font-family: 'MonteCarlo', cursive;
    font-size: 2.2rem;
    color: #d8a64a;
    margin-bottom: 0.5rem;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .parent-name p,
  .godparent-name p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #b05451;
    margin: 0.5rem 0;
  }

  /* Corner Images */
  .corner-top-left img,
  .corner-top-right1 img,
  .corner-top-right2 img,
  .bottom-left-corner1 img,
  .bottom-left-corner2 img,
  .bottom-right-corner img {
    position: absolute;
    width: 12rem;
    height: auto;
    z-index: 1;
  }

  .corner-top-right2 img {
    width: 13rem !important;
  }

  .corner-top-left img {
    top: 0%;
    left: 2%;
  }

  .corner-top-right1 img {
    top: 0%;
    right: 2%;
  }

  .corner-top-right2 img {
    top: 5%;
    right: -18%;
    opacity: 0.5;
    transform: rotate(-57deg) scaleY(-1);
  }

  .bottom-left-corner1 img {
    bottom: 37%;
    left: 2%;
    transform: rotate(-90deg) scaleX(-1);
  }

  .bottom-left-corner2 img {
    bottom: 57%;
    left: -25%;
    transform: rotate(-130deg);
    opacity: 0.5;
  }

  .bottom-right-corner img {
    bottom: 37%;
    right: 2%;
    transform: rotate(-180deg);
  }

  .countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20rem;
    text-align: center;
    position: relative;
    font-weight: 200;

  }

  .countdown-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
    filter: brightness(0.4);
  }

  .countdown-header {
    font-family: 'MonteCarlo', cursive;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 8px #0006;
    font-weight: 200;
    letter-spacing: 0.02em;
    z-index: 0;
  }

  #countdown-timer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
    font-family: 'Lora', serif;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 8px #0006;
    margin-bottom: 0.2rem;
    z-index: 0;
  }

  #countdown-timer span {
    min-width: 2.5rem;
    display: inline-block;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-weight: 200;
  }

  .countdown-units {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    color: #fff;
    font-size: 0.7rem;
    margin-top: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 200;
    letter-spacing: 0.05em;
    position: relative;
    top: -0.2rem;
    width: 100%;
  }

  #countdown-message {
    font-family: 'MonteCarlo', cursive;
    font-size: 2rem;
    color: #fff;
    margin-top: 2rem;
    text-shadow: 1px 1px 8px #0006;
    font-weight: 200;
    z-index: 0;
  }

  .unit-days {
    margin-right: 1rem;
  }

  .unit-seconds {
    margin-right: -1rem;
  }


  .details-frame-wrap {
    position: relative;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .details {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    text-align: center;
    padding: 2rem;
    overflow: visible !important;
  }

  .frame-element1 img,
  .frame-element2 img {
    position: absolute;
    display: flex;
    width: 13rem;
    height: auto;
    z-index: 1;
  }

  .frame-element3 img,
  .frame-element4 img,
  .frame-element5 img,
  .frame-element6 img {
    width: 7rem;
  }

  .frame-element1 img {
    top: 10%;
    left: 80%;
    opacity: 0.5;
    transform: rotate(-57deg) scaleY(-1);
  }

  .frame-element2 img {
    top: 43%;
    right: 80%;
    opacity: 0.5;
    transform: rotate(-57deg) scaleX(-1);
  }

  .frame-element3 img {
    position: absolute;
    top: 0%;
    left: -25%;
  }

  .frame-element4 img {
    position: absolute;
    top: 15%;
    left: 90%;
    transform: scaleX(-1);
  }

  .frame-element5 img {
    position: absolute;
    top: 34%;
    left: 90%;
    transform: scaleX(-1);
  }

  .frame-element6 img {
    position: absolute;
    top: 45%;
    left: -30%;
  }

  .icon-iglesia {
    position: absolute;
    top: -8%;
    left: -50%;
    display: flex;
    width: 19rem;
    height: auto;
    z-index: 1;
  }

  .icon-recepcion {
    position: absolute;
    top: 40%;
    left: 40%;
    display: flex;
    width: 19rem;
    height: auto;
    z-index: 1;
  }

  .icon-gala {
    display: flex;
    width: 4rem;
    height: auto;
    z-index: 1;
  }

  .icon-carta {
    display: flex;
    width: 4rem;
    height: auto;
    z-index: 1;
    margin-bottom: 1.5rem;
  }

  .details-eventos{
    display: block;
  }
  .details-misa-wrapper{
    position: absolute;
    top:19%;
    left:50%;
  }
  .details-recepcion-wrapper{
    position: absolute;
    top:45%;
    left:6%;
  }

  .details-extra{
    width: 100%;
    margin-top: 40rem;
  }

  .extra-corner-top-left1 img,
  .extra-corner-top-left2 img,
  .extra-corner-top-right img,
  .extra-corner-bottom-left img,
  .extra-corner-bottom-right1 img,
  .extra-corner-bottom-right2 img {
    position: absolute;
    width: 8rem;
    height: auto;
    z-index: 1;
  }

  .extra-corner-top-left1 img {
    top: 65%;
    right: 88%;
    transform: rotate(310deg);
    opacity: 0.5;
  }

  .extra-corner-top-left2 img {
    top: 68%;
    right: 65%;
  }
  .extra-corner-top-right img {
    top: 67%;
    left: 65%;
  }

  .extra-corner-bottom-left img {
    top: 97%;
    right: 65%;
    transform: rotate(180deg);
  }

  .extra-corner-bottom-right1 img {
    top: 99%;
    right: -25%;
    opacity: 0.5;
    transform: rotate(105deg);
  }

  .extra-corner-bottom-right2 img {
    top: 97%;
    right: -5%;
    transform: rotate(90deg) scaleX(-1);
  }

  .details-extra-decor > .details-block2 {
    position: relative;
    z-index: 2;
  }

  .details-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    margin-top: 1.2rem;
  }

  .details-text {
    font-family: 'Alice', serif;
    font-size: 1.2rem;
    color: #d8a64a;
    text-align: top center;
    line-height: 1.5;
    max-width: 600px;
  }

  .details-phrase {
    font-family: 'MonteCarlo', serif;
    font-size: 2.2rem;
    color: #e6828b;
    margin-bottom: 0.2rem;
    padding: 0.5rem;
  }

  .details-phrase2 {
    font-family: 'MonteCarlo', serif;
    font-size: 2.2rem;
    color: #e6828b;
    margin-top: -3rem;
    z-index: 10;
    padding: 0.5rem;
    
  }

  .details-block {
    min-height: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .details-block2 {
    min-height: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
  }

  .detail-info {
    font-family: 'Alice', cursive;
    font-size: 1.2rem;
    color: #C19A6B;
    margin-bottom: 0.2rem;
    font-style: italic;
  }

  .details-label {
    font-family: 'MonteCarlo', cursive;
    font-size: 2.2rem;
    color: #C19A6B;
    margin-bottom: 0.2rem;
  }

  .details-place {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #b05451;
    margin-bottom: 0.2rem;
  }

  .details-time {
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: #b05451;
    font-style: italic;
    margin-bottom: 0.5rem;
  }

  .details-link {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    background:
      linear-gradient(90deg, #bfa14a 0%, #e6d3a3 50%, #bfa14a 100%) padding-box,
      linear-gradient(90deg, #bfa14a 0%, #DAAA59 50%, #bfa14a 100%) border-box;
    border: 0.10vw solid transparent;
    color: #fff;
    border-radius: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
    letter-spacing: 0.03em;
    box-shadow: 0 2px 8px #0002;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
  }

  .details-link:hover,
  .details-link:focus {
    background:
      linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) padding-box,
      linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) border-box;
    color: #6b5b2b;
    filter: brightness(1.08) drop-shadow(0 0 6px #e6d3a388);
    text-shadow: 0 1px 6px #fff8;
    transition: background 0.3s, color 0.3s, filter 0.3s, text-shadow 0.3s;
  }


  .confirmation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40rem;
    text-align: center;
    position: relative;
    font-weight: 200;
    z-index: 2;
  }

  .attendance-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 2;
    filter: brightness(0.4);

  }

  .confirmation-header-group {
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    top: 10%;
    z-index: 2;
  }

  .confirmation-text-group {
    display: flex;
    position: absolute;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    top: 30%;
    z-index: 2;
  }

  .confirmation-header {
    font-family: 'MonteCarlo', cursive;
    font-size: 3rem;
    color: #fff;
    text-shadow: 1px 1px 8px #0006;
    font-weight: 200;
    letter-spacing: 0.02em;
    margin-bottom: -2.5rem;
    text-align: top center;
    z-index: 2;
  }

  .confirmation-header2 {
    font-family: 'MonteCarlo', cursive;
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.6rem;
    text-shadow: 1px 1px 8px #0006;
    font-weight: 200;
    letter-spacing: 0.02em;
    z-index: 2;
  }

  .confirmation-text {
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    color: #fff;
    text-align: center;
    line-height: 1.5;
    max-width: 600px;
    z-index: 2;

  }

  .confirmation-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    z-index: 2;
    position: absolute;
    top: 60%;
  }

  .btn-confirmar-asistencia {
    background: transparent;
    border: 0.12rem solid #fff;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    padding: 0.7rem 1.1rem;
    border-radius: 0.3rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    outline: none;
    font-weight: 400;
    box-shadow: none;
    letter-spacing: 0.03em;
  }

  .btn-confirmar-asistencia:hover,
  .btn-confirmar-asistencia:focus {
    background: #fff;
    color: #000;
    border: 0.12rem solid #fff;
    cursor: pointer;
  }

  /* === MODAL CONFIRMACIÓN ASISTENCIA === */
  .confirm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(230, 130, 139, 0.18);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }

    to {
      opacity: 1;
    }
  }

  .confirm-modal {
    background: #FCEDE2;
    border-radius: 2rem;
    box-shadow: 0 8px 32px #e6828b33;
    padding: 2.5rem 2rem 2rem 2rem;
    min-width: 320px;
    max-width: 90vw;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    animation: modalPop 0.25s;
  }

  @keyframes modalPop {
    0% {
      transform: scale(0.95);
      opacity: 0;
    }

    100% {
      transform: scale(1);
      opacity: 1;
    }
  }

  .confirm-modal h2 {
    font-family: 'MonteCarlo', cursive;
    color: #d8a64a;
    font-size: 2.2rem;
    text-align: center;
    font-weight: 400;
  }

  .confirm-modal label {
    font-family: 'Lora', serif;
    color: #b05451;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
    display: block;
    text-align: center;
  }

  .confirm-modal input[type="text"],
  .confirm-modal select {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 1rem;
    border: 1px solid #d8a64a;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.2rem;
    background: #fff;
    color: #b05451;
    outline: none;
    transition: border-color 0.2s;
  }

  .confirm-modal input[type="text"]:focus,
  .confirm-modal select:focus {
    border-color: #e6828b;
  }

  .confirm-modal .modal-btn {
    background: linear-gradient(90deg, #bfa14a 0%, #e6d3a3 50%, #bfa14a 100%);
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    padding: 0.7rem 2.2rem;
    cursor: pointer;
    margin-top: 0.5rem;
    margin-bottom: 0.2rem;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px #0002;
    font-weight: 500;
    letter-spacing: 0.03em;
  }

  .confirm-modal .modal-btn:hover,
  .confirm-modal .modal-btn:focus {
    background:
      linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) padding-box,
      linear-gradient(90deg, #e6d3a3 0%, #bfa14a 50%, #e6d3a3 100%) border-box;
    color: #6b5b2b;
  }

  .confirm-modal .modal-close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #e6828b;
    cursor: pointer;
    z-index: 2;
    transition: color 0.2s;
  }

  .confirm-modal .modal-close:hover {
    color: #d8a64a;
  }

  .confirm-modal .modal-msg {
    font-family: 'Lora', serif;
    color: #b05451;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-align: center;
    min-height: 1.5em;
  }

  .confirm-modal .modal-success {
    color: #388e3c;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .confirm-modal .modal-error {
    color: #e6828b;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .confirm-modal .modal-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1.5rem 0;
  }

  .confirm-modal .spinner {
    border: 4px solid #f3e9d7;
    border-top: 4px solid #e6828b;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
  }

  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  .confirm-modal select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg width='16' height='16' fill='c1b085' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23923231' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center/1.2rem;
  }

  .confirm-modal .modal-final {
    font-family: 'Montserrat', cursive;
    color: #e6828b;
    font-size: 1rem;
    margin: 2rem 0 1rem 0;
    text-align: center;
  }

  .confirm-modal .modal-small {
    font-family: 'Montserrat', sans-serif;
    color: #b05451;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
  }

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

  /* Ocultar scroll del fondo cuando modal abierto */
  body.modal-open {
    overflow: hidden !important;
  }

  /* === GALERÍA === */
  .galery {
    position: relative;
    background: #FFFBFD;
    padding: 3.5rem 1.2rem 2.7rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 44rem;
    margin-top: 2.2rem;
    margin-bottom: 0;
    border-radius: 1.5rem;
    box-sizing: border-box;
  }

  .galery-decor-left,
  .galery-decor-right {
    position: absolute;
    top: 2.2rem;
    width: 30%;
    max-width: 13.75rem;
    z-index: 1;
  }

  .galery-decor-left {
    left: 0;
    display: flex;
    justify-content: flex-start;
    top: 6%;
  }

  .galery-decor-right {
    right: 0;
    display: flex;
    justify-content: flex-end;
    transform: scaleX(-1);
    top: 6%;
  }

  .galery-decor-left img,
  .galery-decor-right img {
    width: 100%;
    height: auto;
    opacity: 1;
  }

  .galery-header {
    font-family: 'MonteCarlo', cursive;
    font-size: 3.5rem;
    color: #e6828b;
    text-align: center;
    margin: 0 auto 3rem auto;
    font-weight: 400;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 2;
    line-height: 1.1;
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
  }

  .galery-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2.7rem;
    margin-top: 0.6rem;
    width: 100%;
    max-width: 26.25rem;
    z-index: 2;
  }

  .galery-img-large {
    width: 21rem;
    height: 23.5rem;
    background: linear-gradient(to top, #b8d8e6 70%, #fff 100%);
    border-radius: 0.6rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 0.23rem 0.75rem #0001;

  }

  .galery-img-row {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
  }

  .galery-img-small {
    width: 10.3rem;
    height: 9.2rem;
    background: linear-gradient(to top, #b8d8e6 70%, #fff 100%);
    border-radius: 0.6rem;
    box-shadow: 0 0.23rem 0.75rem #0001;

  }

  .galery-text-main {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #C19A6B;
    text-align: center;
    margin-top: 1.7rem;
    margin-bottom: 0.75rem;
    z-index: 2;
  }

  .galery-text-thanks {
    font-family: 'MonteCarlo', cursive;
    font-size: 2.3rem;
    color: #e6828b;
    text-align: center;
    margin-top: 0.23rem;
    z-index: 2;
    width: 100%;
  }

  /* === GALERÍA MODAL (solo lo necesario) === */
  #galery-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
  }

  .galery-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
  }

  .galery-modal-content {
    position: relative;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 36rem;
    max-height: 36rem;
    overflow: visible !important;
  }

  .galery-modal-img {
    max-width: 36rem;
    max-height: 36rem;
    width: auto;
    height: auto;
    border-radius: 0.4rem;
    box-shadow: 0 0 1.5rem #0008;
    background: #fff;
    display: block;

  }

  .galery-modal-close,
  .galery-modal-prev,
  .galery-modal-next {
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    pointer-events: auto;
    overflow: visible !important;
  }

  .galery-modal-close {
    top: 1rem;
    right: 1rem;
  }

  .galery-modal-prev {
    left: 0.5rem;
  }

  .galery-modal-next {
    right: 0.5rem;
  }

  .galery-modal-close:hover,
  .galery-modal-prev:hover,
  .galery-modal-next:hover {
    background: rgba(255, 155, 163, 0.941);
  }

  /* Animaciones para abrir/cerrar modal y cambiar imagen */
  .galery-modal-open-anim {
    animation: galeryModalOpen 0.25s cubic-bezier(.4, 0, .2, 1);
  }

  .galery-modal-close-anim {
    animation: galeryModalClose 0.25s cubic-bezier(.4, 0, .2, 1);
  }

  @keyframes galeryModalOpen {
    from {
      opacity: 0;
      transform: scale(0.95);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes galeryModalClose {
    from {
      opacity: 1;
      transform: scale(1);
    }

    to {
      opacity: 0;
      transform: scale(0.95);
    }
  }

  .galery-img-fadein {
    animation: galeryImgFadeIn 0.25s cubic-bezier(.4, 0, .2, 1);
  }

  .galery-img-fadeout {
    animation: galeryImgFadeOut 0.25s cubic-bezier(.4, 0, .2, 1);
  }

  @keyframes galeryImgFadeIn {
    from {
      opacity: 0;
      transform: scale(0.96);
    }

    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes galeryImgFadeOut {
    from {
      opacity: 1;
      transform: scale(1);
    }

    to {
      opacity: 0;
      transform: scale(1.04);
    }
  }

  /* --- NUEVAS ANIMACIONES SLIDE --- */
  .galery-img-slideout-left {
    animation: galeryImgSlideOutLeft 0.3s cubic-bezier(.4, 0, .2, 1);
  }

  .galery-img-slidein-right {
    animation: galeryImgSlideInRight 0.3s cubic-bezier(.4, 0, .2, 1);
  }

  .galery-img-slideout-right {
    animation: galeryImgSlideOutRight 0.3s cubic-bezier(.4, 0, .2, 1);
  }

  .galery-img-slidein-left {
    animation: galeryImgSlideInLeft 0.3s cubic-bezier(.4, 0, .2, 1);
  }

  @keyframes galeryImgSlideOutLeft {
    from {
      opacity: 1;
      transform: translateX(0);
    }

    to {
      opacity: 0;
      transform: translateX(-3rem);
    }
  }

  @keyframes galeryImgSlideInRight {
    from {
      opacity: 0;
      transform: translateX(3rem);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes galeryImgSlideOutRight {
    from {
      opacity: 1;
      transform: translateX(0);
    }

    to {
      opacity: 0;
      transform: translateX(3rem);
    }
  }

  @keyframes galeryImgSlideInLeft {
    from {
      opacity: 0;
      transform: translateX(-3rem);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  /* Galería imágenes */
  .galery-img-photo {
    width: 15rem;
    height: auto;
    aspect-ratio: 1/1;
    background: #eee;
    border-radius: 0.6rem;
    box-shadow: 0 0.23rem 0.75rem #0001;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
  }

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

  /* === NAVBAR FLOTANTE === */
  .floating-navbar-xv {
    position: fixed;
    right: 0.7rem;
    left: auto;
    bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 20000;
    background: #FFFBFD;
    border: 1.2px solid #E6838C;
    border-radius: 1rem;
    padding: 0.18rem 0.10rem;
    box-shadow: 0 2px 8px #E6838C22;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1);
  }

  .floating-navbar-xv.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .floating-navbar-xv .floating-btn-xv {
    background: #E6838C;
    color: #FFFBFD;
    border: 1.5px solid #E6838C;
    border-radius: 0.7rem;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 8px #E6838C11, 0 0 0 2px #E6838C11 inset;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.15s, box-shadow 0.18s;
    outline: none;
    margin: 0 0.08rem;
    padding: 0;
    overflow: visible;
  }

  .floating-navbar-xv .floating-btn-xv i,
  .floating-navbar-xv .floating-btn-xv svg {
    color: #FFFBFD;
    fill: #FFFBFD;
    font-size: 1rem;
    line-height: 1;
    vertical-align: middle;
    display: block;
    transition: color 0.18s, fill 0.18s;
  }

  .floating-navbar-xv .floating-btn-xv:active,
  .floating-navbar-xv .floating-btn-xv.active,
  .floating-navbar-xv .floating-btn-xv:focus {
    background: #FFFBFD;
    color: #E6838C;
    border-color: #E6838C;
    box-shadow: 0 2px 8px #E6838C33;
    transform: scale(1.0);
  }

  .floating-navbar-xv .floating-btn-xv:active i,
  .floating-navbar-xv .floating-btn-xv.active i,
  .floating-navbar-xv .floating-btn-xv:focus i,
  .floating-navbar-xv .floating-btn-xv:active svg,
  .floating-navbar-xv .floating-btn-xv.active svg,
  .floating-navbar-xv .floating-btn-xv:focus svg {
    color: #E6838C;
    fill: #E6838C;
  }

  .floating-navbar-xv .floating-btn-xv.music-paused {
    background: #FFFBFD;
    color: #E6838C;
    border: 1.5px solid #E6838C;
  }

  .floating-navbar-xv .floating-btn-xv.music-paused i,
  .floating-navbar-xv .floating-btn-xv.music-paused svg {
    color: #E6838C;
    fill: #E6838C;
  }

}