/* ==========================================================================
   Touch Management — micrositio
   Hoja propia. Se carga SOLO desde touch_management.html, después de
   style.css, para no alterar el resto del sitio.
   Todas las clases van con prefijo .tm-
   ========================================================================== */

:root {
  /* Marca Nousware */
  --tm-navy: #00313E;
  --tm-blue: #03577B;
  --tm-cyan: #02A9F7;
  --tm-sky: #88D6F9;
  --tm-grad: linear-gradient(90deg, #88D6F9 0%, #02A9F7 0.01%, #03577B 100%);
  --tm-ink: #2c2c2c;
  --tm-gray: #535353;
  --tm-gray-soft: #7d7d7d;
  --tm-line: #d9dee1;
  --tm-surface: #ffffff;

  /* Semáforo — color de producto, no decoración */
  --tm-green: #1FA971;
  --tm-blue-ok: #02A9F7;
  --tm-amber: #ECAB3F;
  --tm-red: #D6455D;
}

/* --------------------------------------------------------------------------
   Base tipográfica del micrositio
   -------------------------------------------------------------------------- */

.tm-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

/* style.css centra todos los <p> globalmente; aquí el texto corrido va a la
   izquierda, salvo en los bloques que sí son centrados por diseño. */
.tm-section p {
  text-align: left;
}

.tm-section .tm-stat__label,
.tm-section .tm-shot__hint,
.tm-section .tm-integration__text,
.tm-section .tm-step__text,
.tm-section .tm-note {
  text-align: center;
}

.tm-floatbar__text {
  text-align: left;
}

.tm-section--light {
  background: linear-gradient(180deg, #fcfcfc 0%, #eeeeee 100%);
}

.tm-section--soft {
  background: #f1f4f6;
}

.tm-section[id] {
  scroll-margin-top: 90px;
}

.tm-section--dark {
  background-image: url(../images/Bg_mw3.png);
  background-position: top center;
  background-size: cover;
}

.tm-section--deep {
  background-color: var(--tm-navy);
  background-image:
    linear-gradient(180deg, rgba(0, 22, 30, 0.93) 0%, rgba(0, 30, 41, 0.86) 45%, rgba(0, 22, 30, 0.95) 100%),
    url(../images/bg_nw2.png);
  background-position: center center, center center;
  background-size: cover, cover;
}

.tm-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tm-cyan);
  margin: 0 0 12px;
  display: block;
}

.tm-section--light .tm-eyebrow {
  color: var(--tm-blue);
}

/* Se usan h2/h3 reales con clase propia para no heredar los estilos
   globales de .content-interno h1 / h2 de style.css */
.tm-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--tm-navy);
  margin: 0 0 16px;
  padding: 0;
  text-align: left;
}

.tm-section--dark .tm-h2,
.tm-section--deep .tm-h2 {
  color: #FFF;
}

.tm-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--tm-blue);
  margin: 0 0 8px;
}

.tm-section--dark .tm-h3,
.tm-section--deep .tm-h3 {
  color: #FFF;
}

.tm-lead {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 0 0 24px;
  max-width: 780px;
}

.tm-section--dark .tm-lead,
.tm-section--deep .tm-lead {
  color: rgba(255, 255, 255, 0.85);
}

.tm-p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 0 0 12px;
}

.tm-section--dark .tm-p,
.tm-section--deep .tm-p {
  color: rgba(255, 255, 255, 0.82);
}

.tm-sep {
  width: 60px;
  height: 4px;
  border-radius: 10px;
  background: var(--tm-grad);
  margin: 0 0 28px;
}

/* Frase de cierre de bloque */
.tm-closer {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  font-style: italic;
  color: var(--tm-blue);
  border-left: 4px solid var(--tm-cyan);
  padding: 4px 0 4px 18px;
  margin: 36px 0 0;
}

.tm-section--dark .tm-closer,
.tm-section--deep .tm-closer {
  color: #FFF;
  border-left-color: var(--tm-sky);
}

/* --------------------------------------------------------------------------
   01 · Hero
   -------------------------------------------------------------------------- */

.tm-hero {
  padding-top: 70px;
  padding-bottom: 70px;
}

.tm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.tm-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  color: var(--tm-navy);
  margin: 0 0 20px;
  text-align: left;
}

.tm-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.tm-hero__bullets li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--tm-blue);
  padding: 7px 0 7px 30px;
  position: relative;
}

.tm-hero__bullets li i {
  position: absolute;
  left: 0;
  top: 9px;
  color: var(--tm-cyan);
}

.tm-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.tm-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease-in-out;
  text-decoration: none;
}

