/* =========================================================
   MARKETING ASOCIADOS · CRM & AUTOMATIZACIÓN COMERCIAL
   Presentación web interactiva
   ========================================================= */

/* ---------- 01. Tokens y base ---------- */
:root {
  --bg: #07080f;
  --bg-deep: #05060b;
  --panel: #0d0f18;
  --panel-raised: #121521;
  --panel-soft: #161927;
  --text: #f4f1ea;
  --text-soft: #d6d2dc;
  --muted: #a5a2b2;
  --muted-low: #7f7c8e;
  --line: rgba(244, 241, 234, 0.09);
  --line-strong: rgba(244, 241, 234, 0.16);
  --violet: #9f1ee5;
  --violet-light: #c490ff;
  --violet-soft: rgba(159, 30, 229, 0.14);
  --iris: #7b61ff;
  --blue: #230fae;
  --gold: #efd36c;
  --gold-soft: rgba(239, 211, 108, 0.12);
  --green: #69e1ae;
  --green-soft: rgba(105, 225, 174, 0.1);
  --rose: #f28da5;
  --rose-soft: rgba(242, 141, 165, 0.12);
  --cream: #f5f1e8;
  --ink: #0b0b12;
  --radius-xs: 9px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --sans: "Segoe UI Variable Display", "Aptos Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
  background: var(--bg);
}

body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(110% 90% at 82% 0%, rgba(35, 15, 174, 0.16), transparent 45%),
    radial-gradient(80% 80% at 0% 100%, rgba(159, 30, 229, 0.09), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::selection,
body *::selection {
  background: rgba(159, 30, 229, 0.4);
  color: #fff;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--violet-light);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 99px;
}

.svg-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 300;
  transform: translate(-50%, -160%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--mini {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.icon--brand-wa {
  color: #5ee2a4;
}

.icon--brand-ig {
  color: #ee8db6;
}

.icon--brand-fb {
  color: #0866FF;
}

.icon--brand-ms {
  color: #8fa8ff;
}

.icon--brand-tk {
  color: #f4f1ea;
}

.inbox-window--ghl .icon--brand-tk {
  color: #101828;
}

.icon--win {
  color: var(--green);
  width: 14px;
  height: 14px;
}

/* ---------- 02. Fondo ambiental ---------- */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient__grain {
  position: absolute;
  inset: -20%;
  opacity: 0.17;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.ambient__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.28;
}

.ambient__glow--one {
  width: 40vw;
  height: 40vw;
  top: -20vw;
  right: -6vw;
  background: rgba(80, 41, 246, 0.26);
}

.ambient__glow--two {
  width: 34vw;
  height: 34vw;
  bottom: -20vw;
  left: -10vw;
  background: rgba(159, 30, 229, 0.18);
}

/* ---------- 03. Barra superior y progreso ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 210;
  background: rgba(255, 255, 255, 0.06);
}

.progress__bar {
  display: block;
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, #4b30ff, var(--violet), #e4a8ff);
  box-shadow: 0 0 18px rgba(159, 30, 229, 0.8);
  transition: width 0.7s var(--ease);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 82px;
  padding: 0 clamp(22px, 4.4vw, 68px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  background: linear-gradient(to bottom, rgba(7, 8, 15, 0.92), rgba(7, 8, 15, 0));
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.brand {
  min-width: 0;
}
.brand a{
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 3px;
  border-radius: 12px;
  background: var(--cream);
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.brand__text strong {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand__text span {
  color: var(--muted-low);
  font-size: 10px;
  letter-spacing: 0.055em;
  white-space: nowrap;
  text-transform: capitalize;
  font-weight: 500;
}

.topbar__deck {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-low);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(105, 225, 174, 0.8);
}

.topbar__sep {
  color: rgba(255, 255, 255, 0.18);
}

.topbar__tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tool-btn {
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.tool-btn .icon {
  width: 16px;
  height: 16px;
}

.tool-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.tool-btn--icon {
  width: 38px;
  padding: 0;
  justify-content: center;
}

.icon--compress {
  display: none;
}

body.is-fullscreen .icon--fullscreen {
  display: none;
}

body.is-fullscreen .icon--compress {
  display: block;
}

/* ---------- 04. Navegación inferior ---------- */
.deck-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  height: 86px;
  padding: 0 clamp(22px, 4.4vw, 68px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(to top, rgba(7, 8, 15, 0.94) 20%, rgba(7, 8, 15, 0));
  pointer-events: none;
}

.deck-footer > * {
  pointer-events: auto;
}

.deck-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.deck-meta__counter {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  color: var(--muted-low);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.deck-meta__counter b {
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.deck-meta__title {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.02em;
}

.deck-meta__title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--line-strong);
}

.keyboard-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-low);
  font-size: 10px;
}

kbd {
  min-width: 21px;
  height: 21px;
  display: inline-grid;
  place-items: center;
  padding: 0 4px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  line-height: 1;
}

.keyboard-hint span {
  margin-left: 3px;
}

.deck-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  /*background: rgba(255, 255, 255, 0.045);
  color: var(--text);*/
   background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  backdrop-filter: blur(12px);
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}

.nav-btn:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(231, 231, 231, 0.562);
  transform: translateY(-2px);
}
/*
.nav-btn--next {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.nav-btn--next:hover:not(:disabled) {
  background: #fff;
  border-color: #fff;
}*/

.nav-btn:disabled {
  opacity: 0.24;
  background: rgba(255, 255, 255, 0.045);
  color: var(--cream);
  cursor: not-allowed;
}

.nav-btn .icon {
  width: 18px;
  height: 18px;
}

/* ---------- 05. Estructura de diapositivas ---------- */
.deck {
  position: fixed;
  inset: 0;
  z-index: 10;
}

.slide {
  position: absolute;
  inset: 0;
  overflow: hidden auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.992);
  transition:
    opacity 0.62s var(--ease-soft),
    transform 0.85s var(--ease),
    visibility 0s linear 0.62s;
  scrollbar-width: thin;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 0.62s var(--ease-soft),
    transform 0.85s var(--ease),
    visibility 0s linear 0s;
  z-index: 2;
}

.slide.is-before {
  transform: translateY(-24px) scale(0.992);
}

.slide__wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(65% 75% at 94% 4%, rgba(80, 41, 246, 0.12), transparent 55%),
    radial-gradient(50% 70% at 6% 100%, rgba(159, 30, 229, 0.08), transparent 60%);
}

.slide__wash::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 70% 20%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 20%, #000 0%, transparent 70%);
}

.slide--pain .slide__wash {
  background:
    radial-gradient(60% 70% at 100% 0%, rgba(159, 30, 229, 0.12), transparent 55%),
    radial-gradient(55% 75% at 0% 100%, rgba(230, 99, 123, 0.05), transparent 60%);
}

.slide--solution .slide__wash,
.slide--channels .slide__wash {
  background:
    radial-gradient(55% 70% at 95% 20%, rgba(80, 41, 246, 0.16), transparent 55%),
    radial-gradient(50% 60% at 5% 95%, rgba(159, 30, 229, 0.08), transparent 60%);
}

.slide--automation .slide__wash {
  background:
    radial-gradient(60% 70% at 100% 10%, rgba(159, 30, 229, 0.14), transparent 55%),
    radial-gradient(40% 60% at 0% 100%, rgba(35, 15, 174, 0.15), transparent 60%);
}

.slide--benefits .slide__wash,
.slide--ecosystem .slide__wash {
  background:
    radial-gradient(60% 70% at 90% 20%, rgba(80, 41, 246, 0.13), transparent 55%),
    radial-gradient(45% 60% at 0% 100%, rgba(239, 211, 108, 0.035), transparent 60%);
}

.slide--implementation .slide__wash {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(159, 30, 229, 0.12), transparent 55%),
    radial-gradient(50% 60% at 0% 100%, rgba(35, 15, 174, 0.1), transparent 60%);
}

.slide--closing .slide__wash {
  background:
    radial-gradient(58% 85% at 90% 40%, rgba(159, 30, 229, 0.22), transparent 60%),
    radial-gradient(60% 70% at 12% 10%, rgba(74, 48, 255, 0.17), transparent 62%);
}

.slide-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1480px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(96px, 11vh, 112px) clamp(22px, 4.6vw, 72px) clamp(94px, 10vh, 108px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-signature {
  position: absolute;
  right: clamp(24px, 4.6vw, 72px);
  top: 104px;
  color: rgba(255, 255, 255, 0.17);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.slide-signature span {
  margin: 0 3px;
  opacity: 0.6;
}

/* ---------- 06. Tipografía y utilidades ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.kicker__num {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--violet-light);
  background: rgba(255, 255, 255, 0.025);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.kicker--plain {
  color: var(--violet-light);
}

.slide-head {
  margin-bottom: clamp(22px, 3vh, 36px);
}

.slide-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1.25fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.slide-head--compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
}

.slide-title {
  max-width: 820px;
  font-size: clamp(2.55rem, 3.7vw, 3.55rem);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.slide-title em,
.hero-title em,
.closing-title em {
  color: var(--violet-light);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.038em;
  background: linear-gradient(105deg, #f4f1ea 5%, #d2b7ff 52%, #b15fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-intro {
  max-width: 470px;
  color: var(--text);
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.7;
  text-align: center;
}

.slide-head .slide-intro.reveal {
  position: relative;
  padding: 20px 22px 20px 46px;
  border-left: 1px solid rgba(196, 144, 255, 0.45);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: linear-gradient(110deg, rgba(196, 144, 255, 0.08), rgba(196, 144, 255, 0.015));
  color: var(--text-soft);
  font-family: var(--serif);
  font-size: clamp(15px, 1.3vw, 18px);
  font-style: italic;
  line-height: 1.55;
}

.slide-head .slide-intro.reveal::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 13px;
  color: var(--violet-light);
  font-family: var(--serif);
  font-size: 40px;
  font-style: normal;
  line-height: 1;
  opacity: 0.72;
}

.slide-head--compact .slide-intro {
  max-width: 405px;
  padding-bottom: 4px;
}

.micro-label {
  display: block;
  color: var(--muted-low);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.demo-pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signal i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.signal--danger {
  color: #ff8a9e;
}

.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 7px rgba(105, 225, 174, 0.7);
}

.status-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 7px rgba(239, 211, 108, 0.7);
}

.status-dot--violet {
  background: var(--violet-light);
  box-shadow: 0 0 7px rgba(196, 144, 255, 0.7);
}

.interaction-note {
  margin-top: 15px;
  color: var(--muted-low);
  font-size: 10px;
  letter-spacing: 0.015em;
  text-align: left;
}

.interaction-note--light {
  margin-top: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1;
}

/* ---------- 07. Botones ---------- */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease-soft),
    border-color 0.25s,
    color 0.25s,
    transform 0.28s var(--ease),
    box-shadow 0.28s;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.btn--primary:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.075);
  transform: translateY(-2px);
}

.btn--large {
  min-height: 55px;
  padding: 0 24px;
  border-radius: 13px;
  font-size: 13px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  transition: color 0.2s;
}

.text-btn:hover {
  color: var(--text);
}

.text-btn .icon {
  width: 14px;
  height: 14px;
}

/* ---------- 08. Animaciones de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.slide.is-active .reveal {
  opacity: 1;
  transform: translateY(0);
}

.slide:not(.is-active) .reveal {
  transition-delay: 0s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(13px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%, 100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.03);
  }
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* =========================================================
   09. PORTADA
   ========================================================= */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow__mark {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.3);
  border-radius: 8px;
  background: rgba(159, 30, 229, 0.1);
  color: var(--violet-light);
}

.eyebrow__mark .icon {
  width: 13px;
  height: 13px;
}

.eyebrow__divider {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

.hero-title {
  max-width: 760px;
  font-size: clamp(3.5rem, 6.25vw, 6rem);
  font-weight: 570;
  letter-spacing: -0.067em;
  line-height: 0.92;
}

.hero-title em {
  /* display: inline-block; */
  padding-bottom: 0.08em;
}

.hero-lede {
  max-width: 550px;
  margin-top: 27px;
  color: var(--muted);
  font-size: clamp(14px, 1.24vw, 17px);
  line-height: 1.68;
}

.hero-lede strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 31px;
}

.channel-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 15px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12.5px;
}

.channel-line__label {
  color: var(--muted-low);
  letter-spacing: 0.02em;
}

.channel-line__item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.channel-line .icon {
  width: 13px;
  height: 13px;
  opacity: 0.95;
}

.hero-visual {
  position: relative;
  min-height: clamp(480px, 62vh, 600px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  perspective: 1400px;
}

.hero-ring {
  position: absolute;
  width: min(38vw, 540px);
  aspect-ratio: 1;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.012),
    0 0 0 110px rgba(255, 255, 255, 0.008);
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 144, 255, 0.11);
}

.hero-glow {
  position: absolute;
  width: 65%;
  height: 60%;
  top: 16%;
  left: 16%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 30, 229, 0.27), rgba(80, 41, 246, 0.08) 45%, transparent 70%);
  filter: blur(38px);
  animation: soft-pulse 9s ease-in-out infinite;
}

.hero-app {
  position: relative;
  z-index: 2;
  width: min(540px, 94%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(20, 22, 36, 0.97), rgba(9, 10, 18, 0.98));
  box-shadow:
    0 45px 100px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(90, 48, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transform: rotateY(-4deg) rotateX(2deg) translateZ(0);
  transform-origin: center right;
}

.hero-app::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 35%);
}

