@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Alex+Brush&family=Playfair+Display:wght@500;600&display=swap');

:root {
  --cream: #fff2cf;
  --navy: #00050e;
  --gold: #dcb165;
  --gold-dark: #8f641b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-x: hidden;

  background: radial-gradient(
    circle at top,
    #07152e 0%,
    #00050e 45%,
    #000000 100%
  );

  color: white;
}

.invitation {
  width: min(100%, 480px);
  max-width: 480px;

  margin: 0 auto;

  overflow: hidden;

  background: var(--navy);

  box-shadow:

    /* halo blanco muy suave */
    0 0 18px rgba(255,255,255,.03),

    /* halo azul */
    0 0 45px rgba(30,60,140,.18),

    /* halo dorado */
    0 0 60px rgba(220,177,101,.08),

    /* profundidad */
    0 0 120px rgba(0,0,0,.75);
    clip-path: inset(0 0 100% 0);
}

.invite-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-bg {
  width: 100%;
  display: block;
}

.section-content {
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 78%;
  text-align: center;
  line-height: normal;
}

/* HERO */

.hero-content {
  top: 45%;
  transform: translate(-50%, -50%);
  z-index: 6;
}

/* Ocultar elementos del hero hasta que abra el sobre */
.hero-content .subtitle,
.hero-content .subtitle-small,
.hero-content .name-line,
.hero-content .ampersand,
.hero-content .gold-divider {
  opacity: 0;
}

/* ESTRELLAS ESQUINAS */

.corner-sparkles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  width: 3px;
  height: 3px;
  opacity: 0;
}

.sparkle::before,
.sparkle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(244, 211, 137, 0.9);
  transform: translate(-50%, -50%);
  border-radius: 999px;
}

.sparkle::before {
  width: 100%;
  height: 1px;
}

.sparkle::after {
  width: 1px;
  height: 100%;
}

.s1 { left: 10%; top: 18%; animation: cornerTwinkle 5.2s ease-in-out infinite; }
.s2 { left: 86%; top: 23%; animation: cornerTwinkle 5.8s ease-in-out infinite; animation-delay: 1.1s; }
.s3 { left: 14%; top: 72%; animation: cornerTwinkle 6.2s ease-in-out infinite; animation-delay: 2s; }
.s4 { left: 82%; top: 70%; animation: cornerTwinkle 5.3s ease-in-out infinite; animation-delay: 1.7s; }
.s5 { left: 6%; top: 48%; animation: cornerTwinkle 6.5s ease-in-out infinite; animation-delay: 2.8s; }
.s6 { left: 92%; top: 50%; animation: cornerTwinkle 5.9s ease-in-out infinite; animation-delay: 3.2s; }

/* NUBES HERO */

.hero-cloud{
  position:absolute;
  bottom:0;
  width:55%;
  opacity:0;
  z-index:3;
  pointer-events:none;
}

.hero-cloud-left{
  left:0;
  transform:translateX(-110%);
}

.hero-cloud-right{
  right:0;
  transform:translateX(110%);
}

.invitation.hero-start .hero-cloud-left{
  animation:cloudLeftEntrance 2.2s ease-out forwards;
}

.invitation.hero-start .hero-cloud-right{
  animation:cloudRightEntrance 2.2s ease-out forwards;
}

@keyframes cloudLeftEntrance{
  from{
    transform:translateX(-110%);
    opacity:0;
  }

  to{
    transform:translateX(0);
    opacity:1;
  }
}

@keyframes cloudRightEntrance{
  from{
    transform:translateX(110%);
    opacity:0;
  }

  to{
    transform:translateX(0);
    opacity:1;
  }
}

/* TEXTOS HERO */

.subtitle {
  position:relative;
  top:-20px;
  left:0px;

  font-family: 'Cinzel', serif;
  font-size: clamp(1.42rem, 2.25vw, 2.05rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 2.0;
  color: var(--cream);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.subtitle-small {
  position:relative;
  top:-10px;
  left:0px;

  margin-top: 2px;
  font-size: clamp(1.08rem, 1.7vw, 1.30rem);
  letter-spacing: 0.09em;
  color: rgba(255, 242, 207, 0.78);
}

.names-wrapper {
  position: relative;
  margin-top: 18px;
}

/* COMETA */

.comet-area {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.comet {
  position: absolute;
  left: -80px;
  top: 50%;
  width: 90px;
  height: 45px;
  opacity: 0;
  transform: rotate(-12deg);
  animation: cometBehind 20s linear infinite;
}

.comet::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fffdf3;
  transform: translateY(-50%);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.75),
    0 0 8px rgba(244, 211, 137, 0.55);
}

.comet::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  width: 58px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 22%,
    rgba(244, 211, 137, 0.28) 58%,
    rgba(255, 253, 243, 0.72) 100%
  );
  transform: translateY(-50%);
}

/* BRILLOS DEL COMETA */

.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(244, 211, 137, 0.8);
  box-shadow:
    0 0 4px rgba(244, 211, 137, 0.55),
    0 0 7px rgba(184, 134, 11, 0.35);
  opacity: 0;
}

.spark-1 { left: 16%; top: 68%; animation: sparkBehind 20s linear infinite; animation-delay: 7s; }
.spark-2 { left: 32%; top: 48%; animation: sparkBehind 20s linear infinite; animation-delay: 8s; }
.spark-3 { left: 50%; top: 38%; animation: sparkBehind 20s linear infinite; animation-delay: 9s; }
.spark-4 { left: 68%; top: 48%; animation: sparkBehind 20s linear infinite; animation-delay: 10s; }
.spark-5 { left: 84%; top: 68%; animation: sparkBehind 20s linear infinite; animation-delay: 11s; }

/* NOMBRES */

.couple-names {
  position: relative;
  z-index: 5;
  width: 100%;
  font-family: 'Alex Brush', cursive;
  font-weight: 400;
  line-height: 1.1;
}

.name-line {
  position: relative;
  z-index: 3;
  display: block;
  white-space: nowrap;
  font-size: clamp(2.82rem, 7.5vw, 3.45rem);

  background: linear-gradient(
    to bottom,
    #fff8d8 0%,
    #f8e4a1 12%,
    #e4c35e 28%,
    #cfa43b 45%,
    #f4df98 55%,
    #c99523 70%,
    #9a690e 85%,
    #6f4704 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    1px 1px 0 rgba(255, 255, 255, 0.12),
    2px 2px 3px rgba(0, 0, 0, 0.62),
    0 4px 8px rgba(0, 0, 0, 0.38);
}

.name-elena {
  position:relative;
  top:-5px;
  left:0px;
  margin-bottom: 5px;
}

.name-alvaro {
  position:relative;
  top:-5px;
  left:0px;
  margin-top: 5px;
}

.ampersand {
  position: relative;
  top:-10px;
  left:0px;
  z-index: 20;
  display: block;
  margin: 5px 0;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.78rem, 3.2vw, 1.98rem);

  background: linear-gradient(
    to bottom,
    #fff8d8 0%,
    #e4c35e 35%,
    #c99523 70%,
    #6f4704 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 1px 2px rgba(0,0,0,.8),
    0 2px 6px rgba(0,0,0,.4);
}

/* DIVISOR */

.gold-divider,
.mini-gold-divider {
  position: relative;
  top:-0px;
  left:0px;
}

.gold-divider {
  width: 250px;
  height: 16px;
  margin: 12px auto 0;
}

.gold-divider::before,
.gold-divider::after,
.mini-gold-divider::before,
.mini-gold-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 177, 101, 0.85),
    transparent
  );
}

.gold-divider::before,
.gold-divider::after {
  width: 42%;
}

.gold-divider::before,
.mini-gold-divider::before {
  left: 0;
}

.gold-divider::after,
.mini-gold-divider::after {
  right: 0;
}

.gold-divider span,
.mini-gold-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);
  transform: translate(-50%, -50%) rotate(45deg);
}

.gold-divider span {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 4px rgba(242, 210, 122, 0.45);
}

/* APARICIÓN ESCALONADA DEL HERO */

.invitation.hero-start .hero-content .subtitle{
  animation:heroTextIn .9s ease forwards;
  animation-delay:2.2s;
}

.invitation.hero-start .hero-content .subtitle-small{
  animation:heroTextIn .9s ease forwards;
  animation-delay:2.8s;
}

.invitation.hero-start .hero-content .name-elena{
  animation:heroTextIn .9s ease forwards, nameFloat 5.5s ease-in-out infinite;
  animation-delay:3.4s, 4.3s;
}

.invitation.hero-start .hero-content .ampersand{
  animation:heroTextIn .7s ease forwards;
  animation-delay:4.0s;
}

.invitation.hero-start .hero-content .name-alvaro{
  animation:heroTextIn .9s ease forwards, nameFloat 5.5s ease-in-out infinite;
  animation-delay:4.4s, 5.3s;
}