.tm-btn--primary {
  background: var(--tm-grad);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(3, 87, 123, 0.30);
}

.tm-btn--primary:hover {
  background: var(--tm-blue);
  color: #FFF;
}

.tm-btn--ghost {
  background: transparent;
  color: var(--tm-blue);
  border: 1px solid var(--tm-blue);
}

.tm-btn--ghost:hover {
  background: var(--tm-grad);
  color: #FFF;
  border-color: transparent;
}

.tm-section--dark .tm-btn--ghost,
.tm-section--deep .tm-btn--ghost {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.tm-section--dark .tm-btn--ghost:hover,
.tm-section--deep .tm-btn--ghost:hover {
  border-color: transparent;
}

.tm-seal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--tm-gray-soft);
}

.tm-seal img {
  height: 22px;
  width: auto;
}

.tm-section--dark .tm-seal,
.tm-section--deep .tm-seal {
  color: rgba(255, 255, 255, 0.75);
}

/* --------------------------------------------------------------------------
   Slot de captura — placeholder marcado
   Reemplazar cada .tm-shot por la captura real del producto.
   -------------------------------------------------------------------------- */

.tm-shot {
  border: 2px dashed var(--tm-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  gap: 10px;
}

.tm-section--dark .tm-shot,
.tm-section--deep .tm-shot {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

.tm-shot__icon {
  font-size: 30px;
  color: var(--tm-cyan);
}

.tm-shot__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tm-blue);
}

.tm-section--dark .tm-shot__label,
.tm-section--deep .tm-shot__label {
  color: var(--tm-sky);
}

.tm-shot__hint {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--tm-gray-soft);
  max-width: 340px;
  margin: 0;
}

.tm-section--dark .tm-shot__hint,
.tm-section--deep .tm-shot__hint {
  color: rgba(255, 255, 255, 0.65);
}

.tm-shot--wide {
  min-height: 340px;
}

/* --------------------------------------------------------------------------
   Interruptor de las capturas

   Con class="tm-shots-off" en el <body>, los recuadros de "Captura
   pendiente" se ocultan (siguen en el DOM) y las secciones que los
   acompañaban pasan a una sola columna.
   Para volver a mostrarlos: quitar tm-shots-off del <body>.

   Una captura real se mete con <img class="tm-shot-img">, que NO se
   oculta: así se pueden ir reemplazando de a una sin apagar nada.
   -------------------------------------------------------------------------- */

.tm-shots-off .tm-shot,
.tm-shots-off .tm-shot-col {
  display: none;
}

/* El hero pierde su columna derecha */
.tm-shots-off .tm-hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

/* Al quedar a una sola columna, el texto necesita un ancho legible */
.tm-shots-off .tm-hero__title,
.tm-shots-off .tm-flow,
.tm-shots-off .tm-quotes,
.tm-shots-off .tm-consumption,
.tm-shots-off #tm-ia .tm-grid-2 > div {
  max-width: 820px;
}

/* Captura real: reemplaza al recuadro y siempre se ve */
.tm-shot-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 49, 62, 0.18);
}

/* Ocupa todo el alto de su columna */
.tm-shot--fill {
  height: 100%;
}

.tm-shot--phone {
  min-height: 360px;
  max-width: 260px;
  margin: 0 auto;
  border-radius: 26px;
}

/* --------------------------------------------------------------------------
   02 · El dolor — 4 tarjetas
   -------------------------------------------------------------------------- */

.tm-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.tm-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.tm-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.tm-pain {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.tm-pain:hover {
  transform: translateY(-6px);
  border-color: var(--tm-cyan);
}

.tm-pain__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--tm-sky);
  display: block;
  margin-bottom: 12px;
}

.tm-pain__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #FFF;
  margin: 0 0 10px;
}

.tm-pain__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* --------------------------------------------------------------------------
   03 · La promesa — comparativo antes / después
   -------------------------------------------------------------------------- */

.tm-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--tm-line);
  background: var(--tm-surface);
}

.tm-compare__head {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 24px;
}

.tm-compare__head--before {
  background: #e8ebed;
  color: var(--tm-gray);
}

.tm-compare__head--after {
  background: var(--tm-grad);
  color: #FFF;
}

