/* Solicitud de cotización (componente gmaq-form).

   Dos contextos: la página de contacto lo muestra sobre fondo claro
   (.form-card) y la ficha de maquinaria sobre la sección oscura
   (.quote-section). Los valores replican los estilos de WPForms
   (inputs blancos #d0d0d0, botón cobre) y del override oscuro del
   template single-maquinaria. */
.gmaq-form-wrap { width: 100%; }
.gmaq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}
.gmaq-field { display: flex; flex-direction: column; }
.gmaq-field-full { grid-column: 1 / -1; }
.gmaq-field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5.6px;
}
.gmaq-field label .req { color: #d63637; }
.gmaq-field input,
.gmaq-field select,
.gmaq-field textarea {
  height: 48px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: #333;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.gmaq-field textarea { height: auto; min-height: 110px; resize: vertical; }
.gmaq-field input:focus,
.gmaq-field select:focus,
.gmaq-field textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 106, 43, .15);
}
.gmaq-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C46A2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-right: 2.25rem;
  cursor: pointer;
}
.gmaq-form-submit {
  width: 100%;
  margin-top: 1.25rem;
  padding: 13.6px 40px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: var(--copper);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.gmaq-form-submit:hover {
  background: var(--copper-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196, 106, 43, .45);
}
.gmaq-form-submit:active { transform: translateY(0); }
.gmaq-hp {
  position: absolute !important;
  left: -99999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.gmaq-form-success,
.gmaq-form-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  text-align: center;
  padding: 2rem 1rem;
}
.gmaq-form-success svg { color: #10b981; }
.gmaq-form-success h3,
.gmaq-form-error h3 { font-family: var(--font-head); font-size: 1.35rem; margin: 0; }
.gmaq-form-success p,
.gmaq-form-error p { color: rgba(255,255,255,.75); max-width: 40ch; }
@media (max-width: 640px) {
  .gmaq-form-grid { grid-template-columns: 1fr; gap: .75rem; }
}

/* Ficha de maquinaria: el formulario vive sobre el grafito. */
.quote-section .gmaq-field label { color: rgba(255,255,255,.85); }
.quote-section .gmaq-field input,
.quote-section .gmaq-field select,
.quote-section .gmaq-field textarea {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.92);
}
.quote-section .gmaq-field select option {
  background: var(--grafito-700, #1a1e1e);
  color: rgba(255,255,255,.9);
}
.quote-section .gmaq-field input:focus,
.quote-section .gmaq-field select:focus,
.quote-section .gmaq-field textarea:focus {
  background: rgba(255,255,255,.1);
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 106, 43, .15);
}
