@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/CormorantSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/CormorantSC-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/CormorantSC-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant SC";
  src: url("../fonts/CormorantSC-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Great Vibes";
  src: url("../fonts/GreatVibes-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Florisel script";
  src: url("../fonts/Floriselscript.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eee5dc;
  --ink: #4f4039;
  --light: #efe9e4;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.78);
  --button-border: #4f4039;
  --title-font: "Cormorant SC", "Times New Roman", serif;
  --script-font: "Great Vibes", "Florisel script", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--title-font);
  font-weight: 500;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
.button {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.site-header {
  position: absolute;
  z-index: 5;
  top: 58px;
  left: 50%;
  width: calc(100% - 88px);
  height: 42px;
  display: flex;
  align-items: flex-start;
  transform: translateX(-50%);
  border-bottom: 2px solid var(--line);
  color: var(--light);
}

.logo {
  flex: 0 0 102px;
  margin-top: -13px;
}

.main-nav {
  width: 100%;
  display: grid;
  grid-template-columns: 160px 150px 150px 1fr 150px;
  align-items: start;
  padding-left: 30px;
  font-size: 28px;
  line-height: 1;
}

.main-nav a {
  position: relative;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
}

.main-nav a:nth-child(4) {
  text-align: left;
  padding-left: 45px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  height: 788px;
  overflow: hidden;
  color: var(--light);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0) 59.7%, #0f0f0f 98.64%) top / 100% 500px no-repeat,
    linear-gradient(180deg, rgba(0, 0, 0, 0) 44.8%, rgba(15, 15, 15, 0.81) 97.56%);
  pointer-events: none;
}

.hero__quote {
  position: absolute;
  top: 265px;
  left: 50%;
  width: 860px;
  margin: 0;
  transform: translateX(-50%);
  font-family: var(--script-font);
  font-size: 54px;
  line-height: 58px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.58);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-width: 222px;
  min-height: 40px;
  padding: 5px 20px 8px;
  border: 2px solid var(--button-border);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 22px;
  font-weight: inherit;
  line-height: 1;
  background: transparent;
}

.button:hover,
.button:focus-visible {
  background: rgba(79, 64, 57, 0.08);
  box-shadow: 0 8px 20px rgba(79, 64, 57, 0.14);
  transform: translateY(-2px);
}

.button:active {
  box-shadow: 0 4px 12px rgba(79, 64, 57, 0.12);
  transform: translateY(0);
}

.button::before,
.button::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.button span {
  margin: 0 20px;
}

.button--hero {
  position: absolute;
  left: 50%;
  bottom: 51px;
  min-width: 408px;
  min-height: 62px;
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, 0.86);
  color: var(--light);
  font-size: 29px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}

.button--hero:hover,
.button--hero:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  color: #ffffff;
  transform: translateX(-50%) translateY(-2px);
}

.button--hero:active {
  transform: translateX(-50%);
}

.contacts__details a:hover,
.contacts__details a:focus-visible {
  color: #7a5b4d;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.section {
  width: min(1380px, calc(100% - 60px));
  margin: 0 auto;
}

.section__intro {
  margin: 0 auto;
  text-align: center;
}

.section__intro h1,
.section__intro h2 {
  margin: 0 0 16px;
  font-size: 45px;
  line-height: 1;
  font-weight: 500;
}

.section__intro p {
  margin: 0;
  font-family: var(--script-font);
  font-size: 40px;
  line-height: 46px;
  text-align: center;
}

.section__intro--rooms {
  max-width: 1210px;
  padding-top: 190px;
}

.section__intro--seo {
  max-width: 980px;
  padding-top: 120px;
}

.section__intro--seo p {
  font-family: var(--base-font);
  font-size: 22px;
  line-height: 1.5;
}

.section__intro--rooms h2 {
  margin-bottom: 15px;
}

.rooms__list {
  display: grid;
  gap: 160px;
  margin-top: 160px;
}

.room-card {
  display: grid;
  grid-template-columns: 801px 1fr;
  column-gap: 126px;
  align-items: stretch;
}

.room-slider {
  position: relative;
  width: 801px;
}

.room-slider__viewport {
  overflow: hidden;
  width: 100%;
  height: 592px;
}

.room-slider__track {
  display: flex;
  height: 100%;
  transform: translateX(0);
  transition: transform 320ms ease;
}

.room-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.room-card__image {
  width: 801px;
  height: 592px;
  object-fit: cover;
}

