@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&display=swap');

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
    font-display: swap;
    font-weight: 400 800;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-display: swap;
    font-weight: 400 800;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

:root {
    --paper: #e8e6d9;
    --paper-soft: #f3f0e4;
    --ink: #3c3029;
    --ink-deep: #2d251f;
    --tan: #b99263;
    --tan-light: #d8c59c;
    --rust: #a65d3e;
    --cream: #f4eee0;
    --line: rgba(60, 48, 41, 0.22);
    --mono: "Courier New", Courier, monospace;
    --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif
}

* {
    box-sizing: border-box;
    font-family: "Wix Madefor Text", sans-serif !important;
}

html {
    scroll-behavior: smooth;
    background: var(--paper)
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--mono);
    font-size: 15px;
    line-height: 1.45
}

body.nav-open {
    overflow: hidden
}

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

a {
    color: inherit
}

p {
    font: 600 clamp(1.05rem, 1.6vw, 1.35rem)/1.35 var(--mono) !important;
    font-family: "Wix Madefor Text", sans-serif !important;
}

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

::selection {
    background: var(--tan);
    color: var(--ink-deep)
}

.sr-only,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.skip-link:focus {
    position: fixed;
    z-index: 1000;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    clip: auto;
    padding: 0.8rem 1rem;
    background: var(--ink-deep);
    color: var(--cream)
}

.kex-header {
    position: fixed;
    z-index: 60;
    inset: 0 auto auto 0;
    pointer-events: none
}

.circle-menu,
.book-orbit,
.side-logo,
.drawer-nav {
    pointer-events: auto
}

.circle-menu {
    position: fixed;
    z-index: 72;
    top: 28px;
    left: 28px;
    display: grid;
    gap: 7px;
    place-content: center;
    width: 86px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background: var(--tan);
    color: var(--cream);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2)
}

.circle-menu span:not(.sr-only) {
    width: 40px;
    height: 6px;
    border-radius: 999px;
    background: currentColor
}

.book-orbit {
    position: fixed;
    z-index: 72;
    left: 28px;
    bottom: 28px;
    width: 82px;
    aspect-ratio: 1;
    border: 0;
    border-radius: 50%;
    background:#42AAFF;
    color: var(--cream);
    font: 800 18px/0.95 var(--sans);
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22)
}

.side-logo {
    position: fixed;
    z-index: 3;
    left: 50px;
    top: 46%;
    display: grid;
    gap: 3px;
    text-decoration: none;
    transform: translateY(-50%)
}

.side-logo span,
.footer-logo span {
    display: grid;
    width: 34px;
    height: 42px;
    place-items: center;
    background: rgba(60, 48, 41, 0.7);
    color: var(--tan-light);
    font: 900 25px/1 var(--sans)
}

.drawer-nav {
    position: fixed;
    z-index: 68;
    inset: 0 auto 0 0;
    display: grid;
    align-content: center;
    gap: 0.3rem;
    width: min(410px, 86vw);
    padding: 7rem 2.5rem 2.5rem;
    background: #e8e6d9;
    color: var(--tan-light);
    transform: translateX(-102%);
    transition: transform 0.35s ease
}

.drawer-nav.is-open {
    transform: translateX(0)
}

.drawer-nav a {
    text-transform: uppercase;
    text-decoration: none;
    font: 900 clamp(1.2rem, 4vw, 2.1rem)/1 var(--sans);
    color: rgba(45, 37, 31, 0.97);
}

.drawer-nav a:hover {
    color: rgba(21, 17, 15, 0.97)
}

.split-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  padding: 48px 32px;
  min-height: auto;
  background: #3d2b1f; /* насыщенный коричневый фон */
}

/* Карточки */
.split-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--cream);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.split-panel:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.split-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.04);
  transform: scale(1.02);
  transition: transform 0.7s ease, filter 0.7s ease;
}

.split-panel:hover img {
  transform: scale(1.08);
  filter: saturate(1) contrast(1.1);
}

.panel-shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(45, 37, 31, 0.15), rgba(45, 37, 31, 0.72));
  transition: background 0.4s ease;
}

.split-panel:hover .panel-shade {
  background: radial-gradient(circle at center, rgba(45, 37, 31, 0.08), rgba(45, 37, 31, 0.58));
}

