/* ============================================
   ALMA Intelligence — Apple-inspired Design
   Black / White / Dark Gray · Helvetica Light/Bold
   ============================================ */

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

:root {
  --black: #000000;
  --black-2: #0a0a0a;
  --dark: #111111;
  --dark-2: #1a1a1a;
  --dark-3: #222222;
  --gray-dark: #2a2a2a;
  --gray-mid: #6b6b6b;
  --gray-soft: #a1a1a6;
  --gray-line: #2a2a2a;
  --white: #ffffff;
  --off-white: #f5f5f7;
  --accent: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 30px 80px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Helvetica, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  line-height: 1.5;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ TYPOGRAPHY ============ */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 24px;
}
.eyebrow.dark { color: var(--gray-mid); }

.section-title {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--black);
}
.section-title.light { color: var(--white); }
.section-title .italic {
  font-style: normal;
  font-weight: 700;
}
.section-title .tm {
  font-size: 0.3em;
  vertical-align: super;
  font-weight: 400;
  margin-left: 4px;
}

.section-sub {
  font-size: 19px;
  font-weight: 300;
  color: var(--gray-mid);
  max-width: 600px;
  margin-top: 20px;
  line-height: 1.5;
}
.section-sub.light { color: var(--gray-soft); }

.section-head {
  text-align: center;
  margin-bottom: 80px;
}
.section-head .section-sub { margin-left: auto; margin-right: auto; }

/* ============ NAV ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(0,0,0,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo img {
  height: 36px;
  display: block;
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: 0.85; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}
.nav-links a {
  color: var(--gray-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: transform .2s, background .2s;
  font-family: inherit;
  text-decoration: none;
  display: inline-block;
}
.nav-cta:hover { transform: scale(1.03); background: var(--off-white); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center top, #1a1a1a 0%, #000 70%);
  padding: 160px 32px 80px;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(201, 162, 39, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.04), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201, 162, 39, 0.03), transparent 60%);
  pointer-events: none;
  will-change: transform;
  transition: transform .1s linear;
}
.hero-content { position: relative; max-width: 1000px; z-index: 2; }
.hero-title {
  font-weight: 700;
  font-size: clamp(54px, 8vw, 120px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  margin: 28px 0 32px;
}
.hero-title .italic { font-style: normal; font-weight: 700; }
.hero-sub {
  font-size: 21px;
  font-weight: 300;
  color: var(--gray-soft);
  max-width: 680px;
  margin: 0 auto 48px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 96px;
}
.hero-meta {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 48px;
  flex-wrap: wrap;
  max-width: 980px;
  margin: 0 auto;
}
.hero-meta .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  position: relative;
}
.hero-meta .stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -40px;
  top: 10px;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
}
.hero-meta .num {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.hero-meta .num.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-meta .lbl {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 14px;
  font-weight: 500;
  line-height: 1.5;
  max-width: 240px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .6s ease .15s, transform .6s ease .15s;
}
.hero-meta .stat-item.visible .lbl {
  opacity: 1;
  transform: translateY(0);
}
.hero-scroll {
  position: absolute;
  bottom: 30px;
  /* Lo movemos a la esquina derecha para que NO choque con el bloque de números centrado */
  right: 40px;
  left: auto;
  transform: none;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray-mid);
  writing-mode: vertical-rl;
  /* Opacity baja para que sea sutil, no compita visualmente con el contenido */
  opacity: 0.5;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .2s, background .2s;
}
.btn-primary:hover { transform: scale(1.03); background: var(--off-white); }
.btn-primary.inverted { background: var(--black); color: var(--white); }
.btn-primary.inverted:hover { background: var(--dark-2); }
.btn-primary.full { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block;
  color: var(--white);
  padding: 16px 8px;
  font-weight: 400;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.btn-ghost:hover { border-color: var(--white); }

.btn-ghost-dark {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--gray-line);
  padding: 16px 32px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.btn-ghost-dark:hover { background: var(--off-white); }
.btn-ghost-dark.full { width: 100%; }
.btn-ghost-dark:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============ MANIFESTO ============ */
.manifesto {
  background: var(--black);
  padding: 140px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.manifesto-text {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  color: var(--white);
}
.manifesto-text .dim { display: block; color: var(--gray-mid); margin-bottom: 12px; }

/* ============ VIDEO SECTION ============ */
.video-section {
  background: var(--black);
  padding: 160px 0 180px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.video-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold, #c9a227);
}
.video-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 70px auto;
}
.video-header .eyebrow {
  color: var(--gold, #c9a227);
  margin-bottom: 24px;
}
.video-header h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.video-header h2 .gold {
  color: var(--gold, #c9a227);
  font-weight: 700;
}
.video-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  font-weight: 300;
  max-width: 600px;
  margin: 24px auto 0 auto;
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.video-frame {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: #0a0a0a;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201, 162, 39, 0.15);
  transition: transform .3s ease, box-shadow .3s ease;
}
.video-frame::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.4) 0%, rgba(201, 162, 39, 0) 50%, rgba(201, 162, 39, 0.2) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
.video-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6), 0 0 0 1px rgba(201, 162, 39, 0.3);
}
.video-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}
.video-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
}
.video-tag {
  color: var(--gold, #c9a227);
  font-weight: 700;
}
.video-dot {
  color: var(--gold, #c9a227);
  font-size: 14px;
}

/* === VIDEO QUOTE — Caption editorial inspiracional === */
.video-quote {
  max-width: 820px;
  margin: 70px auto 0 auto;
  text-align: left;
  position: relative;
  padding: 0 32px;
}
.video-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 2px;
  background: var(--gold, #c9a227);
}
.video-quote-text {
  padding-top: 28px;
  font-size: 19px;
  line-height: 1.7;
  font-weight: 300;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.005em;
  font-family: 'Lora', 'Helvetica Neue', Helvetica, serif;
}
.video-quote-text em {
  color: var(--gold, #c9a227);
  font-style: italic;
  font-weight: 400;
}
.video-quote-text strong {
  color: var(--white);
  font-weight: 500;
}
.quote-mark,
.quote-mark-close {
  color: var(--gold, #c9a227);
  font-size: 32px;
  font-weight: 700;
  line-height: 0;
  position: relative;
  top: 8px;
}
.quote-mark { margin-right: 4px; }
.quote-mark-close { margin-left: 4px; }
.video-quote-author {
  margin-top: 28px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold, #c9a227);
  font-weight: 700;
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
}

@media (max-width: 768px) {
  .video-section {
    padding: 80px 0;
  }
  .video-header {
    margin-bottom: 40px;
  }
  .video-sub {
    font-size: 15px;
  }
  .video-frame {
    border-radius: 10px;
  }
  .video-quote {
    margin-top: 50px;
    padding: 0 20px;
  }
  .video-quote-text {
    font-size: 16px;
    padding-top: 24px;
  }
  .video-quote::before {
    left: 20px;
  }
}

/* ============ OS SECTION (premium product) ============ */
.os-section {
  background: var(--black);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
.os-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* TOP: título centrado */
.os-top {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}
.os-eyebrow {
  color: #c9a227 !important;
  letter-spacing: 0.22em;
}
.tm-gold {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 2px;
  color: #c9a227;
}
.os-title {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(54px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  margin: 24px 0 32px;
}
.os-lead {
  font-size: 19px;
  font-weight: 300;
  color: var(--gray-soft);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* CENTER: imagen del producto */
.os-image-center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 100px;
  position: relative;
  z-index: 1;
}
.os-image-center::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 70%;
  top: 15%;
  background: radial-gradient(ellipse, rgba(201, 162, 39, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
}
.os-image {
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.os-image:hover {
  transform: scale(1.02);
}

/* BOTTOM: 5 pilares en grid horizontal */
.os-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}
.pillar {
  text-align: center;
  padding: 32px 20px;
  border: 0.5px solid rgba(201, 162, 39, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color .3s, background .3s, transform .3s;
}
.pillar:hover {
  border-color: rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.03);
  transform: translateY(-2px);
}
.pillar-icon {
  width: 48px;
  height: 48px;
  color: #c9a227;
  margin: 0 auto 20px;
  display: block;
}
.pillar h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.pillar p {
  font-size: 13px;
  color: var(--gray-soft);
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
}

/* FOOTER edition */
.os-edition-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  color: #c9a227;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
  padding-top: 32px;
  position: relative;
  z-index: 1;
}
.os-dot { color: rgba(201, 162, 39, 0.4); }

/* ============ MÉTODO (white section) ============ */
.metodo {
  background: var(--off-white);
  color: var(--black);
  padding: 160px 0;
}
.metodo .section-sub { color: var(--gray-mid); }

/* ============ DIAGRAMA DEL MÉTODO (Bloque negro) ============ */
.metodo-diagrama {
  background: var(--black);
  color: var(--white);
  border-radius: 24px;
  padding: 80px 70px;
  margin: 80px 0 100px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
}
.metodo-diagrama::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #c9a227;
}
.md-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.md-image {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #fafafa;
  padding: 8px;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.md-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.md-image:hover .md-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}
.md-image:focus-visible {
  outline: 2px solid #c9a227;
  outline-offset: 4px;
}
.md-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Hint "Ampliar" que aparece en hover */
.md-zoom-hint {
  position: absolute;
  top: 22px;
  right: 22px;
  background: rgba(0, 0, 0, 0.85);
  color: #c9a227;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  border: 1px solid rgba(201, 162, 39, 0.4);
  z-index: 5;
}
.md-zoom-hint svg {
  display: block;
}
/* Esquinas doradas decorativas */
.md-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid #c9a227;
  pointer-events: none;
}
.md-corner.top-left { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.md-corner.top-right { top: -8px; right: -8px; border-left: none; border-bottom: none; }
.md-corner.bottom-left { bottom: -8px; left: -8px; border-right: none; border-top: none; }
.md-corner.bottom-right { bottom: -8px; right: -8px; border-left: none; border-top: none; }

.md-content {
  color: var(--white);
}
.md-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c9a227;
  margin-bottom: 18px;
}
.md-title {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--white);
}
.md-title .gold {
  color: #c9a227;
}
.md-lead {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 36px;
}

.md-pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.md-pillar {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.md-pillar:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.md-pillar-letter {
  background: #c9a227;
  color: #000;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.md-pillar-body h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.md-pillar-body p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin: 0;
}

.md-footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  width: fit-content;
}
.md-footer .dot {
  color: #c9a227;
  font-size: 14px;
}

@media (max-width: 900px) {
  .metodo-diagrama {
    padding: 50px 28px;
  }
  .md-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .md-title {
    font-size: 28px;
  }
  .md-footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

.alma-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 120px;
}
.alma-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.alma-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.alma-letter {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 32px;
}
.alma-card h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.alma-desc {
  color: var(--gray-mid);
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}
.alma-list {
  list-style: none;
  border-top: 1px solid #eaeaea;
  padding-top: 20px;
}
.alma-list li {
  font-size: 14px;
  color: var(--black);
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-weight: 400;
}
.alma-list li:last-child { border-bottom: none; }

.resultados {
  background: var(--white);
  border-radius: var(--radius);
  padding: 60px 48px;
  text-align: center;
}
.resultados .eyebrow { margin-bottom: 40px; }
.resultados-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.resultados-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
  border-right: 1px solid #eaeaea;
}
.resultados-grid > div:last-child { border-right: none; }
.resultado-icon {
  width: 36px;
  height: 36px;
  color: var(--black);
  margin-bottom: 18px;
  opacity: 0.85;
  transition: opacity .3s, transform .3s;
}
.resultados-grid > div:hover .resultado-icon {
  opacity: 1;
  transform: translateY(-2px);
}
.resultados-grid strong {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.resultados-grid span {
  font-size: 13px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* ============ CURSO (dark section) ============ */
.curso {
  background: var(--dark);
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.curso-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.curso-lead {
  font-size: 18px;
  color: var(--gray-soft);
  line-height: 1.6;
  margin: 32px 0 56px;
  max-width: 540px;
}
.curso-feats { margin-bottom: 56px; }
.feat {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.feat:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.feat-num {
  font-size: 13px;
  color: var(--gray-mid);
  font-weight: 500;
  letter-spacing: 0.1em;
}
.feat h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.feat p {
  font-size: 14px;
  color: var(--gray-soft);
  font-weight: 300;
}

/* ============ IMPACT CARD (gráfica de beneficios) ============ */
.impact-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 40px 36px 32px;
  position: sticky;
  top: 100px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
}
.impact-eyebrow { margin-bottom: 12px; color: var(--gray-mid) !important; }
.impact-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--black);
}
.impact-sub {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.5;
  margin-bottom: 32px;
  font-weight: 300;
}

/* Gráfica */
.chart-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}
.chart-row {
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 18px;
}
.chart-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.chart-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}
.chart-metric {
  font-size: 12px;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.chart-values strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.02em;
}
.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chart-bar-track {
  display: grid;
  grid-template-columns: 44px 1fr 50px;
  gap: 8px;
  align-items: center;
}
.chart-bar-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
}
.chart-bar {
  height: 8px;
  border-radius: 4px;
  width: 0;
  transition: width 1.2s cubic-bezier(.2, .8, .2, 1);
  position: relative;
}
.chart-bar.before {
  background: #e5e5e7;
}
.chart-bar.after {
  background: linear-gradient(90deg, #1a1a1a 0%, #000 100%);
}
.chart-bar-value {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-mid);
  text-align: right;
  font-family: 'SF Mono', 'Monaco', monospace;
  letter-spacing: -0.02em;
}

