:root {
  --hotel-bg: #f8f6f1;
  --hotel-surface: #ffffff;
  --hotel-surface-soft: #f1ede5;
  --hotel-text: #20242a;
  --hotel-muted: #69707a;
  --hotel-border: #ddd6cc;
  --hotel-accent: #2f5f86;
  --hotel-accent-dark: #1f435f;
  --hotel-accent-2: #a8642c;
  --hotel-accent-2-dark: #804a1d;
  --hotel-sand: #c7a76c;
  --hotel-radius-sm: 8px;
  --hotel-radius-md: 14px;
  --hotel-radius-lg: 22px;
  --hotel-shadow-soft: 0 18px 50px rgba(28, 32, 38, .10);
  --hotel-container: 1180px;
  --hotel-transition: 220ms ease;
}

html,
body {
  overflow-x: clip;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--hotel-text);
  background: var(--hotel-bg);
}

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

a {
  color: var(--hotel-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--hotel-transition);
}

a:hover {
  color: var(--hotel-accent-dark);
}

picture {
  display: block;
}

:where(a, button, select, input, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 1200;
  padding: .7rem 1.1rem;
  background: var(--hotel-text);
  color: #fff;
  border-radius: 0 0 var(--hotel-radius-sm) 0;
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

h1,
h2,
h3 {
  margin: 0 0 .5em;
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.7rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

button,
input,
select {
  font: inherit;
}

.hotel-container {
  width: min(100% - 2rem, var(--hotel-container));
  margin-inline: auto;
}

.hotel-section {
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.hotel-section--soft {
  background: var(--hotel-surface-soft);
}

/* Same-surface neighbours: avoid stacking full top+bottom into a large void */
.hotel-section:not(.hotel-section--soft) + .hotel-section:not(.hotel-section--soft),
.hotel-section--soft + .hotel-section--soft {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.hotel-section:not(.hotel-section--soft):has(+ .hotel-section:not(.hotel-section--soft)),
.hotel-section--soft:has(+ .hotel-section--soft) {
  padding-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

.hotel-section__head + .hotel-dual__list,
.hotel-section__head + .hotel-list {
  margin-top: 0;
}

.hotel-section__head {
  display: grid;
  gap: .75rem;
  max-width: none;
  margin-bottom: 1.35rem;
}

/* Gap owns vertical rhythm — zero default heading/paragraph margins inside heads */
.hotel-section__head > * {
  margin: 0;
}

.hotel-section__head p {
  color: var(--hotel-muted);
  max-width: none;
  line-height: 1.55;
}

.hotel-eyebrow {
  margin: 0 0 .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hotel-sand);
  line-height: 1.35;
}

.hotel-lead {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: var(--hotel-muted);
  max-width: none;
}

:target {
  scroll-margin-top: 84px;
}

.hotel-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--hotel-surface) 94%, transparent);
  border-bottom: 1px solid var(--hotel-border);
  backdrop-filter: blur(10px);
}

.hotel-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 62px;
  padding-block: .55rem;
}

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

/* Внутренние страницы: только навигация, без верхнего блока и подсказок */
.hotel-header--subpage .hotel-header__inner {
  display: none;
}

.hotel-header--subpage .hotel-tip {
  display: none !important;
}

.hotel-header__toolbar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  min-height: 48px;
  padding-block: .35rem;
}

@media (max-width: 1079px) {
  .hotel-header--subpage .hotel-header__toolbar {
    display: flex;
  }
}

@media (min-width: 1080px) {
  .hotel-header--subpage .hotel-navbar {
    border-top: none;
  }

  .hotel-header--subpage :target {
    scroll-margin-top: 72px;
  }
}

.hotel-brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--hotel-text);
  text-decoration: none;
  white-space: nowrap;
}

.hotel-brand__name {
  font-size: 1rem;
  font-weight: 750;
}

.hotel-brand__note {
  font-size: .72rem;
  color: var(--hotel-muted);
}

.hotel-navbar {
  display: none;
  border-top: 1px solid var(--hotel-border);
}

.hotel-nav {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
}

.hotel-nav__col {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--hotel-border);
}

.hotel-nav__col:first-child {
  border-left: none;
}

.hotel-nav__title,
.hotel-nav__sub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: .35rem .3rem;
  transition: background-color .15s ease, color .15s ease;
}

/* Верхняя кнопка: пассив — тёмный графит, наведение — синий акцент */
.hotel-nav__title {
  min-height: 36px;
  font-size: clamp(.66rem, .9vw, .8rem);
  font-weight: 750;
  letter-spacing: .03em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--hotel-text);
}

.hotel-nav__title:hover,
.hotel-nav__title:focus-visible {
  color: #fff;
  background: var(--hotel-accent);
}

/* Нижняя кнопка: пассив — серый, наведение — тёплый бронзовый акцент */
.hotel-nav__sub {
  min-height: 32px;
  font-size: .72rem;
  color: var(--hotel-muted);
  border-top: 1px solid color-mix(in srgb, var(--hotel-border) 65%, transparent);
}

.hotel-nav__sub:hover,
.hotel-nav__sub:focus-visible {
  color: var(--hotel-text);
  background: var(--hotel-sand);
}

