/* Post-Yandex booking modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(10, 10, 10, .64);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.booking-modal[hidden] { display: none; }

.booking-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(26px, 4vw, 42px);
  border-top: 3px solid var(--accent, #A64B2A);
  background: var(--paper, #F2EDE4);
  color: var(--ink, #121110);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .6);
}

.booking-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line, rgba(18, 17, 16, .16));
  border-radius: 50%;
  background: transparent;
  color: var(--ink, #121110);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.booking-modal__eyebrow {
  color: var(--accent, #A64B2A);
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: .5625rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.booking-modal h2 {
  margin: 10px 0 10px;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.booking-modal__desc {
  margin-bottom: 22px;
  color: var(--muted, #6f6860);
  font-size: .9375rem;
  line-height: 1.6;
}

.booking-field {
  display: block;
  margin-bottom: 14px;
}

.booking-field span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted, #6f6860);
  font-family: var(--mono, "JetBrains Mono", monospace);
  font-size: .5625rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.booking-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong, #8f887e);
  border-radius: 0;
  background: var(--paper-2, #e7e0d5);
  color: var(--ink, #121110);
  font-family: var(--sans, "Onest", sans-serif);
  font-size: 1rem;
}

.booking-field input:focus {
  outline: 2px solid var(--accent, #A64B2A);
  outline-offset: 1px;
}

.booking-submit {
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 1px solid var(--accent, #A64B2A);
  border-radius: 999px;
  background: var(--accent, #A64B2A);
  color: var(--on-accent, #F2EDE4);
  font-family: var(--sans, "Onest", sans-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.booking-submit:hover { background: var(--accent-ink, #8f3f23); }
.booking-submit:disabled { opacity: .6; cursor: wait; }

.booking-status {
  margin-top: 12px;
  color: var(--accent, #A64B2A);
  font-size: .8125rem;
  line-height: 1.5;
}

.booking-note {
  margin-top: 12px;
  color: var(--muted, #6f6860);
  font-size: .6875rem;
  line-height: 1.5;
}

.booking-note a { color: var(--accent, #A64B2A); }

.booking-success strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--display, "Cormorant Garamond", serif);
  font-size: 1.6rem;
  font-weight: 500;
}

.booking-success p {
  margin-bottom: 18px;
  color: var(--muted, #6f6860);
  line-height: 1.6;
}

body.booking-open { overflow: hidden; }

@media (max-width: 480px) {
  .booking-modal { padding: 10px; }
  .booking-modal__dialog { padding: 24px 18px; max-height: calc(100dvh - 20px); }
  .booking-modal h2 { font-size: 1.8rem; }
  .booking-field input { min-height: 46px; }
}
