/* ---------- Portada ---------- */
.hero { padding-bottom: 32px; }
.hero__title {
  text-align: right; font-size: 34px; line-height: 1; letter-spacing: .02em;
  text-transform: uppercase; margin: 36px 0 34px; animation: rise 1.1s ease-out both;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.photo--hero { aspect-ratio: 350 / 590; }
.photo--hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(240,238,240,.9) 0, rgba(240,238,240,.55) 22%, transparent 42%, transparent 58%, var(--bg) 96%);
}
.hero__script { position: absolute; top: 26px; right: 22px; left: 22px; z-index: 1; font-size: 44px; color: #2c2828; text-align: right; }
.music-btn {
  position: absolute; z-index: 2; left: 28%; bottom: 17%; width: 64px; height: 64px;
  display: grid; place-items: center; background: none; border: 0; color: #fff; cursor: pointer;
}
.music-btn.is-playing { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); } }
.hero__names { position: absolute; z-index: 2; right: 22px; bottom: 18px; text-align: right; text-transform: uppercase; font-size: 46px; line-height: .95; }
.hero__name { display: block; }
.hero__and { font-size: 50px; text-transform: none; margin-right: 4px; }

/* ---------- Fecha ---------- */
.date { padding: 0; }
.photo--date { border-radius: 0 0 var(--radius-photo) var(--radius-photo); aspect-ratio: 1 / 1.1; margin: 0 8px; }
.photo--date::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(70,70,70,.85), transparent 45%); }
.date__overlay { position: absolute; z-index: 1; top: 0; right: 22px; left: 22px; text-align: right; padding-top: 4px; }
.date__number { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; }
.date__number .script { font-size: 34px; margin-bottom: 14px; }
.date__number span:last-child { font-size: 88px; line-height: .9; font-weight: 400; }
.date__details { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- Cuenta regresiva ---------- */
.countdown { text-align: center; padding: 56px var(--gutter) 64px; }
.countdown__title { font-size: 40px; margin-bottom: 14px; }
.countdown__grid { display: flex; justify-content: center; gap: 2px; align-items: flex-start; }
.countdown__grid div { display: flex; flex-direction: column; align-items: center; min-width: 62px; }
.countdown__grid div + div b::before { content: ":"; margin-right: 6px; color: var(--muted); }
.countdown b { font-size: 34px; font-weight: 500; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 9px; color: var(--muted); margin-top: 2px; }

/* ---------- Lugar ---------- */
.venue { background: var(--bg-alt); padding-bottom: 40px; }
.venue__head { margin-bottom: 26px; }
.venue__script { font-size: 54px; color: var(--accent); }
.venue__name { font-size: 20px; text-transform: uppercase; line-height: 1.05; width: 9ch; }
.photo--venue { aspect-ratio: 1 / 1.3; margin: 0 -14px; }
.photo--venue .pill { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 62%; }
.venue__join { font-size: 36px; margin: 34px 0 18px; text-align: right; color: var(--accent); }
.features { list-style: none; padding: 0; display: grid; gap: 10px; }
.features li { justify-self: end; width: 60%; padding-right: 12px; border-right: 1px solid var(--accent); font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- Guardar la fecha ---------- */
.save { background: var(--bg-alt); padding-top: 64px; }
.save__title { font-size: 66px; line-height: .9; font-weight: 400; color: var(--accent); text-transform: uppercase; letter-spacing: .02em; }
.save__text { font-size: 12px; color: var(--muted); margin: 24px 0 22px; max-width: 30ch; }
.save .pill { padding: 14px 26px; }

/* ---------- Cierre ---------- */
.closing { padding: 40px 12px 0; background: var(--bg-alt); }
.photo--closing { aspect-ratio: 1 / 1.4; border-radius: var(--radius-photo) var(--radius-photo) 0 0; }
.photo--closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg-alt) 0, transparent 40%); }
.closing__text { position: absolute; z-index: 1; top: 18px; left: 20px; right: 40%; font-size: 12px; color: var(--text); }
