/* ==========================================================================
   Quinta Dodó — formulario de reserva (solo /reservas) + link de texto
   del nav que lo reemplaza a las dos pildoras de WhatsApp/Booking.
   ========================================================================== */

/* el estilo del link "[ Reservar ]" del nav vive en sidebar.css: ese link
   lo pone sidebar.js en TODAS las paginas, no solo en /reservas, y este
   archivo solo se carga aca. */

/* ---------- formulario ---------- */
.qd-book {
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 24px 64px;
  color: #1a1512;
  font-family: inherit;
}

.qd-book-tag {
  font-family: ui-monospace, "Geist Mono", SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8845c;
  display: block;
  margin-bottom: 10px;
}

.qd-book-title {
  font-family: "Instrument Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
  margin: 0 0 10px;
  color: #1a1512;
}

.qd-book-sub {
  font-size: 14px;
  color: #6b5d50;
  line-height: 1.5;
  margin: 0 0 32px;
  max-width: 46ch;
}

.qd-book-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.qd-book-row--3 { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 560px) {
  .qd-book-row, .qd-book-row--3 { grid-template-columns: 1fr; }
}

.qd-book-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.qd-book-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b5d50;
}

.qd-book-field input,
.qd-book-field select,
.qd-book-field textarea {
  font-family: inherit;
  font-size: 14px;
  color: #1a1512;
  background: #fff;
  border: 1px solid #ddd4c9;
  border-radius: 0;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.qd-book-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b5d50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 32px;
}

.qd-book-field textarea {
  resize: vertical;
  min-height: 74px;
}

.qd-book-field input:focus,
.qd-book-field select:focus,
.qd-book-field textarea:focus {
  border-color: #b8845c;
}

.qd-book-field.qd-invalid input,
.qd-book-field.qd-invalid select {
  border-color: #c0523f;
}

.qd-book-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}

.qd-book-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 0;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.qd-book-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.qd-book-btn--whatsapp {
  background: #1a1512;
  color: #f4f1eb;
}
.qd-book-btn--whatsapp:hover { background: #b8845c; }

.qd-book-or {
  text-align: center;
  font-size: 12px;
  color: #6b5d50;
  position: relative;
  margin: 4px 0;
}

.qd-book-btn--booking {
  background: #fff;
  color: #1a1512;
  border: 1px solid #ddd4c9;
}
.qd-book-btn--booking:hover { background: #f4f1eb; border-color: #b8845c; }

.qd-book-note {
  font-size: 12px;
  color: #6b5d50;
  margin-top: 18px;
  line-height: 1.5;
}

.qd-book-sent {
  margin-top: 14px;
  font-size: 13px;
  color: #4a7a4a;
  display: none;
}

.qd-book-sent.is-visible { display: block; }
