*{box-sizing:border-box}
:root{
  --navy:#17233d;
  --navy-soft:#263552;
  --blush:#d9b8b8;
  --blush-light:#ead6d4;
  --cream:#f8f4ee;
  --ink:#293043;
  --muted:#6f6b69;
  --white:#fff;
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--cream);color:var(--ink);font-family:"Montserrat",sans-serif;font-weight:400}
img{display:block;width:100%;height:100%;object-fit:cover}
button,a{font:inherit}
a{text-decoration:none}
.hidden{display:none!important}
.intro{position:fixed;inset:0;z-index:100;background:var(--navy);display:grid;place-items:center;padding:24px;transition:opacity .8s ease,visibility .8s ease}
.intro.closed{opacity:0;visibility:hidden}
.intro-card{width:min(520px,100%);min-height:620px;padding:70px 30px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.35);background:linear-gradient(145deg,rgba(255,255,255,.04),rgba(255,255,255,.01))}
.eyebrow{font-size:.68rem;letter-spacing:.28em;text-transform:uppercase;color:var(--navy);font-weight:600}
.eyebrow.light{color:var(--blush-light)}
.script{font-family:"Parisienne",cursive;font-size:2.4rem;margin:8px 0;color:var(--navy)}
.intro .eyebrow,.intro p{color:var(--blush-light)}
.intro h1,.hero h1{font-family:"Cormorant Garamond",serif;font-weight:500}
.intro h1{color:white;font-size:4rem;line-height:.85;margin:30px 0}
.intro h1 span{display:block}
.intro h1 small{display:block;font-family:"Parisienne",cursive;font-size:2rem;margin:14px 0;font-weight:400}
.intro p{letter-spacing:.3em}
.btn{display:inline-flex;align-items:center;justify-content:center;min-width:150px;padding:12px 22px;border:1px solid transparent;border-radius:999px;text-transform:uppercase;letter-spacing:.14em;font-size:.65rem;transition:transform .25s ease,background .25s ease}
.btn:hover{transform:translateY(-2px)}
.btn-light{background:transparent;color:white;border-color:rgba(255,255,255,.7);margin-top:25px}
.btn-navy{background:var(--navy);color:white}
.music-btn{position:fixed;z-index:80;right:20px;top:20px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(23,35,61,.25);background:rgba(248,244,238,.9);color:var(--navy);cursor:pointer;font-size:1.2rem}
.hero{min-height:100svh;position:relative;display:grid;place-items:center;background:linear-gradient(rgba(23,35,61,.22),rgba(23,35,61,.35)),url("fotos/portada.jpg") center/cover no-repeat;text-align:center}
.hero-overlay{position:absolute;inset:0;background:radial-gradient(circle at center,transparent 15%,rgba(23,35,61,.35))}
.hero-content{position:relative;z-index:2;color:white;padding:40px 20px}
.hero .eyebrow{color:white}
.hero .script{color:white;font-size:3rem}
.hero h1{font-size:clamp(4rem,13vw,8rem);line-height:.65;margin:25px 0 45px;text-shadow:0 2px 20px rgba(0,0,0,.15)}
.hero h1 span{display:block}
.hero .amp{font-family:"Parisienne",cursive;font-size:.35em;line-height:1.6}
.date-line{display:flex;align-items:center;justify-content:center;gap:14px;letter-spacing:.22em;font-size:.75rem}
.date-line i{width:35px;height:1px;background:white}
.section{padding:100px 20px;overflow:hidden}
.container{width:min(980px,100%);margin:auto;text-align:center}
.narrow{max-width:700px}
.cream{background:var(--cream)}
.blush{background:var(--blush-light)}
.navy{background:var(--navy);color:white}
.story h2,.locations h2,.timeline-section h2,.dress-code h2,.gallery h2,.final-photo h2,.children h2{font-family:"Cormorant Garamond",serif;font-weight:600;font-size:clamp(2.4rem,7vw,4rem);margin:10px 0 22px}
.story p:not(.eyebrow),.dress-code p:not(.eyebrow),.children p:not(.eyebrow),.final-photo h2{line-height:1.9;color:var(--muted);font-size:.9rem}
.ornament{font-size:2rem;color:var(--blush);margin-bottom:25px}
.photo-frame{width:min(560px,90%);height:620px;margin:55px auto 0;padding:10px;background:white;box-shadow:0 15px 45px rgba(23,35,61,.12)}
.countdown-section{text-align:center}
.countdown-section h2{font-family:"Cormorant Garamond",serif;font-size:3rem;font-weight:500;margin:8px 0 45px}
.countdown{display:grid;grid-template-columns:repeat(4,1fr);max-width:650px;margin:auto}
.countdown div{padding:10px;border-right:1px solid rgba(255,255,255,.25)}
.countdown div:last-child{border:0}
.countdown strong{display:block;font-family:"Cormorant Garamond",serif;font-size:clamp(2.4rem,7vw,4rem);font-weight:500}
.countdown span{font-size:.55rem;letter-spacing:.2em;text-transform:uppercase;color:var(--blush-light)}
.locations{padding-top:110px;padding-bottom:110px}
.location{padding:20px}
.location h2{font-size:2.8rem;margin-bottom:4px}
.time{font-family:"Cormorant Garamond",serif;font-size:1.8rem;margin:0 0 8px}
.location p:not(.eyebrow):not(.time){color:var(--muted);font-size:.75rem;margin-bottom:25px}
.divider{color:var(--blush);font-size:1.2rem;margin:35px 0}
.timeline{position:relative;max-width:600px;margin:55px auto 0;text-align:left}
.timeline:before{content:"";position:absolute;left:80px;top:0;bottom:0;width:1px;background:rgba(23,35,61,.25)}
.timeline-item{position:relative;display:grid;grid-template-columns:65px 1fr;gap:45px;padding:0 0 35px}
.timeline-time{font-family:"Cormorant Garamond",serif;font-size:1.2rem;text-align:right}
.timeline-dot{position:absolute;left:76px;top:5px;width:9px;height:9px;border-radius:50%;background:var(--navy)}
.timeline-content h3{font-family:"Cormorant Garamond",serif;font-size:1.7rem;margin:0 0 4px}
.timeline-content p{font-size:.75rem;color:#555;margin:0;line-height:1.6}
.dress-icons{display:flex;justify-content:center;gap:30px;font-size:3rem;color:var(--navy);margin:25px}
.children{text-align:center}
.children h2{color:white}
.children p{color:var(--blush-light)!important}
.gallery h2{text-align:center}
.gallery-grid{margin-top:45px;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.gallery-item{height:310px;overflow:hidden}
.gallery-item.tall{height:500px}
.gallery-item img{transition:transform .7s ease}
.gallery-item:hover img{transform:scale(1.04)}
.final-photo{text-align:center}
.final-photo .photo-frame{height:560px;margin-top:0;margin-bottom:60px}
.final-photo .script{font-size:3.2rem}
.signature{font-family:"Parisienne",cursive;font-size:2.4rem;color:var(--navy)!important}
.footer{text-align:center;padding:35px 20px;font-family:"Cormorant Garamond",serif;font-size:1.2rem}
.reveal{opacity:0;transform:translateY(25px);transition:opacity .9s ease,transform .9s ease}
.reveal.visible{opacity:1;transform:none}

/* ==========================================
   💗 NUESTRA HISTORIA — DISEÑO 2
   ========================================== */
.story{position:relative;text-align:center;padding-top:110px;padding-bottom:120px;overflow:hidden}
.story-decoration{color:var(--blush);font-family:"Cormorant Garamond",serif;font-size:2.5rem;line-height:1}
.story-decoration-top{margin-bottom:25px}
.story-intro{position:relative;z-index:2}
.story-intro h2{font-family:"Cormorant Garamond",serif;font-size:clamp(2.8rem,8vw,4.5rem);line-height:.95;font-weight:500;color:var(--navy);margin:15px 0 25px}
.story-intro p:not(.eyebrow){max-width:580px;margin:0 auto;color:var(--muted);font-size:.9rem;line-height:2;font-weight:300}
.story-line{width:65px;height:1px;background:var(--blush);margin:25px auto 30px;position:relative}
.story-line::before,.story-line::after{content:"•";position:absolute;top:-8px;color:var(--blush);font-size:.8rem}
.story-line::before{left:-9px}.story-line::after{right:-9px}
.story-photo-wrapper{position:relative;width:min(600px,88%);margin:65px auto 0}
.story-photo-frame{position:relative;width:100%;height:650px;padding:11px;background:#fff;box-shadow:0 20px 55px rgba(23,35,61,.13);transform:rotate(-1deg)}
.story-photo-frame::before{content:"";position:absolute;inset:5px;border:1px solid rgba(23,35,61,.15);pointer-events:none;z-index:2}
.story-photo-frame img{width:100%;height:100%;object-fit:cover}
.story-photo-caption{position:absolute;bottom:-22px;left:50%;transform:translateX(-50%);width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--navy);color:var(--blush-light);border-radius:50%;z-index:4;box-shadow:0 8px 25px rgba(23,35,61,.18)}
.story-photo-caption span{font-size:1rem}
.story-ending{margin-top:75px}
.story-ending .script{color:var(--navy);font-size:2.8rem;margin:0}

@media(max-width:600px){
  .intro-card{min-height:570px}
  .intro h1{font-size:3.5rem}
  .section{padding:80px 18px}
  .photo-frame{height:500px}
  .gallery-grid{grid-template-columns:1fr 1fr}
  .gallery-item,.gallery-item.tall{height:260px}
  .timeline:before{left:68px}
  .timeline-item{grid-template-columns:55px 1fr;gap:35px}
  .timeline-dot{left:64px}
}


@media(max-width:600px){
  .story{padding-top:85px;padding-bottom:100px}
  .story-intro h2{font-size:3rem}
  .story-intro p:not(.eyebrow){font-size:.82rem;line-height:1.9;padding:0 8px}
  .story-photo-wrapper{width:90%;margin-top:50px}
  .story-photo-frame{height:500px}
  .story-ending{margin-top:65px}
  .story-ending .script{font-size:2.3rem}
}


/* ==========================================
   PADRES DE LOS NOVIOS
   ========================================== */

.parents {
  text-align: center;
}

.parents h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.7rem, 7vw, 4rem);
  font-weight: 500;
  color: var(--navy);
  margin: 12px 0 45px;
}

