/* ============================================================
   book.css
   Styles unique to book.html (booking flow, calendar, form).
   Shared tokens/reset live in base.css — load that first.
   ============================================================ */

body{
  background: var(--cream);
}

.trip-bar{
  background: var(--blush);
  border-bottom: 1px solid var(--mauve-border);
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 12px 20px;
}

.trip-bar::-webkit-scrollbar{
  display: none;
}

.trip-inner{
  display: flex;
  align-items: center;
  white-space: nowrap;
  margin: 0 auto;
  width: fit-content;
}

.trip-item{
  font-size: 8px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  font-weight: 400;
}

.trip-dot{
  color: var(--mauve-border);
  margin: 0 16px;
  font-size: 5px;
  vertical-align: middle;
}

@media (max-width: 640px){
  body.form-active .trip-bar{
    display: none !important;
  }
}

a.back{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blush);
  border: 1px solid var(--mauve-border);
  color: var(--mauve-muted);
  padding: 0;
  margin: 1rem 0 0 1.5rem;
}

a.back:hover{
  background: var(--mauve-dark);
}

a.back svg{
  width: 16px;
  height: 16px;
  stroke: var(--mauve-muted);
}

.hero{
  text-align: center;
  padding: 0 1.5rem .75rem;
}

.hero-name{
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  color: var(--mauve-dark);
  letter-spacing: 0.02em;
  margin-bottom: 0.3rem;
}

.hero-tag{
  font-size: clamp(11px, 1.5vw, 14px);
  letter-spacing: 0.18em;
  color: var(--mauve-dark);
  text-transform: uppercase;
}

.page-outer{
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 3rem;
}

.slide-window{
  overflow: hidden;
  width: 100%;
}

.views{
  display: flex;
  width: 200%;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.views.show-form{
  transform: translateX(-50%);
}

.view{
  width: 50%;
  min-width: 0;
  flex-shrink: 0;
}

.trip-group{
  margin-bottom: 7px;
}

.trip-card{
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trip-card:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
  transform: translateY(-1px);
}

.trip-card-left{
  flex: 1;
  min-width: 0;
}

.trip-card-dates{
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  font-style: italic;
  color: var(--mauve-dark);
  line-height: 1.1;
  margin-bottom: 1px;
}

.trip-card-city{
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.trip-card-note{
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve-muted);
}

.trip-card-sep{
  color: var(--mauve-border);
  font-size: 9px;
}

.trip-card-arrow{
  color: var(--mauve-border);
  font-size: 18px;
  flex-shrink: 0;
  margin-left: 14px;
  transition: color 0.18s;
}

.trip-card:hover .trip-card-arrow{
  color: var(--mauve);
}

.city-request-card{
  background: transparent;
  border: 1.5px dashed var(--mauve-border);
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.city-request-card:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
  transform: translateY(-1px);
}

.city-request-card .trip-card-dates{
  color: var(--mauve);
}

.city-request-card .trip-card-city{
  color: var(--mauve-muted);
  letter-spacing: 0.2em;
}

.city-request-card .trip-card-arrow{
  color: var(--mauve-border);
}

.city-request-card:hover .trip-card-arrow{
  color: var(--mauve);
}

.form-view{
  padding-right: 1px;
}

.form-hdr{
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.form-hdr-left{
  flex: 1;
  min-width: 0;
}

.form-hdr-city{
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-style: italic;
  font-weight: 300;
  color: var(--mauve-dark);
  line-height: 1.1;
  margin-bottom: 2px;
}

.form-hdr-right{
  text-align: right;
  flex-shrink: 0;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
}

.hdr-price{
  font-family: var(--font-display);
  font-size: clamp(22px, 3.5vw, 30px);
  font-style: italic;
  font-weight: 300;
  color: var(--mauve-dark);
  line-height: 1.1;
  margin-bottom: 2px;
}

.hdr-detail{
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mauve);
  min-height: 14px;
}

.form-hdr-dates{
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mauve-dark);
}

.sec-lbl{
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 0.6rem;
  display: block;
}

.day-pills{
  display: flex;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.day-pill{
  flex: 1;
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 12px;
  padding: 10px 8px;
  font-family: var(--font-body);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 300;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.day-pill:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}

.day-pill.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.day-pill-date{
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-style: italic;
  font-weight: 400;
  color: inherit;
  line-height: 1;
}

.day-pill-name{
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  color: inherit;
}

.time-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.2rem;
}

