/* ============================================================
   Hiking Sardinia — Design System v2
   Identità: agenzia outdoor europea · muschio desaturato + ruggine
   Font: Instrument Serif (display) + Manrope (body)
   Approccio: minimal-editoriale (Deuter / Salewa / Filson feel),
   niente gradienti sui bottoni, nero inchiostro per l'azione primaria.
   ============================================================ */

@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/manrope-var.woff2') format('woff2');
  font-weight: 200 800; font-display: swap;
}

:root {
  /* ---- scale primitive: verdi muschio desaturati ---- */
  --green-50:  #F1F2ED;
  --green-100: #DDE1D6;
  --green-200: #BFC7B5;
  --green-300: #96A38A;
  --green-400: #6E7E63;
  --green-500: #4F5F47;
  --green-600: #3E4D38;
  --green-700: #313D2D;
  --green-800: #262F23;
  --green-900: #1B231A;
  --green-950: #10160F;

  /* ---- accento: ruggine terrosa (invece dell'ambra brillante) ---- */
  --rust-100: #F3E5DA;
  --rust-200: #E6C7AF;
  --rust-300: #D19E7A;
  --rust-400: #B77048;
  --rust-500: #9A5432;
  --rust-600: #7E4022;

  /* ---- neutri sabbia caldi ---- */
  --sand-50:  #FAF6EB;
  --sand-100: #F6F0DF;
  --sand-200: #EDE5D0;
  --sand-300: #DDD2B8;
  --sand-400: #BFB397;
  --sand-500: #8F866F;

  /* ---- inchiostro ---- */
  --stone-300: #8A9088;
  --stone-500: #565B54;
  --stone-700: #2B2E2A;
  --stone-900: #14181A;
  --stone-950: #0B0D0E;

  /* ---- token semantici ---- */
  --brand: var(--green-600);
  --brand-strong: var(--green-700);
  --brand-dark: var(--green-800);
  --forest: var(--green-900);
  --accent: var(--rust-400);
  --accent-dark: var(--rust-500);
  --ink: var(--stone-950);
  --text: var(--stone-700);
  --muted: var(--stone-500);
  --bg: var(--sand-100);
  --bg-alt: var(--sand-200);
  --card: #FFFFFF;
  --line: var(--sand-300);
  --ivory: var(--sand-50);
  --on-dark: #C4CBC0;
  --on-dark-muted: #96A092;

  /* ---- tipografia ---- */
  --font-display: 'Instrument Serif', 'Georgia', serif;
  --font-body: 'Manrope', -apple-system, 'Helvetica Neue', sans-serif;
  --text-xs: .8rem;
  --text-sm: .9rem;
  --text-base: clamp(1rem, .96rem + .15vw, 1.0625rem);
  --text-md: 1.13rem;
  --text-lg: clamp(1.25rem, 1.1rem + .5vw, 1.45rem);
  --text-xl: clamp(1.55rem, 1.3rem + .9vw, 1.95rem);
  --text-2xl: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  --text-3xl: clamp(2.2rem, 1.7rem + 2.2vw, 3.1rem);
  --text-4xl: clamp(2.7rem, 1.9rem + 3.6vw, 5.4rem);
  --track-display: -.015em;
  --leading-tight: 1.02;
  --leading-body: 1.65;

  /* ---- profondità (ombre pulite inchiostro) ---- */
  --shadow-xs: 0 1px 2px rgba(20, 24, 26, .05);
  --shadow-sm: 0 1px 2px rgba(20, 24, 26, .04), 0 3px 10px rgba(20, 24, 26, .05);
  --shadow-md: 0 2px 4px rgba(20, 24, 26, .04), 0 8px 20px rgba(20, 24, 26, .07), 0 20px 40px rgba(20, 24, 26, .05);
  --shadow-lg: 0 4px 10px rgba(20, 24, 26, .05), 0 14px 32px rgba(20, 24, 26, .09), 0 30px 64px rgba(20, 24, 26, .1);
  --shadow-rust: 0 4px 14px rgba(183, 112, 72, .22), 0 12px 32px rgba(183, 112, 72, .12);
  --ring: 0 0 0 3px rgba(183, 112, 72, .35);

  /* ---- sistema ---- */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1200px;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: .18s;
  --dur: .3s;
  --dur-slow: .6s;
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: var(--leading-body);
  font-size: var(--text-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: rgba(183, 112, 72, .28); color: var(--ink); }

:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 4px; }
.btn:focus-visible, a.btn:focus-visible { box-shadow: var(--ring), var(--shadow-sm); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: var(--leading-tight);
  font-weight: 400;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
h1 { font-size: var(--text-4xl); letter-spacing: -.025em; }
h2 { font-size: var(--text-3xl); letter-spacing: -.02em; }
h3 { font-size: var(--text-lg); line-height: 1.2; letter-spacing: -.01em; }
h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; }
p { text-wrap: pretty; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(76px, 10vw, 118px) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: linear-gradient(180deg, var(--green-900), var(--green-950) 140%); }
.section-dark h2, .section-dark h3 { color: var(--ivory); }
.section-dark p { color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.section-dark .eyebrow { color: var(--rust-300); }

.section-head { max-width: 680px; margin-bottom: clamp(44px, 6vw, 64px); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.section-head.is-center .eyebrow { justify-content: center; }
.section-head p { margin-top: 18px; font-size: var(--text-md); color: var(--muted); }

/* ---------- bottoni: minimal / inchiostro ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 4px;
  font-family: var(--font-body); font-weight: 550; font-size: .95rem; line-height: 1;
  letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur-fast),
    color var(--dur-fast),
    border-color var(--dur-fast);
}
.btn > * { position: relative; z-index: 1; }
.btn svg { flex: none; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.98); }

/* PRIMARY: nero inchiostro pieno, testo bianco (Filson/Deuter feel) */
.btn-primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--stone-700);
  border-color: var(--stone-700);
}

/* OUTLINE: bordo inchiostro, fill inchiostro al hover */
.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

/* GHOST/RUST: solo per accenti terra */
.btn-rust {
  background: var(--rust-500);
  color: #fff;
  border-color: var(--rust-500);
}
.btn-rust:hover {
  background: var(--rust-600);
  border-color: var(--rust-600);
}

