/* =========================================================
   INVITACIÓN XV · LUZ
   Cambiá colores y tipografías desde acá (variables :root)
   ========================================================= */
:root {
  /* Noche */
  --noche-0: #040718;
  --noche-1: #070c26;
  --noche-2: #0c1540;
  --noche-3: #15215a;

  /* Azules de los botones y opciones (oscuros) */
  --boton: #0e1a4f;
  --boton-2: #08112f;
  --boton-hover: #16276c;

  /* Superficies claras */
  --perla: #eef0f7;
  --perla-2: #d9dded;
  --tinta: #0b1440;
  --plata: #c9cfdf;
  --celeste: #9bd4ff;
  --blanco: #ffffff;
  --texto-2: rgba(226, 232, 252, .8);

  --f-firma: "Great Vibes", cursive;
  --f-serif: "Playfair Display", serif;
  --f-script: "Italianno", cursive;
  --f-monograma: "Pinyon Script", cursive;
  --f-texto: "Inter", system-ui, sans-serif;
  --f-titulo: "Poppins", "Inter", sans-serif;

  --lento: cubic-bezier(.16, 1, .3, 1);
  --seguro-sup: env(safe-area-inset-top, 0px);
  --seguro-inf: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scrollbar-color: #2a3a86 var(--noche-0); scrollbar-width: thin; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--noche-1);
  color: var(--blanco);
  font-family: var(--f-texto);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--celeste);
}
body.bloqueado { overflow: hidden; height: 100vh; height: 100dvh; }

