/* Talinka by Torres Systems
   Hoja propia de /talinka: no carga style.css del sitio principal.
   Dirección: editorial de libro contable con una sola familia
   geométrica (Plus Jakarta Sans, en la línea de Gilmer que usa
   aresarquitectos.com). Jerarquía por peso y tamaño, sin cursivas.
   Renglones finos como separadores, un solo acento verde. */

@view-transition { navigation: auto; }

:root {
  --tk-bg: #F7F4F4;
  --tk-ink: #1A1A1A;
  --tk-ink-2: rgba(26, 26, 26, 0.68);   /* texto secundario */
  --tk-ink-3: rgba(26, 26, 26, 0.56);   /* rótulos y titulares en gris */
  --tk-line: rgba(26, 26, 26, 0.14);    /* renglón de auxiliar */

  /* Colores del logo vectorizado (talinka-logos/*-oscuro.svg) */
  --tk-logo: #0F2A24;
  --tk-logo-by: #55665F;
  --tk-green: #6FA32A;
  --tk-green-soft: rgba(111, 163, 42, 0.42);
  --tk-green-on-dark: #A3C47C;          /* verde suave para fondo oscuro, nunca lima */

  --tk-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --tk-gutter: max(16px, 4vw);
  --tk-max: 1400px;
  --tk-section: clamp(5.5rem, 11vw, 10rem);
  --tk-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --tk-ease-io: cubic-bezier(0.7, 0, 0.2, 1);

  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: clip; /* la página nunca se desplaza de lado en celular */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--tk-bg);
  color: var(--tk-ink);
  font-family: var(--tk-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 4px;
}

.tk-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.tk-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.tk-wrap {
  width: min(var(--tk-max), 100% - 2 * var(--tk-gutter));
  margin-inline: auto;
}

.tk-label {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--tk-ink-3);
}

.tk-lead {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--tk-ink-2);
}

.tk-note {
  font-size: 0.95rem;
  color: var(--tk-ink-2);
}

.tk-skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--tk-ink);
  color: var(--tk-bg);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
}
.tk-skip:focus { top: 1rem; }

/* ---------- Logo ---------- */

.tk-mark .tk-sq { fill: var(--tk-logo); transform-box: fill-box; transform-origin: center; }
.tk-mark .tk-sq--2,
.tk-mark .tk-sq--3 { fill-opacity: 0.4; }
.tk-mark .tk-sq--4 { fill: var(--tk-green); }
.tk-word { fill: var(--tk-logo); }
.tk-by { fill: var(--tk-logo-by); }

/* ---------- Botones ---------- */

.tk-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  background: var(--tk-ink);
  color: var(--tk-bg);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s var(--tk-ease);
}
.tk-pill:hover { background: var(--tk-logo); }
.tk-pill:active { transform: scale(0.98); }
.tk-pill--light { background: var(--tk-bg); color: var(--tk-ink); }
.tk-pill--light:hover { background: #FFFFFF; }
.tk-pill--sm {
  min-height: 40px;
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.tk-textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  font-weight: 600;
  font-size: 0.95rem;
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 calc(50% + 0.85em);
  background-repeat: no-repeat;
}
.tk-textlink span { transition: transform 0.2s var(--tk-ease); }
.tk-textlink:hover span { transform: translateX(3px); }

.tk-round {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--tk-line);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}
.tk-round:hover:not(:disabled) { border-color: currentColor; }
.tk-round:disabled { opacity: 0.3; cursor: default; }

/* ---------- Nav: la cápsula de Torres Systems, en versión clara ---------- */

.tk-nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--tk-max), 92vw);
  margin: 0 auto;
  padding: 0.6rem 0.6rem 0.6rem 1.5rem;
  border-radius: 100px;
  background: rgba(247, 244, 244, 0.55);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.tk-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.tk-nav-mark { width: 22px; height: 22px; }
.tk-nav-word { height: 18px; width: auto; aspect-ratio: 345 / 82.5; }
.tk-nav .tk-sq, .tk-nav .tk-word { transition: fill 0.4s ease; }

