/* ============================================================
   LANDING IA INMOBILIARIAS  /ia-inmobiliarias  —  .tnin- prefix
   Depende del bloque .tnla- (landing IA agéntica) y .newsletter.
   Fichero propio de la pagina: se carga DESPUES de style.css y solo en /ia-inmobiliarias
   (enlace en su bloque de la cabecera de zona).

   Regla de color de esta pagina:
   - Azul y turquesa: marca (tokens .tnla- heredados).
   - Ambar (--tnin-warn): solo "lo que se pierde" (llamada fuera de
     horario, cifras de contactos sin respuesta y resultado de la calculadora).
   - Papel claro (--tnin-paper): solo la ficha del comprador.
============================================================ */

/* --- Tokens propios --- */
.tnin-page {
  --tnin-warn: #ffb057;                      /* llamada perdida */
  --tnin-line: rgba(232, 237, 248, 0.09);    /* filetes */
  --tnin-paper: #eef2fb;                     /* ficha clara sobre fondo oscuro */
  --tnin-ink: #0d1426;
  --tnin-ease: cubic-bezier(0.23, 1, 0.32, 1);
  /* clip en lugar de hidden: no crea contexto de scroll, asi que
     position: sticky funciona y no rompe elementos fixed globales */
  overflow-x: hidden;
  overflow-x: clip;
}

.tnin-page :focus-visible {
  outline: 2px solid var(--tnla-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Utilidades de texto --- */
.tnin-head { max-width: 780px; margin-bottom: 3rem; }
.tnin-head .tnla-sub { max-width: 640px; }

/* :where() mantiene especificidad de elemento: gana a Bootstrap por orden
   de carga, pero no pisa los margenes de los componentes .tnla- */
:where(.tnin-page) p { margin: 0; }
:where(.tnin-page) ul,
:where(.tnin-page) ol { margin: 0; padding: 0; list-style: none; }

.tnin-link {
  color: var(--tnla-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(79, 142, 255, 0.4);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.tnin-link:hover {
  color: var(--tnla-teal);
  text-decoration-color: currentColor;
}

.tnin-cta-row { margin-top: 3rem; }

/* =============================================================
   HERO
   ============================================================= */
.tnin-hero.tnla-hero { min-height: 0; padding-bottom: 5.5rem; }
.tnin-hero .tnla-hero-inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }

.tnin-hero.tnla-hero h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.45rem);
  line-height: 1.08;
}
.tnin-hero .tnla-hero-desc { max-width: 540px; }
.tnin-hero .tnla-hero-ctas { margin-bottom: 2rem; }

.tnin-proofs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--tnla-border);
  font-size: 0.86rem;
  color: var(--tnla-muted);
}
.tnin-proofs li { display: flex; align-items: center; gap: 0.5rem; }
.tnin-proofs i { color: var(--tnla-teal); font-size: 0.8rem; }

/* --- La llamada --- */
.tnin-call {
  position: relative;
  background: var(--tnla-surface);
  border: 1px solid var(--tnla-border);
  border-radius: 20px;
  box-shadow: var(--tnla-glow), 0 40px 80px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.tnin-call::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 142, 255, 0.7), var(--tnla-teal), transparent);
}

.tnin-call-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--tnla-border);
}
.tnin-call-ico {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tnla-accent), var(--tnla-teal));
  color: #fff;
  font-size: 1rem;
}
.tnin-call-title { font-weight: 700; font-size: 0.95rem; color: var(--tnla-text); line-height: 1.3; }
.tnin-call-meta { font-size: 0.76rem; color: var(--tnin-warn); line-height: 1.3; }

