:root{
  --beige:#a5a17a;
  --beige-light:#eee8d8;
  --brown:#574a36;
  --brown-dark:#3d452d;
  --cream:#fffaf0;
  --line:rgba(87,74,54,.25);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--beige);
  color:var(--brown);
  font-family:"Montserrat",Arial,sans-serif;
  font-weight:300;
}
body.intro-scroll-lock{
  overflow:hidden;
  height:100vh;
  overscroll-behavior:none;
}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{
  font-family:"Cormorant Garamond",Georgia,serif;
  font-weight:500;
}
h2{
  margin:0 0 24px;
  font-size:clamp(46px,7vw,78px);
  line-height:.9;
  text-transform:uppercase;
}
p{line-height:1.7}
.shell{width:min(1120px,calc(100% - 40px));margin:auto}
.shell--narrow{width:min(680px,calc(100% - 40px))}
.section{padding:100px 0}
.eyebrow{
  margin:0 0 8px;
  font-size:11px;
  letter-spacing:.28em;
  text-transform:uppercase;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:180px;
  margin-top:24px;
  padding:16px 28px;
  border:1px solid var(--brown);
  background:var(--brown);
  color:var(--cream);
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;
  white-space:nowrap;
}
.button--outline{
  background:transparent;
  border-color:var(--cream);
  color:var(--cream);
}
.text-link{
  display:inline-block;
  margin-top:8px;
  font-size:11px;
  letter-spacing:.13em;
  text-transform:uppercase;
}
.welcome-screen{
  position:fixed;
  inset:0;
  z-index:100000;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#eee8d8,#9b9a70);
  color:var(--brown);
  transition:opacity 1.15s ease,visibility 1.15s ease;
}
.welcome-screen.hidden{opacity:0;visibility:hidden;pointer-events:none}
.envelope-intro{
  position:relative;
  width:min(760px,96vw);
  height:min(720px,94vh);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  outline:none;
}
.envelope-intro__names{
  position:absolute;
  top:5%;
  left:0;
  right:0;
  margin:0;
  text-align:center;
  font:400 clamp(46px,8vw,76px) "Parisienne",cursive;
  z-index:30;
  transition:opacity 1.45s ease, transform 1.45s ease;
}
.envelope-intro.names-fade .envelope-intro__names{
  opacity:0;
  transform:translateY(-10px);
}
.envelope-intro__hint{
  position:absolute;
  bottom:5%;
  left:0;
  right:0;
  margin:0;
  text-align:center;
  font:500 11px "Montserrat",sans-serif;
  letter-spacing:.18em;
  text-transform:uppercase;
  z-index:30;
  transition:opacity .6s ease;
}
.envelope-intro.opening .envelope-intro__hint{opacity:0}
.envelope{
  position:relative;
  width:min(390px,74vw);
  aspect-ratio:1.5/1;
  margin-top:52px;
  perspective:1000px;
  filter:drop-shadow(0 22px 24px rgba(77,64,52,.22));
  z-index:10;
}
.envelope__back{position:absolute;inset:0;background:#877650;border-radius:4px}
.envelope__letter{
  position:absolute;
  left:8%;right:8%;top:9%;height:82%;
  display:grid;place-items:center;
  background:#fffaf0;border:1px solid rgba(77,64,52,.15);
  color:#6d5a32;
  font:400 42px "Parisienne",cursive;
  z-index:2;
  transition:transform 1.25s cubic-bezier(.2,.75,.2,1) .55s;
}
.envelope__flap{
  position:absolute;left:0;right:0;top:0;height:57%;
  background:#7c704b;
  clip-path:polygon(0 0,100% 0,50% 100%);
  transform-origin:top center;
  z-index:8;
  transition:transform 1.15s cubic-bezier(.4,0,.2,1);
  backface-visibility:hidden;
}
.envelope__front{position:absolute;inset:0;z-index:5;pointer-events:none}
.envelope__front--left{background:#8c8056;clip-path:polygon(0 0,53% 50%,0 100%)}
.envelope__front--right{background:#81754d;clip-path:polygon(100% 0,47% 50%,100% 100%)}
.envelope__front--bottom{background:#756a45;clip-path:polygon(0 100%,50% 47%,100% 100%)}
.envelope__seal{
  position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);
  width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:2px;
  background:radial-gradient(circle at 35% 30%,#e0c67b,#a47c2c 72%);
  border:2px solid #efd98f;color:#fff4d4;font:500 16px "Cormorant Garamond",serif;
  box-shadow:0 4px 10px rgba(70,45,20,.28);z-index:12;
  transition:opacity .45s ease,transform .45s ease;
}
.envelope__seal span{font-size:12px}
.envelope-intro.opening .envelope__flap{transform:rotateX(180deg);z-index:1}
.envelope-intro.opening .envelope__seal{opacity:0;transform:translate(-50%,-50%) scale(.6)}
.envelope-intro.opening .envelope__letter{transform:translateY(-72px)}
.photo-burst{position:absolute;inset:0;z-index:20;pointer-events:none}
.burst-photo{
  position:absolute;
  left:50%;top:55%;
  width:clamp(100px,19vw,145px);
  aspect-ratio:4/5;
  object-fit:cover;
  padding:6px 6px 22px;
  background:#fff;
  box-shadow:0 12px 25px rgba(58,43,32,.24);
  opacity:0;
  transform:translate(-50%,-50%) scale(.32) rotate(0deg);
  z-index:21;
  will-change:transform,opacity;
}
.envelope-intro.opening .burst-photo{animation-duration:3.45s;animation-timing-function:cubic-bezier(.16,.72,.2,1);animation-fill-mode:forwards}
.envelope-intro.opening .burst-photo--1{animation-name:burst1;animation-delay:.8s}
.envelope-intro.opening .burst-photo--2{animation-name:burst2;animation-delay:1.05s}
.envelope-intro.opening .burst-photo--3{animation-name:burst3;animation-delay:1.3s}
.envelope-intro.opening .burst-photo--4{animation-name:burst4;animation-delay:1.55s}
.envelope-intro.opening .burst-photo--5{animation-name:burst5;animation-delay:1.8s}
@keyframes burst1{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% - 245px),calc(-50% - 145px)) scale(1) rotate(-11deg)}}
@keyframes burst2{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% - 125px),calc(-50% - 235px)) scale(.96) rotate(7deg)}}
@keyframes burst3{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(-50%,calc(-50% - 275px)) scale(1.05) rotate(-3deg)}}
@keyframes burst4{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% + 135px),calc(-50% - 225px)) scale(.96) rotate(9deg)}}
@keyframes burst5{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% + 250px),calc(-50% - 135px)) scale(1) rotate(12deg)}}
@media(max-width:620px){
  .envelope-intro{height:94vh}
  .envelope{width:min(330px,78vw);margin-top:80px}
  .burst-photo{width:92px;padding:4px 4px 15px}
  @keyframes burst1{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% - 118px),calc(-50% - 150px)) scale(1) rotate(-10deg)}}
  @keyframes burst2{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% - 64px),calc(-50% - 245px)) scale(.94) rotate(7deg)}}
  @keyframes burst3{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(-50%,calc(-50% - 305px)) scale(1) rotate(-2deg)}}
  @keyframes burst4{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% + 68px),calc(-50% - 238px)) scale(.94) rotate(8deg)}}
  @keyframes burst5{0%{opacity:0;transform:translate(-50%,-20%) scale(.3)}22%{opacity:1}100%{opacity:1;transform:translate(calc(-50% + 122px),calc(-50% - 145px)) scale(1) rotate(11deg)}}
}
.hero{
  min-height:760px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:var(--brown-dark);
}
.hero__image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom,rgba(35,28,23,.25),rgba(35,28,23,.58));
}
.hero__content{
  position:relative;
  z-index:2;
  width:min(1000px,calc(100% - 40px));
  text-align:center;
  color:var(--cream);
}
.script-title{
  margin:0;
  font:400 clamp(72px,12vw,132px) "Parisienne",cursive;
  line-height:.85;
}
.hero h1{
  margin:16px 0 0;
  font-size:clamp(30px,4vw,48px);
  text-transform:uppercase;
  letter-spacing:.08em;
}
.hero__date{
  margin:20px 0 0;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.countdown{
  width:min(760px,100%);
  margin:45px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border:1px solid rgba(255,250,240,.55);
  background:rgba(41,38,32,.42);
  backdrop-filter:blur(4px);
}
.countdown div{padding:22px 8px;border-right:1px solid rgba(255,250,240,.35)}
.countdown div:last-child{border-right:0}
.countdown strong{display:block;font:500 39px "Cormorant Garamond",serif}
.countdown span{display:block;margin-top:4px;font-size:9px;letter-spacing:.17em;text-transform:uppercase}
.story{background:var(--beige)}
.story__grid{
  display:grid;
  grid-template-columns:.75fr 1fr 1.2fr;
  align-items:center;
  gap:60px;
}
.story__heading p{margin:0;font-size:14px;text-transform:uppercase;letter-spacing:.15em}
.story__heading h2{font-size:60px}
.story__image{width:100%;aspect-ratio:3/4;object-fit:cover}
.story__copy{font-family:"Cormorant Garamond",Georgia,serif;font-size:19px}
.photo-full img{width:100%;height:min(700px,72vw);object-fit:cover}
.calendar-section{background:var(--beige-light);text-align:center}
.calendar-card{
  width:min(420px,100%);
  margin:25px auto 0;
  padding:28px 26px 24px;
  border-radius:18px;
  background:#f5efe1;
  box-shadow:0 18px 45px rgba(77,64,52,.18);
}
.calendar-card__month{margin:0 0 18px;font:500 28px "Cormorant Garamond",serif;letter-spacing:.12em}
.calendar-card__weekdays,.calendar-card__days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.calendar-card__weekdays{margin-bottom:10px;font-size:10px;font-weight:500;letter-spacing:.14em}
.calendar-card__days span{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;font:400 18px "Cormorant Garamond",serif}
.calendar-card__special{background:#a47c2c;color:#fff;box-shadow:0 6px 16px rgba(164,124,44,.35)}
.calendar-card__footer{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}
.calendar-card__footer span{display:block;font-size:10px;letter-spacing:.22em;text-transform:uppercase}
.calendar-card__footer strong{font:500 26px "Cormorant Garamond",serif}
.program{background:var(--beige)}
.program__grid{display:grid;grid-template-columns:1fr 1fr;gap:90px}
.program__list div{display:grid;grid-template-columns:90px 1fr;gap:20px;padding:18px 0;border-bottom:1px solid var(--line)}
.program__list time{font-family:"Cormorant Garamond",serif;font-size:19px}
.program__list span{font-size:12px}
.info-block{padding:20px 0;border-bottom:1px solid var(--line)}
.info-block h3{margin:0 0 8px;font-size:29px}
.info-block p{font-family:"Cormorant Garamond",serif;font-size:18px}
.gallery{
  min-height:690px;
  position:relative;
  display:grid;
  place-items:center;
  overflow:hidden;
}
.gallery__background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.gallery__overlay{position:absolute;inset:0;background:rgba(41,38,32,.58)}
.gallery__content{position:relative;z-index:2;text-align:center;color:var(--cream)}
.gallery__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:45px}
.gallery__grid img{width:100%;height:340px;object-fit:cover}
.gift{background:var(--beige-light)}
.gift__grid{display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:80px}
.gift__image{width:100%;height:600px;object-fit:cover}
.gift__lead{font-family:"Cormorant Garamond",serif;font-size:25px}
.rsvp{background:var(--brown-dark);color:var(--cream)}
.rsvp__grid{display:flex;align-items:center;justify-content:space-between;gap:45px}
.music-button{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:99999;
  width:72px;
  height:72px;
  border:0;
  border-radius:50%;
  background:#a47c2c;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}
.music-button.is-playing{animation:pulse 1.7s infinite}
@keyframes pulse{50%{transform:scale(1.08)}}
.reveal{opacity:0;transform:translateY(22px);transition:.7s ease}
.reveal.visible{opacity:1;transform:none}
@media(max-width:850px){
  .story__grid,.program__grid,.gift__grid{grid-template-columns:1fr}
  .gallery__grid{gap:18px}
  .rsvp__grid{flex-direction:column;align-items:flex-start}
}
@media(max-width:560px){
  .section{padding:72px 0}
  .hero{min-height:700px}
  .script-title{font-size:72px}
  .countdown strong{font-size:28px}
  .countdown span{font-size:8px}
  .story__heading{text-align:center}
  .photo-full img{height:560px}
  .gallery{min-height:860px}
  .gallery__grid{grid-template-columns:1fr}
  .gallery__grid img{height:210px}
  .gift__image{height:470px}
  .music-button{width:64px;height:64px;font-size:27px}
  .welcome-screen__content p{font-size:48px}
}

/* Hojas de otoño durante el recorrido */
.autumn-leaves{position:fixed;inset:0;z-index:9990;pointer-events:none;overflow:hidden}
.autumn-leaf{position:absolute;top:-12vh;left:0;width:var(--size);height:var(--size);opacity:0;will-change:transform,opacity;animation:leafFall var(--duration) linear forwards;background-image:var(--leaf-image);background-position:center;background-size:contain;background-repeat:no-repeat;filter:drop-shadow(0 1px 1px rgba(85,45,20,.18))}
@keyframes leafFall{
  0%{opacity:0;transform:translate3d(var(--x),-12vh,0) rotate(0deg)}
  8%{opacity:.78}
  45%{transform:translate3d(calc(var(--x) + var(--sway)),48vh,0) rotate(210deg)}
  92%{opacity:.72}
  100%{opacity:0;transform:translate3d(calc(var(--x) - var(--sway)),112vh,0) rotate(520deg)}
}
@media (prefers-reduced-motion:reduce){.autumn-leaves{display:none}}


/* Recuerdos tipo Polaroid y textos con movimiento */
.memory-scatter{background:#e9e4d2;overflow:hidden;padding-top:90px;padding-bottom:105px}
.memory-scatter__inner{text-align:center}
.memory-scatter__phrase{font:italic 30px "Cormorant Garamond",Georgia,serif;margin:0 0 45px;color:#59613d}
.memory-polaroids{position:relative;min-height:430px;max-width:880px;margin:auto}
.memory-polaroid{position:absolute;width:245px;margin:0;padding:12px 12px 42px;background:#fffaf1;box-shadow:0 18px 38px rgba(72,52,38,.22);opacity:0;transition:opacity 1s ease,transform 1.35s cubic-bezier(.2,.8,.2,1)}
.memory-polaroid img{display:block;width:100%;height:285px;object-fit:cover}
.memory-polaroid figcaption{position:absolute;left:0;right:0;bottom:10px;font:italic 20px "Cormorant Garamond",Georgia,serif;color:#6b5a38}
.memory-polaroid--1{left:8%;top:35px;transform:translate(-90px,75px) rotate(-18deg) scale(.8)}
.memory-polaroid--2{left:50%;top:0;transform:translate(-50%,100px) rotate(3deg) scale(.8);transition-delay:.22s}
.memory-polaroid--3{right:8%;top:42px;transform:translate(90px,75px) rotate(18deg) scale(.8);transition-delay:.44s}
.memory-polaroid.visible{opacity:1}
.memory-polaroid--1.visible{transform:translate(0,0) rotate(-8deg) scale(1)}
.memory-polaroid--2.visible{transform:translate(-50%,0) rotate(2deg) scale(1)}
.memory-polaroid--3.visible{transform:translate(0,0) rotate(8deg) scale(1)}
.special-motion{opacity:0;will-change:transform,opacity;transition:opacity 1.15s ease,transform 1.15s cubic-bezier(.2,.75,.2,1)}
.special-motion--names{transform:translateY(22px) scale(.94)}
.special-motion--date{transform:translateY(20px);letter-spacing:.35em}
.special-motion--phrase{transform:translateY(26px)}
.special-motion.visible{opacity:1;transform:none}
.special-motion--date.visible{letter-spacing:.12em}
.date-moment{background:#9b9a70;text-align:center;overflow:hidden}
.date-moment__small{margin:0 0 18px;font:italic 23px "Cormorant Garamond",Georgia,serif}
.date-moment__date{margin:0;font:500 clamp(38px,7vw,78px) "Cormorant Garamond",Georgia,serif;color:#fff5da}
.date-moment__names{margin:18px 0 0;font:italic clamp(35px,6vw,65px) "Cormorant Garamond",Georgia,serif;color:#d6b45b}
@media(max-width:700px){
 .memory-scatter{padding-top:72px;padding-bottom:70px}.memory-polaroids{min-height:560px}
 .memory-polaroid{width:190px;padding:9px 9px 34px}.memory-polaroid img{height:220px}
 .memory-polaroid--1{left:5%;top:20px}.memory-polaroid--2{left:62%;top:145px}.memory-polaroid--3{right:12%;top:300px}
 .memory-scatter__phrase{font-size:25px;margin-bottom:25px}
}
@media(prefers-reduced-motion:reduce){.memory-polaroid,.special-motion{transition:none!important;transform:none!important;opacity:1!important}}

/* Say Yes Lab palette: olive + rustic wood + gold */
.story,.program{background-color:#9b9a70;background-image:linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(rgba(79,62,38,.05) 1px,transparent 1px);background-size:34px 100%,100% 9px}
.calendar-section,.gift{background-color:#eee8d8}
.memory-scatter{background-color:#e9e4d2;background-image:linear-gradient(92deg,rgba(112,82,43,.05),transparent 28%,rgba(112,82,43,.04) 55%,transparent 80%)}
.script,.eyebrow,.section-title{color:#8d6b25}


/* Extra motion — lively rustic version */
.program .program-title{color:#fff;text-shadow:0 2px 14px rgba(55,45,25,.16)}
.program .info-block h3{color:#fff}
.program-panel{will-change:transform,opacity}
.program-panel--left.reveal{transform:translateX(-46px) rotate(-.35deg);opacity:0}
.program-panel--right.reveal{transform:translateX(46px) rotate(.35deg);opacity:0}
.program-panel--left.reveal.visible,.program-panel--right.reveal.visible{transform:translateX(0) rotate(0);opacity:1;transition:opacity 1s ease,transform 1.15s cubic-bezier(.2,.85,.25,1)}
.program-step{opacity:0;transform:translateX(-22px);transition:opacity .65s ease,transform .75s cubic-bezier(.2,.9,.25,1)}
.program-panel.visible .program-step{opacity:1;transform:none}
.program-panel.visible .program-step:nth-child(1){transition-delay:.18s}.program-panel.visible .program-step:nth-child(2){transition-delay:.34s}.program-panel.visible .program-step:nth-child(3){transition-delay:.50s}.program-panel.visible .program-step:nth-child(4){transition-delay:.66s}.program-panel.visible .program-step:nth-child(5){transition-delay:.82s}
.program-panel.visible .program-title{animation:titleFloatIn 1.15s cubic-bezier(.2,.9,.2,1) both}
.program-panel--right.visible .program-title{animation-delay:.12s}
@keyframes titleFloatIn{0%{opacity:0;transform:translateY(20px) scale(.96);letter-spacing:.02em}65%{transform:translateY(-3px) scale(1.015)}100%{opacity:1;transform:none}}
.gallery .reveal.visible{animation:softPop .9s cubic-bezier(.2,.9,.25,1) both}
.gallery img.reveal:nth-child(1){transform:translate(-28px,24px) rotate(-3deg)}
.gallery img.reveal:nth-child(2){transform:translateY(30px) rotate(2deg)}
.gallery img.reveal:nth-child(3){transform:translate(28px,24px) rotate(3deg)}
.gallery img.reveal.visible{transform:none}
@keyframes softPop{0%{opacity:0}100%{opacity:1}}
@media(max-width:760px){.program-panel--left.reveal,.program-panel--right.reveal{transform:translateY(30px)}.program-panel--left.reveal.visible,.program-panel--right.reveal.visible{transform:none}}
@media(prefers-reduced-motion:reduce){.program-panel,.program-step,.program-title{animation:none!important;transition:none!important;transform:none!important;opacity:1!important}}


/* Aparición con degradado de la fotografía panorámica */
.photo-full--gradient{
  position:relative;
  overflow:hidden;
  background:var(--beige-light);
}
.photo-full--gradient img{
  opacity:.12;
  transform:scale(1.025);
  filter:saturate(.92);
  transition:opacity 2.4s ease, transform 3s cubic-bezier(.22,.61,.36,1), filter 2.6s ease;
}
.photo-full--gradient::after{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background:linear-gradient(
    to bottom,
    var(--beige-light) 0%,
    var(--beige-light) 58%,
    rgba(239,234,218,.92) 72%,
    rgba(239,234,218,.45) 88%,
    rgba(239,234,218,0) 100%
  );
  transform:translateY(0);
  opacity:1;
  transition:transform 2.8s cubic-bezier(.22,.61,.36,1), opacity 2.4s ease;
}
.photo-full--gradient.visible img{
  opacity:1;
  transform:scale(1);
  filter:saturate(1);
}
.photo-full--gradient.visible::after{
  transform:translateY(-108%);
  opacity:0;
}
@media (prefers-reduced-motion: reduce){
  .photo-full--gradient img,
  .photo-full--gradient::after{transition:none}
  .photo-full--gradient img{opacity:1;transform:none;filter:none}
  .photo-full--gradient::after{display:none}
}


/* Ajustes solicitados: intro botánica, hojas desde el primer instante y programa blanco con iconos */
.envelope-intro__botanical{
  position:absolute;
  inset:-4%;
  width:108%;
  height:108%;
  object-fit:contain;
  opacity:.18;
  z-index:2;
  pointer-events:none;
  filter:saturate(.85) sepia(.08);
  transition:opacity 1.6s ease,transform 2.4s ease;
}
.envelope-intro.opening .envelope-intro__botanical{
  opacity:.10;
  transform:scale(1.035) rotate(.5deg);
}
.envelope-intro__names,.envelope-intro__hint{z-index:30}
.envelope,.photo-burst{position:relative}
.photo-burst{position:absolute}

/* Mantener las hojas visibles también sobre la portada inicial */
.autumn-leaves{z-index:100050}

/* Programa / recepción completamente en blanco */
.program,
.program .eyebrow,
.program .program-title,
.program .program__list,
.program .program__list time,
.program .program__list span,
.program .info-block,
.program .info-block h3,
.program .info-block p,
.program .text-link{
  color:#fff;
}
.program .eyebrow{opacity:.82}
.program .program__list div,
.program .info-block{border-color:rgba(255,255,255,.28)}
.program .text-link{border-color:rgba(255,255,255,.55)}

.program__list .program-step{
  display:grid;
  grid-template-columns:34px 76px 1fr;
  align-items:center;
  gap:14px;
}
.program-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  opacity:0;
  transform:translateY(8px) scale(.72) rotate(-10deg);
  transition:opacity .5s ease,transform .75s cubic-bezier(.2,.95,.25,1.2);
}
.program-icon svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.program-panel.visible .program-step .program-icon{opacity:1;transform:none}
.program-panel.visible .program-step:nth-child(1) .program-icon{transition-delay:.10s}
.program-panel.visible .program-step:nth-child(2) .program-icon{transition-delay:.27s}
.program-panel.visible .program-step:nth-child(3) .program-icon{transition-delay:.44s}
.program-panel.visible .program-step:nth-child(4) .program-icon{transition-delay:.61s}
.program-panel.visible .program-step:nth-child(5) .program-icon{transition-delay:.78s}

@media(max-width:560px){
  .envelope-intro__botanical{inset:0;width:100%;height:100%;opacity:.15}
  .program__list .program-step{grid-template-columns:30px 62px 1fr;gap:10px}
  .program-icon{width:22px;height:22px}
  .program-icon svg{width:20px;height:20px}
}
@media(prefers-reduced-motion:reduce){
  .program-icon{opacity:1!important;transform:none!important;transition:none!important}
}

/* Selector bilingüe */
.language-choice{
  position:absolute;
  bottom:clamp(24px,5vh,56px);
  left:50%;
  transform:translateX(-50%);
  z-index:100120;
  width:min(92vw,560px);
  text-align:center;
  color:#5d4936;
  text-shadow:0 1px 8px rgba(255,250,240,.45);
}
.language-choice__title{
  margin:0 0 14px;
  font:500 clamp(16px,2.2vw,21px) "Montserrat",sans-serif;
  letter-spacing:.08em;
}
.language-choice__title span{color:#d8b55c;margin:0 .35em}
.language-choice__buttons{display:flex;justify-content:center;gap:12px}
.language-choice__button{
  min-width:138px;
  padding:12px 18px;
  border:1px solid rgba(218,183,90,.92);
  border-radius:999px;
  background:rgba(73,78,50,.78);
  color:#fff;
  font:500 13px "Montserrat",sans-serif;
  letter-spacing:.14em;
  cursor:pointer;
  backdrop-filter:blur(7px);
  box-shadow:0 8px 22px rgba(37,31,20,.14);
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease,color .25s ease;
}
.language-choice__button:hover,.language-choice__button:focus-visible{transform:translateY(-2px);background:#b38a2f;box-shadow:0 10px 28px rgba(70,54,24,.24);outline:none}
.language-choice__button.is-selected{background:#d3ad54;color:#3e3d2b;transform:scale(1.035)}
.language-choice__note{margin:12px 0 0;font:400 12px "Montserrat",sans-serif;letter-spacing:.04em;opacity:.88}
.envelope-intro.is-locked{cursor:default}
.envelope-intro.is-locked .envelope{filter:saturate(.88);opacity:.88}
.envelope-intro.is-locked .envelope-intro__hint{opacity:.38}
.envelope-intro.is-locked:active{transform:none}
.language-choice.is-chosen{animation:languageChoiceOut .7s ease forwards;pointer-events:none}
@keyframes languageChoiceOut{to{opacity:0;transform:translate(-50%,12px)}}

.language-switch{
  position:fixed;
  top:18px;
  right:18px;
  z-index:100060;
  display:none;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border:1px solid rgba(210,176,82,.7);
  border-radius:999px;
  background:rgba(68,73,46,.78);
  color:#fff;
  backdrop-filter:blur(7px);
  box-shadow:0 6px 20px rgba(36,31,18,.14);
}
.language-switch.is-visible{display:flex}
.language-switch button{border:0;background:transparent;color:inherit;padding:2px 4px;font:500 11px "Montserrat",sans-serif;letter-spacing:.08em;cursor:pointer;opacity:.62}
.language-switch button.is-active{opacity:1;color:#f2ce74}
.language-switch span{opacity:.42}
@media(max-width:600px){
  .language-choice{bottom:24px;width:94vw}
  .language-choice__title{font-size:15px}
  .language-choice__buttons{gap:8px}
  .language-choice__button{min-width:124px;padding:11px 14px;font-size:11px}
  .language-choice__note{font-size:10px}
  .language-switch{top:12px;right:12px}
}
@media(prefers-reduced-motion:reduce){.language-choice.is-chosen{animation:none;opacity:0}.language-choice__button{transition:none}}


/* Wishing well / lluvia de sobres */
.wishing-envelope-wrap{display:flex;justify-content:center;align-items:center;min-height:470px}
.wishing-envelope{position:relative;width:min(360px,78vw);height:245px;filter:drop-shadow(0 22px 30px rgba(46,36,24,.20));animation:wishingFloat 4.8s ease-in-out infinite}
.wishing-envelope__back{position:absolute;inset:45px 0 0;background:#b4ad78;border:1px solid rgba(141,107,37,.35);border-radius:4px}
.wishing-envelope__front{position:absolute;left:0;right:0;bottom:0;height:200px;background:linear-gradient(145deg,#d6cf9f,#aaa46f);clip-path:polygon(0 0,50% 58%,100% 0,100% 100%,0 100%);z-index:3;border-radius:0 0 4px 4px}
.wishing-envelope__flap{position:absolute;left:0;right:0;top:45px;height:150px;background:linear-gradient(160deg,#c9c391,#9f9967);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:50% 0;z-index:4;animation:wishingFlap 4.8s ease-in-out infinite}
.wishing-envelope__letter{position:absolute;left:12%;right:12%;bottom:30px;height:165px;background:#f7f1e4;border:1px solid rgba(141,107,37,.22);z-index:2;display:flex;align-items:flex-start;justify-content:center;padding-top:28px;font-family:"Cormorant Garamond",serif;font-size:42px;color:#a9802f;animation:wishingLetter 4.8s ease-in-out infinite}
.wishing-envelope__letter span{animation:wishingHeart 1.8s ease-in-out infinite}
.gift__thanks{font-family:"Cormorant Garamond",serif;font-style:italic;font-size:22px;color:#8d6b25;margin-top:24px}
@keyframes wishingFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-10px) rotate(1deg)}}
@keyframes wishingFlap{0%,18%,100%{transform:rotateX(0deg);z-index:4}32%,82%{transform:rotateX(178deg);z-index:1}}
@keyframes wishingLetter{0%,20%,100%{transform:translateY(0)}38%,78%{transform:translateY(-95px)}}
@keyframes wishingHeart{0%,100%{transform:scale(1)}50%{transform:scale(1.14)}}
@media(max-width:560px){.wishing-envelope-wrap{min-height:330px}.wishing-envelope{width:270px;height:195px}.wishing-envelope__back{top:35px}.wishing-envelope__front{height:160px}.wishing-envelope__flap{top:35px;height:120px}.wishing-envelope__letter{height:130px;font-size:34px}.gift__thanks{font-size:19px}}
@media(prefers-reduced-motion:reduce){.wishing-envelope,.wishing-envelope__flap,.wishing-envelope__letter,.wishing-envelope__letter span{animation:none!important}}

/* Refinamientos recepción: botón de mapa y aparición suave de familias */
.program .text-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:14px;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,.28);
  border-radius:999px;
  background:#66513b;
  color:#fff;
  text-decoration:none;
  letter-spacing:.12em;
  font-size:11px;
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
  box-shadow:0 7px 18px rgba(52,39,25,.12);
}
.program .text-link:hover{background:#594532;transform:translateY(-2px);box-shadow:0 10px 22px rgba(52,39,25,.18)}
.family-info{opacity:0;filter:blur(9px);transform:none!important;transition:opacity 1.15s ease,filter 1.25s ease!important}
.program-panel.visible .family-info{opacity:1;filter:blur(0);transform:none!important;transition-delay:.35s!important}
@media(prefers-reduced-motion:reduce){.family-info{opacity:1!important;filter:none!important}}

/* Sincronización de Lluvia de sobres: el papel baja antes de que termine de cerrar */
@keyframes wishingFlap{0%,18%,100%{transform:rotateX(0deg);z-index:4}32%,70%{transform:rotateX(178deg);z-index:1}82%,100%{transform:rotateX(0deg);z-index:4}}
@keyframes wishingLetter{0%,20%,100%{transform:translateY(0)}38%,66%{transform:translateY(-95px)}76%,100%{transform:translateY(0)}}

/* FINAL: centrar Programa + Recepción en una sola columna */
.program .shell.program__grid{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:58px;
  max-width:900px;
  margin-inline:auto;
}
.program .program-panel{
  width:100%;
  max-width:760px;
  margin-inline:auto;
  text-align:center;
}
.program .program__list{
  width:min(620px,100%);
  margin:24px auto 0;
}
.program .program__list .program-step{
  grid-template-columns:34px 96px minmax(0,1fr);
  text-align:left;
}
.program .program-title,
.program .eyebrow,
.program .info-block{
  text-align:center;
}
.program .info-block{
  width:min(680px,100%);
  margin-inline:auto;
}
.program .text-link{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  margin-top:10px;
}
@media(max-width:560px){
  .program .shell.program__grid{gap:42px}
  .program .program__list .program-step{grid-template-columns:28px 78px minmax(0,1fr);gap:9px}
  .program .program-title{font-size:clamp(48px,15vw,76px)}
}

/* FINAL v2: más aire entre Programa y Recepción */
.program .shell.program__grid{
  gap:110px;
}
.program-panel--right{
  position:relative;
}
.program-panel--right::before{
  content:"";
  display:block;
  width:150px;
  height:1px;
  margin:0 auto 54px;
  background:rgba(190,145,52,.72);
}
@media(max-width:560px){
  .program .shell.program__grid{gap:78px}
  .program-panel--right::before{margin-bottom:40px;width:110px}
}

/* Language selector matched to Proposal 2 */
.language-choice{bottom:10%;width:min(520px,92vw)}
.language-choice__title{margin:0 0 12px;color:var(--brown,#604b38);font:500 13px "Montserrat",sans-serif;letter-spacing:.08em;text-transform:none}
.language-choice__title span{color:inherit;margin:0 .25em}
.language-choice__buttons{gap:0}
.language-choice__button{min-width:135px;margin:4px 5px;padding:12px 18px;border:1px solid var(--gold,#b79035);border-radius:28px;background:rgba(96,75,56,.9);color:#fff;font-size:12px;letter-spacing:.12em;box-shadow:none}
.language-choice__button:hover,.language-choice__button:focus-visible{transform:translateY(-1px);background:rgba(96,75,56,.96);box-shadow:none}
.language-choice__button.is-selected{background:var(--gold,#b79035);color:#fff;transform:none}
.language-choice__note{display:none!important}
@media(max-width:620px){.language-choice{bottom:7%}.language-choice__title{font-size:11px}.language-choice__button{min-width:135px;padding:12px 18px;font-size:11px}}

/* Say Yes Lab: idioma sin preselección visual */
.language-choice__button {
  opacity: .72 !important;
  filter: none !important;
}
.language-choice__button.is-selected,
.language-choice__button.active,
.language-choice__button[aria-pressed="true"] {
  opacity: 1 !important;
  filter: brightness(1.08) !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,.42), 0 5px 16px rgba(0,0,0,.12) !important;
  transform: translateY(-1px);
}

/* === CAMBIOS FINALES CLIENTE 13-08-2026 === */
/* Una sola foto grande saliendo del sobre */
.photo-burst .burst-photo{display:none!important}
.photo-burst .burst-photo--1{
  display:block!important;
  width:clamp(190px,34vw,330px)!important;
  padding:8px 8px 30px!important;
  left:50%!important;top:48%!important;
  transform:translate(-50%,-50%) rotate(-3deg) scale(.45);
  z-index:28!important;
}
.envelope-intro.opening .burst-photo--1{animation:singlePhotoBurst 4.1s cubic-bezier(.16,.72,.2,1) .95s forwards!important}
@keyframes singlePhotoBurst{
  0%{opacity:0;transform:translate(-50%,10%) rotate(-5deg) scale(.42)}
  28%{opacity:1}
  72%{opacity:1;transform:translate(-50%,-112%) rotate(2deg) scale(1)}
  100%{opacity:1;transform:translate(-50%,-108%) rotate(-1deg) scale(1)}
}

/* Lazo de recuerdo junto a Isabel */

/* Itinerario provisional más vistoso */
.program-kicker{font-family:"Montserrat",sans-serif;font-size:11px;letter-spacing:.24em;text-transform:uppercase;opacity:.8;margin:-6px 0 18px}
.program__list .program-step{grid-template-columns:58px 95px minmax(0,1fr)!important;align-items:center;gap:16px!important;padding:22px 0!important}
.program-icon{width:48px!important;height:48px!important;border:1px solid rgba(255,255,255,.6);border-radius:50%;display:flex!important;align-items:center;justify-content:center;font-size:25px!important;background:rgba(255,255,255,.08);box-shadow:0 8px 22px rgba(54,43,25,.12)}
.program__list time{font-size:22px!important}
.program__list .program-step>span:last-child{font-size:14px!important;letter-spacing:.02em}
@media(max-width:560px){.program__list .program-step{grid-template-columns:46px 78px minmax(0,1fr)!important;gap:9px!important}.program-icon{width:40px!important;height:40px!important;font-size:21px!important}.program__list time{font-size:18px!important}.program__list .program-step>span:last-child{font-size:12px!important}}

/* Galería más abundante y cargada */
.gallery__grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;grid-auto-rows:190px;gap:10px!important}
.gallery__grid img{width:100%;height:100%!important;object-fit:cover!important;min-height:0!important}
.gallery__grid img:nth-child(1),.gallery__grid img:nth-child(6){grid-column:span 2;grid-row:span 2}
.gallery__grid img:nth-child(4),.gallery__grid img:nth-child(9){grid-row:span 2}
@media(max-width:760px){.gallery__grid{grid-template-columns:repeat(2,1fr)!important;grid-auto-rows:165px}.gallery__grid img:nth-child(1),.gallery__grid img:nth-child(6){grid-column:span 2;grid-row:span 2}.gallery__grid img:nth-child(4),.gallery__grid img:nth-child(9){grid-row:span 1}}

/* Decoración otoñal de fondo reutilizando el PNG reemplazable */
.story,.calendar-section,.program,.gift,.rsvp{position:relative;overflow:hidden}
.autumn-watermark{position:absolute;width:clamp(170px,24vw,360px);height:auto;opacity:.13;pointer-events:none;z-index:0;filter:saturate(.9)}
.autumn-watermark--left{left:-70px;top:8%;transform:rotate(-18deg)}
.autumn-watermark--right{right:-80px;bottom:4%;transform:rotate(165deg)}
.story>.shell,.calendar-section>.shell,.program>.shell,.gift>.shell,.rsvp>.shell{position:relative;z-index:1}

/* Regalos + lluvia de sobres */
.gift__copy h2{margin-bottom:12px}
.gift__subheading{font-family:"Cormorant Garamond",serif;font-size:30px;margin:30px 0 8px;color:#6b553a}
.gift__lead{margin-bottom:12px}
.gift__cash{font-family:"Cormorant Garamond",serif;font-size:20px;line-height:1.5}


/* Foto única: conserva la animación original aprobada; solo tamaño mayor */
.photo-burst .burst-photo--1,
.photo-burst .burst-photo:first-child {
  width: min(52vw, 470px) !important;
  max-width: 470px !important;
}

/* Foto inicial activa: galeria-3.jpeg sale del sobre al abrir */


/* Corrección visual: sección "Nuestros momentos" */
.gallery,
.moments,
.gallery-section,
.moments-section {
  padding-top: clamp(70px, 9vw, 120px) !important;
  padding-bottom: clamp(70px, 9vw, 120px) !important;
}

.gallery .eyebrow,
.moments .eyebrow,
.gallery-section .eyebrow,
.moments-section .eyebrow,
.gallery-kicker,
.moments-kicker {
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: clamp(28px, 4vw, 48px) !important;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  line-height: 1.5 !important;
}

.gallery h2,
.moments h2,
.gallery-section h2,
.moments-section h2,
.gallery-title,
.moments-title {
  color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: clamp(38px, 5vw, 64px) !important;
}

/* Si el nombre Michell & John pertenece al encabezado de esta sección,
   evita el dorado de poco contraste sobre verde olivo. */
.gallery .names,
.moments .names,
.gallery-section .names,
.moments-section .names,
.gallery .couple-names,
.moments .couple-names {
  color: #ffffff !important;
}

/* Ajuste solo para galeria-9.jpeg: formato horizontal */
.gallery-grid img:nth-child(9),
.gallery img:nth-child(9),
img[src$="galeria-9.jpeg"] {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

/* CORRECCIÓN REAL galeria-9: dejar de ocupar 2 filas y hacerla horizontal */
.gallery__grid img:nth-child(9) {
  grid-row: span 1 !important;
  grid-column: span 2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  aspect-ratio: auto !important;
}

@media (max-width: 760px) {
  .gallery__grid img:nth-child(9) {
    grid-row: span 1 !important;
    grid-column: span 2 !important;
  }
}

/* Reacomodo final de la galería: collage sin huecos */
.gallery__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-rows: 220px !important;
  gap: 12px !important;
  grid-auto-flow: dense !important;
}

.gallery__grid img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Composición tipo collage */
.gallery__grid img:nth-child(1) {
  grid-column: span 2 !important;
  grid-row: span 2 !important;
}
.gallery__grid img:nth-child(2),
.gallery__grid img:nth-child(3),
.gallery__grid img:nth-child(4),
.gallery__grid img:nth-child(5),
.gallery__grid img:nth-child(6),
.gallery__grid img:nth-child(7),
.gallery__grid img:nth-child(8) {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
}
.gallery__grid img:nth-child(9) {
  grid-column: span 2 !important;
  grid-row: span 1 !important;
  aspect-ratio: auto !important;
}

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: 180px !important;
  }

  .gallery__grid img:nth-child(1),
  .gallery__grid img:nth-child(9) {
    grid-column: span 2 !important;
  }
}

@media (max-width: 560px) {
  .gallery__grid {
    grid-template-columns: 1fr !important;
    grid-auto-rows: auto !important;
  }

  .gallery__grid img,
  .gallery__grid img:nth-child(1),
  .gallery__grid img:nth-child(9) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    height: auto !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* Ajuste final: galeria-9 menos panorámica para cerrar mejor el collage */
.gallery__grid img:nth-child(9) {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

@media (max-width: 900px) {
  .gallery__grid img:nth-child(9) {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
    aspect-ratio: 4 / 3 !important;
  }
}

/* PNG custom icon slots */
.custom-info-icon{width:68px;height:68px;margin:0 auto 16px;display:flex;align-items:center;justify-content:center}
.custom-info-icon img{width:100%;height:100%;object-fit:contain;display:block}
.memorial-icon{width:52px;height:52px;display:inline-flex;vertical-align:middle;align-items:center;justify-content:center;margin-left:10px}
.memorial-icon img{width:100%;height:100%;object-fit:contain;display:block}
@media(max-width:620px){
 .custom-info-icon{width:58px;height:58px;margin-bottom:14px}
 .memorial-icon{width:46px;height:46px;margin-left:8px}
}


/* Itinerary PNG icon slots */
.program__list .program-step{display:grid;grid-template-columns:68px 100px minmax(0,1fr);align-items:center;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.program__list .program-icon{width:68px;height:68px;display:flex;align-items:center;justify-content:center}
.program__list .program-icon img{width:100%;height:100%;object-fit:contain;display:block}
.program__list .program-step time{font-family:"Cormorant Garamond",serif;font-size:19px;white-space:nowrap}
.program__list .program-step > span:last-child{font-size:12px;line-height:1.45}
@media(max-width:560px){
 .program__list .program-step{grid-template-columns:56px 86px minmax(0,1fr);gap:10px}
 .program__list .program-icon{width:56px;height:56px}
 .program__list .program-step time{font-size:16px}
}


/* FIX 14-08-2026: mostrar galeria-3.jpeg saliendo del sobre */
.photo-burst{display:block !important;position:absolute !important;inset:0 !important;z-index:20 !important;pointer-events:none !important;}
.photo-burst .burst-photo--1{display:block !important;opacity:0;}
.envelope-intro.opening .photo-burst .burst-photo--1{animation:singlePhotoBurst 4.1s cubic-bezier(.16,.72,.2,1) .95s forwards !important;}

/* FIX 14-08-2026 v2: la foto sale del sobre y termina completa/centrada en pantalla */
.photo-burst .burst-photo--1{
  left:50% !important;
  top:50% !important;
  width:min(46vw, 430px) !important;
  max-width:430px !important;
  max-height:68vh !important;
  object-fit:contain !important;
  transform:translate(-50%, 18%) rotate(-3deg) scale(.42);
  transform-origin:center center !important;
}
.envelope-intro.opening .photo-burst .burst-photo--1{
  animation:singlePhotoBurstCentered 4.1s cubic-bezier(.16,.72,.2,1) .95s forwards !important;
}
@keyframes singlePhotoBurstCentered{
  0%{
    opacity:0;
    transform:translate(-50%, 18%) rotate(-5deg) scale(.42);
  }
  24%{opacity:1;}
  68%{
    opacity:1;
    transform:translate(-50%, -54%) rotate(2deg) scale(.96);
  }
  100%{
    opacity:1;
    transform:translate(-50%, -50%) rotate(-1deg) scale(1);
  }
}
@media(max-width:700px){
  .photo-burst .burst-photo--1{
    width:min(82vw, 390px) !important;
    max-height:62vh !important;
  }
}

/* FIX 14-08-2026 v3: subir la foto para que quede visible sobre el sobre */
@keyframes singlePhotoBurstCentered{
  0%{
    opacity:0;
    transform:translate(-50%, 18%) rotate(-5deg) scale(.42);
  }
  24%{opacity:1;}
  68%{
    opacity:1;
    transform:translate(-50%, -72%) rotate(2deg) scale(.96);
  }
  100%{
    opacity:1;
    transform:translate(-50%, -70%) rotate(-1deg) scale(1);
  }
}
@media(max-width:700px){
  @keyframes singlePhotoBurstCentered{
    0%{
      opacity:0;
      transform:translate(-50%, 18%) rotate(-5deg) scale(.42);
    }
    24%{opacity:1;}
    68%{
      opacity:1;
      transform:translate(-50%, -76%) rotate(2deg) scale(.96);
    }
    100%{
      opacity:1;
      transform:translate(-50%, -74%) rotate(-1deg) scale(1);
    }
  }
}

/* FIX 14-08-2026 v4: la foto nace visualmente desde el centro del sobre */
@keyframes singlePhotoBurstCentered{
  0%{
    opacity:0;
    transform:translate(-50%, -22%) rotate(-4deg) scale(.38);
  }
  16%{
    opacity:1;
    transform:translate(-50%, -26%) rotate(-3deg) scale(.48);
  }
  68%{
    opacity:1;
    transform:translate(-50%, -72%) rotate(2deg) scale(.96);
  }
  100%{
    opacity:1;
    transform:translate(-50%, -70%) rotate(-1deg) scale(1);
  }
}
@media(max-width:700px){
  @keyframes singlePhotoBurstCentered{
    0%{
      opacity:0;
      transform:translate(-50%, -20%) rotate(-4deg) scale(.38);
    }
    16%{
      opacity:1;
      transform:translate(-50%, -25%) rotate(-3deg) scale(.48);
    }
    68%{
      opacity:1;
      transform:translate(-50%, -76%) rotate(2deg) scale(.96);
    }
    100%{
      opacity:1;
      transform:translate(-50%, -74%) rotate(-1deg) scale(1);
    }
  }
}

/* FIX 14-08-2026 v5: marco otoñal elegante SOLO para la foto que sale del sobre */
.photo-burst .burst-photo--1{
  padding:5px !important;
  background:linear-gradient(135deg,#8f8455 0%,#c6ad69 45%,#756b43 100%) !important;
  border:1px solid rgba(239,217,143,.9) !important;
  border-radius:3px !important;
  box-shadow:
    0 16px 34px rgba(58,43,32,.28),
    0 0 0 2px rgba(255,248,224,.35),
    inset 0 0 0 1px rgba(255,255,255,.22) !important;
}


/* Sección final: despedida + dos fotos panorámicas */
.farewell-final{padding-top:72px;padding-bottom:92px;text-align:center;}
.farewell-final__inner{max-width:1050px;}
.farewell-final__copy h2{margin:.25rem 0 2rem;}
.farewell-final__photos{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;}
.farewell-final__photo{margin:0;aspect-ratio:16/9;overflow:hidden;border-radius:4px;box-shadow:0 14px 34px rgba(58,43,32,.16);background:rgba(255,255,255,.25);}
.farewell-final__photo img{width:100%;height:100%;object-fit:cover;display:block;}
@media(max-width:700px){.farewell-final{padding-top:56px;padding-bottom:72px}.farewell-final__photos{grid-template-columns:1fr;gap:18px}}

/* Marca de agua para propuesta / vista previa */
.preview-watermark{
  position:fixed;
  inset:0;
  z-index:999999;
  pointer-events:none;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.preview-watermark span{
  display:block;
  transform:rotate(-28deg);
  font-family:Arial,sans-serif;
  font-size:clamp(24px,5vw,64px);
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  white-space:nowrap;
  color:rgba(80,65,55,.13);
  border:2px solid rgba(80,65,55,.10);
  padding:.3em .65em;
}
