:root {
  /* Base palette */
  --milk-light: #fbf8f1;
  --cream: #f5f2eb;
  --green: #58684a;
  --green-dark: #33402b;
  --brown: #3e362c;
  --gold: #b39a6a;
  --page-dark: #24241f;
  --text-light: #ece4d8;
  --accent-light: #d7c399;
  --hero-kicker: #e7ddc8;
  --hero-lead: #e0bf7f;
  --hero-overlay: #050804;
  --hero-overlay-mid: #080a07;
  --hero-overlay-bottom: #050704;
  --page-dark-soft: #2c2b25;
  --text-muted: #aaa397;
  --border-light: color-mix(in srgb,var(--text-light) 14%,transparent);
  --border-light-strong: color-mix(in srgb,var(--brown) 20%,transparent);
  --overlay-dark: color-mix(in srgb,var(--page-dark-soft) 88%,var(--cream));
  /* Nearby places */
  --nearby-bg: #302f29;
  --nearby-surface: #37362f;
  --nearby-surface-hover: #3d3c34;
  --nearby-marker: #d7c399;
  --nearby-map-bg: #403f37;
  --map-marker-bg: var(--accent-light);
  --map-marker-text: var(--brown);
  --map-marker-main-bg: var(--green);
  --map-marker-main-text: var(--cream);
  --map-marker-shadow: color-mix(in srgb,var(--brown) 28%,transparent);
  --excursion-bg: color-mix(in srgb,var(--nearby-bg) 82%,var(--cream));
  --excursion-border: color-mix(in srgb,var(--text-light) 14%,transparent);
  --excursion-accent: var(--accent-light);
  --transparent: transparent;
  /* Reviews */
  --reviews-bg: #35342e;
  --review-card-bg: #3b3a33;
  --review-card-hover: #414038;
  --review-border: color-mix(in srgb,var(--text-light) 12%,transparent);
  --review-text: color-mix(in srgb,var(--text-light) 78%,transparent);
  --review-meta: color-mix(in srgb,var(--text-light) 52%,transparent);
  --yandex-yellow: #ffcc00;
  --review-arrow-bg: color-mix(in srgb,var(--page-dark) 68%,transparent);
  --review-arrow-border: color-mix(in srgb,var(--text-light) 22%,transparent);
  --review-arrow-text: color-mix(in srgb,var(--text-light) 72%,transparent);
  --good-place-bg: color-mix(in srgb,var(--review-card-bg) 86%,var(--cream));
  --good-place-border: color-mix(in srgb,var(--text-light) 12%,transparent);
  /* Booking */
  --booking-bg: var(--cream);
  --booking-text: var(--brown);
  --booking-card-bg: #ebe6dc;
  --booking-field-bg: color-mix(in srgb,var(--cream) 72%,var(--milk-light));
  --booking-border: color-mix(in srgb,var(--brown) 14%,transparent);
  --booking-border-hover: color-mix(in srgb,var(--brown) 26%,transparent);
  --booking-muted: color-mix(in srgb,var(--brown) 62%,transparent);
  --booking-note-bg: color-mix(in srgb,var(--green) 10%,var(--cream));
  /* FAQ */
  --faq-bg: #ebe6dc;
  --faq-border: color-mix(in srgb,var(--brown) 14%,transparent);
  --faq-text-muted: color-mix(in srgb,var(--brown) 64%,transparent);
  --faq-hover: color-mix(in srgb,var(--cream) 60%,var(--faq-bg));
  /* Contacts */
  --contacts-bg: #20211d;
  --contacts-surface: #292a24;
  --contacts-border: color-mix(in srgb,var(--cream) 12%,transparent);
  --contacts-text: var(--cream);
  --contacts-muted: color-mix(in srgb,var(--cream) 60%,transparent);
  --contacts-hover: color-mix(in srgb,var(--cream) 7%,transparent);

  /* Derived colors */
  --cream-05: color-mix(in srgb, var(--cream) 5%, var(--transparent));
  --cream-25: color-mix(in srgb, var(--cream) 25%, var(--transparent));
  --cream-30: color-mix(in srgb, var(--cream) 30%, var(--transparent));
  --cream-50: color-mix(in srgb, var(--cream) 50%, var(--transparent));
  --cream-70: color-mix(in srgb, var(--cream) 70%, var(--transparent));
  --cream-85: color-mix(in srgb, var(--cream) 85%, var(--transparent));
  --cream-94: color-mix(in srgb, var(--cream) 94%, var(--transparent));
  --cream-96: color-mix(in srgb, var(--cream) 96%, var(--transparent));
  --green-86: color-mix(in srgb, var(--green) 86%, var(--transparent));
  --brown-08: color-mix(in srgb, var(--brown) 8%, var(--transparent));
  --brown-12: color-mix(in srgb, var(--brown) 12%, var(--transparent));
  --brown-13: color-mix(in srgb, var(--brown) 13%, var(--transparent));
  --brown-14: color-mix(in srgb, var(--brown) 14%, var(--transparent));
  --brown-15: color-mix(in srgb, var(--brown) 15%, var(--transparent));
  --green-dark-08: color-mix(in srgb, var(--green-dark) 8%, var(--transparent));
  --text-light-14: color-mix(in srgb, var(--text-light) 14%, var(--transparent));
  --text-light-60: color-mix(in srgb, var(--text-light) 60%, var(--transparent));
  --text-light-72: color-mix(in srgb, var(--text-light) 72%, var(--transparent));
  --hero-overlay-15: color-mix(in srgb, var(--hero-overlay) 15%, var(--transparent));
  --hero-overlay-25: color-mix(in srgb, var(--hero-overlay) 25%, var(--transparent));
  --hero-overlay-30: color-mix(in srgb, var(--hero-overlay) 30%, var(--transparent));
  --hero-overlay-82: color-mix(in srgb, var(--hero-overlay) 82%, var(--transparent));
  --hero-overlay-mid-55: color-mix(in srgb, var(--hero-overlay-mid) 55%, var(--transparent));
  --hero-overlay-bottom-62: color-mix(in srgb, var(--hero-overlay-bottom) 62%, var(--transparent));
  --hero-overlay-bottom-72: color-mix(in srgb, var(--hero-overlay-bottom) 72%, var(--transparent));
  --house-number-bg: color-mix(in srgb, var(--cream) 94%, transparent);
  --house-number-border: color-mix(in srgb, var(--brown) 8%, transparent);
  --house-number-shadow: color-mix(in srgb, var(--brown) 18%, transparent);
  --house-feature-bg: color-mix(in srgb,var(--page-dark-soft) 88%,var(--cream));
  --house-feature-border: color-mix(in srgb,var(--text-light) 15%,transparent);
  /* Layout */
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--page-dark);
  color: var(--text-light);
  font-family: Inter, Arial, sans-serif;
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Accessibility */

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--cream);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--cream);
  transition: background 0.35s, box-shadow 0.35s, color 0.35s;
}

.site-header.scrolled,
.site-header.menu-open {
  background: var(--cream-96);
  color: var(--brown);
  box-shadow: 0 8px 30px var(--brown-12);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 80px));
  height: var(--header-h);
  margin: auto;
}

.brand {
  position: relative;
  width: 180px;
}

.logo {
  width: 100%;
  max-width: none;
  height: auto;
}

.logo-dark {
  display: none;
}

.site-header.scrolled .logo-light,
.site-header.menu-open .logo-light {
  display: none;
}

.site-header.scrolled .logo-dark,
.site-header.menu-open .logo-dark {
  display: block;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
}

.desktop-nav a {
  position: relative;
  opacity: 0.9;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.25s;
}

.desktop-nav a:hover::after {
  right: 0;
}

.booking-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}

.booking-button:hover {
  transform: translateY(-2px);
}

.booking-button--header {
  justify-self: end;
  background: var(--green);
  color: var(--cream);
}

.bnovo-widget-wrap {
  position: relative;

  width: 100%;
  height: 270px;
  min-width: 0;

  display: flex;
  justify-content: center;

  margin-bottom: 24px;

  overflow: visible;
}

#_bn_widget_ {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 480px;
  min-width: 0;

  overflow: visible !important;
}

#_bn_widget_ > * {
  max-width: 100% !important;
}

#_bnovo_link_ {
  font-size: 10px;
  color: var(--booking-muted);
}

