/* =========================================================
   ALTOPIANO ROOMS SUITE — Stylesheet
   Palette: Ivory · Antracite · Oro Sabbia · Verde Bosco
   Type:    Cormorant Garamond (serif) + Jost (sans)
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

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

a { color: inherit; text-decoration: none; }

button { font: inherit; cursor: pointer; border: none; background: none; }

ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Colors */
  --ivory:        #F6F1E7;
  --ivory-warm:   #FAF6EE;
  --cream:        #EFE7D6;
  --sand:         #C9A961;
  --sand-dark:    #A88847;
  --anthracite:   #1C1B19;
  --charcoal:     #2A2826;
  --muted:        #6B6358;
  --line:         rgba(28, 27, 25, 0.12);
  --line-light:   rgba(246, 241, 231, 0.18);

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Jost', 'Helvetica Neue', sans-serif;

  /* Layout */
  --max:    1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--anthracite);
  background: var(--ivory);
  line-height: 1.65;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--anthracite);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.875rem); }

p { color: var(--charcoal); }

/* ---------- Utilities ---------- */
.wrap {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sand-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--sand);
}

.section { padding-block: clamp(4rem, 9vw, 8rem); }

.section-title {
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  max-width: 38ch;
}

.lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 58ch;
}

.divider {
  width: 60px;
  height: 1px;
  background: var(--sand);
  margin: 1.5rem 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  border: 1px solid currentColor;
  position: relative;
  overflow: hidden;
}

.btn--gold {
  background: var(--sand);
  color: var(--ivory-warm);
  border-color: var(--sand);
}
.btn--gold:hover {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--ivory-warm);
}

.btn--ghost {
  color: var(--anthracite);
  border-color: var(--anthracite);
  background: transparent;
}
.btn--ghost:hover { background: var(--anthracite); color: var(--ivory-warm); }

.btn--ghost-light {
  color: var(--ivory-warm);
  border-color: var(--ivory-warm);
  background: transparent;
}
.btn--ghost-light:hover { background: var(--ivory-warm); color: var(--anthracite); }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 1.25rem;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav--scrolled {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__mark {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--anthracite);
}
.nav--light .brand__mark { color: var(--ivory-warm); }
.nav--scrolled .brand__mark { color: var(--anthracite); }

.brand__tag {
  font-family: var(--sans);
  font-size: 0.625rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.35rem;
}

.nav__menu {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav__link {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--anthracite);
  position: relative;
  padding-block: 0.25rem;
  transition: color 0.3s var(--ease);
}
.nav--light .nav__link { color: var(--ivory-warm); }
.nav--scrolled .nav__link { color: var(--anthracite); }

.nav__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width 0.35s var(--ease), left 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; left: 0; }

.nav__cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  border: 1px solid var(--sand);
  color: var(--sand);
  text-transform: uppercase;
  transition: all 0.35s var(--ease);
}
.nav__cta:hover { background: var(--sand); color: var(--ivory-warm); }

.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  align-items: flex-end;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--anthracite);
  transition: all 0.35s var(--ease);
}
.nav--light .nav__toggle span { background: var(--ivory-warm); }
.nav--scrolled .nav__toggle span { background: var(--anthracite); }
.nav__toggle span:nth-child(2) { width: 16px; }

.nav.is-open .nav__toggle span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); width: 24px; }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); width: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory-warm);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,27,25,0.4) 0%, rgba(28,27,25,0) 35%, rgba(28,27,25,0.75) 100%);
  z-index: -1;
}

.hero__content {
  padding-bottom: clamp(4rem, 9vw, 7rem);
  padding-top: clamp(8rem, 14vw, 12rem);
  max-width: 980px;
}
.hero__eyebrow {
  color: var(--sand);
  margin-bottom: 1.25rem;
}
.hero__eyebrow::before { background: var(--sand); }

.hero h1 {
  color: var(--ivory-warm);
  font-weight: 300;
  font-style: italic;
}
.hero h1 .accent {
  display: block;
  font-style: normal;
  font-weight: 400;
}

