/* ============================================
   NOVATECS AGENTS — Shared styles for sub-pages
   Usa las mismas variables que /styles.css
   Prefijo: .nv-*
   ============================================ */

/* ---------- DARK THEME OVERRIDES ---------- */
[data-theme="dark"] {
  --bg-0: #0a0b10;
  --bg-1: #0f1118;
  --bg-2: #151821;
  --bg-3: #1a1d28;
  --bg-4: #242838;

  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  --text-0: #f5f6fa;
  --text-1: #d1d5db;
  --text-2: #9ca3af;
  --text-3: #6b7280;
}

[data-theme="dark"] body::before { opacity: 0.10; }

/* ---------- TOPBAR ---------- */
/* El wrapper [data-nv-nav] hereda z-index:1 de body>* en /styles.css.
   Forzar z-index alto para que .nv-topbar (position:fixed) quede SIEMPRE encima de <main>. */
[data-nv-nav] { position: relative; z-index: 1000; }

.nv-topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: padding .24s var(--ease), background .24s var(--ease), border-color .24s var(--ease);
}
[data-theme="dark"] .nv-topbar {
  background: rgba(15, 17, 24, 0.75);
}
.nv-topbar.is-scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
[data-theme="dark"] .nv-topbar.is-scrolled {
  background: rgba(15, 17, 24, 0.96);
}

.nv-topbar__inner {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 clamp(0.75rem, 2vw, 1.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nv-topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--text-0);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nv-topbar__logo {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10), 0 0 16px rgba(79, 70, 229, 0.15);
  border: 1px solid var(--line);
  overflow: hidden;
}
.nv-topbar__logo img { width: 80%; height: 80%; object-fit: contain; }

.nv-topbar__brand-text { white-space: nowrap; }
.nv-topbar__brand-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-weight: 800;
  margin-left: 1px;
}

/* ---------- NAV (main links) ---------- */
.nv-nav { flex: 1; min-width: 0; }
.nv-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
}

.nv-nav__item {
  position: relative;
}

.nv-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  border-radius: 8px;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.nv-nav__link:hover { color: var(--text-0); background: rgba(79, 70, 229, 0.06); }
.nv-nav__item.is-active > .nv-nav__link { color: var(--accent); }

.nv-nav__caret {
  font-size: 10px;
  color: var(--text-3);
  margin-left: -2px;
  transition: transform .18s;
}
.nv-nav__item--has-mega:hover .nv-nav__caret { transform: rotate(180deg); color: var(--accent); }

/* Mega menu */
.nv-mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nv-nav__item--has-mega:hover .nv-mega,
.nv-nav__item--has-mega:focus-within .nv-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nv-mega__inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nv-mega__link {
  display: block;
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-1);
  border-radius: 8px;
  transition: background .14s, color .14s;
}
.nv-mega__link:hover { background: rgba(79, 70, 229, 0.08); color: var(--accent); }

/* ---------- TOPBAR ACTIONS ---------- */
.nv-topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nv-icontoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 9px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-1);
  cursor: pointer;
  transition: all .18s;
  min-width: 34px;
  height: 32px;
}
.nv-icontoggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(79, 70, 229, 0.05);
}
.nv-themetoggle__moon { display: none; }
.nv-themetoggle__sun { display: block; }
[data-theme="dark"] .nv-themetoggle__moon { display: block; }
[data-theme="dark"] .nv-themetoggle__sun { display: none; }

.nv-cta-portal, .nv-cta-demo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 9px;
  transition: all .18s;
  white-space: nowrap;
  height: 32px;
}
.nv-cta-portal {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--line);
}
.nv-cta-portal:hover { color: var(--accent); border-color: var(--accent); background: rgba(79, 70, 229, 0.04); }

.nv-cta-demo {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
}
.nv-cta-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.42);
  color: #fff;
}

.nv-mobile-toggle {
  display: none;
  width: 34px; height: 34px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nv-mobile-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text-0);
  transition: transform .2s, opacity .2s;
}

/* ---------- PAGE SHELL ---------- */
.nv-page {
  min-height: 100vh;
  padding-top: 64px;
}

