/* Tokens de la identidad de Entrama (tablero de marca, oct. 2026).
   Tipografías provisorias hasta tener las del brandbook. */
:root {
  --navy: #131b4d;
  --indigo: #484e97;
  --rosa: #eebae2;
  --celeste: #60a8c7;
  --lavanda-100: #e3e4f2;
  --lavanda-50: #f4f4fa;
  --tinta: #131b4d;
  --texto: #3a4066;
  --texto-suave: #676c8c;
  --borde: #dcdeee;
  --blanco: #ffffff;
  --error: #b3412f;

  --f-titulo: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-texto: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;

  --radio: 6px;
  --radio-chico: 4px;
  --sombra: 0 10px 30px rgba(19,27,77,0.08);
  --ancho: 1600px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texto);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--blanco);
}
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
h1, h2, h3 { font-family: var(--f-titulo); color: var(--tinta); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.contenedor { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .contenedor { padding: 0 clamp(32px, 4vw, 72px); } }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.5em;
  border: 2px solid transparent; border-radius: var(--radio-chico); letter-spacing: .01em;
  font: 700 1rem/1.2 var(--f-texto); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--acento { background: var(--rosa); color: var(--navy); }
.btn--acento:hover { background: #f5cdeb; }
.btn--primario { background: var(--indigo); color: var(--blanco); }
.btn--primario:hover { background: var(--navy); }
.btn--linea { border-color: currentColor; color: var(--blanco); background: transparent; }
.btn--linea:hover { background: rgba(255,255,255,.1); }
.btn--linea-oscura { border-color: var(--borde); color: var(--tinta); background: var(--blanco); }
.btn--linea-oscura:hover { border-color: var(--indigo); }
.btn--chico { min-height: 40px; padding: .5em 1.1em; font-size: .9375rem; }
.btn--ancho { width: 100%; }

.tarjeta { background: var(--blanco); border: 1px solid var(--borde); border-radius: var(--radio); box-shadow: var(--sombra); }

/* Formularios */
.campo { display: flex; flex-direction: column; gap: .35em; margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.campo label, .campo legend { font-size: .9375rem; font-weight: 700; color: var(--tinta); padding: 0; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--tinta);
  padding: .7em .85em; min-height: 48px;
  border: 1px solid var(--borde); border-radius: var(--radio-chico); background: var(--blanco);
}
textarea { resize: vertical; min-height: 90px; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(96,168,199,.6); outline-offset: 2px; border-color: var(--indigo);
}
[aria-invalid="true"] { border-color: var(--error); }
input[type="checkbox"], input[type="radio"] { width: 1.15em; height: 1.15em; min-height: 0; margin: .2em 0 0; accent-color: var(--indigo); flex: none; }
.check { display: flex; gap: .6em; align-items: flex-start; font-size: .9375rem; margin: 0 0 .75rem; cursor: pointer; }
.form__error { color: var(--error); font-weight: 700; font-size: .9375rem; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--rosa); color: var(--navy); padding: .5em 1em; }
.skip:focus { left: 8px; top: 8px; }

/* Modal */
.modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; background: rgba(13,19,56,.6); display: grid; place-items: center; padding: 16px; }
.modal__caja { max-width: 460px; width: 100%; padding: 2rem; color: var(--texto); }
.modal__acciones { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Mensaje de confirmación: los dos medios de contacto que dejó la persona */
.modal__contacto { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem; }
.modal__contacto li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 1rem; background: var(--lavanda-50); border-radius: var(--radio-chico); }
.modal__contacto span { font-size: .875rem; color: var(--texto-suave); }
.modal__contacto strong { color: var(--tinta); overflow-wrap: anywhere; }
.modal__nota { font-size: .875rem; color: var(--texto-suave); margin: 0; }
