/*
Theme Name: Muratov House
Theme URI: https://muratovhouse.ru
Author: Muratov House
Description: Тема сайта отеля Муратов Хаус
Version: 1.0.0
Text Domain: muratov-house
*/

@font-face {
  font-family: "Galeona Modern";
  src: url("fonts/GaleonaModern.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("fonts/RobotoSlab-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
html.wp-toolbar {
  margin: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  padding-top: 0 !important;
  scroll-behavior: smooth;
}

body,
body.muratov-house {
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

#wpadminbar {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

:root {
  --brown-l: #e4d2bc;
  --brown-m: #c3ac88;
  --brown-h: #6b6053;

  --black: #000000;
  --white: #ffffff;
  --gray: #e2e2e2;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}

p,
span,
a,
button {
  margin: 0;
  font-weight: 300;
}

.hero-title,
.main-about-hotel-wrapper-title,
.main-rooms-wrapper-title,
.main-history-up-meta-title,
.main-map-wrapper-title,
.main-faq-wrapper-title,
.rooms-page-main-header-title {
  font-size: 128px;
  line-height: 154px;
  font-family: "Galeona Modern";
}

h1 {
  font-size: 56px;
  line-height: 67px;
  font-family: "Galeona Modern";
}

h2,
.main-cta-slider-text {
  font-size: 40px;
  line-height: 48px;
  font-family: "Roboto Slab";
}

h3,
.rooms-page-main-body-block-wrapper-title {
  font-size: 28px;
  line-height: 34px;
  font-family: "Roboto Slab";
}

h4,
.hero-description,
.main-section-text,
.footer-nav .footer-link,
.footer-contacts .footer-link,
.rooms-page-main-body-block-wrapper-meta-size,
.rooms-page-main-body-block-wrapper-meta-guests {
  font-size: 21px;
  line-height: 29px;
  font-family: "Roboto Slab";
}

p {
  font-size: 16px;
  line-height: 24px;
  font-family: "Roboto Slab";
}

button,
a {
  font-size: 16px;
  line-height: 16px;
  font-family: "Roboto Slab";
}

span {
  font-size: 14px;
  line-height: 19px;
  font-family: "Roboto Slab";
}

@media (min-width: 768px) and (max-width: 1199px) {
  .hero-title,
  .main-about-hotel-wrapper-title,
  .main-rooms-wrapper-title,
  .main-history-up-meta-title,
  .main-map-wrapper-title,
  .main-faq-wrapper-title,
  .rooms-page-main-header-title {
    font-size: 72px;
    line-height: 86px;
  }

  h1 {
    font-size: 44px;
    line-height: 53px;
  }

  h2,
  .main-cta-slider-text {
    font-size: 34px;
    line-height: 41px;
  }

  h3,
  .rooms-page-main-body-block-wrapper-title {
    font-size: 24px;
    line-height: 29px;
  }

  h4,
  .hero-description,
  .main-section-text,
  .footer-nav .footer-link,
  .footer-contacts .footer-link,
  .rooms-page-main-body-block-wrapper-meta-size,
  .rooms-page-main-body-block-wrapper-meta-guests {
    font-size: 19px;
    line-height: 23px;
  }

  p {
    font-size: 16px;
    line-height: 24px;
  }

  a,
  button {
    font-size: 16px;
    line-height: 16px;
  }
}

@media (max-width: 767px) {
  .hero-title,
  .main-about-hotel-wrapper-title,
  .main-rooms-wrapper-title,
  .main-history-up-meta-title,
  .main-map-wrapper-title,
  .main-faq-wrapper-title,
  .rooms-page-main-header-title {
    font-size: 48px;
    line-height: 58px;
  }

  h1 {
    font-size: 32px;
    line-height: 38px;
  }

  h2,
  .main-cta-slider-text {
    font-size: 28px;
    line-height: 34px;
  }

  h3,
  .rooms-page-main-body-block-wrapper-title {
    font-size: 22px;
    line-height: 27px;
  }

  h4,
  .footer-nav .footer-link,
  .footer-contacts .footer-link,
  .rooms-page-main-body-block-wrapper-meta-size,
  .rooms-page-main-body-block-wrapper-meta-guests {
    font-size: 18px;
    line-height: 22px;
  }

  p,
  .hero-description,
  .main-section-text {
    font-size: 16px;
    line-height: 24px;
  }

  a,
  button {
    font-size: 16px;
    line-height: 16px;
  }
}

/* Header */

.header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.header-wrapper {
  display: flex;
  flex-flow: column nowrap;
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brown-m);
  padding: 5px 0;
}

.header-top span {
  color: var(--black);
}

.header-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  background-color: transparent;
  transition:
    background-color 0.4s ease,
    padding 0.4s ease;
}

.header-menu-left,
.header-inner-menu-left {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.header-desktop-menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.4s ease, opacity 0.4s ease;
}

.header-desktop-menu-btn:hover {
  opacity: 0.75;
}

.header-desktop-menu-btn-icon {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  gap: 6px;
  width: 22px;
}

.header-desktop-menu-btn-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: currentColor;
}

.header-desktop-menu-btn-text {
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 16px;
  font-weight: 500;
}

.header.header_down .header-desktop-menu-btn,
.header-desktop-menu-btn_inner {
  color: var(--black);
}

.header-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.4s ease;
}

.header-menu-link {
  display: flex;
  text-decoration: none;
  color: var(--white);
  padding: 5px 0;
  font-weight: 500;
  transition: all 0.4s ease;
}

.header-menu-link:hover {
  opacity: 0.75;
}

.header-menu-link-booking {
  display: flex;
  text-decoration: none;
  color: var(--white);
  padding: 5px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--white);
  transition: all 0.4s ease;
}

.header-menu-link-booking:hover {
  opacity: 0.75;
}

.header-menu-logo {
  position: relative;
  flex: 0 0 128px;
  width: 128px;
  height: 128px;
  padding: 8px;
  box-sizing: border-box;
  text-decoration: none;
  transition:
    height 0.4s ease,
    width 0.4s ease,
    flex-basis 0.4s ease,
    padding 0.4s ease;
}

.header-menu-logo img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  max-width: calc(100% - 16px);
  max-height: calc(100% - 16px);
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  transition: opacity 0.4s ease;
}