.tnin-wave {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}
.tnin-wave span {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: var(--tnla-teal);
  transform: scaleY(0.25);
  transform-origin: center;
  animation: tnin-wave 1.15s ease-in-out infinite;
}
.tnin-wave span:nth-child(2) { animation-delay: 0.12s; }
.tnin-wave span:nth-child(3) { animation-delay: 0.31s; }
.tnin-wave span:nth-child(4) { animation-delay: 0.07s; }
.tnin-wave span:nth-child(5) { animation-delay: 0.42s; }
.tnin-wave span:nth-child(6) { animation-delay: 0.19s; }
.tnin-wave span:nth-child(7) { animation-delay: 0.36s; }
.tnin-wave span:nth-child(8) { animation-delay: 0.25s; }
@keyframes tnin-wave {
  0%, 100% { transform: scaleY(0.22); }
  50%      { transform: scaleY(1); }
}

.tnin-call-body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.25rem;
}
.tnin-msg {
  max-width: 88%;
  padding: 0.65rem 0.95rem 0.75rem;
  border-radius: 14px;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--tnla-text);
  animation: tnin-msg 0.55s var(--tnin-ease) both;
}
.tnin-msg-who {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--tnla-muted);
}
.tnin-msg--caller {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
}
.tnin-msg--agent {
  align-self: flex-end;
  background: rgba(79, 142, 255, 0.14);
  border: 1px solid rgba(79, 142, 255, 0.3);
  border-bottom-right-radius: 4px;
}
.tnin-msg--agent .tnin-msg-who { color: var(--tnla-accent); }

/* Una sola secuencia orquestada: la conversacion se escribe al cargar */
.tnin-msg:nth-child(1) { animation-delay: 0.35s; }
.tnin-msg:nth-child(2) { animation-delay: 1.5s; }
.tnin-msg:nth-child(3) { animation-delay: 2.9s; }
.tnin-msg:nth-child(4) { animation-delay: 4.1s; }
.tnin-msg:nth-child(5) { animation-delay: 5.5s; }
@keyframes tnin-msg {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.tnin-call-result {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 1.25rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: rgba(0, 229, 196, 0.08);
  border: 1px solid rgba(0, 229, 196, 0.32);
  animation: tnin-msg 0.6s var(--tnin-ease) 6.5s both;
}
.tnin-call-result i { color: var(--tnla-teal); font-size: 1.25rem; }
.tnin-call-result strong { display: block; font-size: 0.93rem; color: var(--tnla-text); line-height: 1.35; }
.tnin-call-result span { display: block; font-size: 0.78rem; color: var(--tnla-muted); line-height: 1.35; }

.tnin-call-note {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.72rem;
  color: var(--tnla-faint);
  text-align: center;
}

/* =============================================================
   DEFINICION
   ============================================================= */
.tnin-def { padding: 5rem 5% 4.5rem; }
.tnin-def-text {
  max-width: 940px;
  font-size: clamp(1.12rem, 1.9vw, 1.42rem);
  line-height: 1.6;
  color: var(--tnla-muted);
}
.tnin-def-text strong { color: var(--tnla-text); font-weight: 600; }
.tnin-def-text + .tnin-def-text { margin-top: 1.25rem; }

.tnin-certline { color: var(--tnla-faint); font-size: 0.82rem; font-weight: 600; margin-left: auto; }

/* =============================================================
   USOS DE LA IA (5 frentes)
   ============================================================= */
.tnin-uses { border-top: 1px solid var(--tnin-line); }
.tnin-use {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 15rem);
  gap: 1.5rem;
  align-items: start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--tnin-line);
}
.tnin-use-ico { font-size: 1.5rem; color: var(--tnla-accent); line-height: 1.2; }
.tnin-use h3 {
  margin: 0 0 0.3rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--tnla-text);
  line-height: 1.35;
}
.tnin-use p { font-size: 0.95rem; color: var(--tnla-muted); line-height: 1.65; max-width: 620px; }
.tnin-use-side { font-size: 0.88rem; justify-self: end; text-align: right; padding-top: 0.2rem; }

.tnin-use--first {
  padding: 2rem 1.75rem;
  margin: 0 -1.75rem;
  background: linear-gradient(90deg, rgba(0, 229, 196, 0.07), rgba(79, 142, 255, 0.03) 70%, transparent);
  border-left: 3px solid var(--tnla-teal);
  border-radius: 0 14px 14px 0;
}
.tnin-use--first .tnin-use-ico { color: var(--tnla-teal); }
.tnin-use--first h3 { font-size: 1.3rem; }
.tnin-tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  background: rgba(0, 229, 196, 0.1);
  border: 1px solid rgba(0, 229, 196, 0.28);
  color: var(--tnla-teal);
  font-size: 0.76rem;
  font-weight: 700;
}

