/* Invitación Uziel & Samantha · variante B "Hoja de álbum" */
:root {
  --navy: #14234A;
  --navy-2: #1E3264;
  --navy-3: #22386E;
  --ivory: #FBF8F1;
  --gold: #C8A35A;
  --gold-light: #D9BD7E;
  --gold-deep: #B8913F;
  --gold-dark: #7A5E22;
  --ink-soft: #4A5576;
  --serif: 'EB Garamond', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  /* Sombras del diseño de Claude Design */
  --shadow: 0 8px 20px rgba(0, 0, 0, .3);
  --shadow-lg: 0 10px 28px rgba(0, 0, 0, .4);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--navy);
  font-family: var(--serif);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; height: 100dvh; }
p { margin: 0; }
a { color: var(--navy); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ================= PORTADA / SOBRE ================= */
.intro {
  position: fixed; inset: 0; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 30px; padding: 40px 16px; text-align: center; color: var(--ivory);
  background: radial-gradient(120% 80% at 50% 40%, #1B2E5E 0%, var(--navy) 60%, #0E1938 100%);
  transition: opacity .9s ease, transform 1.1s var(--ease), filter .9s ease;
}
.intro.is-leaving { opacity: 0; transform: scale(1.08); filter: blur(4px); pointer-events: none; }
.intro.is-gone { display: none; }

.intro__kicker { font-size: 14px; letter-spacing: 6px; text-transform: uppercase; color: var(--gold-light); }
.intro__date { font-size: 18px; letter-spacing: 3px; color: var(--gold-light); }
.intro__hint {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--ivory);
  transition: opacity .4s ease;
}

.intro > .intro__kicker, .intro > .intro__date, .intro > .intro__hint, .intro > .envelope-box {
  animation: introIn 1s var(--ease) both;
}
.intro > .intro__date { animation-delay: .3s; }
.intro > .intro__hint { animation-delay: .5s; }
@keyframes introIn { from { opacity: 0; transform: translateY(18px); } }

.intro.is-opening .intro__hint,
.intro.is-opening .intro__date { opacity: 0; }

/* El sobre mide 330x380 y se escala completo (--s lo calcula app.js) para caber en cualquier pantalla */
.envelope-box { position: relative; flex: none; width: calc(330px * var(--s, 1)); height: calc(380px * var(--s, 1)); }
.envelope {
  position: absolute; left: 0; top: 0; width: 330px; height: 380px;
  scale: var(--s, 1); transform-origin: 0 0;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit;
  perspective: 1000px;
  -webkit-tap-highlight-color: transparent;
}
.envelope:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 8px; }
.intro > .envelope-box { animation-delay: .15s; }
.intro .envelope { animation: float 3.6s ease-in-out 1.2s infinite; }
.intro.is-opening .envelope { animation-play-state: paused; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-.6deg); } }

.envelope__back {
  position: absolute; left: 0; bottom: 0; width: 330px; height: 230px;
  background: #182A57; border: 1px solid var(--gold);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
/* La carta vive en una "bolsa" recortada solo por abajo, para que pueda salir hacia arriba */
.envelope__letter {
  position: absolute; left: 30px; bottom: -32px; width: 270px; height: 250px; z-index: 2;
  background: var(--ivory); border: 1px solid var(--gold-light);
  padding: 30px 20px; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--navy);
  clip-path: inset(-400px -40px 32px -40px);
  transition: transform 1s var(--ease), clip-path 1s var(--ease);
}
.envelope__para { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-dark); }
.envelope__names { font-family: var(--script); font-size: 46px; line-height: 1.05; }
.envelope__rule { width: 40px; height: 1px; background: var(--gold); }

.envelope__front { position: absolute; left: 0; bottom: 0; width: 330px; height: 230px; z-index: 3; display: block; }

.envelope__flap {
  position: absolute; left: 0; top: 150px; width: 330px; height: 140px; z-index: 4;
  transform-origin: 50% 0; transform: rotateX(0deg);
  transition: transform .75s cubic-bezier(.45,.05,.3,1);
  filter: drop-shadow(0 4px 4px rgba(0,0,0,.25));
}
.envelope__flap svg { display: block; width: 100%; height: 100%; }
.envelope.flap-open .envelope__flap { transform: rotateX(180deg); filter: none; }
.envelope.flap-behind .envelope__flap { z-index: 1; }

