/* ─── BOOKING PAGE ─────────────────────────────────────────────────────────── */

.book-page {
  min-height: 100vh;
  background: var(--bg);
}

/* ─── BOOKING HEADER ─────────────────────────────────────────────────────── */
.book-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 8vw;
  background: rgba(10, 9, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.book-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
}

.book-brand span {
  color: var(--accent);
  font-style: italic;
}

.book-back {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.book-back:hover { color: var(--accent); }

/* ─── BOOKING HERO ────────────────────────────────────────────────────────── */
.book-hero {
  position: relative;
  padding: 160px 8vw 80px;
  overflow: hidden;
}

.book-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(212,146,58,0.1) 0%, transparent 70%),
    var(--bg);
}

.book-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.book-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.9;
}

.book-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 20px;
}

.book-headline em {
  font-style: italic;
  color: var(--accent);
}

.book-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── FORM WRAPPER ──────────────────────────────────────────────────────── */
.book-form-wrapper {
  padding: 0 8vw 120px;
  position: relative;
  z-index: 1;
}

.book-form-inner {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px;
  position: relative;
}

.book-form-inner::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

/* ─── FORM SECTIONS ─────────────────────────────────────────────────────── */
.form-section {
  margin-bottom: 40px;
}

.form-section:last-of-type {
  margin-bottom: 0;
}

.form-section-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-row:last-child {
  margin-bottom: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.form-label span.req {
  color: var(--accent);
  margin-left: 2px;
}

/* ─── INPUTS & SELECTS ───────────────────────────────────────────────────── */
.form-input,
.form-select,
.form-textarea {
  background: var(--surface-2);
  border: 1px solid rgba(212, 146, 58, 0.15);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 146, 58, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-dim);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #c0392b;
}

.form-error-msg {
  font-size: 0.75rem;
  color: #c0392b;
  margin-top: 4px;
}

.form-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='%239c9183' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--surface-2);
  color: var(--text);
}

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

/* ─── BUDGET CARDS ───────────────────────────────────────────────────────── */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.budget-card {
  position: relative;
  cursor: pointer;
}

.budget-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.budget-card-inner {
  background: var(--surface-2);
  border: 1px solid rgba(212, 146, 58, 0.12);
  border-radius: 10px;
  padding: 20px;
  height: 100%;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.budget-card:hover .budget-card-inner {
  border-color: rgba(212, 146, 58, 0.4);
}

.budget-card input:checked + .budget-card-inner {
  border-color: var(--accent);
  background: rgba(212, 146, 58, 0.07);
}

.budget-card-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}

.budget-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ─── SUBMIT BUTTON ──────────────────────────────────────────────────────── */
.book-submit-wrap {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-book {
  background: var(--accent);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  padding: 18px 48px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  min-width: 220px;
  text-align: center;
  position: relative;
}

.btn-book:hover {
  background: #e8a040;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(212, 146, 58, 0.3);
}

.btn-book:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-book:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-book.loading {
  pointer-events: none;
}

.btn-book.loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(10, 9, 8, 0.3);
  border-top-color: var(--bg);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.book-submit-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ─── LOADING STATE ──────────────────────────────────────────────────────── */
.book-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 9, 8, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.book-loading-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.book-loading-inner {
  text-align: center;
}

.book-loading-spinner {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(212, 146, 58, 0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 24px;
}

.book-loading-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 8px;
}

.book-loading-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── TOAST ──────────────────────────────────────────────────────────────── */
.book-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 0.88rem;
  color: var(--text);
  z-index: 300;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.book-toast.show {
  transform: translateX(-50%) translateY(0);
}

.book-toast.error {
  border-color: #c0392b;
  color: #e74c3c;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .book-form-inner {
    padding: 36px 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .budget-grid {
    grid-template-columns: 1fr;
  }

  .book-submit-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-book {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .book-form-wrapper {
    padding: 0 4vw 80px;
  }
}