/* =============================================================
   LLAMADAS PERDIDAS (datos + pains)
   ============================================================= */
.tnin-pains {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 4.5rem;
  align-items: start;
}
.tnin-proof { position: sticky; top: 110px; }
.tnin-proof-list { border-top: 1px solid var(--tnin-line); }
.tnin-stat {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--tnin-line);
}
.tnin-stat-num {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--tnin-warn);
}
.tnin-stat--good .tnin-stat-num { color: var(--tnla-teal); }
.tnin-stat-txt { font-size: 0.95rem; color: var(--tnla-text); line-height: 1.5; }
.tnin-source { margin-top: 1.1rem; font-size: 0.78rem; color: var(--tnla-muted); line-height: 1.6; }

.tnin-pain-lead { font-size: 1.05rem; color: var(--tnla-muted); line-height: 1.7; margin-bottom: 2rem; }
.tnin-pain {
  padding: 1.45rem 0;
  border-top: 1px solid var(--tnin-line);
}
.tnin-pain:last-child { border-bottom: 1px solid var(--tnin-line); }
.tnin-pain-q {
  margin: 0 0 0.5rem;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--tnla-text);
}
.tnin-pain-a {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.5rem;
  font-size: 0.97rem;
  color: var(--tnla-muted);
  line-height: 1.65;
}
.tnin-pain-a i { color: var(--tnla-teal); font-size: 0.8rem; padding-top: 0.42rem; }

/* =============================================================
   QUE HACE EN CADA LLAMADA (lista + ficha)
   ============================================================= */
.tnin-does {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 4rem;
  align-items: center;
}
.tnin-checks li {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.6rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--tnin-line);
  font-size: 0.98rem;
  color: var(--tnla-muted);
  line-height: 1.6;
}
.tnin-checks li:first-child { border-top: 1px solid var(--tnin-line); }
.tnin-checks i { color: var(--tnla-teal); font-size: 0.82rem; padding-top: 0.38rem; }
.tnin-checks strong { color: var(--tnla-text); font-weight: 600; }