.parents-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 50px 1fr;
  align-items: center;
  gap: 18px;
}

.parent-group {
  padding: 24px 15px;
}

.parent-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  color: var(--navy);
  margin: 0 0 18px;
}

.parent-names {
  font-size: .82rem;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}

.epd {
  font-size: .78em;
  vertical-align: super;
  margin-left: 3px;
}

.parent-divider {
  color: var(--navy);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .parents-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .parent-group {
    padding: 10px 10px 28px;
  }

  .parent-divider {
    margin: 0 0 8px;
  }

  .parent-title {
    font-size: 1.55rem;
  }
}

/* ==========================================
   💌 CONFIRMACIÓN DE ASISTENCIA
   ========================================== */
.rsvp{text-align:center}
.rsvp h2{font-family:"Cormorant Garamond",serif;font-size:clamp(2.8rem,7vw,4.2rem);font-weight:500;color:var(--navy);margin:12px 0 15px}
.rsvp-intro{max-width:560px;margin:0 auto 35px;color:var(--muted);font-size:.85rem;line-height:1.8}
.rsvp-form{max-width:430px;margin:0 auto;text-align:left}
.rsvp-form>label,.rsvp-form legend{display:block;font-size:.66rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--navy);margin-bottom:10px}
.rsvp-form input[type="text"]{width:100%;padding:14px 16px;border:1px solid rgba(23,35,61,.2);background:white;color:var(--ink);outline:none;border-radius:3px;margin-bottom:28px}
.rsvp-form input[type="text"]:focus{border-color:var(--navy)}
.rsvp-form fieldset{border:0;padding:0;margin:0 0 28px}
.rsvp-options{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rsvp-option{position:relative;cursor:pointer}
.rsvp-option input{position:absolute;opacity:0;pointer-events:none}
.rsvp-option span{display:block;text-align:center;padding:14px 10px;border:1px solid rgba(23,35,61,.22);background:transparent;color:var(--ink);font-size:.72rem;border-radius:999px;transition:all .25s ease}
.rsvp-option input:checked+span{background:var(--navy);color:white;border-color:var(--navy)}
.rsvp-form .btn{display:block;margin:0 auto}
.rsvp-message{min-height:24px;text-align:center;margin-top:18px;color:var(--navy);font-size:.78rem;line-height:1.5}
@media(max-width:600px){.rsvp-options{grid-template-columns:1fr}}


/* 🎀 PALETA ROSA PALO + AZUL MARINO */
.section.blush {
  background: var(--blush-light);
}

.section.navy {
  background: var(--navy);
}

.btn-navy {
  background: var(--navy);
}

.eyebrow,
.story-intro h2,
.story-ending .script,
.parents h2,
.parent-title,
.rsvp h2 {
  color: var(--navy);
}

.script {
  color: var(--navy);
}

.divider,
.ornament,
.story-decoration,
.story-line,
.story-line::before,
.story-line::after {
  color: var(--blush);
}

.story-line {
  background: var(--blush);
}

.rsvp-option input:checked + span {
  background: var(--navy);
  border-color: var(--navy);
}

/* ==========================================
   💒 CEREMONIA + RECEPCIÓN
   ========================================== */

.locations {
  position: relative;
}

.location-card {
  max-width: 650px;
  margin: 0 auto;
  padding: 42px 28px 48px;
  border: 1px solid rgba(23,35,61,.12);
  background: rgba(255,255,255,.32);
}

.location-icon {
  color: var(--blush);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.location-card h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--navy);
  font-size: clamp(2.5rem, 6vw, 3.7rem);
  font-weight: 500;
  margin: 12px 0 3px;
}

.location-card .time {
  color: var(--navy);
  margin: 0 0 8px;
}

.location-card p:not(.eyebrow):not(.time) {
  color: var(--muted);
  max-width: 430px;
  margin: 0 auto 26px;
  line-height: 1.8;
  font-size: .78rem;
}

.location-separator {
  color: var(--blush);
  text-align: center;
  padding: 25px 0;
}
