/* =========================================================
   MÉTODO JACOB — styles.css
   Oscuro cálido · naranja brasa · tipografía condensada
   ========================================================= */

:root {
  --bg:        #0b0908;
  --bg-2:      #131010;
  --bg-3:      #1b1715;
  --ink:       #f4eee7;
  --ink-soft:  #d8cfc6;
  --mute:      #978d85;
  --line:      rgba(244, 238, 231, 0.1);
  --line-2:    rgba(244, 238, 231, 0.18);
  --accent:    #ff6a1a;
  --accent-2:  #ffa25c;
  --accent-deep: #c9430a;
  --accent-glow: rgba(255, 106, 26, 0.45);

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-body:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;

  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);
  --radius:    18px;
  --pad:       clamp(1.1rem, 4vw, 3rem);
  --nav-h:     72px;
  --promo-h:   40px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* grano cinematográfico */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -1%); }
  80%  { transform: translate(3%, 3%); }
  100% { transform: translate(0, 0); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #140a04; }

.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.center { text-align: center; }

em { font-style: normal; color: var(--accent); }
.outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0 0 1.4rem;
  font-family: var(--f-mono);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-2);
}
.kicker.center { display: flex; justify-content: center; }
.kicker .num {
  display: inline-grid; place-items: center;
  padding: .25rem .5rem;
  border: 1px solid var(--line-2); border-radius: 99px;
  color: var(--ink); font-size: .66rem;
}
.kicker-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-glow); }
  70%  { box-shadow: 0 0 0 10px rgba(255,106,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,106,26,0); }
}

/* ---------- Botones ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 99px;
  border: 1px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  line-height: 1;
  transform: translate(var(--bx), var(--by));
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
  isolation: isolate;
  overflow: hidden;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: .7rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: 1.1rem 1.8rem; font-size: 1rem; }
.btn-xl { padding: 1.35rem 2.4rem; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-accent {
  background: var(--accent);
  color: #160a03;
  box-shadow: 0 10px 40px -12px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-accent::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease-out);
}
.btn-accent:hover::before { transform: translateX(120%); }
.btn-accent:hover { box-shadow: 0 16px 50px -10px var(--accent-glow), inset 0 1px 0 rgba(255,255,255,.35); background: #ff7a30; }

.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.06); }

.btn-line { border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Splash ---------- */
.splash {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
  transition: clip-path .9s var(--ease-io), opacity .4s .5s;
  clip-path: inset(0 0 0 0);
  /* Red de seguridad: si el JS falla, se oculta sola a los 4.5s */
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none; }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); visibility: hidden; } }
.splash-inner { display: grid; gap: 1rem; justify-items: center; }
.splash-mark {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: .02em; line-height: 1;
  animation: splashIn .8s var(--ease-out) both;
}
.splash-mark b { color: var(--accent); font-weight: 900; }
.splash-bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.splash-bar i { display: block; height: 100%; background: var(--accent); animation: splashBar 1.1s var(--ease-io) forwards; transform-origin: left; transform: scaleX(0); }
@keyframes splashIn { from { opacity: 0; transform: translateY(14px); letter-spacing: .2em; } }
@keyframes splashBar { to { transform: scaleX(1); } }