.tm-compare__cell {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 300;
  padding: 18px 24px;
  border-top: 1px solid var(--tm-line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.tm-compare__cell--before {
  color: var(--tm-gray-soft);
  background: #f6f7f8;
}

.tm-compare__cell--after {
  color: var(--tm-ink);
  font-weight: 500;
}

.tm-compare__cell > i {
  flex-shrink: 0;
  margin-top: 4px;
}

.tm-compare__cell--before > i {
  color: var(--tm-red);
}

.tm-compare__cell--after > i {
  color: var(--tm-green);
}

/* Etiqueta que solo se ve cuando el comparativo se apila en móvil */
.tm-compare__tag {
  display: none;
}

/* --------------------------------------------------------------------------
   04 · Números de impacto — contadores
   -------------------------------------------------------------------------- */

.tm-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.tm-stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.tm-stat__value {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(90deg, #88D6F9 0%, #02A9F7 60%, #FFFFFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
}

.tm-stat__value--text {
  font-size: 28px;
  line-height: 1.15;
}

.tm-stat__label {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

.tm-note {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin: 26px 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   05 · Cómo funciona — línea de tiempo
   -------------------------------------------------------------------------- */

.tm-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 46px;
}

.tm-timeline__rail {
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--tm-line);
  border-radius: 3px;
  z-index: 0;
}

.tm-timeline__progress {
  height: 100%;
  width: 0;
  background: var(--tm-grad);
  border-radius: 3px;
  transition: width 0.25s linear;
}

.tm-step {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0.45;
  transition: opacity 0.35s ease-in-out;
}

.tm-step.is-on {
  opacity: 1;
}

.tm-step__dot {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFF;
  border: 3px solid var(--tm-line);
  color: var(--tm-gray-soft);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all 0.35s ease-in-out;
}

.tm-step.is-on .tm-step__dot {
  border-color: var(--tm-cyan);
  color: var(--tm-blue);
  box-shadow: 0 0 0 6px rgba(2, 169, 247, 0.14);
}

.tm-step__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
  margin: 0 0 8px;
}

.tm-step__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 0;
}

/* --------------------------------------------------------------------------
   06 · Módulos — tarjetas expandibles
   -------------------------------------------------------------------------- */

.tm-modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 18px;
  align-items: start;
}

.tm-module {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.tm-module[open] {
  border-color: var(--tm-cyan);
  box-shadow: 0 8px 26px rgba(0, 49, 62, 0.10);
}

.tm-module > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
}

.tm-module > summary::-webkit-details-marker {
  display: none;
}

.tm-module__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(2, 169, 247, 0.10);
  color: var(--tm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.tm-module__name {
  flex: 1;
}

.tm-module__chev {
  color: var(--tm-cyan);
  font-size: 13px;
  transition: transform 0.25s ease-in-out;
}

.tm-module[open] .tm-module__chev {
  transform: rotate(180deg);
}

.tm-module__body {
  padding: 0 22px 22px 74px;
}

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

.tm-module__body li {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  color: var(--tm-gray);
  padding: 6px 0 6px 20px;
  position: relative;
}

.tm-module__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tm-cyan);
}

/* --------------------------------------------------------------------------
   07 · Rentabilidad en tiempo real — semáforos
   -------------------------------------------------------------------------- */

.tm-lights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.tm-light {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-left: 6px solid var(--tm-line);
  border-radius: 12px;
  padding: 22px;
}

.tm-light--green { border-left-color: var(--tm-green); }
.tm-light--blue  { border-left-color: var(--tm-blue-ok); }
.tm-light--amber { border-left-color: var(--tm-amber); }
.tm-light--red   { border-left-color: var(--tm-red); }

.tm-light__bulb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.tm-light--green .tm-light__bulb { background: var(--tm-green); box-shadow: 0 0 0 4px rgba(31, 169, 113, 0.16); }
.tm-light--blue  .tm-light__bulb { background: var(--tm-blue-ok); box-shadow: 0 0 0 4px rgba(2, 169, 247, 0.16); }
.tm-light--amber .tm-light__bulb { background: var(--tm-amber); box-shadow: 0 0 0 4px rgba(236, 171, 63, 0.18); }
.tm-light--red   .tm-light__bulb { background: var(--tm-red); box-shadow: 0 0 0 4px rgba(214, 69, 93, 0.16); }

.tm-light__state {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
  vertical-align: middle;
}

.tm-light__range {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 12px 0 0;
}

/* Aclaración fina bajo un bloque de cifras */
.tm-fineprint {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.55;
  color: var(--tm-gray-soft);
  margin: 0 0 32px;
}

.tm-section--dark .tm-fineprint,
.tm-section--deep .tm-fineprint {
  color: rgba(255, 255, 255, 0.62);
}

/* Barra de consumo */
.tm-consumption {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tm-consumption__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--tm-navy);
  margin: 0 0 18px;
}

.tm-bar {
  height: 16px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  background: #eee;
}

