/* ============================================================
   Ticketmaster · estilos
   Tokens semánticos, componentes, estados, responsive.
   ============================================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--tm-bg);
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTYwIj48ZmlsdGVyIGlkPSJuIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC44NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNuKSIgb3BhY2l0eT0iMC4wNCIvPjwvc3ZnPg==");
  background-size: 160px 160px;
  color: var(--tm-fg);
  font-family: var(--tm-font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.tm-modal-open,
body.tm-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

::selection {
  background: var(--tm-accent);
  color: var(--tm-primary-fg);
}

:focus-visible {
  outline: 2px solid var(--tm-focus);
  outline-offset: 3px;
}

.tm-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tm-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--tm-ink);
  color: var(--tm-ice);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-out);
}

.tm-skip:focus {
  transform: translateY(0);
}

.tm-container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

/* ============================ Navbar ============================ */
.tm-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 248, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur-hover) var(--ease-out),
    border-color var(--dur-hover) var(--ease-out);
}

.tm-nav.is-scrolled {
  background: rgba(255, 253, 248, 0.96);
  border-bottom-color: var(--tm-border);
}

.tm-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.tm-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.tm-brand img {
  width: 200px;
  height: auto;
}

.tm-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.875rem;
  color: var(--tm-muted);
}

.tm-nav-links a {
  position: relative;
  padding: 12px 0;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}

.tm-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--tm-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-nav-links a:hover {
    color: var(--tm-fg);
  }

  .tm-nav-links a:hover::after {
    transform: scaleX(1);
  }
}

.tm-nav-links a.is-active {
  color: var(--tm-fg);
}

.tm-nav-links a.is-active::after {
  transform: scaleX(1);
}

.tm-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.tm-link-quiet {
  color: var(--tm-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}

.tm-cta-short,
.tm-submit-short {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .tm-link-quiet:hover {
    color: var(--tm-accent-hi);
  }
}

.tm-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--tm-fg);
  cursor: pointer;
}

.tm-menu-btn i {
  width: 22px;
  height: 22px;
}

.tm-mobile-menu {
  display: none;
  padding: 8px 20px 24px;
  border-top: 1px solid var(--tm-border);
  background: var(--tm-surface);
}

.tm-mobile-menu[hidden] {
  display: none;
}

.tm-mobile-menu nav {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.tm-mobile-menu nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  color: var(--tm-fg);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: background-color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-mobile-menu nav a:hover {
    background: rgba(255, 255, 255, 0.04);
  }
}

.tm-mobile-menu .tm-btn {
  width: 100%;
}

/* ============================ Botones ============================ */
.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-press) var(--ease-out),
    background-color var(--dur-hover) var(--ease-out),
    border-color var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out);
}

.tm-btn i {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.tm-btn-primary {
  background: var(--tm-btn-primary-bg);
  color: var(--tm-primary-fg);
  box-shadow: var(--shadow-accent);
}

@media (hover: hover) and (pointer: fine) {
  .tm-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 55px rgba(29, 78, 216, 0.24);
  }
}

.tm-btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.tm-btn-ghost {
  background: transparent;
  border-color: var(--tm-border);
  color: var(--tm-fg);
}

@media (hover: hover) and (pointer: fine) {
  .tm-btn-ghost:hover {
    border-color: var(--tm-accent);
    color: var(--tm-accent-hi);
    background: rgba(29, 78, 216, 0.06);
  }
}

.tm-btn-ghost:active {
  transform: scale(0.99);
}

.tm-btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 0.875rem;
}

.tm-btn-lg {
  min-height: 54px;
  padding: 0 30px;
  font-size: 1rem;
}

.tm-btn[disabled],
.tm-btn.is-loading {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.tm-btn.is-loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: tm-spin 0.7s linear infinite;
}

@keyframes tm-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================ Entrada del hero ============================ */
.tm-hero-anim {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .js .tm-hero-anim {
    opacity: 0;
    transform: translateY(14px);
    animation: tm-rise var(--dur-reveal) var(--ease-out) forwards;
    animation-delay: var(--delay, 0ms);
  }

  @keyframes tm-rise {
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ============================ Hero ============================ */
.tm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 9vw, 120px);
}

.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(58% 52% at 82% 4%, rgba(29, 78, 216, 0.10), transparent 68%),
    radial-gradient(36% 42% at 4% 92%, rgba(29, 78, 216, 0.04), transparent 70%);
  pointer-events: none;
}

.tm-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.tm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 6px 14px;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-full);
  background: var(--tm-surface);
  color: var(--tm-muted);
  font-size: 0.8125rem;
}

