[x-cloak] { display: none !important; }

/* ── HERO: botón "Pruébalo tú mismo" + puntos de escritura ─────────── */
.fx-try-btn {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em;
  color: var(--color-blue-bright); background: none; border: none; cursor: pointer;
  padding: 0;
}
.fx-try-btn:hover { color: #fff; }

.fx-dots { display: inline-flex; align-items: center; gap: 3px; }
.fx-dots span {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.5);
  animation: fx-blink 1.1s ease-in-out infinite;
}
.fx-dots span:nth-child(2) { animation-delay: 0.15s; }
.fx-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes fx-blink { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

/* ── SOLUCIONES · tarjetas de ancho completo con flip ──────────────── */
.fx-cards-grid { display: flex; flex-direction: column; gap: 22px; }

.fx-flip-card { perspective: 1800px; min-height: 380px; height: 380px; }
@media (max-width: 760px) { .fx-flip-card { min-height: 640px; height: 640px; } }
/* La altura exacta la fija fitFlipCards() en JS según el contenido real de
   cada tarjeta (el diagrama y los entregables varían de largo por servicio);
   los valores de arriba son solo el respaldo antes de que corra el script. */

.fx-flip-inner {
  position: relative; width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(.4,.2,.2,1);
  transform-style: preserve-3d;
}
.fx-flip-inner.is-flipped { transform: rotateY(180deg); }

.fx-flip-front, .fx-flip-back {
  position: absolute; inset: 0; backface-visibility: hidden;
  border-radius: 16px; border: 1px solid rgba(12,35,64,0.1);
  background: #fff; overflow: hidden;
}

.fx-flip-front {
  display: flex; flex-direction: row; align-items: stretch;
  width: 100%; height: 100%; text-align: left; cursor: pointer;
  padding: 0; background: #fff;
}
@media (max-width: 760px) { .fx-flip-front { flex-direction: column; } }

.fx-front-visual {
  flex: 0 0 56%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-blue-light);
  border-right: 1px solid rgba(12,35,64,0.08);
  padding: 20px; overflow: hidden; position: relative;
}
@media (max-width: 760px) {
  .fx-front-visual {
    flex: 0 0 auto; width: 100%; min-height: 210px;
    border-right: none; border-top: 1px solid rgba(12,35,64,0.08);
    padding: 22px 16px; order: 2;
  }
}

.fx-front-text {
  flex: 1; display: flex; flex-direction: column; justify-content: center;
  padding: 24px 26px; min-width: 0; gap: 10px;
}
@media (max-width: 760px) { .fx-front-text { order: 1; padding: 22px 20px 16px; } }

.fx-front-head { display: flex; align-items: center; gap: 8px; color: var(--color-blue); }
.fx-front-head h3 {
  font-family: var(--font-serif); font-weight: 400; font-size: 17px; color: var(--color-navy);
  line-height: 1.3;
}
.fx-front-summary { font-size: 13.5px; color: var(--color-ink-soft); line-height: 1.55; max-width: 420px; }

.fx-chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.fx-chip {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--color-blue-light); color: var(--color-blue); border-radius: 999px; padding: 4px 10px;
}

.fx-flip-hint {
  display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; margin-top: 4px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-blue); border: 1px solid rgba(24,95,165,0.3); border-radius: 999px; padding: 6px 13px;
}

/* Diagrama de flujo (legado, ya no se usa en el frente, se conserva por compatibilidad) */
.fx-stack { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: flex-start; justify-content: center; gap: 0; width: max-content; min-width: 100%; margin: 0 auto; }
.fx-stack-node { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 92px; flex-shrink: 0; }
.fx-stack-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--color-blue-light); color: var(--color-blue); display: flex; align-items: center; justify-content: center; }
.fx-stack-label { font-size: 10px; text-align: center; color: var(--color-ink-soft); line-height: 1.3; }
.fx-stack-arrow { color: rgba(12,35,64,0.25); margin-top: 20px; flex-shrink: 0; padding: 0 2px; }
@media (max-width: 760px) {
  .fx-stack { flex-direction: column; flex-wrap: nowrap; align-items: center; width: 100%; min-width: 0; gap: 12px 0; }
  .fx-stack-node { width: auto; max-width: 240px; }
  .fx-stack-arrow { margin-top: 0; transform: rotate(90deg); }
}