.tm-bar__seg {
  height: 100%;
}

.tm-bar__seg--green { background: var(--tm-green); flex: 0 0 60%; }
.tm-bar__seg--amber { background: var(--tm-amber); flex: 0 0 25%; }
.tm-bar__seg--red   { background: var(--tm-red);   flex: 0 0 15%; }

.tm-bar__legend {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: var(--tm-gray);
}

/* --------------------------------------------------------------------------
   08 · Trabajo fuera de jornada — flujo numerado
   -------------------------------------------------------------------------- */

.tm-flow {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  counter-reset: tmflow;
}

.tm-flow li {
  counter-increment: tmflow;
  position: relative;
  padding: 0 0 24px 54px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
}

.tm-flow li::before {
  content: counter(tmflow);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tm-grad);
  color: #FFF;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-flow li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 38px;
  bottom: 2px;
  width: 2px;
  background: rgba(255, 255, 255, 0.18);
}

.tm-flow li:last-child::after {
  display: none;
}

/* Ejemplos del texto del correo según tipo de servicio */
.tm-quotes {
  display: grid;
  gap: 12px;
  margin-top: 8px;
}

.tm-quote {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--tm-sky);
  border-radius: 10px;
  padding: 16px 18px;
}

.tm-quote__kind {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tm-sky);
  display: block;
  margin-bottom: 6px;
}

.tm-quote__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* --------------------------------------------------------------------------
   09 · Multi-idioma · multi-país · multi-moneda
   -------------------------------------------------------------------------- */

.tm-global {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.tm-global__card {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.tm-global__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 49, 62, 0.10);
}

.tm-global__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--tm-grad);
  color: #FFF;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tm-flags {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.tm-flags img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.tm-currency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--tm-line);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--tm-blue);
  background: rgba(2, 169, 247, 0.06);
}

/* --------------------------------------------------------------------------
   10 · Multi-empresa y multi-tenant — diagrama de capas
   -------------------------------------------------------------------------- */

.tm-layers {
  display: grid;
  gap: 10px;
  max-width: 560px;
}

.tm-layer {
  border-radius: 12px;
  padding: 18px 22px;
  font-family: 'Montserrat', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.tm-layer--top {
  background: var(--tm-grad);
  border-color: transparent;
}

.tm-layer__name {
  font-size: 14px;
  font-weight: 700;
  color: #FFF;
  display: block;
  margin-bottom: 4px;
}

.tm-layer__desc {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.tm-layer--top .tm-layer__desc {
  color: rgba(255, 255, 255, 0.92);
}

.tm-layer--nested {
  margin-left: 28px;
}

/* --------------------------------------------------------------------------
   11 · IA · 13 · Seguridad — listas con icono
   -------------------------------------------------------------------------- */

.tm-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--tm-line);
}

.tm-section--dark .tm-feature,
.tm-section--deep .tm-feature {
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.tm-feature:last-child {
  border-bottom: none;
}

.tm-feature__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(2, 169, 247, 0.10);
  color: var(--tm-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.tm-section--dark .tm-feature__icon,
.tm-section--deep .tm-feature__icon {
  background: rgba(255, 255, 255, 0.10);
  color: var(--tm-sky);
}

.tm-feature__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
  margin: 0 0 4px;
}

.tm-section--dark .tm-feature__title,
.tm-section--deep .tm-feature__title {
  color: #FFF;
}

.tm-feature__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 0;
}

.tm-section--dark .tm-feature__text,
.tm-section--deep .tm-feature__text {
  color: rgba(255, 255, 255, 0.78);
}

/* --------------------------------------------------------------------------
   12 · Integraciones
   -------------------------------------------------------------------------- */

.tm-integrations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.tm-integration {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.25s ease-in-out, border-color 0.25s ease-in-out;
}

.tm-integration:hover {
  transform: translateY(-5px);
  border-color: var(--tm-cyan);
}

.tm-integration__mark {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 26px;
  color: var(--tm-blue);
}

.tm-integration__mark img {
  max-height: 32px;
  width: auto;
}

.tm-integration__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
  margin: 0 0 6px;
}

.tm-integration__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
  color: var(--tm-gray);
  margin: 0;
}

/* --------------------------------------------------------------------------
   14 · Para cada rol — tabs
   -------------------------------------------------------------------------- */

.tm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.tm-tab {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--tm-line);
  background: transparent;
  color: var(--tm-gray);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.tm-tab:hover {
  border-color: var(--tm-cyan);
  color: var(--tm-blue);
}

.tm-tab[aria-selected="true"] {
  background: var(--tm-grad);
  border-color: transparent;
  color: #FFF;
}

