:root {
  --ink: #303747;
  --muted: #717171;
  --cream: #f5f5f5;
  --paper: #ffffff;
  --line: #e1e3e7;
  --blue: #1f5bff;
  --blue-dark: #1646d4;
  --navy: #233d57;
  --orange: #ff8d4d;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--cream); }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.booking-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(460px, 1.15fr);
  background: var(--cream);
}

.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 760px;
  padding: 28px clamp(28px, 5vw, 72px);
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(115deg, rgba(35, 61, 87, .97) 8%, rgba(35, 61, 87, .78) 58%, rgba(35, 61, 87, .35)),
    url("./hero-source.jpg") center / cover;
}

.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; width: fit-content; color: inherit; text-decoration: none; }
.brand-logo { display: block; width: 166px; height: auto; filter: brightness(0) invert(1); }
.intro-copy { position: relative; z-index: 1; max-width: 520px; padding: 44px 0 28px; }
.eyebrow, .section-kicker { margin: 0 0 16px; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 800; }
.eyebrow { color: #8fb0ff; }
h1, h2, p { margin-top: 0; }
.lead { max-width: 390px; margin-bottom: 0; color: rgba(248, 247, 237, .78); font-size: 17px; line-height: 1.55; }
.intro-benefits { position: relative; z-index: 1; display: grid; gap: 10px; max-width: 410px; }
.benefit { display: flex; gap: 14px; align-items: center; color: rgba(248,247,237,.72); }
.benefit-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border: 1px solid rgba(143,176,255,.6); border-radius: 50%; color: #9bb8ff; }
.benefit-icon svg { width: 25px; height: 25px; stroke-width: 1.8; }
.benefit-copy { display: grid; gap: 2px; }
.benefit strong { color: #ffffff; font-size: 18px; line-height: 1.15; }
.benefit small { color: rgba(248,247,237,.7); font-size: 13px; line-height: 1.3; }
.intro-note { position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; max-width: 390px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.22); color: rgba(248,247,237,.82); font-size: 13px; line-height: 1.4; }
.note-icon, .success-icon { display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #ffffff; font-weight: 800; }
.note-icon { flex: 0 0 38px; width: 38px; height: 38px; font-size: 10px; }

.booking-panel { align-self: center; width: min(100%, 680px); padding: clamp(24px, 4vw, 56px); }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-kicker { color: var(--blue); }
h2 { margin-bottom: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: 0; }
.step-count { padding-top: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.date-toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.date-range { margin-bottom: 4px; font-size: 15px; font-weight: 800; }
.muted { margin: 0; color: var(--muted); font-size: 12px; }
.back-button { border: 0; background: transparent; color: var(--blue); }
.date-list { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-bottom: 28px; }
.date-option { min-height: 76px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); color: var(--ink); }
.date-option span { display: block; }
.date-option .weekday { margin-bottom: 8px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.date-option .day { font-size: 21px; font-weight: 800; }
.date-option.selected { border-color: var(--blue); background: var(--blue); color: white; }
.date-option.selected .weekday { color: rgba(255,255,255,.68); }
.date-option.weekend { border-color: #ececec; background: #eeeeee; color: #b7b7b7; cursor: not-allowed; }
.date-option.weekend .weekday { color: #a9a9a9; }
.slot-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 56px; margin-bottom: 24px; }
.slot-option { min-height: 54px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font-weight: 700; }
.slot-option:hover, .slot-option.selected { border-color: var(--blue); background: #edf2ff; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 4px; font-weight: 800; text-decoration: none; }
.primary-button { width: 100%; border: 1px solid var(--blue); background: var(--blue); color: white; }
.primary-button:hover { background: var(--blue-dark); }
.primary-button:disabled { opacity: .42; cursor: default; }
.secondary-button { margin-top: 22px; border: 1px solid var(--blue); color: var(--blue); }
.back-button { margin-bottom: 28px; padding: 0; font-size: 13px; font-weight: 700; }
.selected-date { margin-bottom: 8px; color: var(--ink); font-size: 20px; font-weight: 800; }
.time-hint { margin-bottom: 18px; }
.form-assurance { margin: -2px 0 22px; color: var(--muted); font-size: 12px; line-height: 1.5; }
label { display: block; margin-bottom: 20px; color: var(--ink); font-size: 13px; font-weight: 700; }
input[type="text"], input[type="tel"], select { display: block; width: 100%; height: 52px; margin-top: 8px; padding: 0 15px; border: 1px solid var(--line); border-radius: 4px; outline: none; background: var(--paper); color: var(--ink); }
input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,91,255,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.45; }
.consent input { accent-color: var(--blue); margin-top: 2px; }
.consent-hint { margin: -2px 0 10px 28px; color: #b94d3d; font-size: 12px; line-height: 1.4; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-error { min-height: 20px; margin: 0 0 8px; color: #b94d3d; font-size: 12px; }
.success-state { text-align: center; }
.success-icon { width: 58px; height: 58px; margin: 0 auto 24px; font-size: 23px; }
.success-state h2 { margin-bottom: 16px; }
.success-state p:not(.section-kicker) { color: var(--muted); line-height: 1.65; }
.calendar-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 4px 0 18px; text-decoration: none; }
.calendar-link svg { width: 17px; height: 17px; }

@media (max-width: 800px) {
  .booking-shell { display: block; }
  .intro { min-height: 0; padding: 22px 24px 28px; }
  .intro-copy { padding: 34px 0 22px; }
  h1 { font-size: clamp(40px, 12vw, 62px); }
  .lead { font-size: 15px; }
  .intro-note { padding-top: 18px; }
  .intro-benefits { gap: 12px; }
  .booking-panel { width: 100%; padding: 32px 24px 44px; }
}

@media (max-width: 430px) {
  .panel-header { gap: 12px; margin-bottom: 24px; }
  .step-count { font-size: 11px; }
  .date-list { grid-template-columns: repeat(7, minmax(38px, 1fr)); gap: 4px; }
  .date-option { min-height: 70px; padding-inline: 2px; }
  .date-option .day { font-size: 18px; }
  .slot-list { grid-template-columns: 1fr; }
}
