:root {
  --ink: #0c0c0c;
  --paper: #ffffff;
  --muted: #64748b;
  --line: #e2e8f0;
  --grey-50: #f8fafc;
  --grey-100: #f1f5f9;
  --grey-200: #e2e8f0;
  --grey-800: #1e293b;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.wrap {
  width: min(1140px, 100% - 2rem);
  margin-inline: auto;
}

/* Появление блоков при прокрутке */
.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay {
  --reveal-delay: 0.16s;
}

.ratings-row .rating-pill.reveal:nth-child(1) {
  --reveal-delay: 0s;
}

.ratings-row .rating-pill.reveal:nth-child(2) {
  --reveal-delay: 0.12s;
}

.room-cards > .room-card.reveal:nth-child(1) {
  --reveal-delay: 0s;
}

.room-cards > .room-card.reveal:nth-child(2) {
  --reveal-delay: 0.08s;
}

.room-cards > .room-card.reveal:nth-child(3) {
  --reveal-delay: 0.16s;
}

.room-cards > .room-card.reveal:nth-child(4) {
  --reveal-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.icon-svg {
  width: 22px;
  height: 22px;
}

.social-logo-img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

.social-logo-img--maps {
  max-width: 88px;
}

.social-logo-img--2gis {
  height: 22px;
  max-width: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
}

.header-end {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin-left: auto;
}

.header-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.header-address {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--grey-800);
  max-width: 11.5rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  height: 48px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* Если mark.png нет и подставился logo.png с белым фоном — «убираем» белое на светлой шапке */
.brand-mark--knockout {
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--grey-800);
}

.site-nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(4rem, 10vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}

.btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem 0.55rem 0.55rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  color: var(--ink);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.1), 0 1px 2px rgba(255, 255, 255, 0.9) inset;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease,
    transform 0.2s ease;
}

.btn-call__icon {
  flex-shrink: 0;
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
  transition: filter 0.25s ease;
}

.btn-call:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 6px 22px rgba(15, 23, 42, 0.18);
  text-decoration: none;
}

.btn-call:hover .btn-call__icon {
  filter: brightness(0) invert(1);
}

.btn-call:active {
  transform: translateY(1px);
}

.btn-call--block {
  width: 100%;
  max-width: 17rem;
  margin-inline: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
}

.hero-title--wordmark {
  margin: 0 0 1rem;
  line-height: 0;
}

.hero-wordmark {
  display: inline-block;
  max-width: min(440px, 90vw);
  width: auto;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 24px rgba(255, 255, 255, 0.85)) drop-shadow(0 8px 32px rgba(15, 23, 42, 0.08));
}

.hero-booking-hint {
  margin: 0.85rem auto 0;
  max-width: 26rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

.hero-booking-hint--below-cta {
  margin-top: 0.75rem;
}

.hero-lead {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--grey-800);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  justify-content: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > .hero-title {
    animation: hero-enter 0.78s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-content > .hero-lead {
    animation: hero-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
  }

  .hero-content > .hero-actions {
    animation: hero-enter 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.22s;
  }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content > .hero-title,
  .hero-content > .hero-lead,
  .hero-content > .hero-actions {
    animation: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.98);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 0.9375rem;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: #262626;
  border-color: #262626;
}

.btn-ghost {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--grey-50);
}

.btn-block {
  width: 100%;
}

.section {
  padding: 4rem 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

/* Якоря: липкая шапка. Номера / Цены / Калькулятор — чуть выше; Отзывы — в зоне «О доме», ниже */
#rooms,
#prices,
#calc {
  scroll-margin-top: 3.75rem;
}

#reviews {
  scroll-margin-top: 6.75rem;
}

#about,
#contacts {
  scroll-margin-top: 4rem;
}

@media (max-width: 767px) {
  #rooms,
  #prices,
  #calc {
    scroll-margin-top: 4.35rem;
  }

  #reviews {
    scroll-margin-top: 7.5rem;
  }

  #about,
  #contacts {
    scroll-margin-top: 4.5rem;
  }
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-subtitle {
  margin: 0 0 2rem;
  max-width: 62ch;
}

.prose {
  margin: 0 0 1rem;
}

.muted {
  color: var(--muted);
}

.fine-print {
  font-size: 0.8125rem;
  margin-top: 0.75rem;
}

.grid-2 {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.card-title-spaced {
  margin-top: 1.5rem;
}

.checklist {
  margin: 0;
  padding-left: 1.1rem;
}

.checklist li {
  margin-bottom: 0.35rem;
}

.room-cards {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .room-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: default;
  text-align: left;
}

.room-card:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.room-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.room-card-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--grey-200);
}

