/* ═══════════════════════════════════════════════════
   YEAPDATA · YEAPPSUITE · DATOS E IA
   Brand Manual: Eurostile Black + Poppins
   Palette: #E61667 | #6DC0AA | #4B509C | #FFE205 | #0B0A16
   Theme: 100% LIGHT — sin fondos oscuros
   ═══════════════════════════════════════════════════ */

/* ── Design Tokens ───────────────────────────────── */
:root {
  /* Brand Colors */
  --pink:      #E61667;
  --pink-10:   rgba(230,22,103,.10);
  --pink-20:   rgba(230,22,103,.20);
  --teal:      #6DC0AA;
  --teal-10:   rgba(109,192,170,.10);
  --teal-20:   rgba(109,192,170,.22);
  --indigo:    #4B509C;
  --indigo-10: rgba(75,80,156,.10);
  --indigo-20: rgba(75,80,156,.20);
  --amber:     #FFE205;
  --amber-dk:  #F59E0B;
  --amber-10:  rgba(255,226,5,.18);
  --navy:      #0B0A16;

  /* Backgrounds — LIGHT ONLY */
  --bg:        #FAFBFF;
  --bg-2:      #F4F6FD;
  --bg-3:      #EFF1FB;
  --white:     #FFFFFF;

  /* Text */
  --text-1:    #0B0A16;
  --text-2:    #3D3D60;
  --text-3:    #6B6B8F;

  /* Borders */
  --border:    rgba(75,80,156,.12);
  --border-2:  rgba(75,80,156,.08);

  /* Shadows */
  --s-xs: 0 1px 4px rgba(11,10,22,.06);
  --s-sm: 0 2px 12px rgba(11,10,22,.08);
  --s-md: 0 6px 24px rgba(11,10,22,.10);
  --s-lg: 0 12px 48px rgba(11,10,22,.12);
  --s-pink: 0 6px 28px rgba(230,22,103,.18);
  --s-teal: 0 6px 28px rgba(109,192,170,.22);
  --s-indigo: 0 6px 28px rgba(75,80,156,.18);

  /* Typography */
  --ff-display: 'Eurostile', 'Arial Black', sans-serif;
  --ff-body:    'Poppins', sans-serif;
  --ff-mono:    'DM Mono', monospace;

  /* Spacing */
  --section-gap: 120px;
  --container:   1200px;
  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Container ───────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section Common ──────────────────────────────── */
section { padding: var(--section-gap) 0; }

.section-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-1);
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.section-title .accent-pink  { color: var(--pink); }
.section-title .accent-teal  { color: var(--teal); }
.section-title .accent-indigo { color: var(--indigo); }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-3);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* ── Scroll Reveal ───────────────────────────────── */
.io-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.io-card.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  overflow: hidden;
  padding: 80px 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .45;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 32px 0 calc((100vw - var(--container)) / 2 + 32px);
  max-width: calc(var(--container) / 1 + 100px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-20);
  animation: pulsePink 2s infinite;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text-1);
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  color: var(--pink);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-3);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.metric-pill {
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  min-width: 110px;
}
.metric-val {
  font-family: var(--ff-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}
.metric-unit {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--pink);
}
.metric-label {
  font-size: .7rem;
  color: var(--text-3);
  margin-top: 4px;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Buttons ─────────────────────────────────────── */
.btn-primary, .btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { font-size: .9rem; padding: 13px 26px; }
.btn-primary-lg { font-size: 1rem; padding: 16px 34px; }
.btn-primary:hover, .btn-primary-lg:hover {
  background: #c2105a;
  box-shadow: var(--s-pink);
  transform: translateY(-2px);
}

.btn-ghost, .btn-ghost-lg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-2);
  font-family: var(--ff-body);
  font-weight: 600;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .2s, color .2s, transform .2s;
}
.btn-ghost { font-size: .9rem; padding: 12px 24px; }
.btn-ghost-lg { font-size: .95rem; padding: 15px 30px; }
.btn-ghost:hover, .btn-ghost-lg:hover {
  border-color: var(--pink);
  color: var(--pink);
  transform: translateY(-2px);
}
.btn-ghost svg { width: 18px; height: 18px; }
.arrow-right { display: inline-block; transition: transform .2s; }
.btn-ghost:hover .arrow-right { transform: translateX(4px); }

