/* ─────────────────────────────────────────────────────────────────
   industry.css — shared template for the 6 industry landings
   (Agro, Farma, Minería, CPG, Combustibles, Salud). Reuses landing.css
   tokens/primitives; each page's own .jsx only supplies copy + a
   bespoke hero/framing illustration using the .tm-ind-anim-* classes
   below — the animation system itself is identical across verticals.
   ───────────────────────────────────────────────────────────────── */

.tm-ind-container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 640px)  { .tm-ind-container { padding-inline: 40px; } }
@media (min-width: 1024px) { .tm-ind-container { padding-inline: 56px; } }
@media (min-width: 1440px) { .tm-ind-container { padding-inline: 72px; } }

.tm-ind-gradient {
  background: linear-gradient(93deg, #2F43D6 2.31%, #192370 101.03%);
  color: #fff;
}

/* Scroll reveal */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms cubic-bezier(.2,0,0,1), transform 640ms cubic-bezier(.2,0,0,1);
}
.rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* Illustrations */
.tm-ind-anim .tm-ind-anim-main,
.tm-ind-anim .tm-ind-anim-back { animation: tmIndFloat 6s cubic-bezier(.2,0,0,1) infinite; }
.tm-ind-anim .tm-ind-anim-back { animation-delay: -1.6s; }
@keyframes tmIndFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.tm-ind-anim .tm-ind-anim-ants { animation: tmIndAnts 3.6s linear infinite; }
.tm-ind-anim .tm-ind-anim-ants.tm-ind-anim-d1 { animation-delay: -1.2s; }
.tm-ind-anim .tm-ind-anim-ants.tm-ind-anim-d2 { animation-delay: -2.4s; }
@keyframes tmIndAnts { 0% { stroke-dashoffset: 28; } 100% { stroke-dashoffset: 0; } }