/* ---------- Barra promo ---------- */
.promo {
  position: relative; z-index: 60;
  height: var(--promo-h);
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 50%, var(--accent-deep));
  color: #1a0b03;
}
.promo-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: center; gap: .8rem;
  padding-inline: 1rem;
  font-size: .82rem; font-weight: 600;
}
.promo-dot { width: 7px; height: 7px; border-radius: 50%; background: #1a0b03; animation: blink 1.4s infinite; flex: none; }
@keyframes blink { 50% { opacity: .2; } }
.promo-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-code {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .28rem .65rem;
  border: 1px dashed rgba(26,11,3,.55); border-radius: 6px;
  background: rgba(255,255,255,.18);
  transition: background .2s;
  flex: none;
}
.promo-code:hover { background: rgba(255,255,255,.35); }
.promo-code .mono { font-size: .72rem; font-weight: 600; color: #1a0b03; }
.promo-code svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--pad);
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
  margin-bottom: calc(var(--nav-h) * -1);
}
.nav.is-solid {
  background: rgba(11, 9, 8, .9);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-solid { background: rgba(11, 9, 8, .62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand-j {
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: #160a03;
  font-family: var(--f-display); font-weight: 900; font-size: 1.35rem;
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand-j { transform: rotate(-8deg) scale(1.06); }
.brand-word { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; }
.brand-word b { color: var(--accent); font-weight: 900; }

.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  position: relative; font-size: .88rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-actions { display: flex; align-items: center; gap: .7rem; }
.nav-ig {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: 50%;
  transition: border-color .2s, background .2s;
}
.nav-ig:hover { border-color: var(--accent); background: rgba(255,106,26,.1); }
.nav-ig svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.nav-ig svg .fill { fill: currentColor; stroke: none; }

.nav-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 50%; background: none; position: relative; }
.nav-burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease-out); }
.nav-burger span:first-child { top: 16px; }
.nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  padding: var(--pad);
  background: rgba(11,9,8,.97);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-io);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 11vw, 4rem);
  text-transform: uppercase; line-height: 1.05;
  border-bottom: 1px solid var(--line);
  padding-block: .3rem;
}
.mobile-menu a:hover { color: var(--accent); }

/* ---------- HERO ---------- */
.hero {
  --mx: 70%; --my: 40%;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  padding: calc(var(--nav-h) + 2rem) var(--pad) 4rem;
  overflow: clip;
  isolation: isolate;
}
.hero-ember {
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(255,106,26,.30), transparent 60%),
    radial-gradient(900px circle at calc(var(--mx) + 8%) calc(var(--my) + 20%), rgba(201,67,10,.18), transparent 65%),
    radial-gradient(1200px circle at 85% 110%, rgba(255,106,26,.12), transparent 60%);
  transition: background .08s linear;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 20%, transparent 80%);
  opacity: .5;
}
.hero-photo {
  position: absolute; z-index: -1;
  right: max(0px, calc((100vw - 1500px) / 2));
  bottom: 0; top: calc(var(--nav-h) - 10px);
  width: min(46vw, 640px);
  margin: 0;
  clip-path: inset(100% 0 0 0);
  animation: photoIn 1.4s 1s var(--ease-io) forwards;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 18%;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 98%), linear-gradient(to right, transparent 0%, #000 28%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 62%, transparent 98%), linear-gradient(to right, transparent 0%, #000 28%);
  mask-composite: intersect;
  filter: contrast(1.05) saturate(1.05);
  transform: scale(1.08);
  animation: photoZoom 2.6s 1s var(--ease-out) forwards;
}
@keyframes photoIn { to { clip-path: inset(0 0 0 0); } }
@keyframes photoZoom { to { transform: scale(1); } }

.hero-content { position: relative; max-width: 760px; }
.hero-title {
  margin: 0 0 1.6rem;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.6rem, 10.5vw, 9.6rem);
  line-height: .86;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.hero-title .line { display: block; overflow: hidden; padding-top: .12em; margin-top: -.1em; }
.hero-title .line > span { display: inline-block; }
.hero-title .outline { -webkit-text-stroke: 2px var(--ink); }