.hero-app__bar {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}

.traffic {
  display: flex;
  gap: 4px;
}

.traffic i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.traffic i:first-child {
  background: rgba(242, 141, 165, 0.7);
}

.traffic i:nth-child(2) {
  background: rgba(239, 211, 108, 0.7);
}

.traffic i:nth-child(3) {
  background: rgba(105, 225, 174, 0.7);
}

.hero-app__bar-label {
  flex: 1;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-app__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 13px;
}

.hero-app__head strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 23px;
  height: 23px;
  margin-left: -6px;
  display: grid;
  place-items: center;
  border: 2px solid #121421;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar--a {
  background: #6d4bc3;
}

.avatar--b {
  background: #2f7d69;
}

.avatar--c {
  background: #a34b5f;
}

.avatar--more {
  background: #232536;
  color: var(--muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 0 14px 13px;
}

.hero-stat {
  min-width: 0;
  padding: 11px 11px 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}

.hero-stat > span {
  display: block;
  color: var(--muted-low);
  font-size: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-stat strong {
  display: block;
  margin: 5px 0 3px;
  font-size: 22px;
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 1;
}

.hero-stat small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-low);
  font-size: 7.5px;
  white-space: nowrap;
}

.hero-stat--violet {
  border-color: rgba(159, 30, 229, 0.24);
  background: linear-gradient(145deg, rgba(159, 30, 229, 0.13), rgba(255, 255, 255, 0.02));
}

.hero-board {
  display: grid;
  grid-template-columns: 1.15fr 1.1fr 0.75fr;
  gap: 7px;
  padding: 0 14px 14px;
}

.hero-col {
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(0, 0, 0, 0.2);
}

.hero-col__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 7.5px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.hero-col__head b {
  color: var(--muted-low);
  font-weight: 600;
}

.hero-lead {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  margin-top: 5px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.033);
}

.hero-lead:first-of-type {
  margin-top: 0;
}

.hero-lead--highlight {
  border-color: rgba(196, 144, 255, 0.24);
  background: linear-gradient(130deg, rgba(159, 30, 229, 0.14), rgba(255, 255, 255, 0.03));
}

.mini-avatar {
  width: 25px;
  height: 25px;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.mini-avatar--warm {
  background: linear-gradient(145deg, #7b4a36, #b36e4e);
}

.mini-avatar--cool {
  background: linear-gradient(145deg, #3d4a94, #6372c5);
}

.mini-avatar--green {
  background: linear-gradient(145deg, #286951, #469177);
}

.mini-avatar--greenish {
  background: linear-gradient(145deg, #045f3e, #65c7a5);
}

.mini-avatar--rose {
  background: linear-gradient(145deg, #813b55, #b45672);
}

.mini-avatar--red {
  background: linear-gradient(145deg, #8b1e2d, #e63946);
}

.mini-avatar--blue {
  background: linear-gradient(145deg, #30487a, #506ca7);
}

.hero-lead > div {
  min-width: 0;
  flex: 1;
}

.hero-lead strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 8.5px;
  font-weight: 600;
}

.hero-lead small {
  display: flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 7px;
}

.hero-lead small .icon {
  width: 9px;
  height: 9px;
}

.mini-tag {
  flex: none;
  padding: 2px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 6px;
  line-height: 1.2;
}

.mini-tag--violet {
  background: rgba(159, 30, 229, 0.2);
  color: var(--violet-light);
}

.hero-progress {
  height: 3px;
  margin: 7px 1px 0;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.07);
}

.hero-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--violet-light));
}

.hero-app__foot {
  display: flex;
  justify-content: space-between;
  padding: 9px 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.03em;
}

.hero-app__foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.float-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(16, 18, 30, 0.88);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  animation: float-y 7s ease-in-out infinite;
}

.float-card--lead {
  top: 9%;
  left: -2%;
}

.float-card--follow {
  right: -1%;
  bottom: 10%;
  animation-delay: -3.2s;
}

.float-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.float-card small {
  color: var(--muted-low);
  font-size: 6.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.float-card strong {
  color: var(--text-soft);
  font-size: 8.5px;
  font-weight: 600;
  white-space: nowrap;
}

.float-icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}

.float-icon .icon {
  width: 13px;
  height: 13px;
}

.float-icon--wa {
  background: rgba(105, 225, 174, 0.12);
  color: var(--green);
}

.float-icon--gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.float-check {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(105, 225, 174, 0.14);
  color: var(--green);
}

.float-check .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.4;
}

.hero-caption {
  position: absolute;
  right: 3%;
  bottom: 0;
  color: rgba(255, 255, 255, 0.25);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* =========================================================
   10. PROBLEMAS
   ========================================================= */
.pain-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.96fr);
  gap: clamp(24px, 3.8vw, 54px);
  align-items: stretch;
}

.pain-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: stretch;
}

.pain-card {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(9, 10, 17, 0.4);
  transition: border-color 0.3s, transform 0.35s var(--ease), background 0.3s;
}

.pain-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.018)),
    rgba(9, 10, 17, 0.45);
}

.card-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.18);
  border-radius: 9px;
  background: rgba(159, 30, 229, 0.1);
  color: var(--violet-light);
}

.card-icon .icon {
  width: 16px;
  height: 16px;
}

.card-icon--gold {
  border-color: rgba(239, 211, 108, 0.18);
  background: var(--gold-soft);
  color: var(--gold);
}

.card-icon--rose {
  border-color: rgba(242, 141, 165, 0.18);
  background: var(--rose-soft);
  color: var(--rose);
}

.card-icon--blue {
  border-color: rgba(143, 168, 255, 0.18);
  background: rgba(80, 106, 255, 0.1);
  color: #a6b9ff;
}

.pain-card h3 {
  margin-bottom: 7px;
  font-size: clamp(14px, 1.22vw, 16.5px);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.pain-card p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.chaos {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.chaos__glow {
  position: absolute;
  inset: 10% 18%;
  border-radius: 50%;
  background: rgba(159, 30, 229, 0.16);
  filter: blur(70px);
}

.chaos-board {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  margin-left: auto;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(22, 24, 38, 0.95), rgba(9, 10, 17, 0.97));
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.chaos-board__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.chaos-board__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 10.5px;
  font-weight: 600;
}

.chaos-board__title .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

.chaos-channels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.chaos-channel {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.chaos-channel__icon {
  width: 23px;
  height: 23px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
}

.chaos-channel__icon .icon {
  width: 11px;
  height: 11px;
}

.chaos-channel__icon--wa {
  background: rgba(105, 225, 174, 0.1);
  color: var(--green);
}

.chaos-channel__icon--ig {
  background: rgba(242, 141, 165, 0.1);
  color: var(--rose);
}

.chaos-channel__icon--ms {
  background: rgba(143, 168, 255, 0.1);
  color: #a6b9ff;
}

.chaos-channel__icon--mail {
  background: rgba(239, 211, 108, 0.1);
  color: var(--gold);
}

.chaos-channel > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.chaos-channel strong {
  display: block;
  color: var(--text-soft);
  font-size: 8.5px;
  font-weight: 600;
}

.chaos-channel small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 7px;
}

.chaos-channel b {
  display: grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(242, 141, 165, 0.15);
  color: #ffa4b5;
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 600;
}

.chaos-thread {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(0, 0, 0, 0.22);
}

.chaos-thread__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.chaos-thread__top > span:last-child {
  display: flex;
  flex-direction: column;
}

.chaos-thread__top strong {
  font-size: 9px;
  font-weight: 600;
}

.chaos-thread__top small {
  color: var(--muted-low);
  font-size: 7px;
}

.bubble {
  width: fit-content;
  max-width: 82%;
  margin-bottom: 5px;
  padding: 7px 10px;
  border-radius: 4px 10px 10px 10px;
  font-size: 8.5px;
  line-height: 1.45;
}

.bubble--in {
  background: rgba(255, 255, 255, 0.075);
  color: var(--text-soft);
}

.bubble--delay {
  opacity: 0.7;
}

.chaos-assign {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px;
  border: 1px dashed rgba(242, 141, 165, 0.28);
  border-radius: 8px;
  background: rgba(242, 141, 165, 0.045);
}

.chaos-assign__icon {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(242, 141, 165, 0.1);
  color: var(--rose);
}

.chaos-assign__icon .icon {
  width: 11px;
  height: 11px;
}

.chaos-assign > span:last-child {
  display: flex;
  flex-direction: column;
}

.chaos-assign strong {
  color: #ffc0cb;
  font-size: 8px;
  font-weight: 600;
}

.chaos-assign small {
  color: var(--muted-low);
  font-size: 7px;
}

.chaos-flow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 7px 9px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-low);
  font-size: 7px;
  letter-spacing: 0.02em;
}

.chaos-flow i {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(242, 141, 165, 0.3));
}

.chaos-flow__lost {
  color: #ff9cad;
}

.illustration-note {
  margin-top: 7px;
  color: var(--muted-low);
  font-size: 8px;
  text-align: right;
}

/* =========================================================
   11. SOLUCIÓN / CRM
   ========================================================= */
.solution-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(285px, 0.72fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: stretch;
}

.crm-window {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-lg);
  background: #0b0c14;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.36);
}

.crm-app {
  flex: 1;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  min-height: 400px;
}

.crm-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 8px;
  border-right: 1px solid var(--line);
  background: rgba(5, 6, 11, 0.48);
}

.crm-logo {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: var(--cream);
  color: var(--ink);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: -0.06em;
}

.crm-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 18px;
}

.crm-nav__item {
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 8px;
  color: var(--muted-low);
}

.crm-nav__item .icon {
  width: 14px;
  height: 14px;
}

.crm-nav__item small {
  font-size: 6.5px;
  letter-spacing: 0.015em;
}

.crm-nav__item.is-active {
  background: rgba(159, 30, 229, 0.12);
  color: var(--violet-light);
}

.crm-side__bottom {
  margin-top: auto;
  color: var(--muted-low);
}

.crm-side__bottom .icon {
  width: 15px;
  height: 15px;
}

.crm-main {
  min-width: 0;
  padding: 14px 15px 13px;
}

.crm-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.crm-heading {
  min-width: 0;
  flex: 1;
}

.crm-heading strong {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.crm-toolbar__search {
  width: 142px;
  height: 27px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-low);
  font-size: 7.5px;
}

.crm-toolbar__search .icon {
  width: 11px;
  height: 11px;
}

.crm-toolbar__avatars {
  display: flex;
}

.crm-toolbar__avatars .mini-avatar {
  width: 23px;
  height: 23px;
  margin-left: -6px;
  border: 2px solid #0b0c14;
  font-size: 6.5px;
}

.crm-toolbar__avatars .mini-avatar:first-child {
  margin-left: 0;
}

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.crm-metric {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.crm-metric > span {
  display: block;
  color: var(--muted-low);
  font-size: 7px;
  white-space: nowrap;
}

.crm-metric strong {
  display: block;
  margin: 3px 0 2px;
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.crm-metric small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-low);
  font-size: 6.5px;
  white-space: nowrap;
}

.crm-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 13px 0 7px;
  color: var(--text-soft);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.crm-board-head__tags {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6.5px;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.crm-board-head__tags i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--violet-light);
}

.crm-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, 1fr));
  gap: 6px;
}

.crm-col {
  min-width: 0;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.2);
}

.crm-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 6.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.crm-col__head b {
  min-width: 14px;
  height: 14px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-size: 6px;
  font-weight: 500;
}

.crm-card {
  margin-bottom: 5px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.033);
}

.crm-card:last-child {
  margin-bottom: 0;
}

.crm-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.crm-card__top .mini-avatar {
  width: 19px;
  height: 19px;
  font-size: 6px;
}

.crm-source {
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.045);
}

.crm-source .icon {
  width: 8px;
  height: 8px;
}

.crm-source--wa {
  color: var(--green);
}

.crm-source--ig {
  color: var(--rose);
}

.crm-source--ms {
  color: #a6b9ff;
}

.crm-source--check {
  color: var(--green);
}

.crm-card strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 7.5px;
  font-weight: 600;
}

.crm-card small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 6.2px;
}

.crm-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  padding-top: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: var(--muted-low);
  font-size: 6px;
}

.crm-card--won {
  border-color: rgba(105, 225, 174, 0.15);
  background: rgba(105, 225, 174, 0.055);
}

.crm-card--compact {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px;
}

.crm-card--compact > div {
  min-width: 0;
}

.crm-card--compact .mini-avatar {
  width: 18px;
  height: 18px;
  font-size: 5.5px;
}

.crm-caption, .workflow__foot {
  height: 31px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
}

.crm-caption span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.solution-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-point {
  flex: 1;
  display: flex;
  gap: 13px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.solution-point:hover {
  border-color: var(--line-strong);
  transform: translateX(2px);
}

.point-num {
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.04em;
}

.solution-point h3 {
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.solution-point p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.solution-quote {
  display: flex;
  gap: 11px;
  padding: 18px;
  border: 1px solid rgba(196, 144, 255, 0.18);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(159, 30, 229, 0.14), rgba(35, 15, 174, 0.06));
  color: var(--violet-light);
}

.solution-quote .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
}

.solution-quote p {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.55;
}

.solution-quote strong {
  color: #fff;
  font-weight: 600;
}

/* =========================================================
   12. RECORRIDO / FICHA
   ========================================================= */
