html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* =========================================================
   Nubilab — Landing "Escuela de creadores"
   Dark premium / dreamlike. Self-contained stylesheet.
   ========================================================= */

.nb {
  --ink: #05040f;
  --ink-2: #0a0820;
  --ink-3: #100c2b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f1ff;
  --text-soft: rgba(244, 241, 255, 0.68);
  --text-dim: rgba(244, 241, 255, 0.46);
  --violet: #8b5cf6;
  --lav: #c4b5fd;
  --blue: #4f6bff;
  --warm: #ffe9c7;
  --glow-a: rgba(139, 92, 246, 0.5);
  --glow-b: rgba(79, 107, 255, 0.42);
  --radius: 22px;
  --maxw: 1160px;

  position: relative;
  isolation: isolate;
  background: var(--ink);
  color: var(--text);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

.nb h1,
.nb h2,
.nb h3,
.nb h4,
.nb p,
.nb ul,
.nb li,
.nb figure {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.nb ::selection {
  background: rgba(139, 92, 246, 0.4);
}

/* ---------- ambient background ---------- */
.nb__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 620px at 12% -6%, rgba(139, 92, 246, 0.3), transparent 62%),
    radial-gradient(760px 560px at 92% 6%, rgba(79, 107, 255, 0.24), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, rgba(196, 181, 253, 0.14), transparent 65%),
    linear-gradient(180deg, #060413 0%, #05040f 55%, #07061a 100%);
}

.nb__stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 22%, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1.2px 1.2px at 68% 12%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1.6px 1.6px at 84% 44%, rgba(255, 234, 200, 0.75), transparent 60%),
    radial-gradient(1.1px 1.1px at 34% 68%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 12% 84%, rgba(196, 181, 253, 0.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 58% 88%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.1px 1.1px at 92% 76%, rgba(255, 255, 255, 0.45), transparent 60%);
  animation: nbTwinkle 7s ease-in-out infinite alternate;
}

@keyframes nbTwinkle {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 0.7;
  }
}

.nb__content {
  position: relative;
  z-index: 1;
}

.nb-container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- nav ---------- */
.nb-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(5, 4, 15, 0.66);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nb-nav--scrolled {
  border-bottom-color: var(--line);
  background: rgba(5, 4, 15, 0.86);
}

.nb-nav__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}

.nb-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nb-brand span {
  background: linear-gradient(100deg, var(--lav), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nb-nav__links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nb-nav__links a {
  font-size: 14.5px;
  color: var(--text-soft);
  transition: color 0.2s ease;
}

.nb-nav__links a:hover {
  color: var(--text);
}

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

/* ---------- buttons ---------- */
.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 650;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

.nb-btn--primary {
  color: #ffffff;
  font-weight: 700;
  background: linear-gradient(100deg, #7c5cf5 0%, #6366f1 50%, #4f6bff 100%);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 42px -12px var(--glow-a), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.nb-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px -14px var(--glow-a);
}

.nb-btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line-strong);
}

.nb-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.nb-btn--sm {
  padding: 10px 18px;
  font-size: 14px;
}

.nb-btn--block {
  width: 100%;
}

/* ---------- section frame ---------- */
.nb-section {
  padding: clamp(40px, 4.5vw, 64px) 0;
  position: relative;
}

.nb-section--tight {
  padding: clamp(32px, 3.5vw, 48px) 0;
}

.nb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lav);
}

.nb-eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lav));
}

.nb-h2 {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: clamp(12px, 1.4vw, 18px);
}

.nb-h2 em {
  font-style: italic;
  background: linear-gradient(100deg, var(--lav), #8ea2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nb-lead {
  margin-top: clamp(14px, 1.6vw, 20px);
  font-size: clamp(16px, 1.7vw, 18.5px);
  line-height: 1.68;
  color: var(--text-soft);
  max-width: 62ch;
}

.nb-head {
  max-width: 760px;
}

.nb-head--center {
  margin: 0 auto;
  text-align: center;
}

.nb-head--center .nb-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- hero ---------- */
.nb-hero {
  padding: clamp(56px, 8vw, 104px) 0 84px;
}

.nb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.nb-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  font-size: 13px;
  color: var(--text-soft);
}

.nb-pill b {
  color: var(--text);
  font-weight: 650;
}

.nb-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lav);
  box-shadow: 0 0 0 4px rgba(196, 181, 253, 0.18);
}

.nb-hero__title {
  font-family: "Instrument Serif", ui-serif, Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 7.4vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-top: clamp(16px, 2vw, 26px);
}

