/* ============================================================
   ELIOGPT · COMPOSICIÓN POR PÁGINA
   Home · Cómo funciona · Características · Crea tu plan ·
   Contacto · Solicitar demo. Reutiliza clases de formularios
   (.cx-*, .px-quiz__*) para conservar la lógica JS existente.
   ============================================================ */

/* ============ PAGE HERO GENÉRICO (subpáginas) ============ */
.page-hero {
  position: relative;
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(24px, 3vw, 40px);
  text-align: center;
}
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero__title { margin-bottom: 18px; }
.page-hero__desc {
  max-width: 62ch;
  margin: 0 auto;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--elio-text-muted);
  line-height: 1.65;
}
.page-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ============ HOME · HERO ORQUESTADOR ============ */
.home-hero { position: relative; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 80px); }
.home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.home-hero__copy { max-width: 620px; }
.home-hero__title { margin: 18px 0 20px; }
.home-hero__lead { margin-bottom: 30px; }
.home-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.home-hero__caps { display: flex; flex-wrap: wrap; gap: 10px; }

/* Orquestador (visual derecho, nativo) */
.orchestrator {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
}
.orchestrator__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, 0.28);
  animation: elio-spin 60s linear infinite;
}
.orchestrator__ring--2 { inset: 20%; border-style: solid; border-color: rgba(139,92,246,0.14); animation-duration: 90s; animation-direction: reverse; }
@keyframes elio-spin { to { transform: rotate(360deg); } }

.orchestrator__core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 34%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(168,85,247,0.35), rgba(102,51,153,0.18) 60%, transparent 75%);
}
.orchestrator__core-inner {
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, rgba(27,19,48,0.95), rgba(14,11,25,0.95));
  border: 1px solid var(--elio-line-strong);
  box-shadow: inset 0 2px 20px rgba(168,85,247,0.25), var(--elio-glow-soft);
  animation: elio-breathe 6s var(--ease) infinite;
}
@keyframes elio-breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
.orchestrator__core-inner img { width: 62%; height: auto; }

.orchestrator__node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  background: rgba(14, 11, 25, 0.86);
  border: 1px solid var(--elio-line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--elio-shadow-sm);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  white-space: nowrap;
  animation: elio-node-float 7s var(--ease) infinite;
}
.orchestrator__node span.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--elio-success); box-shadow: 0 0 8px rgba(46,229,157,0.7); flex-shrink: 0; }
.orchestrator__node .n-ico { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 7px; background: rgba(139,92,246,0.16); color: var(--elio-primary-bright); flex-shrink: 0; }
.orchestrator__node b { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; color: var(--elio-text); }
.orchestrator__node small { display: block; font-size: 0.72rem; color: var(--elio-text-soft); }
.orchestrator__node--tl { top: 6%; left: -2%; animation-delay: -1s; }
.orchestrator__node--tr { top: 14%; right: -4%; animation-delay: -3s; }
.orchestrator__node--l  { top: 52%; left: -6%; animation-delay: -2s; }
.orchestrator__node--r  { top: 46%; right: -6%; animation-delay: -4s; }
.orchestrator__node--bl { bottom: 12%; left: 4%; animation-delay: -5s; }
.orchestrator__node--br { bottom: 6%; right: 2%; animation-delay: -2.5s; }
@keyframes elio-node-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.orchestrator__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orchestrator__lines path {
  fill: none;
  stroke: rgba(139, 92, 246, 0.4);
  stroke-width: 1.2;
  stroke-dasharray: 5 7;
  animation: elio-dash 3.2s linear infinite;
}
@keyframes elio-dash { to { stroke-dashoffset: -48; } }

/* Mini panel de actividad flotante */
.orchestrator__panel {
  position: absolute;
  bottom: -6%;
  left: 50%;
  transform: translateX(-50%);
  width: 74%;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: rgba(9, 8, 16, 0.9);
  border: 1px solid var(--elio-line-strong);
  box-shadow: var(--elio-shadow-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.orchestrator__panel h5 { font-family: var(--font-body); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--elio-text-soft); margin-bottom: 8px; }
.orchestrator__panel .op-row { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 0.82rem; color: var(--elio-text-muted); }

/* ============ CAPABILITY STRIP ============ */
.cap-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ============ FEATURE GRIDS (home + subpáginas) ============ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ============ CÓMO FUNCIONA ============ */
.hiw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.hiw-step {
  position: relative;
  padding: 24px 22px;
  background: var(--elio-surface);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-lg);
  transition: border-color var(--t-base), transform var(--t-base);
}
.hiw-step:hover { border-color: var(--elio-line-strong); transform: translateY(-4px); }
.hiw-step__num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--elio-primary-bright);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid var(--elio-line-strong);
  margin-bottom: 16px;
}
.hiw-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.hiw-step p { font-size: 0.92rem; line-height: 1.55; }
.hiw-step__eg { display: block; margin-top: 14px; font-size: 0.8rem; color: var(--elio-text-soft); font-style: italic; }
.hiw-step__arrow { position: absolute; top: 42px; right: -13px; color: var(--elio-primary); z-index: 2; }
.hiw-steps .hiw-step:last-child .hiw-step__arrow { display: none; }

