/* =====================================================
   FOOTER ETSA – FULL WIDTH
   ===================================================== */

/* Footer raíz */
footer.footer {
  background: #000 !important;
  border-top: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Todos los wrappers del footer */
footer.footer,
footer.footer .container,
footer.footer .container-fluid,
footer.footer [role="contentinfo"],
footer.footer .pkp_structure_footer_wrapper,
footer.footer .pkp_structure_footer {
  background: #000 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

/* Si el tema mete filas de bootstrap */
footer.footer .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Tu bloque completo */
.etsa-footer-full {
  width: 100% !important;
  max-width: 100% !important;
  background: #000 !important;
  color: #e0e0e0;
  box-sizing: border-box;
}

/* Contenedor interno */
.etsa-footer-inner {
  width: 100% !important;
  max-width: 1200px; /* 👈 clave */
  margin: 0 auto !important; /* 👈 centra */
  padding: 40px 48px 20px 48px;
  box-sizing: border-box;
}

/* Grid */
.etsa-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 32px;
  align-items: start;
}

/* Columnas */
.etsa-footer-col h4 {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.etsa-footer-col p {
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.7;
  color: #d8d8d8;
}

.etsa-footer-col a {
  color: #d8d8d8 !important;
  text-decoration: none;
}

.etsa-footer-col a:hover {
  color: #ffffff !important;
  text-decoration: none;
}

/* Marca OJS/PKP */
.etsa-footer-brand {
  text-align: right;
}

.etsa-footer-brand-top {
  font-size: 18px;
  line-height: 1.35;
  color: #cfcfcf;
}

.etsa-footer-brand-main {
  margin-top: 8px;
  font-size: 44px;
  line-height: 1.1;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
}

/* Logos */
.etsa-footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 32px;
}

.etsa-footer-logos img {
  height: 36px;
  width: auto;
  display: block;
}

/* Copy */
.etsa-footer-copy {
  border-top: 1px solid #222;
  margin-top: 24px;
  padding-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #9a9a9a;
}

/* Responsive */
@media (max-width: 991px) {
  .etsa-footer-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
  }

  .etsa-footer-brand {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .etsa-footer-inner {
    padding: 32px 24px 18px 24px;
  }

  .etsa-footer-grid {
    grid-template-columns: 1fr;
  }

  .etsa-footer-brand {
    text-align: left;
  }

  .etsa-footer-brand-main {
    font-size: 34px;
  }
}