.journey-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-bottom: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.journey-tab {
  position: relative;
  min-width: 0;
  min-height: 57px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.journey-tab:hover {
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
}

.journey-tab.is-active {
  border-color: rgba(196, 144, 255, 0.22);
  background: linear-gradient(135deg, rgba(159, 30, 229, 0.17), rgba(255, 255, 255, 0.035));
  color: var(--text);
}

.journey-tab__num {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 8px;
}

.journey-tab.is-active .journey-tab__num {
  color: var(--violet-light);
}

.journey-tab__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.journey-tab__copy strong {
  font-size: 13.5px;
  font-weight: 600;
}

.journey-tab__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 10px;
}

.journey-tab__dot {
  position: absolute;
  bottom: 7px;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 8px;
  background: transparent;
  transform: translateX(-50%);
}

.journey-tab.is-active .journey-tab__dot {
  background: var(--violet-light);
  box-shadow: 0 0 8px rgba(196, 144, 255, 0.6);
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(12px, 1.8vw, 20px);
}

.journey-panel {
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.3vw, 30px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 120% at 100% 0%, rgba(159, 30, 229, 0.13), transparent 55%),
    rgba(255, 255, 255, 0.025);
}

.journey-panel::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -90px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.014);
  pointer-events: none;
}

.journey-panel__eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-panel h3 {
  max-width: 460px;
  margin-bottom: 12px;
  font-size: clamp(22px, 2.05vw, 30px);
  font-weight: 560;
  letter-spacing: -0.038em;
  line-height: 1.13;
}

.journey-panel > p {
  max-width: 470px;
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 18px 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--text-soft);
  font-size: 13.5px;
  line-height: 1.5;
}

.check-list .icon {
  width: 12px;
  height: 12px;
  margin-top: 2px;
  color: var(--green);
  stroke-width: 2.4;
}

.journey-panel__foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-size: 9px;
  line-height: 1.5;
}

.journey-panel__foot .icon {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
  color: var(--gold);
}

.record-card {
  position: relative;
  min-width: 0;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(22, 25, 39, 0.97), rgba(10, 11, 18, 0.99));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.record-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 144, 255, 0.6), transparent);
}

.record-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.record-person {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.record-avatar {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #7a553a, #c17c4d);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.record-person h3 {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.record-person small {
  color: var(--muted-low);
  font-size: 8.5px;
}

.stage-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid rgba(196, 144, 255, 0.26);
  border-radius: 999px;
  background: rgba(159, 30, 229, 0.14);
  color: var(--violet-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stage-badge--won {
  border-color: rgba(105, 225, 174, 0.3);
  background: rgba(105, 225, 174, 0.1);
  color: var(--green);
}

.journey-panel.is-changing {
  animation: panel-swap 0.38s var(--ease-soft);
}

.module-detail.is-changing {
  animation: panel-swap 0.38s var(--ease-soft);
}

@keyframes panel-swap {
  from {
    opacity: 0.55;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.record-field span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-low);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.record-field strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 9.5px;
  font-weight: 500;
}

.record-note {
  display: flex;
  gap: 9px;
  margin: 12px 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.record-note__icon {
  width: 23px;
  height: 23px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(159, 30, 229, 0.12);
  color: var(--violet-light);
}

.record-note__icon .icon {
  width: 11px;
  height: 11px;
}

.record-note span {
  color: var(--muted-low);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.record-note p {
  margin-top: 1px;
  color: var(--text-soft);
  font-size: 8.5px;
  line-height: 1.45;
}

.record-activity__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.record-activity__head small {
  color: var(--muted-low);
  font-size: 7px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.timeline__item {
  position: relative;
  display: flex;
  gap: 9px;
  padding-left: 1px;
}

.timeline__item i {
  position: relative;
  z-index: 1;
  width: 6px;
  height: 6px;
  flex: none;
  margin-top: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: #11131f;
}

.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 3px;
  bottom: -7px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline__item.is-current i {
  border-color: var(--violet-light);
  background: var(--violet-light);
  box-shadow: 0 0 7px rgba(196, 144, 255, 0.75);
}

.timeline__item > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.timeline__item strong {
  color: var(--text-soft);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.35;
}

.timeline__item small {
  color: var(--muted-low);
  font-size: 7px;
}

.record-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6.5px;
}

.record-card__foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* =========================================================
   13. AUTOMATIZACIÓN
   ========================================================= */
.automation-tabs {
  display: flex;
  gap: 5px;
  margin-bottom: 10px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
  overflow-x: auto;
  scrollbar-width: none;
}

.automation-tab span {
    font-size: 13.5px;
}

.automation-tabs::-webkit-scrollbar {
  display: none;
}

.automation-tab {
  flex: 1 0 auto;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 9.5px;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.automation-tab .icon {
  width: 13px;
  height: 13px;
}

.automation-tab:hover {
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.035);
}

.automation-tab.is-active {
  border-color: rgba(196, 144, 255, 0.22);
  background: linear-gradient(135deg, rgba(159, 30, 229, 0.18), rgba(255, 255, 255, 0.04));
  color: var(--text);
}

.automation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.94fr);
  gap: 11px;
}

.workflow {
  display: flex;
  flex-direction: column;
  min-height: 405px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(80, 41, 246, 0.09), transparent 55%),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}

.workflow__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 17px;
  border-bottom: 1px solid var(--line);
}

.workflow__head strong {
  display: block;
  margin-top: 1px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.workflow__canvas {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 18px 12px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  background-position: 0 0;
}

.flow-node {
  position: relative;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 45px;
  padding: 7px 10px 7px 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(11, 12, 20, 0.94);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
  opacity: 0;
  animation: rise-in 0.42s var(--ease) forwards;
  animation-delay: calc(var(--node-i) * 85ms);
}

.flow-node:not(:last-child) {
  margin-bottom: 15px;
}

.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 22px;
  top: calc(100% + 1px);
  width: 1px;
  height: 14px;
  background: repeating-linear-gradient(to bottom, rgba(196, 144, 255, 0.45) 0 3px, transparent 3px 6px);
}

.flow-node--trigger {
  border-color: rgba(105, 225, 174, 0.2);
}

.flow-node--action {
  border-color: rgba(196, 144, 255, 0.2);
}

.flow-node--wait {
  border-color: rgba(239, 211, 108, 0.18);
}

.flow-node__icon {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.flow-node--trigger .flow-node__icon {
  background: rgba(105, 225, 174, 0.1);
  color: var(--green);
}

.flow-node--action .flow-node__icon {
  background: rgba(159, 30, 229, 0.13);
  color: var(--violet-light);
}

.flow-node--wait .flow-node__icon {
  background: var(--gold-soft);
  color: var(--gold);
}

.flow-node__icon .icon {
  width: 12px;
  height: 12px;
}

.flow-node__copy {
  min-width: 0;
}

.flow-node__copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.flow-node__copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 10.5px;
}

.flow-node__type {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/*
.workflow__foot {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 11px 17px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9px;
  line-height: 1.45;
}
*/
.workflow__foot {
  justify-content: left;
}
.workflow__foot .icon {
  width: 13px;
  height: 13px;
  flex: none;
  color: var(--green);
}

.chat-demo {
  display: flex;
  flex-direction: column;
  min-height: 405px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: #0b0c14;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.chat-demo__head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.chat-avatar {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7b4a36, #b36e4e);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
}

.chat-demo__person {
  flex: 1;
  min-width: 0;
}

.chat-demo__person strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.chat-demo__person small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted-low);
  font-size: 7px;
}

.chat-stage {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 7px;
}

.chat-demo__thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 0;
  padding: 13px 14px;
  overflow-y: auto;
  background:
    radial-gradient(70% 80% at 80% 20%, rgba(159, 30, 229, 0.055), transparent 55%),
    #0b0c14;
  scrollbar-width: thin;
}

.msg {
  max-width: 60%;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 9px;
  line-height: 1.5;
  animation: rise-in 0.38s var(--ease) both;
}

.msg--in {
  align-self: flex-start;
  border-bottom-left-radius: 3px;
  background: rgba(255, 255, 255, 0.075);
  color: var(--text-soft);
  font-weight: 400;
}

.msg--out {
  align-self: flex-end;
  border-bottom-right-radius: 3px;
  background: linear-gradient(135deg, #6d28c9, #8c2fd4);
  color: #fff;
  box-shadow: 0 7px 18px rgba(109, 40, 201, 0.25);
  font-weight: 400;
}

.msg__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  font-size: 6.5px;
  opacity: 0.6;
}

.msg__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
  color: #d9c4ff;
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.msg__badge .icon {
  width: 8px;
  height: 8px;
}

.msg--system {
  max-width: 100%;
  align-self: center;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 8px 10px;
  border: 1px dashed rgba(196, 144, 255, 0.24);
  border-radius: 8px;
  background: rgba(159, 30, 229, 0.07);
  color: var(--muted);
  font-size: 8px;
}

.msg--system .icon {
  width: 12px;
  height: 12px;
  flex: none;
  color: var(--violet-light);
}

.chat-demo__result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 13px 9px;
  padding: 9px 11px;
  border: 1px solid rgba(105, 225, 174, 0.13);
  border-radius: 9px;
  background: rgba(105, 225, 174, 0.05);
}

.chat-demo__result > span {
  width: 21px;
  height: 21px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(105, 225, 174, 0.12);
  color: var(--green);
}

.chat-demo__result .icon {
  width: 10px;
  height: 10px;
  stroke-width: 2.4;
}

.chat-demo__result small {
  display: block;
  color: var(--muted-low);
  font-size: 10px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 500;
}

.chat-demo__result strong {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 500;
}

.chat-demo__composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  margin: 0 13px 13px;
  padding: 7px 7px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted-low);
  font-size: 8px;
}

.chat-demo__send {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(159, 30, 229, 0.18);
  color: var(--violet-light);
}

.chat-demo__send .icon {
  width: 12px;
  height: 12px;
}

/* =========================================================
   14. CANALES
   ========================================================= */
.channels-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(280px, 0.68fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.inbox-window {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: #0b0c14;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.inbox-window__bar {
  height: 53px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.inbox-window__title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.inbox-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(159, 30, 229, 0.12);
  color: var(--violet-light);
}

.inbox-icon .icon {
  width: 13px;
  height: 13px;
}

.inbox-window__title strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
}

.inbox-window__title small {
  display: block;
  color: var(--muted-low);
  font-size: 9px;
}

.channel-filters {
  flex: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.channel-filters::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex: none;
  height: 25px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 7.5px;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-chip .icon {
  width: 10px;
  height: 10px;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--text-soft);
}

.filter-chip.is-active {
  border-color: rgba(196, 144, 255, 0.24);
  background: rgba(159, 30, 229, 0.13);
  color: var(--text);
}

.inbox-body {
  flex: 1;
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 330px;
}

.conv-list {
  display: flex;
  flex-direction: column;
  padding: 7px;
  border-right: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.14);
  overflow-y: auto;
  scrollbar-width: thin;
}

.conv-item {
  width: 100%;
  display: grid;
  grid-template-columns: 29px minmax(0, 1fr) auto;
  gap: 8px;
  padding: 9px 7px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}

.conv-item + .conv-item {
  margin-top: 2px;
}

.conv-item:hover {
  background: rgba(255, 255, 255, 0.035);
}

.conv-item.is-active {
  border-color: rgba(196, 144, 255, 0.15);
  background: linear-gradient(135deg, rgba(159, 30, 229, 0.12), rgba(255, 255, 255, 0.025));
}

.conv-avatar {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

.conv-copy {
  min-width: 0;
}

.conv-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 600;
}

.conv-copy small {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 8.5px;
  margin-left: -12px;
}

.conv-copy small .conv-channel {
  width: 15px;
  height: 15px;
  flex: none;
}

.conv-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.conv-meta time {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 5.8px;
  white-space: nowrap;
}

.conv-meta b {
  min-width: 13px;
  height: 13px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  font-size: 5.5px;
}

.conv-channel {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  opacity: 0.85;
}

.conv-channel .icon {
  width: 8px;
  height: 8px;
}

.conv-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 180px;
  padding: 24px;
  color: var(--muted-low);
  font-size: 9px;
  text-align: center;
}

.conv-empty .icon {
  width: 22px;
  height: 22px;
  opacity: 0.6;
}

.thread {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  background:
    radial-gradient(75% 70% at 80% 10%, rgba(159, 30, 229, 0.05), transparent 55%),
    rgba(255, 255, 255, 0.008);
  max-height: 480px;
}

.thread__head {
  height: 51px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}

.thread-avatar {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #7b4a36, #b36e4e);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

.thread-person {
  min-width: 0;
  flex: 1;
}

.thread-person strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
}

.thread-person small {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted-low);
  font-size: 6.8px;
}

.thread-stage {
  flex: none;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 6.3px;
}

.thread-head__icon {
  color: var(--muted-low);
}

.thread-head__icon .icon {
  width: 14px;
  height: 14px;
}

.thread__messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px 55px;
  overflow-y: auto;
  scrollbar-width: thin;
  justify-content: end;
}

