/* ══════════════════════════════════════════════════════════════════
   Menú principal y footer rediseñados (v9.30)
   ──────────────────────────────────────────────────────────────────
   Marcado en inc/nav-pro.php · comportamiento en assets/js/nav-pro.js
   Clases nuevas con prefijo tln- para no pelear con las reglas viejas
   de .nav-dropdown__item / .nav-item-icon (dark-theme.css las fuerza
   con !important). Donde hay que ganarles, se usa .tln-panel.

   Código de color (el mismo en todo el sitio):
     violeta  IA          verde    WhatsApp / gratis
     ámbar    casos, Experto        turquesa  equipo / preguntas
     celeste  API / integraciones   rojo      en vivo / salud
   ══════════════════════════════════════════════════════════════════ */

:root {
  --tln-bg:      #070e1c;
  --tln-bg-2:    #0a1426;
  --tln-line:    rgba(122,168,255,.16);
  --tln-text:    #eef4ff;
  --tln-muted:   #8ea3c2;
  --tln-eyebrow: #6f86a8;
  --tln-accent:  #7AA8FF;
  --tln-ease:    cubic-bezier(.2,.8,.2,1);
}
html[data-theme="light"] {
  --tln-bg:      #ffffff;
  --tln-bg-2:    #f6f9ff;
  --tln-line:    rgba(15,23,42,.09);
  --tln-text:    #0f172a;
  --tln-muted:   #64748b;
  --tln-eyebrow: #94a3b8;
  --tln-accent:  #2563EB;
}