::selection { background: #2c4bb8; color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--noche-0); }
::-webkit-scrollbar-thumb { background: #243480; border-radius: 10px; border: 2px solid var(--noche-0); }

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.ico {
  width: 1.15em; height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible { outline: 2px solid var(--celeste); outline-offset: 3px; }

/* =========================================================
   CIELO: fondo, estrellas, fugaces y destellos
   ========================================================= */
#cielo {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -10%, #1b2c7a 0%, rgba(27,44,122,0) 62%),
    radial-gradient(90% 60% at 100% 70%, #101d62 0%, rgba(16,29,98,0) 70%),
    radial-gradient(80% 50% at 0% 100%, #0d1650 0%, rgba(13,22,80,0) 70%),
    linear-gradient(180deg, var(--noche-1) 0%, var(--noche-0) 100%);
  overflow: hidden;
}
/* Vía láctea que deriva muy lento */
#cielo::before {
  content: "";
  position: absolute;
  left: -30%; top: -30%;
  width: 160%; height: 160%;
  background:
    radial-gradient(40% 8% at 50% 50%, rgba(150,175,255,.14), transparent 70%) 0 0 / 100% 100% no-repeat;
  transform: rotate(-28deg);
  animation: via-lactea 70s ease-in-out infinite alternate;
}
@keyframes via-lactea {
  from { transform: rotate(-28deg) translate3d(-3%, -2%, 0); opacity: .7; }
  to   { transform: rotate(-24deg) translate3d(3%, 3%, 0); opacity: 1; }
}

#estrellas, #fugaces, #destellos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
#estrellas { z-index: 0; }
#fugaces { z-index: 60; }
#destellos { z-index: 80; }

.capa-estrellas {
  position: absolute;
  inset: -4%;
  will-change: transform;
}

.estrella {
  position: absolute;
  width: var(--t);
  height: var(--t);
  margin: calc(var(--t) / -2) 0 0 calc(var(--t) / -2);
  border-radius: 50%;
  background: radial-gradient(circle, var(--c, #fff) 0 28%, transparent 72%);
  opacity: var(--o);
  animation: titilar var(--d) ease-in-out infinite;
  animation-delay: var(--r);
  will-change: opacity, transform;
}
@keyframes titilar {
  0%, 100% { opacity: calc(var(--o) * .18); transform: scale(.65); }
  45%      { opacity: var(--o); transform: scale(1.2); }
  62%      { opacity: calc(var(--o) * .7); transform: scale(1); }
}

/* Estrellas que palpitan como un latido */
.estrella--latido { animation-name: latido; }
@keyframes latido {
  0%, 100% { opacity: calc(var(--o) * .25); transform: scale(.6); }
  12%      { opacity: var(--o); transform: scale(1.5); }
  26%      { opacity: calc(var(--o) * .55); transform: scale(.9); }
  40%      { opacity: var(--o); transform: scale(1.25); }
  60%      { opacity: calc(var(--o) * .35); transform: scale(.75); }
}

/* Estrellas grandes de cuatro puntas */
.estrella--cruz {
  background: none;
  animation-name: cruz;
}
.estrella--cruz::before, .estrella--cruz::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: linear-gradient(90deg, transparent, var(--c, #fff) 50%, transparent);
  border-radius: 2px;
}
.estrella--cruz::before { width: 100%; height: 1.5px; margin: -.75px 0 0 -50%; }
.estrella--cruz::after  { width: 1.5px; height: 100%; margin: -50% 0 0 -.75px;
  background: linear-gradient(180deg, transparent, var(--c, #fff) 50%, transparent); }
.estrella--cruz i {
  position: absolute;
  left: 50%; top: 50%;
  width: 22%; height: 22%;
  margin: -11% 0 0 -11%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px 2px rgba(190,220,255,.8);
}
@keyframes cruz {
  0%, 100% { opacity: calc(var(--o) * .3); transform: scale(.55) rotate(0deg); }
  50%      { opacity: var(--o); transform: scale(1.15) rotate(45deg); }
}

/* Estrellas fugaces: cabeza brillante y cola que se afina */
.fugaz {
  position: absolute;
  width: var(--l);
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, #fff 0%, rgba(190,226,255,.75) 18%, rgba(120,170,255,.25) 55%, transparent 100%);
  clip-path: polygon(0 35%, 100% 48%, 100% 52%, 0 65%);
  animation: fugaz var(--d) cubic-bezier(.4, 0, .9, .6) forwards;
  opacity: 0;
}
.fugaz::before {
  content: "";
  position: absolute;
  left: -3px; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px #fff, 0 0 16px 6px rgba(140,190,255,.7);
}
@keyframes fugaz {
  0%   { opacity: 0; transform: rotate(var(--a)) translateX(0) scaleX(.4); }
  10%  { opacity: 1; transform: rotate(var(--a)) translateX(-6vmax) scaleX(1); }
  75%  { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--dist)) scaleX(.8); }
}

/* Destellos al tocar */
.chispa {
  position: absolute;
  width: var(--s);
  height: var(--s);
  margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: var(--c, #fff);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px rgba(170,205,255,.9));
  animation: chispa var(--d, .9s) cubic-bezier(.1, .8, .3, 1) forwards;
}
@keyframes chispa {
  0%   { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(.3); }
  25%  { opacity: 1; transform: translate(calc(var(--dx) * .6), calc(var(--dy) * .6)) rotate(90deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 24px)) rotate(200deg) scale(.2); }
}

/* =========================================================
   TIPOGRAFÍAS DE NOMBRE
   ========================================================= */
.firma {
  margin: 0;
  font-family: var(--f-firma);
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
.firma--portada {
  font-size: clamp(110px, 34vw, 170px);
  color: #fff;
  text-shadow: 0 4px 30px rgba(110,150,255,.45);
}

/* =========================================================
   PORTADA: EL SOBRE
   ========================================================= */
#portada {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px calc(24px + var(--seguro-inf));
  transition:
    opacity 1.8s ease,
    transform 2.4s var(--lento),
    filter 1.8s ease,
    visibility 0s 1.8s;
}
#portada.cerrada {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.12);
  filter: blur(10px);
}

.portada__titulo {
  text-align: center;
  transition: opacity 1s ease, transform 1.4s var(--lento);
  animation: entra-titulo 1.6s var(--lento) both;
}
@keyframes entra-titulo { from { opacity: 0; transform: translateY(-18px); filter: blur(8px); } }
#portada:has(.sobre.abierto) .portada__titulo { opacity: 0; transform: translateY(-24px); }

.portada__sub {
  margin: 4px 0 clamp(34px, 7vh, 54px);
  font-family: var(--f-titulo);
  font-weight: 600;
  letter-spacing: .34em;
  padding-left: .34em;
  text-transform: uppercase;
  font-size: clamp(13px, 4vw, 18px);
  color: var(--texto-2);
}
.portada__hint {
  margin: clamp(34px, 6vh, 48px) 0 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(18px, 5vw, 23px);
  letter-spacing: .04em;
  text-align: center;
  color: var(--texto-2);
  animation: hint 2.8s ease-in-out infinite;
  transition: opacity .8s ease;
}
@keyframes hint { 0%, 100% { opacity: .55; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
#portada:has(.sobre.abierto) .portada__hint { opacity: 0; animation: none; }

.sobre {
  position: relative;
  width: min(84vw, 430px);
  aspect-ratio: 1.55 / 1;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1000px;
  -webkit-tap-highlight-color: transparent;
  animation: flotar 4.2s ease-in-out infinite;
  transform: rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg));
  transition: transform .5s var(--lento);
}
.sobre:focus-visible { outline: 2px solid var(--celeste); outline-offset: 12px; border-radius: 6px; }
@keyframes flotar {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -9px; }
}
.sobre.abierto { animation: none; }

.sobre > span { position: absolute; display: block; }

/* Resplandor azul detrás del sobre */
.sobre__brillo {
  inset: -28% -18%;
  background: radial-gradient(closest-side, rgba(90,130,255,.42), transparent 72%);
  animation: respirar 4.2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes respirar { 0%, 100% { opacity: .55; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.04); } }
.sobre.abierto .sobre__brillo { animation: none; opacity: 1; transform: scale(1.3); transition: transform 2s var(--lento), opacity 1.6s ease; }

.sobre__fondo {
  inset: 0;
  z-index: 0;
  border-radius: 6px;
  background: linear-gradient(170deg, #0c1745 0%, #070f30 100%);
  box-shadow:
    0 26px 44px -14px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(190,205,245,.22);
}

/* La carta que sale del sobre, en cámara lenta */
.sobre__carta {
  z-index: 1;
  left: 6%; right: 6%; top: 7%;
  height: 86%;
  padding: 3%;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffffff 0%, #e3e6f1 100%);
  color: var(--tinta);
  box-shadow: 0 -6px 18px rgba(0,0,0,.28);
  transition: transform 1.9s var(--lento) .8s, opacity 1.5s ease, filter 1.5s ease;
}
.carta__marco {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 5%;
  border: 1px solid rgba(11,20,64,.35);
  outline: 1px solid rgba(11,20,64,.18);
  outline-offset: -5px;
  gap: 2px;
}
.carta__xv { font-family: var(--f-monograma); font-size: clamp(36px, 10.5vw, 56px); line-height: 1; }
.carta__nombre { font-family: var(--f-firma); font-size: clamp(26px, 8vw, 40px); line-height: 1; }
.carta__fecha { margin-top: 4px; font-family: var(--f-titulo); font-weight: 500; font-size: clamp(8px, 2.2vw, 11px); letter-spacing: .3em; }

/* Frente del sobre (los bolsillos) */
.sobre__frente {
  inset: 0;
  z-index: 2;
  border-radius: 6px;
  clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%);
  background:
    linear-gradient(0deg, rgba(0,0,0,.28), transparent 45%),
    linear-gradient(135deg, #1b2b78 0%, #101c58 55%, #0b1442 100%);
}
.sobre__frente svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sobre__frente path { fill: none; stroke: rgba(200,212,250,.28); stroke-width: 1; vector-effect: non-scaling-stroke; }

/* Solapa con dos caras: por fuera azul, por dentro forro estrellado */
.sobre__solapa {
  left: 0; right: 0; top: 0;
  height: 56%;
  z-index: 3;
  transform-origin: top center;
  transform-style: preserve-3d;
  transition: transform 1.5s cubic-bezier(.45, .05, .25, 1), z-index 0s .72s;
  filter: drop-shadow(0 8px 6px rgba(0,0,0,.4));
}
.cara {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.cara--ext { background: linear-gradient(160deg, #2a3f94 0%, #182766 60%, #101c58 100%); }
.cara--int {
  transform: rotateX(180deg);
  background:
    radial-gradient(circle, rgba(255,255,255,.7) 0 1px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(circle, rgba(190,215,255,.5) 0 1px, transparent 1.6px) 11px 11px / 22px 22px,
    linear-gradient(180deg, #1d2d78 0%, #0e1a4e 100%);
}

/* Sello plateado con monograma */
.sobre__sello {
  z-index: 4;
  left: 50%;
  top: 56%;
  width: 17%;
  aspect-ratio: 1;
  translate: -50% -50%;
  display: grid !important;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #ffffff 0, #dfe3ee 38%, #8f98ae 100%);
  box-shadow:
    0 4px 10px rgba(0,0,0,.55),
    inset 0 0 0 3px rgba(255,255,255,.65),
    inset 0 0 0 5px rgba(120,130,155,.55);
  transition: opacity .7s ease, scale .8s var(--lento);
}
.sobre__sello span { font-family: var(--f-monograma); font-size: clamp(18px, 5.4vw, 27px); line-height: 1; color: #1c2858; translate: 0 1px; }
.sobre__sello::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(200,220,255,.8);
  animation: pulso-sello 2.4s ease-out infinite;
}
@keyframes pulso-sello { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }

.sobre.abierto .sobre__sello { opacity: 0; scale: .4; }
.sobre.abierto .sobre__sello::after { animation: none; }
.sobre.abierto .sobre__solapa { transform: rotateX(180deg); z-index: 0; }
.sobre.abierto .sobre__carta { transform: translateY(-58%); }

/* Entrada: la carta se acerca y la luz nos lleva a la invitación */
#portada::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 46%, rgba(255,255,255,.95) 0, rgba(170,200,255,.55) 28%, transparent 62%);
}
#portada.entrando::after { animation: destello-entrada 1.8s ease-in forwards; }
@keyframes destello-entrada { 0% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; } 100% { opacity: 0; transform: scale(1.6); } }

#portada.entrando .sobre__fondo,
#portada.entrando .sobre__frente,
#portada.entrando .sobre__solapa,
#portada.entrando .sobre__brillo {
  opacity: 0;
  transform: translateY(46px) scale(.96);
  transition: opacity 1.1s ease, transform 1.6s var(--lento);
}
#portada.entrando .sobre__carta {
  transform: translateY(-34%) scale(2.7);
  opacity: 0;
  filter: blur(6px);
  transition: transform 1.9s cubic-bezier(.5, 0, .2, 1), opacity 1.5s ease .3s, filter 1.5s ease;
}

/* =========================================================
   ESTRUCTURA GENERAL
   ========================================================= */
#invitacion {
  position: relative;
  z-index: 1;
  transition:
    opacity 2s ease .3s,
    transform 2.6s var(--lento) .3s,
    filter 2s ease .3s;
}
body.bloqueado #invitacion {
  opacity: 0;
  transform: scale(1.05);
  filter: blur(12px);
}

.bloque {
  position: relative;
  padding: 64px 24px;
  text-align: center;
}

/* Aparición en cámara lenta */
.revelar {
  opacity: 0;
  transform: translateY(46px) scale(.97);
  filter: blur(8px);
  transition:
    opacity 1.5s ease var(--retraso, 0s),
    transform 1.8s var(--lento) var(--retraso, 0s),
    filter 1.5s ease var(--retraso, 0s);
}
.revelar.visible { opacity: 1; transform: none; filter: none; }
/* Terminada la entrada lenta, las interacciones vuelven a ser ágiles */
.revelar.listo {
  transition: transform .5s var(--lento), box-shadow .4s ease, border-color .4s ease, background .4s ease, opacity .4s ease, filter .4s ease;
}

/* =========================================================
   HERO · Luz fundida con el cielo
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  padding: calc(var(--seguro-sup) + 20px) 24px calc(var(--seguro-inf) + 22px);
}

.hero__foto {
  position: absolute;
  inset: 7svh 0 0;
  z-index: -1;
  width: min(100%, 820px);
  margin-inline: auto;
  /* Máscara compuesta: se disuelve arriba, a los costados y largo abajo */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 76%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 76%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 20%;
  filter: contrast(1.06) saturate(.88) brightness(.9);
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
/* Tinte azul noche (multiplica) y calidez dorada sobre el rostro (soft-light) */
.hero__foto::before, .hero__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero__foto::before {
  z-index: 1;
  background:
    radial-gradient(110% 78% at 55% 44%, rgba(18,30,100,0) 30%, rgba(14,24,92,.7) 100%),
    linear-gradient(to bottom, rgba(10,18,70,.5), rgba(10,18,70,.18) 50%, rgba(10,18,70,.4));
  mix-blend-mode: multiply;
}
.hero__foto::after {
  z-index: 2;
  background: radial-gradient(34% 26% at 56% 46%, rgba(255,214,160,.5), transparent 75%);
  mix-blend-mode: soft-light;
}
/* Velo oscuro arriba y abajo para que el texto se lea siempre */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,9,32,.62) 0%, rgba(5,9,32,0) 32%),
    linear-gradient(to top, rgba(5,9,32,.7) 0%, rgba(5,9,32,0) 26%);
}

.hero__nombre {
  position: relative;
  z-index: 1;
  font-size: clamp(120px, 38vw, 210px);
  color: #fff;
  text-shadow: 0 3px 6px rgba(4,8,30,.5), 0 10px 44px rgba(4,8,30,.75);
  translate: 0 var(--ny, 0px);
  opacity: var(--no, 1);
  will-change: translate, opacity;
}
.hero__pie {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__frase {
  margin: 0;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(26px, 7.4vw, 36px);
  letter-spacing: .02em;
  text-shadow: 0 2px 20px rgba(4,8,30,.9);
}
.hero__cue {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  background: rgba(10,18,70,.55);
  box-shadow: inset 0 0 0 1px rgba(200,215,255,.45);
  animation: cue 2.2s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
}
.hero__cue .ico { width: 24px; height: 24px; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* Entrada del hero tras abrir el sobre */
body:not(.bloqueado) .hero__nombre { animation: hero-nombre 2.6s var(--lento) .9s backwards; }
body:not(.bloqueado) .hero__pie { animation: hero-pie 2.2s var(--lento) 1.8s backwards; }
@keyframes hero-nombre { from { opacity: 0; filter: blur(14px); transform: scale(1.12); } }
@keyframes hero-pie { from { opacity: 0; transform: translateY(24px); } }
.hero__foto { transition: opacity 3s ease .4s; }
body.bloqueado .hero__foto { opacity: 0; }

/* =========================================================
   XV + FECHA
   ========================================================= */
.bloque--fecha { padding-top: 40px; overflow: hidden; }

.xv { display: flex; align-items: center; justify-content: center; gap: 14px; }
.xv__lado {
  letter-spacing: .38em;
  text-transform: uppercase;
  font-size: clamp(14px, 4.4vw, 20px);
  color: var(--texto-2);
}
.xv__logo {
  font-family: var(--f-monograma);
  font-size: clamp(80px, 23vw, 116px);
  line-height: .9;
  padding: 0 6px;
  text-shadow: 0 4px 24px rgba(130,170,255,.6);
}

.frase {
  max-width: 22ch;
  margin: 76px auto 84px;
  font-family: var(--f-serif);
  font-size: clamp(25px, 7.4vw, 34px);
  line-height: 1.34;
  letter-spacing: .01em;
  text-wrap: balance;
}

.fecha {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
}
.fecha__lateral {
  position: relative;
  margin-bottom: 20px;
  padding: 12px 0;
  letter-spacing: .38em;
  text-indent: .38em;
  text-transform: uppercase;
  font-size: clamp(12px, 3.6vw, 17px);
  border-block: 1px solid rgba(220,230,255,.7);
}
.fecha__centro { position: relative; display: block; width: clamp(130px, 38vw, 190px); }
.fecha__arco {
  position: absolute;
  left: 50%; top: 0;
  width: 150%;
  transform: translate(-50%, 6%);
  overflow: visible;
}
.fecha__arco text {
  fill: #fff;
  font-family: var(--f-texto);
  font-size: 21px;
  letter-spacing: .12em;
}
.fecha__numero {
  display: block;
  padding-top: 26%;
  font-family: var(--f-serif);
  font-size: clamp(100px, 30vw, 150px);
  line-height: .95;
  letter-spacing: -.03em;
  text-shadow: 0 6px 30px rgba(120,160,255,.35);
}

/* =========================================================
   BOTONES
   ========================================================= */
.boton {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  margin-top: 18px;
  padding: 13px 28px;
  border: 0;
  border-radius: 999px;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(14px, 4vw, 16px);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform .35s var(--lento), box-shadow .35s ease, background .3s ease;
}
/* Brillo que cruza el botón */
.boton::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 45%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-20deg);
  transition: left .8s var(--lento);
}
.boton:hover::after, .boton:focus-visible::after { left: 130%; }
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(1px) scale(.98); transition-duration: .1s; }

.boton--azul {
  color: #fff;
  background: linear-gradient(180deg, var(--boton) 0%, var(--boton-2) 100%);
  box-shadow: 0 8px 18px -6px rgba(5,10,40,.7), inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(150,170,240,.22);
}
.boton--azul:hover { background: linear-gradient(180deg, var(--boton-hover) 0%, var(--boton) 100%); }

.boton--claro {
  color: var(--tinta);
  background: linear-gradient(180deg, #fff 0%, var(--perla-2) 100%);
  box-shadow: 0 8px 20px -6px rgba(0,0,10,.6), inset 0 1px 0 #fff;
}
.boton--fantasma {
  color: #fff;
  background: rgba(14,26,79,.55);
  box-shadow: inset 0 0 0 1px rgba(190,205,250,.4);
}
.boton--fantasma:hover { background: rgba(22,39,108,.8); }
.boton--grande { min-height: 58px; padding-inline: 36px; font-size: clamp(15px, 4.4vw, 18px); }

.boton--plata {
  margin-top: 34px;
  padding-inline: 34px;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 6.4vw, 28px);
  letter-spacing: .01em;
  text-transform: none;
  color: #0b1440;
  background: linear-gradient(180deg, #8f96a8 0%, #e7e9f0 34%, #fbfbfd 50%, #b9bfce 72%, #727a8f 100%);
  box-shadow: 0 8px 20px -6px rgba(0,0,10,.65), inset 0 1px 0 rgba(255,255,255,.7);
}

/* =========================================================
   MARIPOSAS
   ========================================================= */
.mariposa {
  position: absolute;
  width: 96px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(60,120,255,.4));
  animation: aletear 3.4s ease-in-out infinite;
}
@keyframes aletear {
  0%, 100% { scale: 1 1; translate: 0 0; }
  40%      { scale: .8 1; translate: 0 -5px; }
  55%      { scale: 1 1; translate: 0 -8px; }
}
.mariposa--libre { width: 100px; pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mariposa--libre.vuela { animation: volar 3.6s ease-in-out; }
@keyframes volar {
  0%   { translate: 0 0; rotate: 0deg; scale: 1; }
  30%  { translate: -70px -150px; rotate: -20deg; scale: .75 .9; }
  60%  { translate: 50px -230px; rotate: 18deg; scale: .6 .7; opacity: .0; }
  61%  { translate: 50px 120px; opacity: 0; }
  100% { translate: 0 0; rotate: 0deg; scale: 1; opacity: 1; }
}
.bloque--fecha .mariposa--der { right: -6px; top: 190px; transform: rotate(8deg) scaleX(.85); }
.bloque--fecha .mariposa--izq { left: -10px; top: 400px; transform: rotate(-12deg); animation-delay: -1.6s; }
.mariposa--tarjeta { width: 88px; z-index: 2; }
.mariposa--tarjeta.mariposa--der { right: -22px; top: -30px; transform: rotate(6deg); }
.mariposa--tarjeta.mariposa--izq { left: -24px; top: -26px; transform: rotate(-8deg); animation-delay: -1.2s; }

/* =========================================================
   CONTADOR
   ========================================================= */
.bloque--detalles { padding-top: 24px; padding-bottom: 90px; }

.faltan {
  margin: 0 0 6px;
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(44px, 12.4vw, 60px);
  line-height: 1.1;
}
.contador {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(4px, 2vw, 14px);
  max-width: 560px;
  margin: 0 auto 68px;
  font-family: var(--f-serif);
}
.contador__item { display: flex; flex-direction: column; align-items: center; min-width: 15%; }
.contador__item span {
  display: block;
  font-size: clamp(50px, 15vw, 82px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.contador__item span.cambia { animation: voltea .55s var(--lento); }
@keyframes voltea { 0% { opacity: 0; transform: translateY(-34%); filter: blur(4px); } 100% { opacity: 1; transform: none; filter: none; } }
.contador__item small {
  margin-top: 12px;
  font-family: var(--f-texto);
  font-size: clamp(10px, 3vw, 14px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--texto-2);
}
.contador__sep { font-size: clamp(44px, 12.4vw, 70px); line-height: 1.1; padding-top: 2px; color: var(--celeste); animation: parpadeo 2s steps(1) infinite; }
@keyframes parpadeo { 50% { opacity: .25; } }
.contador__fin { margin: -30px 0 56px; font-family: var(--f-script); font-size: 44px; }

/* =========================================================
   TARJETAS (perla, con botones azul noche)
   ========================================================= */
.tarjetas { display: grid; gap: 64px; justify-items: center; }

.tarjeta {
  --mx: 50%; --my: 0%;
  position: relative;
  width: min(86%, 380px);
  padding: 36px 26px 34px;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), rgba(110,150,255,.22), transparent 70%),
    linear-gradient(165deg, #f5f6fb 0%, var(--perla-2) 62%, #c8cee0 100%);
  color: var(--tinta);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 22px 40px -16px rgba(0,0,10,.75);
}
@media (hover: hover) {
  .tarjeta.listo:hover { transform: translateY(-5px); box-shadow: 0 30px 50px -16px rgba(0,0,10,.8); }
}

.tarjeta__icono {
  width: 68px; height: 68px;
  margin: 0 auto 10px;
  fill: none;
  stroke: var(--tinta);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tarjeta__icono--solido { fill: var(--tinta); stroke: none; }

.tarjeta h4 {
  margin: 0 0 12px;
  font-family: var(--f-titulo);
  font-weight: 700;
  font-size: clamp(21px, 6vw, 26px);
  line-height: 1.18;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-wrap: balance;
}
.tarjeta__texto {
  margin: 0;
  font-size: clamp(17px, 4.8vw, 20px);
  line-height: 1.38;
  letter-spacing: .02em;
  text-wrap: balance;
}
.tarjeta__texto--fuerte { font-family: var(--f-serif); font-size: clamp(22px, 6.2vw, 26px); line-height: 1.25; }
.tarjeta__nota {
  margin: 16px 0 0;
  font-size: clamp(15px, 4.2vw, 17px);
  line-height: 1.45;
  color: #2a3566;
  text-wrap: balance;
}
.tarjeta .boton { margin-top: 22px; }

/* Colores prohibidos, tachados */
.colores { display: flex; gap: 18px; justify-content: center; margin-top: 14px; }
.color {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  box-shadow: 0 6px 12px -4px rgba(0,0,10,.5);
}
.color::after {
  content: "";
  position: absolute;
  left: 50%; top: -6%;
  width: 3px; height: 112%;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #b3202f;
  box-shadow: 0 0 0 1.5px #f5f6fb;
  transform: rotate(45deg);
}
.color--plata { background: linear-gradient(135deg, #7d7d7d 0%, #fff 30%, #bdbdbd 55%, #f4f4f4 75%, #6b6b6b 100%); }
.color--azul { background: linear-gradient(135deg, #2c4a9c, #1a2f78); }

/* Alias */
.alias {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  min-height: 56px;
  padding: 10px 22px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--boton) 0%, var(--boton-2) 100%);
  color: #fff;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(24px, 7vw, 30px);
  letter-spacing: .1em;
  cursor: pointer;
  box-shadow: 0 8px 18px -6px rgba(5,10,40,.7), inset 0 1px 0 rgba(255,255,255,.14);
  -webkit-tap-highlight-color: transparent;
  transition: transform .3s var(--lento), background .3s ease;
}
.alias .ico { width: 22px; height: 22px; color: var(--celeste); }
.alias:hover { background: linear-gradient(180deg, var(--boton-hover), var(--boton)); }
.alias:active { transform: scale(.96); }

/* =========================================================
   LUGAR (dirección + mapa unificados)
   ========================================================= */
.bloque--lugar { padding-top: 24px; }

.titulo-seccion {
  margin: 0 0 22px;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(26px, 7.4vw, 34px);
  letter-spacing: .16em;
  text-indent: .16em;
  text-transform: uppercase;
  line-height: 1.16;
}

.lugar { max-width: 460px; margin: 0 auto 34px; }
.lugar__pin { width: 40px; height: 40px; margin: 0 auto 6px; display: block; fill: none; stroke: var(--celeste); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lugar__nombre {
  margin: 0;
  font-family: var(--f-titulo);
  font-weight: 700;
  font-size: clamp(40px, 12vw, 54px);
  letter-spacing: .14em;
  text-indent: .14em;
  line-height: 1.1;
}
.lugar__dir {
  margin: 12px 0 0;
  font-size: clamp(17px, 4.8vw, 20px);
  line-height: 1.5;
  letter-spacing: .03em;
  color: var(--texto-2);
}
.lugar__hora {
  display: inline-block;
  margin: 22px 0 0;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: var(--f-serif);
  font-size: clamp(21px, 6vw, 26px);
  box-shadow: inset 0 0 0 1px rgba(200,215,255,.45);
}
.lugar__acciones { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.lugar__acciones .boton { margin-top: 14px; }

.mapa {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 4 / 4.4;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #101a4a;
  box-shadow: 0 22px 40px -14px rgba(0,0,10,.8), 0 0 0 1px rgba(190,205,250,.3);
}
.mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* Mapa nocturno, en sintonía con el cielo */
  filter: invert(.92) hue-rotate(188deg) saturate(.75) brightness(.92) contrast(.95);
  pointer-events: none;
}
.mapa.activo iframe { pointer-events: auto; }
.mapa__tapa {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end center;
  padding: 0 0 18px;
  border: 0;
  background: linear-gradient(to top, rgba(5,9,32,.65), transparent 40%);
  font-family: var(--f-titulo);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #fff;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .4s ease;
}
.mapa.activo .mapa__tapa { opacity: 0; pointer-events: none; }

/* =========================================================
   MESAS
   ========================================================= */
.bloque--mesas { padding-top: 40px; padding-bottom: 84px; }
.mesas__sub { margin: 0 0 24px; font-size: clamp(16px, 4.5vw, 19px); letter-spacing: .04em; color: var(--texto-2); }

.buscador { position: relative; width: min(100%, 440px); margin: 0 auto; }
.buscador__lupa {
  position: absolute;
  left: 18px; top: 50%;
  width: 22px; height: 22px;
  margin-top: -11px;
  fill: none; stroke: var(--celeste); stroke-width: 1.8; stroke-linecap: round;
  pointer-events: none;
}
.buscador input {
  width: 100%;
  min-height: 56px;
  padding: 14px 52px 14px 50px;
  border: 0;
  border-radius: 14px;
  background: rgba(14,26,79,.7);
  color: #fff;
  font: inherit;
  font-size: 18px;
  letter-spacing: .03em;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(190,205,250,.4);
  transition: box-shadow .3s ease, background .3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.buscador input::-webkit-search-cancel-button { display: none; }
.buscador input::placeholder { color: rgba(220,228,255,.62); }
.buscador input:focus {
  background: rgba(18,33,100,.85);
  box-shadow: inset 0 0 0 2px var(--celeste), 0 0 0 5px rgba(155,212,255,.15);
}
.buscador__borrar {
  position: absolute;
  right: 8px; top: 50%;
  width: 40px; height: 40px;
  margin-top: -20px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1);
  cursor: pointer;
}
.buscador__borrar[hidden] { display: none; }

/* Sugerencias = resultados: nombre + mesa */
.sugerencias {
  width: min(100%, 440px);
  margin: 10px auto 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: rgba(8,14,46,.92);
  box-shadow: inset 0 0 0 1px rgba(190,205,250,.3), 0 18px 30px -12px rgba(0,0,10,.7);
  text-align: left;
}
.sugerencias[hidden] { display: none; }
.sugerencias li { margin: 0; }
.sugerencias button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease;
}
.sugerencias button:hover, .sugerencias button:focus-visible { background: rgba(60,90,200,.3); }
.sugerencias mark { background: none; color: var(--celeste); font-weight: 600; }
.sugerencias .tag {
  flex: none;
  padding: 4px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta);
  font-family: var(--f-titulo);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
}
.sugerencias__vacio { padding: 16px 14px; color: var(--texto-2); font-size: 17px; }

.buscador__estado {
  min-height: 46px;
  margin: 14px 0 20px;
  font-family: var(--f-script);
  font-size: 34px;
  line-height: 1.1;
  color: #fff;
}

/* Mesas como acordeón */
.mesas { display: grid; gap: 14px; width: min(100%, 440px); margin: 0 auto; text-align: left; }

.mesa {
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(20,34,100,.75), rgba(10,18,60,.9));
  box-shadow: inset 0 0 0 1px rgba(190,205,250,.28);
  overflow: hidden;
}
.mesa.abierta { box-shadow: inset 0 0 0 1px rgba(190,215,255,.7); }
.mesa.destacada { box-shadow: inset 0 0 0 2px var(--celeste), 0 0 28px rgba(110,170,255,.35); }
.mesas.buscando .mesa:not(.destacada) { opacity: .45; }

.mesa__cab {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mesa__num {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(160deg, #fff, #cfd5e8);
  color: var(--tinta);
  font-family: var(--f-monograma);
  font-size: 34px;
  line-height: 1;
  padding-top: 4px;
}
.mesa__tit { flex: 1; min-width: 0; }
.mesa__tit h4 {
  margin: 0;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(17px, 4.8vw, 20px);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mesa__cant { display: block; margin-top: 2px; font-size: 14px; letter-spacing: .06em; color: var(--texto-2); }
.mesa__cab .ico { width: 24px; height: 24px; color: var(--celeste); transition: transform .5s var(--lento); }
.mesa.abierta .mesa__cab .ico { transform: rotate(180deg); }

.mesa__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--lento); }
.mesa.abierta .mesa__panel { grid-template-rows: 1fr; }
.mesa__panel > div { overflow: hidden; }
.mesa ul { margin: 0; padding: 4px 14px 16px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mesa li {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  font-size: 16px;
  line-height: 1.25;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.mesa li.encontrado {
  background: #fff;
  color: var(--tinta);
  font-weight: 600;
  box-shadow: 0 0 0 2px var(--celeste), 0 0 18px rgba(130,180,255,.6);
  animation: halo 1.6s ease-in-out 2;
}
@keyframes halo { 50% { box-shadow: 0 0 0 4px var(--celeste), 0 0 28px rgba(130,180,255,.9); } }

/* =========================================================
   CONFIRMACIÓN
   ========================================================= */
.bloque--confirmar {
  padding: 72px 28px calc(84px + var(--seguro-inf));
  background:
    radial-gradient(90% 90% at 50% 0%, rgba(40,65,170,.42), transparent 70%),
    linear-gradient(180deg, rgba(8,14,46,.6), rgba(4,7,24,.95));
  border-top: 1px solid rgba(190,205,250,.22);
}
.bloque--confirmar h3 {
  margin: 0 0 20px;
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: clamp(24px, 6.8vw, 32px);
  letter-spacing: .1em;
  line-height: 1.22;
  text-wrap: balance;
}
.bloque--confirmar p {
  margin: 0 auto 30px;
  max-width: 17em;
  font-family: var(--f-serif);
  font-size: clamp(22px, 6.2vw, 28px);
  line-height: 1.3;
  text-wrap: balance;
}
.confirmar__pie { display: block; margin-top: 18px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-2); }

/* =========================================================
   FLOTANTE Y AVISO
   ========================================================= */
.flotante {
  position: fixed;
  left: 50%;
  bottom: calc(16px + var(--seguro-inf));
  z-index: 40;
  translate: -50% 140%;
  opacity: 0;
  padding: 14px 26px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, var(--perla-2));
  color: var(--tinta);
  font-family: var(--f-titulo);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 14px 28px -8px rgba(0,0,10,.8);
  transition: translate .7s var(--lento), opacity .5s ease;
  -webkit-tap-highlight-color: transparent;
}
.flotante.visible { translate: -50% 0; opacity: 1; }

.aviso {
  position: fixed;
  left: 50%;
  bottom: calc(84px + var(--seguro-inf));
  z-index: 90;
  translate: -50% 20px;
  opacity: 0;
  padding: 12px 22px;
  border-radius: 12px;
  background: #fff;
  color: var(--tinta);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 14px 28px -8px rgba(0,0,10,.8);
  pointer-events: none;
  transition: translate .5s var(--lento), opacity .4s ease;
}
.aviso.visible { translate: -50% 0; opacity: 1; }

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .estrella, .sobre, .mariposa, .portada__hint, .hero__cue, #cielo::before, .sobre__brillo, .sobre__sello::after, .contador__sep { animation: none !important; }
  .sobre__solapa, .sobre__sello, .sobre__carta, #portada, #invitacion, .revelar, .mesa__panel,
  .hero__nombre, .hero__pie, .hero__foto { transition-duration: .01s !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   PC / TABLET (desde 768px)
   ========================================================= */
@media (min-width: 768px) {
  :root { --col: 640px; --col-tarjetas: 900px; }

  .bloque { padding-inline: max(24px, calc((100% - var(--col)) / 2)); }

  .firma--portada { font-size: 190px; }
  .portada__sub { font-size: 20px; }
  .portada__hint { font-size: 23px; }
  .sobre { width: 500px; }

  .hero__nombre { font-size: 230px; }
  .hero__frase { font-size: 40px; }

  .xv { gap: 22px; }
  .xv__lado { font-size: 22px; }
  .xv__logo { font-size: 136px; }
  .frase { font-size: 40px; max-width: 20ch; margin: 96px auto 104px; }
  .fecha { max-width: 640px; }
  .fecha__lateral { font-size: 19px; }
  .fecha__centro { width: 200px; }
  .fecha__numero { font-size: 160px; }
  .boton--plata { font-size: 30px; }

  .mariposa--libre { width: 130px; }
  .bloque--fecha .mariposa--der { right: calc(50% - var(--col) / 2 - 30px); top: 220px; }
  .bloque--fecha .mariposa--izq { left: calc(50% - var(--col) / 2 - 30px); top: 440px; }

  .bloque--detalles { padding-inline: max(24px, calc((100% - var(--col-tarjetas)) / 2)); }
  .faltan { font-size: 66px; }
  .contador { max-width: 760px; margin-bottom: 72px; }
  .contador__item span { font-size: 96px; }
  .contador__sep { font-size: 80px; }
  .contador__item small { font-size: 15px; }

  .tarjetas { grid-template-columns: 1fr 1fr; gap: 72px 56px; align-items: stretch; }
  .tarjeta { width: 100%; padding: 42px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .tarjeta h4 { font-size: 24px; }
  .mariposa--tarjeta { width: 110px; }

  .mapa { aspect-ratio: 16 / 10; width: min(100%, 760px); }
  .titulo-seccion { font-size: 38px; }

  .mesas { width: min(100%, 900px); grid-template-columns: 1fr 1fr; align-items: start; gap: 18px; }
  .bloque--mesas .mesas { margin-top: 8px; }
  .mesa ul { grid-template-columns: 1fr 1fr; }

  .bloque--confirmar { padding-top: 96px; padding-bottom: 110px; }
  .bloque--confirmar h3 { font-size: 36px; }
  .bloque--confirmar p { font-size: 32px; }
  .flotante { display: none; }
}

@media (min-width: 1400px) {
  :root { --col: 700px; --col-tarjetas: 980px; }
  .frase { font-size: 44px; }
}
