/* Hostgreen · Aviso de cookies con el sistema 2027 (Sora/Inter y verdes de la marca): una vez, Aceptar y Rechazar con el mismo peso. */
.hg-cookies {
  --hk-900:#071b10; --hk-700:#1f5c3a; --hk-400:#76b22e; --hk-300:#9cdb4f; --hk-100:#f0f8e6; --hk-50:#f7fbf3;
  --hk-tinta:#0e1b13; --hk-texto:#2a3a30; --hk-suave:#55665b; --hk-linea:#e2e9e3;
  --hk-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --hk-display:"Sora",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-family: var(--hk-sans); box-sizing: border-box;
}
.hg-cookies * { box-sizing: border-box; }
.hg-cookies {
  position: fixed; left: 24px; bottom: 24px; z-index: 1080; width: min(460px, calc(100vw - 48px));
  background: #fff; color: var(--hk-texto); border-radius: 20px; border: 1px solid var(--hk-linea);
  box-shadow: 0 1px 2px rgba(7,27,16,.06), 0 30px 70px -24px rgba(4,17,10,.45);
  animation: hg-cookies-entra .35s cubic-bezier(.2,.7,.1,1);
}
.hg-cookies[hidden] { display: none; }
@keyframes hg-cookies-entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hg-cookies-cuerpo { padding: 22px 22px 20px; position: relative; }
.hg-cookies-cuerpo:before { content: ""; position: absolute; left: 22px; top: 0; width: 56px; height: 4px; border-radius: 0 0 4px 4px; background: var(--hk-400); }
.hg-cookies-titulo { margin: 0 0 8px !important; font: 700 17px/1.3 var(--hk-display); color: var(--hk-tinta); }
.hg-cookies-texto { margin: 0 !important; font-size: 14px; line-height: 1.6; color: var(--hk-texto); }
.hg-cookies-texto a { color: var(--hk-700) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hg-cookies-botones { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.hg-cookies-btn {
  height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer; font: 600 14px/1 var(--hk-sans); white-space: nowrap;
  border: 2px solid var(--hk-900); transition: background .2s, color .2s, transform .2s;
}
.hg-cookies-btn:hover { transform: translateY(-1px); }
.hg-cookies-btn:focus-visible { outline: 3px solid var(--hk-400); outline-offset: 2px; }
/* Aceptar y Rechazar: mismo tamaño y mismo peso visual (verde y oscuro) */
.hg-cookies-aceptar { background: var(--hk-400); border-color: var(--hk-400); color: var(--hk-900); }
.hg-cookies-aceptar:hover { background: var(--hk-300); border-color: var(--hk-300); }
.hg-cookies-rechazar { background: var(--hk-900); border-color: var(--hk-900); color: #fff; }
.hg-cookies-rechazar:hover { background: var(--hk-700); border-color: var(--hk-700); }
@media (max-width: 767px) {
  .hg-cookies { left: 0; right: 0; bottom: 0; width: 100%; border-radius: 20px 20px 0 0; border-bottom: 0; }
  .hg-cookies-cuerpo { padding: 20px 16px calc(16px + env(safe-area-inset-bottom)); }
  /* Mientras se ve el aviso en el móvil, el botón de contacto se aparta (vuelve al elegir) */
  body.hg-cookies-visible .hg-contacto { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hg-cookies { animation: none; } .hg-cookies-btn { transition: none; } }