.tm-chip i {
  width: 15px;
  height: 15px;
  color: var(--tm-accent);
}

.tm-hero h1 {
  margin-top: 24px;
  font-family: var(--tm-font-display);
  font-size: clamp(2.6rem, 5vw + 1rem, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
  color: var(--tm-fg);
}

.tm-hero-lead {
  margin-top: 24px;
  max-width: 38rem;
  color: var(--tm-body);
  font-family: var(--tm-font-lead);
  font-size: clamp(1.125rem, 1.35vw, 1.3rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}

.tm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.tm-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 28px;
  color: var(--tm-muted);
  font-size: 0.875rem;
}

.tm-hero-meta strong {
  color: var(--tm-fg);
  font-weight: 600;
}

.tm-countdown {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.tm-countdown-box {
  min-width: 66px;
  padding: 10px 12px;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  background: var(--tm-surface);
  text-align: center;
}

.tm-countdown-box strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--tm-fg);
}

.tm-countdown-box span {
  display: block;
  margin-top: 4px;
  color: var(--tm-muted);
  font-size: 0.6875rem;
}

.tm-countdown.is-done .tm-countdown-box strong {
  color: var(--tm-accent);
}

.tm-visual-frame {
  position: relative;
  padding: 12px;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  background: var(--tm-surface);
  box-shadow: var(--shadow-md);
}

.tm-visual-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: rgba(10, 10, 11, 0.82);
  border: 1px solid rgba(29, 78, 216, 0.4);
  color: var(--tm-ice);
  font-size: 0.75rem;
  backdrop-filter: blur(8px);
}

/* ============================ Carrusel ============================ */
.tm-carousel {
  position: relative;
}

.tm-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  border-radius: calc(var(--radius-lg) - 4px);
  scrollbar-width: none;
}

.tm-carousel-track::-webkit-scrollbar {
  display: none;
}

.tm-slide {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--tm-surface-2);
  aspect-ratio: 4 / 3;
}

.tm-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background-color: #121110;
  background-image: linear-gradient(to top, rgba(10, 10, 11, 0.96), transparent);
}

.tm-slide-caption strong {
  display: block;
  color: var(--tm-ice);
  font-size: 1rem;
  font-weight: 600;
}

.tm-slide-caption span {
  display: block;
  margin-top: 2px;
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.8125rem;
}

.tm-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding: 0 4px;
}

.tm-dots {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.tm-carousel-count {
  display: none;
}

.tm-dot {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.tm-dot-mark {
  display: block;
  width: 20px;
  height: 7px;
  border-radius: var(--radius-full);
  background: var(--tm-border);
  transform: scaleX(0.35);
  transition: transform var(--dur-hover) var(--ease-out),
    background-color var(--dur-hover) var(--ease-out);
}

.tm-dot.is-active .tm-dot-mark {
  background: var(--tm-accent);
  transform: scaleX(1);
}

/* ============================ Secciones ============================ */
.tm-section {
  position: relative;
  padding: clamp(48px, 6vw, 88px) 0;
  scroll-margin-top: 88px;
}

.tm-section-alt {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(29, 78, 216, 0.05), transparent 60%),
    var(--tm-surface);
  border-block: 1px solid var(--tm-border-soft);
}

.tm-section-head {
  max-width: 46rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.tm-section-head h1,
.tm-section-head h2 {
  font-family: var(--tm-font-display);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}

.tm-section-head .tm-chip + h1,
.tm-section-head .tm-chip + h2 {
  margin-top: 20px;
}

.tm-section-head h1::before,
.tm-section-head h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--tm-accent);
}