/* entrada del hero: CSS puro, no depende del JS */
.hero-in {
  opacity: 0;
  transform: translateY(40px);
  animation: heroIn 1.1s calc(var(--d, 0s) + 1s) var(--ease-out) forwards;
}
.hero-title .hero-in { transform: translateY(105%); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero-sub { max-width: 34rem; margin: 0 0 2.2rem; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-soft); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--mute); }
.hero-trust svg { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero-badge {
  position: absolute; right: calc(var(--pad) + 2%); bottom: 12%;
  width: 150px; height: 150px;
  display: grid; place-items: center;
}
.badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge-ring text { font-family: var(--f-mono); font-size: 13.5px; letter-spacing: 3.2px; fill: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
.badge-core {
  display: grid; place-items: center; text-align: center;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--accent); color: #160a03;
  font-family: var(--f-display); font-weight: 900; font-size: 2.3rem; line-height: .8;
  box-shadow: 0 0 60px var(--accent-glow);
}
.badge-core small { display: block; font-family: var(--f-mono); font-size: .52rem; letter-spacing: .06em; line-height: 1.2; text-transform: uppercase; font-weight: 500; margin-top: .25rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .6rem; color: var(--mute);
}
.scroll-cue .mono { font-size: .62rem; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--accent), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ink); animation: cue 1.8s var(--ease-io) infinite; }
@keyframes cue { to { top: 110%; } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 1.2rem;
  transform: rotate(-1.2deg) scale(1.02);
  margin-block: 1rem;
}
.marquee-track {
  display: flex; width: max-content; align-items: center; gap: 2.2rem;
  animation: marquee 32s linear infinite;
}
.marquee span {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; white-space: nowrap;
}
.marquee span:nth-child(4n+3) { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.marquee b { color: var(--accent); font-size: 1.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones genéricas ---------- */
section { position: relative; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.sec-head.center { text-align: center; }
.sec-head.center .kicker { justify-content: center; }
.sec-title {
  margin: 0 0 1.2rem;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: .9;
  letter-spacing: -.005em;
  text-wrap: balance;
}
.sec-sub { margin: 0; max-width: 38rem; color: var(--ink-soft); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.sec-head.center .sec-sub, .sec-sub.center { margin-inline: auto; }
.link { color: var(--accent-2); border-bottom: 1px solid currentColor; }

.inline-code {
  display: inline-block;
  padding: .05rem .5rem;
  border: 1px dashed var(--accent); border-radius: 6px;
  background: rgba(255,106,26,.1);
  color: var(--accent-2);
  font-family: var(--f-mono); font-size: .88em; letter-spacing: .04em;
  vertical-align: baseline;
  transition: background .2s;
}
.inline-code:hover { background: rgba(255,106,26,.22); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: nunca dejar invisible un bloque con split */
.reveal[data-split] { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.reveal-img { clip-path: inset(12% 12% 12% 12% round var(--radius)); transition: clip-path 1.3s var(--ease-io); }
.reveal-img img { transform: scale(1.25); transition: transform 1.6s var(--ease-out); }
.reveal-img.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.reveal-img.is-visible img { transform: scale(1); }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(5rem, 11vw, 9rem) clamp(4rem, 8vw, 6rem); }
.manifesto-text {
  margin: 0 0 2.4rem;
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.7rem);
  line-height: 1.08;
  text-transform: uppercase;
  max-width: 1100px;
  text-wrap: pretty;
}
.manifesto-text .w { color: rgba(244,238,231,.16); transition: color .4s; }
.manifesto-text .w.on { color: var(--ink); }
.manifesto-text .w.hot { color: var(--accent); }
.manifesto-sign { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin: 0 0 clamp(3rem, 7vw, 5rem); }
.manifesto-sign .sign { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--accent); }
.manifesto-sign .mono { color: var(--mute); }

.mosaic {
  width: min(1400px, 100%); margin-inline: auto; padding-inline: var(--pad);
  display: grid; gap: clamp(.8rem, 1.5vw, 1.2rem);
  grid-template-columns: 1fr 1.6fr 1fr;
  align-items: end;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.m-1 { aspect-ratio: 3 / 4.2; }
.m-2 { aspect-ratio: 4 / 3.4; }
.m-2 img { object-position: 70% 40%; }
.m-3 { aspect-ratio: 3 / 4.6; transform: translateY(-3rem); }
.m-3.is-visible { transform: translateY(-3rem); }

.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stats li { padding: 1.8rem 1.2rem 0 0; border-right: 1px solid var(--line); padding-left: 1.2rem; }
.stats li:first-child { padding-left: 0; }
.stats li:last-child { border-right: 0; }
.stat-n { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(3.2rem, 6vw, 5.2rem); line-height: .9; color: var(--ink); }
.stat-n small { font-size: .38em; color: var(--accent); margin-left: .15rem; font-weight: 800; }
.stat-l { display: block; margin-top: .6rem; color: var(--mute); font-size: .9rem; max-width: 16ch; }

/* ---------- Planes ---------- */
.plans { padding-block: clamp(5rem, 10vw, 8rem); background: linear-gradient(var(--bg), var(--bg-2) 30%, var(--bg-2) 70%, var(--bg)); }
.plans-glow {
  position: absolute; left: 50%; top: 30%; transform: translate(-50%, -50%);
  width: min(1100px, 120vw); height: 700px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,106,26,.16), transparent);
  filter: blur(40px);
}
.plan-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }

/* spotlight: borde que sigue al cursor */
[data-spotlight] > * { --sx: 50%; --sy: 0%; }
.plan, .tile {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  isolation: isolate;
}
.plan::before, .tile::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px;
  background: radial-gradient(360px circle at var(--sx) var(--sy), rgba(255,140,60,.85), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.plan::after, .tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--sx) var(--sy), rgba(255,106,26,.08), transparent 50%);
  opacity: 0; transition: opacity .4s;
}
[data-spotlight]:hover > *::before, [data-spotlight]:hover > *::after { opacity: 1; }