/* ── Panel combinado: ilustración animada + diagrama de flujo ───────── */
.fx-visual-combo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; width: 100%; height: 100%;
}
.fx-visual-illus { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.fx-visual-divider { width: 100%; max-width: 220px; height: 1px; background: rgba(12,35,64,0.1); flex-shrink: 0; }
.fx-visual-flow { width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.fx-visual-flow::-webkit-scrollbar { display: none; }
@media (max-width: 760px) {
  .fx-visual-combo { gap: 16px; }
  .fx-visual-divider { max-width: 160px; }
}

/* Diagrama, en tamaño compacto cuando comparte espacio con la ilustración */
.fx-visual-flow .fx-stack-node { width: 74px; gap: 5px; }
.fx-visual-flow .fx-stack-icon { width: 38px; height: 38px; border-radius: 11px; }
.fx-visual-flow .fx-stack-icon i { width: 18px; height: 18px; }
.fx-visual-flow .fx-stack-label { font-size: 9px; }
.fx-visual-flow .fx-stack-arrow { margin-top: 15px; }
.fx-visual-flow .fx-stack-arrow i { width: 12px; height: 12px; }
@media (max-width: 760px) {
  .fx-visual-flow .fx-stack-node { width: auto; max-width: 200px; }
}

/* Ilustraciones, en tamaño compacto cuando comparten espacio con el diagrama */
.fx-visual-illus .fx-illus-phone { width: 70px; height: 118px; }
.fx-visual-illus .fx-illus-phone::before { top: 7px; width: 20px; }
.fx-visual-illus .fx-illus-bubble { width: 46px; padding: 5px 0; bottom: auto; }
.fx-visual-illus .fx-illus-bubble.b1 { bottom: 68px; }
.fx-visual-illus .fx-illus-bubble.b2 { bottom: 48px; width: 30px; }
.fx-visual-illus .fx-illus-bubble.b3 { bottom: 28px; }

.fx-visual-illus .fx-illus-cap-wrap { width: 96px; height: 82px; }
.fx-visual-illus .fx-illus-cap { width: 36px; height: 36px; }
.fx-visual-illus .fx-illus-particle svg { width: 11px; height: 11px; }

.fx-visual-illus .fx-illus-clip-wrap { width: 74px; height: 92px; }
.fx-visual-illus .fx-illus-check.c1 { top: 24px; left: 17px; }
.fx-visual-illus .fx-illus-check.c2 { top: 40px; left: 17px; }
.fx-visual-illus .fx-illus-check.c3 { top: 56px; left: 17px; }
.fx-visual-illus .fx-illus-send { bottom: 2px; right: -4px; }
.fx-visual-illus .fx-illus-send svg { width: 16px; height: 16px; }

.fx-visual-illus .fx-illus-pin-wrap { width: 128px; height: 118px; }
.fx-visual-illus .fx-illus-pin { width: 44px; height: 44px; bottom: 16px; }
.fx-visual-illus .fx-illus-ring { width: 28px; height: 28px; bottom: 10px; }
.fx-visual-illus .fx-illus-star { font-size: 13px; }
.fx-visual-illus .fx-illus-star.s1 { top: 14px; left: 20px; }
.fx-visual-illus .fx-illus-star.s2 { top: 4px; left: 54px; }
.fx-visual-illus .fx-illus-star.s3 { top: 18px; left: 88px; }

.fx-visual-illus .fx-illus-mail-wrap { width: 96px; height: 68px; }
.fx-visual-illus .fx-illus-mail { width: 42px; height: 42px; }

.fx-visual-illus .fx-illus-chart { height: 66px; gap: 6px; }
.fx-visual-illus .fx-illus-bar { width: 11px; }

.fx-visual-illus .fx-illus-web-wrap { width: 108px; height: 84px; }
.fx-visual-illus .fx-illus-browser { width: 64px; height: 48px; }

.fx-visual-illus .fx-illus-crm-wrap { width: 92px; height: 84px; }
.fx-visual-illus .fx-illus-crm-person { width: 40px; height: 40px; }

/* Contrata a tu propio asistente de IA — chispa + chips en fila (sin traslape) */
.fx-illus-spark-flex { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fx-illus-spark-icon { width: 38px; height: 38px; color: var(--color-teal); animation: fx-illus-spin 7s linear infinite; }
.fx-illus-spark-icon svg { width: 100%; height: 100%; fill: currentColor; }
.fx-illus-tag-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 260px; }
.fx-illus-tag-flex {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.03em; text-transform: uppercase;
  background: #fff; color: var(--color-teal); border: 1px solid rgba(29,158,117,0.3);
  border-radius: 999px; padding: 5px 11px; white-space: nowrap;
  animation: fx-illus-orbit 3s ease-in-out infinite;
}

/* ── Ilustraciones animadas del frente (definiciones base) ──────────── */
.fx-illus { position: relative; }

/* 1. Agente de IA para WhatsApp e Instagram */
.fx-illus-phone { width: 92px; height: 164px; border-radius: 20px; background: var(--color-navy); position: relative; box-shadow: 0 6px 18px rgba(12,35,64,0.18); }
.fx-illus-phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 26px; height: 4px; border-radius: 3px; background: rgba(255,255,255,0.25); }
.fx-illus-bubble { position: absolute; left: 50%; transform: translateX(-50%); width: 60px; padding: 6px 0; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 3px; opacity: 0; }
.fx-illus-bubble.b1 { bottom: 96px; animation: fx-illus-pop 3.6s ease-in-out infinite; }
.fx-illus-bubble.b2 { bottom: 68px; width: 38px; background: var(--color-wa-green); animation: fx-illus-pop 3.6s ease-in-out infinite 0.6s; }
.fx-illus-bubble.b3 { bottom: 40px; animation: fx-illus-pop 3.6s ease-in-out infinite 1.2s; }
.fx-illus-bubble .fx-illus-typedot { width: 4px; height: 4px; border-radius: 50%; background: var(--color-ink-muted); animation: fx-blink 1s ease-in-out infinite; }
.fx-illus-bubble .fx-illus-typedot:nth-child(2) { animation-delay: 0.15s; }
.fx-illus-bubble .fx-illus-typedot:nth-child(3) { animation-delay: 0.3s; }
@keyframes fx-illus-pop {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px); }
  15% { opacity: 1; transform: translateX(-50%) translateY(0); }
  85% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-4px); }
}