.time-chip{
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 20px;
  padding: 6px 11px;
  font-family: var(--font-body);
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 300;
}

.time-chip:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}

.time-chip.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.time-select{
  width: 100%;
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 10px;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--mauve-dark);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  background-image: var(--icon-chevron);
  background-repeat: no-repeat;
  background-position: right 13px center;
  margin-bottom: 1.2rem;
}

.time-select:focus{
  border-color: var(--mauve);
}

.time-select[disabled]{
  opacity: 0.5;
}

.svc-pills{
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.dur-grid{
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 1rem;
}

.dur-btn{
  flex: 1;
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 300;
}

.dur-btn:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}

.dur-btn.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.dur-btn[disabled]{
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.field{
  margin-bottom: 0.9rem;
}

.field label{
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mauve);
  margin-bottom: 5px;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 10px;
  padding: 9px 13px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--mauve-dark);
  outline: none;
  transition: border-color 0.2s;
}

.field input::placeholder,
.field textarea::placeholder{
  color: var(--mauve-muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--mauve);
}

.field input.field-err{
  border-color: var(--error);
}

.field select{
  appearance: none;
  background-image: var(--icon-chevron);
  background-repeat: no-repeat;
  background-position: right 13px center;
}

.field textarea{
  resize: vertical;
  min-height: 70px;
}

.contact-row{
  display: flex;
  gap: 10px;
}

.contact-row .field{
  flex: 1;
}

.contact-note{
  font-size: 11px;
  color: var(--mauve);
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
  margin-top: -4px;
}

.err{
  font-size: 11px;
  color: #d10000;
  margin-top: 4px;
  display: none;
}

.err.show{
  display: block;
}

.btn-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-actions{
  display: flex;
  gap: 10px;
}

.btn-row > .btn-back,
.btn-row > .btn-next{
  flex: 1;
}

