/* Extensiones del sistema de diseño: Eventos (boletera), Publicidad, Wallet, perfiles fiscales y acceso social.
   Usa los mismos tokens que styles.css (tinta, grises, cobre, curvas) para sentirse una sola pieza. */

:root {
  --ticket-bg: #121110;
  --ticket-line: #ffffff1f;
  --foil: linear-gradient(120deg, #e3a374 0%, #b4653a 38%, #f1c9a5 55%, #b4653a 78%, #e3a374 100%);
  --radius-xl: 28px;
}

/* ---------- Utilidades ---------- */
.req {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--ink);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}
.band-dark {
  background: #000;
  color: #fff;
}
.band-dark .lead,
.band-dark .fine {
  color: #b9b9bf;
}
.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line);
  color: var(--text-gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.band-dark .demo-chip {
  border-color: #ffffff33;
  color: #b9b9bf;
}

/* ========== EVENTOS: boletera ========== */
.boletera {
  background: #000;
  color: #fff;
  padding: calc(var(--nav-h) + 56px) 0 96px;
  position: relative;
  overflow: hidden;
}
.boletera::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 0%, #b4653a55, transparent 70%);
  pointer-events: none;
}
.boletera .wrap {
  position: relative;
}
.boletera h1 {
  max-width: 14ch;
}
.boletera .lead {
  color: #b9b9bf;
  max-width: 40ch;
}
.access-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.access-line .tag {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid #ffffff33;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8e8ed;
}
.tag.is-foil {
  border: 0;
  color: #1d1d1f;
  background: var(--foil);
}

