.project-module-form {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.contact-options {
  margin: 0 auto 42px;
  max-width: 640px;
  text-align: center;
}

.contact-options h2 {
  color: #6b4848;
  font-family: ftnk, Georgia, serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 16px;
}

.contact-options p,
.field-help,
.field-error,
.form-status {
  font-family: vcsm, "Helvetica Neue", sans-serif;
}

.contact-options p {
  color: #6b4848;
  font-size: 15px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 58ch;
}

.whatsapp-form {
  display: grid;
  gap: 30px 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 720px;
  text-align: left;
}

.whatsapp-form .form-input {
  margin: 0;
  position: relative;
}

.whatsapp-form .form-input--message,
.whatsapp-form .whatsapp-submit,
.whatsapp-form .form-status {
  grid-column: 1 / -1;
}

.whatsapp-form label {
  color: #6b4848;
  display: block;
  font-family: vcsm, "Helvetica Neue", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 9px;
  text-transform: uppercase;
}

.whatsapp-form input,
.whatsapp-form select,
.whatsapp-form textarea {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(107, 72, 72, .45);
  border-radius: 0;
  box-sizing: border-box;
  color: #3f2b2b;
  font-family: vcsm, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 11px 2px 13px;
  width: 100%;
}

.whatsapp-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236b4848' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 4px center;
  background-repeat: no-repeat;
  background-size: 12px 8px;
  padding-right: 28px;
}

.whatsapp-form textarea {
  min-height: 132px;
  resize: vertical;
}

.whatsapp-form input::placeholder,
.whatsapp-form textarea::placeholder {
  color: #765e5e;
  opacity: 1;
}

.whatsapp-form input:focus,
.whatsapp-form select:focus,
.whatsapp-form textarea:focus {
  border-bottom-color: #6b4848;
  outline: 0;
}

.whatsapp-form input:focus-visible,
.whatsapp-form select:focus-visible,
.whatsapp-form textarea:focus-visible,
.whatsapp-form button:focus-visible {
  outline: 2px solid #cead73;
  outline-offset: 4px;
}

.field-help,
.field-error {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}

.field-help { color: #6b4848; }
.field-error,
.form-status[data-state='error'] { color: #8d1e1e; }
.form-status[data-state='success'] { color: #2f633b; }

.whatsapp-submit {
  align-items: center;
  appearance: none;
  background: #6b4848;
  border: 1px solid #6b4848;
  border-radius: 0;
  color: #f3e8d5;
  cursor: pointer;
  /* El tema fija `.modules .form .submit-button { display: inline-block }` con tres
     clases, más específico que este selector: sin !important el botón nunca llega a
     ser flex y el icono queda alineado a la línea base del texto en vez de centrado. */
  display: inline-flex !important;
  font-family: vcsm, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 700;
  gap: 12px;
  justify-content: center;
  letter-spacing: .06em;
  min-height: 54px;
  padding: 14px 24px;
  text-transform: uppercase;
  transition: background-color 180ms ease-out, color 180ms ease-out;
}

.whatsapp-submit:hover {
  background: #cead73;
  color: #4f3535;
}

/* El tema de Adobe fija line-height: 40px (38/35px según el ancho) en .submit-button,
   heredado por este span. Esa caja de línea, más alta que el icono, desplaza el texto
   hacia abajo pese al centrado por flex. */
.submit-text {
  line-height: 1;
}

.whatsapp-submit svg {
  fill: none;
  height: 24px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 24px;
}

.whatsapp-submit svg path + path {
  fill: currentColor;
  stroke: none;
}

.form-status {
  font-size: 14px;
  line-height: 1.5;
  margin: -12px 0 0;
  min-height: 1.5em;
  text-align: center;
}

@media (max-width: 640px) {
  .contact-options { margin-bottom: 34px; }
  .whatsapp-form { grid-template-columns: 1fr; }
  .whatsapp-form .form-input,
  .whatsapp-form .whatsapp-submit,
  .whatsapp-form .form-status { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-submit { transition: none; }
}