/* ¿Por qué el sistema flotante sí importa? — Figma Home 1131:31801, franja 11 (1131:32569).
   Fondo #57A232 de 709px (y 5857.08–6566.08), 100px después. En Figma la caja es de 1508px con radio 20 y
   desborda la página: solo se ve como franja recta. */

.fs-porque {
  box-sizing: border-box;
  height: 709px;
  margin-top: 100px;
  padding-top: 67.09px; /* foto en y=5924.17 */
  background: #57a232;
  color: #fff;
}
.fs-porque__inner { display: flex; align-items: flex-start; margin-left: max(16px, calc(50% - 532px)); } /* columna en x=188 */
.fs-porque__col { flex: 0 0 465px; min-width: 0; padding-top: 11px; } /* el título (492) desborda la columna como en Figma */ /* título en y=5935.17 */

/* Título 38/40, tracking -2.28, caja 492, blanco; "el sistema flotante" bold */
.fs-porque .fs-porque__title {
  width: 492px;
  margin: 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: #fff;
}
.fs-porque__title strong { font-weight: 700; }

/* Bajada 16/20, caja 465, 20px después */
.fs-porque .fs-porque__intro { margin-top: 20px; }
.fs-porque__intro p {
  margin: 0;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
}

/* Lista con tic (componente "Tic · lista (20 px)"): tic en x=189, texto en x=221.14, ítems separados 20px */
.fs-porque .fs-porque__lista { margin: 20px 0 0; padding: 0; list-style: none; }
.fs-porque__lista li {
  position: relative;
  padding-left: 33.14px;
  font-family: var(--wp--preset--font-family--montserrat);
  font-weight: 400;
  font-size: 16px;
  line-height: 21.28px;
}
.fs-porque__lista li + li { margin-top: 20px; }
.fs-porque__lista li:first-child { max-width: 431.1px; line-height: 20px; } /* así en Figma (los demás 21.28) */
.fs-porque__lista li:nth-child(2) { max-width: 447.07px; }
.fs-porque__lista li:nth-child(3) { max-width: 445.84px; }
.fs-porque__lista li:nth-child(4) { max-width: 447.07px; } /* anchos = 33.14 (tic) + caja de texto de Figma */
.fs-porque__lista strong { font-weight: 700; }

/* Tic reutilizable: máscara con el color del texto (blanco acá; verde sobre fondos claros) */
.fs-tic-list li::before {
  content: '';
  position: absolute;
  top: 0.88px;
  left: 1px;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url('../../icons/tic.svg') center / 20px 20px no-repeat;
  mask: url('../../icons/tic.svg') center / 20px 20px no-repeat;
}

/* Foto 526.885×574.423, radio 20, en x=725.12 */
.fs-porque .fs-porque__foto { flex: 0 0 526.885px; height: 574.423px; margin: 0 0 0 72.12px; }
.fs-porque__foto img { display: block; width: 100%; height: 100%; border-radius: 20px; object-fit: cover; }

/* Mobile — Figma Home Mobile 1131:29785 (390×1092): verde a sangre, padding 40/20, todo apilado con gap 20;
   título 26/30 a la izquierda; lista con tic 20 + gap 12, 15/21, ítems separados 16; foto 350×382 radio 20. */
@media screen and (max-width: 749px) {
  .fs-porque { height: auto; margin-top: 0; padding: 40px 20px; }
  .fs-porque__inner { flex-direction: column; gap: 20px; margin-left: 0; }
  .fs-porque__col { flex: none; padding-top: 0; }
  .fs-porque .fs-porque__title { width: auto; font-size: 26px; line-height: 30px; letter-spacing: 0 /* ISE-045: titulares sin tracking negativo, pedido de la clienta */; }
  .fs-porque__intro p { font-size: 15px; line-height: 21px; }
  .fs-porque__lista li { padding-left: 32px; font-size: 15px; line-height: 21px; }
  .fs-porque__lista li + li { margin-top: 16px; }
  .fs-porque__lista li:nth-child(n) { max-width: none; line-height: 21px; }
  .fs-porque .fs-porque__lista li::before { top: 0; left: 0; }
  .fs-porque .fs-porque__foto { flex: none; width: 100%; height: 382px; margin: 0; }
}

/* ---------- Animación (capa común en motion.css; prototipo aprobado 2026-10-15) ----------
   Columna de texto desde la izquierda (título → bajada → cada ítem de la lista, escalonados 110 ms);
   foto desde la derecha. La lista no se mueve como bloque: entran sus ítems. */
html.fs-anim .fs-porque__title.fs-reveal:not(.in),
html.fs-anim .fs-porque__intro > .fs-reveal:not(.in) { translate: -36px 0; }
html.fs-anim .fs-porque__intro > .fs-reveal { transition-delay: calc((var(--fs-i, 0) + 1) * 110ms); }
html.fs-anim .fs-porque__foto.fs-reveal:not(.in) { translate: 36px 0; }
html.fs-anim .fs-porque__lista.fs-reveal { opacity: 1; translate: none; }
html.fs-anim .fs-porque__lista.fs-reveal > li {
  opacity: 0;
  translate: -36px 0;
  transition: opacity .8s var(--fs-ease), translate .9s var(--fs-ease);
  transition-delay: calc((var(--fs-li, 0) + 3) * 110ms);
}
html.fs-anim .fs-porque__lista.fs-reveal.in > li { opacity: 1; translate: none; }
.fs-porque__lista > li:nth-child(2) { --fs-li: 1; }
.fs-porque__lista > li:nth-child(3) { --fs-li: 2; }
.fs-porque__lista > li:nth-child(4) { --fs-li: 3; }
