/* modals.css */

.is-modal-open {
  overflow: hidden;
}

.service-zoom-modal,
.service-price-modal {
  position: fixed;
  inset: 0;
}

.service-zoom-modal[hidden],
.service-price-modal[hidden] {
  display: none;
}

.service-zoom-modal {
  --zoom-control-gap: 25px;
  --zoom-control-size: 49px;
  --button-circle-size: var(--zoom-control-size);
  --zoom-image-width: min(1570px, calc(100vw - 350px));
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(29, 29, 29, 0.8);
}

.service-zoom-modal__stage {
  position: relative;
  display: grid;
  grid-template-columns: var(--zoom-control-size) var(--zoom-control-gap) var(--zoom-image-width) var(--zoom-control-gap) var(--zoom-control-size);
  align-items: center;
}

.service-zoom-modal__figure {
  grid-column: 3;
  grid-row: 1;
  width: var(--zoom-image-width);
  aspect-ratio: 1570 / 1009;
  margin: 0;
}

.service-zoom-modal__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-zoom-modal__close {
  border: 0;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
}

.service-zoom-modal__close {
  position: absolute;
  top: 0;
  right: 5.5px;
  width: 38px;
  height: 38px;
  z-index: 2;
}

.service-zoom-modal__nav {
  z-index: 2;
}

.service-zoom-modal__close::before,
.service-zoom-modal__close::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 8px;
  width: 22px;
  height: 1.5px;
  background: #fff;
}

.service-zoom-modal__close::before {
  transform: rotate(45deg);
}

.service-zoom-modal__close::after {
  transform: rotate(-45deg);
}

.service-zoom-modal__nav--prev {
  grid-column: 1;
  grid-row: 1;
}

.service-zoom-modal__nav--next {
  grid-column: 5;
  grid-row: 1;
}

.service-zoom-modal__close:hover,
.service-zoom-modal__close:focus-visible {
  background-color: transparent;
  opacity: 0.72;
}

.service-price-modal {
  z-index: 800;
  display: flex;
  justify-content: flex-end;
  background: rgba(29, 29, 29, 0.4);
}

.service-price-modal__panel {
  width: min(640px, 100vw);
  height: 100dvh;
  overflow-y: auto;
  background: #fffced;
  color: #000;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

.service-price-modal__panel::-webkit-scrollbar {
  width: var(--scrollbar-size);
}

.service-price-modal__panel::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

.service-price-modal__panel::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  background-clip: content-box;
}

.service-price-modal__content {
  width: min(562px, calc(100% - 78px));
  min-height: 100%;
  margin: 0 auto;
  padding: 48px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 47px;
}

.service-price-modal__top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price-modal__language {
  gap: 18px;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.45;
}

.service-price-modal__language a {
  color: inherit;
  opacity: 1;
}

.service-price-modal__language a.is-active {
  text-underline-offset: 5px;
}

.service-price-modal__close {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  font-size: 0;
}

.service-price-modal__close:hover,
.service-price-modal__close:focus-visible {
  background: transparent;
}

.service-price-modal__close::before,
.service-price-modal__close::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 5px;
  width: 18px;
  height: 1.5px;
  background: #040404;
}

.service-price-modal__close::before {
  transform: rotate(45deg);
}

.service-price-modal__close::after {
  transform: rotate(-45deg);
}

.service-price-modal__logo {
  display: block;
  width: min(270px, 100%);
  aspect-ratio: 250 / 152;
  background: url("../images/figma/restaurant-logo-figma.svg") center / contain no-repeat;
  filter: invert(1);
}

.service-price-modal__logo::before {
  content: "";
  display: block;
  padding-top: 60.8%;
}

@supports (aspect-ratio: 1 / 1) {
  .service-price-modal__logo::before {
    content: none;
  }
}