.plan {
  display: flex; flex-direction: column; gap: 1.6rem;
  padding: 2.2rem 1.8rem 1.8rem;
  transition: transform .5s var(--ease-out), border-color .3s, opacity 1s var(--ease-out);
}
.plan.is-visible:hover { transform: translateY(-6px); }
.plan-featured {
  background: linear-gradient(180deg, rgba(255,106,26,.16), rgba(255,106,26,.03) 45%, rgba(255,255,255,.015));
  border-color: rgba(255,106,26,.5);
  box-shadow: 0 30px 80px -30px rgba(255,106,26,.45);
}
@media (min-width: 981px) {
  .plan-featured { margin-block: -1.2rem; padding-block: 3.2rem 2.6rem; }
}
.plan-ribbon {
  position: absolute; top: -12px; left: 1.8rem;
  padding: .38rem .8rem; border-radius: 99px;
  background: var(--accent); color: #160a03; font-size: .64rem; font-weight: 600;
}
.plan-ribbon-alt { background: var(--ink); color: var(--bg); }
.plan-tag { margin: 0 0 .6rem; color: var(--accent-2); }
.plan-name { margin: 0 0 .6rem; font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; line-height: .95; text-transform: uppercase; }
.plan-desc { margin: 0; color: var(--mute); font-size: .93rem; }
.plan-price { display: grid; gap: .15rem; padding-block: 1.4rem; border-block: 1px solid var(--line); }
.plan-price .old { font-family: var(--f-mono); font-size: .85rem; color: var(--mute); text-decoration: line-through; text-decoration-color: var(--accent); }
.plan-price .now { font-family: var(--f-display); font-weight: 900; font-size: 4.6rem; line-height: .9; letter-spacing: -.01em; }
.plan-price .now sup { font-size: .38em; vertical-align: .95em; margin-left: .1rem; }
.plan-price .per { font-size: .85rem; color: var(--ink-soft); }
.plan-price .per b { color: var(--accent-2); font-family: var(--f-mono); font-weight: 500; font-size: .8rem; }
.plan-price .renew { font-size: .78rem; color: var(--mute); margin-top: .35rem; }
.plan-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; flex: 1; }
.plan-list li { position: relative; padding-left: 1.8rem; font-size: .93rem; color: var(--ink-soft); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(255,106,26,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a45' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.plans-assure { list-style: none; margin: 3rem 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.2rem; }
.plans-assure li { display: inline-flex; align-items: center; gap: .55rem; color: var(--mute); font-size: .88rem; }
.plans-assure svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Qué incluye (bento) ---------- */
.include { padding-block: clamp(5rem, 10vw, 8rem); }
.bento {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(230px, auto);
}
.tile { padding: 1.8rem; display: flex; flex-direction: column; gap: .5rem; overflow: hidden; transition: transform .5s var(--ease-out), opacity 1s var(--ease-out), border-color .3s; }
.tile.is-visible:hover { transform: translateY(-4px); }
.tile h3 { margin: .2rem 0 .1rem; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.tile p { margin: 0; color: var(--mute); font-size: .92rem; }
.tile-tag { color: var(--accent-2); font-size: .64rem; }
.tile-ico {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: auto;
  border-radius: 14px; background: rgba(255,106,26,.12); border: 1px solid rgba(255,106,26,.25);
  transition: transform .5s var(--ease-out), background .3s;
}
.tile:hover .tile-ico { transform: rotate(-8deg) scale(1.08); background: rgba(255,106,26,.22); }
.tile-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile-ico svg .fill { fill: var(--accent); stroke: none; }
.tile-ico + .tile-tag { margin-top: 1.4rem; }

.tile-photo { grid-column: span 2; grid-row: span 2; padding: 0; justify-content: flex-end; min-height: 480px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; z-index: -2; transition: transform 1.2s var(--ease-out); }
.tile-photo:hover img { transform: scale(1.05); }
.tile-photo::after { opacity: 1; background: linear-gradient(to top, rgba(11,9,8,.95) 10%, rgba(11,9,8,.3) 55%, transparent); z-index: -1; }
.tile-photo .tile-body { padding: 2rem; display: grid; gap: .5rem; }
.tile-photo h3 { font-size: 2.4rem; }
.tile-photo p { color: var(--ink-soft); max-width: 40ch; }
.tile-wide { grid-column: span 4; flex-direction: row; align-items: center; gap: 1.6rem; min-height: 0; }
.tile-wide .tile-ico { margin: 0; flex: none; width: 64px; height: 64px; }
.tile-wide .tile-ico svg { width: 30px; height: 30px; }
.tile-wide > div { display: grid; gap: .35rem; }

/* ---------- Objetivos (paneles expandibles) ---------- */
.goals { padding-block: clamp(5rem, 10vw, 8rem); }
.goal-panels {
  width: min(1400px, 100%); margin-inline: auto; padding-inline: var(--pad);
  display: flex; gap: 1rem; height: clamp(460px, 72vh, 680px);
}
.goal {
  position: relative; flex: 1; min-width: 0;
  border-radius: calc(var(--radius) + 4px); overflow: hidden;
  cursor: pointer;
  transition: flex 1s var(--ease-io);
  outline: none;
  isolation: isolate;
}
.goal.is-open { flex: 3.2; }
.goal:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.goal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.85) brightness(.6); transform: scale(1.1); transition: filter .9s, transform 1.4s var(--ease-out); }
.goal.is-open img { filter: grayscale(0) brightness(.85); transform: scale(1); }
.goal:nth-child(2) img { object-position: 50% 20%; }
.goal:nth-child(3) img { object-position: 50% 30%; }
.goal-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,9,8,.95), rgba(11,9,8,.2) 55%, rgba(11,9,8,.35)); }
.goal-num {
  position: absolute; top: 1.4rem; left: 1.6rem;
  font-family: var(--f-display); font-weight: 900; font-size: 4.5rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(244,238,231,.6);
  transition: color .6s, -webkit-text-stroke-color .6s;
}
.goal.is-open .goal-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.goal-body { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.6rem; }
.goal h3 {
  margin: 0; font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 3vw, 3rem); line-height: .95;
  white-space: nowrap;
}
.goal:not(.is-open) h3 { writing-mode: vertical-rl; transform: rotate(180deg); position: absolute; bottom: 0; left: 0; font-size: clamp(1.5rem, 2.4vw, 2.2rem); }
.goal p { margin: .8rem 0 0; max-width: 40ch; color: var(--ink-soft); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .6s var(--ease-out); }
.goal.is-open p { opacity: 1; transform: none; transition-delay: .45s; }