/* Активная страница в меню — подчёркивание песочным цветом */
.hotel-nav__title[aria-current="page"],
.hotel-nav__sub[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--hotel-sand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hotel-nav__sub[aria-current="page"] {
  color: var(--hotel-text);
}

.hotel-nav__title[aria-current="page"]:hover,
.hotel-nav__title[aria-current="page"]:focus-visible,
.hotel-nav__sub[aria-current="page"]:hover,
.hotel-nav__sub[aria-current="page"]:focus-visible {
  text-decoration-color: currentColor;
}

/* Всплывающие подсказки навигации (воздушный шар) */
.hotel-tip {
  --tip-x: -50%;
  --tip-bg: #fffdf2;
  --tip-border: #e4d99a;
  position: absolute;
  left: 50%;
  z-index: 200;
  width: max-content;
  max-width: 270px;
  padding: .6rem .75rem;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  background: var(--tip-bg);
  border: 1px solid var(--tip-border);
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(32, 36, 42, .16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(var(--tip-x), 4px);
  transition: opacity .16s ease, transform .16s ease;
}

.hotel-tip--up {
  bottom: calc(100% + 11px);
}

.hotel-tip--down {
  top: calc(100% + 11px);
}

.hotel-tip__head {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 750;
  color: var(--hotel-text);
}

.hotel-tip__head::before {
  content: "";
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f5f86'%3E%3Cpath d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 4.6a1.5 1.5 0 110 3 1.5 1.5 0 010-3zM10.7 11h2.6v7h-2.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hotel-tip__body {
  display: block;
  margin-top: .3rem;
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.4;
  color: #8a4b2c;
}

/* Хвостик-указатель */
.hotel-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  margin-left: -6px;
  width: 12px;
  height: 12px;
  background: var(--tip-bg);
  transform: rotate(45deg);
}

.hotel-tip--up::after {
  bottom: -6px;
  border-right: 1px solid var(--tip-border);
  border-bottom: 1px solid var(--tip-border);
}

.hotel-tip--down::after {
  top: -6px;
  border-left: 1px solid var(--tip-border);
  border-top: 1px solid var(--tip-border);
}

/* Крайние колонки — прижать подсказку к краю, чтобы не уезжала за экран */
.hotel-nav__col:first-child .hotel-tip {
  left: 0;
  --tip-x: 0;
}

.hotel-nav__col:first-child .hotel-tip::after {
  left: 56px;
}

.hotel-nav__col:last-child .hotel-tip {
  left: auto;
  right: 0;
  --tip-x: 0;
}

.hotel-nav__col:last-child .hotel-tip::after {
  left: auto;
  right: 50px;
  margin-left: 0;
  margin-right: -6px;
}

/* Показ при наведении и фокусе с клавиатуры */
.hotel-nav__title:hover .hotel-tip,
.hotel-nav__title:focus-visible .hotel-tip,
.hotel-nav__sub:hover .hotel-tip,
.hotel-nav__sub:focus-visible .hotel-tip {
  opacity: 1;
  visibility: visible;
  transform: translate(var(--tip-x), 0);
}

/* Подсказки меню на «Всё о гостиницах» (hotel-header--home + tip markup):
   не обрезать всплывающие balloon сверху/снизу коллажа. */
.hotel-header--home.hotel-guide-nav-tips,
.hotel-guide-page .hotel-header--home {
  overflow: visible;
}
.hotel-guide-page .hotel-header--home .hotel-navbar {
  overflow: visible;
  position: relative;
  z-index: 30;
}
.hotel-guide-page .hotel-header--home .hotel-nav__title,
.hotel-guide-page .hotel-header--home .hotel-nav__sub {
  z-index: 1;
}
.hotel-guide-page .hotel-header--home .hotel-nav__title:hover,
.hotel-guide-page .hotel-header--home .hotel-nav__title:focus-visible,
.hotel-guide-page .hotel-header--home .hotel-nav__sub:hover,
.hotel-guide-page .hotel-header--home .hotel-nav__sub:focus-visible {
  z-index: 40;
}

.hotel-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
  color: var(--hotel-text);
  cursor: pointer;
}

.hotel-burger svg {
  width: 20px;
  height: 20px;
}

.hotel-mobile-nav {
  display: none;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid var(--hotel-border);
}

.hotel-mobile-nav.is-open {
  display: block;
}

.hotel-mobile-nav__pair {
  display: flex;
  align-items: stretch;
  gap: .5rem;
  border-bottom: 1px solid var(--hotel-border);
}

.hotel-mobile-nav__pair:last-child {
  border-bottom: none;
}

.hotel-mobile-nav__title,
.hotel-mobile-nav__sub {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .35rem;
  text-decoration: none;
  border-radius: var(--hotel-radius-sm);
  transition: background-color .15s ease, color .15s ease;
}

.hotel-mobile-nav__title {
  flex: 1;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--hotel-text);
}

.hotel-mobile-nav__title:hover,
.hotel-mobile-nav__title:active,
.hotel-mobile-nav__title:focus-visible {
  color: #fff;
  background: var(--hotel-accent);
}

.hotel-mobile-nav__sub {
  font-size: .8rem;
  color: var(--hotel-muted);
}

.hotel-mobile-nav__sub:hover,
.hotel-mobile-nav__sub:active,
.hotel-mobile-nav__sub:focus-visible {
  color: var(--hotel-text);
  background: var(--hotel-sand);
}

/* Активная страница в мобильном меню */
.hotel-mobile-nav__title[aria-current="page"],
.hotel-mobile-nav__sub[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--hotel-sand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hotel-mobile-nav__sub[aria-current="page"] {
  color: var(--hotel-text);
}

.hotel-mobile-nav__title[aria-current="page"]:hover,
.hotel-mobile-nav__title[aria-current="page"]:active,
.hotel-mobile-nav__title[aria-current="page"]:focus-visible,
.hotel-mobile-nav__sub[aria-current="page"]:hover,
.hotel-mobile-nav__sub[aria-current="page"]:active,
.hotel-mobile-nav__sub[aria-current="page"]:focus-visible {
  text-decoration-color: currentColor;
}

@media (min-width: 1080px) {
  .hotel-navbar {
    display: block;
  }

  /* Запас по высоте над навигацией, чтобы подсказки верхних кнопок
     помещались в видимую область и не обрезались сверху */
  .hotel-header__inner {
    min-height: 124px;
    align-items: flex-start;
    padding-top: .7rem;
  }

  .hotel-burger,
  .hotel-mobile-nav {
    display: none !important;
  }

  :target {
    scroll-margin-top: 200px;
  }
}

.hotel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 44px;
  padding: .625rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--hotel-radius-sm);
  background: transparent;
  color: var(--hotel-text);
  font: inherit;
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--hotel-transition),
    border-color var(--hotel-transition),
    color var(--hotel-transition),
    transform var(--hotel-transition);
}

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

.hotel-button--primary {
  background: var(--hotel-accent);
  color: var(--hotel-surface);
}

.hotel-button--primary:hover {
  background: var(--hotel-accent-dark);
  color: var(--hotel-surface);
}

.hotel-button--secondary {
  background: var(--hotel-surface);
  border-color: var(--hotel-border);
  color: var(--hotel-text);
}

.hotel-button--secondary:hover {
  border-color: var(--hotel-accent);
  color: var(--hotel-accent);
}

.hotel-hero {
  /* Catalog rhythm: white hero → soft blue section needs full bottom+top padding */
  padding-block: clamp(2rem, 5vw, 4.25rem);
}

/* Same vertical rhythm as .hotel-section__head → content (lead → facts → gallery) */
.hotel-hero > .hotel-container {
  display: grid;
  gap: 1.35rem;
}

.hotel-hero .hotel-breadcrumbs {
  margin-bottom: 0;
}

/* Keep hero→soft gap full; compress hero→same-surface (non-soft) like section pairs */
.hotel-hero + .hotel-section {
  padding-top: clamp(2.25rem, 5vw, 4rem);
}

.hotel-hero + .hotel-section:not(.hotel-section--soft) {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
}

.hotel-hero:has(+ .hotel-section:not(.hotel-section--soft)) {
  padding-bottom: clamp(1rem, 2.5vw, 1.75rem);
}

/* Guide page: keep the intro-to-search gap equal to the compact search-to-stars rhythm */
.hotel-guide-page .hotel-hero + .hotel-section {
  padding-top: 0.75rem;
}

/* Guide page: no green section eyebrows; tighter readable rhythm (text sits higher) */
.hotel-guide-page .hotel-section {
  padding-block: clamp(1.5rem, 3.5vw, 2.75rem);
}

.hotel-guide-page .hotel-section__head {
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.hotel-guide-page .hotel-section__head + .hotel-table-wrap,
.hotel-guide-page .hotel-section__head + .hotel-split,
.hotel-guide-page .hotel-section__head + .hotel-prose,
.hotel-guide-page .hotel-section__head + .hotel-amenity-groups,
.hotel-guide-page .hotel-section__head + .hotel-faq,
.hotel-guide-page .hotel-section__head + .hotel-list {
  margin-top: 0;
}

/* Guide page: stars block sits right under search status — avoid double soft padding */
#global-catalog-search {
  padding-bottom: 0.75rem;
}

