/* ============================================================
   Mobile Axe — booking page (/book/)
   Page-specific layout. Inherits tokens, base, components.
   ============================================================ */

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 120px var(--hero-pad-x) 56px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(15, 26, 20, 0.92), rgba(15, 26, 20, 0.5) 60%, rgba(15, 26, 20, 0.18)),
    url("../../site-photos/mobile-axe-trailer-hero.jpg") center / cover no-repeat;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(197, 140, 42, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(15, 26, 20, 0.4), transparent 70%);
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }
.hero > div { max-width: 920px; display: grid; gap: 18px; }
.hero h1 { color: #fff; }
.hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

/* Local-preview banner shown when opened from file:// */
.local-preview {
  display: none;
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  border: 1px solid var(--gold);
  border-radius: var(--r-card);
  padding: 16px 18px;
  background: var(--gold-soft);
  color: var(--ink);
  box-shadow: var(--shadow-2);
}

.local-preview.active {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.local-preview p { margin: 0; color: var(--ink); }

/* Trust strip (4 columns) */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-item {
  background: var(--paper);
  padding: 22px clamp(20px, 3vw, 36px);
}

.trust-item h3 { color: var(--ink); font-size: 0.95rem; margin-bottom: 6px; }
.trust-item p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

/* Buyer strip */
.buyer-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.buyer-strip article {
  padding: 24px clamp(20px, 3vw, 36px);
  background: var(--paper);
}

.buyer-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 800;
}

.buyer-strip span { color: var(--muted); line-height: 1.5; }

/* Booking review strip */
.booking-review-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.booking-review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.booking-review {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px 20px;
  background: var(--bone);
}

.booking-review strong {
  display: block;
  margin-bottom: 8px;
  color: var(--rust);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.booking-review blockquote {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.booking-review small { color: var(--muted); }

/* Packages */
.package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.package {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  background: var(--paper);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.package:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.package h3 { color: var(--ink); font-size: 1.2rem; }

.package strong {
  display: block;
  margin: 10px 0 12px;
  font-size: 1.6rem;
  color: var(--forest);
  font-weight: 800;
}

.package p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

/* Booking grid: planner left, request card right */
.booking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1.15fr);
  gap: 28px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 16px 18px;
  background: var(--paper);
}

.step strong { display: block; margin-bottom: 4px; color: var(--ink); }
.step span { color: var(--muted); font-size: 14px; }

.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.planner-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  background: var(--paper);
}

.planner-card h3 { color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.planner-card p { color: var(--muted); font-size: 14px; }

/* Booking card (right column, sticky) */
.booking-card {
  position: sticky;
  top: calc(var(--nav-h) + 18px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-2);
}

.booking-card h2 { font-size: 1.5rem; margin-bottom: 4px; color: var(--ink); }

/* Form on a light surface needs ink-on-white inputs */
.booking-card form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.booking-card label {
  display: grid;
  gap: 6px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.booking-card input,
.booking-card select,
.booking-card textarea {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.booking-card input::placeholder,
.booking-card textarea::placeholder { color: rgba(15, 26, 20, 0.4); }

.booking-card textarea,
.booking-card .full,
.booking-card form button,
.booking-card #bookingStatus {
  grid-column: 1 / -1;
}

.booking-card textarea { min-height: 120px; }

#bookingStatus {
  color: var(--forest);
  font-weight: 800;
  font-size: 14px;
}

.live-estimate {
  margin-top: 4px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-card);
  padding: 16px 18px;
  background: var(--gold-soft);
  color: var(--ink);
}

.live-estimate span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 4px;
}

.live-estimate strong {
  display: block;
  font-size: 1.7rem;
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.live-estimate p { margin: 6px 0 0; color: var(--muted); font-size: 13.5px; }

.booking-progress {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.booking-progress strong { color: var(--ink); font-size: 13px; font-weight: 700; }

.booking-progress-bar {
  height: 10px;
  overflow: hidden;
  border-radius: var(--r-pill);
  background: var(--bone-2);
}

.booking-progress-bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--forest), var(--gold));
  transition: width 220ms ease;
}

.readiness-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13.5px;
}

.fine-print {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.fine-print a { color: var(--forest); text-decoration: underline; }

/* FAQ at the bottom */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 18px;
  background: var(--paper);
}

.faq-card h3 { color: var(--ink); margin-bottom: 6px; }
.faq-card p { color: var(--muted); font-size: 14px; }

/* Mobile */
@media (max-width: 900px) {
  .booking-grid,
  .package-grid,
  .buyer-strip,
  .planner-grid,
  .faq-grid,
  .booking-review-grid,
  .trust-grid,
  .booking-card form {
    grid-template-columns: 1fr;
  }
  .booking-card { position: static; }
  .local-preview.active { align-items: stretch; flex-direction: column; }
}
