/* ====================================================================
   Dojo Invicto · Lanzamiento Junio 2026 · "El Código de los Psicotécnicos"
   Style replicates dojoinvicto.com (Fugaz One + Geist · #14171F base · #FE5E22 CTA)
   ==================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; }
input, textarea, select { font: inherit; }

/* ---------- Tokens ---------- */
:root {
  --bg-base: #14171F;          /* body */
  --bg-deep: #080C12;          /* very dark sections */
  --bg-card: #1F222E;          /* card / fondo1-2 background tone */
  --bg-card-2: #262A38;
  --text: #A3A7C2;             /* body text */
  --text-strong: #FFFFFF;
  --text-muted: #7C82A0;
  --accent: #FE5E22;           /* CTA orange */
  --accent-hover: #E04C12;
  --accent-soft: rgba(254, 94, 34, .12);
  --gold: #FFE735;             /* highlight yellow (badges, stars) */
  --green: #25D366;            /* WhatsApp */
  --green-hover: #1EB855;
  --border: #2A2E3D;
  --shadow-glow: 0 0 0 1px rgba(254, 94, 34, .35), 0 12px 40px -12px rgba(254, 94, 34, .55);

  --maxw: 1180px;
  --maxw-narrow: 760px;
  --rad: 0px;                  /* design is square / brutalist */

  --fz-h1: clamp(32px, 5.4vw, 64px);
  --fz-h2: clamp(26px, 3.8vw, 44px);
  --fz-h3: clamp(20px, 2.4vw, 28px);
  --fz-body: 17px;
  --fz-small: 14px;
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-body: 1.55;
}

/* ---------- Fonts ---------- */
/* Fugaz One + Geist via Google Fonts (preconnected in HTML) */

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: 'Geist', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  font-size: var(--fz-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: 'Fugaz One', Impact, sans-serif;
  color: var(--text-strong);
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: .01em;
  line-height: var(--lh-tight);
  margin: 0 0 .4em;
}
h1 { font-size: var(--fz-h1); }
h2 { font-size: var(--fz-h2); }
h3 { font-size: var(--fz-h3); }

p { margin: 0 0 1em; }
.text-strong { color: var(--text-strong); font-weight: 600; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); }
section { padding: 64px 0; }
@media (min-width: 768px) { section { padding: 96px 0; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 12, 18, .85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--maxw); margin: 0 auto;
}
.site-header .logo { height: 22px; }
.site-header .meta {
  font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em;
  font-weight: 600;
}
.site-header .meta b { color: var(--text-strong); }
@media (max-width: 600px) { .site-header .meta { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  font-family: 'Fugaz One', Impact, sans-serif;
  font-weight: 400;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 18px 28px;
  border-radius: var(--rad);
  background: var(--accent);
  color: #fff;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  text-align: center;
  width: 100%;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-block { width: 100%; }
.btn-lg { padding: 22px 32px; font-size: 19px; }
.btn-wa {
  background: var(--green);
}
.btn-wa:hover { background: var(--green-hover); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(254,94,34,.05); }

/* ---------- Form ---------- */
.form { display: grid; gap: 12px; }
.form-input {
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  color: #1F222E;
  border: 0;
  outline: 0;
  border-radius: var(--rad);
  font-size: 16px;
  font-weight: 500;
}
.form-input::placeholder { color: #888; }
.form-input:focus { box-shadow: 0 0 0 2px var(--accent); }
.form-fineprint {
  font-size: 12px; color: var(--text-muted);
  line-height: 1.5;
  text-align: center;
}
.form-error {
  display: none;
  background: rgba(207, 46, 46, .12);
  color: #ff8585;
  padding: 10px 14px;
  font-size: 13px;
  border-left: 3px solid #cf2e2e;
}
.form.is-error .form-error { display: block; }
.form-success {
  display: none;
  background: rgba(37, 211, 102, .12);
  color: #84e8a8;
  padding: 14px 18px;
  font-size: 14px;
  border-left: 3px solid #25d366;
}
.form.is-success .form-success { display: block; }
.form.is-success .form-input,
.form.is-success .btn,
.form.is-success .form-fineprint { display: none; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8,12,18,.65) 0%, rgba(8,12,18,.92) 100%),
    var(--hero-bg, url("../images/hero-nueva-scaled.webp")) center/cover no-repeat;
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .hero { padding: 90px 0 110px; }
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.15fr 1fr; gap: 64px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Geist', sans-serif;
  font-weight: 600; font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(255, 231, 53, .08);
  padding: 8px 14px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 231, 53, .25);
}
.hero h1 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text);
  max-width: 580px;
  margin-bottom: 30px;
}
.hero-sub b { color: var(--text-strong); }
.hero-bullets {
  display: grid; gap: 10px;
  margin: 0 0 28px;
  padding: 0; list-style: none;
}
.hero-bullets li {
  display: flex; gap: 10px;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}