.thread-day {
  align-self: center;
  margin: 2px 0 3px;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 5.8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.thread .msg {
  font-size: 11px;
  font-weight: 100;
}

.thread .msg--out {
  background: linear-gradient(135deg, #4d278d, #7134ad);
}

.composer {
  flex: none;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 11px 11px;
  padding: 5px 5px 5px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.composer:focus-within {
  border-color: rgba(196, 144, 255, 0.3);
}

.composer input {
  min-width: 0;
  flex: 1;
  height: 27px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 100;
}

.composer input::placeholder {
  color: var(--muted-low);
}

.composer__send {
  width: 27px;
  height: 27px;
  flex: none;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: var(--violet);
  color: #fff;
  transition: background 0.2s, transform 0.2s;
}

.composer__send:hover {
  background: #b13af5;
  transform: scale(1.04);
}

.composer__send .icon {
  width: 13px;
  height: 13px;
}

.inbox-window__foot {
  min-height: 31px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 13px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6px;
}

.inbox-window__foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.inbox-window__foot .icon {
  width: 9px;
  height: 9px;
}

.channel-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.channel-benefit {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
}

.benefit-icon {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(105, 225, 174, 0.1);
  color: var(--green);
}

.benefit-icon--violet {
  background: rgba(159, 30, 229, 0.12);
  color: var(--violet-light);
}

.benefit-icon--gold {
  background: var(--gold-soft);
  color: var(--gold);
}

.benefit-icon .icon {
  width: 14px;
  height: 14px;
}

.channel-benefit h3 {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 600;
}

.channel-benefit p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 600;
}

.integration-note {
  display: flex;
  gap: 9px;
  padding: 13px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.018);
  color: var(--muted-low);
}

.integration-note .icon {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: 1px;
  color: var(--violet-light);
}

.integration-note p {
  font-size: 9.5px;
  line-height: 1.55;
}

.integration-note strong {
  color: var(--text-soft);
  font-weight: 500;
}

/* =========================================================
   15. BENEFICIOS
   ========================================================= */
.benefits-head-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding-bottom: 3px;
  margin-left: -120px;
}

.audience-toggle {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.audience-btn {
  min-height: 31px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.audience-btn:hover {
  color: var(--text-soft);
}

.audience-btn.is-active {
  border-color: rgba(196, 144, 255, 0.16);
  background: rgba(159, 30, 229, 0.14);
  color: var(--text);
}

.benefits-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.benefits-copy {
  max-width: 560px;
}

.benefits-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefits-copy > h3 {
  max-width: 440px;
  margin-bottom: 13px;
  font-size: clamp(27px, 2.55vw, 38px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.benefits-lede {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 18px;
  margin-top: 24px;
}

.benefit-item {
  display: flex;
  gap: 9px;
  animation: rise-in 0.45s var(--ease) both;
  animation-delay: calc(var(--benefit-i) * 60ms);
}

.benefit-item__icon {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.16);
  border-radius: 6px;
  background: rgba(159, 30, 229, 0.1);
  color: var(--violet-light);
}

.benefit-item__icon .icon {
  width: 11px;
  height: 11px;
}

.benefit-item h4 {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.benefit-item p {
  color: var(--muted-low);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.benefits-summary {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 24px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.benefits-summary .icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  color: var(--gold);
}

.benefits-summary p {
  color: var(--text);
  font-size: 15px;
  line-height: 1.1;
}

.benefit-visual {
  position: relative;
  min-width: 0;
}

.audience-panel {
  display: none;
}

.audience-panel.is-active {
  display: block;
  animation: rise-in 0.5s var(--ease) both;
}

.panel-window {
  position: relative;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(22, 25, 39, 0.98), rgba(9, 10, 17, 0.99));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.panel-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 144, 255, 0.55), transparent);
}

.panel-window__bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.panel-window__bar strong {
  display: block;
  margin-top: 1px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  padding: 8px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
}

.agent-avatar {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #286951, #469177);
  color: #fff;
  font-size: 7px;
  font-weight: 700;
}

.agent-profile > div {
  flex: 1;
}

.agent-profile strong {
  display: block;
  font-size: 8.5px;
  font-weight: 600;
}

.agent-profile small {
  display: block;
  color: var(--muted-low);
  font-size: 6.5px;
}

.task-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.022);
}

.task-item--urgent {
  border-color: rgba(239, 211, 108, 0.18);
  background: rgba(239, 211, 108, 0.045);
}

.task-item--done {
  opacity: 0.58;
}

.task-item--done strong {
  text-decoration: line-through;
}

.task-check {
  width: 15px;
  height: 15px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

.task-item--done .task-check {
  border-color: rgba(105, 225, 174, 0.35);
  background: rgba(105, 225, 174, 0.12);
  color: var(--green);
}

.task-check .icon {
  width: 8px;
  height: 8px;
  stroke-width: 2.4;
}

.task-item > div {
  flex: 1;
  min-width: 0;
}

.task-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
  font-weight: 500;
}

.task-item small {
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted-low);
  font-size: 6.5px;
}

.task-badge,
.task-time {
  flex: none;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6px;
}

.task-badge {
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(239, 211, 108, 0.12);
  color: var(--gold);
}

.next-step-card {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 9px;
  border: 1px solid rgba(196, 144, 255, 0.18);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(159, 30, 229, 0.14), rgba(255, 255, 255, 0.03));
}

.next-step-card__icon {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(159, 30, 229, 0.18);
  color: var(--violet-light);
}

.next-step-card__icon .icon {
  width: 11px;
  height: 11px;
}

.next-step-card > div {
  flex: 1;
}

.next-step-card small {
  display: block;
  color: var(--muted-low);
  font-size: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.next-step-card strong {
  display: block;
  font-size: 8px;
  font-weight: 500;
}

.next-step-card__arrow {
  width: 12px;
  height: 12px;
  color: var(--violet-light);
}

.panel-caption {
  margin-top: 9px;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6px;
  text-align: right;
  letter-spacing: 0.04em;
}

.manager-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 12px 0 10px;
}

.manager-metric {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.manager-metric > span {
  display: block;
  color: var(--muted-low);
  font-size: 6.5px;
}

.manager-metric strong {
  display: block;
  margin: 4px 0 2px;
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.05em;
  line-height: 1;
}

.manager-metric strong em {
  font-style: normal;
  font-size: 10px;
  opacity: 0.7;
}

.manager-metric small {
  display: block;
  color: var(--muted-low);
  font-size: 6px;
}

.manager-metric--violet {
  border-color: rgba(196, 144, 255, 0.18);
  background: rgba(159, 30, 229, 0.08);
}

.manager-metric--violet strong {
  margin-top: 7px;
  color: var(--violet-light);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.funnel-card,
.team-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.022);
}

.funnel-card__head,
.team-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.funnel-card__head strong,
.team-card__head strong {
  font-size: 8px;
  font-weight: 600;
}

.funnel-card__head span,
.team-card__head span {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 5.8px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
}

.funnel-row > span {
  color: var(--muted);
  font-size: 6.5px;
}

.funnel-bar {
  height: 4px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.funnel-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5631d9, #a247dd);
}

.funnel-row b {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 5.8px;
  font-weight: 400;
  text-align: right;
}

.team-card {
  margin-top: 7px;
}

.team-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
}

.team-row .mini-avatar {
  width: 18px;
  height: 18px;
  font-size: 5px;
}

.team-row > div {
  min-width: 85px;
}

.team-row strong {
  display: block;
  color: var(--text-soft);
  font-size: 6.5px;
  font-weight: 500;
}

.team-row small {
  display: block;
  color: var(--muted-low);
  font-size: 5.5px;
}

.team-load {
  flex: 1;
  height: 3px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
}

.team-load i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: rgba(196, 144, 255, 0.55);
}

/* =========================================================
   16. ECOSISTEMA
   ========================================================= */
.ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: stretch;
}

.module-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 8px;
}

.module-card {
  min-height: 94px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(9, 10, 17, 0.35);
  color: var(--text);
  text-align: left;
  transition: background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.module-card.is-active {
  border-color: rgba(196, 144, 255, 0.24);
  background:
    linear-gradient(145deg, rgba(159, 30, 229, 0.14), rgba(255, 255, 255, 0.025)),
    rgba(9, 10, 17, 0.35);
}

.module-card__icon {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.18);
  border-radius: 8px;
  background: rgba(159, 30, 229, 0.11);
  color: var(--violet-light);
}

.module-card__icon--violet {
  color: #c8b4ff;
}

.module-card__icon--gold {
  border-color: rgba(239, 211, 108, 0.18);
  background: var(--gold-soft);
  color: var(--gold);
}

.module-card__icon--green {
  border-color: rgba(105, 225, 174, 0.18);
  background: var(--green-soft);
  color: var(--green);
}

.module-card__icon--rose {
  border-color: rgba(242, 141, 165, 0.18);
  background: var(--rose-soft);
  color: var(--rose);
}

.module-card__icon--blue {
  border-color: rgba(143, 168, 255, 0.18);
  background: rgba(80, 106, 255, 0.1);
  color: #a6b9ff;
}

.module-card__icon .icon {
  width: 14px;
  height: 14px;
}

.module-card__copy {
  flex: 1;
  min-width: 0;
}

.module-card__copy strong {
  display: block;
  margin: 1px 0 4px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.012em;
}

.module-card__copy small {
  display: block;
  color: var(--muted-low);
  font-size: 13.5px;
  line-height: 1.4;
}

.module-card__arrow {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 2px;
  color: var(--muted-low);
  transition: color 0.2s, transform 0.25s;
}

.module-card:hover .module-card__arrow,
.module-card.is-active .module-card__arrow {
  color: var(--violet-light);
  transform: translate(2px, -2px);
}

.module-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.3vw, 30px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(100% 110% at 80% 0%, rgba(159, 30, 229, 0.18), transparent 55%),
    linear-gradient(155deg, rgba(22, 25, 39, 0.98), rgba(9, 10, 17, 0.99));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
}

.module-detail__art {
  position: relative;
  width: 124px;
  height: 124px;
  flex: none;
  margin: 3px auto 17px;
  display: grid;
  place-items: center;
}

.module-detail__orbit {
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(196, 144, 255, 0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.module-detail__orbit::before,
.module-detail__orbit::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--violet-light);
  box-shadow: 0 0 10px rgba(196, 144, 255, 0.8);
}

.module-detail__orbit::before {
  top: 11px;
  right: 18px;
}

.module-detail__orbit::after {
  bottom: 12px;
  left: 20px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(239, 211, 108, 0.75);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.module-detail__icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.26);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(159, 30, 229, 0.22), rgba(35, 15, 174, 0.16));
  color: var(--violet-light);
  box-shadow: 0 0 40px rgba(159, 30, 229, 0.2);
}

.module-detail__icon .icon {
  width: 24px;
  height: 24px;
}

.module-detail__core {
  position: absolute;
  bottom: 2px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #11131f;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.1em;
}

.module-detail__label {
  display: block;
  margin-bottom: 8px;
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-detail h3 {
  margin-bottom: 9px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.module-detail > p {
  /* max-width: 500px; */
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  text-wrap: pretty;
}

.module-detail .tag-row {
  margin-top: 13px;
}

.module-detail__connection {
  display: flex;
  gap: 7px;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-size: 8.5px;
  line-height: 1.5;
  margin-top: 20px;
}

.module-detail__connection .icon {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
  color: var(--violet-light);
}

/* =========================================================
   17. IMPLEMENTACIÓN
   ========================================================= */
.implementation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.impl-step {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(159, 30, 229, 0.07), transparent 55%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.038), rgba(255, 255, 255, 0.01));
}

.impl-step::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), transparent);
  opacity: 0.5;
}

.impl-step:nth-child(2)::after {
    background: linear-gradient(90deg, var(--green), transparent);
}
.impl-step:nth-child(3)::after {
    background: linear-gradient(90deg, var(--rose), transparent);
}
.impl-step:nth-child(4)::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.impl-step__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 25px;
}

.impl-num {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.26);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.impl-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.17);
  border-radius: 8px;
  background: rgba(159, 30, 229, 0.1);
  color: var(--violet-light);
}

.impl-icon--violet {
  color: #c6b2ff;
}

.impl-icon--gold {
  border-color: rgba(239, 211, 108, 0.16);
  background: var(--gold-soft);
  color: var(--gold);
}

.impl-icon--green {
  border-color: rgba(105, 225, 174, 0.16);
  background: var(--green-soft);
  color: var(--green);
}

.impl-icon--rose {
  border-color: rgba(225, 105, 205, 0.16);
  background: var(--rose-soft);
  color: var(--rose);
}


.impl-icon .icon {
  width: 14px;
  height: 14px;
}

.impl-step h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.impl-step p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 10px;
}

.impl-output {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.impl-output span {
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.impl-output strong {
  color: var(--text-soft);
  font-size: 11.5px;
  font-weight: 100;
  line-height: 1.4;
}

.implementation-band {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.85fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
  margin-top: 12px;
  padding: 17px 20px;
  border: 1px solid rgba(196, 144, 255, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(120deg, rgba(159, 30, 229, 0.12), rgba(35, 15, 174, 0.09)),
    rgba(255, 255, 255, 0.02);
}

.implementation-band__copy p {
  max-width: 540px;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
}

.implementation-band__copy strong {
  color: var(--text);
  font-weight: 500;
}

.implementation-checks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.implementation-checks span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}

.implementation-checks .icon {
  width: 10px;
  height: 10px;
  flex: none;
  color: var(--green);
  stroke-width: 2.4;
}

.implementation-band .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 10.5px;
}

/* =========================================================
   18. CIERRE
   ========================================================= */
.closing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(20px, 4vw, 70px);
}

.closing-copy {
  max-width: 710px;
}

.closing-title {
  margin-top: 3px;
  font-size: clamp(3.1rem, 5vw, 5rem);
  font-weight: 560;
  letter-spacing: -0.064em;
  line-height: 0.94;
}

