/* ===================================================================
   Nanni's House — design system
   Palette "Editorial Chiaro": bianco/quasi-bianco + oro come unico
   accento vivo + verde riservato a poche sezioni mirate (dark section,
   footer). --cream/--cream-alt/--charcoal* mantengono i nomi storici
   per non dover toccare ogni singolo uso nel file, ma i VALORI sono
   la nuova palette chiara.
   =================================================================== */

:root {
  --gold: #d9a441;
  --gold-dark: #b9862b;
  --gold-hover: #cc9640;
  --gold-light: #f2c877;
  --gold-text: #7f5615; /* AA-safe gold for small text, incl. on sand/sage section tints */
  --green: #3c6255;
  --green-dark: #2a4740;
  --green-tint: #eef2ee;
  --cream: #ffffff; /* "paper" — base chiarissima */
  --cream-alt: #f6f5f2; /* "paper-alt" — sezione alternata, neutro quasi bianco */
  --white: #ffffff;
  --charcoal: #1e1c1a; /* "ink" — testo primario, antracite quasi nero */
  --charcoal-soft: #5a5854; /* "ink-soft" — testo secondario */
  --line: rgba(30, 28, 26, 0.1);

  /* toni "di casa" attenuati — ispirati alle pareti reali (ocra soggiorno, salvia camere), non identici */
  --sand: #f4e7cf;
  --sand-line: rgba(150, 105, 30, 0.16);
  --sage: #b2d1c4;
  --sage-line: rgba(20, 40, 32, 0.2);

  --font-serif: "Bricolage Grotesque", sans-serif;
  --font-sans: "Bricolage Grotesque", sans-serif;

  --container: 1180px;
  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-soft: 0 20px 45px -20px rgba(50, 47, 42, 0.35);
  --shadow-card: 0 12px 30px -14px rgba(50, 47, 42, 0.28);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
  color: var(--charcoal);
}

p {
  margin: 0;
  line-height: 1.7;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.italic {
  font-style: normal;
  font-weight: 500;
  color: var(--gold-light);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-dark);
}

/* ---------- i18n toggle ---------- */
body.lang-it [data-lang="en"],
body.lang-it [data-lang="fr"],
body.lang-en [data-lang="it"],
body.lang-en [data-lang="fr"],
body.lang-fr [data-lang="it"],
body.lang-fr [data-lang="en"] {
  display: none !important;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 14px 28px -14px rgba(217, 164, 65, 0.75);
}
.btn-primary:hover {
  background: var(--gold-hover);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--line);
}
.btn-outline:hover {
  border-color: var(--green-dark);
  background: var(--green-tint);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.26);
}

.site-header.scrolled .btn-ghost-light {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}
.site-header.scrolled .btn-ghost-light:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.8rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===================================================================
   Header / Nav
   =================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  padding: 10px 0;
  box-shadow: 0 8px 24px -18px rgba(30, 28, 26, 0.15);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
  transition: filter 0.4s var(--ease);
}

.site-header:not(.scrolled) .brand img {
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--white);
  transition: color 0.4s var(--ease);
}

.site-header.scrolled .nav-links a {
  color: var(--charcoal);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 3px;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-header.scrolled .lang-toggle {
  background: var(--cream-alt);
  border-color: var(--line);
}

.lang-toggle .lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--white);
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.site-header.scrolled .lang-toggle .lang-btn {
  color: var(--charcoal-soft);
}

.lang-toggle .lang-btn.active {
  background: var(--gold);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background 0.4s var(--ease);
}

.site-header.scrolled .nav-toggle span {
  background: var(--charcoal);
}

/* ===================================================================
   Hero
   =================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 68%;
  filter: brightness(1.12) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 18, 14, 0.42) 0%, rgba(20, 18, 14, 0.22) 40%, rgba(14, 12, 9, 0.62) 100%);
}

.hero-content {
  padding-top: 120px;
  padding-bottom: 220px;
  max-width: 780px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  color: var(--white);
  margin: 18px 0 24px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero h1 .accent {
  display: block;
}

.hero .eyebrow {
  color: var(--gold-light);
}
.hero .eyebrow::before {
  background: var(--gold-light);
}

.hero-lead {
  font-size: 1.15rem;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-facts {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  transform: translateY(50%);
  z-index: 5;
}

.facts-bar {
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.facts-list {
  display: flex;
  flex-wrap: wrap;
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}

.fact:first-child {
  padding-left: 0;
  border-left: none;
}

.fact strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--charcoal);
}

.fact span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  font-weight: 600;
}

.facts-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================================================
   Sections generic
   =================================================================== */