.tk-nav-end {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
/* "Torres Systems" igual que en la cápsula de torressystems.com: el ícono
   en su vino original y el nombre en Playfair, en oscuro */
.tk-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--tk-ink);
  transition: color 0.2s ease;
}
.tk-nav-back:hover { color: #7D2D3E; }
.tk-ts-mark {
  width: 22px;
  height: 23px;
  transition: filter 0.4s ease, transform 0.2s ease;
}
.tk-nav-back:hover .tk-ts-mark { transform: translateY(-1px); }

/* Sobre la sección oscura, la cápsula vuelve a ser la de Torres Systems */
.tk-nav.is-dark {
  background: rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 0 0 1px rgba(247, 244, 244, 0.08);
}
.tk-nav.is-dark .tk-sq { fill: #F2F4EE; }
.tk-nav.is-dark .tk-sq--4 { fill: var(--tk-green-on-dark); }
.tk-nav.is-dark .tk-word { fill: #F2F4EE; }
.tk-nav.is-dark .tk-nav-back { color: var(--tk-bg); }
.tk-nav.is-dark .tk-nav-back:hover { color: #E8C9CF; }
.tk-nav.is-dark .tk-ts-mark { filter: brightness(0) invert(1); }
.tk-nav.is-dark .tk-pill { background: var(--tk-bg); color: var(--tk-ink); }

@media (max-width: 860px) {
  .tk-nav { top: 12px; width: calc(100% - 32px); padding-left: 1.15rem; }
}
@media (max-width: 520px) {
  .tk-nav-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tk-nav-back { min-width: 40px; justify-content: center; }
  .tk-nav-end { gap: 0.5rem; }
}

/* ---------- Secciones (ritmo de torressystems.com) ---------- */

.tk-section {
  --tk-sec-bg: var(--tk-bg);
  padding-block: clamp(5rem, 10vw, 8.5rem);
  background: var(--tk-sec-bg);
}
/* Fondo blanco alterno, como .section-alt del sitio principal */
.tk-section--alt { --tk-sec-bg: #FFFFFF; }

.tk-sec-head {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.tk-kicker {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tk-ink-3);
  margin-bottom: 0.9rem;
}
.tk-h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  word-spacing: 0.06em;
}
.tk-sec-lead {
  margin-top: 1.2rem;
  max-width: 40rem;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--tk-ink-2);
}

/* Dos columnas: titular a la izquierda, contenido a la derecha */
.tk-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  row-gap: 2.5rem;
}
.tk-split > .tk-h2 { grid-column: 1 / span 5; }
.tk-split > :not(.tk-h2) { grid-column: 7 / -1; }
@media (max-width: 860px) {
  .tk-split > .tk-h2,
  .tk-split > :not(.tk-h2) { grid-column: 1 / -1; }
}

/* ---------- Hero: parvada que forma "Talinka" + mecanismo de torressystems.com ---------- */

/* Una sola pantalla: título y botones visibles desde el inicio, sin tener
   que hacer scroll (antes medía 200vh y los botones salían al bajar, lo
   que en celular se sentía trabado). */
.tk-hero { position: relative; background: var(--tk-bg); }
.tk-hero-sticky {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(2.5rem, 8vh, 5.5rem);
  overflow: hidden;
}
.tk-flock {
  position: absolute;
  inset: 0;
  cursor: crosshair;
}
.tk-flock canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  max-width: none;
}
/* Papel que sube desde abajo: los pájaros que cruzan detrás del texto se
   desvanecen para que el titular siempre se lea. */
.tk-flock::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--tk-bg) 0%, rgba(247, 244, 244, 0.92) 22%, rgba(247, 244, 244, 0) 46%);
}
.tk-hero-content {
  position: relative;
  z-index: 1;
  width: min(1280px, 100% - 2 * var(--tk-gutter));
  text-align: center;
  pointer-events: none;
}
.tk-hero-content a { pointer-events: auto; }
.tk-hero-label {
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  font-weight: 600;
  color: var(--tk-ink-2);
  margin-bottom: clamp(0.8rem, 2vh, 1.3rem);
}
.tk-hero-title {
  font-size: clamp(1.9rem, 3.8vw, 3.8rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  word-spacing: 0.08em;
  text-wrap: initial;
}
.tk-line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.tk-line-in { display: block; }
.tk-line--soft { color: var(--tk-ink-3); }

/* Subrayado verde suave bajo "en app.": el único acento del hero */
.tk-underline {
  background-image: linear-gradient(var(--tk-green-soft), var(--tk-green-soft));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.06em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.tk-hero-reveal { margin-top: clamp(1.2rem, 2.6vh, 1.8rem); will-change: opacity; }
/* Línea que explica qué es Talinka, debajo del título */
.tk-hero-sub {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.55;
  color: var(--tk-ink-2);
}
.tk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.6rem;
}



/* ---------- Declaración ---------- */

.tk-statement { padding-block: clamp(6rem, 15vw, 12rem); background: #FFFFFF; }
.tk-statement-text {
  max-width: 1150px;
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  word-spacing: 0.05em;
  text-wrap: pretty;
}
.tk-w { color: rgba(26, 26, 26, 0.16); transition: color 0.35s ease; }
.tk-w.is-lit { color: var(--tk-ink); }

/* ---------- Ejemplos: marquesina (como "Lo que construimos") ---------- */

.tk-section--bleed .tk-sec-head { width: min(var(--tk-max), 100% - 2 * var(--tk-gutter)); margin-inline: auto; max-width: none; }
.tk-section--bleed .tk-sec-head > * { max-width: 760px; }

.tk-marquee {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.tk-marquee-track { display: flex; width: max-content; }
.tk-marquee-set { display: flex; gap: 1rem; padding-right: 1rem; }
.tk-marquee-row--left .tk-marquee-track { animation: tk-marquee-left 80s linear infinite; }
.tk-marquee-row--right .tk-marquee-track { animation: tk-marquee-right 90s linear infinite; }
.tk-marquee-row:nth-child(3) .tk-marquee-track { animation-duration: 85s; }
@keyframes tk-marquee-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes tk-marquee-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tk-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  background: #FFFFFF;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  white-space: nowrap;
}
.tk-chip span { color: var(--tk-ink-3); }
.tk-chip strong { font-weight: 600; display: inline-flex; align-items: center; gap: 0.75rem; }
.tk-chip strong::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  background: var(--tk-green);
}
.tk-chip--soft { color: var(--tk-ink-2); }

/* ---------- Cómo funciona (línea de tiempo) ---------- */

.tk-steps {
  --p: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
}
.tk-steps::before,
.tk-steps::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: var(--tk-line);
}
.tk-steps::after {
  height: 2px;
  top: 6.5px;
  background: var(--tk-ink);
  transform: scaleX(var(--p));
  transform-origin: left center;
}
.tk-step { position: relative; padding-top: 2.6rem; }
.tk-step-dot {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--tk-sec-bg, var(--tk-bg));
  box-shadow: inset 0 0 0 1.5px var(--tk-ink-3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.tk-step.is-on .tk-step-dot { background: var(--tk-ink); box-shadow: inset 0 0 0 1.5px var(--tk-ink); }
.tk-step--last.is-on .tk-step-dot { background: var(--tk-green); box-shadow: inset 0 0 0 1.5px var(--tk-green); }

.tk-step-title {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tk-step-meta {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--tk-ink-3);
  font-variant-numeric: tabular-nums;
}
.tk-step p:not(.tk-step-meta) {
  margin-top: 0.8rem;
  font-size: 0.98rem;
  color: var(--tk-ink-2);
}

@media (max-width: 860px) {
  .tk-steps { grid-template-columns: 1fr; row-gap: 2.4rem; padding-left: 2.6rem; }
  .tk-steps::before, .tk-steps::after {
    top: 0; bottom: 0; left: 7px; right: auto;
    width: 1px; height: auto;
  }
  .tk-steps::after { width: 2px; left: 6.5px; transform: scaleY(var(--p)); transform-origin: center top; }
  .tk-step { padding-top: 0; }
  .tk-step-dot { left: -2.6rem; top: 0.3rem; }
}

/* ---------- Prueba real: video y carrusel (como "Proyectos construidos") ---------- */

/* Marco único para video y capturas: mismo radio, mismo fondo, misma
   proporción, para que ninguna imagen se vea más grande o más chica. */
.tk-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 26, 0.06);
}
.tk-frame img,
.tk-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.tk-frame--video { aspect-ratio: 16 / 9; background: #111; }
.tk-frame--video video { object-position: center; }

.tk-video { width: 100%; }
.tk-video figcaption {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--tk-ink-3);
}