.service-price-modal__tabs {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-price-modal__tab {
  min-height: var(--button-height);
  flex: 1 1 0;
  padding: 0 18px;
  border: 1px solid #c6c1a1;
  background: transparent;
  color: #000;
  font-family: var(--font-body);
  font-size: var(--button-font-size);
  font-weight: 400;
  letter-spacing: var(--button-letter-spacing-compact);
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-price-modal__tab + .service-price-modal__tab {
  margin-left: -1px;
}

.service-price-modal__tab.is-active {
  border-color: var(--button-dark-bg);
  background: var(--button-dark-bg);
  color: #fff;
  font-weight: 500;
}

.service-price-modal__tab:hover,
.service-price-modal__tab:focus-visible {
  background: var(--button-hover-fill);
}

.service-price-modal__tab.is-active:hover,
.service-price-modal__tab.is-active:focus-visible {
  border-color: var(--button-dark-bg-hover);
  background: var(--button-dark-bg-hover);
}

.service-price-modal__sections {
  width: 100%;
}

.service-price-modal__panel-content {
  display: flex;
  flex-direction: column;
  gap: 68px;
  text-align: center;
}

.service-price-modal__panel-content[hidden] {
  display: none;
}

.service-price-modal__section h3 {
  margin: 0 0 25px;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0;
}

.service-price-modal__section ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #222121;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 30px;
}

@media (max-width: 900px) {
  .service-zoom-modal {
    --zoom-control-gap: 10px;
    --zoom-control-size: 42px;
    --zoom-image-width: calc(100vw - 148px);
    padding: 0 22px;
  }

  .service-zoom-modal__figure {
    width: var(--zoom-image-width);
  }

  .service-zoom-modal__nav {
    width: var(--zoom-control-size);
    height: var(--zoom-control-size);
  }

  .service-price-modal__panel {
    width: 100vw;
  }

  .service-price-modal__content {
    width: min(562px, calc(100% - 48px));
    padding: 36px 0 60px;
  }

  .service-price-modal__tabs {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .service-price-modal__tab {
    flex: 0 0 auto;
    min-width: 138px;
  }
}

.modal-backdrop[data-room-modal] {
  align-items: flex-start;
  padding: 24px 20px;
  overflow-y: auto;
  background: rgba(4, 4, 4, 0.42);
  backdrop-filter: none;
}

.modal-backdrop[data-room-modal] .floating-modal {
  width: min(910px, calc(100vw - 40px));
  max-height: none;
  margin: 0 auto;
  overflow: visible;
  background: #fffced;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.15);
  color: #040404;
}

.floating-modal__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 24px;
  padding: 52px 40px 36px;
}

.floating-modal__copy {
  display: grid;
  gap: 24px;
}

.floating-modal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.floating-modal__intro {
  max-width: 830px;
  margin: 0;
  color: #040404;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.22;
}

.floating-modal__close {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent url("../images/figma/room-modal/icon-close.svg") center / 14px 14px no-repeat;
  color: #040404;
  font-size: 0;
}

.floating-modal__close:hover,
.floating-modal__close:focus-visible {
  background: transparent url("../images/figma/room-modal/icon-close.svg") center / 14px 14px no-repeat;
}

.floating-modal__close:focus-visible {
  outline: 2px solid rgba(4, 4, 4, 0.28);
  outline-offset: 4px;
}

.floating-modal__body {
  padding: 0 40px 31px;
}

.floating-modal__gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.floating-modal__stage {
  display: grid;
  width: 100%;
  aspect-ratio: 830 / 541;
  overflow: hidden;
  background: #d5c1a0;
  touch-action: pan-y;
}

.floating-modal__hero,
.floating-modal__gallery-arrow,
.floating-modal__gallery-dots {
  grid-area: 1 / 1;
}

.floating-modal__hero {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d5c1a0;
}

.floating-modal__hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition:
    opacity 180ms ease,
    transform 160ms ease;
  transform-origin: center;
  user-select: none;
  -webkit-user-drag: none;
}

.floating-modal__hero-image.is-image-fading {
  opacity: 0.35;
}

.floating-modal__gallery.is-zoomed .floating-modal__stage {
  touch-action: none;
}

.floating-modal__gallery.is-zoomed .floating-modal__hero-image {
  transition: none;
}

.floating-modal__gallery-arrow {
  width: 38px;
  height: 38px;
  align-self: center;
  color: #fff;
}

.floating-modal__gallery-arrow[hidden],
.floating-modal__gallery-dots[hidden],
.floating-modal__thumbs[hidden] {
  display: none;
}