.room-slider__control {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(15, 15, 15, 0.22);
  color: var(--white);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.room-slider__control:hover,
.room-slider__control:focus-visible {
  border-color: var(--white);
  background: rgba(15, 15, 15, 0.4);
  transform: translateY(-50%) translateY(-2px);
}

.room-slider__control::before {
  content: "";
  width: 16px;
  height: 16px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.room-slider__control--prev {
  left: 18px;
}

.room-slider__control--prev::before {
  transform: translateX(3px) rotate(-45deg);
}

.room-slider__control--next {
  right: 18px;
}

.room-slider__control--next::before {
  transform: translateX(-3px) rotate(135deg);
}

.room-slider__dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(15, 15, 15, 0.26);
  transform: translateX(-50%);
}

.room-slider__dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.room-slider__dot.is-active,
.room-slider__dot:hover,
.room-slider__dot:focus-visible {
  background: var(--white);
  transform: scale(1.12);
}

.room-card__content {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding-top: 8px;
}

.room-card h2 {
  margin: 0 0 72px;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
}

.room-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 19px;
  line-height: 1.63;
}

.room-card li::before {
  content: "— ";
}

.room-card__price {
  margin: 60px 0 30px;
  font-size: 20px;
  line-height: 1;
}

.room-card__content .button {
  align-self: flex-start;
  margin-top: auto;
}

.room-card__price strong {
  font-size: 32px;
  font-weight: 500;
}

.room-card__price-old {
  margin-right: 8px;
  color: #8a8178;
  font-size: 32px;
}

.room-card__description {
  margin: 0 0 32px;
  font-size: 20px;
  line-height: 1.35;
}

.gallery {
  padding-top: 234px;
}

.section__intro--gallery {
  max-width: 1010px;
}

.section__intro--gallery h2 {
  margin-bottom: 18px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 337px);
  gap: 12px 11px;
  margin-top: 222px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 337px;
  height: 274px;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(79, 64, 57, 0.24);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery__item::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 46%, transparent 64%) -180% 0 / 180% 100% no-repeat,
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(79, 64, 57, 0.14));
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery__item.is-loading::before,
.gallery__grid--force-skeleton .gallery__item::before {
  opacity: 1;
  animation: gallery-skeleton 1.35s ease-in-out infinite;
}

.gallery__item.is-loading img,
.gallery__grid--force-skeleton .gallery__item img {
  opacity: 0.18;
}

.gallery__item:hover::after,
.gallery__item:focus-visible::after {
  opacity: 1;
}

.gallery__item:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.gallery__item img {
  width: 337px;
  height: 274px;
  object-fit: cover;
  transition:
    opacity 180ms ease,
    transform 240ms ease;
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.04);
}

@keyframes gallery-skeleton {
  0% {
    background-position: -180% 0, 0 0;
  }

  100% {
    background-position: 180% 0, 0 0;
  }
}

.lightbox {
  position: fixed;
  z-index: 20;
  inset: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 24px;
  padding: 36px;
  background: rgba(17, 14, 12, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox__figure {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin: 0;
  min-width: 0;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.36);
}

.lightbox__caption {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
  color: var(--light);
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
}

.lightbox__counter {
  opacity: 0.72;
  white-space: nowrap;
}

.lightbox__close,
.lightbox__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.lightbox__close:hover,
.lightbox__close:focus-visible,
.lightbox__control:hover,
.lightbox__control:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 0;
}

.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background: currentColor;
  transform-origin: center;
}

.lightbox__close::before {
  transform: rotate(45deg);
}

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

