:root {
  --ink: #070b14;
  --ink-2: #0d1424;
  --blue: #1f5fd1;
  --blue-deep: #143f8f;
  --yellow: #f1c419;
  --white: #ffffff;
  --text: #eef2fa;
  --muted: #a9b4c8;
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(10, 16, 30, .72);
  --danger: #ff7a7a;
  --ok: #4ad295;
  --radius: 18px;
  --display: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.5 var(--body);
  overflow-x: hidden;
}
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.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; }
[hidden] { display: none !important; }

/* ---------- Fondo ---------- */
.bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg-slides { position: absolute; inset: 0; }
.bg-slide {
  position: absolute; inset: -4%;
  background: center / cover no-repeat;
  opacity: 0;
  transition: opacity 2.4s ease;
  will-change: opacity, transform;
}
.bg-slide.is-on { opacity: 1; animation: kenburns 14s ease-out forwards; }
.bg-slide.kb2.is-on { animation-name: kenburns2; }
@keyframes kenburns  { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.14) translate(-2%, -2%); } }
@keyframes kenburns2 { from { transform: scale(1.14) translate(2%, 1%); } to { transform: scale(1.03) translate(0, 0); } }
.bg-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,11,20,.55) 0%, rgba(7,11,20,.72) 35%, rgba(7,11,20,.94) 70%, var(--ink) 100%),
    radial-gradient(120% 60% at 50% 0%, rgba(31,95,209,.28), transparent 60%);
}
@media (prefers-reduced-motion: reduce) {
  .bg-slide.is-on { animation: none; }
  .bg-slide { transition: none; }
  html { scroll-behavior: auto; }
}

.wrap {
  position: relative; z-index: 1;
  width: 100%; max-width: 560px;
  margin: 0 auto;
  padding: max(28px, env(safe-area-inset-top)) 16px max(28px, env(safe-area-inset-bottom));
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 8px 0 28px; }
.hero-logo { width: 132px; height: auto; display: block; margin: 0 auto 18px; filter: drop-shadow(0 0 18px rgba(255,255,255,.25)); }
.kicker {
  margin: 0 0 10px;
  font: 800 13px/1 var(--display);
  letter-spacing: .32em;
  color: var(--yellow);
}
.hero-title {
  margin: 0 auto 16px;
  max-width: 15ch;
  font: 900 clamp(30px, 8.6vw, 44px)/1.04 var(--display);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.hero-when { display: grid; gap: 6px; justify-items: center; margin: 0 0 18px; color: var(--text); font-weight: 600; font-size: 15px; }
.hero-when span { display: inline-flex; gap: 8px; align-items: center; }
.hero-when svg { color: var(--yellow); font-size: 18px; }
.hero-quote {
  margin: 0 auto 22px; max-width: 34ch;
  font-size: 15px; color: var(--muted); font-style: italic;
  border: 0; padding: 0;
}
.hero-quote strong { color: var(--white); font-style: normal; font-weight: 700; }
.hero-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }

.thumbs {
  display: flex; gap: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 4px 16px 8px;
  scrollbar-width: none;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: none; width: 74px; aspect-ratio: 9 / 14;
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); padding: 0; background: var(--ink-2);
  scroll-snap-align: start; cursor: pointer;
  transition: transform .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover, .thumb:focus-visible { transform: translateY(-2px); border-color: var(--yellow); outline: none; }
.thumb.teaser { position: relative; }
.thumb.teaser::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5.5v13l11-6.5z' fill='%23f1c419'/%3E%3C/svg%3E") center / 28px no-repeat;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 800 15px/1 var(--display); letter-spacing: .02em;
  color: var(--ink); text-decoration: none; cursor: pointer;
  transition: transform .15s, background-color .2s, border-color .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid rgba(241,196,25,.55); outline-offset: 2px; }
.btn svg { font-size: 18px; }
.btn-primary { background: var(--yellow); }
.btn-primary:hover { background: #ffd43a; }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn-wa { background: #25d366; color: #062b14; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Tarjeta ---------- */
.card {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 18px 20px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
  scroll-margin-top: 16px;
}
.card-head { margin-bottom: 18px; }
.eyebrow { margin: 0 0 4px; font: 800 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); }
.card h2 { margin: 0 0 6px; font: 900 28px/1.1 var(--display); }
.muted { color: var(--muted); margin: 0; font-size: 14.5px; }