.site-header:not(.scrolled):not(.menu-open) .booking-button--header {
  background: var(--green-86);
  border: 1px solid var(--cream-25);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 8px;
  background: var(--transparent);
  border: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: currentColor;
  transition: 0.25s;
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  color: var(--cream);
}

.hero-bg {
  position: absolute;
  inset: -3%;
  background: url("assets/images/hero.webp") center 58% / cover no-repeat;
  animation: heroZoom 16s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--hero-overlay-82) 0%,
      var(--hero-overlay-mid-55) 40%,
      var(--hero-overlay-15) 72%,
      var(--hero-overlay-25) 100%
    ),
    linear-gradient(
      0deg,
      var(--hero-overlay-bottom-62),
      var(--transparent) 45%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 80px));
  margin: auto;
  padding: 120px 0 170px;
  animation: rise 0.9s 0.15s both;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--hero-kicker);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(60px, 8vw, 112px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.045em;
}

.hero-lead {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0 0 28px;
  color: var(--hero-lead);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 37px);
  line-height: 1.2;
}

.hero-copy {
  max-width: 540px;
  margin: 0 0 34px;
  color: var(--cream-85);
  font-size: 16px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

.booking-button--primary {
  background: var(--green);
  color: var(--cream);
}

.booking-button--ghost {
  background: var(--cream-05);
  color: var(--cream);
  border: 1px solid var(--cream-70);
}

.booking-button--ghost:hover {
  background: var(--cream);
  color: var(--brown);
}

/* Hero features */

.features {
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  width: min(1200px, calc(100% - 80px));
  color: var(--text-light);
  transform: translateX(-50%);
  animation: featuresRise 0.9s 0.45s both;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 20px 22px;
  background: var(--cream-25);
  border: 1px solid var(--cream-30);
  border-radius: 14px;
  box-shadow: 0 10px 30px var(--green-dark-08);
}

.feature-card img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
}

.feature-card span {
  font-size: 11px;
  opacity: 0.82;
}

.scroll-cue {
  position: absolute;
  bottom: 135px;
  left: 50%;
  z-index: 3;
  width: 28px;
  height: 44px;
  border: 1px solid var(--cream-50);
  border-radius: 20px;
}

.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 11px;
  width: 4px;
  height: 7px;
  background: var(--cream);
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}

/* Shared section styles */

.section-kicker,
.stub p {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.muted {
  opacity: 0.58;
}

.stub {
  min-height: 300px;
  padding: 90px 20px;
  text-align: center;
  border-top: 1px solid var(--brown-13);
}

.stub h2 {
  margin: 15px 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.04;
}

/* About */

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 80px;
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 120px 0;
}

.about-section::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: 180px;
  background: linear-gradient(
    to bottom,
    var(--transparent),
    var(--page-dark)
  );
  transform: translateX(-50%);
  pointer-events: none;
}

.about-media {
  position: relative;
}

.about-image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  box-shadow: 0 24px 60px var(--brown-14);
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88) saturate(0.9);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.about-image-wrap:hover img {
  filter: brightness(0.96) saturate(1);
  transform: scale(1.025);
}

.about-badge {
  position: absolute;
  right: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--cream-94);
  color: var(--brown);
  border: 1px solid var(--brown-08);
  border-radius: 14px;
  box-shadow: 0 14px 35px var(--brown-15);
}

.about-badge-place {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1;
}

/* Kept for compatibility if the old numeric badge is still present in HTML. */
.about-badge-number {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1;
}

.about-badge span:last-child {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2 {
  max-width: 520px;
  margin: 14px 0 26px;
  color: var(--text-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.about-lead {
  max-width: 550px;
  margin: 0 0 18px;
  color: var(--accent-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.5;
}

.about-text {
  max-width: 560px;
  margin: 0 0 38px;
  color: var(--text-light-72);
  font-size: 15px;
  line-height: 1.8;
}

.about-points {
  max-width: 560px;
}

.about-point {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--text-light-14);
}

.about-point:last-child {
  border-bottom: 1px solid var(--text-light-14);
}

.about-point > span {
  padding-top: 2px;
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.about-point strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
}

.about-point p {
  margin: 0;
  color: var(--text-light-60);
  font-size: 13px;
  line-height: 1.55;
}

/* ========================================
   Houses
======================================== */

.houses-section {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
  padding: 40px 0 130px;
}

.houses-header {
  margin-bottom: 60px;
}

.houses-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.houses-heading h2 {
  margin: 12px 0 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;

  color: var(--text-light);
}

.houses-heading > p {
  max-width: 440px;
  margin: 0;

  font-size: 15px;
  line-height: 1.75;

  color: var(--text-muted);
}


/* Список домов */

.houses-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}


/* Карточка дома */

.house-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;

  min-height: 520px;

  overflow: hidden;

  background: var(--page-dark-soft);
  border: 1px solid var(--border-light);
  border-radius: 22px;
}

.house-card--reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.house-card--reverse .house-image {
  order: 2;
}

.house-card--reverse .house-content {
  order: 1;
}


/* Фотография */

.house-image {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.house-image::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--overlay-dark) 80%, transparent),
    transparent 45%
  );

  pointer-events: none;
}

.house-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.8s ease;
}

.house-image-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.house-image-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -4px;
}


.house-card:hover .house-image img {
  transform: scale(1.035);
}


/* Номер */

.house-number {
  position: absolute;
  z-index: 2;

  left: 24px;
  bottom: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 64px;
  height: 48px;
  padding: 0 16px;

  background: var(--house-number-bg);
  border: 1px solid var(--house-number-border);
  border-radius: 12px;

  box-shadow: 0 10px 28px var(--house-number-shadow);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1;

  color: var(--green-dark);
}

.house-card--reverse .house-number {
  left: auto;
  right: 24px;
}


/* Текст */

.house-content {
  display: flex;
  flex-direction: column;

  padding: 42px 42px 32px;
}

.house-label {
  margin: 0 0 12px;

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;

  color: var(--gold);
}

.house-content h3 {
  margin: 0 0 24px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
  font-weight: 500;

  color: var(--text-light);
}

.house-title-link {
  color: inherit;
  text-decoration: none;

  transition: color 0.2s ease;
}

.house-title-link:hover {
  color: var(--accent-light);
}

.house-title-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 2px;
}


.house-description {
  max-width: 470px;
  margin: 0;

  font-size: 15px;
  line-height: 1.75;

  color: var(--text-muted);
}

.house-sleeping {
  margin: 16px 0 0;
  padding-left: 14px;

  border-left: 1px solid var(--gold);

  font-size: 12px;
  line-height: 1.6;

  color: var(--text-muted);
}

.house-capacity {
  margin: 14px 0 0;

  font-size: 14px;
  font-weight: 500;

  color: var(--text-light);
}


/* Характеристики */

.house-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 26px 0 28px;
}

.house-features span {
  padding: 9px 14px;

  background: var(--house-feature-bg);
  border: 1px solid var(--house-feature-border);
  border-radius: 100px;

  font-size: 11px;
  line-height: 1.2;

  color: var(--text-light);
}


/* Кнопки */

.house-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 4px;
  padding-top: 20px;

  border-top: 1px solid var(--border-light);
}

.house-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 13px;

  color: var(--text-light);

  transition: gap 0.25s ease;
}

.house-link:hover {
  gap: 15px;
}

/* ========================================
   Nearby places
======================================== */

.nearby-section {
  padding: 120px 0;
  background: var(--nearby-bg);
}

.nearby-inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
}


/* Header */

.nearby-header {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;

  margin-bottom: 60px;
}

.nearby-header h2 {
  max-width: 620px;
  margin: 12px 0 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;

  color: var(--text-light);
}

.nearby-intro {
  max-width: 460px;
  margin: 0;

  font-size: 15px;
  line-height: 1.75;

  color: var(--text-muted);
}


/* Main layout */

.nearby-content {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}


/* Places */

.places-list {
  display: flex;
  flex-direction: column;
  gap: 8px;

  max-height: 560px;
  overflow-y: auto;
  overflow-x: hidden;

  padding-right: 8px;

  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}

.places-list::-webkit-scrollbar {
  width: 6px;
}

.places-list::-webkit-scrollbar-track {
  background: transparent;
}

.places-list::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 20px;
}

.place-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  min-height: 84px;
  padding: 18px 20px;

  background: var(--nearby-surface);
  border: 1px solid var(--border-light);
  border-radius: 14px;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.place-item:hover {
  background: var(--nearby-surface-hover);
  transform: translateX(4px);
}