/* LIGHT: chiaro su sezioni scure */
.btn-light {
  background: var(--ivory); color: var(--ink); border-color: var(--ivory);
}
.btn-light:hover { background: #fff; border-color: #fff; }

/* WHATSAPP: verde WhatsApp piatto */
.btn-wa {
  background: #25D366; color: #08351B; border-color: #25D366;
}
.btn-wa:hover { background: #1CB456; border-color: #1CB456; color: #062E17; }

/* dimensioni alternative */
.btn-sm { padding: 11px 20px; font-size: .85rem; gap: 8px; }
.btn-lg { padding: 18px 36px; font-size: 1rem; gap: 12px; }

/* ---------- topbar ---------- */
.topbar { background: var(--stone-950); color: var(--on-dark-muted); font-size: .82rem; position: relative; z-index: 91; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #E5E8E1; font-weight: 500; transition: color var(--dur-fast); }
.topbar a:hover { color: var(--rust-300); }
.topbar-contacts { display: flex; gap: 22px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-social { display: flex; gap: 14px; align-items: center; }

/* ---------- header (minimal, sfondo pieno crema) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur), border-color var(--dur), background var(--dur);
}
.site-header.is-scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 54px; height: auto; transition: transform var(--dur) var(--ease); }
.brand:hover img { transform: rotate(-4deg); }
.brand-name { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--ink); line-height: 1; letter-spacing: -.015em; }
.brand-name span {
  display: block; font-family: var(--font-body); font-weight: 500;
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-list a {
  color: var(--stone-700); font-weight: 500; font-size: .92rem;
  position: relative; padding: 6px 0;
  transition: color var(--dur-fast);
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-list a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: 8px; padding: 12px 22px; font-size: .88rem; }
.nav-toggle {
  display: none; background: none; border: 0; width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--dur) var(--ease), opacity var(--dur-fast); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 100px) 0 clamp(80px, 9vw, 110px); }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(760px 460px at 88% 0%, rgba(183, 112, 72, 0.10), transparent 62%),
    radial-gradient(680px 520px at 0% 100%, rgba(78, 95, 71, .10), transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%231E7A46' stroke-opacity='.07' stroke-width='1.4'%3E%3Cpath d='M60 340c40-70 10-120 60-160s130-20 160-70 80-60 120-50'/%3E%3Cpath d='M40 360c50-80 20-140 70-180s140-25 170-80 90-65 130-55'/%3E%3Cpath d='M20 380c60-90 30-160 80-200s150-30 180-90S390 20 430 10'/%3E%3Cpath d='M80 320c30-60 0-100 50-140s120-15 150-60 70-55 110-45'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 24px; font-weight: 400; }
.hero-copy h1 em {
  font-style: italic;
  background: linear-gradient(120deg, var(--green-600), var(--green-400) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--green-600);
}
.hero-lead { font-size: var(--text-md); max-width: 520px; margin-bottom: 34px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-note { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 38px; }
.hero-note svg { color: var(--green-500); flex: none; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(228, 220, 201, .7);
  border-radius: var(--radius); padding: 12px 18px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.hero-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.hero-badge svg { flex: none; color: var(--brand); }
.hero-badge strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.25; }
.hero-badge small { font-size: .78rem; color: var(--muted); }

.hero-collage { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.hero-collage figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.hero-collage figure:hover { transform: translateY(-6px) scale(1.015); box-shadow: var(--shadow-lg); }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; }
.hero-collage .is-tall { grid-row: span 2; }
.hero-collage .is-tall img { aspect-ratio: 4 / 5.6; }
.hero-collage figure:not(.is-tall) img { aspect-ratio: 1 / 1; }
.hero-stamp {
  position: absolute; left: -26px; bottom: 34px; z-index: 2;
  background: rgba(27, 35, 26, .78);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  color: var(--ivory);
  border-radius: 999px; padding: 16px 24px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(245, 241, 232, .18);
}
.hero-stamp img { width: 44px; height: auto; }
.hero-stamp strong { display: block; font-size: .95rem; line-height: 1.2; }
.hero-stamp small { font-size: .78rem; color: var(--on-dark-muted); }

.hero-cue {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: var(--muted); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
}
.hero-cue::after {
  content: ''; width: 1.5px; height: 34px;
  background: linear-gradient(var(--brand), transparent);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* entrance hero al primo load */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s var(--ease) backwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .34s; }
.hero-copy > *:nth-child(6) { animation-delay: .4s; }
.hero-collage { animation: rise .8s var(--ease) .15s backwards; }

/* ---------- marquee ---------- */
.marquee { background: var(--green-950); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(245, 241, 232, .1); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 600;
  color: var(--ivory); white-space: nowrap; letter-spacing: .02em;
}
.marquee-track span::after { content: '✦'; color: var(--accent); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- feature card ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 34px 36px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(18, 41, 28, .04),
    0 6px 20px rgba(18, 41, 28, .04);
  transition:
    transform var(--dur) var(--ease-spring),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rust-400), var(--green-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.feature-card::after {
  content: ''; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px;
  background: radial-gradient(closest-side, rgba(183, 112, 72, 0.09), transparent 65%);
  opacity: 0; transition: opacity var(--dur-slow);
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow:
    0 4px 8px rgba(18, 41, 28, .06),
    0 16px 32px rgba(18, 41, 28, .1),
    0 32px 64px rgba(18, 41, 28, .08);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  position: relative;
  width: 64px; height: 64px; border-radius: 20px;
  background: linear-gradient(135deg, var(--green-50), var(--rust-100));
  border: 1px solid rgba(78, 95, 71, .15);
  display: grid; place-items: center; color: var(--brand-strong); margin-bottom: 26px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 2px 6px rgba(78, 95, 71, .08);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.feature-icon::after {
  content: ''; position: absolute; inset: -4px; border-radius: 24px;
  background: linear-gradient(135deg, var(--rust-300), var(--green-400));
  opacity: 0; z-index: -1;
  transition: opacity var(--dur) var(--ease);
  filter: blur(8px);
}
.feature-card:hover .feature-icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .85),
    0 8px 20px rgba(78, 95, 71, .18);
}
.feature-card:hover .feature-icon::after { opacity: .5; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: var(--text-sm); color: var(--muted); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 6vw, 76px); align-items: center; }
.split-media { position: relative; }
.split-media > img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover;
  transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.split-media:hover > img { transform: scale(1.015); box-shadow: var(--shadow-lg); }
.split-media-tag {
  position: absolute; right: -18px; bottom: -22px;
  background: linear-gradient(160deg, var(--rust-300), var(--rust-400));
  color: var(--ink);
  border-radius: var(--radius); padding: 18px 24px;
  font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; line-height: 1.25;
  box-shadow: var(--shadow-md); max-width: 240px;
}
.split-media-tag small { display: block; font-family: var(--font-body); font-weight: 620; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; opacity: .75; }
.split-copy h2 { margin-bottom: 20px; }
.split-copy p + p { margin-top: 14px; }
.split-copy .btn { margin-top: 30px; }
.check-list { margin-top: 26px; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 530; }
.check-list svg { flex: none; color: var(--green-500); margin-top: 5px; }

/* ---------- tour card ---------- */
.tour-card {
  background: var(--card); border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.tour-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.tour-card-media { position: relative; overflow: hidden; }
.tour-card-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 55%, rgba(27, 35, 26, .28));
  opacity: 0; transition: opacity var(--dur-slow);
}
.tour-card:hover .tour-card-media::after { opacity: 1; }
.tour-card-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .8s var(--ease); }
.tour-card:hover .tour-card-media img { transform: scale(1.06); }
.tour-card-tag {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: rgba(27, 35, 26, .72); color: var(--ivory);
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(245, 241, 232, .2);
  backdrop-filter: blur(8px) saturate(1.3); -webkit-backdrop-filter: blur(8px) saturate(1.3);
}
.tour-card-body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.tour-card-body h3 { margin-bottom: 10px; }
.tour-card-body p { font-size: var(--text-sm); flex: 1; }
.tour-card-link { margin-top: 20px; font-weight: 620; display: inline-flex; align-items: center; gap: 8px; color: var(--brand-strong); }
.tour-card-link svg { transition: transform var(--dur) var(--ease); }
.tour-card-link:hover svg { transform: translateX(5px); }