.nb-hero__title i {
  font-style: italic;
  background: linear-gradient(100deg, #fff 0%, var(--lav) 45%, #8ea2ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nb-hero__sub {
  margin-top: clamp(14px, 1.8vw, 22px);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 54ch;
}

.nb-hero__micro {
  margin-top: clamp(18px, 2.2vw, 26px);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--lav);
  letter-spacing: 0.01em;
  max-width: 52ch;
}


.nb-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: clamp(26px, 3.2vw, 40px);
  align-items: center;
}

.nb-hero__facts,
ul.nb-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 34px;
  margin: clamp(30px, 3.4vw, 44px) 0 clamp(6px, 1vw, 12px);
  padding: 0;
  list-style: none;
}


.nb-hero__facts li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: var(--text-dim);
}

.nb-check {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(196, 181, 253, 0.4);
  color: var(--lav);
  font-size: 10px;
  flex: none;
}

.nb-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.nb-hero__visual::after {
  content: "";
  position: absolute;
  inset: 8% 6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 72%);
  filter: blur(28px);
  z-index: -1;
}

.nb-hero__img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 28px;
  animation: nbFloat 9s ease-in-out infinite alternate;
}

@keyframes nbFloat {
  from {
    transform: translateY(-8px);
  }
  to {
    transform: translateY(10px);
  }
}

/* ---------- marquee ---------- */
.nb-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.nb-marquee__track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: nbSlide 32s linear infinite;
}

.nb-marquee__track span {
  font-family: "Instrument Serif", serif;
  font-size: 19px;
  color: rgba(244, 241, 255, 0.42);
  white-space: nowrap;
}

.nb-marquee__track span::after {
  content: "✦";
  margin-left: 44px;
  color: rgba(196, 181, 253, 0.45);
  font-size: 12px;
  vertical-align: middle;
}

@keyframes nbSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------- cards ---------- */
.nb-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  padding: 28px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.nb-card:hover {
  transform: translateY(-4px);
  border-color: rgba(196, 181, 253, 0.32);
  box-shadow: 0 26px 60px -32px var(--glow-b);
}

.nb-card__title {
  font-size: 18.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.nb-card__text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

.nb-grid {
  display: grid;
  gap: 18px;
  margin-top: 46px;
}

.nb-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nb-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* ---------- why ---------- */
.nb-why {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.nb-quotebox {
  border-left: 2px solid rgba(196, 181, 253, 0.5);
  padding: 4px 0 4px 26px;
  display: grid;
  gap: 18px;
}

.nb-quotebox p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--text-soft);
}

.nb-quotebox p strong {
  color: var(--text);
  font-weight: 650;
}

/* ---------- journey ---------- */
.nb-journey {
  display: grid;
  gap: 20px;
  margin-top: 52px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.nb-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 32px 28px 34px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.012));
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.nb-step::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow-a), transparent 70%);
  opacity: 0.55;
  filter: blur(10px);
  transition: opacity 0.35s ease;
}

.nb-step:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 181, 253, 0.34);
  box-shadow: 0 32px 70px -36px var(--glow-a);
}

.nb-step:hover::before {
  opacity: 0.9;
}

.nb-step__n {
  font-family: "Instrument Serif", serif;
  font-size: 15px;
  letter-spacing: 0.28em;
  color: var(--lav);
}

.nb-step__name {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1;
  margin-top: 12px;
  letter-spacing: -0.01em;
}

.nb-step__goal {
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.nb-step__list {
  margin-top: 20px;
  display: grid;
  gap: 9px;
}

.nb-step__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
}