.tk-carousel { margin-top: clamp(3rem, 6vw, 4.5rem); }
.tk-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--tk-gutter);
  padding-inline: max(var(--tk-gutter), (100% - var(--tk-max)) / 2);
  scrollbar-width: none;
}
.tk-track::-webkit-scrollbar { display: none; }
.tk-card {
  flex: 0 0 clamp(240px, 26vw, 380px);
  scroll-snap-align: start;
}
.tk-card:last-child { margin-right: var(--tk-gutter); }
.tk-card-title {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.tk-card .tk-frame img { transition: transform 0.6s var(--tk-ease); }
.tk-card:hover .tk-frame img { transform: scale(1.04); }

.tk-carousel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
}
.tk-carousel-nav { display: flex; gap: 0.6rem; }

@media (max-width: 700px) {
  .tk-card { flex-basis: 82%; }
}

/* ---------- Qué reciben ---------- */

.tk-numbered {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 4rem);
  counter-reset: tk-item;
}
.tk-numbered li {
  padding: 1.5rem 0 2.4rem;
  border-top: 1px solid var(--tk-line);
  counter-increment: tk-item;
}
.tk-numbered li::before {
  content: counter(tk-item, decimal-leading-zero);
  display: block;
  margin-bottom: 1.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--tk-ink-3);
  font-variant-numeric: tabular-nums;
}
.tk-numbered h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.tk-numbered p { margin-top: 0.6rem; color: var(--tk-ink-2); font-size: 0.98rem; }

@media (max-width: 960px) { .tk-numbered { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tk-numbered { grid-template-columns: 1fr; }
  .tk-numbered li { padding-bottom: 1.6rem; }
  .tk-numbered li::before { margin-bottom: 0.6rem; }
}

/* ---------- Inversión ---------- */

.tk-invest {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  row-gap: 3rem;
  align-items: start;
}
.tk-invest-side { grid-column: 1 / span 5; }
.tk-calc {
  grid-column: 7 / -1;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 28px;
  background: var(--tk-bg);
}
@media (max-width: 960px) {
  .tk-invest-side, .tk-calc { grid-column: 1 / -1; }
}
.tk-invest-notes { margin-top: 2rem; display: grid; gap: 0.8rem; }
.tk-invest-notes li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--tk-ink-2);
}
.tk-invest-notes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 2.5px;
  background: var(--tk-green);
}
.tk-invest-notes strong { color: var(--tk-ink); font-weight: 600; }
.tk-invest-fine { margin-top: 1.4rem; font-size: 0.8rem; color: var(--tk-ink-3); }
.tk-invest-fine + .tk-invest-fine { margin-top: 0.35rem; }

