/* ============================================
   BRAIN2CAPITAL — styles
   Black + purple. Bold. Disruptive.
   ============================================ */

:root {
  --bg:        #050507;
  --bg-2:      #0b0a12;
  --surface:   #100e1a;
  --surface-2: #16131f;
  --line:      rgba(168, 120, 245, 0.14);

  --text:      #f4f2fa;
  --muted:     #a09bb5;
  --faint:     #6e6986;

  --purple:    #a855f7;
  --purple-2:  #921cb5;
  --purple-lt: #cfacf5;
  --grad:      linear-gradient(105deg, #cfacf5 0%, #a855f7 45%, #921cb5 100%);
  --grad-soft: linear-gradient(135deg, rgba(207,172,245,.16), rgba(146,28,181,.10));

  --nav-bg:    rgba(8, 7, 12, .72);
  --menu-bg:   rgba(8, 7, 12, .97);
  --input-bg:  rgba(10, 8, 16, .6);
  --orb-op:    .5;

  --radius:    20px;
  --maxw:      1180px;
  --ease:      cubic-bezier(.16,1,.3,1);
}

/* ---------- Light theme ---------- */
body.light {
  --bg:        #f5f2fb;
  --bg-2:      #ece5f7;
  --surface:   #ffffff;
  --surface-2: #f4eefc;
  --line:      rgba(146, 28, 181, .16);
  --text:      #190f24;
  --muted:     #574f6b;
  --faint:     #8b84a0;
  --purple-lt: #8b1cb0;
  --grad:      linear-gradient(105deg, #a855f7 0%, #921cb5 55%, #6d18a8 100%);
  --grad-soft: linear-gradient(135deg, rgba(168,85,247,.16), rgba(146,28,181,.08));
  --nav-bg:    rgba(255, 255, 255, .82);
  --menu-bg:   rgba(255, 255, 255, .97);
  --input-bg:  rgba(146, 28, 181, .04);
  --orb-op:    .22;
}
body { transition: background .4s var(--ease), color .4s var(--ease); }

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .nav__word, .btn, .kicker, .stat__num, .result__num {
  font-family: 'Sora', system-ui, sans-serif;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--purple); color: #fff; }

/* ---------- Backgrounds ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(168,120,245,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168,120,245,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-orb {
  position: fixed; z-index: -2; border-radius: 50%;
  filter: blur(110px); opacity: .5; pointer-events: none;
}
.bg-orb { opacity: var(--orb-op); }
.orb-1 { width: 620px; height: 620px; top: -180px; left: -160px;
  background: radial-gradient(circle, #921cb5, transparent 70%);
  animation: float1 18s var(--ease) infinite; }
.orb-2 { width: 520px; height: 520px; top: 40%; right: -180px;
  background: radial-gradient(circle, #6d28d9, transparent 70%);
  animation: float2 22s var(--ease) infinite; }
@keyframes float1 { 50% { transform: translate(120px, 80px) scale(1.1); } }
@keyframes float2 { 50% { transform: translate(-100px, -60px) scale(1.15); } }

.noise {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--grad); z-index: 200; box-shadow: 0 0 12px var(--purple);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 56px);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 34px; height: 34px; display: inline-block; flex: 0 0 auto; }
.nav__mark svg { width: 100%; height: 100%; display: block; }
.nav__word { font-weight: 800; letter-spacing: .04em; font-size: 1.05rem; }
.nav__word .accent { color: var(--purple-lt); }
.nav__links { display: flex; gap: 32px; }
.nav__links a { color: var(--muted); font-size: .92rem; font-weight: 500; position: relative; transition: color .25s; }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

/* Theme toggle */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--text);
  background: rgba(168,120,245,.10); border: 1px solid var(--line);
  transition: background .3s, transform .3s var(--ease), color .3s;
}
.theme-toggle:hover { background: rgba(168,120,245,.2); transform: rotate(15deg); }
.theme-toggle .ic-sun { display: none; }
body.light .theme-toggle .ic-sun { display: block; }
body.light .theme-toggle .ic-moon { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-weight: 600; font-size: .98rem; border: 0; border-radius: 100px;
  padding: 15px 28px; transition: transform .25s var(--ease), box-shadow .35s var(--ease), background .3s;
  will-change: transform; white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary {
  background: var(--grad); color: #0a0410;
  box-shadow: 0 8px 30px rgba(146,28,181,.35), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover { box-shadow: 0 14px 44px rgba(168,120,245,.55); }
.btn--line {
  background: transparent; color: var(--text);
  box-shadow: inset 0 0 0 1.5px rgba(168,120,245,.4);
}
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--purple); background: rgba(168,120,245,.08); }
.btn--ghost {
  background: rgba(168,120,245,.10); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line); padding: 11px 22px; font-size: .9rem;
}
.btn--ghost:hover { background: rgba(168,120,245,.2); }
.btn--block { width: 100%; justify-content: center; padding: 17px; font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.18fr 0.82fr; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding: 140px clamp(20px, 5vw, 56px) 90px;
  max-width: var(--maxw); margin: 0 auto; position: relative;
}
.hero__inner { display: flex; flex-direction: column; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: var(--grad-soft); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 100px; font-size: .85rem; color: var(--purple-lt);
  font-weight: 500; margin-bottom: 32px;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--purple-lt);
  box-shadow: 0 0 0 0 rgba(207,172,245,.6); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(207,172,245,.6); }
  70% { box-shadow: 0 0 0 10px rgba(207,172,245,0); }
  100% { box-shadow: 0 0 0 0 rgba(207,172,245,0); }
}
.hero__title {
  font-size: clamp(2.8rem, 8.5vw, 6.4rem); font-weight: 800; line-height: .98;
  letter-spacing: -.02em; margin-bottom: 32px;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem); color: var(--muted);
  max-width: 640px; margin-bottom: 40px;
}
.hero__sub strong { color: var(--text); font-weight: 600; }
.hero__sub em { color: var(--purple-lt); font-style: normal; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat__num {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat__label { color: var(--faint); font-size: .85rem; margin-top: 8px; max-width: 150px; }
.hero__scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--faint); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--purple), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content:''; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--purple-lt); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { to { top: 100%; } }