/* ---------- Pasos ---------- */
.steps { padding-block: clamp(4rem, 8vw, 7rem); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; position: relative; }
.step-list::before {
  content: ""; position: absolute; top: 2.05rem; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .5;
}
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-n {
  position: relative; display: inline-grid; place-items: center; width: 4.1rem; height: 4.1rem; margin-bottom: 1.4rem;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); color: var(--accent);
  font-size: .95rem;
  box-shadow: 0 0 30px -6px var(--accent-glow);
}
.step h3 { margin: 0 0 .6rem; font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; line-height: 1; }
.step h3 .inline-code { font-size: .6em; vertical-align: middle; }
.step p { margin: 0 auto; max-width: 30ch; color: var(--mute); font-size: .95rem; }

/* ---------- Comunidad ---------- */
.community {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1400px, 100%); margin-inline: auto; padding: clamp(4rem, 8vw, 7rem) var(--pad);
}
.community-photo { border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.community-photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.guarantee {
  margin-top: 2.6rem; display: flex; gap: 1.4rem; align-items: center;
  padding: 1.6rem; border-radius: var(--radius);
  border: 1px solid rgba(255,106,26,.35);
  background: linear-gradient(135deg, rgba(255,106,26,.12), rgba(255,106,26,.02));
}
.guarantee h3 { margin: 0 0 .35rem; font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; text-transform: uppercase; line-height: 1; }
.guarantee p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.seal { position: relative; flex: none; width: 96px; height: 96px; display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 4 5; animation: spin 30s linear infinite; }
.seal svg .thin { stroke-width: 1; stroke-dasharray: none; opacity: .5; }
.seal span { font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: .8; text-align: center; color: var(--accent); }
.seal small { display: block; font-family: var(--f-mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .sec-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
  padding: 1.5rem 0;
  font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.15rem);
  transition: color .2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-2); }
