/* Tecnología · Sistema 02 · Anclaje y amarre — Figma 1131:36174 (y 6807, 101px después de "Cómo se integra").
   Intro 1131:36175 (común) + "Una decisión crítica de proyecto" 1131:36183 a 100: 1280×516, borde 1 #57A232, radio 20,
   padding 56; arriba 2 columnas de 552 (gap 64) alineadas abajo: 700 24/30 + 16/24 a 28 | 500 20/28;
   pasos 1131:36190 en y=262: 3 × 373.3×198 (gap 24, borde 1, radio 20, padding 28/24): píldora verde 26
   (700 12/15 tracking 1 blanco), título 700 18/22 a 14, texto 16/23 a 14. */

.fs-section.fs-tec-sistema-02 { padding: 101px max(16px, calc(50% - 640px)) 0; }
.fs-tec-sistema-02 .fs-tec-eyebrow__pill { width: 105px; }

.fs-tec-sistema-02 .fs-tec-decision {
  box-sizing: border-box;
  min-height: 516px;
  margin-top: 100px;
  padding: 55px;
  border: 1px solid #57a232;
  border-radius: 20px;
  background: #fff;
}
.fs-tec-sistema-02 .fs-tec-decision__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 552px));
  justify-content: space-between;
  align-items: end;
}
.fs-tec-sistema-02 .fs-tec-decision__title { font-weight: 700; font-size: 24px; line-height: 30px; color: #57a232; }
.fs-tec-sistema-02 .fs-tec-decision__text { margin-top: 28px; font-size: 16px; line-height: 24px; color: #706f6f; }
.fs-tec-sistema-02 .fs-tec-decision__lead { font-weight: 500; font-size: 20px; line-height: 28px; color: #706f6f; }

.fs-tec-sistema-02 .fs-tec-decision__pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 52px; }
.fs-tec-sistema-02 .fs-tec-paso {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  min-height: 198px;
  padding: 27px 23px 24px; /* el texto termina a 25 del borde */
  border: 1px solid #57a232;
  border-radius: 20px;
}
.fs-tec-sistema-02 .fs-tec-paso__pill {
  height: 26px;
  padding: 6px 14px 5px;
  border-radius: 100px;
  background: #57a232;
  font-weight: 700;
  font-size: 12px;
  line-height: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
}
.fs-tec-sistema-02 .fs-tec-paso__title { margin-top: 14px; font-weight: 700; font-size: 18px; line-height: 22px; color: #57a232; }
.fs-tec-sistema-02 .fs-tec-paso__text { margin-top: 14px; font-size: 16px; line-height: 23px; color: #706f6f; }

/* Mobile — Figma 1131:41860 (390×1236): padding 0/20/40, gap 20; tarjeta 350×921 (padding 20, gap 16): 700 18/22,
   15/21, 500 17/23; pasos 308 (padding 20, gap 12): píldora 29 (borde 1 verde, 700 12/17), 700 18/22 tracking -0.4, 15/21. */
@media screen and (max-width: 749px) {
  .fs-section.fs-tec-sistema-02 { padding: 0 20px 40px; }
  .fs-tec-sistema-02 .fs-tec-eyebrow__pill { width: auto; }
  .fs-tec-sistema-02 .fs-tec-decision { min-height: 0; margin-top: 20px; padding: 20px; }
  .fs-tec-sistema-02 .fs-tec-decision__top { display: flex; flex-direction: column; gap: 16px; }
  .fs-tec-sistema-02 .fs-tec-decision__title { font-size: 18px; line-height: 22px; letter-spacing: -0.4px; }
  .fs-tec-sistema-02 .fs-tec-decision__text { margin-top: 16px; font-size: 15px; line-height: 21px; }
  .fs-tec-sistema-02 .fs-tec-decision__lead { font-size: 17px; line-height: 23px; }
  .fs-tec-sistema-02 .fs-tec-decision__pasos { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
  .fs-tec-sistema-02 .fs-tec-paso { min-height: 0; padding: 20px; }
  .fs-tec-sistema-02 .fs-tec-paso__pill { height: 29px; padding: 5px 12px; border: 1px solid #57a232; line-height: 17px; letter-spacing: 0; }
  .fs-tec-sistema-02 .fs-tec-paso__title { margin-top: 12px; letter-spacing: -0.4px; }
  .fs-tec-sistema-02 .fs-tec-paso__text { margin-top: 12px; font-size: 15px; line-height: 21px; }
}

/* Animación (motion.css + assets/js/tec/anim.js): el panel de la decisión entra con zoom y después los pasos 1–3,
   también con zoom y escalonados. */
.fs-tec-paso:nth-child(2) { --tec-d: 1; }
.fs-tec-paso:nth-child(3) { --tec-d: 2; }
html.fs-anim .fs-tec-decision.fs-reveal .fs-tec-paso {
  opacity: 0;
  scale: 0.94;
  transition: opacity 0.8s var(--fs-ease), scale 0.9s var(--fs-ease);
  transition-delay: calc(var(--tec-d, 0) * 110ms + 0.3s);
}
html.fs-anim .fs-tec-decision.in .fs-tec-paso { opacity: 1; scale: none; }