#global-catalog-search + #stars {
  padding-top: 0.75rem;
}

.hotel-hero__copy {
  display: grid;
  gap: .75rem;
}

.hotel-hero__copy > * {
  margin: 0;
}

.hotel-hero .hotel-eyebrow {
  margin-bottom: 0;
  text-align: right;
}

.hotel-hero h1 {
  max-width: none;
  text-align: left;
  line-height: 1.2;
}

.hotel-hero .hotel-lead {
  max-width: none;
}

/* Personal pages: even hero rhythm after eyebrow removal
   breadcrumbs → stars → H1 → lead (stars sit close above title) */
.hotel-personal-page .hotel-hero > .hotel-container {
  display: grid;
  gap: 0.85rem;
}

.hotel-personal-page .hotel-breadcrumbs {
  margin: 0;
}

.hotel-personal-page .hotel-hero__copy {
  display: grid;
  gap: 0.5rem;
  align-content: start;
  width: 100%;
  max-width: none;
}

.hotel-personal-page .hotel-hero__copy .hotel-hero__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem 1rem;
  width: 100%;
}

.hotel-personal-page .hotel-hero__copy .hotel-stars {
  line-height: 1.25;
  margin: 0;
}

.hotel-personal-page .hotel-hero__copy .hotel-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 0 0 0 auto;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.15rem);
  line-height: 1.2;
  white-space: nowrap;
}

.hotel-personal-page .hotel-hero__copy .hotel-hero__price-from {
  font-weight: 700;
  color: #111;
}

.hotel-personal-page .hotel-hero__copy .hotel-hero__price-value {
  font-weight: 700;
  color: var(--hotel-accent-2-dark, #1f6b4a);
}

.hotel-personal-page .hotel-hero__copy .hotel-card__price-currency {
  font-weight: 700;
  color: #f05a4f;
}

.hotel-personal-page .hotel-hero__copy h1 {
  margin: 0;
  padding-top: 0.1rem;
  max-width: none;
  line-height: 1.2;
}

.hotel-personal-page .hotel-hero__copy .hotel-hero__address {
  margin: 0;
  padding-top: 0.15rem;
  max-width: none;
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  line-height: 1.4;
  color: var(--hotel-ink-soft, #4a5560);
}

.hotel-personal-page .hotel-hero__copy .hotel-lead {
  margin: 0;
  padding-top: 0.35rem;
  line-height: 1.55;
  width: 100%;
  max-width: none;
}

.hotel-hero .hotel-time-compare {
  margin-top: clamp(1.25rem, 3vw, 2rem);
}

.hotel-time-compare {
  display: grid;
  gap: .75rem;
}

.hotel-time-compare__col {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.hotel-time-compare__col .hotel-time-compare__card {
  flex: 1 1 auto;
}

.hotel-time-compare__col .hotel-time-compare__action {
  align-self: center;
  width: auto;
}

.hotel-time-compare__card {
  position: relative;
  overflow: hidden;
  min-height: 17rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  background: var(--hotel-surface);
  box-shadow: var(--hotel-shadow-soft);
}

.hotel-time-compare__card img {
  width: 100%;
  height: 100%;
  min-height: 17rem;
  object-fit: cover;
}

.hotel-time-compare__card--old img {
  filter: grayscale(1) contrast(1.04);
}

/* Значок «i» в левом нижнем углу — виден, пока на фото не наведён курсор */
.hotel-time-compare__card::after {
  content: "i";
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--hotel-surface);
  background: color-mix(in srgb, var(--hotel-text) 80%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--hotel-surface) 70%, transparent);
  border-radius: 50%;
  backdrop-filter: blur(2px);
  transition: opacity .18s ease, transform .18s ease;
}

.hotel-time-compare__card:hover::after,
.hotel-time-compare__card:focus-within::after {
  opacity: 0;
  transform: scale(.85);
}

.hotel-time-compare__caption {
  position: absolute;
  left: .85rem;
  right: .85rem;
  bottom: .85rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .25rem .75rem;
  padding: .7rem .85rem;
  border-radius: var(--hotel-radius-sm);
  background: color-mix(in srgb, var(--hotel-text) 80%, transparent);
  color: var(--hotel-surface);
  font-size: .875rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.hotel-time-compare__card:hover .hotel-time-compare__caption,
.hotel-time-compare__card:focus-within .hotel-time-compare__caption {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hotel-time-compare__caption span {
  color: color-mix(in srgb, var(--hotel-surface) 74%, transparent);
}

/* Синий вариант (как кнопка «Забронировать») — кружок «i» и плашка подсказки */
.hotel-time-compare__card--accent::after {
  background: color-mix(in srgb, var(--hotel-accent) 92%, transparent);
  border-color: color-mix(in srgb, var(--hotel-surface) 80%, transparent);
}

.hotel-time-compare__card--accent .hotel-time-compare__caption {
  background: color-mix(in srgb, var(--hotel-accent) 92%, transparent);
}

@media (min-width: 900px) {
  .hotel-time-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.hotel-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 680px) {
  .hotel-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hotel-facts--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hotel-fact {
  padding: 1rem 1.125rem;
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
}

.hotel-fact__row + .hotel-fact__row {
  margin-top: .85rem;
  padding-top: .85rem;
  border-top: 1px solid var(--hotel-border);
}

.hotel-fact__label {
  display: block;
  margin-bottom: .25rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--hotel-muted);
}

.hotel-fact__value {
  display: block;
  font-size: .9375rem;
  font-weight: 650;
  color: var(--hotel-text);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hotel-dual {
  display: grid;
  gap: 1.25rem;
}

.hotel-dual__panel {
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.hotel-dual__panel--old {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--hotel-text) 6%, transparent), transparent),
    var(--hotel-surface);
}

.hotel-dual__panel--new {
  border-color: color-mix(in srgb, var(--hotel-accent) 35%, var(--hotel-border));
}

.hotel-dual__list {
  display: grid;
  gap: .75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hotel-dual__list li {
  padding-left: 1rem;
  border-left: 2px solid var(--hotel-border);
  color: var(--hotel-muted);
}

@media (min-width: 780px) {
  .hotel-dual {
    grid-template-columns: 1fr 1fr;
  }
}

.hotel-card-grid {
  display: grid;
  gap: 1.25rem;
}

/* Gallery / photos above cards need a clear break (Gradation format block) */
.hotel-gallery + .hotel-card-grid,
.hotel-section__head + .hotel-card-grid {
  margin-top: 1.35rem;
}

.hotel-gallery + .hotel-card-grid {
  margin-top: 1.75rem;
}

@media (min-width: 680px) {
  .hotel-card-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  .hotel-card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .hotel-card-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hotel-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  overflow: hidden;
  box-shadow: var(--hotel-shadow-soft);
  transition:
    border-color var(--hotel-transition),
    transform var(--hotel-transition);
}

.hotel-card:hover {
  border-color: color-mix(in srgb, var(--hotel-accent) 35%, var(--hotel-border));
  transform: translateY(-3px);
}

.hotel-card__media {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: var(--hotel-surface-soft);
  overflow: hidden;
}

.hotel-card__media picture {
  display: block;
  height: 100%;
}

.hotel-card__media img,
.hotel-card__media .hotel-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keep the reserved image box; reveal only once the photo has decoded. */
img[data-sequential-image] {
  transition: opacity .4s ease;
}

img[data-sequential-image]:not([src]),
img[data-sequential-image][data-image-state="loading"],
img[data-sequential-image][data-image-state="queued"],
img[data-sequential-image][data-image-state="error"] {
  opacity: 0;
  transition: none;
}

img[data-sequential-image][data-image-state="loaded"] {
  opacity: 1;
}

.hotel-image-frame {
  position: relative;
  overflow: hidden;
  background-color: var(--hotel-surface-soft);
}

.hotel-image-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(100deg, var(--hotel-surface-soft) 25%, var(--hotel-surface) 50%, var(--hotel-surface-soft) 75%);
  background-size: 200% 100%;
  transition: opacity .4s ease;
}

.hotel-image-frame.is-image-loading::before {
  opacity: 1;
  animation: hotel-image-shimmer 1.5s ease-in-out infinite;
}

.hotel-image-frame.is-image-error::before {
  content: "Фото временно недоступно";
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--hotel-surface-soft);
  color: var(--hotel-muted);
  font-size: .75rem;
  line-height: 1.4;
  text-align: center;
  opacity: 1;
}

.hotel-collage__meta {
  z-index: 2;
}

@keyframes hotel-image-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
  img[data-sequential-image],
  .hotel-image-frame::before {
    transition: none;
    animation: none !important;
  }
}

