/* =============================================================
   ZENITH LUXURY SUITES — style.css
   Foglio di stile unico e condiviso (index + suite)
   Estetica: lusso notturno, sfondo scuro, accento oro, serif elegante
   ============================================================= */

/* ---------- 0. Font locali (@font-face) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jost-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jost-500.woff2') format('woff2');
}

/* ---------- 1. Variabili & reset ---------- */
:root {
  /* Colori */
  --bg:        #0d0d0f;   /* nero/antracite base */
  --bg-2:      #16161a;   /* pannelli / sezioni alternate */
  --bg-3:      #1c1c21;   /* card */
  --line:      rgba(201, 162, 75, 0.22); /* hairline oro tenue */
  --gold:      #c9a24b;
  --gold-soft: #d8b978;
  --cream:     #f3ede1;
  --text:      #e7e2d8;
  --muted:     #9c968b;

  /* Tipografia */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Misure */
  --header-h: 84px;
  --maxw: 1240px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --radius: 8px; /* arrotondamento sobrio: pulsanti e card recensioni */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- 2. Tipografia condivisa ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; }

.eyebrow,
.section-kicker,
.suite-tag,
.section-index,
.contact-label,
.switch-label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--gold);
}

/* ---------- 3. Layout sezioni ---------- */
.section {
  padding: clamp(4.5rem, 11vw, 9rem) var(--pad);
}
.section-alt { background: var(--bg-2); }

.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-index { display: block; margin-bottom: 1rem; }
.section-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  color: var(--cream);
}
.section-lead {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
}

/* ---------- 4. Bottoni ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.45s var(--ease);
  white-space: nowrap;
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.7), 0 3px 10px -3px rgba(0, 0, 0, 0.45);
}
.btn-lg { padding: 1.15rem 2.6rem; font-size: 0.86rem; }

.btn-gold {
  background: var(--gold);
  color: #12100b;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.75), 0 10px 28px -12px rgba(201, 162, 75, 0.45); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--line);
}
.btn-outline-gold:hover { border-color: var(--gold); background: rgba(201,162,75,0.08); transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(0, 0, 0, 0.75), 0 4px 12px -3px rgba(0, 0, 0, 0.5); }

/* Link sottolineato animato */
.link-underline {
  position: relative;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--gold);
  padding-bottom: 4px;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* =============================================================
   5. HEADER
   ============================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.5s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(13, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* LOGO immagine (PNG trasparente): si appoggia pulito sull'header scuro */
.brand { display: flex; align-items: center; }
.brand-logo {
  height: 58px;
  width: auto;
  transition: opacity 0.4s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.8; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav > a {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  padding: 2px 0;
  transition: color 0.4s var(--ease);
}
.nav > a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav > a:hover { color: var(--gold); }
.nav > a:hover::after { transform: scaleX(1); }

.header-cta { padding: 0.78rem 1.5rem; font-size: 0.74rem; }
.nav-cta-mobile { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 26px;
  background: var(--cream);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =============================================================
   6. HERO
   ============================================================= */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
/* Nota: bg, overlay e content si sovrappongono nell'ordine del DOM */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 30%, rgba(13,13,15,0.15) 0%, rgba(13,13,15,0.55) 55%, rgba(13,13,15,0.9) 100%),
    linear-gradient(to bottom, rgba(13,13,15,0.55) 0%, rgba(13,13,15,0.2) 40%, rgba(13,13,15,0.85) 100%);
}
/* Overlay della home: velo delicato, un po' più scuro nella fascia
   centrale dove sta il titolo; la foto resta leggibile verso i bordi */
.hero-home .hero-overlay {
  background:
    radial-gradient(70% 62% at 50% 44%, rgba(13,13,15,0.55) 0%, rgba(13,13,15,0.35) 55%, rgba(13,13,15,0.12) 100%),
    linear-gradient(to bottom, rgba(13,13,15,0.55) 0%, rgba(13,13,15,0.28) 45%, rgba(13,13,15,0.88) 100%);
}

.hero-content {
  position: relative;
  padding: 0 var(--pad);
  max-width: 900px;
}
.hero .eyebrow {
  display: inline-block;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-title {
  font-size: clamp(4.2rem, 17vw, 12rem);
  color: var(--cream);
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.5s forwards;
}

/* Titolo hero della home: ombra morbida per staccare il testo dalla foto */
.hero-home .hero-title {
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.55), 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero-title-sub {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1.8vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-indent: 0.5em; /* compensa il tracking finale per centratura ottica */
  text-transform: uppercase;
  color: var(--gold-soft);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.hero-subtitle {
  margin: 1.4rem auto 2.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 3vw, 1.7rem);
  color: var(--text);
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.7s forwards;
}
.hero-content .btn {
  opacity: 0;
  animation: fadeUp 1.1s var(--ease) 0.9s forwards;
}

/* Hero suite: leggermente più basso e sottotitolo in oro corsivo */
.hero-suite { height: 82svh; min-height: 520px; }
.hero-suite .hero-subtitle { color: var(--gold-soft); }

/* Indicatore di scroll */
.scroll-cue {
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
}
.scroll-line {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--cream);
  animation: scrollDown 2.2s var(--ease) infinite;
}
.scroll-word {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--muted);
}
@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(250%); }
}

