*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: #e5e5e5; font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; }
body { display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; padding: 20px 10px; }

.invitation {
  width: 400px; background: #fff; position: relative; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.15);
}
.section { position: relative; width: 100%; overflow: hidden; }
.bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }

.prim { position: absolute; pointer-events: none; user-select: none; }
.text {
  white-space: pre-wrap; word-break: normal; overflow-wrap: break-word;
  display: flex; align-items: flex-start;
  pointer-events: none;
  z-index: 1;
}
.text > div { width: 100%; height: 100%; }

/* ================= ANIMACIONES DE SCROLL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ================= SECCIÓN 1 ================= */
.s1 { height: 599px; background: #edebe6; }
.s1-img { left: 0; top: 0; width: 400px; height: 594.69px; object-fit: cover; }
.s1-wave-top {
  left: 0; top: 0; width: 402.5px; height: 249.39px;
  background: #f7f2e6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/725da130-6e84-4956-82d7-9f99a62af373.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/725da130-6e84-4956-82d7-9f99a62af373.svg');
  transform: rotate(180deg) scaleX(-1);
}
.s1-text-1 {
  left: 24px; top: 32.49px; width: 159.05px; height: 83px;
  font-family: 'Caveat', cursive; font-size: 29px; font-style: italic;
  color: #8b7355; line-height: 1.4; font-weight: 400;
}
.s1-text-2 {
  left: 73.97px; top: 66.98px; width: 218.16px; height: 83px;
  font-family: 'Caveat', cursive; font-size: 29px; font-style: italic;
  color: #8b7355; line-height: 1.4; font-weight: 400;
}
.s1-wave-bottom {
  left: -19.26px; top: 504.1px; width: 476.3px; height: 181.18px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(160deg);
}
.s1-names {
  left: 24px; top: 353.24px; width: 334.72px; height: 162px;
  font-family: 'Caveat', cursive; font-size: 38px; font-style: italic;
  color: #f7f2e6; line-height: 1.4; font-weight: 400;
  white-space: pre-wrap;
}

/* ================= SECCIÓN 2 ================= */
.s2 { height: 1584px; background: #edebe6; }
.s2-video {
  left: -4.28px; top: 387.28px; width: 415.69px; height: 314.39px;
  overflow: hidden; background: #000;
}
.s2-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.s2-wave-1 {
  left: -30.67px; top: 334.4px; width: 476.3px; height: 105.75px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(-172.6deg);
}
.s2-wave-2 {
  left: -20.01px; top: 655.14px; width: 476.3px; height: 117.76px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(171.9deg);
}

/* Calendario */
.cal-card { position: absolute; left: 70.42px; top: 0; width: 274.12px; height: 358.19px; }
.cal-std {
  position: absolute; left: 22.99px; top: 16.89px; width: 233.92px; height: 43px;
  font-family: 'Caveat', cursive; font-size: 31px; color: #392b1e;
  text-align: center; line-height: 1.2;
}
.cal-month {
  position: absolute; left: 9.14px; top: 54.82px; width: 255.85px; height: 44.77px;
  font-family: 'Bodoni Moda', serif; font-size: 33px; color: #ba9271;
  text-align: center; line-height: 1.2; letter-spacing: .02em;
}
.cal-year {
  position: absolute; left: 20.1px; top: 98.68px; width: 233.92px; height: 24px;
  font-family: 'Montserrat', sans-serif; font-size: 12px; color: #1c1c1c;
  text-align: center; line-height: 1.3; letter-spacing: .45em;
}
.cal-weekdays {
  position: absolute; left: 20.1px; top: 131.58px; width: 233.92px; height: 21.93px;
  display: grid; grid-template-columns: repeat(7,1fr); align-items: center;
}
.cal-weekdays > div {
  font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700;
  color: #1c1c1c; text-align: center; line-height: 1;
}
.cal-days {
  position: absolute; left: 20.1px; top: 157.16px; width: 233.92px; height: 179.09px;
  display: grid; grid-template-columns: repeat(7,1fr); grid-template-rows: repeat(5,1fr);
  align-items: center;
}
.cal-cell { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; }
.cal-cell > span {
  font-family: 'Petit Formal Script', cursive; font-size: 11px;
  color: #392b1e; line-height: 1;
}
.cal-cell.cal-pinned > span {
  color: #fff; font-weight: 600; position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.cal-pin {
  position: absolute; left: 50%; top: 50%; width: 27.4px; height: 27.4px;
  transform: translate(-50%, -50%); border-radius: 50%; background: #846c29;
  z-index: 1;
}

/* Itinerario */
.it-title {
  left: 67.48px; top: 714.02px; width: 265.03px; height: 100px;
  font-family: 'Bodoni Moda', serif; font-size: 32px; color: #846c29;
  text-align: center; line-height: 1.4;
}
.it-icon { background-color: #392b1e; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.it-icon-cal {
  left: 50.56px; top: 793.57px; width: 118.44px; height: 109.85px;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/b9fabeb1-4786-4e88-a981-0beafd56c423.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/b9fabeb1-4786-4e88-a981-0beafd56c423.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-position: center; mask-position: center;
  z-index: 20;
}
.it-icon-cake {
   left: 212.30px; top: 1233.54px; width: 129.87px; height: 129.87px;
 
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/38b51160-870d-4758-ad5c-6a4bc49f6983.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/38b51160-870d-4758-ad5c-6a4bc49f6983.svg');
  -webkit-mask-size: 153% 132%; mask-size: 153% 132%;
  -webkit-mask-position: 48.6% 52.6%; mask-position: 48.6% 52.6%;
  z-index: 21;
}
.it-icon-glasses {
  left: 63.85px; top: 1074.58px; width: 107.02px; height: 132.16px;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/b9fabeb1-4786-4e88-a981-0beafd56c423.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/b9fabeb1-4786-4e88-a981-0beafd56c423.svg');
  -webkit-mask-size: 158% 128%; mask-size: 158% 128%;
  -webkit-mask-position: 52% 50%; mask-position: 52% 50%;
  z-index: 22;
}
.it-icon-dance {
  left: 221.96px; top: 936.21px; width: 107.71px; height: 124.42px;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/bcec7d3f-8b50-46ee-bda8-80dd00e44318.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/bcec7d3f-8b50-46ee-bda8-80dd00e44318.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-position: center; mask-position: center;
  z-index: 23;
}
.it-line {
  left: 117.36px; width: 165.27px; height: 28.21px;
  transform: rotate(90deg); transform-origin: center;
  background-color: #8b7355;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/af220b68-b481-41ef-a9d1-1048032210ab.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/af220b68-b481-41ef-a9d1-1048032210ab.svg');
  -webkit-mask-size: 121% 404%; mask-size: 121% 404%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  z-index: 10;
}
.it-line-1 { top: 834.39px; }
.it-line-2 { top: 984.31px; }
.it-line-3 { top: 1133.89px; }
.it-line-4 { top: 1284.36px; }
.it-time { font-family: 'Caveat', cursive; font-size: 25px; color: #846c29; line-height: 1.2; letter-spacing: .17em; }
.it-time.right { text-align: right; }
.it-time.left  { text-align: left; }
.it-time-1 { left: 215.43px; top: 818.39px; width: 144.29px; height: 35px; }
.it-time-2 { left: 39.66px;  top: 959.31px; width: 144.29px; height: 35px; }
.it-time-3 { left: 215.43px; top: 1108.89px; width: 144.29px; height: 35px; }
.it-time-4 { left: 40.28px;  top: 1268.36px; width: 144.29px; height: 35px; }
.it-label { font-family: 'Bodoni Moda', serif; font-size: 18px; color: #ba9271; line-height: 1.2; letter-spacing: .17em; }
.it-label.right { text-align: right; }
.it-label.left  { text-align: left; }
.it-label-1 { left: 215.43px; top: 850.60px; width: 160.57px; height: 27px; }
.it-label-2 { left: 23.38px;  top: 995.53px; width: 160.57px; height: 24px; }
.it-label-3 { left: 215.43px; top: 1150.10px; width: 160.57px; height: 24px; }
.it-label-4 { left: 24px;     top: 1304.58px; width: 160.57px; height: 46px; }

/* Countdown */
.cd-title {
  left: 77.56px; top: 1458.07px; width: 218.16px; height: 41px;
  font-family: 'Bodoni Moda', serif; font-size: 22px; font-style: italic;
  color: #846c29; text-align: center; line-height: 1.4;
}
.countdown {
  position: absolute;
  left: 27.94px; top: 1499.07px; width: 344.11px; height: 98.32px;
  display: flex; justify-content: space-around; align-items: center;
}
.cd-col { text-align: center; }
.cd-num { font-family: 'Caveat', cursive; font-size: 28px; font-weight: 700; color: #392b1e; line-height: 1; }
.cd-label { font-family: 'Caveat', cursive; font-size: 14px; color: #392b1e; opacity: .7; line-height: 1.5; margin-top: 4px; }

/* ================= SECCIÓN 3 ================= */
.s3 { height: 800px; background: #edebe6; }
.s3-img { top: 0; left: 0; width: 411.81px; height: 564.13px; }
.s3-botanical {
  left: -81.81px; top: 24px; width: 549.83px; height: 540.13px;
  background-color: #392b1e; opacity: .28;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/44bb4cbd-f8d7-46ab-b227-0c29ee801f49.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/44bb4cbd-f8d7-46ab-b227-0c29ee801f49.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.s3-wave-top {
  left: -38.15px; top: -28.87px; width: 476.3px; height: 105.75px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(180deg);
}
.s3-wave-bottom {
  left: -16.68px; top: 485.70px; width: 476.3px; height: 156.86px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(-170.5deg);
}
.s3-title {
  font-family: 'Bodoni Moda', serif; font-weight: 700; font-size: 29px;
  color: #f6f1e6; text-align: center; line-height: 1.4;
}
.s3-ceremonia  { left: 90.92px; top: 118.64px; width: 218.16px; height: 42px; }
.s3-recepcion  { left: 92.45px; top: 329.92px; width: 218.16px; height: 42px; }
.s3-regalos    { left: 57.83px; top: 595.65px; height: 80px; color: #846c29; }
.s3-album      { left: 57.83px; top: 892.79px; width: 296.16px; height: 42px; color: #846c29; }
.s3-addr { font-family: 'Bodoni Moda', serif; font-size: 18px; color: #f6f1e6; text-align: center; line-height: 1.2; letter-spacing: .17em; }
.s3-addr-1 { left: 40px; top: 186.85px; width: 320px; height: auto; }
.s3-addr-2 { left: 40px; top: 393.17px; width: 320px; height: auto; }
.s3-regalos-msg {
  left: 40px; top: 657.78px; width: 320px; height: auto;
  font-family: 'Bodoni Moda', serif; font-size: 18px; color: #392b1e;
  text-align: center; line-height: 1.2; letter-spacing: .17em;
}
.s3-album-msg {
  left: 40px; top: 968.30px; width: 320px; height: auto;
  font-family: 'Bodoni Moda', serif; font-size: 18px; color: #1c1c1c;
  text-align: center; line-height: 1.2; letter-spacing: .17em;
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 0 12px;
  font-family: 'Inter', sans-serif; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  border: 2px solid transparent; cursor: pointer;
  transition: filter 120ms ease;
  pointer-events: auto;
}
.btn:hover { filter: brightness(.92); }
.btn-loc  { background: #f6f1e6; color: #846c29; border-color: #f6f1e6; border-radius: 999px; font-size: 11px; }
.btn-mesa { background: #ba9271; color: #fff;    border-color: #ba9271; border-radius: 24px; font-size: 11px; }
.btn-rsvp { background: #f7f2e6; color: #8b7355; border-color: #f7f2e6; border-radius: 999px; font-size: 12px; }

.s3-btn-1    { left: 125.62px; top: 270px; width: 134.95px; height: 32.99px; z-index: 10; pointer-events: auto; }
.s3-btn-2    { left: 125.62px; top: 490px; width: 134.95px; height: 32.99px; z-index: 10; pointer-events: auto; }
.s3-btn-mesa { left: 135.42px; top: 740px; width: 141.76px; height: 36.69px; z-index: 10; pointer-events: auto; }

/* ================= SECCIÓN 4 ================= */
.s4 { height: 428px; background: #ffffff; }
.s4-img { left: -10.48px; top: 11.46px; width: 410.48px; height: 416.73px; }
.s4-botanical {
  left: -57.81px; top: 48px; width: 549.83px; height: 540.13px;
  background-color: #392b1e; opacity: .28;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/44bb4cbd-f8d7-46ab-b227-0c29ee801f49.svg');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/44bb4cbd-f8d7-46ab-b227-0c29ee801f49.svg');
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}
.s4-wave-top {
  left: -38.15px; top: -28.87px; width: 476.3px; height: 105.75px;
  background: #edebe6;
  -webkit-mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  mask-image: url('https://ovjstvkjedyscwyfnoma.supabase.co/storage/v1/object/public/figures/457082ef-93a3-4b58-a7ef-365fb31448fc.webp');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  transform: rotate(172.7deg);
}
.s4-title {
  left: 85.81px; top: 107.39px; width: 228.38px; height: 123px;
  font-family: 'Bodoni Moda', serif; font-weight: 700; font-size: 29px;
  color: #f6f1e6; text-align: center; line-height: 1.4;
}
.s4-rsvp {
  left: 100px; top: 248.91px; width: 200px; height: 48px;
  z-index: 10; pointer-events: auto;
}

/* Footer */
.footer {
  display: block; text-align: center; padding: 24px 16px;
  background: #fff; color: #846c29; text-decoration: none;
  border-top: 1px solid rgba(0,0,0,.08);
  font-family: 'Inter', sans-serif;
}
.footer small { font-size: 12px; letter-spacing: .06em; opacity: .8; display: block; }
.footer strong { font-family: 'Bodoni Moda', serif; font-size: 22px; letter-spacing: .04em; display: block; margin: 4px 0 2px; }

/* Olas estiradas */
.s1-wave-top, .s1-wave-bottom,
.s2-wave-1, .s2-wave-2,
.s3-wave-top, .s3-wave-bottom,
.s4-wave-top {
  -webkit-mask-size: 100% 100% !important;
  mask-size: 100% 100% !important;
}

/* ================= EL 12 MÁGICO ================= */
#zoom12-circle {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  top: 0;
  left: 50%;
  width: 140px; height: 140px;
  background: #846c29;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform-origin: center center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
  will-change: transform, opacity, top;
}
#zoom12-circle .num {
  font-family: 'Petit Formal Script', cursive;
  font-size: 55px; font-weight: 600; line-height: 0.8; margin-bottom: 2px;
}
#zoom12-circle .month {
  font-family: 'Caveat', cursive;
  font-size: 20px; line-height: 1; text-transform: capitalize;
}

/* ================= MODAL RSVP ================= */
.rsvp-overlay {
  position: fixed; inset: 0; background: rgba(57,43,30,.65);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none;
  transition: opacity .3s ease; z-index: 99999;
}
.rsvp-overlay.open { opacity: 1; pointer-events: auto; }
.rsvp-box {
  background: #f7f2e6; border-radius: 16px; width: 100%; max-width: 360px;
  padding: 28px 24px 22px; text-align: center; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: translateY(20px); transition: transform .3s ease;
  font-family: 'Inter', sans-serif;
}
.rsvp-overlay.open .rsvp-box { transform: translateY(0); }
.rsvp-close {
  position: absolute; top: 8px; right: 14px; background: none; border: none;
  font-size: 26px; color: #846c29; cursor: pointer; line-height: 1;
}
#rsvp-title {
  font-family: 'Bodoni Moda', serif; font-size: 23px; color: #392b1e; margin-bottom: 6px;
}
.rsvp-sub {
  font-family: 'Caveat', cursive; font-size: 18px; color: #8b7355; margin-bottom: 16px;
}
#rsvp-nombre {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d9cbb5;
  border-radius: 10px; font-size: 15px; background: #fff; color: #392b1e;
  outline: none; margin-bottom: 14px; box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
#rsvp-nombre:focus { border-color: #846c29; }
.rsvp-actions { display: flex; flex-direction: column; gap: 10px; }
.rsvp-actions button {
  padding: 12px; border-radius: 999px; font-size: 14px; font-weight: 500;
  cursor: pointer; border: none; font-family: 'Inter', sans-serif;
  transition: filter .15s ease;
}
.rsvp-actions button:hover { filter: brightness(.93); }
.rsvp-si { background: #846c29; color: #fff; }
.rsvp-no { background: #fff; color: #846c29; border: 1.5px solid #846c29; }
.rsvp-msg { margin-top: 12px; font-size: 13px; min-height: 18px; }
.rsvp-msg.ok    { color: #5b7d4a; }
.rsvp-msg.error { color: #b14b4b; }

/* Vista confirmación */
#rsvp-view-success { display: none; }
.rsvp-success-title {
  font-family: 'Bodoni Moda', serif; font-size: 22px; color: #846c29; margin-bottom: 4px;
}
.rsvp-success-sub {
  font-family: 'Caveat', cursive; font-size: 17px; color: #8b7355; margin-bottom: 14px;
}
.rsvp-success-name {
  font-family: 'Bodoni Moda', serif; font-size: 20px; font-weight: 700;
  color: #392b1e; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .05em;
}
.rsvp-success-status {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 16px;
}
.rsvp-success-status.si { background: #d9e8d4; color: #3d7a3d; }
.rsvp-success-status.no { background: #f0d4d4; color: #b14b4b; }
.rsvp-qr {
  background: #fff; padding: 12px; border-radius: 12px;
  display: inline-block; margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.rsvp-qr img { display: block; width: 200px; height: 200px; }
.rsvp-qr-hint { font-size: 12px; color: #8b7355; margin-bottom: 14px; }
.rsvp-links { border-top: 1px solid #e0d5c0; padding-top: 12px; margin-top: 6px; }
.rsvp-links button {
  background: none; border: none; color: #846c29; text-decoration: underline;
  cursor: pointer; font-size: 13px; font-family: 'Inter', sans-serif; padding: 4px;
}
.rsvp-links button:hover { opacity: .75; }
/* ================= MODAL BIENVENIDA ================= */
.welcome-overlay {
  position: fixed; inset: 0; 
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100000;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.welcome-overlay.open { opacity: 1; pointer-events: auto; }
.welcome-box {
  background: #fff; border-radius: 20px; padding: 32px 24px;
  width: 100%; max-width: 360px; text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.2);
  transform: translateY(20px); transition: transform .4s ease;
}
.welcome-overlay.open .welcome-box { transform: translateY(0); }

#welcome-title {
  font-family: 'Bodoni Moda', serif; font-size: 20px; color: #666;
  margin-bottom: 4px; font-weight: normal;
}
.welcome-sub {
  font-family: 'Inter', sans-serif; font-size: 13px; color: #999;
  
}
.welcome-couple-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 22px;
  color: #846c29;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.welcome-guest-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px;
  font-weight: 700;
  color: #3b2313; /* Cafe oscuro chocolate */
  line-height: 1.2;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.welcome-info {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 28px; align-items: center;
}
.wi-item {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Inter', sans-serif; font-size: 15px; color: #333;
}
.wi-icon { width: 20px; height: 20px; color: #846c29; }
.btn-welcome {
  background: #846c29; color: #fff; border: none;
  padding: 14px 24px; border-radius: 12px; width: 100%;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: filter .2s ease;
}
.btn-welcome:hover { filter: brightness(.9); }

/* ... (tus estilos anteriores) ... */

/* Modificar el overlay para que difumine el fondo */
.welcome-overlay {
  position: fixed; inset: 0; 
  background: rgba(0,0,0,.6); /* Oscurece un poco */
  backdrop-filter: blur(8px); /* Efecto difuminado de los costados */
  -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; z-index: 100000;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.welcome-overlay.open { opacity: 1; pointer-events: auto; }

/* ... (tus estilos de .welcome-box, .wi-item, etc se mantienen) ... */

/* ESTILO DEL NOMBRE GIGANTE */
.welcome-guest-name {
  font-family: 'Bodoni Moda', serif;
  font-size: 32px; /* Tamaño grande */
  font-weight: 700;
  color: #846c29; /* Dorado */
  line-height: 1.2;
  margin: 10px 0 24px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}