.booking-page {
  min-height: 100vh;
  overflow: clip;
  background: #fff;
}

.booking-header {
  position: relative;
  z-index: 3;
}

.booking-header__inner {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.booking-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--primary);
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.booking-brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.booking-brand:hover,
.booking-brand:focus-visible {
  transform: translateY(-1px);
}

.booking-hero {
  position: relative;
  padding: 62px 0 96px;
}

.booking-hero__inner {
  position: relative;
  z-index: 2;
}

.booking-copy {
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}

.booking-hero__image {
  width: min(150px, 38vw);
  height: min(150px, 38vw);
  margin: 0 auto 18px;
  object-fit: contain;
}

.booking-copy h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.14;
}

.booking-subtitle {
  display: grid;
  gap: 12px;
  max-width: 656px;
  margin: 30px auto 0;
}

.booking-subtitle p {
  color: var(--text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.booking-subtitle .booking-proof {
  color: var(--primary);
  font-weight: 700;
}

.booking-subtitle .booking-benefit {
  font-weight: 700;
}

.booking-bullets {
  margin: 28px auto 0;
}

.booking-widget {
  max-width: 1180px;
  margin: 52px auto 0;
}

.hr-widget-host {
  display: flex;
  width: 100%;
  height: fit-content;
}

.hr-widget-mirror {
  cursor: pointer;
}

.amenities-section {
  padding: 96px 0;
  background: #fff;
}

.amenities-copy {
  text-align: center;
}

.amenities-copy h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 360px;
  gap: 16px;
  margin-top: 48px;
}

.amenity-card {
  position: relative;
  grid-column: span 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ececec;
}

.amenity-card--wide {
  grid-column: span 2;
}

.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 34%, rgba(0, 0, 0, 0.72) 100%);
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amenity-card h3 {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
}

.booking-steps {
  padding: 96px 0 108px;
  background: #fff;
}

.steps-copy {
  text-align: center;
}

.steps-copy h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1180px;
  margin: 54px auto 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  position: relative;
  padding: 0 28px;
  text-align: center;
}

.steps-list li + li {
  border-left: 1px solid var(--line);
}

.steps-number {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-family: "Unbounded", "Inter", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.steps-list p {
  margin-top: 22px;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.steps-widget {
  max-width: 1180px;
  margin: 58px auto 0;
}

.reviews-section {
  padding: 96px 0 108px;
  background: #fff;
}

.reviews-copy {
  text-align: center;
}

.reviews-copy h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
}

.reviews-tabs {
  display: flex;
  width: min(100%, 760px);
  justify-content: center;
  gap: 44px;
  margin: 34px auto 0;
  border-bottom: 1px solid #dfe4ec;
}

.reviews-tab {
  position: relative;
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #9aa2ad;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: color 180ms var(--ease);
}

.reviews-tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--primary);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease);
}

.reviews-tab img {
  width: 30px;
  height: 30px;
}

.reviews-tab strong {
  color: currentColor;
  font-weight: 700;
}

.reviews-tab.is-active,
.reviews-tab:hover,
.reviews-tab:focus-visible {
  color: #111827;
}

.reviews-tab.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.reviews-slider {
  position: relative;
  width: min(100%, 760px);
  margin: 38px auto 0;
}

.reviews-slider[hidden] {
  display: none;
}

.reviews-slider__viewport {
  height: 562px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.reviews-slider__viewport::-webkit-scrollbar {
  display: none;
}

.reviews-gallery {
  display: flex;
  gap: 0;
  width: max-content;
  align-items: center;
}

.reviews-gallery[hidden] {
  display: none;
}

.review-card {
  display: flex;
  width: min(760px, calc(100vw - 120px));
  height: 562px;
  flex: 0 0 min(760px, calc(100vw - 120px));
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: transparent;
  scroll-snap-align: start;
}

.review-card img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.reviews-slider__button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(0, 82, 255, 0.22);
  transform: translateY(-50%);
  transition: transform 180ms var(--ease), background-color 180ms var(--ease);
}

.reviews-slider__button--prev {
  left: -24px;
}

.reviews-slider__button--next {
  right: -24px;
}

.reviews-slider__button:hover,
.reviews-slider__button:focus-visible {
  transform: translateY(calc(-50% - 2px));
  background: var(--primary-dark);
}

.faq-section {
  padding: 96px 0 108px;
  background: #fff;
}

.faq-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 72px;
  align-items: start;
}

.faq-copy {
  position: sticky;
  top: 32px;
}

.faq-copy h2 {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.14;
}