.tm-section-head p:not(.tm-chip) {
  margin-top: 16px;
  max-width: 56ch;
  color: var(--tm-body);
  font-family: var(--tm-font-lead);
  font-size: clamp(1.0625rem, 1.2vw, 1.2rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ============================ Premios ============================ */
.tm-prizes {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 20px;
}

.tm-prize-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  background: var(--tm-surface);
}

.tm-prize-main img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tm-prize-main-body {
  padding: clamp(20px, 3vw, 32px);
}

.tm-prize-main-body h3 {
  font-family: var(--tm-font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  font-weight: 600;
}

.tm-prize-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.tm-prize-card {
  overflow: hidden;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-md);
  background: var(--tm-surface);
}

.tm-prize-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.tm-prize-card-body {
  padding: 16px;
}

.tm-prize-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.tm-prize-spec {
  display: block;
  margin-top: 6px;
  color: var(--tm-primary);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.tm-fineprint {
  margin-top: 18px;
  color: var(--tm-fg-muted-2);
  font-size: 0.75rem;
}

/* ============================ Tickets ============================ */
.tm-ticket-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
}

.tm-pack-ticket {
  --width: 240px;
  --height: 430px;
  --perforation-size: 12px;
  --cutouts-adjust: calc(var(--height) - 130px);
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "header"
    "body"
    "footer";
  gap: 0.75rem;
  width: var(--width);
  height: var(--height);
  padding: var(--perforation-size) 0;
  overflow: hidden;
  isolation: isolate;
  color: var(--tm-ink);
  font-family: var(--tm-font-body);
  font-size: 1rem;
  user-select: none;
  filter: drop-shadow(0 8px 10px rgba(15, 27, 45, 0.14)) drop-shadow(0 22px 32px rgba(15, 27, 45, 0.12));
  transition: transform var(--dur-hover) var(--ease-out),
    filter var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-pack-ticket:hover {
    transform: translateY(-6px);
    filter: drop-shadow(0 12px 16px rgba(15, 27, 45, 0.18)) drop-shadow(0 30px 42px rgba(15, 27, 45, 0.14));
  }
}

.tm-pack-ticket.is-featured {
  transform: translateY(-12px);
}

@media (hover: hover) and (pointer: fine) {
  .tm-pack-ticket.is-featured:hover {
    transform: translateY(-18px);
  }
}

.tm-pack-ticket-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tm-pack-ticket-shape {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  mask:
    radial-gradient(circle at 50% 0, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
    radial-gradient(circle at 50% 100%, #fff0 calc(var(--perforation-size) - 5px), #000 calc(var(--perforation-size) - 4px)),
    radial-gradient(circle 8px at left center, #000 98%, #0000 100%),
    radial-gradient(circle 8px at right center, #000 98%, #0000 100%),
    repeating-linear-gradient(90deg, #000 10px, #000 15px, #0000 16px, #0000 24px);
  mask-repeat: repeat-x, repeat-x, no-repeat, no-repeat, repeat-x;
  mask-size:
    calc(var(--perforation-size) * 2) 100%,
    calc(var(--perforation-size) * 2) 100%,
    16px 16px,
    16px 16px,
    10px 2px;
  mask-position:
    calc(0.5 * var(--perforation-size)) top,
    calc(0.5 * var(--perforation-size)) bottom,
    left var(--cutouts-adjust),
    right var(--cutouts-adjust),
    0 calc(var(--cutouts-adjust) + 7px);
  mask-composite: intersect, exclude, add, add;
}

.tm-pack-ticket-bg {
  position: absolute;
  inset: 0;
  background-color: var(--tm-papel);
  background-image:
    linear-gradient(to bottom, #ffffff59, 90%, #0b1f3a14),
    conic-gradient(
      at 60% 50%,
      #e2e8f0,
      #bfdbfe,
      #60a5fa,
      #f8fafc,
      #93c5fd,
      #1d4ed8,
      #dbeafe,
      #64748b,
      #0b1f3a,
      #bfdbfe,
      #3b82f6,
      #e2e8f0,
      #7fb3ff,
      #f8fafc
    );
  filter: url(#tm-pack-bump);
}

.tm-pack-ticket-bg::before,
.tm-pack-ticket-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.tm-pack-ticket-bg::before {
  background: radial-gradient(circle at 70% 20%, #60a5fa, #0000),
    repeating-radial-gradient(circle at 30% 80%, #fff, #bfdbfe 48px, #e2e8f0 150px);
  mix-blend-mode: color-burn;
}

.tm-pack-ticket-bg::after {
  background: linear-gradient(to bottom, #dbeafe, #3b82f6, #f8fafc, #1e40af);
  mix-blend-mode: difference;
  background-position: 0 0;
  background-size: 100% 300%;
  background-repeat: repeat;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .tm-pack-ticket:hover .tm-pack-ticket-bg::after {
    animation: tm-pack-ticket-bg 3s ease-in-out infinite alternate;
  }
}

@keyframes tm-pack-ticket-bg {
  to {
    background-position: 0 500px;
  }
}

.tm-pack-ticket-header,
.tm-pack-ticket-body,
.tm-pack-ticket-footer {
  position: relative;
  z-index: 1;
  margin: 0 14px;
  border: 1px solid rgba(15, 27, 45, 0.08);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.9);
}

.tm-pack-ticket-header {
  grid-area: header;
  padding: 10px 12px;
  text-align: center;
}

.tm-pack-ticket-kicker {
  display: block;
  padding-left: 20px;
  color: var(--tm-primary);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: left;
}

.tm-pack-ticket-label {
  margin: 0;
  font-family: var(--tm-font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 0.95;
}

.tm-pack-ticket-note {
  margin: 0;
  color: var(--tm-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.tm-pack-ticket-symbol {
  position: absolute;
  top: 8px;
  left: 8px;
  color: var(--tm-primary);
  opacity: 0.6;
}

.tm-pack-ticket-symbol svg {
  width: 16px;
  height: 16px;
}

.tm-pack-ticket-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  left: auto;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background: var(--tm-ink);
  color: var(--tm-ice);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.tm-pack-ticket-body {
  grid-area: body;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 0;
  padding: 10px 12px;
  overflow: hidden;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMjAiIGhlaWdodD0iNzAiPjx0ZXh0IHg9IjExMCIgeT0iNDAiIHRleHQtYW5jaG9yPSJtaWRkbGUiIGZvbnQtZmFtaWx5PSJHZW9yZ2lhLCBzZXJpZiIgZm9udC1zaXplPSIyMCIgbGV0dGVyLXNwYWNpbmc9IjIiIGZpbGw9IiMwRjFCMkQiIGZpbGwtb3BhY2l0eT0iMC4wNyIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyIDExMCAzNSkiPlRJQ0tFVE1BU1RFUjwvdGV4dD48L3N2Zz4=");
  background-repeat: repeat;
  background-position: center;
  background-size: 220px 70px;
}

.tm-pack-ticket-event {
  margin: 0;
  color: var(--tm-body);
  font-size: 0.75rem;
  line-height: 1.3;
}

.tm-pack-ticket-price {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.tm-pack-ticket-price small {
  display: block;
  margin-top: 4px;
  color: var(--tm-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.tm-pack-ticket-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  font-size: 0.75rem;
  line-height: 1.35;
  list-style: none;
}

.tm-pack-ticket-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.tm-pack-ticket-list svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--tm-primary);
  opacity: 0.75;
}

.tm-pack-ticket-footer {
  grid-area: footer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px;
}

.tm-pack-ticket-code {
  margin: 0;
  color: var(--tm-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.tm-pack-ticket-barcode {
  width: 74px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    var(--tm-ink) 0 1px,
    transparent 1px 3px,
    var(--tm-ink) 3px 5px,
    transparent 5px 8px
  );
  opacity: 0.7;
}

.tm-pack-ticket-btn {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--tm-ink);
  color: var(--tm-ice);
  font-size: 0.75rem;
}

@media (hover: hover) and (pointer: fine) {
  .tm-pack-ticket-btn:hover {
    background: var(--tm-ink-2);
    color: var(--tm-ice);
    transform: translateY(-1px);
  }
}

.tm-pack-ticket-btn:active {
  transform: scale(0.99);
}

/* ============================ Bono ============================ */
.tm-bonus {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--tm-accent);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(29, 78, 216, 0.10), transparent 60%),
    var(--tm-surface);
}

.tm-bonus-amount {
  padding: 24px;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-md);
  background: var(--tm-surface-2);
  text-align: center;
}

.tm-bonus-amount span {
  display: block;
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-bonus-amount strong {
  display: block;
  margin: 8px 0;
  font-family: var(--tm-font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  font-weight: 600;
  color: var(--tm-accent-hi);
}

.tm-bonus-amount small {
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-bonus h2 {
  font-family: var(--tm-font-display);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  line-height: 1.08;
  font-weight: 600;
}

.tm-bonus strong {
  color: var(--tm-accent-hi);
}

/* ============================ Ganadores ============================ */
.tm-winners {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tm-winner {
  padding: 24px;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-md);
  background: var(--tm-surface);
}

.tm-winner .tm-winner-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.12);
  color: var(--tm-accent);
  margin-bottom: 16px;
}

.tm-winner .tm-winner-mark i {
  width: 20px;
  height: 20px;
}

.tm-winner h3 {
  font-size: 1rem;
  font-weight: 600;
}

.tm-winner p {
  margin-top: 6px;
  color: var(--tm-body);
  font-size: 0.875rem;
}

.tm-winner span {
  display: block;
  margin-top: 14px;
  color: var(--tm-fg-muted-2);
  font-size: 0.75rem;
}

/* ============================ CTA final ============================ */
.tm-final {
  padding: clamp(48px, 6vw, 80px);
  border-radius: var(--radius-lg);
  background: var(--tm-cta-bg);
  color: var(--tm-ice);
  text-align: center;
}

.tm-final h2 {
  font-family: var(--tm-font-display);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.tm-final p {
  margin: 14px auto 0;
  max-width: 46ch;
  font-size: 1.0625rem;
  opacity: 1;
}

.tm-final .tm-btn {
  margin-top: 28px;
  background: var(--tm-ice);
  color: var(--tm-ink);
  border-color: transparent;
}

.tm-final-link-wrap {
  margin-top: 18px;
}

.tm-final-link {
  color: var(--tm-ice);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .tm-final .tm-btn:hover {
    background: #FFFFFF;
    color: var(--tm-accent-deep);
    transform: translateY(-1px);
  }
}

/* ============================ Footer ============================ */
.tm-footer {
  padding: clamp(36px, 4vw, 56px) 0 24px;
  border-top: 1px solid var(--tm-border);
  background: var(--tm-surface);
}

.tm-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 24px;
}

.tm-footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.tm-footer-brand img {
  width: 160px;
  height: auto;
  margin-bottom: 0;
}

.tm-footer h3 {
  margin-bottom: 8px;
  color: var(--tm-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.tm-footer ul {
  display: grid;
  gap: 6px;
  list-style: none;
}

.tm-footer a {
  color: var(--tm-fg);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-footer a:hover {
    color: var(--tm-accent-hi);
  }
}

.tm-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--tm-border-soft);
  color: var(--tm-fg-muted-2);
  font-size: 0.75rem;
}

.tm-footer-bottom p {
  margin: 0;
}

.tm-social {
  display: flex;
  gap: 10px;
}

.tm-social a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tm-border);
  border-radius: 50%;
  color: var(--tm-fg);
}

.tm-social a i,
.tm-social-icon {
  width: 18px;
  height: 18px;
}

@media (hover: hover) and (pointer: fine) {
  .tm-social a:hover {
    border-color: var(--tm-accent);
    color: var(--tm-accent-hi);
  }
}

/* ============================ WhatsApp ============================ */
.tm-wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--tm-surface-2);
  border: 1px solid var(--tm-border);
  color: var(--tm-accent-hi);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-press) var(--ease-out),
    opacity var(--dur-hover) var(--ease-out),
    border-color var(--dur-hover) var(--ease-out);
}

.tm-wa-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
}

.tm-wa-fab i {
  width: 24px;
  height: 24px;
}

@media (hover: hover) and (pointer: fine) {
  .tm-wa-fab:hover {
    transform: translateY(-2px);
    border-color: var(--tm-accent);
  }
}

.tm-wa-fab:active {
  transform: scale(0.96);
}

/* ============================ Consulta ============================ */
.tm-consulta {
  max-width: 780px;
  margin-inline: auto;
}

.tm-consulta-form {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  background: var(--tm-surface);
}

.tm-consulta-form .tm-field {
  flex: 1;
}

.tm-status {
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-sm);
  background: var(--tm-surface);
  color: var(--tm-muted);
  font-size: 0.875rem;
}

.tm-status[data-tone="success"] {
  border-color: rgba(111, 191, 139, 0.4);
  color: var(--tm-success);
}

.tm-status[data-tone="warning"] {
  border-color: rgba(29, 78, 216, 0.4);
  color: var(--tm-accent-hi);
}

.tm-status[data-tone="error"] {
  border-color: rgba(224, 106, 94, 0.4);
  color: var(--tm-error);
}

.tm-order-card {
  margin-top: 20px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-md);
  background: var(--tm-surface);
}

.tm-order-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tm-order-card-head strong {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}

.tm-order-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 0;
  padding: 16px 0;
  border-block: 1px solid var(--tm-border-soft);
}

.tm-order-meta dt {
  color: var(--tm-muted);
  font-size: 0.6875rem;
}

.tm-order-meta dd {
  margin: 4px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tm-ticket-result {
  margin-top: 20px;
}

.tm-ticket-result > span {
  display: block;
  margin-bottom: 10px;
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-ticket-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tm-ticket-chip {
  padding: 8px 12px;
  border: 1px solid var(--tm-border);
  border-radius: 8px;
  background: var(--tm-surface-2);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.tm-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 48px 24px;
  border: 1px dashed var(--tm-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.tm-empty i {
  width: 32px;
  height: 32px;
  color: var(--tm-accent);
}

.tm-empty h3 {
  font-size: 1.125rem;
}

.tm-empty p {
  max-width: 42ch;
  color: var(--tm-muted);
  font-size: 0.875rem;
}

/* ============================ Legal ============================ */
.tm-legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.tm-legal-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 6px;
}

.tm-legal-nav a {
  padding: 8px 0;
  color: var(--tm-muted);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-legal-nav a:hover {
    color: var(--tm-accent-hi);
  }
}

.tm-prose {
  max-width: 72ch;
}

.tm-prose h2 {
  margin: 48px 0 12px;
  font-family: var(--tm-font-display);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  scroll-margin-top: 100px;
}

.tm-prose h2:first-child {
  margin-top: 0;
}

.tm-prose h3 {
  margin: 28px 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
}

.tm-prose p,
.tm-prose li {
  color: var(--tm-body);
  line-height: 1.75;
}

.tm-prose p + p,
.tm-prose ul {
  margin-top: 12px;
}

.tm-prose ul {
  padding-left: 1.2em;
}

.tm-prose li + li {
  margin-top: 6px;
}

.tm-prose strong {
  color: var(--tm-fg);
}

.tm-prose a {
  color: var(--tm-accent-hi);
}

/* ============================ Modal checkout ============================ */
.tm-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: min(920px, calc(100vw - 32px));
  max-height: min(92vh, 920px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tm-fg);
}

.tm-dialog::backdrop {
  background: rgba(5, 5, 6, 0.74);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.tm-dialog-panel {
  max-height: min(92vh, 920px);
  overflow: auto;
  border: 1px solid var(--tm-border);
  border-radius: var(--radius-lg);
  background: var(--tm-surface);
  box-shadow: var(--shadow-md);
}

.tm-dialog-top {
  position: sticky;
  top: 0;
  z-index: 3;
  background: var(--tm-surface);
  border-bottom: 1px solid var(--tm-border-soft);
}

.tm-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--tm-border-soft);
  background: var(--tm-surface);
}

.tm-dialog-kicker {
  margin-bottom: 4px;
  color: var(--tm-accent);
  font-size: 0.8125rem;
}

.tm-dialog-head h2 {
  font-family: var(--tm-font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 600;
}

.tm-icon-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tm-border);
  border-radius: 50%;
  background: transparent;
  color: var(--tm-fg);
  cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-icon-btn:hover {
    border-color: var(--tm-accent);
    color: var(--tm-accent-hi);
  }
}

.tm-icon-btn i {
  width: 20px;
  height: 20px;
}

.tm-steps {
  display: flex;
  gap: 18px;
  padding: 14px 28px;
  margin: 0;
  list-style: none;
}

.tm-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tm-muted);
  font-size: 0.8125rem;
}