.place-item.is-hidden {
  display: none;
}

.place-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.place-number {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;

  color: var(--gold);
}

.place-main strong {
  display: block;

  margin-bottom: 5px;

  font-size: 13px;
  font-weight: 600;

  color: var(--text-light);
}

.place-main div > span {
  font-size: 11px;

  color: var(--text-muted);
}

.place-time {
  flex-shrink: 0;

  padding: 7px 10px;

  background: var(--house-feature-bg);
  border-radius: 100px;

  font-size: 10px;

  color: var(--text-light);
}


/* Map */

.nearby-map {
  position: relative;

  width: 100%;
  height: 560px;
  min-height: 560px;

  overflow: hidden;

  background: var(--nearby-map-bg);
  border: 1px solid var(--border-light);
  border-radius: 22px;
}

/* ========================================
   Yandex map
======================================== */

.yandex-map {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}



/* Address */

.map-note {
  position: absolute;
  z-index: 3;

  left: 20px;
  top: 28px;
  bottom: auto;

  padding: 13px 16px;

  background: var(--page-dark-soft);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

.map-note span {
  display: block;

  margin-bottom: 4px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  color: var(--gold);
}

.map-note strong {
  font-size: 12px;

  color: var(--text-light);
}


/* Map link */

.map-link {
  position: absolute;
  z-index: 3;

  right: 32px;
  top: 32px;
  bottom: auto;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px 16px;

  background: var(--green);
  border-radius: 8px;

  font-size: 12px;
  font-weight: 600;

  color: var(--cream);

  transition:
    transform 0.2s ease,
    gap 0.2s ease;
}

.map-link:hover {
  gap: 14px;
  transform: translateY(-2px);
}

.map-point {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  height: 38px;
  padding: 0 10px;

  background: var(--map-marker-bg);
  border: 3px solid var(--nearby-bg);
  border-radius: 100px;

  box-shadow: 0 6px 18px var(--map-marker-shadow);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;

  color: var(--map-marker-text);

  cursor: pointer;
}

.map-point--main {
  min-width: auto;
  height: 44px;
  padding: 0 16px;

  background: var(--map-marker-main-bg);

  font-family: inherit;
  font-size: 12px;
  font-weight: 600;

  color: var(--map-marker-main-text);

  position: relative;
  left: -75px;
  top: 25px;
  z-index: 10;

  white-space: nowrap;
}

.map-point--main::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;

  background: currentColor;
  border-radius: 50%;
}

/* ========================================
   Places filters
======================================== */

.places-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin-bottom: 28px;
}

.places-filter {
  padding: 10px 18px;

  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 100px;

  font-family: inherit;
  font-size: 11px;

  color: var(--text-muted);

  cursor: pointer;

  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.places-filter:hover {
  color: var(--text-light);
  border-color: var(--border-light-strong);
}

.places-filter.is-active {
  background: var(--green);
  border-color: var(--green);

  color: var(--cream);
}

.places-filter:active {
  transform: scale(0.97);
}

/* ========================================
   Individual excursion
======================================== */

.excursion-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 80px;
  align-items: end;

  margin-top: 24px;
  padding: 42px 46px;

  background: var(--excursion-bg);
  border: 1px solid var(--excursion-border);
  border-radius: 22px;
}

.excursion-content h3 {
  max-width: 620px;
  margin: 12px 0 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;

  color: var(--text-light);
}

.excursion-content > p:last-child {
  max-width: 620px;
  margin: 0;

  font-size: 14px;
  line-height: 1.75;

  color: var(--text-muted);
}

.excursion-action {
  max-width: 360px;
  justify-self: end;
}

.excursion-action p {
  margin: 0 0 22px;

  font-size: 12px;
  line-height: 1.65;

  color: var(--text-muted);
}

.excursion-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--excursion-accent);

  font-size: 13px;

  color: var(--excursion-accent);

  transition:
    gap 0.25s ease,
    color 0.25s ease;
}

.excursion-link:hover {
  gap: 17px;
  color: var(--text-light);
}

/* ========================================
   Excursion modal
======================================== */

.excursion-open {
  padding: 0 0 5px;

  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--excursion-accent);

  font-family: inherit;

  cursor: pointer;
}


.excursion-modal {
  width: min(940px, calc(100% - 48px));
  max-height: calc(100svh - 60px);

  padding: 0;

  overflow: auto;

  background: var(--nearby-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;

  color: var(--text-light);
}


.excursion-modal::backdrop {
  background:
    color-mix(
      in srgb,
      var(--page-dark) 82%,
      transparent
    );

  backdrop-filter: blur(5px);
}


.excursion-modal-inner {
  position: relative;

  padding: 54px;
}


.excursion-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  padding: 0;

  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: 50%;

  font-size: 26px;
  line-height: 1;

  color: var(--text-light);

  cursor: pointer;
}


.excursion-modal-header {
  max-width: 680px;
  margin-bottom: 48px;
}


.excursion-modal-header h2 {
  margin: 12px 0 20px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 0.98;
  font-weight: 500;

  color: var(--text-light);
}


.excursion-modal-lead {
  max-width: 580px;
  margin: 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.5;

  color: var(--accent-light);
}


.excursion-modal-about {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;

  margin-bottom: 42px;
  padding-bottom: 42px;

  border-bottom: 1px solid var(--border-light);
}


.excursion-modal-about p {
  margin: 0;

  font-size: 13px;
  line-height: 1.75;

  color: var(--text-muted);
}


.excursion-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;

  margin-bottom: 52px;
}


.excursion-benefit {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;

  padding: 24px 0;

  border-top: 1px solid var(--border-light);
}


.excursion-benefit > span {
  padding-top: 3px;

  font-size: 9px;

  color: var(--gold);
}


.excursion-benefit strong {
  display: block;

  margin-bottom: 7px;

  font-size: 13px;

  color: var(--text-light);
}


.excursion-benefit p {
  margin: 0;

  font-size: 11px;
  line-height: 1.65;

  color: var(--text-muted);
}


.excursion-guide {
  padding: 34px;

  background:
    color-mix(
      in srgb,
      var(--nearby-bg) 75%,
      var(--cream)
    );

  border: 1px solid var(--border-light);
  border-radius: 18px;
}


.excursion-guide-label {
  margin-bottom: 26px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--gold);
}


.excursion-guide-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 55px;
}


.excursion-guide-info h3 {
  margin: 0 0 18px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 500;

  color: var(--text-light);
}


.excursion-guide-info p {
  margin: 0;

  font-size: 12px;
  line-height: 1.7;

  color: var(--text-muted);
}


.excursion-guide-info p + p {
  margin-top: 14px;
}


.excursion-guide-contact {
  padding-left: 28px;

  border-left: 1px solid var(--border-light);
}


.excursion-guide-contact > span {
  display: block;

  margin-bottom: 14px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  color: var(--gold);
}


.excursion-guide-phone {
  display: inline-block;

  margin-bottom: 14px;
  padding-bottom: 5px;

  border-bottom: 1px solid var(--gold);

  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;

  color: var(--text-light);
}


.excursion-guide-contact p {
  margin: 0;

  font-size: 10px;
  line-height: 1.6;

  color: var(--text-muted);
}

/* ========================================
   Reviews
======================================== */

.reviews-section {
  padding: 120px 0;
  background: var(--reviews-bg);
}

.reviews-inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
}


/* Header */

.reviews-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 54px;
}

.reviews-header h2 {
  margin: 12px 0 0;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;

  color: var(--text-light);
}

.reviews-source {
  display: flex;
  align-items: center;
  gap: 9px;

  padding-bottom: 8px;

  font-size: 11px;

  color: var(--review-meta);
}

.reviews-source-dot {
  width: 10px;
  height: 10px;

  background: var(--yandex-yellow);
  border-radius: 3px;
}


/* Slider */

.reviews-slider {
  position: relative;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;

  overflow-x: auto;
  padding: 8px 0 6px;
  overscroll-behavior-inline: contain;

  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;

  scrollbar-width: none;
}

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


/* Card */

