/* Vexo Landing - dark tech. Fondo #0b0c10 + acento azul #4f8bff, verde #3ecf8e, Inter.
   Paleta real de vexo.center. Las variables se inyectan en :root desde build (theme del config). */

:root {
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --gap: clamp(16px, 3vw, 28px);
  --pad-section: clamp(56px, 9vw, 120px);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 1px var(--border);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 clamp(18px, 5vw, 40px); }
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 880px; }
.center { text-align: center; }
.section { padding: var(--pad-section) 0; }
.section:nth-child(even) { background: var(--bg-alt); }

.section__title {
  font-size: clamp(1.55rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 30ch;
}
.center .section__title { margin-inline: auto; }
.section__lead {
  color: var(--text-dim);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 60ch;
  margin-top: 16px;
}
.center .section__lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; cursor: pointer; border: none;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: 16px 30px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn--gold {
  background: var(--gold); color: #ffffff;
  box-shadow: 0 10px 30px rgba(79, 139, 255, 0.3);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(79, 139, 255, 0.42); background: #6ba0ff; }
.btn--block { display: flex; width: 100%; }
.cta__sub { color: var(--text-dim); font-size: 0.92rem; margin-top: 14px; }
.btn--sm { padding: 10px 18px; font-size: 0.95rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__logo { font-weight: 800; font-size: 1.3rem; color: var(--text); letter-spacing: -0.02em; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.nav__link { color: var(--text-dim); font-weight: 500; transition: color .15s; }
.nav__link:hover { color: var(--text); }
@media (max-width: 480px) {
  .nav__link { display: none; }
  .nav__inner { height: 58px; }
  .btn--sm { padding: 9px 14px; font-size: 0.9rem; }
}

/* Resaltado de palabras clave */
.hl { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(70px, 12vw, 130px) 0 clamp(56px, 9vw, 110px);
  background:
    radial-gradient(1100px 520px at 50% -12%, rgba(79, 139, 255, 0.16), transparent 60%),
    var(--bg);
}
.hero__inner { margin: 0 auto; text-align: center; }
.hero__pregunta {
  color: var(--gold); font-weight: 600; font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-bottom: 18px; max-width: 52ch; margin-inline: auto;
}
.hero__promesa {
  font-size: clamp(1.7rem, 3.6vw, 2.55rem);
  line-height: 1.12; font-weight: 800; letter-spacing: -0.025em;
  max-width: 24ch; margin: 0 auto;
}
.hero__valor { color: var(--text-dim); max-width: 68ch; margin: 22px auto 0; font-size: 1.05rem; }

.hero__vsl {
  position: relative; margin: 40px auto 0; max-width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: linear-gradient(145deg, #171922, #0c0d11);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; box-shadow: var(--shadow);
}
.vsl__play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--gold); color: #ffffff;
  display: grid; place-items: center;
}
.vsl__play svg { width: 30px; height: 30px; margin-left: 4px; }
.vsl__label { color: var(--text-dim); font-size: 0.9rem; }

.hero__cta { margin-top: 36px; }

/* ---------- Carousel (testimonios + features) ---------- */
.carousel { position: relative; margin-top: 36px; }
.carousel__track {
  display: grid; grid-auto-flow: column;
  gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 20px; scrollbar-width: none;
  grid-auto-columns: min(88%, 380px);
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track--features { grid-auto-columns: min(90%, 460px); }
.carousel__track > * { scroll-snap-align: start; }

.carousel__arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  z-index: 3; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  cursor: pointer; display: none; place-items: center; transition: background .2s;
}
.carousel__arrow:hover { background: #242424; }
.carousel__arrow svg { width: 22px; height: 22px; }
.carousel__arrow--prev { left: -18px; transform: translateY(-50%) rotate(180deg); }
.carousel__arrow--next { right: -18px; }
@media (min-width: 900px) { .carousel__arrow { display: grid; } }

/* Testimonios card */
.tcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
}
.tcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tcard__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, var(--gold), var(--gold-dim));
  flex-shrink: 0;
}
.tcard__name { font-weight: 700; }
.tcard__role { color: var(--text-dim); font-size: 0.85rem; }
.tcard__stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 12px; }
.tcard__stars .star { width: 17px; height: 17px; }
.tcard__text { color: var(--text-dim); }

