:root {
  --bg: #0E1117;
  --bg2: #12161E;
  --card: #151A23;
  --card2: #1A1F29;
  --line: #1D222C;
  --line2: #252B37;
  --line3: #2C3240;
  --gold: #E3C878;
  --gold-soft: #F2DDA0;
  --gold-line: #5A4A22;
  --gold-line2: #8C7434;
  --ink: #12151C;
  --txt: #D5D9E0;
  --txt2: #C9CED8;
  --txt3: #B4BAC6;
  --muted: #9AA1AE;
  --muted2: #7E8594;
  --btn: linear-gradient(135deg, #B8913A, #EAD58A 55%, #C29B42);
  --gold-text: linear-gradient(90deg, #C9A44C, #F0DC9A 50%, #C9A44C);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: #fff;
  font-family: "Inter Tight", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-soft); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
h1, h2, h3 { margin: 0; font-weight: 600; }
h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -.04em; line-height: 1.04; }
p { margin: 0; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 100px; border: 0;
  background: var(--btn); color: var(--ink); text-decoration: none;
  font: 600 17px/1 "Inter Tight", sans-serif; cursor: pointer;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), filter .22s;
}
.btn:hover { color: var(--ink); filter: brightness(1.05); transform: translateY(-1px); }
.btn svg { flex: none; }
.btn-ghost {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; border-radius: 100px;
  background: transparent; border: 1px solid var(--line3); color: var(--txt2);
  font: 500 15px "Inter Tight", sans-serif; cursor: pointer;
}
.btn-ring { padding: 6px; border-radius: 100px; border: 1px solid rgba(227,200,120,.35); display: inline-flex; }
.note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--txt3); }