.hotel-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 1.125rem 1.25rem 1.25rem;
}

.hotel-card__body p {
  font-size: .9375rem;
  color: var(--hotel-muted);
}

/* Не растягивать строку услуг/цены — иначе адрес уезжает вниз карточки. */
.hotel-card__body .hotel-card__services,
.hotel-card__body .hotel-card__price {
  flex: 0 0 auto;
}

.hotel-card__tag {
  display: inline-block;
  margin-bottom: .55rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--hotel-sand);
}

/* Chip label above card title (Gradation format cards, etc.) */
.hotel-card__body > .hotel-chip {
  align-self: flex-start;
  margin-bottom: .7rem;
}

.hotel-card__body > .hotel-chip + h3,
.hotel-card__body > .hotel-card__tag + h3 {
  margin-top: 0;
}

.hotel-card__body > h3 + ul {
  margin-top: .65rem;
}

.hotel-card--review .hotel-card__body {
  gap: 0;
}

.hotel-card--review__rating {
  margin: .4rem 0 0;
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--hotel-ink, #1a1a1a);
  line-height: 1.2;
}

.hotel-card--review__aspect {
  margin: .55rem 0 0;
  color: var(--hotel-muted);
  line-height: 1.55;
}

.hotel-card--review__aspect strong {
  color: var(--hotel-ink, #1a1a1a);
  font-weight: 650;
}

.hotel-card--review__quote {
  margin: .55rem 0 0;
  color: var(--hotel-muted);
  line-height: 1.55;
}

.hotel-card--review__source {
  margin: .85rem 0 0;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--hotel-muted);
  opacity: .85;
}

.hotel-card__link {
  align-self: flex-start;
  font-size: .875rem;
  font-weight: 650;
  text-decoration: none;
}

/* Вся карточка кликабельна: <a.hotel-card__stretch> оборачивает
   фото и body (не пустой absolute-overlay — в WebView/превью пустой
   <a> часто не получает клик). */
.hotel-card__stretch {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 100%;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hotel-card__stretch:hover,
.hotel-card__stretch:focus-visible {
  color: inherit;
  text-decoration: none;
}

.hotel-card__stretch:focus-visible {
  outline: 2px solid var(--hotel-accent);
  outline-offset: -2px;
}

.hotel-card__link:not(.hotel-card__link--static)::after {
  content: none;
}

.hotel-card--linked,
.hotel-card:has(.hotel-card__stretch),
.hotel-card:has(a.hotel-card__link:not(.hotel-card__link--static)) {
  cursor: pointer;
}

.hotel-card--linked:hover .hotel-card__link,
.hotel-card:has(.hotel-card__stretch):hover .hotel-card__link,
.hotel-card:has(a.hotel-card__link:not(.hotel-card__link--static)):hover .hotel-card__link {
  color: var(--hotel-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hotel-ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-height: 100%;
  background:
    linear-gradient(145deg, var(--hotel-surface-soft), color-mix(in srgb, var(--hotel-border) 60%, var(--hotel-surface)));
  color: var(--hotel-muted);
  font-size: .8125rem;
  text-align: center;
  padding: 1rem;
}

.hotel-card__ph-label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--hotel-muted);
}

.hotel-booking {
  padding: clamp(1.35rem, 4vw, 2rem);
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  box-shadow: var(--hotel-shadow-soft);
}

.hotel-booking__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 780px) {
  .hotel-booking__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: end;
  }
}

.hotel-field {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.hotel-field label {
  font-size: .8125rem;
  font-weight: 650;
  color: var(--hotel-muted);
}

.hotel-field input,
.hotel-field select {
  min-height: 44px;
  padding: .5rem .75rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background-color: var(--hotel-bg);
  color: var(--hotel-text);
  font: inherit;
  font-size: .9375rem;
}

.hotel-field select {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235a5a5a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .875rem center;
  background-size: 1rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.hotel-field input:focus,
.hotel-field select:focus {
  outline: 2px solid color-mix(in srgb, var(--hotel-accent) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--hotel-accent);
}

.hotel-field textarea {
  min-height: 130px;
  padding: .5rem .75rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background-color: var(--hotel-bg);
  color: var(--hotel-text);
  font: inherit;
  font-size: .9375rem;
  line-height: 1.5;
  resize: vertical;
}

.hotel-field textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--hotel-accent) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--hotel-accent);
}

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

.hotel-checkbox {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .8125rem;
  color: var(--hotel-muted);
}

.hotel-checkbox input {
  margin-top: .2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

/* Шкала рейтинга */
.hotel-rating-scale {
  display: grid;
  gap: .6rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.hotel-rating-scale li {
  display: flex;
  align-items: baseline;
  gap: .75rem;
  padding: .65rem .85rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
}

.hotel-rating-scale__stars {
  flex: 0 0 5.5rem;
  color: var(--hotel-sand);
  letter-spacing: .06em;
}

.hotel-rating-scale__label {
  color: var(--hotel-muted);
  font-size: .9375rem;
}

.hotel-rating-overall {
  display: grid;
  gap: .5rem;
  place-items: center;
  padding: clamp(1.35rem, 4vw, 2rem);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  background: var(--hotel-surface);
  box-shadow: var(--hotel-shadow-soft);
  text-align: center;
}

.hotel-rating-overall__stars {
  font-size: 1.8rem;
  letter-spacing: .12em;
  color: var(--hotel-border);
}

.hotel-rating-overall__value {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--hotel-text);
}

.hotel-empty {
  padding: 1.25rem;
  border: 1px dashed var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface);
  color: var(--hotel-muted);
  font-size: .9375rem;
}

