.access-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(8, 39, 77, 0.96), rgba(10, 73, 112, 0.94)),
    url("1737578830-65300012-2344x1172-patron-tu-plan-medic.png") center/cover;
  color: #ffffff;
}

.access-gate[hidden] {
  display: none;
}

.access-gate__panel {
  width: min(100%, 430px);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #082c58;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.access-gate__brand {
  width: 150px;
  height: auto;
  display: block;
  margin-bottom: 22px;
}

.access-gate__eyebrow {
  margin: 0 0 8px;
  color: #0b68b7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-gate__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  line-height: 1.05;
}

.access-gate__copy {
  margin: 14px 0 22px;
  color: #34536f;
  font-size: 1rem;
  line-height: 1.55;
}

.access-gate__form {
  display: grid;
  gap: 12px;
}

.access-gate__input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #b9d2e7;
  border-radius: 6px;
  color: #082c58;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  outline: none;
}

.access-gate__input:focus {
  border-color: #0b68b7;
  box-shadow: 0 0 0 4px rgba(11, 104, 183, 0.14);
}

.access-gate__button {
  min-height: 52px;
  border: 0;
  border-radius: 6px;
  background: #d45a4c;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(212, 90, 76, 0.24);
}

.access-gate__button:hover,
.access-gate__button:focus-visible {
  background: #bd4c40;
}

.access-gate__error {
  min-height: 20px;
  margin: 2px 0 0;
  color: #a4241b;
  font-size: 0.92rem;
  font-weight: 700;
}

html.access-locked,
html.access-locked body {
  overflow: hidden;
}

html.access-locked body > *:not(.access-gate) {
  visibility: hidden;
}
