/* Componentes comunes: contraste claro, contornos finos y estados evidentes. */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 49px; padding: 12px 18px; border: 1px solid var(--forest); border-radius: 4px;
  background: var(--forest); color: #07130d; font-size: .82rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background .2s ease,border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}
.btn-primary:hover,.btn-primary:focus-visible { border-color: var(--forest-2); background: var(--forest-2); transform: translateY(-1px); box-shadow: 0 7px 20px rgba(194,203,179,.09); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { width: 16px; flex: none; }
.btn-small { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--ink); background: transparent; text-decoration: none; font-size: .75rem; font-weight: 600; }
.btn-text { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink); font-size: .8rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(242,241,235,.48); transition: color .2s ease,border-color .2s ease; cursor: pointer; background: transparent; appearance: none; }
.btn-text:hover { color: var(--forest); border-color: var(--forest); }

form { display: grid; gap: 17px; }
form label { display: grid; gap: 7px; color: var(--muted-strong); font-size: .78rem; font-weight: 500; }
form label span,form label small { color: #85867d; font-size: .7rem; font-weight: 400; }
form input,form select,form textarea { width: 100%; min-height: 47px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px; background: #091711; color: var(--ink); outline: none; transition: border-color .2s ease,background .2s ease,box-shadow .2s ease; }
form input::placeholder,form textarea::placeholder { color: #77786f; }
form input:focus,form select:focus,form textarea:focus { border-color: var(--forest); background: #191a16; box-shadow: 0 0 0 3px rgba(194,203,179,.08); }
form select { appearance: auto; }
form option { background: #142c20; color: var(--ink); }
form textarea { min-height: 125px; resize: vertical; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.err { min-height: 1.15em; color: var(--clay); font-size: .76rem; line-height: 1.5; }
.alt { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.7; }
.alt a,.form-note a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
form .btn-primary { justify-self: start; margin-top: 1px; }
@media(max-width:740px) { .field-grid { grid-template-columns: 1fr; } form .btn-primary { justify-self: stretch; } }
