/* ==========================================================================
   BnB Massaua · Foglio di stile
   Palette e motivi derivati dalle foto reali degli ambienti:
   il rosso del copriletto, il marmo, l'ottone delle maniglie,
   la foglia di palma delle piastrelle doccia e l'arazzo con l'oasi.
   ========================================================================== */

:root {
  /* Colore */
  --cream: #f6f1e7;
  --cream-deep: #ece2cd;
  --white: #fffdf9;
  --ink: #2b231c;
  --ink-soft: #6b5d4d;
  --red: #9c2b2b;
  --red-deep: #7a2020;
  --red-tint: #f3e2df;
  --brass: #a9803f;
  --brass-soft: #d8c39f;
  --line: rgba(43, 35, 28, 0.12);

  /* Tipografia */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;

  /* Struttura */
  --maxw: 1180px;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 50px -25px rgba(43, 35, 28, 0.35);
  --shadow-card: 0 14px 34px -20px rgba(43, 35, 28, 0.3);

  --header-h: 84px;
}

/* ---------- reset di base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 640px) {
  .container { padding-inline: 40px; }
}

/* focus visibile per accessibilità */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- elementi ricorrenti ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow .leaf-mark {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--brass);
}

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 1.55rem + 1.6vw, 2.85rem);
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.section-head p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  max-width: 54ch;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center p {
  margin-inline: auto;
}

section {
  padding-block: clamp(64px, 6vw + 20px, 118px);
}

.bg-white { background: var(--white); }
.bg-cream-deep { background: var(--cream-deep); }

.divider {
  display: flex;
  justify-content: center;
  padding-block: 6px;
  color: var(--brass-soft);
}
.divider svg { width: 120px; height: 20px; }

/* pulsanti */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 14px 28px -14px rgba(156, 43, 43, 0.65);
}
.btn-primary:hover { background: var(--red-deep); }

.btn-ghost {
  background: transparent;
  border-color: rgba(43, 35, 28, 0.28);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(43, 35, 28, 0.05); }

.btn-ghost-light {
  background: rgba(255, 253, 249, 0.12);
  border-color: rgba(255, 253, 249, 0.55);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 253, 249, 0.22); }