.hero__sub {
  margin-top: 1.5rem;
  color: rgba(246, 241, 231, 0.85);
  font-size: 1.0625rem;
  max-width: 56ch;
  font-weight: 300;
}

.hero__actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.7);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: linear-gradient(to top, var(--sand), transparent);
}

/* ---------- Featurettes / Why ---------- */
.why {
  background: var(--ivory-warm);
  border-block: 1px solid var(--line);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 3rem;
}
.feature {
  background: var(--ivory-warm);
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: background 0.4s var(--ease);
}
.feature:hover { background: var(--cream); }
.feature__icon {
  width: 48px;
  height: 48px;
  color: var(--sand);
}
.feature h3 {
  font-size: 1.5rem;
  font-weight: 400;
}
.feature p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Rooms (grid) ---------- */
.rooms__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.room-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.room-card--lg { grid-column: span 8; aspect-ratio: 16/10; }
.room-card--md { grid-column: span 4; aspect-ratio: 4/5; }
.room-card--sm { grid-column: span 4; aspect-ratio: 4/5; }

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room-card:hover img { transform: scale(1.06); }

.room-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,27,25,0) 40%, rgba(28,27,25,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--ivory-warm);
}
.room-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sand);
}
.room-card h3 {
  color: var(--ivory-warm);
  margin-top: 0.5rem;
  font-weight: 400;
}
.room-card__meta {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(246, 241, 231, 0.75);
}

/* ---------- Foggia ---------- */
.foggia {
  background: var(--anthracite);
  color: var(--ivory-warm);
}
.foggia h2 { color: var(--ivory-warm); }
.foggia p  { color: rgba(246, 241, 231, 0.75); }
.foggia .eyebrow { color: var(--sand); }
.foggia .eyebrow::before { background: var(--sand); }
.foggia .divider { background: var(--sand); }

.foggia__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  margin-top: 3rem;
}

.foggia__list {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line-light);
}
.foggia__item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line-light);
}
.foggia__item__cat {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand);
}
.foggia__item__name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ivory-warm);
}
.foggia__item__dist {
  font-size: 0.85rem;
  color: rgba(246, 241, 231, 0.6);
  letter-spacing: 0.05em;
}

.foggia__image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.foggia__image img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---------- Location / Map ---------- */
.location {
  background: var(--ivory-warm);
}
.location__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: stretch;
  margin-top: 3rem;
}
.location__info { padding-block: 1rem; }
.location__info ul { display: grid; gap: 1rem; margin-top: 1.5rem; }
.location__info li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.location__info li span:first-child {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.location__map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.location__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(0.95);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--anthracite);
  color: rgba(246, 241, 231, 0.7);
  padding-block: 4rem 2rem;
  font-size: 0.875rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-warm);
  margin-bottom: 1.25rem;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.875rem;
  color: var(--ivory-warm);
  font-weight: 400;
}
.footer__tag {
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sand);
  margin-top: 0.5rem;
}
.footer__about {
  margin-top: 1.5rem;
  max-width: 36ch;
}
.footer__list { display: grid; gap: 0.6rem; }
.footer__list a { transition: color 0.3s var(--ease); }
.footer__list a:hover { color: var(--sand); }

.footer__bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-light);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(246, 241, 231, 0.45);
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory-warm);
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.65);
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28,27,25,0.3) 0%, rgba(28,27,25,0) 35%, rgba(28,27,25,0.85) 100%);
}
.page-hero__content {
  padding-bottom: 4rem;
  padding-top: 10rem;
}
.page-hero h1 {
  color: var(--ivory-warm);
  font-weight: 300;
  font-style: italic;
}
.page-hero p {
  color: rgba(246, 241, 231, 0.85);
  margin-top: 1rem;
  max-width: 56ch;
}
.page-hero .eyebrow { color: var(--sand); margin-bottom: 1rem; }
.page-hero .eyebrow::before { background: var(--sand); }