/* Animate bars when in viewport */
.impact-card.animate .chart-bar {
  width: var(--w);
}
.impact-card.animate .chart-row:nth-child(1) .chart-bar { transition-delay: 0s; }
.impact-card.animate .chart-row:nth-child(1) .chart-bar.after { transition-delay: 0.15s; }
.impact-card.animate .chart-row:nth-child(2) .chart-bar { transition-delay: 0.3s; }
.impact-card.animate .chart-row:nth-child(2) .chart-bar.after { transition-delay: 0.45s; }
.impact-card.animate .chart-row:nth-child(3) .chart-bar { transition-delay: 0.6s; }
.impact-card.animate .chart-row:nth-child(3) .chart-bar.after { transition-delay: 0.75s; }
.impact-card.animate .chart-row:nth-child(4) .chart-bar { transition-delay: 0.9s; }
.impact-card.animate .chart-row:nth-child(4) .chart-bar.after { transition-delay: 1.05s; }

/* ROI footer */
.impact-roi {
  display: flex;
  align-items: stretch;
  padding: 24px 0;
  border-top: 2px solid var(--black);
  border-bottom: 1px solid #eaeaea;
  margin: 20px 0 18px;
}
.roi-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}
.roi-num {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 8px;
}
.roi-num small {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: 0;
  margin-left: 2px;
}
.roi-label {
  font-size: 11px;
  color: var(--gray-mid);
  line-height: 1.4;
  font-weight: 400;
}
.roi-divider {
  width: 1px;
  background: #eaeaea;
}

.impact-disclaimer {
  font-size: 10px;
  color: var(--gray-mid);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  margin-top: 4px;
}

/* ============ DIAGNÓSTICO ============ */
.diagnostico {
  background: var(--black);
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.diag-wrap {
  max-width: 800px;
  margin: 0 auto;
  background: var(--dark-2);
  border-radius: var(--radius);
  padding: 56px 48px;
  border: 1px solid rgba(255,255,255,0.06);
}
.diag-progress {
  margin-bottom: 56px;
}
.diag-progress-bar {
  height: 2px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.diag-progress-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: var(--white);
  width: 12.5%;
  transition: width .4s ease;
}
.diag-progress-label {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diag-step { display: none; }
.diag-step.active { display: block; animation: fadeIn .4s; }
@keyframes fadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:none} }