/* ---------- HERO (sub-pages) ---------- */
.nv-page-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(1.5rem, 3.5vw, 3rem);
  text-align: center;
  overflow: hidden;
}
.nv-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(79, 70, 229, 0.10), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 60%, rgba(124, 58, 237, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.nv-page-hero__inner {
  position: relative; z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.nv-page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.nv-page-hero__eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.85); }
}
.nv-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-0);
  margin-bottom: 20px;
}
.nv-page-hero h1 .nv-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.nv-page-hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: var(--text-2);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto 28px;
}
.nv-page-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- GENERIC SECTION ---------- */
.nv-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
}
.nv-section--alt { background: var(--bg-2); }
.nv-section--dark {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f1427);
  color: #fff;
}
.nv-section--dark .nv-section__title { color: #fff; }
.nv-section--dark .nv-section__lead { color: rgba(255,255,255,0.7); }
.nv-section--dark .nv-section__eyebrow { color: #a5b4fc; border-color: rgba(165, 180, 252, 0.3); background: rgba(165, 180, 252, 0.08); }

.nv-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
}

.nv-section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.nv-section__eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(79, 70, 229, 0.06);
  color: var(--accent);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.nv-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-0);
  margin-bottom: 16px;
}
.nv-section__lead {
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- CARDS ---------- */
.nv-grid {
  display: grid;
  gap: 20px;
}
.nv-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nv-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nv-grid--4 { grid-template-columns: repeat(4, 1fr); }

.nv-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  transition: all .28s var(--ease);
  overflow: hidden;
}
.nv-card:hover {
  border-color: rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(79, 70, 229, 0.12);
}
.nv-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(124, 58, 237, 0.08));
  color: var(--accent);
  border-radius: 12px;
  margin-bottom: 18px;
}
.nv-card__icon svg { width: 22px; height: 22px; }
.nv-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.nv-card__desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 16px;
}
.nv-card__link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap .18s;
}
.nv-card__link:hover { gap: 8px; }

.nv-card--featured {
  background: linear-gradient(135deg, rgba(79,70,229,0.04), rgba(124,58,237,0.02)), var(--bg-2);
  border-color: rgba(79, 70, 229, 0.3);
}
.nv-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-brand);
}

/* ---------- BUTTONS ---------- */
.nv-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: all .22s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.nv-btn--primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.nv-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.45);
}
.nv-btn--ghost {
  background: transparent;
  color: var(--text-0);
  border-color: var(--line);
}
.nv-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.nv-btn svg { width: 16px; height: 16px; }

/* ---------- INTERNAL TABS (sub-page) ---------- */
.nv-subtabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  max-width: fit-content;
  margin: 0 auto 40px;
  flex-wrap: wrap;
}
.nv-subtab {
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 10px;
  transition: all .18s;
  cursor: pointer;
  background: transparent;
  border: 0;
}
.nv-subtab:hover { color: var(--text-0); }
.nv-subtab.is-active {
  background: var(--bg-2);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}

/* ---------- BREADCRUMBS ---------- */
.nv-crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 18px;
  font-family: var(--font-mono);
}
.nv-crumbs a { color: var(--text-2); transition: color .16s; }
.nv-crumbs a:hover { color: var(--accent); }
.nv-crumbs__sep { color: var(--text-3); opacity: 0.6; }
.nv-crumbs__current { color: var(--accent); }

/* ---------- METRIC STRIP ---------- */
.nv-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 40px 0;
}
.nv-metric {
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all .22s;
}
.nv-metric:hover { border-color: rgba(79, 70, 229, 0.3); transform: translateY(-2px); }
.nv-metric__value {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.nv-metric__label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.4;
}
.nv-metric__caption {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 600;
  margin-top: 10px;
}

/* ---------- CHECK LIST ---------- */
.nv-checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nv-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-1);
  line-height: 1.55;
}
.nv-checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-top: 2px;
  background: var(--grad-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* ---------- CTA BLOCK ---------- */
.nv-cta-block {
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f1427);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nv-cta-block::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(79, 70, 229, 0.2), transparent 70%);
  pointer-events: none;
}
.nv-cta-block__inner {
  position: relative; z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.nv-cta-block h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
}
.nv-cta-block p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  margin-bottom: 28px;
}
.nv-cta-block .nv-btn--primary { background: #fff; color: var(--accent); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.nv-cta-block .nv-btn--primary:hover { background: #fff; color: var(--accent-2); }
.nv-cta-block .nv-btn--ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.nv-cta-block .nv-btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); color: #fff; }

/* ---------- FOOTER ---------- */
.nv-footer {
  background: #0a0b10;
  color: rgba(255,255,255,0.65);
  padding: 64px 0 32px;
  position: relative;
  z-index: 10;
}
.nv-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.nv-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(5, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.nv-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.nv-footer__logo {
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
}
.nv-footer__logo img { width: 78%; height: 78%; object-fit: contain; }
.nv-footer__brand-text {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
}
.nv-footer__brand-accent {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-left: 1px;
}
.nv-footer__tagline {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  max-width: 300px;
}
.nv-footer__social {
  display: flex;
  gap: 10px;
}
.nv-footer__social a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: rgba(255,255,255,0.6);
  transition: all .18s;
}
.nv-footer__social a:hover { background: rgba(79, 70, 229, 0.15); border-color: rgba(79, 70, 229, 0.4); color: #fff; }

.nv-footer__col h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(255,255,255,0.5);
  font-weight: 700;
  margin-bottom: 16px;
}
.nv-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0; }
.nv-footer__col a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color .18s;
}
.nv-footer__col a:hover { color: #fff; }

.nv-footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* ---------- REVEAL ANIMATIONS ---------- */
.nv-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.nv-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- LIST WITH PERSONA AVATARS ---------- */
.nv-persona {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.nv-persona__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.nv-persona__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 2px;
}
.nv-persona__role {
  font-size: 12.5px;
  color: var(--text-2);
}

/* ---------- QUOTE ---------- */
.nv-quote {
  padding: 36px;
  background: linear-gradient(135deg, rgba(79,70,229,0.04), rgba(124,58,237,0.02)), var(--bg-2);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 20px;
  position: relative;
}
.nv-quote::before {
  content: '“';
  position: absolute;
  top: -20px;
  left: 24px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
}
.nv-quote__text {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-1);
  font-style: italic;
  margin-bottom: 20px;
}
.nv-quote__attr {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nv-quote__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-0);
}
.nv-quote__role {
  font-size: 12px;
  color: var(--text-2);
}