.split-panel--hostel .panel-shade {
  background: linear-gradient(160deg, rgba(45, 37, 31, 0.7), rgba(45, 37, 31, 0.35));
}

.split-panel--hotel .panel-shade {
  background: linear-gradient(200deg, rgba(45, 37, 31, 0.3), rgba(45, 37, 31, 0.65));
}

.split-panel--coworking .panel-shade {
  background: linear-gradient(180deg, rgba(45, 37, 31, 0.45), rgba(45, 37, 31, 0.7));
}

.split-panel__copy {
  position: relative;
  width: min(90%, 320px);
  text-align: center;
  z-index: 2;
  padding: 0 12px;
}

.split-panel h1,
.split-panel h2 {
  margin: 0;
  color: var(--cream);
  font: 900 clamp(2.4rem, 3.5vw, 3.6rem)/0.9 var(--sans);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.split-panel p {
  max-width: 280px;
  margin: 1.2rem auto 0;
  font: 600 clamp(0.95rem, 1.4vw, 1.15rem)/1.35 var(--mono);
  color: var(--cream);
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Адаптив */
@media (max-width: 1024px) {
  .split-hero {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 36px 24px;
  }
  
  .split-panel {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .split-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px;
  }
  
  .split-panel {
    min-height: 340px;
  }
  
  .split-panel h1,
  .split-panel h2 {
    font-size: clamp(2.1rem, 8vw, 2.8rem);
  }
}

.welcome {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(260px, 0.72fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 7vw, 8rem) 0;
  background: var(--paper);
}

.kicker {
  margin: 0 0 1rem;
  color: var(--rust);
  font: 900 0.86rem/1 var(--mono);
  text-transform: uppercase;
}

.welcome h2,
.more-bed h2,
.food-block h2,
.activities h2,
.booking-copy h2,
.kex-footer h2 {
  margin: 0;
  font: 900 clamp(2.1rem, 4.2vw, 4.2rem)/0.86 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0;
}

.welcome__copy p {
  max-width: 570px;
  margin: 2rem 0 0;
  font-weight: 800;
}

/* Галерея-карточки */
.kex-gallery {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: clamp(3rem, 5vw, 5rem);
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.gallery-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(45, 37, 31, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(45, 37, 31, 0.2);
}

.gallery-card__img {
  overflow: hidden;
}

.gallery-card__img img {
  width: 100%;
  height: clamp(220px, 24vw, 380px);
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.08);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-card:hover .gallery-card__img img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.12);
}

/* Блок с иконкой под картинкой */
.gallery-card__info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.1rem 1rem;
  background: #765a48;
  color: #f5e6d3;
  min-height: 64px;
}

.gallery-card__info svg {
  width: 1.55rem;
  height: 1.55rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-card__info span {
  font: 800 0.92rem/1.2 var(--mono);
  letter-spacing: 0.01em;
}

/* Адаптив */
@media (max-width: 1100px) {
  .kex-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .kex-gallery {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .gallery-card__img img {
    height: 280px;
  }
}

.more-bed {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--ink);
  color: var(--tan-light);
}

/* текст */
.more-bed__copy {
  max-width: 440px;
}

.pointing-hand {
  width: 180px;          /* чуть компактнее */
  margin-bottom: 1.6rem;
  fill: none;
  stroke: var(--tan);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.more-bed__copy p {
  font-weight: 800;
  max-width: 420px;
  margin-bottom: 1.4rem;
}

/* картинки — обычная сетка */
.more-bed__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.more-bed__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  filter: saturate(0.85) contrast(1.04);
}

/* верхняя картинка чуть выше */
.more-bed__image--top {
  aspect-ratio: 4 / 5;
  border-radius: 20px 6px 20px 6px;
}

/* нижняя — шире */
.more-bed__image--bottom {
  aspect-ratio: 5 / 4;
  border-radius: 6px 20px 6px 20px;
  margin-top: 2.5rem;   /* лёгкий сдвиг, чтобы не было скучно */
}

/* мобилка */
@media (max-width: 860px) {
  .more-bed {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 1.25rem;
  }

  .more-bed__images {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .more-bed__image--bottom {
    margin-top: 1.5rem;
  }
}

@media (max-width: 520px) {
  .more-bed__images {
    grid-template-columns: 1fr;
  }

  .more-bed__image--bottom {
    margin-top: 0;
  }
}

.food-block {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
  background: #3d2b1f;
  color: var(--tan-light);
}

.food-block__copy {
  max-width: 420px;
}

.food-block__copy p {
  margin-bottom: 1.4rem;
}

.food-block__image img {
  width: 100%;
  max-height: 480px;          /* было 620px */
  object-fit: cover;
  border-radius: 0 22px 22px 0;
}

/* мобилка */
@media (max-width: 800px) {
  .food-block {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1.25rem;
  }

  .food-block__image img {
    max-height: 380px;
    border-radius: 18px;
  }
}

.activities {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--paper);
}

.activities__heading {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.activities__heading h2 {
  font: 900 clamp(2.1rem, 4.2vw, 3.8rem)/0.9 var(--sans);
  margin-bottom: 1rem;
}

.activities__heading p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.45;
  max-width: 560px;
}

.activity-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.activity-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  color: var(--rust);
}