.btn-back{
  flex: 1;
  background: none;
  border: 1px solid var(--mauve-border);
  color: var(--mauve-dark);
  padding: 11px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-back:hover{
  border-color: var(--mauve);
  color: var(--mauve-dark);
}

.btn-next{
  flex: 2;
  background: var(--mauve-dark);
  color: var(--cream);
  border: none;
  padding: 11px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-next:hover:not([disabled]){
  background: var(--mauve-darker);
}

.btn-next[disabled]{
  background: var(--mauve-tint);
  color: var(--mauve-muted);
  cursor: default;
}

.contact-toggles{
  display: flex;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.contact-toggle{
  flex: 1;
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 300;
  text-align: center;
}

.contact-toggle:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}

.contact-toggle.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.contact-input{
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin 0.25s ease;
  margin-bottom: 0;
}

.contact-input.show{
  max-height: 80px;
  opacity: 1;
  margin-bottom: 0.8rem;
}

.source-pills{
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.source-pill{
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 13px);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  font-weight: 300;
}

.source-pill:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}

.source-pill.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.thanks{
  display: none;
  text-align: center;
  background: var(--blush-soft);
  border: 1px solid var(--mauve-border);
  border-radius: 14px;
  padding: 2.5rem 2rem;
  margin-top: 0.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.thanks.show{
  display: block;
}

.thanks-title{
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 42px);
  font-style: italic;
  color: var(--mauve-dark);
  margin-bottom: 0.5rem;
}

.thanks-msg{
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--mauve);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.cal-wrap{
  margin-bottom: .5rem;
}

.cal-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.cal-nav-btn{
  background: none;
  border: 1px solid var(--mauve-border);
  color: var(--mauve-dark);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.cal-nav-btn:hover{
  border-color: var(--mauve);
  color: var(--mauve-dark);
}

.cal-month-lbl{
  font-family: var(--font-display);
  font-size: clamp(15px, 2vw, 18px);
  font-style: italic;
  font-weight: 300;
  color: var(--mauve-dark);
  text-align: center;
}

.cal-grid{
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.cal-dow{
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  text-align: center;
  padding: 2px 0 4px;
}

.cal-day{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 300;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  color: var(--mauve-dark);
  background: transparent;
  padding: 10px 1px;
  min-height: 36px;
  line-height: 1;
}

.cal-day-num{
  font-size: 12px;
  line-height: 1;
  color: var(--mauve-dark);
}

.cal-day-city{
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  margin-top: 2px;
  text-align: center;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 400;

}

.cal-day:hover:not(.cal-day--off):not(.cal-day--booked):not(.cal-day--past):not(.cal-day--empty){
  background: var(--mauve-dark);
  color: var(--cream);
}

.cal-day--avail:hover .cal-day-num,
.cal-day--avail:hover .cal-day-city{
  color: var(--cream);
}

.cal-day.cal-day--booked.cal-day--clickable:hover{
  background: var(--mauve-dark);
}

.cal-day.cal-day--booked.cal-day--clickable:hover .cal-day-num,
.cal-day.cal-day--booked.cal-day--clickable:hover .cal-day-city{
  color: var(--cream);
}

.cal-day.cal-day--sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
}

.cal-day.cal-day--sel .cal-day-num,
.cal-day.cal-day--sel .cal-day-city{
  color: var(--cream);
}

.cal-day--avail.cal-day--sel .cal-day-num{
  color: var(--cream);
}

.cal-day.cal-day--booked.cal-day--clickable.cal-day--sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
}

.cal-day.cal-day--booked.cal-day--clickable.cal-day--sel .cal-day-num,
.cal-day.cal-day--booked.cal-day--clickable.cal-day--sel .cal-day-city{
  color: var(--cream);
}

.cal-day.cal-day--off,
.cal-day.cal-day--past{
  color: var(--mauve-tint);
  cursor: default;
}

.cal-day.cal-day--empty{
  pointer-events: none;
}

.cal-day--avail{
  background: var(--mauve-tint);
  color: var(--mauve-dark);
}

.cal-day.cal-day--booked{
  background: var(--white);
  border-color: var(--mauve-border);
  border-radius: 10px;
  cursor: default;
  opacity: 0.6;
}

.cal-day.cal-day--booked.cal-day--clickable{
  cursor: pointer;
  opacity: 1;
}

.cal-legend{
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.cal-legend-item{
  display: flex;
  align-items: center;
  gap: 8px;
}

.cal-legend-swatch{
  width: 18px;
  height: 18px;
  border-radius: 4px;
  flex-shrink: 0;
}

.cal-legend-swatch--confirmed{
  background: var(--white);
  border: 1px solid var(--mauve-muted);
}

.cal-legend-swatch--undecided{
  background: var(--mauve-tint);
  border: 1px solid var(--mauve-tint);
}

.cal-legend-lbl{
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mauve-dark);
  font-weight: 400;
}

.page-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
}
.page-divider-line { height: 1px; background: var(--mauve-softer); }
.page-divider-mark {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--mauve-pale);
  font-style: italic;
  font-weight: 10;
}

.svc-pill-wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  flex: 1;
}
.svc-info-link{
  background:none;
  border:none;
  outline:none;
  padding:0;
  margin:0;
  font-family:inherit;
  font-size:10px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#a97a94;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
}
.svc-info-link:focus{
  outline:none;
}
.svc-info-link:hover{
  color:#7a5568;
}
.svc-btn{
  background: var(--white);
  border: 1px solid var(--mauve-border);
  border-radius: 12px;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--mauve-dark);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  font-weight: 300;
  width: 100%;
}
.svc-btn:hover{
  background: var(--blush-hover);
  border-color: var(--mauve-muted);
}
.svc-btn.sel{
  background: var(--mauve-dark);
  border-color: var(--mauve-dark);
  color: var(--cream);
}

.modal-overlay{
  display: none !important;
  position: fixed;
  inset: 0;
  background: rgba(26,14,19,0.85);
  z-index: 1500;
  padding: 20px;
}
.modal-overlay.show{
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.modal-box{
  background: var(--white);
  max-width: 520px;
  width: 100%;
  padding: 44px 40px;
  border-radius: 14px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}
.modal-close{
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
  color: var(--mauve-mid);
  cursor: pointer;
  font-family: inherit;
  padding: 4px 10px;
}
.modal-close:hover{
  color: var(--mauve-dark);
}
.modal-title{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--mauve-dark);
  margin-bottom: 16px;
  line-height: 1;
  padding-right: 20px;
}
.modal-body{
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.85;
  color: var(--mauve-dark);
}
.modal-body p{
  margin-bottom: 12px;
}