.qa summary i { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line-2); border-radius: 50%; transition: transform .45s var(--ease-out), background .3s, border-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] summary i { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #160a03; }
.qa-a { padding: 0 3rem 1.6rem 0; color: var(--ink-soft); }
.qa-a p { margin: 0; }
.qa[open] .qa-a { animation: qaIn .5s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contacto ---------- */
.contact { padding-block: clamp(4rem, 8vw, 7rem); background: var(--bg-2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact-mail {
  display: inline-block; margin-top: 2rem;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.6vw, 2rem);
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0% 2px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
  word-break: break-all;
}
.contact-mail:hover { background-size: 100% 2px; color: var(--accent-2); }
.contact-form { display: grid; gap: 1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--bg); }
.contact-form label { display: grid; gap: .45rem; }
.contact-form label .mono { color: var(--mute); font-size: .66rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .95rem 1rem;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,106,26,.15); }
.contact-form .is-invalid { border-color: #ff4d4d; }
.form-note { margin: 0; font-size: .78rem; color: var(--mute); text-align: center; }

/* ---------- CTA final ---------- */
.final {
  --mx: 50%; --my: 50%;
  padding-block: clamp(6rem, 14vw, 11rem);
  overflow: clip; isolation: isolate;
  text-align: center;
}
.final-bg { position: absolute; inset: 0; z-index: -3; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; opacity: .22; filter: grayscale(1) contrast(1.2); }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 20%, var(--bg) 78%), linear-gradient(var(--bg), transparent 30%, transparent 70%, var(--bg)); }
.final-inner { display: grid; justify-items: center; gap: 1.6rem; }
.final-title {
  margin: 0; display: grid;
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 12vw, 10.5rem); line-height: .85;
}
.final-title .outline { -webkit-text-stroke-width: 2px; }
.final-title .reveal:nth-child(2) { --rd: .1s; }
.final-title .reveal:nth-child(3) { --rd: .2s; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 3rem calc(3rem + env(safe-area-inset-bottom)); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.6rem 2rem; align-items: center; }
.footer-brand p { margin: .4rem 0 0; color: var(--mute); font-size: .85rem; }
.brand-word.big { font-size: 2rem; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-links a { color: var(--ink-soft); font-size: .9rem; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { grid-column: 1 / -1; margin: 0; color: var(--mute); font-size: .66rem; border-top: 1px solid var(--line); padding-top: 1.4rem; }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 70;
  display: none; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .6rem .6rem .6rem 1.1rem;
  border-radius: 99px;
  background: rgba(27,23,21,.94);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  transform: translateY(150%);
  transition: transform .5s var(--ease-out);
}
@supports (backdrop-filter: blur(12px)) {
  .sticky-cta { background: rgba(27,23,21,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.sticky-cta.is-shown { transform: none; }
.sticky-cta > div { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; line-height: 1.1; }
.sticky-cta .mono { color: var(--mute); font-size: .6rem; }
.sticky-cta b { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; }
.sticky-cta .sticky-code { color: var(--accent-2); }
.sticky-cta .btn { padding: .85rem 1.2rem; font-size: .9rem; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 6rem; z-index: 120;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: .8rem 1.2rem; border-radius: 99px;
  background: var(--ink); color: var(--bg); font-weight: 600; font-size: .9rem;
  transition: opacity .3s, transform .4s var(--ease-out);
  white-space: nowrap;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav-links { gap: 1.3rem; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-photo { grid-column: span 2; grid-row: auto; min-height: 460px; }
  .tile-wide { grid-column: span 2; }
}

@media (max-width: 980px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-ig { display: none; }

  .hero {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 5.5rem;
  }
  .hero-photo { left: 0; right: 0; top: 0; bottom: auto; height: 78%; width: 100%; }
  .hero-photo img {
    object-position: 50% 12%;
    -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent 96%);
    mask-image: linear-gradient(to bottom, #000 40%, transparent 96%);
    opacity: .85;
  }
  .hero-content { padding-top: 38vh; }
  .hero-badge { width: 112px; height: 112px; top: calc(var(--nav-h) + 1.5rem); bottom: auto; right: var(--pad); }
  .badge-core { width: 70px; height: 70px; font-size: 1.8rem; }
  .scroll-cue { display: none; }

  .plan-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 1.8rem; }
  .plan-featured { order: -1; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li { padding: 1.6rem 1rem 1.6rem 0; border-bottom: 1px solid var(--line); }
  .stats li:nth-child(2n) { border-right: 0; padding-left: 1rem; }
  .stats li:nth-child(odd) { padding-left: 0; }

  .goal-panels { flex-direction: column; height: auto; }
  .goal { flex: none; height: 110px; transition: height .9s var(--ease-io); }
  .goal.is-open { flex: none; height: 440px; }
  .goal:not(.is-open) h3 { writing-mode: horizontal-tb; transform: none; position: static; }
  .goal-num { font-size: 3rem; top: auto; bottom: 1.4rem; left: auto; right: 1.4rem; }
  .goal.is-open .goal-num { top: 1.2rem; bottom: auto; }
  .goal-body { right: 5rem; }
  .goal:not(.is-open) p { display: none; }
  .goal:not(.is-open) .goal-body { bottom: 50%; transform: translateY(50%); }

  .step-list { grid-template-columns: 1fr; gap: 2.6rem; }
  .step-list::before { top: 0; bottom: 0; left: 2.05rem; right: auto; width: 1px; height: auto; background: linear-gradient(transparent, var(--accent), transparent); }
  .step { text-align: left; padding: 0 0 0 5.6rem; }
  .step-n { position: absolute; left: 0; top: -.4rem; }
  .step p { margin: 0; }

  .community { grid-template-columns: 1fr; }
  .community-photo { aspect-ratio: 4 / 3.6; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-grid .sec-head { position: static; }

  .sticky-cta { display: flex; }
  .footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --promo-h: 38px; }
  .promo-text { font-size: .74rem; }
  .promo-text b { display: inline; }
  .brand-word { font-size: 1.12rem; }
  .nav-actions .btn-sm { display: none; }
  .hero-title { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { gap: .5rem 1.1rem; }
  .hero-trust li { font-size: .78rem; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .m-2 { grid-column: span 2; order: -1; }
  .m-3 { transform: none; }
  .m-3.is-visible { transform: none; }
  .bento { grid-template-columns: 1fr; }
  .tile-photo, .tile-wide { grid-column: auto; }
  .tile-wide { flex-direction: column; align-items: flex-start; }
  .plan-price .now { font-size: 4rem; }
  .guarantee { flex-direction: column; align-items: flex-start; }
  .qa-a { padding-right: 0; }
}
@media (max-width: 420px) {
  .promo-text { display: none; }
}

/* Solo lo realmente intrusivo se desactiva con reduced-motion */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .badge-ring, .seal svg { animation: none; }
}