.floating-modal__gallery-arrow--prev {
  justify-self: start;
  margin-left: 16px;
}

.floating-modal__gallery-arrow--next {
  justify-self: end;
  margin-right: 16px;
}

.floating-modal__gallery-dots {
  align-self: end;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.floating-modal__gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid #fffced;
  border-radius: 50%;
  background: transparent;
}

.floating-modal__gallery-dot.is-active,
.floating-modal__gallery-dot:hover,
.floating-modal__gallery-dot:focus-visible {
  background: #fffced;
}

.floating-modal__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  height: 96px;
  max-height: 96px;
  overflow: hidden;
}

.floating-modal__thumb {
  min-width: 0;
  width: 100%;
  height: 96px;
  max-height: 96px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0.62;
  overflow: hidden;
}

.floating-modal__thumb:hover,
.floating-modal__thumb:focus-visible,
.floating-modal__thumb.is-active {
  opacity: 1;
}

.floating-modal__thumb:focus-visible {
  outline: 2px solid rgba(4, 4, 4, 0.36);
  outline-offset: 2px;
}

.floating-modal__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-modal__divider {
  width: 100%;
  height: 1px;
  margin: 24px 0 0;
  background: rgba(198, 193, 161, 0.9);
}

.floating-modal__info {
  padding-top: 47px;
}

.floating-modal__info-title {
  margin: 0 0 36px;
  color: #040404;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.22;
  text-transform: uppercase;
}

.floating-modal__info-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 490px);
  gap: clamp(40px, 11vw, 148px);
  align-items: start;
}

.modal-backdrop[data-room-modal] .feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  height: auto;
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.22;
}

.modal-backdrop[data-room-modal] .feature-grid__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  position: static;
}