/* Arquitectura (canales → orquestador → agentes → sistemas) */
.arch {
  display: grid;
  grid-template-columns: 1fr auto 1.15fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 10px;
}
.arch__col {
  padding: 22px 20px;
  background: var(--elio-surface);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-lg);
}
.arch__col--core {
  background: var(--elio-grad-panel);
  border-color: var(--elio-line-strong);
  box-shadow: var(--elio-glow-soft);
}
.arch__col h3 { font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.arch__col h3 .a-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(139,92,246,0.14); color: var(--elio-primary-bright); }
.arch__col li { padding: 6px 0; font-size: 0.9rem; color: var(--elio-text-muted); border-bottom: 1px solid var(--elio-hairline); }
.arch__col li:last-child { border-bottom: none; }
.arch__arrow { display: grid; place-items: center; color: var(--elio-primary); }
.arch__arrow svg { animation: elio-arrow-pulse 2.4s var(--ease) infinite; }
@keyframes elio-arrow-pulse { 0%,100% { opacity: 0.5; transform: translateX(0); } 50% { opacity: 1; transform: translateX(3px); } }

/* Casos operativos */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.usecase { padding: 24px; background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-lg); }
.usecase h3 { font-size: 1.1rem; margin-bottom: 8px; }
.usecase p { font-size: 0.9rem; }
.usecase__flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.usecase__flow span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.76rem; color: var(--elio-text-muted);
  padding: 5px 10px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03); border: 1px solid var(--elio-hairline);
}
.usecase__flow span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--elio-success); }

/* ============ CARACTERÍSTICAS · SPLIT + DASHBOARD ============ */
.feat-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.feat-split__copy { max-width: 520px; }
.feat-list { display: grid; gap: 12px; margin-top: 24px; }
.feat-list__item { display: flex; gap: 12px; align-items: flex-start; }
.feat-list__item .fi-ico { flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: rgba(46,229,157,0.12); color: var(--elio-success); }
.feat-list__item p { font-size: 0.95rem; color: var(--elio-text-muted); }
.feat-list__item strong { color: var(--elio-text); font-weight: 600; }

/* Dashboard conceptual */
.dash { padding: 0; }
.dash__flow { display: flex; align-items: center; gap: 8px; padding: 16px; border-bottom: 1px solid var(--elio-hairline); flex-wrap: wrap; }
.dash__stage {
  flex: 1 1 auto;
  min-width: 92px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--elio-hairline);
  text-align: center;
}
.dash__stage b { display: block; font-family: var(--font-display); font-size: 0.82rem; color: var(--elio-text); }
.dash__stage small { font-size: 0.7rem; color: var(--elio-text-soft); }
.dash__stage--active { background: rgba(139,92,246,0.14); border-color: var(--elio-line-strong); }
.dash__arrow { color: var(--elio-primary); flex-shrink: 0; }
.dash__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--elio-hairline); }
.dash__block { background: var(--elio-surface); padding: 16px; }
.dash__block h5 { font-family: var(--font-body); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--elio-text-soft); margin-bottom: 12px; }
.dash__act { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.85rem; color: var(--elio-text-muted); }
.dash__act .status { font-size: 0.78rem; }
.dash__spark { display: flex; align-items: flex-end; gap: 4px; height: 60px; margin-top: 8px; }
.dash__spark i { flex: 1; background: linear-gradient(180deg, var(--elio-primary-bright), rgba(139,92,246,0.2)); border-radius: 3px 3px 0 0; display: block; }

