/* ---------- Font Face: Times New Roman Condensed (Titoli) & Helvetica Neue (Testi) ---------- */
@font-face {
  font-family: 'Times New Roman Condensed';
  src: url('Times New Roman MT Std Condensed Italic.otf') format('opentype'),
       url('Times New Roman MT Std Condensed Italic/Times New Roman MT Std Condensed Italic.otf') format('opentype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Times New Roman Condensed';
  src: url('Times New Roman MT Std Condensed Italic.otf') format('opentype'),
       url('Times New Roman MT Std Condensed Italic/Times New Roman MT Std Condensed Italic.otf') format('opentype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Helvetica Neue Custom';
  src: url('Helvetica-Neue-65-Medium.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Palette: Sfondo Chiaro (#f6f2e1) & Testi Scuri (#2a1f15) ---------- */
:root {
  color-scheme: light;
  --bg: #f6f2e1;
  --tint: #ede8d4;
  --ink: #2a1f15;
  --muted: #6e6255;
  --line: rgba(42, 31, 21, 0.15);
  --line-strong: rgba(42, 31, 21, 0.35);
  --ph: #ede8d4;
  --ph-ink: #6e6255;
  --btn: #2a1f15;
  --btn-ink: #f6f2e1;
  --btn-hover: #463423;
  --focus: #2a1f15;

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --space: clamp(3.5rem, 8vw, 6.5rem);
  --head-h: clamp(4.6rem, 6.2vw, 5.4rem);
  --font-display: 'Helvetica Neue Custom', "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: 'Helvetica Neue Custom', "Helvetica Neue", Helvetica, Arial, sans-serif;
  --letter-spacing-body: -0.04em;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 1rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  letter-spacing: var(--letter-spacing-body);
  font-size: clamp(0.85rem, 0.2vw + 0.8rem, 0.94rem);
  line-height: 1.55;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}
ul { padding: 0; list-style: none; }
a { color: inherit; }
p {
  max-width: 58ch;
  font-family: var(--font-text);
  letter-spacing: var(--letter-spacing-body);
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink);
}
p + p { margin-top: 0.85em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2*var(--gutter), 84rem); margin-inline: auto; }
.sec { padding-block: var(--space); position: relative; background: var(--bg); }
.sec--tint { background: var(--tint); }
.tint { background: var(--tint); }
.muted { color: var(--muted); }

/* Titoli & Tipografia */
.h1-page {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: clamp(1.2rem, 3vw, 2.2rem);
  color: var(--ink);
  text-transform: none;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.4vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  max-width: 24ch;
  color: var(--ink);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lead {
  font-family: var(--font-text);
  letter-spacing: var(--letter-spacing-body);
  font-size: clamp(1rem, 0.4vw + 0.88rem, 1.15rem);
  line-height: 1.45;
  max-width: 38ch;
  color: var(--ink);
}

/* ---------- Immagini: Al vivo e senza stondature ---------- */
img {
  display: block;
  max-width: 100%;
  border-radius: 0 !important;
}
.ph {
  background: var(--ph);
  color: var(--ph-ink);
  aspect-ratio: var(--ar, 4/3);
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0;
  border: 0;
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- Animazione Slide Up allo scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.45rem; padding: 0.55rem 1.35rem;
  border-radius: 999px;
  background: var(--btn); color: var(--btn-ink);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-body);
  text-decoration: none;
  border: 1.5px solid var(--btn);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--btn-hover); border-color: var(--btn-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* ---------- Header & IT | ENG Switcher ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--head-h) + env(safe-area-inset-top, 0px));
  background: rgba(246, 242, 225, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

/* Header trasparente sovrapposto al video hero della homepage (senza bordini) */
.header.header--transparent:not(.header--scrolled) {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.header.header--transparent:not(.header--scrolled) * {
  outline: none !important;
}
.header.header--transparent:not(.header--scrolled) .menu-btn,
.header.header--transparent:not(.header--scrolled) .menu-btn:focus,
.header.header--transparent:not(.header--scrolled) .menu-btn:focus-visible,
.header.header--transparent:not(.header--scrolled) .menu-btn:active {
  color: #ffffff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
.header.header--transparent:not(.header--scrolled) .logo__img {
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}
.header.header--transparent:not(.header--scrolled) .lang-btn {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  border: none !important;
  outline: none !important;
}
.header.header--transparent:not(.header--scrolled) .lang-btn:hover,
.header.header--transparent:not(.header--scrolled) .lang-btn.is-active {
  color: #ffffff;
}
.header.header--transparent:not(.header--scrolled) .lang-sep {
  color: rgba(255, 255, 255, 0.45);
}
.header.header--transparent:not(.header--scrolled) .book {
  background: #ffffff;
  color: #14110e;
  border: none !important;
  outline: none !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.header.header--transparent:not(.header--scrolled) .book:hover {
  background: rgba(255, 255, 255, 0.9);
  border: none !important;
  outline: none !important;
  color: #14110e;
}
.header.header--transparent.header--scrolled {
  box-shadow: 0 4px 20px rgba(42, 31, 21, 0.06);
}
.header__in {
  height: var(--head-h); padding-inline: var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
}
.menu-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: 0.65rem;
  min-height: 2.4rem; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer;
  font-family: var(--font-text); font-weight: 600; font-size: 0.85rem; line-height: 1;
  letter-spacing: var(--letter-spacing-body);
  outline: none;
}
.menu-btn:focus:not(:focus-visible),
.menu-btn:focus-visible {
  outline: none !important;
}
.menu-btn__icon { display: grid; gap: 5px; width: 1.4rem; }
.menu-btn__icon i { display: block; height: 2px; background: currentColor; transition: transform 0.35s ease, width 0.35s ease; }
.menu-btn__icon i:last-child { width: 70%; }
.menu-btn:hover .menu-btn__icon i:last-child { width: 100%; }
.logo {
  justify-self: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0.25rem 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.logo:hover {
  opacity: 0.85;
}
.logo__img {
  display: block;
  height: clamp(2.6rem, 3.8vw, 3.9rem);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.logo--footer {
  justify-self: start;
  margin-bottom: 0.85rem;
  padding: 0;
}
.logo--footer .logo__img {
  height: clamp(3.4rem, 5vw, 4.8rem);
}
.header__right {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: clamp(0.55rem, 1.4vw, 1rem);
}
.book { min-height: 2.35rem; padding-inline: 1.15rem; font-size: 0.82rem; }

/* Language toggle button IT | ENG */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: var(--letter-spacing-body);
  user-select: none;
}
.lang-btn {
  background: none;
  border: 0;
  padding: 0.2rem 0.25rem;
  font: inherit;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.is-active {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-sep { color: var(--line); font-weight: 300; }

/* ---------- Menu laterale (Drawer Chiaro) ---------- */
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(42, 31, 21, 0.35); opacity: 0; pointer-events: none; transition: opacity 0.45s ease; }
.scrim.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(26rem, 90vw);
  background: var(--bg); color: var(--ink);
  padding: calc(1.25rem + env(safe-area-inset-top, 0px)) clamp(1.5rem, 4vw, 2.5rem) calc(1.5rem + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 1.25rem; overflow-y: auto;
  transform: translateX(-102%); visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.6s;
  border-radius: 0 !important;
  border-right: 1px solid var(--line);
  box-shadow: 4px 0 30px rgba(42, 31, 21, 0.08);
}
.drawer.is-open { transform: none; visibility: visible; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; }
.drawer__close {
  background: none; border: 0; color: var(--ink); cursor: pointer; min-height: 2.4rem; padding: 0;
  font-family: var(--font-text); font-weight: 600; font-size: 0.88rem; line-height: 1;
  letter-spacing: var(--letter-spacing-body);
}
.drawer nav > ul { display: grid; gap: 0.2rem; }
.drawer nav a {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.25rem 0; text-decoration: none;
  font-family: var(--font-text); font-weight: 600;
  font-size: clamp(1.02rem, 1.6vw, 1.25rem); line-height: 1.25;
  letter-spacing: var(--letter-spacing-body);
  color: var(--ink);
  transition: transform 0.35s ease, color 0.2s ease, opacity 0.2s ease;
}
.drawer nav a:hover { transform: translateX(0.35rem); }
.drawer nav a::before {
  content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%;
  background: var(--ink); transform: scale(0); transition: transform 0.35s ease; flex: none;
}
.drawer nav a[aria-current="page"]::before,
.drawer nav a.is-active::before { transform: scale(1); }
.drawer nav a[aria-current="page"],
.drawer nav a.is-active { font-weight: 700; }
.drawer nav a.is-parent-active { font-weight: 700; }

/* Servizi toggle con freccina triangolare */
.drawer nav a.drawer__services-toggle {
  cursor: pointer;
  user-select: none;
}
.drawer nav a.drawer__services-toggle::before {
  display: none !important;
}
.drawer__arrow {
  display: inline-block;
  width: 0.54rem;
  height: 0.54rem;
  margin-right: 0.15rem;
  flex: none;
  color: currentColor;
  transform-origin: 50% 50%;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: rotate(0deg); /* punta in su (chiuso) */
}
.drawer__item--has-sub.is-expanded .drawer__arrow,
.drawer__services-toggle[aria-expanded="true"] .drawer__arrow {
  transform: rotate(180deg); /* punta in giù (aperto) */
}

/* Submenu collassabile sotto Services */
.drawer__sub {
  list-style: none;
  display: grid;
  gap: 0.12rem;
  margin: 0 0 0 0.4rem;
  padding-left: 1rem;
  border-left: 1.5px solid var(--line);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.25s ease,
              margin 0.35s ease,
              visibility 0.35s ease;
}
.drawer__item--has-sub.is-expanded .drawer__sub {
  max-height: 280px;
  opacity: 1;
  visibility: visible;
  margin: 0.35rem 0 0.55rem 0.4rem;
}
.drawer nav .drawer__sub a {
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  font-weight: 500;
  line-height: 1.3;
  padding: 0.2rem 0;
  color: var(--ink);
  opacity: 0.82;
  gap: 0.5rem;
}
.drawer nav .drawer__sub a:hover {
  opacity: 1;
  transform: translateX(0.25rem);
}
.drawer nav .drawer__sub a::before {
  width: 0.35rem;
  height: 0.35rem;
}
.drawer nav .drawer__sub a[aria-current="page"],
.drawer nav .drawer__sub a.is-active {
  font-weight: 600;
  opacity: 1;
}
.drawer__lang {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer__lang-label { font-size: 0.82rem; color: var(--muted); }
.lang-switch--drawer .lang-btn { color: var(--muted); }
.lang-switch--drawer .lang-btn:hover,
.lang-switch--drawer .lang-btn.is-active { color: var(--ink); }
.lang-switch--drawer .lang-sep { color: var(--line); }
.drawer__contact { border-top: 1px solid var(--line); padding-top: 1rem; font-size: 0.85rem; line-height: 1.6; color: var(--ink); }
.drawer__contact p { font-size: 0.85rem; color: var(--ink); }
.drawer__contact a { text-underline-offset: 0.2em; }
.drawer__ig { border-top: 1px solid var(--line); padding-top: 0.85rem; font-size: 0.85rem; color: var(--ink); }

/* ---------- Page Hero Header ---------- */
.page-hero {
  padding-top: calc(var(--head-h) + clamp(1.5rem, 4vw, 3.5rem));
  padding-bottom: clamp(2rem, 5vw, 4rem);
  background: var(--bg);
}
.page-hero__cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem var(--gutter);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.page-hero__lead { grid-column: 1 / span 7; }
.page-hero__more { grid-column: 9 / span 4; align-self: end; }

/* Immagine al vivo da bordo a bordo */

/* ---------- Page Hero with Video Background (Homepage) ---------- */
.page-hero--video {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + clamp(1.5rem, 3.5vw, 3rem));
  padding-bottom: calc(clamp(2rem, 4vw, 3.5rem) + env(safe-area-inset-bottom, 0px));
  background: #14110e;
  overflow: hidden;
  box-sizing: border-box;
}

.page-hero--video .page-hero__cols {
  margin-bottom: 0;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-video-bg__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-video-bg__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  z-index: 2;
  pointer-events: none;
}

.page-hero--video .wrap {
  position: relative;
  z-index: 10;
  margin-block: auto;
}

.page-hero--video .h1-page {
  color: #f6f2e1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.85);
}

.page-hero--video .page-hero__lead,
.page-hero--video .lead {
  color: #f6f2e1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.page-hero--video .page-hero__more,
.page-hero--video .page-hero__more p {
  color: #f6f2e1 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.bleed-media {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  overflow: hidden;
  border-radius: 0 !important;
}
.bleed-media .ph {
  width: 100%;
  height: clamp(360px, 58vh, 650px);
  aspect-ratio: auto;
  border-radius: 0 !important;
}

/* ---------- Layout Split AL VIVO (50% testo / 50% foto a filo) ---------- */
.split-bleed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: clamp(460px, 62vh, 650px);
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
}
.split-bleed .split__text {
  padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 4.5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 38rem;
  margin-inline: auto;
  width: 100%;
}
.split-bleed .split__media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}
.split-bleed .split__media .ph {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  position: absolute;
  inset: 0;
  border-radius: 0 !important;
}
.split-bleed .split__media .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}
.split-bleed .split__media--dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.split-bleed .split__media--dual .ph {
  position: relative;
  height: 100%;
}
.split-bleed--rev .split__text { order: 2; }
.split-bleed--rev .split__media { order: 1; }

/* ---------- Homepage Index List ---------- */
.index { border-top: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) minmax(7rem, 11rem) auto;
  gap: 1rem var(--gutter); align-items: center;
  padding: 1.35rem 0.75rem; border-bottom: 1px solid var(--line); text-decoration: none;
  transition: padding 0.35s ease, background 0.25s ease;
}
.index a:hover {
  background: rgba(42, 31, 21, 0.04);
  padding-inline: 1.25rem;
}
.index h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem); line-height: 1.1; letter-spacing: -0.025em;
  color: var(--ink);
}
.index p {
  color: var(--muted); font-family: var(--font-text); letter-spacing: var(--letter-spacing-body);
  font-size: 0.88rem; line-height: 1.45;
}
.index .ph {
  --ar: 16/9; border-radius: 0 !important;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: right center;
  overflow: hidden;
}
.index a:hover .ph { transform: scale(1.04); }

.index__action { justify-self: end; }
.btn--index {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.42rem; min-height: 2.35rem; padding: 0.45rem 1.25rem;
  border-radius: 999px; background: var(--ink); color: var(--bg);
  font-family: var(--font-text); font-weight: 600; font-size: 0.82rem;
  letter-spacing: var(--letter-spacing-body); border: 1.5px solid var(--ink);
  white-space: nowrap; pointer-events: none;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.btn--index .btn__arrow {
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  flex: none;
  color: currentColor;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.index a:hover .btn--index .btn__arrow {
  transform: translate(2px, -2px);
}
.index a:hover .btn--index {
  transform: translateY(-2px); background: var(--btn-hover); border-color: var(--btn-hover);
  box-shadow: 0 4px 12px rgba(42, 31, 21, 0.15);
}


/* ---------- Sezione Piantina / Resort Map ---------- */
.sec--map {
  background: var(--bg);
  border: none !important;
  border-top: none !important;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}
.map-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.map-frame {
  width: 100%;
  background: transparent;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-img {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin-inline: auto;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ---------- About & Page Head Grid ---------- */
.about__head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.5rem var(--gutter);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.about__head .h1-page, .about__head .h2 {
  grid-column: 1 / span 12;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}
.about__lead { grid-column: 1 / span 5; }
.about__body { grid-column: 7 / span 5; }

/* ---------- Galleria AL VIVO (20 Foto) ---------- */
.gallery { margin-top: clamp(3rem, 6vw, 5.5rem); }
.gallery__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; margin-bottom: 2rem; }
.gallery__grid--bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  background: var(--line);
}
.gallery__grid--bleed > div {
  display: flex;
  height: 100%;
  width: 100%;
}
.gallery__grid--bleed .ph {
  border-radius: 0 !important;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1;
}
.gallery__grid--bleed img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery__grid--bleed .ph:hover img {
  transform: scale(1.04);
}
.g-span-7 { grid-column: span 7; } .g-span-7 .ph { --ar: 16/10; }
.g-span-5 { grid-column: span 5; } .g-span-5 .ph { --ar: 8/7; }
.g-span-4 { grid-column: span 4; } .g-span-4 .ph { --ar: 1/1; }
.g-span-3 { grid-column: span 3; } .g-span-3 .ph { --ar: 4/3; }
.g-span-6 { grid-column: span 6; } .g-span-6 .ph { --ar: 16/9; }

/* ---------- Fullscreen Lightbox Gallery ---------- */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 15, 10, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem;
}
.gallery-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.gallery-modal__stage {
  position: relative;
  max-width: 90vw;
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.gallery-modal__stage img {
  max-width: 88vw;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6);
  border-radius: 0 !important;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.gallery-modal__caption {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: rgba(246, 242, 225, 0.7);
  font-family: var(--font-text);
  font-size: 0.85rem;
  letter-spacing: var(--letter-spacing-body);
}
.gallery-modal__counter {
  color: rgba(246, 242, 225, 0.7);
  font-size: 0.85rem;
  white-space: nowrap;
}
.gallery-modal__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(246, 242, 225, 0.12);
  color: #f6f2e1;
  border: 1px solid rgba(246, 242, 225, 0.28);
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background 0.25s, transform 0.25s, color 0.25s;
  z-index: 1010;
  outline: none;
}
.gallery-modal__nav:hover {
  background: #f6f2e1;
  color: #2a1f15;
  transform: translateY(-50%) scale(1.08);
}
.gallery-modal__prev { left: clamp(0.75rem, 2.5vw, 2.5rem); }
.gallery-modal__next { right: clamp(0.75rem, 2.5vw, 2.5rem); }
.gallery-modal__close {
  position: absolute;
  top: clamp(0.75rem, 2.5vw, 2rem);
  right: clamp(0.75rem, 2.5vw, 2rem);
  background: rgba(246, 242, 225, 0.12);
  color: #f6f2e1;
  border: 1px solid rgba(246, 242, 225, 0.28);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  transition: background 0.25s, color 0.25s;
  z-index: 1020;
  outline: none;
}
.gallery-modal__close:hover {
  background: #f6f2e1;
  color: #2a1f15;
}

/* ---------- Community & Newsletter Box ---------- */
.community {
  margin-top: clamp(3rem, 6vw, 5.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter);
}
.community__text { grid-column: 1 / span 5; }
.community form { grid-column: 7 / span 6; align-self: end; }

/* ---------- Services Tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem) var(--gutter); }
.tiles li { grid-column: span 4; }
.tiles li:nth-child(1), .tiles li:nth-child(2), .tiles li:nth-child(6), .tiles li:nth-child(7) { grid-column: span 6; }
.tiles a { display: block; text-decoration: none; }
.tiles .ph { --ar: 4/3; border-radius: 0 !important; }
.tiles li:nth-child(1) .ph, .tiles li:nth-child(2) .ph { --ar: 16/10; }
.tiles a:hover .ph img { transform: scale(1.04); }
.tiles .h3 { margin-top: 0.75rem; }

/* ---------- Facilities Sport ---------- */
.facilities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); margin-top: clamp(2rem, 4vw, 3.5rem); }
.facilities .ph { --ar: 3/4; border-radius: 0 !important; }
.facilities li:nth-child(even) { margin-top: clamp(1rem, 3.5vw, 2.5rem); }
.facilities .h3 { margin-top: 0.75rem; }