/* ---------- Two-column ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--media-right { direction: ltr; }
.split__media { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Amenities list ---------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 2rem;
}
.amenities li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
}
.amenities li:nth-child(odd) { padding-right: 2rem; }
.amenities li:nth-child(even) { padding-left: 2rem; border-left: 1px solid var(--line); }
.amenities svg { color: var(--sand); flex-shrink: 0; }

/* ---------- Room detail card (rooms page) ---------- */
.room-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
  border-bottom: 1px solid var(--line);
}
.room-detail:last-child { border-bottom: 0; }
.room-detail--reverse .room-detail__media { order: 2; }

.room-detail__media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.room-detail__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.room-detail__media:hover img { transform: scale(1.05); }
.room-detail h3 { margin-top: 1rem; margin-bottom: 1rem; }

/* ---------- Room photo gallery (scroll-snap) ---------- */
.gallery {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.gallery__track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: start;
}
.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.gallery:hover .gallery__slide img { transform: scale(1.04); }

.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28, 27, 25, 0.55);
  color: var(--ivory-warm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 2;
  opacity: 0;
}
.gallery:hover .gallery__btn { opacity: 1; }
.gallery__btn:hover { background: var(--anthracite); }
.gallery__btn--prev { left: 1rem; }
.gallery__btn--next { right: 1rem; }
.gallery__btn svg { width: 18px; height: 18px; }

.gallery__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
  padding: 0.4rem 0.75rem;
  background: rgba(28, 27, 25, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 999px;
}
.gallery__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.45);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 0;
  padding: 0;
}
.gallery__dot.is-active {
  background: var(--sand);
  width: 22px;
  border-radius: 4px;
}
.gallery__counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(28, 27, 25, 0.55);
  color: var(--ivory-warm);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

@media (max-width: 720px) {
  .gallery__btn { opacity: 1; width: 38px; height: 38px; }
  .gallery__btn--prev { left: 0.5rem; }
  .gallery__btn--next { right: 0.5rem; }
}
.room-detail__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.room-detail__features span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  color: var(--muted);
}

/* ---------- Contact form ---------- */
.form {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--sand-dark);
}
.field input,
.field textarea,
.field select {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.85rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--anthracite);
  transition: border-color 0.3s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--sand);
}
.field textarea { resize: vertical; min-height: 120px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .rooms__grid { grid-template-columns: repeat(6, 1fr); }
  .room-card--lg { grid-column: span 6; aspect-ratio: 16/10; }
  .room-card--md, .room-card--sm { grid-column: span 3; }
  .foggia__grid, .location__grid, .split, .room-detail { grid-template-columns: 1fr; }
  .room-detail--reverse .room-detail__media { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav__menu {
    position: fixed;
    inset: 0;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    background: var(--ivory-warm);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 5rem var(--gutter) 3rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 55;
  }
  .nav__menu .nav__link { font-size: 1.1rem; color: var(--anthracite); }
  .nav.is-open .nav__menu { transform: translateX(0); }
  /* Fix: il backdrop-filter della navbar scrolled crea un containing block
     per i figli fixed, schiacciando il menu mobile dentro la navbar.
     Lo disattiviamo (e rendiamo lo sfondo opaco) quando il menu è aperto. */
  .nav.is-open,
  .nav.is-open.nav--scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-bottom: 0;
  }
  .nav__toggle { display: flex; z-index: 60; }
  .nav__cta { display: none; }

  .why__grid { grid-template-columns: 1fr; }
  .rooms__grid { grid-template-columns: 1fr; }
  .room-card--lg, .room-card--md, .room-card--sm { grid-column: span 1; aspect-ratio: 4/5; }
  .foggia__item { grid-template-columns: 1fr; gap: 0.25rem; }
  .foggia__item__dist { margin-top: 0.25rem; }
  .amenities { grid-template-columns: 1fr; }
  .amenities li:nth-child(even) { padding-left: 0; border-left: 0; }
  .amenities li:nth-child(odd)  { padding-right: 0; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__scroll { display: none; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: all 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
