/* Última Vuelta · landing
   Paleta y tipografías del manual de marca (opción 1) */
:root {
  --negro: #000000;
  --rojo: #941528;
  --rojo-oscuro: #6e0f1d;
  --gris-oscuro: #474747;
  --amarillo: #e6b149;
  --papel: #f1f0eb;
  --gris-claro: #bfbfb9;
  --blanco: #ffffff;
  --wa: #25d366;

  --titulos: "Fira Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", "DejaVu Sans Condensed", sans-serif;
  --texto: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ancho: 1120px;
  --radio: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  color: var(--negro);
  background: var(--negro);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.oculto { display: none !important; }

.contenedor { width: min(100% - 40px, var(--ancho)); margin-inline: auto; }

/* ---------- Tipografía ---------- */
.etiqueta {
  margin: 0 0 10px;
  font-family: var(--titulos);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amarillo);
}
.etiqueta--rojo { color: var(--rojo); }
.banda .etiqueta--rojo { color: var(--amarillo); }

.titulo {
  margin: 0 0 18px;
  font-family: var(--titulos);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 76px);
  line-height: .92;
  text-transform: uppercase;
  letter-spacing: -.005em;
}
.titulo--blanco { color: var(--blanco); }
.bajada { font-size: 19px; margin: 0 0 26px; max-width: 34em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px;
  border: 2px solid transparent; border-radius: 999px;
  font-family: var(--titulos); font-weight: 700; font-size: 20px;
  letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 3px; }