/* ── Hero Visual (AI Panel) ──────────────────────── */
.hero-visual {
  position: absolute;
  right: calc((100vw - var(--container)) / 2 + 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.ai-panel {
  width: 300px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--s-lg);
  overflow: hidden;
  animation: panelFloat 4s ease-in-out infinite;
}
@keyframes panelFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-2);
  padding: 12px 16px;
}
.panel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--border);
}
.panel-dot.green { background: var(--teal); }
.panel-dot.amber { background: var(--amber-dk); }
.panel-title {
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--text-3);
  margin-left: 6px;
}

.panel-stream { padding: 14px 16px; border-bottom: 1px solid var(--border-2); }
.stream-line {
  font-family: var(--ff-mono);
  font-size: .68rem;
  color: var(--text-3);
  padding: 4px 0;
  opacity: .45;
  transition: opacity .4s, color .4s;
}
.stream-line.active {
  opacity: 1;
  color: var(--pink);
}

.panel-bar-section { padding: 14px 16px; }
.mini-bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--ff-mono);
  font-size: .65rem;
  color: var(--text-3);
}
.mini-bar {
  flex: 1;
  height: 5px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
}
.mini-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--pink);
  transition: width 1.5s ease;
}
.mini-fill.teal { background: var(--teal); }
.mini-fill.indigo { background: var(--indigo); }
.mini-fill.ready { width: var(--w); }

/* ── Hero Scroll Hint ────────────────────────────── */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: calc((100vw - var(--container)) / 2 + 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.scroll-label {
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .4; }
  50% { opacity: 1; }
}


/* ═══════════════════════════════════════════════════
   CHALLENGE SECTION
═══════════════════════════════════════════════════ */
.challenge-section { background: var(--bg); }

.challenge-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.challenge-card {
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--s-xs);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.challenge-card:hover {
  box-shadow: var(--s-md);
  transform: translateY(-4px);
  border-color: var(--pink-20);
}

.challenge-icon {
  width: 48px; height: 48px;
  color: var(--pink);
  margin-bottom: 16px;
}
.challenge-icon.teal { color: var(--teal); }
.challenge-icon.indigo { color: var(--indigo); }
.challenge-icon.amber { color: var(--amber-dk); }
.challenge-icon svg { width: 100%; height: 100%; }

.challenge-card h3 {
  font-family: var(--ff-display);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.challenge-card p {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 16px;
}

.challenge-stat {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}
.challenge-stat.teal { color: var(--teal); }
.challenge-stat.indigo { color: var(--indigo); }
.challenge-stat.amber { color: var(--amber-dk); }
.challenge-stat-label {
  font-family: var(--ff-mono);
  font-size: .68rem;
  color: var(--text-3);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .08em;
}


/* ═══════════════════════════════════════════════════
   SUITE / PILLARS SECTION
═══════════════════════════════════════════════════ */
.suite-section {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.suite-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .3;
  pointer-events: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--s-sm);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.pillar-card:hover {
  box-shadow: var(--s-lg);
  transform: translateY(-6px);
}
.pillar-card.featured {
  border-color: var(--teal-20);
  box-shadow: var(--s-teal);
}
.pillar-card.featured:hover {
  box-shadow: 0 16px 60px rgba(109,192,170,.28);
}

.pillar-accent {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
}
.pillar-accent.pink { background: var(--pink); }
.pillar-accent.teal { background: var(--teal); }
.pillar-accent.indigo { background: var(--indigo); }

.pillar-featured-label {
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--ff-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-10);
  border: 1px solid var(--teal-20);
  border-radius: 100px;
  padding: 3px 10px;
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  margin-top: 12px;
}
.pillar-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.pillar-icon.pink { background: var(--pink-10); color: var(--pink); }
.pillar-icon.teal { background: var(--teal-10); color: var(--teal); }
.pillar-icon.indigo { background: var(--indigo-10); color: var(--indigo); }
.pillar-icon svg { width: 28px; height: 28px; }

.pillar-number {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--text-3);
  opacity: .5;
}

.pillar-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pillar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.pillar-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.solution-tag {
  flex-shrink: 0;
  font-family: var(--ff-mono);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 2px;
}
.solution-tag.pink   { background: var(--pink-10);   color: var(--pink);   border: 1px solid var(--pink-20);   }
.solution-tag.teal   { background: var(--teal-10);   color: var(--teal);   border: 1px solid var(--teal-20);   }
.solution-tag.indigo { background: var(--indigo-10); color: var(--indigo); border: 1px solid var(--indigo-20); }

.solution-detail { flex: 1; }
.solution-detail strong {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}
.solution-detail span {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.55;
}

