:root {
  --booking-ink: #101a2b;
  --booking-muted: #637086;
  --booking-line: #dce3ec;
  --booking-navy: #111c2c;
  --booking-blue: #075cca;
  --booking-cyan: #12a8d7;
  --booking-green: #067647;
  --booking-red: #b42318;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: #eef3f8; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(18, 168, 215, .12), transparent 24rem),
    linear-gradient(135deg, #f7f9fc 0%, #eef3f8 100%);
  color: var(--booking-ink);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button, input, textarea { font: inherit; }

.booking-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: var(--booking-navy);
  color: #fff;
}

.booking-header img { display: block; width: min(250px, 48vw); height: auto; }
.booking-header span { color: #b7c4d5; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

.booking-layout {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, .7fr) minmax(520px, 1.3fr);
  gap: clamp(30px, 5vw, 76px);
  align-items: start;
  padding: clamp(46px, 7vw, 86px) 0;
}

.booking-intro { position: sticky; top: 34px; padding: 10px 0; }
.booking-intro h1 { margin: 0; max-width: 12ch; font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.055em; }
.booking-intro > p { max-width: 39ch; margin: 20px 0 0; color: var(--booking-muted); font-size: 16px; }
.booking-points { display: grid; gap: 14px; margin: 31px 0 0; padding: 0; list-style: none; }
.booking-points li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: #39475a; font-size: 13px; }
.booking-points li::before { content: "✓"; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #dff7ea; color: var(--booking-green); font-size: 12px; font-weight: 900; }
.booking-warning { display: grid; gap: 4px; margin-top: 26px; padding: 15px 16px; border-left: 4px solid #e7a500; border-radius: 0 8px 8px 0; background: #fff8dc; color: #584300; }
.booking-warning b { font-size: 12px; text-transform: uppercase; letter-spacing: .035em; }
.booking-warning span { font-size: 11px; line-height: 1.5; }
.booking-scope { margin: 22px 0 0 !important; padding-top: 19px; border-top: 1px solid #dbe2ea; color: #556277 !important; font-size: 11px !important; }

.booking-card {
  overflow: hidden;
  border: 1px solid var(--booking-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(17, 28, 44, .12);
}

.booking-card-head { padding: 28px 30px 22px; border-bottom: 1px solid #e7ebf0; }
.booking-card-head span { color: var(--booking-blue); font-size: 10px; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.booking-card-head h2 { margin: 5px 0 0; font-size: 25px; letter-spacing: -.035em; }
.booking-card-head p { margin: 7px 0 0; color: var(--booking-muted); font-size: 12px; }
.booking-form { padding: 26px 30px 30px; }

.booking-details { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.booking-details label { display: grid; gap: 7px; color: #425067; font-size: 11px; font-weight: 800; }
.booking-details label:last-child { grid-column: 1 / -1; }
.booking-details label span { color: var(--booking-muted); font-weight: 600; }
.booking-details input, .booking-details textarea {
  width: 100%;
  border: 1px solid #bdc8d5;
  border-radius: 8px;
  background: #fff;
  color: var(--booking-ink);
  font-size: 15px;
}
.booking-details input { min-height: 48px; padding: 0 13px; }
.booking-details textarea { min-height: 96px; padding: 12px 13px; resize: vertical; }
.booking-details input:focus, .booking-details textarea:focus { outline: 3px solid rgba(7, 92, 202, .13); border-color: var(--booking-blue); }

.slot-groups { display: grid; gap: 17px; }
.slot-day { overflow: hidden; border: 1px solid var(--booking-line); border-radius: 11px; }
.slot-day > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 13px 15px; background: #f6f9fc; }
.slot-day > header strong { font-size: 13px; }
.slot-day > header span { color: var(--booking-muted); font-size: 10px; }
.slot-day > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px; }

.slot-choice { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; min-height: 72px; padding: 12px 13px; border: 1px solid #d8dee7; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease, transform .16s ease; }
.slot-choice:hover { border-color: var(--booking-blue); box-shadow: 0 8px 20px rgba(7, 92, 202, .1); transform: translateY(-1px); }
.slot-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.slot-choice:has(input:focus-visible) { outline: 3px solid rgba(7, 92, 202, .2); outline-offset: 2px; }
.slot-choice:has(input:checked) { border-color: var(--booking-blue); background: #edf6ff; box-shadow: inset 0 0 0 1px var(--booking-blue); }
.slot-choice strong { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--booking-blue); font-size: 19px; }
.slot-choice b { align-self: end; font-size: 11px; }
.slot-choice span { color: var(--booking-muted); font-size: 10px; }

.booking-submit { width: 100%; min-height: 52px; margin-top: 24px; border: 0; border-radius: 9px; background: linear-gradient(90deg, var(--booking-blue), #0878da); color: #fff; font-size: 13px; font-weight: 850; cursor: pointer; box-shadow: 0 12px 24px rgba(7, 92, 202, .2); }
.booking-submit:hover { filter: brightness(1.05); }
.booking-submit:focus-visible { outline: 3px solid rgba(7, 92, 202, .3); outline-offset: 3px; }

.booking-message { margin: 28px 30px 30px; padding: 24px; border-radius: 11px; }
.booking-message b { display: block; margin-bottom: 7px; font-size: 21px; }
.booking-message.error { background: #fff0f1; color: var(--booking-red); }
.booking-message.success { background: #ecfdf3; color: var(--booking-green); }
.booking-empty { margin: 28px 30px 30px; padding: 34px 24px; border: 1px dashed #b9c4d1; border-radius: 11px; background: #f9fbfd; color: var(--booking-muted); text-align: center; }
.booking-empty b { display: block; margin-bottom: 6px; color: var(--booking-ink); font-size: 14px; }
.booking-footer { padding: 20px; color: #728095; font-size: 10px; text-align: center; }
.booking-trap { position: absolute; left: -9999px; }

@media (max-width: 900px) {
  .booking-layout { grid-template-columns: 1fr; gap: 28px; width: min(760px, calc(100% - 32px)); padding: 38px 0 56px; }
  .booking-intro { position: static; display: grid; grid-template-columns: 1fr .8fr; gap: 24px; align-items: end; }
  .booking-intro h1 { max-width: 15ch; font-size: clamp(36px, 7vw, 54px); }
  .booking-intro > p { grid-column: 1; }
  .booking-points { grid-column: 2; grid-row: 1 / 3; margin: 0; }
}

@media (max-width: 620px) {
  body { background: #fff; }
  .booking-header { min-height: 70px; padding: 14px 17px; }
  .booking-header img { width: min(205px, 59vw); }
  .booking-header span { max-width: 90px; font-size: 9px; line-height: 1.3; text-align: right; }
  .booking-layout { width: 100%; gap: 20px; padding: 29px 0 0; }
  .booking-intro { display: block; padding: 0 18px; }
  .booking-intro h1 { font-size: clamp(34px, 11vw, 46px); }
  .booking-intro > p { margin-top: 14px; font-size: 14px; }
  .booking-points { gap: 10px; margin-top: 22px; }
  .booking-card { border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0; box-shadow: none; }
  .booking-card-head { padding: 23px 18px 18px; }
  .booking-card-head h2 { font-size: 22px; }
  .booking-form { padding: 20px 16px 26px; }
  .booking-details { grid-template-columns: 1fr; gap: 13px; }
  .booking-details label:last-child { grid-column: auto; }
  .booking-details input, .booking-details textarea { font-size: 16px; }
  .slot-day > div { grid-template-columns: 1fr; }
  .slot-choice { min-height: 68px; }
  .booking-submit { min-height: 54px; }
  .booking-message, .booking-empty { margin: 20px 16px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .slot-choice { transition: none; }
  .slot-choice:hover { transform: none; }
}
