/* ==========================================================================
   Home page booking section.
   Loaded only by the home page via @section Styles. Tokens come from site.css.
   ========================================================================== */

.tz-book {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 3rem;
  padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0;
  background: var(--tz-ink);
  color: #fff;
}

.tz-book-art {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.tz-book-art svg {
  width: 100%;
  height: 100%;
  display: block;
}

.tz-book-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 992px) {
  .tz-book-grid {
    grid-template-columns: 1fr minmax(20rem, 24rem);
    gap: 3.5rem;
  }
}

/* ---------- left column ---------- */

.tz-book-kicker {
  margin: 0 0 .5rem;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ff8b8f;
}

.tz-book-intro h2 {
  margin: 0 0 .85rem;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem);
  line-height: 1.12;
}

.tz-book-lede {
  margin: 0 0 2rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
}

.tz-book-steps {
  display: grid;
  gap: 1rem 1.5rem;
  grid-template-columns: 1fr;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 576px) {
  .tz-book-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tz-book-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: .75rem;
  align-items: center;
}

.tz-book-step-n {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--tz-red);
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
}

.tz-book-step-t {
  font-weight: 700;
  line-height: 1.2;
}

.tz-book-step-d {
  font-size: .86rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .66);
}

.tz-book-trust {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .82);
}

.tz-book-trust li {
  display: grid;
  grid-template-columns: 1.15rem 1fr;
  gap: .6rem;
  align-items: start;
}

.tz-book-trust svg {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: .12rem;
  color: #7fd18d;
}

/* ---------- panel ---------- */

.tz-book-panel {
  background: #fff;
  color: var(--tz-ink);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, .3);
}

.tz-book-panel-h {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.tz-book-panel-sub {
  margin: 0 0 1.25rem;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--tz-muted);
}

.tz-book-field {
  margin-bottom: 1rem;
}

.tz-book-label {
  display: block;
  margin-bottom: .35rem;
  font-size: .82rem;
  font-weight: 700;
}

.tz-book-select {
  width: 100%;
  min-height: 2.9rem;
  padding: .55rem 2.25rem .55rem .8rem;
  border: 1px solid var(--tz-line);
  border-radius: .55rem;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2358595b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 1rem;
  color: inherit;
  font-size: .95rem;
  appearance: none;
}

.tz-book-select:focus {
  outline: none;
  border-color: var(--tz-red);
  box-shadow: 0 0 0 .2rem rgba(225, 27, 34, .18);
}

.tz-book-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  min-height: 3rem;
  margin-top: .35rem;
  border: 0;
  border-radius: .55rem;
  background: var(--tz-red);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  transition: background-color .15s ease, transform .15s ease;
}

.tz-book-go:hover,
.tz-book-go:focus-visible {
  background: var(--tz-red-dark);
  color: #fff;
  transform: translateY(-1px);
}

.tz-book-go svg {
  width: 1.15rem;
  height: 1.15rem;
}

.tz-book-panel-foot {
  margin: 1rem 0 0;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--tz-muted);
}

.tz-book-panel-foot a {
  color: var(--tz-red);
  font-weight: 600;
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .tz-book-go {
    transition: none;
  }

  .tz-book-go:hover,
  .tz-book-go:focus-visible {
    transform: none;
  }
}

/* ---------- touch targets ---------- */

@media (pointer: coarse) {
  .tz-book-select,
  .tz-book-go {
    min-height: 44px;
  }

  .tz-book-panel-foot a {
    display: inline-block;
    padding: .25rem 0;
  }
}
