@font-face {
  font-family: "Margaryan Serif";
  src: url("assets/fonts/playfair-display-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Margaryan Sans";
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #eef2ed;
  --paper: #fffdf8;
  --ink: #1f1d1a;
  --muted: #675f56;
  --line: rgba(31, 29, 26, 0.13);
  --green: #24372d;
  --green-2: #17251f;
  --sage: #e8ede6;
  --gold: #b46a4c;
  --gold-2: #a67c3d;
  --pomegranate: #7a2e2e;
  --sand: #d9d1c5;
  --section-a: #f5f7f3;
  --section-b: #eef2ed;
  --shadow: 0 18px 42px rgba(67, 44, 29, 0.13);
  --serif: "Margaryan Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", "Noto Serif Armenian", serif;
  --sans: "Margaryan Sans", Inter, Aptos, "Segoe UI", Arial, "Noto Sans Armenian", Helvetica, sans-serif;
}

:lang(hy) {
  --serif: "Segoe UI", "Noto Serif Armenian", serif;
  --sans: "Segoe UI", "Noto Sans Armenian", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f5f7f3 0%, var(--page) 42%, #e8eee8 100%);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

.room-card > img,
.gallery-slide img,
.about__photo img,
.host__photo img,
.hero__portrait img {
  filter: sepia(0.08) saturate(0.96) contrast(0.97) brightness(1.02);
}

button,
input,
select {
  font: inherit;
}

.container {
  width: calc(100% - 48px);
  max-width: 1180px;
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 7.2vw 0;
  background: transparent;
  border-bottom: 0;
  pointer-events: none;
}

.site-header.is-scrolled {
  background: transparent;
}

.site-header > * {
  pointer-events: auto;
}

.site-header .brand,
.site-header .nav,
.site-header .header-actions {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav,
.site-header.is-scrolled .header-actions {
  background: transparent;
  border-color: transparent;
}

.brand {
  display: inline-grid;
  width: max-content;
  gap: 2px;
  text-align: center;
}

.site-header .brand {
  padding: 0;
  gap: 1px;
  color: #fff;
  text-shadow: none;
}

.site-header .brand__main {
  font-size: 31px;
  letter-spacing: 0.02em;
}

.site-header .brand__sub {
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
}

.brand__main {
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1;
  text-transform: uppercase;
}

.brand__sub {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: #29241f;
  font-size: 14px;
}

.site-header .nav {
  width: max-content;
  min-height: auto;
  align-items: center;
  justify-self: center;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
}

.nav a {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  min-height: 40px;
  align-items: center;
  padding: 0;
}

.nav a::after {
  content: none;
}

.nav-social {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-contacts {
  display: grid;
  gap: 3px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
}

.header-contacts a {
  color: inherit;
}

.site-header .header-actions {
  align-self: center;
  align-items: center;
  padding: 0;
  color: #fff;
  font-size: 14px;
  text-shadow: none;
}

.language-switcher {
  display: flex;
  align-items: center;
  position: relative;
}

.lang-button,
.menu-button,
.mobile-menu-trigger {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.lang-button {
  display: inline-flex;
  min-width: 92px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 600;
  text-shadow: none;
}

.language-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 132px;
  padding: 8px 6px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
}

.language-menu[hidden] {
  display: none;
}

.language-switcher:hover .language-menu,
.language-switcher:focus-within .language-menu {
  display: block;
}

.language-menu button {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  padding: 0 10px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.language-menu button.is-active,
.language-menu button:focus-visible {
  background: #eef2ee;
}

.menu-button,
.mobile-menu-trigger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 4px;
}

.menu-button span,
.mobile-menu-trigger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
}

@media (min-width: 681px) {
  .mobile-menu-trigger {
    display: none !important;
  }
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 25px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  box-shadow: none;
}

.button--dark {
  border: 0;
  background: var(--pomegranate);
  color: #fff;
}

.button--dark:hover,
.button--dark:focus-visible {
  background: #642424;
}

.site-header .button {
  min-height: 40px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.13);
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-shadow: none;
}

.site-header .button--dark:hover,
.site-header .button--dark:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.button--gold {
  background: var(--pomegranate);
  color: #fff;
}

.button--light {
  border: 0;
  background: rgba(255, 250, 243, 0.93);
  color: var(--green);
}

.hero__whatsapp {
  gap: 9px;
  background: #1f5f43;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero__whatsapp img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--green-2);
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  display: block;
  filter: brightness(0.82) contrast(1.04);
}

.hero__overlay {
  background: rgba(0, 0, 0, 0.28);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  justify-items: center;
  padding-top: 96px;
  color: #fff;
}

.hero__copy {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  max-width: 680px;
  margin: 0 auto 22px;
  font-family: var(--serif);
  font-size: clamp(50px, 6.1vw, 82px);
  line-height: 1.02;
  font-weight: 500;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: rgba(255, 250, 243, 0.92);
  font-size: 18px;
  line-height: 1.55;
}

.hero p span {
  display: block;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero__portrait {
  position: relative;
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(232, 216, 195, 0.42);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.12);
}

.hero__portrait::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(255, 250, 243, 0.28);
  border-radius: 6px;
  pointer-events: none;
}

.hero__portrait img {
  width: 100%;
  height: min(58svh, 560px);
  object-fit: cover;
  object-position: center;
}

.booking-panel,
.rooms-booking {
  position: relative;
  z-index: 20;
  margin-top: 56px;
  margin-bottom: 62px;
}

.rooms-booking {
  max-width: 1180px;
  margin: -12px auto 44px;
}

.booking-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1.25fr 190px;
  align-items: stretch;
  gap: 0;
  padding: 18px;
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(166, 124, 61, 0.2);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.booking-field {
  display: grid;
  gap: 6px;
  min-height: 64px;
  padding: 0 22px;
  border-right: 1px solid var(--line);
}

.booking-field--guests {
  border-right: 0;
}

.booking-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.field-button {
  position: relative;
  width: 100%;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid rgba(166, 124, 61, 0.36);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.field-button::after {
  content: "";
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  opacity: 0.72;
  background:
    linear-gradient(currentColor, currentColor) 4px 7px / 10px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 11px / 10px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 5px 2px / 1px 4px no-repeat,
    linear-gradient(currentColor, currentColor) 12px 2px / 1px 4px no-repeat;
  border: 1px solid currentColor;
  border-radius: 3px;
}

.guests-button::after {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border: 0;
  background: currentColor;
  opacity: 0.62;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%3E%3Cpath%20d='M5%207.5l5%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2020%2020'%3E%3Cpath%20d='M5%207.5l5%205%205-5'%20fill='none'%20stroke='black'%20stroke-width='1.8'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

.booking-submit {
  align-self: center;
  min-height: 58px;
}

.calendar-popover,
.guests-popover {
  position: absolute;
  top: var(--popover-top, calc(100% + 10px));
  left: var(--popover-left, 18px);
  width: var(--popover-width, 334px);
  z-index: 30;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  max-height: min(72vh, 560px);
  overflow-y: auto;
}

.calendar-popover {
  padding: 18px;
}

.guests-popover {
  width: var(--popover-width, 390px);
  padding: 18px;
}

.calendar-head {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.calendar-head strong {
  text-align: center;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.calendar-head button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
}

.calendar-head button::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: auto;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
}

[data-calendar-prev]::before {
  transform: rotate(-135deg);
}

[data-calendar-next]::before {
  transform: rotate(45deg);
}

.calendar-week,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-week {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.calendar-day {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid transparent;
  border-radius: 6px;
  background: #f7f5ef;
  color: var(--ink);
  cursor: pointer;
}

.calendar-day.is-muted {
  color: rgba(24, 21, 18, 0.35);
}

.calendar-day.is-selected {
  background: var(--green);
  color: #fff;
}

.calendar-day:disabled {
  color: rgba(24, 21, 18, 0.25);
  background: #f2f0eb;
  cursor: not-allowed;
}

.counter-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.counter-row strong {
  display: block;
  margin-bottom: 3px;
}

.counter-row span,
.child-ages p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.counter-control {
  display: grid;
  grid-template-columns: 34px 34px 34px;
  align-items: center;
  gap: 8px;
}

.counter-control button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--green);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.counter-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.counter-control output {
  text-align: center;
  font-weight: 700;
}

.child-ages {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.child-ages p {
  margin: 0 0 12px;
}

.child-age-list {
  display: grid;
  gap: 10px;
}

.child-age-row {
  display: grid;
  grid-template-columns: 1fr 118px;
  gap: 12px;
  align-items: center;
}

.child-age-row label {
  color: #2d2823;
  font-size: 14px;
  font-weight: 700;
}

.child-age-row select {
  width: 100%;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 0 10px;
}

.form-error {
  display: block;
  margin-top: 10px;
  color: #9a3429;
  font-size: 13px;
  font-weight: 700;
}

.guests-done {
  width: 100%;
  margin-top: 16px;
}

.quick-features {
  margin-top: 0;
  padding: 50px 0;
  background: linear-gradient(180deg, rgba(232, 237, 230, 0.86), rgba(246, 246, 241, 0.78));
  border-top: 1px solid rgba(36, 55, 45, 0.12);
  border-bottom: 1px solid rgba(36, 55, 45, 0.1);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px 24px;
}

.feature {
  min-height: 132px;
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
  padding: 12px 16px;
}

.feature img {
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  color: var(--pomegranate);
  filter: none;
}

.feature h2 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
}

.feature p {
  max-width: 220px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section {
  padding: 82px 0;
}

.section-title {
  position: relative;
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title::after {
  content: none;
}

.section-title h2,
.about h2,
.trust h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
}

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

.room-grid:not(.is-expanded) {
  grid-template-columns: repeat(4, 1fr);
}

.room-card--one {
  order: 1;
}

.room-card--two {
  order: 2;
}

.room-card--three {
  order: 3;
}

.room-card--four {
  order: 4;
}

.room-card--extra {
  order: 8;
}

.room-grid:not(.is-expanded) .room-card--extra {
  display: none;
}

.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(166, 124, 61, 0.24);
  border-radius: 26px;
  box-shadow: none;
}

.room-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-top: 1px solid rgba(166, 124, 61, 0.42);
  border-right: 1px solid rgba(166, 124, 61, 0.42);
  pointer-events: none;
}

.room-card > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.room-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 18px;
}

.room-card__type {
  position: absolute;
  top: 12px;
  left: 12px;
  margin: 0;
  padding: 7px 10px;
  color: var(--pomegranate);
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(232, 216, 195, 0.72);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
}

.room-card h3 {
  min-height: 0;
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.16;
  font-weight: 500;
}

.room-card__description {
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.48;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.room-card__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.room-card__price {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  color: #fff;
  background: var(--pomegranate);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
}

.room-card__price::after {
  content: none;
}

.room-card__details {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  color: var(--pomegranate);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.room-card .room-card__details::after {
  content: "\2192";
  margin-left: 6px;
}

.rooms-toggle,
.reviews-toggle {
  min-height: 32px;
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--pomegranate);
  font-weight: 800;
  cursor: pointer;
}

.rooms-toggle::after,
.reviews-toggle::after {
  content: "\2192";
  font-weight: 700;
}

.rooms-toggle[aria-expanded="true"]::after,
.reviews-toggle[aria-expanded="true"]::after {
  transform: none;
}

.rooms-toggle[aria-expanded="true"],
.reviews-toggle[aria-expanded="true"] {
  display: none;
}

.reviews {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(232, 237, 230, 0.72));
}

.reviews-head {
  width: max-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -16px auto 32px;
  padding: 10px 16px;
  border: 1px solid rgba(166, 124, 61, 0.2);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
}

.reviews-head strong {
  color: var(--pomegranate);
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}

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

.review-card {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(166, 124, 61, 0.22);
  border-radius: 6px;
  background: var(--paper);
}

.review-card--extra {
  display: none;
}

.review-grid.is-expanded .review-card--extra {
  display: flex;
}

.review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.review-card__top strong {
  color: var(--ink);
  font-size: 15px;
}

.review-card__top > span {
  flex: 0 0 auto;
  color: var(--pomegranate);
  font-size: 12px;
  font-weight: 800;
}

.review-meta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.review-flag {
  font-size: 16px;
  line-height: 1;
}

.review-stars {
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.about {
  background: linear-gradient(135deg, rgba(232, 237, 230, 0.88), rgba(255, 253, 248, 0.86));
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 54px;
  align-items: center;
}

.about__copy > p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.about__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: #f1eee8;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-carousel {
  position: relative;
  display: block;
  max-width: 980px;
  margin: 0 auto;
}

.gallery-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(166, 124, 61, 0.2);
  border-radius: 8px;
  background: var(--paper);
  cursor: default;
  touch-action: pan-y;
  user-select: none;
}