/* Ficha: unica superficie clara de la pagina */
.tnin-ficha {
  background: var(--tnin-paper);
  color: var(--tnin-ink);
  border-radius: 18px;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.tnin-ficha-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 2px solid var(--tnin-ink);
}
.tnin-ficha-title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.01em; }
.tnin-ficha-ex { font-size: 0.72rem; font-weight: 600; color: #5a6885; white-space: nowrap; }
.tnin-ficha dl { margin: 0; }
.tnin-ficha-row {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(13, 20, 38, 0.12);
  font-size: 0.9rem;
  line-height: 1.45;
}
.tnin-ficha dt { font-weight: 600; color: #5a6885; }
.tnin-ficha dd { margin: 0; font-weight: 600; }
.tnin-score {
  display: inline-block;
  vertical-align: middle;
  width: 5.5rem;
  height: 7px;
  margin-left: 0.6rem;
  border-radius: 7px;
  background: linear-gradient(90deg, #00b89d 0 86%, rgba(13, 20, 38, 0.14) 86%);
}
.tnin-ficha-sum { margin-top: 1rem; font-size: 0.88rem; line-height: 1.6; color: #2c3a57; }
.tnin-ficha-sum strong { color: var(--tnin-ink); }

/* =============================================================
   COMO FUNCIONA (cobertura 24 h + 5 pasos)
   ============================================================= */
.tnin-how {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 4.5rem;
  align-items: start;
}
.tnin-how-intro { position: sticky; top: 110px; }
.tnin-how-intro .tnla-sub { max-width: none; }
.tnin-how-intro .tnla-sub + .tnla-sub { margin-top: 1rem; }

.tnin-cover { margin-top: 2.25rem; }
.tnin-cover-row {
  display: grid;
  grid-template-columns: 8.2rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.8rem;
}
.tnin-cover-lbl { font-size: 0.82rem; font-weight: 600; color: var(--tnla-text); line-height: 1.3; }
.tnin-cover-track {
  position: relative;
  height: 16px;
  border-radius: 16px;
  background: var(--tnla-surface2);
  overflow: hidden;
}
.tnin-seg { position: absolute; top: 0; bottom: 0; background: var(--tnin-warn); }
.tnin-seg--am { left: 41.67%; width: 16.66%; }     /* 10:00-14:00 */
.tnin-seg--pm { left: 68.75%; width: 14.58%; }     /* 16:30-20:00 */
.tnin-seg--all {
  left: 0; width: 100%;
  background: linear-gradient(90deg, var(--tnla-accent), var(--tnla-teal));
}
.tnin-cover-axis {
  display: flex;
  justify-content: space-between;
  margin-left: 9.2rem;
  font-size: 0.7rem;
  color: var(--tnla-muted);
}
.tnin-cover-cap { margin-top: 0.8rem; font-size: 0.76rem; color: var(--tnla-muted); line-height: 1.55; }

.tnin-flow { counter-reset: tnin-flow; }
.tnin-flow li {
  counter-increment: tnin-flow;
  position: relative;
  padding: 0 0 2.1rem 4.6rem;
}
.tnin-flow li:last-child { padding-bottom: 0; }
/* linea que une cada paso con el siguiente (no sobresale del ultimo) */
.tnin-flow li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 2.9rem; bottom: 0; left: 1.45rem;
  width: 1px;
  background: linear-gradient(180deg, var(--tnla-accent), var(--tnla-teal));
  opacity: 0.35;
}
.tnin-flow li::before {
  content: counter(tnin-flow);
  position: absolute;
  left: 0; top: 0;
  width: 2.9rem;
  height: 2.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tnla-bg);
  border: 1px solid rgba(79, 142, 255, 0.45);
  color: var(--tnla-accent);
  font-weight: 800;
  font-size: 1.02rem;
}
.tnla-section--alt .tnin-flow li::before { background: var(--tnla-bg2); }
.tnin-flow h3 { margin: 0 0 0.35rem; padding-top: 0.45rem; font-size: 1.1rem; font-weight: 700; color: var(--tnla-text); line-height: 1.35; }
.tnin-flow p { font-size: 0.96rem; color: var(--tnla-muted); line-height: 1.65; }
.tnin-say {
  display: block;
  margin: 0.55rem 0;
  padding: 0.6rem 0.9rem;
  border-radius: 12px 12px 12px 4px;
  background: rgba(79, 142, 255, 0.12);
  border: 1px solid rgba(79, 142, 255, 0.26);
  color: var(--tnla-text);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* =============================================================
   MOTOR DE VENTA CONSULTIVA (ACERCA)
   ============================================================= */
.tnin-acerca {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--tnin-line);
  border-bottom: 1px solid var(--tnin-line);
}
.tnin-acerca li { padding: 1.75rem 1.25rem 2rem; border-left: 1px solid var(--tnin-line); }
.tnin-acerca li:first-child { border-left: 0; padding-left: 0; }
.tnin-letter {
  display: block;
  font-size: clamp(3.4rem, 6.2vw, 5.4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 0.9rem;
}
.tnin-acerca li:nth-child(1) .tnin-letter { color: #4f8eff; }
.tnin-acerca li:nth-child(2) .tnin-letter { color: #3f9ff3; }
.tnin-acerca li:nth-child(3) .tnin-letter { color: #2fb1e7; }
.tnin-acerca li:nth-child(4) .tnin-letter { color: #20c2dc; }
.tnin-acerca li:nth-child(5) .tnin-letter { color: #10d4d0; }
.tnin-acerca li:nth-child(6) .tnin-letter { color: #00e5c4; }
.tnin-acerca h3 { margin: 0 0 0.4rem; font-size: 1.02rem; font-weight: 700; color: var(--tnla-text); }
.tnin-acerca p { font-size: 0.88rem; color: var(--tnla-muted); line-height: 1.6; }

.tnin-never {
  margin-top: 2.5rem;
  max-width: 820px;
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--tnin-warn);
  background: rgba(255, 176, 87, 0.06);
  border-radius: 0 12px 12px 0;
}
.tnin-never h3 { margin: 0 0 0.35rem; font-size: 1.02rem; font-weight: 700; color: var(--tnla-text); }
.tnin-never p { font-size: 0.95rem; color: var(--tnla-muted); line-height: 1.65; }

/* =============================================================
   CASOS DE USO
   ============================================================= */
.tnin-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 4rem;
  border-top: 1px solid var(--tnin-line);
}
.tnin-case { padding: 1.6rem 0; border-bottom: 1px solid var(--tnin-line); }
.tnin-case h3 { margin: 0 0 0.4rem; font-size: 1.1rem; font-weight: 700; color: var(--tnla-text); }
.tnin-case p { font-size: 0.95rem; color: var(--tnla-muted); line-height: 1.65; }

.tnin-latam {
  margin-top: 2.5rem;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  background: var(--tnla-surface);
  border: 1px solid var(--tnla-border);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
}
.tnin-latam h3 { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; color: var(--tnla-text); }
.tnin-latam p { font-size: 0.96rem; color: var(--tnla-muted); line-height: 1.65; }

/* =============================================================
   COMPARATIVA
   ============================================================= */
.tnin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--tnla-border);
  border-radius: 16px;
}
.tnin-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.tnin-table th,
.tnin-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--tnin-line);
  color: var(--tnla-muted);
}
.tnin-table thead th {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tnla-text);
  background: var(--tnla-surface);
  border-bottom: 1px solid var(--tnla-border);
}
.tnin-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  width: 11.5rem;
  font-weight: 600;
  color: var(--tnla-text);
  background: var(--tnla-bg);
}
.tnla-section--alt .tnin-table tbody th { background: var(--tnla-bg2); }
.tnin-table tbody tr:last-child th,
.tnin-table tbody tr:last-child td { border-bottom: 0; }
.tnin-table .tnin-col-us {
  background: rgba(79, 142, 255, 0.09);
  color: var(--tnla-text);
  font-weight: 600;
}
.tnin-table thead .tnin-col-us {
  background: rgba(79, 142, 255, 0.2);
  box-shadow: inset 0 3px 0 var(--tnla-teal);
}
.tnin-table-hint { display: none; margin-bottom: 0.75rem; font-size: 0.8rem; color: var(--tnla-muted); }
.tnin-table-note { margin-top: 1.5rem; max-width: 820px; font-size: 1rem; color: var(--tnla-muted); line-height: 1.7; }
.tnin-table-note strong { color: var(--tnla-text); }

/* =============================================================
   AUTOMATIZAR + CRM (dos H2 en paralelo)
   ============================================================= */
.tnin-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4.5rem;
  align-items: start;
}
.tnin-duo .tnla-h2 { font-size: clamp(1.6rem, 2.8vw, 2.05rem); }
.tnin-duo .tnla-sub { max-width: none; margin-bottom: 1.5rem; }
.tnin-duo .tnla-sub + .tnla-sub { margin-top: -0.5rem; }
.tnin-crm-flow { border-top: 1px solid var(--tnin-line); }
.tnin-crm-flow li {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--tnin-line);
  font-size: 0.96rem;
  color: var(--tnla-muted);
  line-height: 1.5;
}
.tnin-crm-flow i { color: var(--tnla-accent); font-size: 1.05rem; text-align: center; }