.closing-title em {
  display: inline-block;
  padding-bottom: 0.08em;
}

.closing-lede {
  max-width: 540px;
  margin-top: 23px;
  color: var(--muted);
  font-size: clamp(13px, 1.15vw, 15px);
  line-height: 1.68;
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 29px;
}

.closing-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 26px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.closing-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 9px;
  transition: color 0.2s;
}

.closing-contact a:hover {
  color: var(--text);
}

.closing-contact .icon {
  width: 12px;
  height: 12px;
  color: var(--violet-light);
}

.closing-visual {
  position: relative;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.closing-ring {
  position: absolute;
  width: 460px;
  height: 460px;
  max-width: 94%;
  max-height: 94%;
  border: 1px solid rgba(196, 144, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.012),
    0 0 0 80px rgba(255, 255, 255, 0.007);
}

.closing-ring::after {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.invitation-card {
  position: relative;
  z-index: 1;
  width: min(520px, 94%);
  padding: 21px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(23, 26, 41, 0.96), rgba(9, 10, 17, 0.98));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
}

.invitation-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 144, 255, 0.7), transparent);
}

.invitation-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 17px;
}

.brand__mark--small {
  width: 33px;
  height: 33px;
  padding: 2px;
  border-radius: 9px;
}

.invitation-card h3 {
  max-width: 330px;
  margin: 5px 0 17px;
  font-size: 23px;
  font-weight: 560;
  letter-spacing: -0.038em;
  line-height: 1.1;
}

.invitation-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.invitation-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 13px;
}

.invitation-step:last-child {
  padding-bottom: 0;
}

.invitation-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 1px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(196, 144, 255, 0.35), rgba(255, 255, 255, 0.06));
  margin-top: 10px;
}

.invitation-step > span {
  width: 23px;
  height: 23px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid rgba(196, 144, 255, 0.23);
  border-radius: 50%;
  background: rgba(159, 30, 229, 0.1);
  color: var(--violet-light);
  font-family: var(--mono);
  font-size: 6.5px;
  margin-top: 5px;
}

.invitation-step strong {
  display: block;
  margin: 3px 0 1px;
  color: var(--text-soft);
  font-size: 13.5px;
  font-weight: 600;
}

.invitation-step small {
  display: block;
  color: var(--muted-low);
  font-size: 10px;
  line-height: 1.45;
}

.invitation-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 37px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.03em;
}

.invitation-card__foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.invitation-card__foot .icon {
  width: 10px;
  height: 10px;
}

.closing-wordmark {
  position: absolute;
  right: 0;
  bottom: -42px;
  left: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.035);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 0.9;
  pointer-events: none;
}

.closing-wordmark strong {
  font-family: var(--serif);
  font-size: 59px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.closing-footer {
  position: absolute;
  right: clamp(22px, 4.6vw, 72px);
  bottom: 94px;
  left: clamp(22px, 4.6vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* =========================================================
   19. DIÁLOGOS, ÍNDICE Y FORMULARIO
   ========================================================= */
.overlay-dialog {
  width: min(930px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 36px);
  max-height: calc(100svh - 36px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--text);
}

.overlay-dialog::backdrop {
  background: rgba(3, 4, 8, 0.74);
  backdrop-filter: blur(14px);
}

.overlay-dialog[open] .overlay-panel,
.overlay-dialog[open] .demo-panel {
  animation: dialog-in 0.45s var(--ease) both;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.overlay-panel,
.demo-panel {
  position: relative;
  max-height: calc(100vh - 36px);
  max-height: calc(100svh - 36px);
  overflow-y: auto;
  padding: clamp(22px, 3.5vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(80% 100% at 90% 0%, rgba(159, 30, 229, 0.11), transparent 50%),
    #0c0e17;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  scrollbar-width: thin;
}

.overlay-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.overlay-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.round-btn {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.round-btn:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(4deg);
}

.round-btn .icon {
  width: 16px;
  height: 16px;
}

.index-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.index-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--text);
  text-align: left;
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}

.index-item:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateX(2px);
}

.index-item.is-current {
  border-color: rgba(196, 144, 255, 0.25);
  background: rgba(159, 30, 229, 0.1);
}

.index-item__num {
  width: 24px;
  color: var(--muted-low);
  font-family: var(--mono);
  font-size: 8px;
}

.index-item.is-current .index-item__num {
  color: var(--violet-light);
}

.index-item__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.index-item__copy span {
  color: var(--muted-low);
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.index-item__copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.index-item__dot {
  width: 5px;
  height: 5px;
  margin-left: auto;
  border-radius: 50%;
  background: transparent;
}

.index-item.is-current .index-item__dot {
  background: var(--violet-light);
  box-shadow: 0 0 7px rgba(196, 144, 255, 0.7);
}

.overlay-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--muted-low);
  font-size: 8px;
}

.overlay-foot span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.demo-dialog {
  width: min(880px, calc(100% - 28px));
}

.demo-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}

.demo-panel__head h2 {
  margin: 3px 0 7px;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 560;
  letter-spacing: -0.052em;
  line-height: 1;
}

