.timeline-book-now {
  --timeline-book-text: #e8d5bf;
  --timeline-book-muted: rgba(232, 213, 191, 0.72);
  --timeline-book-border: rgba(194, 146, 95, 0.42);
  --timeline-book-button-bg: rgba(91, 52, 24, 0.38);
  --timeline-book-radius: 0;
  width: 100%;
  color: var(--timeline-book-text);
  font-family: "Jost", Arial, sans-serif;
}

.timeline-book-now__title {
  margin: 0 0 22px;
  text-align: center;
  color: var(--timeline-book-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(34px, 3.8vw, 58px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.timeline-book-now__form {
  width: 100%;
}

.timeline-book-now__grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(150px, 1fr) minmax(140px, 1fr) minmax(150px, 1fr) minmax(160px, 0.9fr);
  gap: 18px;
  align-items: end;
}

.timeline-book-now__field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid var(--timeline-book-border);
  background: transparent;
}

.timeline-book-now__field--select {
  padding-right: 42px;
}

.timeline-book-now__placeholder {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  color: var(--timeline-book-muted);
  font-size: 17px;
  line-height: 1;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 180ms ease;
}

.timeline-book-now__field--inline:focus-within .timeline-book-now__placeholder,
.timeline-book-now__field--inline.is-filled .timeline-book-now__placeholder {
  opacity: 0;
}

.timeline-book-now__field--name:focus-within:not(.is-filled) .timeline-book-now__placeholder {
  opacity: 0.35;
}

.timeline-book-now__input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--timeline-book-text);
  font-size: 17px;
  line-height: 56px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.timeline-book-now__field--inline:not(.is-filled):not(:focus-within) .timeline-book-now__input {
  color: transparent;
}

.timeline-book-now__input--text::placeholder {
  color: transparent;
}

.timeline-book-now__input::-webkit-calendar-picker-indicator {
  position: relative;
  z-index: 3;
  filter: invert(0.88) sepia(0.15) saturate(0.8);
  cursor: pointer;
}

.timeline-book-now__input option {
  color: #1f1a17;
}

.timeline-book-now__chevron {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--timeline-book-text);
  transform: translateY(-25%);
  pointer-events: none;
}

.timeline-book-now__submit {
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid var(--timeline-book-border);
  border-radius: var(--timeline-book-radius);
  background: var(--timeline-book-button-bg);
  color: var(--timeline-book-text);
  font-size: 17px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.timeline-book-now__submit:hover,
.timeline-book-now__submit:focus-visible {
  transform: translateY(-1px);
  background: rgba(111, 63, 28, 0.56);
  border-color: rgba(214, 165, 112, 0.56);
}

.timeline-book-now__message {
  min-height: 22px;
  margin: 14px 2px 0;
  color: #f8d4b2;
  font-size: 14px;
}

.timeline-book-now__message.is-error {
  color: #ffc19a;
}

.timeline-book-now__message.is-success {
  color: #d7e9c2;
}

@media (max-width: 1024px) {
  .timeline-book-now__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .timeline-book-now__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .timeline-book-now__title {
    margin-bottom: 18px;
    font-size: clamp(30px, 8vw, 42px);
  }
}