/* =============================================================
   CALCULADORA
   ============================================================= */
.tnin-calc {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  border: 1px solid var(--tnla-border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--tnla-surface);
}
.tnin-calc-fields { padding: 2.25rem; }
.tnin-field { margin-bottom: 1.6rem; }
.tnin-field:last-child { margin-bottom: 0; }
.tnin-field-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.tnin-field label { margin: 0; font-size: 0.92rem; font-weight: 600; color: var(--tnla-text); line-height: 1.4; }
.tnin-field output { font-size: 1.05rem; font-weight: 800; color: var(--tnla-accent); white-space: nowrap; }

.tnin-range {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 30px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.tnin-range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: rgba(232, 237, 248, 0.16); }
.tnin-range::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(232, 237, 248, 0.16); }
.tnin-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--tnla-accent);
  border: 3px solid var(--tnla-surface);
  box-shadow: 0 0 0 1px var(--tnla-accent);
  transition: transform 0.15s var(--tnin-ease);
}
.tnin-range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--tnla-accent);
  border: 3px solid var(--tnla-surface);
  box-shadow: 0 0 0 1px var(--tnla-accent);
}
.tnin-range:active::-webkit-slider-thumb { transform: scale(1.12); }

.tnin-calc-result {
  padding: 2.25rem;
  background: linear-gradient(160deg, rgba(255, 176, 87, 0.1), rgba(79, 142, 255, 0.07) 65%);
  border-left: 1px solid var(--tnla-border);
  display: flex;
  flex-direction: column;
}
.tnin-calc-kicker { font-size: 0.9rem; font-weight: 600; color: var(--tnla-text); line-height: 1.4; }
.tnin-calc-big {
  margin: 0.3rem 0 1.4rem;
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--tnin-warn);
  font-variant-numeric: tabular-nums;
}
.tnin-calc-big small { font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--tnla-muted); }
.tnin-calc-result dl { margin: 0 0 1.6rem; border-top: 1px solid var(--tnin-line); }
.tnin-calc-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--tnin-line);
  font-size: 0.92rem;
}
.tnin-calc-line dt { font-weight: 400; color: var(--tnla-muted); }
.tnin-calc-line dd { margin: 0; font-weight: 700; color: var(--tnla-text); font-variant-numeric: tabular-nums; }
.tnin-calc-result .tnla-btn { align-self: flex-start; margin-top: auto; }
.tnin-calc-note { margin-top: 1rem; font-size: 0.76rem; color: var(--tnla-muted); line-height: 1.55; }