/* ---------- numeri + citazione ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat { position: relative; padding: 8px 0; }
.stat + .stat::before {
  content: ''; position: absolute; left: -13px; top: 15%; height: 70%; width: 1px;
  background: linear-gradient(transparent, rgba(245, 241, 232, .22), transparent);
}
.stat h3 {
  font-size: clamp(2.8rem, 5.5vw, 4rem); font-weight: 400;
  background: linear-gradient(160deg, var(--rust-200), var(--rust-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rust-300);
  font-variant-numeric: tabular-nums;
}
.stat p { font-weight: 560; color: var(--ivory); margin-top: 6px; }
.stat small { color: var(--on-dark-muted); font-size: .85rem; }

.quote-band { position: relative; text-align: center; max-width: 840px; margin-inline: auto; }
.quote-band blockquote {
  font-family: var(--font-display); font-size: var(--text-2xl);
  font-weight: 560; font-style: italic; color: var(--ivory); line-height: 1.35;
}
.quote-band blockquote::before { content: '“'; display: block; font-size: 4.5rem; line-height: .6; color: var(--accent); margin-bottom: 18px; font-style: normal; }
.quote-band figcaption { margin-top: 22px; color: var(--on-dark-muted); font-size: .92rem; }
.quote-band figcaption strong { color: var(--ivory); display: block; font-size: 1rem; }

/* ---------- testimonianze ---------- */
.t-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.t-card {
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--sand-50));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 38px 32px 30px;
  box-shadow:
    0 1px 2px rgba(18, 41, 28, .04),
    0 6px 20px rgba(18, 41, 28, .05);
  display: flex; flex-direction: column; gap: 20px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.t-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 4px 8px rgba(18, 41, 28, .06),
    0 16px 32px rgba(18, 41, 28, .1),
    0 32px 64px rgba(18, 41, 28, .06);
}
.t-card::before {
  content: '“';
  position: absolute; top: 8px; right: 22px;
  font-family: var(--font-display); font-style: italic;
  font-size: 6rem; line-height: 1;
  background: linear-gradient(160deg, var(--rust-200), var(--rust-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rust-300);
  opacity: .35; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.t-card:hover::before { opacity: .6; transform: scale(1.05) rotate(-3deg); }
.t-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rust-400), var(--green-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.t-card:hover::after { transform: scaleX(1); }
.t-stars {
  display: flex; gap: 3px; color: var(--rust-400);
  filter: drop-shadow(0 1px 2px rgba(183, 112, 72, 0.22));
}
.t-card blockquote { font-size: var(--text-sm); color: var(--text); flex: 1; font-style: normal; line-height: 1.6; }
.t-card figcaption { display: flex; align-items: center; gap: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: #fff;
  background: linear-gradient(145deg, var(--green-500), var(--green-700));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .3),
    0 4px 10px rgba(78, 95, 71, .25);
}
.t-card figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.t-card figcaption small { color: var(--muted); font-size: .8rem; }

/* ---------- galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; box-shadow: var(--shadow-xs); transition: box-shadow var(--dur); }
.gallery figure:hover { box-shadow: var(--shadow-md); }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 16px 16px 13px;
  background: linear-gradient(transparent, rgba(16, 22, 15, .82));
  color: var(--ivory); font-size: .84rem; font-weight: 560; letter-spacing: .01em;
}

/* ---------- come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative;
  background: linear-gradient(160deg, var(--card), var(--sand-50));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 46px 34px 38px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(18, 41, 28, .04),
    0 6px 20px rgba(18, 41, 28, .05);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rust-400), var(--green-500));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 4px 8px rgba(18, 41, 28, .06),
    0 16px 32px rgba(18, 41, 28, .1),
    0 32px 64px rgba(18, 41, 28, .06);
}
.step:hover::before { transform: scaleX(1); }
.step-num {
  font-family: var(--font-display); font-weight: 400; font-size: 4rem; line-height: 1;
  color: transparent;
  background: linear-gradient(160deg, var(--rust-300), var(--rust-500));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 22px;
  filter: drop-shadow(0 2px 8px rgba(183, 112, 72, 0.14));
  transition: transform var(--dur) var(--ease-spring);
}
.step:hover .step-num { transform: scale(1.05); }
.step h3 { margin-bottom: 12px; }
.step p { font-size: var(--text-sm); color: var(--muted); }
.step-arrow { position: absolute; top: 62px; right: -22px; z-index: 2; color: var(--accent); display: grid; place-items: center; opacity: .5; transition: opacity var(--dur), transform var(--dur) var(--ease); }
.step:hover .step-arrow { opacity: 1; transform: translateX(4px); }

/* ---------- blog card ---------- */
.blog-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; transition: transform var(--dur-slow) var(--ease); }
.blog-card:hover img { transform: scale(1.03); }
.blog-card > a { overflow: hidden; display: block; }
.blog-card-body { padding: 28px 30px 32px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { font-size: .78rem; color: var(--muted); font-weight: 620; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.blog-card-body h3 { font-size: var(--text-lg); margin-bottom: 10px; }
.blog-card-body h3 a { color: var(--ink); transition: color var(--dur-fast); }
.blog-card-body h3 a:hover { color: var(--brand-strong); }
.blog-card-body p { font-size: var(--text-sm); flex: 1; }

/* ---------- instagram strip ---------- */
.ig-strip {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  background: linear-gradient(120deg, rgba(78, 95, 71, .08), rgba(183, 112, 72, 0.08));
  border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 40px 46px;
  box-shadow: var(--shadow-xs);
}
.ig-strip::before {
  content: ''; position: absolute; top: -40px; right: -40px; width: 220px; height: 220px;
  background: radial-gradient(closest-side, rgba(183, 112, 72, 0.11), transparent);
  pointer-events: none;
}
.ig-strip h2 { font-size: var(--text-xl); }
.ig-strip p { margin-top: 6px; font-size: var(--text-sm); color: var(--muted); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(680px 340px at 12% 0%, rgba(183, 112, 72, 0.13), transparent 60%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.cta-inner h2 { margin-bottom: 14px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ---------- pagina interna: hero ---------- */
.page-hero { background: linear-gradient(180deg, var(--green-900), var(--green-950)); position: relative; overflow: hidden; padding: 76px 0 68px; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(580px 320px at 90% 10%, rgba(183, 112, 72, 0.11), transparent 60%);
}
.page-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23F5F1E8' stroke-opacity='.05' stroke-width='1.4'%3E%3Cpath d='M60 340c40-70 10-120 60-160s130-20 160-70 80-60 120-50'/%3E%3Cpath d='M40 360c50-80 20-140 70-180s140-25 170-80 90-65 130-55'/%3E%3Cpath d='M20 380c60-90 30-160 80-200s150-30 180-90S390 20 430 10'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); font-size: var(--text-3xl); margin-top: 12px; }
.page-hero p { color: var(--on-dark); max-width: 640px; margin-top: 16px; font-size: var(--text-md); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--on-dark-muted); list-style: none; margin: 0; padding: 0; }
.breadcrumb a { color: #DCE7DE; transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--rust-300); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; color: #6B8672; }

/* ---------- contatti ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 25px 27px; display: flex; gap: 18px; align-items: flex-start;
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.contact-card svg { flex: none; color: var(--brand); margin-top: 3px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: var(--text-sm); }
.contact-card a { font-weight: 620; }
.map-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: linear-gradient(160deg, var(--green-800), var(--green-950));
  border-radius: var(--radius); padding: 23px 27px; color: var(--ivory);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.map-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.map-link strong { display: block; font-size: .98rem; }
.map-link small { color: var(--on-dark-muted); font-size: .84rem; }

/* ---------- form ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 42px; box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: var(--text-xl); margin-bottom: 8px; }
.form-card > p { font-size: var(--text-sm); margin-bottom: 28px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.is-full { grid-column: 1 / -1; }
.form-field label { font-size: .88rem; font-weight: 620; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: .96rem; color: var(--ink);
  background: var(--sand-50); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; min-height: 48px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
}
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--sand-400); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(78, 95, 71, .12);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; grid-column: 1 / -1; }
.form-privacy input { margin-top: 4px; accent-color: var(--brand); width: 16px; height: 16px; }
.form-status { margin-top: 14px; font-weight: 620; font-size: .93rem; min-height: 1.4em; }
.form-status.is-ok { color: var(--green-600); }
.form-status.is-error { color: #C0392B; }

/* ---------- articolo ---------- */
.article { max-width: 760px; margin: 0 auto; }
.article-hero-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin-bottom: 42px; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.article h2 { font-size: var(--text-xl); margin: 46px 0 16px; }
.article h3 { font-size: var(--text-lg); margin: 30px 0 12px; }
.article p + p { margin-top: 15px; }
.article ul, .article ol { margin: 15px 0 15px 22px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: 8px; }
.article li::marker { color: var(--brand); }
.article-lead { font-size: var(--text-md); color: var(--ink); }
.article-answer {
  background: linear-gradient(120deg, var(--sand-200), var(--rust-100));
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 28px; margin: 28px 0;
  box-shadow: var(--shadow-xs);
}
.article-meta { display: flex; gap: 14px; color: var(--muted); font-size: .86rem; margin-bottom: 26px; }
.article-cta {
  background: linear-gradient(180deg, var(--stone-950), var(--green-950));
  border-radius: var(--radius-lg); padding: 38px; margin-top: 54px;
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-md);
}
.article-cta h3 { color: var(--ivory); font-size: var(--text-lg); max-width: 400px; }
.article-cta p { color: var(--on-dark); font-size: .92rem; margin-top: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; margin-top: 20px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: box-shadow var(--dur);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 21px 25px;
  font-weight: 620; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px;
  transition: color var(--dur-fast);
}
.faq summary:hover { color: var(--brand-strong); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--brand); transition: transform var(--dur) var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 25px 21px; font-size: var(--text-sm); }

/* ---------- footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--green-900), var(--green-950) 60%); color: #B9C9BE; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; padding: 76px 0 58px; }
.footer-brand img { width: 130px; height: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .92rem; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(245, 241, 232, .22); color: var(--ivory);
  display: grid; place-items: center;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur) var(--ease-spring), color var(--dur-fast);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: translateY(-3px); }
.site-footer h4 { color: var(--ivory); font-size: 1.02rem; margin-bottom: 20px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: #B9C9BE; font-size: .93rem; transition: color var(--dur-fast), padding-left var(--dur); }
.footer-links a:hover { color: var(--rust-300); padding-left: 4px; }
.footer-contacts { display: grid; gap: 14px; font-size: .93rem; }
.footer-contacts li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contacts svg { flex: none; color: var(--accent); margin-top: 3px; }
.footer-contacts a { color: #DCE7DE; transition: color var(--dur-fast); }
.footer-contacts a:hover { color: var(--rust-300); }
.footer-bottom { border-top: 1px solid rgba(245, 241, 232, .12); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: .84rem; }
.footer-bottom a { color: #B9C9BE; transition: color var(--dur-fast); }
.footer-bottom a:hover { color: var(--rust-300); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }

/* ---------- 404 ---------- */
.error-hero { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.error-hero h1 {
  font-size: clamp(4.5rem, 13vw, 8rem);
  background: linear-gradient(160deg, var(--green-500), var(--green-800));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--green-600);
}
.error-hero p { max-width: 460px; margin: 16px auto 30px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(16, 22, 15, .9);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 28px;
  opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: min(92vw, 900px); max-height: 82vh; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); object-fit: contain;
  transform: scale(.96); transition: transform var(--dur) var(--ease);
}
.lightbox.is-open img { transform: none; }
.lightbox-caption { color: var(--ivory); margin-top: 14px; font-size: .95rem; text-align: center; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(245, 241, 232, .1); border: 1px solid rgba(245, 241, 232, .25);
  color: var(--ivory); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur-fast), transform var(--dur-fast) var(--ease-spring);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: var(--ink); transform: scale(1.08); }
.lightbox-prev:hover, .lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- whatsapp flottante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  display: flex; align-items: center; gap: 10px;
  background: linear-gradient(160deg, #3BE277, #25D366 55%, #1CB456);
  color: #08351B; font-weight: 620; font-size: .95rem;
  padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(8, 53, 27, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease-spring), box-shadow var(--dur-fast);
}
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float:hover { box-shadow: 0 14px 38px rgba(8, 53, 27, .42), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-3px); }
.wa-float svg { flex: none; }