.activity-card img {
  width: 100%;
  height: 220px;          /* было 300px — компактнее */
  object-fit: cover;
  display: block;
}

.activity-card__text {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.activity-card__title {
  font: 900 0.95rem/1.2 var(--mono);
}

.activity-card__desc {
  font-size: 1rem !important;
  line-height: 1.4;
  color: #555;
  margin: 0;
  font-weight: 500;
}

.activities__button {
  margin-top: 2.5rem;
}

/* планшет */
@media (max-width: 1000px) {
  .activity-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* мобилка */
@media (max-width: 560px) {
  .activity-row {
    grid-template-columns: 1fr;
  }

  .activity-card img {
    height: 200px;
  }
}

.booking-copy {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--paper-soft);
}

.booking-copy__text {
  max-width: 460px;
}

.booking-copy h2 {
  color: var(--rust);
  font: 900 clamp(2rem, 4vw, 3.4rem)/0.9 var(--sans);
  margin-bottom: 1rem;
}

.booking-copy p {
  margin-bottom: 1.6rem;
  max-width: 420px;
  line-height: 1.5;
}

/* кнопка — компактнее */
.booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.7rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: 900 0.9rem/1 var(--mono);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.booking-btn:hover {
  transform: translateY(-2px);
  background: var(--rust);
}

/* фото */
.booking-copy__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 480px;
}

.booking-copy__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.9) contrast(1.03);
}

/* мобилка */
@media (max-width: 800px) {
  .booking-copy {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3.5rem 1.25rem;
  }

  .booking-copy__image {
    aspect-ratio: 16 / 10;
    max-height: 320px;
    order: -1; /* фото сверху на мобилках */
  }
}

.kex-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: 3rem clamp(1.25rem, 4vw, 4rem) 5rem clamp(1.25rem, 4vw, 4rem);
  background: var(--ink-deep);
  color: var(--tan-light);
}

/* левая часть */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-logo {
  display: flex;
  gap: 4px;
  text-decoration: none;
  margin-bottom: 0.3rem;
  width: 200px;
}

.footer-logo span {
  background: var(--cream);
  color: var(--ink-deep);
  font: 900 0.85rem/1.4 var(--mono);
  padding: 0.15rem 0.35rem;
}

.footer-left p {
  margin: 0;
  font: 500 0.8rem/1.4 var(--mono);
  color: var(--tan-light);
  opacity: 0.85;
}

/* меню */
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
}

.footer-menu a {
  color: var(--tan-light);
  text-decoration: none;
  text-transform: uppercase;
  font: 700 0.75rem/1 var(--sans);
  letter-spacing: 0.03em;
  opacity: 0.9;
  transition: color 0.2s, opacity 0.2s;
}

.footer-menu a:hover {
  color: var(--cream);
  opacity: 1;
}

/* соцсети */
.footer-socials {
  display: flex;
  gap: 0.5rem;
}

.footer-socials a {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--tan);
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.footer-socials a:hover {
  background: var(--rust);
}

/* мобилка */
@media (max-width: 700px) {
  .kex-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem 1.25rem;
  }

  .footer-menu {
    gap: 0.5rem 1.1rem;
  }
}

.booking-modal {
    width: min(820px, calc(100vw - 2rem));
    border: 0;
    padding: 0;
    background: transparent
}

.booking-modal::backdrop {
    background: rgba(45, 37, 31, 0.74)
}