.btn--chico { min-height: 40px; padding: 6px 18px; font-size: 17px; }
.btn--rojo { background: var(--rojo); color: var(--blanco); }
.btn--rojo:hover { background: #a91a30; }
.btn--negro { background: var(--negro); color: var(--blanco); }
.btn--negro:hover { background: var(--gris-oscuro); }
.btn--borde { border-color: var(--blanco); color: var(--blanco); }
.btn--borde:hover { background: var(--blanco); color: var(--negro); }
.btn--borde-negro { border-color: var(--negro); color: var(--negro); }
.btn--borde-negro:hover { background: var(--negro); color: var(--blanco); }
.btn--wa { background: var(--wa); color: #06331a; }
.btn--wa:hover { background: #1fbe5a; }
.btn--celeste { background: #009ee3; color: var(--blanco); }
.ico { width: 22px; height: 22px; flex: none; }
.nowrap { white-space: nowrap; }

.fila-botones { display: flex; flex-wrap: wrap; gap: 12px; }
.fila-botones--centro { justify-content: center; }

/* ---------- Barra superior ---------- */
.barra {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 24px;
  padding: 10px max(20px, calc((100% - var(--ancho)) / 2));
  background: rgba(0, 0, 0, .88);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.barra__logo img { height: 38px; width: auto; }
.barra__nav { display: flex; gap: 22px; margin-left: auto; }
.barra__nav a {
  color: var(--blanco); text-decoration: none;
  font-family: var(--titulos); font-weight: 700; font-size: 17px;
  letter-spacing: .12em; text-transform: uppercase; opacity: .8;
}
.barra__nav a:hover { opacity: 1; color: var(--amarillo); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: calc(100svh - 59px);
  display: flex; align-items: center;
  padding: 80px 0 72px;
  color: var(--blanco);
  background: var(--negro);
  text-align: center;
}
/* Fondo negro con detalles sutiles: brillo rojo abajo y patrón de octógonos casi invisible */
.hero__fondo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 108%, rgba(148, 21, 40, .45), transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 40%, rgba(255, 255, 255, .04), transparent 70%);
}
.hero__fondo::before {
  content: ""; position: absolute; inset: -40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='120' height='120'%3E%3Cpolygon points='30,4 70,4 96,30 96,70 70,96 30,96 4,70 4,30' fill='none' stroke='%23fff' stroke-width='3'/%3E%3Cpath d='M31 22h14v38a5 5 0 0 0 10 0V48h-9l16-27 16 27h-9v12a19 19 0 0 1-38 0z' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 110px 110px;
  opacity: .035;
  transform: rotate(-8deg);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 25%, #000 75%);
          mask-image: radial-gradient(ellipse at center, transparent 25%, #000 75%);
}
.hero .etiqueta { margin-bottom: 26px; }
.hero__contenido { position: relative; z-index: 2; width: min(100% - 40px, var(--ancho)); margin-inline: auto; }

.hero__marca { position: relative; width: min(100%, 640px); margin: 0 auto 44px; }
.hero__logo { margin: 0; }
.hero__logo img { width: 100%; height: auto; }

/* Elementos gráficos del manual, como en la pieza de fondo negro */
.deco { position: absolute; pointer-events: none; }
.hero__chev { width: min(9vw, 58px); height: min(15vw, 96px); right: 2%; top: max(-15vw, -96px); color: var(--rojo); }
.hero__no { width: min(20vw, 130px); height: min(20vw, 130px); left: -9%; bottom: -6%; color: var(--rojo); transform: rotate(-12deg); opacity: .9; }
.hero__star { width: min(5vw, 34px); height: min(5vw, 34px); left: -11%; bottom: 30%; color: var(--blanco); }

.hero__fecha { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 34px; }
.hero__dia {
  font-family: var(--titulos); font-weight: 800;
  font-size: clamp(80px, 12vw, 132px); line-height: .82;
  color: var(--amarillo); letter-spacing: -.01em;
}
.hero__datos {
  display: flex; flex-direction: column; gap: 2px; text-align: left;
  padding-left: 22px; border-left: 3px solid var(--rojo);
  font-family: var(--titulos); font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px); line-height: 1.15;
  letter-spacing: .08em; text-transform: uppercase;
}
.hero__acciones { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- La fecha ---------- */
.papel {
  background-color: var(--papel);
  background-image:
    radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,.025) 1px, transparent 1px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
}
.fecha { padding: 96px 0; }
.fecha__grilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.fecha__flyer { margin: 0; }
.fecha__flyer img {
  width: 100%; max-width: 440px; height: auto; margin-inline: auto;
  border-radius: var(--radio);
  box-shadow: 0 2px 0 var(--rojo), 18px 18px 0 var(--rojo), 0 30px 60px rgba(0,0,0,.25);
  transform: rotate(-2deg);
}
.datos { margin: 0 0 30px; display: grid; gap: 0; border-top: 2px solid var(--negro); }
.datos > div {
  display: grid; grid-template-columns: 150px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,.18);
}
.datos dt {
  font-family: var(--titulos); font-weight: 700; font-size: 17px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--rojo);
}
.datos dd { margin: 0; font-weight: 500; }

/* ---------- Entradas ---------- */
.entradas {
  position: relative; overflow: hidden;
  padding: 96px 0;
  background: var(--rojo);
  color: var(--blanco);
}
.entradas__octo { width: 150px; height: 150px; right: 5%; top: 56px; transform: rotate(10deg); opacity: .95; }
.entradas__excl { width: 40px; height: 100px; left: 3%; bottom: 40px; color: var(--negro); opacity: .5; }
.entradas .etiqueta { color: var(--amarillo); }
.entradas__grilla { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-top: 18px; align-items: start; position: relative; z-index: 1; }

.tarjeta {
  background: var(--blanco); color: var(--negro);
  border-radius: 22px; padding: 30px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.tarjeta--destacada { border: 4px solid var(--negro); }
.tarjeta__cabeza {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 2px solid var(--negro);
}
.tarjeta__tipo {
  font-family: var(--titulos); font-weight: 800; font-size: 32px;
  text-transform: uppercase; letter-spacing: .02em;
}
.tarjeta__precio { font-family: var(--titulos); font-weight: 800; font-size: 46px; line-height: 1; color: var(--rojo); }
.tarjeta__precio--gris { color: var(--gris-oscuro); }
.tarjeta__nota { font-size: 15px; color: var(--gris-oscuro); margin: 14px 0 0; }
.tarjeta__acciones { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tarjeta__acciones .btn { flex: 1 1 220px; }

.pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; gap: 14px; }
.pasos li { counter-increment: paso; position: relative; padding-left: 48px; }
.pasos li::before {
  content: counter(paso);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--negro); color: var(--blanco);
  font-family: var(--titulos); font-weight: 800; font-size: 19px;
}
.pasos strong { display: block; }

.alias {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding: 16px 18px;
  background: var(--papel); border: 2px dashed var(--gris-claro); border-radius: var(--radio);
}
.alias__label {
  display: block; font-family: var(--titulos); font-weight: 700; font-size: 14px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gris-oscuro);
}
.alias__valor {
  display: block; font-family: var(--titulos); font-weight: 800;
  font-size: clamp(22px, 4vw, 28px); line-height: 1.1; word-break: break-all;
}
.alias__titular { display: block; font-size: 14px; color: var(--gris-oscuro); }

.aviso-fin {
  max-width: 640px; padding: 24px 28px; border-radius: 22px;
  background: var(--negro); font-size: 19px;
}
.aviso-fin p { margin: 0; }