.gallery-track {
  position: relative;
  display: block;
  gap: 0;
  aspect-ratio: 16 / 10;
  --gallery-visible: 1;
}

.gallery-track.is-dragging {
  transition: none;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f1eee8;
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-track:not(.is-ready) .gallery-slide:first-child {
  opacity: 1;
}

.gallery-slide img {
  width: 100%;
  height: calc(100% - 46px);
  object-fit: cover;
  background: #f1eee8;
  pointer-events: none;
}

.gallery-slide figcaption {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.gallery-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  pointer-events: auto;
}

.gallery-arrow,
.carousel-arrow {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(166, 124, 61, 0.26);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.78);
  color: var(--green);
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}

.gallery-arrow::before,
.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 22px;
  height: 22px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gallery-arrow--prev::before,
.carousel-arrow--prev::before {
  transform: rotate(180deg);
}

.gallery-arrow--next::before,
.carousel-arrow--next::before {
  transform: none;
}

.gallery-arrow:hover,
.carousel-arrow:hover {
  border-color: rgba(166, 124, 61, 0.44);
  background: #fff;
}

.gallery-arrow:disabled,
.carousel-arrow:disabled {
  opacity: 1;
  cursor: pointer;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  max-width: calc(100% - 108px);
  flex: 0 1 auto;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  pointer-events: auto;
  box-shadow: none;
}

.gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(166, 124, 61, 0.32);
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--pomegranate);
}

.host {
  background: rgba(232, 216, 195, 0.42);
}

.host__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  align-items: center;
  gap: 54px;
}

.host__photo {
  order: 2;
  overflow: hidden;
  border-radius: 26px;
  background: var(--paper);
  border: 1px solid rgba(166, 124, 61, 0.22);
}

.host__photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.host__copy {
  order: 1;
}

.host__copy h2,
.faq h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.15;
  font-weight: 500;
}

.host__copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.78;
  text-wrap: pretty;
}

.social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-actions--host {
  margin-top: 26px;
}

.social-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
}

.social-button img {
  width: 18px;
  height: 18px;
}

.social-actions--footer .social-button {
  min-height: 32px;
  padding: 0 11px;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
}

.social-actions--footer .social-button img {
  filter: brightness(0) invert(1);
}

.social-actions--footer-mobile {
  display: none;
}

.faq {
  background: var(--paper);
}

.faq-list {
  display: grid;
  max-width: 900px;
  margin: 0 auto;
  gap: 0;
}

.faq-list details {
  border-bottom: 1px solid rgba(166, 124, 61, 0.22);
  background: transparent;
}

.faq-list summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 46px 18px 0;
  color: #7d5e4a;
  line-height: 1.55;
}

.city-guide {
  background: rgba(232, 216, 195, 0.28);
}

.guide-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
}

.guide-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(166, 124, 61, 0.2);
  background: var(--paper);
  cursor: default;
  touch-action: pan-y;
  user-select: none;
}

.guide-booklet {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
}

.guide-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  border-radius: 7px;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.guide-card.is-active {
  opacity: 1;
  pointer-events: auto;
}

.guide-booklet:not(.is-ready) .guide-card:first-child {
  opacity: 1;
}

.guide-card > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f1eee8;
  display: block;
  pointer-events: none;
}

.guide-controls {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
  pointer-events: auto;
}

.gallery-lightbox {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  align-items: center;
  justify-items: center;
  padding: 28px;
  background: rgba(20, 17, 15, 0.86);
}

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

.gallery-lightbox img {
  max-width: min(1120px, 92vw);
  max-height: 78vh;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox p {
  margin: 14px 0 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.gallery-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.gallery-lightbox__close::before,
.gallery-lightbox__close::after {
  content: "";
  position: absolute;
  inset: 20px 10px auto;
  height: 2px;
  background: #fff;
}

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

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

.service-page {
  background: var(--page);
}

.service-header {
  position: relative;
  min-height: 86px;
  padding-top: 18px;
  background: var(--green-2);
}

.service-hero {
  padding: 86px 0 52px;
  background: linear-gradient(135deg, var(--green-2), #2b4034);
  color: #fff;
  text-align: center;
}

.service-hero h1 {
  max-width: 820px;
  margin: 0 auto 18px;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  font-weight: 500;
}

.service-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: rgba(255, 250, 243, 0.88);
  font-size: 18px;
  line-height: 1.6;
}

.service-list__grid {
  display: grid;
  gap: 34px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 0;
  background: var(--paper);
  border: 1px solid rgba(166, 124, 61, 0.22);
  border-radius: 10px;
  overflow: hidden;
}

.service-card:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
}

.service-card:nth-child(even) > img {
  order: 2;
}

.service-card > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-card > div {
  padding: 44px;
}

.service-card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--pomegranate);
}

