body.booking-page {
  background:
    radial-gradient(circle at 54% 18%, rgba(20, 129, 156, 0.16), transparent 34%),
    radial-gradient(circle at 82% 72%, rgba(29, 96, 185, 0.14), transparent 28%),
    #020a0d;
}

body.booking-page .hero.booking-hero {
  background: transparent !important;
  padding: clamp(72px, 8vh, 94px) 0 18px !important;
  min-height: auto !important;
}

body.booking-page .hero.booking-hero .container,
body.booking-page .booking-hero .bookingcontainer,
body.booking-page .hero .bookingcontainer.booking-shell {
  display: block !important;
  width: min(1278px, calc(100vw - 158px)) !important;
  max-width: 1278px !important;
  margin: 0 auto !important;
  padding-inline: clamp(16px, 1.8vw, 24px) !important;
}

.booking-shell {
  width: min(1278px, calc(100vw - 158px));
}

.booking-page-outro {
  width: 100%;
  max-width: 1008px !important;
  margin: 12px auto 0 !important;
  text-align: center;
}

.booking-eyebrow {
  margin: 0 0 0.28rem;
  color: #67e8f9;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.booking-page-title {
  margin: 0 auto;
  max-width: none;
  color: #edf8ff;
  font-size: clamp(1.5rem, 2.45vw, 2.56rem);
  line-height: 1.02;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: bookingTextReveal 0.82s cubic-bezier(.2,.8,.2,1) both;
}

.booking-page-subtitle {
  margin: 0.45rem auto 0;
  max-width: 882px;
  color: rgba(219, 241, 250, 0.78);
  font-size: 0.8rem;
  line-height: 1.42;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: bookingTextReveal 0.82s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: 0.1s;
}

.booking-grid {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  height: min(630px, 72vh);
  max-height: 72vh;
}

.booking-panel {
  position: relative;
  display: flex;
  flex-direction: row;
  min-width: 0;
  min-height: 0;
  max-height: 95vh;
  padding: 0;
  overflow: hidden;
  clip-path: polygon(4% 0, 100% 0, 100% 92%, 96% 100%, 0 100%, 0 8%);
  background: linear-gradient(180deg, rgba(255,255,255,0.11), rgba(14,24,30,0.74));
  border: 1px solid rgba(103, 232, 249, 0.15);
  box-shadow: 0 24px 66px rgba(5, 16, 21, 0.34);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    flex-basis 460ms cubic-bezier(.2,.8,.2,1),
    transform 420ms cubic-bezier(.2,.8,.2,1),
    opacity 0.72s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  transition-delay: var(--panel-delay, 0ms);
}

.booking-panel.is-entered {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.booking-panel:hover,
.booking-panel:focus-within {
  box-shadow: 0 30px 78px rgba(6, 18, 24, 0.42), 0 0 0 1px rgba(110, 231, 255, 0.14) inset;
}

.booking-panel[data-distance="0"] {
  flex: 1 1 56%;
  border-color: rgba(103, 232, 249, 0.24);
}

.booking-panel[data-distance="1"] {
  flex: 0 0 137px;
}

.booking-panel[data-distance="2"] {
  flex: 0 0 106px;
}

.booking-panel[data-distance="3"] {
  flex: 0 0 83px;
}

.booking-panel-handle {
  display: flex;
  flex: 0 0 78px;
  min-width: 78px;
  width: 78px;
  height: 100%;
  padding: 18px 12px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #dff7ff;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-transform: uppercase;
  cursor: pointer;
}

.booking-panel-handle-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2rem;
  border: 1px solid rgba(103, 232, 249, 0.28);
  color: #67e8f9;
  font-size: 0.78rem;
  font-weight: 800;
}

.booking-panel-handle-title {
  color: #effbff;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.booking-panel-handle-copy {
  color: rgba(221, 242, 255, 0.68);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-panel[data-distance="2"] .booking-panel-handle-title,
.booking-panel[data-distance="3"] .booking-panel-handle-title,
.booking-panel[data-distance="2"] .booking-panel-handle-copy,
.booking-panel[data-distance="3"] .booking-panel-handle-copy {
  opacity: 0.82;
}

.booking-panel-shell {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 260ms ease, transform 340ms ease;
}

.booking-panel.is-active .booking-panel-shell {
  opacity: 1;
  transform: translateX(0);
}

.booking-panel:not(.is-active) .booking-panel-shell {
  opacity: 0;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

.booking-panel-shell-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-height: 0;
  padding: 13px 13px 11px;
  overflow: hidden;
}

.booking-panel-copy {
  flex: 0 0 auto;
}

.booking-panel-heading {
  margin: 0;
  color: #f1fbff;
  font-size: 0.92rem;
  font-weight: 800;
}

.booking-panel-note {
  margin: 0.32rem 0 0;
  color: rgba(220, 241, 250, 0.72);
  font-size: 0.66rem;
  line-height: 1.38;
}

.booking-panel-form {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.booking-fields-scroll,
.booking-calendar-stage,
.booking-time-stage {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.booking-fields-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, 0.45) rgba(7, 17, 24, 0.18);
}

.booking-fields-scroll--split {
  overflow: hidden;
  padding-right: 0;
}

.booking-qualification-substeps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  flex: 0 0 auto;
}