/* ---------- texture sezioni scure ---------- */
.section-dark { position: relative; }
.section-dark > .container { position: relative; z-index: 1; }
.section-dark::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23F5F1E8' stroke-opacity='.05' stroke-width='1.4'%3E%3Cpath d='M60 340c40-70 10-120 60-160s130-20 160-70 80-60 120-50'/%3E%3Cpath d='M40 360c50-80 20-140 70-180s140-25 170-80 90-65 130-55'/%3E%3Cpath d='M20 380c60-90 30-160 80-200s150-30 180-90S390 20 430 10'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { --reveal-delay: .1s; }
.reveal-d2 { --reveal-delay: .2s; }
.reveal-d3 { --reveal-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { gap: 44px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-collage { max-width: 560px; }
  .hero-stamp { left: 12px; bottom: 18px; }
  .hero-cue { display: none; }
  .cards-3, .t-cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .step-arrow { display: none; }
  .ig-strip { justify-content: center; text-align: center; }
  .split { grid-template-columns: 1fr; }
  .split-media { max-width: 560px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-actions { justify-content: flex-start; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 89;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 18px 24px 30px; box-shadow: var(--shadow-lg);
    transform: translateY(calc(-100% - var(--nav-h) - 60px));
    transition: transform .4s var(--ease), visibility .4s;
    visibility: hidden;
    max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
  }
  .nav-menu.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list a { display: block; padding: 13px 8px; font-size: 1.05rem; border-radius: var(--radius-sm); }
  .nav-list a::after { display: none; }
  .nav-list a:hover, .nav-list a[aria-current="page"] { background: var(--bg-alt); }
  .nav-cta { margin: 14px 8px 0; justify-content: center; display: inline-flex; width: calc(100% - 16px); }
  .topbar-social { display: none; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .stat + .stat::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
  .footer-main { grid-template-columns: 1fr; gap: 38px; }
  .topbar-contacts { width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px 18px; }
  .hero-actions .btn { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .split-media-tag { right: 8px; bottom: -18px; padding: 14px 18px; font-size: .95rem; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .ig-strip { padding: 30px 24px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.12rem; }
  .brand img { width: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .hero-copy > *, .hero-collage { animation: none; }
}

/* ============================================================
   LIVELLO AVANZATO — componenti cinematografici
   ============================================================ */

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400;
  background: linear-gradient(160deg, var(--green-900), var(--green-950));
  display: grid; place-items: center;
  animation: loader-exit .65s var(--ease) 1.5s forwards;
}
.loader-inner { text-align: center; animation: rise .6s var(--ease) .1s backwards; }
.loader-inner img { width: 86px; height: auto; margin: 0 auto 16px; }
.loader-inner strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 1.5rem; color: var(--ivory); letter-spacing: -.01em;
}
.loader-inner small {
  display: block; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--on-dark-muted); margin-top: 6px;
}
.loader-bar {
  width: 150px; height: 2px; margin: 22px auto 0;
  background: rgba(245, 241, 232, .15); border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(90deg, var(--rust-300), var(--rust-400));
  transform-origin: left; animation: loader-fill 1.3s var(--ease) forwards;
}
@keyframes loader-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loader-exit { to { transform: translateY(-100%); visibility: hidden; } }

/* ---------- grana filmica ---------- */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 250; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

/* ---------- cursore custom (solo pointer fine) ---------- */
.cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--accent);
  pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .28s var(--ease), height .28s var(--ease), opacity .35s, background .28s;
}
.cursor-ring.is-on { opacity: .8; }
.cursor-ring.is-active { width: 60px; height: 60px; background: rgba(183, 112, 72, 0.08); opacity: 1; }

/* ---------- ridge: profilo di montagna tra sezioni ---------- */
.ridge { display: block; width: 100%; line-height: 0; margin-bottom: -1px; }
.ridge svg { width: 100%; height: clamp(38px, 6vw, 84px); display: block; }
.ridge--on-alt { background: var(--bg-alt); }

/* ---------- ken burns sull'immagine hero ---------- */
.kenburns img { animation: kenburns 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1) translateY(0); } to { transform: scale(1.09) translateY(-2%); } }

