/* Cliniva public forms (encuesta + buzón) — mobile-first */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: -apple-system, 'Segoe UI', system-ui, sans-serif; }
.public-body {
  background: linear-gradient(160deg, #f3e2e2 0%, #faf6f1 45%, #fff 100%);
  min-height: 100vh; color: #2c2c2c; font-size: 15px; line-height: 1.6;
}
.public-wrap { max-width: 560px; margin: 0 auto; padding: 32px 18px 44px; }

.public-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.public-logo {
  width: 46px; height: 46px; border-radius: 50%; background: #d4a5a5; color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 21px;
  box-shadow: 0 4px 14px rgba(212,165,165,0.4);
}
.public-title { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.public-sub { font-size: 11px; color: #8a8a8a; text-transform: uppercase; letter-spacing: 0.08em; }

.public-card {
  background: white; border-radius: 20px; padding: 34px 30px;
  box-shadow: 0 10px 36px rgba(0,0,0,0.08);
}
.public-card h1 { font-size: 23px; font-weight: 800; margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.25; }
.public-lead { color: #575757; font-size: 14.5px; line-height: 1.72; margin-bottom: 26px; }
.public-lead p + p { margin-top: 12px; }

fieldset { border: 0; margin-bottom: 22px; }
legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: #2c2c2c; }

/* Stars */
.stars { display: flex; gap: 8px; }
.star-opt { flex: 1; cursor: pointer; }
.star-opt input { position: absolute; opacity: 0; }
.star-opt span {
  display: block; text-align: center; padding: 10px 0; border-radius: 12px;
  background: #f5f0ea; color: #8a8a8a; font-weight: 800; font-size: 14px; line-height: 1.3;
  border: 2px solid transparent; transition: all 0.12s;
}
.star-opt input:checked + span { background: #d4a5a5; color: white; border-color: #b88080; transform: scale(1.05); }
.star-opt:hover span { border-color: #d4a5a5; }

/* Pills */
.pill-options { display: flex; gap: 8px; margin-bottom: 10px; }
.pill-options.pill-wrap { flex-wrap: wrap; }
.pill-opt { cursor: pointer; }
.pill-opt input { position: absolute; opacity: 0; }
.pill-opt span {
  display: inline-block; padding: 9px 16px; border-radius: 22px; background: #f5f0ea;
  color: #5a5a5a; font-weight: 600; font-size: 13px; border: 2px solid transparent; transition: all 0.12s;
}
.pill-opt input:checked + span { background: #2c2c2c; color: white; }
.pill-opt:hover span { border-color: #d4a5a5; }

/* Checks */
.check-opt { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; cursor: pointer; font-size: 13.5px; color: #5a5a5a; }
.check-opt input { margin-top: 3px; width: 17px; height: 17px; accent-color: #b88080; }

/* Inputs */
textarea, input[type="text"], input[type="tel"] {
  width: 100%; padding: 12px 14px; border: 1.5px solid #ddd; border-radius: 12px;
  font-size: 14px; font-family: inherit; margin-bottom: 10px; background: white;
}
textarea:focus, input:focus { outline: none; border-color: #b88080; }

.public-btn {
  width: 100%; background: #2c2c2c; color: white; border: 0; padding: 15px;
  border-radius: 14px; font-weight: 800; font-size: 15px; cursor: pointer;
  transition: background 0.15s; margin-top: 4px;
}
.public-btn:hover { background: #b88080; }

.public-center { text-align: center; padding: 44px 22px; }
.public-big-icon { font-size: 54px; margin-bottom: 14px; }

.public-footer { text-align: center; font-size: 11px; color: #b0a8a0; margin-top: 20px; }

/* Inconformidades grid + hints */
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-bottom: 10px; }
.field-hint { font-size: 12px; color: #8a8a8a; margin: -4px 0 10px; }
