/* A warm, quiet booking surface that matches the rest of Casalicia. */
.enquire {
  min-height: 100svh;
  padding: clamp(115px, 12vh, 175px) clamp(28px, 6vw, 96px) clamp(105px, 12vh, 170px);
  border-top: 1px solid var(--line);
  background: var(--ivory);
  color: var(--ink);
}
.enquire::after { display: none; }
.enquire-layout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(48px, 8vw, 140px);
  max-width: 1380px;
}
.enquire-heading { align-items: flex-start; padding: 50px 0 0; text-align: left; }
.enquire-heading .eyebrow { color: var(--sage); }
.enquire h2 {
  max-width: 590px;
  margin: 26px 0 28px;
  font-size: clamp(60px, 6.2vw, 94px);
  line-height: .98;
}
.enquire-heading p { max-width: 450px; color: var(--taupe); font-size: 18px; line-height: 1.55; }
.contact-details { align-items: flex-start; gap: 12px; margin-top: 38px; }
.contact-details__label { color: var(--sage); }
.contact-details__phones a,
.contact-details__social { border-color: rgba(52, 54, 47, .5); }
.contact-details__phones a:hover,
.contact-details__social:hover { border-color: var(--ink); }

.enquiry-form {
  max-width: 650px;
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid #ded5c9;
  background: #eee8df;
  box-shadow: 0 26px 70px rgba(67, 53, 38, .06);
}
.form-row { gap: 8px; margin-bottom: 19px; }
.form-row label { color: var(--ink); }
.form-row label span { color: #857a6d; }
.form-row input,
.form-row textarea {
  min-height: 43px;
  border-bottom-color: #b5a99a;
  color: var(--ink);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: #8f887e; }
.form-row input:focus,
.form-row textarea:focus { border-bottom-color: var(--ink); }
.form-hint,
.form-note { color: #746b60; }
.form-submit { min-height: 60px; background: var(--ink); color: var(--ivory); }
.form-submit:hover { background: #55594c; }

.booking-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: min(92dvh, 980px);
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid #ded5c9;
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 32px 100px rgba(31, 34, 29, .26);
  color: var(--ink);
}
.booking-dialog::backdrop { background: rgba(35, 38, 33, .64); backdrop-filter: blur(5px); }
.booking-dialog__close {
  border-color: #c5b9a9;
  background: #eee8df;
  color: var(--ink);
}
.booking-dialog__close:hover { background: #e2d8ca; }
.booking-dialog__intro { max-width: 630px; }
.booking-dialog__intro .eyebrow { color: var(--sage); }
.booking-dialog__intro p { color: var(--taupe); }
.booking-dialog .enquiry-form { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }

/* Check-in and check-out are one deliberate range selection. */
.form-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 5px 0 20px; }
.date-field {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 72px;
  padding: 13px 45px 12px 17px;
  border: 1px solid #c8bcad;
  border-radius: 10px;
  background: #faf7f2;
  color: var(--ink);
  text-align: left;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.date-field:hover { border-color: var(--wood); background: #fffdf9; }
.date-field:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.date-field.has-date { border-color: var(--wood); }
.date-field__label {
  margin-bottom: 6px;
  color: #746b60;
  font: 700 10px/1.2 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.date-field__value { overflow: hidden; max-width: 100%; font: 400 18px/1.2 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.date-field__icon { position: absolute; top: 50%; right: 16px; width: 20px; height: 20px; transform: translateY(-50%); color: #857662; }
.date-error { margin: -8px 0 18px; color: #9c4737; font: 600 12px/1.4 var(--sans); }

.date-dialog {
  width: min(840px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: clamp(24px, 3.2vw, 38px);
  overflow-y: auto;
  border: 1px solid #ddd2c4;
  border-radius: 18px;
  background: #faf7f2;
  box-shadow: 0 35px 100px rgba(26, 31, 26, .3);
  color: var(--ink);
}
.date-dialog::backdrop { background: rgba(28, 31, 27, .58); backdrop-filter: blur(4px); }
.date-dialog__top { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; }
.date-dialog__eyebrow { color: var(--sage); font: 700 10px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.date-dialog__top h2 { margin: 10px 0 6px; font: 400 clamp(34px, 4vw, 48px)/1.04 Georgia, serif; letter-spacing: -.045em; }
.date-dialog__top p { margin: 0; color: var(--taupe); font: 400 15px/1.45 Georgia, serif; }
.date-dialog__close,
.date-dialog__navigation button {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d4c7b8;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 22px;
}
.date-dialog__close:hover,
.date-dialog__navigation button:hover:not(:disabled) { background: #ede5d9; }
.date-dialog__navigation button:disabled { opacity: .28; cursor: default; }
.date-dialog__selection { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 28px 0 22px; }
.date-dialog__selection-item { min-width: 0; padding: 14px 17px; border: 1px solid #d7cbbd; border-radius: 10px; background: #f1ebe2; }
.date-dialog__selection-item.is-active { border-color: var(--wood); background: #fffdf9; }
.date-dialog__selection-item span { display: block; margin-bottom: 6px; color: #756c61; font: 700 10px/1.2 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.date-dialog__selection-item strong { display: block; overflow: hidden; font: 400 19px/1.2 Georgia, serif; text-overflow: ellipsis; white-space: nowrap; }
.date-dialog__navigation { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.date-dialog__nav-label { color: #7a7065; font: 600 11px/1.2 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.date-dialog__months { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 4vw, 42px); }
.calendar-month h3 { margin: 0 0 17px; text-align: center; font: 400 23px/1.2 Georgia, serif; }
.calendar-weekdays,
.calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays span { padding-bottom: 11px; color: #7b756d; text-align: center; font: 700 10px/1.2 var(--sans); }
.calendar-day,
.calendar-empty { display: grid; place-items: center; width: 100%; height: 42px; }
.calendar-day { position: relative; border: 0; border-radius: 50%; background: transparent; color: var(--ink); font: 500 13px/1 var(--sans); }
.calendar-day:hover:not(:disabled):not(.is-start):not(.is-end) { background: #e5d8c8; }
.calendar-day:disabled { color: #bdb6ac; cursor: default; }
.calendar-day.is-today:not(.is-start):not(.is-end) { outline: 1px solid var(--wood); outline-offset: -5px; }
.calendar-day.is-in-range { border-radius: 0; background: #e9dfd1; }
.calendar-day.is-start,
.calendar-day.is-end { background: var(--ink); color: #fff; }
.calendar-day:focus-visible { z-index: 1; outline: 2px solid var(--gold); outline-offset: -2px; }
.date-dialog__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid #ded5c9; }
.date-dialog__clear { padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); font: 700 11px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.date-dialog__footer > span { margin-left: auto; color: var(--taupe); font: 400 15px/1.3 Georgia, serif; white-space: nowrap; }
.date-dialog__done { min-width: 100px; padding: 13px 20px; border: 0; border-radius: 8px; background: var(--ink); color: #fff; font: 700 11px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.date-dialog__done:disabled { opacity: .35; cursor: default; }
.date-dialog__done:hover:not(:disabled) { background: #55594c; }

@media (max-width: 900px) {
  .enquire-layout { gap: 40px; }
  .enquire-heading { padding-top: 25px; }
  .enquiry-form { padding: 34px; }
}
@media (max-width: 700px) {
  .enquire { min-height: 0; padding: 105px 24px 110px; }
  .enquire-layout { display: block; }
  .enquire-heading { align-items: flex-start; padding: 0; text-align: left; }
  .enquire h2 { margin: 22px 0; font-size: clamp(58px, 12vw, 78px); }
  .enquire-heading p { font-size: 17px; }
  .contact-details { align-items: flex-start; margin-top: 27px; }
  .enquiry-form { max-width: 520px; margin: 54px auto 0; padding: 30px 24px; border: 1px solid #ded5c9; }
  .booking-dialog { width: 100%; height: 100dvh; max-height: 100dvh; padding: 72px 24px 32px; border: 0; border-radius: 0; }
  .booking-dialog .enquiry-form { margin: 0; padding: 0; border: 0; }
  .date-dialog { width: 100%; height: 100dvh; max-height: 100dvh; padding: 26px 22px 30px; border: 0; border-radius: 0; }
  .date-dialog__months { grid-template-columns: minmax(0, 1fr); }
  .calendar-month + .calendar-month { display: none; }
}
@media (max-width: 420px) {
  .enquire { padding-left: 20px; padding-right: 20px; }
  .enquiry-form { padding: 26px 20px; }
  .form-dates { gap: 8px; }
  .date-field { min-height: 70px; padding: 12px 27px 11px 12px; }
  .date-field__value { font-size: 16px; }
  .date-field__icon { right: 10px; width: 17px; height: 17px; }
  .date-dialog__selection-item { padding: 12px; }
  .date-dialog__selection-item strong { font-size: 16px; }
  .date-dialog__footer { flex-wrap: wrap; }
  .date-dialog__footer > span { margin-left: 0; }
}