/* ---------- scrollytelling: il territorio ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(44px, 6vw, 80px); align-items: start; }
.story-media {
  position: sticky; top: 118px;
  aspect-ratio: 4 / 4.5; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.07);
  transition: opacity .8s var(--ease), transform 1.4s var(--ease);
}
.story-img.is-active { opacity: 1; transform: scale(1); }
.story-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(200deg, transparent 60%, rgba(16, 22, 15, .35));
  pointer-events: none;
}
.story-count {
  position: absolute; left: 22px; bottom: 18px; z-index: 2;
  font-family: var(--font-display); font-weight: 400; font-size: 1.05rem;
  color: var(--ivory); letter-spacing: .05em;
}
.story-count span { color: var(--rust-300); }
.story-steps { display: grid; }
.story-step {
  padding: clamp(34px, 4.5vw, 52px) 0;
  border-bottom: 1px solid var(--line);
  opacity: .32; transform: translateX(6px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.story-step:last-child { border-bottom: 0; }
.story-step.is-active { opacity: 1; transform: none; }
.story-step-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 400; font-size: .95rem;
  color: var(--accent-dark); letter-spacing: .12em; margin-bottom: 12px;
}
.story-step-num::after { content: ''; width: 44px; height: 1.5px; background: linear-gradient(90deg, var(--accent), transparent); }
.story-step h3 { font-size: var(--text-xl); margin-bottom: 12px; }
.story-step p { font-size: var(--text-base); color: var(--muted); max-width: 480px; }
.story-step .story-inline { display: none; }
.story-step a { font-weight: 620; display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--brand-strong); }
.story-step a svg { transition: transform var(--dur) var(--ease); }
.story-step a:hover svg { transform: translateX(5px); }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-media { display: none; }
  .story-step { opacity: 1; transform: none; }
  .story-step .story-inline {
    display: block; border-radius: var(--radius); margin-bottom: 18px;
    aspect-ratio: 3 / 2; object-fit: cover; width: 100%;
    box-shadow: var(--shadow-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .cursor-ring { display: none; }
  .kenburns img { animation: none; }
  .story-img { transition: none; }
  .story-step { opacity: 1; transform: none; }
}
@media (pointer: coarse) {
  .cursor-ring { display: none; }
}

/* ============================================================
   REGIA CINEMATOGRAFICA — hero full-bleed, sfondi fotografici
   ============================================================ */