.tm-tabpanel {
  background: var(--tm-surface);
  border: 1px solid var(--tm-line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.tm-tabpanel[hidden] {
  display: none;
}

.tm-tabpanel__icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--tm-grad);
  color: #FFF;
  font-size: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   15 · Casos de uso por tipo de servicio
   -------------------------------------------------------------------------- */

.tm-usecase {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 26px 22px;
  transition: transform 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

.tm-usecase:hover {
  transform: translateY(-6px);
  border-color: var(--tm-cyan);
}

.tm-usecase__tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(2, 169, 247, 0.18);
  color: var(--tm-sky);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   16 · FAQ (usa .m-d.expand-list de style.css, aquí solo ajustes de color)
   -------------------------------------------------------------------------- */

.tm-faq .tab_lab {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--tm-navy);
}

.tm-faq .content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--tm-gray);
}

/* --------------------------------------------------------------------------
   17 · Cierre + CTA
   -------------------------------------------------------------------------- */

.tm-final {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.tm-final .tm-h2 {
  text-align: center;
  font-size: 34px;
  color: #FFF;
}

.tm-final .tm-sep {
  margin: 0 auto 28px;
}

.tm-final .tm-lead {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.tm-final .tm-cta-row {
  justify-content: center;
}

.tm-final .tm-lead {
  color: rgba(255, 255, 255, 0.85);
}

.tm-final .tm-btn--ghost {
  color: #FFF;
  border-color: rgba(255, 255, 255, 0.6);
}

.tm-final .tm-btn--ghost:hover {
  border-color: transparent;
}

/* --------------------------------------------------------------------------
   Barra flotante de CTA — aparece desde el bloque 04
   -------------------------------------------------------------------------- */

.tm-floatbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1030;
  background: rgba(0, 49, 62, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
  transform: translateY(110%);
  transition: transform 0.35s ease-in-out;
}

.tm-floatbar.is-visible {
  transform: translateY(0);
}

.tm-floatbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.tm-floatbar__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #FFF;
  margin: 0;
}

.tm-floatbar__text strong {
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Animación de entrada por bloque
   -------------------------------------------------------------------------- */

/* Se oculta solo si el JS está vivo (la clase tm-js la pone un script en el
   <head>). Sin JS, o si el script falla, todo el contenido se ve igual. */
.tm-js .tm-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.tm-js .tm-reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  .tm-js .tm-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .tm-step {
    opacity: 1;
  }

  .tm-floatbar {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive — el micrositio debe leerse bien desde 375px
   -------------------------------------------------------------------------- */

@media only screen and (max-width: 1024px) {

  .tm-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }

  .tm-timeline__rail {
    display: none;
  }
}

@media only screen and (max-width: 880px) {

  .tm-hero__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tm-hero__title {
    font-size: 30px;
  }

  .tm-h2 {
    font-size: 25px;
  }

  .tm-final .tm-h2 {
    font-size: 27px;
  }
}

@media only screen and (max-width: 700px) {

  .tm-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .tm-timeline {
    grid-template-columns: 1fr;
    row-gap: 26px;
    text-align: left;
  }

  .tm-step {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 16px;
    text-align: left;
    align-items: start;
  }

  .tm-step__dot {
    margin: 0;
  }

  .tm-section .tm-step__text {
    text-align: left;
  }

  /* El comparativo se convierte en tarjetas apiladas */
  .tm-compare {
    display: block;
    border: none;
    background: transparent;
  }

  .tm-compare__head {
    display: none;
  }

  .tm-compare__cell {
    border: 1px solid var(--tm-line);
    border-radius: 12px 12px 0 0;
    margin-top: 16px;
  }

  .tm-compare__cell--after {
    border-radius: 0 0 12px 12px;
    border-top: none;
    margin-top: 0;
  }

  .tm-compare__tag {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--tm-gray-soft);
    margin-bottom: 6px;
  }

  .tm-compare__cell--after .tm-compare__tag {
    color: var(--tm-blue);
  }

  .tm-module__body {
    padding-left: 22px;
  }

  .tm-tabpanel {
    flex-direction: column;
    padding: 24px;
  }

  .tm-floatbar__inner {
    justify-content: center;
  }

  .tm-floatbar__text {
    display: none;
  }

  .tm-layer--nested {
    margin-left: 14px;
  }
}

@media only screen and (max-width: 400px) {

  .tm-hero__title {
    font-size: 26px;
  }

  .tm-stat__value {
    font-size: 36px;
  }

  .tm-btn {
    width: 100%;
    justify-content: center;
  }
}