.booking-form {
    position: relative;
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    background: var(--paper-soft);
    color: var(--ink);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.28)
}

.booking-form h2 {
    margin: 0;
    font: 900 clamp(2.8rem, 7vw, 5rem)/0.85 var(--sans);
    text-transform: uppercase
}

.booking-form label {
    display: grid;
    gap: 0.35rem;
    font-weight: 900
}

.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    border: 2px solid var(--line);
    background: var(--cream);
    padding: 0.85rem;
    color: var(--ink)
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem
}

.form-status {
    min-height: 1.3rem;
    margin: 0;
    font-weight: 900;
    color: var(--rust)
}

.modal-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: grid;
    width: 2.6rem;
    aspect-ratio: 1;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: var(--cream);
    font-weight: 900
}

.reveal {
    opacity: 1;
    transform: none
}

.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease
}

.js .reveal.is-visible {
    opacity: 1;
    transform: translateY(0)
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important
    }

    .js .reveal {
        opacity: 1;
        transform: none
    }
}

.site-header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem clamp(1rem, 4vw, 3rem);
    background: var(--paper);
    border-bottom: 1px solid var(--line)
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ink);
    text-decoration: none;
    font: 900 1rem/1 var(--sans);
    text-transform: uppercase
}

.brand__mark {
    display: grid;
    width: 3rem;
    aspect-ratio: 1;
    place-items: center;
    background: var(--ink);
    color: var(--cream);
    font-size: 2rem
}

.site-nav,
.site-nav--inline {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    font-weight: 900
}

.site-nav a {
    text-decoration: none
}

.book-button,
.primary-action,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    border: 0;
    padding: 0.8rem 1rem;
    background: var(--ink);
    color: var(--cream);
    text-decoration: none;
    font-weight: 900
}

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

/* Hero */
.page-hero {
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
}

.page-hero .eyebrow {
  font: 700 0.8rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-bottom: 0.8rem;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0 0 1.2rem;
  font: 900 clamp(2.2rem, 4.5vw, 4.2rem)/0.9 var(--sans);
  text-transform: uppercase;
}

.page-hero p {
  max-width: 560px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* Комнаты */
.room-table {
  padding: 0 clamp(1.25rem, 5vw, 5rem) clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.detail-room {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.detail-room:nth-child(even) {
  direction: rtl; /* картинка справа */
}

.detail-room:nth-child(even) > * {
  direction: ltr;
}

.detail-room img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.detail-room__content h2 {
  font: 900 clamp(1.6rem, 3vw, 2.4rem)/1 var(--sans);
  text-transform: uppercase;
  margin: 0 0 0.8rem;
}

.detail-room__content p {
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 1rem;
  max-width: 420px;
}

.room-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}

.room-features li {
  font-size: 0.88rem;
  font-weight: 600;
  position: relative;
  padding-left: 1rem;
}

.room-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--rust);
}

.room-price {
  display: inline-block;
  font: 900 1rem/1 var(--mono);
  color: var(--rust);
}

/* Удобства хостела */
.hostel-perks {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 5rem);
  background: var(--paper-soft);
}

.hostel-perks__inner {
  max-width: 960px;
}

.hostel-perks h2 {
  font: 900 clamp(1.5rem, 3vw, 2.2rem)/1.1 var(--sans);
  margin: 0 0 1.8rem;
  text-transform: uppercase;
}

.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.perk strong {
  display: block;
  font: 800 1rem/1.2 var(--sans);
  margin-bottom: 0.4rem;
}

.perk p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  opacity: 0.85;
}

