/* The client questionnaire and its thank-you page (Cuestionario*.dc.html). Separate from
   websuya.css so that the form's rules travel with the form. Tokens from websuya.css. */
.wsq { max-width: 760px; }
.wsq-lead { font-size: 1.1rem; line-height: 1.55; margin: 0 0 18px; }
.wsq-form { margin-top: 28px; display: grid; gap: 28px; }
.wsq-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wsq-part { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 18px; }
.wsq-part > legend, .wsq-parthead {
  display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 4px;
  font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); font-weight: 700; line-height: 1.2;
}
.wsq-letter {
  display: inline-grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--fg); color: #fff; font-size: 1.05rem; /* ink, like every step number (DESIGN.md §2) */
}
.wsq-h { font-size: 1.12rem; margin: 10px 0 0; }
.wsq-h span, .wsq-t span { display: block; font-weight: 400; color: var(--muted); font-size: .95rem; margin-top: 2px; }
.wsq-note, .wsq-help { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.wsq-q { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 16px 18px; margin: 0; min-width: 0; display: grid; gap: 8px; }
fieldset.wsq-q > legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
fieldset.wsq-q > legend + * { clear: left; }
.wsq-t { font-weight: 700; line-height: 1.4; }
.wsq-o { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; line-height: 1.35; }
.wsq-o input[type="checkbox"], .wsq-o input[type="radio"] { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--fg); }
.wsq-otro { flex-wrap: wrap; }
.wsq-otro input { flex: 1 1 200px; }
.wsq input:not([type="checkbox"]):not([type="radio"]), .wsq textarea {
  font: inherit; color: inherit; background: var(--surface); width: 100%; min-height: 44px;
  border: 1px solid #BDB8AD; border-radius: 10px; padding: 9px 12px;
}
.wsq textarea { resize: vertical; line-height: 1.5; }
.wsq-after { margin: -2px 0 6px 30px; width: calc(100% - 30px) !important; }
.wsq input:focus, .wsq textarea:focus { outline: 3px solid var(--fg); outline-offset: 1px; border-color: var(--fg); } /* Limón on white is 1.3 : 1 */
.wsq-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.wsq-table table { border-collapse: collapse; width: 100%; font-size: .97rem; line-height: 1.45; }
.wsq-table th, .wsq-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.wsq-table thead th { background: var(--bg); }
.wsq-table tbody tr:last-child th, .wsq-table tbody tr:last-child td { border-bottom: 0; }
.wsq-table tbody th { white-space: nowrap; }
.wsq-access { gap: 14px; }
.wsq-access > p { margin: 0; }
.wsq-send { display: grid; gap: 14px; justify-items: start; padding-top: 4px; }
.wsq-consent { margin: 0; font-size: .95rem; color: var(--muted); }
.wsq-next { padding-left: 1.2em; line-height: 1.55; display: grid; gap: 8px; margin: 0 0 24px; }
@media (max-width: 559px) {
  .wsq-q { padding: 14px; }
  .wsq-table tbody th { white-space: normal; }
  .wsq-send .ws-btn { width: 100%; }
}

/* The send button (websuya-efectos state-button, /assets/fx/; DESIGN.md §4): Web Suya's main button,
   Limón with an ink edge and ink text, ink with Limón text on hover; while it sends, the same, quiet. */
.wsq-send .fx-state-button { --fx-state-button-bg: var(--hi); --fx-state-button-fg: var(--on-hi); --fx-state-button-edge: var(--fg);
  --fx-state-button-radius: var(--radius-btn); --fx-state-button-done-bg: var(--surface); --fx-state-button-done-fg: var(--fg);
  --fx-state-button-done-edge: var(--fg); }
.wsq-send .fx-state-button__btn:hover:not([aria-disabled="true"]) { background: var(--fg); color: var(--hi); }

/* The contact page (Contacto*.dc.html; Philipp, 28 Oct 2026, 00 #43): WhatsApp first, the form beside it
   from 960 px. It reuses the questionnaire's field rules above. WhatsApp is the page's main action, so the
   form's send button is ink with white text, never Limón (DESIGN.md §2, as the order's step buttons). */
.ws-contacto { display: grid; gap: 48px; }
@media (min-width: 960px) { .ws-contacto { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; } }
.ws-contacto h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.04; margin-bottom: 4px; }
.ws-contacto__mail { margin: 18px 0 0; }
.ws-contacto__mail a { font-weight: 700; }
.ws-contacto__form { border-top: 1px solid var(--line); padding-top: 36px; }
@media (min-width: 960px) { .ws-contacto__form { border-top: 0; padding-top: 0; } }
.ws-contacto__form h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: 10px; }
.wsc-form { margin-top: 18px; gap: 16px; }
.wsc-form .fx-state-button { --fx-state-button-bg: var(--fg); --fx-state-button-fg: #fff; --fx-state-button-edge: var(--fg);
  --fx-state-button-radius: var(--radius-btn); --fx-state-button-done-bg: var(--surface); --fx-state-button-done-fg: var(--fg);
  --fx-state-button-done-edge: var(--fg); }
.wsc-form .fx-state-button__btn:hover:not([aria-disabled="true"]) { background: #000; color: #fff; }
.wsq-done .ws-actions { margin-top: 8px; }