/* =============================================================
   7. INTRO / CHI SIAMO
   ============================================================= */
.intro { background: var(--bg-2); }
.intro-grid, .suite-intro .intro-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.intro-side {
  display: flex; flex-direction: column; gap: 0.8rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--line);
}
.section-kicker { color: var(--cream); }
.intro-body .lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 1.6rem;
}
.intro-body p { color: var(--muted); max-width: 60ch; }

.suite-intro { background: var(--bg); }

/* =============================================================
   8. LE SUITE (card)
   ============================================================= */
.suites { background: var(--bg); }
.suite-cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.suite-card {
  background: var(--bg-3);
  border: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.suite-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.suite-card-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.suite-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.suite-card:hover .suite-card-media img { transform: scale(1.04); }
.suite-card-body {
  padding: 3rem 2.5rem;
  text-align: center;
}
.suite-tag {
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.68rem;
  letter-spacing: 0.3em;
}
.suite-name {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  color: var(--cream);
  margin-bottom: 0.7rem;
}
.suite-line {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 auto 1.6rem;
  max-width: 40ch;
}
.suite-card .link-underline {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.suite-card .link-underline::after { content: none; }
.suite-card .link-underline:hover {
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border-color: var(--gold);
}

/* =============================================================
   9. SERVIZI
   ============================================================= */
.services { background: var(--bg-2); }
.service-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 6 servizi: 2 righe piene, nessuna cella vuota */
  gap: 1px;
  background: var(--line); /* fa da griglia hairline tra le celle */
  border: 1px solid var(--line);
}
.service {
  background: var(--bg-2);
  display: flex; align-items: center; gap: 1.1rem;
  padding: 2.5rem 2rem;
  transition: background 0.5s var(--ease);
}
.service:hover { background: var(--bg-3); }
.service-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  fill: none; stroke: var(--gold);
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round;
}
.service span {
  font-size: 0.98rem; color: var(--text); font-weight: 300;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   10. ESPERIENZE
   ============================================================= */
.experiences {
  position: relative;
  background:
    radial-gradient(90% 120% at 50% 0%, rgba(201,162,75,0.10) 0%, transparent 55%),
    var(--bg);
  text-align: center;
}
.experiences-inner { max-width: 720px; margin: 0 auto; }
.experiences .section-index { margin-bottom: 1.2rem; }
.experiences .section-title { color: var(--cream); font-size: clamp(2.2rem, 6vw, 3.6rem); }
.experiences-text { color: var(--muted); margin: 1.6rem auto 2rem; font-size: 1.08rem; }
.experiences-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-soft);
  margin-bottom: 2.2rem;
}

/* =============================================================
   11. GALLERIA (masonry con CSS columns)
   ============================================================= */
.gallery-section { background: var(--bg); }
.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  column-count: 3;
  column-gap: clamp(0.8rem, 2vw, 1.4rem);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(0.8rem, 2vw, 1.4rem);
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%;
  filter: saturate(1.02) brightness(0.94);
  transition: transform 1s var(--ease), filter 0.7s var(--ease);
}
.gallery-item::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(201,162,75,0);
  transition: box-shadow 0.6s var(--ease);
  pointer-events: none;
}
.gallery-item:hover img { transform: scale(1.05); filter: saturate(1.1) brightness(1.02); }
.gallery-item:hover::after { box-shadow: inset 0 0 0 1px var(--line); }

/* Galleria suite: 3 immagini affiancate su desktop */
.gallery-suite { column-count: 3; }

/* =============================================================
   12. RECENSIONI
   ============================================================= */
.reviews { background: var(--bg-2); }
.review-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.review {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  display: flex; flex-direction: column; gap: 1.2rem;
}
.review-stars { color: var(--gold); letter-spacing: 0.25em; font-size: 0.9rem; }
.review blockquote {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
}
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review-name { font-size: 0.95rem; color: var(--text); letter-spacing: 0.04em; }
.review-from { font-size: 0.72rem; color: var(--gold); text-transform: uppercase; letter-spacing: 0.24em; }

/* =============================================================
   13. CONTATTI
   ============================================================= */