/* ---------- hero cinema ---------- */
.hero-cinema {
  min-height: min(94vh, 1000px);
  display: flex; align-items: center;
  padding: clamp(120px, 16vh, 190px) 0 clamp(110px, 14vh, 170px);
  color: var(--ivory);
}
.hero-cinema .hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-cinema .hero-bg img {
  width: 100%; height: 112%; object-fit: cover; object-position: center 40%;
  animation: kenburns-bg 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns-bg { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-cinema::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(16, 22, 15, .82) 0%, rgba(16, 22, 15, .55) 38%, rgba(16, 22, 15, .12) 68%, rgba(16, 22, 15, .05) 100%),
    linear-gradient(180deg, rgba(16, 22, 15, .55) 0%, transparent 22%, transparent 62%, rgba(16, 22, 15, .78) 100%);
}
.hero-cinema::after { display: none; }
.hero-cinema .hero-grid { grid-template-columns: minmax(0, 720px); }
.hero-cinema .eyebrow { color: var(--rust-300); }
.hero-cinema h1 { color: var(--ivory); text-shadow: 0 2px 24px rgba(16, 22, 15, .45); }
.hero-cinema h1 em {
  background: linear-gradient(120deg, var(--rust-200), var(--rust-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--rust-300);
}
.hero-cinema .hero-lead { color: rgba(245, 241, 232, .85); font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); max-width: 560px; }
.hero-cinema .hero-note { color: rgba(245, 241, 232, .75); }
.hero-cinema .hero-note svg { color: var(--rust-300); }
.hero-cinema .hero-badge {
  background: rgba(16, 22, 15, .38);
  border-color: rgba(245, 241, 232, .22);
  backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
}
.hero-cinema .hero-badge svg { color: var(--rust-300); }
.hero-cinema .hero-badge strong { color: var(--ivory); }
.hero-cinema .hero-badge small { color: var(--on-dark-muted); }
.hero-cinema .btn-outline { border-color: rgba(245, 241, 232, .65); color: var(--ivory); }
.hero-cinema .btn-outline:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.hero-cinema .hero-cue { color: rgba(245, 241, 232, .75); }
.hero-cinema .hero-cue::after { background: linear-gradient(var(--rust-300), transparent); }
.hero-place {
  position: absolute; right: 28px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 620;
  color: rgba(245, 241, 232, .85);
  background: rgba(16, 22, 15, .35);
  border: 1px solid rgba(245, 241, 232, .18);
  border-radius: 999px; padding: 9px 16px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-place svg { color: var(--rust-300); }

/* ---------- CTA banner fotografico ---------- */
.cta-photo { position: relative; }
.cta-photo .cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-photo .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 72%; }
.cta-photo::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(16, 22, 15, .93) 0%, rgba(16, 22, 15, .72) 48%, rgba(27, 35, 26, .38) 100%), linear-gradient(180deg, rgba(16, 22, 15, .35), transparent 30%);
}
.cta-photo .container { position: relative; z-index: 1; }

/* ---------- page-hero fotografico ---------- */
.page-hero--photo { padding: clamp(96px, 14vh, 150px) 0 clamp(80px, 11vh, 120px); }
.page-hero--photo .page-bg { position: absolute; inset: 0; overflow: hidden; }
.page-hero--photo .page-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.page-hero--photo::before {
  background:
    linear-gradient(100deg, rgba(16, 22, 15, .85) 0%, rgba(16, 22, 15, .55) 45%, rgba(16, 22, 15, .2) 100%),
    linear-gradient(180deg, rgba(16, 22, 15, .3), transparent 35%, rgba(16, 22, 15, .55) 100%);
  z-index: 1;
}
.page-hero--photo::after { display: none; }
.page-hero--photo .container { z-index: 2; }

/* ---------- gallery con tile in evidenza ---------- */
.gallery { grid-auto-flow: dense; }
.gallery .is-featured { grid-column: span 2; grid-row: span 2; }
.gallery .is-featured img { height: 100%; aspect-ratio: auto; }
.gallery .is-featured figcaption { font-size: .95rem; padding: 20px 20px 16px; }