.pillar-kpi {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--border-2);
  padding-top: 16px;
}
.kpi-val {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink);
}
.pillar-card.featured .kpi-val { color: var(--teal); }
.pillar-card:nth-child(3) .kpi-val { color: var(--indigo); }
.kpi-desc {
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.4;
  flex: 1;
}


/* ═══════════════════════════════════════════════════
   AURORA SHOWCASE
═══════════════════════════════════════════════════ */
.aurora-section { background: var(--white); }

.aurora-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.aurora-desc {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.75;
  margin-bottom: 28px;
}

.aurora-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.channel-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-2);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 14px;
  cursor: default;
  transition: border-color .2s, color .2s, background .2s;
}
.channel-chip svg { width: 15px; height: 15px; }
.channel-chip:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--pink-10);
}

.aurora-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-row {
  display: flex;
  gap: 14px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s;
}
.feature-row:hover {
  border-color: var(--pink-20);
  box-shadow: var(--s-xs);
}
.feature-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pink-10);
  color: var(--pink);
  font-size: .75rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.feature-row strong {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 3px;
}
.feature-row p {
  font-size: .78rem;
  color: var(--text-3);
  line-height: 1.55;
}

/* ── Aurora Demo / Chat Mockup ───────────────────── */
.aurora-demo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.aurora-canvas {
  position: absolute;
  inset: -30px;
  width: calc(100% + 60px);
  height: calc(100% + 60px);
  opacity: .35;
  pointer-events: none;
}

.aurora-chat-mockup {
  position: relative;
  z-index: 2;
  width: 320px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--s-lg);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border-2);
}
.chat-avatar {
  position: relative;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--indigo));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.avatar-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--pink);
  opacity: .4;
  animation: pulsePink 2s infinite;
}
.avatar-initial {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}
.chat-meta { flex: 1; }
.chat-meta strong {
  display: block;
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 900;
}
.chat-status {
  font-size: .7rem;
  color: var(--teal);
  font-family: var(--ff-mono);
}

.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
}
.chat-msg { display: flex; flex-direction: column; }
.chat-msg.bot { align-items: flex-start; }
.chat-msg.user { align-items: flex-end; }

.msg-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: .8rem;
  line-height: 1.55;
  max-width: 240px;
}
.chat-msg.bot .msg-bubble {
  background: var(--bg-2);
  color: var(--text-1);
  border-bottom-left-radius: 4px;
}
.chat-msg.user .msg-bubble {
  background: var(--pink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bubble.typing {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 12px 16px;
}
.msg-bubble .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typingDot 1.4s infinite;
}
.msg-bubble .dot:nth-child(2) { animation-delay: .2s; }
.msg-bubble .dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingDot {
  0%, 80%, 100% { opacity: .3; transform: scale(.8); }
  40% { opacity: 1; transform: scale(1); }
}

.msg-tag {
  font-family: var(--ff-mono);
  font-size: .6rem;
  color: var(--text-3);
  margin-top: 4px;
  padding: 0 4px;
}

.chat-channels-bar {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--border-2);
  background: var(--bg-2);
}
.ch {
  font-family: var(--ff-mono);
  font-size: .65rem;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.ch.active {
  background: var(--teal-10);
  color: var(--teal);
  border-color: var(--teal-20);
}


/* ═══════════════════════════════════════════════════
   VERTICALS
═══════════════════════════════════════════════════ */
.verticals-section { background: var(--bg-2); }

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vertical-card {
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--s-xs);
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.vertical-card:hover {
  box-shadow: var(--s-md);
  transform: translateY(-4px);
}

.vert-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.vert-icon-wrap.pink   { background: var(--pink-10);   color: var(--pink);   }
.vert-icon-wrap.teal   { background: var(--teal-10);   color: var(--teal);   }
.vert-icon-wrap.indigo { background: var(--indigo-10); color: var(--indigo); }
.vert-icon-wrap.amber  { background: var(--amber-10);  color: var(--amber-dk); }
.vert-icon-wrap svg { width: 26px; height: 26px; }

.vertical-card h3 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 10px;
}
.vertical-card p {
  font-size: .82rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 16px;
}

.vert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.vert-tags span {
  font-family: var(--ff-mono);
  font-size: .62rem;
  color: var(--text-3);
  background: var(--bg-3);
  border: 1px solid var(--border-2);
  border-radius: 6px;
  padding: 3px 8px;
}


/* ═══════════════════════════════════════════════════
   FLOW / DELIVERY CYCLE
═══════════════════════════════════════════════════ */
.flow-section { background: var(--white); }

