/* Restaurant registration. Same palette, fonts and controls as /fotos/ and /admin/. */
:root {
  --rojo: #ea090b;
  --rojo-2: #cc0709;
  --crema: #fef1df;
  --papel: #fffcf5;
  --tinta: #151410;
  --gris: #675e57;
  --linea: #eadfcb;
  --display: 'Baloo 2', system-ui, sans-serif;
  --ui: 'DM Sans', system-ui, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 16px/1.5 var(--ui); }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(28px, 5vw, 36px); }
h2 { font-size: 23px; }
h2:focus { outline: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
input { color: var(--tinta); caret-color: var(--rojo-2); }
::selection { color: var(--tinta); background: #ffd23f; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; }
a { color: var(--rojo-2); font-weight: 700; }
.marca-franja { display: flex; gap: 16px; align-items: center; padding: 0 20px; background: var(--rojo); color: white; font-size: 14px; }
.marca-logo { display: inline-flex; min-height: 48px; align-items: center; color: white; font-family: var(--display); font-size: 20px; font-weight: 800; text-decoration: none; }
.marca-logo:focus-visible { outline-color: white; }
.registro-app { width: min(100%, 480px); margin: 0 auto; padding: 28px 20px 48px; }
.intro { margin-top: 8px; }
.muted { color: var(--gris); font-size: 14px; }
.formulario { display: grid; gap: 8px; margin-top: 24px; }
.formulario > label { margin-top: 12px; font-weight: 700; }
.formulario > label:first-child { margin-top: 0; }
input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #a69b88; border-radius: 10px; background: #fff; }
input[aria-invalid="true"] { border-color: var(--rojo-2); }
.enlace { display: flex; align-items: stretch; border: 1px solid #a69b88; border-radius: 10px; background: #fff; overflow: hidden; }
.enlace:focus-within { outline: 3px solid var(--tinta); outline-offset: 3px; }
.enlace__prefijo { display: flex; align-items: center; max-width: 55%; padding: 0 4px 0 12px; overflow: hidden; color: var(--gris); font-size: 14px; white-space: nowrap; text-overflow: ellipsis; background: var(--crema); }
.enlace input { min-width: 0; border: 0; border-radius: 0; }
.enlace input:focus-visible { outline: none; }
.campo-error { color: #8e1515; font-size: 14px; font-weight: 500; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 18px; border: 0; border-radius: 12px; text-decoration: none; font-weight: 700; }
.btn--rojo { color: #fff; background: var(--rojo); }
.btn--rojo:hover:not(:disabled) { background: var(--rojo-2); }
.btn--rojo:disabled { color: var(--gris); background: var(--crema); }
.formulario .btn { margin-top: 16px; }
.aviso { margin: 20px 0 0; padding: 12px 16px; border-radius: 12px; background: var(--crema); }
.aviso--error { color: #8e1515; background: #fce6e2; }
.listo { display: grid; gap: 14px; margin-top: 24px; padding: 20px; border: 1px solid var(--linea); border-radius: 14px; background: #fff; }
.listo .btn { justify-self: start; color: #fff; }
@media (max-width: 400px) {
  .registro-app { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   f13 · "La comanda" (misma piel que la tienda): papel crema, tinta negra,
   rojo solo en las acciones, un solo radio de 6px, líneas punteadas.
   ===================================================================== */
:root { --gris: #574f48; --punteo: #8f8173; --r: 6px; --texto-ui: "Outfit", var(--ui); }
body { background: var(--crema); }
::selection { background: var(--tinta); color: var(--crema); }
.marca-franja { background: transparent; color: var(--rojo-2); padding: 4px 20px 0; }
.marca-logo { color: var(--rojo-2); font-size: 18px; }
.marca-franja :focus-visible { outline-color: var(--tinta); }
h1 { letter-spacing: -0.02em; line-height: 1; }
input, select { border: 1px solid var(--tinta); border-radius: var(--r); }
input:focus-visible, select:focus-visible { outline-color: var(--rojo-2); }
.btn { border-radius: var(--r); }
.btn--suave { background: transparent; border: 1px solid var(--tinta); }
.btn--suave:hover:not(:disabled) { background: var(--papel); }
.btn--rojo:disabled { background: #e8dcc8; color: var(--gris); }
.aviso { border-radius: var(--r); border: 1px solid var(--tinta); background: var(--papel); }
.aviso--error { border-color: #8e1515; }
.muted { color: var(--gris); }
a { text-underline-offset: 3px; }
.registro-app { margin-top: 12px; padding: 20px 20px 48px; border-top: 2px solid var(--tinta); }
.enlace { border: 1px solid var(--tinta); border-radius: var(--r); }
.enlace__prefijo { background: var(--papel); border-right: 1px dashed var(--punteo); }
.listo { border: 1px solid var(--tinta); border-radius: var(--r); background: var(--papel); }
.campo-error { color: #8e1515; }

/* Logo de CúcutaCome (igual que cucutacome.com, 2026-11-14): "Cúcuta" negro, "Come" rojo,
   Baloo 2, y "Come" da un saltico al pasar el mouse o llegar con el teclado. */
.marca-logo { color: var(--tinta); font-family: 'Baloo 2', system-ui, sans-serif; font-weight: 800; letter-spacing: 0.005em; }
.marca-logo .marca-come { display: inline-block; color: #ea090b; transform-origin: 50% 80%; }
.marca-logo:hover .marca-come, .marca-logo:focus-visible .marca-come { animation: cc-logo-saltico .62s ease both; }
@keyframes cc-logo-saltico { 0%, 100% { transform: translateY(0) rotate(0); } 35% { transform: translateY(-3px) rotate(-4deg); } 70% { transform: translateY(1px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .marca-logo:hover .marca-come, .marca-logo:focus-visible .marca-come { animation: none; } }

/* =====================================================================
   f17 · arreglos de la auditoría de diseño (Gemini, 2026-11-14)
   ===================================================================== */
/* Sin la línea negra suelta arriba; el formulario arranca más arriba */
.registro-app { border-top: 0; margin-top: 0; padding-top: 16px; }
/* Enlace completo con vista previa (antes se cortaba) */
.enlace-vista { margin-top: 2px; padding: 8px 12px; border: 1px dashed var(--punteo); border-radius: var(--r); background: var(--papel); font-size: 14px; overflow-wrap: anywhere; }
.enlace-vista span { color: var(--gris); }
.enlace-vista strong { color: var(--tinta); }
/* Táctil 44 px */
.otro-acceso a { display: inline-flex; align-items: center; min-height: 44px; }

/* f19 · pantalla de acceso (shared/acceso.css) */
.registro-app { width: min(100%, 980px); padding: 16px 16px 48px; }
.registro-app .acceso h1 { margin-top: 0; }
.registro-app .campo-error { margin: 0; }
.registro-app .enlace-vista, .registro-app #slug-help { margin: 0; }
.registro-app .listo { margin-top: 8px; }