.review-card {
  display: flex;
  flex-direction: column;

  min-height: 360px;
  padding: 26px;

  background: var(--review-card-bg);
  border: 1px solid var(--review-border);
  border-radius: 18px;

  scroll-snap-align: start;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.review-card:hover {
  background: var(--review-card-hover);
  transform: translateY(-3px);
}


/* Author */

.review-author {
  display: flex;
  align-items: center;
  gap: 13px;

  margin-bottom: 24px;
}

.review-avatar {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 42px;
  width: 42px;
  height: 42px;

  background: var(--yandex-yellow);
  border-radius: 50%;

  font-size: 11px;
  font-weight: 700;

  color: var(--brown);
}

.review-author strong {
  display: block;

  margin-bottom: 4px;

  font-size: 13px;

  color: var(--text-light);
}

.review-author span {
  display: block;

  font-size: 10px;

  color: var(--review-meta);
}


/* Review text */

.review-text {
  flex: 1;

  margin: 0;

  font-size: 13px;
  line-height: 1.72;

  color: var(--review-text);
}


/* Source */

.review-footer {
  display: flex;
  align-items: center;
  gap: 7px;

  margin-top: 28px;
  padding-top: 16px;

  border-top: 1px solid var(--review-border);

  font-size: 9px;

  color: var(--review-meta);
}

.review-yandex-mark {
  width: 8px;
  height: 8px;

  background: var(--yandex-yellow);
  border-radius: 2px;
}


/* Navigation */

.reviews-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 36px;
  height: 36px;
  padding: 0;

  transform: translateY(-50%);

  background: var(--review-arrow-bg);
  border: 1px solid var(--review-arrow-border);
  border-radius: 50%;

  font-size: 15px;

  color: var(--review-arrow-text);

  cursor: pointer;

  backdrop-filter: blur(8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.reviews-arrow:hover {
  background: var(--page-dark-soft);

  transform:
    translateY(-50%)
    scale(1.05);
}

.reviews-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.reviews-arrow--prev {
  left: -21px;
}

.reviews-arrow--next {
  right: -21px;
}

.reviews-yandex-summary {
  display: flex;
  align-items: center;
  gap: 28px;

  padding-bottom: 4px;
}


/* Рейтинг */

.reviews-rating-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reviews-rating-value {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1;

  color: var(--text-light);
}

.reviews-stars {
  display: flex;
  gap: 2px;

  font-size: 13px;

  color: var(--yandex-yellow);
}

.reviews-rating-source {
  display: block;

  margin-top: 5px;

  font-size: 10px;

  color: var(--review-meta);
}


/* Хорошее место */

.good-place {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;

  background: var(--good-place-bg);
  border: 1px solid var(--good-place-border);
  border-radius: 12px;
}

.good-place-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  background: var(--yandex-yellow);
  border-radius: 50%;

  font-size: 13px;
  font-weight: 700;

  color: var(--brown);
}

.good-place strong {
  display: block;

  margin-bottom: 2px;

  font-size: 11px;

  color: var(--text-light);
}

.good-place div > span {
  display: block;

  font-size: 9px;

  color: var(--review-meta);
}

/* ========================================
   Booking
======================================== */

.booking-section {
  position: relative;
  z-index: 1;
  isolation: isolate;

  padding: 130px 0;

  background: var(--booking-bg);
  color: var(--booking-text);
}

.booking-inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}


/* Intro */

.booking-intro h2 {
  max-width: 520px;
  margin: 14px 0 26px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;

  color: var(--booking-text);
}

.booking-description {
  max-width: 500px;
  margin: 0 0 42px;

  font-size: 15px;
  line-height: 1.75;

  color: var(--booking-muted);
}


/* Benefits */

.booking-benefits {
  max-width: 500px;
}

.booking-benefit {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;

  padding: 17px 0;

  border-top: 1px solid var(--booking-border);
}

.booking-benefit:last-child {
  border-bottom: 1px solid var(--booking-border);
}

.booking-benefit > span {
  padding-top: 2px;

  font-size: 10px;
  letter-spacing: 0.1em;

  color: var(--gold);
}

.booking-benefit p {
  margin: 0;

  font-size: 12px;
  line-height: 1.55;

  color: var(--booking-muted);
}

.booking-benefit strong {
  display: block;
  margin-bottom: 3px;

  font-size: 13px;
  font-weight: 600;

  color: var(--booking-text);
}


/* Booking panel */

.booking-panel {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 500px;

  padding: 38px;

  background: var(--booking-card-bg);
  border: 1px solid var(--booking-border);
  border-radius: 24px;

  overflow: visible;
}


/* Panel header */

.booking-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 30px;
}

.booking-panel-header div > span {
  display: block;

  margin-bottom: 5px;

  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--gold);
}

.booking-panel-header strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;

  color: var(--booking-text);
}

.booking-panel-status {
  padding: 7px 11px;

  background: var(--green);
  border-radius: 100px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--cream);
}


/* Bottom note */

.booking-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: auto;
  padding: 13px 15px;

  background: var(--booking-note-bg);
  border-radius: 10px;
}

.booking-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 20px;
  width: 20px;
  height: 20px;

  border: 1px solid var(--green);
  border-radius: 50%;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;

  color: var(--green);
}

.booking-note p {
  margin: 0;

  font-size: 10px;
  line-height: 1.55;

  color: var(--booking-muted);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

main section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* ========================================
   FAQ
======================================== */

.faq-section {
  padding: 120px 0;

  background: var(--faq-bg);
}

.faq-inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}


/* Intro */

.faq-intro {
  position: sticky;
  top: 120px;

  align-self: start;
}

.faq-intro h2 {
  margin: 12px 0 24px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.025em;

  color: var(--brown);
}

.faq-intro > p:last-child {
  max-width: 390px;
  margin: 0;

  font-size: 14px;
  line-height: 1.75;

  color: var(--faq-text-muted);
}


/* List */

.faq-list {
  border-top: 1px solid var(--faq-border);
}


/* FAQ item */

.faq-item {
  border-bottom: 1px solid var(--faq-border);

  transition: background 0.25s ease;
}

.faq-item:hover {
  background: var(--faq-hover);
}


/* Question */

.faq-question {
  width: 100%;
  min-height: 92px;
  padding: 0 8px;

  display: grid;
  grid-template-columns: 36px 1fr 34px;
  gap: 18px;
  align-items: center;

  background: transparent;
  border: 0;

  text-align: left;
  font-family: inherit;

  color: var(--brown);

  cursor: pointer;
}

.faq-number {
  font-size: 9px;
  letter-spacing: 0.12em;

  color: var(--gold);
}

.faq-question-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.25;
}


/* Plus / minus */

.faq-icon {
  position: relative;

  width: 30px;
  height: 30px;

  border: 1px solid var(--faq-border);
  border-radius: 50%;

  transition:
    border-color 0.25s ease,
    transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";

  position: absolute;
  left: 50%;
  top: 50%;

  width: 10px;
  height: 1px;

  background: var(--brown);

  transform: translate(-50%, -50%);
}

.faq-icon::after {
  transform:
    translate(-50%, -50%)
    rotate(90deg);

  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--green);
}

.faq-question[aria-expanded="true"] .faq-icon::after {
  transform:
    translate(-50%, -50%)
    rotate(0deg);
}


/* Answer animation */

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;

  overflow: hidden;

  transition: grid-template-rows 0.35s ease;
}

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

.faq-answer-inner {
  min-height: 0;
}

.faq-answer p {
  max-width: 600px;
  margin: 0;
  padding:
    0
    50px
    30px
    62px;

  font-size: 13px;
  line-height: 1.75;

  color: var(--faq-text-muted);
}

/* ========================================
   Contacts
======================================== */

.contacts-section {
  padding: 120px 0 36px;

  background: var(--contacts-bg);
}

.contacts-inner {
  width: min(1160px, calc(100% - 80px));
  margin: 0 auto;
}


/* Main */

.contacts-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 120px;

  padding-bottom: 80px;
}


/* Heading */

.contacts-heading h2 {
  max-width: 680px;
  margin: 14px 0 26px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.03em;

  color: var(--contacts-text);
}

.contacts-heading > p:last-child {
  max-width: 470px;
  margin: 0;

  font-size: 14px;
  line-height: 1.75;

  color: var(--contacts-muted);
}


/* Contact information */

.contacts-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;

  align-self: end;
}

.contact-item {
  padding-top: 18px;

  border-top: 1px solid var(--contacts-border);
}

.contact-label {
  display: block;

  margin-bottom: 22px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;

  color: var(--gold);
}