.contacts { background: var(--bg); }
.contacts-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.contacts-info .section-title { text-align: left; }
.contacts-info .section-head { text-align: left; }
.contacts-info .section-index { margin-bottom: 1rem; }
.contacts-info .section-lead { margin: 1rem 0 2.2rem; max-width: 44ch; }
.contact-list { margin-bottom: 2.4rem; }
.contact-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-value { font-size: 1.1rem; color: var(--cream); font-weight: 300; transition: color 0.4s var(--ease); }
a.contact-value:hover { color: var(--gold); }

.map-embed {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background: var(--bg-2);
  /* resa notturna della mappa, coerente con il tema scuro del sito */
  filter: grayscale(1) invert(0.9) hue-rotate(180deg) contrast(0.88) brightness(0.95);
}

/* =============================================================
   14. CTA SUITE + NAVIGAZIONE PAGINE (pagine suite)
   ============================================================= */
.suite-cta {
  text-align: center;
  background:
    radial-gradient(90% 120% at 50% 100%, rgba(201,162,75,0.08) 0%, transparent 55%),
    var(--bg-2);
}
.suite-cta-inner { max-width: 640px; margin: 0 auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

.suite-switch {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad);
  display: flex; justify-content: space-between; gap: 2rem;
  border-top: 1px solid var(--line);
}
.suite-switch-link { display: flex; flex-direction: column; gap: 0.5rem; transition: transform 0.5s var(--ease); }
.suite-switch-link.align-right { text-align: right; align-items: flex-end; }
.suite-switch-link:hover { transform: translateY(-3px); }
.switch-name {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--cream);
  transition: color 0.4s var(--ease);
}
.suite-switch-link:hover .switch-name { color: var(--gold); }

/* =============================================================
   15. FOOTER
   ============================================================= */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--pad) 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.footer-brand-link { display: inline-block; }
.footer-logo {
  height: 108px;
  width: auto;
  transition: opacity 0.4s var(--ease);
}
.footer-brand-link:hover .footer-logo { opacity: 0.8; }
.footer-tag { color: var(--muted); margin-top: 1.2rem; font-size: 0.95rem; max-width: 30ch; }

.footer-nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a {
  font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text);
  transition: color 0.4s var(--ease); width: fit-content;
}
.footer-nav a:hover { color: var(--gold); }

.footer-meta { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-meta p { font-size: 0.82rem; color: var(--muted); letter-spacing: 0.05em; }
.footer-legal { display: flex; gap: 1.2rem; margin-top: 0.8rem; }
.footer-legal a { font-size: 0.78rem; color: var(--muted); transition: color 0.4s var(--ease); }
.footer-legal a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.footer-social a {
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); background: rgba(201,162,75,0.08); transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.6rem var(--pad);
  text-align: center;
}
.footer-bottom p { font-size: 0.76rem; color: var(--muted); letter-spacing: 0.14em; }

/* =============================================================
   16. ANIMAZIONI (reveal on scroll)
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Piccolo stagger tra elementi fratelli */
.service:nth-child(2), .suite-card:nth-child(2), .review:nth-child(2), .gallery-item:nth-child(2n) { transition-delay: 0.08s; }
.service:nth-child(3), .review:nth-child(3), .gallery-item:nth-child(3n) { transition-delay: 0.16s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =============================================================
   17. RESPONSIVE
   ============================================================= */

/* Tablet */
@media (max-width: 960px) {
  .gallery, .gallery-suite { column-count: 2; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobile: menu a tendina + layout in colonna */
@media (max-width: 780px) {
  :root { --header-h: 68px; }

  .brand-logo { height: 48px; }

  /* Nav mobile a tutto schermo */
  .nav {
    position: fixed; inset: 0;
    background: rgba(13, 13, 15, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav > a { font-size: 1.1rem; letter-spacing: 0.2em; }
  .nav-cta-mobile { display: inline-block; margin-top: 1rem; color: #12100b !important; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  /* Sezioni in colonna */
  .intro-grid, .suite-intro .intro-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .intro-side { flex-direction: row; align-items: baseline; gap: 1.2rem; }
  .suite-cards { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-info .section-lead { max-width: none; }

  .hero { height: 90svh; }
  .hero-suite { height: 74svh; }

  body { font-size: 16px; }
}

/* Mobile piccolo */
@media (max-width: 480px) {
  .gallery, .gallery-suite { column-count: 1; }
  .footer-inner { grid-template-columns: 1fr; }
  .suite-switch { flex-direction: column; gap: 1.5rem; }
  .suite-switch-link.align-right { text-align: left; align-items: flex-start; }
  .btn { padding: 0.95rem 1.7rem; }
}

/* Rispetto delle preferenze di movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .hero-bg { transform: none; }
  .reveal { opacity: 1; transform: none; }
}