.invitation.hero-start .hero-content .gold-divider{
  animation:heroTextIn .9s ease forwards;
  animation-delay:4.9s;
}

@keyframes heroTextIn{
  from{
    opacity:0;
    transform:translateY(12px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* COUNTDOWN */

.countdown-section {
  position: relative;
  margin-top: -1px;
}

.countdown-content {
  top: 85%;
  transform: translate(-50%, -50%);
  width: 82%;
}

.countdown-title {
  position: relative;
  top: -135px;
  left: 0px;
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  margin-bottom: 12px;
  color: #e9e9e9;
  text-shadow:
    0 0 3px rgba(255,255,255,.55),
    0 0 8px rgba(255,255,255,.35),
    0 0 16px rgba(220,220,220,.22),
    0 2px 5px rgba(0,0,0,.75);
  animation: nuestraBodaGlow 3.8s ease-in-out infinite;
}

.countdown-title::after {
  content: "✦";
  position: absolute;
  left: 50.6%;
  top: 44px;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: #dcb165;
  text-shadow:
    0 0 4px rgba(220,177,101,.85),
    0 0 10px rgba(220,177,101,.45);
  animation: nuestraBodaStar 3.8s ease-in-out infinite;
}

.countdown-title::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 44%;
  width: 125%;
  height: 140%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse,
    rgba(255,255,255,.16) 0%,
    rgba(255,255,255,.07) 35%,
    transparent 70%
  );
  z-index: -1;
  animation: nuestraBodaAura 3.8s ease-in-out infinite;
}

.countdown-section .mini-gold-divider {
  position: relative;
  top: -128px;
  left: 0px;
  width: 200px;
  height: 12px;
  margin: 0 auto 6px;
}

.countdown-section .mini-gold-divider::before,
.countdown-section .mini-gold-divider::after {
  width: 40%;
}

.countdown-section .mini-gold-divider span {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 3px rgba(242, 210, 122, 0.35);
}

.wedding-date {
  position: relative;
  top: -110px;
  left: 0px;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.10rem, 2.34vw, 1.39rem);
  font-weight: 500;
  color: #dcb165;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.countdown-divider {
  position: relative;
  top: -105px;
  left: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 9px;
}

.countdown-divider span {
  width: 75px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 177, 101, 0.75),
    transparent
  );
}

.countdown-divider p {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(255, 242, 207, 0.82);
}

.countdown-grid {
  position: relative;
  top: -90px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.count-item {
  min-width: 52px;
  position: relative;
}

.count-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 4px;
  width: 1px;
  height: 34px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(220,177,101,.25) 10%,
    rgba(220,177,101,.85) 50%,
    rgba(220,177,101,.25) 90%,
    transparent 100%
  );
  animation: dividerGlow 4s ease-in-out infinite;
}

.count-item strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(1.16rem, 2.3vw, 1.5rem);
  font-weight: 900;
  color: #dcb165;
  line-height: 1;
}

.count-item span {
  display: block;
  margin-top: 4px;
  font-family: 'Cinzel', serif;
  font-size: 0.44rem;
  letter-spacing: 0.09em;
  color: rgba(255, 242, 207, 0.82);
}

.countdown-stars {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.count-star {
  position: absolute;
  display: block;
  font-family: serif;
  font-size: 17px;
  line-height: 1;
  color: #c9a227;
  text-shadow:
    0 0 2px rgba(201,162,39,.55),
    0 0 4px rgba(201,162,39,.35),
    0 0 8px rgba(201,162,39,.15);
  opacity: .35;
  animation: countdownTwinkle 2s ease-in-out infinite;
}

.star-left {
  left: 10.5%;
  top: 45.5%;
}

.star-right {
  right: 10.8%;
  top: 45.5%;
  animation-delay: 2s;
}


/* CEREMONIA */

.ceremony-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.ceremony-bg {
  width: 100%;
  height: auto;
  display: block;
}

.ceremony-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  line-height: normal;
}

.ceremony-info {
  position: absolute;
  top: 50%;
  left: 61%;
  transform: translate(-50%, -50%);
  width: 54%;
  text-align: left;
}

.ceremony-title {
  position: relative;
  top: -180px;
  left: -40px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: .18em;
  color: #dcb165;
  margin-bottom: 5px;
  animation: ceremonyTitleGlow 4s ease-in-out infinite;
}
@keyframes ceremonyTitleGlow {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}

.ceremony-mini-divider {
  position: relative;
  top: -170px;
  left: -75px;
  width: 300px;
  height: 12px;
  margin: 0 0 10px 0;
}

.ceremony-mini-divider::before,
.ceremony-mini-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 177, 101, 0.85),
    transparent
  );
}

.ceremony-mini-divider::before {
  left: 0;
}

.ceremony-mini-divider::after {
  right: 0;
}

.ceremony-mini-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 4px rgba(242, 210, 122, 0.45);
}

.ceremony-place-block {
  position: relative;
  top: 130px;
  left: -50px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.ceremony-place-icon,
.ceremony-time-icon {
  position: relative;
  width: 20px;
  height: 20px;
  color: #dcb165;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(220,177,101,.35));
}

.ceremony-place-text {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .05em;
  color: rgba(255,242,207,.88);
  line-height: 1.3;
  margin: 0;

  white-space: nowrap;
}

.ceremony-time-block {
  position: relative;
  top: 140px;
  left: -50px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.ceremony-time-text {
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .08em;
  color: rgba(255,242,207,.82);
  margin: 0;
}

.ceremony-icon svg,
.location-icon svg,
.calendar-icon svg,
.ceremony-calendar-icon svg,
.ceremony-maps-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* BOTONES CEREMONIA */

.ceremony-buttons {
  position: relative;
  top: 100px;
  left: -40px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.location-button,
.ceremony-calendar-button {
  position: relative;
  min-width: 100px;
  padding: 10px 20px;
  border: .27px solid #dcb165;
  border-radius: 999px;
  background: rgba(1, 7, 33, 0.85);
  color: #dcb165;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow:
  0 0 4px rgba(220,177,101,.65),
  0 0 10px rgba(220,177,101,.45),
  0 0 18px rgba(220,177,101,.25);
  transition: all .3s ease;
  cursor: pointer;
}

.location-button:hover,
.ceremony-calendar-button:hover {
  background: rgba(220,177,101,.08);
  box-shadow: 0 0 12px rgba(220,177,101,.28);
}

.ceremony-maps-button {
  top: 67px;
  left: -60px;
}

.ceremony-waze-button {
  top: 67px;
  left: -40px;
}



.ceremony-maps-icon {
  width: 15px;
  height: 15px;
  color: #dcb165;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ceremony-waze-icon {
  width: 10px;
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ceremony-waze-icon img {
  width: 180%;
  height: 180%;
  object-fit: contain;
  display: block;
}

.ceremony-calendar-icon {
  width: 13px;
  height: 13px;
  color: #dcb165;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* MODAL CALENDARIO - PERTENECE AL BOTÓN AGENDAR DE CEREMONIA */

.calendar-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: none;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 5, 14, 0.78);
  backdrop-filter: blur(4px);
  padding: 20px;
}

.calendar-modal.show-modal {
  display: flex !important;
}

.calendar-modal-box {
  width: min(86vw, 330px);
  padding: 24px 20px;
  border: 1px solid rgba(220, 177, 101, 0.75);
  border-radius: 18px;
  background: rgba(0, 8, 20, 0.96);
  text-align: center;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.65),
    0 0 18px rgba(220, 177, 101, 0.22);
}

.calendar-modal-box h3 {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: #dcb165;
  margin-bottom: 10px;
}

.calendar-modal-box p {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  line-height: 1.5;
  color: rgba(255, 242, 207, 0.82);
  margin-bottom: 16px;
}

.calendar-option,
.calendar-cancel {
  width: 100%;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.calendar-option {
  border: 1px solid rgba(220, 177, 101, 0.75);
  background: transparent;
  color: #dcb165;
}

.calendar-cancel {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 242, 207, 0.78);
}


/* CRUZ ILUMINADA CEREMONIA */

.ceremony-cross {
  position: absolute;
  left: 48.3%;
  top: 22.2%;
  width: 17px;
  height: 22px;
  z-index: 5;
  opacity: .85;
  animation: crossGlow 3.8s ease-in-out infinite;
}

.ceremony-cross::before,
.ceremony-cross::after {
  content: "";
  position: absolute;
  background: #dcb165;
  border-radius: 999px;
  box-shadow:
    0 0 4px rgba(220,177,101,.65),
    0 0 10px rgba(220,177,101,.35);
}

.ceremony-cross::before {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.ceremony-cross::after {
  left: 50%;
  top: 32%;
  width: 100%;
  height: 2px;
  transform: translateX(-50%);
}

@keyframes crossGlow {
  0%, 100% {
    opacity: .45;
    filter: brightness(.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1.7);
  }
}
/* BOTÓN AGENDAR EN CEREMONIA */

.ceremony-buttons .ceremony-calendar-button {
  position: relative !important;

  top: 67px !important;
  left: -20px !important;

  min-width: 110px;
  padding: 10px 20px;

  border: 0.27px solid #dcb165;
  border-radius: 999px;

  background: rgba(1, 7, 33, 0.85);
  color: #dcb165;

  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  box-shadow:
  0 0 4px rgba(220,177,101,.65),
  0 0 10px rgba(220,177,101,.45),
  0 0 18px rgba(220,177,101,.25);
  cursor: pointer;
}
.ceremony-buttons .ceremony-calendar-button:hover {
  background: rgba(220,177,101,.08);
  box-shadow: 0 0 12px rgba(220,177,101,.28);
}
/* =========================
   MÓVIL CEREMONIA
========================= */

@media (max-width: 600px) {

  .ceremony-section .ceremony-info {
    top: 50% !important;
    left: 61% !important;
    width: 60% !important;
    transform: translate(-50%, -50%) !important;
    text-align: left !important;
  }

  .ceremony-section .ceremony-title {
    top: -165px !important;
    left: -40px !important;
    font-size: 1rem !important;
  }

  .ceremony-section .ceremony-mini-divider {
    top: -160px !important;
    left: -75px !important;
    width: 300px !important;
    height: 12px !important;
  }

  .ceremony-section .ceremony-place-block {
    top: 125px !important;
    left: -50px !important;
  }

  .ceremony-section .ceremony-time-block {
    top: 135px !important;
    left: -50px !important;
  }

  .ceremony-section .ceremony-place-icon,
  .ceremony-section .ceremony-time-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .ceremony-section .ceremony-place-text {
    font-size: .9rem !important;
  }

  .ceremony-section .ceremony-time-text {
    font-size: .9rem !important;
  }

  .ceremony-section .ceremony-buttons {
    top: 100px !important;
    left: -40px !important;
    gap: 8px !important;
  }

  .ceremony-section .location-button,
  .ceremony-section .ceremony-calendar-button {
    min-width: 100px !important;
    padding: 10px 20px !important;
    font-size: .9rem !important;
    gap: 10px !important;
  }

  .ceremony-section .ceremony-maps-button {
    top: 67px !important;
    left: -60px !important;
  }

  .ceremony-section .ceremony-waze-button {
    top: 67px !important;
    left: -40px !important;
  }

  .ceremony-section .ceremony-buttons .ceremony-calendar-button {
    top: 67px !important;
    left: -20px !important;
    min-width: 110px !important;
    padding: 10px 20px !important;
    font-size: .9rem !important;
  }

  .ceremony-section .ceremony-maps-icon {
    width: 15px !important;
    height: 15px !important;
  }

  .ceremony-section .ceremony-waze-icon {
    width: 10px !important;
    height: 10px !important;
  }

  .ceremony-section .ceremony-calendar-icon {
    width: 13px !important;
    height: 13px !important;
  }

  .ceremony-section .ceremony-cross {
    left: 48.3% !important;
    top: 22.2% !important;
    width: 17px !important;
    height: 22px !important;
  }
}
/* =========================
   RECEPCIÓN
========================= */

/* FIX RECEPCIÓN */

.reception-section {
  position: relative;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  line-height: 0;
}

.reception-bg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.reception-content {
  position: absolute;
  inset: 0;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding-left: 34px;
  line-height: normal;
}

.reception-info {
  width: 52%;
  text-align: left;
}

.reception-title {
  position: relative;
  top: -170px;
  left: 150px;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: #dcb165;
  margin-bottom: 5px;
  padding-left: 0px;
  animation: ceremonyTitleGlowre 4s ease-in-out infinite;
}
@keyframes ceremonyTitleGlowre {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}

.reception-mini-divider {
  position: relative;
  top: -160px;
  left: 100px;

  width: 200px;
  height: 12px;

  margin: 0;
}
.reception-mini-divider::before,
.reception-mini-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  
  width: 42%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220,177,101,.85),
    transparent
  );
}