.soon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  max-width: fit-content;
  margin-bottom: 1.2rem;
  padding: 0.35rem 0.95rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-body);
  color: var(--ink);
}
.contacts-inline { margin-top: 1.5rem; display: grid; gap: 0.35rem; font-family: var(--font-text); font-weight: 500; font-size: 0.88rem; letter-spacing: var(--letter-spacing-body); }
.contacts-inline a { text-underline-offset: 0.2em; }
.facts { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: minmax(6rem, 1fr) 2fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-text); font-weight: 600; font-size: 0.88rem; line-height: 1.4; letter-spacing: var(--letter-spacing-body); color: var(--ink); }
.facts dd { font-family: var(--font-text); font-size: 0.88rem; letter-spacing: var(--letter-spacing-body); color: var(--ink); }

/* ---------- Form ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.field { display: grid; gap: 0.15rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-text); font-weight: 600; font-size: 0.85rem; line-height: 1.3; letter-spacing: var(--letter-spacing-body); color: var(--ink); }
.field input:not([type="checkbox"]), .field select, .field textarea {
  width: 100%; background: transparent; color: var(--ink); border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0;
  padding: 0.55rem 0; font: inherit; font-size: 0.88rem; letter-spacing: var(--letter-spacing-body);
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink); opacity: 0.55; }
.consent { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.82rem; line-height: 1.45; letter-spacing: var(--letter-spacing-body); color: var(--ink); }
.consent input { margin-top: 0.2rem; width: 1rem; height: 1rem; accent-color: var(--ink); flex: none; }
.form__status { min-height: 1.4rem; font-family: var(--font-text); font-weight: 600; font-size: 0.88rem; line-height: 1.4; letter-spacing: var(--letter-spacing-body); color: var(--ink); }

/* Contatti & Recapiti */
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem var(--gutter); }
.contact__info { grid-column: 1 / span 5; }
.contact__form { grid-column: 7 / span 6; }
.recapiti { margin-top: 1.5rem; border-top: 1px solid var(--line); }
.recapiti div { display: grid; grid-template-columns: minmax(5.5rem, 1fr) 2.2fr; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
.recapiti dt { font-family: var(--font-text); font-weight: 600; font-size: 0.88rem; line-height: 1.4; letter-spacing: var(--letter-spacing-body); color: var(--ink); }
.recapiti dd { font-family: var(--font-text); font-size: 0.88rem; letter-spacing: var(--letter-spacing-body); color: var(--ink); }

/* Mappa AL VIVO */
.map-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  max-width: 100vw;
  height: clamp(340px, 45vh, 480px);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-radius: 0 !important;
  overflow: hidden;
}
.map-bleed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(100%) contrast(105%);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg);
  color: var(--ink);
  padding-block: clamp(3rem, 6vw, 5rem);
  font-size: 0.82rem;
  border-top: 1px solid var(--line);
}
.footer p { color: var(--ink); font-size: 0.82rem; }
.footer a { color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
.footer a:hover { opacity: 0.7; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem var(--gutter); }
.footer__brand { grid-column: 1 / span 3; }
.footer__col { grid-column: span 2; }
.footer__col--newsletter { grid-column: span 3; }
.footer__col h2 { font-family: var(--font-text); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.5rem; }

.footer__nl-form { display: grid; gap: 0.65rem; }
.footer__nl-group { display: flex; gap: 0.5rem; align-items: stretch; }
.footer__nl-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  color: var(--ink);
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  padding: 0.45rem 0;
  font: inherit;
  font-size: 0.85rem;
  letter-spacing: var(--letter-spacing-body);
}
.footer__nl-input:focus { outline: none; border-bottom-color: var(--muted); }
.footer__nl-input::placeholder { color: var(--ink); opacity: 0.55; }
.btn--nl {
  min-height: auto;
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  white-space: nowrap;
  flex: none;
}
.footer__consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.75rem;
  line-height: 1.35;
  color: var(--muted);
  cursor: pointer;
}
.footer__consent input {
  margin-top: 0.15rem;
  width: 0.9rem;
  height: 0.9rem;
  accent-color: var(--ink);
  flex: none;
}
.footer__consent a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.78rem;
}

