/* ─── Paleta ─────────────────────────────── */
:root {
  --tan:    #c7b299;
  --gris:   #e6e6e6;
  --bordo:  #64252e;
  --carbon: #4d4d4d;
  --crema:  #f4efe6;
  --celeste:#b6c5d7;
  --celeste-clarito: #dde6f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--carbon);
  font-family: 'Courier Prime', 'Courier New', monospace;
  color: var(--carbon);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* ─── Utilidades ─────────────────────────── */
.courier   { font-family: 'Courier Prime', 'Courier New', monospace; }
.script    { font-family: 'La Belle Aurore', cursive; }
.espaciado { letter-spacing: .45em; text-indent: .45em; }
.chico     { font-size: .8rem; letter-spacing: .2em; line-height: 1.9; }
.claro     { color: var(--gris); }
.bordo     { color: var(--bordo); }

.pagina {
  width: 100%;
}

/* Las secciones pintan su fondo a pantalla completa;
   el contenido queda centrado con el ancho de la versión móvil */
.seccion > * { max-width: 456px; }

.seccion {
  width: 100%;
  padding: 4.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn {
  display: block;
  width: min(240px, 70%);
  transition: transform .15s ease;
}
.btn:hover  { transform: scale(1.04); }
.btn:active { transform: scale(.97); }

/* ─── 1 · Portada ────────────────────────── */
.portada {
  background: var(--bordo);
  min-height: 100svh;
  justify-content: space-between;
  padding-top: 5rem;
  padding-bottom: 3rem;
}
.portada-estampilla {
  position: relative;
  width: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portada-ls {
  position: absolute;
  color: var(--celeste);
  font-size: 1.1rem;
  letter-spacing: .25em;
  text-indent: .25em;
}
.desliza {
  width: 130px;
  animation: flotar 2.2s ease-in-out infinite;
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ─── 2 · Nos casamos ────────────────────── */
.hero {
  background: var(--gris);
  padding: 5.5rem 0;
  gap: 3rem;
  overflow: hidden;
}
.hero-arte {
  position: relative;
  width: 100%;
  padding-top: 2.5rem;
}
.hero-ilustracion {
  width: 118%;
  max-width: none;
  margin-left: -9%;
}
.hero-nombres {
  position: absolute;
  top: 48%; left: 50%;
  transform: translate(-50%, -55%);
  width: 78%;
}

/* ─── 3 · Fecha ──────────────────────────── */
.fecha {
  background: #cdd8e4;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}
.fecha-arte { position: relative; width: 100%; container-type: inline-size; }
.fecha-calendario { width: 100%; }
/* Reemplaza el "21:00 HS" que venía vectorizado en el calendario */
.fecha-hora {
  position: absolute;
  left: 26.5%;
  top: 52.8%;
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-weight: 700;
  font-size: 7cqw;
  color: var(--bordo);
  transform: rotate(-10deg);
  transform-origin: left top;
  white-space: nowrap;
}
.fecha-estampilla-1 {
  position: absolute;
  top: 14%; right: -4%;
  width: 34%;
  transform: rotate(6deg);
}
.fecha-estampilla-2 {
  position: absolute;
  bottom: 12%; left: -6%;
  width: 30%;
}

/* ─── 4 · Ubicación ──────────────────────── */
.ubicacion { background: var(--gris); }
.marquee {
  background: var(--bordo);
  color: var(--gris);
  overflow: hidden;
  padding: .8rem 0;
  white-space: nowrap;
}
.marquee-pista {
  display: inline-flex;
  animation: desplazar 14s linear infinite;
}
.marquee-pista span {
  font-size: .85rem;
  letter-spacing: .35em;
}
@keyframes desplazar {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ubicacion-cuerpo { gap: 1.4rem; }
.ubicacion-mesa   { width: 220px; }
.ubicacion-nombre { font-size: 3.2rem; font-weight: 400; line-height: 1.1; }
.ubicacion-direccion {
  background: var(--bordo);
  color: var(--celeste-clarito);
  padding: .7rem 1.2rem;
  max-width: 100%;
}

/* ─── 5 · Contador ───────────────────────── */
.contador {
  background: var(--celeste);
  gap: 2.5rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.contador-titulo { color: var(--crema); font-size: 1rem; }
.contador-grilla {
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 4.5vw, 2.2rem);
}
.contador-celda {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  min-width: 3.2rem;
}
.contador-numero {
  font-family: 'Courier Prime', monospace;
  font-size: clamp(2rem, 8vw, 2.6rem);
  color: #fff;
  line-height: 1;
}
.contador-unidad { color: var(--crema); }

/* ─── 6 · ¿Qué me pongo? ─────────────────── */
.vestimenta {
  background: var(--bordo);
  gap: 2.2rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.vestimenta-ilustracion { width: 260px; }
.vestimenta-titulo      { width: 280px; }
.vestimenta-texto       { font-size: .92rem; }
.vestimenta-brillar {
  display: block;
  margin-top: 1rem;
}

/* ─── 7 · Regalo ─────────────────────────── */
.regalo {
  background: var(--gris);
  gap: 2.2rem;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.regalo-titulo {
  color: var(--carbon);
  font-size: 1.05rem;
  line-height: 2.1;
  max-width: 15em;
  text-indent: 0;
}
.regalo-nota { color: var(--bordo); }
.regalo-datos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 340px;
}
.dato-banco {
  background-color: transparent;
  background-image: url('../assets/boton-2.svg');
  background-size: 100% 100%;
  border: none;
  cursor: pointer;
  padding: 1.7rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  align-items: center;
  font-family: 'Courier Prime', monospace;
  color: var(--celeste-clarito);
  transition: transform .15s ease;
}
.dato-banco:hover  { transform: scale(1.03); }
.dato-banco:active { transform: scale(.97); }
.dato-banco .dato-etiqueta {
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.dato-banco .dato-valor {
  font-size: .95rem;
  font-weight: 700;
  word-break: break-all;
}
.dato-banco .dato-copiar {
  font-size: .65rem;
  letter-spacing: .2em;
  opacity: .75;
  margin-top: .2rem;
}

/* ─── 8 · Confirmar ──────────────────────── */
.cierre {
  background: var(--carbon);
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.cierre-tarjeta {
  background: #e9eef4;
  width: 100%;
  padding: 3.5rem 2rem 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  position: relative;
}
.cierre-estampilla {
  position: absolute;
  top: -1.6rem;
  right: 1.4rem;
  width: 95px;
  transform: rotate(8deg);
}
.cierre-frase {
  font-size: 3rem;
  line-height: 1.05;
  margin-top: 1.5rem;
}
.cierre-nota { letter-spacing: .3em; }

/* ─── 9 · Footer ─────────────────────────── */
.footer {
  background: #fff;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}
.footer-logo { width: 150px; }

/* ─── Desktop ────────────────────────────── */
@media (min-width: 700px) {
  .pagina { zoom: 1.25; }
  .portada { min-height: calc(100svh / 1.25); }
  /* La ilustración del campo ocupa todo el ancho de la pantalla */
  .hero-arte { max-width: none; }
  .hero-ilustracion { width: 100%; margin-left: 0; }
  .hero-nombres { width: min(55%, 560px); }
}
@media (min-width: 1600px) {
  .pagina { zoom: 1.45; }
  .portada { min-height: calc(100svh / 1.45); }
}