.diag-q {
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 32px;
}
.diag-opts {
  display: grid;
  gap: 12px;
}
.diag-opts label {
  display: block;
  cursor: pointer;
  padding: 20px 24px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  transition: all .2s;
  font-size: 16px;
  font-weight: 400;
}
.diag-opts label:hover {
  border-color: rgba(255,255,255,0.3);
  background: var(--dark-3);
}
.diag-opts input { display: none; }
.diag-opts input:checked + span {
  font-weight: 500;
}
.diag-opts label:has(input:checked) {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.diag-fields {
  display: grid;
  gap: 12px;
}
.diag-fields input {
  width: 100%;
  padding: 18px 24px;
  background: var(--black);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
}
.diag-fields input::placeholder { color: var(--gray-mid); }
.diag-fields input:focus { outline: none; border-color: var(--white); }

.diag-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
}
.diag-controls .btn-ghost-dark {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.diag-controls .btn-ghost-dark:hover { background: rgba(255,255,255,0.05); }

.diag-result {
  display: none;
  text-align: center;
  animation: fadeIn .5s;
}
.diag-result.show { display: block; }
.result-level {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 16px 0 40px;
  line-height: 1.1;
}
.result-meter {
  margin-bottom: 40px;
}
.result-meter-fill {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}
.result-meter-fill::after {
  content: '';
  position: absolute;
  left: 0; top: 0; height: 100%;
  background: linear-gradient(90deg, #fff 0%, #fff 100%);
  width: 0%;
  transition: width 1.2s cubic-bezier(.6,.2,.1,1);
  border-radius: 3px;
}
.result-meter-marks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.result-text {
  font-size: 17px;
  color: var(--gray-soft);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 40px;
}
.result-recs {
  text-align: left;
  background: var(--black);
  border-radius: var(--radius-sm);
  padding: 32px;
  margin-bottom: 40px;
  border: 1px solid rgba(255,255,255,0.06);
}
.result-recs h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  margin-bottom: 20px;
  font-weight: 500;
}
.result-recs ul {
  list-style: none;
}
.result-recs li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 15px;
  display: flex;
  gap: 16px;
  align-items: start;
}
.result-recs li:last-child { border-bottom: none; }
.result-recs li::before {
  content: '→';
  color: var(--gray-mid);
  flex-shrink: 0;
}
.diag-result .btn-primary { margin: 0 8px 12px 0; }

/* ============ PORTAL ============ */
.portal {
  background: var(--off-white);
  color: var(--black);
  padding: 160px 0;
}

/* Página standalone del portal */
body.portal-page { background: var(--off-white); }
.portal-standalone { padding: 160px 0 80px; min-height: calc(100vh - 200px); }

.nav-portal {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid #eaeaea !important;
}
.nav-portal .nav-logo img { height: 36px; }
.nav-portal .nav-cta { background: var(--black); color: var(--white); }
.nav-portal .nav-cta:hover { background: var(--dark-2); }
.nav-portal-label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
  flex: 1;
  text-align: center;
}
.nav-back {
  font-size: 13px;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #eaeaea;
  transition: background .2s;
}
.nav-back:hover { background: var(--white); }

.footer-portal {
  background: var(--white);
  border-top: 1px solid #eaeaea;
  padding: 32px 0;
}
.footer-portal .footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-mid);
  padding-top: 0;
}
.footer-portal a { color: var(--black); text-decoration: none; font-weight: 500; }
.footer-portal a:hover { text-decoration: underline; }
.portal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.portal-lead {
  font-size: 18px;
  color: var(--gray-mid);
  line-height: 1.6;
  margin: 32px 0 40px;
  max-width: 480px;
}
.portal-feats {
  list-style: none;
}
.portal-feats li {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid #eaeaea;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.portal-feats li:last-child { border-bottom: 1px solid #eaeaea; }
.portal-feats li span {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 500;
  width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 56px 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

/* ============================================
   TABS — Portal Cliente / Dashboard interno
   ============================================ */
.login-tabs {
  display: flex;
  gap: 4px;
  background: var(--off-white);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 36px;
}
.login-tab {
  flex: 1;
  padding: 11px 14px;
  border: none;
  background: transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gray-mid);
  cursor: pointer;
  transition: all .25s cubic-bezier(0.22, 0.61, 0.36, 1);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.login-tab:hover {
  color: var(--black);
}
.login-tab.active {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.tab-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  color: inherit;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}
.login-tab:not(.active) .tab-badge {
  background: rgba(0,0,0,0.06);
  color: var(--gray-mid);
}

/* Paneles de cada tab — sólo el activo es visible */
.login-pane {
  display: none;
}
.login-pane.active {
  display: block;
  animation: paneIn .35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes paneIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Dashboard pane: nota interna + usuario fijo */
.dash-internal-note {
  display: inline-block;
  background: rgba(0,0,0,0.05);
  color: var(--gray-mid);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.02em;
  margin-bottom: 24px !important;
}
.dash-user-locked {
  background: var(--off-white);
  border: 1px dashed rgba(0,0,0,0.12);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-user-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
}
.dash-user-email {
  font-size: 14px;
  color: var(--black);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.dash-foot {
  font-size: 11px !important;
  color: var(--gray-mid) !important;
  font-style: italic;
}
.login-card h3 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.login-card > p {
  color: var(--gray-mid);
  margin-bottom: 32px;
  font-size: 15px;
}
.login-card form {
  display: grid;
  gap: 12px;
}
.login-card input {
  width: 100%;
  padding: 18px 22px;
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
  transition: border-color .2s, background .2s;
}
.login-card input:focus {
  outline: none;
  border-color: var(--black);
  background: var(--white);
}
.login-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin: 8px 0 12px;
  color: var(--gray-mid);
}
.login-row .check { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.login-row .link-sm { color: var(--black); text-decoration: none; font-weight: 500; }
.login-row .link-sm:hover { text-decoration: underline; }
.login-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--gray-mid);
}
.login-foot a { color: var(--black); font-weight: 500; text-decoration: none; }
.login-foot a:hover { text-decoration: underline; }
.login-error {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-top: 8px;
  display: none;
}
.login-error.show { display: block; }
.demo-creds {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #eaeaea;
  font-size: 13px;
  color: var(--gray-mid);
}
.demo-creds summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--black);
  padding: 4px 0;
}
.demo-creds p {
  margin-top: 12px;
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 12px;
  background: var(--off-white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}
.demo-creds em { font-style: italic; color: var(--gray-mid); }

/* ====== DASHBOARD ====== */
.portal-dashboard { display: none; animation: fadeIn .5s; }
.portal-dashboard.show { display: block; }
.portal-inner.hidden { display: none; }

.portal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 32px;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 32px;
}
.dashboard-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 4px 0 0;
  line-height: 1;
}
.portal-actions { display: flex; gap: 12px; }
.portal-actions .btn-ghost-dark { padding: 12px 24px; font-size: 13px; }

.portal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 48px;
  overflow-x: auto;
}
.ptab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 16px 22px 14px;
  font-size: 15px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  color: var(--gray-mid);
  transition: color .2s, border-color .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.ptab-icon {
  display: inline-block;
  flex-shrink: 0;
  color: currentColor;
  transition: color .2s, transform .25s ease;
}
.ptab:hover {
  color: var(--black);
}
.ptab:hover .ptab-icon {
  color: #c9a227;
  transform: scale(1.08);
}
.ptab.active {
  color: var(--black);
  border-bottom-color: var(--black);
  font-weight: 500;
}
.ptab.active .ptab-icon {
  color: #c9a227;
}

@media (max-width: 700px) {
  .ptab {
    padding: 14px 14px 12px;
    font-size: 13px;
    gap: 7px;
  }
  .ptab-icon {
    width: 16px;
    height: 16px;
  }
}

.ptab-content { display: none; animation: fadeIn .4s; }
.ptab-content.active { display: block; }

.method-hero {
  text-align: center;
  margin-bottom: 56px;
}
.method-hero h3 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
  line-height: 1.05;
}
.method-desc {
  font-size: 17px;
  color: var(--gray-mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.method-diagram-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 56px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.method-diagram {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.method-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}
.phase-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid #eaeaea;
}
.phase-letter {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}
.phase-card h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.phase-card p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.55;
  margin-bottom: 16px;
}
.phase-tag {
  display: inline-block;
  font-size: 11px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-top: 1px solid #eaeaea;
  padding-top: 12px;
  margin-top: 4px;
  font-weight: 500;
}

.method-results {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  border: 1px solid #eaeaea;
}
.method-results .eyebrow { margin-bottom: 28px; }
.results-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.results-row > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 4px;
  border-right: 1px solid #eaeaea;
}
.results-row > div:last-child { border-right: none; }
.results-row strong {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.results-row span {
  font-size: 12px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Downloads */
.downloads-section { margin-bottom: 48px; }

/* === KIT TAP — Botón compacto centrado, icono limpio === */
.kit-tap {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 22px 28px;
  border-radius: 14px;
  margin: 0 auto 40px auto;
  max-width: 520px;
  transition: transform .15s, box-shadow .25s, background .2s;
  position: relative;
  overflow: hidden;
  border: 1px solid #1a1a1a;
}
.kit-tap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #c9a227;
  transition: width .25s ease;
}
.kit-tap:hover {
  background: #0d0d0d;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.2);
}
.kit-tap:hover::before {
  width: 6px;
}
.kit-tap:hover .kit-tap-arrow {
  transform: translateX(4px);
  color: #c9a227;
}
.kit-tap-icon {
  color: #c9a227;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.kit-tap-body {
  flex: 1;
  min-width: 0;
}
.kit-tap-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #c9a227;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.kit-tap-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--white);
}
.kit-tap-arrow {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: transform .2s, color .2s;
}

