.booking-cta {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 620px;
  background: var(--cream);
}

.booking-cta-image { overflow: hidden; }
.booking-cta-image img { height: 100%; object-fit: cover; }

.booking-cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 9vw;
}

.booking-cta-copy h2,
.modal-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.035em;
}

.booking-cta-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 28px 0;
  color: #59645f;
}

.booking-modal {
  width: min(94vw, 1180px);
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 35px 100px rgba(4, 13, 9, .4);
  overflow: hidden;
}

.booking-modal::backdrop {
  background: rgba(9, 18, 15, .78);
  backdrop-filter: blur(9px);
}

.booking-modal-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  height: min(700px, 94dvh);
  min-height: 0;
}

.booking-modal-aside {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(18, 35, 28, .55), rgba(18, 35, 28, .96)), url('../images/house-2-facade.jpg') center / cover;
  color: #fff;
}

.booking-modal-aside h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 400;
  line-height: .92;
}

.booking-modal-aside .contact-list { margin-top: 20px; font-size: 14px; color: rgba(255,255,255,.8); }

.modal-assurance {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.modal-assurance > span {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
}

.modal-assurance p,
.modal-assurance small { display: block; margin: 0; }
.modal-assurance strong { font-size: 13px; }
.modal-assurance small { margin-top: 4px; color: rgba(255,255,255,.6); font-size: 11px; }

.booking-modal-content {
  min-width: 0;
  padding: 28px 38px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.booking-modal-content::-webkit-scrollbar { display: none; }
.modal-heading { margin-bottom: 14px; }
.modal-heading .eyebrow { margin-bottom: 8px; }
.modal-heading h2 { font-size: 40px; }
.modal-heading > p:not(.eyebrow) { margin: 8px 0 0; color: #64706b; font-size: 12px; line-height: 1.4; }

.booking-modal button {
  position: static;
  width: auto;
  height: auto;
  border-radius: 999px;
  font-size: 13px;
}

.booking-modal .modal-close {
  position: fixed;
  right: max(4vw, calc((100vw - 1180px) / 2 + 18px));
  top: calc(3vh + 18px);
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(24,35,31,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.booking-modal .booking-form { gap: 8px 18px; }
.booking-modal .field { gap: 3px; }
.booking-modal .field label { font-size: 9px; }
.booking-modal .field input,
.booking-modal .field select,
.booking-modal .field textarea { padding: 6px 0; }
.booking-modal .field textarea { height: 42px; min-height: 42px; resize: none; }
.booking-modal .consent { font-size: 10px; line-height: 1.3; }
.booking-modal .form-footer { margin-top: 2px; }
.booking-modal .form-footer .button { min-height: 42px; padding: 0 20px; }

/* Desktop: full, single-screen booking experience. */
@media (min-width: 861px) and (min-height: 760px) {
  .booking-modal {
    width: calc(100vw - 24px);
    max-width: none;
    height: calc(100dvh - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: 0;
  }

  .booking-modal-layout {
    grid-template-columns: minmax(320px, 25vw) minmax(0, 1fr);
    height: 100%;
  }

  .booking-modal-aside {
    padding: 30px 28px;
  }

  .booking-modal-aside h2 {
    font-size: clamp(58px, 5vw, 76px);
  }

  .booking-modal-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 12px clamp(44px, 4vw, 72px) 10px;
    overflow: hidden;
  }

  .booking-modal-content > .modal-heading {
    flex: 0 0 auto;
    margin-bottom: 14px;
  }

  .modal-heading .eyebrow {
    margin-bottom: 6px;
  }

  .modal-heading h2 {
    font-size: clamp(48px, 4vw, 62px);
  }

  .modal-heading > p:not(.eyebrow) {
    margin-top: 8px;
    font-size: 15px;
  }

  .booking-modal .modal-close {
    top: 20px;
    right: 20px;
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
}

@media (min-width: 861px) and (max-height: 759px) {
  .booking-modal {
    width: calc(100vw - 16px);
    max-width: none;
    height: calc(100dvh - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 0;
  }

  .booking-modal-layout {
    grid-template-columns: minmax(260px, 30vw) minmax(0, 1fr);
    height: 100%;
  }

  .booking-modal-aside {
    padding: 18px 28px;
  }

  .booking-modal-aside h2 {
    font-size: 42px;
  }

  .booking-modal-content {
    display: flex;
    min-height: 0;
    flex-direction: column;
    padding: 8px 38px 7px;
    overflow: hidden;
  }

  .booking-modal-content > .modal-heading {
    flex: 0 0 auto;
    margin-bottom: 7px;
  }

  .modal-heading .eyebrow {
    margin-bottom: 3px;
  }

  .modal-heading h2 {
    font-size: 36px;
  }

  .modal-heading > p:not(.eyebrow) {
    margin-top: 4px;
    font-size: 10px;
  }

  .booking-modal .modal-close {
    top: 18px;
    right: 18px;
  }
}

@media (max-width: 860px) {
  .booking-cta { grid-template-columns: 1fr; }
  .booking-cta-image { height: 440px; }
  .booking-cta-copy { padding: 75px 8vw; }
  .booking-modal-layout { grid-template-columns: 220px minmax(0, 1fr); height: min(680px, 94dvh); }
  .booking-modal-aside { min-height: 0; padding: 28px 22px; }
  .booking-modal-aside h2 { font-size: 39px; }
  .booking-modal-aside .modal-assurance { display: none; }
  .booking-modal-content { padding: 24px 26px 20px; }
}

@media (max-width: 600px) {
  .booking-cta-image { height: 320px; }
  .booking-cta-copy { padding: 64px 22px; }
  .booking-modal { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; }
  .booking-modal-layout { grid-template-columns: 1fr; grid-template-rows: 62px minmax(0, 1fr); height: 100%; min-height: 0; }
  .booking-modal-aside { min-height: 0; padding: 10px 58px 10px 18px; justify-content: center; }
  .booking-modal-aside > div:first-child { display: flex; align-items: baseline; gap: 10px; }
  .booking-modal-aside .eyebrow { margin: 0; font-size: 9px; }
  .booking-modal-aside h2 { margin: 0; font-size: 25px; line-height: 1; }
  .booking-modal-aside h2 br { display: none; }
  .booking-modal-aside .contact-list { display: none; }
  .booking-modal-content { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .modal-heading { margin-bottom: 8px; }
  .modal-heading .eyebrow { margin-bottom: 3px; font-size: 9px; }
  .modal-heading h2 { font-size: 30px; line-height: 1; }
  .modal-heading > p:not(.eyebrow) { margin-top: 4px; font-size: 10px; line-height: 1.3; }
  .booking-modal .booking-form { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
  .booking-modal .field { grid-column: auto; gap: 1px; }
  .booking-modal .field-wide { grid-column: 1 / -1; }
  .booking-modal .field label { font-size: 8px; letter-spacing: .06em; }
  .booking-modal .field input,
  .booking-modal .field select,
  .booking-modal .field textarea { padding: 4px 0; font-size: 16px; line-height: 1.15; }
  .booking-modal .field textarea { height: 32px; min-height: 32px; }
  .booking-modal .consent { grid-column: 1 / -1; gap: 7px; font-size: 9px; line-height: 1.2; }
  .booking-modal .consent input { margin-top: 1px; }
  .booking-modal .form-footer { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 10px; margin-top: 0; }
  .booking-modal .form-footer .button { min-height: 38px; padding: 0 16px; font-size: 11px; }
  .booking-modal .estimate { font-size: 17px; }
  .booking-modal .estimate small { font-size: 8px; }
  .booking-modal .form-status { grid-column: 1 / -1; padding: 8px 10px; font-size: 10px; }
  .booking-modal .modal-close { position: fixed; top: 10px; right: 10px; width: 38px; height: 38px; }
}

@media (max-height: 690px) and (max-width: 600px) {
  .booking-modal-layout { grid-template-rows: 52px minmax(0, 1fr); }
  .booking-modal-aside { padding-top: 7px; padding-bottom: 7px; }
  .booking-modal-aside h2 { font-size: 22px; }
  .booking-modal-content { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .modal-heading > p:not(.eyebrow) { font-size: 9px; }
  .booking-modal .booking-form { gap: 3px 9px; }
  .booking-modal .field textarea { height: 28px; min-height: 28px; }
}

@media (max-height: 500px) and (min-width: 601px) {
  .booking-modal {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .booking-modal-layout {
    grid-template-columns: 180px minmax(0, 1fr);
    height: 100%;
  }

  .booking-modal-aside {
    padding: 16px 14px;
  }

  .booking-modal-aside h2 {
    font-size: 29px;
  }

  .booking-modal-aside .modal-assurance {
    display: none;
  }

  .booking-modal-aside .contact-list {
    margin-top: 8px;
    font-size: 11px;
  }

  .booking-modal-content {
    padding: 9px 18px;
  }

  .modal-heading {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 2px;
    align-items: baseline;
    margin-bottom: 6px;
  }

  .modal-heading .eyebrow,
  .modal-heading h2,
  .modal-heading > p:not(.eyebrow) {
    margin: 0;
  }

  .modal-heading h2 {
    flex: 0 0 auto;
    font-size: 25px;
  }

  .modal-heading > p:not(.eyebrow) {
    flex: 1 0 100%;
    font-size: 9px;
    line-height: 1.2;
  }

  .booking-modal .booking-form {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px 12px;
  }

  .booking-modal .field {
    grid-column: auto;
    gap: 1px;
  }

  .booking-modal .booking-form > .field:first-of-type {
    grid-column: 1 / 3;
  }

  .booking-modal .booking-form > .field.field-wide:not(:first-of-type) {
    grid-column: 1 / -1;
  }

  .booking-modal .field label {
    font-size: 8px;
  }

  .booking-modal .field input,
  .booking-modal .field select,
  .booking-modal .field textarea {
    padding: 3px 0;
    font-size: 16px;
    line-height: 1.1;
  }

  .booking-modal .field textarea {
    height: 28px;
    min-height: 28px;
  }

  .booking-modal .consent {
    grid-column: 1 / 3;
    gap: 6px;
    font-size: 8px;
  }

  .booking-modal .form-footer {
    grid-column: 3 / 5;
    flex-direction: row;
    gap: 8px;
    margin: 0;
  }

  .booking-modal .form-footer .button {
    min-height: 34px;
    padding: 0 13px;
    font-size: 10px;
  }

  .booking-modal .estimate {
    font-size: 15px;
  }

  .booking-modal .form-status {
    grid-column: 1 / -1;
    padding: 6px 8px;
    font-size: 9px;
  }

  .booking-modal .modal-close {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }
}