/* =============================================================
   LEGAL + CERTIFICACIONES
   ============================================================= */
.tnin-legal {
  counter-reset: tnin-legal;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--tnin-line);
  border-bottom: 1px solid var(--tnin-line);
}
.tnin-legal li {
  counter-increment: tnin-legal;
  padding: 1.75rem 1.75rem 2rem;
  border-left: 1px solid var(--tnin-line);
}
.tnin-legal li:first-child { border-left: 0; padding-left: 0; }
.tnin-legal li::before {
  content: counter(tnin-legal);
  display: block;
  margin-bottom: 0.6rem;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--tnla-teal);
}
.tnin-legal h3 { margin: 0 0 0.45rem; font-size: 1.08rem; font-weight: 700; color: var(--tnla-text); line-height: 1.35; }
.tnin-legal p { font-size: 0.93rem; color: var(--tnla-muted); line-height: 1.65; }

.tnin-certs {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.75rem;
}
.tnin-certs-lbl { font-size: 0.9rem; color: var(--tnla-muted); margin-right: 0.5rem; }
.tnin-cert {
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--tnla-border);
  background: var(--tnla-surface);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tnla-text);
}

/* =============================================================
   POR QUE TENEA
   ============================================================= */
.tnin-why {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 4rem;
  align-items: start;
}
.tnin-why-item { padding: 1.4rem 0; border-top: 1px solid var(--tnin-line); }
.tnin-why-item:last-child { border-bottom: 1px solid var(--tnin-line); }
.tnin-why-item h3 { margin: 0 0 0.35rem; font-size: 1.08rem; font-weight: 700; color: var(--tnla-text); }
.tnin-why-item p { font-size: 0.96rem; color: var(--tnla-muted); line-height: 1.65; }
.tnin-why-item strong { color: var(--tnla-text); font-weight: 600; }