/* Features card */
.fcard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.fcard__body { padding: 26px 26px 18px; }
.fcard__title { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.fcard__text { color: var(--text-dim); margin-top: 10px; }
.fcard__shot { padding: 0 20px 20px; margin-top: auto; }
.fcard__shot img {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg-alt); aspect-ratio: 16 / 10; object-fit: cover;
}

/* ---------- Lo que necesitas ---------- */
.need { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }
.need__item {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 16px 22px; border-radius: 999px; font-weight: 500;
}
.need__icon { color: var(--gold); display: grid; place-items: center; }
.need__icon svg { width: 22px; height: 22px; }

/* ---------- Obstaculos / Beneficios ---------- */
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 40px; }
.cmp__col { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.cmp__col--bad { background: rgba(255, 90, 90, 0.05); border-color: rgba(255, 90, 90, 0.18); }
.cmp__col--good { background: rgba(62, 207, 142, 0.06); border-color: rgba(62, 207, 142, 0.22); }
.cmp__head { font-weight: 700; font-size: 1.15rem; margin-bottom: 18px; }
.cmp__col--bad .cmp__head { color: #ff8a8a; }
.cmp__col--good .cmp__head { color: var(--gold); }
.cmp__list { display: grid; gap: 14px; }
.cmp__item { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.cmp__mark { flex-shrink: 0; display: grid; place-items: center; margin-top: 2px; }
.cmp__mark svg { width: 20px; height: 20px; }
.cmp__item--bad .cmp__mark { color: #ff8a8a; }
.cmp__item--good .cmp__mark { color: var(--gold); }
@media (max-width: 720px) { .cmp { grid-template-columns: 1fr; } }

/* ---------- Tabla comparativa 2 columnas (sin scroll horizontal) ---------- */
.ctab { margin-top: 40px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.ctab__head, .ctab__row { display: grid; grid-template-columns: 1fr 1fr; }
.ctab__head { background: var(--surface); font-weight: 700; }
.ctab__hcell { padding: 18px 22px; color: var(--text-dim); }
.ctab__hcell--vexo { color: var(--green); border-left: 1px solid var(--border); }
.ctab__row { border-top: 1px solid var(--border); }
.ctab__cell { padding: 18px 22px; color: var(--text-dim); }
.ctab__cell--vexo { color: var(--text); background: rgba(62, 207, 142, 0.05); border-left: 1px solid var(--border); font-weight: 500; }
.ctab__label { display: none; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gold); margin-bottom: 4px; }

@media (max-width: 640px) {
  .ctab__head { display: none; }
  .ctab { border: none; display: grid; gap: 14px; }
  .ctab__row {
    grid-template-columns: 1fr; border: 1px solid var(--border);
    border-radius: var(--radius); overflow: hidden;
  }
  .ctab__cell { border-left: none; }
  .ctab__cell--vexo { border-left: none; border-top: 1px solid var(--border); }
  .ctab__label { display: block; }
}

/* ---------- Obstaculos / El enemigo ---------- */
.obstaculos .enemy__title { max-width: 24ch; }
.enemy__text { font-size: 1.15rem; line-height: 1.7; }

/* ---------- Bonos ---------- */
.bono__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 40px; }
.bono {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; overflow: hidden;
}
.bono__mock { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); aspect-ratio: 16 / 10; }
.bono__mock img { width: 100%; height: 100%; object-fit: cover; }
.bono__icons { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 8px; }
.bono__ic {
  width: 38px; height: 38px; border-radius: 10px; background: rgba(13,13,13,0.82);
  border: 1px solid var(--border); display: grid; place-items: center; color: var(--gold);
  backdrop-filter: blur(4px);
}
.bono__ic svg { width: 20px; height: 20px; }
.bono__title { font-size: 1.15rem; font-weight: 700; margin-top: 18px; }
.bono__text { color: var(--text-dim); margin-top: 8px; }
@media (max-width: 860px) { .bono__grid { grid-template-columns: 1fr; } }

/* ---------- Stack offer ---------- */
.stack__box { margin-top: 34px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stack__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--border); }
.stack__row:first-child { border-top: none; }
.stack__name { display: flex; align-items: center; gap: 12px; }
.stack__check { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }
.stack__val { color: var(--text-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.stack__row--total { background: var(--surface); font-weight: 800; font-size: 1.15rem; }
.stack__row--total .stack__val { color: var(--gold); }

/* ---------- Todo lo que tenes adentro (Airbnb style) ---------- */
.inside__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); margin-top: 40px; }
.inside {
  background: linear-gradient(160deg, #1c1c1c, #131313);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.inside__title { font-weight: 700; font-size: 1.1rem; margin-bottom: 16px; }
.inside__shot { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); background: var(--bg); }
.inside__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 720px) { .inside__grid { grid-template-columns: 1fr; } }

/* ---------- Costo del vacio ---------- */
.costo__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.costo__list { display: grid; gap: 14px; margin-top: 24px; }
.costo__item { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); }
.costo__x { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.costo__media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); }
.costo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 820px) { .costo__inner { grid-template-columns: 1fr; } .costo__media { order: -1; } }