.reception-mini-divider::before {
  left: 0;
}

.reception-mini-divider::after {
  right: 0;
}

.reception-mini-divider span {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);

  transform: translate(-50%, -50%) rotate(45deg);

  box-shadow: 0 0 4px rgba(242,210,122,.45);
}
.reception-detail {
  position: relative;
  top: -95px;
  left: 60px;

  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 40px;

  padding-left: 0px;
}

.reception-icon {
  position: relative;
  top: 0px;
  left: 0px;

  width: 20px;
  height: 20px;
  color: #dcb165;
  flex-shrink: 0;
  filter: drop-shadow(0 0 2px rgba(220,177,101,.35));
}

.reception-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.reception-line {
  position: relative;
  top: 0px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(255, 242, 207, 0.88);
  line-height: 1.3;
  margin: 0;

  white-space: nowrap;
}


.reception-hour {
  position: relative;
  top: 0px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(255, 242, 207, 0.82);
  margin: 0;

  white-space: nowrap;
}

.reception-buttons {
  position: relative;
  top: -100px;
  left: 30px;

  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-left: 0px;
}
/* BOTONES RECEPCIÓN - MAPS Y WAZE */

.reception-buttons .location-button {
  position: relative;
  min-width: 100px;
  padding: 10px 20px;
  border: .27px solid #dcb165;
  border-radius: 999px;
  background: rgba(1, 7, 33, 0.85);
  color: #dcb165;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow:
  0 0 4px rgba(220,177,101,.65),
  0 0 10px rgba(220,177,101,.45),
  0 0 18px rgba(220,177,101,.25);
  transition: all .3s ease;
  cursor: pointer;
  
}
.reception-maps-button {
  position: relative;
  top: 250px;
  left: 0px;
}

.reception-waze-button {
  position: relative;
  top: 250px;
  left: 140px;
}
/* ICONO MAPS / WAZE EN RECEPCIÓN */

.reception-buttons .location-button svg,
.reception-buttons .location-button img {
  width: 14px;
  height: 14px;
}

/* HOVER RECEPCIÓN */

.reception-buttons .location-button:hover {
  background: rgba(220,177,101,.08);
  box-shadow: 0 0 12px rgba(220,177,101,.35);
}
@media (max-width: 390px) {
  .reception-content {
    padding-left: 22px;
  }

  .reception-info {
    width: 55%;
  }

  .reception-title {
    font-size: 0.9rem;
    padding-left: 0px;
  }

  .reception-mini-divider {
    margin-left: 0px;
  }

  .reception-line {
    font-size: 0.8rem;
  }

  .reception-hour {
    font-size: 0.6rem;
  }

  .reception-buttons {
    gap: 6px;
  }
}

/* =========================
   ROMBOS RECEPCION
========================= */

