:root {
  --blue: #11355a;
  --blue-dark: #0c2742;
  --gold: #a07432;
  --gold-light: #c9a15a;
  --text: #1d2531;
  --muted: #5d6675;
  --line: #dfe4ea;
  --grey: #f3f5f8;
  --radius: 4px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--blue);
  margin: 0 0 16px;
}

h1 { font-size: 46px; }
h2 { font-size: 34px; }
h3 { font-size: 22px; }

p { margin: 0 0 16px; }
a { color: var(--blue); }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 10px;
}
.eyebrow--light { color: var(--gold-light); }

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s;
}
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: #8d6529; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--line); }
.btn--outline:hover { border-color: var(--blue); background: #f7f9fb; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: #fff; color: var(--blue); }
.btn--lg { padding: 16px 34px; font-size: 18px; }
.btn--block { width: 100%; }

/* --- Шапка --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header__top {
  background: var(--blue);
  color: #c9d6e4;
  font-size: 14px;
}
.header__top-in {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.header__main {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.logo__bird {
  width: 46px;
  height: 46px;
  fill: var(--gold);
  transition: transform .4s cubic-bezier(.2, .8, .3, 1.2);
}
.logo:hover .logo__bird { transform: translate(2px, -3px) rotate(-6deg); }
.logo__name {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1;
  color: var(--blue);
}
.logo__sub {
  font-size: 12px;
  line-height: 1.25;
  color: var(--muted);
  padding-top: 2px;
}
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: #9fb2c6; }
.logo--light .logo__bird { fill: var(--gold-light); }

.nav {
  display: flex;
  gap: 20px;
  margin-right: auto;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--blue); border-bottom-color: var(--gold); }

.header__call { display: flex; align-items: center; gap: 18px; }
.header__phone {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.burger { display: none; }

/* --- Hero --- */
.hero { position: relative; color: #fff; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,24,42,.9) 0%, rgba(8,24,42,.72) 55%, rgba(8,24,42,.45) 100%);
}
.hero__in {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  max-width: 820px;
  margin-left: max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
}
.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__lead { font-size: 20px; max-width: 620px; color: #e3eaf1; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero__note { font-size: 16px; color: #c3d1de; margin: 0; }
.hero__note a { color: #fff; font-weight: 700; }

/* --- Карточка бронирования (виджет BookingLite) --- */
.booking-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 16px 18px;
  margin-bottom: 52px;
  box-shadow: 0 18px 40px rgba(4, 14, 26, .25);
  scroll-margin-top: 104px;
}
.booking-card__widget { min-height: 104px; }
.booking-card__widget iframe { display: block; width: 100%; border: 0; }
.booking-card__note { margin: 6px 0 0; text-align: center; color: var(--muted); font-size: 15px; }
.booking-card__note a { font-weight: 700; white-space: nowrap; }
.booking-card.is-flash { animation: cardFlash 1.4s ease; }
@keyframes cardFlash {
  0%, 100% { box-shadow: 0 18px 40px rgba(4, 14, 26, .25); }
  30% { box-shadow: 0 0 0 4px var(--gold-light), 0 18px 40px rgba(4, 14, 26, .25); }
}

/* --- Полоса преимуществ --- */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 0;
  max-width: var(--wrap);
}
.fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 26px 22px;
  background: #fff;
}
.fact svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fact strong { display: block; font-size: 16px; color: var(--blue); }
.fact span { font-size: 14px; color: var(--muted); }

/* --- Секции --- */
.section { padding: 80px 0; scroll-margin-top: 104px; }
.section--grey { background: var(--grey); }
.section--dark { background: var(--blue); color: #dbe5ee; }
.section--dark h2 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: 42px; }
.section__lead { font-size: 18px; color: var(--muted); margin: 0; }
.section--dark .section__lead { color: #b7c7d7; }

/* --- О гостинице --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

/* Фотография с подписью: при наведении слегка приближается. */
.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.photo:hover img { transform: scale(1.04); }
.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 20px 14px;
  background: linear-gradient(to top, rgba(8, 24, 42, .82), rgba(8, 24, 42, 0));
  color: #fff;
  font-size: 15px;
}
.photo--tall { aspect-ratio: 4 / 3; }

