/*
 * Guest-facing theme aligned with admin-next.
 * Loaded after styles.css so the booking logic and existing layout primitives
 * stay intact while the public site uses the same visual system as the admin.
 */

:root {
  --bg: #efefef;
  --bg-card: #ffffff;
  --bg-dark: #2f2f2f;
  --bg-dark-2: #272727;
  --ink: #333333;
  --ink-soft: #767676;
  --ink-mute: #5f5f5f;
  --accent: #b23636;
  --accent-soft: #f2cccc;
  --accent-deep: #9b2d2e;
  --accent-text: #9b2d2e;
  --line: #e0e0e0;
  --line-strong: #cfcfcf;
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05), 0 2px 10px rgba(0, 0, 0, 0.035);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 18px 54px rgba(0, 0, 0, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 10px;
  --serif: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --header-h: 72px;
}

html {
  background: #efefef;
}

body {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3,
h4,
.booking-title,
.footer-brand,
.footer-phone,
.room-detail-title,
.room-detail-price strong,
.room-other-title {
  font-family: var(--sans);
  font-variation-settings: normal;
  font-style: normal;
}

.section-title,
.results-title,
.cta-banner-title,
.footer-cta-title {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.section-title em,
.hero-title em,
.cta-banner-title em,
.footer-cta-title em {
  color: var(--accent);
  font-style: normal;
  font-weight: inherit;
}

.kicker {
  padding: 6px 10px;
  border: 1px solid #edcaca;
  border-radius: 8px;
  background: #f8e7e7;
  color: var(--accent-text);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.kicker-light {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.kicker-light .dot {
  background: #fff;
}

.btn-primary,
.btn-book-header,
.btn-book-header-static,
.cta-banner-alt,
.footer-cta-btn {
  border-radius: 10px;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary:hover,
.btn-book-header:hover,
.btn-book-header-static:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 18px rgba(178, 54, 54, 0.22);
}

/* Header */
.header {
  top: 0;
  min-height: var(--header-h);
  padding: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  width: min(calc(100% - 40px), 1280px);
  min-height: var(--header-h);
  padding: 0;
  gap: 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-desktop {
  margin-left: auto;
  gap: 2px;
}

.nav-desktop a {
  padding: 9px 11px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.nav-desktop a:hover {
  background: #f5f5f5;
  color: var(--ink);
}

.nav-desktop a.nav-lk {
  width: 36px;
  height: 36px;
  margin-left: 5px;
  border-color: var(--line-strong);
  border-radius: 10px;
  color: var(--ink-soft);
}

.btn-book-header,
.btn-book-header-static {
  padding: 10px 16px;
  font-size: 13px;
}

.nav-mobile.is-open {
  top: calc(var(--header-h) + 8px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.nav-mobile a {
  border-radius: 10px;
}

.nav-mobile a:hover {
  background: #f5f5f5;
  color: var(--accent);
}

/* Hero - на компьютере ровно в экран: 16px отступа под шапкой и до нижнего края окна.
   Отступ до блока номеров больше - он уже ниже края окна и на первый экран не влияет. */
.hero {
  width: min(calc(100% - 32px), 1360px);
  min-height: calc(100vh - var(--header-h) - 32px);
  margin: calc(var(--header-h) + 16px) auto 40px;
  padding-top: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.hero-bg,
.hero-bg img,
.hero-overlay {
  border-radius: inherit;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(25, 25, 25, 0.86) 0%, rgba(25, 25, 25, 0.65) 46%, rgba(25, 25, 25, 0.34) 100%),
    linear-gradient(0deg, rgba(178, 54, 54, 0.18), rgba(178, 54, 54, 0.04));
}

.hero-content {
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 64px;
  max-width: 1240px;
  padding: 48px;
}

.hero-text {
  max-width: 680px;
}

.hero-text .kicker {
  margin-bottom: 20px;
}

.hero-title {
  max-width: 670px;
  margin-bottom: 22px;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.28);
}

.hero-title em {
  color: #f19a9a;
}

.hero-lead {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.7;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.hero-facts span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5a6a6;
}

.booking-card {
  width: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
}

.booking-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.booking-sub {
  margin-top: 5px;
  color: var(--ink-soft);
}

.date-field input,
.guests,
.booking-presets .bp-chip {
  border-color: var(--line);
  border-radius: 10px;
  background: #f8f8f8;
}

.date-field input:hover,
.date-field input:focus,
.guests:focus-within {
  border-color: #c7c7c7;
  background: #fff;
}

.guests button {
  border-radius: 7px;
  background: #ededed;
}

.booking-submit {
  min-height: 46px;
}

.booking-direct-note {
  color: var(--ink-soft);
}

/* Shared section rhythm */
.section-title {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.04;
}

.amenities-section,
.reviews-section,
.faq-section,
.contacts-section {
  padding: 72px 24px;
  background: transparent;
}

/* Rooms - та же ширина, что у первого экрана */
.concept-section {
  width: min(calc(100% - 32px), 1360px);
  max-width: none;
  margin: 0 auto 24px;
  padding: 40px 32px 72px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.concept-head {
  max-width: none;
  margin-bottom: 36px;
}

/* На компьютере заголовок в одну строку, перенос из разметки - только на телефоне */
.concept-head .section-title br {
  display: none;
}

/* 6 условных колонок: премиум по 3 (два в ряд), стандарт по 2 (три в ряд) */
.cities-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.concept-section .cities-grid {
  max-width: none;
}

/* width: 100% - ширину задаёт ячейка сетки; иначе, если пропорция даёт высоту меньше
   min-height, браузер расширяет плитку по пропорции и она вылезает за экран */
.cities-grid .city-tile {
  grid-column: span 2;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.cities-grid .city-tile--vip {
  grid-column: span 3;
  aspect-ratio: 16 / 11;
}

.city-tile {
  min-height: 260px;
  border: 1px solid #d9d9d9;
  border-radius: 16px;
  box-shadow: none;
}

.city-tile:hover {
  transform: translateY(-3px);
  border-color: #c8c8c8;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.city-tile--vip {
  min-height: 340px;
}

.ct-overlay {
  background: linear-gradient(to top, rgba(24, 24, 24, 0.94), rgba(24, 24, 24, 0.06) 76%);
}

.ct-content {
  padding: 20px;
}

.ct-badge {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 7px;
  background: rgba(178, 54, 54, 0.88) !important;
  color: #fff !important;
  font-size: 9px;
  letter-spacing: 0.1em;
}

.ct-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.ct-tagline {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.ct-more {
  margin-top: 12px;
  color: #f3b5b5;
  font-size: 11px;
}

/* Премиум-номера (Москва, Санкт-Петербург): тонкая рамка внутри фото, плашка и цена
   сверху, крупное название города, площадь/гости и кнопка */
.city-tile--vip {
  min-height: 400px;
  border: 0;
  box-shadow: 0 14px 40px rgba(60, 14, 16, 0.18);
}

.city-tile--vip::after {
  content: '';
  position: absolute;
  inset: 10px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  pointer-events: none;
}

.city-tile--vip:hover {
  box-shadow: 0 22px 54px rgba(60, 14, 16, 0.28);
}

.city-tile--vip .ct-overlay {
  background:
    linear-gradient(to top, rgba(22, 14, 16, 0.94) 0%, rgba(22, 14, 16, 0.55) 42%, rgba(22, 14, 16, 0.05) 72%),
    linear-gradient(to bottom, rgba(22, 14, 16, 0.5), transparent 28%);
}

.ct-vip-top {
  position: absolute;
  top: 28px;
  left: 30px;
  right: 30px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.city-tile--vip .ct-badge {
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  font-size: 10px;
  letter-spacing: 0.14em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ct-price {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.ct-price small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 600;
}

.city-tile--vip .ct-content {
  left: 30px;
  right: 30px;
  bottom: 30px;
  padding: 0;
}

.city-tile--vip .ct-name {
  margin-bottom: 8px;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.city-tile--vip .ct-tagline {
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.ct-meta {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  font-weight: 600;
}

.city-tile--vip .ct-more {
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0;
  transition: background 160ms;
}

.city-tile--vip:hover .ct-more {
  background: var(--accent-deep);
}

.concept-cta .btn-primary {
  min-height: 48px;
}

/* Amenities */
.amenities-inner,
.reviews-inner,
.faq-inner,
.contacts-inner {
  max-width: var(--container);
}

.amenities-head,
.reviews-head,
.contacts-head {
  margin-bottom: 34px;
}

.amenities-lead,
.faq-lead,
.contacts-lead {
  color: var(--ink-soft);
  font-size: 15px;
}

.amenities-grid {
  gap: 14px;
}

.amenity-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.amenity-card:hover {
  transform: translateY(-2px);
  border-color: #cfcfcf;
  box-shadow: var(--shadow-md);
}

.amenity-card--hero {
  border-color: #a92f30;
  background: linear-gradient(145deg, #b23636 0%, #922829 100%);
  box-shadow: 0 10px 28px rgba(178, 54, 54, 0.18);
}

.amenity-card--hero::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 68%);
}

.ah-icon,
.am-icon {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8e7e7;
  color: var(--accent);
}

.amenity-card--hero .ah-icon {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.ah-badge,
.am-tag {
  border-radius: 7px;
}

.am-title,
.ah-title {
  font-weight: 800;
  letter-spacing: -0.025em;
}

.am-text {
  color: var(--ink-soft);
}

/* Reviews - 6 карточек с текстами с Яндекс Карт, на ПК 3 x 2 */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin-bottom: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.rs-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.rs-score b {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.rs-star {
  color: var(--accent);
  font-size: 22px;
}

.rs-meta {
  color: var(--ink-soft);
  font-size: 14px;
}

.rs-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rs-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 160ms, background 160ms, color 160ms;
}

.rs-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.rs-btn--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.rs-btn--primary:hover {
  background: var(--accent-deep);
  color: #fff;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Вся карточка кликабельна: ссылка .rc-source растянута на неё через ::after */
.review-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms, box-shadow 160ms;
}

.review-card:hover {
  border-color: #edcaca;
  box-shadow: var(--shadow-md);
}

.rc-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Аватар автора грузится с Яндекса; если картинка не загрузилась (onerror удаляет img) -
   под ней остаётся первая буква имени */
.rc-avatar {
  position: relative;
  overflow: hidden;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f8e7e7;
  color: var(--accent);
  font-size: 16px;
  font-weight: 800;
}

.rc-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.rc-date {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 12px;
}

.rc-stars {
  margin-top: -4px;
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
  letter-spacing: 2px;
}

/* Переносы строк автора сохраняем; длинные отзывы свёрнуты до 6 строк */
.rc-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  margin: 0;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-line;
}

.rc-more {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.rc-more[hidden] {
  display: none;
}

.rc-more:hover {
  text-decoration: underline;
}

.rc-source {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms;
}

.rc-source::after {
  content: '';
  position: absolute;
  inset: 0;
}

.review-card:hover .rc-source {
  color: var(--accent);
}

/* Mid-page CTA */
.cta-banner {
  width: min(calc(100% - 48px), var(--container));
  max-width: var(--container);
  margin: 24px auto;
  padding: 72px 32px;
  border: 1px solid #9b2d2e;
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(105, 28, 29, 0.18);
}

.cta-banner-bg,
.cta-banner-bg img,
.cta-banner-overlay {
  border-radius: inherit;
}

.cta-banner-bg img {
  filter: grayscale(0.45) brightness(0.42);
}

.cta-banner-overlay {
  background: linear-gradient(135deg, rgba(178, 54, 54, 0.94), rgba(106, 28, 29, 0.9));
}

.cta-banner-content {
  max-width: 820px;
}

.cta-banner-title em {
  color: #fff;
}

.cta-banner-alt {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.cta-banner-trust {
  border-color: rgba(255, 255, 255, 0.22);
}

/* FAQ */
.faq-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
  gap: 52px;
}

.faq-head {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  max-width: none;
  margin: 0;
  text-align: left;
}

.faq-title {
  margin-top: 0;
  text-align: left;
}

.faq-lead {
  margin-left: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item,
.faq-item:first-child {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.faq-q {
  min-height: 64px;
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 700;
}

.faq-q:hover {
  color: var(--accent);
  background: #fbfbfb;
}

.faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #f5f5f5;
}

.faq-item[open] .faq-icon {
  background: #f8e7e7;
}

.faq-a {
  padding: 0 20px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
}

/* Contacts */
.contacts-inner {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.contacts-grid {
  gap: 16px;
}

.contacts-list {
  gap: 10px;
}

.contact-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
  box-shadow: none;
}

.contact-item:hover {
  transform: translateY(-1px);
  border-color: #c9c9c9;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ci-icon {
  border: 1px solid #efcaca;
  border-radius: 10px;
  background: #f8e7e7;
  color: var(--accent);
}

.ci-label {
  color: var(--ink-soft);
}

.ci-value {
  font-family: var(--sans);
  font-weight: 700;
}

.contact-note {
  border: 1px solid #a62e2f;
  border-radius: 14px;
  background: var(--accent);
}

.contact-note svg {
  color: #fff;
}

.contacts-map {
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: none;
}

.map-open {
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  margin-top: 24px;
  padding-top: 48px;
  border-top: 4px solid var(--accent);
  background: #303030;
}

.footer-cta {
  border: 1px solid #a12d2e;
  border-radius: 16px;
  background: var(--accent);
}

.footer-cta::before {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.footer-cta-title,
.footer-brand {
  font-weight: 800;
}

.footer-cta-title em,
.footer-cta-call:hover,
.footer-phone,
.footer-h {
  color: #f3b5b5;
}

.footer-inner {
  grid-template-columns: minmax(0, 2fr) minmax(200px, 1fr) minmax(200px, 1fr);
}

/* Results modal, search and cards */
.rm-backdrop,
.bd-backdrop {
  background: rgba(20, 20, 20, 0.58);
}

.rm-panel {
  border: 1px solid var(--line);
  border-radius: 20px 20px 0 0;
  background: #efefef;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.2);
}

.rm-close,
.bd-close,
.bd-back {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.results-head {
  margin-bottom: 26px;
}

.results-title {
  color: var(--ink);
}

.search-pill {
  padding: 7px;
  border-color: var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.sp-cell {
  border-radius: 10px;
}

.sp-cell:hover {
  background: #f5f5f5;
}

.sp-search {
  border-radius: 10px;
  background: var(--accent);
}

.card-premium,
.card-std {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.card-premium:hover,
.card-std:hover {
  transform: translateY(-2px);
  border-color: #c8c8c8;
  box-shadow: var(--shadow-md);
}

.card-premium .cp-info,
.card-premium.moscow .cp-info,
.card-premium.spb .cp-info,
.card-std .cs-body {
  background: #fff;
}

.card-premium .cp-name,
.card-premium.moscow .cp-name,
.card-premium.spb .cp-name,
.card-std .cs-name {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 800;
}

.card-premium .cp-badge,
.card-premium.moscow .cp-badge,
.card-premium.spb .cp-badge,
.card-std .cs-tag,
.room-detail-badge,
.room-benefit {
  border-radius: 7px;
  background: #f8e7e7;
  color: var(--accent);
}

.room-gallery,
.cs-gallery > .room-gallery {
  border-radius: 14px;
}

.rg-arrow {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
}

/* Booking drawer */
.bd-panel {
  border-left: 1px solid var(--line);
  background: #f5f5f5;
  box-shadow: -18px 0 54px rgba(0, 0, 0, 0.16);
}

.bd-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.bd-title {
  font-family: var(--sans);
  font-weight: 800;
}

.bd-room,
.bd-section,
.bd-summary,
.bd-guest-form {
  border-color: var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

/* Individual apartment pages */
.room-breadcrumb {
  margin-top: var(--header-h);
  padding-top: 24px;
  color: var(--ink-soft);
}

.room-detail {
  padding-top: 18px;
}

.room-detail-hero {
  gap: 34px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.room-detail-hero .room-gallery {
  border: 1px solid var(--line);
  border-radius: 16px;
}

.room-detail-title {
  font-weight: 800;
  letter-spacing: -0.04em;
}

.room-detail-price strong {
  color: var(--accent);
  font-weight: 800;
}

.room-detail-meta {
  gap: 8px;
}

.room-detail-meta span,
.room-feature {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7f7f7;
}

.room-detail-features {
  gap: 8px;
}

.room-detail-features .room-feature {
  min-width: 0;
}

.room-booking-widget {
  max-width: none;
  background: #fafafa;
  box-shadow: none;
}

.room-other-section {
  margin-top: 28px;
  padding-bottom: 56px;
}

.room-other-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

/* Floating contact button */
.fab {
  border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(70, 17, 18, 0.3);
}

@media (max-width: 1100px) {
  .header-inner {
    gap: 14px;
  }

  .nav-desktop a {
    padding-inline: 8px;
  }

  .hero-content {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 36px;
    padding-inline: 36px;
  }

  .booking-card {
    width: 390px;
  }
}

@media (max-width: 880px) {
  .header-inner {
    width: min(calc(100% - 28px), 1280px);
  }

  .hero {
    min-height: 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 28px 30px;
  }

  .hero-text {
    max-width: 700px;
  }

  .hero-title {
    font-size: clamp(38px, 8vw, 58px);
  }

  .booking-card {
    width: 100%;
    max-width: 620px;
  }

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

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

  .cities-grid .city-tile {
    grid-column: span 1;
  }

  .cities-grid .city-tile--vip {
    grid-column: span 2;
  }

  .faq-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .faq-head {
    position: static;
  }

  .room-detail-hero {
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .amenities-section,
  .reviews-section,
  .faq-section,
  .contacts-section {
    padding: 52px 16px;
  }

  .concept-section,
  .cta-banner {
    width: calc(100% - 32px);
    padding: 52px 18px;
  }

  .concept-head .section-title br {
    display: inline;
  }

  .contacts-inner {
    padding: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .room-detail-hero {
    border-radius: 16px;
  }
}

@media (max-width: 560px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    min-height: var(--header-h);
  }

  .brand {
    max-width: calc(100vw - 98px);
    white-space: normal;
    font-size: 11px;
    line-height: 1.15;
  }

  .hero {
    width: calc(100% - 16px);
    margin-top: calc(var(--header-h) + 8px);
    margin-bottom: 8px;
    border-radius: 18px;
  }

  .hero-content {
    padding: 48px 16px 16px;
  }

  .hero-title {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.04;
  }

  .hero-title span {
    white-space: normal;
  }

  .hero-lead {
    font-size: 14px;
  }

  .hero-facts {
    gap: 6px;
  }

  .hero-facts span {
    font-size: 11px;
  }

  .booking-card {
    padding: 18px;
    border-radius: 14px;
  }

  .section-title {
    font-size: clamp(30px, 10vw, 40px);
  }

  .contacts-inner {
    padding: 16px;
    border-radius: 16px;
  }

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

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

  /* Высоту на телефоне задаёт min-height: пропорция вместе с ним растягивала плитку в ширину */
  .cities-grid .city-tile,
  .cities-grid .city-tile--vip {
    grid-column: auto;
    aspect-ratio: auto;
  }

  .review-card {
    padding: 18px;
  }

  .concept-section,
  .cta-banner {
    width: calc(100% - 16px);
    border-radius: 16px;
  }

  .city-tile,
  .city-tile--vip {
    aspect-ratio: auto;
    min-width: 0;
    min-height: 280px;
  }

  .city-tile--vip {
    min-height: 400px;
  }

  .city-tile--vip::after {
    inset: 8px;
  }

  .ct-vip-top {
    top: 22px;
    left: 22px;
    right: 22px;
  }

  .city-tile--vip .ct-content {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

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

  .amenity-card {
    padding: 20px;
  }

  .cta-banner {
    padding: 52px 18px;
  }

  .faq-q {
    padding: 16px;
  }

  .faq-a {
    padding: 0 16px 16px;
  }

  .footer {
    padding-inline: 16px;
  }

  .footer-cta {
    margin-inline: 0;
    max-width: 100%;
  }

  .search-pill {
    border-radius: 14px;
  }

  .room-breadcrumb {
    padding-top: 16px;
  }

  .room-detail {
    padding-inline: 8px;
  }

  .room-detail-hero {
    padding: 10px;
    gap: 22px;
  }

  .room-detail-info {
    padding: 0 6px 6px;
  }

  .room-other-section {
    padding-inline: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .city-tile,
  .amenity-card,
  .card-premium,
  .card-std,
  .contact-item {
    transition: none;
  }
}