.btn-sm { padding: 11px 22px; font-size: 0.88rem; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header.is-scrolled {
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand svg { width: 34px; height: 34px; flex: none; color: var(--red); }

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.site-header:not(.is-scrolled) .brand-word,
.site-header:not(.is-scrolled) .brand svg {
  color: var(--ink);
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: none;
}

/* selettore lingua: menu a tendina, perche' 7 lingue non stanno in riga nella barra */
.lang-switch {
  display: none;
  position: relative;
  margin-right: 2px;
}
.lang-switch > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border: 1.5px solid rgba(43, 35, 28, 0.18);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary::marker { content: ""; }
.lang-switch > summary:hover { color: var(--ink); border-color: rgba(43, 35, 28, 0.38); }
.lang-caret { width: 12px; height: 12px; transform: rotate(90deg); transition: transform 0.2s ease; }
.lang-switch[open] .lang-caret { transform: rotate(-90deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 120;
  min-width: 178px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px -18px rgba(43, 35, 28, 0.45);
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.lang-menu a span {
  min-width: 21px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(107, 93, 77, 0.62);
}
.lang-menu a:hover { background: var(--cream); color: var(--ink); }
.lang-menu a.is-active,
.lang-menu a.is-active span { color: var(--red); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(43, 35, 28, 0.25);
  background: rgba(255, 253, 249, 0.5);
  cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (min-width: 960px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .lang-switch { display: block; }
  .nav-toggle { display: none; }
}

/* menu mobile */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 101;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 32px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav a {
  text-decoration: none;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.9rem;
}
.mobile-nav .mobile-close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(246, 241, 231, 0.4);
  background: transparent;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.mobile-nav .mobile-close svg { width: 18px; height: 18px; }
.mobile-nav-contacts {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--brass-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* i contatti NON ereditano il font grande delle voci di menu: a 1,9rem
   l'indirizzo email chiede 349px e ne ha 311, quindi veniva tagliato */
.mobile-nav-contacts a {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}

.mobile-nav-langs {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
}
.mobile-nav-langs a {
  color: rgba(246, 241, 231, 0.6);
  text-decoration: none;
  /* area di tocco piena: con 7 lingue due sigle vicine si sbagliano facilmente */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 3px;
}
.mobile-nav-langs a.is-active { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
body.nav-open { overflow: hidden; }

/* giapponese: a capo sui confini di frase, non a meta' parola (ignorato dagli altri alfabeti) */
html[lang="ja"] body {
  word-break: auto-phrase;
  /* valvola di sfogo: se una frase non ci sta comunque, spezzala invece di
     allargare tutta la pagina (misurato: senza questa riga, 409px su 375) */
  overflow-wrap: anywhere;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--cream);
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(440px, 46%) 1fr;
    min-height: 100svh;
  }
}

/* Su telefono le due meta' si impilano. Il pannello di testo e' piu' alto dello
   schermo, quindi lasciandolo per primo la foto della camera finiva tutta sotto
   la piega. Qui la foto va sopra, subito sotto la barra. */
@media (max-width: 959px) {
  .hero { padding-top: var(--header-h); }
  .hero-media { order: -1; }
}

.hero-media {
  position: relative;
  min-height: 44vh;
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero-media { min-height: 100%; }
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
  display: block;
}

.hero-panel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: var(--cream);
  padding: calc(var(--header-h) + 36px) 26px 48px;
}
@media (min-width: 640px) {
  .hero-panel { padding-inline: 44px; }
}
@media (min-width: 960px) {
  .hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-h) + 20px) 20px 56px 56px;
  }
}

.hero-panel .leaf-bg {
  position: absolute;
  top: -14%;
  left: -18%;
  width: 70%;
  aspect-ratio: 1;
  color: rgba(156, 43, 43, 0.055);
  pointer-events: none;
}
.hero-panel .leaf-bg svg { width: 100%; height: 100%; }

.hero-panel-inner {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  color: var(--red);
}

.hero h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 1.75rem + 2.2vw, 3.4rem);
  max-width: 13ch;
  margin-top: 18px;
  letter-spacing: -0.01em;
}

.hero-lead {
  margin-top: 22px;
  max-width: 42ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.hero-badges svg { width: 16px; height: 16px; color: var(--red); flex: none; }

/* ---------- valori / intro ---------- */

.values-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.value-card {
  padding: 30px 26px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.value-card .icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-card .icon-badge svg { width: 22px; height: 22px; }

.value-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.value-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- camere ---------- */

.room-block {
  display: grid;
  gap: 44px;
  align-items: center;
  margin-bottom: 84px;
}
.room-block:last-child { margin-bottom: 0; }

@media (min-width: 880px) {
  .room-block {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
  .room-block.reverse .room-media { order: 2; }
  .room-block.reverse .room-copy { order: 1; }
}

.room-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
}
.room-media img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.room-media .shot-tall { grid-row: span 2; aspect-ratio: 3 / 4; }
.room-media .shot-a { aspect-ratio: 4 / 3; }
.room-media .shot-b { aspect-ratio: 4 / 3; }

.room-name-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--red-deep);
}
.room-name-tag svg { width: 20px; height: 20px; color: var(--brass); }

.room-copy h3 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.15rem);
}

.room-copy > p {
  margin-top: 16px;
  color: var(--ink-soft);
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.amenity-chips li {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--ink-soft);
}

.room-copy .btn { margin-top: 26px; }

/* bagno condiviso, riquadro informativo */
.shared-bath {
  margin-top: 70px;
  display: grid;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
@media (min-width: 780px) {
  .shared-bath { grid-template-columns: 1fr 1fr; }
}
.shared-bath-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  height: 100%;
  min-height: 260px;
}
.shared-bath-media img { width: 100%; height: 100%; object-fit: cover; }
.shared-bath-copy { padding: 36px; }
.shared-bath-copy h3 { font-size: 1.5rem; }
.shared-bath-copy p { margin-top: 14px; color: var(--ink-soft); }