/* Фотографий в блоке «Об отеле» может быть две — разводим их промежутком. */
.about__media { display: grid; gap: 18px; }
.about__media .callout { margin-top: 0; }

.about__sub { font-size: 21px; margin: 28px 0 0; }
.callout {
  margin: 24px 0 0;
  padding: 18px 22px;
  background: #f8f2e7;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 16px;
}
.callout strong { color: var(--blue); }

.ticks { list-style: none; margin: 18px 0 0; padding: 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* --- Номера --- */
.rooms {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.room {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.room:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(15, 35, 60, .13);
}
.room__pic .room__main { transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.room__pic:hover .room__main { transform: scale(1.05); }
.room__zoom { transition: background-color .25s ease, transform .25s ease; }
.room__pic:hover .room__zoom { background: var(--gold); transform: scale(1.08); }
.room__pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; cursor: zoom-in; }
.room__zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(9, 21, 36, .72);
  pointer-events: none;
}
.room__zoom svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.room__pic img { width: 100%; height: 100%; object-fit: cover; }
.room__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 11px;
  background: rgba(9, 21, 36, .78);
  color: #fff;
  font-size: 13px;
  letter-spacing: .04em;
  border-radius: 2px;
}
.room__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 6px;
}
.room__thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 2px;
  background: none;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.room__thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.room__thumbs button.is-active { border-color: var(--gold); }
.room__thumbs button.is-active img,
.room__thumbs button:hover img { opacity: 1; }
.room__actions { display: flex; align-items: center; gap: 10px; }
.btn--more {
  background: #f8f2e7;
  border-color: #e6d7bc;
  color: #8d6529;
}
.btn--more svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.btn--more:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.rooms__note { margin: 30px 0 0; text-align: center; color: var(--muted); }

.room__desc { font-size: 16px; margin-bottom: 18px; }
.specs { margin: 0 0 22px; }
.specs > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); font-size: 15px; }
.specs dd { margin: 0; font-weight: 600; }
.details__pic {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.rooms__note a { font-weight: 700; white-space: nowrap; }
.room__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.room__body h3 { margin-bottom: 6px; }
.room__meta { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.room__list { list-style: none; margin: 0 0 20px; padding: 0; font-size: 16px; }
.room__list li { position: relative; padding-left: 18px; margin-bottom: 6px; }
.room__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.room__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.price { margin: 0; font-size: 15px; color: var(--muted); }
.price strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 26px;
  color: var(--blue);
}
.price span { font-size: 14px; }

/* --- Цитата на фоне города --- */
.quote-band {
  position: relative;
  padding: 86px 0;
  color: #fff;
  overflow: hidden;
}
.quote-band__bg { position: absolute; inset: 0; }
.quote-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8, 24, 42, .93) 0%, rgba(8, 24, 42, .82) 55%, rgba(8, 24, 42, .74) 100%);
}
.quote-band__in { position: relative; }
.quote-band__bird {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 230px;
  height: 230px;
  transform: translateY(-50%);
  fill: var(--gold-light);
  opacity: .5;
  filter: drop-shadow(0 6px 18px rgba(4, 12, 22, .6));
  pointer-events: none;
}
.quote-band__text { max-width: 760px; margin: 0; }
.quote-band__text::before {
  content: "“";
  display: block;
  font-family: Georgia, serif;
  font-size: 86px;
  line-height: .7;
  color: var(--gold-light);
}
.quote-band__text p {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.45;
  margin: 14px 0 18px;
}
.quote-band__text footer {
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* --- Услуги --- */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .3, 1), box-shadow .3s ease, border-color .3s ease;
}
.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s cubic-bezier(.2, .8, .3, 1);
}
.service:hover {
  transform: translateY(-6px);
  border-color: #e6d7bc;
  box-shadow: 0 18px 34px rgba(15, 35, 60, .12);
}
.service:hover::before { transform: scaleY(1); }