/* ---------- Oferta / Planes ---------- */
.plan__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin: 44px 0 24px; text-align: left; }
.plan {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column;
}
.plan--top { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow); }
.plan__badge {
  position: absolute; top: -13px; left: 26px; background: var(--gold); color: #ffffff;
  font-size: 0.78rem; font-weight: 700; padding: 5px 14px; border-radius: 999px;
}
.plan__name { color: var(--text-dim); font-weight: 600; }
.plan__price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 20px; }
.plan__per { font-size: 1rem; color: var(--text-dim); font-weight: 500; }
.plan__list { display: grid; gap: 12px; margin-bottom: 26px; }
.plan__list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-dim); }
.plan__check { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; }
.plan:not(.plan--top) .btn--gold { background: transparent; color: var(--gold); box-shadow: var(--ring); }
.plan:not(.plan--top) .btn--gold:hover { background: rgba(79,139,255,0.12); }
@media (max-width: 860px) { .plan__grid { grid-template-columns: 1fr; } }

/* ---------- Recap ---------- */
.recap__list { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 28px; }
.recap__list li { display: flex; gap: 10px; align-items: center; background: var(--surface); border: 1px solid var(--border); padding: 12px 20px; border-radius: 999px; }

/* ---------- CTA final ---------- */
.cta-final { background: radial-gradient(900px 400px at 50% 120%, rgba(79,139,255,0.12), transparent 60%), var(--bg); }
.cta-final .btn { margin-top: 28px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; background: var(--bg); }
.foot__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 40px; }
.foot__logo { font-weight: 800; font-size: 1.4rem; color: var(--gold); }
.foot__tag { color: var(--text-dim); margin-top: 8px; max-width: 34ch; }
.foot__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.foot__coltitle { font-weight: 700; margin-bottom: 12px; }
.foot__col a { color: var(--text-dim); line-height: 2; transition: color .15s; }
.foot__col a:hover { color: var(--gold); }
.foot__bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.88rem; }
@media (max-width: 720px) { .foot__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Modal de prueba ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(3px); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 460px;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px;
  padding: 34px 30px; box-shadow: var(--shadow); max-height: 92vh; overflow-y: auto;
}
.modal__close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); cursor: pointer; display: grid; place-items: center; }
.modal__close svg { width: 20px; height: 20px; }
.modal__title { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; padding-right: 30px; }
.modal__sub { color: var(--text-dim); margin-top: 6px; }
.tl { display: grid; gap: 4px; margin: 26px 0 20px; }
.tl__step { display: flex; gap: 16px; position: relative; padding-bottom: 20px; }
.tl__step:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.tl__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; z-index: 1; }
.tl__icon svg { width: 20px; height: 20px; }
.tl__title { font-weight: 700; }
.tl__text { color: var(--text-dim); font-size: 0.92rem; margin-top: 2px; }
.toggle { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; cursor: pointer; user-select: none; }
.toggle input { display: none; }
.toggle__track { width: 44px; height: 26px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); position: relative; transition: background .2s; flex-shrink: 0; }
.toggle__thumb { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-dim); transition: transform .2s, background .2s; }
.toggle input:checked + .toggle__track { background: rgba(79,139,255,0.25); border-color: var(--gold); }
.toggle input:checked + .toggle__track .toggle__thumb { transform: translateX(18px); background: var(--gold); }
.toggle__label { font-size: 0.95rem; }
.modal__fine { color: var(--text-dim); font-size: 0.82rem; text-align: center; margin-top: 14px; }
.modal__deadline { color: var(--gold); margin-top: 6px; }

/* body lock cuando el modal esta abierto */
body.modal-open { overflow: hidden; }