.tm-steps li span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--tm-border);
  border-radius: 50%;
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.tm-steps li.is-active {
  color: var(--tm-fg);
}

.tm-steps li.is-active span {
  border-color: var(--tm-ink);
  background: var(--tm-ink);
  color: var(--tm-ice);
}

.tm-dialog-body {
  padding: 28px;
}

.tm-step-title {
  margin-bottom: 24px;
  font-family: var(--tm-font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  font-weight: 600;
}

.tm-pack-choice {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tm-pack-option {
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 14px;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  background: var(--tm-surface-2);
  color: var(--tm-fg);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease-out),
    background-color var(--dur-hover) var(--ease-out);
}

.tm-pack-option.is-selected {
  border-color: var(--tm-accent);
  background: rgba(29, 78, 216, 0.08);
}

.tm-pack-option-label {
  font-weight: 700;
}

.tm-pack-option-qty {
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-pack-option-price {
  font-size: 1.125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tm-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 20px 0;
  overflow: hidden;
  border: 1px solid var(--tm-border-soft);
  border-radius: 12px;
  background: var(--tm-border-soft);
}

.tm-summary div {
  padding: 14px 16px;
  background: var(--tm-surface);
}

.tm-summary dt {
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-summary dd {
  margin: 4px 0 0;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.tm-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.tm-pay-card {
  padding: 16px;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  background: var(--tm-surface-2);
}

.tm-pay-card h4 {
  margin-bottom: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.tm-pay-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.tm-pay-card dl div {
  display: grid;
  gap: 2px;
}

.tm-pay-card dt {
  color: var(--tm-muted);
  font-size: 0.6875rem;
}

.tm-pay-card dd {
  margin: 0;
  font-size: 0.8125rem;
  word-break: break-word;
}

.tm-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  margin-top: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--tm-accent-hi);
  font-size: 0.8125rem;
  cursor: pointer;
}

.tm-copy i {
  width: 15px;
  height: 15px;
}

.tm-copy.is-copied {
  color: var(--tm-success);
}

.tm-copy:disabled,
.tm-copy[aria-disabled="true"] {
  color: var(--tm-fg-muted-2);
  cursor: not-allowed;
  opacity: 0.65;
}

.tm-note {
  color: var(--tm-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.tm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.tm-dialog-actions-center {
  justify-content: center;
}

.tm-dialog-actions-sticky {
  position: sticky;
  bottom: 0;
  z-index: 2;
  margin: 24px -28px -28px;
  padding: 14px 28px;
  border-top: 1px solid var(--tm-border-soft);
  background: var(--tm-surface);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}

.tm-sticky-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  color: var(--tm-muted);
  font-size: 0.8125rem;
}

.tm-sticky-summary strong {
  color: var(--tm-fg);
  font-size: 0.9375rem;
}

.tm-sticky-summary [data-summary-usd],
.tm-sticky-summary [data-summary-ves] {
  color: var(--tm-fg);
  font-variant-numeric: tabular-nums;
}

.tm-sticky-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.tm-order-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
  color: var(--tm-muted);
  font-size: 0.8125rem;
}

.tm-order-mini strong {
  color: var(--tm-fg);
}

.tm-order-mini [data-summary-usd],
.tm-order-mini [data-summary-ves] {
  color: var(--tm-fg);
  font-variant-numeric: tabular-nums;
}

.tm-demo-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
  padding: 12px 14px;
  border: 1px solid rgba(29, 78, 216, 0.3);
  border-radius: 10px;
  background: rgba(29, 78, 216, 0.07);
  color: var(--tm-accent-deep);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.tm-demo-banner i {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  margin-top: 2px;
}

.tm-mechanic-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}

.tm-mechanic-note i {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  margin-top: 3px;
  color: var(--tm-accent);
}

.tm-mechanic-note a {
  color: var(--tm-accent-hi);
}

.tm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tm-field {
  display: grid;
  gap: 8px;
}

.tm-field > span:not(.tm-field-error),
.tm-field-label {
  color: var(--tm-fg);
  font-size: 0.8125rem;
  font-weight: 600;
}

.tm-field input,
.tm-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--tm-border);
  border-radius: 10px;
  background: var(--tm-bg);
  color: var(--tm-fg);
  font-size: 0.9375rem;
  transition: border-color var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out);
}

