/* ============================================================
   HEALTHY RESONANCE — MURO DE BIENVENIDA
   Canónico: idéntico byte a byte en las propiedades (md5).

   Es un umbral, no una interfaz: verde noche, la marca, una línea
   y tres puertas. Va en verde en los dos temas — no sigue al
   switcher, porque aparece antes de que el visitante haya elegido
   nada y tiene que leerse igual en cualquier caso.
   ============================================================ */

.hr-gate-abierto { overflow: hidden; }

.hr-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483000;          /* por encima de navbars fijas y drawers */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(65% 60% at 50% 38%, #24402F, #16291E 58%, #101C15);
  animation: hr-gate-entra 420ms cubic-bezier(0.25,0.46,0.45,0.94) both;
}

@keyframes hr-gate-entra {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.hr-gate__caja {
  width: min(560px, 100%);
  text-align: center;
  animation: hr-gate-sube 520ms cubic-bezier(0.25,0.46,0.45,0.94) 90ms both;
}

@keyframes hr-gate-sube {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-gate, .hr-gate__caja { animation: none; }
}

.hr-gate__marca { margin-bottom: 26px; }
.hr-gate__marca svg { display: block; margin: 0 auto; }

.hr-gate__invita {
  margin: 0 0 30px;
  font-family: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
  font-weight: 500;
  font-size: clamp(.86rem, 2.4vw, 1rem);
  line-height: 1.7;
  letter-spacing: .01em;
  color: #D8D4C6;
  text-wrap: balance;
}

.hr-gate__opciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hr-gate__opt {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .02em;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  color: #E8E4D8;
  background: rgba(232,228,216,.07);
  border: 1px solid rgba(232,228,216,.26);
  transition: background-color 200ms cubic-bezier(0.25,0.46,0.45,0.94),
              border-color 200ms cubic-bezier(0.25,0.46,0.45,0.94),
              color 200ms cubic-bezier(0.25,0.46,0.45,0.94);
}

@media (hover: hover) and (pointer: fine) {
  .hr-gate__opt:hover {
    background: rgba(221,170,60,.16);
    border-color: rgba(221,170,60,.55);
    color: #F3E1B3;
  }
}

.hr-gate__opt:active { background: rgba(221,170,60,.24); }

.hr-gate__opt:focus-visible {
  outline: 2px solid #DDAA3C;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .hr-gate__opt { width: 100%; }
}