/* Divider "o descarga individual" */
.downloads-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 32px 0;
  position: relative;
}
.downloads-divider::before,
.downloads-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.downloads-divider span {
  padding: 0 20px;
  font-size: 11px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.ds-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  margin-bottom: 20px;
  font-weight: 500;
}
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.doc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #eaeaea;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.07);
}
.doc-card.disabled { opacity: 0.55; }
.doc-card.disabled:hover { transform: none; box-shadow: none; }
.doc-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  background: var(--off-white);
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 18px;
  align-self: flex-start;
}
.doc-card h4 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}
.doc-card p {
  font-size: 13px;
  color: var(--gray-mid);
  margin-bottom: 20px;
  line-height: 1.5;
  flex: 1;
}
.doc-download {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-decoration: none;
  padding: 10px 16px;
  border: 1px solid var(--black);
  border-radius: 999px;
  display: inline-block;
  text-align: center;
  align-self: flex-start;
  transition: background .2s, color .2s;
}
.doc-download:hover {
  background: var(--black);
  color: var(--white);
}
.doc-download.muted {
  color: var(--gray-mid);
  border-color: #ccc;
  cursor: not-allowed;
}

/* ============ ACADEMIA IA — Cursos Certificados ============ */
.academia-section {
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 60px 50px;
  margin: 60px 0 48px 0;
  position: relative;
  overflow: hidden;
}
.academia-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #c9a227 0%, #d4b548 50%, #c9a227 100%);
}
.academia-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
}
.academia-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c9a227;
  margin-bottom: 16px;
}
.academia-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}
.academia-title .gold {
  color: #c9a227;
}
.academia-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
}
.academia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.academia-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
}
.academia-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #c9a227;
  opacity: 0;
  transition: opacity .25s ease;
  border-radius: 12px 0 0 12px;
}
.academia-card:hover {
  background: #1f1f1f;
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-3px);
}
.academia-card:hover::before {
  opacity: 1;
}
.academia-card:hover .academia-cta {
  color: #c9a227;
}
.academia-card:hover .academia-cta::after {
  transform: translateX(4px);
}
.academia-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  align-self: flex-start;
}
.academia-card h5 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 8px;
  color: var(--white);
}
.academia-card p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 20px;
  flex: 1;
}
.academia-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
}
.academia-cta::after {
  display: inline-block;
  transition: transform .2s ease;
}

.academia-allcourses {
  display: block;
  text-align: center;
  color: #c9a227;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 999px;
  width: fit-content;
  margin: 0 auto;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.academia-allcourses:hover {
  background: #c9a227;
  color: #000;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .academia-section {
    padding: 40px 24px;
  }
  .academia-grid {
    grid-template-columns: 1fr;
  }
  .academia-title {
    font-size: 24px;
  }
}

/* Agents */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.agent-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid #eaeaea;
  position: relative;
}
.agent-icon {
  font-size: 22px;
  font-weight: 700;
  color: var(--gray-mid);
  position: absolute;
  top: 24px;
  right: 24px;
}
.agent-card h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.agent-card p {
  font-size: 13px;
  color: var(--gray-mid);
  line-height: 1.55;
}
.agents-cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 1px solid #eaeaea;
}
.agents-cta p {
  font-size: 15px;
  color: var(--gray-mid);
  margin-bottom: 20px;
}

/* Account */
.account-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 32px;
  border: 1px solid #eaeaea;
  max-width: 640px;
  margin: 0 auto 24px;
}
.account-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eaeaea;
  font-size: 15px;
}
.account-row:last-child { border-bottom: none; }
.account-row span { color: var(--gray-mid); }
.account-row strong { font-weight: 500; color: var(--black); }
.account-help {
  text-align: center;
  font-size: 14px;
  color: var(--gray-mid);
  max-width: 540px;
  margin: 0 auto;
}
.account-help a { color: var(--black); font-weight: 500; }

/* ============ PLANES — 2 PAQUETES ============ */
.planes {
  background: var(--off-white);
  color: var(--black);
  padding: 140px 0 140px;
}
.planes .section-head { margin-bottom: 60px; }
.planes .section-sub { color: var(--gray-mid); }

.planes-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card-v2 {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.plan-card-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.07);
}

.plan-card-v2.featured {
  background: var(--black);
  color: var(--white);
  border: 1px solid rgba(201, 162, 39, 0.3);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(201, 162, 39, 0.15);
}
.plan-card-v2.featured:hover {
  box-shadow: 0 32px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(201, 162, 39, 0.3);
}

.plan-badge-v2 {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #c9a227 0%, #b58e1f 100%);
  color: #1a1300;
  font-size: 10px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.3);
}

/* Plan header */
.plan-header { margin-bottom: 24px; }
.plan-tag {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-weight: 500;
  margin-bottom: 12px;
}
.plan-tag.gold { color: #c9a227; }
.plan-card-v2.featured .plan-tag { color: var(--gray-soft); }
.plan-card-v2.featured .plan-tag.gold { color: #c9a227; }

.plan-name {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1;
}
.plan-desc {
  font-size: 14px;
  color: var(--gray-mid);
  line-height: 1.55;
  font-weight: 300;
}
.plan-card-v2.featured .plan-desc { color: var(--gray-soft); }

/* Price block */
.plan-price-block {
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 22px 0;
  margin-bottom: 24px;
}
.plan-card-v2.featured .plan-price-block {
  border-color: rgba(255,255,255,0.08);
}
.plan-price-v2 {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 6px;
}
.plan-currency {
  font-size: 15px;
  font-weight: 400;
  color: var(--gray-mid);
  letter-spacing: -0.01em;
  margin-left: 3px;
}
.plan-card-v2.featured .plan-currency { color: var(--gray-soft); }
.plan-price-note {
  font-size: 12px;
  color: var(--gray-mid);
  font-weight: 400;
}
.plan-card-v2.featured .plan-price-note { color: var(--gray-soft); }

/* Certification highlight con placa real */
.cert-highlight {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.10) 0%, rgba(201, 162, 39, 0.02) 100%);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.cert-placa-wrap {
  flex-shrink: 0;
  width: 160px;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  line-height: 0;
  font-size: 0;
}
.cert-placa-wrap:hover {
  transform: none;
}
.cert-placa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
  outline: none;
  border-radius: 8px;
}
/* Capa shine ELIMINADA — la placa queda completamente estática */
.cert-placa-shine {
  display: none;
}
.cert-text { flex: 1; min-width: 0; }
.cert-title {
  font-size: 14px;
  font-weight: 700;
  color: #c9a227;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.cert-sub {
  font-size: 12px;
  color: var(--gray-soft);
  line-height: 1.5;
  margin-bottom: 12px;
  font-weight: 300;
}
.cert-badges {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.cert-badge {
  font-size: 10px;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Plan includes */
.plan-includes { margin-bottom: 24px; flex: 1; }
.plan-includes-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gray-mid);
  font-weight: 500;
  margin-bottom: 14px;
}
.plan-includes-title.not-included {
  margin-top: 20px;
}
.plan-card-v2.featured .plan-includes-title { color: var(--gray-soft); }

.plan-list-v2 {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-list-v2 li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  font-size: 13px;
  line-height: 1.5;
  border: none;
}
.plan-list-v2 li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #2e7d32;
  margin-top: 2px;
}
.plan-card-v2.featured .plan-list-v2 li svg { color: #c9a227; }
.plan-list-v2 li span { color: var(--black); }
.plan-card-v2.featured .plan-list-v2 li span { color: var(--white); }
.plan-list-v2 li strong { font-weight: 600; }

.plan-list-v2.muted li svg { color: #c62828; opacity: 0.6; }
.plan-list-v2.muted li span {
  color: var(--gray-mid);
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.15);
}

.plan-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--gray-mid);
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.plan-card-v2.featured .plan-foot {
  color: var(--gray-soft);
  border-color: rgba(255,255,255,0.08);
}

.plan-card-v2.featured .btn-primary.inverted {
  background: var(--white);
  color: var(--black);
}
.plan-card-v2.featured .btn-primary.inverted:hover {
  background: var(--off-white);
}
.plan-card-v2 .btn-primary,
.plan-card-v2 .btn-ghost-dark {
  padding: 13px 28px;
  font-size: 14px;
}

/* Comparison footer */
.plan-comparison {
  text-align: center;
  margin-top: 60px;
  padding: 36px 40px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.05);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.plan-comparison .eyebrow { margin-bottom: 14px; }