/* 2. Exprime ChatGPT y/o Claude */
.fx-illus-cap-wrap { position: relative; width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; }
.fx-illus-cap { width: 46px; height: 46px; color: var(--color-blue); }
.fx-illus-cap svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-particle { position: absolute; color: var(--color-blue-bright); animation: fx-illus-float 3.2s ease-in-out infinite; }
.fx-illus-particle svg { width: 14px; height: 14px; fill: currentColor; }
.fx-illus-particle.p1 { top: 8px; left: 18px; animation-delay: 0s; }
.fx-illus-particle.p2 { top: 20px; right: 10px; animation-delay: 1s; }
.fx-illus-particle.p3 { bottom: 14px; left: 6px; animation-delay: 2s; }
@keyframes fx-illus-float {
  0%, 100% { opacity: 0.35; transform: translateY(0) scale(0.9); }
  50% { opacity: 1; transform: translateY(-8px) scale(1.1); }
}

/* 3. Reporte automático de proyectos y tareas */
.fx-illus-clip-wrap { position: relative; width: 96px; height: 128px; }
.fx-illus-clip { width: 100%; height: 100%; color: var(--color-blue); }
.fx-illus-clip svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-check { position: absolute; color: var(--color-teal); opacity: 0; animation: fx-illus-check-in 3.6s ease-in-out infinite; }
.fx-illus-check svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-check.c1 { top: 34px; left: 22px; animation-delay: 0s; }
.fx-illus-check.c2 { top: 56px; left: 22px; animation-delay: 0.7s; }
.fx-illus-check.c3 { top: 78px; left: 22px; animation-delay: 1.4s; }
@keyframes fx-illus-check-in {
  0%, 8% { opacity: 0; transform: scale(0.5); }
  20%, 90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.5); }
}
.fx-illus-send { position: absolute; bottom: 6px; right: -6px; color: var(--color-blue-bright); animation: fx-illus-send-fly 3.6s ease-in-out infinite; }
.fx-illus-send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fx-illus-send-fly {
  0% { opacity: 0; transform: translate(-6px, 6px); }
  50% { opacity: 1; transform: translate(14px, -10px); }
  100% { opacity: 0; transform: translate(28px, -20px); }
}

