/* Mikiviajes 2027 · línea del catálogo (pasaporte, sellos y billetes) */
:root {
  --crema: #F3E7D1; --azul: #1C2E5E; --rojo: #E2442F; --turquesa: #1E8C93; --mostaza: #D99A1E; --ciruela: #8E3B6E;
  --papel: #FFFFFF; --sombra: 0 1px 0 rgba(28,46,94,.12), 0 10px 22px -8px rgba(28,46,94,.42);
}
@font-face { font-family: Figtree; font-weight: 500; font-display: swap; src: url(fuentes/figtree-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 700; font-display: swap; src: url(fuentes/figtree-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: Figtree; font-weight: 800; font-display: swap; src: url(fuentes/figtree-latin-800-normal.woff2) format("woff2"); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; overflow-x: hidden;
  font-family: Figtree, "Avenir Next", Avenir, system-ui, sans-serif; color: var(--azul);
  background: var(--crema) url(guilloche.svg), var(--crema) url(papel.jpg);
  background: url(guilloche.svg), url(papel.jpg) var(--crema);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 16px 132px; position: relative;
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- fondo: sellos de pasaporte y ruta del autocar ---------- */
.fondo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; filter: grayscale(.7) blur(.4px); opacity: .42; }
.sello { position: absolute; height: auto; }
.s1  { width: 150px; left: 3%;   top: 6%; }
.s2  { width: 190px; right: 4%;  top: 5%; }
.s3  { width: 200px; left: 6%;   top: 38%; }
.s4  { width: 132px; right: 9%;  top: 30%; }
.s5  { width: 132px; left: 15%;  top: 64%; }
.s6  { width: 205px; right: 5%;  top: 57%; }
.s7  { width: 205px; left: 2%;   bottom: 6%; }
.s8  { width: 150px; right: 17%; bottom: 14%; }
.s9  { width: 190px; left: 24%;  top: 14%; display: none; }
.s10 { width: 132px; right: 25%; top: 9%;  display: none; }
@media (min-width: 1280px) { .s10 { display: block; } }
.ruta { position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; }
.ruta.movil { display: none; }

/* ---------- contenido ---------- */
main { position: relative; z-index: 1; width: 100%; max-width: 980px; text-align: center; }
h1 { margin: 0; line-height: 0; }
.logo { width: min(560px, 86vw); height: auto; filter: drop-shadow(0 6px 10px rgba(28,46,94,.18)); }
.lema {
  margin: 22px 0 34px; font-weight: 700; font-size: 15px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rojo);
}
.br-movil { display: none; }

/* ---------- billetes (botones) ---------- */
.billetes { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(2, 300px); justify-content: center; gap: 24px 28px; }
.billetes li { display: flex; justify-content: center; }
.billete {
  --c: var(--rojo); position: relative; display: flex; align-items: stretch; width: 300px; height: 78px;
  text-decoration: none; border-radius: 10px; background: var(--papel); box-shadow: var(--sombra);
  transform: rotate(var(--r, 0deg)); transition: transform .18s ease, box-shadow .18s ease;
}
.billetes li:nth-child(1) .billete { --r: -1.6deg; }
.billetes li:nth-child(2) .billete { --r: 1.2deg; }
.billetes li:nth-child(3) .billete { --r: 1deg; }
.billetes li:nth-child(4) .billete { --r: -1.2deg; }
.billete.turquesa { --c: var(--turquesa); }
.billete.azul { --c: var(--azul); }
.billete.ciruela { --c: var(--ciruela); }
.billete:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 2px 0 rgba(28,46,94,.10), 0 14px 24px -10px rgba(28,46,94,.45); }
.billete:focus-visible { outline: 3px solid var(--mostaza); outline-offset: 4px; }
.talon {
  flex: 0 0 92px; background: var(--c); color: #fff; border-radius: 10px 0 0 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.talon svg { width: 24px; height: 24px; }
.talon-txt { font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
/* troquel: línea de puntos y muescas */
.cuerpo {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 22px;
  border-left: 2px dashed rgba(28,46,94,.28);
}
.cuerpo svg { height: calc(26px * var(--alto, 1)); width: auto; max-width: 100%; }
.billete::before, .billete::after {
  content: ""; position: absolute; left: 85px; width: 14px; height: 14px; border-radius: 50%; background: var(--crema);
}
.billete::before { top: -7px; }
.billete::after { bottom: -7px; }

/* catálogo antes del lanzamiento */
.billete .despues, .billete.proximamente .antes { display: contents; }
.billete .antes, .billete.proximamente .despues { display: none; }
.billete .sr.despues, .billete.proximamente .sr.antes { display: block; }
.billete.proximamente .sr.despues, .billete:not(.proximamente) .sr.antes { display: none; }
.billete.proximamente { --c: var(--mostaza); cursor: default; }
.billete.proximamente:hover { transform: rotate(var(--r, 0deg)); box-shadow: var(--sombra); }

footer { position: relative; z-index: 1; margin-top: 38px; text-align: center; }
footer p { margin: 0; }
.nos-vemos { font-weight: 800; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--azul); opacity: .8; }
.legal { margin-top: 10px !important; font-size: 11px; font-weight: 500; }
.legal a { color: var(--azul); opacity: .55; text-decoration: none; }
.legal a:hover, .legal a:focus-visible { opacity: .9; text-decoration: underline; }

/* ---------- móvil ---------- */
@media (max-width: 760px) {
  body { padding: 52px 16px 104px; }
  .billetes { grid-template-columns: minmax(0, 320px); gap: 16px; }
  .billetes li { width: 100%; }
  .billete { width: 100%; height: 70px; --r: 0deg !important; }
  .billetes li:nth-child(odd) .billete { transform: rotate(-.6deg); }
  .billetes li:nth-child(even) .billete { transform: rotate(.6deg); }
  .cuerpo svg { height: calc(24px * var(--alto, 1)); }
  footer { margin-top: 28px; }
  .lema { font-size: 13px; letter-spacing: .12em; margin: 16px 0 24px; }
  .punto { display: none; }
  .br-movil { display: inline; }
  .s1 { width: 112px; left: -18px; top: 8px; }
  .s2 { width: 150px; right: -22px; top: 4px; }
  .s3, .s4, .s5, .s6 { display: none; }
  .s7 { width: 150px; left: -26px; bottom: 54px; }
  .s8 { width: 112px; right: -14px; bottom: 70px; }
  .ruta.ancha { display: none; }
  .ruta.movil { display: block; height: 110px; }
}
/* ---------- página de aviso legal ---------- */
body.pagina-legal { display: block; padding: 40px 16px 64px; }
.legal-texto {
  max-width: 720px; margin: 0 auto; text-align: left; background: var(--papel); border-radius: 14px;
  padding: 32px clamp(20px, 5vw, 48px) 36px; box-shadow: var(--sombra); font-size: 16px; line-height: 1.6;
}
.legal-texto .volver img { width: 200px; height: auto; display: block; margin: 0 0 18px; }
.legal-texto h1 { line-height: 1.2; font-size: 26px; margin: 0 0 8px; }
.legal-texto h2 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--rojo); margin: 28px 0 8px; }
.legal-texto ul { padding-left: 20px; }
.legal-texto li { margin: 4px 0; }
.legal-texto a { color: var(--azul); }
.volver-txt { margin-top: 28px; font-weight: 700; }
.espera { text-align: center; margin-top: 8vh; }
.espera .volver img { margin: 0 auto 18px; }
.espera-fecha { font-size: 19px; color: var(--rojo); }
@media (prefers-reduced-motion: reduce) { .billete { transition: none; } }