section {
  padding: 150px 0 110px;
  position: relative;
}

section.tight-top {
  padding-top: 100px;
}

.section-alt {
  background: var(--cream-alt);
}

.section-sand {
  background: var(--sand);
}

.section-sage {
  background: var(--sage);
}

.section-green {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.88);
}
.section-green h2,
.section-green h3 {
  color: var(--white);
}
.section-green .eyebrow {
  color: var(--gold-light);
}
.section-green .eyebrow::before {
  background: var(--gold-light);
}

.section-sand .eyebrow {
  color: var(--green-dark);
}
.section-sand .eyebrow::before {
  background: var(--green-dark);
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-top: 14px;
}

.section-head p {
  margin-top: 18px;
  font-size: 1.05rem;
  color: var(--charcoal-soft);
}

.section-green .section-head p {
  color: rgba(255, 255, 255, 0.78);
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   About / La casa
   =================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media img,
.room-media img,
.gallery-item img {
  filter: brightness(1.1) saturate(1.04);
}

.about-media img {
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-media .badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gold-text);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-card);
  font-family: var(--font-serif);
  text-align: center;
  line-height: 1.1;
  backdrop-filter: blur(4px);
}

.about-media .badge strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
}

.about-media .badge span {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--charcoal-soft);
}

.about-text p + p {
  margin-top: 18px;
}

.about-text h2 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin: 14px 0 22px;
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat-row .fact strong {
  color: var(--gold-dark);
}

/* ===================================================================
   Rooms
   =================================================================== */

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.room-card {
  background: var(--white);
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.room-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px -20px rgba(50, 47, 42, 0.4);
}

.room-media {
  height: 280px;
  overflow: hidden;
}

.room-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.room-card:hover .room-media img {
  transform: scale(1.06);
}

.room-body {
  padding: 26px 26px 30px;
}

.room-body .eyebrow {
  margin-bottom: 10px;
}

.room-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.room-body p {
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}

/* ===================================================================
   Gallery
   =================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  /* reset: .gallery-item è un <button>, senza questo resta il bordo nativo del browser */
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  text-align: inherit;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(42, 34, 20, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.gallery-item:hover span {
  opacity: 1;
  transform: translateY(0);
}

.gallery-cta {
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery-cta:hover {
  background: var(--gold-dark);
}

.gallery-cta:hover {
  transform: translateY(-4px);
}

.gallery-cta .plus-icon {
  position: static;
  opacity: 1;
  transform: none;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-light);
}

.gallery-cta span:not(.plus-icon) {
  position: static;
  opacity: 1;
  transform: none;
  text-align: center;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.35;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 14, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: var(--radius-m);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.3s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ===================================================================
   Amenities
   =================================================================== */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.amenity {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 20px -14px rgba(30, 28, 26, 0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.amenity:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -16px rgba(30, 28, 26, 0.35);
}

.amenity .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-dark);
}

.amenity .icon svg {
  width: 21px;
  height: 21px;
}

.amenity span:not(.icon) {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--charcoal);
  min-width: 0;
}

/* ===================================================================
   Location
   =================================================================== */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.location-map {
  border-radius: var(--radius-l);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  height: 460px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.nearby-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.nearby-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.nearby-item .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nearby-item .icon svg { width: 18px; height: 18px; }

.nearby-item .label {
  flex: 1;
  font-weight: 600;
  font-size: 0.94rem;
}

.nearby-item .dist {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--gold-text);
  white-space: nowrap;
}

.trips-strip {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.trips-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
  margin-bottom: 16px;
  display: block;
}

.trips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.trip-card {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  white-space: nowrap;
}

.trip-card strong {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal);
}

.trip-card span {
  font-size: 0.78rem;
  color: var(--gold-text);
  font-weight: 600;
}

/* ===================================================================
   Tour & esperienze
   =================================================================== */

.section-head strong {
  color: var(--green-dark);
}

.tours-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.tour-category {
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: 0 8px 20px -16px rgba(30, 28, 26, 0.3);
  overflow: hidden;
}

.tour-category summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--charcoal);
  list-style: none;
}

.tour-category summary::-webkit-details-marker {
  display: none;
}

.tour-category summary:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: -3px;
}