.reception-diamonds {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.diamond {
  position: absolute;

  width: 4px;
  height: 4px;

  background: linear-gradient(
    135deg,
    #fff8d8,
    #d4af37,
    #8f641b
  );

  transform: rotate(45deg);

  box-shadow:
    0 0 3px rgba(242,210,122,.55),
    0 0 8px rgba(220,177,101,.25);

  animation-name: diamondGlow;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
.d2,
.d4,
.d6,
.d8,
.d10,
.d12 {
  background: linear-gradient(
    135deg,
    #ffffff,
    #ffffff,
    #f8f4ea
  );

  box-shadow:
    0 0 4px rgba(255,255,255,.85),
    0 0 10px rgba(255,255,255,.45);
}
/* POSICIONES */

.d1  { left: 2.3%; top: 9%; }
.d2  { left: 7.5%; top: 9.3%; }
.d3  { left: 12.3%; top: 8.5%; }
.d4  { left: 17.2%; top: 7.8%; }
.d5  { left: 22.1%; top: 6%; }
.d6  { left: 26.8%; top: 4.5%; }

.d7  { left: 72.4%; top: 4.2%; }
.d8  { left: 77.3%; top: 6.0%; }
.d9  { left: 81.9%; top: 7.8%; }
.d10 { left: 86.7%; top: 8.6%; }
.d11 { left: 91.5%; top: 9%; }
.d12 { left: 97.4%; top: 8.8%; }

/* EFECTO ESPEJO */

.d1,
.d12 {
  animation-delay: 0s;
}

.d2,
.d11 {
  animation-delay: 0.6s;
}

.d3,
.d10 {
  animation-delay: 1.2s;
}

.d4,
.d9 {
  animation-delay: 1.8s;
}

.d5,
.d8 {
  animation-delay: 2.4s;
}

.d6,
.d7 {
  animation-delay: 3s;
}

@keyframes diamondGlow {
  0% {
    opacity: .15;
    transform: rotate(45deg) scale(.65);
  }

  20% {
    opacity: .25;
    transform: rotate(45deg) scale(.75);
  }

  45% {
    opacity: 1;
    transform: rotate(45deg) scale(1.35);

    box-shadow:
      0 0 6px rgba(242,210,122,.95),
      0 0 14px rgba(220,177,101,.55);
  }

  70% {
    opacity: .25;
    transform: rotate(45deg) scale(.75);
  }

  100% {
    opacity: .15;
    transform: rotate(45deg) scale(.65);
  }
}
/* =========================
   MÓVIL RECEPCIÓN
========================= */

@media (max-width: 600px) {

  .reception-section .reception-content {
    padding-left: 34px !important;
  }

  .reception-section .reception-info {
    width: 52% !important;
    text-align: left !important;
  }

  .reception-section .reception-title {
    top: -140px !important;
    left: 120px !important;
    font-size: 1rem !important;
    padding-left: 0px !important;
  }

  .reception-section .reception-mini-divider {
    top: -135px !important;
    left: 75px !important;
    width: 200px !important;
    height: 12px !important;
    margin: 0 !important;
  }

  .reception-section .reception-detail {
    top: -80px !important;
    left: 60px !important;
    margin-bottom: 40px !important;
    padding-left: 0px !important;
  }

  .reception-section .reception-icon {
    width: 20px !important;
    height: 20px !important;
  }

  .reception-section .reception-line {
    font-size: 0.9rem !important;
  }

  .reception-section .reception-hour {
    font-size: 0.9rem !important;
  }

  .reception-section .reception-buttons {
    top: -100px !important;
    left: 30px !important;
    gap: 8px !important;
  }

  .reception-section .reception-buttons .location-button {
    min-width: 100px !important;
    padding: 10px 20px !important;
    font-size: .9rem !important;
  }

  .reception-section .reception-maps-button {
    top: 250px !important;
    left: 0px !important;
  }

  .reception-section .reception-waze-button {
    top: 250px !important;
    left: 90px !important;
  }

  .reception-section .reception-buttons .location-button svg,
  .reception-section .reception-buttons .location-button img {
    width: 14px !important;
    height: 14px !important;
  }
}


/* =========================
   DRESS CODE
========================= */

.dress-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.dress-bg {
  width: 100%;
  display: block;
}

.dress-content {
  position: absolute;
  inset: 0;
  z-index: 5;
  line-height: normal;
}

.dress-info {
  position: absolute;
  top: 50%;
  left: 74%;
  transform: translate(-50%, -50%);

  width: 80%;
  text-align: center;
}

/* TÍTULO DRESS CODE */
.dress-title {
  position: relative;
  top: -260px;
  left: -110px;

  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: #dcb165;

  margin: 0 0 6px 0;
  animation: dressTitleGlowre 4s ease-in-out infinite;
}
@keyframes dressTitleGlowre {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}
.dress-mini-divider {
  position: relative;
  top: -250px;
  left: -15px;

  width: 190px !important;
  height: 20px !important;

  
}
.dress-mini-divider::before,
.dress-mini-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  
  width: 50%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220,177,101,.85),
    transparent
  );
}

.dress-mini-divider::before {
  left: 0;
}

.dress-mini-divider::after {
  right: 0;
}

.dress-mini-divider span {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);

  transform: translate(-50%, -50%) rotate(45deg);

  box-shadow: 0 0 4px rgba(242,210,122,.45);
}

/* SUBTÍTULO */
.dress-subtitle {
  position: relative;
  top: 100px;
  left:-110px;

  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #f2d7a0;

  margin: 0 0 10px 0;

  text-shadow:
    0 0 4px rgba(220,177,101,.10);
}

/* MENSAJE */
.dress-message {
  position: relative;
  top: 110px;
  left: -120px;

  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: rgba(255,242,207,.82);

  margin: 0;
  
}

/* ESTRELLA DEL TEXTO */
.gold-star {
  position: relative;
  top: 0px;
  left: 0px;

  display: block;
  text-align: center;

  font-size: 1rem;
  color: #dcb165;
  line-height: 1;

  margin: 8px 0;

  text-shadow:
    0 0 4px rgba(220,177,101,.8),
    0 0 8px rgba(220,177,101,.5),
    0 0 14px rgba(220,177,101,.3);

  animation: goldStarGlow 3s ease-in-out infinite;
}

@keyframes goldStarGlow {
  0%,100% {
    opacity: .5;
    text-shadow:
      0 0 3px rgba(220,177,101,.5),
      0 0 6px rgba(220,177,101,.3);
  }

  50% {
    opacity: 1;
    text-shadow:
      0 0 6px rgba(220,177,101,.9),
      0 0 12px rgba(220,177,101,.6),
      0 0 20px rgba(220,177,101,.4);
  }
}


/* =========================
   ESTRELLA DRESS CODE
========================= */