/* Pista de progreso */
.track { position: relative; height: 34px; margin: 4px 26px 4px 4px; }
.track-line { position: absolute; left: 0; right: 0; top: 22px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.track-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--yellow)); transition: width .6s cubic-bezier(.3,.8,.3,1); }
.ball {
  position: absolute; top: 12px; left: 0; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0 30%, #dfe4ee 60%, #b9c1d1 100%);
  box-shadow: 0 2px 6px rgba(0,0,0,.5);
  transition: left .6s cubic-bezier(.3,.8,.3,1), transform .6s cubic-bezier(.3,.8,.3,1);
}
.ball::after { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 30% 60%, rgba(0,0,0,.14) 0 1.2px, transparent 1.6px) 0 0 / 5px 5px; }
.flag { position: absolute; right: -24px; top: -2px; width: 22px; height: 32px; color: var(--white); }
.steps-nav {
  list-style: none; margin: 4px 0 18px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  font: 700 11.5px/1.2 var(--display); letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.steps-nav li:nth-child(2) { text-align: center; padding-right: 8%; }
.steps-nav li:nth-child(3) { text-align: center; padding-left: 8%; }
.steps-nav li:last-child { text-align: right; }
.steps-nav li.is-active { color: var(--white); }
.steps-nav li.is-done { color: var(--yellow); }

/* ---------- Pasos ---------- */
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.step { display: none; }
.step.is-active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.field { margin-bottom: 18px; }
.field.tight { margin: 10px 0 0; }
label, .label { display: block; margin-bottom: 7px; font-weight: 600; font-size: 15px; color: var(--white); }
.hint { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.hint.block { display: block; margin: -3px 0 10px; }
input[type=text], input[type=tel], input[type=email], textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--white);
  font: 500 16px/1.4 var(--body);
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.35); }
input:focus, textarea:focus { outline: none; border-color: var(--yellow); background: rgba(255,255,255,.09); }
.field.has-error input, .field.has-error textarea, .field.has-error .drop { border-color: var(--danger); }
.err { display: block; margin-top: 6px; color: var(--danger); font-size: 13.5px; font-weight: 500; }