/* Header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; justify-content: center; padding-top: 16px; padding-bottom: 16px; }
.top img { height: 40px; width: auto; }

/* Hero */
.hero { background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 55%, #1E1A10 82%, #4A3D1C 100%); overflow: hidden; }
.hero .wrap { max-width: 980px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-photo { width: min(440px, 84%); background: radial-gradient(closest-side at 50% 45%, rgba(227,200,120,.26), rgba(227,200,120,0)); }
.hero-photo img { width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.pill {
  position: relative; margin-top: -36px; display: inline-flex; align-items: center; gap: 14px; padding: 12px 26px;
  border-radius: 100px; background: rgba(14,17,23,.9); border: 1px solid var(--gold-line2); box-shadow: 0 0 32px rgba(227,200,120,.14);
}
.dot { width: 9px; height: 9px; border-radius: 5px; background: var(--gold); flex: none; }
.pill span.t { display: flex; flex-direction: column; gap: 3px; }
.pill .a { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.pill .b { font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.hero h1 { margin-top: 30px; max-width: 16ch; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.hero .sub { margin-top: 22px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--txt); }
.hero .btn-ring { margin-top: 30px; }
.hero .btn { min-height: 58px; padding: 0 34px; font-size: 18px; }
.hero .note { margin-top: 16px; }

/* Cuenta regresiva */
.count .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.count .l { display: flex; flex-direction: column; gap: 4px; }
.count .l b { font-size: 16px; font-weight: 600; }
.count .l span { font-size: 14px; color: var(--muted); }
.boxes { display: flex; gap: 12px; flex-wrap: wrap; }
.box { min-width: 84px; padding: 12px 10px; border-radius: 14px; background: var(--card2); border: 1px solid var(--line3); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.box b { font-size: 32px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.box span { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Horarios */
.times { padding-top: clamp(56px, 7vw, 96px); }
.times .top-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.times h2 { font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -.035em; }
.times .top-row span { font-size: 14px; color: var(--muted); }
.grid-times { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.tcard { padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line2); display: flex; align-items: center; gap: 14px; }
.tcard.main { border-color: var(--gold-line); }
.tcard .n { font-size: 15px; color: var(--txt2); }
.tcard .h { font-size: 22px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tcard.main .h { color: var(--gold); }
.flag { width: 36px; height: 24px; flex: none; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; outline: 1px solid rgba(255,255,255,.14); }
.flag.sm { width: 24px; height: 16px; border-radius: 3px; }
.flag > div { display: flex; }
.flag > div > div { height: 100%; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: 22px; background: var(--card); border: 1px solid var(--line2); display: flex; flex-direction: column; gap: 14px; }
.card .num { font-size: 40px; font-weight: 500; letter-spacing: -.04em; color: var(--gold); line-height: 1; }
.card h3 { font-size: 21px; letter-spacing: -.02em; }
.card p { font-size: 15.5px; line-height: 1.6; color: var(--txt3); }
.steps-cta { margin-top: 40px; }

/* Instructor */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(32px, 5vw, 72px); }
.about .ph { flex: 1 1 400px; min-width: 0; }
.about .ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; border: 1px solid var(--line3); }
.about .tx { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about .tx p { max-width: 58ch; font-size: 17px; line-height: 1.65; color: var(--txt2); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.stat { padding: 20px; border-radius: 18px; background: var(--card2); border: 1px solid var(--line3); display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: 34px; font-weight: 600; letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.stat span { font-size: 14px; line-height: 1.4; color: var(--txt3); }

/* Para quién */
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.fit .card { padding: 32px; gap: 18px; }
.fit .card.yes { border-color: #3A3322; }
.fit h3 { font-size: 22px; }
.fit .card.yes h3 { color: var(--gold); }
.li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--txt); }
.li svg { flex: none; margin-top: 2px; }
.fit .no .li { color: var(--txt3); }

/* Precio */
.price-wrap { max-width: 760px; margin: 0 auto; }
.price-wrap .head { text-align: center; align-items: center; }
.price { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: var(--card); border: 1px solid #3A3322; display: flex; flex-direction: column; gap: 22px; }
.price .row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid var(--line2); }
.price .row .l { display: flex; flex-direction: column; gap: 4px; }
.price .row .l b { font-size: 20px; font-weight: 600; }
.price .row .l span { font-size: 15px; color: var(--muted); }
.amount { display: flex; align-items: baseline; gap: 8px; }
.amount b { font-size: 54px; font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.amount span { font-size: 16px; font-weight: 500; color: var(--muted); }
.extra { padding: 20px; border-radius: 18px; background: var(--card2); border: 1px dashed #3A3F4A; display: flex; flex-direction: column; gap: 10px; }
.extra span { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.extra p { font-size: 15.5px; line-height: 1.5; color: var(--txt); }
.price .btn { width: 100%; min-height: 58px; }
.price .small { text-align: center; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line2); }
.faq details:last-child { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { transition: transform .25s; flex: none; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--txt3); max-width: 65ch; }

/* Cierre */
.close { border-top: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg) 40%, #2A2312 100%); }
.close .wrap { max-width: 900px; padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.chip { display: inline-flex; padding: 8px 16px; border-radius: 100px; background: rgba(14,17,23,.9); border: 1px solid var(--gold-line2); font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--gold); }
.close h2 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -.045em; line-height: 1.02; text-wrap: balance; }
.close p { font-size: 18px; line-height: 1.55; color: var(--txt2); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-top: 32px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 16px; }
.foot .r { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.foot .r div { display: flex; flex-wrap: wrap; gap: 20px; }
.foot p { max-width: 90ch; font-size: 13px; line-height: 1.6; color: var(--muted2); }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: flex-start; justify-content: center; padding: 32px 16px; background: rgba(5,7,10,.78); backdrop-filter: blur(6px); overflow-y: auto; }
.modal.open { display: flex; }
body.lock { overflow: hidden; }
.dialog { width: 100%; max-width: 720px; border-radius: 28px; background: var(--card); border: 1px solid var(--line3); box-shadow: 0 30px 80px rgba(0,0,0,.45); margin: auto 0; }
.dlg-h { padding: 22px 28px; border-bottom: 1px solid var(--line2); display: flex; align-items: center; gap: 16px; }
.dlg-h img { width: 46px; height: 46px; flex: none; }
.dlg-h .t { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dlg-h .t b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.dlg-h .t span { font-size: 15px; color: var(--gold); }
.x { width: 44px; height: 44px; border-radius: 22px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.x:hover { background: var(--card2); }
.dlg-b { padding: 22px 28px 26px; display: flex; flex-direction: column; gap: 22px; }
.progress { display: flex; align-items: center; gap: 12px; }
.progress span { font-size: 13px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.bars { flex: 1; display: flex; gap: 6px; }
.bars i { flex: 1; height: 4px; border-radius: 2px; background: var(--line3); }
.bars i.on { background: var(--gold); }
.step { display: none; flex-direction: column; gap: 20px; }
.step.on { display: flex; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--txt2); }
.input, .select-wrap { min-height: 56px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line3); color: #fff; font: 400 16px "Inter Tight", sans-serif; }
.input { padding: 0 18px; outline: none; width: 100%; }
.input:focus, .phone:focus-within, .select-wrap:focus-within { border-color: var(--gold-line2); }
.phone-row { display: flex; gap: 12px; flex-wrap: wrap; }
.select-wrap { position: relative; flex: 0 0 230px; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.select-wrap select { position: absolute; inset: 0; opacity: 0; cursor: pointer; font-size: 16px; }
.select-wrap .lbl { flex: 1; }
.phone { flex: 1 1 220px; min-height: 56px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line3); display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.phone b { font-weight: 500; color: var(--txt2); }
.phone input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: #fff; font: 400 16px "Inter Tight", sans-serif; }
.q { font-size: 21px; line-height: 1.45; color: var(--muted); letter-spacing: -.01em; }
.q b { color: #fff; font-weight: 600; }
.opts { display: flex; flex-direction: column; gap: 10px; border: 0; padding: 0; margin: 0; }
.opt { position: relative; min-height: 54px; padding: 0 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line3); display: flex; align-items: center; justify-content: space-between; font-size: 17px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .r { width: 20px; height: 20px; border-radius: 10px; border: 1.5px solid var(--line3); display: flex; align-items: center; justify-content: center; }
.opt:has(input:checked) { background: #2A2416; border-color: var(--gold); }
.opt:has(input:checked) .r { border-color: var(--gold); }
.opt:has(input:checked) .r::after { content: ""; width: 10px; height: 10px; border-radius: 5px; background: var(--gold); }
.opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.err { font-size: 14px; color: #F0A27A; display: none; }
.err.on { display: block; }
.title-s { font-size: 32px; letter-spacing: -.035em; line-height: 1.1; }
.hint { font-size: 13px; color: var(--muted); }
.bump { border-radius: 18px; border: 1.5px dashed var(--gold); background: var(--bg); overflow: hidden; }
.bump.on { border-style: solid; background: #2A2416; }
.bump label { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: rgba(227,200,120,.12); cursor: pointer; }
.bump input { width: 22px; height: 22px; flex: none; accent-color: var(--gold); cursor: pointer; }
.bump label span { font-size: 17px; font-weight: 600; line-height: 1.35; }
.bump label em { font-style: normal; color: var(--gold); }
.bump .bd { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.bump .bd > span { font-size: 14px; line-height: 1.5; color: var(--txt2); }
.bump .li { font-size: 15px; }
.total { display: flex; align-items: baseline; justify-content: space-between; }
.total span { font-size: 16px; color: var(--txt2); }
.total b { font-size: 26px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.dlg-f { padding: 18px 28px 22px; border-top: 1px solid var(--line2); display: flex; flex-direction: column; gap: 14px; }
.dlg-f .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dlg-f .small { text-align: center; font-size: 14px; color: var(--muted); }
#whop-checkout { min-height: 420px; }
.loading { padding: 40px 0; text-align: center; color: var(--muted); font-size: 15px; }

@media (max-width: 560px) {
  .dlg-h, .dlg-b, .dlg-f { padding-left: 18px; padding-right: 18px; }
  .select-wrap { flex: 1 1 100%; }
  .q { font-size: 19px; }
  .pill { padding: 10px 18px; }
  .box { min-width: 68px; }
  .box b { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary svg { transition: none; }
}

[hidden] { display: none !important; }