.comparison-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--black);
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.comparison-text strong {
  font-weight: 700;
  color: var(--black);
}

/* ============ CONTACTO ============ */
.contacto {
  background: var(--black);
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.contacto-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: start;
}
.contacto-sub {
  font-size: 18px;
  color: var(--gray-soft);
  margin: 32px 0 48px;
  max-width: 440px;
}
.contacto-info {
  list-style: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contacto-info li {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-soft);
}
.contacto-form {
  display: grid;
  gap: 12px;
}
.contacto-form input,
.contacto-form select,
.contacto-form textarea {
  width: 100%;
  padding: 18px 24px;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 15px;
  font-family: inherit;
  font-weight: 300;
  transition: border-color .2s;
}
.contacto-form input::placeholder,
.contacto-form textarea::placeholder { color: var(--gray-mid); }
.contacto-form input:focus,
.contacto-form select:focus,
.contacto-form textarea:focus {
  outline: none;
  border-color: var(--white);
}
.contacto-form select { color: var(--gray-mid); }
.contacto-form textarea { resize: vertical; min-height: 120px; }
.contacto-form .btn-primary {
  background: var(--white);
  color: var(--black);
  margin-top: 8px;
}
.form-status {
  font-size: 14px;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: none;
  font-weight: 500;
}
.form-status:not(:empty) { display: block; }
.form-status.success {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #d4b548;
}
.form-status.error {
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 80, 80, 0.3);
  color: #ff8585;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--black);
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   PRESENTACIÓN — KEYNOTE STYLE
   ============================================ */
.pres-teaser {
  background: var(--black);
  padding: 160px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.pres-teaser::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 162, 39, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.pres-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.pres-teaser-text .eyebrow { color: #c9a227; }
.pres-teaser-lead {
  font-size: 19px;
  font-weight: 300;
  color: var(--gray-soft);
  line-height: 1.6;
  margin: 28px 0 40px;
  max-width: 520px;
}
.pres-teaser-meta {
  display: flex;
  gap: 56px;
  margin-bottom: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.pres-teaser-meta > div { display: flex; flex-direction: column; }
.pres-teaser-meta strong {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--white);
}
.pres-teaser-meta span {
  font-size: 11px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 4px;
}
.pres-teaser-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.pres-teaser-visual {
  cursor: pointer;
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.pres-teaser-visual:hover { transform: scale(1.02); }
.pres-frame {
  background: #0a0a0a;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(201, 162, 39, 0.08);
}
.pres-frame-bar {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #111;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}
.pres-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.pres-frame-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
}
.pf-eyebrow {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 16px;
}
.pres-frame-content h3 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
  color: var(--white);
}
.pf-sub {
  font-size: 14px;
  color: var(--gray-soft);
  font-weight: 300;
  line-height: 1.5;
}
.pf-author {
  margin-top: 24px;
}
.pf-author-line {
  width: 32px;
  height: 1px;
  background: #c9a227;
  margin-bottom: 10px;
}
.pf-author p {
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.05em;
}
.pres-frame-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity .3s;
}
.pres-teaser-visual:hover .pres-frame-play { opacity: 1; }
.pres-frame-play span {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 6px;
}

/* ============ PRESENTATION VIEWER (FULLSCREEN) ============ */
.pres-viewer {
  position: fixed;
  inset: 0;
  background: #050505;
  z-index: 9999;
  display: none;
  overflow: hidden;
}
.pres-viewer.open { display: flex; align-items: center; justify-content: center; }

.pres-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background .2s;
  font-family: inherit;
}
.pres-close:hover { background: rgba(255,255,255,0.12); }

.pres-counter {
  position: absolute;
  top: 32px;
  left: 32px;
  font-size: 13px;
  color: var(--gray-mid);
  letter-spacing: 0.15em;
  font-family: 'SF Mono', monospace;
  z-index: 100;
}
.pres-counter #presCurrent {
  color: var(--white);
  font-weight: 500;
}
.pres-counter .pres-divider {
  margin: 0 8px;
  color: rgba(255,255,255,0.2);
}

.pres-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1), visibility 0s linear .6s;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1) .15s, transform .6s cubic-bezier(.2,.8,.2,1) .15s, visibility 0s linear 0s;
}

.slide-inner {
  max-width: 1100px;
  width: 100%;
  text-align: center;
  color: var(--white);
}

.slide-eyebrow {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 40px;
  font-weight: 500;
}
.slide-eyebrow.gold { color: #c9a227; }

.slide-title {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(48px, 6.5vw, 96px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 32px;
}
.slide-title-xl {
  font-family: 'Helvetica Neue', Helvetica, sans-serif;
  font-size: clamp(56px, 8vw, 120px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  margin: 0 0 32px;
}
.slide-pretitle {
  font-size: clamp(20px, 2vw, 26px);
  color: var(--gray-soft);
  font-weight: 300;
  margin-bottom: 24px;
}

.slide-title .emph,
.slide-title-xl .emph {
  font-weight: 200;
  font-style: normal;
  color: var(--gray-soft);
}
.slide-title .emph-gold,
.slide-title-xl .emph-gold {
  color: #c9a227;
  font-weight: 700;
}

.slide-sub-xl {
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 300;
  color: var(--gray-soft);
  line-height: 1.4;
  margin: 0 0 48px;
}
.slide-sub-xl .dim { color: var(--gray-mid); }

.slide-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--gray-soft);
  font-weight: 300;
  margin: 0 auto 40px;
  max-width: 720px;
  line-height: 1.5;
}
.slide-lead .emph-gold { color: #c9a227; font-weight: 500; }
.slide-lead.dim { color: var(--gray-mid); }

.slide-list {
  list-style: none;
  margin: 0 auto;
  max-width: 640px;
  text-align: left;
  padding: 0;
}
.slide-list li {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 300;
  color: var(--white);
  padding: 18px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
  position: relative;
  padding-left: 36px;
}
.slide-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 1px;
  background: #c9a227;
}
.slide-list.two-col {
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}
.slide-list.two-col li {
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}

.slide-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 0;
}
.slide-three > div {
  text-align: center;
  padding: 32px 16px;
}
.three-num {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #c9a227;
  font-weight: 500;
  margin-bottom: 20px;
}
.slide-three p {
  font-size: clamp(16px, 1.4vw, 20px);
  color: var(--white);
  font-weight: 400;
  line-height: 1.4;
}

/* === ICONS === */
.slide-icon {
  width: 64px;
  height: 64px;
  color: #c9a227;
  margin: 0 auto 24px;
  display: block;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s cubic-bezier(.2,.8,.2,1) .4s, transform .6s cubic-bezier(.2,.8,.2,1) .4s;
}
.slide.active .slide-icon {
  opacity: 1;
  transform: translateY(0);
}
.slide-three.icons > div {
  padding: 24px 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color .3s, background .3s;
}
.slide-three.icons > div:hover {
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.03);
}

.slide-hero-icon {
  width: 88px;
  height: 88px;
  color: #c9a227;
  margin: 0 auto 32px;
  display: block;
  opacity: 0;
  transform: translateY(12px) scale(0.95);
  transition: opacity .7s cubic-bezier(.2,.8,.2,1) .3s, transform .7s cubic-bezier(.2,.8,.2,1) .3s;
}
.slide.active .slide-hero-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.block-icon {
  width: 36px;
  height: 36px;
  color: #c9a227;
  margin-bottom: 18px;
  display: block;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .5s cubic-bezier(.2,.8,.2,1) .35s, transform .5s cubic-bezier(.2,.8,.2,1) .35s;
}
.slide.active .block-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Results grid (slide 12) */
.slide-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 48px auto 0;
}
.result-cell {
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  text-align: left;
  transition: border-color .3s, background .3s;
}
.result-cell:hover {
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.03);
}
.result-cell svg {
  width: 40px;
  height: 40px;
  color: #c9a227;
  flex-shrink: 0;
}
.result-cell p {
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--white);
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.slide-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 800px;
  margin: 40px auto 0;
}
.block-card {
  background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: left;
}
.block-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #c9a227;
  font-weight: 500;
}
.block-card h4 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 14px 0 6px;
  color: var(--white);
}
.block-card p {
  font-size: 14px;
  color: var(--gray-mid);
}

.slide-insight {
  margin: 56px auto 0;
  max-width: 540px;
  text-align: center;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  padding-top: 32px;
}
.slide-insight span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: #c9a227;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.slide-insight p {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.3;
  font-style: italic;
}