.room-card-visual.is-empty::after {
  content: "Фото не найдены";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  background: var(--grey-100);
  z-index: 0;
}

.room-carousel {
  position: absolute;
  inset: 0;
}

.room-carousel__viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: pan-y;
}

.room-carousel__track {
  display: flex;
  flex-direction: row;
  height: 100%;
  will-change: transform;
}

.room-carousel__slide {
  flex-shrink: 0;
  height: 100%;
}

.room-carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.12) contrast(1.02);
  transition: filter 0.35s ease;
}

.room-card:hover .room-carousel-img {
  filter: none;
}

.room-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.room-carousel-btn:hover {
  background: var(--paper);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
}

.room-carousel-btn--prev {
  left: 8px;
}

.room-carousel-btn--next {
  right: 8px;
}

.room-carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 36px;
  pointer-events: none;
}

.room-carousel-dots .room-carousel-dot {
  pointer-events: auto;
}

.room-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.room-carousel-dot:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: scale(1.12);
}

.room-carousel-dot.is-active {
  background: #fff;
  transform: scale(1.2);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.room-carousel--preview .room-carousel-btn {
  width: 32px;
  height: 32px;
  font-size: 1.15rem;
}

.social-hub {
  margin: 1.35rem 0 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--grey-50);
}

.social-hub-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.social-hub-kicker--spaced {
  margin-top: 1.35rem;
}

.social-hub-lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 40rem;
}

.ratings-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

@media (max-width: 520px) {
  .ratings-row {
    grid-template-columns: 1fr;
  }
}

.rating-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 6.75rem;
  padding: 1rem 1.15rem 1.05rem;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s ease;
  box-sizing: border-box;
}

.rating-pill:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
  text-decoration: none;
}

.rating-pill-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  width: 100%;
}

.rating-pill-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
}

.rating-pill-heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.rating-pill-logo {
  display: block;
  flex-shrink: 0;
  height: auto;
  max-height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.rating-pill-logo--maps {
  max-height: 24px;
  max-width: 110px;
}

.rating-pill-logo--2gis {
  max-height: 28px;
  max-width: 88px;
}

.rating-pill-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--grey-800);
}

.rating-pill-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.stars-partial {
  position: relative;
  display: inline-block;
  line-height: 1;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
}

.stars-partial__track {
  color: var(--grey-200);
}

.stars-partial__fill {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  width: calc(var(--star-fill, 1) * 100%);
  color: var(--ink);
}

.rating-pill-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: auto;
  line-height: 1.35;
}

.social-hub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.soc-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  color: var(--grey-800);
  transition: border-color 0.2s, background 0.2s;
}

.soc-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
  text-decoration: none;
}

.room-card-body {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 1rem 1.15rem 1.15rem;
}

.room-card-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.room-specs {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.room-specs-extra {
  font-weight: 500;
  font-size: 0.88em;
  color: var(--muted);
}

.room-card-cta {
  flex-shrink: 0;
  align-self: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--grey-100);
  color: var(--ink);
  line-height: 1.2;
  pointer-events: auto;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.room-card:hover .room-card-cta,
.room-card:focus-visible .room-card-cta {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

@media (max-width: 420px) {
  .room-card-body {
    flex-wrap: wrap;
  }

  .room-card-cta {
    width: 100%;
    text-align: center;
  }
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  min-width: 680px;
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  hyphens: none;
}

.price-table th {
  font-weight: 600;
  background: var(--grey-100);
  white-space: nowrap;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.price-table td:not(:first-child) {
  white-space: nowrap;
  font-weight: 500;
}

.price-table tbody tr:last-child td {
  border-bottom: none;
}

.price-cards-mobile {
  display: none;
}

.price-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
  padding: 0.9rem 0.95rem;
}

.price-card + .price-card {
  margin-top: 0.75rem;
}

.price-card__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}

.price-card__rows {
  display: grid;
  gap: 0.48rem;
}

.price-card__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.87rem;
}

.price-card__period {
  color: var(--muted);
}

.price-card__value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .table-wrap {
    display: none;
  }

  .price-cards-mobile {
    display: block;
  }
}

.section-calc {
  background: var(--grey-50);
}

.calc-shell {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 900px) {
  .calc-shell {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .calc-shell.calc-shell--single {
    grid-template-columns: 1fr;
  }
}

.calc-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.65rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.calc-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 520px) {
  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-span {
  grid-column: 1 / -1;
}

.field-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input[type="date"],
.field select {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--grey-50);
  color: var(--ink);
}