.lightbox__control {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.lightbox__control::before {
  content: "";
  width: 18px;
  height: 18px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
}

.lightbox__control--prev::before {
  transform: translateX(4px) rotate(-45deg);
}

.lightbox__control--next::before {
  transform: translateX(-4px) rotate(135deg);
}

.rules {
  padding-top: 258px;
  text-align: center;
}

.section__intro--rules {
  max-width: 1260px;
}

.section__intro--rules h2 {
  margin-bottom: 19px;
}

.rules .button {
  margin-top: 43px;
}

.contacts {
  padding-top: 258px;
}

.section__intro--contacts h2 {
  margin-bottom: 17px;
}

.contacts__layout {
  display: grid;
  grid-template-columns: 685px 1fr;
  column-gap: 170px;
  align-items: center;
  width: 1150px;
  margin: 130px auto 0;
}

.contacts__map {
  width: 685px;
  height: 614px;
  overflow: hidden;
}

.contacts__map > ymaps,
.contacts__map iframe {
  width: 100% !important;
  height: 100% !important;
}

.contacts__details {
  display: grid;
  gap: 30px;
  margin: 0;
  padding-top: 8px;
  font-style: normal;
  text-align: center;
}

.contacts__details h3 {
  margin: 0 0 20px;
  font-size: 34px;
  line-height: 1;
  font-weight: 500;
  text-transform: uppercase;
}

.contacts__details p {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.site-footer {
  width: min(1380px, calc(100% - 60px));
  margin: 125px auto 0;
  padding-bottom: 8px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1200px) {
  .site-header {
    top: 28px;
    width: calc(100% - 40px);
  }

  .main-nav {
    grid-template-columns: repeat(5, auto);
    gap: 22px;
    justify-content: space-between;
    padding-left: 18px;
    font-size: 22px;
  }

  .main-nav a:nth-child(4) {
    padding-left: 0;
  }

  .rooms__list,
  .room-card,
  .contacts__layout {
    width: min(801px, 100%);
  }

  .room-card,
  .contacts__layout {
    grid-template-columns: 1fr;
    row-gap: 46px;
  }

  .room-card__content {
    min-height: 0;
  }

  .room-slider,
  .room-card__image,
  .contacts__map {
    width: 100%;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery__item,
  .gallery__item img {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    top: 18px;
    height: auto;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0;
  }

  .logo {
    flex-basis: 72px;
    margin-top: 0;
  }

  .logo img {
    width: 72px;
    height: auto;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 7;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(15, 15, 15, 0.18);
    color: var(--white);
    cursor: pointer;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      transform 180ms ease;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: currentColor;
    transform-origin: center;
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    background: rgba(15, 15, 15, 0.35);
    border-color: var(--white);
    transform: translateY(-1px);
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    z-index: 6;
    top: 58px;
    right: 0;
    display: grid;
    width: min(280px, calc(100vw - 40px));
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(15, 15, 15, 0.88);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-header.is-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a,
  .main-nav a:nth-child(4) {
    padding: 13px 0;
    text-align: right;
    font-size: 24px;
    line-height: 1;
  }

  .main-nav a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hero {
    height: 560px;
  }

  .hero__quote {
    top: 170px;
    width: calc(100% - 40px);
    font-size: 44px;
    line-height: 48px;
  }

  .button--hero {
    min-width: 280px;
    font-size: 22px;
  }

  .section {
    width: calc(100% - 32px);
  }

  .section__intro--rooms,
  .gallery,
  .rules,
  .contacts {
    padding-top: 110px;
  }

  .section__intro h1,
  .section__intro h2 {
    font-size: 39px;
  }

  .section__intro p {
    font-size: 35px;
    line-height: 39px;
  }

  .rooms__list {
    margin-top: 70px;
    gap: 70px;
  }

  .room-slider__viewport,
  .room-card__image {
    height: auto;
    aspect-ratio: 801 / 592;
  }

  .contacts__map {
    height: auto;
    aspect-ratio: 500 / 400;
  }

  .room-slider__control {
    width: 44px;
    height: 44px;
  }

  .room-slider__control--prev {
    left: 12px;
  }

  .room-slider__control--next {
    right: 12px;
  }

  .room-slider__dots {
    bottom: 14px;
  }

  .room-card h2 {
    margin-bottom: 38px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .gallery__item {
    height: 250px;
  }

  .gallery__item img {
    height: 250px;
  }

  .lightbox {
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 10px;
    padding: 74px 14px 24px;
  }

  .lightbox__image {
    max-height: calc(100vh - 178px);
  }

  .lightbox__caption {
    flex-direction: column;
    gap: 8px;
    font-size: 20px;
  }

  .lightbox__close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }

  .lightbox__close::before,
  .lightbox__close::after {
    width: 22px;
  }

  .lightbox__control {
    width: 44px;
    height: 44px;
  }

  .lightbox__control::before {
    width: 14px;
    height: 14px;
  }

  .contacts__layout {
    margin-top: 80px;
  }

  .site-footer {
    margin-top: 90px;
  }
}

.widget--hero {
  position: absolute;
  left: 50%;
  bottom: 51px;
  transform: translateX(-50%);
}

html {
  --k-color-shape-bold-warning: transparent;
  --k-color-shape-bold-warning-hover: transparent;
  --k-color-shape-bold-warning-pressed: transparent;
  --bm-theme-container-bg: #37373700;
  --bm-theme-container-border: none;
}

.WidgetBookingControlButtonContainer{
  --k-color-shape-bold-warning: transparent;
  --k-color-shape-bold-warning-hover: transparent;
  --k-color-shape-bold-warning-pressed: transparent;
}


#WidgetHorizontalBlockId .WidgetBookingControlButtonContainer{
  --k-color-shape-bold-warning: transparent;
  --k-color-shape-bold-warning-hover: transparent;
  --k-color-shape-bold-warning-pressed: transparent;
}

.react-ui-button-root button {
  color: var(--ink) !important;
  border: 1px solid var(--button-border) !important;
  border-radius: 0 !important;
  font-family: var(--title-font);
}


#WidgetHorizontalBlockId .WidgetBookingControlButtonContainer button {
  color: var(--white) !important;
  border: 1px solid var(--white) !important;
  border-radius: 0 !important;
}

.WidgetBookingControlButtonContainer .react-ui-button-caption::before,
.WidgetBookingControlButtonContainer .react-ui-button-caption::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.WidgetBookingControlButtonContainer .react-ui-button-caption{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.WidgetBookingControlButtonContainer .react-ui-button-caption span {
  margin: 0 20px;
}

.seo-intro{
  display: none;
}
}