.tickets {
  display: grid;
  gap: 18px;
  margin-top: 54px;
}
.ticket {
  --notch: 13px;
  position: relative;
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: stretch;
  background: var(--ticket-bg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ticket-line);
  color: #fff;
  overflow: hidden;
  transition:
    transform 0.5s var(--enter),
    border-color 0.4s var(--ease),
    box-shadow 0.5s var(--enter);
  /* muescas laterales tipo boleto */
  -webkit-mask:
    radial-gradient(circle var(--notch) at 170px 0, #0000 98%, #000) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 170px 100%, #0000 98%, #000) 0 100% / 100% 51% no-repeat;
  mask:
    radial-gradient(circle var(--notch) at 170px 0, #0000 98%, #000) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle var(--notch) at 170px 100%, #0000 98%, #000) 0 100% / 100% 51% no-repeat;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 170px;
  top: 18px;
  bottom: 18px;
  border-left: 2px dashed #ffffff2e;
}
.ticket::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--foil);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .ticket:hover {
    transform: translateY(-3px);
    box-shadow: 0 34px 60px -34px #b4653a99;
  }
  .ticket:hover::after {
    opacity: 1;
  }
}
.ticket-date {
  padding: 26px 18px 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ticket-date .day {
  font-size: 64px;
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.ticket-date .mon {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e3a374;
}
.ticket-date .wk {
  font-size: 12px;
  color: #9a9aa0;
}
.ticket-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.ticket-body .kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e3a374;
}
.ticket-body h3 {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.ticket-body p {
  color: #b9b9bf;
  font-size: 14px;
  max-width: 52ch;
}
.ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
  color: #9a9aa0;
  margin-top: auto;
}
.ticket-meta b {
  color: #fff;
  font-weight: 600;
}
.ticket-cta {
  padding: 26px 28px 26px 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-width: 210px;
}
.ticket-no {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #8d8d94;
  font-variant-numeric: tabular-nums;
}
.ticket-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.ticket-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ad07a;
  box-shadow: 0 0 0 4px #4ad07a22;
}
.ticket-state.is-limited::before {
  background: #e3a374;
  box-shadow: 0 0 0 4px #e3a37422;
}
.ticket-state.is-wait::before {
  background: #9a9aa0;
  box-shadow: 0 0 0 4px #9a9aa022;
}
.ticket .pill {
  background: #fff;
  color: #1d1d1f;
}
.ticket-head {
  grid-template-columns: 210px 1fr auto;
  min-height: 250px;
  background: linear-gradient(135deg, #1b1917, #0d0c0b 60%);
  --notch: 16px;
}
.ticket-head::before {
  left: 210px;
}
.ticket-head {
  -webkit-mask:
    radial-gradient(circle 16px at 210px 0, #0000 98%, #000) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle 16px at 210px 100%, #0000 98%, #000) 0 100% / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 16px at 210px 0, #0000 98%, #000) 0 0 / 100% 51% no-repeat,
    radial-gradient(circle 16px at 210px 100%, #0000 98%, #000) 0 100% / 100% 51% no-repeat;
}
.ticket-head .ticket-date .day {
  font-size: 84px;
}
.ticket-head h3 {
  font-size: clamp(30px, 4.4vw, 52px);
}
.countdown {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}
.countdown div {
  min-width: 52px;
}
.countdown b {
  display: block;
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown small {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9aa0;
}

/* progreso hacia el pase */
.pase-progress {
  margin-top: 56px;
  padding: 30px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #16140f, #0c0b0a);
  border: 1px solid var(--ticket-line);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 36px;
  align-items: center;
}
.pase-progress h2 {
  font-size: clamp(26px, 3.4vw, 40px);
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.pase-progress .lead {
  margin-top: 10px;
}
.ring-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
}
.ring {
  --p: 0;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, #0e0d0c 76%, transparent 78% 100%),
    conic-gradient(#e3a374 calc(var(--p) * 1%), #ffffff1c 0);
  display: grid;
  place-items: center;
  flex: none;
  transition: background 0.6s var(--enter);
}
.ring b {
  font-size: 30px;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ring small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: #9a9aa0;
  text-align: center;
  text-transform: uppercase;
}
.nfc-steps {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.nfc-step {
  padding: 26px;
  border-radius: 24px;
  background: #0f0e0d;
  border: 1px solid var(--ticket-line);
}
.nfc-step .n {
  font-size: 12px;
  letter-spacing: 0.22em;
  color: #e3a374;
  font-weight: 700;
}
.nfc-step h3 {
  margin-top: 10px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.nfc-step p {
  margin-top: 8px;
  color: #b9b9bf;
  font-size: 14px;
}
.fine-print {
  margin-top: 36px;
  color: #8a8a90;
  font-size: 12px;
  max-width: 70ch;
}

/* ========== PUBLICIDAD ========== */
.ad-hero {
  padding: calc(var(--nav-h) + 70px) 0 72px;
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ad-hero::after {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -40%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #b4653a66, transparent 66%);
  pointer-events: none;
}
.ad-hero .wrap {
  position: relative;
  z-index: 1;
}
.ad-hero h1 {
  max-width: 13ch;
}
.ad-hero .lead {
  max-width: 44ch;
  color: #b9b9bf;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 54px;
}
.stat {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff0f;
  border: 1px solid #ffffff1c;
}
.stat b {
  display: block;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 650;
}
.stat span {
  display: block;
  margin-top: 8px;
  color: #b9b9bf;
  font-size: 13px;
}
.flow {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  margin-top: 38px;
}
.flow-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--gray);
}
.flow-card h3 {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.flow-card .fine {
  margin-top: 4px;
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 190px;
  margin-top: 26px;
}
.bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.bar i {
  display: block;
  width: 100%;
  min-height: 4px;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: #c9c9ce;
  transition: height 0.9s var(--enter);
}
.bar.is-peak i {
  background: linear-gradient(#e3a374, #b4653a);
}
.bar span {
  font-size: 10px;
  color: var(--text-gray);
  font-variant-numeric: tabular-nums;
}
.legend {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-gray);
}
.legend i {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: -1px;
}
.heat {
  display: grid;
  grid-template-columns: 54px repeat(7, 1fr);
  gap: 5px;
  margin-top: 22px;
  align-items: center;
  font-size: 11px;
  color: var(--text-gray);
}
.heat .c {
  height: 34px;
  border-radius: 8px;
  background: rgba(180, 101, 58, var(--a));
}
.heat .d {
  text-align: center;
  font-weight: 600;
}
.screens {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.screen-card {
  padding: 26px;
  border-radius: 26px;
  background: var(--gray);
}
.screen-card .mock {
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d1d1f, #000);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.screen-card .mock::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #ffffff14 50%, transparent 70%);
  transform: translateX(-100%);
  animation: sweep 5s var(--ease) infinite;
}
@keyframes sweep {
  to {
    transform: translateX(100%);
  }
}
.screen-card h3 {
  margin-top: 18px;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.screen-card p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-gray);
}
.standards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  margin-top: 34px;
}
.standard {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.standard .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.standard h3 {
  font-size: 17px;
  letter-spacing: -0.02em;
}
.standard p {
  margin-top: 3px;
  font-size: 14px;
  color: var(--text-gray);
}
.callout {
  margin-top: 34px;
  padding: 26px 28px;
  border-radius: 26px;
  background: #000;
  color: #fff;
}
.callout h3 {
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.03em;
}
.callout p {
  margin-top: 8px;
  color: #b9b9bf;
  max-width: 70ch;
}
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 38px;
}
.package {
  padding: 30px 26px;
  border-radius: 28px;
  background: var(--gray);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 0.5s var(--enter),
    box-shadow 0.5s var(--enter);
}
@media (hover: hover) and (pointer: fine) {
  .package:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 48px -30px #00000055;
  }
}
.package.is-top {
  background: #000;
  color: #fff;
}
.package.is-top .fine,
.package.is-top li {
  color: #b9b9bf;
}
.package h3 {
  font-size: 24px;
  letter-spacing: -0.03em;
}
.package .price {
  font-size: 40px;
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 6px;
}
.package .price small {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--text-gray);
}
.package ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 18px;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-gray);
}
.package li::before {
  content: "·";
  color: var(--copper-dark);
  padding-right: 8px;
  font-weight: 700;
}
.package.is-top li::before {
  color: #e3a374;
}
.package .pill {
  margin-top: auto;
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 38px;
  counter-reset: paso;
}
.process li {
  list-style: none;
  padding: 20px 18px;
  border-radius: 22px;
  background: var(--gray);
  counter-increment: paso;
}
.process li::before {
  content: "0" counter(paso);
  display: block;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--copper-dark);
  margin-bottom: 10px;
}
.process b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.process span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-gray);
}

