/* book.css — styles scoped to the /book request form page */

/* ── HERO ── */
.book-hero {
  background: var(--fg);
  color: #fff;
  padding: 64px 0 56px;
}
.book-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
}
.book-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 20px 0 16px;
}
.book-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ── FORM SECTION ── */
.book-form-section {
  padding: 56px 0 72px;
}
.book-form-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── FORM ELEMENTS ── */
.book-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  letter-spacing: 0.02em;
}
.req { color: var(--accent); }
.form-group input,
.form-group select {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--fg);
  width: 100%;
  transition: border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder { color: rgba(15, 59, 71, 0.35); }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 123, 26, 0.12);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A7A84' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ── ERROR ── */
.form-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: var(--radius-sm);
  color: #b91c1c;
  font-size: 14px;
  padding: 12px 16px;
  line-height: 1.5;
}

/* ── SUBMIT ── */
.form-submit {
  background: var(--fg);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 15px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: background 0.15s, opacity 0.15s;
  letter-spacing: 0.01em;
  margin-top: 4px;
}
.form-submit:hover:not(:disabled) { background: #1a4f5e; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Spinner animation */
.spinner-icon {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ── TRUST FOOTER ── */
.book-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  flex-wrap: wrap;
}
.book-trust-sep { color: var(--border); }

/* ── CONFIRMATION ── */
.book-confirmation {
  background: var(--surface);
  border: 1.5px solid rgba(212, 123, 26, 0.25);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.book-confirm-icon { margin-bottom: 4px; }
.book-confirm-headline {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
}
.book-confirm-sub {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 440px;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .book-hero { padding: 48px 0 40px; }
  .book-hero-inner { padding: 0 24px; }
  .book-form-inner { padding: 0 24px; }
  .book-form-section { padding: 40px 0 56px; }
  .form-row-2 { grid-template-columns: 1fr; }
}