.field input[type="date"]:focus,
.field select:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
  border-color: transparent;
}

.extra-bed-panel {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
  border-top: 1px dashed var(--line);
}

.extra-bed-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.25rem;
}

.extra-bed-hint {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.extra-bed-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--grey-50);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.extra-bed-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 3rem;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.extra-bed-input:focus-visible + .extra-bed-switch {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.extra-bed-switch {
  flex-shrink: 0;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: var(--grey-200);
  position: relative;
  transition: background 0.25s;
}

.extra-bed-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s;
}

.extra-bed-input:checked + .extra-bed-switch {
  background: var(--ink);
}

.extra-bed-input:checked + .extra-bed-switch::after {
  transform: translateX(20px);
}

.extra-bed-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.extra-bed-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.extra-bed-price {
  font-size: 0.8125rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.preview-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.65rem;
}

.room-preview-visual {
  position: relative;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--grey-200);
  border: 1px solid var(--line);
}

.room-preview-visual[hidden] {
  display: none;
}

/* Потоковый «спейсер» 4∶3: иначе при только absolute-детях высота бывает 0 — фото не видно */
.room-preview-sizer {
  display: block;
  width: 100%;
  height: 0;
  padding-top: 75%;
  pointer-events: none;
  visibility: hidden;
}

.room-preview-frame {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
}

.room-preview-track {
  display: flex;
  flex-direction: row;
  height: 100%;
  will-change: transform;
}

.room-preview-slide {
  flex-shrink: 0;
  height: 100%;
}

.room-preview-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 0 40px;
  pointer-events: none;
}

.room-preview-dots .room-carousel-dot {
  pointer-events: auto;
}

.room-preview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-preview-visual.is-empty .room-preview-img {
  opacity: 0;
  pointer-events: none;
}

.room-preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.room-preview-nav:hover {
  background: var(--paper);
  transform: translateY(-50%) scale(1.05);
}

.room-preview-nav--prev {
  left: 8px;
}

.room-preview-nav--next {
  right: 8px;
}

.preview-caption {
  margin: 0.85rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.preview-caption[hidden] {
  display: none;
}

.calc-result {
  margin-bottom: 1.5rem;
}

.calc-result-placeholder {
  margin: 0;
}

.calc-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
}

.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--line);
}

.calc-breakdown li:last-child {
  border-bottom: none;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.calc-result-note {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.calc-nights {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.calc-cta {
  text-align: center;
}

.hero-cta-row,
.calc-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.65rem;
}

.calc-cta .calc-cta-row {
  margin-bottom: 0;
}

.btn-call--cta {
  width: auto;
  min-width: 10.5rem;
  flex: 0 0 auto;
  margin-inline: 0;
}

/* В герое — в один ряд с MAX/Telegram: те же пропорции */
.hero-cta-row .btn-call--hero-row {
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.hero-cta-row .btn-call--hero-row:hover {
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.15);
}

.btn-messenger-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.45rem 1rem 0.45rem 0.65rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  border: 1px solid rgba(15, 23, 42, 0.16);
  border-radius: 999px;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.08), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease,
    transform 0.18s ease;
}

.btn-messenger-outline:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.15);
  text-decoration: none;
}

.btn-messenger-outline:active {
  transform: translateY(1px);
}

.btn-messenger-outline__icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  transition: filter 0.22s ease;
}

.btn-messenger-outline:hover .btn-messenger-outline__icon {
  filter: brightness(0) invert(1);
}

.btn-messenger-outline__label {
  padding-right: 0.15rem;
}

.contact-block {
  margin: 1.25rem 0;
}

.contact-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.contact-value:hover {
  text-decoration: underline;
}

.contact-value-text {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
}

.contact-value-text--address {
  line-height: 1.4;
  font-size: clamp(1.2rem, 3.8vw, 1.65rem);
}

.contacts-wrap {
  max-width: 40rem;
  margin-left: clamp(1.25rem, 6vw, 5rem);
  margin-right: auto;
  text-align: left;
}

@media (min-width: 900px) {
  .contacts-wrap {
    margin-left: clamp(2rem, 11vw, 7.5rem);
  }
}

.contact-phone-status {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--muted);
  min-height: 1.25em;
}

.contact-link-row {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
}

.contact-text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  font: inherit;
}

.contact-text-link:hover {
  color: var(--ink);
  text-decoration-thickness: 2px;
}