/* Форма отзыва */
.hotel-review-form {
  padding: clamp(1.35rem, 4vw, 2rem);
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  box-shadow: var(--hotel-shadow-soft);
}

.hotel-review-form__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .hotel-review-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.hotel-booking__note {
  margin-top: 1rem;
  font-size: .8125rem;
  color: var(--hotel-muted);
}

.hotel-faq-layout {
  display: grid;
  gap: 1.5rem;
}

.hotel-faq-layout__intro h2 {
  margin-bottom: .5em;
}

.hotel-faq-layout__intro p {
  color: var(--hotel-muted);
  max-width: none;
  width: 100%;
}

@media (min-width: 900px) {
  .hotel-faq-layout {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.hotel-faq {
  display: grid;
  gap: .75rem;
  width: 100%;
}

.hotel-faq details {
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface);
  overflow: hidden;
}

.hotel-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 44px;
  padding: .875rem 3rem .875rem 1.125rem;
  font-weight: 650;
  font-size: .9375rem;
  cursor: pointer;
  list-style: none;
}

.hotel-faq summary::-webkit-details-marker {
  display: none;
}

.hotel-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.125rem;
  width: 1.5rem;
  height: 1.5rem;
  box-sizing: border-box;
  border-radius: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23eef7fc'/%3E%3Cpath d='M7.5 12h9M12 7.5v9' stroke='%231776a8' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.hotel-faq details[open] summary::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23eef7fc'/%3E%3Cpath d='M8.2 8.2l7.6 7.6M15.8 8.2l-7.6 7.6' stroke='%231776a8' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E");
}

.hotel-faq__answer {
  padding: 0 1.125rem 1rem;
  font-size: .9375rem;
  color: var(--hotel-muted);
}

.hotel-contacts {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .hotel-contacts {
    grid-template-columns: 1fr 1fr;
  }
}

.hotel-contact-card {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface);
  overflow-wrap: anywhere;
}

.hotel-contact-card strong {
  display: block;
  margin-bottom: .25rem;
}

.hotel-footer {
  padding-block: 2.5rem 6rem;
  background: var(--hotel-text);
  color: color-mix(in srgb, var(--hotel-surface) 78%, var(--hotel-text));
}

.hotel-footer a {
  color: color-mix(in srgb, var(--hotel-surface) 88%, var(--hotel-text));
  text-decoration: none;
}

.hotel-footer a:hover {
  color: var(--hotel-surface);
}

/* Активная страница в футере — подчёркивание песочным цветом */
.hotel-footer__links a[aria-current="page"] {
  color: var(--hotel-sand);
  text-decoration: underline;
  text-decoration-color: var(--hotel-sand);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.hotel-footer__grid {
  display: grid;
  gap: 1.5rem;
}

.hotel-footer__grid--catalogue .hotel-footer__intro {
  grid-column: 1 / -1;
}

@media (min-width: 820px) {
  .hotel-footer__grid {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
}

@media (min-width: 700px) {
  .hotel-footer__grid--catalogue {
    grid-template-columns: 1fr 1fr;
  }

  .hotel-footer__grid--catalogue > * {
    min-width: 0;
  }
}

.hotel-footer__title {
  margin: 0 0 .75rem;
  color: var(--hotel-surface);
  font-weight: 700;
}

.hotel-footer__links {
  display: grid;
  gap: .45rem;
}

.hotel-card__stars--unrated {
  color: var(--hotel-muted);
}

.hotel-card__stars--unrated .hotel-card__stars-marks {
  color: var(--hotel-muted);
}

.hotel-card__body h3,
.hotel-card__body h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .12rem;
}

.hotel-card__title-stars {
  display: block;
  margin: 0;
  line-height: 1;
  color: var(--hotel-sand);
  font-size: .78em;
  font-weight: 700;
  letter-spacing: .04em;
}

.hotel-card__title-stars.hotel-card__stars--unrated {
  color: oklch(0.2 0 0 / .62);
}

.hotel-card__title-stars--5 {
  color: #c58a00;
}

.hotel-card__title-stars--4 {
  color: #2f8f4e;
}

.hotel-card__title-stars--3 {
  color: #2867b2;
}

.hotel-card__title-stars--2 {
  color: #c4472d;
}

.hotel-card__title-stars--1 {
  color: var(--hotel-muted);
}

.hotel-footer__bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid color-mix(in srgb, var(--hotel-surface) 14%, transparent);
  font-size: .875rem;
}

.hotel-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .75rem;
  align-items: center;
  padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--hotel-border);
  background: color-mix(in srgb, var(--hotel-surface) 94%, transparent);
  backdrop-filter: blur(10px);
}

.hotel-sticky-cta span {
  min-width: 0;
  font-size: .875rem;
  color: var(--hotel-muted);
}

.hotel-error {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 1rem;
  padding-block: 3rem;
}

@media (min-width: 900px) {
  .hotel-footer {
    padding-bottom: 2rem;
  }

  .hotel-sticky-cta {
    display: none;
  }
}

@media (min-width: 640px) {
  .hotel-footer {
    padding-bottom: 2rem;
  }

  .hotel-sticky-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .hotel-container {
    width: min(100% - 1.5rem, var(--hotel-container));
  }

  h1 {
    max-width: 13ch;
  }

  .hotel-personal-page .hotel-hero h1,
  .hotel-hero h1 {
    max-width: none;
  }

  .hotel-hero__copy {
    gap: .75rem;
  }

  .hotel-personal-page .hotel-hero__copy {
    gap: 0.5rem;
  }

  .hotel-personal-page .hotel-hero > .hotel-container {
    gap: 0.75rem;
  }

  .hotel-facts {
    grid-template-columns: 1fr;
  }

  .hotel-time-compare__card,
  .hotel-time-compare__card img {
    min-height: 13.5rem;
  }

  /* Фото во всю ширину экрана — от края до края */
  .hotel-hero .hotel-time-compare {
    margin-inline: -0.75rem;
    gap: .5rem;
  }

  .hotel-hero .hotel-time-compare__card {
    border-radius: 0;
    border-inline: 0;
  }

  .hotel-button {
    width: 100%;
  }
}

/* ── Главная страница: шапка-коллаж из архивных и современных фото ── */

.hotel-header--home .hotel-header__collage {
  position: relative;
}

.hotel-header--home .hotel-header__actions {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 6;
}

.hotel-header--home .hotel-burger {
  background: color-mix(in srgb, var(--hotel-surface) 90%, transparent);
  backdrop-filter: blur(6px);
}

/* Скрываемый блок 5 гостиниц/фото в шапке: сворачивается при прокрутке
   вниз, чтобы освободить экран, и раскрывается при возврате в самый
   верх страницы (см. .hotel-header--home.is-collage-collapsed ниже). */
.hotel-header__collage-collapse {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .3s cubic-bezier(.22, .61, .36, 1);
}

.hotel-header__collage-collapse-inner {
  overflow: hidden;
}

.hotel-header__collage-source {
  margin: .4rem 0 .15rem;
  color: var(--hotel-muted);
  font-size: .7rem;
  line-height: 1.35;
}