.tm-field input::placeholder {
  color: var(--tm-fg-muted-2);
}

.tm-field input:focus,
.tm-field select:focus {
  border-color: var(--tm-accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.16);
  outline: none;
}

.tm-field input.tm-invalid,
.tm-field select.tm-invalid {
  border-color: var(--tm-error);
}

.tm-field-error {
  color: var(--tm-error);
  font-size: 0.75rem;
  line-height: 1.4;
}

.tm-upload {
  margin-top: 16px;
}

.tm-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tm-dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 28px;
  border: 1px dashed var(--tm-border);
  border-radius: 12px;
  background: var(--tm-bg);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--dur-hover) var(--ease-out),
    background-color var(--dur-hover) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .tm-dropzone:hover {
    border-color: var(--tm-accent);
    background: rgba(29, 78, 216, 0.05);
  }
}

.tm-dropzone.is-dragover {
  border-color: var(--tm-accent);
  background: rgba(29, 78, 216, 0.08);
}

.tm-file-input:focus-visible + .tm-dropzone {
  outline: 2px solid var(--tm-focus);
  outline-offset: 3px;
}

.tm-dropzone i {
  width: 28px;
  height: 28px;
  color: var(--tm-accent);
}

.tm-dropzone-title {
  font-weight: 600;
}

