/* ad-hoc, not part of product: Little Rotti restaurant page (little-rotti.html), redesign variant 1.
   Loaded after style.css. Section order and copy from the Figma frame "Ресторан" (329:626);
   every block reuses the homepage / room-page components (room hero, facts, intro, routes, split),
   and only the pieces below are new — built from the same tokens, no new colours, fonts or radii. */

/* 02 at a glance: the room-page facts row, four items instead of six */
.rotti-facts .facts__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 03 the experience: morning / the room / evening, three frames that share a bottom line;
   the wide interior sits in the middle and stands a little taller than the two portraits */
.rotti-moments {
  align-items: end;
  margin-top: var(--space-8);
}
.rotti-moments__item--morning { grid-column: 1 / span 3; }
.rotti-moments__item--room { grid-column: 4 / span 6; }
.rotti-moments__item--evening { grid-column: 10 / span 3; }
.rotti-moments__item--morning .media,
.rotti-moments__item--evening .media { aspect-ratio: 4 / 5; }
.rotti-moments__item--room .media { aspect-ratio: 3 / 2; }

/* 04 menu moments: the homepage "stay" list, mirrored so the photo sits left
   (the hero above has its photo on the right; the page zig-zags) */
.rotti-menu__body {
  max-width: 26rem;
  margin-top: var(--space-5);
}
.rotti-menu button.route__link {
  width: 100%;
  margin: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.rotti-menu .route__title { display: block; }
.rotti-menu .route__desc {
  display: block;
  font-weight: var(--fw-light);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
}
.rotti-menu__actions { margin-top: var(--space-6); }

@media (min-width: 992px) {
  .rotti-menu .stay__main { grid-column: 7 / -1; grid-row: 1; }
  .rotti-menu .stay__media { grid-column: 1 / span 5; grid-row: 1; }
}

/* 05 practical details: alt band, title block left, numbered ruled list right */
.rotti-details {
  margin-top: var(--section-large);
  padding: var(--section-main) 0;
  background: var(--c-bg-2);
}
.rotti-details__grid { align-items: center; }
.rotti-details__intro { grid-column: 1 / span 5; }
.rotti-details__title { margin-bottom: var(--space-5); }
.rotti-details__body {
  max-width: 26rem;
  margin-bottom: var(--space-5);
}

.rotti-info {
  grid-column: 7 / -1;
  margin: 0;
  border-top: var(--hairline-thin) solid var(--c-line);
}
.rotti-info__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: baseline;
  column-gap: var(--gutter);
  padding: var(--space-4) 0;
  border-bottom: var(--hairline-thin) solid var(--c-line);
}
.rotti-info__key {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}
.rotti-info__num {
  margin-right: .75rem;
  font-weight: var(--fw-light);
  color: var(--c-text-3);
}
.rotti-info__value {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-text-2);
}
.rotti-info__value a {
  text-decoration: underline;
  text-decoration-thickness: var(--hairline);
  text-decoration-color: var(--c-line);
  text-underline-offset: .2em;
  transition: color var(--dur-fade) var(--ease-std), text-decoration-color var(--dur-fade) var(--ease-std);
}
.rotti-info__value a:hover {
  color: var(--c-ink);
  text-decoration-color: currentColor;
}


/* ==========================================================================
   Responsive: tablet ≤ 991px, phone ≤ 767px, small phone ≤ 599px
   ========================================================================== */
@media (max-width: 991px) {
  .rotti-facts .facts__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* the interior across the grid, the two portraits side by side below it */
  .rotti-moments { row-gap: var(--space-6); }
  .rotti-moments__item--room { grid-column: 1 / -1; grid-row: 1; }
  .rotti-moments__item--morning { grid-column: 1 / span 6; grid-row: 2; }
  .rotti-moments__item--evening { grid-column: 7 / -1; grid-row: 2; }

  .rotti-details__intro,
  .rotti-info { grid-column: 1 / -1; }
  .rotti-info { margin-top: var(--space-7); }
}

@media (max-width: 599px) {
  .rotti-facts .facts__list li { padding: var(--space-3) 0; }
  .rotti-info__row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: var(--space-1);
  }
}
