/* ============================================================
   WEBËË · AppGateModal — estilos
   ------------------------------------------------------------
   Mismo lenguaje visual que assets/identity/auth-modal.css
   (mismo overlay, mismas variables de marca), pero es un
   componente aparte: no tiene nada que ver con login/registro.
   Reemplaza las páginas individuales por servicio que existían
   antes (app.html?service=...) por un solo modal disponible en
   toda la web.
   ============================================================ */

.app-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 17, 22, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  z-index: 999;
  padding: 40px 16px;
}

.app-gate-overlay.open {
  display: flex;
}

.app-gate-dialog {
  background: #fff;
  border-radius: var(--r-lg, 20px);
  box-shadow: var(--shadow-md, 0 20px 50px rgba(0, 0, 0, 0.25));
  width: 100%;
  max-width: 420px;
  padding: 34px 28px;
  position: relative;
  text-align: center;
}

.app-gate-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted, #6b7280);
  padding: 4px;
  line-height: 1;
}

.app-gate-close:hover {
  color: var(--ink, #0e1116);
}

.app-gate-close svg {
  width: 18px;
  height: 18px;
  display: block;
}

.app-gate-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: block;
}

.app-gate-title {
  font-size: 19px;
  margin-bottom: 10px;
  padding: 0 8px;
}

.app-gate-msg {
  color: var(--muted, #5b6472);
  font-size: 14.5px;
  margin-bottom: 24px;
  padding: 0 4px;
}

.app-gate-open {
  width: 100%;
  margin-bottom: 18px;
}

.app-gate-badges {
  justify-content: center;
}

@media (max-width: 480px) {
  .app-gate-dialog {
    padding: 26px 20px;
  }
}
