/* Modal de contacto → WhatsApp */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wa-modal.is-open { display: flex; }

.wa-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 60, .62);
}

.wa-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border-top: 3px solid #b22234;
  box-shadow: 0 16px 40px rgba(11, 19, 60, .22);
  padding: 1.25rem 1.2rem 1.1rem;
}

.wa-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1rem;
}

.wa-modal__head h2 {
  margin: 0;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  color: #232a3f;
}

.wa-modal__head p {
  margin: .3rem 0 0;
  font-size: .85rem;
  color: #555a6e;
}

.wa-modal__close {
  border: 0;
  background: #eef1f8;
  color: #232a3f;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.wa-modal__field {
  display: grid;
  gap: .28rem;
  margin-bottom: .75rem;
  font-size: .8rem;
  color: #555a6e;
  font-weight: 500;
}

.wa-modal__field input,
.wa-modal__field select,
.wa-modal__field textarea {
  border: 1px solid #d7dcea;
  border-radius: 4px;
  padding: .6rem .7rem;
  font: inherit;
  font-size: .92rem;
  color: #232a3f;
  width: 100%;
}

.wa-modal__field textarea { min-height: 88px; resize: vertical; }

.wa-modal__field input:focus,
.wa-modal__field select:focus,
.wa-modal__field textarea:focus {
  outline: 0;
  border-color: #b22234;
  box-shadow: 0 0 0 3px rgba(178, 34, 52, .15);
}

.wa-modal__field--error input,
.wa-modal__field--error select,
.wa-modal__field--error textarea {
  border-color: #b3261e;
}

.wa-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .35rem;
}

.wa-modal__submit {
  flex: 1;
  border: 0;
  background: #25d366;
  color: #fff;
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  padding: .7rem 1rem;
  cursor: pointer;
}

.wa-modal__submit:hover { background: #128c7e; }

.wa-modal__cancel {
  border: 1px solid #d7dcea;
  background: #fff;
  color: #555a6e;
  padding: .7rem .9rem;
  font-size: .82rem;
  cursor: pointer;
}

body.wa-modal-open { overflow: hidden; }