.modal-backdrop[data-room-modal] .feature-grid__icon {
  flex: 0 0 auto;
  display: block;
  margin-top: 3px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.modal-backdrop[data-room-modal] .feature-grid__item--size .feature-grid__icon {
  width: 15px;
  height: 15px;
  background-image: url("../images/figma/room-modal/icon-size.svg");
  background-size: 15px 15px;
}

.modal-backdrop[data-room-modal] .feature-grid__item--bed .feature-grid__icon {
  width: 22px;
  height: 15px;
  background-image: url("../images/figma/room-modal/icon-bed.svg");
  background-size: 22px 15px;
}

.modal-backdrop[data-room-modal] .feature-grid__item--guests .feature-grid__icon {
  width: 21px;
  height: 15.167px;
  background-image: url("../images/figma/room-modal/icon-people.svg");
  background-size: 21px 15.167px;
}

.modal-backdrop[data-room-modal] .feature-grid strong {
  display: block;
  margin: 0;
  color: #040404;
  font-weight: 600;
}

.modal-backdrop[data-room-modal] .feature-grid span:not(.feature-grid__icon) {
  display: block;
  font-weight: 400;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.floating-modal__tour {
  width: 197px;
  min-height: 51px;
  margin-top: 22px;
  padding: 0 20px;
}

.floating-modal__description {
  width: 100%;
  margin: 0;
  color: #040404;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.22;
}

.floating-modal__description p {
  margin: 0;
  white-space: pre-line;
}

.floating-modal__description-section {
  margin: 0 0 14px;
}

.floating-modal__description-section:last-child {
  margin-bottom: 0;
}

.floating-modal__description-title {
  margin: 0;
  color: #040404;
  font-family: var(--font-body);
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}

.floating-modal__description-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.floating-modal__description-item {
  margin: 0;
}

.floating-modal__description-item::before {
  content: "• ";
}

.floating-modal__divider--bottom {
  margin-top: 42px;
}

.floating-modal__actions {
  display: none;
}

.modal-backdrop--contact {
  background: rgba(4, 4, 4, 0.42);
  backdrop-filter: none;
}

.contact-modal {
  position: relative;
  width: min(774px, calc(100vw - 48px));
  height: min(539px, calc(100vh - 48px));
  display: block;
  background: #fffced;
  color: #040404;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-modal__text {
  position: absolute;
  left: 50%;
  top: 46px;
  transform: translateX(-50%);
  width: 273px;
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
}

.contact-modal__close {
  position: absolute;
  top: 38px;
  right: 32px;
  width: 14px;
  height: 14px;
  min-width: 14px;
  min-height: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #040404;
  font-size: 0;
}

.contact-modal__close::before,
.contact-modal__close::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
}

.contact-modal__close::before {
  transform: rotate(45deg);
}

.contact-modal__close::after {
  transform: rotate(-45deg);
}

.contact-modal__close:hover,
.contact-modal__close:focus-visible {
  background: transparent;
}

.contact-modal__close:focus-visible {
  outline: 2px solid rgba(4, 4, 4, 0.28);
  outline-offset: 4px;
}

.contact-modal__text h2 {
  width: 100%;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 400;
  line-height: 47px;
  white-space: nowrap;
  text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-modal__text a {
  color: #000;
  font-size: 20px;
  line-height: 28px;
  text-decoration: none;
}

.contact-modal__actions {
  position: absolute;
  left: 50%;
  top: 174px;
  transform: translateX(-50%);
  width: 273px;
  display: grid;
  gap: 20px;
}

.contact-modal__button {
  box-sizing: border-box;
  width: 100%;
  height: var(--button-height);
  min-height: var(--button-height);
  padding: 0 32px;
  border: 1px solid var(--booking-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.contact-modal__button::before {
  content: none;
}

.contact-modal__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  object-fit: contain;
}

.contact-modal__icon--phone {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
}

.contact-modal__button:hover,
.contact-modal__button:focus-visible {
  background: var(--button-hover-fill);
}

.contact-modal__button:focus-visible {
  outline: 2px solid rgba(4, 4, 4, 0.28);
  outline-offset: 2px;
}

.contact-modal__button--telegram::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.16c.18-.76-.54-1.39-1.25-1.09L2.86 10.5c-.82.34-.78 1.51.07 1.78l4.47 1.39 1.73 5.25c.26.8 1.27.99 1.79.33l2.48-3.16 4.56 3.35c.67.49 1.63.13 1.82-.68l2.16-14.6ZM8.1 12.94l8.73-5.49c.16-.1.32.11.18.24l-7.2 6.5-.3 3.28-1.41-4.53Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21.94 4.16c.18-.76-.54-1.39-1.25-1.09L2.86 10.5c-.82.34-.78 1.51.07 1.78l4.47 1.39 1.73 5.25c.26.8 1.27.99 1.79.33l2.48-3.16 4.56 3.35c.67.49 1.63.13 1.82-.68l2.16-14.6ZM8.1 12.94l8.73-5.49c.16-.1.32.11.18.24l-7.2 6.5-.3 3.28-1.41-4.53Z'/%3E%3C/svg%3E");
}

.contact-modal__button--whatsapp::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.83 11.83 0 0 0 12.09 0C5.55 0 .23 5.32.23 11.86c0 2.09.55 4.14 1.59 5.94L.13 24l6.35-1.66a11.86 11.86 0 0 0 5.61 1.43h.01c6.54 0 11.86-5.32 11.86-11.86 0-3.17-1.23-6.15-3.44-8.43ZM12.1 21.75h-.01c-1.77 0-3.5-.48-5.01-1.38l-.36-.22-3.77.99 1-3.67-.24-.38a9.84 9.84 0 0 1-1.5-5.23c0-5.45 4.43-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.43 9.88-9.88 9.88Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.48-1.75-1.65-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.22 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.52 3.48A11.83 11.83 0 0 0 12.09 0C5.55 0 .23 5.32.23 11.86c0 2.09.55 4.14 1.59 5.94L.13 24l6.35-1.66a11.86 11.86 0 0 0 5.61 1.43h.01c6.54 0 11.86-5.32 11.86-11.86 0-3.17-1.23-6.15-3.44-8.43ZM12.1 21.75h-.01c-1.77 0-3.5-.48-5.01-1.38l-.36-.22-3.77.99 1-3.67-.24-.38a9.84 9.84 0 0 1-1.5-5.23c0-5.45 4.43-9.88 9.89-9.88 2.64 0 5.12 1.03 6.99 2.9a9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.43 9.88-9.88 9.88Zm5.42-7.39c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.25-.46-2.38-1.47-.88-.78-1.48-1.75-1.65-2.05-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.22 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.23 1.36.2 1.87.12.57-.08 1.76-.72 2.01-1.41.25-.69.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35Z'/%3E%3C/svg%3E");
}

.contact-modal__button--viber::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.32 2.24A23.2 23.2 0 0 0 6.68 2.2C4.53 2.73 2.82 4.45 2.3 6.6a22.67 22.67 0 0 0 0 9.66c.44 1.82 1.75 3.34 3.48 4.06v2.02c0 .75.9 1.13 1.43.6l2.16-2.16c2.67.3 5.36.17 7.95-.45 2.15-.52 3.86-2.24 4.38-4.39a22.67 22.67 0 0 0 0-9.33c-.52-2.14-2.23-3.86-4.38-4.37Zm-4.93 15.03c-3.13-1.26-5.27-3.42-6.5-6.52-.38-.95.2-2 1.2-2.18l.72-.13c.44-.08.88.15 1.06.56l.74 1.66c.15.33.1.72-.13 1l-.38.47c.55.93 1.27 1.65 2.2 2.2l.47-.38c.28-.23.67-.28 1-.13l1.66.74c.41.18.64.62.56 1.06l-.13.72c-.18 1-1.23 1.58-2.17 1.2l-.3-.12Zm1.28-10.94c2.08.38 3.57 1.88 3.95 3.95.08.44-.21.86-.65.94-.44.08-.86-.21-.94-.65-.25-1.4-1.27-2.42-2.67-2.67a.81.81 0 0 1-.65-.94c.08-.44.5-.73.96-.63Zm.27-2.68c3.33.5 5.7 2.87 6.2 6.2.07.45-.24.86-.69.93-.45.07-.86-.24-.93-.69-.39-2.62-2.22-4.45-4.84-4.84a.81.81 0 0 1-.69-.93c.07-.45.5-.75.95-.67Zm-.41 5.28c.85.2 1.34.69 1.54 1.54.1.43-.17.87-.61.97-.43.1-.87-.17-.97-.61-.06-.26-.13-.33-.39-.39a.8.8 0 0 1-.61-.97c.1-.43.53-.7.97-.6l.07.02Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.32 2.24A23.2 23.2 0 0 0 6.68 2.2C4.53 2.73 2.82 4.45 2.3 6.6a22.67 22.67 0 0 0 0 9.66c.44 1.82 1.75 3.34 3.48 4.06v2.02c0 .75.9 1.13 1.43.6l2.16-2.16c2.67.3 5.36.17 7.95-.45 2.15-.52 3.86-2.24 4.38-4.39a22.67 22.67 0 0 0 0-9.33c-.52-2.14-2.23-3.86-4.38-4.37Zm-4.93 15.03c-3.13-1.26-5.27-3.42-6.5-6.52-.38-.95.2-2 1.2-2.18l.72-.13c.44-.08.88.15 1.06.56l.74 1.66c.15.33.1.72-.13 1l-.38.47c.55.93 1.27 1.65 2.2 2.2l.47-.38c.28-.23.67-.28 1-.13l1.66.74c.41.18.64.62.56 1.06l-.13.72c-.18 1-1.23 1.58-2.17 1.2l-.3-.12Zm1.28-10.94c2.08.38 3.57 1.88 3.95 3.95.08.44-.21.86-.65.94-.44.08-.86-.21-.94-.65-.25-1.4-1.27-2.42-2.67-2.67a.81.81 0 0 1-.65-.94c.08-.44.5-.73.96-.63Zm.27-2.68c3.33.5 5.7 2.87 6.2 6.2.07.45-.24.86-.69.93-.45.07-.86-.24-.93-.69-.39-2.62-2.22-4.45-4.84-4.84a.81.81 0 0 1-.69-.93c.07-.45.5-.75.95-.67Zm-.41 5.28c.85.2 1.34.69 1.54 1.54.1.43-.17.87-.61.97-.43.1-.87-.17-.97-.61-.06-.26-.13-.33-.39-.39a.8.8 0 0 1-.61-.97c.1-.43.53-.7.97-.6l.07.02Z'/%3E%3C/svg%3E");
}