.tk-calc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.tk-calc-label { font-weight: 500; color: var(--tk-ink-2); }
.tk-calc-count {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.tk-range {
  --fill: 20%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 10px;
  margin: 0;
  border: 1px solid rgba(26, 26, 26, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(var(--tk-ink), var(--tk-ink)) 0 0 / var(--fill) 100% no-repeat,
    transparent;
  cursor: pointer;
}
.tk-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--tk-ink);
  border: 4px solid var(--tk-bg);
  box-shadow: 0 0 0 1px var(--tk-ink);
  transition: transform 0.2s var(--tk-ease);
}
.tk-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--tk-ink);
  border: 4px solid var(--tk-bg);
  box-shadow: 0 0 0 1px var(--tk-ink);
}
.tk-range:active::-webkit-slider-thumb { transform: scale(1.1); }
.tk-range:focus-visible { outline: 2px solid var(--tk-ink); outline-offset: 6px; }

.tk-range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--tk-ink-3);
  font-variant-numeric: tabular-nums;
}

.tk-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.tk-price { padding-top: 1rem; border-top: 1px solid var(--tk-line); }
.tk-price dt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--tk-ink-3);
}
.tk-price--founder dt::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 2.5px;
  background: var(--tk-green);
}
.tk-price dd {
  margin-top: 0.4rem;
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tk-price:not(.tk-price--founder) dd { color: var(--tk-ink-3); }
/* Equipos de más de 10: el precio Founder no aplica */
.tk-price dd.tk-price-na { font-size: clamp(1.1rem, 1.8vw, 1.4rem); letter-spacing: -0.01em; color: var(--tk-ink-3); }
.tk-calc-iva { margin-top: 1rem; font-size: 0.9rem; color: var(--tk-ink-3); }

.tk-terms > div { padding: 1rem 0 1.4rem; border-top: 1px solid var(--tk-line); }
.tk-terms > div:first-child { border-top-color: var(--tk-ink); }
.tk-terms dt { font-weight: 600; }
.tk-terms dd { margin-top: 0.35rem; color: var(--tk-ink-2); font-size: 0.98rem; }

.tk-faq--costs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.tk-faq--costs details:first-child { border-top: 0; }
.tk-faq--costs details { border-top: 1px solid var(--tk-ink); }
@media (max-width: 760px) {
  .tk-faq--costs { grid-template-columns: 1fr; }
  .tk-faq--costs details + details { border-top-color: var(--tk-line); }
}
.tk-rows { margin-bottom: 1rem; }
.tk-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--tk-line);
}
.tk-rows li span:last-child {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tk-rows small {
  display: block;
  font-size: 0.82rem;
  color: var(--tk-ink-3);
}

@media (max-width: 600px) {
  .tk-rows li { flex-direction: column; gap: 0.2rem; }
  .tk-rows li span:last-child { text-align: left; white-space: normal; }
}

/* ---------- Quién está detrás (como "Sobre mí") ---------- */

.tk-about {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  gap: clamp(2rem, 5vw, 4.5rem);
}
.tk-about-photo {
  position: relative;
  width: clamp(180px, 17vw, 240px);
  border-radius: 24px;
  overflow: hidden;
  background: #7E7E7E;
}
/* Absoluta: la fila la decide el texto y la foto se ajusta a su alto */
.tk-about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.tk-about-text .tk-h2 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.25; letter-spacing: -0.02em; margin-bottom: 1rem; }
.tk-about-text p:not(.tk-kicker) {
  max-width: 780px;
  color: var(--tk-ink-2);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
@media (max-width: 760px) {
  .tk-about { grid-template-columns: 1fr; }
  .tk-about-photo { width: 200px; aspect-ratio: 2 / 3; margin-inline: auto; }
}
.tk-about-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; }
.tk-about-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-bottom: 1px solid var(--tk-line);
  padding-bottom: 2px;
}
.tk-about-link:hover { border-color: var(--tk-ink); }


/* ---------- Preguntas frecuentes (y desglose de costos) ---------- */

.tk-faq details { border-bottom: 1px solid var(--tk-line); }
.tk-faq details:first-child { border-top: 1px solid var(--tk-ink); }
.tk-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 44px;
  padding: 1.25rem 0;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.tk-faq summary::-webkit-details-marker { display: none; }
.tk-faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.3s var(--tk-ease);
}
.tk-faq details[open] summary::after { transform: rotate(45deg); }
.tk-faq details > p {
  padding-bottom: 1.5rem;
  max-width: 40rem;
  color: var(--tk-ink-2);
}
.tk-faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.35s var(--tk-ease), content-visibility 0.35s allow-discrete;
}
.tk-faq details[open]::details-content { block-size: auto; }

/* ---------- Cierre con formulario (como el de torressystems.com) ---------- */

.tk-close { padding-block: clamp(5rem, 10vw, 8rem); background: var(--tk-bg); }
.tk-close-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.tk-close-title {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}
.tk-close-sub {
  max-width: 420px;
  margin-bottom: 2.4rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--tk-ink-2);
}
.tk-close-social { display: flex; gap: 0.8rem; }
.tk-close-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--tk-line);
  color: var(--tk-ink);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tk-close-icon svg { width: 22px; height: 22px; }
