.booking {
  padding: 112px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(198,111,56,.10), transparent 28%),
    linear-gradient(180deg, #f3eee3 0%, #f8f6f0 100%);
}

.booking-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-radius: 30px 30px 0 0;
  background: #102c23 url('/assets/tara-booking-art-v1.webp') center/cover no-repeat;
  color: white;
}

.booking-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 24, 18, .92) 0%, rgba(5, 24, 18, .67) 35%, rgba(5, 24, 18, .06) 72%);
}

.booking-visual-copy {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 60px;
}

.booking-visual .eyebrow { color: #efa675; }
.booking-visual h2 {
  margin: 16px 0 20px;
  max-width: 620px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .9;
}
.booking-visual p { max-width: 540px; margin: 0; color: rgba(255,255,255,.74); font-size: 1.03rem; }
.booking-trust { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.booking-trust span { padding: 8px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); font-size: .76rem; font-weight: 750; backdrop-filter: blur(10px); }

.booking-shell {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border: 1px solid rgba(19,44,36,.11);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: #fff;
  box-shadow: 0 34px 90px rgba(11,27,22,.14);
}
.calendar-panel, .booking-form { min-width: 0; padding: 48px; }
.calendar-panel { scroll-margin-top: 104px; background: #fbfaf6; border-right: 1px solid rgba(19,44,36,.11); }
.booking-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.booking-panel-head > div:first-child { display: flex; align-items: center; gap: 13px; }
.booking-panel-head h3 { margin: 0; font-size: 2rem; font-weight: 500; letter-spacing: -.025em; }
.booking-step { display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; background: #17382e; color: #fff; font-size: .7rem; font-weight: 850; letter-spacing: .08em; }
.calendar-nav { display: flex; gap: 8px; }
.calendar-nav button { width: 40px; height: 40px; border: 1px solid rgba(19,44,36,.16); border-radius: 12px; background: #fff; color: #17382e; cursor: pointer; font-size: 1.4rem; line-height: 1; transition: .2s ease; }
.calendar-nav button:hover:not(:disabled) { background: #17382e; color: white; }
.calendar-nav button:disabled { opacity: .35; cursor: not-allowed; }
.calendar-loading { min-height: 290px; display: grid; place-items: center; color: #6f7c76; font-size: .9rem; }
.calendar-loading[hidden], .booking-calendars[hidden] { display: none; }
.booking-calendars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.booking-month { min-width: 0; }
.booking-month h4 { margin: 0 0 15px; text-align: center; font-family: Georgia, serif; font-size: 1.12rem; font-weight: 500; text-transform: capitalize; }
.booking-weekdays, .booking-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.booking-weekdays span { padding: 4px 0 8px; text-align: center; color: #89938e; font-size: .62rem; font-weight: 800; text-transform: uppercase; }
.calendar-day { position: relative; aspect-ratio: 1; min-width: 0; border: 0; border-radius: 10px; background: transparent; color: #1d312a; cursor: pointer; font-size: .8rem; transition: background .15s ease, color .15s ease, transform .15s ease; }
.calendar-day:hover:not(:disabled) { background: #e9eee9; transform: translateY(-1px); }
.calendar-day.today::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: #c66f38; }
.calendar-day.busy { color: #a6ada9; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(19,44,36,.045) 4px 6px); }
.calendar-day:disabled { color: #c0c5c2; cursor: not-allowed; opacity: .7; }
.calendar-day.range { border-radius: 5px; background: #dfe9e3; color: #17382e; }
.calendar-day.start, .calendar-day.end { border-radius: 10px; background: #17382e; color: white; font-weight: 800; text-decoration: none; }
.calendar-day.checkout-option.busy:not(:disabled) { color: #17382e; text-decoration: none; box-shadow: inset 0 0 0 1px #aab9b1; }
.calendar-blank { aspect-ratio: 1; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; color: #6f7b75; font-size: .72rem; }
.calendar-legend > span { display: inline-flex; align-items: center; gap: 7px; }
.calendar-legend i { width: 13px; height: 13px; border-radius: 4px; }
.legend-free { border: 1px solid rgba(19,44,36,.18); background: white; }
.legend-busy { background: repeating-linear-gradient(135deg,#e4e6e4 0 3px,#f4f4f1 3px 6px); }
.legend-selected { background: #17382e; }
.selected-stay { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center; margin-top: 24px; padding: 18px; border-radius: 16px; background: #17382e; color: white; }
.selected-stay > span { color: rgba(255,255,255,.45); }
.selected-stay small { display: block; color: rgba(255,255,255,.55); font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.selected-stay strong { display: block; margin-top: 2px; font-family: Georgia, serif; font-size: 1.05rem; font-weight: 500; }
.selected-stay div:last-child { text-align: right; }

.booking-form { align-self: stretch; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.form-field { display: block; color: #53635c; font-size: .875rem; font-weight: 780; }
.form-field > span { display: block; margin-bottom: 7px; }
.form-wide { grid-column: 1 / -1; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(19,44,36,.16); border-radius: 12px; outline: none; background: #fbfaf6; color: #17201d; font: inherit; font-size: .9rem; font-weight: 500; transition: border .2s, box-shadow .2s; }
.form-field input, .form-field select { height: 48px; padding: 0 13px; }
.form-field textarea { min-height: 90px; padding: 12px 13px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #456e60; box-shadow: 0 0 0 3px rgba(38,91,72,.11); }
.form-field.invalid input, .form-field.invalid select { border-color: #b84b3d; box-shadow: 0 0 0 3px rgba(184,75,61,.1); }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.booking-price { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; padding: 18px; border: 1px solid rgba(19,44,36,.1); border-radius: 16px; background: #f1eee5; }
.booking-price small { display: block; color: #6d7772; font-size: .67rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.booking-price strong { display: block; margin-top: 2px; font-family: Georgia, serif; font-size: 1.6rem; font-weight: 500; }
.booking-price > span { max-width: 150px; text-align: right; color: #6d7772; font-size: .73rem; }
.booking-fineprint { margin: 17px 0; color: #748079; font-size: .8rem; line-height: 1.55; }
.booking-submit { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 20px; border: 0; border-radius: 14px; background: linear-gradient(135deg,#c66f38,#dc8952); color: white; cursor: pointer; font-weight: 800; box-shadow: 0 14px 35px rgba(198,111,56,.22); transition: transform .2s ease, filter .2s ease; }
.booking-submit:hover:not(:disabled) { transform: translateY(-2px); filter: brightness(1.04); }
.booking-submit:disabled { cursor: wait; opacity: .65; }
.booking-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: .82rem; line-height: 1.5; }
.booking-status.show { display: block; }
.booking-status.error { border: 1px solid #efc6c0; background: #fff3f1; color: #8b3027; }
.booking-status.success { border: 1px solid #b8dbca; background: #eef9f3; color: #175b3d; }
.booking-status.info { border: 1px solid #e4d6b5; background: #fff9e8; color: #745413; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 1050px) {
  .booking-shell { grid-template-columns: 1fr; }
  .calendar-panel { border-right: 0; border-bottom: 1px solid rgba(19,44,36,.11); }
}

@media (max-width: 760px) {
  .calendar-panel { scroll-margin-top: 92px; }
  .booking { padding: 72px 0 118px; }
  .booking-visual { min-height: 520px; border-radius: 24px 24px 0 0; background-position: 64% center; }
  .booking-visual::after { background: linear-gradient(180deg, rgba(5,24,18,.2) 0%, rgba(5,24,18,.9) 75%); }
  .booking-visual-copy { padding: 34px 24px; }
  .booking-visual h2 { font-size: 3.25rem; }
  .booking-shell { border-radius: 0 0 24px 24px; }
  .calendar-panel, .booking-form { padding: 32px 20px; }
  .booking-calendars { grid-template-columns: 1fr; gap: 30px; }
  .booking-panel-head h3 { font-size: 1.65rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .booking-price { align-items: flex-start; }
  .calendar-day { font-size: .84rem; }
  .footer-links { justify-content: center; }
}

@media (max-width: 420px) {
  .booking-trust { gap: 6px; }
  .booking-trust span { padding: 6px 9px; font-size: .68rem; }
  .selected-stay { gap: 9px; padding: 14px; }
  .booking-price { flex-direction: column; }
  .booking-price > span { max-width: none; text-align: left; }
}