/* Tarjeta de puntuación (hoyos) */
.scorecard {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  border: 1.5px solid rgba(255,255,255,.18); border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.12);
}
.scorecard .row-label {
  grid-column: 1 / -1;
  padding: 7px 10px;
  font: 800 10.5px/1 var(--display); letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); background: #121a2c;
}
.hole {
  aspect-ratio: 1 / 1; min-height: 48px;
  display: grid; place-items: center;
  border: 0; background: #0c1322; color: var(--white);
  font: 800 18px/1 var(--display);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .15s, color .15s;
}
.hole:hover { background: #17213a; }
.hole[aria-checked=true] { background: var(--yellow); color: var(--ink); }
.hole:focus-visible { outline: 2px solid var(--yellow); outline-offset: -3px; }
.hole.any {
  grid-column: 1 / -1; aspect-ratio: auto; min-height: 50px;
  font-size: 14px; letter-spacing: .06em;
}

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg button, .chip {
  min-height: 50px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05);
  color: var(--white); font: 700 15px/1.2 var(--body); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.seg button[aria-checked=true] { background: var(--blue); border-color: var(--blue); }
.chips-wrap { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; font-size: 14px; }
.chip[aria-pressed=true] { background: rgba(241,196,25,.16); border-color: var(--yellow); color: var(--yellow); }
.seg button:focus-visible, .chip:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* Archivos */
.drop {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  min-height: 84px; padding: 14px;
  border: 1.5px dashed rgba(255,255,255,.28); border-radius: 16px;
  background: rgba(255,255,255,.04);
  cursor: pointer; margin: 0; font-weight: 400;
  transition: border-color .2s, background-color .2s;
}
.drop:hover, .drop:focus-within { border-color: var(--yellow); background: rgba(255,255,255,.07); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop.has-file { border-style: solid; border-color: rgba(74,210,149,.6); }
.drop-preview {
  flex: none; width: 60px; height: 60px; border-radius: 12px;
  background: #fff center / contain no-repeat; display: grid; place-items: center;
  color: var(--ink); font: 800 12px/1 var(--display); letter-spacing: .04em;
  overflow: hidden;
}
.drop-preview.doc { background: var(--blue); color: #fff; }
.drop-text { display: grid; gap: 2px; min-width: 0; }
.drop-text strong { font-size: 15px; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-text small { font-size: 13px; color: var(--muted); }

.summary { margin: 6px 0 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.summary h3 { margin: 0 0 10px; font: 800 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.summary dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; color: var(--white); overflow-wrap: anywhere; }

.form-error { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255,122,122,.12); color: #ffd0d0; font-size: 14px; }

.actions { display: flex; gap: 10px; margin-top: 4px; }
.actions .btn { flex: 1; }
.actions #prevBtn { flex: 0 0 auto; }

/* Confirmación */
.done { text-align: center; padding: 8px 0 4px; display: grid; gap: 14px; justify-items: center; animation: stepIn .4s ease both; }
.done-icon { width: 72px; height: 72px; color: var(--yellow); stroke-width: 3; }
.done-icon circle { stroke: rgba(241,196,25,.35); }
.done-icon path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .6s .2s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { margin: 0; }
.done .btn { width: 100%; }
.ref { margin: 0; font: 700 13px/1 var(--display); letter-spacing: .12em; color: var(--muted); }

/* Pie */
.foot { text-align: center; padding: 28px 0 8px; color: var(--muted); font-size: 14px; }
.foot p { margin: 0 0 8px; }
.foot-wa { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.foot-wa a { color: var(--white); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--yellow); padding-bottom: 1px; }
.foot-small { font-size: 12px; opacity: .7; margin-top: 14px !important; }

/* Visor */
.viewer {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(3,5,10,.96); color: var(--white);
}
.viewer::backdrop { background: rgba(3,5,10,.9); }
.viewer[open] { display: grid; place-items: center; }
.viewer-body { width: 100%; height: 100%; display: grid; place-items: center; padding: 56px 12px 24px; }
.viewer-body video, .viewer-body img { max-width: 100%; max-height: 100%; border-radius: 14px; display: block; background: #000; }
.viewer-close, .viewer-nav {
  position: absolute; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(255,255,255,.08); color: #fff;
  display: grid; place-items: center; cursor: pointer;
}
.viewer-close { top: max(12px, env(safe-area-inset-top)); right: 12px; }
.viewer-close svg, .viewer-nav svg { font-size: 22px; }
.viewer-nav { top: 50%; transform: translateY(-50%); }
.viewer-nav.prev { left: 8px; }
.viewer-nav.next { right: 8px; }

@media (min-width: 720px) {
  .wrap { padding-top: 56px; }
  .hero-logo { width: 160px; }
  .card { padding: 28px 28px 24px; }
  .thumbs { justify-content: center; }
}

/* Hoyo: próximamente */
.soon {
  margin-bottom: 18px; padding: 16px;
  border: 1.5px dashed rgba(241,196,25,.45); border-radius: 16px;
  background: rgba(241,196,25,.06);
}
.soon-badge {
  display: inline-block; margin-bottom: 8px; padding: 5px 10px; border-radius: 999px;
  background: var(--yellow); color: var(--ink);
  font: 800 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase;
}
.soon-title { margin: 0 0 4px; font-weight: 700; font-size: 15px; color: var(--white); }
.soon .hint { margin: 0; display: block; }

/* Casilla "lo proporcionaré después" */
.check {
  display: flex; align-items: center; gap: 12px;
  margin: 12px 0 0; min-height: 44px; cursor: pointer;
  font-weight: 500; font-size: 15px; color: var(--text);
}
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
  flex: none; width: 24px; height: 24px; border-radius: 7px;
  border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.05);
  display: grid; place-items: center; transition: background-color .15s, border-color .15s;
}
.check input:checked + .check-box { background: var(--yellow); border-color: var(--yellow); }
.check input:checked + .check-box::after {
  content: ""; width: 6px; height: 11px; margin-top: -2px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.check input:focus-visible + .check-box { outline: 2px solid var(--yellow); outline-offset: 2px; }
.drop.is-off { opacity: .4; pointer-events: none; }

/* ---------- Paso 1: mapa de hoyos ---------- */
.steps-nav.n5 { grid-template-columns: repeat(5, 1fr); font-size: 10.5px; }
.steps-nav.n5 li { text-align: center; padding: 0 !important; }
.steps-nav.n5 li:first-child { text-align: left; }
.steps-nav.n5 li:last-child { text-align: right; }
@media (max-width: 480px) {
  .steps-nav.n5 { font-size: 9px; letter-spacing: 0; gap: 4px; }
  .steps-nav.n5 li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.rm-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 12px; }
@media (min-width: 640px) { .rm-tiers { grid-template-columns: repeat(4, 1fr); } }
.rm-tier { display: grid; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: rgba(255,255,255,.04); transition: border-color .2s, box-shadow .2s; }
.rm-tier.t-Silver { border-color: rgba(199,206,217,.5); }
.rm-tier.t-Bronze { border-color: rgba(205,127,50,.6); }
.rm-tier.t-Bronze .rm-tier-name { color: #e8a96b; }
.rm-tier.t-Basico { border-color: rgba(255,255,255,.45); border-style: dashed; }
.rm-ph { width: 100%; aspect-ratio: 4 / 3; display: grid; place-items: center; margin-bottom: 6px; font: 900 13px/1 var(--display); letter-spacing: .12em; color: #0d1424; background: #f4f5f7 repeating-linear-gradient(45deg, rgba(13,20,36,.06) 0 6px, transparent 6px 12px); }
.rm-spot-n.is-pb { background: rgba(255,255,255,.14); }
.rm-spot-n.is-pb small { font-size: 7.5px; }
.rm-tier.t-Gold { border-color: rgba(241,196,25,.6); }
.rm-tier.is-on { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(241,196,25,.35); }
.rm-tier-main { all: unset; cursor: pointer; display: grid; gap: 2px; padding: 0 0 8px; text-align: center; }
.rm-tier-main:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.rm-tier-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; margin-bottom: 6px; }
.rm-tier-name { font: 900 14px/1.1 var(--display); color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.rm-tier.t-Gold .rm-tier-name { color: var(--yellow); }
.rm-tier-price { font: 800 16px/1.1 var(--display); color: var(--yellow); }
.rm-tier-free { font-size: 11px; color: var(--muted); }
.rm-tier-ver { all: unset; cursor: pointer; text-align: center; padding: 8px 4px; font: 700 11.5px/1 var(--display); color: #fff; border-top: 1px solid var(--line); background: rgba(255,255,255,.05); }
.rm-tier-ver:hover, .rm-tier-ver:focus-visible { background: rgba(241,196,25,.14); color: var(--yellow); }
.rm-map { height: 340px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #0b1220; }
.rm-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; font-size: 12px; color: var(--muted); }
.rm .mapa-note { margin: 4px 0 10px; }
.rm-sel { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--yellow); background: rgba(241,196,25,.1); margin-bottom: 12px; }
.rm-sel.is-empty { border-style: dashed; border-color: var(--line); background: rgba(255,255,255,.03); color: var(--muted); font-size: 13.5px; }
.rm-sel small { display: block; font: 800 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 4px; }
.rm-sel strong { display: block; color: #fff; font-size: 15px; }
.rm-sel span { color: var(--muted); font-size: 13px; }
.rm-sel .btn { min-height: 40px; padding: 0 14px; font-size: 13px; flex: none; }
.rm-list { display: grid; gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 2px; }
.rm-list-title { margin: 0; font: 800 12px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rm-spot { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid transparent; }
.rm-spot:hover { background: rgba(255,255,255,.08); }
.rm-spot:focus-visible { outline: 2px solid var(--yellow); }
.rm-spot.is-on { border-color: var(--yellow); background: rgba(241,196,25,.12); }
.rm-spot-n { width: 46px; height: 46px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; align-content: center; }
.rm-spot-n b { font: 900 17px/1 var(--display); color: #fff; }
.rm-spot-n small { font: 800 8.5px/1.2 var(--display); color: var(--muted); letter-spacing: .06em; }
.rm-spot-info strong { display: block; color: #fff; font-size: 14px; }
.rm-spot-info small { color: var(--muted); font-size: 12px; }
.rm-spot-side { display: grid; justify-items: end; gap: 5px; }
.rm.has-error .rm-sel { border-color: var(--danger); }
@media (max-width: 380px) { .rm-tier-name { font-size: 12px; } .rm-tier-price { font-size: 14px; } }