.tm-dropzone-help {
  color: var(--tm-muted);
  font-size: 0.8125rem;
}

.tm-dropzone img {
  max-height: 180px;
  margin-top: 8px;
  border-radius: 8px;
}

.tm-dropzone.has-file i {
  display: none;
}

.tm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--tm-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.tm-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--tm-accent);
  flex: 0 0 auto;
}

.tm-check a {
  color: var(--tm-accent-hi);
}

.tm-check.tm-invalid {
  color: var(--tm-error);
}

.tm-form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(224, 106, 94, 0.4);
  border-radius: 10px;
  background: rgba(224, 106, 94, 0.08);
  color: var(--tm-error);
  font-size: 0.875rem;
}

.tm-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.tm-success > p {
  max-width: 46ch;
  color: var(--tm-muted);
  font-size: 0.875rem;
}

.tm-success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background: rgba(111, 191, 139, 0.12);
  color: var(--tm-success);
}

.tm-success-icon i {
  width: 28px;
  height: 28px;
}

.tm-order-code {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  justify-self: center;
  padding: 12px 24px;
  border: 1px solid var(--tm-border);
  border-radius: 12px;
  background: var(--tm-surface-2);
}

.tm-order-code span {
  color: var(--tm-muted);
  font-size: 0.75rem;
}