.tnin-proofcase {
  padding: 2rem;
  border-radius: 18px;
  background: var(--tnla-surface);
  border: 1px solid var(--tnla-border);
  position: relative;
  overflow: hidden;
}
.tnin-proofcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tnla-accent), var(--tnla-teal));
}
.tnin-proofcase-lbl { font-size: 0.78rem; font-weight: 700; color: var(--tnla-muted); }
.tnin-proofcase-nums { display: flex; gap: 2.25rem; margin: 0.9rem 0 1rem; }
.tnin-proofcase-num { font-size: 2.9rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--tnla-teal); }
.tnin-proofcase-num + .tnin-proofcase-num { color: var(--tnla-accent); }
.tnin-proofcase p { font-size: 0.93rem; color: var(--tnla-muted); line-height: 1.65; }
.tnin-proofcase p + p { margin-top: 0.9rem; }

/* =============================================================
   FAQ (details nativo: sin JS, accesible y con el texto en el HTML)
   ============================================================= */
.tnin-faq { max-width: 900px; border-top: 1px solid var(--tnin-line); }
.tnin-faq-item { border-bottom: 1px solid var(--tnin-line); }
.tnin-faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.5rem;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  list-style: none;
}
.tnin-faq-item summary::-webkit-details-marker { display: none; }
.tnin-faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  color: var(--tnla-accent);
  transition: transform 0.2s var(--tnin-ease);
}
.tnin-faq-item[open] summary::after { transform: rotate(45deg); }
.tnin-faq-item h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--tnla-text);
  transition: color 0.2s ease;
}
.tnin-faq-item summary:hover h3 { color: var(--tnla-accent); }
.tnin-faq-a { padding: 0 2.75rem 1.5rem 0; }
.tnin-faq-a p { font-size: 0.98rem; color: var(--tnla-muted); line-height: 1.75; }

/* =============================================================
   CTA FINAL + FUENTES
   ============================================================= */
