  :root{
    --bg: #f8f9fb;
    --ink: #0b1f3a;
    --olive: #0b1f3a;
    --olive-dark: #0b1f3a;
    --olive-soft: rgba(11,31,58,.14);
    --blush: #dbe3ef;
    --sand: #e8edf4;
    --line: rgba(11,31,58,.16);
    --card: rgba(248,249,251,.9);
    --rose-gold-text: linear-gradient(120deg, #0b1f3a 0%, #496b9b 50%, #0b1f3a 100%);
    --gold-text: linear-gradient(120deg, #806d48 0%, #d2bd85 35%, #b39a5c 50%, #ead9a9 65%, #806d48 100%);
    --gold-highlight: linear-gradient(120deg, #806d48 0%, #d2bd85 35%, #b39a5c 50%, #ead9a9 65%, #806d48 100%);
    --black-gloss-text: #0b1f3a;
    --gradient-accent: linear-gradient(120deg, #07152b 0%, #315b91 35%, #9bb8db 50%, #315b91 65%, #07152b 100%);
    --white-metallic: linear-gradient(120deg, #ffffff 0%, #d8d8d8 28%, #ffffff 50%, #b8b8b8 72%, #ffffff 100%);

    --title: "Cinzel", serif;
    --body-serif: "Cormorant Garamond", serif;
    --cursive: "Luxurious Script", cursive;
    --text:"Cormorant Garamond", serif;
  }

  .spotify-link{
    position:fixed;
    right:18px;
    bottom:88px;
    z-index:1200;
    padding:8px 12px;
    border:1px solid var(--ink);
    border-radius:20px;
    background:rgba(244,238,231,.9);
    color:var(--ink);
    font-family:var(--title);
    font-size:10px;
    letter-spacing:.06em;
    text-transform:uppercase;
  }

  .album-editorial{
    padding:34px 18px;
    text-align:center;
  }
  .album-card{
    position:relative;
    overflow:hidden;
    width:100%;
    padding:30px 18px;
    background:url("Images/RECORTE.png") center/cover no-repeat !important;
  }
  #albumTitle{
    letter-spacing:normal;
    padding:10px;
  }
  #albumSection .wishes-intro{
    padding:15px;
  }
  #albumSection > .album-card > .btn-outline{
    display:inline-block;
    margin-top:15px;
    padding:6px 10px;
    min-width:0 !important;
    min-height:0 !important;
    border:1px solid #a8793c !important;
    border-radius:0;
    background:transparent !important;
    color:#7d2e18 !important;
    font-family:var(--title) !important;
    font-size:9px !important;
    line-height:normal;
    text-decoration:none;
    text-transform:uppercase;
  }
  .album-tulip{
    position:absolute;
    z-index:0;
    right:-4%;
    bottom:-8%;
    width:35%;
    height:auto;
    top:60%;
  }
  .album-card > h3,
  .album-card > p,
  .album-card > .album-qr,
  .album-card > .btn-outline{
    position:relative;
    z-index:1;
  }
  .album-editorial h3{font-family:var(--title);text-transform:uppercase;letter-spacing:.12em}
  .album-editorial p{margin:0 auto 18px}
  .album-qr{display:block;width:180px;height:180px;margin:0 auto 18px}

  #ceremonyTitle,
  #receptionTitle,
  #itineraryTitle,
  #dressCodeTitle,
  #giftTitle,
  #playlistTitle,
  #albumTitle,
  #wishesTitle,
  #rsvpTitle{
     background:var(--gradient-accent);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }

  #ceremonyLocation,
  #receptionLocation{
    font-family:var(--text);
    font-size:13px;
    line-height:1.5;
  }

  #receptionPlace{
    font-family:var(--title);
    background:var(--gold-highlight) !important;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }

  .event-map-link{
    background:url("Images/textura-2.png") center/cover no-repeat;
    border-color:var(--olive-dark) !important;
    color:var(--olive-dark) !important;
  }

  #rsvp-name{
    font-family:var(--text);
    font-size:17px;
    font-style:italic;
    color:var(--olive-dark);
  }

  #wishesIntro,
  #albumSection .wishes-intro{
    max-width:560px;
    margin:0 auto;
    font-family:var(--text);
    font-size:17px;
    line-height:1.5;
    font-style:italic;
      color:#0b1f3a;
    text-align:center;
  }

  #albumTitle{
    text-transform:none;
  }

  #rsvp-response-yes + span,
  #rsvp-response-no + span,
  #btnConfirmarRsvp{
    background:url("Images/textura-2.png") center/cover no-repeat !important;
  }
  #btnConfirmarRsvp,
  #guest-count{
    background:url("Images/textura-2.png") center/cover no-repeat !important;
  }

  .event-note-icon,
  .timeline-icon{
    filter: brightness(0) saturate(100%) invert(45%) sepia(11%) saturate(500%) hue-rotate(55deg) brightness(88%) contrast(82%);
  }

  .playlist-icon{
    margin:0 0 10px;
    color:var(--olive-dark);
    font-size:24px;
  }

  .playlist-button{
    margin-top:18px;
  }
  
  *{box-sizing:border-box}
  html,
  body{
    overflow-x:hidden;
  }
  body{
    margin:0;
    background:transparent;
    color:var(--ink);
  }
  p{
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.5;
  }
  
  .cover{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:0;
    position:relative;
    overflow:hidden;
    background:url("Images/textura-2.png") center/cover fixed no-repeat;
  }
  
  .cover-inner{
    width:min(100%, 520px);
    margin:0 auto;
    display:grid;
    justify-items:center;
    align-items:center;
    gap:14px;
    text-align:center;
  }
  
  .mono{
    letter-spacing:.35em;
    font-weight:600;
    color:var(--olive);
    text-transform:uppercase;
    font-size:14px;
  }
  
  .couple,
  .couple .amp{
    margin:0;
     width:100%;
     font-size:45px;
    font-weight:500;
    font-family: var(--cursive);
    font-style:normal;
    letter-spacing:.03em;
    background:var(--gradient-accent);
    background-size:220% auto;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    text-shadow:0 1px 0 rgba(255,255,255,.16), 0 0 12px rgba(116,20,32,.12);
    animation: goldShimmer 7s ease-in-out infinite;
  }

  .couple .amp{
    width:auto;
    font-size:inherit;
    text-shadow:inherit;
  }
  
  .tag{
    margin:0;
    width:100%;
    font-size:clamp(38px, 10vw, 62px);
    color:transparent;
    font-family: var(--cursive);
    letter-spacing:.02em;
    text-transform:none;
     background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }

  .tag-animated{
    background-size:200% auto;
    animation:none;
  }

  .envelope-wrap{display:flex;justify-content:center;align-items:center;width:100%;margin:0 auto}
  .envelope-trigger{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
     border:none !important;
     background:transparent !important;
    cursor:pointer;
  }
  .envelope{
    display:block;
    width:min(380px, 88vw);
    height:auto;
    margin:0 auto;
    filter: drop-shadow(0 20px 28px rgba(24,26,39,.18));
    transform: translateY(0);
    transition: transform .5s ease;
  }
  .envelope-trigger:hover .envelope,
  .envelope-trigger:focus-visible .envelope{
    transform: translateY(-4px);
  }
  .envelope-trigger:focus-visible{
    outline:2px solid rgba(153,121,80,.55);
    outline-offset:6px;
    border-radius:24px;
  }
  .pearl{
    position:absolute;
    left:53%;
    top:63%;
    width:clamp(26px, 6vw, 36px);
    transform:translate(-50%, -50%);
    transform-origin:center;
    animation: pearlSpin 14s linear infinite;
    pointer-events:none;
    filter: drop-shadow(0 8px 18px rgba(153,121,80,.28));
  }
  
  .guest-card{
    margin:8px auto 6px;
    width:min(320px, 82vw);
    border:1px solid var(--line);
    background:var(--card);
    padding:10px 12px;
    backdrop-filter: blur(6px);
    border-radius:0;
    box-shadow:0 12px 20px rgba(24,26,39,.08);
  }
  
  .guest-line{
    font-weight:600;
    letter-spacing:.05em;
    margin-bottom:2px;
    font-family: var(--cursive);
    font-size: 24px;
     background:var(--gradient-accent);
     -webkit-background-clip:text;
     -webkit-text-fill-color:transparent;
     background-clip:text;
  }
  
  .guest-sub{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.14em;
    color:rgba(34,39,59,.7);
    font-family: var(--title);
    line-height:1.1;
  }
  
  .guest-seats{
    margin-top:4px;
    font-size:12px;
      background:var(--gradient-accent);
     -webkit-background-clip:text;
     -webkit-text-fill-color:transparent;
     background-clip:text;
    font-family: var(--text);
    font-size: 16px;
    font-style: italic;
  }
  
  .btn-primary{
    margin:0 auto;
    border:none;
    padding:12px 18px;
    background:var(--gold-text);
    background-size:220% auto;
    color:#F0EFED;
    font-family:var(--title);
    letter-spacing:.12em;
    text-transform:uppercase;
    font-size:12px;
    cursor:pointer;
    transition:.25s ease;
    box-shadow:0 12px 24px rgba(24,26,39,.16);
  }