/* ========== WALLET / PASE ========== */
.pass {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 0.68;
  border-radius: 24px;
  padding: 20px 20px 18px;
  background: linear-gradient(160deg, #26231f 0%, #0b0a09 70%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  box-shadow:
    0 28px 54px -30px #000,
    inset 0 1px 0 #ffffff26;
}
.pass::before {
  content: "";
  position: absolute;
  right: -30%;
  top: -22%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #b4653a99, transparent 65%);
}
.pass > * {
  position: relative;
}
.pass-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
}
.pass-top .logo {
  width: 26px;
  height: 26px;
  color: #fff;
}
.pass-name {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  margin-top: 6px;
}
.pass-meta {
  display: flex;
  gap: 24px;
}
.pass-meta small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b9b9bf;
}
.pass-meta b {
  font-size: 15px;
  font-weight: 600;
}
.pass-qr {
  margin-top: auto;
  align-self: center;
  width: 118px;
  height: 118px;
  border-radius: 14px;
  background: #fff;
  padding: 8px;
  color: #0e0e0f;
}
.pass-qr svg {
  display: block;
  width: 100%;
  height: 100%;
}
.wallet-card {
  margin-bottom: 6px;
}
.wallet-card h3 {
  margin: 4px 0 14px;
}
.wallet-actions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 99px;
  background: #000;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid #000;
  transition:
    transform 0.28s var(--enter),
    background-color 0.28s var(--ease);
}
.wallet-btn.google {
  background: #fff;
  color: #1d1d1f;
  border-color: var(--line);
}
.wallet-btn::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: var(--ic) center / contain no-repeat;
  mask: var(--ic) center / contain no-repeat;
}
.wallet-btn.apple {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3Zm0 3h18v2H3Z'/%3E%3C/svg%3E");
}
.wallet-btn.google {
  --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3Zm14 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Z'/%3E%3C/svg%3E");
}
@media (hover: hover) and (pointer: fine) {
  .wallet-btn:hover {
    transform: translateY(-1px);
  }
}
.wallet-btn:active {
  transform: scale(0.985);
}
.wallet-btn.is-done {
  background: #1f7a3d;
  border-color: #1f7a3d;
  color: #fff;
}
.wallet-showcase {
  background: var(--gray);
}
.wallet-showcase .split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}
.wallet-showcase .pass {
  margin: 0 auto;
  transform: rotate(-3deg);
}
.wallet-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 14px;
}
.wallet-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  font-size: 16px;
}
.wallet-list li::before {
  content: "";
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}
.wallet-list b {
  display: block;
  letter-spacing: -0.02em;
}
.wallet-list span {
  color: var(--text-gray);
  font-size: 14px;
}

/* ========== ACCESO SOCIAL y FOTO ========== */
.social-login {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  transition:
    transform 0.28s var(--enter),
    background-color 0.28s var(--ease),
    border-color 0.28s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .social-btn:hover {
    transform: translateY(-1px);
    background: var(--gray);
    border-color: #b8b8bd;
  }
}
.social-btn:active {
  transform: scale(0.985);
}
.social-ic {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex: none;
}
.social-ic.g {
  background: #4285f4;
}
.social-ic.a {
  background: #000;
}
.social-ic.a::before {
  content: "";
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50% 50% 46% 46%;
}
.social-ic.f {
  background: #1877f2;
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-gray);
  font-size: 12px;
  margin: 6px 0 0;
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.field-foto .photo-drop {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1.5px dashed #93939a;
  border-radius: 16px;
}
.photo-preview {
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--gray) center / cover no-repeat;
  border: 1px solid var(--line);
}

