/* ==========================================================================
   Плюш — бутик-отель
   ========================================================================== */

:root {
  --bg: #f7f1e7;
  --bg-alt: #efe5d5;
  --paper: #fffdf9;
  --ink: #2b1d1a;
  --muted: #6e5d55;
  --wine: #4a1a1f;
  --wine-dark: #2a1013;
  --gold: #a9834a;
  --gold-light: #d9bd8a;
  --line: rgba(43, 29, 26, 0.14);
  --line-light: rgba(217, 189, 138, 0.28);

  --font-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sprite {
  position: absolute;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* Типографика ------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.section {
  padding-block: var(--section);
}

.section__head {
  max-width: 44rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
}

.section__head .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: currentColor;
}

.section__lead {
  margin-top: 1.25rem;
  color: var(--muted);
}

.section__head--light {
  color: #f6ecdc;
}

/* Кнопки ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 2px;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0.5rem 1.4rem;
  font-size: 0.72rem;
}

.btn--ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost:hover {
  color: var(--wine-dark);
  background: #fff;
  border-color: #fff;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wine);
  border-bottom: 1px solid currentColor;
}

.link-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* Шапка ------------------------------------------------------------------- */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background-color 0.35s, box-shadow 0.35s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.35s var(--ease);
}

.header.is-scrolled {
  background: var(--wine-dark);
  box-shadow: 0 8px 30px rgba(20, 8, 9, 0.25);
}