.demo-panel__head p {
  max-width: 550px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.demo-form {
  display: block;
}

.demo-form[hidden] {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field > span {
  color: var(--text-soft);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.015em;
}

.field > span small {
  color: var(--muted-low);
  font-size: 8px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 11px;
  outline: 0;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-low);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(196, 144, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(159, 30, 229, 0.1);
}

.field select {
  appearance: none;
  padding-right: 34px;
  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='%23a5a2b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  color-scheme: dark;
}

.field textarea {
  resize: vertical;
  min-height: 70px;
  max-height: 130px;
  line-height: 1.5;
}

.field--full {
  margin-top: 13px;
}

.field input[type="date"] {
  color-scheme: dark;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.form-note {
  max-width: 460px;
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted-low);
  font-size: 8px;
  line-height: 1.55;
}

.form-note .icon {
  width: 12px;
  height: 12px;
  flex: none;
  margin-top: 1px;
}

.demo-success[hidden] {
  display: none;
}

.demo-success {
  animation: rise-in 0.45s var(--ease) both;
}

.success-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid rgba(105, 225, 174, 0.26);
  border-radius: 50%;
  background: rgba(105, 225, 174, 0.09);
  color: var(--green);
  box-shadow: 0 0 35px rgba(105, 225, 174, 0.12);
}

.success-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.demo-success h3 {
  margin: 3px 0 7px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 560;
  letter-spacing: -0.04em;
}

.demo-success > p {
  max-width: 540px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.request-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 19px 0;
}

.summary-item {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.summary-item span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted-low);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.summary-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-soft);
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.success-note {
  margin-top: 13px;
  color: var(--muted-low);
  font-size: 8px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  z-index: 250;
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgba(18, 21, 33, 0.96);
  color: var(--text-soft);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.25s, transform 0.3s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================================================
   20. AJUSTES POR ALTURA
   ========================================================= */
@media (max-height: 950px) and (min-width: 901px) {
  .slide--automation .slide-inner {
    padding-top: 86px;
    padding-bottom: 80px;
  }

  .slide--automation .interaction-note {
    margin-top: 10px;
  }
}

@media (min-width: 768px) {
  .benefits-head-right {
    margin-left: 0px;
  }
}

@media (min-width: 901px) {
  .slide-inner {
    padding-top: 86px;
    padding-bottom: 84px;
  }
  
  .benefits-head-right {
    margin-left: -120px;
  }
  .slide-signature {
    top: 88px;
  }

  .hero-title {
    font-size: clamp(3.3rem, 5.6vw, 5.1rem);
  }

  .hero-lede {
    margin-top: 21px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .channel-line {
    margin-top: 24px;
  }

  .hero-visual {
    min-height: 490px;
  }

  .hero-app {
    width: min(500px, 94%);
  }

  .slide-head {
    margin-bottom: 20px;
  }

  .kicker {
    margin-bottom: 13px;
  }

  .slide-title {
    font-size: clamp(2.4rem, 3.3vw, 3.1rem);
  }

  .pain-card {
    min-height: 139px;
    padding: 17px;
  }

  .crm-app {
    min-height: 360px;
  }

  .crm-side {
    padding-top: 10px;
  }

  .crm-nav {
    margin-top: 10px;
  }

  .crm-nav__item {
    min-height: 38px;
  }

  .crm-main {
    padding-top: 11px;
  }

  .crm-metrics {
    margin-top: 9px;
  }

  .journey-tab {
    min-height: 51px;
  }

  .journey-panel {
    min-height: 312px;
    padding: 21px;
  }

  .record-card {
    padding: 15px;
  }

  .record-grid {
    padding: 10px 0;
  }

  .record-note {
    margin: 9px 0;
  }

  .automation-layout {
    min-height: 370px;
  }

  .workflow,
  .chat-demo {
    min-height: 368px;
  }

  .flow-node {
    min-height: 40px;
  }

  .flow-node:not(:last-child) {
    margin-bottom: 12px;
  }

  .flow-node:not(:last-child)::after {
    height: 11px;
  }

  .workflow__head {
    padding: 11px 15px;
  }

  .workflow__canvas {
    padding: 7px 17px;
  }

  .inbox-body {
    min-height: 300px;
  }

  .inbox-window__bar {
    height: 48px;
  }

  .benefit-visual .panel-window {
    padding: 12px;
  }

  .task-item {
    padding: 6px 7px;
  }

  .module-card {
    min-height: 82px;
    padding: 12px;
  }

  .module-detail {
    padding: 19px;
  }

  .module-detail__art {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
  }

  .module-detail__icon {
    width: 46px;
    height: 46px;
  }

  .impl-step {
    min-height: 210px;
    padding: 14px;
  }

  .impl-step__top {
    margin-bottom: 17px;
  }

  .implementation-band {
    padding: 13px 17px;
    margin-top: 20px;
  }

  .closing-title {
    font-size: clamp(2.9rem, 4.5vw, 4.4rem);
  }

  .closing-lede {
    margin-top: 17px;
    font-size: 13px;
  }

  .closing-actions {
    margin-top: 22px;
  }

  .closing-contact {
    margin-top: 18px;
    padding-top: 13px;
  }

  .invitation-card {
    padding: 17px;
    /* padding-block: 37px; */
  }

  .invitation-card h3 {
    margin-bottom: 13px;
    font-size: 21px;
  }

  .closing-footer {
    bottom: 82px;
  }

  .slide--journey .slide-head {
    margin-bottom: 14px;
  }

  .slide--journey .journey-tabs {
    margin-bottom: 8px;
  }

  .slide--journey .journey-tab {
    min-height: 47px;
  }

  .slide--journey .record-card__foot {
    display: none;
  }

  .inbox-window__title strong{
    font-size: 20px;
  }

  .slide--channels .inbox-window__bar {
    height: 65px;
  }

  .slide--channels .channel-filters {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .slide--channels .inbox-window__foot {
    display: none;
  }

  .slide--channels .inbox-body {
    min-height: 281px;
  }

  .slide--automation .interaction-note {
    margin-top: 5px;
  }
}

/* =========================================================
   21. RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .topbar__deck {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr auto;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }

  .hero-title {
    font-size: clamp(3.3rem, 6vw, 5rem);
  }

  .pain-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
    gap: 22px;
  }

  .solution-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
  }

  .solution-point {
    padding: 13px;
  }

  .crm-app {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .crm-side {
    padding-left: 5px;
    padding-right: 5px;
  }

  .benefits-layout {
    gap: 30px;
  }

  .channels-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(250px, 0.68fr);
  }

  .inbox-body {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .implementation-grid {
    gap: 6px;
  }

  .impl-step {
    padding: 14px;
  }
}

@media (max-width: 1020px) {
  .slide-inner {
    padding-top: 92px;
    padding-bottom: 94px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 8.6vw, 5.4rem);
  }

  .hero-visual {
    width: min(570px, 100%);
    min-height: 500px;
    margin: 0 auto;
    justify-content: center;
  }

  .hero-app {
    width: 100%;
    transform: none;
  }

  .float-card--lead {
    left: -3%;
  }

  .float-card--follow {
    right: -2%;
  }

  .pain-layout,
  .solution-layout,
  .channels-layout,
  .benefits-layout,
  .ecosystem-layout,
  .closing-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pain-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pain-card {
    min-height: 135px;
  }

  .chaos-board {
    max-width: none;
    margin: 0;
  }

  .solution-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .solution-quote {
    grid-column: 1 / -1;
  }

  .journey-layout {
    grid-template-columns: 1fr;
  }

  .record-card {
    min-height: 0;
  }

  .automation-layout {
    grid-template-columns: 1fr;
  }

  .workflow,
  .chat-demo {
    min-height: 0;
  }

  .workflow__canvas {
    min-height: 300px;
  }

  .chat-demo__thread {
    min-height: 220px;
    max-height: 300px;
  }

  .channels-layout {
    gap: 11px;
  }

  .channel-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .integration-note {
    grid-column: 1 / -1;
  }

  .benefits-layout {
    gap: 26px;
  }

  .benefits-copy {
    max-width: 680px;
  }

  .benefit-visual {
    max-width: 620px;
    width: 100%;
  }

  .ecosystem-layout {
    gap: 14px;
  }

  .module-detail {
    min-height: 0;
  }

  .module-detail__art {
    margin-top: 0;
  }

  .implementation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .impl-step {
    min-height: 205px;
  }

  .implementation-band {
    grid-template-columns: 1fr auto;
  }

  .implementation-checks {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  .closing-layout {
    gap: 36px;
    align-items: start;
  }

  .closing-copy {
    max-width: 720px;
  }

  .closing-visual {
    justify-content: flex-start;
    min-height: 430px;
    padding-left: 20px;
  }

  .closing-ring {
    left: 8%;
  }

  .closing-footer {
    display: none;
  }

  .slide-head--split,
  .slide-head--compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .slide-head--compact .slide-intro {
    max-width: 560px;
    padding-bottom: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

  .topbar {
    height: 68px;
    padding: 0 18px;
    background: linear-gradient(to bottom, rgba(7, 8, 15, 0.92), rgb(19 16 48 / 0%));
    backdrop-filter: blur(1.5px);
  }

  .brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand__text strong {
    font-size: 11px;
  }

  .brand__text span {
    font-size: 8px;
  }

  .tool-btn {
    height: 34px;
    padding: 0 10px;
    font-size: 9px;
  }

  .tool-btn--icon {
    width: 34px;
    padding: 0;
  }

  .tool-btn .icon {
    width: 15px;
    height: 15px;
  }

  .slide-inner {
    min-height: 100vh;
    min-height: 100svh;
    padding: 82px 18px 96px;
    justify-content: flex-start;
  }

  .slide-signature {
    display: none;
  }

  .slide-head {
    margin-bottom: 22px;
  }

  .slide-title {
    font-size: clamp(2.1rem, 8.2vw, 2.8rem);
    letter-spacing: -0.048em;
  }

  .slide-intro {
    font-size: 12px;
  }

  .slide-head .slide-intro.reveal {
    padding: 15px 16px 15px 40px;
    font-size: 14px;
  }

  .slide-head .slide-intro.reveal::before {
    top: 7px;
    left: 10px;
    font-size: 34px;
  }

  .kicker {
    margin-bottom: 14px;
    font-size: 9px;
  }

  .hero-title {
    font-size: clamp(2.9rem, 13vw, 4.2rem);
    letter-spacing: -0.062em;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 8px;
  }

  .hero-lede {
    margin-top: 20px;
    font-size: 13px;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .channel-line {
    margin-top: 24px;
    gap: 8px 12px;
    font-size: 8.5px;
  }

  .channel-line__label {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-app {
    width: 100%;
    border-radius: 16px;
  }

  .hero-ring {
    width: 85vw;
  }

  .float-card {
    display: none;
  }

  .hero-caption {
    right: 4%;
  }

  .pain-grid {
    grid-template-columns: 1fr;
  }

  .pain-card {
    min-height: 0;
    flex-direction: row;
    gap: 13px;
    padding: 16px;
  }

  .chaos-channels {
    grid-template-columns: 1fr;
  }

  .chaos-channel b {
    margin-left: auto;
  }

  .solution-points {
    grid-template-columns: 1fr;
  }

  .crm-app {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .crm-side {
    display: none;
  }

  .crm-main {
    padding: 12px;
  }

  .crm-toolbar__search {
    display: none;
  }

  .crm-pipeline {
    grid-template-columns: 1fr 1fr;
  }

  .crm-metric {
    padding: 8px;
  }

  .crm-metric strong {
    font-size: 17px;
  }

  .crm-metric:nth-child(3) {
    display: none;
  }

  .crm-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .journey-tabs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .journey-tab {
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-height: 50px;
    padding: 6px 3px;
    text-align: center;
  }

  .journey-tab__num {
    font-size: 6.5px;
  }

  .journey-tab__copy {
    align-items: center;
  }

  .journey-tab__copy strong {
    font-size: 9px;
  }

  .journey-tab__copy small {
    display: none;
  }

  .journey-tab__dot {
    bottom: 3px;
    width: 12px;
    height: 1px;
  }

  .journey-panel {
    min-height: 0;
    padding: 20px;
  }

  .journey-panel h3 {
    font-size: 23px;
  }

  .record-card {
    padding: 15px;
  }

  .automation-tabs {
    border-radius: 11px;
  }

  .automation-tab {
    flex: 0 0 auto;
  }

  .workflow__canvas {
    min-height: 285px;
    padding: 8px 12px;
  }

  .flow-node {
    grid-template-columns: 27px minmax(0, 1fr);
    min-height: 43px;
  }

  .flow-node__type {
    display: none;
  }

  .workflow {
    border-radius: 17px;
  }

  .chat-demo {
    border-radius: 17px;
  }

  .thread__messages {
    min-height: 240px;
  }

  .inbox-window__bar {
    padding: 0 12px;
  }

  .channel-filters {
    padding: 7px 10px;
  }

  .inbox-body {
    grid-template-columns: 1fr;
  }

  .conv-list {
    flex-direction: row;
    gap: 4px;
    max-height: 78px;
    padding: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    overflow: auto hidden;
  }

  .conv-item {
    flex: 0 0 205px;
    margin-top: 0 !important;
  }

  .conv-meta {
    display: none;
  }

  .thread {
    min-height: 350px;
  }

  .inbox-window__foot span:last-child {
    display: none;
  }

  .channel-benefits {
    grid-template-columns: 1fr;
  }

  .integration-note {
    grid-column: auto;
  }

  .benefits-head-right {
    order: 2;
    margin: 0;
  }

  .audience-toggle {
    width: 100%;
  }

  .audience-btn {
    flex: 1;
  }

  .benefits-list {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .benefits-copy > h3 {
    font-size: 28px;
  }

  .module-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .module-card {
    min-height: 77px;
  }

  .module-detail {
    min-height: 430px;
  }

  .implementation-grid {
    grid-template-columns: 1fr;
  }

  .impl-step {
    min-height: 0;
    padding: 17px;
  }

  .impl-step__top {
    margin-bottom: 15px;
  }

  .impl-output {
    margin-top: 15px;
  }

  .implementation-band {
    grid-template-columns: 1fr;
    padding: 17px;
  }

  .implementation-band .btn {
    width: 100%;
    min-height: 45px;
  }

  .implementation-checks {
    grid-column: auto;
    grid-row: auto;
  }

  .closing-title {
    font-size: clamp(2.7rem, 12.6vw, 4rem);
  }

  .closing-actions {
    gap: 8px;
  }

  .closing-actions .btn {
    flex: 1 1 100%;
  }

  .closing-contact {
    gap: 10px 15px;
  }

  .closing-visual {
    min-height: 0;
    padding-left: 0;
  }

  .closing-ring {
    width: 340px;
    height: 340px;
    left: 50%;
    transform: translateX(-50%);
  }

  .invitation-card {
    width: 100%;
  }

  .closing-wordmark {
    display: none;
  }

  .deck-footer {
    height: 74px;
    padding: 0 18px;
  }

  .deck-meta__title {
    display: none;
  }

  .keyboard-hint {
    display: none;
  }

  .nav-btn {
    width: 41px;
    height: 41px;
  }

  .slide-head--split,
  .slide-head--compact {
    display: grid;
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .overlay-dialog {
    width: calc(100% - 18px);
    max-height: calc(100vh - 18px);
    max-height: calc(100svh - 18px);
  }

  .overlay-panel,
  .demo-panel {
    max-height: calc(100vh - 18px);
    max-height: calc(100svh - 18px);
    padding: 21px;
    border-radius: 22px;
  }

  .index-list,
  .form-grid,
  .request-summary {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .success-actions .btn {
    flex: 1 1 100%;
  }

  .overlay-foot {
    gap: 10px;
  }

  .demo-panel__head {
    gap: 12px;
  }

  .demo-panel__head p {
    font-size: 10px;
  }

  .toast {
    bottom: 87px;
    width: max-content;
    font-size: 9px;
  }
}

@media (max-width: 420px) {
  .brand__text span {
    display: none;
  }

  .brand__text strong {
    max-width: 115px;
    white-space: normal;
    line-height: 1.15;
  }

  .tool-btn span {
    display: none;
  }

  .tool-btn {
    width: 34px;
    padding: 0;
    justify-content: center;
  }

  .hero-title {
    font-size: 2.75rem;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat:nth-child(3) {
    display: none;
  }

  .hero-board {
    grid-template-columns: 1fr 1fr;
  }

  .hero-col:nth-child(3) {
    display: none;
  }

  .crm-pipeline {
    grid-template-columns: 1fr;
  }

  .crm-col:nth-child(n + 3) {
    display: none;
  }

  .crm-col:first-child .crm-card--compact {
    display: none;
  }

  .journey-panel,
  .record-card {
    padding: 16px;
  }

  .record-grid {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .record-person h3 {
    font-size: 14px;
  }

  .benefit-visual {
    min-width: 0;
  }

  .panel-window {
    padding: 11px;
  }

  .manager-top {
    grid-template-columns: 1fr 1fr;
  }

  .manager-metric:nth-child(3) {
    display: none;
  }

  .inbox-window__title small {
    display: none;
  }

  .channel-filters {
    padding-left: 8px;
  }

  .filter-chip {
    padding: 0 8px;
  }

  .inbox-body {
    min-height: 320px;
  }
}

/* =========================================================
   22. MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.record-card--ghl .timeline__item.is-current span strong {
    font-size: 15px;
}

.conv-channel .icon {
    width: 20px;
    height: 20px;
    position: absolute;
    left: 35px;
    margin-bottom: -15px;
    background: white;
    border-radius: 15px;
    padding: 2px;
}

/* =========================================================
   23. MOCKUPS REALISTAS · INTERFAZ CLARA TIPO CRM
   ========================================================= */
.record-card--ghl,
.panel-window--ghl,
.chat-demo--ghl,
.inbox-window--ghl {
  --ghl-bg: #ffffff;
  --ghl-surface: #f8fafc;
  --ghl-surface-2: #f2f5f9;
  --ghl-ink: #101828;
  --ghl-ink-2: #344054;
  --ghl-muted: #667085;
  --ghl-muted-2: #98a2b3;
  --ghl-border: #e4e7ec;
  --ghl-border-strong: #d0d5dd;
  --ghl-blue: #1570ef;
  --ghl-blue-ink: #175cd3;
  --ghl-blue-soft: #eff8ff;
  --ghl-blue-line: #b2ddff;
  --ghl-green: #12b76a;
  --ghl-green-soft: #ecfdf3;
  --ghl-gold: #f79009;
  --ghl-gold-soft: #fffaeb;
  --ghl-purple: #7a5af8;
}

.mini-avatar--violet {
  background: linear-gradient(145deg, #5b3bc1, #8c6df2);
}

/* ---------- Ficha de contacto clara ---------- */
.record-card--ghl {
  color: var(--ghl-ink);
  border-color: var(--ghl-border-strong);
  border-radius: 16px;
  background: var(--ghl-bg);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.record-card--ghl::before {
  left: 8%;
  right: 8%;
  background: linear-gradient(90deg, transparent, var(--ghl-blue-line), transparent);
}

.record-card--ghl .record-card__head {
  border-bottom-color: var(--ghl-border);
}

.record-card--ghl .micro-label {
  color: var(--ghl-muted);
}

.record-card--ghl .record-person h3 {
  color: var(--ghl-ink);
}

.record-card--ghl .record-person small {
  color: var(--ghl-muted);
}

.record-card--ghl .record-avatar {
  color: #fff;
  box-shadow: none;
}

.record-card--ghl .stage-badge {
  border-color: var(--ghl-blue-line);
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue-ink);
}

.record-card--ghl .stage-badge--won {
  border-color: #abefc6;
  background: var(--ghl-green-soft);
  color: #067647;
}

.record-card--ghl .record-grid {
  border-bottom-color: var(--ghl-border);
}

.record-card--ghl .record-field strong {
  font-size: 10px;
}

.record-card--ghl .record-field span {
  font-size: 7.8px;
}

.record-card--ghl .record-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 9px 0;
  border-bottom: 1px solid var(--ghl-border);
}

.record-card--ghl .record-tags span {
  padding: 3px 7px;
  border-radius: 4px;
  background: #f4f3ff;
  color: #5925dc;
  font-size: 7px;
  line-height: 1.4;
}

.record-card--ghl .record-tags span:nth-child(2) {
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue-ink);
}

.record-card--ghl .record-tags span:nth-child(3) {
  background: var(--ghl-green-soft);
  color: #067647;
}

.record-card--ghl .record-field span {
  color: var(--ghl-muted);
}

.record-card--ghl .record-field strong {
  color: var(--ghl-ink-2);
}

.record-card--ghl .record-note {
  border-color: var(--ghl-border);
  background: var(--ghl-surface);
}

.record-card--ghl .record-note__icon {
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue);
}

.record-card--ghl .record-note span {
  color: var(--ghl-muted);
}

.record-card--ghl .record-note p {
  color: var(--ghl-ink-2);
}

.record-card--ghl .record-activity__head {
  color: var(--ghl-ink-2);
}

.record-card--ghl .record-activity__head small {
  color: var(--ghl-muted-2);
}

.record-card--ghl .timeline__item::before {
  background: var(--ghl-border);
}

.record-card--ghl .timeline__item i {
  border-color: #cbd5e1;
  background: #fff;
}

.record-card--ghl .timeline__item.is-current i {
  border-color: var(--ghl-blue);
  background: var(--ghl-blue);
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.12);
}

.record-card--ghl .timeline__item strong {
  color: var(--ghl-ink-2);
}

.record-card--ghl .timeline__item small {
  color: var(--ghl-muted);
}