.hotel-header--home.is-collage-collapsed .hotel-header__collage-collapse {
  grid-template-rows: 0fr;
  overflow: hidden;
}

.hotel-header--home.is-collage-collapsed .hotel-header__collage-collapse-inner {
  visibility: hidden;
  pointer-events: none;
  overflow: hidden;
}

.hotel-collage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  margin: .55rem 0;
  padding: 0;
  list-style: none;
  opacity: 1;
  transition: opacity .22s ease;
}

.hotel-header--home.is-collage-collapsed .hotel-collage,
.hotel-header--home.is-collage-collapsed .hotel-header__collage-source {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .14s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hotel-header__collage-collapse,
  .hotel-collage {
    transition: none;
  }
}

.hotel-collage__item {
  position: relative;
  height: 132px;
  overflow: hidden;
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface-soft);
}

.hotel-collage__item > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.hotel-collage__item > a > picture {
  display: block;
  height: 100%;
}

.hotel-collage__item > a:focus-visible {
  outline: 3px solid var(--hotel-accent);
  outline-offset: -3px;
}

.hotel-collage__item img,
.hotel-collage__item .hotel-ph {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hotel-collage__item .hotel-ph {
  display: flex;
  box-sizing: border-box;
  object-fit: unset;
}

.hotel-collage__item--bw img {
  filter: grayscale(1) contrast(1.06);
}

.hotel-collage__item--color img {
  filter: saturate(.82) contrast(1.03);
}

.hotel-collage__meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: 1.4rem .7rem .5rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--hotel-text) 84%, transparent), transparent);
  color: #fff;
  line-height: 1.2;
}

.hotel-collage__year {
  font-size: .8125rem;
  font-weight: 750;
  letter-spacing: .03em;
}

.hotel-collage__label {
  font-size: .75rem;
  color: color-mix(in srgb, var(--hotel-surface) 88%, transparent);
}

.hotel-collage__stars {
  display: block;
  margin: 0 0 .12rem;
  font-size: .72rem;
  letter-spacing: .08em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .45);
}

/* Закрашенные ★ — плотный белый */
.hotel-collage__stars--filled {
  font-weight: 700;
  color: #fff;
}

/* Без категории — контурная ☆ (не заливка ★) */
.hotel-collage__stars--outline {
  font-weight: 400;
  color: #fff;
  opacity: .92;
}

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

.hotel-collage__empty {
  grid-column: 1 / -1;
  padding: 1rem;
  color: var(--hotel-muted);
  font-size: .875rem;
}

@media (max-width: 1079px) {
  .hotel-collage__item {
    height: 108px;
  }

  .hotel-collage__year {
    font-size: .75rem;
  }

  .hotel-collage__label {
    font-size: .6875rem;
  }
}

@media (max-width: 640px) {
  .hotel-collage {
    display: flex;
    gap: 3px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .hotel-collage__item {
    flex: 0 0 76%;
    height: 96px;
    scroll-snap-align: start;
  }

  .hotel-collage__meta {
    padding: 1.1rem .6rem .45rem;
  }
}

/* ── Внутренняя страница: крошки, таймлайн, галерея, статья, источники ── */

.hotel-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .75rem;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  line-height: 1.4;
  color: var(--hotel-muted);
}

.hotel-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.hotel-breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--hotel-border);
}

.hotel-breadcrumbs a {
  color: var(--hotel-muted);
  text-decoration: none;
}

.hotel-breadcrumbs a:hover,
.hotel-breadcrumbs a:focus-visible {
  color: var(--hotel-accent);
  text-decoration: underline;
}

.hotel-breadcrumbs [aria-current="page"] {
  color: var(--hotel-text);
  font-weight: 650;
}

.hotel-updated {
  display: inline-block;
  margin-top: .25rem;
  font-size: .8125rem;
  color: var(--hotel-muted);
}

.hotel-timeline {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--hotel-border);
}

.hotel-timeline__item {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--hotel-border);
}

.hotel-timeline__year {
  font-weight: 750;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--hotel-accent);
}

.hotel-timeline__body h3 {
  margin-bottom: .3rem;
}

.hotel-timeline__body p {
  color: var(--hotel-muted);
}

.hotel-gallery {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 700px) {
  .hotel-gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  /* Equal frame height when source photos have different aspect ratios */
  .hotel-gallery--2 .hotel-figure img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

@media (min-width: 1000px) {
  .hotel-gallery--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
  }

  .hotel-gallery--3 .hotel-figure img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }
}

.hotel-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.hotel-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface-soft);
}

.hotel-figure figcaption {
  font-size: .8125rem;
  line-height: 1.5;
  color: var(--hotel-muted);
}

.hotel-figure figcaption strong {
  display: block;
  color: var(--hotel-text);
  font-weight: 650;
}

.hotel-figure .hotel-ph {
  min-height: 220px;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
}

.hotel-prose {
  max-width: none;
}

/* Текстовые блоки — на всю ширину контейнера, как вводный абзац */
.hotel-section__head,
.hotel-section__head > p,
.hotel-faq-layout__intro,
.hotel-faq-layout__intro p,
.hotel-prose,
.hotel-cta-panel__copy,
.hotel-prices-check > p,
.hotel-lead,
.hotel-note {
  max-width: none;
  width: 100%;
}

.hotel-prose > p:not(.hotel-eyebrow),
.hotel-prose > ul {
  color: var(--hotel-muted);
  line-height: 1.55;
}

.hotel-lead,
.hotel-section__head > p:not(.hotel-eyebrow),
.hotel-prose > p:not(.hotel-eyebrow),
.hotel-note,
.hotel-prices-check > p,
.hotel-faq-layout__intro p {
  text-align: justify;
  text-align-last: left;
}

.hotel-prose h2 {
  margin-bottom: .55em;
  line-height: 1.25;
}

.hotel-prose--offset {
  margin-top: 1.5rem;
}

.hotel-prose p + h2,
.hotel-prose ul + h2,
.hotel-prose p + h3,
.hotel-prose ul + h3 {
  margin-top: 1.45em;
}

.hotel-prose h3 {
  margin: 0 0 .55em;
  line-height: 1.3;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hotel-prose + .hotel-card-grid {
  margin-top: 1.35rem;
}

.hotel-list {
  display: grid;
  gap: .55rem;
  margin: .85rem 0;
  padding: 0;
  list-style: none;
}

.hotel-list li {
  padding-left: 1rem;
  border-left: 2px solid var(--hotel-border);
  line-height: 1.55;
}

.hotel-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .hotel-split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 2.75rem);
  }
}

.hotel-sources {
  display: grid;
  gap: .6rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hotel-sources li {
  padding-left: 1rem;
  border-left: 2px solid var(--hotel-border);
  font-size: .9375rem;
  color: var(--hotel-muted);
}

.hotel-sources a {
  overflow-wrap: anywhere;
}

.hotel-cta-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.35rem, 4vw, 2rem);
  background: var(--hotel-surface);
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-lg);
  box-shadow: var(--hotel-shadow-soft);
}

.hotel-cta-panel__copy {
  max-width: none;
  width: 100%;
}