.tm-ind-anim .tm-ind-anim-node { animation: tmIndNode 4.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes tmIndNode { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.tm-ind-anim .tm-ind-anim-breathe { animation: tmIndBreathe 4.8s ease-in-out infinite; }
@keyframes tmIndBreathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

.tm-ind-anim .tm-ind-anim-key { animation: tmIndKey 4.8s ease-in-out infinite; }
@keyframes tmIndKey { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(1.45); } }

.tm-ind-anim .tm-ind-anim-pulse { animation: tmIndTravel 3.6s cubic-bezier(.2,0,0,1) infinite; offset-rotate: 0deg; }
.tm-ind-anim .tm-ind-anim-p1 { offset-path: path("M140 162 C 176 162 188 198 208 213"); }
.tm-ind-anim .tm-ind-anim-p2 { offset-path: path("M140 222 C 172 222 188 218 208 219"); }
.tm-ind-anim .tm-ind-anim-p3 { offset-path: path("M140 282 C 176 282 188 242 208 226"); }
@keyframes tmIndTravel { 0% { offset-distance: 0%; opacity: 0; } 18% { opacity: 1; } 82% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .tm-ind-anim .tm-ind-anim-main,
  .tm-ind-anim .tm-ind-anim-back,
  .tm-ind-anim .tm-ind-anim-ants,
  .tm-ind-anim .tm-ind-anim-node,
  .tm-ind-anim .tm-ind-anim-breathe { animation: none; }
  .tm-ind-anim .tm-ind-anim-pulse { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────── */

.tm-ind-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.tm-ind-kicker { display: flex; align-items: center; gap: 8px; }
.tm-ind-kicker-dot { width: 7px; height: 7px; border-radius: 99px; background: var(--accent); flex: none; }
.tm-ind-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tm-ind-h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: pretty;
}
.tm-ind-sub {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 34em;
  text-wrap: pretty;
}
.tm-ind-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-ind-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-ind-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.tm-ind-pill i { color: var(--accent); }

/* ── HeroIndustria — hero con composición fotográfica (disco +
   tarjetas + figura, ya rasterizadas en una sola imagen por industria).
   Usa el mismo max-width:1440px + padding-inline responsive que .tm-container
   (la nav), para que el hero arranque/termine exacto donde el logo y el
   último CTA de la nav. La imagen siempre se contiene dentro de su columna
   (nunca se recorta contenido importante) y escala de forma proporcional en
   cualquier viewport; el disco sigue su tamaño vía container query units, así
   que ambos quedan sincronizados sin
   breakpoints manuales. ── */

.tm-ind-hero-bleed {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 64px;
  max-width: 1440px;
  margin-inline: auto;
  padding: 148px 24px 96px;
  background: var(--ground);
}
@media (min-width: 640px)  { .tm-ind-hero-bleed { padding-inline: 40px; } }
@media (min-width: 1024px) { .tm-ind-hero-bleed { padding-inline: 56px; } }
@media (min-width: 1440px) { .tm-ind-hero-bleed { padding-inline: 72px; } }
.tm-ind-hero-visual {
  position: relative;
  width: 100%;
  container-type: inline-size;
}
.tm-ind-hero-visual img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 1180px;
  height: auto;
}
.tm-ind-hero-disc {
  position: absolute;
  width: 47%;
  aspect-ratio: 1 / 1;
  left: 41%;
  top: -1%;
  background: #E9ECFD;
  border-radius: 50%;
  z-index: 0;
}

@media (max-width: 1023px) {
  .tm-ind-hero-bleed {
    grid-template-columns: 1fr;
    padding: 128px 24px 48px;
    gap: 40px;
  }
  .tm-ind-hero-visual { max-width: 520px; margin-inline: auto; }
  .tm-ind-hero-visual img { max-width: none; }
}

/* ── Proof strip (client logos marquee — ported 1:1 from
   teramot.com/control-de-gestion: .clients/.cl-label/.cl-rule/.cl-marquee/
   .cl-track, same grid, same grayscale treatment, same clSlide loop) ── */

.tm-ind-proof {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  padding: 56px 0;
}
.tm-ind-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.tm-ind-proof-copy { max-width: 180px; line-height: 1.25; display: flex; flex-direction: column; }
.tm-ind-proof-count {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tm-ind-proof-caption {
  display: block;
  margin-top: 4px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-2);
}
.tm-ind-proof-divider { display: none; }

.tm-ind-proof-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tm-ind-proof-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: tmIndProofSlide 42s linear infinite;
}
.tm-ind-proof:hover .tm-ind-proof-track { animation-play-state: paused; }
@keyframes tmIndProofSlide {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.tm-ind-proof-track img {
  flex: 0 0 auto;
  max-height: 32px !important;
  height: auto !important;
  max-width: 110px !important;
  width: auto !important;
  object-fit: contain;
  filter: grayscale(1) brightness(0.55) contrast(1.05);
  opacity: 0.62;
  transition: opacity 0.2s, filter 0.2s;
}
.tm-ind-proof-track img:hover { opacity: 0.95; filter: grayscale(1) brightness(0.35); }
.tm-ind-proof-track img.is-tall { max-height: 48px !important; }

@media (prefers-reduced-motion: reduce) {
  .tm-ind-proof-track { animation: none; }
}

@media (min-width: 1024px) {
  .tm-ind-proof-grid { grid-template-columns: auto 1px 1fr; gap: 52px; }
  .tm-ind-proof-divider { display: block; width: 1px; min-height: 56px; align-self: stretch; background: var(--rule-strong); }
}

/* ── Fuentes bar ──────────────────────────────────────────────── */

.tm-ind-sources {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: #fff;
}
.tm-ind-sources-inner {
  padding-block: 16px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.tm-ind-sources-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

/* ── Problema (gradient block) ───────────────────────────────── */

.tm-ind-problem-inner {
  padding-block: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: 56px;
}
.tm-ind-problem-copy { display: flex; flex-direction: column; gap: 20px; }
.tm-ind-problem-kicker { display: flex; align-items: center; gap: 8px; }
.tm-ind-problem-kicker i { color: var(--brand-mint); font-size: 14px; }
.tm-ind-problem-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-mint);
}
.tm-ind-statement {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: #fff;
  max-width: 24em;
  text-wrap: pretty;
}
.tm-ind-problem-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 38em;
  text-wrap: pretty;
}
.tm-ind-glass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.tm-ind-glass-card {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-ind-glass-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tm-ind-glass-icon i { color: var(--accent); font-size: 19px; }
.tm-ind-glass-label {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}
.tm-ind-glass-footnote { text-align: center; padding-top: 4px; }
.tm-ind-glass-footnote span {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Framing IA ───────────────────────────────────────────────── */

.tm-ind-framing-inner {
  padding-block: 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: 56px;
  align-items: start;
}
.tm-ind-framing-left { display: flex; flex-direction: column; gap: 32px; }
.tm-ind-framing-h2 { margin: 0; }
.tm-ind-framing-right { display: flex; flex-direction: column; gap: 16px; }
.tm-ind-framing-lead {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: 1.55;
  color: var(--muted);
  max-width: 30em;
  text-wrap: pretty;
}
.tm-ind-framing-rows { display: flex; flex-direction: column; gap: 8px; }
.tm-ind-framing-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}
.tm-ind-framing-row:last-child { border-bottom: none; padding-bottom: 0; }
.tm-ind-framing-row i { color: var(--accent); }
.tm-ind-framing-row span { font-family: var(--font-body); font-size: 15px; color: var(--ink-soft); }

/* ── Cómo funciona ────────────────────────────────────────────── */

.tm-ind-how {
  background: linear-gradient(180deg, #F4F5FF 0%, #EEF0FE 100%);
}
.tm-ind-how-inner {
  padding-block: 96px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.tm-ind-how-head { display: flex; flex-direction: column; gap: 12px; }
.tm-ind-how-h2 { margin: 0; max-width: 26em; }
.tm-ind-how-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tm-ind-how-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(100% / 6);
  right: calc(100% / 6);
  border-top: 2px dotted #B9C0E4;
  z-index: 0;
}
.tm-ind-how-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.tm-ind-how-node {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(160deg, #5A6DF3 0%, #253DE5 100%);
  box-shadow: 0 12px 24px -12px rgba(37, 61, 229, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-ind-how-node i { font-size: 34px; color: #fff; }
.tm-ind-how-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tm-ind-how-body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--muted);
  max-width: 30ch;
}

@media (max-width: 639px) {
  .tm-ind-how-steps { grid-template-columns: 1fr; gap: 40px; }
  .tm-ind-how-steps::before { display: none; }
}

/* ── Section shells ───────────────────────────────────────────── */

.tm-ind-section { padding-block: 96px; }
.tm-ind-section-white {
  background: #fff;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.tm-ind-head { display: flex; flex-direction: column; gap: 12px; }
.tm-ind-eyebrow-accent {
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tm-ind-h2 { margin: 0; }

/* ── Caso ancla ───────────────────────────────────────────────── */

.tm-ind-case { display: flex; flex-direction: column; gap: 40px; }
.tm-ind-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tm-ind-stat-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-ind-stat-card.is-highlight { background: #F4F5FF; border-color: #DFE3FB; }
.tm-ind-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #F4F5FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tm-ind-stat-card.is-highlight .tm-ind-stat-icon { background: #fff; }
.tm-ind-stat-icon i { color: var(--accent); font-size: 18px; }
.tm-ind-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.tm-ind-stat-card.is-highlight .tm-ind-stat-number { color: var(--accent); }
.tm-ind-stat-desc { font-family: var(--font-body); font-size: var(--text-sm); color: var(--muted); }

.tm-ind-table {
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
}
.tm-ind-table-head, .tm-ind-table-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.tm-ind-table-head > div {
  padding: 12px 20px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #FCFCFB;
  color: var(--muted-2);
}
.tm-ind-table-head > div:last-child { border-right: none; }
.tm-ind-table-head > div.is-highlight { background: #F4F5FF; color: var(--accent); }
.tm-ind-table-row { border-bottom: 1px solid var(--rule); }
.tm-ind-table-row:last-child { border-bottom: none; }
.tm-ind-table-row > div {
  padding: 20px;
  border-right: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.55;
}
.tm-ind-table-row > div:last-child { border-right: none; }
.tm-ind-table-cell-before { color: var(--muted); }
.tm-ind-table-cell-with { background: #FBFCFF; font-weight: 500; }
.tm-ind-table-cell-after { display: flex; align-items: flex-start; gap: 8px; }
.tm-ind-table-cell-after i { color: var(--accent); font-size: 14px; margin-top: 4px; flex: none; }
.tm-ind-table-cell-after p, .tm-ind-table-cell-before p, .tm-ind-table-cell-with p { margin: 0; }

/* ── Más casos por área (tabs) ────────────────────────────────── */

.tm-ind-cases { display: flex; flex-direction: column; gap: 32px; }
.tm-ind-tabs { display: flex; gap: 8px; }
.tm-ind-tab {
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--muted);
  transition: all 120ms cubic-bezier(.2,0,0,1);
}
.tm-ind-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tm-ind-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tm-ind-case-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-ind-case-card i { color: var(--accent); font-size: 20px; }
.tm-ind-case-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tm-ind-case-body { margin: 0; font-family: var(--font-body); font-size: var(--text-sm); color: var(--muted); }

/* ── Quién ya lo hace ─────────────────────────────────────────── */

.tm-ind-adopters { display: flex; flex-direction: column; gap: 32px; }
.tm-ind-adopters-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tm-ind-adopter-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-ind-adopter-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.tm-ind-adopter-body { margin: 0; font-family: var(--font-body); font-size: var(--text-md); color: var(--ink-soft); }

.tm-ind-pipeline {
  border: 1px solid var(--rule);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  align-items: stretch;
}
.tm-ind-pipeline-panel {
  background: #EEF0FE;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-ind-pipeline-panel.is-core { background: linear-gradient(93deg, #2F43D6 2.31%, #192370 101.03%); }
.tm-ind-pipeline-arrow {
  background: #EEF0FE;
  display: flex;
  align-items: center;
  padding: 0 4px;
}
.tm-ind-pipeline-arrow i { color: #8E99DE; font-size: 20px; }
.tm-ind-pipeline-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tm-ind-pipeline-panel.is-core .tm-ind-pipeline-icon { background: rgba(255,255,255,.9); }
.tm-ind-pipeline-icon i { color: var(--accent); font-size: 20px; }
.tm-ind-pipeline-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #4353D8;
}
.tm-ind-pipeline-panel.is-core .tm-ind-pipeline-eyebrow { color: var(--brand-mint); }
.tm-ind-pipeline-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.tm-ind-pipeline-chip {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #DFE3FB;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
}
.tm-ind-pipeline-panel.is-core .tm-ind-pipeline-chip {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.28);
  color: #fff;
}

/* ── Objeciones ───────────────────────────────────────────────── */

.tm-ind-objections-inner {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 56px;
}
.tm-ind-accordion { display: flex; flex-direction: column; }
.tm-ind-accordion-item { border-bottom: 1px solid var(--rule); }
.tm-ind-accordion-trigger {
  cursor: pointer;
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  font-family: inherit;
}
.tm-ind-accordion-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.tm-ind-accordion-trigger i { color: var(--accent); font-size: 16px; flex: none; }
.tm-ind-accordion-a {
  margin: 0 0 20px;
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40em;
  text-wrap: pretty;
}

/* ── Alternativas ─────────────────────────────────────────────── */

.tm-ind-alt-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 16px; align-items: stretch; }
.tm-ind-alt-card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tm-ind-alt-card.is-highlight { border-color: var(--accent); background: #F4F5FF; }
.tm-ind-alt-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--muted-2);
}
.tm-ind-alt-card.is-highlight .tm-ind-alt-word { font-weight: 800; color: var(--accent); }
.tm-ind-alt-desc { margin: 0; font-family: var(--font-body); font-size: var(--text-sm); color: var(--muted); }
.tm-ind-alt-card.is-highlight .tm-ind-alt-desc { color: var(--ink-soft); font-weight: 500; }

/* ── CTA final ────────────────────────────────────────────────── */

.tm-ind-cta {
  position: relative;
  overflow: hidden;
}
.tm-ind-cta-blob {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  background: var(--brand-blue);
  opacity: 0.14;
  filter: blur(4px);
}
.tm-ind-cta-inner {
  position: relative;
  padding-block: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: center;
}
.tm-ind-cta-copy { display: flex; flex-direction: column; gap: 8px; }
.tm-ind-cta-h2 { margin: 0; color: #fff; }
.tm-ind-cta-h2 em { font-style: normal; color: var(--brand-mint); }
.tm-ind-cta-sub { margin: 0; color: rgba(255,255,255,.72); max-width: 38em; font-family: var(--font-body); font-size: var(--text-md); }
.tm-ind-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.tm-ind-btn-white {
  background: #fff;
  color: var(--ink);
}
.tm-ind-btn-white:hover { background: #f0f0f0; }
.tm-ind-btn-outline-light {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  background: transparent;
}
.tm-ind-btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }

/* ── Responsive ───────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .tm-ind-problem-inner,
  .tm-ind-framing-inner,
  .tm-ind-objections-inner { grid-template-columns: 1fr; }
  .tm-ind-glass-grid { grid-template-columns: 1fr 1fr; }
  .tm-ind-stat-grid,
  .tm-ind-case-grid,
  .tm-ind-adopters-grid { grid-template-columns: 1fr 1fr; }
  .tm-ind-alt-grid { grid-template-columns: 1fr 1fr; }
  .tm-ind-pipeline { grid-template-columns: 1fr; }
  .tm-ind-pipeline-arrow { transform: rotate(90deg); padding: 8px 0; justify-content: center; }
  .tm-ind-table-head, .tm-ind-table-row { grid-template-columns: 1fr; }
  .tm-ind-table-head > div, .tm-ind-table-row > div { border-right: none; }
  .tm-ind-cta-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 639px) {
  .tm-ind-problem-inner,
  .tm-ind-framing-inner,
  .tm-ind-section,
  .tm-ind-sources-inner,
  .tm-ind-cta-inner { padding-left: 24px; padding-right: 24px; }
  .tm-ind-h1 { font-size: 34px; }
  .tm-ind-alt-grid { grid-template-columns: 1fr; }
  .tm-ind-glass-grid { grid-template-columns: 1fr; }
  .tm-ind-stat-grid,
  .tm-ind-case-grid,
  .tm-ind-adopters-grid { grid-template-columns: 1fr; }
}
