/* Mande — base visual (estilo claro, tipo Apple; pedido por Jander el 14/11/2026 19:37).
   Blanco, gris muy suave y tinta casi negra; la letra del sistema; un azul para actuar y un degradado
   «aurora» que solo aparece donde habla la inteligencia artificial. El verde vive dentro del simulador de WhatsApp.
   Los nombres de las variables se conservan de la versión anterior para que todas las pantallas hereden. */
@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..700&display=swap");

:root {
  --papel: #f5f5f7;            /* fondo agrupado (paneles, secciones alternas) */
  --papel-2: #e8e8ed;
  --hoja: #ffffff;             /* superficies */
  --tinta: #1d1d1f;
  --tinta-2: #424245;
  --tinta-3: #6e6e73;
  --linea: #d2d2d7;
  --linea-2: #e8e8ed;
  --achiote: #0071e3;          /* acento de acción (el nombre viene de la versión anterior) */
  --achiote-hondo: #0058b9;
  --achiote-suave: #e8f1fd;
  --maiz: #ff9f0a;
  --hoja-verde: #248a3d;
  --hoja-verde-suave: #e3f5e7;
  --aviso: #a05a00;
  --aviso-suave: #fff3dd;
  --rojo: #d70015;
  --rojo-suave: #ffe9eb;
  --marca: var(--achiote);     /* en el panel de cada negocio se cambia por su color */
  --marca-sobre: #fff;
  --aurora: linear-gradient(90deg, #0a84ff 0%, #5e5ce6 28%, #bf5af2 54%, #ff375f 78%, #ff9f0a 100%);

  --texto: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --voz: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r1: 8px; --r2: 12px; --r3: 18px; --r4: 28px;
  --sombra-1: 0 1px 2px rgb(0 0 0 / .04), 0 2px 10px rgb(0 0 0 / .05);
  --sombra-2: 0 2px 6px rgb(0 0 0 / .05), 0 14px 36px rgb(0 0 0 / .09);
  --sombra-3: 0 6px 14px rgb(0 0 0 / .08), 0 36px 80px rgb(0 0 0 / .16);
  --sale: cubic-bezier(.22, 1, .36, 1);
  --ancho: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--papel); color: var(--tinta);
  font: 400 16px/1.5 var(--texto); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
::selection { background: rgb(0 113 227 / .22); }
:focus-visible { outline: 3px solid rgb(0 113 227 / .55); outline-offset: 2px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
* { scrollbar-width: thin; scrollbar-color: var(--linea) transparent; }

.voz { font-family: var(--voz); font-weight: 700; letter-spacing: -.022em; }
.voz em { font-style: normal; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
.aurora { background: var(--aurora); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }

/* Botones: pastilla; responden al tocar, no al soltar */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  min-height: 44px; padding: 0 22px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 500; font-size: 16px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  background: var(--tinta); color: #fff;
  transition: transform .2s var(--sale), background .2s, filter .2s, border-color .2s, box-shadow .2s;
}
.boton:hover { background: #000; }
.boton:active { transform: scale(.97); transition-duration: .08s; }
.boton[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.boton.marca { background: var(--marca); color: var(--marca-sobre); }
.boton.marca:hover { background: var(--marca); filter: brightness(1.08); }
.boton.linea { background: transparent; color: var(--tinta); border-color: var(--linea); }
.boton.linea:hover { background: var(--papel); border-color: #b9b9c0; color: var(--tinta); }
.boton.suave { background: var(--papel-2); color: var(--tinta); }
.boton.suave:hover { background: #dcdce2; }
.boton.chico { min-height: 34px; padding: 0 15px; font-size: 14px; }
.boton svg { width: 18px; height: 18px; flex: none; }
.enlace { color: var(--achiote); text-decoration: none; font-weight: 400; }
.enlace:hover { text-decoration: underline; }
.enlace::after { content: " ›"; }

/* Formularios */
.campo { display: grid; gap: 6px; }
.campo > span, .rotulo { font-size: 13px; font-weight: 500; color: var(--tinta-2); }
.campo small { font-size: 12.5px; color: var(--tinta-3); }
.entrada, select.entrada, textarea.entrada {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--linea); border-radius: var(--r2);
  background: var(--hoja); font-size: 16px; line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
textarea.entrada { resize: vertical; min-height: 96px; }
.entrada::placeholder { color: #86868b; }
.entrada:hover { border-color: #b9b9c0; }
.entrada:focus { outline: none; border-color: var(--achiote); box-shadow: 0 0 0 4px rgb(0 113 227 / .16); }
select.entrada { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236e6e73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* Etiquetas de estado */
.sello { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--papel-2); color: var(--tinta-2); white-space: nowrap; }
.sello.rojo { background: var(--rojo-suave); color: var(--rojo); }
.sello.verde { background: var(--hoja-verde-suave); color: #1b6b30; }
.sello.ambar { background: var(--aviso-suave); color: var(--aviso); }
.sello.tinta { background: var(--tinta); color: #fff; }
.punto { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.marca-mande { display: inline-flex; align-items: baseline; font-family: var(--voz); font-weight: 700; font-size: 21px; letter-spacing: -.035em; text-decoration: none; color: var(--tinta); line-height: 1; }
.marca-mande i { font-style: normal; background: var(--aurora); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.marca-mande i:last-child { background-position: 100% 0; background-size: 300% 100%; }
.marca-mande i:first-child { background-size: 300% 100%; }
.de-alamano { font-size: 12px; color: var(--tinta-3); }

.aviso-pie { font-size: 12.5px; color: var(--tinta-3); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@keyframes entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