/* tabella prezzi */
.price-table {
  margin-top: 70px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 54px);
  display: grid;
  gap: 34px;
}
@media (min-width: 780px) {
  .price-table { grid-template-columns: 1.1fr 1fr; align-items: center; }
}
.price-table h3 {
  color: var(--cream);
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.9rem);
}
.price-table > div > p { color: var(--brass-soft); margin-top: 12px; max-width: 40ch; }

.price-rows { display: flex; flex-direction: column; gap: 14px; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.14);
}
.price-row.is-highlight {
  background: rgba(156, 43, 43, 0.28);
  border-color: rgba(156, 43, 43, 0.55);
}
.price-row .days { font-weight: 700; }
.price-row .days span { display: block; font-weight: 500; font-size: 0.82rem; color: var(--brass-soft); margin-top: 3px; }
.price-row .amount { font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; }
.price-note { font-size: 0.85rem; color: rgba(246, 241, 231, 0.6); }

/* regole della casa */
.house-rules {
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--shadow-card);
}
.house-rules-list {
  margin-top: 20px;
  display: grid;
  gap: 18px 24px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.house-rules-list li {
  display: flex;
  align-items: center;
  gap: 13px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}
.house-rules-list .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-tint);
  color: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.house-rules-list .icon-badge svg { width: 18px; height: 18px; }

/* ---------- servizi ---------- */

.amenities-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }

.amenity-tile {
  padding: 26px 20px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
  text-align: left;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.amenity-tile:hover { border-color: var(--brass); transform: translateY(-3px); }
.amenity-tile svg { width: 26px; height: 26px; color: var(--red); }
.amenity-tile h4 {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
}

/* ---------- panorama spezza-pagina ---------- */

.panorama {
  position: relative;
  height: clamp(280px, 42vw, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.panorama img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.panorama::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,15,10,0.55), rgba(20,15,10,0.12) 45%, rgba(20,15,10,0.4));
}
.panorama-quote {
  position: relative;
  z-index: 1;
  color: var(--white);
  text-align: center;
  max-width: 720px;
  padding-inline: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 2rem);
  line-height: 1.3;
}

/* ---------- galleria ---------- */

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
  /* a 2 colonne la foto larga del balcone lascerebbe una casella vuota:
     'dense' la riempie con lo scatto seguente, che e' dello stesso gruppo */
  grid-auto-flow: dense;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.gallery-grid .span-2 { grid-column: span 2; aspect-ratio: 16 / 10; }