.hero-bullets li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  margin-top: 24px;
  font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em;
  font-weight: 600;
}
.hero-meta b { color: var(--text-strong); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta img { width: 18px; height: 18px; }

/* form card sticky inside hero */
.hero-form-card {
  background: rgba(31, 34, 46, .75);
  border: 1px solid var(--border);
  padding: 28px;
  backdrop-filter: blur(6px);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.hero-form-card h3 {
  font-size: 20px;
  text-transform: uppercase;
  margin: 0 0 18px;
}
@media (min-width: 980px) {
  .hero-form-card { padding: 36px; }
  .hero-form-card h3 { font-size: 24px; margin-bottom: 22px; }
}

/* Hero portrait (Víctor) — visible on wide screens only */
.hero-portrait { display: none; }
.hero-portrait img {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  filter: drop-shadow(0 30px 50px rgba(254, 94, 34, .25));
}
@media (min-width: 1180px) {
  .hero-portrait { display: block; }
  .hero-grid--3 { grid-template-columns: 1.1fr 0.6fr 0.7fr; gap: 28px; }
}

/* ---------- Section variants ---------- */
.section-deep { background: var(--bg-deep); }
.section-base { background: var(--bg-base); }
.section-orange-edge { border-top: 4px solid var(--accent); }
.section-bordered { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-block;
  font-family: 'Geist', sans-serif;
  font-weight: 700; font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Big quote / story ---------- */
.story {
  max-width: 760px; margin: 0 auto;
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.7;
}
.story h2 {
  text-align: left;
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 28px;
}
.story p { margin-bottom: 1.2em; }
.story strong { color: var(--text-strong); }
.story .standout {
  display: block;
  font-family: 'Fugaz One', Impact, sans-serif;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--text-strong);
  line-height: 1.2;
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

/* ---------- 3-column benefit grid ---------- */
.benefits {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px 26px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.benefit-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.benefit-card .icon {
  font-size: 36px;
  line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
}
.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.benefit-card p { font-size: 15px; color: var(--text); margin: 0; }

/* ---------- Bio (Víctor) ---------- */
.bio {
  display: grid; gap: 32px;
  align-items: center;
}
@media (min-width: 980px) {
  .bio { grid-template-columns: 320px 1fr; gap: 56px; }
}
.bio-photo {
  width: 100%; max-width: 320px;
  aspect-ratio: 1 / 1.1;
  background: var(--bg-card) center/cover;
  margin: 0 auto;
  border: 1px solid var(--border);
}
.bio h2 { margin-bottom: 18px; }
.bio-credentials {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 24px;
}
.bio-credentials span {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(255,231,53,.3);
  background: rgba(255,231,53,.06);
  padding: 6px 10px;
}

/* ---------- Checklist (para ti si) ---------- */
.checklist {
  display: grid; gap: 14px;
  padding: 0; margin: 0; list-style: none;
}
.checklist li {
  display: flex; gap: 14px;
  font-size: 16px;
  line-height: 1.5;
}
.checklist li::before {
  content: '✊';
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.checklist li strong { color: var(--text-strong); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid; gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testimonials { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.t-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  display: flex; flex-direction: column;
  gap: 14px;
}
.t-stars { color: var(--gold); font-size: 18px; letter-spacing: .04em; }
.t-quote {
  font-size: 15px; line-height: 1.6; color: var(--text);
  font-style: italic;
  margin: 0;
  flex-grow: 1;
}
.t-author {
  font-family: 'Fugaz One', Impact, sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-strong);
  letter-spacing: .06em;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
  background: linear-gradient(180deg, var(--bg-deep), var(--bg-base));
  border-top: 1px solid var(--border);
}
.cta-final h2 { font-size: clamp(28px, 4.4vw, 48px); margin-bottom: 22px; }
.cta-final p { max-width: 620px; margin: 0 auto 32px; }
.cta-final .form { max-width: 460px; margin: 0 auto; }
.cta-final .meta-line {
  margin-top: 28px; font-size: 13px; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .12em;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  padding: 36px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.site-footer img { height: 22px; opacity: .8; margin: 0 auto 14px; }
.site-footer .copy {
  font-size: 12px; color: var(--text-muted);
  letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600;
}
.site-footer .links { margin-top: 16px; font-size: 12px; }
.site-footer .links a { color: var(--text-muted); margin: 0 8px; text-decoration: underline; }

/* ---------- Headline emphasis (yellow / orange word) ---------- */
.hl-orange { color: var(--accent); }
.hl-yellow { color: var(--gold); }

/* ---------- Video block ---------- */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000 center/cover;
  border: 1px solid var(--border);
  overflow: hidden;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(254,94,34,.14), rgba(8,12,18,.9)),
              var(--bg-card);
  color: var(--text-muted);
  font-family: 'Fugaz One', Impact, sans-serif;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

/* ---------- WhatsApp specific (gracias) ---------- */
.wa-cta-wrap {
  display: grid; gap: 16px;
  margin-top: 26px;
}
.wa-cta-wrap .btn-secondary {
  background: transparent;
  color: var(--text-muted);
  text-decoration: underline;
  font-size: 14px;
  padding: 8px;
}

/* ---------- Pricing card (replay) ---------- */
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  padding: 36px 28px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  box-shadow: var(--shadow-glow);
}
.price-card .price-old {
  font-size: 18px; color: var(--text-muted);
  text-decoration: line-through; margin-bottom: 6px;
}
.price-card .price-new {
  font-family: 'Fugaz One', Impact, sans-serif;
  font-size: clamp(48px, 7vw, 72px);
  color: var(--text-strong);
  line-height: 1;
  margin: 8px 0 6px;
}
.price-card .price-meta {
  font-size: 13px; color: var(--text-muted);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 26px;
}
.price-features {
  display: grid; gap: 10px;
  text-align: left;
  padding: 0 0 24px; margin: 0 0 24px;
  list-style: none;
  border-bottom: 1px solid var(--border);
}
.price-features li {
  display: flex; gap: 12px;
  font-size: 14px; color: var(--text);
  line-height: 1.5;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-l { margin-top: 32px; }
.mt-xl { margin-top: 48px; }

/* deep-zone divider triangles (decoration) */
.tri-row {
  display: flex; gap: 12px; justify-content: center;
  padding: 30px 0;
  background: var(--bg-deep);
}
.tri-row span {
  display: inline-block;
  width: 0; height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 18px solid #2A4F8A;
  opacity: .55;
}