/* ── Marca ─────────────────────────────────────────────────────── */
.tln-logo { display: inline-flex; align-items: center; text-decoration: none; }
.tln-brand { display: inline-flex; align-items: center; gap: 9px; }
.tln-brand-mark {
  width: 36px; height: 36px; object-fit: contain; display: block;
  filter: drop-shadow(0 0 12px rgba(96,165,250,.45));
  transition: transform .5s var(--tln-ease), filter .3s ease;
}
.tln-logo:hover .tln-brand-mark { transform: rotate(-8deg) scale(1.06); filter: drop-shadow(0 0 16px rgba(96,165,250,.7)); }
.tln-brand-word {
  font-family: var(--font-display, 'Bricolage Grotesque', system-ui, sans-serif);
  font-size: 23px; font-weight: 800; letter-spacing: -.035em; line-height: 1; color: #fff;
}
.tln-brand-word em { font-style: normal; background: linear-gradient(90deg,#7AA8FF,#b4d0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="light"] .tln-brand-word { color: #0f172a; }
html[data-theme="light"] .tln-brand-word em { background: linear-gradient(90deg,#2563EB,#4f8bff); -webkit-background-clip: text; background-clip: text; }
html[data-theme="light"] .tln-brand-mark { filter: none; }

/* Insignia de Meta */
.header-meta-badge-wrap { display: none !important; }
.tln-meta {
  position: relative; display: inline-flex; align-items: center; gap: 8px; margin-left: 12px;
  padding: 5px 10px 5px 9px; border-radius: 11px; cursor: help; outline: none; flex-shrink: 0;
  background: linear-gradient(135deg,rgba(24,119,242,.16),rgba(255,255,255,.03));
  border: 1px solid rgba(96,165,250,.32);
  transition: border-color .2s ease, background .2s ease;
}
.tln-meta:hover, .tln-meta:focus-visible { border-color: rgba(96,165,250,.7); background: linear-gradient(135deg,rgba(24,119,242,.26),rgba(255,255,255,.04)); }
.tln-meta-logo { width: 26px; height: auto; display: block; }
.tln-meta-txt { display: flex; flex-direction: column; line-height: 1.05; }
.tln-meta-txt b { font-size: 12px; color: #fff; letter-spacing: -.01em; }
.tln-meta-txt small { font-size: 9.5px; font-weight: 600; color: #9fc0ff; letter-spacing: .02em; white-space: nowrap; }
.tln-meta-ok { width: 14px; height: 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1877f2; }
.tln-meta-tip {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 500; width: 250px;
  padding: 11px 13px; border-radius: 12px; font-size: 12.5px; line-height: 1.45; color: #334155;
  background: #fff; box-shadow: 0 18px 40px -12px rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.tln-meta-tip b { display: block; color: #0f172a; font-size: 13px; margin-bottom: 2px; }
.tln-meta-tip em { display: block; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #1877f2; margin-bottom: 4px; }
.tln-meta:hover .tln-meta-tip, .tln-meta:focus-visible .tln-meta-tip { opacity: 1; visibility: visible; transform: none; }
html[data-theme="light"] .tln-meta { background: linear-gradient(135deg,#eef5ff,#fff); border-color: rgba(24,119,242,.28); }
html[data-theme="light"] .tln-meta-txt b { color: #0f172a; }
html[data-theme="light"] .tln-meta-txt small { color: #1d4ed8; }
/* En el header la insignia va compacta (símbolo + ✓); el texto completo
   está en el globo. En el menú móvil se muestra entera. */
.site-header .tln-meta { gap: 6px; padding: 6px 8px; }
.site-header .tln-meta-txt { display: none; }

/* Ancho del header: un poco más que el contenido de la página en
   pantallas grandes, y se va compactando en las medianas. */
@media (min-width: 1360px) { .site-header > .container { max-width: 1320px; } }
.site-header .nav-link { padding-left: 11px !important; padding-right: 11px !important; }
@media (max-width: 1340px) { .site-header .tln-brand-word { display: none; } }

/* Pantallas grandes: el header crece con la pantalla para que el menú
   no se vea chico en monitores de 1600 px o más. */
@media (min-width: 1600px) {
  :root { --header-h: 76px; }
  .site-header > .container { max-width: 1440px; }
  .site-header .nav-link, .site-header .nav-link--btn { font-size: 14.5px !important; padding: 10px 10px !important; }
  .site-header .tln-brand-mark { width: 42px; height: 42px; }
  .site-header .tln-brand-word { font-size: 26px; }
  .site-header .header-ctas { gap: 10px; }
  .site-header .header-ctas .btn { font-size: 14.5px !important; padding: 10px 18px !important; border-radius: 11px; }
  .site-header .header-lang-badge { font-size: 13.5px; min-height: 38px; padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 1800px) {
  :root { --header-h: 82px; }
  .site-header > .container { max-width: 1600px; }
  .site-header .nav-link, .site-header .nav-link--btn { font-size: 16px !important; padding: 10px 13px !important; }
  .site-header .tln-brand-mark { width: 46px; height: 46px; }
  .site-header .tln-brand-word { font-size: 28px; }
  .site-header .header-ctas .btn { font-size: 15.5px !important; padding: 11px 20px !important; }
  .site-header .header-lang-badge { min-height: 40px; }
}
@media (max-width: 1150px) { .site-header .tln-meta { display: none; } }

/* ── Paneles ───────────────────────────────────────────────────── */
.site-header .header-inner { position: relative; height: var(--header-h); }
.nav-dropdown-wrap.tln-wrap { position: static; }

.nav-dropdown.tln-panel {
  top: calc(100% - 4px) !important; left: 50% !important; right: auto !important;
  padding: 0 !important; overflow: visible !important; max-height: none !important;
  min-width: 0 !important; border-radius: 22px !important;
  background: linear-gradient(180deg,var(--tln-bg-2),var(--tln-bg)) !important;
  border: 1px solid var(--tln-line) !important;
  box-shadow: 0 40px 90px -24px rgba(0,4,20,.85), 0 0 0 1px rgba(255,255,255,.02) inset !important;
  transform: translateX(-50%) translateY(10px) scale(.985) !important;
  transform-origin: 50% 0;
  transition: opacity .22s var(--tln-ease), transform .28s var(--tln-ease), visibility .22s !important;
}
.nav-dropdown-wrap.tln-wrap.open .nav-dropdown.tln-panel,
.nav-dropdown-wrap.tln-wrap:focus-within .nav-dropdown.tln-panel { transform: translateX(-50%) translateY(0) scale(1) !important; }
/* Puente invisible: el ratón puede bajar del botón al panel sin que se cierre */
.nav-dropdown.tln-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; pointer-events: none; }
.nav-dropdown-wrap.tln-wrap.open .nav-dropdown.tln-panel::before { pointer-events: auto; }
/* Los botones del menú quedan por encima del puente del panel abierto: así pasar de un menú a otro abre el nuevo al instante */
.site-header .nav-dropdown-wrap.tln-wrap > .nav-link--btn { position: relative; z-index: 1001; }
/* Al cambiar de un menú a otro, el nuevo panel aparece sin esperar la animación */
.nav-dropdown-wrap.tln-wrap.is-switch .nav-dropdown.tln-panel { transition-duration: .08s !important; }
.nav-dropdown-wrap.tln-wrap.is-switch .tln-panel .tln-anim { transition-duration: .12s; transition-delay: 0s; }
.tln-panel--producto   { width: min(1060px, calc(100vw - 32px)) !important; }
.tln-panel--soluciones { width: min(900px,  calc(100vw - 32px)) !important; }
.tln-panel--recursos   { width: min(1000px, calc(100vw - 32px)) !important; }
html[data-theme="light"] .nav-dropdown.tln-panel { box-shadow: 0 30px 70px -20px rgba(15,23,42,.28) !important; }

.tln-cols { display: grid; align-items: stretch; }
.tln-cols--producto   { grid-template-columns: 300px 1fr 330px; }
.tln-cols--soluciones { grid-template-columns: 330px 1fr; }
.tln-cols--recursos   { grid-template-columns: 290px 1fr 1fr; }
.tln-panel--precios { width: min(820px, calc(100vw - 32px)) !important; }
.tln-cols--precios { grid-template-columns: 1.25fr 1fr; }
.tln-planes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tln-plan { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px; border-radius: 14px; border: 1px solid var(--tln-line); background: color-mix(in srgb, var(--tln-text) 3%, transparent); text-decoration: none !important; transition: border-color .2s, transform .2s var(--tln-ease); }
.tln-plan:hover { border-color: #3b82f6; transform: translateY(-2px); }
.tln-plan.is-pop { border-color: rgba(59,130,246,.55); background: linear-gradient(160deg, rgba(37,99,235,.18), transparent 70%); }
.tln-plan strong { font-size: 15px; color: var(--tln-text); }
.tln-plan-tag { position: absolute; top: -9px; right: 10px; font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; color: #fff; background: #2563EB; }
.tln-plan-precio { font-size: 12.5px; color: var(--tln-muted); } .tln-plan-precio b { font-size: 24px; color: var(--tln-text); }
.tln-plan-alt { font-size: 11px; color: var(--tln-muted); line-height: 1.35; }
.tln-plan-promo { align-self: flex-start; margin-top: 4px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 2px 7px; border-radius: 99px; color: #fbbf24; background: rgba(245,158,11,.14); border: 1px solid rgba(245,158,11,.4); }
.tln-plan ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.tln-plan li { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; line-height: 1.35; color: var(--tln-text); }
.tln-plan li svg { flex: none; margin-top: 2px; color: #22c55e; }
.tln-plan-medida { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12.5px; font-weight: 600; color: var(--tln-muted) !important; text-decoration: none !important; }
.tln-plan-medida:hover { color: var(--tln-text) !important; }
.tln-bar-go { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #7AA8FF !important; text-decoration: none !important; }
html[data-theme="light"] .tln-bar-go { color: #1d4ed8 !important; }
html[data-theme="light"] .tln-plan-promo { color: #92400e; background: #fffbeb; border-color: #fcd34d; }
.tln-bar--nec { justify-content: flex-start; flex-wrap: nowrap; gap: 12px; }
.tln-nec-t { flex: none; font-weight: 700; color: var(--tln-muted); }
.tln-nec { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tln-nec a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; border: 1px solid var(--tln-line); font-size: 12.5px; font-weight: 600; color: var(--tln-text) !important; text-decoration: none !important; }
.tln-nec a:hover { border-color: #3b82f6; background: rgba(37,99,235,.12); }
.tln-buscar { display: flex; align-items: center; gap: 8px; margin: 0 10px 12px; padding: 8px 12px; border-radius: 11px; border: 1px solid var(--tln-line); background: color-mix(in srgb, var(--tln-text) 4%, transparent); color: var(--tln-muted); }
.tln-buscar:focus-within { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.tln-buscar input, .tln-buscar input:focus { flex: 1; min-width: 0; height: auto !important; margin: 0 !important; padding: 0 !important; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; font: inherit; font-size: 13px !important; color: var(--tln-text) !important; }
.tln-buscar input::placeholder { color: var(--tln-muted); opacity: 1; }
.tln-col { position: relative; padding: 18px 10px 14px; display: flex; flex-direction: column; }
.tln-col-title { margin: 2px 10px 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--tln-eyebrow); }
.tln-col-title--gap { margin-top: 14px; }
.tln-eyebrow { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* Entrada escalonada (el --i lo pone nav-pro.js) */
.tln-panel .tln-anim { opacity: 0; transform: translateY(6px); transition: opacity .3s var(--tln-ease), transform .35s var(--tln-ease); transition-delay: calc(var(--i, 0) * 22ms); }
.tln-wrap.open .tln-panel .tln-anim, .tln-wrap:focus-within .tln-panel .tln-anim { opacity: 1; transform: none; }

/* ── Ícono de color ────────────────────────────────────────────── */
.tln-tile {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  color: var(--c);
  background: linear-gradient(145deg, color-mix(in srgb, var(--c) 30%, transparent), color-mix(in srgb, var(--c) 6%, transparent));
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  box-shadow: 0 6px 18px -8px var(--c);
  transition: transform .3s var(--tln-ease), box-shadow .3s ease;
}
.tln-tile svg { color: inherit !important; filter: none !important; }
.tln-tile--sm { width: 32px; height: 32px; border-radius: 10px; }
html[data-theme="light"] .tln-tile { background: color-mix(in srgb, var(--c) 12%, #fff); box-shadow: none; }

/* ── Filas ─────────────────────────────────────────────────────── */
.tln-item {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; border-radius: 13px; text-decoration: none !important; color: inherit;
}
.tln-item-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tln-item-txt strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14px; font-weight: 700; color: var(--tln-text); line-height: 1.25; }
.tln-item-txt small { margin-top: 2px; font-size: 12px; color: var(--tln-muted); line-height: 1.3; }
.tln-item-arrow { color: var(--c); opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .25s var(--tln-ease); }
.tln-item:hover .tln-item-arrow, .tln-item:focus-visible .tln-item-arrow, .tln-item.is-hot .tln-item-arrow { opacity: 1; transform: none; }
.tln-item:hover .tln-tile, .tln-item:focus-visible .tln-tile, .tln-item.is-hot .tln-tile { transform: translateY(-1px) rotate(-5deg) scale(1.04); box-shadow: 0 10px 24px -6px var(--c); }
.tln-item:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }

/* Resaltado que se desliza detrás de la fila activa */
.tln-glide {
  position: absolute; z-index: 0; left: 10px; right: 10px; top: 0; height: 0; border-radius: 13px; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c, #7AA8FF) 16%, transparent), color-mix(in srgb, var(--c, #7AA8FF) 3%, transparent));
  border: 1px solid color-mix(in srgb, var(--c, #7AA8FF) 26%, transparent);
  opacity: 0; transition: transform .28s var(--tln-ease), height .28s var(--tln-ease), opacity .2s ease, background .25s ease, border-color .25s ease;
}
.tln-col.has-glide .tln-glide { opacity: 1; }
@media (hover: none) { .tln-glide { display: none; } }

/* Etiquetas */
.tln-badge { font-size: 9.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 100px; line-height: 1.4; }
.tln-badge--ia     { color: #1e1b4b; background: #c4b5fd; }
.tln-badge--gratis { color: #052e16; background: #4ade80; }
.tln-badge--nuevo  { color: #052e16; background: #4ade80; }
.tln-live { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; color: #fecaca; background: rgba(239,68,68,.16); border: 1px solid rgba(239,68,68,.5); padding: 1px 7px; border-radius: 100px; }
.tln-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: tln-pulse 1.6s ease-in-out infinite; }
@keyframes tln-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,.55); } 50% { box-shadow: 0 0 0 5px rgba(239,68,68,0); } }
html[data-theme="light"] .tln-live { color: #b91c1c; background: #fef2f2; }

/* ── Producto: canales ─────────────────────────────────────────── */
.tln-chans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 10px; }
.tln-chan {
  position: relative; display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px;
  text-decoration: none !important; background: color-mix(in srgb, var(--tln-text) 3%, transparent);
  border: 1px solid var(--tln-line); transition: border-color .2s ease, background .2s ease, transform .25s var(--tln-ease);
}
.tln-chan:hover, .tln-chan:focus-visible { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 11%, transparent); transform: translateY(-2px); }
.tln-chan-logo {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; margin-bottom: 5px;
  background: var(--g, var(--c)); box-shadow: 0 8px 18px -8px var(--c); transition: transform .3s var(--tln-ease);
}
.tln-chan-logo svg { color: #fff !important; filter: none !important; }
.tln-chan:hover .tln-chan-logo { transform: scale(1.08) rotate(-4deg); }
.tln-chan strong { font-size: 13.5px; color: var(--tln-text); }
.tln-chan small { font-size: 11.5px; color: var(--tln-muted); line-height: 1.3; }
.tln-chan-badge { position: absolute; top: 9px; right: 9px; font-size: 9px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 1px 6px; border-radius: 100px; color: #052e16; background: #4ade80; }
.tln-chan-badge.is-nuevo { color: #1e1b4b; background: #c4b5fd; }
.tln-more {
  display: flex; align-items: center; gap: 10px; margin: 8px 10px 0; padding: 10px 12px; border-radius: 12px;
  border: 1px dashed color-mix(in srgb, var(--tln-accent) 40%, transparent); text-decoration: none !important;
  transition: border-color .2s ease, background .2s ease;
}
.tln-more:hover { border-color: var(--tln-accent); background: color-mix(in srgb, var(--tln-accent) 8%, transparent); }
.tln-more strong { display: block; font-size: 13px; color: var(--tln-text); }
.tln-more small { display: block; font-size: 11.5px; color: var(--tln-muted); }
.tln-more-dots { display: flex; flex-shrink: 0; }
.tln-more-dots span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); border: 2px solid var(--tln-bg); margin-left: -7px; }
.tln-more-dots span:first-child { margin-left: 0; }
.tln-more-dots svg { color: #fff !important; filter: none !important; }

/* Producto: demo de bandeja */
.tln-demo {
  margin: 14px; padding: 16px; border-radius: 17px; display: flex; flex-direction: column;
  background: radial-gradient(120% 80% at 100% 0%, rgba(124,58,237,.34), rgba(124,58,237,0) 62%), color-mix(in srgb, var(--tln-text) 3%, transparent);
  border: 1px solid rgba(167,139,250,.35);
}
.tln-demo .tln-eyebrow { color: #c4b5fd; }
.tln-demo-title { margin: 6px 0 4px; font-size: 17px; font-weight: 800; color: var(--tln-text); line-height: 1.25; }
.tln-demo-sub { margin: 0 0 12px; font-size: 12.5px; color: var(--tln-muted); line-height: 1.45; }
.tln-inbox { border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--tln-bg) 80%, #000); border: 1px solid var(--tln-line); margin-bottom: 12px; }
.tln-inbox-row { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-bottom: 1px solid var(--tln-line); font-size: 12.5px; }
.tln-inbox-row:last-child { border-bottom: 0; }
.tln-wrap.open .tln-inbox-row { animation: tln-row .5s var(--tln-ease) both; }
.tln-wrap.open .tln-inbox-row:nth-child(2) { animation-delay: .12s; }
.tln-wrap.open .tln-inbox-row:nth-child(3) { animation-delay: .24s; }
@keyframes tln-row { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.tln-av { position: relative; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #cbd5e1; background: #1e293b; }
.tln-av i { position: absolute; right: -3px; bottom: -3px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); border: 2px solid var(--tln-bg); }
.tln-av i svg { color: #fff !important; filter: none !important; }
.tln-inbox-msg { flex: 1; min-width: 0; }
.tln-inbox-msg b { display: block; color: var(--tln-text); }
.tln-inbox-msg span { display: block; color: var(--tln-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tln-inbox-tag { flex-shrink: 0; font-size: 9.5px; font-weight: 800; text-transform: uppercase; padding: 2px 7px; border-radius: 100px; }
.tln-inbox-tag.is-ia  { color: #ede9fe; background: #7c3aed; }
.tln-inbox-tag.is-hum { color: #052e16; background: #4ade80; }
.tln-flow { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tln-flow li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 0; padding: 8px 4px; text-align: center; font-size: 11.5px; line-height: 1.3; color: var(--tln-muted); border-radius: 10px; background: color-mix(in srgb, var(--tln-text) 4%, transparent); border: 1px solid var(--tln-line); }
.tln-flow b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; color: #fff; background: #7c3aed; }
.tln-cta {
  margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 12px;
  font-weight: 700; font-size: 14px; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(90deg,#2563EB,#7c3aed); background-size: 160% 100%; box-shadow: 0 10px 26px -10px #7c3aed;
  transition: background-position .4s ease, transform .2s ease;
}
.tln-demo .tln-flow { margin-bottom: 14px; }
.tln-cta:hover { background-position: 100% 0; transform: translateY(-1px); }
.tln-cta svg { color: #fff !important; }
.tln-cta-note { margin: 8px 0 0; text-align: center; font-size: 11.5px; color: var(--tln-muted); }

/* ── Soluciones: vista previa ──────────────────────────────────── */
.tln-preview { position: relative; margin: 14px; }
.tln-prev {
  height: 100%; box-sizing: border-box; padding: 18px; border-radius: 17px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 24%, transparent), color-mix(in srgb, var(--tln-bg) 60%, transparent) 58%);
  border: 1px solid color-mix(in srgb, var(--c) 38%, transparent);
  transition: background .35s ease, border-color .35s ease;
}
.tln-prev[hidden] { display: none; }
.tln-prev .tln-eyebrow { color: color-mix(in srgb, var(--c) 70%, #fff); }
.tln-prev-title { margin: 6px 0 12px; font-size: 17px; font-weight: 800; color: var(--tln-text); line-height: 1.25; }
.tln-chat { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: #0b141a; font-size: 13px; line-height: 1.4; }
.tln-b { padding: 8px 10px; max-width: 84%; color: #e9edef; }
.tln-b--in  { justify-self: start; background: #202c33; border-radius: 11px 11px 11px 3px; }
.tln-b--out { justify-self: end;   background: #005c4b; border-radius: 11px 11px 3px 11px; }
.tln-b small { display: block; margin-top: 3px; font-size: 10px; color: #9fe7c9; }
.tln-prev.is-in .tln-b { animation: tln-bub .45s var(--tln-ease) both; }
.tln-prev.is-in .tln-b:nth-child(2) { animation-delay: .35s; }
.tln-prev.is-in .tln-b:nth-child(3) { animation-delay: .75s; }
@keyframes tln-bub { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.tln-pros { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.tln-pros li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: var(--tln-text); }
.tln-pros svg { color: var(--c) !important; flex-shrink: 0; }
.tln-prev-go { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: color-mix(in srgb, var(--c) 75%, #fff) !important; text-decoration: none !important; }
.tln-prev-go svg { transition: transform .2s ease; }
.tln-prev-go:hover svg { transform: translateX(3px); }
html[data-theme="light"] .tln-prev .tln-eyebrow,
html[data-theme="light"] .tln-prev-go { color: color-mix(in srgb, var(--c) 80%, #000) !important; }
html[data-theme="light"] .tln-prev { background: linear-gradient(160deg, color-mix(in srgb, var(--c) 14%, #fff), #fff 60%); }

/* ── Recursos: ruta ────────────────────────────────────────────── */
.tln-ruta {
  position: relative; margin: 14px; padding: 20px; border-radius: 17px; display: flex; flex-direction: column; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, rgba(37,99,235,.55), rgba(37,99,235,.08) 60%), #0c1830;
  border: 1px solid rgba(122,168,255,.35);
}
.tln-ruta .tln-eyebrow { color: #bcd3ff; }
.tln-ruta-title { margin: 8px 0 4px; font-size: 21px; font-weight: 800; color: #fff; line-height: 1.15; }
.tln-ruta-sub { margin: 0 0 14px; font-size: 13px; color: #c3d4ee; line-height: 1.45; }
.tln-ruta-steps { position: relative; list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; }
.tln-ruta-steps::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 2px; background: linear-gradient(#7AA8FF, rgba(122,168,255,.15)); }
.tln-ruta-steps li { position: relative; display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: #dbe7ff; }
.tln-ruta-steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: #0b1426; border: 2px solid #7AA8FF; transition: background .3s ease, border-color .3s ease; }
.tln-ruta-steps li.is-done b { background: #22c55e; border-color: #22c55e; color: #052e16; font-size: 0; }
.tln-ruta-steps li.is-done b::after { content: "✓"; font-size: 12px; }
.tln-ruta-steps li.is-next { color: #fff; font-weight: 700; }
.tln-ruta-steps li.is-next b { box-shadow: 0 0 0 4px rgba(122,168,255,.25); }
.tln-ruta-btn {
  display: flex; justify-content: space-between; align-items: center; padding: 11px 14px; border-radius: 12px;
  font-weight: 700; font-size: 13.5px; color: #0b1426 !important; background: #fff; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tln-ruta-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(255,255,255,.6); }
.tln-ruta-btn svg { color: #0b1426 !important; transition: transform .2s ease; }
.tln-ruta-btn:hover svg { transform: translateX(3px); }
.tln-ruta-help { display: flex; align-items: center; gap: 8px; margin-top: 11px; font-size: 12.5px; color: #fcd34d !important; text-decoration: none !important; }
.tln-ruta-help:hover { text-decoration: underline !important; }
.tln-ruta-help svg { color: #fcd34d !important; flex-shrink: 0; }

.tln-vs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 10px 10px; }
.tln-vs a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 9px; font-size: 12.5px; font-weight: 600;
  color: var(--tln-text) !important; text-decoration: none !important;
  background: color-mix(in srgb, var(--tln-text) 5%, transparent); border: 1px solid var(--tln-line);
  transition: border-color .2s ease, transform .2s ease;
}
.tln-vs a:hover { border-color: var(--tln-accent); transform: translateY(-1px); }
.tln-vs i { font-style: normal; font-size: 10px; font-weight: 800; color: var(--tln-accent); }

.tln-bar {
  grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 12px 20px; border-top: 1px solid var(--tln-line); border-radius: 0 0 22px 22px;
  background: color-mix(in srgb, var(--tln-text) 2%, transparent); font-size: 13px;
}
.tln-bar-news { color: var(--tln-muted) !important; text-decoration: none !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tln-bar-news:hover { color: var(--tln-text) !important; }
.tln-bar-pill { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #fff; background: #2563EB; padding: 2px 8px; border-radius: 100px; margin-right: 6px; }
.tln-bar-wa { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #4ade80 !important; text-decoration: none !important; }
.tln-bar-wa svg { color: #4ade80 !important; }
html[data-theme="light"] .tln-bar-wa, html[data-theme="light"] .tln-bar-wa svg { color: #15803d !important; }

/* Tamaños intermedios: la tercera columna de Producto se oculta antes de apretar */
@media (max-width: 1240px) {
  .tln-cols--producto { grid-template-columns: 280px 1fr 290px; }
  .tln-cols--recursos { grid-template-columns: 260px 1fr 1fr; }
  .tln-item-txt small { font-size: 11.5px; }
}

/* ── Menú móvil ────────────────────────────────────────────────── */
.tln-mbrand { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 4px 14px; margin-bottom: 8px; border-bottom: 1px solid var(--tln-line); }
.tln-mbrand .tln-brand-word { font-size: 21px; }
.tln-mbrand .tln-meta { margin-left: 0; }
.tln-mbrand .tln-meta-tip { left: auto; right: 0; }
.tln-mchans { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 6px 6px; }
.tln-mchan {
  display: flex; align-items: center; gap: 9px; padding: 9px 10px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  color: var(--tln-text) !important; text-decoration: none !important;
  background: color-mix(in srgb, var(--tln-text) 4%, transparent); border: 1px solid var(--tln-line);
}
.tln-mchan .tln-chan-logo { width: 28px; height: 28px; border-radius: 8px; margin: 0; }
.tln-mlink {
  display: flex !important; align-items: center; gap: 12px; min-height: 48px; padding: 7px 8px; border-radius: 12px;
  font-size: 14.5px; font-weight: 600; color: var(--tln-text) !important; text-decoration: none !important;
}
.tln-mlink > span:not(.tln-tile) { display: flex; flex-direction: column; flex: 1; }
.tln-mlink small { font-size: 12px; font-weight: 500; color: var(--tln-muted); }
.tln-mlink:active, .tln-mlink:hover { background: color-mix(in srgb, var(--c, #7AA8FF) 12%, transparent); }
.tln-mlink--more { min-height: 40px; color: var(--tln-accent) !important; font-size: 13.5px; padding-left: 12px; }
.tln-mruta {
  display: block; margin: 4px 6px 10px; padding: 16px; border-radius: 16px; text-decoration: none !important;
  background: radial-gradient(120% 90% at 0% 0%, rgba(37,99,235,.55), rgba(37,99,235,.08) 60%), #0c1830; border: 1px solid rgba(122,168,255,.35);
}
.tln-mruta .tln-eyebrow { color: #bcd3ff; display: block; }
.tln-mruta strong { display: block; margin: 4px 0 10px; font-size: 18px; color: #fff; }
.tln-mruta-go { display: inline-block; padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #0b1426; background: #fff; }
.mobile-section__body .tln-vs { margin: 4px 6px 8px; }

/* ── Movimiento reducido ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown.tln-panel, .tln-panel .tln-anim, .tln-tile, .tln-glide, .tln-chan, .tln-brand-mark { transition: none !important; }
  .tln-inbox-row, .tln-b, .tln-live::before { animation: none !important; }
  .tln-panel .tln-anim { opacity: 1; transform: none; }
}

/* Los párrafos del tema traen color forzado: aquí manda el panel */
.tln-panel p.tln-demo-title, .tln-panel p.tln-prev-title { color: var(--tln-text) !important; }
.tln-panel p.tln-ruta-title { color: #fff !important; }
.tln-panel p.tln-ruta-sub { color: #c3d4ee !important; }
.tln-panel p.tln-demo-sub, .tln-panel p.tln-cta-note { color: var(--tln-muted) !important; }
.tln-panel p.tln-col-title { color: var(--tln-eyebrow) !important; }
.tln-panel .tln-demo p.tln-eyebrow { color: #c4b5fd !important; }
.tln-panel .tln-ruta p.tln-eyebrow { color: #bcd3ff !important; }
.tln-panel .tln-prev p.tln-eyebrow { color: color-mix(in srgb, var(--c) 70%, #fff) !important; }
html[data-theme="light"] .tln-panel .tln-prev p.tln-eyebrow { color: color-mix(in srgb, var(--c) 80%, #000) !important; }
html[data-theme="light"] .tln-panel .tln-demo p.tln-eyebrow { color: #7c3aed !important; }
.tln-panel p { margin-bottom: 0; }
.tln-panel .tln-ruta-steps li { color: #dbe7ff !important; }
.tln-panel .tln-ruta-steps li.is-next { color: #fff !important; }
.tln-panel .tln-pros li { color: var(--tln-text) !important; }
.tln-panel .tln-flow li { color: var(--tln-muted) !important; }

/* Demo de bandeja en modo claro */
html[data-theme="light"] .tln-inbox { background: #f8fafc; }
html[data-theme="light"] .tln-av { color: #334155; background: #e2e8f0; }
html[data-theme="light"] .tln-av i { border-color: #f8fafc; }
html[data-theme="light"] .tln-inbox-tag.is-ia  { color: #fff; background: #7c3aed; }
html[data-theme="light"] .tln-inbox-tag.is-hum { color: #fff; background: #16a34a; }

/* Menú móvil: etiqueta sin estirarse y botones finales ordenados */
.tln-mlink > .tln-badge { flex: 0 0 auto !important; display: inline-block !important; margin-left: auto; }
.mobile-menu__ctas { flex-wrap: wrap; }
.mobile-menu__ctas .mobile-cta-btn { flex: 1 1 calc(50% - 5px); min-width: 0; white-space: nowrap; }
.mobile-menu__ctas .mobile-cta-note,
.mobile-menu__ctas > .mobile-link,
.mobile-menu__ctas > .tl-theme-toggle-btn { flex: 1 1 100%; width: 100%; }
.mobile-menu__ctas > .mobile-link { display: flex; align-items: center; gap: 8px; min-height: 44px; border-radius: 12px; }
html[data-theme="light"] .mobile-menu__ctas .mobile-cta-note { color: #64748b; }
html[data-theme="light"] .mobile-menu__ctas > .tl-theme-toggle-btn { border-color: #e2e8f0 !important; }
html[data-theme="light"] .mobile-menu .mobile-section__toggle,
html[data-theme="light"] .mobile-menu .mobile-top-link { color: #0f172a !important; }
html[data-theme="light"] .mobile-menu .mobile-chevron,
html[data-theme="light"] .mobile-menu .mobile-chevron svg { color: #2563EB !important; }

/* ══════════════════════════════════════════════════════════════════
   FOOTER (v9.30) — siempre oscuro, en ambos temas
   ══════════════════════════════════════════════════════════════════ */
.pft { --tlf-text: #e2e8f0; --tlf-muted: #8ea0bd; --tlf-line: rgba(148,163,184,.13); --tlf-card: rgba(15,23,42,.55); }

/* ── Cinta de canales ── */
.tlf-flow { position: relative; z-index: 2; padding: 34px 0 6px; }
.tlf-flow-in {
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 22px;
  padding: 18px 22px; border-radius: 20px; text-decoration: none !important;
  background: linear-gradient(120deg, rgba(37,99,235,.14), rgba(15,23,42,.6) 45%, rgba(124,58,237,.12));
  border: 1px solid rgba(122,168,255,.18);
  transition: border-color .3s, transform .3s;
}
.tlf-flow-in:hover { border-color: rgba(122,168,255,.4); transform: translateY(-2px); }
.tlf-flow-copy { display: flex; flex-direction: column; gap: 2px; }
.tlf-flow-copy small { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7aa8ff; }
.tlf-flow-copy strong { font-family: var(--font-heading, 'Bricolage Grotesque', sans-serif); font-size: 19px; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.tlf-flow-chans { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tlf-chan {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  color: #fff; background: var(--g, var(--c));
  box-shadow: 0 8px 20px -8px var(--c), inset 0 1px 0 rgba(255,255,255,.25);
  opacity: 0; transform: translateY(8px) scale(.9);
  transition: opacity .45s cubic-bezier(.2,.8,.2,1), transform .45s cubic-bezier(.2,.8,.2,1);
  transition-delay: calc(var(--i) * 60ms);
}
.tlf-chan svg { color: #fff !important; }
.tlf-flow.is-in .tlf-chan { opacity: 1; transform: none; }
.tlf-flow-in:hover .tlf-chan { animation: tlf-hop .6s ease both; animation-delay: calc(var(--i) * 45ms); }
@keyframes tlf-hop { 50% { transform: translateY(-5px); } }
.tlf-flow-line { position: relative; width: 70px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(122,168,255,.1), rgba(122,168,255,.55)); overflow: visible; }
.tlf-flow-line i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #7aa8ff; box-shadow: 0 0 10px #7aa8ff; opacity: 0; }
.tlf-flow.is-in .tlf-flow-line i { animation: tlf-dot 2.4s linear infinite; }
.tlf-flow.is-in .tlf-flow-line i:nth-child(2) { animation-delay: .8s; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.tlf-flow.is-in .tlf-flow-line i:nth-child(3) { animation-delay: 1.6s; background: #f472b6; box-shadow: 0 0 10px #f472b6; }
@keyframes tlf-dot { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.tlf-flow-inbox { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 14px; background: rgba(2,6,23,.7); border: 1px solid rgba(122,168,255,.3); box-shadow: 0 0 0 4px rgba(37,99,235,.08); }
.tlf-flow-inbox img { width: 26px; height: 26px; object-fit: contain; }
.tlf-flow-inbox span { display: flex; flex-direction: column; line-height: 1.2; }
.tlf-flow-inbox b { font-size: 13.5px; color: #fff; }
.tlf-flow-inbox small { font-size: 11.5px; color: var(--tlf-muted); }

/* ── Cuerpo ── */
.tlf-body { position: relative; z-index: 2; padding: 46px 0 30px; }
.tlf-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1fr 1.3fr; gap: 40px; align-items: start; }
.tlf-logo { display: inline-flex; text-decoration: none !important; margin-bottom: 14px; }
.tln-brand--footer .tln-brand-mark { width: 40px; height: 40px; }
.tln-brand--footer .tln-brand-word { font-size: 26px; color: #fff !important; }
.tln-brand--footer .tln-brand-word em { background: linear-gradient(90deg,#7aa8ff,#a5c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tlf-desc { font-size: 14px; line-height: 1.65; color: var(--tlf-muted) !important; margin: 0 0 16px; max-width: 320px; }
.tlf-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tlf-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 100px; font-size: 12px; font-weight: 700; color: #e2e8f0; background: rgba(15,23,42,.8); border: 1px solid var(--tlf-line); }
.tlf-pill img { width: 18px; height: 18px; object-fit: contain; }
.tlf-pill--meta { border-color: rgba(24,119,242,.4); background: linear-gradient(135deg, rgba(24,119,242,.18), rgba(15,23,42,.8)); }
.tlf-pill--ia { color: #ddd6fe; border-color: rgba(167,139,250,.35); background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(15,23,42,.8)); }
.tlf-pill--ia svg { color: #c4b5fd !important; }
.tlf-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #86efac; margin-bottom: 16px; }
.tlf-status-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: tlf-pulse 2s infinite; }
@keyframes tlf-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.tlf-social { display: flex; flex-wrap: wrap; gap: 8px; }
.tlf-social-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #cbd5e1; background: rgba(15,23,42,.8); border: 1px solid var(--tlf-line); transition: .25s; }
.tlf-social-btn:hover { color: #fff; background: var(--sc); border-color: var(--sc); transform: translateY(-3px); box-shadow: 0 10px 22px -8px var(--sc); }

.tlf-col-title { font-size: 11.5px !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7aa8ff !important; margin: 0 0 14px !important; }
.tlf-col-title--gap { margin-top: 24px !important; }
.tlf-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tlf-links li { margin: 0; padding: 0; }
.tlf-link { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin-left: -8px; border-radius: 10px; font-size: 14px; font-weight: 500; color: #cbd5e1 !important; text-decoration: none !important; transition: background .2s, color .2s; }
.tlf-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); transition: transform .25s, background .25s, color .25s; }
.tlf-ico svg { color: inherit !important; filter: none !important; }
.tlf-link:hover, .tlf-link:focus-visible { color: #fff !important; background: color-mix(in srgb, var(--c) 9%, transparent); }
.tlf-link:hover .tlf-ico, .tlf-link:focus-visible .tlf-ico { color: #fff; background: var(--c); transform: rotate(-6deg) scale(1.06); }
.tlf-tag { margin-left: 2px; font-size: 9.5px; font-weight: 800; padding: 2px 6px; border-radius: 100px; color: #1e1b4b; background: #c4b5fd; }

.tlf-contact { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tlf-contact li { margin: 0; }
.tlf-contact-item { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 13px; background: var(--tlf-card); border: 1px solid var(--tlf-line); text-decoration: none !important; transition: .25s; }
.tlf-contact-item .tlf-ico { width: 32px; height: 32px; border-radius: 10px; }
a.tlf-contact-item:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateX(3px); }
a.tlf-contact-item:hover .tlf-ico { color: #fff; background: var(--c); }
.tlf-contact-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.tlf-contact-txt b { font-size: 13.5px; color: #fff; }
.tlf-contact-txt small { font-size: 12px; color: var(--tlf-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlf-arrow { color: var(--tlf-muted); transition: transform .25s, color .25s; }
a.tlf-contact-item:hover .tlf-arrow { color: var(--c); transform: translateX(3px); }
.tlf-contact-item--wa { background: linear-gradient(135deg, rgba(34,197,94,.14), var(--tlf-card)); border-color: rgba(34,197,94,.28); }

.tlf-news-title { display: flex; align-items: center; gap: 7px; font-size: 13px !important; font-weight: 700; color: #e2e8f0 !important; margin: 0 0 8px !important; }
.tlf-news-title svg { color: #7aa8ff !important; }
.tlf-news-form { display: flex; gap: 6px; padding: 5px; border-radius: 13px; background: var(--tlf-card); border: 1px solid var(--tlf-line); transition: border-color .2s; }
.tlf-news-form:focus-within { border-color: rgba(122,168,255,.5); }
.tlf-news-input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; color: #fff !important; font-size: 13.5px; padding: 8px 8px !important; outline: none; box-shadow: none !important; }
.tlf-news-input::placeholder { color: #64748b; }
.tlf-news-btn { flex-shrink: 0; width: 38px; height: 38px; border: 0; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: #fff; background: linear-gradient(135deg,#2563eb,#4f8bff); transition: transform .2s; }
.tlf-news-btn svg { color: #fff !important; }
.tlf-news-btn:hover { transform: translateX(2px); }
.tlf-news-msg { font-size: 12px; margin: 6px 0 0; min-height: 16px; }

/* ── Ruta ── */
.tlf-ruta { margin-top: 38px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(37,99,235,.16), rgba(15,23,42,.65)); border: 1px solid rgba(122,168,255,.2); }
.tlf-ruta-head { display: flex; align-items: center; gap: 12px; }
.tlf-ruta-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg,#2563eb,#7c3aed); box-shadow: 0 10px 24px -10px #4f8bff; }
.tlf-ruta-ico svg { color: #fff !important; }
.tlf-ruta-head > span:last-child { display: flex; flex-direction: column; }
.tlf-ruta-head strong { font-size: 15.5px; color: #fff; }
.tlf-ruta-head small { font-size: 12.5px; color: var(--tlf-muted); }
.tlf-ruta-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0; counter-reset: none; }
.tlf-ruta-steps li { flex: 1; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; font-weight: 600; color: #cbd5e1; position: relative; padding-right: 10px; min-width: 0; }
.tlf-ruta-steps li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlf-ruta-steps li:not(:last-child)::after { content: ''; flex: 1; min-width: 10px; height: 2px; border-radius: 2px; background: rgba(148,163,184,.2); }
.tlf-ruta-steps b { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; color: #cbd5e1; background: rgba(15,23,42,.9); border: 1.5px solid rgba(148,163,184,.3); }
.tlf-ruta-steps li.is-done b { color: #052e16; background: #4ade80; border-color: #4ade80; }
.tlf-ruta-steps li.is-done:not(:last-child)::after { background: #4ade80; }
.tlf-ruta-steps li.is-next b { color: #fff; background: #2563eb; border-color: #7aa8ff; box-shadow: 0 0 0 4px rgba(37,99,235,.25); }
.tlf-ruta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; color: #0b1220 !important; background: #fff; text-decoration: none !important; white-space: nowrap; transition: transform .2s, box-shadow .2s; }
.tlf-ruta-btn svg { color: #0b1220 !important; }
.tlf-ruta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(255,255,255,.5); }

/* ── Marca gigante ── */
.tlf-giant { position: relative; z-index: 1; overflow: hidden; text-align: center; line-height: .78; margin-top: 10px; pointer-events: none; user-select: none; }
.tlf-giant span {
  display: inline-block; font-family: var(--font-heading, 'Bricolage Grotesque', sans-serif); font-weight: 800;
  font-size: clamp(84px, 19vw, 300px); letter-spacing: -.05em;
  background: linear-gradient(180deg, rgba(122,168,255,.22), rgba(122,168,255,0) 82%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: translateY(12%);
}

/* ── Fila legal ── */
.tlf-bottom { position: relative; z-index: 2; border-top: 1px solid var(--tlf-line); background: rgba(2,6,23,.55); backdrop-filter: blur(6px); }
.tlf-bottom-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; padding: 18px 0; font-size: 13px; color: var(--tlf-muted); }
.tlf-copy a { color: #e2e8f0 !important; font-weight: 700; text-decoration: none !important; }
.tlf-legal { display: flex; gap: 16px; }
.tlf-legal a { color: var(--tlf-muted) !important; text-decoration: none !important; transition: color .2s; }
.tlf-legal a:hover { color: #fff !important; }
.tlf-hecho { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #e2e8f0; }
.tlf-flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.15); }
.tlf-tools { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.tlf-lang { display: inline-flex; padding: 3px; border-radius: 10px; background: rgba(15,23,42,.9); border: 1px solid var(--tlf-line); }
.tlf-lang a { padding: 5px 10px; border-radius: 7px; font-size: 12px; font-weight: 800; color: var(--tlf-muted) !important; text-decoration: none !important; transition: .2s; }
.tlf-lang a:hover { color: #fff !important; }
.tlf-lang a.is-on { color: #fff !important; background: #2563eb; }
.tlf-theme { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: #cbd5e1; background: rgba(15,23,42,.9); border: 1px solid var(--tlf-line); transition: .2s; }
.tlf-theme:hover { color: #fff; border-color: rgba(122,168,255,.45); }
.tlf-theme svg { color: inherit !important; }

/* ── Responsive ── */
@media (max-width: 1180px) {
  .tlf-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .tlf-col--contact { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .tlf-col--contact .tlf-col-title { grid-column: 1 / -1; }
  .tlf-contact { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .tlf-flow-in { grid-template-columns: 1fr auto; }
  .tlf-flow-chans { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .tlf-flow-line { display: none; }
  .tlf-grid { grid-template-columns: 1fr 1fr 1fr; }
  .tlf-brand { grid-column: 1 / -1; }
  .tlf-ruta { grid-template-columns: 1fr; gap: 16px; }
  .tlf-ruta-btn { justify-self: start; }
}
@media (max-width: 680px) {
  .tlf-flow { padding-top: 26px; }
  .tlf-flow-in { grid-template-columns: 1fr; padding: 16px; }
  .tlf-flow-copy strong { font-size: 17px; }
  .tlf-flow-inbox { justify-self: start; }
  .tlf-chan { width: 34px; height: 34px; }
  .tlf-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .tlf-col--contact { display: block; }
  .tlf-contact { display: flex; }
  .tlf-link { font-size: 13.5px; gap: 8px; }
  .tlf-ruta-steps { flex-direction: column; align-items: stretch; gap: 8px; }
  .tlf-ruta-steps li { padding: 0; }
  .tlf-ruta-steps li::after { display: none; }
  .tlf-ruta-btn { justify-self: stretch; justify-content: center; }
  .tlf-bottom-in { flex-direction: column; align-items: flex-start; gap: 12px; padding-bottom: 90px; }
  .tlf-tools { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .tlf-chan { opacity: 1 !important; transform: none !important; transition: none; }
  .tlf-flow-line i, .tlf-status-dot, .tlf-flow-in:hover .tlf-chan { animation: none !important; }
}
/* ajustes finos del footer */
.tlf-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr 1.25fr; gap: 30px; }
.tlf-link { white-space: nowrap; }
.tlf-ruta { grid-template-columns: 1fr auto; row-gap: 16px; }
.tlf-ruta-steps { grid-column: 1 / -1; grid-row: 2; }
.tlf-ruta-steps li span { overflow: visible; }
@media (max-width: 1180px) { .tlf-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
@media (max-width: 960px) { .tlf-grid { grid-template-columns: 1fr 1fr 1fr; } .tlf-ruta-steps li span { white-space: normal; } }
@media (max-width: 680px) { .tlf-grid { grid-template-columns: 1fr 1fr; } .tlf-link { white-space: normal; } .tlf-ruta { grid-template-columns: 1fr; } .tlf-ruta-steps { grid-row: auto; } }
/* El footer es oscuro también en modo claro: fijamos sus textos */
html[data-theme="light"] .pft .pft__cta-title { color: #fff !important; }
html[data-theme="light"] .pft .tlf-desc,
html[data-theme="light"] .pft .tlf-contact-txt small,
html[data-theme="light"] .pft .tlf-ruta-head small,
html[data-theme="light"] .pft .tlf-flow-inbox small,
html[data-theme="light"] .pft .tlf-bottom-in,
html[data-theme="light"] .pft .tlf-legal a { color: #8ea0bd !important; }
html[data-theme="light"] .pft .tlf-col-title,
html[data-theme="light"] .pft .tlf-flow-copy small { color: #7aa8ff !important; }
html[data-theme="light"] .pft .tlf-ruta-steps li,
html[data-theme="light"] .pft .tlf-link { color: #cbd5e1 !important; }
html[data-theme="light"] .pft .tlf-ruta-head strong,
html[data-theme="light"] .pft .tlf-flow-copy strong,
html[data-theme="light"] .pft .tlf-contact-txt b,
html[data-theme="light"] .pft .tlf-flow-inbox b,
html[data-theme="light"] .pft .tlf-hecho,
html[data-theme="light"] .pft .tlf-news-title { color: #fff !important; }
html[data-theme="light"] .pft .tlf-status { color: #86efac !important; }
html[data-theme="light"] .pft .tlf-theme { color: #cbd5e1 !important; background: rgba(15,23,42,.9) !important; }
html[data-theme="light"] .pft .tlf-theme svg { color: #fbbf24 !important; }
html[data-theme="light"] .pft .tlf-news-input { color: #fff !important; }
.tlf-status { white-space: nowrap; }
/* Los canales solo se esconden si el JS va a animarlos (nunca quedan invisibles) */
.tlf-chan { opacity: 1; transform: none; }
.tlf-flow.is-wait:not(.is-in) .tlf-chan { opacity: 0; transform: translateY(8px) scale(.9); }
@media (max-width: 680px) { .tlf-flow-chans { gap: 5px; } }
@media (max-width: 360px) { .tlf-chan { width: 30px; height: 30px; border-radius: 9px; } }

/* ══════════════════════════════════════════════════════════════════
   Estilos compartidos (v9.36)
   .tf-item-grid / .tf-item solo tenían estilos dentro de la página
   "Todas las funciones"; en Marca Blanca, Capitán IA, canales, Recursos,
   Odoo, etc. se veían rotos (barras vacías y el texto suelto debajo).
   ══════════════════════════════════════════════════════════════════ */
.tf-item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tf-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 18px 16px; border-radius: 16px; text-align: left;
  background: rgba(15,23,42,.55); border: 1px solid rgba(96,165,250,.16);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.tf-item:hover { border-color: rgba(96,165,250,.45); transform: translateY(-2px); box-shadow: 0 18px 36px -22px rgba(37,99,235,.6); }
.tf-item-icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #60a5fa; background: rgba(37,99,235,.14); border: 1px solid rgba(96,165,250,.28); }
.tf-item-icon svg { color: inherit !important; }
.tf-item > div:last-child { min-width: 0; }
.tf-item h3, .tf-item h4, .tf-item strong { display: block; font-size: 15.5px !important; font-weight: 700; line-height: 1.3; color: #f1f5f9; margin: 2px 0 5px !important; }
.tf-item p { font-size: 14px !important; line-height: 1.6; color: #94a3b8; margin: 0 !important; }
html[data-theme="light"] .tf-item { background: #fff; border-color: #e2e8f0; box-shadow: 0 10px 24px -20px rgba(15,23,42,.35); }
html[data-theme="light"] .tf-item h3, html[data-theme="light"] .tf-item h4, html[data-theme="light"] .tf-item strong { color: #0f172a !important; }
html[data-theme="light"] .tf-item p { color: #475569 !important; }
html[data-theme="light"] .tf-item-icon { color: #2563eb; background: #eff6ff; border-color: #bfdbfe; }
@media (max-width: 720px) { .tf-item-grid { grid-template-columns: 1fr; } }

/* Preguntas frecuentes fuera del inicio (Marca Blanca, Odoo, Glosario…):
   mismas tarjetas que el FAQ del inicio. */
.faq-grid .faq-item { position: relative; overflow: hidden; border-radius: 14px; background: rgba(15,23,42,.6); border: 1px solid rgba(148,163,184,.16); transition: border-color .25s, box-shadow .25s; }
.faq-grid .faq-item.open { border-color: rgba(122,168,255,.45); box-shadow: 0 0 24px rgba(122,168,255,.14); }
.faq-grid .faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font: 600 15px/1.4 var(--font-body); color: #e2e8f0; background: transparent !important; border: 0; text-align: left; cursor: pointer; }
.faq-grid .faq-q:hover { color: #fff; }
.faq-grid .faq-item.open .faq-q { color: #a5c4ff; }
.faq-grid .faq-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; color: #a5c4ff; background: rgba(122,168,255,.14); border: 1.5px solid rgba(122,168,255,.4); transition: transform .25s, background .25s; }
.faq-grid .faq-item.open .faq-icon { transform: rotate(45deg); color: #fff; background: linear-gradient(135deg,#1d4ed8,#3b6fdc); border-color: transparent; }
.faq-grid .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; background: transparent; border: 0; max-height: none !important; }
.faq-grid .faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-grid .faq-a > * { overflow: hidden; min-height: 0; }
.faq-grid .faq-a p { padding: 0 20px 18px !important; margin: 0 !important; font-size: 14.5px; line-height: 1.7; color: #94a3b8; }
html[data-theme="light"] .faq-grid .faq-item { background: #fff; border-color: #e2e8f0; }
html[data-theme="light"] .faq-grid .faq-q { color: #0f172a; }
html[data-theme="light"] .faq-grid .faq-item.open .faq-q { color: #1d4ed8; }
html[data-theme="light"] .faq-grid .faq-a p { color: #475569 !important; }
html[data-theme="light"] .faq-grid .faq-icon { color: #1d4ed8; background: #eff6ff; border-color: #bfdbfe; }
/* En dos columnas, abrir una estiraba a la vecina: mejor una columna */
.faq-grid { grid-template-columns: 1fr !important; max-width: 820px !important; gap: 10px !important; align-items: start; }
.faq-grid .faq-item:not(.open) .faq-a { display: none; }
.faq-grid .faq-item.open .faq-a { display: block; }
/* Etiquetas de sección que se estiraban a todo el ancho */
[id^="marca-blanca"] .section-label, #precios .section-label { display: inline-flex !important; width: auto !important; max-width: max-content; margin-left: auto; margin-right: auto; }
.marca-blanca-support-card { position: relative; overflow: hidden; border: 1px solid rgba(122,168,255,.22); border-radius: 22px; padding: 36px; background: linear-gradient(145deg, rgba(37,99,235,.14), rgba(10,14,26,.7) 55%); }
.marca-blanca-support-card .section-label { display: inline-flex !important; width: auto !important; }
html[data-theme="light"] .marca-blanca-support-card { background: linear-gradient(145deg, #eff6ff, #fff 60%); border-color: #bfdbfe; box-shadow: 0 24px 50px -30px rgba(37,99,235,.45); }
html[data-theme="light"] .marca-blanca-support-card .heading-lg { color: #0f172a !important; }
html[data-theme="light"] .marca-blanca-support-card .section-subtitle, html[data-theme="light"] .marca-blanca-support-card .feat-check span { color: #334155 !important; }
@media (max-width: 640px) { .marca-blanca-support-card { padding: 24px 20px; } }
/* Marca Blanca en modo claro: tarjeta destacada y botón secundario del cierre */
html[data-theme="light"] .mb-plan-card.popular { box-shadow: 0 30px 60px -30px rgba(37,99,235,.55), 0 0 0 2px #3b82f6 !important; }
html[data-theme="light"] .mb-plan-card.popular .btn-white.mb-plan-cta { color: #fff !important; background: linear-gradient(135deg,#2563eb,#4f8bff) !important; border-color: transparent !important; }
html[data-theme="light"] .mb-plan-card.popular .plan-price { color: #1d4ed8 !important; -webkit-text-fill-color: #1d4ed8 !important; }
html[data-theme="light"] #marca-blanca-cta a:not(.btn-primary) { color: #1d4ed8 !important; }
html[data-theme="light"] #marca-blanca-cta a:not(.btn-primary) svg { color: #1d4ed8 !important; }
/* Recursos: el bloque de 3 tarjetas con curvas repetía las mismas guías que la cuadrícula de abajo */
.res-docs-section .cap-flow-mini { display: none !important; }
/* Respuestas de FAQ que se asomaban estando cerradas (Recursos y otras páginas) */
.res-faq-section .faq-item:not(.open) .faq-a { display: none !important; }
/* Contacto: el ícono de cada opción se estiraba como una barra vacía */
.ct-option-card .ct-option-icon { width: 46px !important; height: 46px !important; border-radius: 13px !important; display: grid !important; place-items: center !important; margin-bottom: 14px; }
.ct-option-card .ct-option-icon svg { width: 22px; height: 22px; }
.ct-option-card { transition: transform .25s, box-shadow .25s; }
a.ct-option-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(37,99,235,.55); }
.ct-option-card--pending { opacity: .75; }
/* Manuales en borrador: recuadro donde irá una captura real */
.manual-shot--pendiente .manual-pendiente { display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; text-align: center; min-height: 170px; padding: 24px; border-radius: 14px; border: 2px dashed rgba(245,158,11,.55); background: repeating-linear-gradient(135deg, rgba(245,158,11,.06) 0 12px, transparent 12px 24px); color: #fbbf24; }
.manual-shot--pendiente .manual-pendiente strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.manual-shot--pendiente .manual-pendiente span { font-size: 14px; color: #cbd5e1; max-width: 460px; }
html[data-theme="light"] .manual-shot--pendiente .manual-pendiente { color: #b45309; }
html[data-theme="light"] .manual-shot--pendiente .manual-pendiente span { color: #475569; }
.tln-col--planes .tln-planes { margin: 4px 10px 0; }
.tln-col--planes .tln-plan-medida { margin-left: 10px; margin-right: 10px; }

/* ── Paneles Contacto y Marca Blanca ── */
.tln-panel--contacto { width: min(720px, calc(100vw - 32px)) !important; }
.tln-panel--marca { width: min(700px, calc(100vw - 32px)) !important; }
.tln-cols--contacto { grid-template-columns: 1fr 1fr; }
.tln-cols--marca { grid-template-columns: 1.1fr 1fr; }
.tln-motivos-sub { margin: -4px 10px 10px; font-size: 12px; color: var(--tln-muted); line-height: 1.4; }
.tln-motivos { display: grid; gap: 8px; margin: 0 10px; }
.tln-motivo { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--tln-line); background: color-mix(in srgb, var(--tln-text) 3%, transparent); font-size: 13.5px; font-weight: 600; color: var(--tln-text) !important; text-decoration: none !important; transition: border-color .2s, background .2s, transform .2s var(--tln-ease); }
.tln-motivo svg:first-child { color: #22c55e; flex: none; }
.tln-motivo span { flex: 1; }
.tln-motivo svg:last-child { opacity: .4; transition: transform .2s var(--tln-ease), opacity .2s; }
.tln-motivo:hover { border-color: rgba(34,197,94,.55); background: rgba(34,197,94,.08); transform: translateX(2px); }
.tln-motivo:hover svg:last-child { opacity: 1; transform: translateX(3px); }
.tln-mb-intro { margin: 12px; padding: 18px !important; border-radius: 16px; background: linear-gradient(160deg, rgba(122,168,255,.16), transparent 70%); border: 1px solid rgba(122,168,255,.28); }
.tln-mb-title { margin: 6px 0 12px; font-size: 19px; font-weight: 800; line-height: 1.2; color: var(--tln-text); }
.tln-mb-intro .tln-pros li svg { color: #7AA8FF; }
.tln-mb-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
.tln-mb-go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; font-size: 13.5px; font-weight: 700; color: #0b1426 !important; background: #fff; text-decoration: none !important; }
html[data-theme="light"] .tln-mb-go { color: #fff !important; background: #2563EB; }
.tln-mb-wa { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #4ade80 !important; text-decoration: none !important; }
html[data-theme="light"] .tln-mb-wa { color: #15803d !important; }
.tln-mb-pasos { list-style: none; margin: 0 10px; padding: 0; display: grid; gap: 14px; position: relative; }
.tln-mb-pasos li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.tln-mb-pasos b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; color: #fff; background: linear-gradient(135deg,#2563EB,#7AA8FF); box-shadow: 0 0 14px rgba(37,99,235,.45); }
.tln-mb-pasos strong { display: block; font-size: 14px; color: var(--tln-text); }
.tln-mb-pasos small { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.4; color: var(--tln-muted); }

/* ── Indicador que se desliza bajo el menú al pasar el ratón ── */
.site-header .main-nav { position: relative; }
.tln-glide { position: absolute; top: 50%; left: 0; height: 38px; width: 0; border-radius: 10px; background: rgba(37,99,235,.16); transform: translateY(-50%); opacity: 0; pointer-events: none; z-index: 0; transition: left .28s var(--tln-ease), width .28s var(--tln-ease), opacity .2s ease; }
html[data-theme="light"] .tln-glide { background: rgba(37,99,235,.08); }
.main-nav.has-glide .nav-link { position: relative; z-index: 1; }
.main-nav.has-glide .nav-link:hover, .main-nav.has-glide .nav-link--btn:hover { background: transparent !important; }
@media (prefers-reduced-motion: reduce) { .tln-glide { transition: opacity .2s ease; } }

/* ── Header compacto al hacer scroll ── */
.site-header .header-inner { transition: height .25s var(--tln-ease); }
.site-header.scrolled .header-inner { height: calc(var(--header-h) - 10px); }
.site-header.scrolled .tln-brand-mark { transform: scale(.9); }

/* Laptops: el menú ahora tiene 6 paneles; se compacta para que todo entre */
@media (max-width: 1599px) {
  .site-header .nav-link, .site-header .nav-link--btn { padding: 8px 9px !important; font-size: 13.5px !important; }
  .site-header .nav-chevron { margin-left: -1px; }
  .site-header .header-ctas { gap: 6px; }
  .site-header .header-ctas .btn { padding-left: 13px !important; padding-right: 13px !important; }
}
/* Insignia Meta en el header: azul sólido para que se note */
.site-header .tln-meta { background: linear-gradient(135deg,#0866ff,#1877f2 60%,#3b82f6); border-color: rgba(147,197,253,.75); box-shadow: 0 6px 18px -6px rgba(24,119,242,.75), inset 0 1px 0 rgba(255,255,255,.25); padding: 6px 10px 6px 9px; gap: 7px; }
.site-header .tln-meta:hover, .site-header .tln-meta:focus-visible { background: linear-gradient(135deg,#0a5cff,#2563eb); border-color: #bfdbfe; }
.site-header .tln-meta .tln-meta-logo { animation: none !important; filter: brightness(0) invert(1) !important; width: 24px; }
.site-header .tln-meta .tln-meta-ok { background: #fff; color: #1877f2; }
.site-header .tln-meta-short { font-size: 11.5px; font-weight: 800; color: #fff; letter-spacing: .01em; white-space: nowrap; }
html[data-theme="light"] .site-header .tln-meta { background: linear-gradient(135deg,#0866ff,#1877f2 60%,#3b82f6); border-color: #1877f2; }
.site-header .tln-meta::after { content: ""; position: absolute; inset: -3px; border-radius: 13px; border: 2px solid rgba(59,130,246,.55); opacity: 0; animation: tlnMetaPulse 2.8s ease-out 1.2s 2; pointer-events: none; }
@keyframes tlnMetaPulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }
@media (min-width: 1800px) { .site-header .tln-meta-short { display: none; } .site-header .tln-meta-txt { display: flex; } .site-header .tln-meta-txt b, .site-header .tln-meta-txt small { color: #fff; } }
@media (max-width: 1439px) { .site-header .tln-meta-short { display: none; } .site-header .tln-meta { padding: 6px 8px; gap: 5px; } }
@media (max-width: 1150px) { .site-header .tln-meta { display: none; } }
@media (prefers-reduced-motion: reduce) { .site-header .tln-meta::after { animation: none; } }
@media (max-width: 1240px) {
  .site-header .nav-link, .site-header .nav-link--btn { padding: 8px 7px !important; font-size: 13px !important; }
  .site-header .header-btn-login { display: none !important; }
}

/* Paso «Instala la app» en la ruta */
.tln-ruta-steps li .tln-ruta-app { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; padding: 1px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #a5f3fc; background: rgba(34,211,238,.14); border: 1px solid rgba(34,211,238,.4); }
.tln-ruta-steps li .tln-ruta-app svg { width: 11px; height: 11px; }
.tlf-ruta-steps li.is-app span { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.tlf-ruta-steps li.is-app svg { color: #22d3ee; flex: 0 0 auto; }
.tln-mbrand .tln-meta-short { display: none !important; }

/* ── Tarjeta «¿Te bloquearon WhatsApp?» ── */
.tln-wa-seguro {
  display: flex; align-items: center; gap: 11px; margin-top: 16px; padding: 12px 13px; border-radius: 13px;
  text-decoration: none !important; position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(34,197,94,.22), rgba(34,197,94,.06) 65%), #0b1f17;
  border: 1px solid rgba(74,222,128,.45);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tln-wa-seguro:hover { transform: translateY(-1px); border-color: #4ade80; box-shadow: 0 10px 26px -12px rgba(74,222,128,.7); }
.tln-wa-seguro-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #22c55e; }
.tln-wa-seguro-ico svg { color: #052e16 !important; }
.tln-wa-seguro-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tln-wa-seguro-txt strong { font-size: 13.5px; font-weight: 800; color: #fff; line-height: 1.2; }
.tln-wa-seguro-txt small { font-size: 12px; color: #bbf7d0; line-height: 1.35; }
.tln-wa-seguro-go { margin-left: auto; flex-shrink: 0; color: #4ade80; transition: transform .2s ease; }
.tln-wa-seguro-go svg { color: #4ade80 !important; }
.tln-wa-seguro:hover .tln-wa-seguro-go { transform: translateX(3px); }
.tln-wa-seguro--movil { margin: 10px 0 12px; }
html[data-theme="light"] .tln-wa-seguro { background: linear-gradient(135deg, #dcfce7, #f0fdf4); border-color: #86efac; }
html[data-theme="light"] .tln-wa-seguro-txt strong { color: #052e16; }
html[data-theme="light"] .tln-wa-seguro-txt small { color: #166534; }
html[data-theme="light"] .tln-wa-seguro-go, html[data-theme="light"] .tln-wa-seguro-go svg { color: #16a34a !important; }
@media (prefers-reduced-motion: reduce) { .tln-wa-seguro, .tln-wa-seguro-go { transition: none; } }

/* ── Pasos de la ruta clicables (menú y footer) ── */
.tln-ruta-steps li { padding: 0; }
.tln-ruta-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; margin: -3px -8px; padding: 3px 8px; border-radius: 9px; color: inherit !important; text-decoration: none !important; transition: background .15s ease; }
.tln-ruta-link:hover, .tln-ruta-link:focus-visible { background: rgba(122,168,255,.14); color: #fff !important; }
.tln-ruta-link:focus-visible { outline: 2px solid #7AA8FF; outline-offset: 1px; }
.tln-ruta-go { margin-left: auto; opacity: 0; transform: translateX(-4px); transition: opacity .15s ease, transform .15s ease; color: #9dc0ff; display: inline-flex; }
.tln-ruta-go svg { color: #9dc0ff !important; }
.tln-ruta-link:hover .tln-ruta-go, .tln-ruta-link:focus-visible .tln-ruta-go, li.is-next .tln-ruta-go { opacity: 1; transform: none; }
.tlf-ruta-link { display: flex; align-items: center; gap: 8px; min-width: 0; color: inherit !important; text-decoration: none !important; border-radius: 999px; }
.tlf-ruta-link span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlf-ruta-link:hover span { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.tlf-ruta-link:hover b { border-color: #7aa8ff; }
.tlf-ruta-link:focus-visible { outline: 2px solid #7AA8FF; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tln-ruta-link, .tln-ruta-go { transition: none; } }
