/* "Le camere" of B&B Pilella: one block for each room, with its photo, its name, its title and the way to its photos and tour.
   The blocks alternate photo left and photo right on computers; on phones the photo is on top. */
.rooms-intro { max-width: 52ch; margin: 14px 0 0; color: var(--muted); }
.rooms { display: grid; gap: clamp(46px, 7vw, 90px); margin-top: clamp(34px, 5vw, 56px); }
.room { display: grid; gap: clamp(20px, 3vw, 40px); align-items: center; }
@media (min-width: 960px) {
  .room { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .room:nth-child(even) .room-media { order: 2; }
}
.room-media { display: grid; gap: 10px; }
.room-pic { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 16 / 11; background: var(--surface);
  box-shadow: var(--sh-out); cursor: zoom-in; isolation: isolate; }
.room-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease); }
.room-pic:hover img, .room-pic:focus-visible img { transform: scale(1.07); }
.room-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(40, 30, 20, .45)); pointer-events: none; }
.room-count { position: absolute; z-index: 1; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); color: var(--ink); font: 500 12px/1 var(--sans); letter-spacing: .08em; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.room-count svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.room-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.room-thumbs button { position: relative; padding: 0; border: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); cursor: zoom-in; box-shadow: var(--sh-soft); }
.room-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.room-thumbs button:hover img { transform: scale(1.08); }
.room-text .over { margin: 0 0 10px; }
.room-text h3 { margin: 0; font-size: clamp(38px, 4vw, 54px); line-height: 1.02; }
.room-text > p:not(.over) { margin: 16px 0 0; color: var(--muted); line-height: 1.7; }
.room-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.room-facts li { padding: 8px 13px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px rgba(138, 110, 82, .18); font-size: 13px; color: var(--ink); }
.room-act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.room-act .btn svg { width: 14px; height: 14px; margin-right: 8px; fill: currentColor; }
@media (max-width: 759px) {
  .room-pic { border-radius: 24px; aspect-ratio: 4 / 3.2; }
  .room-thumbs { gap: 8px; }
  .room-thumbs button { border-radius: 12px; }
  .room-act .btn { flex: 1 1 auto; justify-content: center; }
}
