/* ============================================================
   Hotel Roseliere — Pantalla de error
   Se superpone al contenedor del visor cuando una vista no se
   puede cargar. Comparte fondo y marca con el loader.
   ============================================================ */

.hr-error {
  position: absolute;
  inset: 0;
  z-index: 60;                     /* por encima del loader */
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 42%, #4a3059 0%, #2a1c3f 46%, #150f21 100%);
  font-family: var(--font-sans);
  animation: splash-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hr-error-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px;
  max-width: min(440px, 88vw);
  text-align: center;
}

.hr-error .splash-logo {
  max-width: 104px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(201, 162, 94, 0.5),
    0 10px 30px rgba(0, 0, 0, 0.5);
  animation: none;
}

.hr-error .splash-name b { font-size: 1.05rem; }

.hr-error-icon {
  width: 38px;
  height: 38px;
  margin-bottom: -4px;
  stroke: var(--rose);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hr-error-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
}

.hr-error-msg {
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
}

.hr-error-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 4px;
  padding: 12px 26px;
  border: 1px solid rgba(201, 162, 94, 0.55);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hr-error-btn:hover { background: var(--gold); color: #201530; }
.hr-error-btn:active { transform: scale(0.97); }

.hr-error-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hr-error-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 600px) {
  /* El botón de WhatsApp va fijo sobre el borde derecho y por encima de
     esta pantalla: se le reserva el hueco para que no tape el texto. */
  .hr-error { padding-right: 76px; padding-left: 14px; }

  .hr-error-inner { gap: 14px; padding: 24px 0; }
  .hr-error .splash-logo { max-width: 86px; }
  .hr-error-title { font-size: 1.02rem; }
  .hr-error-msg { font-size: 0.81rem; }

  /* Objetivo táctil mínimo cómodo */
  .hr-error-btn { min-height: 46px; padding: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hr-error { animation: none; }
  .hr-error-btn { transition: none; }
}
