/* Pie de página global de AgroWin® (plantillas/footer-agrowin/footer.html).
   Independiente de la hoja de cada landing: define sus colores y su contenedor,
   y neutraliza estilos heredados (por ejemplo Bootstrap) dentro de .awf.
   La fuente Open Sans (400, 500, 600 y 700) se carga desde el <head> de la página (ver footer.html). */

.awf {
  --awf-green: #83CC5F; --awf-green-hover: #6AB23B; --awf-pale: #CFE2C7; --awf-deep: #1A630F; --awf-darkest: #09510D;
  --awf-navy: #1B1E35; --awf-text: #4F505C; --awf-line: #E4E8F2; --awf-radius: 16px;
  --awf-shadow: 0 1px 2px rgba(27,30,53,.06), 0 1px 3px rgba(27,30,53,.08);
  background: linear-gradient(180deg, #F3F8EF 0%, #fff 100%); border-top: 4px solid var(--awf-green);
  font-family: 'Open Sans', system-ui, sans-serif; font-size: 14.5px; line-height: 1.5; color: var(--awf-text); text-align: left;
}
.awf *, .awf *::before, .awf *::after { box-sizing: border-box; }
.awf h4, .awf h5, .awf p { margin: 0; padding: 0; }
.awf a { text-decoration: none; }
.awf a:focus-visible { outline: 2px solid var(--awf-deep); outline-offset: 2px; }
.awf img { max-width: 100%; border: 0; }

.awf__wrap { width: 90%; max-width: 1400px; margin: 0 auto; }
.awf__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 44px; }

/* Marca */
.awf .awf__logo { display: inline-block; padding: 12px 18px; border-radius: var(--awf-radius); background: var(--awf-green); box-shadow: var(--awf-shadow); }
.awf .awf__logo img { height: 36px; width: auto; display: block; }
.awf__brand p { margin-top: 16px; max-width: 320px; font-size: 14.5px; line-height: 1.6; }
.awf__social { display: flex; gap: 10px; margin-top: 22px; }
.awf .awf__social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
  background: #fff; border: 1px solid var(--awf-pale); color: var(--awf-deep); transition: background .2s, color .2s, transform .2s; }
.awf .awf__social a:hover { background: var(--awf-deep); border-color: var(--awf-deep); color: #fff; transform: translateY(-2px); }
.awf__social svg { width: 18px; height: 18px; fill: currentColor; }

/* Columnas de enlaces */
.awf h4 { font-family: inherit; font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; color: var(--awf-deep); margin-bottom: 14px; }
.awf .awf__h4b { margin-top: 26px; }
.awf .awf__col a { display: block; width: fit-content; padding: 4px 0; color: var(--awf-navy); font-weight: 600; transition: color .15s; }
.awf .awf__col a:hover { color: var(--awf-deep); text-decoration: underline; text-underline-offset: 3px; }
.awf__org { font-weight: 700; color: var(--awf-navy); margin-bottom: 8px; }
.awf .awf__contact a { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-weight: 500; }
.awf__contact svg, .awf__cities h5 svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--awf-green-hover); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Ciudades */
.awf__cities { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; padding: 0 0 44px; font-size: 13.5px; line-height: 1.7; }
.awf__cities > div { background: #fff; border: 1px solid var(--awf-line); border-radius: var(--awf-radius); padding: 18px 20px; box-shadow: var(--awf-shadow); }
.awf__cities h5 { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-family: inherit; font-weight: 700; font-size: 14.5px; line-height: 1.4; color: var(--awf-navy); }

/* Barra final */
.awf__bar { background: var(--awf-darkest); color: rgba(255,255,255,.82); font-size: 13px; }
.awf__bar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.awf .awf__bar a { color: #fff; font-weight: 600; }
.awf .awf__bar a:hover { text-decoration: underline; }

@media (max-width: 1000px) {
  .awf__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .awf__brand { grid-column: 1 / -1; }
  .awf__brand p { max-width: 520px; }
  .awf__cities { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .awf__top { grid-template-columns: 1fr; padding: 44px 0 32px; }
  .awf__bar-in { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .awf * { transition: none !important; } }