.hotel-cta-panel__copy h2 {
  margin-bottom: .35rem;
}

.hotel-cta-panel__copy p {
  color: var(--hotel-muted);
}

/* Таблица (градация услуг / факты гостиницы) */
.hotel-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface);
}

.hotel-table {
  width: 100%;
  min-width: 660px;
  border-collapse: collapse;
  font-size: .9375rem;
}

/* Персональные страницы: блок «Адрес и расположение» без горизонтального скролла */
.hotel-personal-page .hotel-hotel__info .hotel-table-wrap {
  overflow-x: visible;
}

.hotel-personal-page .hotel-hotel__info .hotel-table {
  min-width: 0;
}

@media (max-width: 640px) {
  .hotel-personal-page .hotel-hotel__info .hotel-table-wrap {
    border: 0;
    background: transparent;
    overflow-x: visible;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table,
  .hotel-personal-page .hotel-hotel__info .hotel-table tbody,
  .hotel-personal-page .hotel-hotel__info .hotel-table tr,
  .hotel-personal-page .hotel-hotel__info .hotel-table th,
  .hotel-personal-page .hotel-hotel__info .hotel-table td {
    display: block;
    width: 100%;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table {
    min-width: 0;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table caption {
    text-align: left;
    padding: 0 0 .5rem;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table tr {
    margin: 0;
    padding: .7rem 0;
    border-top: 1px solid var(--hotel-border);
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table tr:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table th,
  .hotel-personal-page .hotel-hotel__info .hotel-table td {
    padding: 0;
    border: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table th {
    margin-bottom: .2rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--hotel-muted);
  }

  .hotel-personal-page .hotel-hotel__info .hotel-table td {
    font-size: .9375rem;
    color: var(--hotel-text);
  }

  .hotel-personal-page .hotel-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .65rem;
  }

  .hotel-personal-page .hotel-actions .hotel-button {
    width: 100%;
    text-align: center;
  }
}

.hotel-table th,
.hotel-table td {
  padding: .85rem 1.15rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid var(--hotel-border);
}

.hotel-table thead th {
  border-top: none;
  background: var(--hotel-surface-soft);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--hotel-muted);
}

.hotel-table tbody th {
  font-weight: 650;
  color: var(--hotel-text);
  white-space: nowrap;
}

/* Шапка и столбец звёзд — по центру колонки, белый фон (Всё о гостиницах) */
#stars .hotel-table thead th {
  text-align: center;
  vertical-align: middle;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: .875rem;
  background: var(--hotel-surface);
}

#stars .hotel-table tbody th {
  text-align: center;
  vertical-align: middle;
}

#stars .hotel-stars-legend {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.28rem;
}

#stars .hotel-stars-legend .hotel-card__title-stars {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

#stars .hotel-stars-legend .hotel-card__title-stars--1 {
  color: color-mix(in oklab, var(--hotel-muted) 42%, transparent);
}

#stars .hotel-stars-legend__label {
  display: block;
  font-weight: 700;
  color: var(--hotel-text);
  white-space: nowrap;
}

.hotel-table td {
  color: var(--hotel-muted);
}

/* Списки внутри карточек услуг */
.hotel-card__body ul {
  display: grid;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-card__body ul li {
  position: relative;
  padding-left: 0;
  font-size: .9375rem;
  color: var(--hotel-muted);
}

.hotel-card__body ul li::before {
  display: none;
}

.hotel-amenity-groups > h3 {
  margin: 1.35rem 0 .45rem;
}

.hotel-amenity-groups > h3:first-child {
  margin-top: .35rem;
}

.hotel-amenity-groups > p,
.hotel-amenity-group > p {
  margin: 0 0 .55rem;
  text-align: left;
  text-align-last: auto;
}

.hotel-amenity-groups .hotel-chips,
.hotel-amenity-group .hotel-chips {
  margin: 0 0 .15rem;
}

.hotel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-chip {
  display: inline-block;
  padding: .15rem .55rem;
  border: 1px solid var(--hotel-border);
  border-radius: 999px;
  background: var(--hotel-surface-soft);
  font-size: .72rem;
  font-weight: 650;
  color: var(--hotel-muted);
}

.hotel-note {
  margin-top: 1.25rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--hotel-border);
  border-left: 3px solid var(--hotel-sand);
  border-radius: var(--hotel-radius-sm);
  background: var(--hotel-surface);
  font-size: .875rem;
  color: var(--hotel-muted);
}