.header-menu-logo .header-menu-logo-down {
  opacity: 0;
  pointer-events: none;
  max-width: 200px;
  max-height: 48px;
}

.header-menu-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.4s ease;
}

.header-burger {
  display: none;
  flex-flow: column nowrap;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-menu-actions,
.header-inner-menu-actions {
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 120;
}

.header-max {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  text-decoration: none;
}

.header-max-image {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.header-burger-line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--white);
  transition:
    background-color 0.4s ease,
    transform 0.3s ease;
}

.header.header_down .header-menu {
  background-color: var(--white);
  padding: 8px 16px;
}

.header.header_down .header-menu-link,
.header.header_down .header-menu-link-booking {
  color: var(--black);
}

.header.header_down .header-menu-link-booking {
  border-bottom-color: var(--black);
}

.header.header_down .header-burger-line {
  background-color: var(--black);
}

.header.header_down .header-menu-logo {
  flex-basis: 160px;
  width: 160px;
  height: 40px;
  padding: 0;
}

.header.header_down .header-menu-logo .header-menu-logo-up {
  opacity: 0;
  pointer-events: none;
}

.header.header_down .header-menu-logo .header-menu-logo-down {
  opacity: 1;
  pointer-events: auto;
  max-width: 100%;
  max-height: 100%;
}

@media (max-width: 1199px) {
  .header-top {
    text-align: center;
    padding: 3px;
  }

  .header-menu {
    position: relative;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .header-menu-wrapper,
  .header-menu-contacts {
    display: none;
  }

  .header-menu-left {
    display: none;
  }

  .header-menu-actions {
    display: flex;
  }

  .header-burger {
    display: flex;
    z-index: 120;
  }

  .header-menu-logo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 0;
  }

  .header.header_down .header-menu-logo {
    flex-basis: 130px;
    width: 130px;
    height: 32px;
    padding: 0;
  }

  .header.header_down .header-menu-logo .header-menu-logo-up {
    opacity: 0;
    pointer-events: none;
  }

  .header.header_down .header-menu-logo .header-menu-logo-down {
    opacity: 1;
    pointer-events: auto;
    max-width: 100%;
    max-height: 100%;
  }

  .header.header_open {
    z-index: 200;
  }

  .header.header_open .header-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 88px 16px 40px 12px;
    background-color: var(--brown-l);
    box-sizing: border-box;
  }

  .header.header_open .header-menu-logo {
    display: none;
  }

  .header.header_open .header-menu-actions {
    position: absolute;
    top: 24px;
    right: 16px;
  }

  .header.header_open .header-burger {
    position: static;
  }

  .header.header_open .header-burger-line {
    background-color: var(--black);
  }

  .header.header_open .header-burger-line:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .header.header_open .header-burger-line:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .header.header_open .header-menu-wrapper,
  .header.header_open .header-menu-contacts {
    display: flex;
  }

  .header.header_open .header-menu-left {
    display: flex;
    flex: 1;
    width: 100%;
    flex-flow: column nowrap;
    align-items: flex-start;
  }

  .header.header_open .header-menu-contacts {
    flex-flow: column nowrap;
    align-items: flex-start;
    gap: 16px;
  }

  .header.header_open .header-menu-wrapper {
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    gap: 14px;
  }

  .header.header_open .header-menu-wrapper .header-menu-link {
    color: var(--black);
    font-size: 40px;
    line-height: 48px;
  }

  .header.header_open .header-menu-contacts .header-menu-link,
  .header.header_open .header-menu-contacts .header-menu-link-booking {
    color: var(--black);
    font-size: 22px;
    line-height: 27px;
  }

  .header.header_open .header-menu-link.header-menu-link_menu-only {
    display: flex;
  }

  .header.header_open .header-menu-link-booking {
    border-bottom-color: var(--black);
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-menu-logo {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
  }

  .header.header_down .header-menu-logo {
    flex-basis: 160px;
    width: 160px;
    height: 36px;
  }

  .header.header_open .header-menu-wrapper .header-menu-link {
    font-size: 40px;
    line-height: 48px;
  }

  .header.header_open .header-menu-contacts .header-menu-link,
  .header.header_open .header-menu-contacts .header-menu-link-booking {
    font-size: 28px;
    line-height: 34px;
  }
}

/* Header Inner (inner pages, always scrolled look) */

.header-inner {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.header-inner-wrapper {
  display: flex;
  flex-flow: column nowrap;
}

.header-inner-top {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--brown-m);
  padding: 5px 0;
}

.header-inner-top span {
  color: var(--black);
}

.header-inner-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background-color: var(--white);
}

.header-inner-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-inner-menu-link {
  display: flex;
  text-decoration: none;
  color: var(--black);
  padding: 5px 0;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.header-inner-menu-link:hover {
  opacity: 0.75;
}

.header-inner-menu-link-booking {
  display: flex;
  text-decoration: none;
  color: var(--black);
  padding: 5px 0;
  font-weight: 500;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.3s ease;
}

.header-inner-menu-link-booking:hover {
  opacity: 0.75;
}

.header-menu-link.header-menu-link_menu-only,
.header-inner-menu-link.header-inner-menu-link_menu-only {
  display: none;
}

.header-inner-menu-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 160px;
  width: 160px;
  height: 40px;
  text-decoration: none;
}