/* ---------- Hero visual ---------- */
.hero__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 480px; justify-self: center; width: 100%; align-self: start; }
.hero__brain { width: 56%; filter: drop-shadow(0 20px 60px rgba(168,120,245,.5)); animation: brainFloat 6s var(--ease) infinite; z-index: 2; }
.hero__brain svg { width: 100%; height: auto; display: block; }
@keyframes brainFloat { 50% { transform: translateY(-16px); } }
.hero__rings { position: absolute; inset: 0; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ring-1 { width: 62%; height: 62%; border-color: rgba(168,120,245,.35); animation: spin 18s linear infinite; }
.ring-2 { width: 82%; height: 82%; border-style: dashed; border-color: rgba(168,120,245,.22); animation: spin 26s linear infinite reverse; }
.ring-3 { width: 100%; height: 100%; border-color: rgba(168,120,245,.12);
  background: radial-gradient(circle, rgba(146,28,181,.28), transparent 62%); }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-1::before, .ring-2::before { content:''; position:absolute; top:-4px; left:50%; width:8px; height:8px; border-radius:50%; background: var(--purple-lt); box-shadow: 0 0 12px var(--purple); }
.chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 14px; font-size: .82rem; font-weight: 600; color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.35); white-space: nowrap; animation: chipFloat 5s var(--ease) infinite;
}
.chip-1 { top: 6%; left: -6%; color: var(--purple-lt); }
.chip-2 { top: 26%; right: -8%; animation-delay: .6s; }
.chip-3 { bottom: 22%; left: -10%; animation-delay: 1.1s; }
.chip-4 { bottom: 4%; right: -2%; color: var(--purple-lt); animation-delay: 1.6s; }
@keyframes chipFloat { 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: rgba(146,28,181,.04); }
.marquee__track { display: flex; gap: 36px; white-space: nowrap; width: max-content; animation: scrollX 28s linear infinite; }
.marquee__track span { font-family: 'Sora'; font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--text); text-transform: uppercase; letter-spacing: .02em; }
.marquee__track .dot { color: var(--purple); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(80px, 12vw, 160px) clamp(20px, 5vw, 56px); }
.section__head { max-width: 760px; margin-bottom: 64px; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--purple-lt); margin-bottom: 18px;
}
.section__head h2, .profile h2, .cta h2 {
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em;
}
.section__lead { color: var(--muted); font-size: 1.12rem; margin-top: 22px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Manifesto ---------- */
.manifesto { max-width: 1000px; margin: 0 auto; padding: clamp(90px, 14vw, 180px) clamp(20px, 5vw, 56px); text-align: center; }
.manifesto__text { font-family: 'Sora'; font-weight: 700; font-size: clamp(1.6rem, 4.6vw, 3.2rem); line-height: 1.18; letter-spacing: -.01em; }
.strike { position: relative; color: var(--faint); }
.strike::after { content:''; position:absolute; left:-4%; top:52%; width:108%; height:3px; background: var(--purple); transform: rotate(-4deg); }

/* ---------- Method steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.step::before { content:''; position:absolute; inset:0; background: var(--grad-soft); opacity:0; transition: opacity .4s; }
.step:hover { transform: translateY(-8px); border-color: rgba(168,120,245,.4); }
.step:hover::before { opacity: 1; }
.step > * { position: relative; }
.step__num { font-family: 'Sora'; font-weight: 800; font-size: 2.4rem; color: transparent; -webkit-text-stroke: 1.5px rgba(168,120,245,.5); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Profile ---------- */
.profile__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.profile__left h2 { margin: 18px 0 22px; }
.profile__left p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }
.profile__list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.profile__list li {
  display: flex; gap: 16px; align-items: flex-start; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  font-size: 1.02rem; transition: transform .3s var(--ease), border-color .3s;
}
.profile__list li:hover { transform: translateX(8px); border-color: rgba(168,120,245,.4); }
.check { color: #0a0410; background: var(--grad); border-radius: 50%; width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; font-size: .82rem; font-weight: 800; margin-top: 1px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: transform .3s var(--ease), border-color .3s, box-shadow .4s;
  transform-style: preserve-3d;
}
.card:hover { border-color: rgba(168,120,245,.45); box-shadow: 0 24px 60px rgba(146,28,181,.18); }
.card__icon { font-size: 2rem; margin-bottom: 18px; display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 16px; background: var(--grad-soft); border: 1px solid var(--line); }
.card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Results ---------- */
.results__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 70px; }
.result { text-align: center; padding: 30px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.result__num { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 12px; }
.result p { color: var(--muted); font-size: .92rem; }
.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote p { font-family: 'Sora'; font-weight: 600; font-size: clamp(1.4rem, 3.6vw, 2.2rem); line-height: 1.3; letter-spacing: -.01em; }
.quote footer { color: var(--purple-lt); margin-top: 22px; font-size: .95rem; letter-spacing: .04em; }

/* ---------- Case study ---------- */
.case__grid { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case__media { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(146,28,181,.22); }
.case__media img { width: 100%; height: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; }
.case__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(5,5,7,.85)); }
.case__badge {
  position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,7,12,.65); backdrop-filter: blur(8px); border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 100px; font-size: .78rem; font-weight: 600; color: var(--purple-lt);
}
.case__tag { position: absolute; left: 22px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; }
.case__tag-name { font-family: 'Sora'; font-weight: 700; font-size: 1.3rem; }
.case__tag-handle { color: var(--purple-lt); font-size: .9rem; }
.case__body h3 { font-family: 'Sora'; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 18px; letter-spacing: -.01em; }
.case__body p { color: var(--muted); font-size: 1.08rem; margin-bottom: 18px; }
.case__body p strong { color: var(--text); font-weight: 600; }
.case__body p em { color: var(--purple-lt); font-style: normal; }
.case__points { list-style: none; display: flex; flex-direction: column; gap: 12px; margin: 26px 0 32px; }
.case__points li { display: flex; gap: 14px; align-items: center; font-size: 1rem; }
.case__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); }
.cstat { text-align: center; padding: 28px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.cstat:hover { transform: translateY(-6px); border-color: rgba(168,120,245,.4); }
.cstat__num { display: block; font-family: 'Sora'; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 10px; }
.cstat__label { color: var(--faint); font-size: .9rem; }
.case__proof { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; }
.case__proof figure { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.case__proof img { width: 100%; height: 260px; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.case__proof figure:hover img { transform: scale(1.05); }
.case__proof figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 18px 14px; font-size: .9rem; color: var(--text); background: linear-gradient(transparent, rgba(5,5,7,.9)); }

/* ---------- Cohort / edición privada ---------- */
.cohort__card {
  position: relative; max-width: 880px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: 32px; overflow: hidden;
  padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
}
.cohort__glow { position: absolute; top: -90px; left: 50%; transform: translateX(-50%); width: 460px; height: 300px; background: radial-gradient(circle, rgba(168,120,245,.30), transparent 68%); filter: blur(50px); pointer-events: none; }
.cohort__card > :not(.cohort__glow) { position: relative; }
.cohort__card .kicker { display: inline-flex; align-items: center; gap: 9px; }
.cohort__card h2 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; margin: 12px 0 16px; }
.cohort__lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 0 auto 34px; }
.cohort__lead strong { color: var(--text); font-weight: 600; }
.seats { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.seat { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(168,120,245,.4); background: transparent; position: relative; transition: transform .3s var(--ease); }
.seat--taken { background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px rgba(146,28,181,.45); }
.seat--taken::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #0a0410; font-size: .8rem; font-weight: 800; }
.seats__status { font-family: 'Sora'; font-weight: 600; font-size: 1.05rem; margin-bottom: 36px; }
.seats__status strong { color: var(--text); }
.niches { margin-bottom: 38px; }
.niches__label { display: block; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.niches__row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.niche { padding: 11px 24px; border-radius: 100px; border: 1px solid var(--line); background: var(--grad-soft); font-family: 'Sora'; font-weight: 600; font-size: 1rem; color: var(--text); transition: transform .3s var(--ease), border-color .3s; }
.niche:hover { transform: translateY(-3px); border-color: rgba(168,120,245,.5); }
.cohort__note { color: var(--faint); font-size: .9rem; margin-top: 16px; }

/* ---------- CTA ---------- */
.cta { padding-top: clamp(56px, 8vw, 96px); }
.cta__card {
  position: relative; max-width: 920px; margin: 0 auto; text-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line); border-radius: 32px;
  padding: clamp(34px, 4vw, 52px) clamp(24px, 5vw, 64px) clamp(40px, 5vw, 60px); overflow: hidden;
}
.cta__glow { position: absolute; top: -90px; left: 50%; transform: translateX(-50%); width: 460px; height: 300px; background: radial-gradient(circle, rgba(168,120,245,.30), transparent 68%); filter: blur(50px); pointer-events: none; }
.cta__card > :not(.cta__glow) { position: relative; }
.cta__card h2 { margin: 12px 0 16px; }
.cta__card > p { color: var(--muted); max-width: 560px; margin: 0 auto 40px; font-size: 1.08rem; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; margin: 0 auto; text-align: left; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--input-bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 21px 16px 7px; color: var(--text); font-family: inherit; font-size: 1rem; resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input, .field select { height: 58px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(168,120,245,.18); }
/* Select de sector — "Tu sector" es el propio placeholder del desplegable */
.field--select select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding: 0 44px 0 16px; line-height: 56px; /* centrado vertical fiable en iOS */
}
.field--select select:invalid { color: var(--faint); } /* placeholder atenuado */
.field__chevron { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field--select option { background: #16131f; color: var(--text); }
body.light .field--select option { background: #ffffff; }

/* Solo para lectores de pantalla */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* resting label: vertically centered placeholder */
.field label {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  color: var(--faint); font-size: 1rem; pointer-events: none; transition: .2s var(--ease);
}
/* textarea label anchored to top, not centered */
.field textarea + label { top: 18px; transform: none; }
/* floated label (focus or filled) */
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label {
  top: 8px; transform: none; font-size: .72rem; color: var(--purple-lt);
}
.cta__form .btn { grid-column: 1 / -1; margin-top: 6px; }
.cta__note { grid-column: 1/-1; text-align: center; font-size: .9rem; color: var(--purple-lt); min-height: 20px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px clamp(20px, 5vw, 56px) 40px; max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; margin-bottom: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__claim { color: var(--muted); font-family: 'Sora'; font-size: 1.1rem; }
.footer__links { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.footer__links a { color: var(--muted); font-size: .92rem; transition: color .25s; }
.footer__links a:hover { color: var(--purple-lt); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; color: var(--faint); font-size: .85rem; }
.footer__social { display: flex; gap: 20px; }
.footer__social a:hover { color: var(--purple-lt); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero__title .line { transform: translateY(105%); transition: transform .9s var(--ease); }
.hero__title .line.in { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .profile__grid { grid-template-columns: 1fr; }
  .case__grid { grid-template-columns: 1fr; }
  .case__media { max-width: 460px; margin: 0 auto; }
  .case__stats { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 120px; }
  .hero__visual { max-width: 360px; order: 2; }
  .hero__badge { align-self: center; max-width: 100%; white-space: normal; text-align: center; line-height: 1.35; }
  .hero__inner { text-align: center; align-items: center; }
  .hero__stats { justify-content: center; }
  .hero__title .line { text-align: center; }
  /* Botones del hero: apilados, centrados y a la misma anchura */
  .hero__actions { flex-direction: column; align-items: center; flex-wrap: nowrap; width: 100%; max-width: 320px; margin-inline: auto; margin-bottom: 52px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 22px; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--menu-bg); backdrop-filter: blur(20px); padding: 32px clamp(20px,5vw,56px); border-bottom: 1px solid var(--line);
  }
  .nav__burger { display: flex; }
  .cards, .results__grid, .steps { grid-template-columns: 1fr; }
  .case__stats, .case__proof { grid-template-columns: 1fr; }
  .cta__form { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .hero__visual { display: none; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .hero__title .line { opacity: 1; transform: none; }
}