/* ============ CTA BAND ============ */
.cta-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--elio-grad-panel);
  border: 1px solid var(--elio-line-strong);
  box-shadow: var(--elio-glow-soft);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(168,85,247,0.28), transparent 70%);
  filter: blur(20px);
}
.cta-band__text { position: relative; max-width: 60ch; }
.cta-band__text h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); margin-bottom: 8px; }
.cta-band__actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ FAQ (JS accordion, index) ============ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-md); overflow: hidden; }
.faq__question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 600; color: var(--elio-text);
  text-align: left;
}
.faq__question::after { content: "+"; font-size: 1.3rem; color: var(--elio-primary-bright); transition: transform var(--t-base); }
.faq__item.active .faq__question::after { transform: rotate(45deg); }
.faq__answer { max-height: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease); }
.faq__item.active .faq__answer { max-height: 320px; }
.faq__answer p { padding: 0 20px 18px; font-size: 0.94rem; line-height: 1.6; }

/* details/summary FAQ (cómo funciona) */
.faq-native { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq-native details { background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-md); padding: 16px 20px; }
.faq-native summary { cursor: pointer; font-family: var(--font-display); font-weight: 600; color: var(--elio-text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-native summary::-webkit-details-marker { display: none; }
.faq-native summary::after { content: "+"; color: var(--elio-primary-bright); font-size: 1.3rem; }
.faq-native details[open] summary::after { content: "–"; }
.faq-native details p { margin-top: 12px; font-size: 0.92rem; line-height: 1.6; color: var(--elio-text-muted); }

/* ============ FORMULARIOS (contacto / demo) — .cx-* ============ */
.cx-grid { display: grid; grid-template-columns: 1.3fr 0.85fr; gap: clamp(24px, 3vw, 40px); align-items: start; }
.cx-card {
  padding: clamp(24px, 3vw, 36px);
  background: var(--elio-grad-panel);
  border: 1px solid var(--elio-line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--elio-shadow-md);
}
.cx-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.cx-card__ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-md); background: rgba(139,92,246,0.14); border: 1px solid var(--elio-line-strong); color: var(--elio-primary-bright); }
.cx-h2 { font-size: 1.4rem; }
.cx-p { margin-bottom: 22px; font-size: 0.95rem; }
.cx-form { display: grid; gap: 16px; }
.cx-row { display: grid; gap: 7px; }
.cx-two { grid-template-columns: 1fr 1fr; gap: 16px; }
.cx-two > div { display: grid; gap: 7px; }
.cx-label { font-size: 0.82rem; font-weight: 600; color: var(--elio-text-muted); }
.cx-input {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  font-size: 16px;
  color: var(--elio-text);
  background: rgba(7, 6, 14, 0.6);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.cx-input::placeholder { color: var(--elio-text-soft); }
.cx-input:hover { border-color: var(--elio-line-strong); }
.cx-input:focus { outline: none; border-color: var(--elio-primary); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22); background: rgba(7, 6, 14, 0.85); }
.cx-input:user-invalid { border-color: var(--elio-danger); }
.cx-textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.cx-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.cx-check { flex-direction: row; }
.cx-check__label { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--elio-text-muted); cursor: pointer; }
.cx-check__label input { width: 18px; height: 18px; accent-color: var(--elio-primary); flex-shrink: 0; }
.cx-actions { margin-top: 6px; }

