.hero h1 {
  font-size: clamp(58px, 6.2vw, 96px);
}

.hero h1 em {
  display: inline-block;
  margin-top: 10px;
  font-size: .52em;
  line-height: 1.06;
  letter-spacing: -.07em;
  white-space: nowrap;
}

.nav nav {
  gap: 22px;
}

.hero-media > img {
  background: #dce4e7;
  transition: opacity .22s ease;
}

.hero-media > img.is-switching {
  opacity: .88;
}

@media (min-width: 901px) {
  .hero {
    height: clamp(660px, calc(100vh - 82px), 760px);
    min-height: 0;
  }

  .hero-copy {
    padding: 4vw 5vw 3.5vw 7vw;
  }

  .hero h1 {
    margin: 24px 0 18px;
    font-size: clamp(52px, 5vw, 78px);
  }

  .hero h1 em {
    margin-top: 7px;
    font-size: .58em;
  }

  .hero-copy > p {
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 25px;
  }

  .hero-notes {
    margin-top: 35px;
  }

  .hero-media {
    height: 100%;
  }
}

.locations {
  background: #e9edf2;
}

.location-recommendation {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 15px;
  margin: -18px 0 24px;
  padding: 17px 19px;
  border: 1px solid #1969a629;
  border-radius: 13px;
  background: #f7fafc;
}

.recommendation-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: #dfeefa;
  color: var(--blue);
  font-size: 21px;
}

.location-recommendation strong {
  display: block;
  font-size: 13px;
}

.location-recommendation p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0;
}

.location-recommendation button {
  padding: 9px 13px;
  border: 1px solid #1969a637;
  border-radius: 99px;
  background: #fff;
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
}

.location-recommendation[data-state="success"] {
  border-color: #6ea63442;
  background: #f1f6e9;
}

.location-recommendation[data-state="success"] .recommendation-icon {
  background: #dcebbf;
  color: #4f7d25;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.location-card {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px #1231480c;
  transition: transform .3s ease, box-shadow .3s ease;
}

.location-card.recommended {
  transform: translateY(-5px);
  box-shadow: 0 22px 55px #1969a621, 0 0 0 2px #4388bb;
}

.recommend-badge {
  position: absolute;
  z-index: 3;
  top: 20px;
  left: 20px;
  display: none;
  padding: 8px 11px;
  border-radius: 99px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 8px 22px #0b25364a;
}

.location-card.recommended .recommend-badge {
  display: block;
}

.location-image {
  position: relative;
  display: block;
  height: 460px;
  overflow: hidden;
  background: #dfe5e8;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.location-card:hover .location-image img {
  transform: scale(1.025);
}

.location-image > span {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f4f1e9df;
  color: var(--deep);
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(9px);
}

.location-card > div {
  position: relative;
  padding: 26px 28px 30px;
}

.location-card small {
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
}

.location-card h3 {
  margin: 8px 0 5px;
  font-size: 28px;
  letter-spacing: -.055em;
}

.location-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.location-card button {
  position: absolute;
  right: 26px;
  bottom: 27px;
  border: 0;
  background: none;
  color: var(--blue);
  font-size: 11px;
  font-weight: 750;
}

.location-card.blue,
.lanzhou-space {
  background: #102840;
  color: #fff;
}

.location-card.blue p,
.lanzhou-space .section-head > p,
.lanzhou-space .equipment p {
  color: #a9bdca;
}

.location-card.blue button,
.location-card.blue small,
.lanzhou-space .equipment span {
  color: #85cbfa;
}

.lanzhou-space .equipment {
  border-top-color: #ffffff2d;
}

.lanzhou-space .equipment article {
  border-right-color: #ffffff2d;
}

.lanzhou-gallery figure {
  background: #071a2a;
}

.lanzhou-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: 280px;
  margin-top: 58px;
}

.lanzhou-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.contact-section {
  background: #e8edf1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-grid a {
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding: 27px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.contact-grid a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px #15364c12;
}

.contact-grid small {
  color: var(--blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
}

.contact-grid strong {
  margin: 24px 0 10px;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: -.045em;
  word-break: break-word;
}

.contact-grid span {
  margin-top: auto;
  color: var(--muted);
  font-size: 11px;
}

.customer-row {
  margin-top: 5px;
}

.form-error {
  min-height: 18px;
  margin: -6px 0 10px;
  color: #b43939;
  font-size: 10px;
  text-align: center;
}

.modal-sheet input.invalid,
.modal-sheet select.invalid {
  border-color: #c84a4a;
  box-shadow: 0 0 0 3px #c84a4a13;
}

#submit-booking:disabled {
  cursor: wait;
  opacity: .68;
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 44px;
  }

  .hero h1 em {
    margin-top: 7px;
    font-size: .56em;
  }

  .hero-copy {
    padding: 42px 21px 32px;
  }

  .hero-media {
    height: 430px;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-recommendation {
    grid-template-columns: auto 1fr;
    margin-top: -8px;
    padding: 15px;
  }

  .location-recommendation button {
    grid-column: 2;
    justify-self: start;
  }

  .location-card.recommended {
    transform: none;
  }

  .location-image {
    height: 390px;
  }

  .location-card > div {
    padding: 23px 21px 25px;
  }

  .location-card h3 {
    font-size: 25px;
  }

  .location-card button {
    position: static;
    margin-top: 18px;
    padding: 0;
  }

  .lanzhou-space .equipment article {
    border-bottom-color: #ffffff2d;
  }

  .lanzhou-strip {
    grid-template-columns: 1fr 1fr;
    height: 250px;
    margin-top: 36px;
  }

  .lanzhou-strip img:last-child {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid a {
    min-height: 145px;
    padding: 22px;
  }

  .contact-grid strong {
    margin-top: 17px;
    font-size: 25px;
  }
}