.slide-formula {
  margin: 56px auto 0;
  max-width: 600px;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 300;
}
.slide-formula p {
  padding: 16px 0;
  color: var(--white);
}
.slide-formula p + p {
  border-top: 0.5px solid rgba(201, 162, 39, 0.15);
}
.slide-formula .dim { color: var(--gray-mid); }
.slide-formula .emph-gold { color: #c9a227; font-weight: 500; }

/* Timeline */
.timeline {
  margin: 64px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.tl-track {
  position: absolute;
  top: 9px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.5), transparent);
}
.tl-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--black);
  border: 2px solid #c9a227;
  margin: 0 auto 16px;
  position: relative;
}
.tl-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #c9a227;
}
.tl-day {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 8px;
}
.tl-step h4 {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
}

/* Slide variants */
.slide-cover {
  background:
    radial-gradient(ellipse at center, #1a1a1a 0%, #050505 70%);
}
.slide-quote {
  background:
    radial-gradient(ellipse at 70% 50%, rgba(201, 162, 39, 0.05) 0%, transparent 60%);
}
.slide-final {
  background:
    radial-gradient(ellipse at center bottom, rgba(201, 162, 39, 0.08) 0%, transparent 60%);
}
.slide-timeline { background: #050505; }

.slide-author {
  margin-top: 56px;
}
.author-line {
  width: 60px;
  height: 1px;
  background: #c9a227;
  margin: 0 auto 20px;
}
.slide-author p {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.02em;
}
.slide-author p strong { font-weight: 700; }
.author-sub {
  font-size: 13px !important;
  color: var(--gray-mid) !important;
  margin-top: 4px;
}

.slide-cta {
  margin: 32px 0;
}
.slide-cta .btn-primary {
  padding: 18px 40px;
  font-size: 16px;
}

/* Controls */
.pres-controls {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 100;
}
.pres-btn {
  background: transparent;
  border: none;
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  font-family: inherit;
}
.pres-btn:hover { background: rgba(255,255,255,0.08); }
.pres-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.pres-progress {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.pres-progress-bar {
  height: 100%;
  background: #c9a227;
  width: 6.25%;
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}

.pres-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.05em;
  z-index: 50;
}

/* Mobile presentation */
@media (max-width: 768px) {
  .pres-teaser-inner { grid-template-columns: 1fr; gap: 56px; }
  .slide { padding: 40px 24px; }
  .slide-title { font-size: 44px; }
  .slide-title-xl { font-size: 48px; }
  .slide-three { grid-template-columns: 1fr; gap: 16px; }
  .slide-blocks { grid-template-columns: 1fr; }
  .slide-list.two-col { grid-template-columns: 1fr; }
  .slide-results-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .tl-track { display: none; }
  .pres-progress { width: 100px; }
  .pres-counter { font-size: 11px; }
  .slide-hero-icon { width: 64px; height: 64px; margin-bottom: 24px; }
  .slide-icon { width: 48px; height: 48px; }
  .result-cell { padding: 24px 20px; }
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-brand img {
  height: 42px;
  margin-bottom: 0;
  /* Logo en tono gris: bajamos opacidad para que el blanco se vea gris medio */
  opacity: 0.55;
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray-mid);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-cols h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-cols a {
  display: block;
  color: var(--gray-mid);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 0;
  transition: color .2s;
}
.footer-cols a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 12px;
  color: var(--gray-mid);
}

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal.open { display: flex; animation: fadeIn .3s; }
.modal-card {
  background: var(--white);
  color: var(--black);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 420px;
  width: 100%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-mid);
  line-height: 1;
}
.modal-card h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.modal-card > p {
  font-size: 14px;
  color: var(--gray-mid);
  margin-bottom: 24px;
}
.modal-card form { display: grid; gap: 12px; }
.modal-card input {
  width: 100%;
  padding: 16px 20px;
  background: var(--off-white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
}
.modal-card input:focus { outline: none; border-color: var(--black); background: var(--white); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .alma-grid { grid-template-columns: repeat(2, 1fr); }
  .resultados-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .resultados-grid > div { border-right: none; }
  .curso-inner, .portal-inner, .contacto-inner { grid-template-columns: 1fr; gap: 56px; }
  .os-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .os-pillars-grid .pillar:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
  .planes-grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .docs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .hero-meta {
    gap: 50px;
    padding-top: 40px;
  }
  .hero-meta .stat-item {
    min-width: unset;
    width: 100%;
  }
  .hero-meta .stat-item:not(:last-child)::after {
    display: none;
  }
  .hero-meta .num { font-size: 42px; }
  .curso-card { position: static; }
  .method-phases { grid-template-columns: repeat(2, 1fr); }
  .results-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .results-row > div { border-right: none; padding: 8px 0; }
  .agents-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-title { font-size: 32px; }
  .portal-topbar { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .container, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .alma-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 24px; }
  .diag-wrap { padding: 32px 24px; }
  .diag-q { font-size: 22px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 80%; text-align: center; }
  .method-phases { grid-template-columns: 1fr; }
  .results-row { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
  .portal-tabs { gap: 0; }
  .ptab { padding: 14px 16px; font-size: 13px; }
  .method-diagram-wrap { padding: 20px; }
  .login-card { padding: 36px 28px; }
  .os-pillars-grid { grid-template-columns: 1fr; }
  .os-pillars-grid .pillar:last-child { max-width: 100%; }
  .nav-logo img { height: 30px !important; }
  .plan-card-v2 { padding: 40px 28px 32px; }
  .plan-name { font-size: 28px; }
  .plan-price-v2 { font-size: 44px; }
  .cert-highlight { flex-direction: column; gap: 16px; padding: 22px; }
  .cert-placa-wrap { width: 200px; height: 200px; margin: 0 auto; }
  .cert-placa-img { width: 100%; height: 100%; }
  .plan-comparison { padding: 32px 24px; }
  .comparison-text { font-size: 18px; }
}

/* ============================================
   LIGHTBOX MODAL — Diagrama Ampliado
   ============================================ */
.diagrama-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  opacity: 0;
  transition: opacity .3s ease;
}
.diagrama-modal.open {
  display: flex;
  opacity: 1;
  animation: modalFadeIn .35s ease forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.diagrama-modal-content {
  max-width: 95vw;
  max-height: 85vh;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(201, 162, 39, 0.2);
  background: #fff;
  position: relative;
  animation: modalZoomIn .4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalZoomIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.diagrama-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

.diagrama-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
  z-index: 10000;
}
.diagrama-modal-close:hover {
  background: #c9a227;
  border-color: #c9a227;
  color: #000;
  transform: rotate(90deg);
}

.diagrama-modal-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

@media (max-width: 768px) {
  .diagrama-modal {
    padding: 20px;
  }
  .diagrama-modal-close {
    top: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .md-zoom-hint {
    opacity: 1;
    transform: translateY(0);
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    font-size: 10px;
  }
}

/* ============================================
   AGENT CARDS — Tarjetas clickeables nuevas
   ============================================ */
.agents-grid .agent-card {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-family: inherit;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.agents-grid .agent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}
.agents-grid .agent-card:hover .agent-cta {
  color: #c9a227;
}
.agents-grid .agent-card:hover .agent-cta::after {
  transform: translateX(4px);
}
.agent-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.agents-grid .agent-card h4 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 8px;
}
.agents-grid .agent-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-mid);
  margin-bottom: 20px;
  flex: 1;
  font-weight: 300;
}
.agent-cta {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black);
  text-transform: uppercase;
  transition: color .2s ease;
  display: inline-flex;
  align-items: center;
}
.agent-cta::after {
  display: inline-block;
  transition: transform .2s ease;
}

/* ============================================
   AGENT MODAL — Modal con prompt y botón copiar
   ============================================ */
.agent-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  opacity: 0;
}
.agent-modal.open {
  display: flex;
  opacity: 1;
  animation: agentModalFadeIn .3s ease forwards;
}

@keyframes agentModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.agent-modal-card {
  background: #0a0a0a;
  color: #fff;
  border-radius: 18px;
  max-width: 860px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 0 1px rgba(201, 162, 39, 0.15);
  position: relative;
  animation: agentModalZoom .35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes agentModalZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.agent-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.agent-modal-close:hover {
  background: #c9a227;
  border-color: #c9a227;
  color: #000;
  transform: rotate(90deg);
}

.agent-modal-header {
  padding: 36px 40px 24px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.agent-modal-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.agent-modal-header h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: #fff;
}
.agent-modal-header p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  margin: 0;
  max-width: 720px;
}