/* ========== PERFILES FISCALES ========== */
.billing {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.billing-head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: flex-end;
}
.billing-head h2 {
  margin-top: 6px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch-ui {
  width: 46px;
  height: 28px;
  border-radius: 99px;
  background: #c9c9ce;
  position: relative;
  transition: background-color 0.3s var(--ease);
}
.switch-ui::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px #0003;
  transition: transform 0.3s var(--enter);
}
.switch input:checked + .switch-ui {
  background: var(--ink);
}
.switch input:checked + .switch-ui::after {
  transform: translateX(18px);
}
.switch input:focus-visible + .switch-ui {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.fiscal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 28px;
  transition: opacity 0.3s var(--ease);
}
.fiscal-grid.is-off {
  opacity: 0.38;
  pointer-events: none;
  filter: grayscale(0.6);
}
.fcard {
  --bg: #ece6fb;
  --fg: #3f2a8c;
  --ac: #7b5ce0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 20px 16px;
  border-radius: 24px;
  background: var(--bg);
  color: var(--fg);
  min-height: 210px;
  overflow: hidden;
  transition:
    transform 0.5s var(--enter),
    box-shadow 0.5s var(--enter);
}
.fcard::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--ac);
  opacity: 0.22;
}
@media (hover: hover) and (pointer: fine) {
  .fcard:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -26px var(--ac);
  }
}
.fcard .alias {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.fcard .alias i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ac);
}
.fcard h3 {
  margin-top: 8px;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.025em;
  position: relative;
}
.fcard .rfc {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.fcard .det {
  font-size: 12px;
  opacity: 0.82;
  line-height: 1.4;
}
.fcard .def {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--fg);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}
.fcard .acts {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
}
.fcard .acts button {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.fcard .acts .rm {
  margin-left: auto;
}
.fcard.c-naranja {
  --bg: #fde9d8;
  --fg: #7a3508;
  --ac: #ee8a3a;
}
.fcard.c-azul {
  --bg: #dfecff;
  --fg: #0b3f8a;
  --ac: #3a86f0;
}
.fcard.c-verde {
  --bg: #dff3e5;
  --fg: #0c4f25;
  --ac: #2fae5b;
}
.fcard.c-ambar {
  --bg: #fff0c2;
  --fg: #5e4200;
  --ac: #f0b400;
}
.fcard.c-rosa {
  --bg: #fde2ec;
  --fg: #7d1340;
  --ac: #e84a8b;
}
.fcard-new {
  min-height: 210px;
  border-radius: 24px;
  border: 1.5px dashed #93939a;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--text-gray);
  font-weight: 600;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.fcard-new:hover:not([disabled]) {
  background: var(--gray);
  border-color: var(--ink);
  color: var(--ink);
}
.fcard-new[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.fcard-new b {
  display: block;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 6px;
  font-weight: 300;
}
.fiscal-select {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--gray);
  font-size: 14px;
  margin-top: 18px;
}
.fiscal-select .chip {
  --ac: #7b5ce0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 99px;
  background: #fff;
  font-weight: 600;
  border: 1px solid var(--line);
}
.fiscal-select .chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ac);
}

