/* Paleta oficial Tierra Salvaje
   Naranja #fc7600 · Negro #000000 · Durazno #fadabf · Blanco #ffffff */

body,
.numbers-section,
.legal-section,
.hero-visual { background-color: #000000; }

.brand img {
  width: 48px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(252, 118, 0, .18));
}

.brand span { color: #ffffff; }

.hero-mark {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: 6%;
  width: clamp(86px, 9vw, 150px);
  height: auto;
  opacity: .14;
  filter: grayscale(1);
}

.hero-visual::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .3), transparent 40%, rgba(0, 0, 0, .18)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .025) 80px);
  z-index: 1;
  pointer-events: none;
}

.prize-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 59%;
  filter: saturate(.92) contrast(1.04) brightness(.82);
}

.bike-art { display: none; }
.photo-note, .vertical { z-index: 3; text-shadow: 0 2px 12px #000000; }

.sun { background: #fadabf; box-shadow: 0 0 80px rgba(250, 218, 191, .24); }
.lead, .legal-copy p { color: #fadabf; }
.prize-badge strong { -webkit-text-stroke-color: rgba(255, 255, 255, .45); }
.terrain { stroke: rgba(252, 118, 0, .45); }
.wheel circle, .wheel path { stroke: #000000; }
.wheel circle:nth-child(2), .wheel path { stroke: rgba(255, 255, 255, .4); }
.moto path { fill: #000000; stroke: #000000; }
.selected-display::after { color: rgba(252, 118, 0, .12); }

.bike-section { background: #ffffff; }
.bike-copy > p:last-child,
.specs span,
.specs small,
.bike-section .section-number,
dialog .eyebrow,
dialog > small,
.secure { color: rgba(0, 0, 0, .58); }

.steps-section { background: #fadabf; position: relative; overflow: hidden; }
.steps-section h2 em { color: #fc7600; }
.steps-section::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 5%;
  width: 42%;
  aspect-ratio: 1;
  background: url("assets/optimized/brand/tsc-mark-512.webp") center / contain no-repeat;
  opacity: .055;
  pointer-events: none;
}
.steps-section > * { position: relative; z-index: 1; }

.number-button.is-sold {
  color: rgba(250, 218, 191, .35);
  background: rgba(250, 218, 191, .06);
}
.legend .sold { background: #fadabf; border-color: #fadabf; opacity: .35; }
.number-view-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 17px; }
.number-view-tools .legend { margin-top: 0; }
.number-view-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(250, 218, 191, .28);
  background: transparent;
  color: #fadabf;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.number-view-toggle:hover,
.number-view-toggle[aria-pressed="true"] {
  border-color: #fc7600;
  background: #fc7600;
  color: #000000;
}
.number-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.16);
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: #fadabf;
  font-size: 12px;
  line-height: 1.5;
}
.checkout:disabled { background: #fadabf; color: rgba(0, 0, 0, .5); }

.product-section { background: #fadabf; color: #000000; }
.product-section .section-number { color: rgba(0, 0, 0, .58); border-color: rgba(0, 0, 0, .18); }
.product-section .eyebrow { color: rgba(0, 0, 0, .62); }
.product-section .eyebrow i { background: #fc7600; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: 6vw; align-items: center; }
.product-preview { position: relative; width: min(100%, 760px); box-shadow: 0 35px 70px rgba(0, 0, 0, .24); }
.product-preview img { display: block; width: 100%; height: auto; }
.product-serial {
  position: absolute;
  left: 15.2%;
  top: 95.1%;
  transform: translate(-50%, -50%);
  color: #fc7600;
  font-family: var(--display);
  font-size: clamp(18px, 3.1vw, 48px);
  line-height: 1;
  letter-spacing: .12em;
  text-shadow: 0 2px 0 #000000, 0 0 8px #000000;
}
.preview-label { position: absolute; top: 16px; left: 16px; padding: 8px 11px; background: #fc7600; color: #000000; font-size: 8px; font-weight: 900; letter-spacing: .14em; }
.product-copy h2 { font-size: clamp(48px, 5.4vw, 92px); }
.product-copy h2 em { color: #fc7600; }
.product-copy > p:not(.eyebrow):not(.preview-note) { max-width: 600px; line-height: 1.7; font-size: 17px; }
.delivery-list { display: grid; margin: 34px 0; border-top: 1px solid rgba(0, 0, 0, .18); }
.delivery-list span { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(0, 0, 0, .18); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .04em; }
.delivery-list b { color: #fc7600; font-family: var(--display); }
.preview-note { color: rgba(0, 0, 0, .6); font-size: 12px; margin: 0 0 24px; }

.order-card, dialog { background: #ffffff; }
.selected-display {
  background-color: #000000;
  background-image: linear-gradient(rgba(0,0,0,.34), rgba(0,0,0,.78)), url("assets/optimized/product/foto-edicion-base-900.webp");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}
.terms-warning { background: rgba(252, 118, 0, .14); border-left-color: #fc7600; }
.terms-content { display: grid; gap: 13px; max-height: 48vh; overflow: auto; padding-right: 8px; }
.terms-content p { margin: 0; color: rgba(0,0,0,.72); font-size: 13px; line-height: 1.6; }
.terms-content strong { color: #000000; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-links a { color: #000000; text-underline-offset: 5px; }
.consent a { color: #fc7600; text-underline-offset: 3px; }
.admin-footer-link {
  position: absolute;
  right: 4vw;
  bottom: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: #000000;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .1em;
  opacity: .65;
  transition: .2s ease;
}
.admin-footer-link:hover {
  border-color: #fc7600;
  color: #fc7600;
  opacity: 1;
}
@media(max-width:760px){.admin-footer-link{position:static;margin-top:28px;width:max-content}}

footer {
  position: relative;
  background: #000000;
  color: #ffffff;
  border-top: 12px solid #fc7600;
}
.footer-brand {
  display: flex;
  justify-content: center;
  white-space: normal;
  line-height: normal;
}
.footer-brand img {
  width: min(540px, 88vw);
  height: auto;
  display: block;
}
footer > div:nth-child(2) { border-color: rgba(255, 255, 255, .18); }

@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-preview { margin-inline: auto; }
  .product-copy { max-width: 680px; }
  .product-serial { font-size: clamp(22px, 6.2vw, 46px); }
}

@media (max-width: 760px) {
  .number-view-tools { align-items: flex-start; flex-direction: column; }
  .number-view-toggle { width: 100%; }
}

.checkout-flow {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: 42px;
}
.checkout-progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 36px 34px 0; }
.checkout-progress span { padding: 8px 4px; border-bottom: 3px solid rgba(0,0,0,.12); color: rgba(0,0,0,.42); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.checkout-progress span.active { border-color: #fc7600; color: #000000; }
.checkout-step[hidden] { display: none; }
.checkout-step h2 { font-size: clamp(48px, 7vw, 76px); margin-bottom: 16px; }
.checkout-step h2 em { color: #fc7600; font-style: normal; }
.checkout-step > p:not(.eyebrow):not(.prototype-warning) { color: rgba(0,0,0,.64); line-height: 1.55; }
.checkout-flow form { gap: 15px; }
.checkout-flow form label:not(.consent):not(.upload-zone) { display: grid; gap: 4px; }
.checkout-flow form input { border-color: rgba(0,0,0,.2); }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 10px; line-height: 1.45; letter-spacing: 0; text-transform: none; }
.consent input { width: 18px; min-width: 18px; min-height: 18px; margin: 0; accent-color: #fc7600; }
.sinpe-card { background: #000000; color: #ffffff; padding: 28px; margin: 26px 0 12px; display: flex; flex-direction: column; }
.sinpe-card > span { color: #fc7600; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.sinpe-card > strong { font-family: var(--display); font-size: clamp(48px, 7vw, 76px); letter-spacing: .06em; line-height: 1; margin: 16px 0 22px; white-space: nowrap; }
.sinpe-card > small { color: #fadabf; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.sinpe-card > b { font-size: 18px; margin-top: 5px; }
.sinpe-card > div { display: flex; justify-content: space-between; align-items: end; border-top: 1px solid rgba(255,255,255,.18); margin-top: 24px; padding-top: 18px; }
.sinpe-card > div span { color: #fadabf; font-size: 10px; text-transform: uppercase; }
.sinpe-card > div strong { color: #fc7600; font-family: var(--display); font-size: 34px; }
.copy-sinpe, .back-button { border: 0; background: transparent; color: #000000; cursor: pointer; padding: 10px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.copy-sinpe { width: 100%; text-align: center; }
.back-button { margin-top: 12px; }
.full-button { width: 100%; margin-top: 12px; }
.upload-zone { position: relative; min-height: 260px; border: 2px dashed rgba(0,0,0,.25); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; text-align: center; cursor: pointer; overflow: hidden; background: rgba(250,218,191,.35); }
.upload-zone:hover { border-color: #fc7600; }
.upload-zone input { position: absolute; opacity: 0; pointer-events: none; }
.upload-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fc7600; font-family: var(--display); font-size: 28px; }
.upload-zone strong { font-size: 13px; }
.upload-zone small { color: rgba(0,0,0,.55); }
.upload-zone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000000; }
.confirmation-step { text-align: center; }
.confirmation-mark { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 25px; background: #fc7600; color: #000000; font-family: var(--display); font-size: 44px; }
.confirmation-step .eyebrow { justify-content: center; }
.confirmation-summary { display: grid; grid-template-columns: 1fr 1fr; text-align: left; border-top: 1px solid rgba(0,0,0,.18); border-left: 1px solid rgba(0,0,0,.18); margin: 25px 0; }
.confirmation-summary span { display: flex; flex-direction: column; gap: 6px; padding: 15px; border-right: 1px solid rgba(0,0,0,.18); border-bottom: 1px solid rgba(0,0,0,.18); overflow-wrap: anywhere; }
.confirmation-summary b { color: rgba(0,0,0,.5); font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.prototype-warning { background: rgba(252,118,0,.13); border-left: 3px solid #fc7600; padding: 12px; color: #000000; font-size: 10px; line-height: 1.45; text-align: left; }

@media (max-width: 600px) {
  .checkout-flow { padding: 32px 20px; }
  .checkout-progress { margin-right: 24px; }
  .checkout-progress span { font-size: 0; }
  .checkout-progress span::first-letter { font-size: 9px; }
  .sinpe-card > strong { font-size: 52px; }
  .confirmation-summary { grid-template-columns: 1fr; }
}

.verify-nav { color: #fc7600; opacity: 1; }
.verification-section { background: #ffffff; color: #000000; }
.verification-section .section-number { color: rgba(0,0,0,.55); border-color: rgba(0,0,0,.18); }
.verification-section .eyebrow { color: rgba(0,0,0,.6); }
.verification-section .eyebrow i { background: #fc7600; }
.verification-section h2 em { color: #fc7600; }
.verification-layout { display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 7vw; align-items: center; }
.verification-copy > p:not(.eyebrow) { max-width: 640px; color: rgba(0,0,0,.65); font-size: 17px; line-height: 1.7; }
.verification-note { display: flex; flex-direction: column; gap: 7px; margin-top: 28px; padding: 18px 20px; border-left: 4px solid #fc7600; background: #fadabf; }
.verification-note strong { font-family: var(--display); font-size: 22px; text-transform: uppercase; }
.verification-note span { font-size: 12px; line-height: 1.5; }
.verification-panel { background: #000000; color: #ffffff; padding: 38px; box-shadow: 0 32px 65px rgba(0,0,0,.2); }
.verification-panel > p { color: #fadabf; line-height: 1.5; margin-top: 0; }
.verification-panel form { display: grid; gap: 16px; margin-top: 25px; }
.verification-panel label { display: grid; gap: 8px; color: #fadabf; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.verification-panel input { width: 100%; min-height: 54px; padding: 0 15px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #ffffff; font-family: var(--display); font-size: 24px; letter-spacing: .05em; outline: 0; }
.verification-panel input:focus { border-color: #fc7600; }
.verification-panel form .button { width: 100%; }
.verification-result { display: flex; gap: 15px; margin-top: 24px; padding: 18px; border: 1px solid rgba(255,255,255,.2); }
.verification-result[hidden] { display: none; }
.status-dot { width: 14px; height: 14px; min-width: 14px; margin-top: 4px; border-radius: 50%; background: #fadabf; }
.verification-result.pending .status-dot { background: #fc7600; box-shadow: 0 0 0 5px rgba(252,118,0,.18); }
.verification-result.confirmed { border-color: #fc7600; }
.verification-result.confirmed .status-dot { background: #fc7600; }
.verification-result.not-found .status-dot, .verification-result.rejected .status-dot { background: #ffffff; }
.verification-result small { color: #fadabf; font-size: 8px; font-weight: 900; letter-spacing: .13em; }
.verification-result strong { display: block; margin: 5px 0; font-family: var(--display); font-size: 24px; text-transform: uppercase; }
.verification-result p { color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.5; margin: 0; }
.verification-help { display: block; margin-top: 18px; color: rgba(255,255,255,.42); font-size: 9px; line-height: 1.45; }

@media (max-width: 900px) {
  .verification-layout { grid-template-columns: 1fr; }
  .verification-panel { padding: 28px; }
}