/* ---------- Privacy & Legal Page ---------- */
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.legal__back:hover {
  color: var(--ink);
}
.legal__card {
  background: var(--tint);
  border: 1px solid var(--line);
  padding: 1.75rem 2rem;
  margin-block: 2rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.legal__card-item dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.legal__card-item dd {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
}
.legal__card-item a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal__article {
  max-width: 72ch;
}
.legal__article h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
  color: var(--ink);
}
.legal__article h3 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.legal__article p, .legal__article ul {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink);
}
.legal__article ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-block: 0.75rem;
}
.legal__article ul li {
  margin-bottom: 0.45rem;
}
.legal__article a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__article a:hover {
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 72rem) {
  .index a { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr) auto; }
  .index a > div.ph { display: none; }
  .facilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facilities li:nth-child(even) { margin-top: 0; }
  .tiles li { grid-column: span 6; }
  .tiles li:nth-child(7) { grid-column: 1 / -1; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col { grid-column: span 3; }
  .footer__col--newsletter { grid-column: span 3; }
}
@media (max-width: 56rem) {
  .page-hero__lead, .page-hero__more,
  .about__head .h1-page, .about__lead, .about__body,
  .community__text, .community form,
  .contact__info, .contact__form,
  .footer__col, .footer__col--newsletter { grid-column: 1 / -1; }
  .page-hero--video .h1-page {
    font-size: clamp(1.6rem, 5.2vw, 2.8rem);
    white-space: nowrap;
    letter-spacing: -0.035em;
  }
  .page-hero--video .h1-page span {
    display: inline;
  }
  .gallery__grid--bleed {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }
  .gallery__grid--bleed > div {
    grid-column: span 1 !important;
    width: 100% !important;
  }
  .gallery__grid--bleed > div:nth-last-child(-n+2) {
    grid-column: span 2 !important;
  }
  .gallery__grid--bleed .ph {
    --ar: 1/1 !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    width: 100% !important;
  }
  
  .index a {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
    align-items: center;
    padding: 1.15rem 0.5rem;
  }
  .index a > .ph, .index a > div.ph { display: none !important; }
  .index a:hover { padding-inline: 0.5rem; }
  .index h3 { font-size: clamp(1.05rem, 1.4vw, 1.25rem); }
  .index p { font-size: 0.85rem; line-height: 1.4; }
  .btn--index {
    min-height: 2.15rem;
    padding: 0.35rem 1rem;
    font-size: 0.78rem;
  }
  
  .facilities {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 1rem !important;
  }
  .facilities li, .facilities li:nth-child(even) { margin-top: 0 !important; }
  
  .page-hero--video { min-height: 100vh; min-height: 100svh; min-height: 100dvh; }
  .split-bleed { grid-template-columns: 1fr; min-height: auto; }
  .split-bleed .split__media { height: 360px; min-height: 300px; order: 0 !important; }
  .split-bleed .split__text { order: 1 !important; padding: 2.5rem var(--gutter); }
  .logo__img { height: clamp(2.3rem, 4.6vw, 3.1rem); }
}
@media (max-width: 36rem) {
  .header__in { gap: 0.5rem; }
  .page-hero--video { min-height: 100vh; min-height: 100svh; min-height: 100dvh; padding-top: calc(var(--head-h) + env(safe-area-inset-top, 0px) + 1.25rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
  .page-hero--video .h1-page {
    font-size: clamp(1.2rem, 5.7vw, 1.85rem);
    white-space: nowrap;
    letter-spacing: -0.035em;
  }
  .page-hero--video .h1-page span {
    display: inline;
  }
  .logo__img { height: 2.2rem; max-width: 145px; }
  .logo--footer .logo__img { height: clamp(2.6rem, 7vw, 3.5rem); max-width: 210px; }
  .form { grid-template-columns: 1fr; }
  .index a {
    grid-template-columns: 1fr auto;
    gap: 0.6rem 0.85rem;
    align-items: center;
    padding: 1rem 0.25rem;
  }
  .index a > .ph, .index a > div.ph { display: none !important; }
  .index h3 { font-size: 1.05rem; }
  .index p { font-size: 0.82rem; line-height: 1.35; }
  .btn--index {
    min-height: 2rem;
    padding: 0.3rem 0.85rem;
    font-size: 0.75rem;
  }
  .gallery__grid--bleed {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }
  .gallery__grid--bleed > div,
  .gallery__grid--bleed > div:nth-last-child(-n+2) {
    grid-column: span 1 !important;
    width: 100% !important;
  }
  .gallery__grid--bleed .ph {
    --ar: 1/1 !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    width: 100% !important;
  }
  
  .facilities {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.25rem 0.85rem !important;
  }
  .facilities li, .facilities li:nth-child(even) { margin-top: 0 !important; }
  
  .footer__col { grid-column: 1 / -1; }
  .menu-btn__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tiles li, .tiles li:nth-child(n) { grid-column: 1 / -1; }
  .header__right { gap: 0.4rem; }
  .book { padding-inline: 0.8rem; min-height: 2.2rem; font-size: 0.78rem; }
  .lang-switch { font-size: 0.76rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