.envelope__seal {
  position: absolute; left: 133px; top: 238px; width: 64px; height: 64px; z-index: 5;
  border-radius: 50%; background: var(--gold-deep);
  box-shadow: 0 2px 0 var(--gold-dark), inset 0 0 0 5px var(--gold), 0 6px 14px rgba(0,0,0,.35);
  display: flex; align-items: center; justify-content: center;
  transition: transform .45s var(--ease), opacity .45s ease;
}
.envelope__seal span { font-family: var(--script); font-size: 28px; color: var(--ivory); }
.envelope.seal-broken .envelope__seal { transform: scale(1.35) rotate(-14deg); opacity: 0; }

.envelope.letter-up .envelope__letter {
  transform: translateY(-162px);
  clip-path: inset(-400px -40px 0 -40px);
}

/* Destellos dorados al abrir */
.spark {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-light); pointer-events: none; z-index: 6;
  box-shadow: 0 0 8px rgba(217,189,126,.9);
  animation: spark 1.3s ease-out forwards;
}
@keyframes spark {
  from { opacity: 1; transform: translate(0,0) scale(1); }
  to { opacity: 0; transform: translate(var(--x), var(--y)) scale(.3); }
}

@media (max-width: 360px) { .intro__hint { letter-spacing: 2px; font-size: 12px; } .intro__kicker { letter-spacing: 5px; } }
@media (max-height: 700px) { .intro { gap: 18px; padding: 24px 16px; } }

/* ================= PÁGINA ================= */
.page {
  max-width: 440px; margin: 0 auto; color: var(--navy);
  opacity: 0; transition: opacity 1s ease .2s;
}
.page.is-visible { opacity: 1; }

.sec { padding: 30px 22px; }
.sec--carta { min-height: 100vh; min-height: 100svh; padding: 24px 18px; display: flex; flex-direction: column; justify-content: center; }
/* La carta conserva su tamaño de diseño; solo el contenedor mide una pantalla */
.sec--detalles { padding: 40px 30px; display: flex; flex-direction: column; gap: 40px; }
.sec--rsvp { padding: 40px 22px; }
.sec--small { padding: 22px 30px; }

.kicker { text-align: center; font-size: 14px; letter-spacing: 6px; text-transform: uppercase; color: var(--gold-light); }

/* Papel de la carta */
.paper { background: var(--ivory); padding: 10px; box-shadow: var(--shadow-lg); }
.paper__inner { border: 1px solid var(--gold); }
.carta { padding: 40px 28px; display: flex; flex-direction: column; gap: 20px; }
.carta__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.carta__mono { font-family: var(--script); font-size: 34px; color: var(--gold-deep); }
.carta__place { font-size: 15px; font-style: italic; color: var(--ink-soft); text-align: right; }
.carta__greet { margin-top: 8px; font-family: var(--script); font-size: 36px; line-height: 1.1; }
.carta__p { font-size: 19px; line-height: 1.65; }
.carta__p strong { font-weight: 500; }
.carta__bye { margin-top: 8px; font-size: 19px; font-style: italic; }
.carta__sign { font-family: var(--script); font-size: 54px; line-height: 1.15; text-align: center; padding: 4px 0 6px; }
.carta__ink { display: inline-block; padding: 0 12px; }

/* Contador + foto: entre los dos, una pantalla */
.duo { height: 100vh; height: 100svh; min-height: 600px; display: flex; flex-direction: column; justify-content: center; }
.duo > .sec--contador { flex: none; }
/* La hoja crece hasta su tamaño de diseño (560 px) y se encoge si la pantalla es baja */
.duo > .sec--foto { flex: 1 1 auto; min-height: 0; max-height: 610px; display: flex; flex-direction: column; padding: 24px 22px 26px; }