/* 4. Fortalece tu presencia en Google Maps */
.fx-illus-pin-wrap { position: relative; width: 120px; height: 140px; }
.fx-illus-ring { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--color-teal); opacity: 0; animation: fx-illus-ripple 2.6s ease-out infinite; }
.fx-illus-ring.r2 { animation-delay: 0.9s; }
.fx-illus-pin { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; color: var(--color-teal); animation: fx-illus-bounce 2.6s ease-in-out infinite; }
.fx-illus-pin svg { width: 100%; height: 100%; fill: currentColor; }
.fx-illus-star { position: absolute; color: var(--color-teal); font-size: 13px; opacity: 0; animation: fx-illus-star-pop 3s ease-in-out infinite; }
.fx-illus-star.s1 { top: 20px; left: 18px; animation-delay: 0.4s; }
.fx-illus-star.s2 { top: 12px; left: 46px; animation-delay: 0.9s; }
.fx-illus-star.s3 { top: 24px; left: 74px; animation-delay: 1.4s; }
@keyframes fx-illus-ripple { 0% { opacity: 0.6; transform: translateX(-50%) scale(0.4); } 100% { opacity: 0; transform: translateX(-50%) scale(2.6); } }
@keyframes fx-illus-bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
@keyframes fx-illus-star-pop { 0%, 100% { opacity: 0; transform: translateY(4px) scale(0.7); } 30%, 70% { opacity: 1; transform: translateY(0) scale(1); } }

