/* Ajustes propios sobre el HTML estático exportado de Wix */

/* Mapa de Google */
.wixui-google-map { overflow: hidden; }
.e2e-map {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(.9) contrast(.9);
}

/* Formulario: campo trampa para bots (no visible) */
.e2e-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mensaje de estado del formulario (reutiliza el texto de Wix) */
#comp-kvjhusl31.e2e-show { visibility: visible !important; }
#comp-kvjhusl31.e2e-error span { color: #c0392b !important; }
form[data-e2e-form] button[aria-busy="true"] { opacity: .6; cursor: progress; }

/* Menú móvil: bloquear scroll del fondo cuando está abierto */
body.siteScrollingBlockedIOSFix { overflow: hidden; }

/* Franja de la subvención (cheques de innovación): fila propia entre el contenido y el pie */
#masterPage.mesh-layout { grid-template-rows: max-content max-content min-content max-content max-content; }
#masterPage.mesh-layout #cheques-innovacion { grid-area: 4/1/5/2; }
#masterPage.mesh-layout #SITE_FOOTER, #masterPage.mesh-layout #SITE_FOOTER_WRAPPER { grid-area: 5/1/6/2; }

/* Aviso de cookies */
.e2e-cookies {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2147483647;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
  font: 14px/1.5 avenir-lt-w01_35-light1475496, Helvetica, Arial, sans-serif;
}
.e2e-cookies p { flex: 1 1 300px; margin: 0; }
.e2e-cookies a { color: inherit; text-decoration: underline; }
.e2e-cookies-btns { display: flex; gap: 10px; }
.e2e-cookies button {
  padding: 8px 18px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font: inherit;
  cursor: pointer;
}
.e2e-cookies button.e2e-cookies-ok { background: #000; color: #fff; }