.header-inner-menu-logo-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.header-inner-menu-contacts {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-inner-burger {
  display: none;
  flex-flow: column nowrap;
  justify-content: center;
  gap: 8px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.header-inner-burger-line {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--black);
  transition: transform 0.3s ease;
}

.header-page-offset {
  height: max(120px, var(--header-height, 120px));
  flex-shrink: 0;
}

.page-rooms {
  padding-top: max(120px, var(--header-height, 120px));
}

@media (max-width: 1199px) {
  .header-inner-top {
    text-align: center;
    padding: 3px;
  }

  .header-inner-menu {
    position: relative;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .header-inner-menu-wrapper,
  .header-inner-menu-contacts {
    display: none;
  }

  .header-inner-menu-left {
    display: none;
  }

  .header-inner-menu-actions {
    display: flex;
  }

  .header-inner-burger {
    display: flex;
    z-index: 120;
  }

  .header-inner-menu-logo {
    flex: 0 0 130px;
    width: 130px;
    height: 32px;
  }

  .header-inner.header-inner_open {
    z-index: 200;
  }

  .header-inner.header-inner_open .header-inner-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    flex-flow: column nowrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 88px 16px 40px 12px;
    background-color: var(--brown-l);
    box-sizing: border-box;
  }

  .header-inner.header-inner_open .header-inner-menu-logo {
    display: none;
  }

  .header-inner.header-inner_open .header-inner-menu-actions {
    position: absolute;
    top: 24px;
    right: 16px;
  }

  .header-inner.header-inner_open .header-inner-burger {
    position: static;
  }

  .header-inner.header-inner_open .header-inner-burger-line:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .header-inner.header-inner_open .header-inner-burger-line:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .header-inner.header-inner_open .header-inner-menu-wrapper,
  .header-inner.header-inner_open .header-inner-menu-contacts {
    display: flex;
  }

  .header-inner.header-inner_open .header-inner-menu-left {
    display: flex;
    flex: 1;
    width: 100%;
    flex-flow: column nowrap;
    align-items: flex-start;
  }

  .header-inner.header-inner_open .header-inner-menu-contacts {
    flex-flow: column nowrap;
    align-items: flex-start;
    gap: 16px;
  }

  .header-inner.header-inner_open .header-inner-menu-wrapper {
    flex-flow: column nowrap;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    gap: 14px;
  }

  .header-inner.header-inner_open .header-inner-menu-wrapper .header-inner-menu-link {
    color: var(--black);
    font-size: 40px;
    line-height: 48px;
  }

  .header-inner.header-inner_open .header-inner-menu-contacts .header-inner-menu-link,
  .header-inner.header-inner_open .header-inner-menu-contacts .header-inner-menu-link-booking {
    color: var(--black);
    font-size: 22px;
    line-height: 27px;
  }

  .header-inner.header-inner_open .header-inner-menu-link.header-inner-menu-link_menu-only {
    display: flex;
  }

  .header-inner.header-inner_open .header-inner-menu-link-booking {
    border-bottom-color: var(--black);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .header-inner-menu-logo {
    flex-basis: 160px;
    width: 160px;
    height: 36px;
  }

  .header-inner.header-inner_open .header-inner-menu-wrapper .header-inner-menu-link {
    font-size: 40px;
    line-height: 48px;
  }

  .header-inner.header-inner_open .header-inner-menu-contacts .header-inner-menu-link,
  .header-inner.header-inner_open .header-inner-menu-contacts .header-inner-menu-link-booking {
    font-size: 28px;
    line-height: 34px;
  }
}

@media (min-width: 1200px) {
  .header-desktop-menu-btn {
    display: inline-flex;
  }
}

/* Desktop fullscreen menu */

.desktop-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.45s;
}

@media (min-width: 1200px) {
  .desktop-menu {
    display: block;
  }
}

.desktop-menu.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.desktop-menu-panel {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  padding: 40px 64px 48px;
  box-sizing: border-box;
  background-color: var(--brown-l);
  color: var(--black);
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.desktop-menu-bg {
  position: absolute;
  top: 50%;
  right: 25%;
  z-index: 0;
  width: min(42vw, 560px);
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  transform: translateY(-50%);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}

.desktop-menu-top,
.desktop-menu-navs,
.desktop-menu-footer {
  position: relative;
  z-index: 1;
}

.desktop-menu.is-open .desktop-menu-panel {
  transform: translateX(0);
}

.desktop-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.desktop-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.desktop-menu-close-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 44px;
}

.desktop-menu-close-icon::before,
.desktop-menu-close-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--brown-h);
}

.desktop-menu-close-icon::before {
  transform: translateY(-50%) rotate(45deg);
}

.desktop-menu-close-icon::after {
  transform: translateY(-50%) rotate(-45deg);
}

.desktop-menu-booking {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.3s ease;
}

.desktop-menu-booking:hover {
  opacity: 0.75;
}

.desktop-menu-navs {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  gap: 160px;
  padding: 48px 0;
  flex: 1;
}

.desktop-menu-nav {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 32px;
  max-width: 720px;
}

.desktop-menu-link {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}

.desktop-menu-link:hover {
  color: var(--brown-h);
}

.desktop-menu-footer {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  gap: 10px;
  max-width: none;
  margin-left: auto;
  text-align: right;
}

.desktop-menu-contacts-row {
  display: flex;
  flex-flow: row wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 10px;
}

.desktop-menu-contacts-sep {
  color: var(--brown-m);
  font-family: "Roboto Slab", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 400;
}

