/* Propuesta 2 · Bosque: papelería botánica y fotografía de paisaje. */
:root { --serif: 'Marcellus', Georgia, serif; --sans: 'Jost', sans-serif; --signature: 'Parisienne', cursive; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.8; }
h1, h2, h3 { font-family: var(--serif); }
h2 { font-size: clamp(30px, 3.2vw, 46px); letter-spacing: 0.015em; }
h2 em, h3 em { font-style: normal; }
.eyebrow { font-size: 11px; letter-spacing: 0.19em; }
.section { padding-block: 90px; }
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading .eyebrow { color: var(--rust); }
.button { letter-spacing: 0.12em; font-size: 11px; }
.text-link { font-size: 12px; }

/* Un sobre físico, cerrado con una banda vertical de papelería. */
.pre-page { display: flex; flex-direction: column; justify-content: center; justify-content: safe center; gap: 30px; padding: 32px 24px; background: var(--paper); }
.pre-page::before { background: repeating-linear-gradient(8deg, #4b403103 0 1px, transparent 1px 5px); }
.envelope-intro { text-align: center; }
.envelope-intro > span { font: 34px var(--serif); color: var(--rust); letter-spacing: 0.15em; }
.envelope-intro .eyebrow { font-size: 9px; margin-top: 10px; }
.paper-envelope { position: relative; isolation: isolate; width: min(760px, 100%); min-height: 380px; flex-shrink: 0; background: var(--sage); box-shadow: 0 20px 40px #4b40311c, 0 2px 4px #4b403120; }
.paper-envelope::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(45deg, #fff04 0 1px, transparent 1px 4px); z-index: -1; }
.paper-envelope .envelope-fold { z-index: -1; }
.paper-envelope .fold-left { background: #f1e1d60d; clip-path: polygon(0 0, 51% 51%, 0 100%); }
.paper-envelope .fold-right { background: #4b403110; clip-path: polygon(100% 0, 49% 51%, 100% 100%); }
.paper-envelope .fold-bottom { background: #f1e1d617; clip-path: polygon(0 100%, 50% 44%, 100% 100%); border-bottom: 1px solid #fff3; }
.envelope-sprig { position: absolute; right: 14px; top: 12px; width: 185px; height: 350px; object-fit: contain; opacity: 0.42; pointer-events: none; }
.envelope-band { width: 310px; margin: auto; padding: 26px 18px; background: var(--mauve); box-shadow: 4px 0 10px #4b403116; min-height: 380px; display: grid; align-items: center; }
.envelope-letter { width: 100%; padding: 28px 14px; background: var(--paper); outline: 1px solid #4b403133; outline-offset: -8px; }
.envelope-letter > .eyebrow { margin-bottom: 16px; font-size: 9px; }
.envelope-letter h2 { font: 40px/1.2 var(--signature); margin-bottom: 18px; letter-spacing: 0; }
.envelope-letter h2 em { display: block; color: var(--peach); font-size: 27px; line-height: 0.8; }
.envelope-letter > p:not(.eyebrow) { font: 12px/1.7 var(--sans); }
.envelope-date { margin-top: 18px; font-size: 9px; letter-spacing: 0.18em; }
.guest-welcome { font-size: 11px; }
.btn-pre-page { min-height: 48px; border: 0; border-bottom: 1px solid var(--rust); padding: 8px 0; background: transparent; }
.btn-pre-page:hover { color: var(--peach); background: transparent; }
.fade-out { animation: paper-away 700ms ease both; }
.fade-out .envelope-band { animation: unwrap-band 650ms ease both; }
@keyframes unwrap-band { to { transform: translateY(-45px); opacity: 0; } }
@keyframes paper-away { 65% { opacity: 1; } to { opacity: 0; } }

/* La fotografía ocupa la portada; los nombres son una firma sobre el paisaje. */
.hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; min-height: 640px; height: min(850px, 88svh); padding: 70px 24px 88px; gap: 0; color: var(--paper); background: var(--sage); text-align: center; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; padding: 0; background: transparent; z-index: -2; }
.hero-photo::before { display: none; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #32291fd9, #32291f10 70%); }
.hero-photo img { border-radius: 0; object-position: center 42%; }
.hero-copy { padding: 0; width: 100%; }
.hero-copy > .eyebrow { color: var(--paper); margin-bottom: 18px; }
.hero h1 { font: clamp(72px, 8vw, 120px)/1.2 var(--signature); color: var(--paper); letter-spacing: 0; text-shadow: 0 2px 20px #32291f30; }
.hero h1 em { color: var(--paper); font-size: 0.65em; padding-inline: 12px; font-style: normal; }
.hero-date { display: flex; justify-content: center; align-items: center; gap: 24px; border: 0; padding: 0; margin: 20px 0 0; }
.hero-date time { font-size: 12px; font-weight: 400; letter-spacing: 0.14em; }
.hero-date span { color: var(--paper); font: 13px var(--sans); border-left: 1px solid #f1e1d66b; padding-left: 24px; }
.hero-discover { position: absolute; bottom: 24px; color: var(--paper); font-size: 10px; font-weight: 400; }
.hero-discover svg { transform: rotate(90deg); }
.hero a:focus-visible { outline-color: var(--paper); }
#myHeader { background: var(--soft-sage); border-color: #947c6950; }
.nav-monogram {
 position: relative; display: block; flex: 0 0 50px; width: 50px; height: 49px;
 margin-block: 6px; color: var(--coffee); font-family: 'Bodoni Moda', 'Marcellus', Georgia, serif;
 font-size: 36px; line-height: 1; letter-spacing: -.06em;
}
.nav-monogram > span { position: absolute; font-weight: 400; }
.nav-monogram .monogram-first { left: 1px; top: -2px; }
.nav-monogram .monogram-second { left: 15px; top: 17px; }
.nav-monogram em {
 position: absolute; left: 6px; top: -1px; z-index: 1; margin: 0;
 color: inherit; font: 47px/1 var(--signature); transform: rotate(-16deg);
 text-shadow: 1px 0 var(--cream), -1px 0 var(--cream);
}
.nav-link { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.story-intro { display: block; background: var(--paper); text-align: center; }
.story-heading { margin-bottom: 34px; }
.story-heading h2 br { display: none; }
.story-heading h2 em::before { content: ' '; }
.story-botanical { position: absolute; left: -60px; top: 20px; width: 180px; height: 220px; margin: 0; opacity: 0.26; }
.story-copy { max-width: 740px; margin: auto; }
.story-copy .story-opening { font: 23px/1.65 var(--serif); }
.story-copy p { font: 15px/1.9 var(--sans); }
.story-copy p:last-child { margin-bottom: 0; }
.save-date { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px 6%; align-items: center; padding-block: 58px; background: var(--soft-sage); text-align: left; border-block: 1px solid #947c6950; }
.save-date h2 { margin: 12px 0 0; font-size: 40px; }
.countdown { width: 100%; max-width: none; }
.countdown strong { font: 46px var(--serif); text-align: center; }
.countdown span { text-align: center; }
.calendar-row { grid-column: 1 / -1; margin: 0; justify-content: space-between; padding-top: 26px; border-top: 1px solid #947c6950; }
.venues-grid { display: grid; grid-template-columns: 1fr; gap: 62px; }
.venue { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 7%; }
.venue-photo { aspect-ratio: 4/3; margin: 0; }
.venue-1 .venue-photo, .venue-2 .venue-photo { border-radius: 0; }
.venue-2 { padding: 0; grid-template-columns: 0.9fr 1.1fr; }
.venue-2 .venue-photo { order: 2; }
.venue-copy h3 { font-size: 34px; }
.venue-copy .eyebrow { color: var(--rust); }
.venue-time > span { font: 26px var(--serif); }
.venue-address { font-family: var(--sans); }
.dress-code { display: block; background: var(--soft-mauve); text-align: center; }
.dress-heading { margin-bottom: 38px; }
.dress-heading h2 { font-size: 44px; }
.dress-options { max-width: 820px; margin: auto; gap: 80px; }
.dress-options article { grid-template-columns: 100px 1fr; grid-template-rows: auto; align-items: center; text-align: left; }
.dress-options img { height: 180px; }
.timeline { background: var(--soft-sage); }
.timeline ol { display: block; max-width: 820px; margin: auto; }
.timeline li { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 28px; border-top: 1px solid #947c6950; padding: 24px 0; }
.timeline li:last-child { border-bottom: 1px solid #947c6950; }
.timeline-number { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #947c6999; border-radius: 50%; color: var(--rust); }
.timeline li > div { display: grid; grid-template-columns: 165px 1fr; gap: 8px 20px; align-items: center; }
.timeline-time { grid-row: 1 / 3; color: var(--rust); margin: 0; }
.timeline h3 { margin: 0; font-size: 25px; }
.timeline li > img { margin: 0; }
.gallery { background: var(--paper); color: var(--rust); }
.gallery h2, .gallery .eyebrow { color: var(--rust); }
.gallery-heading { display: block; }
.gallery-heading > p { margin-top: 16px; }
.gallery-grid { grid-template-columns: 1fr 1fr; gap: 38px; max-width: 1000px; margin: auto; }
.gallery-grid .register:nth-child(even) { padding: 0; }
.gallery-photo img { aspect-ratio: 4/3; }
.gallery-photo > span { font-size: 11px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.registry { background: var(--soft-mauve); }
.gifts-grid { display: block; max-width: 800px; margin: auto; }
.gift-link { grid-template-columns: 1fr 1fr 24px; justify-items: start; align-items: center; padding: 26px 12px; border-bottom: 0; }
.gift-link:last-child { border-bottom: 1px solid var(--line); }
.gift-link span { justify-self: center; }
.gift-link svg { justify-self: end; }
.rsvp { background: var(--paper); }
.rsvp-layout { display: block; }
.rsvp-heading { text-align: center; padding: 0; margin-bottom: 38px; }
.rsvp-heading h2 { font-size: 42px; }
.rsvp-heading h2 br { display: none; }
.rsvp-heading h2 em::before { content: ' '; }
.rsvp-heading > p:not(.eyebrow) { margin-top: 18px; }
.rsvp-heading > img { display: none; }
.rsvp-form { max-width: 720px; margin: auto; padding: 24px 16px; border: 1px solid #947c6955; background: #e5dbd166; }
.hotels-grid { display: block; max-width: 1000px; margin: auto; }
.hotel { display: grid; grid-template-columns: 270px 1fr; gap: 46px; align-items: center; border-top: 1px solid var(--line); padding: 32px 0; }
.hotel:last-child { border-bottom: 1px solid var(--line); }
.hotel > img { aspect-ratio: 4/3; margin: 0; }
.hotel h3 { font-size: 28px; margin-bottom: 12px; }
.hotel .eyebrow { color: var(--rust); }
.hotel-phone { margin: 12px 0 0; }
.app-section { background: var(--soft-sage); border-top: 0; }
.app-section h2 { font-size: 32px; }
.site-footer { background: var(--coffee); color: var(--cream); }
.footer-hashtag { font-family: var(--serif); font-size: clamp(26px, 4vw, 46px); font-weight: 400; font-style: normal; letter-spacing: 0; }

@media (max-width: 1000px) {
  #navbarResponsive { background: var(--soft-sage); }
  .hero { min-height: 620px; }
  .venue { gap: 5%; }.venue-copy h3 { font-size: 28px; }
  .dress-options { gap: 35px; }
  .rsvp-heading h2 { font-size: 38px; }
}
@media (max-width: 640px) {
  .section { padding: 58px 24px; }
  h2 { font-size: 32px; }
  .section-heading { margin-bottom: 32px; }
  .pre-page { gap: 26px; padding: 28px 22px; }
  .envelope-intro > span { font-size: 28px; }
  .envelope-intro .eyebrow { font-size: 8px; }
  .paper-envelope { min-height: 330px; }
  .envelope-band { width: 228px; padding: 22px 12px; min-height: 330px; }
  .envelope-letter { padding: 24px 12px; }
  .envelope-letter h2 { font-size: 37px; max-width: none; }
  .envelope-letter > p:not(.eyebrow) { font-size: 11px; }
  .envelope-sprig { right: -7px; width: 95px; height: 260px; }
  .hero { height: 86svh; min-height: 560px; max-height: 760px; padding: 45px 18px 94px; }
  .hero-photo { width: 100%; height: 100%; max-width: none; margin: 0; padding: 0; }
  .hero-photo img { object-position: 51% center; }
  .hero h1 { font-size: 64px; line-height: 1.1; }
  .hero h1 em { display: block; font-size: 35px; line-height: 0.8; margin: 7px 0; }
  .hero-copy > .eyebrow { margin-bottom: 16px; }
  .hero-date { display: grid; gap: 10px; margin: 22px 0 0; width: auto; padding: 0; }
  .hero-date time { font-size: 10px; }.hero-date span { border: 0; padding: 0; font-size: 12px; }
  .hero-discover { bottom: 20px; }
  .story-intro { display: block; }
  .story-heading { margin-bottom: 28px; }
  .story-botanical { left: -75px; right: auto; top: -35px; opacity: 0.13; }
  .story-copy .story-opening { font-size: 21px; }.story-copy p { font-size: 14px; }
  .save-date { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .save-date h2 { font-size: 34px; margin: 14px 0 0; }
  .countdown strong { font-size: 36px; }
  .calendar-row { grid-column: auto; justify-content: center; gap: 12px; padding-top: 24px; }
  .calendar-row > div { gap: 24px; }
  .venues-grid { gap: 48px; }
  .venue, .venue-2 { grid-template-columns: 1fr; gap: 26px; }
  .venue-2 .venue-photo { order: 0; }
  .venue-copy h3 { font-size: 30px; }
  .dress-heading h2 { font-size: 38px; }
  .dress-options { grid-template-columns: 1fr; gap: 36px; }
  .dress-options article { grid-template-columns: 90px 1fr; gap: 20px; }
  .dress-options img { height: 150px; }
  .dress-options p { font-size: 13px; }
  .timeline li { grid-template-columns: 32px 1fr 26px; gap: 16px; padding-block: 22px; }
  .timeline-number { width: 32px; height: 32px; font-size: 9px; }
  .timeline li > div { display: block; }
  .timeline-time { margin-bottom: 8px; font-size: 10px; }
  .timeline h3 { margin-bottom: 8px; font-size: 25px; }
  .timeline li > img { width: 26px; }
  .gallery-grid { gap: 24px 16px; }
  .gallery-photo img { aspect-ratio: 3/4; }
  .gallery-photo > span { font-size: 9px; }
  .gift-link { grid-template-columns: 1fr auto 20px; gap: 12px; padding: 24px 0; }
  .gift-link img { width: 112px; }.gift-link span { font-size: 11px; }
  .rsvp-heading { margin-bottom: 30px; }
  .rsvp-heading h2 { font-size: 32px; }
  .rsvp-form { padding: 12px 4px; }
  .hotel { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .hotel > img { aspect-ratio: 2/1; }
  .hotel h3 { font-size: 26px; }
  .app-section h2 { font-size: 30px; }
  .site-footer { padding: 52px 24px 24px; }
}
@media (max-height: 650px) and (min-width: 641px) {
  .pre-page { gap: 16px; padding-block: 20px; }
  .envelope-intro .eyebrow { display: none; }
  .paper-envelope, .envelope-band { min-height: 300px; }
  .envelope-band { padding-block: 16px; }
  .envelope-letter { padding-block: 20px; }
}