@media (max-width: 900px) {
  .hero-cinema { min-height: 86vh; }
  .hero-place { display: none; }
}
@media (max-width: 480px) {
  .gallery .is-featured { grid-column: span 1; grid-row: span 1; }
  .gallery .is-featured img { aspect-ratio: 1 / 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cinema .hero-bg img { animation: none; }
}

/* ============================================================
   PACCHETTI TOUR — pagine dedicate ai 6 percorsi
   ============================================================ */

/* ---------- grid escursioni ---------- */
.tours-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .tours-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tours-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.tour-item {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  color: var(--ivory);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
  display: block;
}
.tour-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tour-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .9s var(--ease); }
.tour-item:hover img { transform: scale(1.06); }
.tour-item::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16, 22, 15, .15) 0%, rgba(16, 22, 15, 0) 30%, rgba(16, 22, 15, .5) 68%, rgba(16, 22, 15, .92) 100%);
}
.tour-item::after {
  content: ''; position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(closest-side at 100% 0%, rgba(183, 112, 72, 0.15), transparent 60%);
  opacity: 0; transition: opacity var(--dur-slow); pointer-events: none;
}
.tour-item:hover::after { opacity: 1; }
.tour-item-body { z-index: 3; }
.tour-item:hover::after { opacity: 1; }
.tour-item-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 30px 28px 26px;
}
.tour-item-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .72rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rust-300); margin-bottom: 12px;
}
.tour-item-tag::before { content: ''; width: 18px; height: 1.5px; background: var(--rust-400); }
.tour-item h3 {
  color: var(--ivory); font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem);
  line-height: 1.15; margin-bottom: 10px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.tour-item p { color: rgba(245, 241, 232, .82); font-size: .9rem; margin-bottom: 16px; }
.tour-item-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .88rem; font-weight: 620; color: var(--ivory);
  border-bottom: 1.5px solid var(--rust-400);
  padding-bottom: 2px;
  transition: gap var(--dur) var(--ease);
}
.tour-item:hover .tour-item-cta { gap: 12px; }

/* ---------- pagina tour singolo ---------- */
.tour-hero {
  position: relative; min-height: min(78vh, 780px);
  display: flex; align-items: flex-end;
  padding: clamp(110px, 15vh, 180px) 0 clamp(60px, 8vh, 90px);
  color: var(--ivory); overflow: hidden;
}
.tour-hero .tour-bg { position: absolute; inset: 0; overflow: hidden; }
.tour-hero .tour-bg img { width: 100%; height: 108%; object-fit: cover; object-position: center 45%; animation: kenburns-bg 24s ease-in-out infinite alternate; }
.tour-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 22, 15, .55) 0%, transparent 30%, transparent 55%, rgba(16, 22, 15, .9) 100%),
    linear-gradient(100deg, rgba(16, 22, 15, .55) 0%, transparent 55%);
}
.tour-hero .container { position: relative; z-index: 1; }
.tour-hero .breadcrumb { color: rgba(245, 241, 232, .8); margin-bottom: 18px; }
.tour-hero .breadcrumb a { color: var(--ivory); }
.tour-hero .breadcrumb a:hover { color: var(--rust-300); }
.tour-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 400; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rust-300); margin-bottom: 14px;
}
.tour-hero-tag::before { content: ''; width: 28px; height: 1.5px; background: var(--rust-400); }
.tour-hero h1 { color: var(--ivory); font-size: clamp(2.6rem, 4vw + 1rem, 4.6rem); font-weight: 400; text-shadow: 0 2px 32px rgba(0, 0, 0, .35); max-width: 900px; }
.tour-hero-lead { color: rgba(245, 241, 232, .88); font-size: var(--text-md); max-width: 640px; margin-top: 18px; }
.tour-facts {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px;
}
.tour-fact {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(16, 22, 15, .45);
  border: 1px solid rgba(245, 241, 232, .22);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .85rem; color: var(--ivory);
}
.tour-fact svg { color: var(--rust-300); flex: none; }
.tour-fact strong { font-weight: 620; }

.tour-body { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(44px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .tour-body { grid-template-columns: 1fr; } }
.tour-main h2 { font-size: var(--text-xl); margin-bottom: 16px; }
.tour-main h2:not(:first-child) { margin-top: 46px; }
.tour-main p { font-size: var(--text-base); }
.tour-main p + p { margin-top: 14px; }

.tour-list {
  display: grid; gap: 14px; margin-top: 22px;
  padding: 0; list-style: none;
}
.tour-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 20px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.tour-list li:hover { transform: translateX(3px); box-shadow: var(--shadow-sm); }
.tour-list .tour-check {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-50), var(--rust-100));
  color: var(--brand); margin-top: 2px;
  border: 1px solid rgba(78, 95, 71, .18);
}
.tour-list h4 { font-size: 1rem; margin-bottom: 4px; }
.tour-list p { font-size: .92rem; color: var(--muted); }

.tour-side {
  position: sticky; top: 108px;
  background: linear-gradient(160deg, var(--card), var(--sand-50));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 30px; box-shadow: var(--shadow-md);
}
.tour-side-eyebrow { display: block; font-size: .74rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.tour-side h3 { font-size: 1.35rem; margin-bottom: 20px; }
.tour-side-list { display: grid; gap: 12px; margin: 0 0 26px; padding: 0; list-style: none; font-size: .93rem; }
.tour-side-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.tour-side-list li:last-child { border-bottom: 0; }
.tour-side-list strong { color: var(--ink); font-weight: 620; }
.tour-side-list span { color: var(--muted); text-align: right; }
.tour-side .btn { width: 100%; margin-bottom: 10px; }
.tour-side-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 6px; }

.tour-related h2 { font-size: var(--text-xl); margin-bottom: 26px; }

/* ============================================================
   UPGRADE MODERNO — badge rotante, big type, bento, mesh
   ============================================================ */

/* ---------- rotating badge (SVG text on circle) ---------- */
.spin-badge {
  position: absolute; top: 50%; right: -20px; z-index: 3;
  width: 148px; height: 148px;
  transform: translateY(-50%);
  animation: spin 22s linear infinite;
  pointer-events: none;
}
.spin-badge svg { width: 100%; height: 100%; overflow: visible; }
.spin-badge text {
  font-family: var(--font-body); font-weight: 620;
  font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase;
  fill: var(--ivory);
}
.spin-badge-core {
  position: absolute; inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(140deg, var(--rust-300), var(--rust-500));
  display: grid; place-items: center;
  box-shadow: 0 10px 26px rgba(183, 112, 72, 0.26), inset 0 1px 0 rgba(255, 255, 255, .35);
  animation: spin-reverse 22s linear infinite;
}
.spin-badge-core svg { width: 32px; height: 32px; color: var(--ink); }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }

@media (max-width: 900px) {
  .spin-badge { position: relative; top: auto; right: auto; transform: none; margin: 30px auto 0; }
}

/* ---------- big display type (parallax) ---------- */
.big-type {
  position: relative; padding: clamp(50px, 8vw, 100px) 0 clamp(30px, 5vw, 60px);
  overflow: hidden; text-align: center;
  background: var(--bg);
}
.big-type-text {
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: clamp(6rem, 22vw, 21rem); line-height: .95;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--green-800);
  display: block; white-space: nowrap;
  will-change: transform;
}
.big-type-caption {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 620;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.big-type-caption::before, .big-type-caption::after {
  content: ''; width: 26px; height: 1px; background: currentColor;
}

/* ---------- bento grid (Chi Siamo) ---------- */
.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 20px;
}
.bento > * {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.bento > *:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-photo { grid-row: span 2; }
.bento-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--dur-slow) var(--ease); }
.bento-photo:hover img { transform: scale(1.05); }
.bento-photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 18px 22px;
  background: linear-gradient(transparent, rgba(16, 22, 15, .82));
  color: var(--ivory); font-size: .82rem; font-weight: 560; letter-spacing: .01em;
}

.bento-text {
  background: linear-gradient(160deg, var(--card), var(--sand-50));
  border: 1px solid var(--line);
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.bento-text-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.8rem, 3.5vw, 3.6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--rust-400);
}
.bento-text h3 { font-size: 1.1rem; margin-bottom: 6px; margin-top: 12px; }
.bento-text p { font-size: .88rem; color: var(--muted); }

.bento-dark {
  background: linear-gradient(160deg, var(--green-800), var(--green-950));
  color: var(--ivory); padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  grid-column: span 2;
}
.bento-dark h3 { color: var(--ivory); font-size: 1.4rem; line-height: 1.2; }
.bento-dark p { color: var(--on-dark); font-size: .92rem; margin-top: 8px; max-width: 340px; }
.bento-dark-mark {
  align-self: flex-end;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--rust-300); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 620;
}
.bento-dark-mark svg { color: var(--rust-300); }

.bento-cta {
  background: linear-gradient(160deg, var(--rust-200), var(--rust-400));
  padding: 26px 30px; display: flex; flex-direction: column; justify-content: space-between;
  color: var(--ink);
}
.bento-cta h3 { font-size: 1.25rem; line-height: 1.2; }
.bento-cta p { font-size: .85rem; margin-top: 8px; max-width: 240px; }
.bento-cta a {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 400; font-size: .95rem;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 2px;
  transition: gap var(--dur) var(--ease);
}
.bento-cta a:hover { gap: 12px; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-photo { grid-row: span 2; grid-column: span 2; }
  .bento-dark { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-photo, .bento-dark { grid-column: span 1; }
  .bento-photo { aspect-ratio: 4/3; }
  .bento-text, .bento-dark, .bento-cta { min-height: 200px; }
}

/* ---------- photo marquee orizzontale (drag) ---------- */
.photo-strip {
  overflow: hidden; padding: 0; position: relative;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.photo-strip:active { cursor: grabbing; }
.photo-strip-track {
  display: flex; gap: 22px; width: max-content;
  animation: strip 50s linear infinite;
  will-change: transform;
}
.photo-strip:hover .photo-strip-track,
.photo-strip.is-dragging .photo-strip-track { animation-play-state: paused; }

.photo-strip-item {
  flex: none;
  width: clamp(240px, 26vw, 380px);
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  user-select: none;
  transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.photo-strip-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.photo-strip-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 20px 24px 18px;
  background: linear-gradient(transparent, rgba(16, 22, 15, .82));
  color: var(--ivory);
}
.photo-strip-item h4 { color: var(--ivory); font-size: 1.15rem; margin-bottom: 3px; }
.photo-strip-item small { color: var(--on-dark-muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 620; }
@keyframes strip { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- mesh gradient blob (decorativo) ---------- */
.mesh-bg { position: relative; overflow: hidden; isolation: isolate; }
.mesh-bg::before, .mesh-bg::after {
  content: ''; position: absolute; z-index: -1;
  border-radius: 50%; filter: blur(80px);
  opacity: .5; pointer-events: none;
}
.mesh-bg::before {
  top: -20%; left: -10%; width: 460px; height: 460px;
  background: radial-gradient(closest-side, var(--green-300), transparent);
}
.mesh-bg::after {
  bottom: -15%; right: -8%; width: 520px; height: 520px;
  background: radial-gradient(closest-side, var(--rust-300), transparent);
}

/* ---------- tour cards enhanced ---------- */
.tour-item { transform-origin: bottom; }
.tour-item::before {
  transition: opacity var(--dur-slow) var(--ease);
}
.tour-item:hover::before {
  background:
    linear-gradient(180deg, rgba(16, 22, 15, .1) 0%, rgba(16, 22, 15, 0) 26%, rgba(16, 22, 15, .58) 68%, rgba(16, 22, 15, .95) 100%);
}

/* ---------- header stato "dark" quando la sezione sotto è scura ---------- */
.site-header.is-on-dark {
  background: rgba(11, 13, 14, .55);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: rgba(245, 241, 232, .06);
}
.site-header.is-on-dark .brand-name { color: var(--ivory); }
.site-header.is-on-dark .brand-name span { color: var(--on-dark-muted); }
.site-header.is-on-dark .nav-list a { color: var(--ivory); }
.site-header.is-on-dark .nav-list a:hover { color: #fff; }
.site-header.is-on-dark .nav-list a[aria-current="page"] { color: #fff; }
.site-header.is-on-dark .nav-toggle span { background: var(--ivory); }
/* CTA in stato dark: bianca su fondo scuro (contrasto massimo, look asciutto) */
.site-header.is-on-dark .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.site-header.is-on-dark .btn-primary:hover {
  background: var(--ivory);
  border-color: var(--ivory);
}

/* ---------- upgrade responsive ---------- */
@media (prefers-reduced-motion: reduce) {
  .spin-badge, .spin-badge-core { animation: none; }
  .photo-strip-track { animation: none; }
  .big-type-text { transform: none !important; }
}