.tm-order-code strong {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
}

.tm-order-status {
  color: var(--tm-accent);
  font-weight: 600;
}

.tm-close-success {
  justify-self: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ============================ Responsive ============================ */
@media (max-width: 1080px) {
  .tm-nav-links {
    display: none;
  }

  .tm-nav-actions .tm-link-quiet {
    display: none;
  }

  .tm-menu-btn {
    display: inline-flex;
  }

  .tm-mobile-menu:not([hidden]) {
    display: block;
  }

  .tm-hero-grid {
    grid-template-columns: 1fr;
  }

  .tm-hero-visual {
    max-width: 680px;
  }

  .tm-prizes {
    grid-template-columns: 1fr;
  }

  .tm-prize-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tm-legal-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tm-legal-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tm-border-soft);
  }
}

@media (max-width: 900px) {
  .tm-bonus {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .tm-winners {
    grid-template-columns: 1fr;
  }

  .tm-ticket-grid {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .tm-pack-ticket {
    --width: min(100%, 300px);
  }

  .tm-pack-ticket.is-featured {
    transform: none;
  }

  .tm-pay-grid {
    grid-template-columns: 1fr;
  }

  .tm-order-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tm-container {
    width: min(100% - 32px, 1240px);
  }

  .tm-cta-long,
  .tm-submit-long {
    display: none;
  }

  .tm-cta-short,
  .tm-submit-short {
    display: inline;
  }

  .tm-dots {
    display: none;
  }

  .tm-carousel-count {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: var(--tm-muted);
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
  }

  .tm-nav-inner {
    width: min(100% - 32px, 1240px);
    height: 68px;
  }

  .tm-brand img {
    width: 150px;
  }

  .tm-nav-actions {
    gap: 10px;
  }

  .tm-hero {
    padding-top: 36px;
  }

  .tm-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .tm-hero-actions .tm-btn {
    width: 100%;
  }

  .tm-countdown {
    gap: 6px;
  }

  .tm-countdown-box {
    flex: 1;
    min-width: 0;
    padding: 8px 6px;
  }

  .tm-countdown-box strong {
    font-size: 1.25rem;
  }

  .tm-prize-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .tm-prize-card-body {
    padding: 12px;
  }

  .tm-footer {
    padding: 28px 0 20px;
  }

  .tm-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px 16px;
  }

  .tm-footer-brand {
    grid-column: 1 / -1;
  }

  .tm-footer-grid > div:nth-child(4) {
    grid-column: 1 / -1;
  }

  .tm-footer-grid > div:nth-child(4) ul {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
  }

  .tm-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .tm-consulta {
    padding-bottom: 72px;
  }

  .tm-empty {
    padding-bottom: 88px;
  }

  .tm-consulta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .tm-consulta-form .tm-btn {
    width: 100%;
  }

  .tm-order-meta {
    grid-template-columns: 1fr 1fr;
  }

  .tm-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
  }

  .tm-dialog-panel {
    min-height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
  }

  .tm-dialog-head,
  .tm-dialog-body,
  .tm-steps {
    padding-left: 20px;
    padding-right: 20px;
  }

  .tm-steps {
    gap: 8px;
    overflow-x: auto;
  }

  .tm-steps li {
    white-space: nowrap;
  }

  .tm-pack-choice,
  .tm-form-grid,
  .tm-summary {
    grid-template-columns: 1fr;
  }

  .tm-dialog-actions {
    flex-direction: column-reverse;
  }

  .tm-dialog-actions-sticky {
    flex-direction: column;
    align-items: stretch;
    margin: 20px -20px -20px;
    padding: 14px 20px;
  }

  .tm-dialog-actions .tm-btn {
    width: 100%;
  }

  .tm-sticky-buttons {
    width: 100%;
  }

  .tm-sticky-buttons .tm-btn {
    width: auto;
    flex: 1;
  }

  .tm-wa-fab {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

/* ============================ Reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================ Print ============================ */
@media print {
  .tm-nav,
  .tm-wa-fab,
  .tm-dialog,
  .tm-footer,
  .tm-legal-nav {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .tm-prose p,
  .tm-prose li {
    color: #333;
  }
}