.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #f8f2e7;
  transition: background-color .3s ease, transform .4s cubic-bezier(.2, .8, .3, 1.2);
}
.service__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke .3s ease;
}
.service:hover .service__icon { background: var(--gold); transform: scale(1.06) rotate(-4deg); }
.service:hover .service__icon svg { stroke: #fff; }

.service h3 { font-size: 19px; margin-bottom: 8px; }
.service p { font-size: 15px; color: var(--muted); margin: 0; }

/* --- Отзывы --- */
.stars { color: #e0a22a; letter-spacing: 2px; font-size: 18px; }

.reviews {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.review__ava {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f1e7d6;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 700;
}
.review__head strong { margin-right: auto; }
.review__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.review__head strong { font-size: 17px; color: var(--blue); }
.review p { font-size: 16px; margin: 0 0 14px; }
.review footer { font-size: 14px; color: var(--muted); }

/* --- Карта --- */
.location {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.map__frame {
  position: relative;
  height: 530px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.map__frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.map__links .btn { padding: 11px 18px; font-size: 15px; }

.route h3 { margin-bottom: 18px; }
.route__list { margin: 0; }
.route__list dt { font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.route__list dd {
  margin: 0 0 18px;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.route__list dd:last-of-type { border-bottom: 0; }
.route__note { font-size: 15px; color: var(--muted); }

/* --- Контакты --- */
.contacts {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: start;
}
.contacts__row { margin-bottom: 22px; }
.contacts__label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #92a8bd;
  margin-bottom: 4px;
}
.contacts__big {
  font-family: Georgia, serif;
  font-size: 34px;
  color: #fff;
  text-decoration: none;
}
.contacts__big:hover { color: var(--gold-light); }
.contacts__big--sm { font-size: 26px; }
.contacts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.contacts__grid p { margin: 0; }
.contacts__grid a { color: #fff; }

.rules {
  margin-top: 0;
  padding: 24px 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius);
}
.rules h3 { color: #fff; font-size: 20px; margin-bottom: 12px; }
.rules ul { margin: 0; padding-left: 20px; }
.rules li { margin-bottom: 8px; font-size: 16px; }
.rules li:last-child { margin-bottom: 0; }


/* --- Реквизиты --- */
.requisites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 32px 20px;
}
.requisites dl { margin: 0; }
.requisites dl > div {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.requisites dl > div:last-child { border-bottom: 0; }
.requisites dt { color: var(--muted); font-size: 15px; }
.requisites dd { margin: 0; font-weight: 600; color: var(--text); }

/* --- Страница с документом --- */
.legal { max-width: 860px; }
.legal h1 { font-size: 36px; margin-bottom: 28px; }
.legal h2 { font-size: 24px; margin: 38px 0 14px; }
.legal p { font-size: 16px; }
.legal ul { margin: 0 0 16px; padding-left: 22px; font-size: 16px; }
.legal li { margin-bottom: 8px; }
.legal__table {
  width: 100%;
  margin: 0 0 18px;
  border-collapse: collapse;
  font-size: 16px;
}
.legal__table th,
.legal__table td {
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.legal__table th {
  width: 36%;
  background: var(--grey);
  color: var(--blue);
  font-weight: 700;
}
.legal__back { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.legal__sign { color: var(--muted); }
.legal__table--wide th { width: auto; }
.legal__table--wide thead th { background: var(--grey); }

/* --- Подвал --- */
.footer { background: var(--blue-dark); color: #9fb2c6; padding: 56px 0 24px; }
.footer__in {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr .8fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand { max-width: 360px; }
.footer__small { font-size: 15px; margin: 18px 0 0; line-height: 1.6; }
.footer__addr { margin: 14px 0 6px; color: #cdd9e5; }
.footer__mail { color: var(--gold-light); }

.footer__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #7d93aa;
  margin-bottom: 10px;
}
.footer__nav { display: grid; gap: 10px; align-content: start; }
.footer__nav a {
  color: #cdd9e5;
  text-decoration: none;
  font-size: 16px;
  width: fit-content;
  transition: color .2s ease, transform .2s ease;
}
.footer__nav a:hover { color: #fff; transform: translateX(3px); }

.footer__contacts { display: grid; justify-items: start; }
.footer__contacts .footer__label:nth-of-type(2) { margin-top: 20px; }
.footer__phone {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.1;
  color: #fff;
  text-decoration: none;
}
.footer__phone:hover { color: var(--gold-light); }
.footer__phone--second { font-size: 23px; }
.footer__contacts .btn { margin-top: 26px; }

/* Водяной знак держим слева, под текстом о гостинице: справа он налезал на кнопку. */
.footer__bird {
  position: absolute;
  left: -14px;
  bottom: -18px;
  width: 150px;
  height: 150px;
  fill: #fff;
  opacity: .05;
  pointer-events: none;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 28px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 14px;
}
.footer__docs { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__docs a {
  color: #7d93aa;
  text-decoration: none;
  border-bottom: 1px solid rgba(125, 147, 170, .35);
  transition: color .2s ease, border-color .2s ease;
}
.footer__docs a:hover { color: #cdd9e5; border-bottom-color: rgba(205, 217, 229, .6); }

/* --- Модальное окно --- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(9,21,36,.6); }

/* Окно влетает сверху с лёгким отскоком, фон проявляется отдельно. */
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalDrop {
  0% { opacity: 0; transform: translateY(-70px) scale(.96); }
  65% { opacity: 1; transform: translateY(8px) scale(1.012); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes modalLeave {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-46px) scale(.97); }
}
.modal__overlay { animation: modalFade .24s ease both; }
.modal__box { animation: modalDrop .46s cubic-bezier(.22, .78, .28, 1.18) both; }
.modal.is-closing .modal__overlay { animation: modalFade .18s ease reverse both; }
.modal.is-closing .modal__box { animation: modalLeave .2s ease both; }
.modal__box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
}
.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: none;
  font-size: 30px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}
.modal__box--wide { max-width: 620px; }

.consent__list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.consent__list li { border-bottom: 1px solid var(--line); }
.consent__list li:last-child { border-bottom: 0; }
.consent__list a {
  display: block;
  padding: 14px 16px 14px 44px;
  position: relative;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease;
}
.consent__list a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 17px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}
.consent__list a:hover { background: #f8f2e7; text-decoration: underline; }
.consent__note { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

/* --- Просмотр фотографий --- */
.lightbox { padding: 0; }
.lightbox .modal__overlay { background: rgba(6, 14, 24, .93); }
@keyframes lightboxIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lightbox__frame {
  position: relative;
  margin: 0;
  max-width: min(1100px, 92vw);
  animation: lightboxIn .3s ease both;
}
.lightbox__frame img {
  display: block;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox__close {
  position: absolute;
  top: 14px;
  right: 22px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding-bottom: 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .32); }
.lightbox__nav--prev { left: 26px; }
.lightbox__nav--next { right: 26px; }
.lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #c3d1de;
  font-size: 15px;
}
.modal__hint { font-size: 15px; color: var(--muted); }
.modal__or { text-align: center; font-size: 15px; color: var(--muted); margin: 14px 0 0; }
.modal__or a { font-weight: 700; }

/* --- Нижняя панель на телефоне --- */
.callbar { display: none; }

/* --- Появление при прокрутке --- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .75s cubic-bezier(.2, .7, .25, 1),
    transform .75s cubic-bezier(.2, .7, .25, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; will-change: auto; }

/* Фотографии и карточки номеров заодно чуть «приближаются». */
.room.reveal, .photo.reveal { transform: translateY(34px) scale(.985); }
.room.reveal.is-visible, .photo.reveal.is-visible { transform: none; }

/* Без скриптов прятать контент нельзя. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .room, .service, .photo img, .room__pic .room__main { transition: none; }
  .room:hover, .service:hover { transform: none; }
  .photo:hover img, .room__pic:hover .room__main { transform: none; }
  .modal__overlay, .modal__box,
  .modal.is-closing .modal__overlay, .modal.is-closing .modal__box { animation: none; }
}

/* --- Адаптив --- */
@media (max-width: 1080px) {
  .nav { gap: 16px; font-size: 15px; }
  .header__phone { font-size: 17px; }
  .rooms, .reviews { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: 1fr; }
  .location { grid-template-columns: 1fr; }
  .requisites { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__in { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bird { display: none; }
  .quote-band__bird { width: 150px; height: 150px; right: -10px; opacity: .16; }

  .burger {
    display: grid;
    gap: 5px;
    width: 46px;
    height: 42px;
    padding: 10px 9px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
  }
  .burger span { display: block; height: 2px; background: var(--blue); }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(15,35,60,.12);
    padding: 8px 24px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

  /* На телефоне шапка не липнет: при инерционной прокрутке она дёргалась.
     Вместо неё внизу постоянная панель с телефоном и бронированием. */
  .header { position: static; }
  .header__top { display: none; }
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 18px rgba(15, 35, 60, .1);
  }
  .callbar .btn { padding: 14px 8px; font-size: 16px; }
  body { padding-bottom: 78px; }
  .header__main {
    position: relative;
    flex-wrap: nowrap;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .logo__bird { width: 38px; height: 38px; }
  .logo__name { font-size: 25px; }
  .logo__sub { font-size: 11px; }
  .header__call { margin-left: auto; gap: 12px; }
  .header__call .btn { display: none; }
  .header__phone { font-size: 16px; }
  .burger { flex-shrink: 0; }
  .section { scroll-margin-top: 12px; }
}

@media (max-width: 480px) {
  /* Номер телефона остаётся в нижней панели, в шапке он уже не влезает. */
  .header__phone { display: none; }
  .header__main { gap: 10px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .section { padding: 54px 0; }
  .hero__in { padding-top: 64px; padding-bottom: 64px; margin-left: 0; }
  .hero__lead { font-size: 18px; }
  .hero__actions .btn { width: 100%; }
  .facts__grid { grid-template-columns: 1fr; }
  .rooms, .reviews, .services { grid-template-columns: 1fr; }
  .requisites { padding: 8px 20px 14px; }
  .requisites dl > div { grid-template-columns: 1fr; gap: 2px; }
  .modal__box { padding: 22px; }
  .specs > div { grid-template-columns: 1fr; gap: 2px; }
  .lightbox__nav { width: 44px; height: 44px; font-size: 28px; background: rgba(255, 255, 255, .2); }
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__frame { max-width: 100vw; }
  .room__body { padding: 20px; }
  .room__foot { gap: 10px; }
  .room__actions { width: 100%; gap: 8px; }
  .room__actions .btn { flex: 1; padding: 13px 8px; }
  .contacts__big { font-size: 28px; }
  .map__frame { height: 340px; }
  .legal h1 { font-size: 28px; }
  .legal h2 { font-size: 21px; }
  .legal__table th, .legal__table td { display: block; width: auto; }
  .legal__table th { border-bottom: 0; }
  .legal__table td { border-top: 0; }
  .quote-band { padding: 54px 0; }
  .quote-band__text p { font-size: 21px; }
  .quote-band__bird { display: none; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__contacts .btn { width: 100%; }
  .footer__bird { display: none; }
  .photo--tall { aspect-ratio: 3 / 2; }
}