/* 5. Resultados clave, cuando los necesites */
.fx-illus-mail-wrap { position: relative; width: 120px; height: 100px; display: flex; align-items: center; justify-content: center; }
.fx-illus-mail { width: 58px; height: 58px; color: var(--color-blue); animation: fx-illus-mail-in 3s ease-in-out infinite; }
.fx-illus-mail svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-ping { position: absolute; top: 6px; right: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--color-teal); animation: fx-illus-ping-pulse 3s ease-in-out infinite; }
@keyframes fx-illus-mail-in { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fx-illus-ping-pulse { 0%, 100% { transform: scale(0.85); opacity: 0.6; } 50% { transform: scale(1.15); opacity: 1; } }

/* 6. Decisiones basadas en datos */
.fx-illus-chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.fx-illus-bar { width: 14px; border-radius: 4px 4px 0 0; background: var(--color-blue); animation: fx-illus-grow 2.8s ease-in-out infinite; }
.fx-illus-bar:nth-child(1) { animation-delay: 0s; }
.fx-illus-bar:nth-child(2) { animation-delay: 0.2s; background: var(--color-blue-bright); }
.fx-illus-bar:nth-child(3) { animation-delay: 0.4s; }
.fx-illus-bar:nth-child(4) { animation-delay: 0.6s; background: var(--color-blue-bright); }
.fx-illus-bar:nth-child(5) { animation-delay: 0.8s; }
@keyframes fx-illus-grow { 0%, 100% { height: 24%; } 50% { height: 90%; } }

/* 7. Contrata a tu propio asistente de IA */
.fx-illus-spark-wrap { position: relative; width: 150px; height: 130px; display: flex; align-items: center; justify-content: center; }
.fx-illus-spark { width: 44px; height: 44px; color: var(--color-teal); animation: fx-illus-spin 7s linear infinite; }
.fx-illus-spark svg { width: 100%; height: 100%; fill: currentColor; }
.fx-illus-tag { position: absolute; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; text-transform: uppercase; background: #fff; color: var(--color-teal); border: 1px solid rgba(29,158,117,0.3); border-radius: 999px; padding: 5px 10px; animation: fx-illus-orbit 8s ease-in-out infinite; }
.fx-illus-tag.t1 { top: 4px; left: 4px; animation-delay: 0s; }
.fx-illus-tag.t2 { top: 10px; right: 0; animation-delay: 1.3s; }
.fx-illus-tag.t3 { bottom: 6px; right: 10px; animation-delay: 2.6s; }
.fx-illus-tag.t4 { bottom: 0; left: 10px; animation-delay: 3.9s; }
@keyframes fx-illus-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes fx-illus-orbit { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* 8. Crea o mejora tu sitio web */
.fx-illus-web-wrap { position: relative; width: 130px; height: 100px; display: flex; align-items: center; justify-content: center; }
.fx-illus-browser { width: 78px; height: 58px; color: var(--color-blue); }
.fx-illus-browser svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-web-line { position: absolute; height: 5px; border-radius: 3px; background: var(--color-blue-light); animation: fx-illus-type 3.4s ease-in-out infinite; }
.fx-illus-web-line.l1 { top: 46px; left: 32px; width: 34px; }
.fx-illus-web-line.l2 { top: 56px; left: 32px; width: 20px; animation-delay: 0.3s; }
.fx-illus-web-chat { position: absolute; bottom: 4px; right: 20px; width: 24px; height: 24px; color: var(--color-teal); animation: fx-illus-pop-badge 3.4s ease-in-out infinite; }
.fx-illus-web-chat svg { width: 100%; height: 100%; }
@keyframes fx-illus-type { 0%, 100% { opacity: 0.4; transform: scaleX(0.7); transform-origin: left; } 50% { opacity: 1; transform: scaleX(1); transform-origin: left; } }
@keyframes fx-illus-pop-badge { 0%, 20% { opacity: 0; transform: scale(0.4) translateY(6px); } 40%, 85% { opacity: 1; transform: scale(1) translateY(0); } 100% { opacity: 0; transform: scale(0.4) translateY(6px); } }

/* 9. Da seguimiento inteligente con CRM ligero */
.fx-illus-crm-wrap { position: relative; width: 110px; height: 100px; display: flex; align-items: center; justify-content: center; }
.fx-illus-crm-person { width: 48px; height: 48px; color: var(--color-blue); }
.fx-illus-crm-person svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-crm-bell { position: absolute; top: 2px; right: 12px; width: 22px; height: 22px; color: var(--color-teal); animation: fx-illus-bell-ring 2.6s ease-in-out infinite; }
.fx-illus-crm-bell svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fx-illus-crm-check { position: absolute; bottom: 6px; left: 8px; width: 18px; height: 18px; color: var(--color-teal); opacity: 0; animation: fx-illus-check-in 3.6s ease-in-out infinite; }
.fx-illus-crm-check svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes fx-illus-bell-ring { 0%, 100% { transform: rotate(0deg); } 20% { transform: rotate(12deg); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 80% { transform: rotate(0deg); } }

/* ── Reverso de la tarjeta (video/demo + entregables) ───────────────── */
.fx-flip-back { display: flex; flex-direction: column; transform: rotateY(180deg); }
.fx-flip-back-close {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  margin: 14px 0 0 20px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--color-blue); background: none; border: none; cursor: pointer; padding: 4px 0;
}
.fx-flip-back-scroll { flex: 1; overflow-y: auto; padding: 6px 26px 22px; }
.fx-flip-back-content { display: flex; gap: 26px; height: 100%; }
@media (max-width: 760px) { .fx-flip-back-content { flex-direction: column; } }

.fx-back-visual-col { flex: 0 0 42%; display: flex; align-items: stretch; }
@media (max-width: 760px) { .fx-back-visual-col { flex: 0 0 auto; } }
.fx-visual { width: 100%; border-radius: 12px; background: var(--color-blue-light); overflow: hidden; position: relative; aspect-ratio: 16/9; }
.fx-visual--video iframe { width: 100%; height: 100%; border: 0; display: block; }
.fx-visual-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--color-blue); }
.fx-visual-icon { opacity: 0.6; }
.fx-visual-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-ink-muted); }

.fx-back-info-col { flex: 1; min-width: 0; }
.fx-back-title { font-family: var(--font-serif); font-weight: 400; font-size: 16px; color: var(--color-navy); margin-bottom: 12px; }
.fx-deliverables { columns: 2 220px; column-gap: 22px; }
.fx-deliverables li { display: flex; align-items: flex-start; gap: 7px; font-size: 12.5px; color: var(--color-ink-soft); line-height: 1.4; margin-bottom: 9px; break-inside: avoid; }
.fx-check { color: var(--color-teal); flex-shrink: 0; margin-top: 2px; }
.fx-example { margin-top: 8px; font-size: 12.5px; font-style: italic; color: var(--color-ink-muted); border-left: 2px solid var(--color-blue-light); padding-left: 10px; }

/* ── WIDGET · Agente de IA (modo demo) ──────────────────────────────── */
.fx-widget { position: fixed; left: 20px; bottom: 20px; z-index: 60; }
.fx-widget-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-navy); color: #fff; border: none; border-radius: 999px;
  padding: 12px 18px; font-size: 13px; font-weight: 500; cursor: pointer;
  box-shadow: 0 8px 24px rgba(12,35,64,0.25);
}
.fx-widget-btn-label { display: inline; }
@media (max-width: 480px) { .fx-widget-btn-label { display: none; } .fx-widget-btn { padding: 12px; } }