/* ---------- TIMELINE ---------- */
.nv-timeline {
  position: relative;
  padding-left: 32px;
}
.nv-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.3;
}
.nv-timeline__item {
  position: relative;
  padding-bottom: 28px;
}
.nv-timeline__item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}
.nv-timeline__date {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-weight: 600;
  margin-bottom: 4px;
}
.nv-timeline__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-0);
  margin-bottom: 4px;
}
.nv-timeline__desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.55;
}

/* ---------- FAQ ACCORDION ---------- */
.nv-faq { max-width: 780px; margin: 0 auto; }
.nv-faq__item {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.nv-faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-0);
  padding: 0;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
}
.nv-faq__icon {
  font-size: 20px;
  color: var(--accent);
  transition: transform .22s;
  flex-shrink: 0;
  margin-left: 16px;
}
.nv-faq__item[open] .nv-faq__icon { transform: rotate(45deg); }
.nv-faq__a {
  margin-top: 12px;
  color: var(--text-2);
  line-height: 1.6;
  font-size: 14.5px;
}

/* ---------- PRICING CARDS ---------- */
.nv-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.nv-pricing__card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .28s var(--ease);
}
.nv-pricing__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.nv-pricing__card--featured {
  border-color: rgba(79, 70, 229, 0.4);
  background: linear-gradient(135deg, rgba(79,70,229,0.05), rgba(124,58,237,0.02)), var(--bg-2);
}
.nv-pricing__card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--grad-brand);
  border-radius: 0 0 3px 3px;
}
.nv-pricing__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  background: var(--grad-brand);
  color: #fff;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.nv-pricing__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 6px;
}
.nv-pricing__tagline {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 20px;
  min-height: 38px;
}
.nv-pricing__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-0);
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.nv-pricing__price small {
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
  letter-spacing: 0;
}
.nv-pricing__hint {
  font-size: 12.5px;
  color: var(--text-3);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.nv-pricing__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 0;
  margin: 20px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nv-pricing__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-1);
  line-height: 1.5;
}
.nv-pricing__features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.nv-pricing__cta {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-0);
  transition: all .18s;
}
.nv-pricing__cta:hover { border-color: var(--accent); color: var(--accent); }
.nv-pricing__card--featured .nv-pricing__cta {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}
.nv-pricing__card--featured .nv-pricing__cta:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 8px 24px rgba(79, 70, 229, 0.4); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1280px) {
  .nv-nav__link { padding: 6px 7px; font-size: 12.5px; }
  .nv-nav__list { gap: 0; }
  .nv-cta-portal span { display: none; } /* solo icono */
  .nv-cta-portal { padding: 7px 9px; }
}
@media (max-width: 1100px) {
  .nv-cta-portal { display: none; }
  .nv-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 980px) {
  .nv-icontoggle { display: none; }
  .nv-icontoggle[data-lang-toggle] { display: inline-flex; } /* lang siempre visible */
}
@media (max-width: 860px) {
  .nv-mobile-toggle { display: flex; }
  .nv-nav { display: none; }
  .nv-topbar.is-mobile-open .nv-nav {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 16px;
  }
  .nv-topbar.is-mobile-open .nv-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nv-topbar.is-mobile-open .nv-nav__link { padding: 12px; font-size: 15px; }
  .nv-topbar.is-mobile-open .nv-mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 6px 0 6px 16px;
    background: transparent;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    margin-left: 12px;
    border-radius: 0;
  }
  .nv-grid--2, .nv-grid--3, .nv-grid--4 { grid-template-columns: 1fr; }
  .nv-pricing { grid-template-columns: 1fr; }
  .nv-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nv-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .nv-footer__grid { grid-template-columns: 1fr; }
  .nv-footer__bottom { flex-direction: column; align-items: flex-start; }
  .nv-cta-demo { padding: 7px 10px; font-size: 12px; }
}