.nb-step__shift {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.nb-step__shift-from {
  color: var(--text-dim);
  font-style: italic;
}

.nb-step__shift-arrow {
  color: var(--text-dim);
  opacity: 0.7;
}

.nb-step__shift-to {
  color: var(--text);
  font-style: italic;
  font-weight: 600;
}

.nb-step__out {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 14.5px;
  line-height: 1.55;
}

.nb-step__out b {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 7px;
  font-weight: 600;
}

.nb-journey-note {
  margin-top: 26px;
  text-align: center;
  font-size: 15px;
  color: var(--text-dim);
}

/* ---------- manifesto ---------- */
.nb-manifesto {
  position: relative;
  border-radius: 34px;
  border: 1px solid var(--line-strong);
  padding: clamp(38px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background:
    radial-gradient(700px 380px at 20% 0%, rgba(139, 92, 246, 0.24), transparent 65%),
    radial-gradient(600px 340px at 90% 100%, rgba(79, 107, 255, 0.22), transparent 65%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  overflow: hidden;
  text-align: center;
}

.nb-manifesto__list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.nb-manifesto__list li {
  font-size: clamp(17px, 2.2vw, 23px);
  line-height: 1.45;
  color: var(--text-soft);
}

.nb-manifesto__beats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.nb-manifesto__beats span {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.nb-manifesto__kicker {
  margin-top: 40px;
  font-family: "Instrument Serif", serif;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.nb-manifesto__kicker span {
  display: block;
  color: var(--text-dim);
  font-size: clamp(19px, 2.6vw, 30px);
  line-height: 1.35;
}

.nb-manifesto__kicker em {
  font-style: italic;
  background: linear-gradient(100deg, #fff, var(--lav) 50%, #8ea2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- for who ---------- */
.nb-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 46px;
}

.nb-panel {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px 28px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
}

.nb-panel--no {
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.006));
}

.nb-panel__title {
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nb-panel__list {
  margin-top: 20px;
  display: grid;
  gap: 13px;
}

.nb-panel__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.2px;
  line-height: 1.55;
  color: var(--text-soft);
}

.nb-mark {
  flex: none;
  width: 21px;
  height: 21px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  margin-top: 2px;
}

.nb-mark--yes {
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(196, 181, 253, 0.42);
  color: var(--lav);
}

.nb-mark--no {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  color: var(--text-dim);
}

/* ---------- transformation ---------- */
.nb-transform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 46px;
}

.nb-transform__arrow {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--lav);
  font-size: 20px;
}

.nb-transform__col b {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.nb-transform__col ul {
  margin-top: 16px;
  display: grid;
  gap: 11px;
}

.nb-transform__col li {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.025);
}

.nb-transform__col--out li {
  color: var(--text);
  border-color: rgba(196, 181, 253, 0.28);
  background: linear-gradient(100deg, rgba(139, 92, 246, 0.16), rgba(79, 107, 255, 0.08));
}

/* ---------- experience ---------- */
.nb-exp {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}

.nb-exp li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 15.4px;
  line-height: 1.55;
  color: var(--text-soft);
}

.nb-bigquote {
  margin-top: 40px;
  text-align: center;
  font-family: "Instrument Serif", serif;
  font-size: clamp(24px, 3.6vw, 40px);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

.nb-bigquote em {
  font-style: italic;
  color: var(--lav);
}

/* ---------- facilitator ---------- */
.nb-founder {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 44px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.nb-founder__photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
}

.nb-founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nb-founder__quote {
  font-family: "Instrument Serif", serif;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.nb-founder__body {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  font-size: 15.6px;
  line-height: 1.68;
  color: var(--text-soft);
}

.nb-founder__name {
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--text-dim);
}

/* ---------- faq ---------- */
.nb-faq {
  margin-top: 44px;
  display: grid;
  gap: 10px;
  max-width: 860px;
}

.nb-faq details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.028);
  padding: 4px 20px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.nb-faq details[open] {
  border-color: rgba(196, 181, 253, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.nb-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-size: 16.4px;
  font-weight: 620;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nb-faq summary::-webkit-details-marker {
  display: none;
}

.nb-faq summary::after {
  content: "+";
  color: var(--lav);
  font-size: 22px;
  line-height: 1;
  flex: none;
}

.nb-faq details[open] summary::after {
  content: "–";
}

.nb-faq p {
  padding: 0 0 20px;
  font-size: 15.3px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 68ch;
}

/* ---------- final cta + form ---------- */
.nb-final {
  position: relative;
  border-radius: 36px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  padding: clamp(32px, 5vw, 64px);
  background:
    radial-gradient(760px 400px at 15% -10%, rgba(139, 92, 246, 0.3), transparent 62%),
    radial-gradient(700px 400px at 95% 110%, rgba(79, 107, 255, 0.26), transparent 62%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.nb-final__title {
  font-family: "Instrument Serif", serif;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.nb-final__title em {
  font-style: italic;
  background: linear-gradient(100deg, #fff, var(--lav) 55%, #8ea2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nb-final__lines {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

.nb-form {
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(6, 5, 18, 0.6);
  backdrop-filter: blur(10px);
  padding: 26px;
  display: grid;
  gap: 14px;
}

.nb-form__title {
  font-size: 18px;
  font-weight: 700;
}

.nb-form__hint {
  font-size: 13.6px;
  color: var(--text-dim);
  line-height: 1.5;
}

.nb-field {
  display: grid;
  gap: 7px;
}

.nb-field > label {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

.nb-input,
.nb-select,
.nb-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nb-textarea {
  resize: vertical;
  min-height: 84px;
}

.nb-phone {
  display: grid;
  grid-template-columns: minmax(0, 148px) minmax(0, 1fr);
  gap: 8px;
}

.nb-phone__code {
  padding-inline: 10px;
  font-size: 14px;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .nb-phone {
    grid-template-columns: 1fr;
  }
}


.nb-select option {
  background: #0a0820;
  color: var(--text);
}

.nb-input::placeholder,
.nb-textarea::placeholder {
  color: rgba(244, 241, 255, 0.32);
}

.nb-input:focus,
.nb-select:focus,
.nb-textarea:focus {
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.16);
}

.nb-form__msg {
  font-size: 14px;
  line-height: 1.5;
}

.nb-form__msg--err {
  color: #ff9db5;
}

.nb-form__ok {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  padding: 26px 8px;
}

.nb-form__ok h3 {
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  font-weight: 400;
}

.nb-form__ok p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ---------- footer ---------- */
.nb-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 44px;
  margin-top: 90px;
}

.nb-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.nb-footer p {
  font-size: 13.6px;
  color: var(--text-dim);
}

.nb-footer nav {
  display: flex;
  gap: 20px;
  font-size: 13.6px;
  color: var(--text-dim);
}

.nb-footer nav a:hover {
  color: var(--text);
}

/* ---------- reveal ---------- */
.nb-reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--nb-delay, 0ms),
    transform 1s cubic-bezier(0.22, 1, 0.36, 1) var(--nb-delay, 0ms),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--nb-delay, 0ms);
  will-change: opacity, transform, filter;
}

.nb-reveal--in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* hero intro (no observer needed) */
.nb-hero__grid > * > .nb-pill,
.nb-hero__title,
.nb-hero__sub,
.nb-hero__micro,
.nb-hero__ctas,
.nb-hero__facts,
.nb-hero__visual {
  animation: nbRise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.nb-hero__title { animation-delay: 0.08s; }
.nb-hero__sub { animation-delay: 0.16s; }
.nb-hero__micro { animation-delay: 0.22s; }
.nb-hero__ctas { animation-delay: 0.28s; }
.nb-hero__facts { animation-delay: 0.36s; }
.nb-hero__visual { animation-delay: 0.2s; }

@keyframes nbRise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

/* smooth parallax drift driven by --nb-scroll */
.nb__stars {
  transform: translate3d(0, calc(var(--nb-scroll, 0) * -0.06px), 0);
}


@media (prefers-reduced-motion: reduce) {
  .nb-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nb-hero__img,
  .nb__stars,
  .nb-marquee__track,
  .nb-hero__title,
  .nb-hero__sub,
  .nb-hero__micro,
  .nb-hero__ctas,
  .nb-hero__facts,
  .nb-hero__visual {
    animation: none;
  }
  .nb__stars {
    transform: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nb-hero__grid,
  .nb-why,
  .nb-final,
  .nb-founder {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-founder__photo {
    max-width: 240px;
  }

  .nb-journey,
  .nb-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-transform {
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
  }

  .nb-transform__arrow {
    transform: rotate(90deg);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .nb-section {
    padding: 74px 0;
  }

  .nb-nav__links {
    display: none;
  }

  .nb-hero {
    padding-top: 34px;
  }

  .nb-hero__visual {
    order: -1;
  }

  .nb-hero__img {
    max-width: 320px;
  }

  .nb-hero__ctas .nb-btn {
    width: 100%;
  }

  .nb-two,
  .nb-exp,
  .nb-grid--2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .nb-footer__inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    gap: 28px;
  }

  .nb-footer {
    padding: 48px 0 56px;
    margin-top: 64px;
  }

  .nb-footer p {
    max-width: 280px;
    margin: 0 auto;
    line-height: 1.55;
  }

  .nb-footer nav {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 15px;
  }

  .nb-footer nav a {
    padding: 7px 2px;
    line-height: 1.4;
  }

  .nb-manifesto,
  .nb-final {
    border-radius: 26px;
  }
}

/* ---------- list spacing (beats framework preflight) ---------- */
ul.nb-step__list { margin: 20px 0 0; padding: 0; list-style: none; }
ul.nb-panel__list { margin: 20px 0 0; padding: 0; list-style: none; }
ul.nb-manifesto__list { margin: 34px 0 0; padding: 0; list-style: none; }
ul.nb-exp { margin: 44px 0 0; padding: 0; list-style: none; }

/* ---------- skeleton de carga ---------- */
.nb--loading .nb__content { opacity: 0; }
.nb--ready .nb__content { opacity: 1; transition: opacity .5s ease; }

.nb-skeleton {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 22px 0 0;
  background: #07060f;
  overflow: hidden;
}
.nb-skeleton__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 64px;
}
.nb-skeleton__hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.nb-skeleton__col { display: flex; flex-direction: column; gap: 18px; }
.nb-skeleton__row { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }

.nb-sk {
  display: block;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(255,255,255,.045) 0%, rgba(255,255,255,.11) 50%, rgba(255,255,255,.045) 100%);
  background-size: 220% 100%;
  animation: nb-sk-shine 1.5s ease-in-out infinite;
}
@keyframes nb-sk-shine {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.nb-sk--brand { width: 130px; height: 26px; }
.nb-sk--pill { width: 170px; height: 40px; border-radius: 999px; }
.nb-sk--eyebrow { width: 190px; height: 14px; border-radius: 999px; }
.nb-sk--title { width: 100%; max-width: 620px; height: 54px; border-radius: 14px; }
.nb-sk--title-2 { max-width: 460px; }
.nb-sk--line { width: 100%; max-width: 540px; height: 16px; }
.nb-sk--short { max-width: 360px; }
.nb-sk--btn { width: 210px; height: 52px; border-radius: 999px; }
.nb-sk--btn-ghost { width: 160px; opacity: .6; }
.nb-sk--media { width: 100%; aspect-ratio: 4 / 3; border-radius: 24px; height: auto; }

@media (max-width: 860px) {
  .nb-skeleton__hero { grid-template-columns: 1fr; gap: 28px; }
  .nb-skeleton__nav { padding-bottom: 36px; }
  .nb-sk--pill { width: 120px; height: 36px; }
  .nb-sk--title { height: 38px; }
  .nb-sk--btn { width: 100%; max-width: 320px; }
  .nb-sk--media { aspect-ratio: 16 / 11; }
}
@media (prefers-reduced-motion: reduce) {
  .nb-sk { animation: none; }
}

/* ---------- nav mobile: más aire ---------- */
@media (max-width: 560px) {
  .nb-container {
    padding: 0 18px;
  }

  .nb-nav__inner {
    gap: 10px;
    padding: 12px 20px;
  }

  .nb-nav__right {
    gap: 8px;
  }

  .nb-brand {
    font-size: 19px;
  }

  .nb-nav .nb-btn--sm {
    padding: 9px 14px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  .nb-nav__inner {
    padding-inline: 16px;
  }

  .nb-nav .nb-btn--sm {
    padding: 8px 12px;
    font-size: 12.5px;
  }

  .nb-brand {
    font-size: 18px;
  }
}

/* ---------- escala tipográfica mobile ---------- */
@media (max-width: 640px) {
  .nb-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  .nb-eyebrow::before {
    width: 16px;
  }

  .nb-hero__title {
    font-size: clamp(38px, 11.4vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-top: 14px;
  }

  .nb-hero__sub {
    font-size: 16.5px;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 38ch;
  }

  .nb .nb-h2,
  .nb-h2 {
    font-size: clamp(34px, 9.6vw, 46px) !important;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-top: 12px;
  }

  .nb-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 14px;
    max-width: 40ch;
  }

  .nb-step__name {
    font-size: clamp(28px, 8.4vw, 38px);
    line-height: 1.05;
  }

  .nb-manifesto__kicker {
    margin-top: 28px;
    font-size: clamp(32px, 9.2vw, 44px);
    line-height: 1.06;
  }
  .nb-manifesto__kicker span {
    font-size: clamp(18px, 5.2vw, 24px);
    line-height: 1.3;
    margin-top: 6px;
  }
  .nb-manifesto__list li {
    font-size: 16.5px;
    line-height: 1.5;
  }

  .nb-bigquote {
    margin-top: 28px;
    font-size: clamp(24px, 7.2vw, 34px);
    line-height: 1.18;
  }

  .nb-founder__quote {
    font-size: clamp(22px, 6.6vw, 30px);
    line-height: 1.2;
  }

  .nb-quotebox p {
    font-size: 16.5px;
    line-height: 1.55;
  }
  .nb-quotebox {
    padding-left: 18px;
  }

  .nb-final__title {
    font-size: clamp(32px, 9.4vw, 46px);
    line-height: 1.05;
  }

  .nb-head,
  .nb-head--center {
    max-width: none;
  }
}
