/* ==========================================================
   FactorPyme Forward — estilos propios de esta página.
   Base: styles.css + componentes.css + base-micro.css (mismos
   componentes que los demás micrositios). Fotos: _originales/
   (enviadas por Christian) optimizadas en img/.
   ========================================================== */
.fw-hero-bg {
  background:
    linear-gradient(90deg, #0F1E2B 0%, rgba(15,30,43,.95) 40%, rgba(15,30,43,.55) 72%, rgba(15,30,43,.3) 100%),
    linear-gradient(0deg, #0F1E2B 0%, rgba(15,30,43,0) 30%),
    url(img/cosecha-soja.jpg) right center / cover no-repeat;
}
.av-hero .eyebrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.av-hero h1 { max-width: 860px; }

/* Franja institucional con logos */
.fw-inst { background: #fff; border-bottom: 1px solid var(--line); }
.fw-inst-in { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; }
.fw-inst p { font-size: 15px; color: var(--text-soft); max-width: 460px; }
.fw-inst b { color: var(--text); }
.fw-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.fw-logo-confirma { height: 46px; width: auto; }
.fw-logo-bcr { height: 54px; width: auto; }

/* Cómo funciona: 5 pasos */
.fw-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.fw-flow li { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.fw-flow li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -11px; width: 9px; height: 9px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: rotate(45deg); z-index: 1; }
.fw-n { position: absolute; top: 14px; right: 16px; font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--line-strong); }
.fw-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #14202B; color: #F28C45; margin-bottom: 6px; }
.fw-ic .ic { width: 22px; height: 22px; }
.fw-flow h3 { font-size: 17px; font-weight: 900; line-height: 1.25; }
.fw-flow p { font-size: 14px; color: var(--text-soft); }

/* Secciones con foto de fondo */
.fw-photo-sec { position: relative; overflow: hidden; isolation: isolate; }
.fw-sec-img { position: absolute; inset: 0; z-index: -1; }
.fw-img-aerea { background: linear-gradient(90deg, rgba(15,30,43,.97) 0%, rgba(15,30,43,.9) 45%, rgba(15,30,43,.75) 100%), url(img/cosecha-aerea.jpg) center / cover no-repeat; }
.fw-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: rgba(242,140,69,.12); border: 1px solid rgba(242,140,69,.35); }
.fw-note .ic { color: #F28C45; margin-top: 2px; }
.fw-note p { font-size: 14px; color: var(--text-soft); }

/* Capas de respaldo */
.fw-layers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fw-layer { display: grid; gap: 12px; align-content: start; padding: 24px 22px; background: var(--card); border-left: 1px solid var(--line); position: relative; }
.fw-layer:first-child { border-left: 0; }
.fw-layer:nth-child(1) { background: #FFFFFF; }
.fw-layer:nth-child(2) { background: #FDF8F1; }
.fw-layer:nth-child(3) { background: #FBF1E4; }
.fw-layer:nth-child(4) { background: #FAE8D4; }
.fw-layer .b-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: #14202B; color: #F28C45; }
.fw-layer .b-ic .ic { width: 20px; height: 20px; }
.fw-layer h3 { font-size: 17px; font-weight: 900; margin-bottom: 4px; }
.fw-layer p { font-size: 14px; color: var(--text-soft); }

/* Ecosistema */
.fw-roles .cf-benefit .b-ic { background: rgba(242,140,69,.15); }
.fw-fp { border-color: rgba(242,140,69,.55) !important; }

/* Condiciones: foto vertical */
.fw-photo-card { min-height: 440px; border-radius: 22px; box-shadow: var(--shadow-lg); background: url(img/mano-soja.jpg) 62% center / cover no-repeat; }

/* Cierre */
.fw-cierre-img { background: linear-gradient(90deg, #14202B 0%, rgba(20,32,43,.35) 45%, rgba(20,32,43,.15) 100%), url(img/tractor.jpg) center / cover no-repeat; }

@media (max-width: 1080px) {
  .fw-flow { grid-template-columns: repeat(3, 1fr); }
  .fw-flow li:nth-child(3)::after { display: none; }
  .fw-layers { grid-template-columns: 1fr 1fr; }
  .fw-layer:nth-child(3) { border-left: 0; }
  .fw-layer:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .fw-hero-bg {
    background:
      linear-gradient(180deg, rgba(15,30,43,.75) 0%, rgba(15,30,43,.93) 45%, #0F1E2B 75%),
      url(img/cosecha-soja.jpg) 60% 30% / cover no-repeat;
  }
  .fw-photo-card { min-height: 280px; }
}
@media (max-width: 640px) {
  .fw-inst-in { justify-content: center; text-align: center; }
  .fw-logos { justify-content: center; gap: 24px; }
  .fw-logo-confirma { height: 36px; }
  .fw-logo-bcr { height: 44px; }
  .fw-flow { grid-template-columns: 1fr; }
  .fw-flow li::after { display: none; }
  .fw-layers { grid-template-columns: 1fr; }
  .fw-layer { border-left: 0; border-top: 1px solid var(--line); }
  .fw-layer:first-child { border-top: 0; }
}