.contact-item address {
  margin: 0 0 22px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.45;
  font-style: normal;

  color: var(--contacts-text);
}

.contact-phone {
  display: inline-block;

  margin-bottom: 14px;

  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;

  color: var(--contacts-text);
}

.contact-item p {
  max-width: 260px;
  margin: 0;

  font-size: 11px;
  line-height: 1.6;

  color: var(--contacts-muted);
}


/* Text link */

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 5px;

  border-bottom: 1px solid var(--gold);

  font-size: 11px;

  color: var(--gold);

  transition:
    gap 0.2s ease,
    color 0.2s ease;
}

.contact-link:hover {
  gap: 15px;
  color: var(--contacts-text);
}


/* Booking CTA */

.contacts-booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  margin-bottom: 70px;
  padding: 28px 30px;

  background: var(--contacts-surface);
  border: 1px solid var(--contacts-border);
  border-radius: 18px;

  width: min(620px, 100%);
  margin: 0 0 70px auto;
}

.contacts-booking div > span {
  display: block;

  margin-bottom: 6px;

  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;

  color: var(--gold);
}

.contacts-booking strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;

  color: var(--contacts-text);
}

.contacts-booking-button {
  display: flex;
  align-items: center;
  gap: 20px;

  padding: 14px 18px;

  background: var(--green);
  border-radius: 9px;

  font-size: 12px;
  font-weight: 600;

  color: var(--cream);

  transition:
    gap 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.contacts-booking-button:hover {
  gap: 26px;

  background: var(--green-dark);

  transform: translateY(-2px);
}


/* ========================================
   Footer
======================================== */

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;

  padding-top: 28px;

  border-top: 1px solid var(--contacts-border);
}

.footer-copyright {
  justify-self: start;

  font-size: 9px;

  color: var(--contacts-muted);
}

.footer-up {
  justify-self: end;

  padding-bottom: 4px;

  border-bottom: 1px solid var(--contacts-border);

  font-size: 10px;

  color: var(--gold);
}

.footer-up:hover {
  color: var(--contacts-text);
}


/* Navigation */

.footer-nav {
  justify-self: center;

  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;

  width: auto;
  margin: 0;
  gap: 26px;

  white-space: nowrap;
}

.footer-nav a {
  display: inline-block;
  width: auto;
  flex: 0 0 auto;
  font-size: 10px;

  color: var(--contacts-muted);

  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--contacts-text);
}



.contact-messengers {
  display: flex;
  align-items: center;
  gap: 18px;

  margin: 0 0 16px;
}

.contact-messengers a {
  padding-bottom: 4px;

  border-bottom: 1px solid var(--contacts-border);

  font-size: 11px;

  color: var(--gold);

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-messengers a:hover {
  color: var(--contacts-text);
  border-color: var(--gold);
}

/* Animations */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

@keyframes featuresRise {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes scrollDot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(16px);
  }
}

/* Tablet / compact desktop */

@media (max-width: 1050px) {
  :root {
    --header-h: 70px;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    width: min(calc(100% - 28px), 1200px);
  }

  .desktop-nav,
  .booking-button--header {
    display: none;
  }

  .menu-button {
    display: block;
    color: inherit;
  }

  .brand {
    width: 125px;
  }

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

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

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

  .mobile-menu {
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    background: var(--cream);
    color: var(--brown);
    transition: max-height 0.35s;
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 15px 20px 28px;
  }

  .mobile-menu a:not(.booking-button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--brown-12);
  }

  .mobile-menu .booking-button {
    margin-top: 18px;
    background: var(--green);
    color: var(--cream);
  }

  .site-header.menu-open .mobile-menu {
    max-height: 520px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 110px;
    padding-bottom: 260px;
  }

  .features {
    bottom: 20px;
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 40px);
  }

  .scroll-cue {
    display: none;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 52px;
    width: calc(100% - 40px);
    padding: 90px 0;
  }

  .about-media {
    max-width: 720px;
  }

  .about-badge {
    right: 20px;
    bottom: 20px;
  }

  .houses-section {
    width: calc(100% - 40px);
    padding-bottom: 100px;
  }

  .houses-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .house-card,
  .house-card--reverse {
    grid-template-columns: 1fr;
  }

  .house-card--reverse .house-image,
  .house-card--reverse .house-content {
    order: initial;
  }

  .house-image {
    min-height: 460px;
  }

  .house-content {
    padding: 38px;
  }

  .nearby-inner {
    width: calc(100% - 40px);
  }

  .nearby-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nearby-content {
    grid-template-columns: 1fr;
  }

  .places-list {
    max-height: 480px;
  }

  .nearby-map {
    height: 480px;
    min-height: 480px;
  }

  .excursion-card {
    grid-template-columns: 1fr;
    gap: 28px;

    padding: 36px;
  }

  .excursion-action {
    max-width: 520px;
    justify-self: start;
  }

  .reviews-inner {
    width: calc(100% - 40px);
  }

  .reviews-track {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .reviews-arrow--prev {
    left: -14px;
  }

  .reviews-arrow--next {
    right: -14px;
  }

  .booking-inner {
    width: calc(100% - 40px);
  }

  .faq-inner {
    width: calc(100% - 40px);

    grid-template-columns: 1fr;
    gap: 50px;
  }

  .faq-intro {
    position: static;
  }

  .faq-intro > p:last-child {
    max-width: 600px;
  }

  .contacts-inner {
    width: calc(100% - 40px);
  }

  .contacts-main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contacts-info {
    width: 100%;
    max-width: 760px;
  }
}