.header.is-scrolled .header__inner {
  height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo__mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--gold-light);
  stroke: none;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.logo__sub {
  margin-top: 0.3rem;
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.25rem);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding-block: 0.5rem;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav__phone {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header__phone {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header .btn {
  color: var(--wine-dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.header .btn:hover {
  background: #fff;
  border-color: #fff;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
}

.nav-toggle span {
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.nav-toggle span:first-child {
  top: 1.05rem;
}

.nav-toggle span:last-child {
  top: 1.6rem;
}

.nav-open .nav-toggle span:first-child {
  top: 1.33rem;
  transform: rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  top: 1.33rem;
  transform: rotate(-45deg);
}

/* Первый экран ------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  align-items: center;
  /* Высота чуть меньше экрана, чтобы форма бронирования помещалась на первом экране */
  min-height: min(calc(100svh - 5rem), 860px);
  padding-block: calc(var(--header-h) + 3rem) 8.5rem;
  color: #fff;
  background: var(--wine-dark);
  overflow: hidden;
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.4s ease, transform 8s linear;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46rem 24rem at 50% 50%, rgba(26, 9, 11, 0.5), transparent 72%),
    linear-gradient(180deg, rgba(26, 9, 11, 0.74) 0%, rgba(26, 9, 11, 0.4) 34%, rgba(26, 9, 11, 0.5) 68%, rgba(26, 9, 11, 0.86) 100%);
}

.hero__content {
  position: relative;
  text-align: center;
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 400;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: clamp(1.5rem, 5vw, 3.5rem);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero__logo {
  display: block;
  width: min(92vw, 52rem);
  height: auto;
  margin-top: 0.35rem;
  filter: drop-shadow(0 18px 36px rgba(20, 8, 9, 0.45));
}

.hero__lead {
  max-width: 34rem;
  margin: 1.5rem auto 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.7rem);
  font-style: italic;
  line-height: 1.4;
  color: #f4e9d8;
  text-wrap: balance;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero .btn:not(.btn--ghost) {
  color: var(--wine-dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.hero .btn:not(.btn--ghost):hover {
  background: #fff;
  border-color: #fff;
}

.hero__dots {
  position: absolute;
  inset: auto 0 5.75rem;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.hero__dot {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 1.5rem;
}

.hero__dot::before {
  content: "";
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: background-color 0.3s, height 0.3s;
}

.hero__dot[aria-current="true"]::before {
  height: 2px;
  background: var(--gold-light);
}

/* Быстрое бронирование ---------------------------------------------------- */

.quick {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 1.25rem;
  margin-top: -3.75rem;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper);
  border-top: 2px solid var(--gold);
  box-shadow: 0 24px 60px rgba(42, 16, 19, 0.16);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.field__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  resize: vertical;
  line-height: 1.5;
}

.field select {
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5d55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(43, 29, 26, 0.32);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169, 131, 74, 0.18);
}

/* Об отеле ---------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.about__text p:not(.eyebrow) {
  margin-top: 1.25rem;
  color: var(--muted);
}

.about__text .title + p {
  margin-top: 1.75rem;
}

.about__media {
  position: relative;
  padding: 0 0 4.5rem 4.5rem;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: -1.25rem -1.25rem 5.75rem 5.75rem;
  border: 1px solid var(--gold);
  opacity: 0.55;
}

.about__img {
  position: relative;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(42, 16, 19, 0.18);
}

.about__img--main {
  width: 100%;
  aspect-ratio: 5 / 4;
}

.about__img--side {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38%;
  aspect-ratio: 3 / 4;
  border: 8px solid var(--bg);
}

/* Номера ------------------------------------------------------------------ */

.rooms {
  background: var(--bg-alt);
}

.room {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.room + .room {
  margin-top: clamp(4rem, 9vw, 7rem);
}

.room:nth-of-type(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.room:nth-of-type(even) .room__gallery {
  order: 2;
}

.room__main {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9cdb9;
  cursor: zoom-in;
}

.room__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s, transform 0.9s var(--ease);
}

.room__main:hover img {
  transform: scale(1.03);
}

.room__main img.is-swapping {
  opacity: 0;
}

.room__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.room__thumbs button {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  opacity: 0.6;
  transition: opacity 0.25s;
}

.room__thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.25s;
}

.room__thumbs button:hover,
.room__thumbs button.is-active {
  opacity: 1;
}

.room__thumbs button.is-active::after {
  border-color: var(--gold);
}

.room__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room__num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
}

.room__num::after {
  content: "";
  display: inline-block;
  width: 3rem;
  height: 1px;
  margin-left: 0.9rem;
  vertical-align: middle;
  background: currentColor;
}

.room__title {
  margin: 0.4rem 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
}

.room__body > p:not(.room__num) {
  color: var(--muted);
}

.room__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.room__features li {
  position: relative;
  padding-left: 1.25rem;
}

.room__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.room__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.room__price {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
}

/* Удобства ---------------------------------------------------------------- */

.amenities {
  color: #f6ecdc;
  background:
    radial-gradient(90rem 40rem at 50% -10%, rgba(169, 131, 74, 0.2), transparent 60%),
    var(--wine-dark);
}

.amenities .eyebrow {
  color: var(--gold-light);
}

.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.amenity {
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.1rem, 2.4vw, 2rem);
  text-align: center;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.amenity svg {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0 auto 1.1rem;
  color: var(--gold-light);
  stroke-width: 1.2;
}

.amenity h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.amenity p {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(246, 236, 220, 0.72);
  text-wrap: balance;
}

.amenities__note {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  text-align: center;
  color: rgba(246, 236, 220, 0.72);
}

/* Галерея ----------------------------------------------------------------- */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #d9cdb9;
  cursor: zoom-in;
}

.gallery__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(42, 16, 19, 0.28);
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item:hover::after {
  opacity: 1;
}

/* Бронирование и контакты -------------------------------------------------- */

.booking {
  background: var(--bg-alt);
}

.booking__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.booking__lead {
  margin-top: 1.1rem;
  color: var(--muted);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}

.field--wide {
  grid-column: 1 / -1;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.3rem 0 0;
  accent-color: var(--wine);
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.form__status {
  flex: 1 1 14rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--wine);
}

.contacts {
  color: #f6ecdc;
  background: var(--wine-dark);
}

.contacts__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contacts__body {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.contacts__title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.1;
}

.contacts__list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.contacts__list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contacts__list svg {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.25rem;
  color: var(--gold-light);
}

.contacts__list a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s;
}

.contacts__list a:hover {
  border-color: var(--gold-light);
}

/* Подвал ------------------------------------------------------------------ */

.footer {
  padding-block: 3rem;
  color: #f6ecdc;
  background: #1d0b0d;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__nav a {
  transition: color 0.25s;
}

.footer__nav a:hover {
  color: var(--gold-light);
}

.footer__copy {
  font-size: 0.85rem;
  color: rgba(246, 236, 220, 0.6);
}

/* Просмотр фото ----------------------------------------------------------- */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  color: #fff;
  background: rgba(20, 8, 9, 0.95);
  border: 0;
  overflow: hidden;
}

.lightbox[open] {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 4.5rem;
  align-items: center;
}

.lightbox::backdrop {
  background: rgba(20, 8, 9, 0.6);
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  margin: 0;
  padding-block: 4.5rem 2rem;
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: calc(100dvh - 10rem);
  width: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.25rem;
  font-size: 0.95rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
}

.lightbox__counter {
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.lightbox__btn {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin: auto;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.lightbox__btn:hover {
  color: var(--wine-dark);
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.lightbox__btn svg {
  width: 1.3rem;
  height: 1.3rem;
}

.lightbox__prev svg {
  transform: rotate(180deg);
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}

/* Появление при прокрутке -------------------------------------------------- */

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

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Адаптив ----------------------------------------------------------------- */

@media (max-width: 1180px) {
  .header__phone {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    padding: 6rem var(--gutter) 3rem;
    font-size: 1rem;
    letter-spacing: 0.22em;
    background: var(--wine-dark);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }

  .nav-open {
    overflow: hidden;
  }

  .nav__phone {
    display: block;
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.04em;
    color: var(--gold-light);
  }

  .header__actions {
    gap: 0.5rem;
  }

  .about__grid,
  .room,
  .room:nth-of-type(even),
  .booking__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .room:nth-of-type(even) .room__gallery {
    order: 0;
  }

  .about__media {
    max-width: 38rem;
    margin-right: 1.25rem;
  }

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

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

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

  .quick__btn {
    width: 100%;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .header .btn--small {
    display: none;
  }

  .logo__name {
    font-size: 1.5rem;
  }

  .hero {
    min-height: min(100svh, 760px);
    padding-bottom: 7.5rem;
  }

  .hero__cta .btn {
    flex: 1 1 100%;
  }

  .hero__dots {
    bottom: 4.75rem;
  }

  .quick {
    grid-template-columns: minmax(0, 1fr);
    margin-top: -3rem;
    gap: 1rem;
  }

  .about__media {
    margin-right: 0.75rem;
    padding: 0 0 3rem 2.5rem;
  }

  .about__media::before {
    inset: -0.75rem -0.75rem 3.75rem 3.25rem;
  }

  .about__img--side {
    width: 40%;
    border-width: 6px;
  }

  .room__thumbs {
    gap: 0.4rem;
    margin-top: 0.4rem;
  }

  .room__features {
    grid-template-columns: minmax(0, 1fr);
  }

  .room__footer .btn {
    width: 100%;
  }

  .amenity h3 {
    font-size: 1.3rem;
  }

  .amenity p {
    font-size: 0.9rem;
  }

  .gallery__grid {
    gap: 0.4rem;
  }

  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__footer .btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__nav {
    justify-content: center;
  }

  .lightbox[open] {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .lightbox__figure {
    grid-column: 1 / -1;
    padding: 4.5rem 0.75rem 0.5rem;
  }

  .lightbox__prev,
  .lightbox__next {
    grid-row: 2;
    margin: 0.5rem auto 1.5rem;
  }

  .lightbox__prev {
    position: absolute;
    left: calc(50% - 3.5rem);
    bottom: 0;
  }

  .lightbox__next {
    position: absolute;
    left: calc(50% + 0.5rem);
    bottom: 0;
  }

  .lightbox__img {
    max-height: calc(100dvh - 13rem);
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero__slide {
    transform: none;
  }

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