.dress-stars {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.dress-star {
  position: absolute;

  color: #dcb165;
  font-size: 30px;
  line-height: 1;

  text-shadow:
    0 0 4px rgba(220,177,101,.8),
    0 0 8px rgba(220,177,101,.5),
    0 0 14px rgba(220,177,101,.3);

  animation: dressStarGlow 3s ease-in-out infinite;
}

/* ESTRELLA 1 */
.s1 {
  left: 48.2%;
  top: 55.5%;
  font-size: 30px;
}

@keyframes dressStarGlow {
  0%,100% {
    opacity: .4;
    transform: scale(.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.25);
  }
}


/* =========================
   U DORADA DECORATIVA
========================= */

.dress-ornaments {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.gold-u {
  position: absolute;

  width: 35px;
  height: 10px;

  border-left: 2px solid #dcb165;
  border-right: 2px solid #dcb165;
  border-bottom: 2px solid #dcb165;
  border-top: none;

  border-radius: 0 0 40px 40px;

  box-shadow:
    0 0 4px rgba(220,177,101,.6),
    0 0 10px rgba(220,177,101,.25);

  animation: goldUGlow 4s ease-in-out infinite;
}

/* U 1 */
.u1 {
  left: 58.8%;
  top: 32.5%;

  width: 35px;
  height: 10px;

  border-left-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
}

@keyframes goldUGlow {
  0%,100% {
    opacity: .45;
  }

  50% {
    opacity: 1;
    box-shadow:
      0 0 6px rgba(220,177,101,.9),
      0 0 14px rgba(220,177,101,.4);
  }
}


/* =========================
   CORBATÍN DORADO
========================= */

.dress-bowties {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.gold-bowtie {
  position: absolute;

  width: 20px;
  height: 2px;

  background:
    linear-gradient(
      180deg,
      #fff8d8,
      #dcb165,
      #8f641b
    );

  filter:
    drop-shadow(0 0 3px rgba(220,177,101,.65))
    drop-shadow(0 0 8px rgba(220,177,101,.25));

  animation: bowtieGlow 4s ease-in-out infinite;
}

/* LADO IZQUIERDO */
.gold-bowtie::before {
  content: "";
  position: absolute;

  left: 0;
  top: 50%;

  width: 8px;
  height: 8px;

  background: linear-gradient(
    135deg,
    #fff8d8,
    #dcb165,
    #8f641b
  );

  clip-path: polygon(
    100% 50%,
    0% 0%,
    0% 100%
  );

  transform: translateY(-50%);
  z-index: 1;
}

/* LADO DERECHO */
.gold-bowtie::after {
  content: "";
  position: absolute;

  right: 0;
  top: 50%;

  width: 8px;
  height: 8px;

  background: linear-gradient(
    135deg,
    #fff8d8,
    #dcb165,
    #8f641b
  );

  clip-path: polygon(
    0% 50%,
    100% 0%,
    100% 100%
  );

  transform: translateY(-50%);
  z-index: 1;
}

/* CORBATÍN 1 */
.b1 {
  left: 36.7%;
  top: 25.5%;

  width: 20px;
  height: 2px;
}

.b1::before,
.b1::after {
  width: 8px;
  height: 8px;
}

.gold-bowtie span,
.gold-bowtie::marker {
  display: none;
}

@keyframes bowtieGlow {
  0%,100% {
    opacity: .55;
    transform: scale(.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}


/* =========================
   CÍRCULOS DRESS CODE
========================= */

.dress-circles {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.color-circle {
  position: absolute;

  width: 25px;
  height: 25px;

  border-radius: 50%;
  border: 2px solid #dcb165;

  overflow: visible;
}

/* BLANCO */
.white-circle {
  background: #ffffff;
}

/* VERDE */
.green-circle {
  background: #0b3b2e;
}

/* CÍRCULO 1 */
.c1 {
  left: 35%;
  top: 80%;

  width: 50px;
  height: 50px;
}

/* CÍRCULO 2 */
.c2 {
  left: 55%;
  top: 80%;

  width: 50px;
  height: 50px;
}

/* LUZ GIRANDO */
.color-circle::after {
  content: "";
  position: absolute;

  inset: -3px;

  border-radius: 50%;
  padding: 3px;

  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 285deg,
    rgba(255,248,216,.15) 310deg,
    rgba(255,248,216,1) 340deg,
    rgba(220,177,101,.95) 355deg,
    transparent 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);

  -webkit-mask-composite: xor;
  mask-composite: exclude;

  animation: circleBorderLight 4s linear infinite;

  pointer-events: none;
}

@keyframes circleBorderLight {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
/* =========================
   MÓVIL DRESS CODE
========================= */

@media (max-width: 600px) {

  .dress-section .dress-info {
    top: 50% !important;
    left: 74% !important;
    width: 80% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }

  .dress-section .dress-title {
    top: -210px !important;
    left: -90px !important;
    font-size: 1rem !important;
  }

  .dress-section .dress-mini-divider {
    top: -205px !important;
    left: -15px !important;
    width: 190px !important;
    height: 20px !important;
  }

  .dress-section .dress-subtitle {
    top: 100px !important;
    left: -110px !important;
    font-size: 1.2rem !important;
  }

  .dress-section .dress-message {
    top: 110px !important;
    left: -100px !important;
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
  }

  .dress-section .s1 {
    left: 48.2% !important;
    top: 55.5% !important;
    font-size: 30px !important;
  }

  .dress-section .u1 {
    left: 58.8% !important;
    top: 32.5% !important;
    width: 35px !important;
    height: 10px !important;
  }

  .dress-section .b1 {
    left: 36.7% !important;
    top: 25.5% !important;
    width: 20px !important;
    height: 2px !important;
  }

  .dress-section .b1::before,
  .dress-section .b1::after {
    width: 8px !important;
    height: 8px !important;
  }

  .dress-section .c1 {
    left: 35% !important;
    top: 80% !important;
    width: 50px !important;
    height: 50px !important;
  }

  .dress-section .c2 {
    left: 55% !important;
    top: 80% !important;
    width: 50px !important;
    height: 50px !important;
  }
}
/* =========================
   MUESTRAS DE CARIÑO
========================= */

.gifts-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.gifts-bg {
  width: 100%;
  height: auto;
  display: block;
}

.gifts-content {
  position: absolute;
  inset: 0;
  z-index: 4;
  line-height: normal;
}

.gifts-info {
  position: absolute;
  top: 50%;
  left: 72%;
  transform: translate(-50%, -50%);

  width: 200%;
  text-align: center;
}

/* TÍTULO */
.gifts-title {
  position: relative;
  top: -105px;
  left: -108px;

  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: #dcb165;

  margin: 0 0 12px 0;
animation: giftsTitleGlowre 4s ease-in-out infinite;
}
@keyframes giftsTitleGlowre {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}


/* DIVISOR ROMBO + LÍNEAS */
.gifts-mini-divider {
  position: relative;
  top: -100px;
  left: 235px;

  width: 280px;
  height: 12px;

  margin: 0 0 10px 0;
}

.gifts-mini-divider::before,
.gifts-mini-divider::after {
  content: "";
  position: absolute;
  top: 50%;

  width: 42%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220,177,101,.85),
    transparent
  );
}

.gifts-mini-divider::before {
  left: 0;
}

.gifts-mini-divider::after {
  right: 0;
}

.gifts-mini-divider span {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);

  transform: translate(-50%, -50%) rotate(45deg);

  box-shadow: 0 0 4px rgba(242,210,122,.45);
}

/* TEXTO */
.gifts-text {
  position: relative;
  top: 150px;
  left: -100px;
  
  font-family: 'Cormorant Garamond', serif;
  /*font-family: 'Cinzel', serif;*/
  font-size: 0.9rem;
  line-height: 1.75;
  letter-spacing: 0.08em;
  color: rgba(255, 242, 207, 0.86);

  margin: 0 0 10px 0;
  
}

/* =========================
   CORAZÓN DORADO
========================= */

.gold-hearts {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.gold-heart {
  position: absolute;

  color: #dcb165;
  font-size: 43px;
  line-height: 1;

  text-shadow:
    0 0 4px rgba(220,177,101,.8),
    0 0 8px rgba(220,177,101,.5),
    0 0 16px rgba(220,177,101,.3);

  animation: heartGlow 3s ease-in-out infinite;
}

/* CORAZÓN 1 */
.h1 {
  left: 47.2%;
  top: 43.5%;
  font-size: 43px;
}

@keyframes heartGlow {
  0%,100% {
    opacity: .45;
    transform: scale(.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);

    text-shadow:
      0 0 6px rgba(220,177,101,.95),
      0 0 12px rgba(220,177,101,.65),
      0 0 22px rgba(220,177,101,.35);
  }
}

/* =========================
   MÓVIL GIFTS
========================= */

@media (max-width: 600px) {

  .gifts-section .gifts-info {
    top: 50% !important;
    left: 80% !important;
    width: 200% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }

  .gifts-section .gifts-title {
    position: relative !important;
    top: -90px !important;
    left: -118px !important;

    font-size: 1rem !important;
  }

  .gifts-section .gifts-mini-divider {
    position: relative !important;
    top: -85px !important;
    left: 165px !important;

    width: 280px !important;
    height: 12px !important;
  }

  .gifts-section .gifts-text {
    position: relative !important;
    top: 140px !important;
    left: -130px !important;

    font-size: 0.9rem !important;
    line-height: 1.75 !important;
  }

  .gifts-section .h1 {
    left: 47.0% !important;
    top: 48.5% !important;
    font-size: 43px !important;
  }
}
/* =========================
   GALERÍA
========================= */

.gallery-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.gallery-bg {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  line-height: normal;
}

.gallery-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  width: 88%;
  text-align: center;
}

/* TÍTULO GALERÍA */
.gallery-title {
  position: relative;
  top: -108px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.22em;
  color: #dcb165;

  margin: 0 0 6px 0;
  animation: galleryTitleGlowre 4s ease-in-out infinite;
}
@keyframes galleryTitleGlowre {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}


/* DIVISOR ROMBO + LÍNEAS */
.gallery-mini-divider {
  position: relative;
  top: -98px;
  left: 0px;

  width: 160px;
  height: 12px;

  margin: 0 auto 8px;
}

.gallery-mini-divider::before,
.gallery-mini-divider::after {
  content: "";
  position: absolute;
  top: 50%;

  width: 42%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220,177,101,.85),
    transparent
  );
}

.gallery-mini-divider::before {
  left: 0;
}

.gallery-mini-divider::after {
  right: 0;
}

.gallery-mini-divider span {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  background: linear-gradient(135deg, #fff8d8, #d4af37, #8f641b);

  transform: translate(-50%, -50%) rotate(45deg);

  box-shadow: 0 0 4px rgba(242,210,122,.45);
}

/* SUBTÍTULO */
.gallery-subtitle {
  position: relative;
  top: -80px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 242, 207, 0.9);

  margin: 0 0 10px 0;
}

/* =========================
   COVER FLOW
========================= */

/* CONTENEDOR GENERAL DEL CARRUSEL */
.gallery-section .photo-carousel {
  position: relative;
  top: -25px;
  left: 0px;

  width: 100%;
  height: 210px;
}

/* CONTENEDOR INTERNO */
.gallery-section .coverflow-carousel {
  position: relative;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 210px;

  display: flex;
  align-items: center;
  justify-content: center;

  perspective: 1100px;
  overflow: visible;

  cursor: grab;
  user-select: none;
}

.gallery-section .coverflow-carousel:active {
  cursor: grabbing;
}

/* TRACK DEL CARRUSEL */
.gallery-section .coverflow-track {
  position: relative;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 200px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform-style: preserve-3d;
}

/* TARJETAS */
.gallery-section .coverflow-card {
  position: absolute;

  width: 130px;
  height: 170px;

  border-radius: 14px;
  overflow: hidden;

  border: 1px solid rgba(220,177,101,.65);
  background: rgba(0,5,14,.45);

  box-shadow:
    0 0 10px rgba(220,177,101,.22),
    0 8px 20px rgba(0,0,0,.60);

  opacity: 0;
  pointer-events: none;

  transition:
    transform .45s ease,
    opacity .45s ease,
    filter .45s ease;
}

.gallery-section .coverflow-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  user-select: none;
  -webkit-user-drag: none;
}

/* FOTO CENTRAL */
.gallery-section .coverflow-card.active {
  opacity: 1;

  transform:
    translateX(0px)
    translateZ(100px)
    rotateY(0deg)
    scale(1.10);

  z-index: 5;
}

/* FOTO IZQUIERDA */
.gallery-section .coverflow-card.prev {
  opacity: .70;

  transform:
    translateX(-105px)
    translateZ(25px)
    rotateY(35deg)
    scale(.86);

  z-index: 4;

  filter: brightness(.78);
}

/* FOTO DERECHA */
.gallery-section .coverflow-card.next {
  opacity: .70;

  transform:
    translateX(105px)
    translateZ(25px)
    rotateY(-35deg)
    scale(.86);

  z-index: 4;

  filter: brightness(.78);
}

/* FOTO SEGUNDA IZQUIERDA */
.gallery-section .coverflow-card.prev2 {
  opacity: .30;

  transform:
    translateX(-170px)
    translateZ(-30px)
    rotateY(45deg)
    scale(.70);

  z-index: 3;

  filter: brightness(.55);
}