/* Hoja de álbum con la foto */
.album {
  position: relative; background: var(--navy);
  flex: 1; min-height: 0; padding: 24px 14px 16px; rotate: 1.2deg;
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
}
.album__tape {
  position: absolute; left: 50%; top: -14px; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(200,163,90,.55); rotate: -3deg;
}
.album__title { font-family: var(--script); font-size: 44px; line-height: 1.1; color: var(--gold-light); }
.album__sub { font-size: 17px; font-style: italic; color: var(--gold-light); }
/* La foto se adapta al espacio libre; foto (247x370) + nombres (40) = proporción 247/410 */
.album__photo { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding-top: 10px; }
.album__frame { position: relative; height: 100%; max-height: 410px; max-width: 100%; aspect-ratio: 247 / 410; container-type: inline-size; }
.album__frame picture { display: block; width: 100%; height: 90.25%; }
.album__frame img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 4px 6px rgba(20,35,74,.25)); }
.album__heart { position: absolute; left: 42.5%; top: 12.2%; width: 12.15%; height: auto; transform-origin: 50% 60%; scale: 0; }
.album__frame.is-in .album__heart { animation: heartPop .6s var(--ease) .9s forwards, beat 1.6s ease-in-out 1.6s infinite; }
@keyframes heartPop { 0% { scale: 0; } 70% { scale: 1.3; } 100% { scale: 1; } }
@keyframes beat { 0%, 100% { scale: 1; } 15% { scale: 1.18; } 30% { scale: 1; } 45% { scale: 1.12; } }
.album__names { position: relative; width: 100%; height: 9.75%; }
.album__names span {
  position: absolute; top: 0; translate: -50% 0; white-space: nowrap;
  font-family: var(--script); font-size: 30px; font-size: min(30px, 12cqw); line-height: 1.2; color: var(--gold-light);
}

/* Tarjetas de papel */
.card { background: var(--ivory); padding: 8px; box-shadow: var(--shadow); }
.card--tilt-l { rotate: -1.5deg; }
.card--tilt-r { rotate: 1.5deg; }
.card--tilt-l1 { rotate: -1deg; }
.card--tilt-r1 { rotate: 1deg; }
.card__inner {
  border: 1px solid var(--gold); min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 32px 24px; text-align: center;
}
.sec--small .card__inner { min-height: 300px; gap: 14px; }
.card__title { font-family: var(--script); font-size: 40px; line-height: 1.1; }
.card__time { font-size: 36px; color: var(--gold-dark); }
.card__venue { font-size: 22px; letter-spacing: 4px; text-transform: uppercase; }
.card__text { font-size: 18px; line-height: 1.5; }
.card__label { font-size: 13px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold-dark); }
.card__big { font-family: var(--script); font-size: 48px; line-height: 1.1; }
.card__muted { font-size: 17px; font-style: italic; line-height: 1.5; color: var(--ink-soft); }

.card__venue--sm { font-size: 17px; letter-spacing: 2px; line-height: 1.4; }
.card__inner--short { min-height: 0 !important; }