/* estados de formulario */
.cx-success, .cx-error {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: var(--r-md);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cx-success { background: rgba(46, 229, 157, 0.08); border: 1px solid rgba(46, 229, 157, 0.4); }
.cx-success__text { color: var(--elio-text); font-size: 0.95rem; line-height: 1.55; }
.cx-error { background: rgba(255, 77, 109, 0.08); border: 1px solid rgba(255, 77, 109, 0.4); }
.cx-error__text { color: var(--elio-text); font-size: 0.95rem; line-height: 1.55; }
.cx-form__hint { font-size: 0.8rem; color: var(--elio-text-soft); }
.btn[aria-busy="true"], .btn-primary[aria-busy="true"] { opacity: 0.75; pointer-events: none; }

/* side */
.cx-side { display: grid; gap: 18px; align-content: start; }
.cx-side__block { padding: 22px; background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-lg); }
.cx-side__block h3 { font-size: 1.05rem; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.cx-side__block .s-ico { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: rgba(139,92,246,0.14); color: var(--elio-primary-bright); }
.cx-side__list { display: grid; gap: 14px; margin-top: 4px; }
.cx-steps { display: grid; gap: 14px; }
.cx-steps li { display: flex; gap: 12px; font-size: 0.9rem; color: var(--elio-text-muted); align-items: flex-start; }
.cx-dot { flex-shrink: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(139,92,246,0.16); color: var(--elio-primary-bright); font-size: 0.78rem; font-weight: 700; }
.cx-side__cta { padding: 22px; border-radius: var(--r-lg); background: var(--elio-grad-panel); border: 1px solid var(--elio-line-strong); box-shadow: var(--elio-glow-soft); }
.cx-side__ctaTitle { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 8px; }
.cx-side__cta p { font-size: 0.9rem; margin-bottom: 16px; }

/* ============ CREA TU PLAN · WIZARD (.px-*) ============ */
.px-quiz {
  max-width: 940px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 34px);
  background: var(--elio-grad-panel);
  border: 1px solid var(--elio-line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--elio-shadow-md);
}
.px-quiz__progress { margin-bottom: 26px; }
.px-quiz__progressBar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden; }
.px-quiz__progressFill { height: 100%; width: 33%; border-radius: 999px; background: var(--elio-grad-cta); transition: width var(--t-slow) var(--ease); }
.px-quiz__progressMeta { margin-top: 10px; font-size: 0.82rem; color: var(--elio-text-soft); font-weight: 600; }
.px-quiz__step { display: none; }
.px-quiz__step.is-active { display: block; animation: elio-fade 0.4s var(--ease-out); }
@keyframes elio-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.px-quiz__stepTitle { font-size: 1.2rem; margin-bottom: 20px; }
.px-quiz__stepGrid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.px-quiz__panel { display: grid; gap: 16px; align-content: start; }
.px-quiz__field { display: grid; gap: 7px; }
.px-quiz__label { font-size: 0.82rem; font-weight: 600; color: var(--elio-text-muted); }
.px-quiz__input {
  width: 100%; min-height: 48px;
  padding: 12px 14px; font-size: 16px;
  color: var(--elio-text);
  background: rgba(7,6,14,0.6);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.px-quiz__input:focus { outline: none; border-color: var(--elio-primary); box-shadow: 0 0 0 3px rgba(139,92,246,0.22); }
select.px-quiz__input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23A855F7' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }

/* Tiles seleccionables (radios) */
.px-quiz__tiles { display: flex; flex-wrap: wrap; gap: 10px; }
.px-quiz__tile { position: relative; cursor: pointer; }
.px-quiz__tile input { position: absolute; opacity: 0; pointer-events: none; }
.px-quiz__tile span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 18px;
  font-size: 0.9rem; font-weight: 500; color: var(--elio-text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.px-quiz__tile:hover span { border-color: var(--elio-line-strong); color: var(--elio-text); }
.px-quiz__tile input:checked + span { color: #fff; background: rgba(139,92,246,0.2); border-color: var(--elio-primary); box-shadow: 0 0 0 1px var(--elio-primary); }
.px-quiz__tile input:focus-visible + span { outline: 2px solid var(--elio-primary-bright); outline-offset: 2px; }

/* Chips con icono (checkboxes) */
.px-quiz__chipsGrid { display: flex; flex-wrap: wrap; gap: 10px; }
.px-quiz__chip { position: relative; cursor: pointer; }
.px-quiz__chip input { position: absolute; opacity: 0; pointer-events: none; }
.px-quiz__chip > span:last-child,
.px-quiz__chip { display: inline-flex; align-items: center; }
.px-quiz__chip { gap: 0; }
.px-quiz__chip > span {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  font-size: 0.88rem; color: var(--elio-text-muted);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--elio-line);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.px-quiz__chipIcon {
  min-width: 24px; height: 24px; padding: 0 4px !important;
  display: grid !important; place-items: center;
  font-size: 0.7rem !important; font-weight: 700;
  background: rgba(139,92,246,0.18) !important;
  border-radius: 6px !important; border: none !important;
  color: var(--elio-primary-bright);
  margin-right: -2px;
}
.px-quiz__chip:hover > span { border-color: var(--elio-line-strong); }
.px-quiz__chip input:checked ~ span { color: #fff; background: rgba(139,92,246,0.2); border-color: var(--elio-primary); }
.px-quiz__chip input:focus-visible ~ span { outline: 2px solid var(--elio-primary-bright); outline-offset: 2px; }

.px-quiz__error { min-height: 20px; margin-top: 18px; color: var(--elio-danger); font-size: 0.88rem; font-weight: 500; }
.px-quiz__actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 20px; }

/* Resultado */
.px-quiz__result { max-width: 940px; margin: 20px auto 0; padding: clamp(24px, 3vw, 34px); background: var(--elio-grad-panel); border: 1px solid var(--elio-line-strong); border-radius: var(--r-xl); box-shadow: var(--elio-shadow-md); }
.px-quiz__recLabel { font-size: 1.02rem; line-height: 1.6; color: var(--elio-text); margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--elio-hairline); }
.px-quiz__resultBlock { padding: 8px 0; font-size: 0.94rem; color: var(--elio-text-muted); }
.px-quiz__resultBlock strong { color: var(--elio-text); }
.px-quiz__nextSteps { margin-top: 14px; display: grid; gap: 10px; }
.px-quiz__nextSteps li { display: flex; gap: 10px; font-size: 0.92rem; color: var(--elio-text-muted); padding-left: 4px; }
.px-quiz__nextSteps li::before { content: "→"; color: var(--elio-primary-bright); flex-shrink: 0; }

/* Add-ons + FAQ precios */
.px-addons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.px-addon { padding: 22px; background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-lg); }
.px-addon h3 { font-size: 1.05rem; margin-bottom: 8px; }
.px-addon p { font-size: 0.88rem; line-height: 1.55; margin-bottom: 14px; }
.px-addon__tag { display: inline-block; font-size: 0.76rem; font-weight: 600; color: var(--elio-text-soft); padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,0.03); border: 1px solid var(--elio-hairline); }
.px-faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 940px; margin-inline: auto; }
.px-q { padding: 22px; background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-lg); }
.px-q__question { font-family: var(--font-display); font-weight: 600; color: var(--elio-text); margin-bottom: 10px; }
.px-a { font-size: 0.9rem; line-height: 1.6; color: var(--elio-text-muted); }
.px-head { max-width: 720px; margin: 0 auto clamp(28px, 3vw, 44px); text-align: center; }
.px-h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 12px; }
.px-p { color: var(--elio-text-muted); }
.px-section { padding-block: clamp(40px, 5vw, 72px); }
.px-final { text-align: center; padding: clamp(40px, 5vw, 64px) 24px; }
.px-final h2 { margin-bottom: 12px; }
.px-final p { margin-bottom: 24px; }