.service-card h2 {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1.12;
  font-weight: 500;
}

.service-card p {
  max-width: 520px;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.service-card a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--pomegranate);
  font-weight: 800;
}

.service-card a::after {
  content: "\2192";
  margin-left: 8px;
}

.service-footer-bottom {
  grid-template-columns: auto auto auto;
}

.trust {
  padding: 60px 0;
  background: rgba(255, 253, 248, 0.72);
  text-align: center;
}

.trust h2 {
  margin-bottom: 36px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.trust-grid article {
  min-height: 94px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 0 22px;
  border-right: 1px solid rgba(166, 124, 61, 0.22);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-grid strong {
  color: var(--pomegranate);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}

.trust-grid span {
  color: var(--muted);
  line-height: 1.4;
}

.map-section {
  background: var(--page);
}

.map-section__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.65fr) minmax(520px, 1.35fr);
  align-items: stretch;
  gap: 28px;
}

.map-section__copy {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-eyebrow {
  margin: 0 0 10px;
  color: var(--pomegranate);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-section h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.1;
  font-weight: 500;
}

.map-section p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.site-footer {
  background:
    radial-gradient(circle at 85% 12%, rgba(180, 106, 76, 0.28), transparent 30%),
    linear-gradient(135deg, #2a1f1c, var(--green-2));
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) minmax(260px, 0.95fr) minmax(300px, 1fr);
  align-items: start;
  gap: 78px;
  padding: 70px 0 54px;
}

.footer-brand,
.footer-nav,
.footer-contact {
  align-self: start;
  justify-self: stretch;
}

.brand--footer {
  justify-items: center;
  text-align: center;
}

.brand--footer .brand__sub {
  color: rgba(255, 255, 255, 0.68);
}

.footer-brand p,
.footer-contact p {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-contact p {
  margin: 0;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-nav {
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 40px;
  row-gap: 12px;
}

.footer-nav h2,
.footer-contact h2 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}

.footer-nav h2 {
  grid-column: 1 / -1;
}

.footer-nav a,
.footer-contact a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.82);
}

.footer-phones,
.footer-contact__links {
  display: grid;
  gap: 8px;
}

.footer-phones a {
  width: max-content;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.footer-contact__links {
  margin-top: 4px;
}

.footer-contact__links a,
.footer-booking-link {
  width: max-content;
}

.footer-nav a:hover,
.footer-contact a:hover,
.footer-bottom a:hover {
  color: #fff;
}

.map-card {
  position: relative;
  display: flex;
  min-height: 340px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 6px;
  background: #eef2ee;
  border: 0;
}

.map-card iframe,
.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
}

.map-frame {
  display: block;
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.map-card__link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 13px 0 10px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.map-card__link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.map-card__link[data-map-link] {
  display: inline-flex;
}

.map-card__link[data-map-link].is-active {
  display: inline-flex;
  color: var(--pomegranate);
}

.map-card__link--apple {
  color: var(--gold);
}

main {
  display: flex;
  flex-direction: column;
}

.hero {
  order: 0;
}

.host {
  order: 1;
}

.quick-features {
  order: 2;
}

.rooms {
  order: 3;
}

.about {
  order: 4;
}

.gallery {
  order: 5;
}

.city-guide {
  order: 6;
}

.reviews {
  order: 7;
}

.map-section {
  order: 8;
}

.faq {
  order: 9;
}

.host,
.rooms,
.gallery,
.reviews,
.faq {
  background: var(--section-a);
}

.quick-features,
.about,
.city-guide,
.map-section {
  background: var(--section-b);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer-bottom > span:last-child {
  text-align: right;
}

.footer-partners {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
}

.footer-partner {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.footer-bottom .footer-partner {
  color: rgba(255, 255, 255, 0.72);
}

.footer-partner span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-partner img {
  width: auto;
  max-width: 82px;
  max-height: 24px;
  object-fit: contain;
  opacity: 0.9;
}

.footer-partner:first-child img {
  max-width: 86px;
  max-height: 22px;
  filter: brightness(0) invert(1);
  opacity: 0.72;
}

.footer-partner:hover img,
.footer-partner:focus-visible img {
  opacity: 1;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 18px 32px 0;
  }

  .nav {
    gap: 18px;
  }

  .header-contacts {
    display: none;
  }

  .booking-form {
    grid-template-columns: 1fr 1fr;
  }

  .booking-field--guests,
  .booking-submit {
    margin-top: 16px;
  }

  .booking-field--guests {
    border-right: 1px solid var(--line);
  }

  .booking-submit {
    min-height: 54px;
  }
}

@media (max-width: 920px) {
  .site-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 24px 0;
  }

  .site-header .brand__main {
    font-size: 26px;
  }

  .site-header .brand__sub {
    font-size: 8px;
  }

  .menu-button {
    display: inline-flex;
    flex: 0 0 46px;
    position: absolute;
    top: 13px;
    right: 14px;
    background: transparent;
  }

  .menu-button span {
    background: #fff;
  }

  .mobile-menu-trigger {
    display: none;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .site-header .button {
    min-height: 38px;
    padding: 0 15px;
  }

  .site-header .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    display: none;
    min-height: auto;
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-self: stretch;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 32px 40px;
    background: #fff;
    color: var(--ink);
    border-top: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    text-shadow: none;
  }

  .service-header {
    flex-wrap: wrap;
  }

  .service-header .nav {
    position: static;
    order: 3;
    width: 100%;
    display: flex;
    min-height: 0;
    max-height: none;
    overflow-x: auto;
    grid-template-columns: none;
    gap: 8px;
    padding: 8px 0 2px;
    background: transparent;
    color: #fff;
    border: 0;
  }

  .service-header .nav a {
    flex: 0 0 auto;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px;
    font-size: 13px;
  }

  .nav.is-open {
    display: grid;
  }

  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    text-align: center;
  }

  .nav-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
  }

  .nav-social .social-button {
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(166, 124, 61, 0.22);
    color: var(--green);
    font-size: 13px;
  }

  .nav-social .social-button img {
    width: 17px;
    height: 17px;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 28px;
    padding-top: 92px;
    text-align: center;
  }

  .hero__copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: 50px;
    margin-right: auto;
    margin-left: auto;
  }

  .hero p {
    margin-right: auto;
    margin-left: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__portrait {
    width: min(100%, 520px);
  }

  .hero__portrait img {
    height: 310px;
  }

  .feature-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .room-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__inner,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

}