.tour-category .chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold-dark);
  transition: transform 0.35s var(--ease);
}

.tour-category[open] .chevron {
  transform: rotate(180deg);
}

.tour-items {
  padding: 0 26px 22px;
}

.tour-items li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  color: var(--charcoal-soft);
}

.tours-cta {
  text-align: center;
  padding-top: 8px;
}

.tours-cta p {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.tours-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================================================
   Da sapere / rules
   =================================================================== */

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.rule-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-m);
  padding: 26px;
}

.rule-card h4 {
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.rule-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.rule-card p + p {
  margin-top: 8px;
}

/* ===================================================================
   Host
   =================================================================== */

.host-card {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 50px;
  background: var(--white);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 46px;
  align-items: center;
}

.host-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  color: var(--charcoal);
  box-shadow: var(--shadow-card);
}

.host-meta {
  display: flex;
  gap: 22px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.host-meta .fact strong {
  color: var(--charcoal);
  font-size: 1.2rem;
}

.host-name {
  font-size: 1.9rem;
  margin: 10px 0 14px;
}

/* ===================================================================
   Contact
   =================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card .icon-lg {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}
.contact-card .icon-lg svg { width: 26px; height: 26px; }

.contact-card h3 {
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--charcoal-soft);
  font-size: 0.95rem;
}

.contact-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

.contact-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.channels-note {
  margin-top: 34px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
}

.channels-note a {
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================================================================
   Footer
   =================================================================== */

.site-footer {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 320px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.cin-plate {
  margin-top: 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-s);
  padding: 12px 16px;
}

.cin-plate span {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
}

.cin-plate strong {
  font-family: "Courier New", monospace;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.back-to-top {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.back-to-top:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* whatsapp float button */
.wa-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #3c6255;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.5);
  z-index: 90;
  transition: transform 0.3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.08);
}
.wa-float svg {
  width: 28px;
  height: 28px;
}

/* ===================================================================
   Responsive
   =================================================================== */

/* menu a tendina già sui tablet: il menu in francese è più lungo */
@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1000px) {
  .about-grid,
  .location-grid,
  .host-card {
    grid-template-columns: 1fr;
  }
  .about-media img {
    height: 340px;
  }
  .host-card {
    padding: 34px;
  }
  .host-avatar {
    max-width: 180px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    row-gap: 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .header-actions .lang-toggle {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions .btn-ghost-light {
    display: none;
  }

  section {
    padding: 110px 0 70px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero {
    flex-wrap: wrap;
  }

  .hero-facts {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
    padding-bottom: 40px;
  }

  .facts-bar {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }
  .facts-list {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .facts-list .fact {
    border-left: none;
    border-top: 1px solid var(--line);
    padding: 14px 0 0;
  }
  .facts-list .fact:first-child {
    border-top: none;
    padding-top: 0;
  }
  .facts-cta {
    width: 100%;
  }
  .facts-cta .btn {
    flex: 1;
  }

  .rooms-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .amenities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .amenity {
    padding: 16px 14px;
    gap: 10px;
  }

  .amenity .icon {
    width: 36px;
    height: 36px;
  }

  .amenity .icon svg {
    width: 18px;
    height: 18px;
  }

  .amenity span:not(.icon) {
    font-size: 0.82rem;
  }

  .stat-row .fact,
  .host-meta .fact {
    border-left: none;
    padding-left: 0;
  }

  .rules-grid {
    grid-template-columns: 1fr;
  }

  .trips-grid {
    grid-template-columns: 1fr;
  }
  .trip-card {
    justify-content: space-between;
  }

  .about-media .badge {
    left: 16px;
    bottom: 16px;
    padding: 14px 18px;
  }

  .host-card {
    padding: 26px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
   Mobile nav overlay
   =================================================================== */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

.mobile-nav.open {
  transform: translateY(0);
}

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
}

.mobile-nav .lang-toggle {
  margin-top: 10px;
}

.mobile-nav-close {
  position: absolute;
  top: 26px;
  right: 26px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   Accessibility: focus states, touch targets, reduced motion
   =================================================================== */

a:focus-visible,
button:focus-visible,
.gallery-item:focus-visible,
.nav-toggle:focus-visible,
.lang-toggle .lang-btn:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
  border-radius: 6px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next,
.nav-toggle,
.back-to-top,
.wa-float {
  min-width: 44px;
  min-height: 44px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