/* Tablet booking: keep the Bnovo form beside the text */
@media (min-width: 700px) and (max-width: 1050px) {
  .booking-section {
    padding: 100px 0;
  }

  .booking-inner {
    grid-template-columns: minmax(220px, 1fr) minmax(0, 480px);
    gap: 28px;
    align-items: center;
  }

  .booking-intro h2 {
    margin-bottom: 20px;
    font-size: clamp(38px, 5.2vw, 52px);
  }

  .booking-description {
    margin-bottom: 26px;
    font-size: 13px;
    line-height: 1.65;
  }

  .booking-benefit {
    grid-template-columns: 28px 1fr;
    gap: 10px;
    padding: 12px 0;
  }

  .booking-benefit p {
    font-size: 11px;
  }

  .booking-benefit strong {
    font-size: 12px;
  }

  .booking-panel {
    width: 100%;
    max-width: 480px;
    justify-self: end;
    align-self: center;
    padding: 28px 24px;
  }

  .booking-panel-header {
    margin-bottom: 22px;
  }

  .booking-panel-header strong {
    font-size: 21px;
  }

  #_bn_widget_,
  #_bn_widget_ > *,
  #_bn_widget_ .bnovo {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Narrow tablets / large phones: stack booking before the mobile breakpoint */
@media (max-width: 699px) {
  .booking-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .booking-panel {
    width: 100%;
    max-width: 560px;
  }
}

/* ========================================
   Excursion modal — tablet / narrow screens
======================================== */

@media (max-width: 760px) {

  .excursion-modal {
    width: calc(100% - 32px);
    max-height: calc(100svh - 32px);
  }

  .excursion-modal-inner {
    padding: 44px 32px 32px;
  }

  .excursion-modal-header {
    margin-bottom: 36px;
  }

  .excursion-modal-header h2 {
    font-size: clamp(38px, 7vw, 52px);
  }

  .excursion-modal-about {
    grid-template-columns: 1fr;
    gap: 18px;

    margin-bottom: 34px;
    padding-bottom: 34px;
  }

  .excursion-benefits {
    grid-template-columns: 1fr;

    margin-bottom: 38px;
  }

  .excursion-guide {
    padding: 28px;
  }

  .excursion-guide-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .excursion-guide-info,
  .excursion-guide-contact {
    min-width: 0;
  }

  .excursion-guide-contact {
    padding-top: 26px;
    padding-left: 0;

    border-top: 1px solid var(--border-light);
    border-left: 0;
  }

  .excursion-guide-phone {
    max-width: 100%;

    font-size: 21px;

    overflow-wrap: anywhere;
  }
}

/* Mobile */

@media (max-width: 560px) {
  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-bg {
    background-position: 30% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        90deg,
        var(--hero-overlay-82),
        var(--hero-overlay-30)
      ),
      linear-gradient(
        0deg,
        var(--hero-overlay-bottom-72),
        var(--transparent) 55%
      );
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-top: 105px;
    padding-bottom: 330px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero-copy {
    max-width: 92%;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 270px;
  }

  .booking-button {
    min-height: 48px;
  }

  .features {
    bottom: 12px;
    width: calc(100% - 32px);
  }

  .feature-card {
    gap: 10px;
    min-height: 75px;
    padding: 14px 12px;
  }

  .feature-card img {
    width: 28px;
    height: 28px;
  }

  .feature-card strong {
    font-size: 11px;
  }

  .feature-card span {
    font-size: 9px;
  }

  .stub {
    min-height: 240px;
    padding: 70px 20px;
  }

  .stub h2 {
    font-size: 34px;
  }

  .about-section {
    gap: 38px;
    width: calc(100% - 32px);
    padding: 70px 0;
  }

  .about-image-wrap {
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }

  .about-badge {
    right: 12px;
    bottom: 12px;
    padding: 12px 15px;
  }

  .about-badge-number {
    font-size: 30px;
  }

  .about-badge-place {
    font-size: 20px;
  }

  .about-badge span:last-child {
    font-size: 9px;
  }

  .about-copy h2 {
    margin-bottom: 22px;
    font-size: 40px;
  }

  .about-lead {
    font-size: 18px;
  }

  .about-text {
    margin-bottom: 28px;
    font-size: 14px;
    line-height: 1.7;
  }

  .about-point {
    padding: 15px 0;
  }

  .houses-section {
    width: calc(100% - 32px);
    padding: 20px 0 80px;
  }

  .houses-header {
    margin-bottom: 36px;
  }

  .houses-heading {
    gap: 18px;
  }

  .houses-heading h2 {
    font-size: 40px;
  }

  .houses-heading > p {
    font-size: 14px;
  }

  .houses-list {
    gap: 24px;
  }

  .house-card {
    min-height: auto;
    border-radius: 18px;
  }

  .house-image {
    min-height: 320px;
  }

  .house-content {
    padding: 26px 20px;
  }

  .house-content h3 {
    font-size: 34px;
  }

  .house-description {
    font-size: 14px;
    line-height: 1.65;
  }

  .house-features {
    margin: 28px 0;
  }

  .house-features span {
    padding: 8px 11px;
    font-size: 10px;
  }

  .house-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .house-link {
    justify-content: space-between;
  }

  .house-actions .booking-button {
    width: 100%;
  }

  .house-number {
    left: 16px;
    bottom: 16px;

    min-width: 54px;
    height: 42px;
    padding: 0 13px;

    font-size: 18px;
  }

  .nearby-section {
    padding: 80px 0;
  }

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

  .nearby-header {
    margin-bottom: 36px;
  }

  .nearby-header h2 {
    font-size: 40px;
  }

  .nearby-intro {
    font-size: 14px;
  }

  .place-item {
    min-height: 76px;
    padding: 15px 14px;
  }

  .place-main {
    gap: 12px;
  }

  .place-time {
    font-size: 9px;
  }

  .nearby-map {
    min-height: 390px;
    border-radius: 18px;
  }

  .map-note {
    left: 14px;
    top: 14px;
    bottom: auto;
  }

  .map-link {
    left: auto;
    right: 14px;
    top: 88px;
    bottom: auto;

    justify-content: space-between;
  }
  .excursion-card {
    margin-top: 16px;
    padding: 28px 20px;

    border-radius: 18px;
  }

  .excursion-content h3 {
    font-size: 32px;
  }

  .excursion-content > p:last-child {
    font-size: 13px;
  }

  .excursion-action p {
    font-size: 11px;
  }

  .reviews-section {
    padding: 80px 0;
  }

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

  .reviews-header {
    align-items: start;
    flex-direction: column;
    gap: 16px;

    margin-bottom: 34px;
  }

  .reviews-header h2 {
    font-size: 40px;
  }

  .reviews-source {
    padding-bottom: 0;
  }

  .reviews-track {
    grid-auto-columns: 88%;
    gap: 12px;
  }

  .review-card {
    min-height: 340px;
    padding: 22px;
  }

  .review-text {
    font-size: 12px;
  }

  .reviews-arrow {
    display: none;
  }

  .reviews-yandex-summary {
    width: 100%;

    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;
  }

  .reviews-rating-value {
    font-size: 24px;
  }

  .reviews-stars {
    font-size: 11px;
  }

  .good-place {
    padding: 8px 10px;
  }

  .good-place-mark {
    width: 27px;
    height: 27px;
  }
  .booking-section {
    padding: 80px 0;
  }

  .booking-inner {
    width: calc(100% - 32px);
    gap: 40px;
  }

  .booking-intro h2 {
    font-size: 40px;
  }

  .booking-description {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .booking-panel {
    padding: 22px 18px;

    border-radius: 18px;
  }

  .booking-panel-header strong {
    font-size: 21px;
  }

  .booking-panel-status {
    display: none;
  }

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

  .booking-field {
    min-height: 70px;
  }

  .booking-search-button {
    min-height: 54px;
  }

  .contacts-section {
    padding: 74px 0 28px;
  }

  .contacts-inner {
    width: calc(100% - 40px);
    margin: 0 auto;
  }

  .contacts-main {
    display: block;

    padding-bottom: 54px;

    text-align: center;
  }

  .contacts-heading {
    display: flex;
    flex-direction: column;
    align-items: center;

    margin-bottom: 54px;

    text-align: center;
  }

  .contacts-heading h2 {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;

    font-size: 44px;
    line-height: 0.98;
  }

  .contacts-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;

    width: 100%;
  }

  .contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    padding-top: 24px;

    text-align: center;
  }

  .contact-label {
    margin-bottom: 18px;
  }

  .contact-item address {
    margin: 0 auto 20px;

    font-size: 18px;
    line-height: 1.4;
  }


  .contact-phone {
    margin: 0 auto 14px;

    font-size: 21px;
  }

  .contact-item p {
    max-width: 290px;
    margin: 0 auto;

    text-align: center;
  }

  .contact-link {
    justify-content: center;
  }


  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;

    text-align: center;
  }

  .footer-nav {
    order: 1;

    justify-self: center;

    gap: 14px 22px;
  }

  .footer-up {
    order: 2;

    justify-self: center;
  }

  .footer-copyright {
    order: 3;

    justify-self: center;

    margin-top: 8px;
  }

  /* CTA бронирования */

  .contacts-booking {
    width: 100%;

    align-items: center;
    flex-direction: column;
    gap: 22px;

    padding: 24px 20px;

    text-align: center;
  }

  .contacts-booking strong {
    display: block;

    max-width: 250px;

    font-size: 21px;
    line-height: 1.15;
  }

  .contacts-booking-button {
    width: 100%;

    justify-content: center;
    gap: 14px;
  }


  .contact-messengers {
    justify-content: center;
  }

  .faq-section {
    padding: 80px 0;
  }

  .faq-inner {
    width: calc(100% - 32px);
    gap: 36px;
  }

  .faq-intro h2 {
    font-size: 40px;
  }

  .faq-question {
    min-height: 78px;
    padding: 0;
    grid-template-columns: 26px 1fr 30px;
    gap: 10px;
  }

  .faq-question-text {
    font-size: 17px;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
  }

  .faq-answer p {
    padding: 0 38px 24px 36px;
    font-size: 12px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   Bnovo overrides
======================================== */

#_bn_widget_ .bnovo__guests.dropdown__list {
  --standart-bg: var(--cream);

  background: var(--cream) !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 14px !important;

  box-shadow:
    0 14px 34px
    color-mix(in srgb, var(--brown) 12%, transparent) !important;
}

#_bn_widget_ .bnovo__calendar {
  --standart-bg: var(--cream);

  background: var(--cream) !important;
  border: 1px solid var(--booking-border) !important;
  border-radius: 14px !important;

  box-shadow:
    0 14px 34px
    color-mix(in srgb, var(--brown) 12%, transparent) !important;
}

/* ========================================
   House detail pages
======================================== */