@media (max-width: 639px) { .gallery-grid .span-2 { grid-column: span 2; aspect-ratio: 4 / 3; } }

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(0deg, rgba(20,15,10,0.72), rgba(20,15,10,0));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  text-align: left;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption { opacity: 1; transform: translateY(0); }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 11, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
}
.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius-sm);
  margin-inline: auto;
}
.lightbox figcaption {
  color: var(--cream);
  text-align: center;
  margin-top: 14px;
  font-size: 0.92rem;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 1.5px solid rgba(246, 241, 231, 0.4);
  background: rgba(246, 241, 231, 0.08);
  color: var(--cream);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox-close svg, .lightbox-nav svg { width: 20px; height: 20px; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-nav.prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- recensioni ---------- */

.review-score {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
/* schede voto: marchio + stelline grandi + numeri piccoli, tutto cliccabile */
.rating-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: var(--white);
  padding: 20px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rating-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(43, 35, 28, 0.4);
}

.rating-brand {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.rating-brand--booking { color: #003580; }
.rating-brand--airbnb  { color: #ff5a5f; }

/* stelline: ogni stella ha il suo riempimento, mappato sull'inchiostro del
   disegno (x 3-21) e non sulla scatola, cosi' le frazioni sono ben visibili */
.rating-stars { display: inline-flex; gap: 3px; }
.rating-stars .rs {
  position: relative;
  width: 24px;
  height: 24px;
  color: rgba(43, 35, 28, 0.16);
}
.rating-stars .rs > svg { width: 24px; height: 24px; display: block; }
.rating-stars .rs-f {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #f0a500;
}
.rating-stars .rs-f > svg { width: 24px; height: 24px; display: block; }

.rating-meta {
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.rating-meta strong { color: var(--ink); font-weight: 700; }

.reviews-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.review-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.review-stars { display: flex; gap: 4px; color: var(--brass); }
.review-stars svg { width: 16px; height: 16px; }
.review-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}
.review-author {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- dove siamo ---------- */

.location-wrap {
  display: grid;
  gap: 44px;
}
@media (min-width: 900px) {
  .location-wrap { grid-template-columns: 1fr 1fr; align-items: stretch; }
}

.location-copy p { color: var(--ink-soft); margin-top: 16px; }

.transit-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.transit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.transit-list .icon-badge {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red-tint); color: var(--red);
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
}
.transit-list .icon-badge svg { width: 19px; height: 19px; }
.transit-list strong { display: block; font-size: 0.98rem; }
.transit-list span { color: var(--ink-soft); font-size: 0.92rem; }

.address-card {
  margin-top: 28px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.address-card address { font-style: normal; font-weight: 700; }
.address-card span { display: block; font-weight: 500; color: var(--ink-soft); font-size: 0.9rem; margin-top: 3px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  min-height: 340px;
  border: 6px solid var(--white);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 328px; border: 0; display: block; }

/* ---------- cta finale ---------- */

.final-cta {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 84px) 24px;
  position: relative;
  overflow: hidden;
}
.final-cta .leaf-bg {
  position: absolute;
  inset: 0;
  color: rgba(246, 241, 231, 0.05);
  pointer-events: none;
}
.final-cta .leaf-bg svg { width: 100%; height: 100%; }
.final-cta-inner { position: relative; z-index: 1; max-width: 640px; margin-inline: auto; }
.final-cta h2 {
  color: var(--white);
  font-size: clamp(1.9rem, 1.6rem + 1.4vw, 2.6rem);
}
.final-cta p { margin-top: 16px; color: var(--brass-soft); font-size: 1.05rem; }
.final-cta .hero-actions { justify-content: center; margin-top: 32px; }

/* ---------- footer ---------- */

.site-footer {
  background: var(--cream-deep);
  padding-block: 56px 30px;
}
.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.95rem; max-width: 34ch; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col address { text-decoration: none; font-size: 0.95rem; font-style: normal; color: var(--ink); }
.footer-col a:hover { color: var(--red); }
.footer-col li { display: flex; align-items: flex-start; gap: 9px; }
.footer-col li svg { width: 16px; height: 16px; margin-top: 3px; flex: none; color: var(--brass); }

/* ---------- aree tappabili su telefono ----------
   I link di footer e menu erano alti 24px: troppo poco per il dito.
   Qui salgono a 40px senza cambiare l'aspetto su desktop. */
@media (max-width: 959px) {
  .footer-col ul { gap: 3px; }
  .footer-col a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }
  .footer-col li svg { margin-top: 0; align-self: center; }
  .footer-col address { padding-block: 6px; }
  .mobile-nav-contacts { gap: 2px; }
  .mobile-nav-contacts a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* whatsapp float button (mobile comfort) */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.65);
  text-decoration: none;
}
.whatsapp-float svg { width: 27px; height: 27px; }
/* finche' si vede la copertina il pulsante e' di troppo: li' c'e' gia' il bottone
   WhatsApp grande, e sovrapposto copriva l'elenco dei servizi */
.whatsapp-float { transition: opacity 0.25s ease, transform 0.25s ease; }
.whatsapp-float.is-hidden { opacity: 0; transform: scale(0.6); pointer-events: none; }

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
