/* =========================================================
   Randu & Erika — Invitación de boda
   Paleta: azul empolvado + papel marfil (ver referencia)
   ========================================================= */

:root {
  --paper: #F5F3EE;
  --paper-hi: #FCFBF8;
  --ink: #2E3852;
  --ink-soft: #5A6480;
  --blue: #8A9DC7;
  --blue-ink: #536898;
  --band: #6A7EAA;
  --band-2: #6074A0;
  --gold: #C4A15A;
  --white: #FFFFFF;

  --f-script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --f-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', serif;
  --f-body: 'Cormorant Garamond', 'Garamond', 'Times New Roman', serif;

  --col: min(100%, 480px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --tex-grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .32  0 0 0 0 .33  0 0 0 0 .36  0 0 0 .11 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  --tex-mottle: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><filter id='m'><feTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='3' seed='7' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .55  0 0 0 0 .56  0 0 0 0 .6  0 0 0 .14 -.02'/></filter><rect width='100%' height='100%' filter='url(%23m)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  background-color: #A4B3D3;
  background-image: var(--tex-grain), var(--tex-mottle);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums;
}
body.is-locked { overflow: hidden; height: 100svh; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 4px; }

.script { font-family: var(--f-script); font-weight: 400; line-height: 1.05; letter-spacing: 0; }

.eyebrow {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.6;
}
.eyebrow--lg { font-size: 14.5px; letter-spacing: .22em; }

.icon {
  width: 52px; height: 52px; margin: 0 auto;
  fill: none; stroke: var(--blue-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.icon--sm { width: 40px; height: 40px; }
.icon--xl { width: 100px; height: 100px; stroke-width: 1.3; }
.icon--light { stroke: var(--white); }

/* ---------------- Paper surface ---------------- */
.page {
  position: relative;
  width: var(--col);
  margin: 0 auto;
  background-color: var(--paper);
  background-image: var(--tex-grain), var(--tex-mottle);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(40, 52, 86, .45), 0 0 0 1px rgba(255,255,255,.4);
}

/* =========================================================
   COVER / ENVELOPE
   ========================================================= */
.cover {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
  background-color: var(--paper);
  background-image: var(--tex-grain), var(--tex-mottle);
  overflow: hidden;
  transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), visibility 0s linear 1.1s;
}
.cover.is-gone { opacity: 0; transform: translateY(-4%); visibility: hidden; pointer-events: none; }

.cover__flor { position: absolute; top: -18px; width: min(62vw, 330px); pointer-events: none; opacity: .97; }
.cover__flor--l { left: -26px; }
.cover__flor--r { right: -26px; transform: scaleX(-1); }

.cover__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  width: 100%; max-width: 420px; padding-top: min(30vw, 150px);
}
.cover__eyebrow { color: var(--ink-soft); }
.cover__names { font-size: clamp(50px, 14.5vw, 70px); color: var(--ink); margin: 6px 0 4px; }
.amp { font-family: var(--f-display); font-style: italic; font-weight: 400; }
.cover__names .amp { color: var(--blue); font-size: .5em; padding: 0 .12em; vertical-align: .12em; }
.cover__date { font-family: var(--f-body); font-weight: 600; letter-spacing: .26em; text-transform: uppercase; font-size: 13.5px; color: var(--ink-soft); }
.cover__guest { margin-top: 18px; font-style: italic; font-size: 18px; color: var(--ink-soft); }
.cover__guest span { font-style: normal; font-weight: 600; color: var(--ink); font-size: 20px; }

.envelope {
  --w: min(74vw, 300px);
  position: relative; width: var(--w); aspect-ratio: 3 / 2; margin: 30px 0 18px;
  border: 0; padding: 0; background: none; cursor: pointer;
  perspective: 1100px;
  -webkit-tap-highlight-color: transparent;
  animation: env-float 4.5s var(--ease-in-out) infinite alternate;
}
@keyframes env-float { to { transform: translateY(-5px); } }

.envelope > span { position: absolute; display: block; }
.envelope > .envelope__letter { display: flex; }
.envelope__back { inset: 0; border-radius: 6px; background: var(--tex-grain), linear-gradient(#6A7EAA, #788CB8); box-shadow: 0 16px 24px -8px rgba(46, 58, 92, .32), 0 4px 8px -2px rgba(46, 58, 92, .14); }
.envelope__letter {
  left: 6%; right: 6%; top: 7%; bottom: 7%; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px;
  padding-top: 9%;
  background-color: var(--paper-hi);
  background-image: var(--tex-grain);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0,0,0,.08);
  transition: transform 1s var(--ease-out);
}
.envelope__mono { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 26px; color: var(--ink); }
.envelope__mono i { width: 1px; height: 24px; background: var(--ink-soft); }
.envelope__letter-text { font-family: var(--f-body); font-weight: 700; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-soft); }
.envelope__front {
  inset: 0; z-index: 3; border-radius: 6px;
  background: var(--tex-grain), linear-gradient(170deg, #8FA2CB 0%, #8396C1 100%);
  clip-path: polygon(0 0, 50% 54%, 100% 0, 100% 100%, 0 100%);
}
.envelope__front::before { /* bottom fold */
  content: ""; position: absolute; inset: 0;
  background: var(--tex-grain), linear-gradient(#93A6CE, #8699C4);
  clip-path: polygon(0 100%, 50% 50%, 100% 100%);
}
.envelope__front::after { /* fold shading */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(24,33,62,.16) 100%);
}
.envelope__flapwrap {
  left: 0; right: 0; top: 0; height: 64%; z-index: 5;
  transform-origin: 50% 0;
}
/* sombra de la solapa: capa estática aparte (sin 3D), se desvanece al abrir */
.envelope__flapshadow {
  left: 0; right: 0; top: 0; height: 64%; z-index: 4;
  filter: blur(3px);
  transform: translateY(3px);
  opacity: .55;
  transition: opacity .25s ease;
}
.envelope__flapshadow > span {
  position: absolute; inset: 0;
  background: #1E2848;
  clip-path: polygon(0 0, 100% 0, 100% 10%, 61.5% 86%, 58.6% 91.5%, 55.6% 95.3%, 52.6% 97.4%, 50% 98%, 47.4% 97.4%, 44.4% 95.3%, 41.4% 91.5%, 38.5% 86%, 0 10%);
}
.envelope__flap {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 80% at 28% 0%, rgba(255,255,255,.16), transparent 70%),
    var(--tex-grain),
    linear-gradient(#93A6CE, #889BC6);
  /* solapa ancha con punta redondeada */
  clip-path: polygon(0 0, 100% 0, 100% 10%, 61.5% 86%, 58.6% 91.5%, 55.6% 95.3%, 52.6% 97.4%, 50% 98%, 47.4% 97.4%, 44.4% 95.3%, 41.4% 91.5%, 38.5% 86%, 0 10%);
  border-radius: 6px 6px 0 0;
}
.seal {
  left: 50%; top: 61%; z-index: 6; width: 28%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 3px 4px rgba(70, 50, 10, .35));
  transition: transform .45s var(--ease-out), opacity .4s ease;
}
.seal::after { /* soft pulsing halo */
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  border: 1.5px solid rgba(255, 244, 210, .9);
  opacity: 0;
  animation: seal-pulse 2.6s ease-out infinite;
}
@keyframes seal-pulse {
  0% { transform: scale(.95); opacity: .9; }
  70%, 100% { transform: scale(1.55); opacity: 0; }
}
.seal svg { width: 100%; height: 100%; }
@media (hover: hover) {
  .envelope:hover .seal { transform: translate(-50%, -50%) scale(1.06); }
}
.envelope:active .seal { transform: translate(-50%, -50%) scale(.96); }

.cover__hint {
  font-style: italic; font-size: 17px; color: var(--ink-soft);
  animation: hint 2.4s ease-in-out infinite;
}
@keyframes hint { 50% { opacity: .55; } }

.cover__seats { margin-top: 22px; color: var(--ink-soft); }
.cover__seats-num {
  display: inline-grid; place-items: center; min-width: 46px; height: 46px; margin: 6px 0; padding: 0 10px;
  border: 1.5px solid var(--ink); border-radius: 10px;
  font-family: var(--f-display); font-size: 24px; color: var(--ink);
}

/* opening sequence */
.cover.is-opening .envelope { animation: none; }
.cover.is-opening .seal { transform: translate(-50%, -50%) scale(.4) rotate(-20deg); opacity: 0; }
.cover.is-opening .seal::after { animation: none; }
.cover.is-opening .envelope__flapwrap { animation: flap-open .8s var(--ease-in-out) .25s forwards; }
.cover.is-opening .envelope__flapshadow { opacity: 0; }
.cover.is-opening .envelope__letter { transform: translateY(-62%); transition-delay: .95s; }
.cover.is-opening .cover__hint, .cover.is-opening .cover__seats { opacity: 0; transition: opacity .4s; animation: none; }
.cover__eyebrow, .cover__names, .cover__date, .cover__guest { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.cover.is-opening .cover__eyebrow, .cover.is-opening .cover__names,
.cover.is-opening .cover__date, .cover.is-opening .cover__guest { opacity: 0; transform: translateY(-10px); transition-delay: .55s; }
@keyframes flap-open {
  0%   { transform: rotateX(0); z-index: 5; }
  49%  { z-index: 5; }
  50%  { z-index: 1; }
  100% { transform: rotateX(180deg); z-index: 1; }
}

/* =========================================================
   HERO (sobre abierto)
   ========================================================= */
.hero {
  position: relative;
  min-height: clamp(480px, 68svh, 620px);
  padding: 0;
  background:
    radial-gradient(130% 75% at 50% 38%, transparent 55%, rgba(24, 33, 62, .20) 100%),
    linear-gradient(180deg, #8296C1 0%, #7A8EBA 55%, #7286B2 100%);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
/* textura de papel por encima del sobre, debajo del texto */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: var(--tex-grain), var(--tex-mottle);
  mix-blend-mode: multiply; opacity: .75;
}
.hero__body { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__flap { position: absolute; left: 0; top: 0; width: 100%; height: auto; z-index: 1; overflow: visible; }
.hero__content {
  position: relative; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  min-height: clamp(480px, 68svh, 620px);
  padding: clamp(84px, 13svh, 124px) 20px 138px;
}
.hero__names { display: flex; flex-direction: column; align-items: center; font-size: clamp(62px, 18.5vw, 86px); text-shadow: 0 1px 1px rgba(30, 40, 72, .18), 0 4px 18px rgba(30, 40, 72, .22); }
.hero__name { line-height: 1.02; }
.hero__amp { font-family: var(--f-display); font-style: italic; font-size: .36em; line-height: 1; margin: .12em 0 .16em; opacity: .95; }
.hero__date { font-family: var(--f-display); font-weight: 600; font-size: 22px; letter-spacing: .12em; padding-left: .12em; text-shadow: 0 1px 2px rgba(30, 40, 72, .3), 0 2px 10px rgba(30, 40, 72, .25); }
.hero__flor { position: absolute; z-index: 4; left: 50%; bottom: -88px; width: 122%; max-width: none; transform: translateX(-50%); pointer-events: none; }

/* entrance */
.js [data-hero] { opacity: 0; transform: translateY(14px); filter: blur(4px); }
.is-open [data-hero] { opacity: 1; transform: none; filter: none; transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), filter 1.1s var(--ease-out); }
.is-open [data-hero]:nth-child(2) { transition-delay: .25s; }
.is-open [data-hero]:nth-child(3) { transition-delay: .45s; }
.is-open .hero__date[data-hero] { transition-delay: .7s; }

/* =========================================================
   SECTIONS
   ========================================================= */
.sec { position: relative; padding: 64px 28px; text-align: center; }
.sec--intro { padding-top: 120px; padding-bottom: 36px; }
.sec + .sec { padding-top: 24px; }

.quote { margin: 0 auto 44px; max-width: 320px; }
.quote p { font-style: italic; font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }

.monogram { display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--f-display); font-size: 64px; line-height: 1; color: var(--ink); margin-bottom: 18px; }
.monogram i { width: 1px; height: 64px; background: currentColor; opacity: .5; }
.monogram--sm { font-size: 34px; gap: 12px; margin-bottom: 10px; }
.monogram--sm i { height: 34px; }

.lead { font-size: 20px; line-height: 1.5; }
.sec--nosotros { padding-top: 40px; }
.sec--nosotros .eyebrow { margin: 22px 0 6px; color: var(--ink-soft); }
.names-block { position: relative; margin: 0 -28px 26px; padding: 6px 0; }
.names-block__names { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; font-size: clamp(60px, 18vw, 82px); color: var(--ink); }
.names-block__names .amp { color: var(--blue); font-size: .42em; line-height: 1; margin: .05em 0 .12em; }
.names-block__flor { position: absolute; width: 140px; top: 50%; pointer-events: none; }
.names-block__flor--l { left: -46px; transform: translateY(-62%) rotate(-28deg); }
.names-block__flor--r { right: -46px; transform: translateY(-30%) scaleX(-1) rotate(-28deg); }

.sub { font-style: italic; font-size: 21px; color: var(--ink-soft); margin: 2px 0 18px; }
.body { font-size: 19px; line-height: 1.55; max-width: 340px; margin: 0 auto; }
.body--soft { color: var(--ink-soft); font-style: italic; margin-top: 10px; }

.divider { display: flex; justify-content: center; margin: 44px 0; }
.divider span { width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--blue), transparent); position: relative; }
.divider span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border: 1px solid var(--blue); background: var(--paper); transform: translate(-50%, -50%) rotate(45deg); }
.divider--light span { background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); }
.divider--light span::after { border-color: rgba(255,255,255,.85); background: var(--band); }