/* ---------- La banda ---------- */
.banda { padding: 96px 0; background: var(--negro); color: var(--blanco); }
.banda__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.banda__texto p { margin: 0 0 14px; color: #d8d8d3; }
.integrantes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.integrante {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  padding: 22px 18px 20px;
  background: #121212; border: 1px solid #262626; border-radius: var(--radio);
  border-top: 4px solid var(--rojo);
  transition: border-color .15s ease, transform .15s ease;
}
.integrante:hover { transform: translateY(-3px); border-color: #3a3a3a; border-top-color: var(--amarillo); }
.integrante__rol {
  font-family: var(--titulos); font-weight: 700; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amarillo);
}
.integrante__nombre {
  font-family: var(--titulos); font-weight: 800; font-size: 40px;
  line-height: 1; text-transform: uppercase;
}
.integrante a {
  margin-top: 8px; font-size: 14px; color: #bdbdb7; text-decoration: none;
  overflow-wrap: anywhere;
}
.integrante a:hover { color: var(--blanco); text-decoration: underline; }
.integrante a::after { content: ""; position: absolute; inset: 0; }

/* ---------- Cierre ---------- */
.cierre { position: relative; overflow: hidden; padding: 110px 0; background: var(--rojo); text-align: center; }
.cierre__patron {
  position: absolute; inset: -20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' width='120' height='120'%3E%3Cpolygon points='30,4 70,4 96,30 96,70 70,96 30,96 4,70 4,30' fill='%23fff' stroke='%23000' stroke-width='6'/%3E%3Cpath d='M31 22h14v38a5 5 0 0 0 10 0V48h-9l16-27 16 27h-9v12a19 19 0 0 1-38 0z' fill='%23000'/%3E%3C/svg%3E");
  background-size: 92px 92px;
  background-position: 0 0;
  opacity: .14;
  transform: rotate(-8deg);
}
.cierre__caja {
  position: relative; max-width: 620px; padding: 44px 30px;
  background: var(--blanco); border-radius: 26px;
  box-shadow: 14px 14px 0 var(--negro);
}
.cierre__caja .titulo { margin-bottom: 8px; }
.cierre__caja p { margin: 0 0 24px; }

/* ---------- Pie ---------- */
.pie { padding: 48px 20px 110px; text-align: center; color: #a5a5a0; font-size: 15px; }
.pie__logo { width: 170px; height: auto; margin: 0 auto 16px; }
.pie p { margin: 4px 0; }
.pie__chico { font-size: 13px; opacity: .7; }

/* ---------- WhatsApp flotante y aviso ---------- */
.wa-flotante {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 30;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--blanco);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .15s ease;
}
.wa-flotante:hover { transform: scale(1.07); }
.wa-flotante svg { width: 32px; height: 32px; }

.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 40;
  transform: translate(-50%, 20px); opacity: 0;
  padding: 12px 20px; border-radius: 999px;
  background: var(--negro); color: var(--blanco); font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.toast.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .integrantes { grid-template-columns: repeat(3, 1fr); }
  .entradas__grilla { grid-template-columns: 1fr; }
  .banda__intro { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .barra { gap: 12px; }
  .barra__nav { display: none; }
  .barra .btn { margin-left: auto; }
  .barra__logo img { height: 32px; }

  .hero { padding: 64px 0 52px; min-height: calc(100svh - 53px); }
  .hero .etiqueta { font-size: 13px; letter-spacing: .18em; margin-bottom: 30px; }
  .hero__marca { width: 84%; margin-top: 40px; margin-bottom: 40px; }
  .hero__chev { right: 0; top: -17vw; width: 8vw; height: 13.3vw; }
  .hero__no { left: -8%; bottom: -10%; }
  .hero__star { left: -9%; bottom: 34%; width: 4.5vw; height: 4.5vw; }
  .hero__fondo::before {
    background-size: 84px 84px; opacity: .05;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at center, rgba(0,0,0,.25) 20%, #000 80%);
            mask-image: radial-gradient(ellipse 80% 60% at center, rgba(0,0,0,.25) 20%, #000 80%);
  }
  .hero__datos span + span::before { content: "· "; color: var(--rojo); }
  .hero__fecha { flex-direction: column; gap: 12px; margin-bottom: 30px; }
  .hero__dia { font-size: 96px; }
  .hero__datos {
    flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 14px;
    padding: 10px 0 0; border-left: 0; border-top: 3px solid var(--rojo);
    font-size: 20px; letter-spacing: .05em; text-align: center;
  }
  .hero__acciones .btn { flex: 1 1 100%; flex-wrap: wrap; row-gap: 0; }

  .fecha, .entradas, .banda { padding: 68px 0; }
  .fecha__grilla { grid-template-columns: 1fr; gap: 44px; }
  .fecha__flyer img { max-width: 330px; }
  .datos > div { grid-template-columns: 1fr; gap: 0; }
  .fila-botones .btn { flex: 1 1 100%; }

  .entradas__excl { display: none; }
  .integrante a { font-size: 13px; }
  .entradas__octo { width: 86px; height: 86px; top: 40px; right: 18px; }
  .tarjeta { padding: 22px; }
  .tarjeta__tipo { font-size: 28px; }
  .tarjeta__precio { font-size: 40px; }

  .integrantes { grid-template-columns: repeat(2, 1fr); }
  .integrante:last-child { grid-column: 1 / -1; }
  .cierre { padding: 72px 0; }
  .cierre__caja { box-shadow: 8px 8px 0 var(--negro); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .integrante, .wa-flotante, .toast { transition: none; }
}