.contact-modal__button--phone {
  height: var(--button-height);
  min-height: var(--button-height);
  letter-spacing: var(--button-letter-spacing-compact);
}

.contact-modal__button--phone::before {
  width: 19px;
  height: 19px;
  flex-basis: 19px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.118 2.25h2.227l1.114 3.34-1.67 1.67a10.166 10.166 0 0 0 4.95 4.95l1.67-1.67 3.34 1.114v2.227A1.364 1.364 0 0 1 14.386 15.25C7.845 15.25 2.75 10.155 2.75 3.614A1.364 1.364 0 0 1 4.118 2.25Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4.118 2.25h2.227l1.114 3.34-1.67 1.67a10.166 10.166 0 0 0 4.95 4.95l1.67-1.67 3.34 1.114v2.227A1.364 1.364 0 0 1 14.386 15.25C7.845 15.25 2.75 10.155 2.75 3.614A1.364 1.364 0 0 1 4.118 2.25Z' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (min-width: 375px) and (max-width: 767px) {
  .modal-backdrop[data-room-modal] {
    padding: 0;
    background: rgba(4, 4, 4, 0.42);
  }

  .modal-backdrop[data-room-modal] .floating-modal {
    width: 100vw;
    min-height: 100svh;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
    box-shadow: none;
  }

  .floating-modal__head {
    display: block;
    padding: 33px 16px 0;
  }

  .floating-modal__copy {
    gap: 16px;
  }

  .floating-modal__title {
    max-width: calc(100% - 42px);
    font-size: 28px;
    line-height: 28px;
  }

  .floating-modal__intro {
    max-width: calc(100% - 6px);
    font-size: 14px;
    line-height: normal;
    text-shadow: 20px 20px 50px rgba(0, 0, 0, 0.15);
  }

  .floating-modal__close {
    position: fixed;
    top: 26px;
    right: 16px;
    z-index: 30;
    background-size: 15px 15px;
  }

  .floating-modal__body {
    padding: 0 0 145px;
  }

  .floating-modal__gallery {
    gap: 10px;
    margin-top: 40px;
  }

  .floating-modal__stage {
    height: 264px;
    aspect-ratio: auto;
  }

  .floating-modal__gallery-arrow {
    width: 25px;
    height: 25px;
  }

  .floating-modal__gallery-arrow--prev {
    margin-left: 16px;
  }

  .floating-modal__gallery-arrow--next {
    margin-right: 16px;
  }

  .floating-modal__gallery-dots {
    gap: 8px;
    margin-bottom: 16px;
  }

  .floating-modal__gallery-dot {
    width: 6px;
    height: 6px;
  }

  .floating-modal__thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
    height: 50px;
    max-height: 50px;
    padding: 0 16px;
  }

  .floating-modal__thumb {
    height: 50px;
    max-height: 50px;
  }

  .floating-modal__divider {
    width: calc(100% - 32px);
    margin: 28px auto 0;
  }

  .floating-modal__info {
    width: calc(100% - 32px);
    margin: 0 auto;
    padding-top: 32px;
  }

  .floating-modal__info-title {
    display: none;
  }

  .floating-modal__info-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .modal-backdrop[data-room-modal] .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    font-size: 14px;
    line-height: normal;
  }

  .modal-backdrop[data-room-modal] .feature-grid__item {
    gap: 8px;
  }

  .modal-backdrop[data-room-modal] .feature-grid__icon {
    margin-top: 0;
  }

  .modal-backdrop[data-room-modal] .feature-grid strong,
  .modal-backdrop[data-room-modal] .feature-grid span:not(.feature-grid__icon) {
    line-height: 14px;
    white-space: normal;
  }

  .floating-modal__tour {
    display: none;
  }

  .floating-modal__description {
    font-size: 14px;
    line-height: normal;
  }

  .floating-modal__description-section {
    margin-bottom: 12px;
  }

  .floating-modal__divider--bottom {
    margin-top: 32px;
  }

  .floating-modal__actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 20;
    display: grid;
    gap: 8px;
    width: 100vw;
    padding: 24px 16px calc(24px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--booking-line);
    background: #fffced;
  }

  .floating-modal__actions .button-primary,
  .floating-modal__actions .button-secondary {
    width: 100%;
    min-height: 45px;
  }
}