a{
    text-decoration:none;  
  }
  .btn-primary:hover{background:var(--gold-text);background-position:100% 50%}
  .btn-primary:disabled{opacity:.6;cursor:not-allowed}
  
  .invitation{
    display:none;
    background:url("Images/textura-2.png") center/cover fixed no-repeat;
  }
  .invitation.is-open{display:block}
  .invitation section:not(.full-sep):not(.full-sep-rotating),
  .invitation footer,
  .invitation .countdown,
  .invitation .dress,
  .invitation .gifts,
  .invitation .album,
  .invitation .wishes,
  .invitation .love-quote,
  .invitation .closing,
  .invitation .blessing,
  .invitation .itinerary,
  .invitation .rsvp,
  .invitation .names-editorial{
    background:transparent !important;
    background-color:transparent !important;
  }
  
  .hero-photo{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:visible;
    background:url("Images/textura-2.png") center/cover no-repeat;
  }
  .hero-overlay{
    position:relative;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px 20px 24px;
  }
  .hero-composition{
    width:min(100%, 560px);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:18px;
    text-align:center;
  }
  .hero-artwork{
    position:relative;
    width:min(100%, 395px);
  }
  .hero-main-image{
    display:block;
    width:100%;
    height:auto;
  }
  .hero-flower-image{
    position:absolute;
    right:-11%;
    top:0%;
    width:46%;
    max-width:190px;
    height:auto;
    z-index:2;
  }
  .hero-couple-name{
    margin:0;
    padding:10px;
    display:flex;
    flex-direction:row;
    flex-wrap:nowrap;
    align-items:center;
    justify-content:center;
    gap:.18em;
    font-family:var(--text);
    font-size:clamp(82px, 14vw, 144px);
    font-style:normal;
    font-weight:500;
    line-height:1;
    white-space:nowrap;
    background:var(--gold-text);
    background-size:220% auto;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    animation:goldShimmer 5s ease-in-out infinite;
  }
  .hero-couple-amp{
    line-height:0.9;
    transform:translateY(-.02em);
  }
  .introduction{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    min-height:clamp(320px, 52vw, 500px);
    padding:20px 18px 34px;
    overflow:hidden;
    background:url("Images/textura-2.png") center/cover no-repeat;
  }
  .introduction-artwork{
    position:relative;
    width:min(100%, 560px);
    height:clamp(320px, 80vw, 450px);
    min-height:0;
  }
  .introduction-fragment,
  .introduction-cutout,
  .introduction-medallion{
    position:absolute;
    display:block;
    height:auto;
  }
  .introduction-fragment{
    z-index:1;
    top:41%;
    left:65%;
    width:min(70%, 430px);
    transform:translate(-38%, -50%);
  }
  .introduction-cutout{
    z-index:2;
    top:50%;
    left:55%;
    width:min(90%, 350px);
    transform:translate(-63%, -50%);
  }
  .introduction-medallion{
    position:static;
    z-index:3;
    width:min(100%, 150px);
    transform:none;
  }
  .introduction-medallion-link{
    position:absolute;
    z-index:3;
    top:78%;
    left:81%;
    display:block;
    width:min(100%, 150px);
    color:inherit;
    text-decoration:none;
    text-align:center;
    transform:translate(-50%, -50%);
    cursor:pointer;
    pointer-events:auto;
  }
  .introduction-medallion-link span{
    position:absolute;
    inset:50% auto auto 50%;
    width:100%;
    transform:translate(-50%, -50%);
    font-family:var(--title);
    font-size:clamp(8px, 1.8vw, 11px);
    line-height:1.1;
    text-transform:uppercase;
    padding:50px;
    top:40%;
    color:transparent;
     background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .introduction-note,
  .introduction-copy{
    position:absolute;
    z-index:4;
    max-width:520px;
    text-align:center;
  }
  .introduction-note{
    top:30px;
    left:15%;
    width:clamp(180px, 60%, 330px);
    transform:translateX(-50%);
    font-family:var(--text);
    font-size:clamp(13px, 2.6vw, 14px);
    line-height:1.05;
    color:#0b1f3a;
  }
  .introduction-note span{
    font-family:var(--text);
    font-size:12px;
    font-style:italic;
  }
  .introduction-copy{
    top:33%;
    left:14%;
    width:clamp(180px, 60%, 330px);
    transform:translateX(-50%);
    font-family:var(--text);
    font-size:clamp(14px, 2.8vw, 15px);
    line-height:1.3;
    color:#0b1f3a;
  }
  .introduction-couple{
    position:absolute;
    z-index:4;
    top:57%;
    left:45%;
    width:70%;
    padding:32px;
    margin:0;
    transform:translateX(-50%);
    text-align:center;
    font-family:var(--cursive);
    font-size:clamp(35px, 6vw, 35px);
    font-weight:400;
    line-height:1;
    background:var(--gradient-accent);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .introduction-secondary{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    padding:20px 18px 34px;
    background:url("Images/textura-2.png") center/cover no-repeat;
    overflow:hidden;
  }
  .introduction-secondary-artwork{
    position:relative;
    width:min(110%, 350px);
    margin:0 auto;
  }
  .introduction-secondary-cutout{
    display:block;
    width:100%;
    height:auto;
  }
  .introduction-secondary-tp{
    position:absolute;
    z-index:3;
    left:-88px;
    top:22%;
    width:min(100%, 155px);
    height:auto;
  }
  .date-paper-content{
    position:absolute;
    inset:10% 13% 8%;
    z-index:1;
    text-align:center;
    color:#7d2e18;
    display:flex;
    flex-direction:column;
    align-content:center;
    justify-content:center;
  }
  .date-paper-tulip{
    position:absolute;
    z-index:2;
    left:-24%;
    top:58%;
    width:38%;
    height:auto;
    transform:translateY(-50%);
  }
  .date-paper-note{
    margin:0 auto 14px;
    font-family:var(--text);
    font-size:15px;
    line-height:1.25;
    color:#0b1f3a;
  }
  .date-display{
    display:grid;
    grid-template-columns:1fr .7fr 1fr;
    gap:8px;
    align-items:center;
    margin:0 auto;
  }
  .date-display span,
  .date-display strong{
    padding:5px 0;
    border-top:1px solid #0b1f3a;
    border-bottom:1px solid #0b1f3a;
    font-family:var(--title);
    font-size:15px;
    font-weight:500;
    background:var(--gradient-accent);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .date-display strong{font-size:30px}
  .date-paper-day{
    margin:10px 0 2px;
    font-family:var(--cursive);
    font-size:30px;
    background:var(--gradient-accent);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .date-paper-month{
    margin:0 0 10px;
    font-family:var(--title);
    font-size:15px;
    color:#0b1f3a;
  }
  .calendar{font-family:var(--text);font-size:13px;color:#0b1f3a}
  .calendar-weekdays,
  .calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}
  .calendar-weekdays{margin-bottom:4px;font-family:var(--title);font-size:8px}
  .calendar-days span{position:relative;line-height:1.5}
  .calendar-days{color:#0b1f3a}
  .calendar-heart{color:#0b1f3a;font-weight:600}
  .calendar-heart::before{content:"♥";position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-52%);font-size:35px;opacity:.32;top:80%}
  #countdown{
    display:none;
  }
  .location-introduction{
    display:flex;
    justify-content:center;
    align-items:flex-end;
    min-height:clamp(360px, 60vw, 560px);
    padding:20px 18px 34px;
    overflow:hidden;
    background:url("Images/textura-2.png") center/cover no-repeat;
  }
  .location-artwork{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:flex-end;
    width:min(100%, 560px);
    height:clamp(320px, 54vw, 500px);
  }
  .location-main-image{
    display:block;
    position:absolute;
    top:0;
    right:0;
    width:min(65%, 430px);
    height:auto;
    margin:0;
  }
  .location-horizontal-cutout{
    position:absolute;
    z-index:2;
    left:35%;
    bottom:0;
    width:325px;
    /* aspect-ratio:2 / 1; */
    height:min(60%, 280px);
    object-fit:cover;
    transform:translateX(-50%);
    top:27%;
  }
  .location-seal{
    position:absolute;
    z-index:3;
    top:24%;
    right:25%;
    width:min(15%, 110px);
    height:auto;
  }
  .location-details{
    position:absolute;
    z-index:4;
    top:32%;
    left:35%;
    width:250px;
    transform:translateX(-50%);
    text-align:center;
    color:#7d2e18;
  }
  .location-details h2{
    margin:auto;
    font-family:var(--cursive);
    font-size:25px;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .location-venue{
    margin:0 0 5px;
    font-family:var(--cursive);
    font-size:25px;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .location-address{
    margin:0 auto;
    max-width:220px;
    font-family:var(--text);
    font-size:15px;
    line-height:1.25;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .location-map-link{
    display:inline-block;
    padding:6px 10px;
    border:1px solid #b39a5c;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    font-family:var(--title);
    font-size:9px;
    text-decoration:none;
    text-transform:uppercase;
    margin-top:15px;
  }
  .location-paper{
    position:absolute;
    z-index:2;
    left:50%;
    bottom:4%;
    width:min(72%, 390px);
    height:auto;
    transform:translateX(-50%);
  }
  .music-bubble{
    position:fixed;
    right:18px;
    bottom:22px;
    width:58px;
    height:58px;
     border:1.5px solid #0b1f3a;
    border-radius:50%;
    display:grid;
    place-items:center;
     background:rgba(11,31,58,.08);
     color:#0b1f3a;
    backdrop-filter:blur(4px);
    box-shadow:0 10px 24px rgba(24,26,39,.12);
    z-index:1200;
    opacity:0;
    transform:translateY(10px);
    pointer-events:none;
    transition:background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease;
  }
  body.invitation-open .music-bubble{
    opacity:1;
    transform:none;
    pointer-events:auto;
  }
  .music-bubble i{
    font-size:18px;
  }
  .music-bubble:hover,
  .music-bubble:focus-visible{
     background:rgba(11,31,58,.08);
     color:#0b1f3a;
     border-color:#0b1f3a;
     box-shadow:0 14px 28px rgba(11,31,58,.22);
  }
  .music-bubble:focus-visible{
    outline:none;
  }
  /* ================= TRUE LOVE DORADO ================= */

.reveal-gold {
    font-family: var(--cursive);
    font-size: 50px;
    margin: 6px 0;
    background:var(--rose-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
    transition: all 1.2s ease;
  }
  
  /* Cuando aparece */
  .reveal-gold.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  .hero-quote{
    position: absolute;
    left: 33%;
    transform: translateX(-50%);
    bottom: -70px;
    z-index: 1;
    text-align: center;
  }
  .quote-script{
    font-family: var(--cursive);
    font-size:50px;
    margin:6px 0;
  }
  .quote-top,.quote-bottom{margin:0;font-size:14px;letter-spacing:.06em}
  
  .names-editorial{
    padding:30px 18px 34px;
    text-align:center;
    background:url("Images/textura-2.png") center/cover no-repeat;
  }
  .marriage-note{
    position:relative;
    width:min(100%, 360px);
    margin:0 auto;
    border:4px solid #0b1f3a;
    padding:0;
    box-shadow:0 18px 34px rgba(28,39,66,.18);
  }
  .marriage-note-inner{
    position:relative;
    background:url("Images/textura-2.png") center/cover no-repeat;
    margin:0;
    padding:40px 18px 36px;
  }
  .note-pearl{
    position:absolute;
    top:4px;
    left:50%;
    width:30px;
    transform:translateX(-50%);
    transform-origin:center;
    animation:pearlSpin 18s linear infinite;
    z-index:2;
    filter:drop-shadow(0 8px 14px rgba(153,121,80,.24));
  }
  .marriage-note-text{
    margin:0 0 18px;
     color:#0b1f3a;
    font-family:var(--text);
    font-size:clamp(14px, 2.4vw, 18px);
    font-style:italic;
    line-height:1.5;
  }
  .marriage-note-parents{
    display:grid;
    gap:24px;
  }
  .marriage-note-parent-block h3{
    margin:0 0 6px;
    font-family:var(--title);
    font-size:11px;
    letter-spacing:.18em;
    text-transform:uppercase;
    background:linear-gradient(135deg, #6f552d 0%, #8a6a39 38%, #a78147 62%, #6f552d 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .marriage-note-parent-block p{
    margin:0;
     color:#0b1f3a;
    font-family:var(--text);
    font-size:16px;
    font-style:italic;
    line-height:1.4;
  }
  
  .music-btn{
    margin-top:10px;
    width:52px;height:52px;
    border-radius:50%;
    border:1px solid var(--line);
    background:transparent;
    cursor:pointer;
    font-size:16px;
    background:var(--black-gloss-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  
#countdown,
.countdown{
    padding:34px 18px;
    text-align:center;
  }
  .countdown h3{
    margin:0 0 10px;
    font-size:clamp(34px, 8vw, 54px);
    font-family: var(--cursive);
    font-weight:400;
    background:var(--gold-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .countdown-simple{
    display:flex;
    justify-content:center;
    gap:18px;
    flex-wrap:nowrap;
    margin:18px 0 10px;
  }
  .countdown-simple-item{
    min-width:72px;
  }
  .countdown-simple-digit{
    font-family:var(--title);
    font-size:clamp(34px, 7vw, 58px);
    line-height:1;
      background:var(--gradient-accent);
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
      background-clip:text;
  }
  .countdown-simple-label{
    margin-top:8px;
    font-family:var(--title);
    font-size:11px;
    letter-spacing:.16em;
    text-transform:uppercase;
      background:var(--gold-highlight);
      -webkit-background-clip:text;
      -webkit-text-fill-color:transparent;
      background-clip:text;
  }
  .countdown-date{
    margin:0;
    font-family:var(--title);
    font-size:clamp(16px, 4vw, 24px);
    letter-spacing:.28em;
    text-transform:uppercase;
      color:#0b1f3a;
  }
  .calendar-btn{
    margin-top:18px;
    background:transparent;
     border-color:#0b1f3a;
      color:#0b1f3a;
    box-shadow:0 10px 22px rgba(129,52,30,.12);
  }
  .countdown-events{
    width:min(100%, 760px);
    margin:34px auto 0;
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
    align-items:end;
    gap:64px;
  }
  .ceremony-note{
    display:flex;
    justify-content:flex-start;
    align-self:flex-start;
    justify-self:start;
    margin-right:auto;
    position:relative;
    z-index:1;
  }
  .ceremony-note-inner{
    width:min(100%, 235px);
    background:url("Images/textura-2.png") center/cover no-repeat;
    padding:28px 18px;
    box-shadow:0 18px 34px rgba(28,39,66,.18);
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .ceremony-note-inner::before{
    content:"";
    display:block;
    position:absolute;
    inset:6px;
    pointer-events:none;
  }
  .ceremony-note-inner,
  .reception-oval{
    position:relative;
  }
  .ceremony-note-inner > *{
    position:relative;
    z-index:1;
  }
  .event-note-icon{
    width:58px;
    height:auto;
    display:block;
    margin:0 auto 10px;
    object-fit:contain;
  }
  .ceremony-note-inner h4,
  .reception-oval h4{
    margin:0 0 8px;
    font-family:var(--cursive);
    font-size:38px;
    font-weight:400;
    background:var(--rose-gold-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .event-note-place,
  .event-note-time,
  .event-note-location{
    margin:0;
      color:#0b1f3a;
  }
  .event-note-place,
  .event-note-location{
    font-family:var(--cursive);
    font-size:20px;
  }
  .event-note-time{
    margin:8px 0;
    font-family:var(--text);
    font-style:italic;
    font-size:22px;
  }
  .event-note-location{
    margin-bottom:14px;
  }
  .ceremony-note-inner h4{
    font-size:30px;
    margin-bottom:4px;
    line-height:1;
  }
  .ceremony-note-inner .event-note-place,
  .ceremony-note-inner .event-note-location{
    line-height:1.2;
  }
  .ceremony-note-inner .event-note-place{
    font-size:20px;
  }
  .ceremony-note-inner .event-note-location{
    font-size:15px;
    line-height:1.2;
  }
  .ceremony-note-inner .event-note-time{
    margin:6px 0;
    font-size:15px;
  }
  .ceremony-note-inner .btn-outline{
    margin-top:6px;
    min-height:28px;
    padding:6px 11px;
    font-size:8px;
    letter-spacing:.06em;
  }
  .countdown .btn-outline,
  .countdown a.btn-outline{
    background: transparent;
    border-color: olive;
    color: olive;
    box-shadow: 0 8px 18px rgba(129, 52, 30, .12);
  }
  .countdown .btn-outline:hover,
  .countdown a.btn-outline:hover{
    background:rgba(129,52,30,.08);
      border-color:#0b1f3a;
      color:#0b1f3a;
  }
  .reception-oval-wrap{
    position:relative;
    display:flex;
    justify-content:flex-end;
    align-self:flex-end;
    justify-self:end;
    margin-left:auto;
    margin-top:-175px;
    padding:26px 8px 0 0;
    overflow:visible;
    z-index:2;
  }
  .reception-cala{
    position:absolute;
    left:35px;
    bottom:310px;
    width:150px;
    height:auto;
    z-index:0;
    opacity:1;
    filter:drop-shadow(0 12px 24px rgba(28,39,66,.08));
  }
  .reception-oval{
    width:min(100%, 220px);
    min-height:360px;
    border-radius:999px;
    background:url("Images/textura-2.png") center/cover no-repeat;
    padding:40px 18px 30px;
    box-shadow:0 18px 34px rgba(28,39,66,.18);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    z-index:1;
  }
  .reception-oval::before{
    content:none;
  }
  .reception-oval > *{
    position:relative;
    z-index:1;
  }
  .reception-oval .event-note-icon{
    width:56px;
    margin-bottom:10px;
  }
  .reception-oval h4{
    font-size:30px;
    margin-bottom:4px;
    line-height:1;
  }
  .reception-oval .event-note-place,
  .reception-oval .event-note-location{
    line-height:1.2;
  }
  .reception-oval .event-note-place{
    font-size:20px;
    font-style:italic;
  }
  .reception-oval .event-note-location{
    font-size:15px;
  }
  .reception-oval .event-note-time{
    margin:6px 0;
    font-size:15px;
  }
  .reception-oval .btn-outline{
    margin-top:6px;
    min-height:28px;
    padding:6px 11px;
    font-size:12px;
    line-height:1;
    white-space:nowrap;
    letter-spacing:.06em;
  }
  .ceremony-note-inner .btn-outline,
  .reception-oval .btn-outline{
    min-height:28px;
    padding:6px 11px;
    font-size:12px;
    line-height:1;
    white-space:nowrap;
    letter-spacing:.06em;
  }
  .itinerary-editorial{
    padding:34px 18px 48px;
    margin-top:40px;
  }
  .itinerary-editorial-art{
    position:relative;
    width:min(100%, 520px);
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .itinerary-editorial-image{
    display:block;
    width:min(100%, 390px);
    margin:0 auto;
    height:auto;
  }
  .itinerary-fragment{
    position:absolute;
    z-index:0;
    left:-5%;
    top:-2%;
    width:min(60%, 310px);
    object-fit:cover;
    object-position:top center;
  }
  .itinerary-editorial-note{
    position:relative;
    margin-top:-110px;
    width:min(100%, 285px);
     background:#ebe5d3f0;
    padding:18px 16px 16px;
      border:4px solid #ebe5d3f0;
    box-shadow:0 18px 34px rgba(28,39,66,.18);
    z-index:1;
  }
  .itinerary-editorial-note h3{
    margin:0 0 12px;
    font-family:var(--cursive);
    font-size:32px;
    font-weight:400;
    text-align:center;
     background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  #itineraryTitle{
    background:none !important;
    -webkit-background-clip:text;
    -webkit-text-fill-color:#0b1f3a !important;
    background-clip:text;
    color:#0b1f3a !important;
  }
  .itinerary-editorial-note .timeline-time,
  .itinerary-editorial-note .timeline-text{
    background:none !important;
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
  }
  .itinerary-track{
    display:grid;
    position:relative;
  }
  .itinerary-track::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:1px;
     background:#0b1f3a;
    transform:translateX(-50%);
  }
  .timeline-item{
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) 18px minmax(0, 1fr);
    column-gap:8px;
    align-items:start;
    z-index:1;
  }
  .timeline-item .timeline-icon{
    grid-column:1;
    grid-row:1;
    justify-self:end;
  }
  .timeline-item .timeline-content{
    grid-column:3;
    grid-row:1;
    text-align:left;
  }
  .timeline-item .timeline-node{
    grid-column:2;
    grid-row:1;
  }
  .timeline-item:nth-child(even){
    grid-template-columns:minmax(0, 1fr) 18px minmax(0, 1fr);
  }
  .timeline-item:nth-child(even) .timeline-icon{
    grid-column:3;
    grid-row:1;
    justify-self:start;
  }
  .timeline-item:nth-child(even) .timeline-node{
    grid-column:2;
    grid-row:1;
  }
  .timeline-item:nth-child(even) .timeline-content{
    grid-column:1;
    grid-row:1;
    text-align:right;
  }
  .timeline-icon{
    width:34px;
    height:auto;
    margin-top:4px;
     filter:brightness(0) saturate(100%) invert(12%) sepia(25%) saturate(1200%) hue-rotate(178deg) brightness(82%) contrast(100%);
  }
  .timeline-node{
    position:relative;
    align-self:stretch;
  }
  .timeline-dot{
    position:absolute;
    left:50%;
    top:13px;
    width:7px;
    height:7px;
    border-radius:50%;
      background:#0b1f3a !important;
    transform:translateX(-50%);
    z-index:2;
  }
  .timeline-node::before{
     content:none;
    position:absolute;
    left:50%;
    top:0;
    bottom:0;
    width:1px;
       background:#0b1f3a;
    transform:translateX(-50%);
  }
  .timeline-item:first-child .timeline-node::before{
    top:13px;
  }
  .timeline-item:last-child .timeline-node::before{
    bottom:13px;
  }
  .timeline-content{
    padding-left:0;
  }
  .timeline-time,
  .timeline-text{
    margin:0;
     background:var(--gold-highlight);
     -webkit-background-clip:text;
     -webkit-text-fill-color:transparent;
     background-clip:text;
  }
  .timeline-time{
    font-family:var(--title);
    font-size:14px;
    letter-spacing:.08em;
    text-transform:uppercase;
    margin-bottom:1px;
  }
  .timeline-text{
    font-family:var(--text);
    font-size:15px;
    line-height:1.15;
    font-style:italic;
  }
  .itinerary-editorial-note p{
    padding:0;
  }
  .dress-editorial,
  .gift-editorial{
    padding:30px 18px;
    text-align:center;
  }
  .dress-editorial{
    position:relative;
    min-height:390px;
    padding:10px 18px;
    overflow:hidden;
    transform:translateY(-65px);
  }
  .dress-panel-1{
    position:absolute;
    top:50%;
    left:50%;
    width:335px;
    /* max-width:calc(100% - 36px); */
    height:260px;
    transform:translate(-50%, -50%);
     background:url("Images/RECORTEA.png") center/cover no-repeat;
    padding:18px;
    text-align:center;
    color:#ffffff;
    margin-top:-20px;
  }
  .dress-panel-1 h3{
    margin:auto;
    padding:5px;
    display:inline-block;
    width:auto;
    font-family:var(--cursive);
    font-size:25px;
    font-weight:400;
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent !important;
    background-clip:text;
    color:transparent;
  }
  #giftSection{
    width:min(calc(100% - 36px), 420px);
    margin:30px auto;
    padding:28px 22px;
     background:#ebe5d3f0 !important;
    color:#ffffff;
    text-align:center;
  }
  #giftSection h3,
  #giftSection .gift-editorial-text{
    background:none !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
  }
  #playlistSection{
    position:relative;
    overflow:visible;
    width:min(82%, 360px);
    margin:30px auto 30px 18px;
    padding:0;
  }
  .playlist-card{
    position:relative;
    z-index:1;
     overflow:visible;
     min-height:350px;
     padding:24px 18px;
     background:transparent !important;
     color:var(--ink);
     right:-14%;
  }

  .gift-card-background{
    position:absolute;
    z-index:0;
    inset:0;
    background:url("Images/RECORTE.png") center/cover no-repeat !important;
    pointer-events:none;
  }
  .playlist-background-fragment{
    position:absolute;
    z-index:0;
     right:0%;
     left:-6%;
     top:2%;
     width:90%;
     height:auto;
  }

  .playlist-card #giftText{
    margin-left:auto;
    margin-right:auto;
    text-align:center;
    color:#0b1f3a;
    -webkit-text-fill-color:#0b1f3a;
  }

  .playlist-card #giftTitle{
    margin-left:auto;
    margin-right:auto;
    margin-top:40px;
    text-align:center;
    background:none !important;
    color:#0b1f3a !important;
    -webkit-text-fill-color:#0b1f3a !important;
  }
  .playlist-card .playlist-button{
    position:relative;
    z-index:1;
    display:inline-block;
    margin-top:15px;
    padding:6px 10px;
    border:1px solid #a8793c !important;
    color:#7d2e18 !important;
    font-family:var(--title) !important;
    font-size:9px !important;
    text-decoration:none;
    text-transform:uppercase;
    background:transparent !important;
    line-height:normal;
    min-width:0 !important;
    min-height:0 !important;
    border-radius:0;
  }
  .playlist-card h3,
  .playlist-card p{
    position:relative;
    z-index:1;
  }
  .playlist-card #playlistText{
    padding:5px;
  }
  .dress-panel-1 p{
    margin:0 auto 10px;
    font-family:var(--text);
    font-size:15px;
    line-height:1.25;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    padding:0 40px;
  }
  .dress-inspo-links{
    position:absolute;
    z-index:4;
    top:70%;
    left:56%;
    right:auto;
    bottom:auto;
    transform:translate(-50%, -50%);
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .dress-panel-1 a{
    display:inline-block;
    padding:5px 12px;
    border:1px solid #0b1f3a;
    color:#0b1f3a;
    background:rgba(235,229,211,.94);
    font-family:var(--title);
    font-size:10px;
    text-decoration:none;
    letter-spacing:.12em;
    white-space:nowrap;
  }
  .dress-cutout{
    position:absolute;
    right:0;
    bottom:0;
    width:min(58%, 300px);
    top:45%;
    height:210px;
    object-fit:cover;
  }
  .dress-medallion{
    position:absolute;
    z-index:2;
    right:12px;
    bottom:10px;
    top:61%;
    left:56%;
    width:150px;
    max-width:45%;
    height:auto;
    transform:none;
  }

  .dress-tp{
    position:absolute;
    z-index:3;
    right:5%;
    top:36%;
    width:min(42%, 180px);
    height:auto;
    pointer-events:none;
  }
  .dress-medallion-text,
  .dress-cutout-text{
    position:absolute;
    z-index:3;
    margin:0;
    text-align:center;
  }
  .dress-medallion-text{
    top:30%;
    left:33%;
    width:min(40%, 150px);
    padding:40px;
    transform:translate(-50%, -50%);
    font-family:var(--title);
    font-size:10px;
    line-height:1.1;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:#b39a5c;
    -webkit-text-fill-color:transparent;
  }
  .dress-cutout-text{
    top:51%;
    right:-3px;
    width:min(55%, 300px);
    padding:25px 35px;
    font-family:var(--text);
    font-size:12px;
    line-height:1.25;
    color:#7d2e18;
  }
  .itinerary-editorial + .dress-editorial{
    margin-top:0;
  }
  .dress-editorial h3,
  .gift-editorial h3,
  .wishes h3{
    margin:auto;
    font-family:var(--cursive);
    font-size:25px;
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .dress-editorial-subtitle{
    margin:0 0 12px;
    font-family:var(--title);
    font-size:16px;
    letter-spacing:.14em;
    text-transform:uppercase;
      color:#0b1f3a;
  }
  .dress-editorial-text,
  .gift-editorial-text{
    max-width:560px;
    margin:0 auto;
    font-family:var(--text);
    font-size:17px;
    line-height:1.5;
      color:#0b1f3a;
     padding:20px;
  }
  .dress-editorial-text{
    white-space:pre-line;
  }
  .dress-editorial-palette{
    margin:10px 0 0;
     color:#0b1f3a;
    font-family:var(--title);
    font-size:13px;
    letter-spacing:.14em;
    text-transform:uppercase;
  }
  .dress-image-section{
    padding:30px 20px;
    text-align:center;
  }
  .dress-code-image{
    display:block;
    width:min(100%, 700px);
    height:auto;
    margin:0 auto;
  }
  .dress-editorial-swatches{
    margin-top:18px;
    display:flex;
    justify-content:center;
    gap:14px;
  }
  .dress-swatch{
    width:22px;
    height:22px;
    border-radius:50%;
    display:inline-block;
    border:1px solid rgba(42,60,37,.22);
    box-shadow:0 6px 14px rgba(42,60,37,.12);
  }
  .adults-only{
    padding:30px 18px;
    text-align:center;
  }
  .adults-only h3{
    margin:0 0 10px;
    font-family:var(--cursive);
    font-size:38px;
    font-weight:400;
    background:var(--rose-gold-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .adults-only-text{
    max-width:560px;
    margin:0 auto;
    font-family:var(--text);
    font-size:17px;
    line-height:1.5;
     color:#0b1f3a;
    font-style:italic;
  }
  /* ====== CONTADOR HORIZONTAL ====== */
  .count-title{
    font-family: var(--cursive);
    font-size:28px;
    margin-bottom:22px;
    color:#3b2d2d;
  }
  .count-row{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:nowrap;        /* ✅ fuerza horizontal */
  }
  .count-item{
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .label{
    margin-top:8px;
    font-size:10px;
    letter-spacing:3px;
    color:#555;
    text-transform: uppercase;
  }
  /* ✅ si en pantallas muy pequeñas no caben, se ajusta */
  @media (max-width: 360px){
    .count-row{ gap:8px; }
    .flip{ width:68px; }
    .flip .digit{ font-size:26px; }
  }
  /* ====== FLIP DOWN REAL (PARTIDO) ====== */
  .flip{
    width:75px;
    height:56px;
    position:relative;
    perspective: 900px;
    border-radius:6px;
    box-shadow:0 6px 12px rgba(0,0,0,0.15);
    overflow:hidden;
    background:#fff;
  
    --h: 56px;
    --half: 28px;
  }
  
  /* Mitades */
  .flip .top,
  .flip .bottom,
  .flip .top-flip,
  .flip .bottom-flip{
    position:absolute;
    left:0;
    width:100%;
    height:50%;
    overflow:hidden;
    background:#fff;
    backface-visibility:hidden;
    transform-style:preserve-3d;
  }
  
  .flip .top{ top:0; border-bottom:1px solid rgba(0,0,0,0.15); }
  .flip .bottom{ bottom:0; }
  
  /* Número completo recortado */
  .flip .digit{
    position:absolute;
    left:0;
    width:100%;
    height:var(--h);
    display:flex;
    align-items:center;
    justify-content:center;
  
    font-family:"Cormorant Garamond", serif;
    font-size:28px;
    font-weight:600;
    color:#111;
    letter-spacing:2px;
  }
  
  /* mitad superior visible */
  .flip .top .digit,
  .flip .top-flip .digit{ top:0; }
  
  /* mitad inferior visible */
  .flip .bottom .digit,
  .flip .bottom-flip .digit{ top:calc(-1 * var(--half)); }
  
  /* piezas animadas */
  .flip .top-flip{
    top:0;
    border-bottom:1px solid rgba(0,0,0,0.15);
    transform-origin: bottom;
    opacity:0;
  }
  
  .flip .bottom-flip{
    bottom:0;
    transform-origin: top;
    transform: rotateX(90deg);
    opacity:0;
  }
  
  /* ✅ MÁS LENTO + “bajando” */
  .flip.is-flipping .top-flip{
    opacity:1;
    animation: flipTopDown .65s ease-in forwards;
  }
  
  .flip.is-flipping .bottom-flip{
    opacity:1;
    animation: flipBottomDown .65s ease-out forwards;
    animation-delay: .65s;
  }
  
  /* La tapa de arriba cae hacia abajo */
  @keyframes flipTopDown{
    0%   { transform: rotateX(0deg); }
    100% { transform: rotateX(90deg); }  /* ✅ baja */
  }
  
  /* La de abajo entra desde atrás */
  @keyframes flipBottomDown{
    0%   { transform: rotateX(-90deg); } /* ✅ viene desde arriba hacia ti */
    100% { transform: rotateX(0deg); }
  }
/* FOTO que invade la siguiente sección */
.half-photo{
    position: relative;
    z-index: 80;                 /* ✅ encima de itinerary */
    transform: translateY(55px); /* ✅ cuánto invade (ajusta) */
  }
  
  .half-photo img{
    width:100%;
    display:block;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
    z-index: 80;   
  }
  /* la sección siguiente baja para dejar espacio al overlay de la foto */  
  .blessing{
    padding:74px 18px 34px;
    text-align:center;
  }
  .blessing h3{
    font-family: var(--cursive);
    font-style: normal;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
    color: var(--olive-dark);
  }
  .date-highlight{
    padding: 10px 18px 24px;
    text-align: center;
  }
  .date-highlight-label,
  .date-highlight-value{
    margin: 0;
  }
  .date-highlight-label{
    padding:10px;
    font-family: var(--cursive);
    font-size: 38px;
    line-height: 1;
    background: var(--rose-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .date-highlight-value{
    margin-top: 6px;
    font-family: var(--title);
    font-size: 19px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
     background: var(--gold-highlight);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
  }
  .parents{
    display:flex;
    gap:14px;
    justify-content:center;
    flex-wrap:wrap;
  }
  .parents p{
    padding:14px;
    margin:0;
    font-family: var(--text);
    font-style: normal;
    text-transform: none;
    font-size: 20px;
    font-weight: 500;
    color: var(--olive-dark);
  }
  .parents strong{
    background:var(--rose-gold-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--cursive);
    text-transform: none;
    font-size:25px;
    font-weight: 400;
  }

  #itinerary{
    position: relative;
  }
  .itinerary, .rsvp{
    padding:30px 18px 44px;
    display:grid;
    gap:18px;
    max-width:700px;
    margin:0 auto;
    background-color: white;
  }
  .event-card{
    padding:16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .event-icon{
    width:100px;
    height:100px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .event-icon img{
    width:100%;
    height:100%;
    object-fit:contain;
  }
  .event-top, .gifts, .rsvp{
    display:flex; 
    gap:12px; 
    align-items:flex-start;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    display:flex;
    flex-direction:column; /* si quieres todo centrado */
    align-items:center;
    text-align:center;
  }
  /* ================= IMAGEN DEL LUGAR ================= */
.event-photo {
  margin-top: 18px;
  width:min(100%, 260px);
  border-radius: 100%;
  overflow: hidden;
  position: relative;
}
.event-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  transition: transform 1s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
}
.event-card{
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  background-color: white;
  border-radius: 20px;
}
/* Zoom suave al hacer hover */
.event-card:hover .event-photo img {
  transform: scale(1.05);
}
/* Sombra elegante */
.event-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,rgba(0,0,0,0) 60%,rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
  .event-title, .dress h3, .gifts h3, .album h3, .wishes h3, .rsvp h3{
    font-size:35px;
    font-family: var(--cursive);
           background:var(--rose-gold-text);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            text-shadow: 0 1px 0 rgba(255,255,255,.08), 0 0 10px rgba(204,145,115,.08);
    display: flex;
    justify-content: center;
  }
  .dress h3, .dress-strong, .dress-note, .gifts h3, .gifts-strong, .album h3, .album-text, .wishes h3, .wishes-intro, .rsvp h3, .rsvp-strong{
    margin-top: 0;
    margin-bottom: 0;
  }
  .event-place, .dress-strong{
    font-family: var(--cursive);
    font-style: normal;
    font-size: 20px;
    margin-top:4px;
    display: flex;
    justify-content: center;
    color:var(--olive-dark);
}
  .event-time{
    color:var(--olive-dark);
    margin-top:10px;
    font-family: var(--text);
    font-style: italic;
    display: flex;
    justify-content: center;
    font-size: 20px;
}
  .event-address, .dress-note, .gifts-strong, .album-text, .wishes-intro, .rsvp-strong{
    margin-top: 10px;
    font-family: var(--text);
    font-style: italic;
    font-size: 18px;
    color: var(--olive-dark);
    text-align: center;   /* ✅ esto es lo que centra texto */
  }
  .event-reference{
    font-size: 16px;
  }
  .btn-outline,
  .btn-primary,
  #btnConfirmarRsvp,
  .rsvp-radio-option span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    min-height:36px;
    padding:8px 14px;
    border:1px solid rgba(111,61,43,.22);
    text-decoration:none;
    color:#7a4632;
    letter-spacing:.08em;
    text-transform:none;
    font-size:10px;
    font-family: var(--title);
    transition: .22s ease;
    box-shadow: 0 4px 10px rgba(111,61,43,.05);
    border-radius:0;
    text-align:center;
  }
  #btnOpenInvite{
    background: var(--gold-text);
    background-size: 220% auto;
    border-color: rgba(153,121,80,.28);
    color: #FFFFFF;
    box-shadow: 0 10px 22px rgba(153,121,80,.18);
  }
  .btn-outline,
  .btn-primary,
  #btnConfirmarRsvp{
    min-width:160px;
  }
  .btn-outline:hover,
  .btn-primary:hover,
  #btnConfirmarRsvp:hover,
  .rsvp-radio-option:hover span,
  .rsvp-radio-option input:checked + span{
    background: linear-gradient(135deg, rgba(204,145,115,.88) 0%, rgba(232,199,183,.95) 100%);
    border-color: rgba(154,84,56,.26);
    color: #6a3928;
  }
  #btnOpenInvite:hover{
    background: var(--gold-text);
    background-position: 100% 50%;
    border-color: rgba(153,121,80,.4);
    color: #FFFFFF;
  }
  .event-links{
    display:flex;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
  }
  /* Botón principal */
#btnConfirmarRsvp{
    width:min(100%, 320px);
    cursor: pointer;
  }
  #btnConfirmarRsvp:hover{
    color: #fff;
  }
  
  #btnConfirmarRsvp:disabled{
    opacity: .6;
    cursor: not-allowed;
  }

  /* Mensajes */
.rsvp-msg{
    margin: 14px auto 0;
    max-width: 560px;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--text);
    font-size: 14px;
    line-height: 1.35;
  }
  
  .rsvp-msg.ok{
    color: var(--olive-dark);
  }
  
  .rsvp-msg.error{
    background: rgba(200, 0, 0, .08);
    border: 1px solid rgba(200, 0, 0, .18);
    color: rgba(130, 0, 0, .95);
  }
  /* Confirmado UI */
  .rsvp-confirmed{
    background: linear-gradient(135deg, rgba(204,145,115,.22) 0%, rgba(232,199,183,.9) 100%) !important;
    color: #6a3928 !important;
    border-color: rgba(154,84,56,.22) !important;
  }
  .rsvp{
    background:transparent;
    text-align:center;
    padding:34px 18px 0;
  }
  .rsvp-editorial-art{
    position:relative;
    width:min(100%, 560px);
    margin:0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    padding-bottom:0;
  }
  .rsvp-editorial-title{
    margin:0 0 12px;
    font-family:var(--cursive);
    font-size:36px;
    font-weight:400;
    text-align:center;
     background:none;
     color:#0b1f3a;
  }

  .rsvp-editorial-copy{
    max-width:420px;
    margin:0 0 18px;
    font-family:var(--text);
    font-style:italic;
    font-size:17px;
    line-height:1.5;
      color:#0b1f3a;
  }
  .rsvp-editorial-image{
    display:block;
    width:min(100%, 360px);
    height:auto;
  }
  .rsvp-editorial-flower{
    position:absolute;
    right:6%;
    top:10%;
    width:32%;
    max-width:150px;
    height:auto;
    z-index:2;
  }
  .rsvp-editorial-note{
    position:absolute;
    left:50%;
    top:44%;
    transform:translateX(-50%);
    width:min(100%, 340px);
    background:transparent;
    padding:22px 18px 20px;
    z-index:1;
  }
  .rsvp-form{
    max-width:100%;
    margin:8px auto 0;
    display:grid;
    gap:10px;
  }
  .form-group{
    display:grid;
    gap:6px;
  }
  .rsvp-form label,
  .rsvp-label{
    margin:0;
    font-family:var(--cursive);
    font-style:normal;
    font-size:18px;
     color:#0b1f3a;
    text-align:center;
  }
  .rsvp-form input[type="text"],
  .rsvp-form textarea,
  .rsvp-form select{
    width:min(100%, 420px);
    margin:0 auto;
    padding:5px;
    border-radius:18px;
    /* border:1px solid rgba(111,61,43,.18); */
    /* background:rgba(255,249,246,.95); */
    color:var(--olive-dark);
    font-family:var(--text);
    font-size:15px;
    text-align:center;
    resize:none;
    overflow:hidden;
    outline:none;
    /* box-shadow: inset 0 1px 8px rgba(111,61,43,.05); */
  }
  .rsvp-form input[type="text"],
  .rsvp-form textarea#rsvp-name,
  .rsvp-form select{
    border-radius:0;
  }
  .dress-cutout-text,
  #playlistText,
  #albumSection .wishes-intro,
  #rsvpCopy{
    background:var(--rose-gold-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  #closingSubtitle{
    background:var(--gold-highlight);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
  }
  .rsvp-form select,
  #guest-count{
    background:var(--gold-text);
    background-size:220% auto;
    border-color:rgba(153,121,80,.28);
      color:#0b1f3a;
    box-shadow:0 10px 22px rgba(153,121,80,.14);
    font-family:var(--title);
  }
  .rsvp-form #rsvp-name{
    all:unset;
    display:block;
    width:100%;
    box-sizing:border-box;
    font-weight:400;
    font-family:var(--cursive);
    font-size:24px;
    font-style:normal;
    line-height:1.2;
    text-align:center;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
    min-height:58px;
    height:auto;
    overflow:visible;
    background:var(--gradient-accent);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    pointer-events:none;
  }
  .rsvp .btn-outline,
  .rsvp #btnConfirmarRsvp,
  .rsvp .rsvp-radio-option span{
    background:transparent;
     border-color:#0b1f3a;
     color:#0b1f3a;
    box-shadow:0 8px 18px rgba(129,52,30,.12);
  }
  .rsvp .btn-outline:hover,
  .rsvp #btnConfirmarRsvp:hover,
  .rsvp .rsvp-radio-option:hover span,
  .rsvp .rsvp-radio-option input:checked + span{
    background:rgba(129,52,30,.08);
      border-color:#0b1f3a;
      color:#0b1f3a;
  }
  .rsvp-response-group .rsvp-radio-option span,
  .rsvp #btnConfirmarRsvp{
     border-color:#0b1f3a !important;
     color:#0b1f3a !important;
  }
  .rsvp-response-group .rsvp-radio-option span:hover,
  .rsvp-response-group .rsvp-radio-option input:checked + span,
  .rsvp #btnConfirmarRsvp:hover,
  .rsvp #btnConfirmarRsvp:active,
  .rsvp #guest-count:hover,
  .rsvp #guest-count:focus{
    background:url("Images/textura-2.png") center/cover no-repeat !important;
     border-color:#0b1f3a !important;
     color:#0b1f3a !important;
    transform:none !important;
    box-shadow:none !important;
  }
  .location-map-link:hover,
  .playlist-card .playlist-button:hover,
  #albumSection > .album-card > .btn-outline:hover{
     background:#ebe5d3f0 !important;
     border-color:#0b1f3a !important;
    color:#ffffff !important;
    -webkit-text-fill-color:#ffffff !important;
  }
  .rsvp-response-group{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px;
    margin-top:-2px;
  }
  .rsvp-radio-option{
    display:block;
    cursor:pointer;
  }
  .rsvp-radio-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
  }
  .rsvp-radio-option span{
    width:100%;
    margin-top:0;
    min-height:32px;
    padding:6px 10px;
    font-size:8px;
    letter-spacing:.04em;
    box-shadow: 0 3px 8px rgba(111,61,43,.04);
  }
  .rsvp-form{
    margin:-10px auto 0;
    gap:0;
  }
  .rsvp #btnConfirmarRsvp{
    margin-top:20px;
    background-color:rgba(255,249,246,.95) !important;
    background-image:none !important;
    background-size:220% auto;
    border-color:rgba(153,121,80,.28);
    color:#FFFFFF;
    box-shadow:0 10px 22px rgba(153,121,80,.18);
  }
  .album .event-icon,
  .wishes .event-icon{
    margin:0 auto 8px;
    display:flex;
    justify-content:center;
    align-items:center;
  }
  .album .event-icon img,
  .wishes .event-icon img{
    display:block;
    margin:0 auto;
  }
  #footer{
     background:var(--gradient-accent);
    color:#fff;
  }
  #social-icons a{
    color:#fff;
  }
  .rsvp-msg.ok{
    background:rgba(194,117,82,.12);
    border:1px solid rgba(111,61,43,.16);
    color:var(--olive-dark);
  }
  .dress .event-icon{
    width: 180px;
    height: auto;
    margin-bottom: 8px;
  }
  .dress .event-icon img{
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .dress{
    padding:28px 18px 34px;
  }
  @media (max-width: 640px){
    .hero-overlay{
      padding:18px 16px 20px;
    }
    .hero-composition{
      gap:14px;
    }
    .hero-artwork{
      width:min(100%, 290px);
    }
    .hero-flower-image{
      right:-12%;
      top:0%;
      width:46%;
    }
    .hero-couple-name{
      max-width:none;
      font-size:clamp(54px, 14vw, 84px);
      line-height:1;
    }
    .music-bubble{
      right:14px;
      bottom:18px;
      width:54px;
      height:54px;
    }
    .marriage-note{
      width:min(100%, 255px);
    }
    .marriage-note-inner{
      padding:34px 15px 30px;
    }
    .note-pearl{
      top:4px;
      width:28px;
    }
    .marriage-note-text{
      margin-bottom:18px;
      font-size:clamp(13px, 4.4vw, 16px);
    }
    .marriage-note-parent-block h3{
      font-size:10px;
    }
    .marriage-note-parent-block p{
      font-size:15px;
    }
    .countdown-simple{
      gap:8px;
    }
    .countdown-simple-item{
      min-width:60px;
    }
    .countdown-events{
      grid-template-columns:1fr;
      gap:18px;
      margin-top:26px;
    }
    .ceremony-note{
      justify-content:center;
      align-self:center;
      justify-self:center;
    }
    .ceremony-note-inner{
      width:min(100%, 210px);
      left:-60px;
    }
    .event-note-icon{
      width:42px;
      margin-bottom:8px;
    }
    .ceremony-note-inner h4,
    .reception-oval h4{
      font-size:22px;
    }
    .ceremony-note-inner h4{
      font-size:26px;
    }
    .ceremony-note-inner .event-note-place,
    .ceremony-note-inner .event-note-location{
      line-height:1.2;
    }
    .ceremony-note-inner .event-note-place{
      font-size:18px;
    }
    .ceremony-note-inner .event-note-location{
      font-size:15px;
    }
    .ceremony-note-inner .event-note-time{
      font-size:15px;
    }
    .event-note-place,
    .event-note-location{
      font-size:10px;
    }
    .event-note-time{
      font-size:12px;
    }
    .reception-oval-wrap{
      justify-content:center;
      align-self:center;
      justify-self:center;
      margin-top:-52px;
      padding:3px 0 0;
      left:70px;
    }
    .reception-cala{
      left:90px;
      bottom:211px;
      top:-219px;
      width:188px;
    }
    .reception-oval{
      width:min(100%, 200px);
      min-height:310px;
      padding:32px 16px 24px;
    }
    .reception-oval .event-note-place{
      font-size:15px;
    }
    .reception-oval .event-note-location,
    .reception-oval .event-note-time{
      font-size:15px;
    }
    .reception-oval .btn-outline{
      min-height:28px;
      padding:6px 11px;
      font-size:12px;
    }
    .itinerary-editorial-art{
      width:min(100%, 320px);
    }
    .itinerary-editorial-image{
      width:min(100%, 285px);
    }
    .itinerary-editorial-note{
      width:min(100%, 235px);
      padding:16px 14px 14px;
      margin-top:-82px;
    }
    .itinerary-editorial-note h3{
      font-size:28px;
      margin-bottom:10px;
    }
    .timeline-icon{
      width:28px;
    }
    .timeline-node{
      align-self:stretch;
    }
    .timeline-dot{
      top:12px;
      width:6px;
      height:6px;
    }
    .timeline-node::before{
      top:0;
      bottom:0;
    }
    .timeline-item:first-child .timeline-node::before{
      top:12px;
    }
    .timeline-item:last-child .timeline-node::before{
      bottom:12px;
    }
    .timeline-time{
      font-size:12px;
    }
    .timeline-text{
      font-size:13px;
    }
    .dress-editorial h3,
    .gift-editorial h3,
    .wishes h3,
    .adults-only h3,
    .rsvp-editorial-title{
      font-size:32px;
    }
    .dress-editorial-subtitle{
      font-size:14px;
    }
    .dress-editorial-text,
    .gift-editorial-text,
    .adults-only-text{
      font-size:15px;
    }
    .rsvp-editorial-image{
      width:115%;
    }
    .rsvp-editorial-flower{
      right:-4%;
      top:25%;
      width:30%;
    }
    .rsvp-editorial-note{
      width:min(100%, 255px);
      top:42%;
      padding:18px 14px 16px;
    }
    .rsvp-response-group{
      grid-template-columns:1fr;
    }
  }

  .event-map-link,
  .event-map-link:hover,
  .event-map-link:focus-visible{
    background-image:url("Images/textura-2.png") !important;
    background-color:transparent !important;
    background-size:cover !important;
    background-position:center !important;
    border:1px solid var(--olive-dark) !important;
    color:var(--olive-dark) !important;
  }
  @media (max-width: 390px){
    .hero-artwork{
      width:min(100%, 270px);
    }
    .hero-flower-image{
      right:-14%;
      width:48%;
    }
    .hero-couple-name{
      max-width:none;
      font-size:38px;
    }
  }
/* Separadores normales (una sola foto) */
/* Separador con background-image */
.full-sep[style*="background-image"]{
    height: 58vh;                 /* ajusta: 55vh / 70vh */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
/* SOLO el separador rotativo */
.full-sep-rotating{
    position: relative;
    width: 100%;
    height: 58vh;
    overflow: hidden;
    background:#000;
  }
  
  .full-sep-rotating > img{
    width: 100%;
    height: 100%;
    object-fit: cover;          /* ✅ full-bleed para slideshow */
    object-position: center;
     transition: opacity 1.2s ease;
   }

   .full-sep-rotating > .rotating-sep-overlay{
     position: absolute;
     inset: 0;
     z-index: 1;
     opacity: 0;
     transition: opacity 1.2s ease;
   }
  .dress{
    background-color: #fff;
    padding:16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .love-quote{
    background-color: rgba(238,200,181,.55);
  }
  .love-quote p {
    color: var(--olive-dark);
    font-family: var(--cursive);
    font-size: 28px;
  }
  .dress, .gifts, .album, .wishes, .love-quote, .closing{
    padding:30px 18px;
    text-align:center;
  }
  .blessing-sep{
    height:52vh;
  }
  /* ================= CLOSING ================= */

.closing{
    padding: 10px 10px 10px;
    text-align: center;
    background-color: transparent;
    position: relative;
  }
  .closing-subtitle{
    margin:0 0 8px;
    font-family:var(--cursive);
    font-size:28px;
    background:var(--rose-gold-text);
    -webkit-background-clip:text;
    -webkit-text-fill-color:#0b1f3a;
    background-clip:text;
  }
  /* Nombre pareja */
  .closing h3{
    margin: 0;
    font-family: var(--cursive);
    font-size: 28px;
    letter-spacing: 0.03em;
    font-weight: 500;
    background:var(--black-gloss-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  /* Línea decorativa sutil */
  .closing::after{ content:none; display:none; }
  #footer{
    padding:20px 18px 34px;
    display:flex;
    align-items:center;
    justify-content:space-between;
      background-color:#0b1f3a !important;
    flex-direction: column;
  }
  .footer-brand{
    letter-spacing:.18em;
    text-transform:uppercase;
    font-size:12px
}
  #social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  #social-icons a {
    color: #fff;
    font-size: 2.5rem;
    transition: color 0.3s;
  }

#social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
}
  .footer-logo img {
    width: 90px;
    height: auto;
    filter: brightness(0) invert(1);
}
  /* Fade In */
  .fade-in-element{
    opacity:0;
    transform: translateY(14px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .fade-in-element.is-visible{
    opacity:1;
    transform: translateY(0);
  }

  /* ================= TRANSICIÓN PORTADA ================= */

.cover {
    transition: opacity .6s ease, transform .6s ease;
  }
  
.cover.is-hidden {
    opacity: 0;
    transform: scale(1.02);
    pointer-events: none;
  }
  
  .invitation {
    display: none;
    opacity: 0;
    transition: opacity .6s ease;
  }
  
  .invitation.is-open {
    display: block;
    opacity: 1;
  }
  .mono {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .mono-img {
    width: 120px; /* ajusta tamaño aquí */
    max-width: 40vw;
    height: auto;
    object-fit: contain;
  }
  .hero-mono-img {
    width: 90px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,.4));
  }
  .calendar-btn{
    margin: 18px auto 0;
    display: inline-block;
    border-color: var(--olive);
    color: var(--olive);
  }
  .calendar-btn:hover{
    background: var(--olive);
    color: #fff;
    border-color: var(--olive);
  }

  #ceremonyMapLink,
  #receptionMapLink,
  .playlist-button,
  #albumSection > .btn-outline,
  .wishes-actions .btn-outline,
  .wish-form .btn-outline,
  .rsvp-radio-option span,
  #btnConfirmarRsvp{
    font-family: var(--title) !important;
     color: #0b1f3a !important;
     border-color: #0b1f3a !important;
  }

  #ceremonyMapLink:hover,
  #receptionMapLink:hover,
  .playlist-button:hover,
  #albumSection > .btn-outline:hover,
  .wishes-actions .btn-outline:hover,
  .wish-form .btn-outline:hover,
  .rsvp-radio-option input:checked + span,
  #btnConfirmarRsvp:hover{
     background: #ebe5d3f0 !important;
    color: #fff !important;
     border-color: #0b1f3a !important;
  }

/*ANIMACIONES*/
/* BOTONES: se nota en desktop (hover) y en celular (tap) */
button, .btn-outline, a.btn-outline {
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
    will-change: transform;
  }
  
  button:hover, .btn-outline:hover, a.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.14);
  }
  
  button:active, .btn-outline:active, a.btn-outline:active {
    transform: scale(.98);
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

  /* ================= ANIMACIONES NOTORIAS (AUTO) ================= */

/* Estado inicial */
section h3,
section p,
section .event-icon {
  opacity: 0;
  transform: translateY(28px) scale(.98);
  filter: blur(3px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1),
              transform .9s cubic-bezier(.2,.8,.2,1),
              filter .9s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}

/* Portada editorial: conserva el contenido y refina su jerarquia visual. */
.cover-inner {
  gap: 20px;
  padding: 34px 18px;
}

.cover .tag {
  margin-bottom: -4px;
  font-size: clamp(34px, 8vw, 52px);
}

.cover .couple {
  max-width: 480px;
  line-height: .95;
  margin-bottom: 6px;
}

.cover .envelope-wrap {
  margin: 4px auto 0;
}

.cover .guest-card {
  margin: 2px auto 4px;
  border-color: rgba(11, 31, 58, .2);
  background: rgba(248, 249, 251, .78);
}

.cover .btn-primary {
  margin-top: 2px;
  padding: 13px 22px;
}


@keyframes goldShimmer{
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes navyShimmer{
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes pearlSpin{
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Activación por sección */
section.is-visible h3,
section.is-visible p,
section.is-visible .event-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* Stagger dentro de la sección */
section.is-visible .event-icon { transition-delay: .05s; }
section.is-visible h3          { transition-delay: .15s; }
section.is-visible p           { transition-delay: .28s; }

/* Botones: más “wow” */
button, .btn-outline, a.btn-outline {
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:hover, .btn-outline:hover, a.btn-outline:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  filter: brightness(1.03);
}

button:active, .btn-outline:active, a.btn-outline:active {
  transform: scale(.97);
  box-shadow: 0 10px 22px rgba(0,0,0,.15);
}

/* Iconos: bounce suave al entrar */
section.is-visible .event-icon {
  animation: iconPop .55s cubic-bezier(.2,.9,.3,1) both;
}

@keyframes iconPop {
  0%   { transform: translateY(18px) scale(.85); opacity: 0; }
  70%  { transform: translateY(-6px) scale(1.08); opacity: 1; }
  100% { transform: translateY(0) scale(1); }
}

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce){
  section h3, section p, section .event-icon,
  button, .btn-outline, a.btn-outline{
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

#btnConfirmarRsvp{
  background:url("Images/textura-2.png") center/cover no-repeat !important;
  color:#0b1f3a !important;
  border-color:#0b1f3a !important;
}

/* ================= BOTONES SLIDE IN ================= */

/* Estado inicial */
section button,
section .btn-outline,
section a.btn-outline {

  opacity: 0;
  transform: translateX(-120px);
  transition: 
    transform 1s cubic-bezier(.22,1,.36,1),
    opacity .9s ease;
  will-change: transform, opacity;
}

/* Cuando la sección es visible */
section.is-visible button,
section.is-visible .btn-outline,
section.is-visible a.btn-outline {

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

/* Stagger bonito si hay varios botones */
section.is-visible button:nth-of-type(1),
section.is-visible .btn-outline:nth-of-type(1) {
  transition-delay: .25s;
}

section.is-visible button:nth-of-type(2),
section.is-visible .btn-outline:nth-of-type(2) {
  transition-delay: .5s;
}
/* ================= MODAL TRANSFERENCIA ================= */

.transfer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.transfer-modal {
  background: white;
  padding: 40px 28px;
  border-radius: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  position: relative;

  /* POP mejorado */
  animation: modalPop .38s cubic-bezier(.2,.9,.3,1) both;
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
}
@keyframes modalPop{
  0%   { transform: translateY(10px) scale(.86); opacity: 0; }
  70%  { transform: translateY(-4px) scale(1.03); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.transfer-modal h3{
  font-size:10px;
  font-family: var(--cursive);
         background:var(--rose-gold-text);
         -webkit-background-clip: text;
         -webkit-text-fill-color: transparent;
         background-clip: text;
  display: flex;
  justify-content: center;
}

.transfer-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.transfer-names {
  font-family: var(--title);
  font-size: 15px;
  margin-bottom: 20px;
  color: var(--olive-dark);
}

.transfer-info p {
  margin: 6px 0;
  font-size: 10px;
  color: #444;
  font-family: var(--text);
}
.transfer-info strong {
  margin: 6px 0;
  font-size: 10px;
  font-family: var(--text);
}
/* ================= GIFTS ================= */

/* ================= BOTÓN BRILLO (SHIMMER) ================= */
.btn-shimmer{
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after{
  content:"";
  position:absolute;
  top:-40%;
  left:-60%;
  width: 40%;
  height: 180%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(18deg);
  animation: shimmer 3.8s ease-in-out infinite;
  pointer-events:none;
}

@keyframes shimmer{
  0%   { left: -60%; opacity: 0; }
  15%  { opacity: 1; }
  45%  { left: 120%; opacity: 1; }
  60%  { opacity: 0; }
  100% { left: 120%; opacity: 0; }
}
.copy-btn{
  width: 100%;
  font-size: 10px;
}

/* Toast copiado */
.copy-toast{
  margin-top: 10px;
  font-family: var(--text);
  font-size: 7px;
  color: var(--olive-dark);
  background: rgba(204,145,115,.14);
  border: 1px solid rgba(204,145,115,.22);
  padding: 10px 12px;
  border-radius: 12px;
}
.event-icon-fa{
  display:grid;
  place-items:center;
  color:var(--olive);
  font-size:32px;
}
.album,
.wishes{
  background:#fff;
}
#wishesSection{
  position:relative;
  overflow:hidden;
  width:min(calc(100% - 36px), 420px);
  margin:30px auto;
  padding:28px 22px;
   background:transparent !important;
  color:#ffffff;
  text-align:center;
}
.wishes-background{
  position:absolute;
  z-index:0;
  inset:0;
  display:block;
  background-image:url("Images/RECORTE.png");
  background-position:center;
  background-repeat:no-repeat;
  background-size:100% 100%;
  pointer-events:none;
}
.wishes-tulip{
  position:absolute;
  z-index:1;
  top:0;
  right:0;
   width:70px;
  height:auto;
  transform:scaleX(-1);
  pointer-events:none;
}
#wishesSection h3,
#wishesSection p{
  position:relative;
  z-index:1;
   color:#0b1f3a !important;
   -webkit-text-fill-color:#0b1f3a !important;
  background:none !important;
}
#wishesSection .btn-outline,
#wishesSection button{
  position:relative;
  z-index:1;
  display:inline-block;
  min-width:0 !important;
  min-height:0 !important;
  padding:6px 10px;
   border:1px solid #0b1f3a !important;
  border-radius:0;
  background:transparent !important;
   color:#0b1f3a !important;
   -webkit-text-fill-color:#0b1f3a !important;
  font-family:var(--title) !important;
  font-size:9px !important;
  text-decoration:none;
  text-transform:uppercase;
}
#wishesSection .wishes-actions,
#wishesSection .collapsible-panel,
#wishesSection .wish-form,
#wishesSection .wishes-list{
  position:relative;
  z-index:1;
}
.album-qr{
  width:140px;
  max-width:70%;
  height:auto;
  display:block;
  margin:12px auto 16px;
}
.album-text,
.wishes-intro,
.wishes-empty,
.wish-status{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}
.wishes-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin:18px auto 0;
}
.collapsible-panel{
  max-height:0;
  overflow:hidden;
  opacity:0;
  transition:max-height .45s ease, opacity .3s ease;
}
.collapsible-panel.is-open{
  max-height:1400px;
  opacity:1;
}
.wish-form{
  display:grid;
  gap:10px;
  max-width:460px;
  margin:18px auto 0;
  color:#0b1f3a;
  padding:10px;
}
.wishes .btn-outline,
.wish-form .btn-outline{
  background:transparent;
   border-color:#0b1f3a;
   color:#0b1f3a;
  box-shadow:0 8px 18px rgba(129,52,30,.12);
}
.wishes .btn-outline:hover,
.wish-form .btn-outline:hover{
  background:rgba(11,31,58,.08);
   border-color:#0b1f3a;
   color:#0b1f3a;
}
.wish-form input,
.wish-form textarea{
  width:100%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.78);
  padding:11px 14px;
  color:var(--ink);
  font-family:var(--text);
  font-size:15px;
  border-radius:14px;
  box-shadow:0 8px 18px rgba(28,39,66,.05);
}
.wish-form textarea{
  resize:vertical;
  min-height:96px;
}
.wishes-list{
  padding-top:18px;
}
.wish-card{
  background:transparent;
   border:0;
  border-radius:0;
  padding:12px 14px 11px;
  margin:10px auto;
  max-width:430px;
   box-shadow:none;
}
.wish-card strong{
  display:block;
  font-size:18px;
   color:#0b1f3a;
  font-family:var(--cursive);
  font-weight:400;
  margin-bottom:2px;
}
.wish-card p{
  margin:4px 0 0;
   color:#0b1f3a;
  font-family:var(--text);
  font-size:14px;
  line-height:1.35;
}
.wish-status,
.wishes-empty{
  font-family:var(--text);
   color:#0b1f3a;
}
/* Accesibilidad */
@media (prefers-reduced-motion: reduce){
  .btn-shimmer::after{ animation: none !important; }
  .transfer-modal{ animation: none !important; }
}