/* ========================================
       House detail page
    ======================================== */

    .house-detail-page {
      background: var(--page-dark);
      overflow-x: clip;
    }

    .house-detail-page .site-header {
      background: transparent;
    }

    .house-detail-page .site-header.scrolled,
    .house-detail-page .site-header.menu-open {
      background: var(--cream-96);
    }


    /* Hero */

    .house-detail-hero {
      position: relative;

      min-height: 760px;
      height: min(92svh, 900px);

      display: flex;
      align-items: flex-end;

      overflow: hidden;

      background: var(--page-dark);
    }

    .house-detail-hero-media {
      position: absolute;
      inset: 0;
    }

    .house-detail-hero-media img {
      width: 100%;
      height: 100%;

      object-fit: cover;
      object-position: center 55%;
    }

    .house-detail-hero::after {
      content: "";

      position: absolute;
      inset: 0;

      background:
        linear-gradient(
          90deg,
          color-mix(in srgb, var(--hero-overlay) 84%, transparent) 0%,
          color-mix(in srgb, var(--hero-overlay) 52%, transparent) 45%,
          color-mix(in srgb, var(--hero-overlay) 16%, transparent) 78%
        ),
        linear-gradient(
          0deg,
          color-mix(in srgb, var(--hero-overlay-bottom) 82%, transparent) 0%,
          color-mix(in srgb, var(--hero-overlay-bottom) 20%, transparent) 48%,
          transparent 72%
        );

      pointer-events: none;
    }

    .house-detail-hero-inner {
      position: relative;
      z-index: 2;

      width: min(1160px, calc(100% - 80px));
      margin: 0 auto;
      padding: 150px 0 86px;
    }

    .house-back-link {
      display: inline-flex;
      align-items: center;
      gap: 10px;

      margin-bottom: 34px;

      font-size: 11px;

      color: var(--cream-85);

      transition:
        gap 0.2s ease,
        color 0.2s ease;
    }

    .house-back-link:hover {
      gap: 14px;
      color: var(--cream);
    }

    .house-detail-kicker {
      margin: 0 0 14px;

      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.16em;

      color: var(--hero-kicker);
    }

    .house-detail-hero h1 {
      max-width: 760px;
      margin: 0 0 22px;

      font-size: clamp(58px, 8vw, 104px);
    }

    .house-detail-hero-lead {
      max-width: 650px;
      margin: 0;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(21px, 2.2vw, 32px);
      line-height: 1.35;

      color: var(--accent-light);
    }


    /* Quick facts */

    .house-facts {
      position: relative;
      z-index: 3;

      width: min(1160px, calc(100% - 80px));
      margin: -36px auto 0;

      display: grid;
      grid-template-columns: repeat(4, 1fr);

      background: var(--page-dark-soft);
      border: 1px solid var(--border-light);
      border-radius: 20px;

      overflow: hidden;
    }

    .house-fact {
      min-height: 116px;
      padding: 25px 28px;

      display: flex;
      flex-direction: column;
      justify-content: center;

      border-right: 1px solid var(--border-light);
    }

    .house-fact:last-child {
      border-right: 0;
    }

    .house-fact span {
      margin-bottom: 8px;

      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.13em;

      color: var(--gold);
    }

    .house-fact strong {
      font-family: Georgia, "Times New Roman", serif;
      font-size: 20px;
      line-height: 1.25;
      font-weight: 500;

      color: var(--text-light);
    }


    /* Shared detail sections */

    .house-detail-section {
      width: min(1160px, calc(100% - 80px));
      margin: 0 auto;
      padding: 120px 0;
    }

    .house-detail-heading {
      display: grid;
      grid-template-columns: 0.8fr 1.2fr;
      gap: 90px;
      align-items: start;
    }

    .house-detail-heading h2 {
      margin: 12px 0 0;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(40px, 5vw, 66px);
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.025em;

      color: var(--text-light);
    }

    .house-detail-copy {
      padding-top: 30px;
    }

    .house-detail-copy > p {
      max-width: 610px;
      margin: 0;

      font-size: 15px;
      line-height: 1.8;

      color: var(--text-muted);
    }

    .house-detail-copy > p + p {
      margin-top: 18px;
    }


    /* Gallery */

    .house-gallery-section {
      padding-top: 40px;
    }

    .house-gallery {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      grid-auto-rows: 280px;
      gap: 14px;

      margin-top: 54px;
    }
.house-gallery-item {
      position: relative;

      overflow: hidden;

      background: var(--page-dark-soft);
      border-radius: 18px;
    }

    .house-gallery-item--shower {
      grid-row: span 2;
      height: auto;
      min-height: 0;
    }

    .house-gallery-item--shower img {
      width: 100% !important;
      height: 100% !important;

      object-fit: cover !important;
      object-position: 50% 50% !important;
    }
.house-gallery-item img {
      width: 100%;
      height: 100%;

      object-fit: cover;

      transition: transform 0.65s ease;
    }

    .house-gallery-item:hover img {
      transform: scale(1.025);
    }

    .house-gallery-caption {
      position: absolute;
      left: 16px;
      bottom: 16px;

      padding: 8px 11px;

      background: color-mix(in srgb, var(--page-dark) 72%, transparent);
      border: 1px solid var(--border-light);
      border-radius: 9px;

      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;

      color: var(--cream);
    }


    /* Amenities */

    .house-amenities-section {
      background: var(--nearby-bg);
    }

    .house-amenities-inner {
      width: min(1160px, calc(100% - 80px));
      margin: 0 auto;
      padding: 120px 0;
    }

    .house-amenities-header {
      display: grid;
      grid-template-columns: 1fr 0.8fr;
      gap: 80px;
      align-items: end;

      margin-bottom: 48px;
    }

    .house-amenities-header h2 {
      margin: 12px 0 0;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(40px, 5vw, 66px);
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.025em;

      color: var(--text-light);
    }

    .house-amenities-header > p {
      max-width: 440px;
      margin: 0;

      font-size: 14px;
      line-height: 1.75;

      color: var(--text-muted);
    }

    .house-amenities-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .house-amenity {
      min-height: 155px;
      padding: 24px;

      background: var(--nearby-surface);
      border: 1px solid var(--border-light);
      border-radius: 16px;
    }

    .house-amenity-number {
      display: block;

      margin-bottom: 28px;

      font-size: 9px;
      letter-spacing: 0.12em;

      color: var(--gold);
    }

    .house-amenity strong {
      display: block;

      margin-bottom: 8px;

      font-family: Georgia, "Times New Roman", serif;
      font-size: 20px;
      font-weight: 500;

      color: var(--text-light);
    }

    .house-amenity p {
      margin: 0;

      font-size: 11px;
      line-height: 1.6;

      color: var(--text-muted);
    }


    /* Sleeping + pool */

    .house-comfort-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;

      margin-top: 52px;
    }

    .house-comfort-card {
      padding: 36px;

      background: var(--page-dark-soft);
      border: 1px solid var(--border-light);
      border-radius: 20px;
    }

    .house-comfort-card .section-kicker {
      margin-top: 0;
    }

    .house-comfort-card h3 {
      margin: 12px 0 18px;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(28px, 3vw, 40px);
      line-height: 1.05;
      font-weight: 500;

      color: var(--text-light);
    }

    .house-comfort-card p {
      margin: 0;

      font-size: 13px;
      line-height: 1.75;

      color: var(--text-muted);
    }

    .house-comfort-card p + p {
      margin-top: 12px;
    }


    /* Important notes */

    .house-notes {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;

      margin-top: 52px;
    }

    .house-note {
      padding: 24px;

      border-top: 1px solid var(--border-light);
    }

    .house-note span {
      display: block;

      margin-bottom: 10px;

      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.12em;

      color: var(--gold);
    }

    .house-note strong {
      display: block;

      margin-bottom: 9px;

      font-size: 13px;

      color: var(--text-light);
    }

    .house-note p {
      margin: 0;

      font-size: 11px;
      line-height: 1.65;

      color: var(--text-muted);
    }


    /* Booking CTA */

    .house-booking-section {
      padding: 120px 0;

      background: var(--booking-bg);
      color: var(--booking-text);
    }

    .house-booking-inner {
      width: min(1160px, calc(100% - 80px));
      margin: 0 auto;

      display: grid;
      grid-template-columns: 1fr auto;
      gap: 70px;
      align-items: center;
    }

    .house-booking-inner h2 {
      max-width: 720px;
      margin: 12px 0 18px;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(40px, 5vw, 66px);
      line-height: 1;
      font-weight: 500;
      letter-spacing: -0.025em;

      color: var(--booking-text);
    }

    .house-booking-inner p:last-child {
      max-width: 600px;
      margin: 0;

      font-size: 14px;
      line-height: 1.7;

      color: var(--booking-muted);
    }

    .house-booking-action {
      min-width: 230px;
    }

    .house-booking-action .booking-button {
      width: 100%;
      min-height: 54px;
    }


    /* Slim footer */

    .house-detail-footer {
      padding: 54px 0 30px;

      background: var(--contacts-bg);
    }

    .house-detail-footer-inner {
      width: min(1160px, calc(100% - 80px));
      margin: 0 auto;
    }

    .house-detail-footer-top {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 60px;
      align-items: end;

      padding-bottom: 42px;
    }

    .house-detail-footer-title {
      margin: 0;

      font-family: Georgia, "Times New Roman", serif;
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 500;

      color: var(--contacts-text);
    }

    .house-detail-footer-contacts {
      text-align: right;
    }

    .house-detail-footer-phone {
      display: block;

      margin-bottom: 12px;

      font-family: Georgia, "Times New Roman", serif;
      font-size: 20px;

      color: var(--contacts-text);
    }

    .house-detail-footer-messengers {
      display: flex;
      justify-content: flex-end;
      gap: 18px;
    }

    .house-detail-footer-messengers a {
      padding-bottom: 3px;

      border-bottom: 1px solid var(--contacts-border);

      font-size: 10px;

      color: var(--gold);
    }

    .house-detail-footer .site-footer {
      padding-bottom: 0;
    }

    /* ========================================
   Photo lightbox
======================================== */