.tk-close-icon:hover { background: var(--tk-logo); border-color: var(--tk-logo); color: #FFFFFF; transform: translateY(-2px); }
.tk-close-founder { margin-top: 1.4rem; gap: 0.6rem; }
.tk-close-founder svg { width: 18px; height: 18px; flex-shrink: 0; }

.tk-close-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.tk-field { display: flex; flex-direction: column; margin-bottom: 1.6rem; }
.tk-field label { font-size: 0.85rem; font-weight: 500; color: var(--tk-ink-2); }
.tk-field input,
.tk-field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--tk-ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.22);
  border-radius: 0;
  padding: 0.6rem 0 0.7rem;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.tk-field input::placeholder { color: var(--tk-ink-3); }
.tk-field input:focus,
.tk-field textarea:focus { border-bottom-color: var(--tk-logo); }
.tk-close-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-top: 0.6rem; }
.tk-close-submit { border: 0; cursor: pointer; font: inherit; font-weight: 600; }
.tk-close-submit:disabled { opacity: 0.6; cursor: default; }
.tk-form-status { font-size: 0.9rem; }
.tk-form-status--error { color: #B3261E; }
#tkCierreContent { transition: opacity 0.4s ease; }
#tkCierreContent.is-fading-out { opacity: 0; }
.tk-close-success {
  padding: 2.5rem 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tk-close-success.is-visible { opacity: 1; transform: none; }
.tk-close-success-logo { width: 44px; height: 44px; margin-bottom: 1.2rem; }
.tk-close-success p { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
@media (max-width: 900px) {
  .tk-close-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tk-close-row { grid-template-columns: 1fr; }
}

/* ---------- Footer (misma estructura que fisco360.html) ---------- */

.tk-footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--tk-line);
}
.tk-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.tk-footer-brand { display: flex; align-items: flex-start; gap: 0.75rem; }
.tk-footer-mark { width: 32px; height: 32px; flex-shrink: 0; }
.tk-footer-type { display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1px; }
.tk-footer-word { height: 26px; width: auto; aspect-ratio: 345 / 82.5; }
.tk-footer-by { height: 10px; width: auto; aspect-ratio: 220 / 27; margin-left: 1px; }

.tk-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.tk-footer-col .tk-label { margin-bottom: 0.3rem; }
.tk-footer-col a { font-size: 0.95rem; transition: color 0.15s ease; }
.tk-footer-col a:hover { color: var(--tk-logo); }

.tk-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  padding: 1rem 0;
  border-top: 1px solid var(--tk-line);
  font-size: 0.82rem;
  color: var(--tk-ink-2);
}
.tk-footer-legal a { transition: color 0.15s ease; }
.tk-footer-legal a:hover { color: var(--tk-ink); }
.tk-footer-bottom { font-size: 0.8rem; color: var(--tk-ink-3); }

/* =========================================================
   Movimiento
   ========================================================= */

/* Intro completa: velo crema, los cuadritos se arman uno por uno (el
   verde al final), entra la palabra, "by Torres Systems" y la bienvenida. */

.tk-intro {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.6rem, 4vh, 2.4rem);
  background: var(--tk-bg);
  padding: 0 16px;
}
html[data-intro="full"] .tk-intro { display: flex; }
html.tk-intro-done .tk-intro { display: none; }

.tk-intro-logo {
  width: clamp(250px, 40vw, 460px);
  height: auto;
  aspect-ratio: 458 / 140;
  overflow: visible;
  transform-origin: 0 0;
}
.tk-intro-welcome {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 500;
  color: var(--tk-ink-2);
}