.flow-track {
  position: relative;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.flow-cable {
  position: relative;
  width: 3px;
  min-height: 580px;
  flex-shrink: 0;
  background: var(--bg-3);
  border-radius: 2px;
  margin-top: 24px;
}
.flow-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--pink), var(--teal));
  border-radius: 2px;
  transition: height 2s ease;
}

.flow-steps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flow-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.step-node {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-mono);
  font-size: .75rem;
  font-weight: 500;
  flex-shrink: 0;
  box-shadow: var(--s-sm);
}
.step-node.pink   { background: var(--pink);   color: #fff; }
.step-node.teal   { background: var(--teal);   color: #fff; }
.step-node.indigo { background: var(--indigo); color: #fff; }
.step-node.amber  { background: var(--amber-dk); color: #fff; }

.step-content {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.step-content h4 {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.step-content p {
  font-size: .82rem;
  color: var(--text-3);
  line-height: 1.65;
}

.flow-canvas {
  width: 280px;
  flex-shrink: 0;
  align-self: center;
}

.flow-principle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 16px 24px;
  background: var(--pink-10);
  border: 1px solid var(--pink-20);
  border-radius: var(--radius-sm);
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pink);
}
.principle-icon {
  font-size: 1.2rem;
  animation: spinSlow 4s linear infinite;
}
@keyframes spinSlow { to { transform: rotate(360deg); } }


/* ═══════════════════════════════════════════════════
   KPI DASHBOARD
═══════════════════════════════════════════════════ */
.kpi-section { background: var(--bg-2); }

.kpi-dashboard {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
}

.kpi-ring-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.kpi-ring {
  width: 240px; height: 240px;
}
.kpi-ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ring-val {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}
.ring-unit {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--pink);
}
.ring-desc {
  font-size: .72rem;
  color: var(--text-3);
  text-align: center;
  max-width: 100px;
  line-height: 1.4;
  margin-top: 4px;
  font-family: var(--ff-mono);
}

.kpi-bars {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.kpi-bar-item {
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.kpi-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.kpi-name {
  font-size: .82rem;
  color: var(--text-2);
  font-weight: 500;
}
.kpi-pct {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 900;
}
.kpi-pct.pink   { color: var(--pink); }
.kpi-pct.teal   { color: var(--teal); }
.kpi-pct.indigo { color: var(--indigo); }
.kpi-pct.amber  { color: var(--amber-dk); }

.kpi-bar-track {
  height: 8px;
  background: var(--bg-3);
  border-radius: 100px;
  overflow: hidden;
}
.kpi-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  transition: width 1.5s cubic-bezier(.4,0,.2,1);
}
.kpi-bar-fill.pink   { background: linear-gradient(90deg, var(--pink-20), var(--pink)); }
.kpi-bar-fill.teal   { background: linear-gradient(90deg, var(--teal-10), var(--teal)); }
.kpi-bar-fill.indigo { background: linear-gradient(90deg, var(--indigo-10), var(--indigo)); }
.kpi-bar-fill.amber  { background: linear-gradient(90deg, var(--amber-10), var(--amber-dk)); }
.kpi-bar-fill.ready  { width: calc(var(--w) * 1%); }


/* ═══════════════════════════════════════════════════
   MODALITIES
═══════════════════════════════════════════════════ */
.modalities-section { background: var(--white); }

.modalities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.modality-card {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.modality-card:hover {
  box-shadow: var(--s-md);
  transform: translateY(-4px);
}
.modality-card.featured {
  background: var(--white);
  border-color: var(--pink-20);
  box-shadow: var(--s-pink);
}
.modality-card.featured:hover {
  box-shadow: 0 16px 60px rgba(230,22,103,.24);
}

.mod-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: #fff;
  font-family: var(--ff-mono);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.mod-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.mod-num {
  font-family: var(--ff-mono);
  font-size: .7rem;
  color: var(--text-3);
  opacity: .6;
}
.mod-header h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: -.01em;
}

.mod-desc {
  font-size: .85rem;
  color: var(--text-3);
  line-height: 1.65;
  margin-bottom: 20px;
}

.mod-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.mod-features li {
  font-size: .8rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.mod-features li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 900;
}
.modality-card.featured .mod-features li::before { color: var(--pink); }

.mod-ideal {
  font-family: var(--ff-mono);
  font-size: .68rem;
  color: var(--pink);
  background: var(--pink-10);
  border: 1px solid var(--pink-20);
  border-radius: 6px;
  padding: 5px 10px;
  display: inline-block;
}


/* ═══════════════════════════════════════════════════
   CERTIFICATIONS
═══════════════════════════════════════════════════ */
.certs-section { background: var(--bg); }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 20px 18px;
  box-shadow: var(--s-xs);
  transition: box-shadow .3s, transform .3s;
}
.cert-card:hover { box-shadow: var(--s-sm); transform: translateY(-3px); }

.cert-badge {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: .7rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
  color: #fff;
}
.cert-badge.pink   { background: var(--pink); }
.cert-badge.teal   { background: var(--teal); }
.cert-badge.indigo { background: var(--indigo); }
.cert-badge.amber  { background: var(--amber-dk); }

.cert-info h4 {
  font-family: var(--ff-display);
  font-size: .85rem;
  font-weight: 900;
  margin-bottom: 3px;
  letter-spacing: -.01em;
}
.cert-info p {
  font-size: .72rem;
  color: var(--text-3);
  line-height: 1.4;
  margin-bottom: 5px;
}
.cert-code {
  font-family: var(--ff-mono);
  font-size: .62rem;
  color: var(--pink);
  background: var(--pink-10);
  border: 1px solid var(--pink-20);
  border-radius: 4px;
  padding: 2px 6px;
}

.frameworks-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
}
.fw-label {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fw-tag {
  font-family: var(--ff-mono);
  font-size: .68rem;
  color: var(--indigo);
  background: var(--indigo-10);
  border: 1px solid var(--indigo-20);
  border-radius: 6px;
  padding: 3px 10px;
}


/* ═══════════════════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════════════════ */
.cta-section {
  position: relative;
  background: var(--bg-2);
  overflow: hidden;
  padding: 120px 0;
}
.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: .35;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-10);
  border: 1px solid var(--pink-20);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 24px;
}

.cta-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: var(--text-1);
  margin-bottom: 20px;
}
.cta-title em {
  font-style: normal;
  color: var(--pink);
}