.agent-modal-body {
  padding: 0 40px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.agent-modal-body::-webkit-scrollbar {
  width: 6px;
}
.agent-modal-body::-webkit-scrollbar-track {
  background: transparent;
}
.agent-modal-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.agent-modal-instructions {
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0 20px 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}
.agent-modal-instructions strong {
  color: #c9a227;
  font-weight: 700;
}
.agent-modal-instructions em {
  color: #fff;
  font-style: normal;
  font-weight: 500;
}
.agent-modal-instructions code {
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 12px;
  color: #c9a227;
}

#agentModalPrompt {
  background: #050505;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 24px 26px;
  font-family: 'Monaco', 'Menlo', 'SF Mono', Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-bottom: 24px;
  font-weight: 400;
}

.agent-modal-footer {
  padding: 20px 40px 28px 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  background: rgba(0,0,0,0.4);
}

.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #c9a227;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease, box-shadow .25s ease;
  font-family: inherit;
}
.copy-prompt-btn:hover {
  background: #d4b548;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.3);
}
.copy-prompt-btn.copied {
  background: #4caf50;
  color: #fff;
  pointer-events: none;
}
.copy-prompt-btn.copied svg {
  display: none;
}

@media (max-width: 768px) {
  .agent-modal {
    padding: 20px 10px;
  }
  .agent-modal-card {
    max-height: 92vh;
  }
  .agent-modal-header {
    padding: 28px 24px 20px 24px;
  }
  .agent-modal-header h3 {
    font-size: 22px;
  }
  .agent-modal-body {
    padding: 0 24px;
  }
  #agentModalPrompt {
    padding: 18px;
    font-size: 11px;
  }
  .agent-modal-footer {
    padding: 16px 24px 20px 24px;
  }
  .copy-prompt-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================
   SOLICITUD DE CUENTA MODAL
   ============================================ */
.solicitud-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
}
.solicitud-modal.open {
  display: flex;
  opacity: 1;
  animation: solicitudFadeIn .3s ease forwards;
}

@keyframes solicitudFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.solicitud-modal-card {
  background: var(--white);
  border-radius: 18px;
  max-width: 560px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: solicitudZoom .35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes solicitudZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.solicitud-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #f5f5f5;
  color: #000;
  border: 1px solid #e0e0e0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background .2s ease, transform .15s ease;
}
.solicitud-modal-close:hover {
  background: #000;
  color: #fff;
  transform: rotate(90deg);
}

.solicitud-modal-content {
  padding: 44px 40px 36px 40px;
}

.solicitud-modal-header {
  margin-bottom: 28px;
  text-align: left;
}
.solicitud-modal-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 5px 11px;
  border-radius: 4px;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.solicitud-modal-header h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 10px;
}
.solicitud-modal-header p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-mid);
  font-weight: 300;
  margin: 0;
}

/* Campos del formulario */
.solicitud-field {
  margin-bottom: 14px;
}
.solicitud-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.solicitud-field input,
.solicitud-field select,
.solicitud-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 400;
  color: var(--black);
  transition: border-color .2s ease, background .2s ease;
  box-sizing: border-box;
}
.solicitud-field input:focus,
.solicitud-field select:focus,
.solicitud-field textarea:focus {
  outline: none;
  border-color: #c9a227;
  background: #fff;
}
.solicitud-field textarea {
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
}

/* Checkbox de privacidad */
.solicitud-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 22px 0;
  padding: 14px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}
.solicitud-checkbox input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #c9a227;
  cursor: pointer;
}
.solicitud-checkbox label {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray-mid);
  font-weight: 300;
  cursor: pointer;
}

.solicitud-submit {
  margin-top: 4px;
}

.solicitud-note {
  text-align: center;
  font-size: 12px;
  color: var(--gray-mid);
  margin-top: 14px;
  font-weight: 300;
}
.solicitud-note strong {
  color: #c9a227;
  font-weight: 700;
}

/* Estado de éxito */
.solicitud-success {
  text-align: center;
  padding: 50px 40px 40px 40px;
}
.solicitud-success-icon {
  width: 76px;
  height: 76px;
  background: rgba(201, 162, 39, 0.1);
  border: 2px solid #c9a227;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c9a227;
  margin-bottom: 24px;
}
.solicitud-success h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 12px;
}
.solicitud-success-msg {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-mid);
  font-weight: 300;
  margin-bottom: 28px;
}
.solicitud-success-msg strong {
  color: var(--black);
  font-weight: 600;
}
.solicitud-success-info {
  background: #fafafa;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 28px;
  text-align: left;
}
.success-info-item {
  padding: 10px 0;
  border-bottom: 1px solid #efefef;
}
.success-info-item:last-child {
  border-bottom: none;
}
.success-info-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a227;
  margin-bottom: 4px;
}
.success-info-value {
  font-size: 13px;
  color: var(--black);
  font-weight: 500;
}

@media (max-width: 600px) {
  .solicitud-modal-card {
    max-height: 95vh;
  }
  .solicitud-modal-content {
    padding: 36px 24px 24px 24px;
  }
  .solicitud-modal-header h3 {
    font-size: 20px;
  }
  .solicitud-success {
    padding: 40px 24px 24px 24px;
  }
}

/* ============================================
   TAB APLICACIONES — DocuSign destacado
   ============================================ */
.app-feature {
  background: var(--black);
  color: var(--white);
  border-radius: 22px;
  padding: 56px 50px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.app-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #c9a227 0%, #d4b548 50%, #c9a227 100%);
}

.app-feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.app-feature-content {
  position: relative;
  z-index: 2;
}

.app-feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.app-badge-dot {
  width: 6px;
  height: 6px;
  background: #c9a227;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.app-feature-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 10px;
}
.app-feature-tagline {
  font-size: 18px;
  font-weight: 500;
  color: #c9a227;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.app-feature-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 28px;
}
.app-feature-desc strong {
  color: var(--white);
  font-weight: 600;
}

.app-feature-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-feature-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  font-weight: 300;
}
.app-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  color: #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.app-feature-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.app-feature-actions .btn-primary.inverted {
  display: inline-flex;
  align-items: center;
  background: #c9a227;
  color: #000;
  border: none;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
.app-feature-actions .btn-primary.inverted:hover {
  background: #d4b548;
  transform: translateY(-2px);
}
.app-secondary-btn {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.app-secondary-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.app-feature-note {
  background: rgba(201, 162, 39, 0.06);
  border-left: 3px solid #c9a227;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-weight: 300;
}
.app-feature-note strong {
  color: #c9a227;
  font-weight: 700;
}
.app-feature-note em {
  color: var(--white);
  font-style: normal;
  font-weight: 600;
}

/* Mockup visual — documento con firma */
.app-feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.app-visual-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(201, 162, 39, 0.15);
  width: 100%;
  max-width: 380px;
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform .4s ease;
}
.app-feature:hover .app-visual-card {
  transform: rotate(0deg) scale(1.02);
}
.app-visual-header {
  background: #f3f3f3;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e5e5;
}
.app-visual-dots {
  display: flex;
  gap: 5px;
}
.app-visual-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d0d0d0;
}
.app-visual-dots span:first-child { background: #ff5f57; }
.app-visual-dots span:nth-child(2) { background: #ffbd2e; }
.app-visual-dots span:last-child { background: #28ca42; }
.app-visual-url {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.05em;
  font-family: 'Monaco', 'Menlo', monospace;
}

.app-visual-body {
  padding: 28px 24px 32px 24px;
  position: relative;
  min-height: 280px;
}
.app-visual-doc {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doc-line {
  height: 7px;
  background: #e8e8e8;
  border-radius: 3px;
  width: 100%;
}
.doc-line-title {
  height: 14px;
  background: #1a1a1a;
  width: 60%;
  margin-bottom: 8px;
}
.doc-line.short {
  width: 70%;
}
.doc-signature {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed #ccc;
}
.signature-line {
  height: 28px;
  background: linear-gradient(90deg, transparent 0%, #c9a227 30%, #c9a227 70%, transparent 100%);
  border-radius: 4px;
  margin-bottom: 6px;
  opacity: 0.3;
  position: relative;
}
.signature-line::after {
  content: '✓';
  position: absolute;
  right: 18%;
  top: 50%;
  transform: translateY(-50%);
  color: #c9a227;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Brush Script MT', cursive;
}
.signature-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #aaa;
  text-align: right;
}

.app-visual-check {
  position: absolute;
  top: 30px;
  right: -18px;
  background: #c9a227;
  color: #000;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(201, 162, 39, 0.4);
  transform: rotate(8deg);
}
.app-visual-check span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 2px;
}

/* Casos de uso */
.app-usecases {
  margin-bottom: 50px;
}
.app-usecases h4 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin: 12px 0 30px 0;
}
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.usecase-card {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.usecase-card:hover {
  border-color: rgba(201, 162, 39, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}
.usecase-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.1);
  color: #c9a227;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.usecase-card h5 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 6px;
}
.usecase-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-mid);
  font-weight: 300;
  margin: 0;
}