.hotel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.hotel-amenity-groups {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 780px) {
  .hotel-amenity-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hotel-amenity-group {
  min-width: 0;
}

.hotel-amenity-group h3 {
  margin: 0 0 .55rem;
  font-size: .95rem;
}

.hotel-policy-list {
  display: grid;
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hotel-policy-list li {
  padding: .9rem 1.05rem;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  background: var(--hotel-surface);
}

.hotel-policy-list strong {
  display: block;
  margin-bottom: .25rem;
  font-size: .875rem;
}

.hotel-policy-list span {
  color: var(--hotel-muted);
  font-size: .9rem;
  line-height: 1.45;
}

/* Карта и кнопки маршрута */
.hotel-map {
  width: 100%;
  border: 1px solid var(--hotel-border);
  border-radius: var(--hotel-radius-md);
  overflow: hidden;
  background: var(--hotel-surface-soft);
}

.hotel-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.hotel-route-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .hotel-map iframe {
    height: 300px;
  }
}

/* Мини-карта на странице гостиницы */
.hotel-minimap {
  margin: 1.5rem 0 0;
}

.hotel-minimap .hotel-map iframe {
  height: 340px;
}

.hotel-minimap figcaption {
  margin-top: .6rem;
  font-size: .875rem;
  color: var(--hotel-muted);
}

@media (max-width: 640px) {
  .hotel-minimap .hotel-map iframe {
    height: 240px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Home prices-from + stay-book widget (from hotels-palette, unscoped) */
.hotel-prices-from .hotel-prices-from__value {
  font-weight: 700;
  white-space: nowrap;
}
.hotel-prices-from .hotel-prices-from__unit {
  color: var(--hotel-muted, #556670);
  font-weight: 500;
  white-space: nowrap;
}
.hotel-prices-from .hotel-prices-from__value--soft {
  font-weight: 600;
  color: var(--hotel-muted, #556670);
}
.hotel-prices-check {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.hotel-prices-check h3 {
  margin: 0 0 0.4rem;
}
.hotel-prices-check > p {
  margin: 0 0 1rem;
  max-width: none;
  width: 100%;
}
.hotel-section#prices .hotel-note {
  margin-top: 0.85rem;
}
.hotel-stay-book {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.95rem 1.1rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--hotel-border, #d7e7ef);
  color: var(--hotel-text, #1e2a31);
  box-shadow: var(--hotel-strip-card-shadow-on-soft, 0 10px 28px rgba(23, 118, 168, 0.08));
}

.hotel-stay-book__fields {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem 1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.hotel-stay-book__field {
  display: grid;
  gap: 0.35rem;
  min-width: min(100%, 10.5rem);
  flex: 1 1 10.5rem;
}

.hotel-stay-book__field--guests {
  flex: 1 1 14rem;
  min-width: min(100%, 13.5rem);
}

.hotel-stay-book__label {
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
  color: var(--hotel-muted, #556670);
  line-height: 1.2;
}

.hotel-stay-book__control {
  position: relative;
  display: block;
}

.hotel-stay-book__input,
.hotel-stay-book__select {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 2.4rem 0.55rem 0.75rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 12px;
  background: #fff;
  color: var(--hotel-text, #1e2a31);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

.hotel-stay-book__input::placeholder {
  color: #8b97a1;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hotel-stay-book__select {
  appearance: none;
  -webkit-appearance: none;
  color: #8b97a1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%238b97a1' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  background-size: 1rem;
  cursor: pointer;
}

.hotel-stay-book__select option {
  color: #8b97a1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hotel-stay-book__cal {
  position: absolute;
  top: 50%;
  right: 0.45rem;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--hotel-muted, #556670);
  cursor: pointer;
}

.hotel-stay-book__cal svg {
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
}

.hotel-stay-book__cal:hover,
.hotel-stay-book__cal:focus-visible {
  color: var(--hotel-accent, #1776a8);
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 10%, transparent);
}

.hotel-stay-book__input:focus,
.hotel-stay-book__select:focus {
  outline: 2px solid color-mix(in srgb, var(--hotel-accent, #1776a8) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--hotel-accent, #1776a8);
}

.hotel-stay-book__input.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.25);
}

.hotel-stay-book__input.is-invalid:focus {
  outline-color: #c0392b;
  border-color: #c0392b;
}

.hotel-stay-book__error {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border: 1px solid #e3b4b0;
  border-radius: 10px;
  background: #fdf2f1;
  color: #8e2a22;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  flex: 1 1 100%;
  order: -1;
}

.hotel-stay-book__error[hidden] {
  display: none !important;
}

.hotel-stay-book__popover {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  z-index: 40;
  width: min(18.5rem, calc(100vw - 2rem));
  padding: 0.75rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 118, 168, 0.16);
  color: var(--hotel-text, #1e2a31);
}

.hotel-stay-book__popover[hidden] {
  display: none;
}

.hotel-stay-book__cal-head {
  display: grid;
  grid-template-columns: 2rem 1fr 2rem;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.hotel-stay-book__cal-title {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: capitalize;
}

.hotel-stay-book__cal-nav {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 8px;
  background: #fff;
  color: var(--hotel-text, #1e2a31);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
}

.hotel-stay-book__cal-nav:hover,
.hotel-stay-book__cal-nav:focus-visible {
  border-color: var(--hotel-accent, #1776a8);
  color: var(--hotel-accent, #1776a8);
}

.hotel-stay-book__cal-weekdays,
.hotel-stay-book__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.15rem;
}

.hotel-stay-book__cal-weekdays {
  margin-bottom: 0.25rem;
}

.hotel-stay-book__cal-weekdays span {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hotel-muted, #556670);
  text-transform: lowercase;
}

.hotel-stay-book__cal-weekdays .is-weekend,
.hotel-stay-book__cal-day.is-weekend {
  color: #c45b5b;
}

.hotel-stay-book__cal-day {
  min-height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

button.hotel-stay-book__cal-day:hover,
button.hotel-stay-book__cal-day:focus-visible {
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 14%, transparent);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__cal-day.is-selected {
  background: color-mix(in srgb, var(--hotel-accent, #1776a8) 18%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--hotel-accent, #1776a8);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__cal-day.is-disabled,
.hotel-stay-book__cal-day.is-empty {
  cursor: default;
  color: #b7c2c9;
  background: transparent;
}

.hotel-stay-book__cal-foot {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.55rem;
}

.hotel-stay-book__cal-clear {
  min-height: 2rem;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 8px;
  background: #f3f6f8;
  color: var(--hotel-text, #1e2a31);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.hotel-stay-book__cal-clear:hover,
.hotel-stay-book__cal-clear:focus-visible {
  border-color: var(--hotel-accent, #1776a8);
  color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid var(--hotel-accent, #1776a8);
  border-radius: 12px;
  background: var(--hotel-accent, #1776a8);
  color: #fff;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hotel-stay-book__submit:hover,
.hotel-stay-book__submit:focus-visible {
  background: var(--hotel-accent-dark, #125a80);
  border-color: var(--hotel-accent-dark, #125a80);
}

.hotel-stay-book__submit:focus-visible {
  outline: 2px solid var(--hotel-accent, #1776a8);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .hotel-stay-book {
    flex-direction: column;
    align-items: stretch;
    border-radius: 16px;
  }

  .hotel-stay-book__fields {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hotel-stay-book__field,
  .hotel-stay-book__field--guests {
    min-width: 0;
    flex: none;
  }

  .hotel-stay-book__submit {
    width: 100%;
  }
}

/* Booking page: modernized room rates + book CTA */
.hotel-book-rates {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
}

.hotel-book-rates__row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(8rem, 0.8fr) auto;
  align-items: center;
  gap: 0.85rem 1.1rem;
  padding: 0.95rem 1.15rem;
  border: 1px solid var(--hotel-border, #d7e7ef);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(23, 118, 168, 0.06);
}

.hotel-book-rates__row:nth-child(even) {
  background: color-mix(in srgb, var(--hotel-surface-soft, #eef7fc) 55%, #fff);
}

.hotel-book-rates__main {
  min-width: 0;
}

.hotel-book-rates__tag {
  display: inline-block;
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hotel-muted, #556670);
}

.hotel-book-rates__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--hotel-text, #1e2a31);
}

.hotel-book-rates__price {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
  text-align: right;
  white-space: nowrap;
}

.hotel-book-rates__price strong {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.hotel-book-rates__from,
.hotel-book-rates__unit {
  color: var(--hotel-muted, #556670);
  font-weight: 550;
  font-size: 0.9rem;
}

.hotel-book-rates__price--soft {
  color: var(--hotel-muted, #556670);
  font-weight: 600;
  white-space: normal;
}

.hotel-book-rates__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--hotel-accent, #1776a8);
  border-radius: 10px;
  background: var(--hotel-accent, #1776a8);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.hotel-book-rates__btn:hover,
.hotel-book-rates__btn:focus-visible {
  background: var(--hotel-accent-dark, #125a80);
  border-color: var(--hotel-accent-dark, #125a80);
}

.hotel-book-rates__btn:focus-visible {
  outline: 2px solid var(--hotel-accent, #1776a8);
  outline-offset: 3px;
}

.hotel-prices-check.is-dater-pulse .hotel-stay-book {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hotel-accent, #1776a8) 35%, transparent),
    var(--hotel-strip-card-shadow-on-soft, 0 10px 28px rgba(23, 118, 168, 0.08));
}

@media (max-width: 820px) {
  .hotel-book-rates__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "main btn"
      "price btn";
  }

  .hotel-book-rates__main { grid-area: main; }
  .hotel-book-rates__price { grid-area: price; text-align: left; }
  .hotel-book-rates__btn { grid-area: btn; align-self: center; }
}

@media (max-width: 520px) {
  .hotel-book-rates__row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "price"
      "btn";
  }

  .hotel-book-rates__btn {
    width: 100%;
  }
}
