/* Tecnología — Figma Home 1131:31801, franja 06 (1131:32310, y 1894–2440). 100px después de Proceso. */

.fs-tecno { padding: 100px 16px 0; }
.fs-tecno__inner { display: flex; justify-content: center; gap: 20px; padding-left: 1px; } /* x 129–1312 */

/* Foto 522×546, radio 20 (FILL = cover). ISE-045: acompaña el alto de la columna de texto (logo → último pilar), que
   sin tracking negativo en el título quedó más alta que los 546 de Figma; 546 es el mínimo. */
.fs-tecno__foto { position: relative; flex: 0 0 522px; min-height: 546px; margin: 0; }
.fs-tecno__foto img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }

/* Columna derecha desde x=671 hasta 1312 (641) */
.fs-tecno__col { flex: 0 0 641px; padding-top: 4px; } /* logo en y=1898 */
.fs-tecno__logo { width: 159px; height: 46px; margin: 0; }
.fs-tecno__logo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Título 38/40, tracking -2.28, caja 626; gris + final verde bold; y=1954 */
.fs-tecno .fs-tecno__title {
  max-width: 626px;
  margin: 10px 0 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 38px;
  line-height: 40px;
  letter-spacing: 0 /* ISE-045: titulares sin tracking negativo, pedido de la clienta */;
  color: #706f6f;
}
.fs-tecno__title strong { font-weight: 700; color: #57a232; }

/* Bajada 16/20, caja 622, y=2084 */
.fs-tecno .fs-tecno__intro { max-width: 622px; margin-top: 10px; }
.fs-tecno__intro p {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #706f6f;
}

/* Características 2×2 desde y=2174: columnas 325 (x 671) y 316 (x 996), filas de 128 separadas 10.
   Línea vertical 2×128 #57A232 con puntas redondeadas a la izquierda de cada una. */
.fs-tecno .fs-tecno__features {
  display: grid;
  grid-template-columns: 325px 316px;
  grid-auto-rows: 128px;
  row-gap: 10px;
  margin-top: 10px;
}
.fs-tecno__feature { position: relative; box-sizing: border-box; }
.fs-tecno__feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 128px;
  border-radius: 1px;
  background: #57a232;
}
.fs-tecno .fs-tecno__feature-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 700;
  font-size: 20px;
  line-height: 21.84px;
  letter-spacing: -0.42px;
  color: #57a232;
}
.fs-tecno .fs-tecno__feature-text {
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #706f6f;
}
/* Desplazamientos de cada una tal como están en Figma (no son parejos):
   título (padding) y texto (margen, ancho) */
.fs-tecno .fs-tecno__features > .fs-tecno__feature:nth-child(1) { padding: 8.58px 0 0 12px; }
.fs-tecno .fs-tecno__features > .fs-tecno__feature:nth-child(2) { padding: 8.08px 0 0 12px; }
.fs-tecno .fs-tecno__features > .fs-tecno__feature:nth-child(3) { padding: 3.08px 0 0 16px; }
.fs-tecno .fs-tecno__features > .fs-tecno__feature:nth-child(4) { padding: 8.58px 0 0 12px; }
.fs-tecno .fs-tecno__feature:nth-child(1) .fs-tecno__feature-text { margin: 10.58px 0 0; max-width: 289px; }
.fs-tecno .fs-tecno__feature:nth-child(2) .fs-tecno__feature-text { margin: 8.08px 0 0; max-width: 304px; }
.fs-tecno .fs-tecno__feature:nth-child(3) .fs-tecno__feature-text { margin: 12.08px 0 0; max-width: 301px; }
.fs-tecno .fs-tecno__feature:nth-child(4) .fs-tecno__feature-text { margin: 6.58px 0 0; max-width: 304px; }

/* Mobile — Figma Home Mobile 1131:29637 (390×1238): padding 0/20/40, todo apilado con gap 20;
   foto 350×366 radio 20, logo 110×32; pilares sin línea, gap 20 (título 700 18/22, texto 15/21 a 8px). */
@media screen and (max-width: 749px) {
  .fs-tecno { padding: 0 20px 40px; }
  .fs-tecno__inner { flex-direction: column; gap: 20px; padding-left: 0; }
  .fs-tecno__foto { flex: none; min-height: 0; height: 366px; }
  .fs-tecno__col { flex: none; padding-top: 0; }
  .fs-tecno__logo { width: 110px; height: 32px; }
  .fs-tecno .fs-tecno__title { max-width: none; margin-top: 20px; font-size: 26px; line-height: 30px; letter-spacing: 0 /* ISE-045: titulares sin tracking negativo, pedido de la clienta */; }
  .fs-tecno .fs-tecno__intro { max-width: none; margin-top: 20px; }
  .fs-tecno__intro p { font-size: 15px; line-height: 21px; }
  .fs-tecno .fs-tecno__features { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
  .fs-tecno .fs-tecno__features > .fs-tecno__feature:nth-child(n) { padding: 0; }
  .fs-tecno__feature::before { content: none; }
  .fs-tecno .fs-tecno__feature-title { font-size: 18px; line-height: 22px; }
  .fs-tecno .fs-tecno__feature:nth-child(n) .fs-tecno__feature-text { max-width: none; margin: 8px 0 0; font-size: 15px; line-height: 21px; }
}

/* ---------- Animación (capa común en motion.css; prototipo aprobado 2026-10-15) ----------
   Foto desde la izquierda; logo, título y bajada desde la derecha (escalonados); pilares hacia arriba, uno tras otro,
   y en desktop su línea verde crece de arriba abajo. */
html.fs-anim .fs-tecno__foto.fs-reveal:not(.in) { translate: -36px 0; }
html.fs-anim .fs-tecno__logo.fs-reveal:not(.in),
html.fs-anim .fs-tecno__title.fs-reveal:not(.in),
html.fs-anim .fs-tecno__intro > .fs-reveal:not(.in) { translate: 36px 0; }
html.fs-anim .fs-tecno__intro > .fs-reveal { transition-delay: calc((var(--fs-i, 0) + 2) * 110ms); }

@media screen and (min-width: 750px) {
  .fs-tecno__feature:nth-child(2) { --fs-pilar: 1; }
  .fs-tecno__feature:nth-child(3) { --fs-pilar: 2; }
  .fs-tecno__feature:nth-child(4) { --fs-pilar: 3; }
  html.fs-anim .fs-tecno__feature > .fs-reveal { transition-delay: calc((var(--fs-pilar, 0) + var(--fs-i, 0)) * 110ms); }
  .fs-tecno__feature::before { transform-origin: top; transition: scale .9s var(--fs-ease) calc(var(--fs-pilar, 0) * 110ms + .2s); }
  html.fs-anim .fs-tecno__feature:has(.fs-reveal):not(:has(.fs-reveal.in))::before { scale: 1 0; }
}