/* FOTO SEGUNDA DERECHA */
.gallery-section .coverflow-card.next2 {
  opacity: .30;

  transform:
    translateX(170px)
    translateZ(-30px)
    rotateY(-45deg)
    scale(.70);

  z-index: 3;

  filter: brightness(.55);
}

/* BOTONES FLECHA */
.gallery-section .coverflow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 20;

  width: 30px;
  height: 30px;

  border-radius: 50%;
  border: 1px solid rgba(220,177,101,.65);
  background: rgba(0,5,14,.35);

  color: #dcb165;

  font-size: 1rem;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow:
    0 0 8px rgba(220,177,101,.20);
}

/* FLECHA IZQUIERDA */
.gallery-section .coverflow-prev {
  left: 18px;
}

/* FLECHA DERECHA */
.gallery-section .coverflow-next {
  right: 18px;
}
/* =========================
/* =========================
   MÓVIL - GALERÍA
========================= */

@media (max-width: 600px) {

  .gallery-section .gallery-info {
    top: 50%;
    left: 50%;
    width: 88%;
  }

  /* TÍTULO */
  .gallery-section .gallery-title {
    position: relative;
    top: -80px;
    left: 0px;

    font-size: 1rem;
    margin-bottom: 6px;
  }

  /* ROMBO */
  .gallery-section .gallery-mini-divider {
    position: relative;
    top: -75px;
    left: 0px;

    width: 160px;
    height: 12px;
  }

  /* SUBTÍTULO */
  .gallery-section .gallery-subtitle {
    position: relative;
    top: -50px;
    left: 0px;

    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CARRUSEL */
  .gallery-section .photo-carousel {
    position: relative;
    top: -10px !important;
    left: 0px !important;

    width: 100%;
    height: 230px !important;
  }

  .gallery-section .coverflow-carousel {
    height: 230px !important;
  }

  .gallery-section .coverflow-track {
    height: 220px !important;
  }

  /* TARJETAS */
  .gallery-section .coverflow-card {
    width: 140px !important;
    height: 185px !important;

    border-radius: 14px;
  }

  /* FOTO CENTRAL */
  .gallery-section .coverflow-card.active {
    transform:
      translateX(0px)
      translateZ(100px)
      rotateY(0deg)
      scale(1.10) !important;
  }

  /* IZQUIERDA */
  .gallery-section .coverflow-card.prev {
    transform:
      translateX(-115px)
      translateZ(25px)
      rotateY(35deg)
      scale(.86) !important;
  }

  /* DERECHA */
  .gallery-section .coverflow-card.next {
    transform:
      translateX(115px)
      translateZ(25px)
      rotateY(-35deg)
      scale(.86) !important;
  }

  /* SEGUNDA IZQUIERDA */
  .gallery-section .coverflow-card.prev2 {
    transform:
      translateX(-185px)
      translateZ(-30px)
      rotateY(45deg)
      scale(.70) !important;
  }

  /* SEGUNDA DERECHA */
  .gallery-section .coverflow-card.next2 {
    transform:
      translateX(185px)
      translateZ(-30px)
      rotateY(-45deg)
      scale(.70) !important;
  }

  /* BOTONES */
  .gallery-section .coverflow-btn {
    width: 32px !important;
    height: 32px !important;

    font-size: 1rem !important;
  }

  .gallery-section .coverflow-prev {
    left: 20px !important;
  }

  .gallery-section .coverflow-next {
    right: 20px !important;
  }
}


/* ==================================================
   SOBRE DE BIENVENIDA CON PNG
================================================== */



.welcome-envelope{
  position:fixed;
  inset:0;
  z-index:9999;

  background:radial-gradient(
    circle at top,
    #07152e 0%,
    #00050e 45%,
    #000000 100%


  );

  display:flex;
  justify-content:center;
  align-items:center;
  overflow:hidden;
}

.envelope-container{
  position:relative;
  width:min(100%,480px);
  height:100vh;
  max-height:none;
  overflow:hidden;
  perspective:1200px;

  background: var(--navy);

  box-shadow:

    /* halo blanco muy suave */
    0 0 18px rgba(255,255,255,.03),

    /* halo azul */
    0 0 45px rgba(30,60,140,.18),

    /* halo dorado */
    0 0 60px rgba(220,177,101,.08),

    /* profundidad */
    0 0 120px rgba(0,0,0,.75);
}

/* FONDO DEL SOBRE */
.envelope-background{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1;

  filter:
    brightness(.82)
    saturate(.88)
    hue-rotate(-4deg);

}
.envelope-container::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;

  background:rgba(9, 72, 197, 0.18);
}
/* CONTENEDOR DE TEXTOS */
.envelope-text{
  position:absolute;
  inset:0;
  z-index:3;
  pointer-events:none;
}

/* BIENVENIDOS */
.welcome-title{
  position:absolute;
  left:50%;
  top:68%;
  transform:translateX(-50%);
  width:90%;
  margin:0;

  text-align:center;

  font-family:"Cormorant Garamond", serif;
  font-size:28px;
  font-style:italic;
  font-weight:500;

  color:#f8e7b0;

text-shadow:
  0 2px 4px rgba(0,0,0,.85),
  0 5px 12px rgba(0,0,0,.55),
  0 0 8px rgba(255,255,255,.08);
  letter-spacing:.03em;

  animation: titleFloat 5s ease-in-out infinite;
}

@keyframes titleFloat{

  0%,100%{
    transform:translateX(-50%) translateY(0);
    opacity:.92;
  }

  50%{
    transform:translateX(-50%) translateY(-2px);
    opacity:1;
  }

}

/* NOMBRE INVITADO */
#welcome-guest-name{
  position:absolute;
  left:50%;
  top:78%;
  transform:translateX(-50%);
  width:90%;
  margin:0;

  text-align:center;
  font-family:"Tangerine", cursive;
  font-size:60px;
  line-height:.9;
  font-weight:400;
  color:#ffffff;

  text-shadow:
    0 3px 6px rgba(0,0,0,.55),
    0 0 10px rgba(255,255,255,.15);
}

/* MENSAJE */
.welcome-subtitle{
  position:absolute;
  left:50%;
  top:88%;
  transform:translateX(-50%);
  width:90%;
  margin:0;

  text-align:center;
  font-family:"Cormorant Garamond", serif;
  font-size:30px;
  font-weight:600;
  line-height:1.2;

  background:linear-gradient(
    90deg,
    #c8952d 0%,
    #ffd761 28%,
    #fff4bd 45%,
    #ffd761 58%,
    #b8791a 100%
  );

  background-size:260% auto;

  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
    0 2px 4px rgba(0,0,0,.55);

  animation: subtitleShine 30s linear infinite;
}

@keyframes subtitleShine{
  0%{
    background-position:260% center;
  }

  100%{
    background-position:-260% center;
  }
}

/* SOLAPA + SELLO */
#flap-container{
  position:absolute;
  left:55px;
  top:0;
  width:77%;
  height:50%;
  z-index:5;

  transform-origin:top center;
transform-style:preserve-3d;
backface-visibility:hidden;
transition:
  transform 2.5s ease-in-out,
  filter 2.5s ease-in-out;
  backface-visibility:hidden;
}
#flap-container::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:6;
  pointer-events:none;

  background:linear-gradient(
    90deg,
    rgba(0,0,0,.35) 0%,
    rgba(255,255,255,.08) 28%,
    rgba(255,255,255,.18) 50%,
    rgba(0,0,0,.28) 100%
  );

  opacity:.18;
  mix-blend-mode:multiply;
  transition:opacity 2.5s ease-in-out;
}

#flap-container::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:7;
  pointer-events:none;

  background:radial-gradient(
    ellipse at 50% 8%,
    rgba(255,255,255,.45),
    rgba(255,255,255,.10) 38%,
    transparent 70%
  );

  opacity:.22;
  transition:
  transform 4s cubic-bezier(.15,.75,.20,1),
  filter 4s cubic-bezier(.15,.75,.20,1);
}
.envelope-flap{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:100%;

  object-fit:cover;

  display:block;

  pointer-events:none;

  filter:
    drop-shadow(
      0 12px 20px rgba(0,0,0,.22)
    )
    drop-shadow(
      0 25px 45px rgba(0,0,0,.14)
    );
    transform:scaleX(1.3);
}

/* BOTÓN / SELLO */
#open-envelope-btn{
  position:absolute;
  left:48%;
  top:105%;
  transform:translate(-50%,-50%);
  width:300px;
  height:300px;

  border:none;
  border-radius:50%;
  padding:0;
  background:transparent;
  cursor:pointer;
  z-index:8;

  opacity:0;
  pointer-events:none;
  transition:opacity .6s ease;
}

#open-envelope-btn.show{
  opacity:1;
  pointer-events:auto;
}