.record-card--ghl .record-card__foot {
  border-top-color: var(--ghl-border);
  color: var(--ghl-muted);
}

/* ---------- Conversación de automatización clara ---------- */
.chat-demo--ghl {
  color: var(--ghl-ink);
  border-color: var(--ghl-border-strong);
  border-radius: 16px;
  background: var(--ghl-bg);
  box-shadow: 0 24px 65px rgba(0, 0, 0, 0.33);
}

.chat-demo--ghl .chat-demo__head {
  border-bottom-color: var(--ghl-border);
  background: #fff;
}

.chat-demo--ghl .chat-demo__person strong {
  color: var(--ghl-ink);
}

.chat-demo--ghl .chat-demo__person small {
  color: var(--ghl-muted);
}

.chat-demo--ghl .chat-stage {
  border-color: var(--ghl-border);
  background: var(--ghl-surface);
  color: var(--ghl-muted);
}

.chat-demo--ghl .chat-demo__thread {
  background:
    radial-gradient(75% 80% at 85% 15%, rgba(21, 112, 239, 0.035), transparent 55%),
    var(--ghl-surface);
}

.chat-demo--ghl .msg {
  box-shadow: none;
}

.chat-demo--ghl .msg--in {
  border: 1px solid var(--ghl-border);
  background: #fff;
  color: var(--ghl-ink-2);
}

.chat-demo--ghl .msg--out {
  border: 1px solid #cfe6ff;
  background: #eaf4ff;
  color: #1849a9;
}

.chat-demo--ghl .msg__meta {
  color: var(--ghl-muted-2);
  opacity: 1;
}

.chat-demo--ghl .msg__badge,
.chat-demo--ghl .msg--out .msg__badge {
  color: var(--ghl-blue-ink);
}

.chat-demo--ghl .msg--system {
  border-color: var(--ghl-border-strong);
  background: #fff;
  color: var(--ghl-muted);
}

.chat-demo--ghl .msg--system .icon {
  color: var(--ghl-blue);
}

.chat-demo--ghl .chat-demo__result {
  border-color: #abefc6;
  background: var(--ghl-green-soft);
}

.chat-demo--ghl .chat-demo__result > span {
  background: #d1fadf;
  color: #067647;
}

.chat-demo--ghl .chat-demo__result small {
  color: var(--ghl-muted);
}

.chat-demo--ghl .chat-demo__result strong {
  color: #05603a;
}

.chat-demo--ghl .chat-demo__composer {
  border-color: var(--ghl-border);
  background: #fff;
  color: var(--ghl-muted-2);
}

.chat-demo--ghl .chat-demo__send {
  background: var(--ghl-blue);
  color: #fff;
}

/* ---------- Paneles de ventas y gerencia claros ---------- */
.panel-window--ghl {
  color: var(--ghl-ink);
  border-color: var(--ghl-border-strong);
  border-radius: 16px;
  background: var(--ghl-bg);
  box-shadow: 0 26px 65px rgba(0, 0, 0, 0.34);
}

.panel-window--ghl::before {
  background: linear-gradient(90deg, transparent, var(--ghl-blue-line), transparent);
}

.panel-window--ghl .panel-window__bar {
  border-bottom-color: var(--ghl-border);
}

.panel-window--ghl .micro-label {
  color: var(--ghl-muted);
}

.panel-window--ghl .panel-window__bar strong {
  color: var(--ghl-ink);
}

.panel-window--ghl .demo-pill {
  border-color: var(--ghl-border);
  background: var(--ghl-surface);
  color: var(--ghl-muted);
}

.panel-window--ghl .agent-profile {
  border-color: var(--ghl-border);
  background: var(--ghl-surface);
}

.panel-window--ghl .agent-profile strong {
  color: var(--ghl-ink);
}

.panel-window--ghl .agent-profile small {
  color: var(--ghl-muted);
}

.panel-window--ghl .task-item {
  border-color: var(--ghl-border);
  background: #fff;
}

.panel-window--ghl .task-item--urgent {
  border-color: #fedf89;
  background: var(--ghl-gold-soft);
}

.panel-window--ghl .task-item--done {
  opacity: 1;
  background: var(--ghl-surface);
}

.panel-window--ghl .task-item strong {
  color: var(--ghl-ink-2);
}

.panel-window--ghl .task-item small {
  color: var(--ghl-muted);
}

.panel-window--ghl .task-check {
  border-color: var(--ghl-border-strong);
  background: #fff;
}

.panel-window--ghl .task-item--done .task-check {
  border-color: #abefc6;
  background: var(--ghl-green-soft);
  color: #067647;
}

.panel-window--ghl .task-item--done strong {
  text-decoration-color: var(--ghl-muted-2);
  color: var(--ghl-muted);
}

.panel-window--ghl .task-badge {
  background: #fef0c7;
  color: #b54708;
}

.panel-window--ghl .task-time {
  color: var(--ghl-muted-2);
}

.panel-window--ghl .next-step-card {
  border-color: var(--ghl-blue-line);
  background: var(--ghl-blue-soft);
}

.panel-window--ghl .next-step-card__icon {
  background: #d1e9ff;
  color: var(--ghl-blue-ink);
}

.panel-window--ghl .next-step-card small {
  color: var(--ghl-muted);
}

.panel-window--ghl .next-step-card strong {
  color: var(--ghl-ink-2);
}

.panel-window--ghl .next-step-card__arrow {
  color: var(--ghl-blue);
}

.panel-window--ghl .panel-caption {
  color: var(--ghl-muted-2);
}

.panel-window--ghl .signal {
  color: #067647;
}

/* Informe gerencial */
.panel-window--report {
  padding: 14px;
}

.report-bar {
  align-items: center;
}

.report-period {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid var(--ghl-border);
  border-radius: 6px;
  background: var(--ghl-surface);
  color: var(--ghl-muted);
  font-size: 7px;
  white-space: nowrap;
}

.report-period .icon {
  width: 10px;
  height: 10px;
}

.report-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0 7px;
}

.report-kpi {
  min-width: 0;
  padding: 9px 9px 8px;
  border: 1px solid var(--ghl-border);
  border-radius: 8px;
  background: #fff;
}

.report-kpi > span {
  display: block;
  color: var(--ghl-muted);
  font-size: 7px;
}

.report-kpi strong {
  display: block;
  margin: 3px 0 2px;
  color: var(--ghl-ink);
  font-size: 24px;
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1;
}

.report-kpi small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ghl-muted);
  font-size: 6.3px;
}

.report-kpi--alert {
  border-color: #fedf89;
}

.report-dot {
  width: 5px;
  height: 5px;
  flex: none;
  display: inline-block;
  border-radius: 50%;
  background: var(--ghl-blue);
}

.report-dot--blue,
.report-dot--wa {
  background: #2e90fa;
}

.report-dot--green {
  background: var(--ghl-green);
}

.report-dot--gold {
  background: var(--ghl-gold);
}

.report-dot--ig {
  background: #ee46bc;
}

.report-dot--tk {
  background: #06aed4;
}

.report-dot--ms {
  background: var(--ghl-purple);
}

.report-main {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 7px;
}

.report-card {
  min-width: 0;
  padding: 9px;
  border: 1px solid var(--ghl-border);
  border-radius: 8px;
  background: #fff;
}

.report-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.report-card__head strong {
  color: var(--ghl-ink-2);
  font-size: 7.5px;
  font-weight: 600;
}

.report-card__head span {
  color: var(--ghl-muted-2);
  font-size: 6px;
}

.report-channels {
  display: flex;
  align-items: center;
  gap: 9px;
}

.report-donut {
  position: relative;
  width: 80px;
  height: 80px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    #2e90fa 0 56%,
    #7a5af8 56% 78%,
    #12b76a 78% 89%,
    #f79009 89% 100%
  );
}

.report-donut::before {
  content: "";
  position: absolute;
  inset: 11px;
  border-radius: 50%;
  background: #fff;
}

.report-donut > div {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
}

.report-donut strong {
  color: var(--ghl-ink);
  font-size: 17px;
  font-weight: 560;
  letter-spacing: -0.04em;
}

.report-donut small {
  margin-top: 2px;
  color: var(--ghl-muted);
  font-size: 5.5px;
}

.report-legend {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.report-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ghl-muted);
  font-size: 6.3px;
  white-space: nowrap;
}

.report-legend b {
  margin-left: auto;
  color: var(--ghl-ink-2);
  font-size: 6.3px;
  font-weight: 600;
}

.report-team {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.report-team__row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.report-team__row .mini-avatar {
  width: 17px;
  height: 17px;
  font-size: 4.5px;
}

.report-team__row > div {
  min-width: 68px;
}

.report-team__row strong {
  display: block;
  color: var(--ghl-ink-2);
  font-size: 6.5px;
  font-weight: 500;
}

.report-team__row small {
  display: block;
  color: var(--ghl-muted);
  font-size: 5.5px;
}

.report-load {
  flex: 1;
  height: 4px;
  overflow: hidden;
  border-radius: 9px;
  background: #eaecf0;
}

.report-load i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2e90fa;
}

.report-insight {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 7px;
  padding: 7px 9px;
  border: 1px solid var(--ghl-border);
  border-radius: 7px;
  background: var(--ghl-surface);
}

.report-insight__icon {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue);
}

.report-insight__icon .icon {
  width: 11px;
  height: 11px;
}

.report-insight small {
  display: block;
  color: var(--ghl-muted);
  font-size: 5.8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-insight strong {
  display: block;
  color: var(--ghl-ink-2);
  font-size: 7.3px;
  font-weight: 500;
}

/* ---------- Bandeja de entrada realista ---------- */
.inbox-window--ghl {
  height: 468px;
  min-height: 468px;
  color: var(--ghl-ink);
  border-color: var(--ghl-border-strong);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.ghl-appbar {
  min-height: 45px;
  flex: none;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 13px;
  border-bottom: 1px solid var(--ghl-border);
  background: #fff;
}

.ghl-appbar__brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.ghl-brand-mark {
  width: 25px;
  height: 25px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, #3c2a86, #7a5af8);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.ghl-appbar__workspace {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ghl-appbar__workspace strong {
  color: var(--ghl-ink);
  font-size: 8.3px;
  font-weight: 600;
  white-space: nowrap;
}

.ghl-appbar__workspace small {
  color: var(--ghl-muted-2);
  font-size: 6.2px;
  white-space: nowrap;
}

.ghl-appbar__tabs {
  flex: 1;
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: 13px;
  min-width: 0;
  overflow: hidden;
}

.ghl-appbar__tabs span {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--ghl-muted);
  font-size: 7.4px;
  white-space: nowrap;
}

.ghl-appbar__tabs span.is-active {
  color: var(--ghl-blue-ink);
  font-weight: 600;
}

.ghl-appbar__tabs span.is-active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--ghl-blue);
}

.ghl-appbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ghl-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #067647;
  font-size: 6.3px;
  white-space: nowrap;
}

.ghl-live i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ghl-green);
  box-shadow: 0 0 0 3px rgba(18, 183, 106, 0.12);
}

.ghl-user {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d1e9ff;
  color: var(--ghl-blue-ink);
  font-size: 6.5px;
  font-weight: 700;
}

.ghl-workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

.ghl-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 7px 5px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  background: #111d33;
  overflow: hidden;
}

.ghl-rail__item {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border-radius: 6px;
  color: #8fa0bd;
  font-size: 5.8px;
  line-height: 1;
}

.ghl-rail__item .icon {
  width: 13px;
  height: 13px;
  stroke-width: 1.7;
}

.ghl-rail__item.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.ghl-content {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.ghl-content__head {
  min-height: 42px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 11px;
  border-bottom: 1px solid var(--ghl-border);
}

.ghl-content__heading {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.ghl-content__heading strong {
  color: var(--ghl-ink);
  font-size: 9.5px;
  font-weight: 600;
}

.ghl-content__heading small {
  color: var(--ghl-muted-2);
  font-size: 6.3px;
}

.ghl-content__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ghl-connection {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 2px;
  color: #067647;
  font-size: 6.2px;
  white-space: nowrap;
}

.ghl-connection i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ghl-green);
}

.ghl-tool {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ghl-border);
  border-radius: 5px;
  color: var(--ghl-muted);
}

.ghl-tool .icon {
  width: 10px;
  height: 10px;
}

.inbox-window--ghl .channel-filters {
  padding: 6px 10px;
  border-bottom-color: var(--ghl-border);
  background: #fff;
  display: none;
}

.inbox-window--ghl .filter-chip {
  height: 23px;
  border-color: var(--ghl-border);
  background: var(--ghl-surface);
  color: var(--ghl-muted);
  font-size: 7px;
}

.inbox-window--ghl .filter-chip .icon {
  width: 9px;
  height: 9px;
}

.inbox-window--ghl .filter-chip:hover {
  border-color: var(--ghl-border-strong);
  color: var(--ghl-ink-2);
}

.inbox-window--ghl .filter-chip.is-active {
  border-color: var(--ghl-blue-line);
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue-ink);
}

.inbox-window--ghl .inbox-body {
  flex: 1;
  min-height: 0;
  grid-template-columns: 208px minmax(0, 1fr) 168px;
}

.inbox-window--ghl .conv-list {
  padding: 5px;
  border-right-color: var(--ghl-border);
  background: #fff;
}

.inbox-window--ghl .conv-item {
  grid-template-columns: 27px minmax(0, 1fr) auto;
  gap: 7px;
  padding: 7px 6px;
  border: 1px solid transparent;
  border-left: 2px solid transparent;
  border-radius: 6px;
  color: var(--ghl-ink);
}