.booking-qualification-substep {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid rgba(103, 232, 249, 0.18);
  background: rgba(6, 18, 24, 0.34);
  color: rgba(222, 244, 255, 0.72);
  clip-path: polygon(8% 0, 100% 0, 100% 78%, 92% 100%, 0 100%, 0 18%);
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.booking-qualification-substep:disabled {
  opacity: 0.55;
  cursor: default;
}

.booking-qualification-substep:not(:disabled):hover {
  transform: translateY(-1px);
  border-color: rgba(103, 232, 249, 0.42);
}

.booking-qualification-substep.is-active {
  background: rgba(16, 72, 92, 0.58);
  border-color: rgba(103, 232, 249, 0.48);
  color: #f3fbff;
}

.booking-qualification-substep.is-complete {
  background: rgba(22, 95, 120, 0.34);
  color: rgba(233, 248, 255, 0.88);
}

.booking-qualification-substep-index {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.booking-qualification-substep-label {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

.booking-qualification-sections {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(103, 232, 249, 0.45) rgba(7, 17, 24, 0.18);
}

.booking-qualification-section {
  display: none;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.booking-qualification-section.is-active {
  display: flex;
}

.booking-fields-scroll::-webkit-scrollbar,
.booking-qualification-sections::-webkit-scrollbar {
  width: 8px;
}

.booking-fields-scroll::-webkit-scrollbar-thumb,
.booking-qualification-sections::-webkit-scrollbar-thumb {
  background: rgba(103, 232, 249, 0.42);
}

.booking-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.booking-field-wrap--phone {
  gap: 7px;
}

.booking-field-label {
  color: #e9f7ff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.booking-input,
.booking-textarea,
.booking-check-option,
.booking-flow-btn,
.time-slot,
.booking-calendar-host,
.booking-phone-country,
.booking-phone-number {
  clip-path: polygon(8% 0, 100% 0, 100% 78%, 92% 100%, 0 100%, 0 18%);
}

.booking-input,
.booking-textarea,
.booking-phone-country,
.booking-phone-number {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 10px 13px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  color: #0f172a;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.38);
}

.booking-phone-shell {
  display: grid;
  grid-template-columns: minmax(92px, 0.9fr) minmax(0, 1.8fr);
  gap: 8px;
  align-items: stretch;
}

.booking-phone-country {
  padding-right: 28px;
  font-weight: 700;
}

.booking-phone-number {
  letter-spacing: 0.01em;
}

.booking-phone-hint {
  margin: 0;
  color: rgba(217, 240, 255, 0.58);
  font-size: 0.58rem;
  line-height: 1.35;
}

.booking-textarea {
  min-height: 116px;
}

.booking-input::placeholder,
.booking-textarea::placeholder,
.booking-phone-number::placeholder {
  color: #64748b;
  opacity: 1;
}

.booking-input:focus,
.booking-textarea:focus,
.booking-phone-country:focus,
.booking-phone-number:focus,
.booking-flow-btn:focus-visible,
.time-slot:focus-visible,
.booking-check-option:focus-within,
.booking-panel-handle:focus-visible {
  outline: 2px solid rgba(103, 232, 249, 0.94);
  outline-offset: 2px;
}

.booking-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.booking-check-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 10px 12px;
  color: #e8f6ff;
  background: rgba(11, 24, 39, 0.62);
  border: 1px solid rgba(110, 231, 255, 0.18);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.booking-check-option:hover,
.booking-check-option:focus-within {
  border-color: rgba(83, 230, 255, 0.56);
  background: rgba(22, 78, 99, 0.45);
  transform: translateY(-1px);
}

.booking-inline-error {
  color: #fecaca;
  font-size: 0.68rem;
  font-weight: 600;
}

.booking-input-error,
.booking-field-error .booking-check-option,
.booking-field-error .booking-phone-country,
.booking-field-error .booking-phone-number {
  border-color: rgba(251, 113, 133, 0.55) !important;
  box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.32);
}

.booking-calendar-host {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(103, 232, 249, 0.2);
  background: rgba(255,255,255,0.82);
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.35);
}

#inlineCalendar {
  min-height: 0;
  height: 100%;
}

#inlineCalendar .flatpickr-calendar,
#inlineCalendar .flatpickr-calendar.inline,
#inlineCalendar .flatpickr-innerContainer,
#inlineCalendar .flatpickr-rContainer,
#inlineCalendar .flatpickr-days,
#inlineCalendar .dayContainer {
  width: 100% !important;
  max-width: 100% !important;
}

#inlineCalendar .flatpickr-innerContainer,
#inlineCalendar .flatpickr-rContainer,
#inlineCalendar .flatpickr-days,
#inlineCalendar .dayContainer {
  flex: 1 1 100% !important;
}

#inlineCalendar .dayContainer {
  min-width: 100% !important;
}