/* ---------------- Photos (torn paper) ---------------- */
.photo { position: relative; margin: 0; padding: 0 10px; }
.photo__paper {
  position: relative;
  padding: 9px 0;
  background: var(--paper-hi);
  filter: drop-shadow(0 2px 2px rgba(46, 56, 82, .12));
  -webkit-mask: url(../assets/torn-top-a.svg) top / 100% 24px no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 46px) no-repeat, url(../assets/torn-bottom-a.svg) bottom / 100% 24px no-repeat;
          mask: url(../assets/torn-top-a.svg) top / 100% 24px no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 46px) no-repeat, url(../assets/torn-bottom-a.svg) bottom / 100% 24px no-repeat;
}
.photo__paper img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  background: #DCE2EE;
  -webkit-mask: url(../assets/torn-top-b.svg) top / 100% 22px no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 42px) no-repeat, url(../assets/torn-bottom-b.svg) bottom / 100% 22px no-repeat;
          mask: url(../assets/torn-top-b.svg) top / 100% 22px no-repeat, linear-gradient(#000 0 0) center / 100% calc(100% - 42px) no-repeat, url(../assets/torn-bottom-b.svg) bottom / 100% 22px no-repeat;
}
.photo--tilt { padding: 8px 34px; }
.photo--tilt .photo__paper { transform: rotate(-1.6deg); }
.photo--tilt .photo__paper img { aspect-ratio: 4 / 5; }
.photo--last .photo__paper img { aspect-ratio: 3 / 4; }
.photo.is-missing { display: none; }