.fx-panel {
  position: absolute; bottom: calc(100% + 12px); left: 0;
  width: 340px; max-width: calc(100vw - 40px);
  border-radius: 16px; background: #fff; box-shadow: 0 16px 48px rgba(12,35,64,0.25);
  border: 1px solid rgba(12,35,64,0.08); overflow: hidden;
}
.fx-panel-inner { display: flex; flex-direction: column; }
.fx-panel-inner--training { }

.fx-chat { display: flex; flex-direction: column; height: 420px; }
.fx-chat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--color-navy); color: #fff; }
.fx-chat-header-left { display: flex; align-items: center; gap: 10px; }
.fx-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--color-blue); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 500; }
.fx-chat-title { font-size: 13px; font-weight: 500; }
.fx-chat-status { font-size: 10.5px; color: rgba(255,255,255,0.55); display: flex; align-items: center; gap: 5px; }
.fx-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-teal); display: inline-block; }
.fx-dot--demo { background: var(--color-blue-bright); }
.fx-close { background: none; border: none; color: rgba(255,255,255,0.6); cursor: pointer; padding: 4px; }

.fx-chat-body { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; background: var(--color-bg); }
.fx-msg { max-width: 82%; font-size: 12.5px; line-height: 1.45; padding: 8px 12px; border-radius: 12px; }
.fx-msg--bot { align-self: flex-start; background: #fff; color: var(--color-ink-soft); border: 1px solid rgba(12,35,64,0.08); border-bottom-left-radius: 4px; }
.fx-msg--user { align-self: flex-end; background: var(--color-blue); color: #fff; border-bottom-right-radius: 4px; }
.fx-typing { display: flex; align-items: center; gap: 4px; padding: 10px 12px; }
.fx-typing span { width: 5px; height: 5px; border-radius: 50%; background: var(--color-ink-muted); animation: fx-blink 1s ease-in-out infinite; }
.fx-typing span:nth-child(2) { animation-delay: 0.15s; }
.fx-typing span:nth-child(3) { animation-delay: 0.3s; }

.fx-chat-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(12,35,64,0.08); }
.fx-chat-input input { flex: 1; border: none; outline: none; font-size: 12.5px; font-family: var(--font-sans); background: none; color: var(--color-ink-soft); }
.fx-chat-input button { background: var(--color-blue); color: #fff; border: none; border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }

.fx-train-toggle {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-top: 1px solid rgba(12,35,64,0.08); background: var(--color-bg);
  color: var(--color-blue); font-size: 11px; font-family: var(--font-mono); letter-spacing: 0.03em;
  padding: 9px; cursor: pointer;
}

.fx-train { padding: 16px; border-top: 1px solid rgba(12,35,64,0.08); background: var(--color-blue-light); }
.fx-train-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-blue); margin-bottom: 6px; }
.fx-train-title { font-family: var(--font-serif); font-size: 14px; color: var(--color-navy); margin-bottom: 6px; }
.fx-train-copy { font-size: 11.5px; color: var(--color-ink-soft); line-height: 1.5; margin-bottom: 10px; }
.fx-train textarea { width: 100%; min-height: 60px; font-size: 12px; font-family: var(--font-sans); border: 1px solid rgba(12,35,64,0.15); border-radius: 8px; padding: 8px 10px; resize: vertical; margin-bottom: 8px; }
.fx-train-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fx-train-chips button { font-size: 10.5px; font-family: var(--font-mono); background: #fff; border: 1px solid rgba(24,95,165,0.25); color: var(--color-blue); border-radius: 999px; padding: 5px 10px; cursor: pointer; }
.fx-train-apply { width: 100%; background: var(--color-navy); color: #fff; border: none; border-radius: 8px; padding: 9px; font-size: 12px; font-weight: 500; cursor: pointer; }
.fx-train-note { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--color-teal); margin-top: 8px; }

.fx-demo-badge {
  display: flex; align-items: center; gap: 6px; justify-content: center;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-ink-muted); background: var(--color-bg); padding: 7px; border-top: 1px solid rgba(12,35,64,0.06);
}
