/* Formulario «Escríbenos» de /contacto (js/contacto_mensaje.js). Usa las variables de contacto.css. */
.gc-msg { padding: 0; }
.gc-msg__cab {
  display: flex; align-items: center; gap: 16px; padding: 24px 28px;
  border-bottom: 1px solid var(--gc-border, #e9e7e2);
}
.gc-msg__ic {
  flex: none; width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--gc-gold-tint, rgba(255, 193, 7, .15)); color: var(--gc-accent, #826111); font-size: 1.25rem;
}
.gc-msg__titulo { margin: 0 0 4px; font-size: 1.45rem; font-weight: 800; color: var(--gc-ink, #171b26); }
.gc-msg__sub { margin: 0; color: var(--gc-muted, #616876); font-size: .95rem; }

.gc-msg__form { padding: 8px 28px 26px; }
.gc-msg__fila {
  display: grid; grid-template-columns: 96px 1fr; align-items: start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--gc-border, #e9e7e2);
}
.gc-msg__rot { padding-top: 11px; font-weight: 700; font-size: .9rem; color: var(--gc-ink-2, #2c3242); margin: 0; }
.gc-msg__rot--sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc-msg__celda { min-width: 0; }
.gc-msg__campo {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid transparent; border-radius: 10px;
  background: transparent; color: var(--gc-ink, #171b26); font: inherit; font-size: 1rem;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.gc-msg__campo:hover:not([readonly]) { background: var(--gc-bg, #f6f5f2); }
.gc-msg__campo:focus { outline: 0; border-color: var(--gc-gold-hi, #e0a800); background: #fff; box-shadow: 0 0 0 .2rem var(--gc-gold-tint, rgba(255, 193, 7, .15)); }
.gc-msg__campo[readonly] { color: var(--gc-muted, #616876); cursor: default; }
.gc-msg__campo.is-error { border-color: #c0392b; background: #fdf3f2; }
select.gc-msg__campo { cursor: pointer; }

.gc-msg__cuerpo { padding-top: 14px; }
.gc-msg__texto {
  min-height: 190px; resize: vertical; border-color: var(--gc-border, #e9e7e2); background: var(--gc-bg, #f6f5f2); line-height: 1.55;
}
.gc-msg__pie-campo { display: flex; justify-content: space-between; gap: 12px; margin-top: 6px; }
.gc-msg__cuenta { flex: none; color: var(--gc-muted, #616876); font-variant-numeric: tabular-nums; }
.gc-msg__cuenta.is-limite { color: #b9770e; font-weight: 700; }
.gc-msg__error { color: #c0392b; font-size: .85rem; font-weight: 600; }
.gc-msg__fila .gc-msg__error:not(:empty) { display: block; padding: 4px 12px 0; }
.gc-msg__sugerencia { margin: 6px 12px 0; font-size: .88rem; color: var(--gc-ink-2, #2c3242); }
.gc-msg__sugerencia button {
  margin-left: 4px; padding: 2px 10px; border: 0; border-radius: 999px; background: var(--gc-gold-tint, rgba(255, 193, 7, .15));
  color: var(--gc-accent, #826111); font-weight: 800; font-size: .84rem; cursor: pointer;
}
.gc-msg__sugerencia button:hover { background: var(--gc-gold, #ffc107); color: var(--gc-gold-ink, #1f2431); }
.gc-msg__sugerencia strong { font-weight: 800; }
.gc-msg__ayuda { display: block; margin-top: 6px; color: var(--gc-muted, #616876); font-size: .82rem; }

.gc-msg__acciones { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 18px; flex-wrap: wrap; }
.gc-msg__estado { margin: 0; flex: 1; min-width: 200px; color: var(--gc-muted, #616876); font-size: .92rem; }
.gc-msg__estado.is-error { color: #c0392b; font-weight: 600; }
.gc-msg__enviar, .gc-msg__otro {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--gc-gold, #ffc107); color: var(--gc-gold-ink, #1f2431); font-weight: 800; font-size: 1rem; cursor: pointer;
  transition: background .15s, transform .15s;
}
.gc-msg__enviar:hover, .gc-msg__otro:hover { background: var(--gc-gold-hi, #e0a800); }
.gc-msg__enviar:focus-visible, .gc-msg__otro:focus-visible { outline: 3px solid var(--gc-ink, #171b26); outline-offset: 2px; }
.gc-msg__enviar:disabled { opacity: .6; cursor: progress; }

.gc-msg__trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.gc-msg__hecho { padding: 40px 28px 44px; text-align: center; }
.gc-msg__hecho:focus { outline: 0; }
.gc-msg__hecho > i { font-size: 2.6rem; color: #1e8e4e; margin-bottom: 12px; }
.gc-msg__hecho h3 { font-weight: 800; color: var(--gc-ink, #171b26); }
.gc-msg__hecho p { color: var(--gc-muted, #616876); max-width: 520px; margin: 0 auto 10px; }
.gc-msg__hecho strong { color: var(--gc-ink, #171b26); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gc-msg__otro { margin-top: 14px; background: var(--gc-soft, #f2f0ec); }
.gc-msg__otro:hover { background: var(--gc-border, #e9e7e2); }

@media (max-width: 575.98px) {
  .gc-msg__cab { padding: 20px 16px; }
  .gc-msg__form { padding: 4px 16px 20px; }
  .gc-msg__fila { grid-template-columns: 1fr; gap: 0; }
  .gc-msg__rot { padding: 4px 12px 0; }
  .gc-msg__enviar { width: 100%; justify-content: center; }
  .gc-msg__hecho { padding: 30px 16px 34px; }
}