#open-envelope-btn img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;

  filter:
    drop-shadow(0 0 8px rgba(255,223,155,.55))
    drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

#open-envelope-btn::before{
  content:"";
  position:absolute;

  top:50px;      /* subir o bajar */
  bottom:63px;

  left:63px;
  right:63px;

  border-radius:48% / 42%;
  border:3px solid rgba(255,223,155,.55);

  box-shadow:
    0 0 10px rgba(255,223,155,.65),
    0 0 22px rgba(255,223,155,.35);

  animation:sealGlow 2.4s ease-in-out infinite;
}

@keyframes sealGlow{
  0%,100%{
    opacity:.45;
    transform:scale(.96);
  }

  50%{
    opacity:1;
    transform:scale(1.08);
  }
}

/* ABRIR SOLAPA */
.welcome-envelope.opening #flap-container{
  transform:
    rotateX(168deg)
    scaleY(.88)
    translateY(-10px);

  filter:
    brightness(.72)
    contrast(1.08)
    drop-shadow(0 -22px 30px rgba(0,0,0,.42));
}

.welcome-envelope.opening #flap-container::before{
  opacity:.48;
}

.welcome-envelope.opening #flap-container::after{
  opacity:.08;
}

/* DESAPARECER SOBRE */
.envelope-container.envelope-sweep{
  animation: envelopeRevealSoft 3s ease forwards;
}

.welcome-envelope.background-fade{
  animation: envelopeBackgroundFade 3s ease forwards;
}
/* ==========================================
   BOTON MUSICA
========================================== */

.music-toggle{
    position:fixed;

    left:calc(50% + 170px);
    bottom:22px;

    width:52px;
    height:52px;

    border-radius:50%;
    border:2px solid #dcb165;

    background:
    radial-gradient(
        circle at 35% 25%,
        rgba(33,65,109,.85),
        rgba(7,21,52,.85) 70%
    );

    color:#f7dfa3;

    font-size:18px;

    cursor:pointer;

    z-index:99999;

    display:none;

    opacity:.45;

    box-shadow:
        0 0 0 3px rgba(255,223,155,.22),
        0 0 10px rgba(255,223,155,.18),
        0 8px 20px rgba(0,0,0,.28);

    transition:
        opacity .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.music-toggle:hover,
.music-toggle:active{
    opacity:1;
    transform:scale(1.08);
}

.music-toggle.playing{
    animation:musicPulse 2.5s ease-in-out infinite;
}

.music-toggle:hover{

    transform:scale(1.08);
}

.music-toggle.playing{

    animation:musicPulse 2.5s ease-in-out infinite;
}

@keyframes musicPulse{
    0%,100%{
        box-shadow:
            0 0 0 3px rgba(255,223,155,.18),
            0 0 10px rgba(255,223,155,.16),
            0 8px 20px rgba(0,0,0,.25);
    }

    50%{
        box-shadow:
            0 0 0 4px rgba(255,223,155,.32),
            0 0 16px rgba(255,223,155,.30),
            0 8px 24px rgba(0,0,0,.28);
    }
}
@keyframes envelopeRevealSoft{

  0%{
    clip-path:inset(0 0 0 0);
  }

  100%{
    clip-path:inset(100% 0 0 0);
  }
}
.invitation.invitation-reveal{
  animation: invitationRevealDown 3s ease forwards;
}

@keyframes invitationRevealDown{
  0%{
    opacity:1;
    clip-path:inset(0 0 100% 0);
  }

  100%{
    opacity:1;
    clip-path:inset(0 0 0 0);
  }
}
@keyframes envelopeBackgroundFade{
  0%{
    opacity:1;
  }

  100%{
    opacity:0;
  }
}
.welcome-envelope.bg-clear{
  background:transparent;
  transition:background 1s ease;
}

.invitation.invitation-sweep{
  animation: invitationSweepIn 3s ease forwards;
}

@keyframes invitationSweepIn{
  0%{
    clip-path:inset(0 0 100% 0);
  }

  100%{
    clip-path:inset(0 0 0 0);
  }
}
/* =========================
   RSVP FINAL
========================= */

.rsvp-section {
  position: relative;
}

.rsvp-content {
  position: absolute;
  inset: 0;
  z-index: 6;

  width: 90%;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);

  text-align: center;
  line-height: normal;
}

/* TÍTULO */
.rsvp-title {
  position: relative;
  top: -30px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: .15em;
  color: #dcb165;

  margin: 0 0 8px 0;animation: rsvpTitleGlowre 4s ease-in-out infinite;
}
@keyframes rsvpTitleGlowre {

  0%,100%{
    color:#dcb165;
    text-shadow:
      0 0 4px rgba(220,177,101,.35);
  }

  50%{
    color:#fff8d8;
    text-shadow:
      0 0 8px rgba(255,248,216,1),
      0 0 18px rgba(255,248,216,.85),
      0 0 30px rgba(220,177,101,.75);
  }
}



/* ROMBO + LÍNEAS */
.rsvp-divider {
  position: relative;
  top: -25px;
  left: 0px;

  width: 300px;
  height: 12px;

  margin: 0 auto 14px;
}

.rsvp-divider::before,
.rsvp-divider::after {
  content: "";
  position: absolute;
  top: 50%;

  width: 42%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(220,177,101,.85),
    transparent
  );
}

.rsvp-divider::before {
  left: 0;
}

.rsvp-divider::after {
  right: 0;
}

.rsvp-divider span {
  position: absolute;
  left: 50%;
  top: 50%;

  width: 5px;
  height: 5px;

  background: linear-gradient(
    135deg,
    #fff8d8,
    #d4af37,
    #8f641b
  );

  transform: translate(-50%, -50%) rotate(45deg);

  box-shadow:
    0 0 4px rgba(242,210,122,.45);
}

/* MENSAJE */
.rsvp-message {
  position: relative;
  top: 0px;
  left: 0px;

  width: 100%;

  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.45;
  color: rgba(255,242,207,.88);

  margin: 0 0 18px 0;
}

/* CONTENEDOR BOTONES */
.rsvp-actions {
  position: relative;
  top: 15px;
  left: 0px;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  width: 100%;
  margin: 0 auto;
}

/* BOTÓN PRINCIPAL */
.rsvp-main-btn {
  position: relative;
  top: 20px;
  left: 0px;

  width: 140px;
  padding: 10px 20px;

  border: .27px solid #dcb165;
  border-radius: 999px;

  background: rgba(1, 7, 33, 0.85);
  color: #dcb165;

  font-family: 'Cinzel', serif;
  font-size: .70rem;
  font-weight: 600;
  letter-spacing: .06em;

  cursor: pointer;

  box-shadow:
    0 0 4px rgba(220,177,101,.65),
    0 0 10px rgba(220,177,101,.45),
    0 0 18px rgba(220,177,101,.25);

  transition: all .3s ease;
}

.rsvp-main-btn:hover {
  background: rgba(220,177,101,.08);

  box-shadow:
    0 0 12px rgba(220,177,101,.35),
    0 0 20px rgba(220,177,101,.25);
}

/* MENSAJE FINAL */
.rsvp-final-message {
  position: relative;
  top: 0px;
  left: 0px;

  width: 100%;

  margin-top: 50px;

  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  line-height: 1.35;
  color: #fff2cf;
}


/* =========================
   MODAL RSVP
========================= */

.rsvp-modal {
  position: absolute;
  inset: 0;
  z-index: 20;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,5,14,.58);
  backdrop-filter: blur(3px);

  line-height: normal;
}

.rsvp-modal.show {
  display: flex;
}

/* CAJA MODAL */
.rsvp-modal-box {
  position: relative;
  top: 0px;
  left: 0px;

  width: 78%;
  max-width: 380px;

  padding: 20px 20px;

  border: 1px solid rgba(220,177,101,.6);
  border-radius: 0px;

  background: rgba(0,8,20,.92);

  text-align: center;

  box-shadow:
    0 0 14px rgba(220,177,101,.18),
    0 12px 30px rgba(0,0,0,.55);
}

/* TÍTULO MODAL */
.rsvp-modal-box h3 {
  position: relative;
  top: 0px;
  left: 0px;

  font-family: 'Cinzel', serif;
  font-size: .9rem;
  letter-spacing: .12em;
  color: #dcb165;

  margin: 0 0 8px 0;
}

/* MENSAJE RESERVADO */
#reserved-message {
  position: relative;
  top: 0px;
  left: 0px;

  font-family: 'Cormorant Garamond', serif;
  font-size: .9rem;
  line-height: 1.25;
  color: rgba(255,242,207,.88);

  margin: 0 0 10px 0;
  text-align: center;
}

/* NÚMERO DE INVITADOS */
.guest-total-number {
  position: relative;
  top: 0px;
  left: 0px;

  font-size: 1.25rem;
  font-weight: 700;
  color: #dcb165;
}