/* Disclaimer */
.app-disclaimer {
  background: #fafafa;
  border-left: 3px solid #c9a227;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--gray-mid);
  font-weight: 300;
}
.app-disclaimer strong {
  color: var(--black);
  font-weight: 700;
}

@media (max-width: 900px) {
  .app-feature {
    padding: 40px 28px;
  }
  .app-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .app-feature-title {
    font-size: 32px;
  }
  .app-visual-card {
    transform: rotate(0deg);
    max-width: 320px;
  }
  .app-visual-check {
    width: 70px;
    height: 70px;
    right: -8px;
  }
  .usecases-grid {
    grid-template-columns: 1fr;
  }
  .app-feature-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .app-feature-actions .btn-primary.inverted,
  .app-secondary-btn {
    text-align: center;
    justify-content: center;
  }
}

/* ============================================
   SECCIÓN NDAs DESCARGABLES
   ============================================ */
.ndas-section {
  margin-bottom: 60px;
}
.ndas-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px auto;
}
.ndas-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #c9a227;
  margin-bottom: 14px;
}
.ndas-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 14px;
}
.ndas-title .gold {
  color: #c9a227;
}
.ndas-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--gray-mid);
  font-weight: 300;
}
.ndas-desc strong {
  color: var(--black);
  font-weight: 600;
}

.ndas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}
.nda-card {
  background: var(--white);
  border: 1px solid #eaeaea;
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.nda-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}
.nda-card-featured {
  border-color: rgba(201, 162, 39, 0.5);
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}
.nda-card-featured:hover {
  border-color: #c9a227;
}
.nda-card-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: #c9a227;
  color: #000;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.nda-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.nda-card-type {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #c9a227;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.25);
  padding: 4px 9px;
  border-radius: 4px;
  text-transform: uppercase;
}
.nda-card-pages {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--gray-mid);
  font-weight: 500;
}
.nda-card h5 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 10px;
  line-height: 1.25;
}
.nda-card-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--gray-mid);
  margin-bottom: 16px;
  font-weight: 300;
}
.nda-card-desc strong {
  color: var(--black);
  font-weight: 600;
}
.nda-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}
.nda-card-features li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--gray-mid);
  padding: 7px 0 7px 18px;
  position: relative;
  border-bottom: 1px solid #f3f3f3;
  font-weight: 300;
}
.nda-card-features li:last-child {
  border-bottom: none;
}
.nda-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 7px;
  color: #c9a227;
  font-weight: 700;
}
.nda-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  justify-content: center;
  transition: background .2s ease, transform .15s ease;
}
.nda-download-btn:hover {
  background: #c9a227;
  color: var(--black);
  transform: translateY(-2px);
}
.nda-card-featured .nda-download-btn {
  background: #c9a227;
  color: var(--black);
}
.nda-card-featured .nda-download-btn:hover {
  background: #d4b548;
}

.ndas-note {
  background: #fafafa;
  border-left: 3px solid #c9a227;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gray-mid);
  font-weight: 300;
}
.ndas-note strong {
  color: var(--black);
  font-weight: 700;
}

.ndas-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 50px 0 36px 0;
  position: relative;
}
.ndas-divider::before,
.ndas-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}
.ndas-divider span {
  padding: 0 22px;
  font-size: 11px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ndas-grid {
    grid-template-columns: 1fr;
  }
  .ndas-title {
    font-size: 22px;
  }
}

/* ============================================
   ANIMACIONES — Fade-in on scroll + Parallax
   ============================================ */

/* Elementos que aparecen al hacer scroll */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform .8s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.fade-in-on-scroll.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger para elementos en grid (delay automático según orden) */
.alma-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.alma-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 100ms; }
.alma-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 200ms; }
.alma-grid .fade-in-on-scroll:nth-child(4) { transition-delay: 300ms; }

.planes-grid-2 .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.planes-grid-2 .fade-in-on-scroll:nth-child(2) { transition-delay: 150ms; }

.docs-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.docs-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 80ms; }
.docs-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 160ms; }

.agents-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.agents-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 60ms; }
.agents-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 120ms; }
.agents-grid .fade-in-on-scroll:nth-child(4) { transition-delay: 180ms; }
.agents-grid .fade-in-on-scroll:nth-child(5) { transition-delay: 240ms; }
.agents-grid .fade-in-on-scroll:nth-child(6) { transition-delay: 300ms; }

.ndas-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.ndas-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 120ms; }
.ndas-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 240ms; }

.usecases-grid .fade-in-on-scroll:nth-child(1) { transition-delay: 0ms; }
.usecases-grid .fade-in-on-scroll:nth-child(2) { transition-delay: 80ms; }
.usecases-grid .fade-in-on-scroll:nth-child(3) { transition-delay: 160ms; }
.usecases-grid .fade-in-on-scroll:nth-child(4) { transition-delay: 240ms; }

/* Parallax — el hero tiene gradiente sutil que se mueve */
.hero {
  background-position: center center;
  background-attachment: fixed;
  will-change: background-position;
}

/* Reducir motion para personas que prefieren menos animación */
@media (prefers-reduced-motion: reduce) {
  .fade-in-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-meta .num,
  .hero-meta .lbl {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero {
    background-attachment: scroll;
  }
}

/* En móvil desactivar parallax fijo (rompe rendimiento) */
@media (max-width: 768px) {
  .hero {
    background-attachment: scroll;
  }
}

/* ============================================
   PARALLAX — Aplicación vía CSS variable
   La JS pone --parallax-y, el CSS lo aplica
   sin pelear con fade-in u otros transforms
   ============================================ */
.has-parallax {
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

/* Cuando un elemento tiene fade-in + parallax, combinamos ambos:
   el fade-in lo controla con opacity (no transform), el parallax con --parallax-y */
.has-parallax.fade-in-on-scroll {
  /* Solo opacity en el fade-in, sin translateY que pelearía */
  transform: translate3d(0, var(--parallax-y, 0), 0);
  opacity: 0;
  transition: opacity .8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.has-parallax.fade-in-on-scroll.fade-in-visible {
  opacity: 1;
}

/* En móvil/touch desactivar parallax */
@media (max-width: 768px) {
  .has-parallax {
    transform: none !important;
    --parallax-y: 0 !important;
    will-change: auto;
  }
}

/* Reducir motion respeta preferencias del usuario */
@media (prefers-reduced-motion: reduce) {
  .hero-grain,
  .hero-content,
  .md-image,
  .video-frame {
    transform: none !important;
    transition: none;
  }
}

/* ============================================
   NDA ÚNICO — Card destacada centrada
   ============================================ */
.nda-single-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.nda-card-large {
  max-width: 620px;
  width: 100%;
  padding: 40px 44px 38px 44px;
  background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.nda-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
  border-color: #c9a227;
}
.nda-card-large .nda-card-badge {
  top: -12px;
  right: 32px;
  font-size: 10px;
  padding: 7px 14px;
  letter-spacing: 0.25em;
}
.nda-card-large h5 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  margin: 8px 0 14px 0;
  line-height: 1.2;
}
.nda-card-large .nda-card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--gray-mid);
  margin-bottom: 22px;
  font-weight: 300;
}
.nda-card-large .nda-card-desc strong {
  color: var(--black);
  font-weight: 600;
}
.nda-card-large .nda-card-features {
  margin-bottom: 30px;
}
.nda-card-large .nda-card-features li {
  font-size: 13px;
  padding: 9px 0 9px 20px;
  line-height: 1.5;
}

.nda-download-btn-large {
  width: 100%;
  padding: 18px 24px;
  font-size: 15px;
  gap: 12px;
  background: #c9a227;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.25);
}
.nda-download-btn-large:hover {
  background: #d4b548;
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.35);
  color: #000;
}

.nda-card-filesize {
  text-align: center;
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 14px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .nda-card-large {
    padding: 30px 24px 28px 24px;
  }
  .nda-card-large h5 {
    font-size: 20px;
  }
}
