/* ══════════ Sala de demos — Da Vinci IA ══════════ */

.station { padding-block: var(--s5); }
.station__head { max-width: 46rem; margin-bottom: var(--s4); }
.station__head p { color: var(--gris-medio); margin-top: var(--s2); }
.station__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--naranja-oscuro);
  border: 1px solid rgba(217, 111, 31, 0.4);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: var(--s2);
  background: rgba(245, 134, 52, 0.06);
}

/* Presentador avatar */
.presenter video {
  width: min(100%, 820px);
  border-radius: 16px;
  border: 1px solid rgba(245, 134, 52, 0.3);
  box-shadow: var(--sombra-difusa);
  display: block;
}

/* ── Estación 1 · Llamada ── */
.callcard {
  max-width: 640px;
  background: var(--tinta-tech);
  color: var(--papel);
  border: 1px solid rgba(245, 134, 52, 0.3);
  border-radius: 20px;
  padding: var(--s3);
  box-shadow: var(--sombra-difusa);
  background-image:
    linear-gradient(rgba(245, 134, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 134, 52, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}
.callcard__top { display: flex; align-items: center; gap: var(--s2); }
.callcard__top small { display: block; color: rgba(250, 246, 239, 0.55); font-size: 0.8rem; }
.callcard__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--naranja);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.5rem;
  box-shadow: var(--glow);
  flex-shrink: 0;
}
.callcard__timer { margin-left: auto; font-family: var(--font-mono); color: var(--naranja); font-size: 0.9rem; }
.callcard.is-live .callcard__avatar { animation: pulso 1.6s ease-in-out infinite; }
@keyframes pulso { 50% { box-shadow: 0 0 0 12px rgba(245, 134, 52, 0); } }

.wave { display: flex; align-items: center; gap: 3px; height: 42px; margin: var(--s3) 0; }
.wave i { flex: 1; height: 12%; background: rgba(245, 134, 52, 0.5); border-radius: 2px; transition: height 0.18s ease; }
.callcard.is-live .wave i { background: var(--naranja); }