.cta-desc {
  font-size: 1rem;
  color: var(--text-3);
  line-height: 1.75;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.cta-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-item { text-align: center; }
.proof-val {
  display: block;
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-1);
  line-height: 1;
}
.proof-label {
  font-size: .72rem;
  color: var(--text-3);
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.proof-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}


/* ═══════════════════════════════════════════════════
   SHARED ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes pulsePink {
  0%, 100% { transform: scale(1); opacity: .4; }
  50% { transform: scale(1.4); opacity: .8; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge  { animation: fadeUp .5s ease both; }
.hero-title  { animation: fadeUp .6s .1s ease both; }
.hero-subtitle { animation: fadeUp .6s .2s ease both; }
.hero-metrics  { animation: fadeUp .6s .3s ease both; }
.hero-cta      { animation: fadeUp .6s .4s ease both; }


/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .hero-content {
    max-width: 100%;
    padding: 0 32px;
  }
  .pillars-grid { grid-template-columns: 1fr; }
  .aurora-grid  { grid-template-columns: 1fr; gap: 48px; }
  .kpi-dashboard { grid-template-columns: 1fr; }
  .kpi-ring-wrap { align-items: flex-start; flex-direction: row; gap: 24px; }
  .kpi-ring { width: 160px; height: 160px; }
  .kpi-ring-label { position: static; align-items: flex-start; }
}

@media (max-width: 768px) {
  :root { --section-gap: 72px; }
  .challenge-grid  { grid-template-columns: 1fr 1fr; }
  .verticals-grid  { grid-template-columns: 1fr 1fr; }
  .modalities-grid { grid-template-columns: 1fr; }
  .certs-grid      { grid-template-columns: 1fr 1fr; }
  .flow-track      { flex-direction: column; }
  .flow-cable      { display: none; }
  .flow-canvas     { display: none; }
  .hero-scroll-hint { display: none; }
  .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .challenge-grid  { grid-template-columns: 1fr; }
  .verticals-grid  { grid-template-columns: 1fr; }
  .certs-grid      { grid-template-columns: 1fr; }
  .hero-metrics    { gap: 8px; }
  .metric-pill     { min-width: auto; }
  .section-title   { font-size: 1.75rem; }
}

/* ═══════════════════════════════════════════════════
   YEAPDATA · FIXES PATCH — Pilars + Chat
   Aplica encima del datoseia.css existente
═══════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════
   SUITE SECTION — Pilares compactos con expand
══════════════════════════════════════════════════ */