/* LABELS */
.rsvp-modal-box label {
  position: relative;
  top: 0px;
  left: 0px;

  display: block;
  text-align: left;

  font-family: 'Cinzel', serif;
  font-size: .80rem;
  letter-spacing: .08em;
  color: #dcb165;

  margin: 10px 0 5px;
}

/* CONTENEDOR CANTIDAD INVITADOS */
.guest-count-container {
  position: relative;
  top: 0px;
  left: 0px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  margin-bottom: 12px;
}

/* TEXTO CANTIDAD INVITADOS */
.guest-count-label {
  position: relative;
  top: 0px;
  left: 0px;

  flex: 1;
  text-align: left;

  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  color: rgba(255,242,207,.88);
}

/* SELECT INVITADOS */
#guest-count {
  position: relative;
  top: 0px;
  left: 0px;

  width: 120px;

  border: 1px solid rgba(220,177,101,.55);
  border-radius: 12px;

  background: rgba(0,5,14,.65);
  color: #fff2cf;

  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;

  padding: 6px 10px;
  outline: none;
}

/* MENSAJE INVITADO */
#guest-message {
  position: relative;
  top: 0px;
  left: 0px;

  width: 100%;
  height: 58px;

  resize: none;
  margin-bottom: 10px;

  border: 1px solid rgba(220,177,101,.55);
  border-radius: 12px;

  background: rgba(0,5,14,.65);
  color: #fff2cf;

  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;

  padding: 8px 10px;
  outline: none;
}

/* BOTÓN ENVIAR RSVP */
.submit-rsvp {
  position: relative;
  top: 0px;
  left: 0px;

  width: auto;
  min-width: 120px;

  padding: 10px 24px;

  border: .27px solid #dcb165;
  border-radius: 999px;

  background: rgba(1, 7, 33, 0.85);
  color: #dcb165;

  font-family: 'Cinzel', serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .06em;

  cursor: pointer;

  box-shadow:
    0 0 4px rgba(220,177,101,.65),
    0 0 10px rgba(220,177,101,.45),
    0 0 18px rgba(220,177,101,.25);

  display: inline-block;
  margin: 0 auto;

  transition: all .3s ease;
}

.submit-rsvp:hover {
  background: rgba(220,177,101,.08);

  box-shadow:
    0 0 12px rgba(220,177,101,.35),
    0 0 20px rgba(220,177,101,.25);
}
/* =========================
   MÓVIL RSVP
========================= */

@media (max-width: 600px) {

  .rsvp-section .rsvp-content {
    width: 90% !important;
    left: 50% !important;
    top: 45% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }

  .rsvp-section .rsvp-title {
    top: -30px !important;
    left: 0px !important;
    font-size: 1rem !important;
  }

  .rsvp-section .rsvp-divider {
    top: -25px !important;
    left: 0px !important;
    width: 300px !important;
    height: 12px !important;
  }

  .rsvp-section .rsvp-message {
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.45 !important;
  }

  .rsvp-section .rsvp-actions {
    top: 15px !important;
    left: 0px !important;
    gap: 20px !important;
  }

  .rsvp-section .rsvp-main-btn {
    top: 20px !important;
    left: 0px !important;
    width: 140px !important;
    padding: 10px 20px !important;
    font-size: .60rem !important;
  }

  .rsvp-section .rsvp-final-message {
    top: 0px !important;
    left: 0px !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    margin-top: 50px !important;
  }

  /* MODAL RSVP MÓVIL */

  .rsvp-section .rsvp-modal-box {
    top: 0px !important;
    left: 0px !important;
    width: 78% !important;
    max-width: 380px !important;
    padding: 20px 20px !important;
  }

  .rsvp-section .rsvp-modal-box h3 {
    top: 0px !important;
    left: 0px !important;
    font-size: .9rem !important;
  }

  .rsvp-section #reserved-message {
    top: 0px !important;
    left: 0px !important;
    font-size: .9rem !important;
    line-height: 1.25 !important;
  }

  .rsvp-section .guest-total-number {
    top: 0px !important;
    left: 0px !important;
    font-size: 1.25rem !important;
  }

  .rsvp-section .rsvp-modal-box label {
    top: 0px !important;
    left: 0px !important;
    font-size: .80rem !important;
  }

  .rsvp-section .guest-count-container {
    top: 0px !important;
    left: 0px !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
  }

  .rsvp-section .guest-count-label {
    top: 0px !important;
    left: 0px !important;
    font-size: .85rem !important;
  }

  .rsvp-section #guest-count {
    top: 5px !important;
    left: 0px !important;
    width: 120px !important;
    font-size: .85rem !important;
    padding: 6px 10px !important;
  }

  .rsvp-section #guest-message {
    top: 0px !important;
    left: 0px !important;
    width: 100% !important;
    height: 58px !important;
    font-size: .85rem !important;
    padding: 8px 10px !important;
  }

  .rsvp-section .submit-rsvp {
    top: 0px !important;
    left: 0px !important;
    min-width: 120px !important;
    padding: 10px 24px !important;
    font-size: .65rem !important;
  }
}
/*Final Time*/
.time-section{
  position:relative;
}

.time-content{
  position:absolute;
  left:45%;
  top:45%;
  transform:translate(-50%,-50%);
  width:82%;
  text-align:center;
  line-height:normal;
}

.time-phrase{
 position:relative;

  top:60px;      /* arriba (-) abajo (+) */
  left:0px;       /* izquierda (-) derecha (+) */


  font-family:"Great Vibes", cursive;
  font-size:2.4rem;
  font-weight:400;

  background:linear-gradient(
    180deg,
    #fffce8 0%,
    #ffe27a 25%,
    #d4a63f 45%,
    #fff8d6 55%,
    #a87116 88%
  );

  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
    0 3px 6px rgba(0,0,0,.65);

  animation: timeFloat 5s ease-in-out infinite;
}

.time-verse{
position:relative;

  top:30px;       /* arriba (-) abajo (+) */
  left:150px;       /* izquierda (-) derecha (+) */

  margin-top:28px;

  font-family:"Cormorant Garamond", serif;
  font-size:1rem;
  color:#fff2cf;
  letter-spacing:.06em;

  text-shadow:
    0 2px 4px rgba(0,0,0,.65);
}

@keyframes timeFloat{
  0%,100%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-5px);
  }
}
/* RELOJ ANIMADO SECCIÓN TIEMPO */

.animated-clock{
  position:absolute;
  left:50%;
  top:18%;

  width:82px;
  height:82px;

  transform:translate(-50%,-50%);

  border:1px solid rgba(220,177,101,.75);
  border-radius:50%;

  box-shadow:
    0 0 8px rgba(220,177,101,.35),
    inset 0 0 10px rgba(220,177,101,.18);

  z-index:5;
}

.clock-minute-hand{
  position:absolute;

  left:50%;   /* mueve izquierda/derecha */
  top:32%;    /* mueve arriba/abajo */

  width:2px;  /* grosor */
  height:20px; /* largo de la aguja */

  background:#dcb165;
  border-radius:999px;

  transform-origin:50% 100%;
  transform:translate(-50%,-100%) rotate(0deg);

  box-shadow:
    0 0 6px rgba(220,177,101,.65);

  z-index:5;

  animation: minuteHandSpin 12s linear infinite;
}

.clock-minute-hand::after{
  content:"";

  position:absolute;

  left:50%;
  bottom:-3px;

  width:6px;
  height:6px;

  background:#dcb165;
  border-radius:50%;

  transform:translateX(-50%);
}

.animated-clock::after{
  content:"";
  position:absolute;
  left:50%;
  top:80%;

  width:7px;
  height:7px;

  background:#dcb165;
  border-radius:50%;

  transform:translate(-50%,-50%);

  box-shadow:
    0 0 6px rgba(220,177,101,.65);
}

@keyframes minuteHandSpin{
  from{
    transform:translate(-50%,-100%) rotate(0deg);
  }

  to{
    transform:translate(-50%,-100%) rotate(360deg);
  }
}
/* =========================
   MÓVIL FINAL TIME
========================= */

@media (max-width: 600px) {

  .time-section .time-content {
    left: 45% !important;
    top: 45% !important;
    width: 82% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center !important;
  }

  .time-section .time-phrase {
    top: 60px !important;
    left: 0px !important;
    font-size: 2.4rem !important;
  }

  .time-section .time-verse {
    top: 30px !important;
    left: 150px !important;
    font-size: 1rem !important;
    margin-top: 28px !important;
  }

  .time-section .animated-clock {
    left: 50% !important;
    top: 18% !important;
    width: 82px !important;
    height: 82px !important;
  }

  .time-section .clock-minute-hand {
    left: 50% !important;
    top: 32% !important;
    width: 2px !important;
    height: 20px !important;
  }

  .time-section .clock-minute-hand::after {
    width: 6px !important;
    height: 6px !important;
  }

  .time-section .animated-clock::after {
    left: 50% !important;
    top: 80% !important;
    width: 7px !important;
    height: 7px !important;
  }
}