/* Адаптив */
@media (max-width: 900px) {
  .detail-room,
  .detail-room:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .perks-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .room-features {
    grid-template-columns: 1fr;
  }

  .perks-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.map-card {
    margin-top: 2rem;
    min-height: 430px;
    background: var(--ink)
}

.map-card svg {
    width: 100%;
    height: 430px
}

.map-card path {
    fill: none;
    stroke: var(--tan);
    stroke-width: 18;
    stroke-linecap: round
}

.map-card circle {
    fill: var(--rust)
}

.map-card text {
    fill: var(--cream);
    font: 900 34px var(--sans)
}

@media (max-width:980px) {

    .split-hero,
    .welcome,
    .more-bed,
    .food-block,
    .booking-copy,
    .kex-footer,
    .detail-room {
        grid-template-columns: 1fr
    }

    .split-hero {
        min-height: auto
    }

    .split-panel {
        min-height: 62svh
    }

    .side-logo {
        left: 24px;
        top: 48%
    }

    .side-logo span {
        width: 34px;
        height: 40px;
        font-size: 24px
    }

    .kex-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .icon-strip {
        grid-template-columns: repeat(2, 1fr);
        padding-inline: 1rem
    }

    .more-bed {
        min-height: auto;
        padding-bottom: 5rem
    }

    .more-bed__copy {
        padding-top: 0
    }

    .more-bed__image {
        position: static;
        width: 100%;
        height: 380px;
        margin-top: 2rem;
        border-radius: 22px
    }

    .activity-row {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 6rem
    }

    .footer-menu {
        justify-items: start
    }
}

@media (max-width:640px) {
    body {
        font-size: 14px
    }
    .booking-form h2 {
    margin: 0;
    font: 900 clamp(1.8rem, 7vw, 5rem)/0.85 var(--sans);
    text-transform: uppercase
}
.page-hero h1,
.contact-copy h1 {
    max-width: 900px;
    margin: 0;
    font: 900 clamp(2rem, 5vw, 7rem)/0.85 var(--sans);
    text-transform: uppercase
}

    .circle-menu {
        top: 16px;
        left: 16px;
        width: 66px;
        gap: 5px
    }

    .circle-menu span:not(.sr-only) {
        width: 30px;
        height: 5px
    }

    .book-orbit {
        left: 16px;
        bottom: 16px;
        width: 68px;
        font-size: 15px
    }

    .book-orbit {
        inset: 16px 16px auto auto
    }

    .side-logo {
        display: none
    }

    .split-panel__copy {
        width: 88%;
        transform: none
    }

    .split-panel h1,
    .split-panel h2 {
    }

    .split-panel p {
        font-size: 1rem
    }

    .welcome {
        padding-top: 4rem
    }

    .welcome h2,
    .more-bed h2,
    .food-block h2,
    .activities h2,
    .booking-copy h2,
    .kex-footer h2 {
        font-size: clamp(1.7rem, 7vw, 4rem);
    }

    .kex-gallery {
        grid-template-columns: 1fr
    }

    .kex-gallery img {
        height: 280px
    }

    .icon-strip {
        grid-template-columns: 1fr
    }

    .icon-strip div {
        justify-content: start
    }

    .activities {
        min-height: 760px
    }

    .activity-row,
    .form-row {
        grid-template-columns: 1fr
    }

    .site-header {
        grid-template-columns: auto
    }

    .site-nav,
    .site-nav--inline {
        flex-wrap: wrap;
        justify-content: start
    }
}






/* Базовое позиционирование полосок внутри кнопки */
.circle-menu span:nth-child(2),
.circle-menu span:nth-child(3),
.circle-menu span:nth-child(4) {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30px; /* Ширина полоски (настройте под себя) */
  height: 3px; /* Толщина полоски (настройте под себя) */
  background-color: #fff; /* Цвет (настройте под себя) */
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Располагаем полоски друг под другом по умолчанию (бургер) */
.circle-menu span:nth-child(2) {
  transform: translate(-50%, -8px); /* Верхняя */
}
.circle-menu span:nth-child(3) {
  transform: translate(-50%, 0);    /* Центральная */
}
.circle-menu span:nth-child(4) {
  transform: translate(-50%, 8px);  /* Нижняя */
}

/* =========================================
   АНИМАЦИЯ В КРЕСТИК (когда меню открыто) 
   ========================================= */

/* Верхняя полоска наклоняется на 45 градусов вниз */
.circle-menu[aria-expanded="true"] span:nth-child(2) {
  transform: translate(-50%, 0) rotate(45deg);
}

/* Центральная полоска исчезает */
.circle-menu[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
  transform: translate(-50%, 0) scale(0.2);
}

/* Нижняя полоска наклоняется на 45 градусов вверх */
.circle-menu[aria-expanded="true"] span:nth-child(4) {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* Опционально: если логотип внутри кнопки должен исчезать при открытии */
.circle-menu .logo {
  transition: opacity 0.3s ease;
}


.ff {
    background-color: #42AAFF !important;
}