.desktop-menu-phone {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 400;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.desktop-menu-phone:hover {
  opacity: 0.75;
}

.desktop-menu-address {
  margin: 0;
  color: var(--brown-h);
  font-family: "Roboto Slab", serif;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
}

.desktop-menu-social {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.desktop-menu-social_max {
  font-size: 21px;
  line-height: 29px;
  font-weight: 400;
}

.desktop-menu-social:hover {
  opacity: 0.75;
}

body.desktop-menu-open {
  overflow: hidden;
}

/* Main Hero */

.main-hero {
  position: relative;
  display: flex;
  align-items: center;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.main-hero_empty {
  background-color: var(--gray);
}

.main-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1199px) {
  .main-hero-bg {
    object-position: 70% center;
  }
}

@media (max-width: 767px) {
  .main-hero-bg {
    object-position: 75% center;
  }
}

.main-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.main-hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.hero-title-wrap {
  overflow: hidden;
}

.hero-title {
  color: var(--white);
  text-align: center;
  transform: translateY(100%);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title.main-section-title {
  color: var(--black);
  text-align: inherit;
}

.hero-title.hero-title_in {
  transform: translateY(0);
}

.hero-description {
  color: var(--white);
  text-align: center;
}

.main-hero-booking {
  display: none;
  color: var(--white);
  text-decoration: none;
  font-family: "Roboto Slab", serif;
  font-weight: 500;
  border-bottom: 1px solid var(--white);
  transition: opacity 0.3s ease;
}

@media (max-width: 1199px) {
  .main-hero-wrapper {
    width: 100%;
    height: 100%;
    justify-content: center;
    gap: 16px;
    padding: 96px 16px 120px;
    box-sizing: border-box;
  }

  .main-hero-booking {
    display: inline-flex;
    position: absolute;
    left: 50%;
    bottom: 56px;
    z-index: 3;
    transform: translateX(-50%);
    padding: 5px 0;
    font-size: 16px;
    line-height: 16px;
    white-space: nowrap;
  }

  .main-hero-booking:hover,
  .main-hero-booking:focus-visible {
    opacity: 0.75;
  }
}

@media (max-width: 767px) {
  .main-hero-booking {
    bottom: 48px;
  }
}

/* Section Main About Hotel */

.main-about-hotel {
  display: flex;
  flex-flow: column nowrap;
  gap: 32px;
  padding: 32px 0;
}

.main-about-hotel-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  max-width: 50%;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.main-about-hotel-wrapper-title {
  display: flex;
  flex-flow: column nowrap;
}

.main-about-hotel-wrapper-title {
  color: var(--black);
}

.main-about-hotel-wrapper-title p {
  color: var(--black);
}

@media (max-width: 767px) {
  .main-about-hotel-wrapper {
    max-width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .main-about-hotel-wrapper {
    max-width: 100%;
  }
}

.main-about-hotel-slider {
  width: 100%;
  margin-left: 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.main-about-hotel-slider.is-desktop {
  cursor: pointer;
}

.main-about-hotel-slider.is-dragging {
  cursor: grabbing;
}

.main-about-hotel-slider-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  user-select: none;
  will-change: transform;
  padding: 40px 0;
}

.main-about-hotel-slider-slide {
  flex: 0 0 auto;
  width: min(28vw, 380px);
  height: min(52vh, 560px);
  overflow: hidden;
  transform: scale(0.62);
  transform-origin: center center;
  will-change: transform;
}

.main-about-hotel-slider-slide img,
.main-about-hotel-slider-slide-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.main-about-hotel-slider-slide-video {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 767px) {
  .main-about-hotel-slider-track {
    gap: 8px;
    padding: 12px 0;
  }

  .main-about-hotel-slider-slide {
    width: 72vw;
    height: 48vh;
    transform: scale(0.45);
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .main-about-hotel-slider-slide {
    width: 34vw;
    height: 50vh;
  }
}

/* Section Main Rooms Hotel */

.main-rooms {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-rooms-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-end;
  position: sticky;
  top: var(--header-height, 120px);
  z-index: 30;
  width: 100%;
  padding: 8px 16px;
  box-sizing: border-box;
  background-color: var(--white);
}

.main-rooms-wrapper-title-wrap {
  grid-column: 2;
  justify-self: center;
}

.main-rooms-wrapper-title {
  color: var(--black);
}

.main-rooms-wrapper-link {
  grid-column: 3;
  justify-self: end;
  align-self: end;
  margin-bottom: 32px;
  color: var(--black);
  border-bottom-color: var(--black);
}

.main-rooms-wrapper-link:hover {
  opacity: 0.75;
}

@media (max-width: 1199px) {
  .main-rooms-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-rooms-wrapper-title-wrap {
    grid-column: auto;
    justify-self: auto;
  }

  .main-rooms-wrapper-link {
    grid-column: auto;
    justify-self: auto;
    align-self: center;
    margin-bottom: 0px;
  }
}

.main-rooms-wrapper-rooms-column {
  display: flex;
  flex-flow: column nowrap;
  width: 100%;
  margin: 0;
  padding: 0;
}

.main-rooms-wrapper-rooms-block {
  position: sticky;
  top: calc(var(--header-height, 120px) + var(--rooms-title-height, 48px));
  z-index: 1;
  width: 100%;
  margin: 0;
  height: calc(
    100svh - var(--header-height, 120px) - var(--rooms-title-height, 48px)
  );
  overflow: hidden;
}

.main-block-brown-l {
  background-color: var(--brown-l);
}

.main-block-brown-m {
  background-color: var(--brown-m);
}

.main-rooms-wrapper-rooms-block-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: 0;
  row-gap: 16px;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-rooms-wrapper-rooms-block-meta-title {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 4px;
  grid-column: 1;
  grid-row: 2;
  justify-self: center;
  width: 100%;
  max-width: 100%;
  padding: 32px 24px 0;
  box-sizing: border-box;
}

.main-rooms-wrapper-rooms-block-meta-title h3 {
  color: var(--black);
  text-align: center;
}

.main-rooms-wrapper-rooms-block-meta-title p {
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.main-rooms-wrapper-rooms-block-meta-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  grid-column: 1;
  grid-row: 3;
  justify-self: center;
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.main-rooms-wrapper-rooms-block-meta-info-size,
.main-rooms-wrapper-rooms-block-meta-info-guests {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.6);
}

.main-rooms-wrapper-rooms-block-meta-info-size::before,
.main-rooms-wrapper-rooms-block-meta-info-guests::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

.main-rooms-wrapper-rooms-block-meta-info-size::before {
  background-image: url("images/room-size.svg");
}

.main-rooms-wrapper-rooms-block-meta-info-size::after {
  content: " \043C\00B2";
}

.main-rooms-wrapper-rooms-block-meta-info-guests::before {
  background-image: url("images/room-guest.svg");
}

.main-rooms-wrapper-rooms-block-meta-description {
  grid-column: 1;
  grid-row: 4;
  justify-self: center;
  text-align: center;
  color: var(--black);
  width: 100%;
  max-width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.main-rooms-wrapper-rooms-block-meta-link {
  display: flex;
  justify-content: center;
  grid-column: 1;
  grid-row: 5;
  justify-self: center;
  padding: 14px 28px;
  margin-bottom: 32px;
  background-color: transparent;
  border: 1px solid var(--black);
  color: var(--black);
  text-decoration: none;
  margin-top: 0;
  transition: all 0.4s ease;
}

.main-rooms-wrapper-rooms-block-meta-link:hover {
  opacity: 0.6;
}

.main-rooms-wrapper-rooms-block-photo {
  display: flex;
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.main-rooms-wrapper-rooms-block-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1199px) {
  .main-rooms-wrapper-rooms-block-meta {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    height: 100%;
    min-height: 0;
    padding: 20px 16px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .main-rooms-wrapper-rooms-block-meta-title,
  .main-rooms-wrapper-rooms-block-meta-info,
  .main-rooms-wrapper-rooms-block-meta-description,
  .main-rooms-wrapper-rooms-block-meta-link {
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
    flex: 0 0 auto;
    width: 100%;
  }

  .main-rooms-wrapper-rooms-block-meta-title {
    align-items: center;
    text-align: center;
    padding: 0 12px;
  }

  .main-rooms-wrapper-rooms-block-meta-title h3,
  .main-rooms-wrapper-rooms-block-meta-title p {
    text-align: center;
  }

  .main-rooms-wrapper-rooms-block-meta-info {
    gap: 12px;
    justify-content: center;
    padding: 0 12px;
  }

  .main-rooms-wrapper-rooms-block-photo {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    flex: 1 1 auto;
    min-height: 80px;
    height: auto;
    max-height: none;
    align-self: stretch;
  }

  .main-rooms-wrapper-rooms-block-meta-description {
    max-width: 100%;
    padding: 0 12px;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .main-rooms-wrapper-rooms-block-meta-link {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 0;
    background-color: var(--white);
    border-color: var(--white);
    color: var(--brown-h);
  }
}

@media (max-width: 767px) {
  .main-rooms-wrapper-rooms-block-meta {
    gap: 10px;
    padding: 16px;
  }

  .main-rooms-wrapper-rooms-block-meta-description {
    -webkit-line-clamp: 4;
  }
}

/* Main Offers */

.main-offers {
  display: flex;
  flex-flow: column nowrap;
  gap: 64px;
  padding: 64px 32px;
}

.main-offers-wrapper {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 32px;
  max-width: 50%;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.main-offers-wrapper-link {
  display: inline-flex;
  justify-content: center;
  padding: 14px 28px;
  background-color: var(--black);
  border: 1px solid transparent;
  color: var(--white);
  text-decoration: none;
  margin-top: 0;
  transition: all 0.4s ease;
}

.main-offers-wrapper-link:hover {
  opacity: 0.75;
}

.main-offers-wrapper-link_bottom {
  display: none;
}

.main-offers-slider {
  display: flex;
  flex-flow: column nowrap;
  gap: 24px;
  width: 100%;
}

.main-offers-blocks-viewport {
  width: 100%;
  overflow: hidden;
}

.main-offers-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.main-offers-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.main-offers-nav-btn {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.main-offers-nav-btn:hover {
  opacity: 0.7;
}

.main-offers-nav-prev {
  background-image: url("images/icon-left.svg");
}

.main-offers-nav-next {
  background-image: url("images/icon-right.svg");
}

.main-offers-blocks-block {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.main-offers-blocks-block-image {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.main-offers-blocks-block-title {
  color: var(--black);
  font-weight: 300;
}

.main-offers-blocks-block-link {
  display: flex;
  text-decoration: none;
  color: var(--black);
  padding: 5px 0;
  border-bottom: 1px solid var(--black);
  transition: all 0.4s ease;
}

.main-offers-blocks-block-link:hover {
  opacity: 0.75;
}

@media (max-width: 1199px) {
  .main-offers {
    gap: 48px;
    padding: 48px 16px;
  }

  .main-offers-wrapper {
    max-width: 100%;
    padding: 0;
  }

  .main-offers-wrapper-link_top {
    display: none;
  }

  .main-offers-wrapper-link_bottom {
    display: flex;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .main-offers-blocks {
    display: flex;
    gap: 0;
    width: 100%;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .main-offers-blocks-block {
    flex: 0 0 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
  }

  .main-offers-blocks-block-image {
    height: 280px;
  }

  .main-offers-nav {
    display: flex;
    gap: 12px;
  }
}

/* Main History */

.main-history {
  display: flex;
  flex-flow: column nowrap;
  background-color: var(--brown-l);
  scroll-margin-top: calc(var(--header-height, 120px) + 16px);
}

.main-history-up {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 32px 16px 8px;
}

.main-history-up-image {
  display: block;
  width: 100%;
  max-width: 516px;
  height: auto;
}

.main-history-up-meta-title {
  color: var(--black);
}

.main-history-down {
  position: relative;
  display: flex;
  flex-flow: column nowrap;
  gap: 32px;
  padding: 16px 32px 64px;
  background-color: var(--brown-l);
  color: var(--black);
  overflow: hidden;
}

.main-history-down-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.main-history-nav-btn {
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40px 40px;
  cursor: pointer;
  filter: brightness(0);
  transition: opacity 0.3s ease;
}

.main-history-nav-btn:hover {
  opacity: 0.7;
}

.main-history-nav-prev {
  background-image: url("images/icon-left.svg");
}

.main-history-nav-next {
  background-image: url("images/icon-right.svg");
}

.main-history-down-viewport {
  --timeline-top: calc(40px * 1.1 + 28px);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-history-down-viewport::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: var(--timeline-top);
  z-index: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.main-history-down-track {
  display: flex;
  gap: 32px;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.main-history-down-slide {
  flex: 0 0 calc((100% - 64px) / 3);
  display: flex;
  flex-flow: column nowrap;
  gap: 28px;
  min-width: 0;
  box-sizing: border-box;
  opacity: 0.5;
  transition: opacity 0.45s ease;
}

.main-history-down-slide_center {
  opacity: 1;
}

.main-history-down-slide-year {
  position: relative;
  margin: 0;
  padding-bottom: 28px;
  font-family: "Galeona Modern", serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  color: var(--black);
}

.main-history-down-slide-year::after {
  content: "";
  position: absolute;
  left: 0;
  top: var(--timeline-top);
  z-index: 2;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--black);
  transform: translateY(-50%);
}

.main-history-down-slide-text {
  margin: 0;
  color: var(--black);
  font-weight: 300;
}

@media (max-width: 1199px) {
  .main-history-up {
    grid-template-columns: 1fr;
    padding: 32px 16px 8px;
  }

  .main-history-up-image {
    display: none;
  }

  .main-history-down {
    padding: 16px 16px 48px;
    gap: 24px;
  }

  .main-history-nav-btn {
    width: 40px;
    height: 40px;
    background-size: 24px 24px;
  }

  .main-history-down-track {
    gap: 0;
  }

  .main-history-down-viewport {
    --timeline-top: calc(32px * 1.1 + 24px);
  }

  .main-history-down-slide {
    flex: 0 0 100%;
    padding-right: 8px;
    gap: 24px;
  }

  .main-history-down-slide-year {
    font-size: 32px;
    padding-bottom: 24px;
  }
}

/* Main Map */

.main-map {
  display: flex;
  flex-flow: column nowrap;
  gap: 64px;
  padding: 32px 0;
}

.main-map-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  max-width: 75%;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.main-map-wrapper-title {
  color: var(--black);
}

.main-map-block {
  display: flex;
  box-sizing: border-box;
}

.main-map-frame {
  position: relative;
  width: 100%;
  min-height: 500px;
  overflow: hidden;
}

.main-map-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: color-mix(in srgb, var(--brown-m) 45%, transparent);
  pointer-events: none;
}

@media (max-width: 1199px) {
  .main-map-wrapper {
    max-width: 100%;
    text-align: center;
  }
}

/* Main CTA */

.main-cta {
  display: flex;
  padding: 32px 0;
}

.main-cta-slider {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: var(--brown-h);
  padding: 32px 0;
  text-decoration: none;
  color: var(--brown-m);
}

.main-cta-slider-track {
  display: flex;
  width: max-content;
  animation: main-cta-marquee 28s linear infinite;
}

.main-cta-slider:hover .main-cta-slider-track {
  animation-play-state: paused;
}

.main-cta-slider-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.main-cta-slider-text {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
}

.main-cta-slider-btn-image {
  display: block;
  width: 72px;
  height: auto;
  flex-shrink: 0;
  margin: 0 48px;
}

@keyframes main-cta-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-cta-slider-track {
    animation: none;
  }
}

/* Main FAQ */

.main-faq {
  display: flex;
  flex-flow: column nowrap;
  gap: 48px;
  width: 75%;
  max-width: 75%;
  margin: 0 auto;
  padding: 64px 16px;
  background-color: var(--white);
  color: var(--black);
  box-sizing: border-box;
}

.main-faq-wrapper {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  width: 100%;
}

.main-faq-wrapper-title {
  color: var(--black);
}

.main-faq-list {
  display: flex;
  flex-flow: column nowrap;
}

.main-faq-item {
  border-bottom: 1px solid var(--brown-h);
}

.main-faq-item:last-child {
  border-bottom: 0;
}

.main-faq-item-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
  font-size: 21px;
  line-height: 29px;
  color: var(--black);
}

.main-faq-item-question::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--brown-h);
  transition: transform 0.3s ease;
}

.main-faq-item.is-open .main-faq-item-question::after {
  transform: rotate(45deg);
}

.main-faq-item-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.main-faq-item.is-open .main-faq-item-answer {
  grid-template-rows: 1fr;
}

.main-faq-item-answer-inner {
  overflow: hidden;
  min-height: 0;
}

.main-faq-item-answer-inner p {
  margin: 0;
  padding: 0 48px 28px 0;
  max-width: 720px;
  color: var(--black);
  font-weight: 300;
}

.room-amenities-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0 0 28px;
  max-width: 920px;
  box-sizing: border-box;
}

.room-amenities-list-item {
  position: relative;
  margin: 0;
  padding: 0 0 0 16px;
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
}

.room-amenities-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--brown-h);
}

@media (max-width: 767px) {
  .room-amenities-list {
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

@media (max-width: 1199px) {
  .main-faq {
    width: 100%;
    max-width: 100%;
    gap: 32px;
    padding: 48px 16px;
  }

  .main-faq-item-question {
    font-size: 16px;
    line-height: 24px;
    padding: 20px 0;
    gap: 16px;
  }

  .main-faq-item-answer-inner p {
    padding: 0 32px 20px 0;
  }
}

/* Footer */

.footer {
  display: flex;
  flex-flow: column nowrap;
  gap: 48px;
  padding: 64px 32px 32px;
  background-color: var(--white);
  color: var(--black);
  border-top: 2px solid var(--brown-m);
  box-sizing: border-box;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  max-width: 320px;
}

.footer-brand-logo {
  display: block;
  width: 128px;
}

.footer-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand-text {
  margin: 0;
  color: var(--brown-h);
  font-weight: 300;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
}

.footer-contacts-top,
.footer-contacts-bottom {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
}

.footer-link {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.75;
}

.footer-contacts .footer-link {
  font-weight: 300;
}

.footer-address {
  margin: 0;
  color: var(--brown-h);
  font-weight: 300;
}

.footer-bottom {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 12px;
  padding-top: 24px;
}

.footer-bottom .footer-link {
  font-size: 14px;
  line-height: 19px;
  font-family: "Roboto Slab";
  font-weight: 300;
}

@media (min-width: 1200px) {
  .footer {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 48px;
    align-items: start;
  }

  .footer-top {
    display: contents;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .footer-nav {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-contacts {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: stretch;
    justify-content: space-between;
    height: 100%;
    min-height: 100%;
    gap: 0;
  }

  .footer-contacts-bottom {
    margin-top: auto;
  }

  .footer-bottom {
    grid-column: 1 / 3;
    grid-row: 2;
    padding-top: 0;
    align-self: end;
  }
}

@media (max-width: 1199px) {
  .footer {
    gap: 32px;
    padding: 48px 16px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-address {
    font-size: 14px;
    line-height: 19px;
  }
}

@media (max-width: 767px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-contacts {
    margin-top: 28px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}

/* Guests Page */

.guests-page {
  padding-bottom: 96px;
}

.guests-page .guests-tabs {
  width: 100%;
  padding: 0 24px;
  box-sizing: border-box;
}

.guests-page-empty,
.media-page-empty {
  margin: 0;
  padding: 0 24px;
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
  text-align: center;
}

.guests-tabs-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px 24px;
  padding: 20px 0;
  border-top: 1px solid var(--brown-l);
  border-bottom: 1px solid var(--brown-l);
}

.guests-tabs-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brown-m);
  font-family: "Roboto Slab", serif;
  font-size: 21px;
  line-height: 29px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.guests-tabs-btn:hover {
  color: var(--brown-h);
}

.guests-tabs-btn.is-active {
  color: var(--brown-h);
  font-weight: 500;
}

.guests-tabs-panels {
  padding-top: 40px;
}

.guests-tabs-panel[hidden] {
  display: none;
}

.guests-tabs-panel {
  display: flex;
  flex-flow: column nowrap;
  gap: 40px;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.guests-tabs-panel.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.guests-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
}

.guests-row-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: var(--brown-m);
  font-family: "Roboto Slab", serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guests-row-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background-color: var(--brown-h);
}

.guests-row-body {
  display: flex;
  flex-flow: column nowrap;
  gap: 12px;
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.guests-row-body p,
.guests-row-body ul {
  margin: 0;
}

.guests-row-body ul {
  padding-left: 20px;
}

.guests-row-body li + li {
  margin-top: 6px;
}

.guests-row-body strong {
  font-weight: 500;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .guests-tabs-nav {
    display: flex;
    flex-flow: row nowrap;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guests-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .guests-tabs-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 19px;
    line-height: 23px;
  }

  .guests-row {
    gap: 20px 32px;
  }
}

@media (max-width: 767px) {
  .guests-page {
    padding-bottom: 72px;
  }

  .guests-page .guests-tabs {
    padding: 0 16px;
  }

  .guests-page-empty,
  .media-page-empty {
    padding-left: 16px;
    padding-right: 16px;
  }

  .guests-tabs-nav {
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
    padding: 16px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .guests-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .guests-tabs-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 18px;
    line-height: 22px;
  }

  .guests-tabs-panels {
    padding-top: 28px;
  }

  .guests-tabs-panel {
    gap: 28px;
  }

  .guests-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Rooms Page */

.rooms-page-main {
  display: flex;
  flex-flow: column nowrap;
  gap: 64px;
}

/* Booking Page */

.booking-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px 64px;
  box-sizing: border-box;
}

.booking-page #booking_iframe {
  width: 100%;
  min-height: 640px;
}

.booking-page-notice {
  margin: 0;
  padding: 24px;
  color: var(--black);
  background-color: var(--brown-l);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 24px;
}

.rooms-page-main-header {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  text-align: center;
  max-width: 50%;
  gap: 16px;
  margin: 0 auto;
  padding: 32px 0px;
}

.rooms-page-main-header-title {
  color: var(--black);
}

.post-page-header {
  position: relative;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  padding-left: 24px;
  padding-right: 24px;
}

.post-page-header .rooms-page-main-header-title {
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
}

.post-page-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--brown-h);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.post-page-back:hover {
  opacity: 0.7;
}

.post-page-back-arrow {
  font-size: 18px;
  line-height: 1;
}

.post-page-article,
.category-page-content {
  display: flex;
  flex-flow: column nowrap;
  gap: 32px;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 64px;
  box-sizing: border-box;
}

.post-page-thumb {
  width: 100%;
  overflow: hidden;
}

.post-page-thumb-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-page-content {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 300;
}

.post-page-content > *:first-child {
  margin-top: 0;
}

.post-page-content > *:last-child {
  margin-bottom: 0;
}

.post-page-content p,
.post-page-content ul,
.post-page-content ol {
  margin: 0 0 16px;
}

.post-page-content h2,
.post-page-content h3,
.post-page-content h4 {
  margin: 24px 0 12px;
  font-weight: 400;
}

.post-page-content a {
  color: var(--brown-h);
  text-decoration: underline;
}

.privacy-page-lead {
  margin: 0 0 24px;
  color: rgba(0, 0, 0, 0.7);
  font-size: 18px;
  line-height: 28px;
}

.privacy-page-approval {
  margin: 0 0 28px;
  padding: 0 0 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.privacy-page-approval p {
  margin: 0 0 6px;
}

.privacy-page-content h2 {
  margin: 36px 0 16px;
  font-family: "Roboto Slab", serif;
  font-size: 22px;
  line-height: 30px;
  font-weight: 400;
  text-transform: none;
}

.privacy-page-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.privacy-page-content li {
  margin: 0 0 8px;
}

.post-page-content img {
  display: block;
  max-width: 100%;
  height: auto;
}

.post-page-gallery {
  display: grid;
  gap: 16px;
  width: 100%;
  margin: 0;
}

.post-page-gallery-item {
  margin: 0;
  min-width: 0;
  overflow: hidden;
}

.post-page-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

/* 1 — как картинка в контенте */
.post-page-gallery_count-1 {
  grid-template-columns: 1fr;
}

/* 2 — две в ряд, одна высота */
.post-page-gallery_count-2 {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.post-page-gallery_count-2 .post-page-gallery-item,
.post-page-gallery_count-3 .post-page-gallery-item:nth-child(-n + 2),
.post-page-gallery_count-4 .post-page-gallery-item {
  height: 100%;
}

.post-page-gallery_count-2 .post-page-gallery-item img,
.post-page-gallery_count-3 .post-page-gallery-item:nth-child(-n + 2) img,
.post-page-gallery_count-4 .post-page-gallery-item img {
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* 3 — две в ряд, третья на всю ширину */
.post-page-gallery_count-3 {
  grid-template-columns: 1fr 1fr;
}

.post-page-gallery_count-3 .post-page-gallery-item:nth-child(3) {
  grid-column: 1 / -1;
}

.post-page-gallery_count-3 .post-page-gallery-item:nth-child(3) img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* 4+ — по две в ряд */
.post-page-gallery_count-4 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 767px) {
  .post-page-gallery_count-2,
  .post-page-gallery_count-3,
  .post-page-gallery_count-4 {
    grid-template-columns: 1fr;
  }

  .post-page-gallery_count-3 .post-page-gallery-item:nth-child(3) {
    grid-column: auto;
  }

  .post-page-gallery_count-2 .post-page-gallery-item img,
  .post-page-gallery_count-3 .post-page-gallery-item:nth-child(-n + 2) img,
  .post-page-gallery_count-4 .post-page-gallery-item img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 1199px) {
  .post-page-article,
  .category-page-content {
    padding: 0 16px 48px;
  }

  .post-page-header {
    display: flex;
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .post-page-back {
    position: static;
    transform: none;
    align-self: flex-start;
    top: auto;
    left: auto;
  }

  .post-page-header .rooms-page-main-header-title {
    max-width: 100%;
  }

  .privacy-page-content h2 {
    font-size: 20px;
    line-height: 28px;
  }
}

.rooms-page-main-body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 0px 24px;
  
}

@media (max-width: 1199px) {
  .rooms-page-main-header {
    max-width: 100%;
    padding: 32px 16px;
  }

  .rooms-page-main-body {
    grid-template-columns: 1fr;
    padding: 0px;
  }
}

.rooms-page-main-body-block {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  padding: 16px;
}

.rooms-page-main-body-block-link {
  text-decoration: none;
  color: inherit;
}

.rooms-page-main-body-block-link .rooms-page-main-body-block-image {
  transition: opacity 0.3s ease;
}

.rooms-page-main-body-block-link:hover .rooms-page-main-body-block-image {
  opacity: 0.75;
}

.rooms-page-main-body-block-image {
  display: flex;
  width: 100%;
  height: auto;
  background-size: cover;
}

.rooms-page-main-body-block-wrapper {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.rooms-page-main-body-block-wrapper-title {
  text-decoration: none;
  color: var(--black);
  flex: 1 1 auto;
  min-width: 0;
}

.rooms-page-main-body-block-wrapper-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.rooms-page-main-body-block-wrapper-meta-size,
.rooms-page-main-body-block-wrapper-meta-guests {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1199px) {
  .rooms-page-main-body-block-wrapper {
    flex-flow: column nowrap;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 12px;
  }

  .rooms-page-main-body-block-wrapper-title {
    flex: none;
    min-width: 0;
  }

  .rooms-page-main-body-block-wrapper-meta {
    flex: none;
    flex-wrap: wrap;
  }

  .rooms-page-main-body-block-wrapper-meta-size,
  .rooms-page-main-body-block-wrapper-meta-guests {
    white-space: normal;
  }
}

.rooms-page-main-body-block-wrapper-meta-size::before,
.rooms-page-main-body-block-wrapper-meta-guests::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  opacity: 0.6;
}

.rooms-page-main-body-block-wrapper-meta-size::before {
  background-image: url("images/room-size.svg");
}

.rooms-page-main-body-block-wrapper-meta-size::after {
  content: " \043C\00B2";
}

.rooms-page-main-body-block-wrapper-meta-guests::before {
  background-image: url("images/room-guest.svg");
}

/* Media Page (Сми о нас) */

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

@media (max-width: 1199px) {
  .media-page-body {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 16px;
  }
}

@media (max-width: 767px) {
  .media-page-body {
    grid-template-columns: 1fr;
    padding: 0;
  }
}

.media-page-block {
  gap: 20px;
}

.media-page-block-image {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-page-block-content {
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-start;
  gap: 12px;
}

.media-page-block-meta {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--brown-m);
  font-family: "Roboto Slab", serif;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.media-page-block-sep {
  color: var(--brown-m);
}

.media-page-block-title {
  margin: 0;
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 21px;
  line-height: 29px;
  font-weight: 400;
}

.media-page-block-link {
  color: var(--black);
  font-family: "Roboto Slab", serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--black);
  transition: opacity 0.3s ease;
}

.media-page-block-link:hover {
  opacity: 0.75;
}

@media (min-width: 1200px) {
  .media-page-block-title {
    font-size: 24px;
    line-height: 32px;
  }
}

.margin-16 {
  display: block;
  padding: 16px 0px;
}

/* Page */

.page {
  display: flex;
  flex-flow: column nowrap;
  gap: 16px;
  padding: 64px 16px;
}

/* 404 */

.page-404 {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height, 120px) - 280px);
  padding: 64px 24px 96px;
  background-color: var(--white);
}

.page-404-wrapper {
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 640px;
  text-align: center;
}

.page-404-code {
  margin: 0;
  font-family: "Galeona Modern", serif;
  font-size: clamp(96px, 18vw, 180px);
  line-height: 1;
  color: var(--brown-m);
  letter-spacing: 0.04em;
}

.page-404-title {
  margin: 0;
  font-family: "Roboto Slab", serif;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.3;
  font-weight: 400;
  color: var(--black);
}

.page-404-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
  padding: 14px 32px;
  background-color: var(--black);
  border: 1px solid transparent;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.page-404-link:hover {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .page-404 {
    min-height: calc(100vh - var(--header-height, 120px) - 220px);
    padding: 48px 16px 72px;
  }

  .page-404-wrapper {
    gap: 20px;
  }
}

/* Cookie banner */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 300;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background-color: var(--brown-h);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text {
  margin: 0;
  font-size: 14px;
  line-height: 19px;
  font-family: "Roboto Slab", serif;
  font-weight: 300;
}

.cookie-banner-link {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link:hover {
  opacity: 0.75;
}

.cookie-banner-btn {
  flex-shrink: 0;
  padding: 12px 24px;
  border: 1px solid var(--white);
  background-color: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-banner-btn:hover {
  background-color: var(--white);
  color: var(--brown-h);
}

@media (max-width: 767px) {
  .cookie-banner {
    flex-flow: column nowrap;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 16px;
    padding: 16px;
  }

  .cookie-banner-btn {
    width: 100%;
  }
}

/* Contact widget (desktop) */

.contact-widget {
  display: none;
}

@media (min-width: 1200px) {
  .contact-widget {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 280;
    display: flex;
    flex-flow: column nowrap;
    align-items: flex-end;
    gap: 12px;
  }

  .contact-widget-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--brown-l);
    color: var(--black);
    cursor: pointer;
    transition: transform 0.3s ease;
  }

  .contact-widget-btn:hover {
    transform: scale(1.04);
  }

  .contact-widget-btn-ring {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .contact-widget-btn-text {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .contact-widget-btn-text text {
    fill: var(--black);
    font-family: "Roboto Slab", serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }

  .contact-widget-btn-icon {
    position: relative;
    z-index: 1;
    display: block;
    width: 24px;
    height: 24px;
    margin-top: 0;
  }

  .contact-widget-panel {
    position: relative;
    width: 260px;
    padding: 28px 24px 24px;
    background-color: var(--brown-l);
    color: var(--black);
    box-sizing: border-box;
  }

  .contact-widget-panel[hidden] {
    display: none;
  }

  .contact-widget-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--black);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .contact-widget-text {
    margin: 0 0 16px;
    font-family: "Roboto Slab", serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
  }

  .contact-widget-link {
    display: inline-flex;
    font-family: "Roboto Slab", serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: var(--black);
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .contact-widget-link:hover {
    opacity: 0.75;
  }
}