@keyframes tk-sq-in {
  from { opacity: 0; transform: scale(0.35); }
  65%  { opacity: 1; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes tk-word-in {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes tk-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@keyframes tk-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

html[data-intro="full"] .tk-intro .tk-sq { opacity: 0; animation: tk-sq-in 0.42s var(--tk-ease) forwards; }
html[data-intro="full"] .tk-intro .tk-sq--1 { animation-delay: 0.08s; }
html[data-intro="full"] .tk-intro .tk-sq--2 { animation-delay: 0.2s; }
html[data-intro="full"] .tk-intro .tk-sq--3 { animation-delay: 0.32s; }
html[data-intro="full"] .tk-intro .tk-sq--4 { animation-delay: 0.5s; }
html[data-intro="full"] .tk-intro .tk-word { animation: tk-word-in 0.55s var(--tk-ease-io) 0.62s both; }
html[data-intro="full"] .tk-intro .tk-by { animation: tk-fade-in 0.45s ease 0.95s both; }
html[data-intro="full"] .tk-intro-welcome { animation: tk-fade-up 0.5s var(--tk-ease) 1.08s both; }

/* Mientras dura la intro, el logo del nav espera a recibir los cuadritos */
html[data-intro="full"]:not(.tk-intro-done) .tk-nav-mark { opacity: 0; }
html[data-intro="full"]:not(.tk-ready) .tk-nav-word { opacity: 0; }
.tk-nav-word { transition: opacity 0.35s ease; }

/* Entrada directa (Google, WhatsApp, enlace): solo el logo del nav se arma */
html[data-intro="short"] .tk-nav-mark .tk-sq { opacity: 0; animation: tk-sq-in 0.38s var(--tk-ease) forwards; }
html[data-intro="short"] .tk-nav-mark .tk-sq--1 { animation-delay: 0.05s; }
html[data-intro="short"] .tk-nav-mark .tk-sq--2 { animation-delay: 0.12s; }
html[data-intro="short"] .tk-nav-mark .tk-sq--3 { animation-delay: 0.19s; }
html[data-intro="short"] .tk-nav-mark .tk-sq--4 { animation-delay: 0.3s; }

/* Hero: los renglones del titular suben desde su máscara cuando la
   intro termina (o al cargar, si se entró directo). */
@keyframes tk-line-up {
  from { transform: translateY(105%); }
  to   { transform: none; }
}
@keyframes tk-underline-draw {
  from { background-size: 0% 0.06em; }
  to   { background-size: 100% 0.06em; }
}

html:not([data-intro="none"]) .tk-line-in { transform: translateY(105%); }
html:not([data-intro="none"]) .tk-rise { opacity: 0; }
html:not([data-intro="none"]) .tk-underline { background-size: 0% 0.06em; }

html.tk-ready:not([data-intro="none"]) .tk-line-in { animation: tk-line-up 0.9s var(--tk-ease) forwards; }
html.tk-ready:not([data-intro="none"]) .tk-line:nth-child(2) .tk-line-in { animation-delay: 0.09s; }
html.tk-ready:not([data-intro="none"]) .tk-hero-label { animation: tk-fade-in 0.6s ease 0.05s both; }
/* Los botones entran solos, justo después del título */
html:not([data-intro="none"]) .tk-hero-reveal { opacity: 0; }
html.tk-ready:not([data-intro="none"]) .tk-hero-reveal { animation: tk-fade-up 0.7s var(--tk-ease) 0.55s both; }
html.tk-ready:not([data-intro="none"]) .tk-underline { animation: tk-underline-draw 0.7s var(--tk-ease-io) 0.75s forwards; }

/* Revelado ligado al scroll, mismo comportamiento que .reveal del sitio principal */
.reveal { will-change: opacity, transform; }

/* Salida hacia Torres Systems: la página se desvanece */
html.tk-leaving body > *:not(.tk-intro) {
  opacity: 0;
  transition: opacity 0.32s ease;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .tk-intro { display: none !important; }
  .tk-line-in { transform: none !important; }
  .tk-rise, .tk-nav-mark, .tk-nav-word, .tk-sq { opacity: 1 !important; }
  .tk-underline { background-size: 100% 0.06em !important; }
  .tk-marquee-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .tk-w { color: var(--tk-ink) !important; }
}

/* ---------- Vista previa embebida (?vista=hero) ----------
   El home de torressystems.com muestra esta página en un iframe: solo
   el hero con su parvada, sin nav, sin el resto y sin scroll. */
html[data-vista="hero"],
html[data-vista="hero"] body { height: 100%; overflow: hidden; }
html[data-vista="hero"] .tk-nav,
html[data-vista="hero"] .tk-skip,
html[data-vista="hero"] .tk-hero-reveal,
html[data-vista="hero"] main > section:not(.tk-hero),
html[data-vista="hero"] .tk-footer { display: none !important; }
html[data-vista="hero"] .tk-hero { height: 100vh; height: 100svh; }


/* ---------- Rediseño: sistema interno, menos texto ---------- */

/* Renglón 1: áreas de la empresa (sin cuadrito verde) */
.tk-chip--area { font-weight: 600; color: var(--tk-ink); }

/* Lo que recibe su empresa: tres beneficios a la izquierda y, a la
   derecha, una maqueta de su sistema interno con las herramientas que
   creó su equipo (decorativa: el texto ya lo dice). */
.tk-gets {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}
.tk-gets-list { margin-top: clamp(1.8rem, 3.5vw, 2.6rem); display: grid; gap: 1.4rem; }
.tk-gets-list li { position: relative; padding-left: 1.6rem; }
.tk-gets-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--tk-green);
}
.tk-gets-list strong { display: block; font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -0.02em; line-height: 1.25; }
.tk-gets-list span { display: block; margin-top: 0.3rem; color: var(--tk-ink-2); font-size: 0.98rem; }
.tk-benefits-note { margin-top: 1.8rem; font-size: 0.88rem; color: var(--tk-ink-3); }

/* Laptop tipo MacBook: marco negro con esquinas redondeadas, notch
   arriba y base de aluminio; la pantalla es la maqueta del sistema. */
.tk-laptop { width: 100%; max-width: 680px; margin-inline: auto; filter: drop-shadow(0 40px 50px rgba(15, 42, 36, 0.18)); }

.tk-laptop-screen {
  position: relative;
  padding: 2.2% 2.2% 2.6%;
  border-radius: 22px 22px 6px 6px;
  background: #0E0E10;
  box-shadow: inset 0 0 0 1.5px #3A3A3E;
}
.tk-laptop-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 13%;
  height: 2.6%;
  min-height: 9px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #0E0E10;
  z-index: 1;
}
.tk-laptop-base {
  position: relative;
  height: 14px;
  margin: 0 -6.5%;
  border-radius: 2px 2px 14px 14px;
  background: linear-gradient(180deg, #E4E4E7 0%, #C9C9CE 55%, #9C9CA2 100%);
}
.tk-laptop-base span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 17%;
  height: 5px;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #A8A8AE;
}
/* En celular la laptop se vuelve tablet: sin teclado, marco parejo por los
   cuatro lados y un puntito de cámara en vez de la muesca */