/* =========================================================
   BANDS (azul)
   ========================================================= */
.band {
  position: relative;
  margin-top: 110px;
  padding: 120px 28px 72px;
  background: linear-gradient(180deg, var(--band) 0%, var(--band-2) 100%);
  color: var(--white);
  text-align: center;
  isolation: isolate;
}
.band::before { content: ""; position: absolute; inset: 0; background-image: var(--tex-grain); opacity: .9; z-index: -1; }
.band__flor { position: absolute; left: 50%; top: -112px; width: 118%; max-width: none; transform: translateX(-50%); pointer-events: none; }
.band + .photo { margin-top: -28px; position: relative; z-index: 2; }

/* fecha */
.fecha { margin: 0 auto 46px; max-width: 320px; }
.fecha__mes { font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: 14px; padding-left: .3em; margin-bottom: 12px; }
.fecha__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; }
.fecha__side { border-top: 1px solid rgba(255,255,255,.7); border-bottom: 1px solid rgba(255,255,255,.7); padding: 5px 0; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.fecha__dia { font-size: 84px; line-height: 1; padding: 0 4px; margin-top: -4px; }

/* countdown */
.countdown__title { font-weight: 700; letter-spacing: .3em; text-transform: uppercase; font-size: 14px; padding-left: .3em; margin-bottom: 8px; }
.countdown__grid { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.cd { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.cd__n { font-family: var(--f-display); font-size: 42px; line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.cd__l { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.cd__sep { font-family: var(--f-display); font-size: 34px; line-height: 1.2; opacity: .7; }
.countdown.is-today .countdown__grid { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; margin-top: 18px; padding: 10px 22px;
  border: 1px solid transparent; border-radius: 999px;
  background: var(--blue-ink); color: #fff;
  font-family: var(--f-body); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px -8px rgba(46, 60, 100, .6);
  -webkit-tap-highlight-color: transparent;
  transition: transform .18s var(--ease-out), background-color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
@media (hover: hover) { .btn:hover { background: #475C8C; box-shadow: 0 8px 20px -8px rgba(46, 60, 100, .7); } }
.btn__ico { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.75); box-shadow: none; margin-top: 30px; }
@media (hover: hover) { .btn--ghost:hover { background: rgba(255,255,255,.12); box-shadow: none; } }
.btn--light { background: #fff; color: var(--band-2); box-shadow: 0 6px 16px -8px rgba(20, 30, 60, .55); }
@media (hover: hover) { .btn--light:hover { background: #F1F4FA; } }
.btn-row { display: flex; flex-direction: column; align-items: center; gap: 0; }
.btn-row .btn { min-width: 220px; }
.btn-row .btn + .btn { margin-top: 12px; }

/* eventos */
.sec--eventos { padding-top: 72px; }
.evento .icon { margin-bottom: 12px; }
.evento__hora { font-family: var(--f-display); font-size: 17px; letter-spacing: .12em; text-transform: uppercase; }
.evento__tit { font-weight: 700; font-size: 16px; letter-spacing: .24em; text-transform: uppercase; margin: 4px 0 6px; }
.evento__lugar { font-size: 21px; font-weight: 600; line-height: 1.3; }
.evento__ref { font-style: italic; font-size: 17px; color: var(--ink-soft); }

/* itinerario */
.sec--itinerario { padding-top: 40px; padding-bottom: 80px; }
.timeline { list-style: none; margin: 34px auto 0; padding: 0; max-width: 340px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 22px; bottom: 22px; width: 1px; background: linear-gradient(var(--blue) 50%, transparent 0) 0 0 / 1px 7px repeat-y; transform: translateX(-.5px); }
.tl { position: relative; display: grid; grid-template-columns: 1fr 76px 1fr; align-items: center; min-height: 92px; }
.tl + .tl { margin-top: 8px; }
.tl__ico { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px rgba(138, 157, 199, .55); }
.tl__ico .icon { width: 42px; height: 42px; }
.tl__txt { display: flex; flex-direction: column; }
.tl--l .tl__txt { text-align: right; align-items: flex-end; }
.tl--r .tl__txt { text-align: left; align-items: flex-start; }
.tl__txt strong { font-weight: 700; font-size: 13.5px; letter-spacing: .18em; text-transform: uppercase; line-height: 1.35; }
.tl__txt time { font-family: var(--f-display); font-size: 20px; color: var(--blue-ink); }
.sec__flor { position: absolute; width: 150px; pointer-events: none; opacity: .95; }
.sec__flor--r { right: -58px; bottom: -40px; transform: rotate(-35deg) scaleX(-1); }
.sec__flor--tl { left: -60px; top: -70px; transform: rotate(20deg); }

/* vestimenta */
.sec--vestimenta { padding-top: 70px; padding-bottom: 20px; }
.sec--vestimenta .icon--xl { margin-bottom: 16px; }
.swatches { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 22px auto 0; max-width: 320px; }
.swatches li { display: block; }
.swatches li > span:first-child {
  position: relative; display: block; width: 31px; height: 31px; border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(46, 56, 82, .16), 0 2px 6px -2px rgba(46, 56, 82, .3);
}
/* raya diagonal de "no permitido", visible sobre tonos claros y oscuros */
.swatches li > span:first-child::after {
  content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1.5px; margin-left: -.75px;
  background: #A44A4A; border-radius: 1px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .75);
  transform: rotate(45deg);
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* band info */
.band--info { margin-top: 150px; }
.band--info .block .icon { margin-bottom: 10px; }
.band--info .block .eyebrow { margin-bottom: 10px; }
.band--info .body { max-width: 330px; }
.gift { margin-top: 32px; }
.gift__tit { font-weight: 700; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.account { margin-top: 14px; }
.account__label { font-style: italic; font-size: 17px; opacity: .92; }
.account__num {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 14px;
  border: 1px dashed rgba(255,255,255,.55); border-radius: 10px; background: rgba(255,255,255,.08);
  font-family: var(--f-display); font-size: 16px; letter-spacing: .06em; font-variant-numeric: tabular-nums lining-nums;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, transform .15s var(--ease-out);
}
.account__num:active { transform: scale(.97); }
@media (hover: hover) { .account__num:hover { background: rgba(255,255,255,.16); } }
.account__ico { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.account__hint { margin-top: 10px; font-size: 14px; font-style: italic; opacity: .75; }

/* sin niños + cierre */
.sec--ninos { padding-top: 80px; }
.sec--ninos .icon { margin-bottom: 10px; }
.sec--ninos .eyebrow { margin-bottom: 10px; }
.sec--cierre { padding-top: 40px; padding-bottom: 120px; }
.sec--cierre .eyebrow { color: var(--ink-soft); }
.gracias { font-size: clamp(46px, 13.4vw, 64px); color: var(--ink); margin-top: 8px; white-space: nowrap; }
.sec--cierre .eyebrow { max-width: 300px; margin: 0 auto; }
.cierre__flor { position: absolute; left: 50%; bottom: -60px; width: 112%; max-width: none; transform: translateX(-50%); pointer-events: none; z-index: 3; }
.photo--last { position: relative; z-index: 1; }

.foot { padding: 46px 20px calc(70px + env(safe-area-inset-bottom)); text-align: center; color: var(--ink-soft); }
.foot .monogram { color: var(--ink); }
.foot__date { font-weight: 600; letter-spacing: .24em; font-size: 12.5px; text-transform: uppercase; }

/* =========================================================
   Floating music button + toast
   ========================================================= */
.music-fab {
  position: fixed; z-index: 40; right: max(16px, calc(50% - 240px + 16px)); bottom: calc(18px + env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50%;
  background: rgba(96, 116, 160, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px -8px rgba(30, 40, 75, .6);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform .2s var(--ease-out), opacity .4s;
}
.music-fab:active { transform: scale(.92); }
.music-fab[hidden] { display: none; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 100%; border-radius: 2px; background: #fff; transform-origin: bottom; transform: scaleY(.3); }
.music-fab.is-playing .eq i { animation: eq 1s ease-in-out infinite alternate; }
.music-fab.is-playing .eq i:nth-child(2) { animation-duration: .7s; animation-delay: -.3s; }
.music-fab.is-playing .eq i:nth-child(3) { animation-duration: .9s; animation-delay: -.5s; }
.music-fab.is-playing .eq i:nth-child(4) { animation-duration: .6s; animation-delay: -.2s; }
@keyframes eq { from { transform: scaleY(.25); } to { transform: scaleY(1); } }

.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom));
  padding: 10px 18px; border-radius: 999px;
  background: rgba(46, 56, 82, .92); color: #fff; font-size: 16px; font-weight: 600; letter-spacing: .02em;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .35s var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Scroll reveal
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .photo[data-reveal] { transform: translateY(24px) scale(.985); }
.js .photo[data-reveal].is-in { transform: none; }

/* gentle sway on decorative florals */
.hero__flor, .band__flor, .cierre__flor { animation: sway 9s var(--ease-in-out) infinite alternate; }
@keyframes sway { from { transform: translateX(-50%) rotate(-.6deg); } to { transform: translateX(-50%) rotate(.6deg); } }

/* =========================================================
   Larger screens: column on dusty-blue backdrop
   ========================================================= */
@media (min-width: 600px) {
  body { padding: 40px 0 0; }
  .page { border-radius: 4px 4px 0 0; }
  .cover__flor { width: 380px; top: -30px; }
  .cover__inner { padding-top: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .photo[data-reveal] { transform: none; }
  .js [data-hero] { transform: none; filter: none; }
}