/* ---------- Adaptable ---------- */
@media (max-width: 900px) {
  .ticket,
  .ticket-head {
    grid-template-columns: 1fr;
    -webkit-mask: none;
    mask: none;
  }
  .ticket::before,
  .ticket-head::before {
    display: none;
  }
  .ticket-date {
    flex-direction: row;
    align-items: baseline;
    gap: 14px;
    padding: 22px 24px 0;
  }
  .ticket-date .day,
  .ticket-head .ticket-date .day {
    font-size: 44px;
  }
  .ticket-body {
    padding: 14px 24px;
  }
  .ticket-cta {
    flex-direction: row;
    align-items: center;
    padding: 6px 24px 22px;
    min-width: 0;
  }
  .nfc-steps,
  .stat-row,
  .screens,
  .packages {
    grid-template-columns: 1fr;
  }
  .flow,
  .pase-progress,
  .standards,
  .wallet-showcase .split-2 {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .screen-card .mock::after {
    animation: none;
  }
  .wallet-showcase .pass {
    transform: none;
  }
  .ring,
  .bar i {
    transition: none;
  }
}

/* ========== RECIBO DIGITAL ========== */
.rc-hero {
  background: #000;
  color: #fff;
  padding: calc(var(--nav-h) + 56px) 0 64px;
  position: relative;
  overflow: hidden;
}
.rc-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -50%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, #b4653a77, transparent 66%);
  pointer-events: none;
}
.rc-hero .wrap {
  position: relative;
  z-index: 1;
}
.rc-total {
  margin-top: 34px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff0f;
  border: 1px solid #ffffff1c;
  display: flex;
  flex-wrap: wrap;
  gap: 22px 40px;
  justify-content: space-between;
  align-items: flex-end;
}
.rc-label {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #e3a374;
  font-weight: 600;
}
.rc-amount {
  margin-top: 6px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.05em;
}
.rc-amount small {
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #b9b9bf;
  font-weight: 500;
}
.rc-sub {
  margin-top: 8px;
  color: #b9b9bf;
  font-size: 14px;
}
.rc-bill {
  display: grid;
  gap: 6px;
  justify-items: start;
  font-size: 13px;
  color: #b9b9bf;
}
.rc-chip {
  --ac: #7b5ce0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 99px;
  background: #fff;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 13px;
}
.rc-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ac);
}
.rc-delivery {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: grid;
  gap: 10px;
  max-width: 640px;
}
.rc-delivery li {
  display: grid;
  grid-template-columns: 14px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--gray);
}
.rc-delivery .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9c9ce;
}
.rc-delivery li.ok .dot {
  background: #2fae5b;
  box-shadow: 0 0 0 4px #2fae5b26;
}
.rc-delivery b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.015em;
}
.rc-delivery span:not(.dot) {
  font-size: 13px;
  color: var(--text-gray);
}
.rc-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.rc-act {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid transparent;
  min-height: 130px;
  transition:
    transform 0.5s var(--enter),
    box-shadow 0.5s var(--enter);
}
.rc-act b {
  font-size: 17px;
  letter-spacing: -0.025em;
}
.rc-act span {
  font-size: 13px;
  color: var(--text-gray);
}
@media (hover: hover) and (pointer: fine) {
  .rc-act:hover:not([disabled]) {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -28px #00000066;
  }
}
.rc-act[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.rc-items {
  margin-top: 30px;
  max-width: 760px;
}
.rc-item,
.rc-sum {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.rc-item b {
  display: block;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.rc-item span {
  font-size: 13px;
  color: var(--text-gray);
}
.rc-item em,
.rc-sum em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 600;
}
.rc-sum {
  padding: 10px 0;
  border: 0;
  color: var(--text-gray);
}
.rc-grand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  border-top: 2px solid var(--ink);
  margin-top: 8px;
  padding-top: 16px;
}
.rc-acc {
  margin-top: 36px;
  max-width: 760px;
  border-top: 1px solid var(--line);
}
.rc-acc details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.rc-acc summary {
  cursor: pointer;
  list-style: none;
  font-size: 19px;
  letter-spacing: -0.025em;
  display: flex;
  justify-content: space-between;
}
.rc-acc summary::after {
  content: "+";
  font-weight: 300;
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s var(--enter);
}
.rc-acc details[open] summary::after {
  transform: rotate(45deg);
}
.rc-grid {
  display: grid;
  gap: 18px;
  margin-top: 16px;
}
.rc-grid small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-gray);
}
.rc-grid b {
  display: block;
  margin-top: 2px;
}
.rc-grid span {
  font-size: 13px;
  color: var(--text-gray);
}
.rc-mono {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px;
}
.rc-people {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 760px;
}
.rc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--stone);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex: none;
}
.rc-people p {
  color: var(--text-gray);
  font-size: 14px;
  margin: 2px 0 8px;
}
.rc-next {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.rc-next p {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.02;
  font-weight: 650;
  letter-spacing: -0.045em;
}
.rc-next em {
  font-style: normal;
  color: var(--copper-dark);
}
@media (max-width: 900px) {
  .rc-actions {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .rc-actions {
    grid-template-columns: 1fr;
  }
}

/* Recibo · v2: la factura a la vista */
.rc-eyebrow {
  color: #e3a374;
}
.rc-hero h1 {
  color: #fff;
}
.rc-hero .demo-chip {
  border-color: #ffffff33;
  color: #b9b9bf;
}
.rc-demo {
  margin-top: 16px;
  color: #8a8a90;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rc-doc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.rc-doc-copy .lead {
  max-width: 46ch;
}
.rc-doc .rc-delivery {
  max-width: none;
}
.rc-paper-wrap {
  margin: 0;
  display: grid;
  gap: 22px;
  justify-items: center;
}
.rc-paper {
  display: block;
  width: min(100%, 440px);
  aspect-ratio: 900 / 1165;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 1px 2px #0000000f,
    0 30px 60px -30px #0000004d,
    0 60px 120px -60px #b4653a59;
  transform: rotate(-1.6deg);
  transition:
    transform 0.8s var(--enter),
    box-shadow 0.8s var(--enter);
}
.rc-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s var(--ease);
}
.rc-paper.is-swapping img {
  opacity: 0;
}
@media (hover: hover) and (pointer: fine) {
  .rc-paper:hover {
    transform: rotate(0deg) translateY(-6px) scale(1.01);
    box-shadow:
      0 1px 2px #0000000f,
      0 40px 80px -36px #00000059,
      0 70px 140px -60px #b4653a73;
  }
}
.rc-paper-wrap figcaption {
  display: grid;
  gap: 14px;
  justify-items: center;
}
.rc-variants {
  display: inline-flex;
  padding: 4px;
  border-radius: 99px;
  background: var(--gray);
  gap: 2px;
}
.rc-variants button {
  border: 0;
  background: none;
  padding: 8px 14px;
  border-radius: 99px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-gray);
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.rc-variants button[aria-checked="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px #0000001f;
}
.rc-variants button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.rc-acc-text {
  margin-top: 12px;
  max-width: 62ch;
}
@media (max-width: 900px) {
  .rc-doc {
    grid-template-columns: 1fr;
  }
  .rc-paper {
    width: min(100%, 380px);
  }
}
@media (max-width: 420px) {
  .rc-variants button {
    padding: 8px 10px;
    font-size: 12px;
  }
}
.rc-ico {
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--copper-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.rc-act[disabled] .rc-ico {
  stroke: var(--text-gray);
}
.rc-buy {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.rc-buy .rc-items,
.rc-side .rc-acc,
.rc-side .rc-people {
  max-width: none;
}
.rc-side .rc-acc {
  margin-top: 30px;
}
@media (max-width: 900px) {
  .rc-buy {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .rc-side .rc-acc {
    margin-top: 36px;
  }
}
@media (max-width: 560px) {
  .rc-actions {
    gap: 10px;
  }
  .rc-act {
    min-height: 0;
    display: grid;
    grid-template-columns: 26px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 20px;
  }
  .rc-act .rc-ico {
    grid-row: span 2;
    margin: 0;
  }
}

.reg-callout {
  display: grid;
  gap: 2px;
  padding: 20px 22px;
  margin: 8px 0 24px;
  border-radius: 20px;
  background: #000 radial-gradient(80% 140% at 100% 100%, #b4653a66, transparent 60%);
  color: #fff;
  transition: transform 0.5s var(--enter);
}
.reg-callout b {
  font-size: 19px;
  letter-spacing: -0.025em;
}
.reg-callout span {
  font-size: 14px;
  color: #e3a374;
}
@media (hover: hover) and (pointer: fine) {
  .reg-callout:hover {
    transform: translateY(-2px);
  }
}

/* ========== EVENTOS v2 · vidrio líquido, prisma y aberración cromática ========== */
@property --ab {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}
@property --ang {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
/* Luz ambiental detrás del vidrio: sin ella el vidrio no tiene qué refractar */
.boletera::after {
  content: "";
  position: absolute;
  width: 70vmax;
  aspect-ratio: 1;
  right: -25vmax;
  top: 30%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #b4653a3d, #5b4a8a1f 55%, transparent);
  animation: boletera-drift 24s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes boletera-drift {
  to {
    transform: translate(-12vmax, 8vmax) scale(1.1);
  }
}
.boletera .wrap {
  z-index: 1;
}

/* Insignia «Pase por constancia»: vidrio claro con canto prismático, no metal falso */
.access-line .tag.is-foil {
  position: relative;
  isolation: isolate;
  color: #fff;
  border: 0;
  background:
    linear-gradient(150deg, #ffffff2e, #ffffff0a 55%, #ffffff1a),
    #ffffff08;
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow:
    inset 0 1px 0 #ffffff66,
    inset 0 -1px 0 #ffffff14,
    0 8px 24px -10px #00000099;
  text-shadow:
    calc(var(--ab) * 1px) 0 #ff5a7a99,
    calc(var(--ab) * -1px) 0 #4fd2ff99;
  transition: --ab 0.5s var(--enter);
  cursor: default;
}
.access-line .tag.is-foil::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang), #ffb3c1, #ffe1b0, #b5f5df, #aed4ff, #d8b8ff, #ffb3c1);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box exclude,
    linear-gradient(#000 0 0);
  animation: prisma 6s linear infinite;
  opacity: 0.85;
}
.access-line .tag.is-foil::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, #ffffff55 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: overlay;
  transition: background-position 1s var(--enter);
}
.access-line .tag.is-foil:hover {
  --ab: 1.6;
}
.access-line .tag.is-foil:hover::after {
  background-position: -20% 0;
}
@keyframes prisma {
  to {
    --ang: 360deg;
  }
}

/* Boleto de vidrio */
.ticket {
  --ab: 0;
  --gx: 30%;
  --gy: 0%;
  isolation: isolate;
  background:
    radial-gradient(260px circle at var(--gx) var(--gy), #ffffff17, transparent 70%),
    linear-gradient(150deg, #ffffff12, #ffffff04 50%, #ffffff0a),
    #12110fb3;
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-color: #ffffff21;
  box-shadow:
    inset 0 1px 0 #ffffff33,
    inset calc(var(--ab) * 1.2px) 0 0 #ff5a7a40,
    inset calc(var(--ab) * -1.2px) 0 0 #4fd2ff40,
    0 30px 60px -36px #000;
  transition:
    transform 0.6s var(--enter),
    border-color 0.4s var(--ease),
    box-shadow 0.5s var(--enter),
    --ab 0.55s var(--enter);
}
.ticket-head {
  background:
    radial-gradient(320px circle at var(--gx) var(--gy), #ffffff1a, transparent 70%),
    linear-gradient(150deg, #ffffff14, #ffffff04 50%, #ffffff0a),
    #15130fb8;
}
/* Canto prismático en lugar del dorado */
.ticket::after {
  background: conic-gradient(from var(--ang), #ffb3c1, #ffe1b0, #b5f5df, #aed4ff, #d8b8ff, #ffb3c1);
  animation: prisma 7s linear infinite paused;
}
.ticket :is(h3, .day) {
  text-shadow:
    calc(var(--ab) * 1px) 0 #ff5a7a8c,
    calc(var(--ab) * -1px) 0 #4fd2ff8c;
}
.ticket .kicker,
.ticket .mon {
  text-shadow:
    calc(var(--ab) * 0.6px) 0 #ff5a7a66,
    calc(var(--ab) * -0.6px) 0 #4fd2ff66;
}
@media (hover: hover) and (pointer: fine) {
  .ticket:hover {
    --ab: 1.4;
    transform: translateY(-4px);
    border-color: #ffffff3d;
    box-shadow:
      inset 0 1px 0 #ffffff4d,
      inset calc(var(--ab) * 1.2px) 0 0 #ff5a7a40,
      inset calc(var(--ab) * -1.2px) 0 0 #4fd2ff40,
      0 40px 80px -40px #000;
  }
  .ticket:hover::after {
    opacity: 0.9;
    animation-play-state: running;
  }
}
/* Clic: la aberración crece y regresa */
.ticket.is-press {
  animation: ab-burst 0.7s var(--enter);
}
@keyframes ab-burst {
  25% {
    --ab: 6;
  }
}
.ticket.is-press .ticket-media {
  animation: media-pulse 0.7s var(--enter);
}
@keyframes media-pulse {
  25% {
    transform: scale(1.035);
    filter: saturate(1.4) contrast(1.08);
  }
}

/* Fondo vivo: video o foto detrás del vidrio */
.ticket-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.9s var(--ease);
  pointer-events: none;
}
.ticket-media video,
.ticket-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ticket-media img {
  animation: ken 16s ease-in-out infinite alternate paused;
}
.ticket-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b0a09f2 0%, #0b0a09cc 38%, #0b0a0966 70%, #0b0a0999),
    linear-gradient(180deg, transparent 50%, #0b0a09b3);
}
.ticket.is-live .ticket-media {
  opacity: 1;
}
.ticket.is-live .ticket-media img {
  animation-play-state: running;
}
@keyframes ken {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.16) translate(-2%, -1%);
  }
}
.ticket > :not(.ticket-media) {
  position: relative;
  z-index: 1;
}
@media (max-width: 760px) {
  .ticket-media::after {
    background: linear-gradient(180deg, #0b0a09cc, #0b0a09e6 60%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticket-media img {
    animation: none;
  }
  .ticket.is-press,
  .ticket.is-press .ticket-media {
    animation: none;
  }
}
/* Candado sobre fondo oscuro (Eventos): vidrio oscuro, mismo lenguaje que los boletos */
.boletera .lock-card {
  background: linear-gradient(150deg, #ffffff12, #ffffff04 55%, #ffffff0a), #12110fb3;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid #ffffff21;
  box-shadow: inset 0 1px 0 #ffffff33;
  color: #fff;
}
.boletera .lock-card .lock-ico {
  background: #ffffff10;
  border-color: #ffffff2b;
  color: #fff;
}
.boletera .lock-card span:not(.lock-ico) {
  color: #a1a1a6;
}
.boletera .lock-card .pill-dark {
  background: #fff;
  color: #1d1d1f;
}

/* ========== PREVENTA DE APERTURA ========== */
.preventa {
  position: relative;
  overflow: hidden;
  background: #0b0a09;
  color: #fff;
  padding: clamp(80px, 11vw, 140px) 0;
  isolation: isolate;
}
.preventa::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 80vmax;
  aspect-ratio: 1;
  left: 50%;
  top: 0;
  translate: -50% -55%;
  border-radius: 50%;
  background: radial-gradient(closest-side, #b4653a59, #b4653a14 55%, transparent);
  animation: pv-respira 9s ease-in-out infinite alternate;
}
@keyframes pv-respira {
  to {
    transform: scale(1.12);
    opacity: 0.8;
  }
}
.preventa-compacta {
  padding: clamp(56px, 8vw, 96px) 0;
  margin-bottom: 40px;
}
.pv-in {
  display: grid;
  gap: clamp(34px, 5vw, 56px);
}
.pv-cab {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}
.pv-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1d2b8;
  background: linear-gradient(150deg, #ffffff17, #ffffff05);
  border: 1px solid #e3a37440;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.pv-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e3a374;
  box-shadow: 0 0 0 0 #e3a37499;
  animation: pv-pulso 2.2s ease-out infinite;
}
.preventa[data-fase="cerrada"] .pv-chip i {
  animation: none;
  background: #8a8a90;
}
@keyframes pv-pulso {
  to {
    box-shadow: 0 0 0 10px #e3a37400;
  }
}
.preventa h2 {
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.pv-lead {
  color: #b9b9bf;
  font-size: clamp(16px, 1.5vw, 20px);
  max-width: 46ch;
}
.pv-k {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8f8f96;
}

/* Tablero: reloj + lugares en vidrio */
.pv-tablero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}
.pv-reloj,
.pv-lugares,
.pv-precio {
  border-radius: 28px;
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(150deg, #ffffff12, #ffffff04 50%, #ffffff0a),
    #15130fcc;
  border: 1px solid #ffffff1c;
  box-shadow: inset 0 1px 0 #ffffff26;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}
.pv-dig {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.pv-u b {
  display: block;
  overflow: hidden;
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pv-u b span {
  display: inline-block;
}
.pv-u b .rueda {
  animation: pv-rueda 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pv-rueda {
  from {
    transform: translateY(-38%);
    opacity: 0.3;
    filter: blur(2px);
  }
}
.pv-u small {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8f8f96;
}
.pv-lugares {
  display: grid;
  align-content: space-between;
  gap: 16px;
}
.pv-lugares-cab {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.pv-quedan {
  font-size: 14px;
  color: #b9b9bf;
}
.pv-quedan b {
  font-size: clamp(28px, 3vw, 38px);
  color: #fff;
  letter-spacing: -0.03em;
  margin-right: 4px;
}
/* 100 barras: cada lugar apartado se enciende */
.pv-barras {
  display: grid;
  grid-template-columns: repeat(50, 1fr);
  gap: 3px;
}
.pv-barras i {
  height: 26px;
  border-radius: 2px;
  background: #ffffff1a;
  transition: background 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pv-barras i.on {
  background: linear-gradient(180deg, #fff, #d9cfc4);
}
.pv-urge .pv-barras i.on {
  background: linear-gradient(180deg, #f1c9a5, #c17a45);
}
.pv-nota {
  font-size: 13px;
  color: #8f8f96;
}
.pv-urge .pv-nota,
.pv-urge .pv-quedan b {
  color: #f1c9a5;
}

/* Precios: cifras señuelo desenfocadas, con sello de revelación */
.pv-precios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.pv-precio {
  position: relative;
  display: grid;
  gap: 8px;
  overflow: hidden;
}
.pv-borroso {
  filter: blur(11px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: none;
}
.pv-cifra {
  font-size: clamp(46px, 6vw, 80px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 6px 0 2px;
}
.pv-antes {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: #8f8f96;
}
.pv-antes s {
  font-size: 22px;
  color: #b9b9bf;
  text-decoration-thickness: 2px;
  filter: blur(6px);
}
.pv-detalle {
  font-size: 14px;
  color: #b9b9bf;
}
.pv-sello {
  position: absolute;
  top: clamp(20px, 3vw, 30px);
  right: clamp(20px, 3vw, 30px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: #ffffff14;
  border: 1px solid #ffffff2b;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pv-sello svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.pv-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: center;
  align-items: center;
}
.pv-acciones .pill {
  min-width: 220px;
}
.pv-wa {
  color: #fff;
}
.pv-letra {
  text-align: center;
  font-size: 12px;
  color: #8d8d94;
  max-width: 70ch;
  margin: 0 auto;
  line-height: 1.6;
}
.preventa[data-fase="cerrada"] .pv-reloj,
.preventa[data-fase="cerrada"] .pv-precios {
  opacity: 0.45;
}
@media (max-width: 860px) {
  .pv-tablero,
  .pv-precios {
    grid-template-columns: 1fr;
  }
  .pv-barras {
    grid-template-columns: repeat(25, 1fr);
  }
  .pv-barras i {
    height: 18px;
  }
  .pv-sello {
    position: static;
    justify-self: start;
    margin-top: 6px;
  }
  .pv-acciones {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preventa::before,
  .pv-chip i {
    animation: none;
  }
}
/* Preventa · precios reales visibles, precio regular borroso */
.pv-cifra small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: #b9b9bf;
  margin-left: 8px;
}
.pv-ins {
  font-size: 15px;
  color: #d9d6d1;
}
.pv-ins b {
  color: #f1c9a5;
  font-weight: 600;
}
.pv-precio .pv-antes {
  flex-wrap: wrap;
  margin-top: 6px;
}
.pv-precio .pv-sello {
  position: static;
  padding: 4px 10px;
  font-size: 11px;
}
.pv-elegir {
  margin-top: 12px;
  justify-self: start;
  min-width: 200px;
}
.pv-elegir.is-off {
  background: #ffffff1a;
  color: #b9b9bf;
  box-shadow: none;
  cursor: not-allowed;
}
.pv-cta-sec {
  min-width: 220px;
}
@media (max-width: 860px) {
  .pv-elegir {
    justify-self: stretch;
  }
}

/* Revisión global: en celular el folio del boleto ocupaba una línea rota; se queda solo el estado y el botón. */
@media (max-width: 560px) {
  .ticket-cta .ticket-no { display: none; }
  .ticket-cta { justify-content: space-between; }
}

/* Contraste AA: el chip y el «/mes» heredan el tono de su fondo (claro u oscuro) en vez de un gris fijo. */
.demo-chip { color: currentColor; }
.demo-chip { color: color-mix(in srgb, currentColor 72%, transparent); }
.band-dark .demo-chip { color: #b9b9bf; }
.package .price small { color: color-mix(in srgb, currentColor 72%, transparent); }
.ticket .ticket-demo { left: auto; right: 18px; top: 18px; }
.package .price.price-cot { font-size: 20px; letter-spacing: -0.01em; }

/* Sin fecha de cierre (11 nov 2026): se oculta la cuenta regresiva y "Lugares" ocupa todo el ancho. */
.pv-reloj[hidden] {
  display: none;
}
.pv-tablero.pv-sin-reloj {
  grid-template-columns: 1fr;
}