@media (max-width: 680px) {
  .container {
    width: calc(100% - 24px);
  }

  .site-header {
    min-height: 58px;
    padding: 10px 12px 0;
  }

  .service-header {
    min-height: 68px;
    padding: 12px;
  }

  .site-header::after {
    content: none;
  }

  .brand__main {
    font-size: 18px;
  }

  .site-header .brand__main {
    font-size: 22px;
  }

  .brand__sub {
    font-size: 8px;
  }

  .site-header .brand__sub {
    font-size: 7px;
  }

  .header-actions .button {
    display: none;
  }

  .site-header .brand {
    padding: 0;
  }

  .site-header .header-actions {
    padding: 4px;
  }

  .mobile-menu-trigger {
    display: inline-flex !important;
    visibility: visible;
    position: static;
    margin-left: 6px;
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    gap: 4px;
    background: transparent;
    border-radius: 4px;
    z-index: 70;
    opacity: 1;
    box-shadow: none;
  }

  .brand {
    margin-right: auto;
  }

  .header-actions {
    order: 2;
    margin-left: 0;
  }

  .mobile-menu-trigger {
    order: 3;
  }

  .language-menu {
    right: -48px;
  }

  .mobile-menu-trigger span {
    width: 16px;
    background: #fff;
  }

  .menu-button {
    display: none !important;
  }

  .site-header .nav {
    top: 100%;
    min-height: auto;
    max-height: calc(100svh - 58px);
    padding: 14px 24px 32px;
  }

  .nav a {
    padding: 14px 0;
    font-size: 16px;
  }

  .hero {
    min-height: 100svh;
    align-items: center;
  }

  .hero__media img,
  .hero__media video {
    object-position: center;
  }

  .hero__content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 58px 0 26px;
    text-align: center;
  }

  .hero h1 {
    width: auto;
    max-width: 320px;
    margin: 0 auto 14px;
    font-size: 28px;
    line-height: 1;
  }

  .hero p {
    width: auto;
    max-width: 320px;
    margin: 0 auto 22px;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: anywhere;
  }

  .hero__actions {
    justify-content: center;
    gap: 8px;
  }

  .hero__portrait {
    width: min(100%, 330px);
  }

  .hero__portrait img {
    height: 220px;
  }

  .hero .button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }

  .booking-panel,
  .rooms-booking {
    width: 100%;
    margin-top: 28px;
    margin-bottom: 34px;
  }

  .booking-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    box-shadow: none;
  }

  .booking-field,
  .booking-field--guests {
    min-height: 50px;
    padding: 8px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .booking-field--guests {
    grid-column: 1 / -1;
  }

  .booking-field--guests,
  .booking-submit {
    margin-top: 0;
  }

  .booking-label {
    font-size: 12px;
  }

  .field-button {
    min-height: 30px;
    gap: 8px;
    font-size: 14px;
  }

  .field-button::after {
    flex-basis: 15px;
    width: 15px;
    height: 15px;
  }

  .guests-button::after {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
  }

  .booking-submit {
    grid-column: 1 / -1;
    min-height: 42px;
    margin-top: 12px;
    font-size: 14px;
  }

  .calendar-popover,
  .guests-popover {
    position: absolute;
    left: var(--popover-left, 12px);
    right: auto;
    top: var(--popover-top, calc(100% + 8px));
    bottom: auto;
    width: var(--popover-width, calc(100% - 24px));
    max-height: 62vh;
    overflow: auto;
  }

  .quick-features {
    margin-top: 0;
    padding: 24px 0;
    background: var(--section-b);
  }

  .about__inner,
  .host__inner,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .room-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 10px;
  }

  .room-grid:not(.is-expanded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding: 42px 0;
  }

  .section-title h2,
  .about h2,
  .host__copy h2,
  .faq h2,
  .trust h2 {
    font-size: 27px;
    line-height: 1.12;
  }

  .feature {
    min-height: auto;
    gap: 5px;
    padding: 2px 8px;
  }

  .feature img {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
  }

  .feature h2 {
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.15;
  }

  .feature p {
    display: none;
  }

  .room-card {
    display: flex;
    min-height: 0;
    height: auto;
    border-radius: 5px;
  }

  .room-card > img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .room-card__body {
    padding: 10px;
  }

  .room-card__type {
    top: 6px;
    left: 6px;
    padding: 5px 7px;
    font-size: 9px;
  }

  .room-card h3 {
    min-height: auto;
    margin-bottom: 7px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.15;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .room-card__description {
    display: block;
    margin-bottom: 10px;
    overflow: visible;
    font-size: 12.5px;
    line-height: 1.42;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
  }

  .room-card__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-top: 10px;
  }

  .room-card__price,
  .room-card__details {
    min-height: 26px;
    font-size: 10px;
    white-space: nowrap;
  }

  .room-card__price {
    width: 100%;
    padding: 0 6px;
    border-radius: 4px;
  }

  .room-card__details::after {
    margin-left: 4px;
  }

  .rooms-toggle,
  .reviews-toggle {
    width: max-content;
    min-height: 32px;
    margin-top: 18px;
    font-size: 13px;
  }

  .reviews-head {
    width: 100%;
    justify-content: center;
    margin: -18px auto 18px;
    border-radius: 6px;
    text-align: center;
  }

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

  .review-card {
    min-height: auto;
    gap: 12px;
    padding: 16px;
  }

  .review-card p {
    font-size: 13px;
    line-height: 1.52;
  }

  .map-section__inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .map-section__copy {
    min-height: auto;
  }

  .map-section h2 {
    font-size: 27px;
  }

  .map-card {
    min-height: 286px;
  }

  .map-links {
    gap: 6px;
  }

  .map-card__link {
    min-height: 34px;
    padding: 0 9px;
    font-size: 11px;
  }

  .map-frame,
  .map-card iframe {
    height: 286px;
  }

  .about__photo img {
    height: 100%;
  }

  .host__inner {
    gap: 22px;
  }

  .host__photo {
    order: 1;
  }

  .host__copy {
    order: 2;
  }

  .host__photo img {
    height: 230px;
  }

  .host__copy p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .social-actions--host {
    margin-top: 18px;
  }

  .guide-carousel {
    width: 100%;
  }

  .guide-card {
    padding: 0;
  }

  .guide-card > img {
    height: 100%;
  }

  .gallery-carousel {
    width: 100%;
  }

  .gallery-viewport {
    padding: 0;
  }

  .gallery-track {
    gap: 0;
    --gallery-visible: 1;
  }

  .gallery-slide {
    flex-basis: 100%;
  }

  .gallery-slide img {
    height: calc(100% - 42px);
  }

  .gallery-slide figcaption {
    min-height: 42px;
    font-size: 12px;
  }

  .gallery-arrow,
  .carousel-arrow {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .gallery-arrow::before,
  .carousel-arrow::before {
    width: 20px;
    height: 20px;
  }

  .service-hero {
    padding: 54px 0 34px;
  }

  .service-hero h1 {
    font-size: 34px;
  }

  .service-hero p {
    font-size: 15px;
  }

  .service-card,
  .service-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(even) > img {
    order: 0;
  }

  .service-card > img {
    height: 220px;
  }

  .service-card > div {
    padding: 24px;
  }

  .service-card h2 {
    font-size: 28px;
  }

  .service-footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .gallery-dots {
    min-height: 38px;
    max-width: calc(100% - 92px);
    padding: 0 10px;
  }

  .faq-list {
    gap: 8px;
  }

  .faq-list details {
    padding: 0 14px;
  }

  .faq-list summary {
    min-height: 52px;
    padding: 0;
    font-size: 14px;
    line-height: 1.35;
  }

  .faq-list p {
    padding: 0 0 16px;
    font-size: 13px;
    line-height: 1.55;
  }

  .trust-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid article:last-child {
    border-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .site-footer {
    background: var(--green);
  }

  .footer-grid {
    gap: 34px;
    padding: 44px 0 32px;
    text-align: center;
  }

  .brand--footer {
    justify-items: center;
    margin: 0 auto;
    text-align: center;
  }

  .footer-brand p,
  .footer-contact p {
    max-width: 320px;
    margin: 16px auto 0;
    font-size: 13px;
    line-height: 1.6;
  }

  .footer-contact p {
    margin: 0 auto;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    width: 100%;
    justify-items: center;
  }

  .footer-nav h2,
  .footer-contact h2 {
    margin-bottom: 8px;
    font-size: 19px;
    text-align: center;
  }

  .footer-nav a,
  .footer-contact a {
    font-size: 13px;
  }

  .footer-contact {
    justify-items: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    align-items: center;
    gap: 14px;
    padding: 18px 0 28px;
    text-align: center;
    font-size: 10px;
    white-space: normal;
  }

  .footer-partners {
    justify-content: center;
    gap: 18px;
    order: 2;
  }

  .footer-partner {
    gap: 7px;
    padding-left: 0;
    line-height: 1;
  }

  .footer-partner span {
    font-size: 8px;
    letter-spacing: 0.05em;
  }

  .footer-partner img {
    width: 68px;
    height: 25px;
    max-width: 68px;
    max-height: 25px;
    object-fit: contain;
  }

  .footer-partner:first-child img {
    width: 72px;
    height: 22px;
    max-width: 72px;
    max-height: 22px;
  }

  .footer-bottom > span {
    order: 1;
  }

  .footer-bottom > .social-actions--footer {
    display: none;
  }

  .footer-brand .social-actions--footer-mobile {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
  }

  .social-actions--footer {
    justify-content: center;
    gap: 10px;
  }

  .social-actions--footer .social-button {
    width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 0;
  }

  .social-actions--footer .social-button img {
    width: 18px;
    height: 18px;
  }

  .social-actions--footer .social-button span {
    display: none;
  }
}

/* Radius polish patch — 2026-06-11 */
:root {
  --radius-surface: 26px;
  --radius-surface-inner: 24px;
  --radius-popover: 22px;
  --radius-control: 15px;
  --radius-control-small: 12px;
}

.host__photo,
.room-card,
.gallery-viewport,
.guide-viewport,
.about__photo,
.review-card,
.map-card {
  border-radius: var(--radius-surface);
}

.gallery-slide,
.guide-card {
  border-radius: var(--radius-surface-inner);
}

.about__photo {
  background: transparent;
  border: 1px solid rgba(166, 124, 61, 0.22);
}

.about__photo img {
  object-fit: cover;
  background: transparent;
}

.map-card {
  overflow: hidden;
}

.map-card__link--apple {
  color: var(--green);
}

.button,
.site-header .button,
.room-card__price,
.social-button,
.map-card__link,
.lang-button,
.language-menu button,
.booking-submit,
.guests-done {
  border-radius: var(--radius-control);
}

.booking-form,
.calendar-popover,
.guests-popover,
.language-menu {
  border-radius: var(--radius-popover);
}

.menu-button,
.mobile-menu-trigger,
.calendar-head button,
.calendar-day,
.child-age-row select {
  border-radius: var(--radius-control-small);
}

@media (max-width: 680px) {
  :root {
    --radius-surface: 18px;
    --radius-surface-inner: 17px;
    --radius-popover: 18px;
    --radius-control: 13px;
    --radius-control-small: 10px;
  }

  .hero h1 {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: clamp(38px, 10.8vw, 44px);
    line-height: 0.96;
  }

  .hero p {
    max-width: 342px;
  }
}

/* Final mobile/layout bugfix patch — 2026-06-15 */
:root {
  --shadow: 0 10px 24px rgba(67, 44, 29, 0.10);
}

/* Footer booking link removed: it duplicated the main booking CTA and broke the footer rhythm. */
.footer-booking-link {
  display: none !important;
}

/* Footer partners: label above, logo below. No sideways "Design by + logo" composition. */
.footer-partners {
  align-items: flex-start;
}

.footer-partner {
  display: inline-grid;
  grid-template-rows: auto auto;
  justify-items: center;
  align-content: center;
  gap: 7px;
  min-width: 86px;
  padding-left: 16px;
  text-align: center;
  line-height: 1;
}

.footer-partner:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-partner span {
  display: block;
}

.footer-partner img {
  display: block;
}

/* Rooms: equal card mechanics across desktop/tablet/mobile. */
.room-grid {
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.room-card {
  height: 100%;
}

.room-card__body {
  flex: 1 1 auto;
}

.room-card__actions {
  margin-top: auto;
}

/* Map buttons: stable three-column layout on narrow screens. */
.map-links {
  min-width: 0;
}

/* Booking link in contact block should not create a crooked extra line. */
.footer-contact__links {
  justify-items: start;
}

@media (max-width: 680px) {
  /* Same footer color as desktop. The old green override is intentionally killed here. */
  .site-footer {
    background:
      radial-gradient(circle at 85% 12%, rgba(180, 106, 76, 0.28), transparent 30%),
      linear-gradient(135deg, #2a1f1c, var(--green-2));
  }

  /* Mobile menu: centered links and centered social buttons. */
  .site-header .nav {
    justify-items: center;
    align-content: start;
    text-align: center;
    padding: 18px 24px 32px;
  }

  .site-header .nav a {
    width: min(230px, 100%);
    justify-content: center;
    text-align: center;
  }

  .nav-social {
    width: min(312px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    justify-items: stretch;
    gap: 8px;
    margin: 22px auto 0;
  }

  .nav-social .social-button {
    width: 100%;
    justify-content: center;
    padding: 0 8px;
  }

  /* Rooms: no different-height cards on mobile. Text is clamped, actions stick to bottom. */
  .room-grid,
  .room-grid:not(.is-expanded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    grid-auto-rows: 1fr;
    gap: 10px;
  }

  .room-card {
    min-height: 100%;
    height: 100%;
  }

  .room-card__body {
    min-height: 210px;
    display: flex;
    flex-direction: column;
  }

  .room-card h3 {
    min-height: 52px;
    margin-bottom: 7px;
    -webkit-line-clamp: 3;
  }

  .room-card__description {
    display: -webkit-box;
    min-height: 72px;
    overflow: hidden;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
  }

  .room-card__actions {
    margin-top: auto;
  }

  .room-card__price {
    justify-content: center;
  }

  /* Owner photo must be square on phone. */
  .host__photo {
    width: 100%;
    aspect-ratio: 1 / 1;
  }

  .host__photo img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
  }

  /* Map links: Google / Yandex / Apple in one row, filling available width. */
  .map-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 6px;
    margin-top: 18px;
  }

  .map-card__link,
  .map-card__link[data-map-link],
  .map-card__link[data-map-link].is-active {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    justify-content: center;
    gap: 5px;
    padding: 0 5px;
    font-size: 10.5px;
    white-space: nowrap;
  }

  .map-card__link img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
  }

  /* Footer bottom and partners: compact, centered, readable. */
  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 16px;
  }

  .footer-contact__links {
    justify-items: center;
  }

  .footer-partners {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 26px;
    order: 2;
  }

  .footer-partner {
    min-width: 78px;
    gap: 6px;
    padding-left: 0;
    border-left: 0;
  }

  .footer-partner span {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .footer-partner img {
    width: auto;
    height: auto;
    max-width: 76px;
    max-height: 24px;
    object-fit: contain;
  }

  .footer-partner:first-child img {
    max-width: 78px;
    max-height: 22px;
  }
}

@media (max-width: 380px) {
  .nav-social {
    grid-template-columns: 1fr;
    max-width: 220px;
  }

  .room-card__body {
    min-height: 218px;
  }

  .map-card__link {
    font-size: 10px;
  }

  .map-card__link img {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
  }
}


/* Footer / room details correction — 2026-06-15 */
@media (max-width: 680px) {
  .footer-bottom {
    display: grid;
    grid-template-columns: minmax(92px, 0.82fr) minmax(0, 1.18fr);
    justify-items: stretch;
    align-items: center;
    gap: 10px;
    padding: 18px 0 28px;
    text-align: left;
  }

  .footer-bottom > span {
    grid-column: 1;
    order: 1;
    justify-self: start;
    max-width: 118px;
    text-align: left;
    font-size: 9px;
    line-height: 1.25;
  }

  .footer-bottom > .social-actions--footer {
    display: none !important;
  }

  .footer-partners {
    grid-column: 2;
    order: 2;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 13px;
    margin: 0;
  }

  .footer-partner {
    min-width: 0;
    width: auto;
    padding-left: 0;
    border-left: 0;
  }

  .footer-partner span {
    font-size: 7.5px;
    letter-spacing: 0.055em;
  }

  .footer-partner img {
    max-width: 63px;
    max-height: 22px;
  }

  .footer-partner:first-child img {
    max-width: 70px;
    max-height: 21px;
  }

  .room-card__actions {
    align-items: stretch;
  }

  .room-card__price,
  .room-card__details {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .room-card__details {
    padding: 0 6px;
  }
}

@media (max-width: 360px) {
  .footer-bottom {
    grid-template-columns: minmax(82px, 0.76fr) minmax(0, 1.24fr);
    gap: 8px;
  }

  .footer-bottom > span {
    max-width: 96px;
    font-size: 8px;
  }

  .footer-partners {
    gap: 9px;
  }

  .footer-partner img {
    max-width: 55px;
    max-height: 20px;
  }

  .footer-partner:first-child img {
    max-width: 62px;
    max-height: 20px;
  }
}


/* Reviews + mobile footer hard-fix — 2026-06-15 */
.reviews-head {
  border-radius: var(--radius-surface, 26px);
}

@media (max-width: 680px) {
  .reviews-head {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 10px;
    margin: -18px auto 18px;
    padding: 10px 12px;
    border-radius: var(--radius-surface, 18px) !important;
    text-align: center;
  }

  .reviews-head strong {
    font-size: 24px;
  }

  .reviews-head span {
    font-size: 12px;
    line-height: 1.25;
  }

  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: stretch;
  }

  .review-card {
    min-height: 172px;
    height: 100%;
    gap: 9px;
    padding: 12px;
  }

  .review-card__top {
    gap: 6px;
  }

  .review-card__top strong {
    font-size: 12.5px;
  }

  .review-card__top > span {
    font-size: 10px;
  }

  .review-stars {
    font-size: 10px;
    letter-spacing: 0;
  }

  .review-card p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: 13px !important;
    line-height: 1.42;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
  }

  .review-grid:not(.is-expanded) .review-card:nth-of-type(4) {
    display: flex;
  }

  .footer-bottom {
    display: grid !important;
    grid-template-columns: max-content minmax(0, 1fr) !important;
    align-items: center !important;
    justify-items: stretch !important;
    gap: 12px !important;
    padding: 18px 0 26px !important;
    text-align: left !important;
  }

  .footer-bottom > span {
    grid-column: 1 !important;
    order: 1 !important;
    justify-self: start !important;
    max-width: none !important;
    width: max-content !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-size: 10.5px !important;
    line-height: 1 !important;
  }

  .footer-bottom > .social-actions--footer {
    display: none !important;
  }

  .footer-partners {
    grid-column: 2 !important;
    order: 2 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-start !important;
    gap: 14px !important;
    margin: 0 !important;
  }

  .footer-partner {
    display: inline-grid !important;
    grid-template-rows: auto auto !important;
    justify-items: center !important;
    min-width: 0 !important;
    width: auto !important;
    gap: 6px !important;
    padding-left: 0 !important;
    border-left: 0 !important;
    text-align: center !important;
    line-height: 1 !important;
  }

  .footer-partner span {
    font-size: 8.6px !important;
    line-height: 1 !important;
    letter-spacing: 0.055em !important;
  }

  .footer-partner img {
    width: auto !important;
    height: auto !important;
    max-width: 64px !important;
    max-height: 23px !important;
    object-fit: contain !important;
  }

  .footer-partner:first-child img {
    max-width: 72px !important;
    max-height: 22px !important;
  }
}