/* Reduce altura inicial de las tarjetas */
.pillar-card {
  overflow: hidden;
  cursor: default;
}

/* Lista de soluciones: oculta por defecto, se revela con animación */
.pillar-list {
  max-height: 0;
  overflow: hidden;
  margin-bottom: 0;
  opacity: 0;
  transition:
    max-height .55s cubic-bezier(.4,0,.2,1),
    opacity .4s ease,
    margin-bottom .4s ease;
}

/* Estado expandido */
.pillar-card.expanded .pillar-list {
  max-height: 600px;
  opacity: 1;
  margin-bottom: 24px;
}

/* KPI también oculto inicialmente */
.pillar-kpi {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  transition:
    max-height .4s .1s cubic-bezier(.4,0,.2,1),
    opacity .35s .15s ease,
    padding-top .3s ease;
}
.pillar-card.expanded .pillar-kpi {
  max-height: 80px;
  opacity: 1;
  padding-top: 16px;
}

/* Botón toggle en cada tarjeta */
.pillar-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0px;
  font-family: var(--ff-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-3);
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
  width: fit-content;
}
.pillar-toggle:hover {
  color: var(--pink);
  border-color: var(--pink-20);
  background: var(--pink-10);
}
.pillar-card.featured .pillar-toggle:hover {
  color: var(--teal);
  border-color: var(--teal-20);
  background: var(--teal-10);
}
.pillar-toggle-icon {
  display: inline-block;
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  font-style: normal;
  font-size: .9rem;
  line-height: 1;
}
.pillar-card.expanded .pillar-toggle-icon {
  transform: rotate(180deg);
}
.pillar-toggle-text { transition: opacity .2s; }

/* Highlight al hover de la tarjeta completa */
.pillar-card:hover {
  box-shadow: var(--s-lg);
  transform: translateY(-6px);
}
.pillar-card.expanded {
  transform: translateY(-6px);
}


/* ══════════════════════════════════════════════════
   AURORA CHAT — Límite de mensajes y sin overflow
══════════════════════════════════════════════════ */
.aurora-chat-mockup {
  /* Altura fija para el mockup */
  max-height: 480px;
}

.chat-body {
  min-height: 200px;
  max-height: 260px;    /* ← tope duro */
  overflow: hidden;     /* no scroll visible */
  position: relative;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Fade en la parte superior para indicar que hay más */
.chat-body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: linear-gradient(to bottom, var(--white), transparent);
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.chat-body.has-history::before {
  opacity: 1;
}

/* Mensajes: entrada suave */
.chat-msg {
  animation: msgSlideIn .4s ease both;
}
@keyframes msgSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mensaje antiguo: se desvanece hacia arriba cuando hay overflow */
.chat-msg.fading {
  animation: msgFadeOut .4s ease forwards;
}
@keyframes msgFadeOut {
  from { opacity: 1; transform: translateY(0);  max-height: 80px; }
  to   { opacity: 0; transform: translateY(-8px); max-height: 0; padding: 0; margin: 0; }
}


/* ══════════════════════════════════════════════════
   SUITE SECTION — Reducir padding superior
   para que no sea tan larga la sección
══════════════════════════════════════════════════ */
.suite-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Descripción del pilar menos separada */
.pillar-desc {
  margin-bottom: 0;  /* sin margen cuando lista está oculta */
}

/* Pequeño indicador de cuántas soluciones hay */
.pillar-solutions-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: .66rem;
  color: var(--text-3);
  margin-top: 12px;
  letter-spacing: .06em;
}
.pillar-solutions-count .count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  background: var(--pink-10);
  color: var(--pink);
  border: 1px solid var(--pink-20);
}
.pillar-card.featured .count-badge {
  background: var(--teal-10);
  color: var(--teal);
  border-color: var(--teal-20);
}
.pillar-card:nth-child(3) .count-badge {
  background: var(--indigo-10);
  color: var(--indigo);
  border-color: var(--indigo-20);
}

/* KPI siempre visible en forma compacta */
.pillar-kpi-preview {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-2);
}
.pillar-kpi-preview .kpi-val {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink);
}
.pillar-card.featured .pillar-kpi-preview .kpi-val { color: var(--teal); }
.pillar-card:nth-child(3) .pillar-kpi-preview .kpi-val { color: var(--indigo); }
.pillar-kpi-preview .kpi-desc {
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.4;
}

/* Ocultar el .pillar-kpi original ya que usamos preview */
.pillar-kpi { display: none !important; }