.contact-sep {
  margin: 0 0.35rem;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 0;
  background: var(--grey-100);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-brand {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.footer-phone {
  width: auto !important;
  padding: 0 0.75rem !important;
  font-size: 0.8125rem;
  font-weight: 700;
}

code {
  font-size: 0.88em;
  background: var(--grey-100);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  border: 1px solid var(--line);
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .header-end {
    width: 100%;
    order: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    padding: 0.5rem 0 0;
    border-top: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-start {
    flex: 1;
    min-width: 0;
  }

  .brand {
    order: unset;
  }

  .nav-toggle {
    order: 1;
    margin-left: auto;
  }

  .header-address {
    font-size: 0.75rem;
    max-width: 9rem;
  }
}

/* --- Летний календарь (июнь–август), стиль как у авиасейлс --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.calc-date-field {
  margin-bottom: 0.25rem;
}

.calc-date-anchor {
  position: relative;
  z-index: 30;
}

.calc-dates-bar {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.calc-date-chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.55rem 0.65rem 0.55rem 0.85rem;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.calc-date-chip.is-active {
  border-color: var(--grey-800);
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12);
  background: var(--grey-100);
}

.calc-date-chip__text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calc-date-chip__clear {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.calc-date-chip__clear:hover {
  color: var(--ink);
  background: var(--grey-100);
}

.summer-cal {
  position: absolute;
  z-index: 50;
  width: min(640px, calc(100vw - 24px));
  padding: 1rem 1rem 1.15rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.18), 0 0 0 1px var(--line);
  font-family: var(--font-body);
  font-size: 0.8125rem;
}

.summer-cal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.summer-cal__arrow {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--grey-100);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.summer-cal__arrow:hover:not(:disabled) {
  background: var(--grey-200);
}

.summer-cal__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.summer-cal__center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.summer-cal__center--spacer {
  min-height: 36px;
}

.summer-cal__months {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

@media (max-width: 560px) {
  .summer-cal__months {
    grid-template-columns: 1fr;
  }
}

.summer-cal__pane-head {
  text-align: center;
  margin-bottom: 0.35rem;
}

.summer-cal__month-title {
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.summer-cal__month-title:hover {
  background: var(--grey-100);
}

.summer-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 0.25rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: lowercase;
}

.summer-cal__weekdays span:nth-child(6),
.summer-cal__weekdays span:nth-child(7) {
  color: var(--muted);
}

.summer-cal__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}

.summer-cal__cell {
  aspect-ratio: 1;
  max-height: 40px;
}

.summer-cal__cell--pad {
  visibility: hidden;
}

.summer-cal__day {
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}

.summer-cal__day:hover:not(:disabled):not(.summer-cal__day--disabled) {
  background: var(--grey-100);
}

.summer-cal__day--disabled {
  color: #cbd5e1;
  cursor: default;
}

.summer-cal__day--today:not(.summer-cal__day--start):not(.summer-cal__day--end):not(.summer-cal__day--single) {
  font-weight: 700;
  color: var(--ink);
}

.summer-cal__day--inrange {
  background: var(--grey-200);
  color: var(--ink);
  border-radius: 0;
}

.summer-cal__day--start,
.summer-cal__day--end,
.summer-cal__day--single {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
}

.summer-cal__day--start:not(.summer-cal__day--single) {
  border-radius: 8px 0 0 8px;
}

.summer-cal__day--end:not(.summer-cal__day--single) {
  border-radius: 0 8px 8px 0;
}

.summer-cal__day--single {
  border-radius: 8px;
}

.summer-cal__day--inrange:hover:not(:disabled):not(.summer-cal__day--disabled) {
  background: #d1d5db;
  color: var(--ink);
}

.summer-cal__day--start:hover:not(:disabled),
.summer-cal__day--end:hover:not(:disabled),
.summer-cal__day--single:hover:not(:disabled) {
  background: #1f2937;
  color: #fff;
}

.summer-cal__month-menu {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  min-width: 160px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.15);
  border: 1px solid var(--line);
}

.summer-cal__month-option {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
}

.summer-cal__month-option:hover {
  background: var(--grey-100);
}

/* Окно с номером на ПК (на телефонах остаётся нативный tel:) */
.phone-call-dialog {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.phone-call-dialog[hidden] {
  display: none !important;
}

.phone-call-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.phone-call-dialog__panel {
  position: relative;
  width: 100%;
  max-width: 22rem;
  padding: 1.35rem 1.5rem 1.25rem;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.2), 0 0 0 1px var(--line);
}

.phone-call-dialog__lead {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--muted);
}

.phone-call-dialog__number {
  margin: 0 0 1.15rem;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.phone-call-dialog__close {
  width: 100%;
}