/* Colores no permitidos */
.swatches { display: flex; gap: 14px; }
.swatch { position: relative; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(20,35,74,.35); }
.swatch--rojo { background: #B3261E; }
.swatch--blanco { background: #FFFFFF; }
.swatch::after { content: ""; position: absolute; left: 50%; top: -5px; width: 2px; height: 44px; margin-left: -1px; background: var(--navy); rotate: 45deg; }

/* Mesa de regalos */
.regalo__tienda { font-size: 22px; letter-spacing: 5px; text-transform: uppercase; }
.regalo__num {
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%;
  padding: 12px; border: 1px dashed var(--gold); background: transparent; cursor: pointer;
  font-family: var(--serif); color: var(--navy);
}
.regalo__num span { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-dark); }
.regalo__num strong { font-size: 28px; font-weight: 500; letter-spacing: 3px; }
.regalo__num em { font-size: 14px; color: var(--ink-soft); }

/* ================= CONTADOR ================= */
.sec--contador { padding: 26px 22px 6px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.contador__fecha { font-family: var(--script); font-size: 38px; line-height: 1.15; color: var(--gold-light); }
.contador { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; max-width: 340px; margin-top: 6px; }
.contador__item {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 0 10px;
  border: 1px solid rgba(200,163,90,.6); color: var(--ivory);
}
.contador__num { font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.contador__lbl { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold-light); }
.contador__msg { font-family: var(--script); font-size: 34px; color: var(--gold-light); }
.contador__msg[hidden] { display: none; }

/* ================= COLLAGE (espacio reservado) ================= */
.sec--collage { padding: 34px 22px; display: flex; flex-direction: column; gap: 26px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.collage__item { margin: 0; background: var(--ivory); padding: 6px 6px 22px; box-shadow: var(--shadow); }
.collage__item--a { grid-column: 1 / -1; rotate: -1deg; }
.collage__item--b { rotate: 1.5deg; }
.collage__item--c { rotate: -1.5deg; }
.collage__item--d { rotate: -1deg; }
.collage__item--e { rotate: 1.2deg; }
.collage__item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collage__ph {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 5;
  border: 1px dashed var(--gold); color: var(--gold-dark); font-style: italic; font-size: 16px;
  background: repeating-linear-gradient(45deg, #F4EEDF 0 10px, #FBF8F1 10px 20px);
}
.collage__item--a .collage__ph { aspect-ratio: 4 / 3; }

/* Botones */
.btn {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 22px; font-family: var(--serif); font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none; cursor: pointer; border: 0;
  transition: background .25s ease, color .25s ease, transform .2s ease;
}
.btn:active { transform: scale(.98); }
.btn--solid { background: var(--navy); color: var(--ivory); }
.btn--solid:hover { background: #0A1430; color: var(--ivory); }
.btn--outline { background: transparent; color: var(--navy); border: 1px solid var(--navy); font-size: 14px; }
.btn--outline:hover { background: var(--navy); color: var(--ivory); }
.btn--block { display: flex; width: 100%; font-size: 14px; letter-spacing: 4px; min-height: 50px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn--tight { letter-spacing: 2px; padding: 0 12px; white-space: nowrap; }

/* ================= CONFIRMACIÓN ================= */
.rsvp {
  background: var(--ivory); padding: 26px 24px; min-height: 440px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow);
}
.rsvp__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rsvp__label { font-size: 13px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-dark); }
.rsvp__title { margin: 4px 0 0; font-weight: 400; font-family: var(--script); font-size: 36px; line-height: 1.1; }
.rsvp__stamp {
  width: 64px; height: 76px; flex: none; border: 2px dashed var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--script); font-size: 26px; color: var(--gold-deep);
  transition: background .3s ease, color .3s ease;
}
.rsvp__stamp.is-stamped {
  background: var(--gold-deep); color: var(--ivory); border-color: var(--gold-dark); border-style: solid;
  animation: stamp .6s cubic-bezier(.3,1.6,.5,1) both;
}
@keyframes stamp { 0% { transform: scale(2.2) rotate(-25deg); opacity: 0; } 100% { transform: scale(1) rotate(-8deg); opacity: 1; } }

.rsvp__form { display: flex; flex-direction: column; gap: 16px; flex: 1; }
.rsvp__form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--ink-soft); }
.field input, .field select {
  border: 0; border-bottom: 1px solid var(--navy); border-radius: 0; background: transparent;
  font-family: inherit; font-size: 18px; color: var(--navy); padding: 6px 0; outline: none;
  transition: border-color .2s ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus { border-bottom: 2px solid var(--gold-deep); padding-bottom: 5px; }
.field[hidden], .choice[hidden], .acomp[hidden], .rsvp__pase[hidden] { display: none; }
.field select:disabled { opacity: .6; cursor: progress; }
.rsvp__pase { margin: -4px 0 0; font-size: 17px; line-height: 1.45; }
.rsvp__pase strong { font-weight: 500; }
.acomp { display: flex; flex-direction: column; gap: 14px; }
.field--anim, .acomp, .rsvp__pase, .choice { animation: fieldIn .45s var(--ease); }
@keyframes fieldIn { from { opacity: 0; transform: translateY(-8px); } }

.choice { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; border: 0; font-size: 18px; }
.choice label { display: flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; }
.choice input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.rsvp__note { font-size: 16px; font-style: italic; color: var(--ink-soft); }
.rsvp__error { min-height: 1em; font-size: 15px; color: #9B2C2C; }
.rsvp__error:empty { display: none; }
.rsvp__form .btn--block { margin-top: auto; }

.rsvp__done { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; animation: fieldIn .6s var(--ease); }
.rsvp__done[hidden] { display: none; }
.rsvp__thanks { font-family: var(--script); font-size: 42px; line-height: 1.1; }
.rsvp__msg { font-size: 18px; line-height: 1.5; color: var(--ink-soft); }
.link { background: none; border: 0; padding: 10px; font: italic 16px var(--serif); color: var(--navy); text-decoration: underline; cursor: pointer; }

/* ================= MODAL DE CONFIRMACIÓN ================= */
.dlg {
  width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 8px; border: 0;
  background: var(--ivory); color: var(--navy); box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.dlg::backdrop { background: rgba(8, 14, 32, .72); }
.dlg[open] { animation: dlgIn .35s var(--ease); }
.dlg[open]::backdrop { animation: fadeIn .35s ease; }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.dlg__inner { border: 1px solid var(--gold); padding: 24px 20px 20px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.dlg__label { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold-dark); }
.dlg__title { margin: 0; font-weight: 400; font-family: var(--script); font-size: 34px; line-height: 1.1; }
.dlg__resumen { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; text-align: left; font-size: 16px; padding: 12px 14px; border: 1px dashed var(--gold); }
.dlg__resumen dt { color: var(--ink-soft); font-style: italic; }
.dlg__resumen dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.dlg__aviso { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.dlg__aviso strong { color: var(--navy); font-weight: 500; }
.dlg__acciones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dlg__acciones .btn { padding: 0 10px; letter-spacing: 2px; }

/* ================= PIE ================= */
.foot { min-height: 100vh; min-height: 100svh; padding: 40px 24px calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--ivory); }
.foot__script { font-family: var(--script); font-size: 54px; line-height: 1.1; color: var(--gold-light); }
.foot__names { font-size: 15px; letter-spacing: 5px; text-transform: uppercase; }

/* ================= ANIMACIONES DE APARICIÓN ================= */
.reveal {
  opacity: 0;
  transition: opacity .9s ease, translate 1s var(--ease), scale 1s var(--ease), rotate 1.1s var(--ease), clip-path 1.6s ease;
  transition-delay: var(--d, 0s);
}
.reveal[data-reveal="up"] { translate: 0 40px; }
.reveal[data-reveal="left"] { translate: -40px 0; }
.reveal[data-reveal="right"] { translate: 40px 0; }
.reveal[data-reveal="zoom"] { scale: .85; }
.reveal[data-reveal="drop"] { translate: 0 40px; rotate: 4deg; }
.reveal[data-reveal="sign"] { opacity: 1; }
.reveal[data-reveal="sign"] .carta__ink { clip-path: inset(-30px 100% -30px -30px); transition: clip-path 1.8s ease; transition-delay: var(--d, 0s); }
.album__names .reveal { translate: -50% 20px; }

.reveal.is-in { opacity: 1; translate: 0 0; scale: 1; }
.reveal[data-reveal="sign"].is-in .carta__ink { clip-path: inset(-30px -30px -30px -30px); }
.reveal[data-reveal="drop"].is-in { rotate: 1.2deg; }
.album__names .reveal.is-in { translate: -50% 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .album__heart { scale: 1; }
}

/* ================= CELULARES PEQUEÑOS (<= 360 px) ================= */
@media (max-width: 360px) {
  .sec { padding: 26px 14px; }
  .sec--carta { padding: 14px 12px; }
  .sec--detalles { padding: 34px 18px; gap: 32px; }
  .sec--rsvp { padding: 34px 14px; }
  .sec--small { padding: 18px 18px; }
  .carta { padding: 30px 18px; gap: 16px; }
  .carta__mono { font-size: 30px; }
  .carta__place { font-size: 14px; }
  .carta__greet { font-size: 32px; }
  .carta__p, .carta__bye { font-size: 17.5px; line-height: 1.6; }
  .carta__sign { font-size: 46px; }
  .album { padding: 22px 8px 14px; }
  .duo > .sec--foto { padding: 22px 14px 20px; }
  .album__title { font-size: 40px; }
  .card__inner { min-height: 340px; padding: 26px 16px; }
  .sec--small .card__inner { min-height: 260px; }
  .card__title { font-size: 36px; }
  .card__time { font-size: 32px; }
  .card__venue { font-size: 19px; letter-spacing: 3px; }
  .card__big { font-size: 42px; }
  .rsvp { padding: 22px 18px; min-height: 0; }
  .rsvp__form .btn--block { margin-top: 8px; }
  .rsvp__title { font-size: 32px; }
  .rsvp__stamp { width: 56px; height: 66px; font-size: 23px; }
  .choice { gap: 0 18px; font-size: 17px; }
  .btn--block { letter-spacing: 3px; }
  .sec--contador { padding: 22px 14px 4px; }
  .contador { gap: 7px; }
  .contador__num { font-size: 27px; }
  .contador__lbl { font-size: 10px; letter-spacing: 2px; }
  .contador__fecha { font-size: 34px; }
  .sec--collage { padding: 30px 16px; }
  .collage { gap: 10px; }
  .regalo__num strong { font-size: 25px; }
}

/* Pantallas bajas: compactar el bloque contador + foto */
@media (max-height: 720px) {
  .contador__fecha { font-size: 30px; }
  .contador__num { font-size: 25px; }
  .contador__item { padding: 9px 0 7px; }
  .album__title { font-size: 36px; }
  .album__sub { font-size: 15px; }
  .carta { gap: 16px; padding: 26px 20px; }
}