.faq-copy p {
  max-width: 430px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(0, 82, 255, 0.12);
  border-radius: 16px;
  background: #fff;
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.faq-item[open] {
  border-color: rgba(0, 82, 255, 0.28);
  box-shadow: 0 12px 28px rgba(0, 82, 255, 0.08);
}

.faq-item summary {
  position: relative;
  padding: 22px 64px 22px 24px;
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 22px;
  display: flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #edf3ff;
  color: var(--primary);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: -2px 64px 0 24px;
  padding-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.booking-footer {
  background: #f2f4f5;
  color: rgba(0, 0, 0, 0.9);
}

.booking-footer__main {
  display: flex;
  min-height: 196px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.booking-footer__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
}

.booking-footer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.booking-footer__contact svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  fill: rgba(0, 82, 255, 0.72);
}

.booking-footer__contact a {
  color: var(--text);
}

.booking-footer__legal {
  max-width: 500px;
  color: rgba(0, 0, 0, 0.58);
  font-size: 15px;
  line-height: 1.5;
  text-align: right;
}

.booking-footer__bottom {
  display: flex;
  min-height: 96px;
  align-items: center;
  padding: 24px 0;
}

.booking-footer__policy {
  color: rgba(0, 0, 0, 0.58);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-orbit {
  display: none;
}

.booking-orbit--left {
  top: 80px;
  left: -260px;
}

.booking-orbit--right {
  top: 320px;
  right: -280px;
}

@media (max-width: 720px) {
  .shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .booking-header__inner {
    padding-top: 10px;
  }

  .booking-hero {
    padding: 20px 0 48px;
  }

  .booking-hero__image {
    width: 100px;
    height: 100px;
    margin-bottom: 8px;
  }

  .booking-copy h1 {
    font-size: 24px;
    line-height: 1.14;
  }

  .booking-subtitle {
    gap: 8px;
    margin-top: 16px;
  }

  .booking-subtitle p {
    font-size: 14px;
  }

  .booking-widget {
    margin-top: 24px;
  }

  .amenities-section {
    padding: 64px 0;
  }

  .amenities-copy h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
    gap: 12px;
    margin-top: 34px;
  }

  .amenity-card,
  .amenity-card--wide {
    grid-column: span 1;
  }

  .amenity-card h3 {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: 20px;
  }

  .booking-steps {
    padding: 64px 0 72px;
  }

  .steps-copy h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .steps-list {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 38px;
  }

  .steps-list li {
    padding: 0 12px;
  }

  .steps-list li + li {
    border-left: 0;
  }

  .steps-list p {
    max-width: 420px;
    margin: 16px auto 0;
    font-size: 16px;
  }

  .steps-widget {
    margin-top: 42px;
  }

  .reviews-section {
    padding: 64px 0 72px;
  }

  .reviews-copy h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .reviews-slider {
    width: min(88vw, 420px);
    margin-top: 28px;
  }

  .reviews-tabs {
    width: min(88vw, 420px);
    gap: 24px;
    margin-top: 24px;
  }

  .reviews-tab {
    min-height: 54px;
    gap: 7px;
    font-size: 16px;
  }

  .reviews-tab img {
    width: 24px;
    height: 24px;
  }

  .reviews-gallery {
    align-items: center;
  }

  .review-card {
    width: min(88vw, 420px);
    height: 562px;
    flex-basis: min(88vw, 420px);
    border-radius: 10px;
  }

  .reviews-slider__viewport {
    height: 562px;
  }

  .reviews-slider__button {
    width: 42px;
    height: 42px;
    font-size: 22px;
  }

  .reviews-slider__button--prev {
    left: -8px;
  }

  .reviews-slider__button--next {
    right: -8px;
  }

  .faq-section {
    padding: 64px 0 72px;
  }

  .faq-section__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .faq-copy {
    position: static;
    text-align: center;
  }

  .faq-copy h2 {
    font-size: 24px;
    line-height: 1.14;
  }

  .faq-copy p {
    margin-right: auto;
    margin-top: 14px;
    margin-left: auto;
    font-size: 16px;
  }

  .faq-item summary {
    padding: 19px 58px 19px 18px;
    font-size: 16px;
  }

  .faq-item summary::after {
    right: 16px;
  }

  .faq-item p {
    margin-right: 18px;
    margin-left: 18px;
    padding-bottom: 20px;
    font-size: 15px;
  }

  .booking-footer__main {
    display: grid;
    min-height: 0;
    gap: 28px;
    padding: 32px 0;
  }

  .booking-footer__contacts {
    display: grid;
    gap: 18px;
  }

  .booking-footer__contact {
    gap: 10px;
    font-size: 16px;
  }

  .booking-footer__contact svg {
    width: 24px;
    height: 24px;
  }

  .booking-footer__legal {
    max-width: 100%;
    font-size: 13px;
    text-align: left;
  }

  .booking-footer__bottom {
    min-height: 76px;
    padding: 20px 0;
  }

  .booking-footer__policy {
    font-size: 13px;
  }
}
