*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --paper: #f0eee8;
  --paper-deep: #e4e0d7;
  --ink: #20211f;
  --ink-soft: #656660;
  --night: #1f2724;
  --night-soft: #2b3430;
  --clay: #a34f39;
  --clay-bright: #c86a4f;
  --line: rgba(32, 33, 31, 0.2);
  --line-light: rgba(240, 238, 232, 0.24);
  --white: #fff;
  --font-display: 'Prata', Georgia, serif;
  --font-body: 'Manrope', Arial, sans-serif;
  --header-height: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--clay-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.wide-container {
  width: min(100% - 64px, 1440px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.71rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: clamp(96px, 11vw, 176px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(48px, 0.45fr) minmax(110px, 0.7fr) 2.8fr;
  align-items: start;
  margin-bottom: clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.section-heading__number {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 600;
}

.section-heading .eyebrow {
  margin-top: 2px;
}

.section-heading__title {
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.section-heading--light {
  color: var(--paper);
  border-color: var(--line-light);
}

.section-heading--light .section-heading__number {
  color: var(--clay-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s, gap 0.35s var(--ease);
}

.text-link--arrow::after {
  content: '↗';
  font-size: 1.1rem;
}

.text-link:hover {
  gap: 34px;
  color: var(--clay-bright);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header */
.header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  color: var(--paper);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.35s, background 0.35s, border-color 0.35s, height 0.35s;
}

.header.scrolled {
  height: 72px;
  color: var(--ink);
  background: rgba(240, 238, 232, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}

.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 13px;
  justify-self: start;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand__place {
  opacity: 0.68;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.header__nav-inner {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
}

.header__link,
.header__phone {
  position: relative;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.header__link::after,
.header__phone::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.header__link:hover::after,
.header__link.active::after,
.header__phone:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__phone {
  justify-self: end;
}

.header__nav-phone {
  display: none;
}

.burger {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: max(720px, 100svh);
  color: var(--paper);
  background: var(--night);
}

.hero__image {
  position: relative;
  min-height: inherit;
  background: linear-gradient(90deg, transparent 65%, rgba(31, 39, 36, 0.3)), url('../images/reception.webp') center / cover no-repeat;
}

.hero__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 20, 18, 0.42), transparent 45%);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: calc(var(--header-height) + clamp(54px, 7vw, 110px)) clamp(32px, 4.5vw, 76px) 60px;
}

.hero__eyebrow {
  color: rgba(240, 238, 232, 0.66);
}

.hero__title {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 8vh, 110px);
  margin-left: clamp(-130px, -8vw, -70px);
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 11vw, 12.5rem);
  font-weight: 400;
  line-height: 0.74;
  letter-spacing: -0.07em;
}

.hero__title span {
  display: block;
}

.hero__title .hero__seo-title {
  margin: 0 0 28px clamp(70px, 8vw, 130px);
  color: var(--clay-bright);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__title span:last-child {
  margin-left: 0.38em;
}

.hero__bottom {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 36px;
  align-items: end;
  margin-top: auto;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
  line-height: 1.35;
}

.hero__booking {
  color: rgba(240, 238, 232, 0.72);
  font-size: 0.72rem;
}

.hero__booking strong {
  color: var(--paper);
  font-weight: 500;
}

.hero__booking .text-link {
  margin-top: 26px;
  color: var(--paper);
}

.hero__index {
  position: absolute;
  top: 46%;
  right: 18px;
  color: rgba(240, 238, 232, 0.22);
  font-family: var(--font-display);
  font-size: 0.75rem;
  writing-mode: vertical-rl;
}

.hero__scroll {
  position: absolute;
  bottom: 35px;
  left: 32px;
  z-index: 2;
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* About */
.about__layout {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: clamp(54px, 9vw, 150px);
  align-items: end;
}

.about__photo {
  margin-left: clamp(0px, 5vw, 80px);
}

.about__photo img {
  aspect-ratio: 1.28;
  object-fit: cover;
}

.about__photo figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__lead {
  margin-bottom: 38px;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 3rem);
  line-height: 1.25;
}

.about__text {
  max-width: 480px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.8;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 10vw, 150px);
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.amenities__item {
  display: flex;
  gap: 22px;
  align-items: center;
  min-height: 130px;
  padding: 24px clamp(14px, 2vw, 30px);
  border-right: 1px solid var(--line);
}

.amenities__item:last-child {
  border-right: 0;
}

.amenities__item svg {
  flex: 0 0 30px;
  width: 30px;
  fill: none;
  stroke: var(--clay);
  stroke-width: 1.2;
}

.amenities__item span {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.amenities__item b {
  color: var(--ink-soft);
  font-size: 0.58rem;
  font-weight: 500;
}

.local-seo {
  display: grid;
  grid-template-columns: 0.8fr 1.6fr 1.3fr;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(80px, 10vw, 150px);
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.local-seo h2 {
  max-width: 620px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 4.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.local-seo > p:not(.eyebrow) {
  max-width: 510px;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.85;
}

.local-seo .text-link {
  grid-column: 3;
  justify-self: start;
}

/* Rooms */
.rooms {
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.rooms::after {
  content: 'ROOMS';
  position: absolute;
  right: -0.04em;
  bottom: -0.22em;
  color: rgba(240, 238, 232, 0.025);
  font-family: var(--font-display);
  font-size: 22vw;
  line-height: 1;
}

.rooms__composition {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.75fr 1.45fr 0.72fr;
  grid-template-rows: auto auto;
  gap: clamp(26px, 4vw, 64px);
  align-items: end;
}

.rooms__info {
  padding-bottom: 18px;
}

.rooms__price {
  display: flex;
  flex-direction: column;
  margin-bottom: 52px;
}

.rooms__price-label {
  margin-bottom: 18px;
  color: rgba(240, 238, 232, 0.58);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rooms__price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1;
  white-space: nowrap;
}

.rooms__price-note {
  margin-top: 8px;
  color: var(--clay-bright);
  font-size: 0.75rem;
}

.rooms__details {
  margin-bottom: 48px;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.rooms__details li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.68rem;
}

.rooms__details span {
  color: rgba(240, 238, 232, 0.52);
}

.rooms__details b {
  font-weight: 500;
}

.rooms__photo {
  overflow: hidden;
}

.rooms__photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.rooms__photo:hover img {
  transform: scale(1.025);
}

.rooms__photo--main {
  height: min(63vw, 790px);
}

.rooms__photo--detail {
  height: min(38vw, 480px);
}

.rooms__note {
  grid-column: 2;
  max-width: 360px;
  color: rgba(240, 238, 232, 0.54);
  font-size: 0.72rem;
  line-height: 1.75;
}

/* Spa */
.spa__stories {
  display: grid;
  grid-template-columns: 1.5fr 0.55fr 0.88fr;
  grid-template-rows: auto auto;
  gap: clamp(32px, 5.5vw, 90px);
  align-items: start;
}

.spa__story {
  position: relative;
}

.spa__story img {
  object-fit: cover;
  filter: saturate(0.86);
  transition: filter 0.5s, transform 0.9s var(--ease);
}

.spa__story:hover img {
  filter: saturate(1);
  transform: scale(1.018);
}

.spa__story div {
  display: flex;
  gap: 18px;
  align-items: baseline;
  margin-top: 17px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.spa__story span {
  color: var(--clay);
  font-size: 0.65rem;
}

.spa__story h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.7rem);
  font-weight: 400;
}

.spa__story--large {
  grid-row: 1 / 3;
}

.spa__story--large img {
  aspect-ratio: 0.86;
}

.spa__story--portrait {
  grid-column: 3;
}

.spa__story--portrait img {
  aspect-ratio: 0.78;
}

.spa__story--wide {
  grid-column: 2 / 4;
  width: 76%;
  margin-left: auto;
}

.spa__story--wide img {
  aspect-ratio: 1.7;
}

.spa__intro {
  align-self: center;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.85;
}

/* Gallery */
.gallery {
  background: var(--paper-deep);
}

.gallery__filters {
  display: flex;
  gap: 8px;
  margin: -58px 0 55px calc(33.333% + 10px);
}

.gallery__filter {
  padding: 9px 15px;
  border: 1px solid transparent;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}

.gallery__filter:hover {
  color: var(--clay);
}

.gallery__filter--active {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 12px;
}

.gallery__item {
  grid-column: span 4;
  overflow: hidden;
  padding: 0;
}

.gallery__item:nth-child(7n + 1),
.gallery__item:nth-child(7n + 6) {
  grid-column: span 7;
}

.gallery__item:nth-child(7n + 2),
.gallery__item:nth-child(7n + 7) {
  grid-column: span 5;
}

.gallery__item:nth-child(7n + 1) img,
.gallery__item:nth-child(7n + 2) img,
.gallery__item:nth-child(7n + 6) img,
.gallery__item:nth-child(7n + 7) img {
  aspect-ratio: 1.45;
}

.gallery__item img {
  aspect-ratio: 0.95;
  object-fit: cover;
  filter: saturate(0.88);
  transition: transform 0.8s var(--ease), filter 0.4s;
}

.gallery__item:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}

.gallery__item.hidden {
  display: none;
}

/* Contacts */
.contacts {
  color: var(--paper);
  background: var(--clay);
}

.contacts .section-heading--light {
  border-color: rgba(240, 238, 232, 0.36);
}

.contacts .section-heading__number {
  color: var(--night);
}

.contacts__grid {
  display: grid;
  grid-template-columns: 0.72fr 1.55fr;
  gap: clamp(50px, 8vw, 130px);
  align-items: end;
}

.contacts__info {
  display: grid;
  gap: 38px;
}

.contacts__item {
  padding-top: 13px;
  border-top: 1px solid rgba(240, 238, 232, 0.36);
}

.contacts__item h3 {
  margin-bottom: 18px;
  color: rgba(240, 238, 232, 0.62);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contacts__item p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 2rem);
  line-height: 1.4;
}

.contacts__item a {
  border-bottom: 1px solid currentColor;
}

.contacts__route {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  gap: 32px;
  padding: 13px 0;
  color: var(--paper);
  border-top: 1px solid rgba(240, 238, 232, 0.36);
  border-bottom: 1px solid rgba(240, 238, 232, 0.36);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s, gap 0.35s var(--ease);
}

.contacts__route:hover {
  gap: 42px;
  color: var(--night);
}

.contacts__map {
  height: min(48vw, 650px);
  overflow: hidden;
  background: var(--night-soft);
  filter: grayscale(1) contrast(0.9);
}

.contacts__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  color: rgba(240, 238, 232, 0.62);
  background: var(--night);
  padding: 54px 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.75fr;
  gap: 30px;
  align-items: end;
}

.footer__logo {
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 3.2rem);
}

.footer__address,
.footer__phone,
.footer__note {
  font-size: 0.68rem;
  line-height: 1.7;
}

.footer__phone {
  color: var(--paper);
}

.footer__note {
  text-align: right;
}

.mobile-call {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  z-index: 300;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  color: var(--paper);
  background: rgba(18, 21, 19, 0.96);
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox__img {
  width: auto;
  max-width: min(86vw, 1400px);
  max-height: 84vh;
  object-fit: contain;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--paper);
  border: 1px solid rgba(240, 238, 232, 0.35);
  font-size: 1.7rem;
  transition: color 0.25s, border-color 0.25s;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--clay-bright);
  border-color: var(--clay-bright);
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

.lightbox__next {
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
}

@media (max-width: 1100px) {
  .header__nav-inner {
    gap: 16px;
  }

  .header__link:nth-child(4) {
    display: none;
  }

  .section-heading {
    grid-template-columns: 0.4fr 0.8fr 2.5fr;
  }

  .hero {
    grid-template-columns: 54% 46%;
  }

  .hero__title {
    margin-left: -80px;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities__item:nth-child(2) {
    border-right: 0;
  }

  .amenities__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .rooms__composition {
    grid-template-columns: 0.75fr 1.4fr;
  }

  .rooms__photo--detail {
    display: none;
  }

  .rooms__note {
    grid-column: 2;
  }
}

@media (max-width: 780px) {
  :root {
    --header-height: 70px;
  }

  .wide-container {
    width: min(100% - 36px, 1440px);
  }

  .section {
    padding: 92px 0;
  }

  .section-heading {
    grid-template-columns: 42px 1fr;
    row-gap: 35px;
    margin-bottom: 58px;
  }

  .section-heading__title {
    grid-column: 1 / -1;
    font-size: clamp(2.75rem, 13vw, 5rem);
  }

  .header,
  .header.scrolled {
    height: var(--header-height);
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .header__phone {
    display: none;
  }

  .burger {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 38px;
    height: 38px;
  }

  .burger span {
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transition: transform 0.3s var(--ease);
  }

  .burger.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .burger.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    z-index: 1;
    inset: 0;
    width: 100vw;
    height: 100svh;
    display: flex;
    visibility: hidden;
    color: var(--paper);
    background: var(--night);
    opacity: 0;
    transition: opacity 0.35s, visibility 0.35s;
  }

  .header__nav.open {
    visibility: visible;
    opacity: 1;
  }

  .header__nav-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 36px);
    margin: auto 18px 80px;
    gap: 0;
  }

  .header__link,
  .header__link:nth-child(4) {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 9vw, 3.2rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .header__link::after {
    display: none;
  }

  .header__nav-phone {
    display: inline-block;
    margin-top: 36px;
    color: var(--clay-bright);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  .header.menu-active {
    color: var(--paper);
    background: transparent;
    border-color: var(--line-light);
  }

  .hero {
    display: block;
    min-height: max(690px, 100svh);
  }

  .hero__image {
    position: absolute;
    inset: 0;
    min-height: 0;
    background-position: 42% center;
  }

  .hero__image::after {
    background: linear-gradient(to top, rgba(21, 27, 24, 0.94) 0%, rgba(21, 27, 24, 0.24) 68%, rgba(21, 27, 24, 0.4));
  }

  .hero__content {
    min-height: max(690px, 100svh);
    padding: calc(var(--header-height) + 50px) 18px 82px;
  }

  .hero__title {
    margin: auto 0 0;
    font-size: clamp(5rem, 26vw, 8rem);
    line-height: 0.78;
  }

  .hero__title .hero__seo-title {
    margin: 0 0 22px;
    font-size: 0.6rem;
  }

  .hero__title span:last-child {
    margin-left: 0.18em;
  }

  .hero__bottom {
    grid-template-columns: 0.75fr 1fr;
    margin-top: 60px;
  }

  .hero__booking .text-link {
    font-size: 0.62rem;
  }

  .hero__scroll,
  .hero__index {
    display: none;
  }

  .about__layout {
    grid-template-columns: 1fr;
  }

  .about__photo {
    margin-left: 0;
  }

  .about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .about__lead {
    margin-bottom: 0;
  }

  .amenities {
    margin-top: 72px;
  }

  .amenities__item {
    min-height: 110px;
  }

  .local-seo {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .local-seo > p:not(.eyebrow) {
    grid-column: 2;
  }

  .local-seo .text-link {
    grid-column: 2;
  }

  .rooms__composition {
    grid-template-columns: 1fr;
  }

  .rooms__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
  }

  .rooms__price,
  .rooms__details {
    margin-bottom: 20px;
  }

  .rooms__info .text-link {
    grid-column: 1;
  }

  .rooms__photo--main {
    grid-row: 1;
    height: min(115vw, 680px);
    margin-bottom: 28px;
  }

  .rooms__note {
    grid-column: 1;
  }

  .spa__stories {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px 22px;
  }

  .spa__story--large {
    grid-row: auto;
  }

  .spa__story--portrait {
    grid-column: 2;
  }

  .spa__story--wide {
    grid-column: 1 / -1;
    width: 80%;
  }

  .spa__intro {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 480px;
  }

  .gallery__filters {
    margin: -30px 0 40px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 5px;
  }

  .gallery__filter {
    flex: 0 0 auto;
  }

  .gallery__item {
    grid-column: span 6;
  }

  .gallery__item:nth-child(n) {
    grid-column: span 6;
  }

  .gallery__item:nth-child(3n + 1) {
    grid-column: span 12;
  }

  .gallery__item:nth-child(n) img {
    aspect-ratio: 1;
  }

  .gallery__item:nth-child(3n + 1) img {
    aspect-ratio: 1.5;
  }

  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .contacts__info {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .contacts__map {
    height: 65vw;
    min-height: 360px;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer__note {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .wide-container {
    width: calc(100% - 32px);
  }

  .section-heading {
    margin-bottom: 48px;
  }

  .hero__eyebrow {
    margin-top: 10px;
  }

  .hero__title {
    margin-top: auto;
  }

  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 48px;
  }

  .hero__tagline {
    display: none;
  }

  .about__content {
    grid-template-columns: 1fr;
  }

  .amenities {
    grid-template-columns: 1fr;
  }

  .amenities__item,
  .amenities__item:nth-child(n) {
    min-height: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .amenities__item:last-child {
    border-bottom: 0;
  }

  .local-seo {
    grid-template-columns: 1fr;
    margin-top: 72px;
  }

  .local-seo h2,
  .local-seo > p:not(.eyebrow),
  .local-seo .text-link {
    grid-column: 1;
  }

  .rooms__info {
    grid-template-columns: 1fr;
  }

  .rooms__info .text-link {
    grid-column: auto;
  }

  .rooms__photo--main {
    height: 125vw;
  }

  .spa__stories {
    display: block;
  }

  .spa__story,
  .spa__story--wide {
    width: 100%;
    margin: 0 0 48px;
  }

  .spa__story img,
  .spa__story--large img,
  .spa__story--portrait img,
  .spa__story--wide img {
    aspect-ratio: 1.05;
  }

  .spa__intro {
    margin-bottom: 48px;
  }

  .gallery__grid {
    gap: 8px;
  }

  .contacts__info {
    grid-template-columns: 1fr;
  }

  .contacts__map {
    width: calc(100% + 32px);
    margin-left: -16px;
    height: 110vw;
  }

  .footer {
    padding-bottom: 108px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer__logo {
    grid-column: 1 / -1;
    margin-bottom: 28px;
  }

  .mobile-call {
    position: fixed;
    z-index: 90;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: space-between;
    padding: 17px 20px;
    color: var(--paper);
    background: var(--clay);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: 0 8px 30px rgba(20, 20, 18, 0.22);
  }

  .lightbox__prev,
  .lightbox__next {
    top: auto;
    bottom: 24px;
    transform: none;
  }

  .lightbox__img {
    max-width: 94vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