.inbox-window--ghl .conv-item + .conv-item {
  margin-top: 1px;
}

.inbox-window--ghl .conv-item:hover {
  background: var(--ghl-surface);
}

.inbox-window--ghl .conv-item.is-active {
  border-color: #d1e9ff;
  border-left-color: var(--ghl-blue);
  background: var(--ghl-blue-soft);
}

.inbox-window--ghl .conv-avatar {
  width: 27px;
  height: 27px;
  font-size: 6.5px;
}

.inbox-window--ghl .conv-copy strong {
  color: var(--ghl-ink);
  font-size: 10px;
  font-weight: 600;
}

.inbox-window--ghl .conv-copy small {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: 0;
  color: var(--ghl-muted);
  font-size: 8px;
  font-weight: 400;
}

.inbox-window--ghl .conv-channel {
  position: absolute;
  width: 10px;
  height: 10px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  opacity: 1;
  left: 23px;
  bottom: 3px;
  background: var(--ghl-bg);
  border-radius: 50%;
}

.inbox-window--ghl .conv-channel .icon {
  position: static;
  width: 12px;
  height: 12px;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  stroke-width: 1.9;
}

.inbox-window--ghl .conv-meta {
  gap: 3px;
}

.inbox-window--ghl .conv-meta time {
  color: var(--ghl-muted-2);
  font-size: 6.5px;
}

.inbox-window--ghl .conv-meta b {
  min-width: 15px;
  height: 15px;
  background: var(--ghl-blue);
  font-size: 7.2px;
  font-weight: 400;
}

.inbox-window--ghl .thread {
  min-height: 0;
  background: #fff;
}

.inbox-window--ghl .thread__head {
  height: 46px;
  padding: 0 10px;
  border-bottom-color: var(--ghl-border);
  background: #fff;
}

.inbox-window--ghl .thread-avatar {
  width: 27px;
  height: 27px;
  font-size: 6.5px;
}

.inbox-window--ghl .thread-person strong {
  color: var(--ghl-ink);
  font-size: 14px;
}

.inbox-window--ghl .thread-person small {
  color: var(--ghl-muted);
  font-size: 6.3px;
  display: none;
}

.inbox-window--ghl .thread-stage {
  border-color: var(--ghl-blue-line);
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue-ink);
  font-size: 5.8px;
}

.inbox-window--ghl .thread-head__icon {
  color: var(--ghl-muted-2);
}

.inbox-window--ghl .thread__messages {
  justify-content: flex-start;
  gap: 6px;
  padding: 10px;
  background: var(--ghl-surface);
}

.inbox-window--ghl .thread-day {
  align-self: center;
  margin: 0 0 2px;
  padding: 2px 6px;
  border: 1px solid var(--ghl-border);
  border-radius: 999px;
  background: #fff;
  color: var(--ghl-muted-2);
  font-size: 5.3px;
}

.inbox-window--ghl .thread .msg {
  max-width: 65%;
  padding: 7px 9px;
  border-radius: 8px;
  font-size: 8px;
  line-height: 1.48;
  box-shadow: none;
}

.inbox-window--ghl .thread .msg--in {
  border: 1px solid var(--ghl-border);
  border-bottom-left-radius: 3px;
  background: #fff;
  color: var(--ghl-ink-2);
}

.inbox-window--ghl .thread .msg--out {
  border: 1px solid #cfe6ff;
  border-bottom-right-radius: 3px;
  background: #eaf4ff;
  color: #1849a9;
}

.inbox-window--ghl .thread .msg--in , .inbox-window--ghl .thread .msg--out {
  font-size: 11px;
  font-weight:400;
}

.inbox-window--ghl .thread .msg__meta {
  margin-top: 4px;
  color: var(--ghl-muted-2);
  font-size: 5.6px;
  opacity: 1;
}

.inbox-window--ghl .thread .msg--system {
  max-width: 100%;
  border: 1px dashed var(--ghl-border-strong);
  background: #fff;
  color: var(--ghl-muted);
  font-size: 7px;
}

.inbox-window--ghl .thread .msg--system .icon {
  color: var(--ghl-blue);
}

.inbox-window--ghl .composer {
  margin: 0 9px 9px;
  padding: 4px 4px 4px 9px;
  border-color: var(--ghl-border);
  background: #fff;
}

.inbox-window--ghl .composer input {
  color: var(--ghl-ink);
  font-size: 12px;
}

.inbox-window--ghl .composer input::placeholder {
  color: var(--ghl-muted-2);
}

.inbox-window--ghl .composer__send {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--ghl-blue);
}

.inbox-window--ghl .composer__send:hover {
  background: var(--ghl-blue-ink);
}

.inbox-window--ghl .inbox-window__foot {
  min-height: 27px;
  border-top-color: var(--ghl-border);
  background: #fff;
  color: var(--ghl-muted-2);
  font-size: 5.6px;
}

/* Detalles del contacto */
.contact-panel {
  min-width: 0;
  padding: 9px;
  border-left: 1px solid var(--ghl-border);
  background: #fbfcfe;
  overflow-y: auto;
  scrollbar-width: thin;
}

.contact-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--ghl-border);
}

.contact-panel__head strong {
  color: var(--ghl-ink-2);
  font-size: 7.2px;
  font-weight: 600;
}

.contact-panel__close {
  color: var(--ghl-muted-2);
}

.contact-panel__close .icon {
  width: 10px;
  height: 10px;
}

.contact-panel__profile {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0 7px;
}

.contact-avatar {
  width: 29px;
  height: 29px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 6.5px;
  font-weight: 700;
}

.contact-panel__profile strong {
  display: block;
  color: var(--ghl-ink);
  font-size: 8.3px;
  font-weight: 600;
}

.contact-panel__profile small {
  display: block;
  color: var(--ghl-muted);
  font-size: 6.2px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 7px;
  padding: 2px 5px;
  border: 1px solid var(--ghl-border);
  border-radius: 4px;
  background: #fff;
  color: var(--ghl-muted);
  font-size: 6.2px;
  line-height: 1.3;
}

.contact-channel .icon {
  width: 8px;
  height: 8px;
}

.contact-field {
  padding: 5px 0;
  border-top: 1px solid var(--ghl-border);
}

.contact-field span {
  display: block;
  margin-bottom: 1px;
  color: var(--ghl-muted-2);
  font-size: 5.7px;
  letter-spacing: 0.02em;
}

.contact-field strong {
  display: block;
  overflow: hidden;
  color: var(--ghl-ink-2);
  font-size: 6.9px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-owner {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 0;
  border-top: 1px solid var(--ghl-border);
}

.contact-owner .mini-avatar {
  width: 18px;
  height: 18px;
  font-size: 4.6px;
}

.contact-owner small {
  display: block;
  color: var(--ghl-muted-2);
  font-size: 5.7px;
}

.contact-owner strong {
  display: block;
  color: var(--ghl-ink-2);
  font-size: 6.8px;
  font-weight: 500;
}

.contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 6px 0;
  border-top: 1px solid var(--ghl-border);
}

.contact-tags span {
  padding: 2px 5px;
  border-radius: 4px;
  background: #f4f3ff;
  color: #5925dc;
  font-size: 5.6px;
  line-height: 1.4;
}

.contact-tags span:nth-child(2) {
  background: var(--ghl-blue-soft);
  color: var(--ghl-blue-ink);
}

.contact-opportunity {
  margin-top: 3px;
  padding: 7px;
  border: 1px solid var(--ghl-blue-line);
  border-radius: 6px;
  background: var(--ghl-blue-soft);
}

.contact-opportunity > span {
  display: block;
  color: var(--ghl-muted);
  font-size: 5.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-opportunity > strong {
  display: block;
  margin: 1px 0 3px;
  color: var(--ghl-ink-2);
  font-size: 7.2px;
  font-weight: 600;
}

.contact-opportunity small {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ghl-blue-ink);
  font-size: 6px;
}

.contact-opportunity small i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ghl-blue);
}

/* ---------- Ajustes responsive de los nuevos mockups ---------- */
@media (max-width: 1180px) and (min-width: 861px) {
  .inbox-window--ghl .inbox-body {
    grid-template-columns: 192px minmax(0, 1fr) 155px;
  }

  .ghl-appbar {
    gap: 10px;
  }

  .ghl-appbar__tabs {
    gap: 9px;
  }

  .ghl-appbar__tabs span {
    font-size: 6.9px;
  }
}

@media (max-width: 1020px) {
  .inbox-window--ghl {
    height: 446px;
    min-height: 446px;
  }

  .inbox-window--ghl .inbox-body {
    grid-template-columns: 198px minmax(0, 1fr) 158px;
  }

  .report-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .inbox-window--ghl {
    height: auto;
    min-height: 0;
    border-radius: 14px;
  }

  .ghl-appbar {
    min-height: 43px;
    padding: 0 10px;
  }

  .ghl-appbar__tabs {
    display: none;
  }

  .ghl-live {
    display: none;
  }

  .ghl-workspace {
    display: block;
  }

  .ghl-rail {
    display: none;
  }

  .ghl-content__head {
    min-height: 40px;
    padding: 0 10px;
  }

  .inbox-window--ghl .channel-filters {
    padding: 6px 8px;
  }

  .inbox-window--ghl .inbox-body {
    display: block;
    min-height: 0;
  }

  .inbox-window--ghl .contact-panel {
    display: none;
  }

  .inbox-window--ghl .conv-list {
    flex-direction: row;
    gap: 4px;
    max-height: 79px;
    padding: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--ghl-border);
    overflow: auto hidden;
  }

  .inbox-window--ghl .conv-item {
    flex: 0 0 205px;
    margin-top: 0;
  }

  .inbox-window--ghl .thread {
    min-height: 360px;
  }

  .inbox-window--ghl .thread__messages {
    min-height: 240px;
  }

  .inbox-window--ghl .inbox-window__foot {
    display: flex;
    padding: 0 10px;
  }

  .inbox-window--ghl .inbox-window__foot span:last-child {
    display: none;
  }

  .panel-window--ghl {
    padding: 12px;
  }

  .panel-window--report {
    padding: 12px;
  }

  .report-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .report-kpi:nth-child(3) {
    grid-column: 1 / -1;
  }

  .report-main {
    grid-template-columns: 1fr;
  }

  .report-channels {
    justify-content: flex-start;
  }

  .report-donut {
    width: 76px;
    height: 76px;
  }

  .report-team__row > div {
    min-width: 88px;
  }

  .chat-demo--ghl {
    border-radius: 17px;
  }
}

@media (max-width: 420px) {
  .ghl-appbar__workspace strong {
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .inbox-window--ghl .thread {
    min-height: 345px;
  }

  .inbox-window--ghl .thread .msg {
    max-width: 92%;
  }

  .record-card--ghl .record-card__head {
    gap: 8px;
  }

  .report-kpis {
    grid-template-columns: 1fr 1fr;
  }

  .report-main {
    grid-template-columns: 1fr;
  }
}

.record-card--ghl .timeline__item.is-current span strong {
  font-size: 8px;
}

@media (max-height: 860px) and (min-width: 901px) {
  .slide--channels .inbox-window--ghl {
    height: 426px;
    min-height: 426px;
  }

  .slide--channels .inbox-window--ghl .inbox-window__foot {
    display: none;
  }

  .slide--channels .inbox-window--ghl .channel-filters {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .slide--channels .inbox-window--ghl .ghl-content__head {
    min-height: 38px;
  }

  .slide--channels .inbox-window--ghl .thread__head {
    height: 42px;
  }

  .slide--channels .inbox-window--ghl .conv-item {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .panel-window--report {
    padding: 11px;
  }

  .report-kpi {
    padding-top: 7px;
    padding-bottom: 6px;
  }

  .report-kpi strong {
    font-size: 21px;
  }

  .report-donut {
    width: 68px;
    height: 68px;
  }

  .report-donut::before {
    inset: 10px;
  }

  .report-channels {
    gap: 7px;
  }

  .report-insight {
    margin-top: 5px;
    padding: 6px 8px;
  }

  .slide--journey .slide-head {
    margin-bottom: 10px;
  }

  .slide--journey .journey-tabs {
    margin-bottom: 6px;
  }

  .slide--automation .slide-head {
    margin-bottom: 10px;
  }

  .slide--automation .automation-tabs {
    margin-bottom: 7px;
  }

  .slide--automation .interaction-note {
    margin-top: 2px;
  }

  .slide--journey .record-card--ghl .record-card__head {
    padding-bottom: 9px;
  }

  .slide--journey .record-card--ghl .record-grid {
    gap: 6px 16px;
    padding: 7px 0;
  }

  .slide--journey .record-card--ghl .record-field:nth-child(5),
  .slide--journey .record-card--ghl .record-field:nth-child(6),
  .slide--journey .record-card--ghl .record-tags {
    display: none;
  }

  .slide--journey .record-card--ghl .record-note {
    margin: 7px 0;
    padding: 7px 9px;
  }

  .slide--journey .record-card--ghl .record-activity__head {
    margin-bottom: 5px;
  }

  .slide--journey .record-card--ghl .timeline {
    gap: 4px;
  }
}

.msg.msg--in, .msg.msg--out {
    font-size: 11px;
}

.section-footer{
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
  margin-top: 25px;
}

.record-card--ghl .timeline__item.is-current span strong {
    font-size: 15px;
}