/* Distribución de color y tipografía. La portada conserva sus fuentes y estilos. */
:root { --serif: 'Marcellus', Georgia, serif; --sans: 'Source Sans 3', sans-serif; }
.hero { --serif: 'Marcellus', Georgia, serif; --sans: 'Jost', sans-serif; }
h2 { letter-spacing: 0; }
h3 { letter-spacing: 0; }
.eyebrow { font-weight: 600; font-size: 11px; }
#myHeader, #navbarResponsive { background: var(--cream); }
.story-intro { background: var(--coffee); color: var(--cream); }
.story-heading h2, .story-heading > .eyebrow, .story-copy .story-opening { color: var(--cream); }
.story-copy p { font-size: 17px; }
.story-copy .story-opening { font-size: 26px; }
.story-botanical { opacity: 0.28; }
.venues { background: #faf5f1; }
.venue-time > span { color: var(--coffee); }
.venue-copy .eyebrow { color: #745c4b; }
.dress-code { background: var(--cream); border-bottom: 4px solid var(--rose-earth); }
.dress-options p { font-size: 16px; }
.timeline { background: #faf5f1; }
.timeline-number { background: var(--rose-earth); border: 0; color: var(--coffee); }
.timeline-time { font-size: 12px; }
.timeline li div > p:last-child { font-size: 16px; }
.gallery { background: var(--coffee); color: var(--cream); }
.gallery h2, .gallery .eyebrow { color: var(--cream); }
.gallery-photo > span { border-color: #f1e1d645; }
.registry { background: #faf5f1; }
.gift-link { border-color: #947c6980; }
.gift-link:hover { background: var(--cream); }
.rsvp { background: var(--cream); }
.rsvp-form { background: #faf5f1; border: 0; border-top: 3px solid var(--rose-earth); }
.rsvp-heading > .eyebrow { color: #745c4b; }
.accommodations { background: #faf5f1; }
.app-section { background: var(--cream); }
.site-footer { background: var(--coffee); }

/* Historia: fotografía del antiguo formulario junto al relato. */
.story-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 7%; align-items: center; text-align: left; padding-block: 90px; }
.story-portrait { position: relative; margin: 0; min-width: 0; }
.story-portrait img { width: 100%; height: 620px; object-fit: cover; object-position: 73% center; }
.story-portrait figcaption { color: var(--cream); font: 30px/1.2 var(--signature); padding-top: 18px; text-align: center; }
.story-narrative { min-width: 0; }
.story-heading { margin-bottom: 30px; }
.story-heading h2 { font-size: 48px; }
.story-copy { max-width: none; margin: 0; }
.story-copy .story-opening { font: 22px/1.7 var(--sans); color: var(--cream); }
.story-copy p { font: 16px/1.9 var(--sans); margin-bottom: 24px; }

/* Contador: cifras abiertas y líneas finas sobre papel crema. */
.save-date { display: block; background: var(--cream); border: 0; text-align: center; padding-block: 70px; }
.save-date-heading > .eyebrow { color: #745c4b; font-size: 10px; letter-spacing: .2em; }
.save-date h2 { font: 42px/1.2 var(--serif); margin: 15px 0 34px; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; width: 100%; max-width: 760px; margin: auto; padding: 30px 0 26px; border-top: 1px solid #947c6970; border-bottom: 1px solid #947c6970; }
.countdown > .countdown-unit { border: 0; position: relative; }
.countdown-unit + .countdown-unit::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: #947c6940; }
.countdown-dial { display: block; width: auto; height: auto; margin: 0; border: 0; border-radius: 0; background: transparent; }
.countdown strong { display: block; font: 76px/1.1 var(--serif); color: var(--coffee); font-variant-numeric: lining-nums tabular-nums; }
.countdown .countdown-unit > span { display: block; margin-top: 12px; color: #745c4b; font: 500 10px/1.5 var(--sans); letter-spacing: .19em; text-transform: uppercase; }
.save-date .calendar-row { max-width: 760px; margin: 24px auto 0; justify-content: center; gap: 24px; border: 0; padding: 0; }
.calendar-row > p { font-size: 14px; }
.calendar-row .text-link { padding: 8px 0; border: 0; border-bottom: 1px solid #947c6970; background: transparent; font-size: 11px; }
@media (max-width: 1000px) {
 .story-intro { gap: 5%; }
 .story-portrait img { height: 630px; }
 .story-heading h2 { font-size: 40px; }
 .story-copy .story-opening { font-size: 20px; }
 .story-copy p { font-size: 15px; }
 .countdown strong { font-size: 62px; }
}
@media (max-width: 640px) {
 .story-intro { grid-template-columns: 1fr; gap: 36px; padding: 52px 24px; }
 .story-portrait img { height: auto; aspect-ratio: 4/5; object-position: 73% center; }
 .story-portrait figcaption { font-size: 26px; padding-top: 16px; }
 .story-heading { margin-bottom: 24px; }
 .story-heading h2 { font-size: 36px; }
 .story-copy .story-opening { font-size: 20px; line-height: 1.65; }
 .story-copy p { font-size: 16px; line-height: 1.85; }
 .save-date { padding: 52px 24px; }
 .save-date h2 { font-size: 34px; margin-bottom: 26px; }
 .countdown { padding: 24px 0; }
 .countdown strong { font-size: 42px; }
 .countdown .countdown-unit > span { font-size: 8px; letter-spacing: .08em; margin-top: 10px; }
 .save-date .calendar-row { margin-top: 22px; gap: 10px; }
 .calendar-row > div { gap: 22px; }
 .calendar-row .text-link { font-size: 10px; }
}
@media (max-width: 350px) { .countdown strong { font-size: 36px; } }

/* Lugares: dos destinos en una composición simétrica. */
.venues .section-heading { margin-bottom: 42px; }
.venues-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6%; align-items: start; }
.venue, .venue-2 { display: flex; flex-direction: column; gap: 0; padding: 0; min-width: 0; }
.venue .venue-photo { order: 0; width: 100%; aspect-ratio: 3/2; margin: 0; }
.venue-copy { width: 100%; padding: 30px 0 0; }
.venue-copy .eyebrow { font-size: 11px; margin-bottom: 14px; }
.venue-copy h3 { min-height: 44px; margin-bottom: 20px; font-size: 34px; }
.venue-time { justify-content: space-between; gap: 14px; padding-block: 14px; border-block: 1px solid #947c6950; margin-bottom: 20px; }
.venue-time > span { font: 28px/1.1 var(--serif); color: var(--coffee); }
.venue-time > time { max-width: none; text-align: right; font-size: 11px; }
.venue-address { max-width: none; min-height: 60px; font-size: 16px; }
.venue-actions { gap: 18px; margin-top: 22px; }
.venue-actions .button { background: var(--coffee); }
.venue-actions .button:hover { background: var(--rose-earth); }
@media (min-width: 641px) and (max-width: 1000px) {
 .venues-grid { gap: 5%; }
 .venue-copy h3 { font-size: 28px; min-height: 64px; }
 .venue-address { min-height: 100px; }
 .venue-time { flex-wrap: wrap; }
 .venue-actions { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 640px) {
 .venues-grid { grid-template-columns: 1fr; gap: 48px; }
 .venue-copy { padding-top: 24px; }
 .venue-copy h3 { font-size: 30px; min-height: 0; }
 .venue-address { min-height: 0; }
 .venue-time > span { font-size: 26px; }
 .venue-time > time { font-size: 10px; }
 .venue-actions { gap: 16px; }
}
