/* Aviso de analítica: barra compacta que nunca tapa los botones de contacto.
   Escritorio: franja inferior centrada (texto a la izquierda, decisión a la derecha).
   Móvil: franja superior debajo del encabezado; abajo quedan libres los botones
   del hero, la barra de contacto móvil y el botón «Abrir WhatsApp».
   Cada página puede ajustar la altura con --analytics-consent-top. */
.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 10000;
  right: 0;
  bottom: 16px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px 24px;
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
  padding: 10px 10px 10px 20px;
  border: 1px solid #c9d5ce;
  border-radius: 10px;
  background: #fff;
  color: #153a32;
  box-shadow: 0 8px 28px #153a3224;
  font: 400 14px/1.45 'DM Sans', Arial, sans-serif;
}
.analytics-consent p { flex: 1 1 auto; min-width: 0; margin: 0; color: inherit; font: inherit; }
.analytics-consent__actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-consent button, .analytics-preferences {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.analytics-consent button { flex: 1 1 0; min-width: 9.5em; font-weight: 600; white-space: nowrap; }
.analytics-consent button:hover { background: #eef5f1; }
.analytics-consent button:focus-visible, .analytics-preferences:focus-visible {
  outline: 3px solid #b48345;
  outline-offset: 3px;
}
.analytics-preferences { margin-top: 8px; }
@media (max-width: 767px) {
  .analytics-consent {
    top: var(--analytics-consent-top, 8px);
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: calc(100% - 16px);
    padding: 10px 10px 10px 12px;
    font-size: 13px;
    line-height: 1.38;
  }
  .analytics-consent button { min-width: 0; padding-inline: 8px; }
}