.transcript { list-style: none; display: grid; gap: 0.5rem; margin-bottom: var(--s3); }
.transcript li {
  font-size: 0.93rem;
  color: rgba(250, 246, 239, 0.4);
  padding-left: 1rem;
  border-left: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.transcript li.is-said { color: rgba(250, 246, 239, 0.9); border-left-color: var(--naranja); }
.call-btn { width: 100%; text-align: center; background: var(--naranja); border-color: var(--naranja); color: #fff; }
.call-btn:hover { background: var(--naranja-oscuro); border-color: var(--naranja-oscuro); }

/* ── Estación 2 · Nota de voz ── */
.phone--demo { width: min(100%, 420px); }
.phone__dot { display: grid; place-items: center; color: #fff; font-family: var(--font-display); }
.burbuja--audio { display: flex; align-items: center; gap: 0.6rem; min-width: 240px; flex-wrap: wrap; }
.vn-play {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: #14713C;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
.vn-play:active { transform: scale(0.94); }
.vn-track { flex: 1; min-width: 100px; height: 4px; background: rgba(20, 113, 60, 0.25); border-radius: 2px; overflow: hidden; }
.vn-track i { display: block; height: 100%; width: 0%; background: #14713C; }
.vn-time { font-family: var(--font-mono); font-size: 0.72rem; color: var(--gris-medio); }
.burbuja--audio time { width: 100%; }

/* ── Estación 3 · Dúo de agentes ── */
.duo {
  max-width: 720px;
  background: var(--tinta-tech);
  color: var(--papel);
  border: 1px solid rgba(245, 134, 52, 0.3);
  border-radius: 20px;
  padding: var(--s3);
  box-shadow: var(--sombra-difusa);
}
.duo__agents { display: flex; align-items: center; justify-content: center; gap: var(--s3); margin-bottom: var(--s3); }
.duo__agent { text-align: center; font-family: var(--font-mono); }
.duo__agent small { display: block; color: rgba(250, 246, 239, 0.5); font-size: 0.7rem; letter-spacing: 0.12em; }
.duo__orb {
  display: block;
  width: 58px; height: 58px;
  margin: 0 auto 0.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFB877, var(--naranja) 60%, #B85A12);
  opacity: 0.55;
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.duo__orb--b { background: radial-gradient(circle at 35% 30%, #FFE9B8, #E8A33D 60%, #A66B15); }
.duo__agent.is-talking .duo__orb { opacity: 1; box-shadow: var(--glow); animation: pulso 1.4s ease-in-out infinite; }
.duo__link { display: flex; gap: 6px; }
.duo__link i { width: 7px; height: 7px; border-radius: 50%; background: rgba(245, 134, 52, 0.5); animation: puntito 1.2s ease-in-out infinite; }
.duo__link i:nth-child(2) { animation-delay: 0.2s; }
.duo__link i:nth-child(3) { animation-delay: 0.4s; }

.duolog { list-style: none; display: grid; gap: 0.6rem; margin-bottom: var(--s3); }
.duolog li {
  max-width: 88%;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-size: 0.92rem;
  background: rgba(250, 246, 239, 0.07);
  border: 1px solid rgba(250, 246, 239, 0.1);
  opacity: 0.28;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}
.duolog li[data-who="livia"] { justify-self: end; }
.duolog li.is-said { opacity: 1; border-color: rgba(245, 134, 52, 0.45); }
.duolog strong { color: var(--naranja); }
.duo .btn { width: 100%; text-align: center; }

/* ── Estación 5 · WhatsApp real ── */
.warealcard {
  max-width: 560px;
  background: var(--blanco-calido);
  border: 1px solid var(--linea);
  border-radius: 20px;
  padding: var(--s3);
  box-shadow: var(--sombra-difusa);
}
.warealcard label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.6rem; }
.warealcard__row { display: flex; gap: var(--s1); flex-wrap: wrap; }
.warealcard input {
  flex: 1;
  min-width: 200px;
  font: inherit;
  font-family: var(--font-mono);
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--linea);
  border-radius: 6px;
  background: var(--papel);
}
.warealcard input:focus { outline: none; border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(245, 134, 52, 0.18); }
.warealcard__status { margin-top: var(--s2); font-weight: 600; }
.warealcard__status.ok { color: #1F7A46; }
.warealcard__status.err { color: #C0392B; }

/* ── Estación 6 · Mini ERPs ── */
.erp {
  background: var(--tinta-tech);
  color: var(--papel);
  border: 1px solid rgba(245, 134, 52, 0.3);
  border-radius: 20px;
  padding: var(--s3);
  margin-top: var(--s3);
  box-shadow: var(--sombra-difusa);
  background-image:
    linear-gradient(rgba(245, 134, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 134, 52, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
}
.erp__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.erp__stat {
  border: 1px solid rgba(250, 246, 239, 0.12);
  border-radius: 12px;
  padding: var(--s2);
}
.erp__stat small { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; color: rgba(250, 246, 239, 0.5); display: block; margin-bottom: 0.3rem; }
.erp__stat data { font-family: var(--font-mono); font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--naranja); text-shadow: var(--glow); }
.erp__stat--alert { border-color: rgba(245, 134, 52, 0.5); }
.erp__stat--alert span { font-size: 0.85rem; color: #FFC391; }
.erp__feed { display: grid; gap: 0.5rem; margin-top: var(--s3); }
.erp__feed span {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(250, 246, 239, 0.75);
  border-top: 1px dashed rgba(250, 246, 239, 0.15);
  padding-top: 0.5rem;
  animation: sube 0.5s var(--ease-out) both;
}
.erp__feed span:nth-child(2) { animation-delay: 0.15s; }
.erp__feed span:nth-child(3) { animation-delay: 0.3s; }

@media (max-width: 720px) {
  .erp__stats { grid-template-columns: 1fr; }
  .duo__agents { gap: var(--s2); }
}

/* ── Estación A1 · Torre de control ── */
.tower {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s3);
  background: var(--tinta-tech);
  color: var(--papel);
  border: 1px solid rgba(245, 134, 52, 0.3);
  border-radius: 20px;
  padding: var(--s3);
  box-shadow: var(--sombra-difusa);
}
.tower__map { position: relative; border: 1px solid rgba(250, 246, 239, 0.12); border-radius: 12px; overflow: hidden; background: #1B1B1D; }
.tower__map svg { display: block; width: 100%; height: auto; }
.truck text { font-family: var(--font-mono); font-size: 11px; fill: rgba(250, 246, 239, 0.85); }
.truck circle { filter: drop-shadow(0 0 6px rgba(245, 134, 52, 0.8)); }
.truck.is-alert circle { fill: #E4572E; animation: pulso 1s ease-in-out infinite; }
.tower__wa {
  position: absolute;
  right: 10px; bottom: 10px;
  max-width: 62%;
  background: #D9F2E3;
  color: #14320a;
  border-radius: 10px 10px 3px 10px;
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.6);
  animation: sube 0.4s var(--ease-out) both;
}
.tower__wa strong { color: #14713C; }
.tower__side { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.tower__feedhead { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: #7BD8A2; display: flex; gap: 0.5rem; align-items: center; margin-bottom: 0.5rem; }
.tower__feed {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  max-height: 300px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(250, 246, 239, 0.8);
}
.tower__feed li { border-left: 2px solid rgba(245, 134, 52, 0.5); padding-left: 0.6rem; animation: sube 0.35s var(--ease-out) both; }
.tower__feed li b { color: var(--naranja); font-weight: 600; }
.tower__actions { display: grid; gap: 0.5rem; }
.tower__actions .chip { text-align: left; background: rgba(250, 246, 239, 0.06); color: var(--papel); border-color: rgba(250, 246, 239, 0.2); }
.tower__actions .chip:hover { border-color: var(--naranja); color: #FFC391; }
.tower__closer { font-family: var(--font-accent); font-style: italic; font-size: 1.05rem; color: #FFC391; animation: sube 0.5s var(--ease-out) both; }
@media (max-width: 960px) { .tower { grid-template-columns: 1fr; } }

/* ── LISA show (vestíbulo) ── */
.lisashow{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:var(--s4);align-items:center}
.lisashow__area{font-family:var(--font-mono);font-size:.75rem;letter-spacing:.22em;color:var(--naranja-oscuro);border:1px solid rgba(217,111,31,.4);border-radius:999px;display:inline-block;padding:.3rem 1rem;margin-bottom:var(--s2);transition:opacity .4s}
.lisashow__copy h2{font-size:clamp(1.9rem,3.6vw,2.8rem);min-height:2.4em;transition:opacity .4s}
.lisashow__desc{color:var(--gris-medio);max-width:30rem;margin:var(--s2) 0 var(--s3);min-height:3em;transition:opacity .4s}
.lisashow.is-fading .lisashow__area,.lisashow.is-fading h2,.lisashow.is-fading .lisashow__desc{opacity:0}
.lisaphone{width:min(100%,380px);justify-self:center;background:#0B141A;border:6px solid #1A242B;border-radius:34px;overflow:hidden;box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.lisaphone__head{display:flex;align-items:center;gap:.7rem;background:#1F2C33;color:#E9EDEF;padding:.8rem 1rem}
.lisaphone__head small{display:block;color:#7BD8A2;font-size:.7rem}
.lisaphone__orb{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 32% 28%,#FFD98A,#F58634 65%,#8a5a00);font-size:1.1rem;box-shadow:0 0 14px rgba(245,134,52,.5)}
.lisaphone__sig{margin-left:auto;font-family:var(--font-mono);font-size:.6rem;color:#8696A0}
.lisaphone__chat{min-height:360px;max-height:360px;overflow:hidden;padding:.9rem;display:flex;flex-direction:column;gap:.5rem;background:#0B141A url() center/cover}
.lisaphone__input{display:flex;align-items:center;gap:.6rem;padding:.7rem 1rem;background:#1F2C33;color:#8696A0;font-size:.85rem}
.lisaphone__input span{flex:1;background:#2A3942;border-radius:999px;padding:.5rem 1rem}
.lb{max-width:86%;padding:.55rem .8rem;border-radius:9px;font-size:.85rem;line-height:1.45;animation:sube .35s var(--ease-out) both;color:#E9EDEF}
.lb--q{align-self:flex-end;background:#005C4B;border-bottom-right-radius:2px}
.lb--a{align-self:flex-start;background:#1F2C33;border-bottom-left-radius:2px}
.lb--a b{color:#FFB874}
.lb--typing{display:inline-flex;gap:4px;align-self:flex-start;background:#1F2C33;padding:.7rem .9rem}
.lb--typing i{width:6px;height:6px;border-radius:50%;background:#8696A0;animation:puntito 1s infinite}
.lb--typing i:nth-child(2){animation-delay:.15s}.lb--typing i:nth-child(3){animation-delay:.3s}
.lb time{display:block;text-align:right;font-size:.6rem;color:#8696A0;margin-top:2px}
@media(max-width:860px){.lisashow{grid-template-columns:1fr}.lisashow__copy h2{min-height:auto}}