/* Plan hero + resumen lateral */
.plan-hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; padding-top: clamp(40px,5vw,72px); }
.plan-summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; background: var(--elio-surface); border: 1px solid var(--elio-line); border-radius: var(--r-lg); }
.plan-summary h3 { font-size: 1.05rem; margin-bottom: 16px; }
.plan-summary__step { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--elio-hairline); }
.plan-summary__step:last-child { border-bottom: none; }
.plan-summary__num { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 0.78rem; font-weight: 700; background: rgba(139,92,246,0.14); color: var(--elio-primary-bright); border: 1px solid var(--elio-line-strong); }
.plan-summary__step b { font-size: 0.9rem; color: var(--elio-text); display: block; }
.plan-summary__step small { font-size: 0.78rem; color: var(--elio-text-soft); }
.plan-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 16px; }
.plan-trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--elio-text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero__copy { max-width: none; text-align: center; margin-inline: auto; }
  .home-hero__actions, .home-hero__caps, .cap-strip { justify-content: center; }
  .orchestrator { max-width: 460px; margin-top: 10px; }
  .feat-split { grid-template-columns: 1fr; }
  .plan-hero { grid-template-columns: 1fr; }
  .plan-summary { position: static; }
  .arch { grid-template-columns: 1fr; }
  .arch__arrow { transform: rotate(90deg); }
}

@media (max-width: 900px) {
  .hiw-steps { grid-template-columns: 1fr 1fr; }
  .hiw-step__arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .usecases { grid-template-columns: 1fr; }
  .px-addons__grid { grid-template-columns: 1fr 1fr; }
  .cx-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .feature-grid, .feature-grid--2 { grid-template-columns: 1fr; }
  .hiw-steps { grid-template-columns: 1fr; }
  .px-quiz__stepGrid { grid-template-columns: 1fr; }
  .px-addons__grid { grid-template-columns: 1fr; }
  .px-faq__grid { grid-template-columns: 1fr; }
  .cx-two { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .orchestrator__node small { display: none; }
  .orchestrator__node { padding: 8px 10px; }
}

@media (max-width: 400px) {
  .orchestrator__node b { font-size: 0.74rem; }
  .orchestrator__node .n-ico { width: 22px; height: 22px; }
}