@media (max-width: 360px) {
  .footer-bottom {
    gap: 8px !important;
  }

  .footer-bottom > span {
    font-size: 9.2px !important;
  }

  .footer-partners {
    gap: 8px !important;
  }

  .footer-partner span {
    font-size: 7.8px !important;
  }

  .footer-partner img {
    max-width: 54px !important;
    max-height: 20px !important;
  }

  .footer-partner:first-child img {
    max-width: 62px !important;
    max-height: 20px !important;
  }
}

/* Social preview, mobile form and footer polish — 2026-06-16 */
:root {
  --shadow: 0 8px 18px rgba(67, 44, 29, 0.08);
}

.review-card--mobile-only {
  display: none;
}

.review-flag {
  width: 22px;
  height: 15px;
  display: inline-block;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(36, 24, 18, 0.16);
  font-size: 0;
  line-height: 0;
}

.review-flag--ru {
  background: linear-gradient(#fff 0 33.333%, #1f57a4 33.333% 66.666%, #d52b1e 66.666%);
}

.review-flag--by {
  background:
    linear-gradient(90deg, #fff 0 18%, transparent 18%),
    linear-gradient(#c83131 0 67%, #4aa65a 67%);
}

.review-flag--tm {
  background:
    linear-gradient(90deg, #b11226 0 18%, #16844a 18%),
    linear-gradient(#16844a, #16844a);
}

.footer-partner:last-child img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  filter: none;
  opacity: 1;
}

.site-footer {
  background:
    radial-gradient(circle at 86% 12%, rgba(139, 47, 48, 0.32), transparent 32%),
    linear-gradient(135deg, #241b19, #331f20 58%, #1e1716) !important;
}

@media (min-width: 681px) {
  .review-grid:not(.is-expanded) .review-card:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 680px) {
  .site-footer {
    background:
      radial-gradient(circle at 86% 12%, rgba(139, 47, 48, 0.32), transparent 32%),
      linear-gradient(135deg, #241b19, #331f20 58%, #1e1716) !important;
  }

  .booking-field,
  .booking-field--guests {
    border-bottom: 0 !important;
  }

  .field-button {
    border-bottom: 1px solid rgba(166, 124, 61, 0.32) !important;
  }

  .booking-form {
    row-gap: 10px;
  }

  .booking-submit {
    border: 0 !important;
  }

  .room-card h3 {
    min-height: 0 !important;
    margin-bottom: 4px !important;
  }

  .room-card__description {
    margin-top: 0 !important;
    font-size: 13px !important;
    line-height: 1.38 !important;
  }

  .review-card--mobile-only {
    display: flex;
  }

  .review-grid:not(.is-expanded) .review-card:nth-of-type(4) {
    display: flex;
  }

  .footer-partner img {
    max-width: 76px !important;
    max-height: 26px !important;
  }

  .footer-partner:first-child img {
    max-width: 82px !important;
    max-height: 24px !important;
  }

  .footer-partner:last-child img {
    width: 42px !important;
    height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
  }
}