@media (max-width: 760px) {
  .tk-laptop { width: 100%; }
  .tk-laptop-base { display: none; }
  .tk-laptop-screen { padding: 4%; border-radius: 26px; }
  .tk-laptop-screen::before {
    top: 1.6%;
    width: 7px;
    height: 7px;
    min-height: 0;
    border-radius: 50%;
    background: #2A2A2E;
  }
}
.tk-mock {
  border-radius: 6px;
  overflow: hidden;
  background: #FFFFFF;
  font-size: 0.8rem;
}
.tk-mock-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.55rem 0.8rem;
  background: #F4F4F5;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.tk-mock-dots { display: flex; gap: 6px; }
.tk-mock-dots i { width: 9px; height: 9px; border-radius: 50%; }
.tk-mock-dots i:nth-child(1) { background: #FF5F57; }
.tk-mock-dots i:nth-child(2) { background: #FEBC2E; }
.tk-mock-dots i:nth-child(3) { background: #28C840; }
.tk-mock-url {
  font-size: 0.7rem;
  color: var(--tk-ink-3);
  padding: 0.2rem 1.4rem;
  border-radius: 6px;
  background: #FFFFFF;
}
.tk-mock-body { display: grid; grid-template-columns: 9.5rem 1fr; min-height: 300px; }
.tk-mock-side { padding: 1rem 0.8rem; border-right: 1px solid var(--tk-line); display: grid; align-content: start; gap: 0.25rem; }
.tk-mock-side p { padding: 0.45rem 0.6rem; border-radius: 8px; color: var(--tk-ink-2); }
.tk-mock-side p.is-on { background: var(--tk-bg); color: var(--tk-ink); font-weight: 600; }
.tk-mock-logo { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.6rem; font-weight: 700; color: var(--tk-ink) !important; }
.tk-mock-logo span { width: 18px; height: 18px; border-radius: 5px; background: var(--tk-logo); }
.tk-mock-main { padding: 1rem 1.1rem; }
.tk-mock-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.7rem; }
.tk-mock-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--tk-line);
}
.tk-mock-row b { display: block; font-weight: 600; }
.tk-mock-row small { display: block; color: var(--tk-ink-3); font-size: 0.72rem; }
.tk-mock-row em {
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(111, 163, 42, 0.14);
  color: #4E7A1C;
}
.tk-mock-sq { width: 10px; height: 10px; border-radius: 3px; background: var(--tk-green); }
.tk-mock-row--new em { background: var(--tk-bg); color: var(--tk-ink-2); }
.tk-mock-row--new .tk-mock-sq { animation: tk-pulso 1.6s ease-in-out infinite; }
@keyframes tk-pulso { 50% { transform: scale(1.5); opacity: 0.5; } }
@media (max-width: 960px) {
  .tk-gets { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tk-mock-body { grid-template-columns: 1fr; }
  .tk-mock-side { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tk-mock-row--new .tk-mock-sq { animation: none; }
}

/* Tiempo: un solo mensaje grande en vez de línea de tiempo */
.tk-time { text-align: center; }
.tk-time-big {
  font-size: clamp(2.8rem, 8vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.tk-time-big sup { font-size: 0.4em; vertical-align: 1.1em; color: var(--tk-green); margin-left: 0.05em; }
.tk-time-lead {
  max-width: 34rem;
  margin: 1.6rem auto 0;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--tk-ink-2);
}
.tk-time-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 820px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding-top: clamp(1.8rem, 3vw, 2.4rem);
  border-top: 1px solid var(--tk-line);
}
.tk-time-stats dt {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--tk-logo);
}
.tk-time-stats > div { text-align: center; }
.tk-time-stats dt { position: relative; display: inline-block; }
.tk-plus { position: absolute; left: 100%; top: 0.05em; font-size: 0.55em; }
.tk-time-stats dd { margin-top: 0.6rem; font-size: 0.98rem; font-weight: 600; color: var(--tk-ink-2); }
@media (max-width: 560px) {
  .tk-time-stats { gap: 0.8rem; }
  .tk-time-stats dd { font-size: 0.85rem; }
}
.tk-time-note { margin-top: 1.6rem; font-size: 0.85rem; color: var(--tk-ink-3); }

/* Fisco360: texto a la izquierda y video más chico a la derecha */
.tk-proof-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.tk-proof-head .tk-h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.tk-proof-row {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (max-width: 860px) {
  .tk-proof-row { grid-template-columns: 1fr; }
}
/* Capturas de Fisco360 en carrusel, dentro de la columna del texto */
.tk-proof-carousel { min-width: 0; }
.tk-proof-carousel .tk-track { padding-inline: 0; scroll-padding-inline: 0; }
.tk-proof-carousel .tk-card { flex: 0 0 100%; }
.tk-proof-carousel .tk-card:last-child { margin-right: 0; }
.tk-proof-carousel .tk-frame { border-radius: 16px; }
.tk-proof-carousel .tk-carousel-foot { margin-top: 1.2rem; }

/* ¿Por qué Talinka? Tabla comparativa corta */
.tk-compare { overflow-x: auto; }
.tk-compare table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.98rem;
}
.tk-compare th,
.tk-compare td {
  padding: 1.05rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--tk-line);
  vertical-align: middle;
}
.tk-compare thead th { font-size: 0.95rem; font-weight: 600; color: var(--tk-ink-2); border-bottom-color: var(--tk-ink); }
.tk-compare tbody th { text-align: left; font-weight: 600; padding-left: 0; }
.tk-compare .tk-compare-us { background: #FFFFFF; font-weight: 600; color: var(--tk-ink); }
.tk-compare thead .tk-compare-us { border-radius: 18px 18px 0 0; color: var(--tk-logo); font-size: 1.05rem; }
.tk-compare tbody tr:last-child .tk-compare-us { border-radius: 0 0 18px 18px; }
.tk-compare tbody tr:last-child td,
.tk-compare tbody tr:last-child th { border-bottom: 0; font-size: 0.92rem; }
.tk-yes,
.tk-no {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 0;
}
.tk-yes { background: var(--tk-green); }
.tk-yes::before { content: '✓'; font-size: 0.95rem; color: #FFFFFF; font-weight: 700; }
.tk-no { background: rgba(26, 26, 26, 0.06); }
.tk-no::before { content: '✕'; font-size: 0.8rem; color: var(--tk-ink-3); }
@media (max-width: 600px) {
  .tk-compare table { min-width: 0; font-size: 0.82rem; }
  .tk-compare th,
  .tk-compare td { padding: 0.8rem 0.3rem; }
  .tk-compare thead th { font-size: 0.8rem; }
  .tk-compare thead .tk-compare-us { font-size: 0.9rem; }
  .tk-yes, .tk-no { width: 24px; height: 24px; }
}

.tk-compare-note { margin-top: 1rem; font-size: 0.85rem; color: var(--tk-ink-3); }

/* FAQ corto: a la izquierda título e invitación a escribir; a la
   derecha las 5 preguntas. Menos aire que una sección normal. */
#preguntas { padding-block: clamp(4rem, 8vw, 6.5rem); }
#preguntas .tk-split { align-items: start; }
#preguntas .tk-faq-side { grid-column: 1 / span 4; }
#preguntas .tk-faq { grid-column: 6 / -1; }
.tk-faq-side .tk-sec-lead { margin: 1rem 0 1.4rem; }
@media (max-width: 960px) {
  #preguntas .tk-faq-side,
  #preguntas .tk-faq { grid-column: 1 / -1; }
}

/* Cápsula fija de WhatsApp (como la de torressystems.com), en el verde
   del logo de Talinka. En la vista previa embebida no aparece. */
.tk-whatsapp-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem 0.75rem 1rem;
  border-radius: 999px;
  background: var(--tk-logo);
  color: #F2F4EE;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 26px -10px rgba(15, 42, 36, 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}
.tk-whatsapp-fab svg { width: 22px; height: 22px; flex-shrink: 0; color: #C8F169; }
.tk-whatsapp-fab:hover { background: #17392F; transform: translateY(-2px); }
html[data-vista="hero"] .tk-whatsapp-fab { display: none !important; }
@media (max-width: 860px) {
  .tk-whatsapp-fab { right: 1.1rem; bottom: 1.1rem; padding: 0.7rem 1.1rem 0.7rem 0.9rem; }
}

/* ---------- Así es el proceso (4 pasos con imagen) ---------- */
.tk-proceso { margin-top: clamp(4rem, 8vw, 6.5rem); text-align: left; }
.tk-proceso-tit { margin: 0 0 1.6rem; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.03em; color: var(--tk-ink); text-align: center; }
.tk-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); counter-reset: none; }
.tk-paso-img { margin: 0 0 1rem; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--tk-line); }
.tk-paso-img img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; transition: transform 0.6s var(--tk-ease); }
.tk-paso:hover .tk-paso-img img { transform: scale(1.04); }
.tk-paso h3 { margin: 0 0 0.4rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); letter-spacing: -0.02em; line-height: 1.25; }
.tk-paso p { margin: 0; font-size: 0.95rem; line-height: 1.5; color: var(--tk-ink-2); }
.tk-proceso-nota { margin: 1.2rem 0 0; font-size: 0.8rem; color: var(--tk-ink-3); text-align: center; }
@media (max-width: 1000px) { .tk-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; } }
@media (max-width: 560px) { .tk-pasos { grid-template-columns: 1fr; } }