.booking-time-stage-label {
  text-align: center;
}

.booking-time-grid,
#timeGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.time-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 61px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid transparent;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.38);
  color: #0f172a;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.time-slot:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.62), 0 10px 20px rgba(6, 78, 110, 0.16);
}

.time-slot.is-selected {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.94), rgba(34, 211, 238, 0.94));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(103, 232, 249, 0.55), 0 14px 28px rgba(14, 116, 144, 0.34);
}

.time-slot-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
}

.time-slot-meta {
  margin-top: 0.22rem;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.58);
}

.time-slot.is-selected .time-slot-meta {
  color: rgba(255,255,255,0.84);
}

.booking-time-context {
  margin-top: 4px;
  padding: 11px;
  background: rgba(8, 19, 29, 0.24);
  border: 1px solid rgba(103, 232, 249, 0.12);
}

.booking-timezone-label {
  color: #eaf7ff;
  font-size: 0.68rem;
  font-weight: 700;
}

.booking-timezone-hint {
  margin-top: 0.25rem;
  color: rgba(217, 240, 255, 0.64);
  font-size: 0.62rem;
  line-height: 1.45;
}

.booking-selection-label {
  margin-top: 0.55rem;
  color: #88e8fb;
  font-size: 0.62rem;
  font-weight: 700;
}

.booking-validation {
  padding: 0.66rem 0.78rem;
  color: #fee2e2;
  background: rgba(127, 29, 29, 0.3);
  border: 1px solid rgba(248, 113, 113, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
}

.booking-panel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.booking-action-spacer {
  flex: 1 1 auto;
}

.booking-flow-btn {
  min-height: 42px;
  min-width: 94px;
  padding: 0.64rem 0.92rem;
  border: 1px solid rgba(103, 232, 249, 0.24);
  color: #effbff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}

.booking-flow-btn:hover:not(:disabled) {
  transform: translateY(-1px);
}

.booking-flow-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.booking-flow-btn--ghost {
  background: rgba(9, 21, 30, 0.62);
}

.booking-flow-btn--primary,
.booking-flow-btn--submit {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.94), rgba(34, 211, 238, 0.94));
  box-shadow: 0 12px 22px rgba(7, 89, 133, 0.22);
}

@keyframes bookingTextReveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1480px) {
  body.booking-page .booking-hero .bookingcontainer,
  body.booking-page .hero .bookingcontainer.booking-shell {
    width: min(1170px, calc(100vw - 140px)) !important;
  }

  .booking-panel[data-distance="1"] {
    flex-basis: 128px;
  }

  .booking-panel[data-distance="2"] {
    flex-basis: 99px;
  }

  .booking-panel[data-distance="3"] {
    flex-basis: 78px;
  }
}

@media (max-width: 1240px) {
  body.booking-page .booking-hero {
    padding-top: 92px !important;
  }

  body.booking-page .booking-hero .bookingcontainer,
  body.booking-page .hero .bookingcontainer.booking-shell {
    width: min(100%, calc(100vw - 28px)) !important;
    padding-inline: 0 !important;
  }

  .booking-page-title,
  .booking-page-subtitle {
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  .booking-page-title {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
  }

  .booking-grid {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
    gap: 12px;
  }

  .booking-panel,
  .booking-panel[data-distance="0"],
  .booking-panel[data-distance="1"],
  .booking-panel[data-distance="2"],
  .booking-panel[data-distance="3"] {
    display: flex;
    flex-direction: column;
    flex: none;
    max-height: 95vh;
  }

  .booking-panel-handle,
  .booking-panel:not(.is-active) .booking-panel-handle,
  .booking-panel.is-active .booking-panel-handle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 68px;
    height: auto;
    padding: 16px 18px 14px;
    writing-mode: initial;
    transform: none;
  }

  .booking-panel-handle-title {
    font-size: 0.98rem;
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .booking-panel-handle-copy {
    display: block;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  .booking-panel-shell {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    overflow: hidden;
  }

  .booking-panel.is-active .booking-panel-shell {
    max-height: 1800px;
    opacity: 1;
    transform: translateY(0);
  }

  .booking-panel-shell-inner {
    padding-top: 0;
  }

  .booking-fields-scroll,
  .booking-fields-scroll--split,
  .booking-qualification-sections {
    overflow: visible;
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  body.booking-page .hero.booking-hero {
    padding-top: 82px !important;
  }

  .booking-page-outro {
    margin-top: 12px !important;
  }

  .booking-page-title {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
    line-height: 1.08;
  }

  .booking-page-subtitle {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .booking-panel-shell-inner {
    padding: 0 14px 14px;
  }

  .booking-qualification-substeps,
  .booking-check-grid,
  .booking-time-grid,
  #timeGrid,
  .booking-phone-shell {
    grid-template-columns: 1fr;
  }

  .booking-flow-btn,
  .booking-flow-btn--submit {
    min-width: 0;
    flex: 1 1 auto;
  }

  .booking-panel-actions {
    flex-wrap: wrap;
  }

  #inlineCalendar {
    min-height: 280px;
  }
}