.house-gallery-item {
  cursor: zoom-in;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px 90px;

  background:
    color-mix(
      in srgb,
      var(--page-dark) 94%,
      transparent
    );

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

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


/* Фото */

.photo-lightbox-content {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.photo-lightbox-image {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: calc(100vh - 120px);

  object-fit: contain;

  border-radius: 12px;

  box-shadow:
    0 24px 80px
    color-mix(
      in srgb,
      var(--hero-overlay) 60%,
      transparent
    );
}


/* Подпись */

.photo-lightbox-caption {
  margin-top: 14px;

  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: var(--cream-70);
}


/* Закрыть */

.photo-lightbox-close {
  position: absolute;
  z-index: 3;

  top: 24px;
  right: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  padding: 0;

  background: var(--cream-05);
  border: 1px solid var(--cream-25);
  border-radius: 50%;

  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;

  color: var(--cream);

  cursor: pointer;
}


/* Стрелки */

.photo-lightbox-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  padding: 0;

  transform: translateY(-50%);

  background: var(--cream-05);
  border: 1px solid var(--cream-25);
  border-radius: 50%;

  font-size: 19px;

  color: var(--cream);

  cursor: pointer;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.photo-lightbox-arrow:hover,
.photo-lightbox-close:hover {
  background: var(--cream-25);
}

.photo-lightbox-arrow--prev {
  left: 28px;
}

.photo-lightbox-arrow--next {
  right: 28px;
}


/* Когда popup открыт — страницу не прокручиваем */

body.lightbox-open {
  overflow: hidden;
}

    /* Tablet gallery */

    @media (max-width: 1200px) and (min-width: 561px) {

      .house-gallery-section {
        width: calc(100% - 80px);
      }

      .house-gallery {
        max-width: 860px;
        margin-left: auto;
        margin-right: auto;

        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 230px;
        gap: 14px;
      }

      .house-gallery-item--shower {
        grid-row: span 2;
      }

    }


    /* Tablet */

    @media (max-width: 1050px) {
      .house-detail-hero-inner,
      .house-facts,
      .house-detail-section,
      .house-amenities-inner,
      .house-booking-inner,
      .house-detail-footer-inner {
        width: calc(100% - 40px);
      }

      .house-detail-hero {
        min-height: 680px;
      }

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

      .house-fact:nth-child(2) {
        border-right: 0;
      }

      .house-fact:nth-child(-n + 2) {
        border-bottom: 1px solid var(--border-light);
      }

      .house-detail-heading,
      .house-amenities-header {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .house-detail-copy {
        padding-top: 0;
      }

      .house-gallery {
        grid-template-columns: 1.2fr 0.8fr;
        grid-template-rows: repeat(2, 230px);
      }

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

      .house-booking-inner {
        grid-template-columns: 1fr auto;
        gap: 40px;
      }

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


    /* Mobile */

    @media (max-width: 560px) {
      .house-detail-hero {
        min-height: 650px;
        height: 86svh;
      }

      .house-detail-hero-media img {
        object-position: 58% center;
      }

      .house-detail-hero-inner {
        width: calc(100% - 32px);
        padding-bottom: 54px;
      }

      .house-back-link {
        margin-bottom: 24px;
      }

      .house-detail-hero h1 {
        font-size: 54px;
      }

      .house-detail-hero-lead {
        font-size: 20px;
      }

      .house-facts {
        width: calc(100% - 32px);
        margin-top: -24px;

        grid-template-columns: 1fr 1fr;

        border-radius: 16px;
      }

      .house-fact {
        min-height: 96px;
        padding: 18px;
      }

      .house-fact strong {
        font-size: 16px;
      }

      .house-detail-section {
        width: calc(100% - 32px);
        padding: 80px 0;
      }

      .house-detail-heading h2,
      .house-amenities-header h2,
      .house-booking-inner h2 {
        font-size: 40px;
      }

      .house-detail-copy > p {
        font-size: 14px;
      }

      .house-gallery-section {
        padding-top: 20px;
      }

      .house-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: 330px 210px 210px;

        margin-top: 34px;
      }

      .house-gallery-item:first-child {
        grid-row: auto;
      }

      .house-amenities-inner {
        width: calc(100% - 32px);
        padding: 80px 0;
      }

      .house-amenities-grid {
        grid-template-columns: 1fr;
      }

      .house-amenity {
        min-height: auto;
      }

      .house-comfort-grid {
        grid-template-columns: 1fr;
      }

      .house-comfort-card {
        padding: 26px 20px;
      }

      .house-notes {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .house-note {
        padding: 20px 0;
      }

      .house-booking-section {
        padding: 80px 0;
      }

      .house-booking-inner {
        width: calc(100% - 32px);

        grid-template-columns: 1fr;
        gap: 30px;
      }

      .house-booking-action {
        min-width: 0;
      }

      .house-detail-footer-inner {
        width: calc(100% - 32px);
      }

      .house-detail-footer-top {
        grid-template-columns: 1fr;
        gap: 28px;

        text-align: center;
      }

      .house-detail-footer-title {
        font-size: 38px;
      }

      .house-detail-footer-contacts {
        text-align: center;
      }

      .house-detail-footer-messengers {
        justify-content: center;
      }

      .photo-lightbox {
  padding: 60px 16px 30px;
}

.photo-lightbox-image {
  max-width: 100%;
  max-height: calc(100svh - 130px);

  border-radius: 8px;
}

.photo-lightbox-close {
  top: 14px;
  right: 14px;

  width: 40px;
  height: 40px;
}

.photo-lightbox-arrow {
  top: auto;
  bottom: 18px;

  width: 42px;
  height: 42px;

  transform: none;
}

.photo-lightbox-arrow--prev {
  left: 16px;
}

.photo-lightbox-arrow--next {
  right: 16px;
}

.photo-lightbox-caption {
  margin-bottom: 40px;
}
    }

/* ========================================
   Restored nearby map layout
======================================== */

.map-actions {
  display: contents;
}

/* На мобильном адрес и кнопка располагаются ПОД картой, а не поверх неё. */
@media (max-width: 560px) {
  .nearby-map {
    display: flex;
    flex-direction: column;
    gap: 12px;

    height: auto;
    min-height: 0;

    overflow: visible;

    background: transparent;
    border: 0;
    border-radius: 0;
  }

  .yandex-map {
    position: relative;
    inset: auto;

    width: 100%;
    height: 430px;
    min-height: 430px;

    overflow: hidden;

    background: var(--nearby-map-bg);
    border: 1px solid var(--border-light);
    border-radius: 22px;
  }

  .map-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
  }

  .map-note {
    position: static;

    width: 100%;
    padding: 16px 18px;

    background: var(--page-dark-soft);
    border: 1px solid var(--border-light);
    border-radius: 14px;
  }

  .map-link {
    position: static;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    border-radius: 12px;

    font-size: 12px;
  }

  /* Домик №2: мобильный кадр главной фотографии чуть правее. */
  .house-detail-hero-media img[src="assets/images/houses/house-2.webp"] {
    object-position: 42% center;
  }
}