.tnin-form { max-width: 480px; margin: 0 auto; }
.tnin-form label { text-align: left; color: #fff; }
.tnin-form label a { color: #fff; text-decoration: underline; }
.tnin-form input[type="checkbox"] { width: auto; height: auto; }
.tnin-form .btn-primary { color: #000; font-weight: 700; }
.tnin-page .tnla-trust { color: var(--tnla-muted); }
.tnin-page .tnla-trust i { color: var(--tnla-teal); }

.tnin-sources { padding: 3rem 5% 4rem; border-top: 1px solid var(--tnin-line); }
.tnin-sources h2 { margin: 0 0 0.9rem; font-size: 0.95rem; font-weight: 700; color: var(--tnla-text); }
.tnin-sources li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1rem;
  max-width: 900px;
  font-size: 0.82rem;
  color: var(--tnla-muted);
  line-height: 1.6;
}
.tnin-sources li::before { content: ''; position: absolute; left: 0; top: 0.85em; width: 5px; height: 1px; background: var(--tnla-muted); }
.tnin-updated { margin-top: 1.25rem; font-size: 0.82rem; color: var(--tnla-muted); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1100px) {
  .tnin-acerca { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tnin-acerca li:nth-child(4) { border-left: 0; padding-left: 0; }
  .tnin-acerca li:nth-child(n+4) { border-top: 1px solid var(--tnin-line); }
  .tnin-pains, .tnin-how { gap: 3rem; }
}

@media (max-width: 900px) {
  .tnin-hero .tnla-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .tnin-call { max-width: 520px; }

  .tnin-pains,
  .tnin-does,
  .tnin-how,
  .tnin-duo,
  .tnin-why { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .tnin-calc { grid-template-columns: minmax(0, 1fr); }
  .tnin-latam { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .tnin-proof, .tnin-how-intro { position: static; }
  .tnin-calc-result { border-left: 0; border-top: 1px solid var(--tnla-border); }

  .tnin-use { grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; }
  .tnin-use-side { grid-column: 2; justify-self: start; text-align: left; padding-top: 0; }

  .tnin-cases { grid-template-columns: minmax(0, 1fr); }
  .tnin-table-hint { display: block; }
  .tnin-table { font-size: 0.86rem; }
  .tnin-table th, .tnin-table td { padding: 0.85rem 0.8rem; }
  .tnin-table tbody th { width: 8.6rem; }

  .tnin-legal { grid-template-columns: minmax(0, 1fr); }
  .tnin-legal li { border-left: 0; padding-left: 0; padding-right: 0; border-top: 1px solid var(--tnin-line); }
  .tnin-legal li:first-child { border-top: 0; }
  .tnin-certline { margin-left: 0; }
}

@media (max-width: 640px) {
  /* En movil style.css suma 5% de .tnla-section + 5% de .tnla-w: se deja un solo margen */
  .tnin-page .tnla-section { padding: 4rem 0; }
  .tnin-page .tnla-w { padding: 0 6%; }
  .tnin-sources { padding-left: 0; padding-right: 0; }
  .tnin-page .tnla-cta { padding: 4.5rem 6%; }
  .tnin-page .tnla-logos { padding: 1.5rem 6%; }
  .tnin-page .tnla-logos-inner { gap: 0.75rem 1.5rem; }
  .tnin-page .tnla-logos-list { gap: 1.5rem; }
  .tnin-hero.tnla-hero { padding-left: 6%; padding-right: 6%; padding-bottom: 4rem; }
  .tnin-hero .tnla-btn { width: 100%; justify-content: center; }
  .tnin-proofs { flex-direction: column; gap: 0.55rem; }
  .tnin-msg { max-width: 94%; }
  .tnin-wave { display: none; }

  .tnin-def { padding: 3.5rem 0 3rem; }
  .tnin-head { margin-bottom: 2.25rem; }
  .tnin-use--first { margin: 0 -0.75rem; padding: 1.5rem 0.75rem; }

  .tnin-stat { grid-template-columns: 5.6rem minmax(0, 1fr); gap: 1rem; }
  .tnin-stat-num { font-size: 2.3rem; }

  .tnin-ficha { padding: 1.35rem 1.2rem 1.2rem; }
  .tnin-ficha-row { grid-template-columns: 6rem minmax(0, 1fr); gap: 0.75rem; }
  .tnin-score { width: 3.5rem; }

  .tnin-cover-row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .tnin-cover-axis { margin-left: 0; }
  .tnin-flow li { padding-left: 3.9rem; }
  .tnin-flow li:not(:last-child)::after { left: 1.3rem; top: 2.6rem; }
  .tnin-flow li::before { width: 2.6rem; height: 2.6rem; }

  .tnin-acerca { grid-template-columns: minmax(0, 1fr); }
  .tnin-acerca li,
  .tnin-acerca li:nth-child(4) {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr);
    column-gap: 1rem;
    padding: 1.25rem 0;
    border-left: 0;
    border-top: 1px solid var(--tnin-line);
  }
  .tnin-acerca li:first-child { border-top: 0; }
  .tnin-letter { grid-row: 1 / span 2; font-size: 3.4rem; margin-bottom: 0; }
  .tnin-acerca h3 { align-self: end; }

  .tnin-calc-fields, .tnin-calc-result { padding: 1.5rem 1.25rem; }
  .tnin-calc-result .tnla-btn { align-self: stretch; justify-content: center; }
  .tnin-proofcase { padding: 1.5rem 1.25rem; }
  .tnin-proofcase-num { font-size: 2.4rem; }
  .tnin-faq-a { padding-right: 0; }
  .tnin-latam { padding: 1.5rem 1.25rem; }
  .tnin-cta-row .tnla-btn { width: 100%; justify-content: center; }
}

/* =============================================================
   MOVIMIENTO REDUCIDO
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .tnin-msg,
  .tnin-call-result { animation: none; }
  .tnin-wave span { animation: none; transform: scaleY(0.55); }
  .tnin-wave span:nth-child(odd) { transform: scaleY(0.9); }
  .tnin-faq-item summary::after,
  .tnin-range::-webkit-slider-thumb,
  .tnin-link { transition: none; }
}
