/* ==========================================================================
   Etta Walk Up — FASE 5 (anteprima)
   Ultimo foglio caricato su tutte le pagine del sito di test.
   Obiettivi: hero home fotografica, card evento uniche (calendario + home),
   scheda escursione unica per giornaliere e multigiorni, palette del logo
   estesa a tutte le pagine speciali.
   ========================================================================== */

:root {
  --v5-choc: #5c3f34;
  --v5-night: #2e1f19;
  --v5-deep: #3f2b23;
  --v5-copper: #b45f3f;
  --v5-copper-dark: #9a4e32;
  --v5-blush: #d7b7a4;
  --v5-taupe: #96705f;
  --v5-cream: #f7f2ec;
  --v5-sand: #ece2d8;
  --v5-line: #e2d6cc;
  --v5-ink: #33231c;
  --v5-on-dark: #fdf6ee;
  --v5-muted-dark: rgba(253, 246, 238, .74);
  --v5-radius: 18px;
  --v5-shadow: 0 18px 40px rgba(46, 31, 25, .14);
  --v5-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
}

/* --------------------------------------------------------------------------
   1. Base comune
   -------------------------------------------------------------------------- */
body { background-color: var(--v5-cream); }
::selection { background: var(--v5-blush); color: var(--v5-night); }

/* Il corsivo resta fuori: un solo font per i titoli. */
.hero-eyebrow-cursive,
.home-manifesto__signature { font-family: "Sora", system-ui, sans-serif !important; }

.tagline,
.section-kicker,
.multiday-section-kicker {
  color: var(--v5-copper);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Pulsanti: rame pieno per l'azione principale, contorno per la secondaria. */
.cta.secondary {
  background: transparent;
  color: var(--v5-choc);
  border: 1.5px solid var(--v5-choc);
  box-shadow: none;
}
.cta.secondary:hover, .cta.secondary:focus-visible {
  background: var(--v5-choc);
  color: var(--v5-on-dark);
}

/* WhatsApp flottante: piccolo e discreto, mai sopra i bottoni. */
.whatsapp-float {
  width: 52px;
  height: 52px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  transition: transform .2s ease, bottom .25s ease;
}
body.has-v5-stickybar .whatsapp-float { bottom: 92px; }

/* Footer coerente su tutte le pagine. */
footer {
  background: var(--v5-sand) !important;
  color: var(--v5-ink) !important;
  border-top: 1px solid var(--v5-line);
}
footer a, footer strong, footer .brand, footer .footer-brand { color: var(--v5-night) !important; }
footer p, footer span, footer small { color: var(--v5-ink) !important; }

/* Titoli: Barlow Condensed è già stretto, niente spaziatura negativa. */
h1, h2, h3, h4,
.section-title,
.hero-content h1,
.gv-hero h1, .tr-hero h1, .hw-hero h1, .tb-hero h1,
[class*="title"]:is(h1, h2, h3) {
  letter-spacing: .012em !important;
  word-spacing: .06em;
}

/* --------------------------------------------------------------------------
   2. Home — hero fotografica a tutta larghezza
   -------------------------------------------------------------------------- */
.preview-home .hero.hero-v5 {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(88svh, 860px);
  padding: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--v5-sand);
  color: var(--v5-on-dark);
}
.hero-v5__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}
.hero-v5__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-v5::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 17, .3) 0%, rgba(20, 18, 17, 0) 24%),
    linear-gradient(0deg, rgba(20, 18, 17, .78) 0%, rgba(20, 18, 17, .4) 36%, rgba(20, 18, 17, 0) 66%);
}
.hero-v5__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 clamp(40px, 7vh, 76px);
}
.hero-v5__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--v5-blush);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-v5__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--v5-copper);
}
.preview-home .hero-v5 h1 {
  max-width: 13ch;
  margin: 0;
  color: #fff;
  font-size: clamp(3.6rem, 9vw, 8.4rem);
  line-height: .86;
  letter-spacing: .01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.preview-home .hero-v5 h1 span { color: #f3c9ad; }
.hero-v5__lead {
  max-width: 44ch;
  margin: 20px 0 0;
  color: var(--v5-muted-dark);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
}
.hero-v5__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}
.hero-v5__actions .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
}
.hero-v5__link {
  color: var(--v5-on-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--v5-copper);
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.hero-v5__social { display: inline-flex; gap: 8px; }
.hero-v5__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
}
.hero-v5__social img { width: 20px; height: 20px; }
.hero-v5__credit {
  position: absolute;
  right: 24px;
  bottom: 18px;
  margin: 0;
  color: rgba(253, 246, 238, .6);
  font-size: .75rem;
}

/* --------------------------------------------------------------------------
   3. Card evento — una sola card, verticale, per calendario e home
   -------------------------------------------------------------------------- */
#event-grid.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  justify-content: stretch;
  gap: 28px 24px;
}
#event-grid .event-card.live-event-card,
#home-event-carousel .event-card.live-event-card {
  position: relative;
  display: flex !important;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  box-shadow: 0 10px 26px rgba(46, 31, 25, .08);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
#event-grid .event-card.live-event-card[style*="display: none"] { display: none !important; }
#event-grid .event-card.live-event-card:hover,
#home-event-carousel .event-card.live-event-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(46, 31, 25, .14);
}
#event-grid .event-card.live-event-card::before,
#event-grid .event-card.live-event-card::after,
#home-event-carousel .event-card.live-event-card::before,
#home-event-carousel .event-card.live-event-card::after { content: none !important; display: none !important; }

#event-grid .event-card .event-photo,
#home-event-carousel .event-card .event-photo {
  position: relative;
  flex: 0 0 auto;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--v5-sand);
}
#event-grid .event-card .event-photo img,
#home-event-carousel .event-card .event-photo img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover;
  object-position: center 40%;
  transition: transform .5s ease;
}
#event-grid .event-card:hover .event-photo img,
#home-event-carousel .event-card:hover .event-photo img { transform: scale(1.03); }

.event-card .ticket-date {
  top: 12px;
  left: 12px;
  border-radius: 10px;
  background: var(--v5-copper);
  color: var(--v5-on-dark);
  box-shadow: 0 8px 18px rgba(46, 31, 25, .25);
}

#event-grid .event-card .event-content,
#home-event-carousel .event-card .event-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 10px;
  width: auto !important;
  padding: 18px 18px 18px !important;
  border: 0 !important;
  background: #fff;
}
#event-grid .event-card .event-content h3,
#home-event-carousel .event-card .event-content h3 {
  margin: 0;
  color: var(--v5-night);
  font-size: 1.5rem;
  line-height: 1.02;
  overflow-wrap: anywhere;
}
#event-grid .event-card .event-content > p,
#home-event-carousel .event-card .event-content > p { display: none; }

.event-card .event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
#event-grid .event-card .event-content h3,
#home-event-carousel .event-card .event-content h3 {
  display: block !important;
  -webkit-line-clamp: unset !important;
  max-height: none !important;
  overflow: visible !important;
}
.event-card .event-tag {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  max-width: 100%;
  text-align: left;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 0;
  border-radius: 999px;
  background: var(--v5-cream);
  color: var(--v5-ink);
  font-size: .78rem;
  font-weight: 600;
}
.event-card .event-tag svg { width: 14px; height: 14px; color: var(--v5-copper); }
.event-card .ticket-guide { margin: 0; color: var(--v5-taupe); font-size: .85rem; }
.event-card .event-signals { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.event-card .ticket-badge { border-radius: 6px; font-size: .7rem; letter-spacing: .06em; }
.event-card .ticket-badge--open { background: var(--v5-sand); color: var(--v5-choc); }
.event-card .ticket-badge--confirmed { background: var(--v5-choc); color: var(--v5-on-dark); }
.event-card .ticket-badge--last { background: var(--v5-copper); color: var(--v5-on-dark); }
.event-card .event-signal--interested {
  background: transparent;
  border: 0;
  padding: 3px 0;
  color: var(--v5-taupe);
  font-size: .76rem;
  font-weight: 600;
}

#event-grid .event-card .event-footer,
#home-event-carousel .event-card .event-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--v5-line);
}
.event-card .event-price {
  display: flex;
  flex-direction: column;
  color: var(--v5-night);
  font-family: var(--v5-display);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}
.event-card .event-price-note {
  margin-top: 4px;
  color: var(--v5-taupe);
  font-family: "Sora", system-ui, sans-serif;
  font-size: .66rem;
  font-weight: 500;
}
#event-grid .event-card .event-actions,
#home-event-carousel .event-card .event-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}
#event-grid .event-card .event-price,
#home-event-carousel .event-card .event-price { width: 100%; }
#event-grid .event-card .event-actions .cta,
#home-event-carousel .event-card .event-actions .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: .86rem;
  font-weight: 700;
  white-space: nowrap;
}

/* Carosello home: card della stessa misura del calendario. */
#home-event-carousel {
  align-items: stretch;
  grid-template-columns: none !important;
  grid-auto-flow: column !important;
  grid-auto-columns: min(310px, 82vw) !important;
}
#home-event-carousel .event-card.live-event-card { width: auto !important; min-width: 0 !important; }

/* --------------------------------------------------------------------------
   4. Scheda escursione — hero split, sezioni, prenotazione
   -------------------------------------------------------------------------- */
#detail-hero.detail-hero--v5 {
  position: relative;
  padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 60px);
  background: var(--v5-night) !important;
  background-image: none !important;
  color: var(--v5-on-dark);
  overflow: hidden;
  isolation: isolate;
  min-height: 0;
}
#detail-hero.detail-hero--v5::before {
  content: "";
  position: absolute;
  inset: -40px;
  z-index: -1;
  background-image: var(--v5-cover);
  background-size: cover;
  background-position: center;
  filter: blur(38px) saturate(.9);
  opacity: .34;
}
#detail-hero.detail-hero--v5::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(46, 31, 25, .4), rgba(46, 31, 25, .92) 55%);
}
.hv5 {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 4.5vw, 64px);
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.hv5__media { min-width: 0; }
.hv5__frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--v5-radius);
  background: rgba(0, 0, 0, .25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.hv5__frame img,
.hv5__frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 760px);
  object-fit: contain;
  margin: 0 auto;
}
.hv5__panel { min-width: 0; }
.hv5__kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--v5-blush);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hv5__status {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--v5-on-dark);
  color: var(--v5-night);
  letter-spacing: .08em;
}
#detail-hero .hv5__title {
  max-width: 18ch;
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(2.4rem, 4.6vw, 4.4rem);
  line-height: .92;
  letter-spacing: .012em;
  text-wrap: balance;
}
.hv5__date, .hv5__place {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  color: var(--v5-on-dark);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.35;
}
.hv5__place { margin-top: 8px; color: var(--v5-muted-dark); font-weight: 500; font-size: .98rem; }
.hv5__date svg, .hv5__place svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; color: var(--v5-blush); }

.hv5__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 22px 0 0;
  overflow: hidden;
  border: 1px solid rgba(253, 246, 238, .16);
  border-radius: 14px;
  background: rgba(253, 246, 238, .16);
}
.hv5__fact {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  column-gap: 8px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(46, 31, 25, .72);
}
.hv5__fact svg { grid-row: span 2; width: 18px; height: 18px; color: var(--v5-blush); }
.hv5__fact dt {
  margin: 0;
  color: rgba(253, 246, 238, .6);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hv5__fact dd {
  margin: 2px 0 0;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hv5__people {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
}
.hv5__people .guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(253, 246, 238, .2);
  border-radius: 999px;
  background: rgba(253, 246, 238, .08);
  color: var(--v5-on-dark);
  box-shadow: none;
}
.hv5__people .guide-badge img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.hv5__people .guide-badge strong { color: #fff; }
.hv5__people .detail-commercial-signals { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hv5__people .detail-commercial-signal {
  padding: 6px 12px;
  border: 1px solid rgba(253, 246, 238, .2);
  border-radius: 999px;
  background: transparent;
  color: var(--v5-on-dark);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.hv5__book {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--v5-on-dark);
  color: var(--v5-ink);
}
.hv5__price { display: flex; flex-direction: column; gap: 2px; }
.hv5__price small { color: var(--v5-taupe); font-size: .74rem; font-weight: 600; }
.hv5__price strong {
  color: var(--v5-night);
  font-family: var(--v5-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: .95;
}
.hv5__price strong.hv5__price-past { font-size: 1.7rem; }
.hv5__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.hv5__actions .cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 800;
}
.hv5__ask {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--v5-choc);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.hv5__ask svg { width: 16px; height: 16px; }
.hv5__ask:hover { text-decoration: underline; }

/* Navigazione per sezioni, sotto l'header. */
.detail-subnav {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 30;
  border-bottom: 1px solid var(--v5-line);
  background: rgba(247, 242, 236, .96);
  backdrop-filter: blur(8px);
}
.detail-subnav__inner {
  display: flex;
  gap: 6px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.detail-subnav__inner::-webkit-scrollbar { display: none; }
.detail-subnav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--v5-line);
  border-radius: 999px;
  background: #fff;
  color: var(--v5-choc);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.detail-subnav a:hover { border-color: var(--v5-copper); color: var(--v5-copper); }
body.detail-v5 #detail-body [id] { scroll-margin-top: calc(var(--header-height, 72px) + 70px); }

/* Corpo della scheda. */
body.detail-v5 #detail-body { padding-top: clamp(28px, 4vw, 48px); background: var(--v5-cream); }
body.detail-v5 .detail-story-wrap { padding-top: 0; }
body.detail-v5 .detail-story,
body.detail-v5 .multiday-intro-card {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  box-shadow: none;
}
body.detail-v5 .multiday-intro-card h2,
body.detail-v5 .detail-story > h2 {
  margin: 6px 0 18px;
  color: var(--v5-night);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: .95;
  text-align: left;
}
body.detail-v5 .multiday-intro-content { text-align: left; }
body.detail-v5 .multiday-intro-text,
body.detail-v5 .detail-story__text {
  color: var(--v5-ink);
  font-size: 1.02rem;
  line-height: 1.75;
}
.v5-story.is-collapsed .detail-story__text,
.v5-story.is-collapsed .multiday-intro-text,
.v5-story.is-collapsed .archive-description {
  max-height: 520px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent);
  mask-image: linear-gradient(180deg, #000 70%, transparent);
}
.v5-story__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 11px 18px;
  border: 1.5px solid var(--v5-choc);
  border-radius: 10px;
  background: transparent;
  color: var(--v5-choc);
  font: 700 .9rem "Sora", system-ui, sans-serif;
  cursor: pointer;
}
.v5-story__toggle:hover { background: var(--v5-choc); color: var(--v5-on-dark); }

/* Pannelli tecnici: griglia regolare, stessa per giornaliere e multigiorni. */
body.detail-v5 .detail-panels,
body.detail-v5 .multiday-v5-panels {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 20px;
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin: 28px auto 0;
  padding: 0;
}
body.detail-v5 .multiday-v5-panels { width: 100%; }
body.detail-v5 .daily-left-rail { display: contents; }
body.detail-v5 .tech-panel {
  margin: 0;
  padding: 22px 22px 18px;
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  box-shadow: none;
}
body.detail-v5 .tech-panel:has(.tech-equip) { grid-column: 1 / -1; }
body.detail-v5 .tech-panel__eyebrow {
  margin-bottom: 12px;
  color: var(--v5-night);
  font-family: var(--v5-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Multigiorni: riepilogo e programma con lo stesso linguaggio. */
body.detail-v5 .multiday-page-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
body.detail-v5 .multiday-summary-panel,
body.detail-v5 .multiday-program-disclosure,
body.detail-v5 .multiday-booking-panel {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  box-shadow: none;
}
body.detail-v5 .multiday-summary-panel h2,
body.detail-v5 .multiday-booking-panel h2 {
  margin: 0 0 18px;
  color: var(--v5-night);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-align: left;
}
body.detail-v5 .multiday-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
body.detail-v5 .multiday-summary-card {
  padding: 16px;
  border: 1px solid var(--v5-line);
  border-radius: 14px;
  background: var(--v5-cream);
  box-shadow: none;
  text-align: left;
}
body.detail-v5 .multiday-summary-icon { color: var(--v5-copper); background: transparent; }
body.detail-v5 .multiday-program-summary { cursor: pointer; }
body.detail-v5 .multiday-program-summary strong {
  color: var(--v5-night);
  font-family: var(--v5-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  text-transform: uppercase;
}
body.detail-v5 .multiday-day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
body.detail-v5 .multiday-day-card {
  padding: 18px;
  border: 1px solid var(--v5-line);
  border-radius: 14px;
  background: var(--v5-cream);
  box-shadow: none;
}
body.detail-v5 .multiday-day-label {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--v5-copper);
  color: var(--v5-on-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.detail-v5 .multiday-day-meta span {
  border-radius: 999px;
  background: #fff;
  color: var(--v5-ink);
}
body.detail-v5 .multiday-ticket-card {
  border: 1px solid var(--v5-line);
  border-radius: 14px;
  background: var(--v5-cream);
  box-shadow: none;
}
body.detail-v5 .multiday-booking-panel {
  background: var(--v5-choc);
  border-color: var(--v5-choc);
  color: var(--v5-on-dark);
}
body.detail-v5 .multiday-booking-panel h2 { color: #fff; }
body.detail-v5 .multiday-booking-panel .multiday-ticket-card { background: var(--v5-on-dark); color: var(--v5-ink); }
body.detail-v5 .multiday-booking-actions { display: flex; justify-content: center; margin-top: 22px; }
body.detail-v5 .multiday-booking-actions .cta { min-width: min(320px, 100%); min-height: 54px; border-radius: 10px; font-weight: 800; }

/* Prenotazione (giornaliera): cioccolato, biglietti su crema. */
body.detail-v5 .booking-panel-wrap { width: min(1180px, calc(100% - 48px)); max-width: none; margin: 28px auto 0; padding: 0; }
body.detail-v5 .booking-panel { background: var(--v5-choc); }
body.detail-v5 .booking-panel .ticket-item {
  border: 0;
  border-radius: 12px;
  background: var(--v5-on-dark);
  color: var(--v5-ink);
}
body.detail-v5 .booking-panel .ticket-item .ticket-meta strong { color: var(--v5-night); }
body.detail-v5 .booking-panel.is-past { background: var(--v5-deep); }
body.detail-v5 .booking-panel.is-past h2 { font-size: clamp(2rem, 4vw, 3rem); }
body.detail-v5 .detail-callout {
  width: auto;
  margin: 16px 0 0;
  border: 1px solid var(--v5-line);
  border-radius: 12px;
  background: #fff;
  color: var(--v5-ink);
}
body.detail-v5 .technical-direction { margin-top: 40px; }
body.detail-v5 #detail-body { padding-bottom: 64px; }

/* Barra di prenotazione fissa. */
.detail-stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(253, 246, 238, .14);
  background: var(--v5-night);
  color: var(--v5-on-dark);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.detail-stickybar.is-visible { transform: translateY(0); }
.detail-stickybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.detail-stickybar__copy { display: flex; flex-direction: column; min-width: 0; }
.detail-stickybar__copy strong {
  overflow: hidden;
  color: #fff;
  font-family: var(--v5-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.05;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.detail-stickybar__copy span { color: var(--v5-blush); font-size: .82rem; font-weight: 600; }
.detail-stickybar .cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 800;
}
body.detail-v5 .mobile-fast-nav { display: none !important; }

/* --------------------------------------------------------------------------
   4b. Tema chiaro: nessun fondo scuro. Crema/sabbia, testo scuro, rame.
   -------------------------------------------------------------------------- */
#detail-hero.detail-hero--v5 {
  background: var(--v5-sand) !important;
  color: var(--v5-ink);
  border-bottom: 1px solid var(--v5-line);
}
#detail-hero.detail-hero--v5::before { opacity: .22; filter: blur(46px) saturate(.8); }
#detail-hero.detail-hero--v5::after {
  background: linear-gradient(90deg, rgba(236, 226, 216, .35), rgba(247, 242, 236, .94) 52%) !important;
}
.hv5__frame { background: transparent !important; box-shadow: none !important; border: 0 !important; border-radius: 0 !important; overflow: visible; }
.hv5__frame img, .hv5__frame video {
  width: auto !important;
  max-width: 100%;
  border: 0 !important;
  border-radius: var(--v5-radius);
  box-shadow: 0 22px 48px rgba(46, 31, 25, .18);
}
.hv5__frame.has-video { background: transparent !important; }
.hv5__kicker { color: var(--v5-copper); }
.hv5__status { background: var(--v5-copper); color: #fff; }
#detail-hero .hv5__title { color: var(--v5-night); }
.hv5__date { color: var(--v5-night); }
.hv5__place { color: var(--v5-taupe); }
.hv5__date svg, .hv5__place svg { color: var(--v5-copper); }
.hv5__facts { border-color: var(--v5-line); background: var(--v5-line); }
.hv5__fact { background: #fff; }
.hv5__fact svg { color: var(--v5-copper); }
.hv5__fact dt { color: var(--v5-taupe); }
.hv5__fact dd { color: var(--v5-night); }
.hv5__people .guide-badge {
  border-color: var(--v5-line);
  background: #fff;
  color: var(--v5-ink);
}
.hv5__people .guide-badge strong { color: var(--v5-night); }
.hv5__people .detail-commercial-signal {
  border-color: var(--v5-line);
  background: #fff;
  color: var(--v5-ink);
}
.hv5__book {
  border: 1px solid var(--v5-line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(46, 31, 25, .1);
}
.hv5__price strong { color: var(--v5-copper); }
.hv5__price strong.hv5__price-past { color: var(--v5-night); }

/* Prenotazione: card bianca con accenti rame. */
body.detail-v5 .booking-panel,
body.detail-v5 .multiday-booking-panel {
  border: 1px solid var(--v5-line) !important;
  background: #fff !important;
  color: var(--v5-ink) !important;
  box-shadow: 0 18px 40px rgba(46, 31, 25, .08) !important;
}
body.detail-v5 .booking-panel__head-copy .tagline { color: var(--v5-copper); }
body.detail-v5 .booking-panel__head-copy h2,
body.detail-v5 .multiday-booking-panel h2 { color: var(--v5-night) !important; }
body.detail-v5 .booking-panel__date { color: var(--v5-ink); }
body.detail-v5 .booking-panel__price small { color: var(--v5-taupe); }
body.detail-v5 .booking-panel__price strong { color: var(--v5-copper); }
body.detail-v5 .booking-panel .ticket-item,
body.detail-v5 .multiday-booking-panel .multiday-ticket-card {
  border: 1px solid var(--v5-line);
  background: var(--v5-cream);
}
body.detail-v5 .booking-panel.is-past { background: var(--v5-sand) !important; }

/* Barra fissa chiara. */
.detail-stickybar {
  border-top: 1px solid var(--v5-line);
  background: rgba(255, 255, 255, .97);
  color: var(--v5-ink);
  box-shadow: 0 -10px 30px rgba(46, 31, 25, .1);
  backdrop-filter: blur(8px);
}
.detail-stickybar__copy strong { color: var(--v5-night); }
.detail-stickybar__copy span { color: var(--v5-taupe); }

/* Home: il banner Tromsø mantiene il suo tema artico (come la sua pagina). */
.preview-home .home-tromso-book {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 20px;
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: transparent !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4c. Schede d'archivio (/escursioni/<slug>/)
   -------------------------------------------------------------------------- */
.hv5__back { width: min(1180px, calc(100% - 48px)); margin: 0 auto 18px; }
.archive-hero-v5 .archive-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--v5-choc);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.archive-hero-v5 .archive-back-link svg { width: 18px; height: 18px; }
.hv5__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hv5__chips .multiday-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--v5-line);
  border-radius: 999px;
  background: #fff;
  color: var(--v5-ink);
  font-size: .86rem;
  font-weight: 600;
}
.hv5__chips .multiday-chip svg { width: 16px; height: 16px; color: var(--v5-copper); }
.archive-hero-v5 .archive-editions { margin: 12px 0 0; color: var(--v5-taupe); font-size: .86rem; }
body.archive-detail-page .archive-story-card .archive-story-heading h2 {
  margin: 6px 0 18px;
  color: var(--v5-night);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}
body.archive-detail-page .archive-description { color: var(--v5-ink); font-size: 1.02rem; line-height: 1.75; }
body.archive-detail-page .archive-description p { margin: 0 0 .8em !important; }
body.archive-detail-page .archive-detail-panels > .info-card {
  padding: 22px;
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  box-shadow: none;
}
body.archive-detail-page .archive-detail-panels > .info-card h3 {
  color: var(--v5-night);
  font-size: 1.5rem;
}
body.archive-detail-page .bubble-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}
.archive-hero-v5 .hv5__chips .multiday-chip {
  border: 1px solid var(--v5-line) !important;
  background: #fff !important;
  color: var(--v5-ink) !important;
  box-shadow: none !important;
}
body.archive-detail-page .bubble-list > span,
body.archive-detail-page .bubble {
  border: 0;
  border-radius: 10px;
  background: var(--v5-cream);
  box-shadow: none;
  color: var(--v5-ink);
}
body.archive-detail-page .technical-direction { margin-top: 18px; }

/* Badge "Esaurito". */
.event-card .ticket-badge--soldout { background: var(--v5-ink); color: #fff; }
.hv5__status--soldout { background: var(--v5-ink) !important; color: #fff !important; }

/* Equipaggiamento con emoji, come sul sito ufficiale. */
body.detail-v5 .tech-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
body.detail-v5 .tech-check-list .equip-li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  line-height: 1.4;
}
.equip-li__emoji { font-size: 1.05rem; line-height: 1.35; text-align: center; }

/* Barra dei capitoli: attaccata all'header (altezza misurata via JS) e sotto i menu a tendina. */
.detail-subnav { top: var(--v5-header-h, 64px) !important; z-index: 15 !important; }
body.detail-v5 header { z-index: 50; }
body.detail-v5 #detail-body [id] { scroll-margin-top: calc(var(--v5-header-h, 64px) + 64px) !important; }
@media (max-width: 900px) {
  .detail-subnav__inner { padding: 8px 0; }
  .detail-subnav a { padding: 7px 12px; font-size: .8rem; }
}

/* --------------------------------------------------------------------------
   4d. Ritocchi FASE 5b
   -------------------------------------------------------------------------- */
/* Multigiorni: logistica a tutta larghezza, righe su due colonne (niente vuoti). */
body.detail-v5 .multiday-v5-panels { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  body.detail-v5 .multiday-v5-panels .tech-panel:not(:has(.tech-equip)) .tech-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36px;
  }
}
/* Giornaliere: se resta un pannello da solo sulla riga, prende tutta la larghezza. */
body.detail-v5 .detail-panels:not(.multiday-v5-panels) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.detail-v5 .detail-panels:not(.multiday-v5-panels) > .tech-panel:nth-child(odd):last-child { grid-column: 1 / -1; }
@media (max-width: 900px) { body.detail-v5 .detail-panels:not(.multiday-v5-panels) { grid-template-columns: 1fr; } }

/* Totali del cammino in evidenza. */
body.detail-v5 .multiday-summary-card.is-total { background: #fff; border-color: var(--v5-copper); }
body.detail-v5 .multiday-summary-card.is-total span { color: var(--v5-copper); font-weight: 700; }
body.detail-v5 .multiday-summary-card.is-total strong { color: var(--v5-night); font-size: 1.15rem; }

/* Home: Instagram come pulsante "Seguimi!" ben leggibile, Facebook come icona. */
.hero-v5__social { display: inline-flex; align-items: center; gap: 10px; }
.hero-v5__social .hero-social {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  min-width: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--v5-night);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-v5__social .hero-social:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .28); }
.hero-v5__social .hero-social img { width: 26px; height: 26px; }
.hero-v5__social .hero-social--ig { width: auto !important; height: 54px !important; padding: 0 20px 0 14px !important; overflow: visible !important; }
.hero-v5__social .hero-social--fb { width: 54px !important; height: 54px !important; padding: 0 !important; }
.hero-social__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.hero-social__text strong { font-size: .98rem; font-weight: 800; }
.hero-social__text small { color: var(--v5-taupe); font-size: .72rem; font-weight: 600; }
.hero-v5__social .social-bubble,
.hero-v5__social .social-bubble::before,
.hero-v5__social .social-bubble::after,
.hero-v5__social .hero-social::before,
.hero-v5__social .hero-social::after { display: none !important; content: none !important; }
.hero-v5__social .cta-instagram.show-social-bubble { animation: v5-nudge .8s ease 2; }
@keyframes v5-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (max-width: 700px) {
  .hero-v5__actions { row-gap: 16px; }
  .hero-v5__social { width: 100%; }
}

/* Modale community + Instagram. */
.whatsapp-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(30, 24, 20, .5);
  backdrop-filter: blur(4px);
}
.whatsapp-modal-overlay.is-visible { display: flex; }
.whatsapp-modal {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  width: min(680px, 100%);
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  color: var(--v5-ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
.whatsapp-modal-photo { margin: 0; }
.whatsapp-modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.whatsapp-modal-body { padding: 28px 28px 24px; }
.whatsapp-modal-brand { display: flex; align-items: center; gap: 10px; color: var(--v5-copper); font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.whatsapp-modal-brand img { width: 36px; height: 36px; border-radius: 50%; }
.whatsapp-modal h3 { margin: 14px 0 10px; color: var(--v5-night); font-family: var(--v5-display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.whatsapp-modal p { margin: 0 0 18px; color: var(--v5-ink); line-height: 1.6; font-size: .95rem; }
.whatsapp-modal-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.whatsapp-modal-actions > * { width: 100% !important; margin: 0 !important; }
.whatsapp-modal-body { text-align: left !important; }
.whatsapp-modal-brand { justify-content: flex-start !important; }
.whatsapp-modal-actions .cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; border-radius: 10px; background: #25a244 !important; color: #fff !important; font-weight: 800;
}
.whatsapp-modal-actions .cta img { width: 20px; height: 20px; }
.whatsapp-modal-instagram {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border: 1.5px solid var(--v5-line); border-radius: 10px;
  color: var(--v5-night); font-weight: 700; text-decoration: none;
}
.whatsapp-modal-instagram:hover { border-color: var(--v5-copper); }
.whatsapp-modal .ghost-button { border: 0; background: none; color: var(--v5-taupe); font: 600 .88rem "Sora", sans-serif; cursor: pointer; padding: 8px; }
.whatsapp-modal-close {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--v5-night); font-size: 1.4rem; cursor: pointer;
}
@media (max-width: 640px) {
  .whatsapp-modal { grid-template-columns: 1fr; }
  .whatsapp-modal-photo { height: 150px; }
  .whatsapp-modal-body { padding: 22px 20px 18px; }
}

/* WhatsApp community su mobile: sempre e solo la piccola icona. */
@media (max-width: 900px) {
  .whatsapp-float {
    width: 46px !important;
    height: 46px !important;
    min-width: 0 !important;
    padding: 0 !important;
    right: 14px !important;
    border-radius: 50% !important;
    display: grid !important;
    place-items: center;
    font-size: 0 !important;
  }
  .whatsapp-float img { width: 46px !important; height: 46px !important; }
  .whatsapp-float span, .whatsapp-float::after, .whatsapp-float::before { display: none !important; }
}

/* --------------------------------------------------------------------------
   4e. Calendario: barra filtri sempre visibile
   -------------------------------------------------------------------------- */
.cal-filters {
  margin: 22px 0 26px;
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
}
.cal-filters__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
}
.cal-filters__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1.5px solid var(--v5-choc);
  border-radius: 999px;
  background: #fff;
  color: var(--v5-night);
  font: 700 .92rem "Sora", system-ui, sans-serif;
  cursor: pointer;
}
.cal-filters__toggle svg { width: 18px; height: 18px; }
.cal-filters__chev { transition: transform .2s ease; }
.cal-filters.is-open .cal-filters__chev { transform: rotate(180deg); }
.cal-filters__badge {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px; background: var(--v5-copper); color: #fff;
  font-size: .72rem;
}
.cal-filters__badge[hidden] { display: none; }
.cal-filters__count { margin-left: auto; color: var(--v5-taupe); font-weight: 700; font-size: .86rem; }
.cal-filters__reset {
  border: 0; background: none; color: var(--v5-copper);
  font: 700 .86rem "Sora", system-ui, sans-serif;
  text-decoration: underline; text-underline-offset: 4px; cursor: pointer;
}
.cal-filters__panel { display: grid; gap: 12px; padding: 14px 18px 18px; border-top: 1px dashed var(--v5-line); }
.cal-filters__panel[hidden] { display: none; }
.cal-filters__group {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}
.cal-filters__group[hidden] { display: none; }
.cal-filters__label {
  color: var(--v5-taupe);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.cal-filters__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cal-filters .filter-pill {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 15px;
  border: 1px solid var(--v5-line);
  border-radius: 999px;
  background: var(--v5-cream);
  color: var(--v5-ink);
  font: 600 .86rem "Sora", system-ui, sans-serif;
  box-shadow: none !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cal-filters .filter-pill::before, .cal-filters .filter-pill::after { content: none !important; display: none !important; }
.cal-filters .filter-pill:hover { border-color: var(--v5-copper); }
.cal-filters .filter-pill.is-active { background: var(--v5-copper); border-color: var(--v5-copper); color: #fff; }
.cal-empty {
  padding: 28px;
  border: 1px dashed var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  color: var(--v5-ink);
  text-align: center;
}
.cal-empty a { color: var(--v5-copper); font-weight: 700; }
@media (max-width: 700px) {
  .cal-filters { margin: 18px 0 22px; }
  .cal-filters__group { grid-template-columns: 1fr; gap: 6px; }
  .cal-filters__count { font-size: .8rem; }
}

/* --------------------------------------------------------------------------
   4f. Home: recensioni in card editoriali
   -------------------------------------------------------------------------- */
#recensioni .home-review-card {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 22px !important;
  border: 1px solid var(--v5-line) !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px rgba(46, 31, 25, .08) !important;
  text-align: left;
}
#recensioni .home-review-card .review-quote {
  order: 0;
  position: static !important;
  display: block;
  height: 34px;
  color: var(--v5-copper) !important;
  font-family: Georgia, serif;
  font-size: 4.2rem !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
#recensioni .home-review-card .review-card-header { order: 3; display: flex; align-items: center; gap: 12px; margin: 0; padding-top: 14px; border-top: 1px solid var(--v5-line); }
#recensioni .home-review-card .review-stars { order: 1; position: static !important; color: var(--v5-copper) !important; font-size: 1rem; letter-spacing: .12em; }
#recensioni .home-review-card .review-card-header .review-stars { display: none; }
#recensioni .home-review-card .review-text {
  order: 2;
  margin: 0;
  max-height: none !important;
  overflow: hidden !important;
  color: var(--v5-ink);
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
}
#recensioni .home-review-card .review-avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 50%;
  background: var(--v5-sand); color: var(--v5-copper);
  font-weight: 800;
}
#recensioni .home-review-card .review-identity h3 { margin: 0; color: var(--v5-night); font-size: 1.15rem; letter-spacing: .02em !important; }
#recensioni .home-review-card .review-card-event { margin-top: 2px; padding: 0 !important; background: none !important; color: var(--v5-taupe) !important; font-size: .8rem; }
#recensioni .home-review-card .review-card-footer { order: 4; color: var(--v5-taupe); font-size: .76rem; }
@media (min-width: 900px) {
  #recensioni .reviews-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
    perspective: none !important;
  }
  #recensioni .home-review-card {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #recensioni .home-review-card[data-deck-position="0"] { order: 1; }
  #recensioni .home-review-card[data-deck-position="1"] { order: 2; }
  #recensioni .home-review-card[data-deck-position="2"] { order: 3; }
  #recensioni .home-review-card:not([data-deck-position="0"]):not([data-deck-position="1"]):not([data-deck-position="2"]) { display: none !important; }
  #recensioni .home-reviews-swipe-hint { display: none; }
  #recensioni .home-reviews-deck { max-width: none; }
}

/* --------------------------------------------------------------------------
   4g. Team building ed escursioni private (solo stile: testi invariati)
   -------------------------------------------------------------------------- */
.team-page h2 {
  color: var(--v5-night) !important;
  font-family: var(--v5-display) !important;
  font-weight: 800 !important;
  line-height: .95 !important;
  text-transform: uppercase;
}
.team-page .tb-final h2 { color: #fff !important; }
.team-page .tb-section { padding-block: clamp(56px, 7vw, 96px); }
.team-page .tb-section-tint { background: var(--v5-sand) !important; }
.team-page .tb-editorial-grid { align-items: start; gap: clamp(28px, 5vw, 72px); }
.team-page .tb-prose { max-width: 68ch; columns: auto !important; column-count: 1 !important; }
.team-page .tb-prose p { margin: 0 0 1em; color: var(--v5-ink); font-size: 1.02rem; line-height: 1.75; }
.team-page .tb-prose strong { color: var(--v5-night); }
.team-page .tb-section-heading p { color: var(--v5-taupe); }
/* Card pubblico */
.team-page .tb-audience-card {
  border-radius: var(--v5-radius) !important;
  box-shadow: 0 14px 34px rgba(46, 31, 25, .08) !important;
  transition: transform .2s ease;
}
.team-page .tb-audience-card:hover { transform: translateY(-3px); }
/* Esperienze: card chiare con accento rame */
.team-page .tb-experience-card {
  border: 1px solid var(--v5-line) !important;
  border-top: 4px solid var(--v5-copper) !important;
  border-radius: var(--v5-radius) !important;
  background: #fff !important;
  color: var(--v5-ink) !important;
  box-shadow: none !important;
}
.team-page .tb-experience-card :is(h3) { color: var(--v5-night) !important; }
.team-page .tb-experience-card :is(p, li, span, small) { color: var(--v5-ink) !important; }
.team-page .tb-experience-card li::marker { color: var(--v5-copper); }
/* Percorso a tappe */
.team-page .tb-journey-step {
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
  padding: clamp(20px, 3vw, 32px);
  margin-bottom: 16px;
}
.team-page .tb-journey-heading h3 { color: var(--v5-night); font-family: var(--v5-display); font-size: 1.8rem; text-transform: uppercase; }
/* Anticipo */
.team-page .tb-number-callout { color: var(--v5-copper) !important; }
.team-page .tb-check-list li::before { color: var(--v5-copper) !important; }
/* Tre idee */
.team-page .tb-story-list > * { border-top: 1px solid var(--v5-line); }
/* Condizioni */
.team-page .tb-term-card {
  border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.team-page .tb-important {
  border-left: 4px solid var(--v5-copper);
  background: #fff;
  padding: 16px 20px;
  border-radius: 0 12px 12px 0;
}
/* Sicurezza */
.team-page .tb-safety-mark { color: var(--v5-copper) !important; }
.team-page .tb-final .cta { min-height: 52px; padding: 14px 28px; border-radius: 10px; font-weight: 800; }

/* --------------------------------------------------------------------------
   4h. Infrasettimanali
   -------------------------------------------------------------------------- */
.weekly-v5 .weekly-hero { padding: clamp(36px, 6vw, 80px) 0; background: var(--v5-sand); }
.weekly-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.weekly-v5 .weekly-hero h1 { color: var(--v5-night); font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .92; margin: 10px 0 18px; }
.weekly-v5 .weekly-hero .lead { color: var(--v5-ink); max-width: 56ch; }
.weekly-v5 .infrasettimanali-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.weekly-v5 .infrasettimanali-badges span {
  padding: 8px 14px; border: 1px solid var(--v5-line); border-radius: 999px; background: #fff;
  color: var(--v5-ink); font-size: .86rem; font-weight: 600;
}
.weekly-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 26px; }
.weekly-hero__actions .cta { min-height: 52px; padding: 13px 26px; border-radius: 10px; font-weight: 800; display: inline-flex; align-items: center; }
.weekly-hero__link { color: var(--v5-choc); font-weight: 700; text-decoration: underline; text-decoration-color: var(--v5-copper); text-underline-offset: 6px; }
.weekly-hero__photo { margin: 0; }
.weekly-hero__photo { justify-self: center; width: min(420px, 100%); }
.weekly-hero__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--v5-radius); box-shadow: var(--v5-shadow); }
.weekly-v5 .weekly-flow { padding: clamp(48px, 6vw, 84px) 0 24px; }
.weekly-flow__head { max-width: 62ch; margin-bottom: 26px; }
.weekly-flow__head h2, .weekly-proposals h2 { color: var(--v5-night); }
.weekly-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.weekly-step {
  position: relative;
  padding: 22px 20px 20px;
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  background: #fff;
}
.weekly-step__num {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 12px;
  border-radius: 50%; background: var(--v5-copper); color: #fff;
  font-family: var(--v5-display); font-size: 1.5rem; font-weight: 800;
}
.weekly-step .weekly-step-eyebrow { color: var(--v5-taupe); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.weekly-step h3 { margin: 6px 0 8px; color: var(--v5-night); font-size: 1.35rem; }
.weekly-step p { margin: 0; color: var(--v5-ink); line-height: 1.6; font-size: .95rem; }
.weekly-v5 .weekly-attention-card {
  margin: 18px 0 0; padding: 16px 20px;
  border: 0; border-left: 4px solid var(--v5-copper); border-radius: 0 12px 12px 0;
  background: #fff7f1; box-shadow: none;
}
.weekly-v5 .weekly-attention-card p { margin: 0; color: var(--v5-night); }
.weekly-group-card {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 18px;
  margin-top: 18px; padding: 18px 22px;
  border: 1px solid var(--v5-line); border-radius: var(--v5-radius); background: #fff;
}
.weekly-group-card strong { color: var(--v5-night); font-size: 1.05rem; }
.weekly-group-card p { margin: 4px 0 0; color: var(--v5-ink); font-size: .92rem; }
.weekly-group-card .cta { background: #25a244 !important; color: #fff !important; border-radius: 10px; min-height: 48px; display: inline-flex; align-items: center; white-space: nowrap; }
.weekly-v5 .weekly-proposals { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.weekly-v5 #weekly-grid { display: grid; gap: 20px; margin-top: 22px; }
.weekly-v5 #weekly-grid > .card,
.weekly-v5 .weekly-template-card {
  border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.weekly-v5 .weekly-slot-card { border: 1px solid var(--v5-line) !important; border-radius: 14px !important; background: var(--v5-cream) !important; box-shadow: none !important; }
.weekly-v5 .weekly-progress-track { background: var(--v5-sand) !important; border-radius: 999px; }
.weekly-v5 .weekly-progress-track > * { background: var(--v5-copper) !important; }
@media (max-width: 1000px) { .weekly-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .weekly-hero__grid { grid-template-columns: 1fr; }
  .weekly-hero__photo { order: -1; }
  .weekly-steps { grid-template-columns: 1fr; }
  .weekly-group-card { grid-template-columns: 40px minmax(0, 1fr); }
  .weekly-group-card .cta { grid-column: 1 / -1; justify-content: center; }
}

/* --------------------------------------------------------------------------
   4i. Archivio escursioni
   -------------------------------------------------------------------------- */
.archive-index-page main > section:first-child { background: var(--v5-sand) !important; background-image: none !important; }
.archive-index-page main > section:first-child h1 { color: var(--v5-night); font-size: clamp(3rem, 6vw, 5.4rem); line-height: .9; }
.archive-index-page form, .archive-index-page [class*="archive-filters"] {
  border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.archive-index-page input, .archive-index-page select {
  min-height: 44px;
  border: 1px solid var(--v5-line) !important;
  border-radius: 10px !important;
  background: var(--v5-cream) !important;
  color: var(--v5-ink) !important;
  font: 500 .92rem "Sora", system-ui, sans-serif;
}
.archive-index-page input:focus, .archive-index-page select:focus { outline: 2px solid var(--v5-copper); outline-offset: 1px; }
.archive-index-page .archive-card {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--v5-line) !important;
  border-radius: var(--v5-radius) !important;
  background: #fff !important;
  box-shadow: 0 10px 26px rgba(46, 31, 25, .07) !important;
  transition: transform .25s ease, box-shadow .25s ease;
}
.archive-index-page .archive-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(46, 31, 25, .13) !important; }
.archive-index-page .archive-card .event-photo { margin: 0 !important; border-radius: 0 !important; aspect-ratio: 4 / 5; overflow: hidden; }
.archive-index-page .archive-card .event-photo img { width: 100%; height: 100%; object-fit: cover; }
.archive-index-page .archive-card .event-content { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px !important; }
.archive-index-page .archive-card h3 { margin: 0; color: var(--v5-night); font-size: 1.35rem; line-height: 1.05; }
.archive-index-page .archive-status-pill { background: var(--v5-sand) !important; color: var(--v5-choc) !important; border-radius: 6px !important; }
.archive-index-page .event-kicker { color: var(--v5-taupe) !important; }
.archive-index-page .archive-card .cta { margin-top: auto; align-self: flex-start; border-radius: 9px; }

/* Card evento su mobile: locandina intera (niente ritaglio) e nota commissione sempre visibile. */
.event-card .event-price-note { display: block !important; visibility: visible !important; opacity: 1 !important; }
@media (max-width: 760px) {
  #event-grid .event-card .event-photo,
  #home-event-carousel .event-card .event-photo {
    aspect-ratio: auto !important;
    height: auto !important;
    background: var(--v5-sand);
  }
  #event-grid .event-card .event-photo img,
  #home-event-carousel .event-card .event-photo img {
    position: static !important;
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
  }
  #event-grid .event-card .event-photo .ticket-date,
  #home-event-carousel .event-card .event-photo .ticket-date { position: absolute; }
}

/* WhatsApp community: cerchio verde pulito con icona bianca, su tutti gli schermi. */
.whatsapp-float {
  display: grid !important;
  place-items: center;
  width: 52px !important;
  height: 52px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0;
  border-radius: 50% !important;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35zM12.04 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.21-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.22 4.25-9.47 9.48-9.47a9.4 9.4 0 0 1 6.7 2.78 9.4 9.4 0 0 1 2.77 6.7c0 5.23-4.25 9.48-9.47 9.48zm8.06-17.54A11.33 11.33 0 0 0 12.04.6C5.76.6.66 5.7.66 11.98c0 2 .52 3.96 1.52 5.69L.57 23.4l5.87-1.54a11.36 11.36 0 0 0 5.6 1.43h.01c6.27 0 11.38-5.1 11.38-11.38 0-3.04-1.18-5.9-3.33-8.05z'/%3E%3C/svg%3E") center / 28px 28px no-repeat !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .22) !important;
  font-size: 0 !important;
}
.whatsapp-float img,
.whatsapp-float span,
.whatsapp-float::before,
.whatsapp-float::after { display: none !important; content: none !important; }
.whatsapp-float:hover { transform: scale(1.06); }
@media (max-width: 900px) {
  .whatsapp-float { width: 48px !important; height: 48px !important; background-size: 26px 26px !important; }
}

/* --------------------------------------------------------------------------
   4j. Team building — layout FASE 5b (pagina riscritta, testi invariati)
   -------------------------------------------------------------------------- */
.tb-v5 { background: var(--v5-cream); }
.tbv-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(86svh, 820px);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}
.tbv-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.tbv-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(20, 18, 17, .82) 0%, rgba(20, 18, 17, .45) 45%, rgba(20, 18, 17, .1) 75%);
}
.tbv-hero__inner { width: min(1180px, calc(100% - 48px)); padding-bottom: clamp(36px, 7vh, 72px); }
.tb-v5 .tbv-hero .tagline { color: #f3c9ad; }
.tb-v5 .tbv-hero h1 {
  max-width: 12ch; margin: 10px 0 14px; color: #fff !important;
  font-size: clamp(3.4rem, 8vw, 7.4rem); line-height: .86; letter-spacing: .01em !important;
}
.tb-v5 .tbv-hero h1 em { color: #f3c9ad; font-style: normal; }
.tb-v5 .tbv-hero p { max-width: 58ch; margin: 0 0 10px; color: rgba(255, 255, 255, .9) !important; line-height: 1.6; }
.tb-v5 .tbv-hero .tb-hero-overline { color: #fff !important; font-weight: 700; font-size: 1.08rem; }
.tb-v5 .tbv-hero .tb-lead { color: #fff !important; font-size: 1.25rem; font-weight: 600; }
.tbv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 22px 0 12px; }
.tbv-hero__actions .cta { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 14px 26px; border-radius: 10px; font-weight: 800; }
.tbv-hero__actions .cta svg, .tbv-hero__actions .tb-text-link svg { width: 18px; height: 18px; }
.tb-v5 .tbv-hero .tb-text-link { display: inline-flex; align-items: center; gap: 6px; color: #fff !important; font-weight: 700; text-decoration: underline; text-decoration-color: var(--v5-copper); text-underline-offset: 6px; }
.tb-v5 .tbv-hero .tb-hero-note { font-size: .88rem; color: rgba(255, 255, 255, .75) !important; }
.tbv-hero__rail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tbv-hero__rail span { padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; color: rgba(255, 255, 255, .8); font-size: .8rem; }
.tbv-hero__rail strong { color: #fff; }

.tb-v5 .tb-page-index {
  position: sticky; top: 0; z-index: 30;
  border-bottom: 1px solid var(--v5-line);
  background: rgba(247, 242, 236, .96); backdrop-filter: blur(8px);
}
.tb-v5 .tb-page-index .container { display: flex; gap: 6px; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.tb-v5 .tb-page-index a {
  flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--v5-line); border-radius: 999px;
  background: #fff; color: var(--v5-choc); font-size: .84rem; font-weight: 700; text-decoration: none;
}
.tb-v5 [id] { scroll-margin-top: 140px; }

.tbv-section { padding: clamp(56px, 8vw, 110px) 0; }
.tbv-tint { background: var(--v5-sand); }
.tb-v5 .tb-section-heading { max-width: 62ch; margin-bottom: 28px; }
.tb-v5 .tb-index { display: inline-block; margin-bottom: 8px; color: var(--v5-copper); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tb-v5 h2 { margin: 0 0 14px; color: var(--v5-night) !important; font-size: clamp(2.4rem, 4.6vw, 4rem) !important; line-height: .92 !important; }
.tb-v5 .tb-section-heading p { color: var(--v5-ink); font-size: 1.05rem; line-height: 1.6; }
.tb-v5 .tb-prose p { margin: 0 0 1em; color: var(--v5-ink); font-size: 1.04rem; line-height: 1.75; }

/* Card pubblico */
.tb-v5 .tb-audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tb-v5 .tb-audience-card {
  display: flex; flex-direction: column; gap: 10px; min-height: 260px;
  padding: clamp(24px, 3vw, 36px); border-radius: 22px !important; text-decoration: none;
  background: #fff !important; border: 1px solid var(--v5-line) !important; color: var(--v5-ink) !important;
  box-shadow: 0 14px 34px rgba(46, 31, 25, .07) !important; transition: transform .2s ease, border-color .2s ease;
}
.tb-v5 .tb-audience-card--private { background: var(--v5-copper) !important; border-color: var(--v5-copper) !important; }
.tb-v5 .tb-audience-card--private :is(h3, p, span) { color: #fff !important; }
.tb-v5 .tb-audience-card:hover { transform: translateY(-4px); }
.tb-v5 .tb-audience-card h3 { margin: 0; font-family: var(--v5-display); font-size: 2.6rem; line-height: .95; text-transform: uppercase; color: var(--v5-night); }
.tb-v5 .tb-audience-card p { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.tb-v5 .tb-audience-number { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--v5-copper); }
.tb-v5 .tb-audience-action { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.tb-v5 .tb-audience-action svg { width: 18px; height: 18px; }

/* Sezioni a due colonne */
.tbv-split__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 90px); align-items: start; }
.tbv-split__aside { position: sticky; top: 140px; }
.tbv-lead-block p { margin: 0 0 12px; color: var(--v5-night); font-size: 1.22rem; line-height: 1.55; font-weight: 500; }
.tbv-split--private .tbv-split__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.tbv-split__media { margin: 0; }
.tbv-split__media img { width: 100%; border-radius: 22px; box-shadow: var(--v5-shadow); }
.tb-v5 .tb-private-cta { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 18px; color: var(--v5-copper); font-weight: 800; text-decoration: none; }
.tb-v5 .tb-private-cta svg { width: 18px; height: 18px; }

/* Citazione fotografica */
.tb-v5 .tb-photo-story { position: relative; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; }
.tb-v5 .tb-photo-story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tb-v5 .tb-photo-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 18, 17, .75), rgba(20, 18, 17, 0) 60%); }
.tb-v5 .tb-photo-story-copy { position: relative; z-index: 1; width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding-bottom: clamp(36px, 6vh, 64px); color: #fff; }
.tb-v5 .tb-photo-story-copy span { color: #f3c9ad; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tb-v5 .tb-photo-story-copy p { max-width: 18ch; margin: 8px 0 0; color: #fff; font-family: var(--v5-display); font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 800; line-height: .95; text-transform: uppercase; }

/* Esperienze: griglia, nessun carosello */
.tbv-sub { margin: -12px 0 22px; color: var(--v5-taupe); font-weight: 600; }
.tbv-experiences { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tb-v5 .tb-experience-card {
  width: auto !important; padding: 24px 22px; border-radius: 18px;
  border: 1px solid var(--v5-line); border-top: 4px solid var(--v5-copper); background: #fff; list-style: none;
}
.tb-v5 .tb-experience-card > svg { width: 30px; height: 30px; color: var(--v5-copper); margin: 10px 0 6px; }
.tb-v5 .tb-experience-number { color: var(--v5-taupe); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tb-v5 .tb-experience-card h3 { margin: 0 0 12px; color: var(--v5-night); font-family: var(--v5-display); font-size: 1.7rem; line-height: 1; text-transform: uppercase; }
.tb-v5 .tb-experience-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tb-v5 .tb-experience-card ul li { position: relative; padding-left: 18px; color: var(--v5-ink); line-height: 1.45; font-size: .95rem; }
.tb-v5 .tb-experience-card ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--v5-copper); }
.tb-v5 .tb-section-outro { margin-top: 22px; color: var(--v5-night); font-weight: 600; }

/* Tappe */
.tb-v5 .tb-journey-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.tb-v5 .tb-journey-step { display: flex; flex-direction: column; gap: 12px; padding: 26px 24px; border: 1px solid var(--v5-line); border-radius: 20px; background: #fff; margin: 0; }
.tb-v5 .tb-journey-heading { display: flex; align-items: center; gap: 14px; }
.tb-v5 .tb-journey-number { display: grid; place-items: center; width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; background: var(--v5-copper); color: #fff; font-family: var(--v5-display); font-size: 1.6rem; font-weight: 800; }
.tb-v5 .tb-journey-heading .tb-index { margin: 0; }
.tb-v5 .tb-journey-heading h3 { margin: 2px 0 0; color: var(--v5-night); font-family: var(--v5-display); font-size: 1.6rem; line-height: 1; text-transform: uppercase; }
.tb-v5 .tb-journey-content p { margin: 0 0 10px; color: var(--v5-ink); line-height: 1.65; font-size: .97rem; }
.tb-v5 .tb-request-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; min-height: 48px; padding: 12px 22px; border-radius: 10px; font-weight: 800; }
.tb-v5 .tb-request-link svg { width: 18px; height: 18px; }

/* Anticipo */
.tb-v5 .tb-number-callout { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.tb-v5 .tb-number-callout strong { color: var(--v5-copper); font-family: var(--v5-display); font-size: 6rem; line-height: .8; }
.tb-v5 .tb-number-callout span { color: var(--v5-night); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.tb-v5 .tb-check-list { list-style: none; margin: 0 0 1em; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.tb-v5 .tb-check-list li { position: relative; padding: 10px 12px 10px 38px; border-radius: 10px; background: #fff; color: var(--v5-ink); line-height: 1.4; font-size: .95rem; }
.tb-v5 .tb-check-list li::before { content: "✓"; position: absolute; left: 14px; top: 9px; color: var(--v5-copper); font-weight: 800; }

/* Tre idee: tre fisarmoniche */
.tb-v5 .tb-story-list { display: grid; gap: 12px; }
.tb-v5 .tb-story-detail { border: 1px solid var(--v5-line); border-radius: 18px; background: #fff; overflow: hidden; }
.tb-v5 .tb-story-detail summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 22px 24px; cursor: pointer; list-style: none; }
.tb-v5 .tb-story-detail summary::-webkit-details-marker { display: none; }
.tb-v5 .tb-story-detail summary .tb-index { grid-column: 1; margin: 0; }
.tb-v5 .tb-story-detail summary strong { grid-column: 1; color: var(--v5-night); font-family: var(--v5-display); font-size: 1.9rem; line-height: 1; text-transform: uppercase; }
.tb-v5 .tb-story-detail summary svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; color: var(--v5-copper); transition: transform .2s ease; }
.tb-v5 .tb-story-detail[open] summary svg { transform: rotate(180deg); }
.tb-v5 .tb-story-body { padding: 0 24px 18px; max-width: 72ch; }

/* Condizioni */
.tb-v5 .tb-conditions-intro { max-width: 72ch; }
.tb-v5 .tb-terms-header { margin: 34px 0 18px; }
.tb-v5 .tb-terms-header h3 { margin: 6px 0 8px; color: var(--v5-night); font-family: var(--v5-display); font-size: 2rem; text-transform: uppercase; }
.tb-v5 .tb-terms-header p { color: var(--v5-ink); line-height: 1.6; }
.tb-v5 .tb-terms-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tb-v5 .tb-term-card { padding: 26px 24px; border: 1px solid var(--v5-line) !important; border-radius: 20px !important; background: #fff !important; }
.tb-v5 .tb-term-label { color: var(--v5-copper); font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.tb-v5 .tb-term-card h4 { margin: 8px 0 12px; color: var(--v5-night); font-size: 1.15rem; }
.tb-v5 .tb-term-card p { margin: 0 0 10px; color: var(--v5-ink); line-height: 1.65; font-size: .96rem; }
.tb-v5 .tb-important { margin-top: 20px; padding: 18px 22px; border-left: 4px solid var(--v5-copper); border-radius: 0 14px 14px 0; background: #fff; color: var(--v5-ink); line-height: 1.6; }

/* Sicurezza */
.tb-v5 .tb-safety-mark { margin-top: 10px; color: var(--v5-copper); font-size: 4rem; line-height: 1; }
.tbv-more { margin-top: 10px; border: 1px solid var(--v5-line); border-radius: 14px; background: #fff; }
.tbv-more summary { padding: 16px 20px; color: var(--v5-choc); font-weight: 800; cursor: pointer; }
.tbv-more > div { padding: 0 20px 10px; }
.tbv-more h3 { color: var(--v5-night); font-family: var(--v5-display); font-size: 1.6rem; text-transform: uppercase; }

/* Chiusura */
.tb-v5 .tb-final { background: var(--v5-copper) !important; padding: clamp(64px, 8vw, 110px) 0; }
.tb-v5 .tb-final-inner { max-width: 900px; text-align: center; }
.tb-v5 .tb-final :is(h2, h3, p, span, small, em) { color: #fff !important; }
.tb-v5 .tb-final h2 em { font-style: normal; opacity: .85; }
.tb-v5 .tb-final-action { margin-top: 28px; padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .12); }
.tb-v5 .tb-final .cta { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0; min-height: 54px; padding: 14px 28px; border-radius: 10px; background: #fff !important; color: var(--v5-copper-dark) !important; font-weight: 800; }
.tb-v5 .tb-final .cta svg { width: 18px; height: 18px; }

@media (max-width: 1000px) {
  .tbv-experiences { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb-v5 .tb-journey-steps { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tbv-hero { min-height: 92svh; }
  .tbv-hero__inner { width: calc(100% - 32px); }
  .tb-v5 .tb-audience-grid, .tbv-split__grid, .tbv-split--private .tbv-split__grid,
  .tb-v5 .tb-terms-grid, .tb-v5 .tb-check-list, .tbv-experiences { grid-template-columns: 1fr; }
  .tbv-split__aside { position: static; }
  .tb-v5 .tb-audience-card { min-height: 0; }
  .tb-v5 .tb-audience-card h3 { font-size: 2.2rem; }
}

/* --------------------------------------------------------------------------
   4k. Buono regalo (solo stile: modulo e pagamento invariati)
   -------------------------------------------------------------------------- */
.gv-page main { background: var(--v5-cream); }
.gv-page .gv-hero { padding: clamp(48px, 7vw, 100px) 0 !important; background: var(--v5-sand) !important; }
.gv-page .gv-hero::before, .gv-page .gv-hero::after { display: none !important; }
.gv-page .gv-hero h1 { color: var(--v5-night) !important; font-family: var(--v5-display) !important; font-weight: 800 !important; font-size: clamp(3rem, 6vw, 5.6rem) !important; line-height: .9 !important; text-transform: uppercase; }
.gv-page .gv-hero h1 em { color: var(--v5-copper) !important; font-style: normal; }
.gv-page .gv-hero .gv-hero-lead { color: var(--v5-ink) !important; font-size: 1.12rem !important; }
.gv-page .gv-hero .gv-hero-hint { color: var(--v5-taupe) !important; }
.gv-page .gv-hero .gv-hero-actions .cta { min-height: 54px; padding: 14px 26px; border-radius: 10px; font-weight: 800; display: inline-flex; align-items: center; }
.gv-page .gv-kicker { color: var(--v5-copper) !important; }
.gv-page .gv-hero-photo { border-radius: 22px !important; box-shadow: var(--v5-shadow) !important; }
.gv-page .gv-gift-preview { border-color: #fff !important; box-shadow: 0 30px 60px rgba(46, 31, 25, .25) !important; }
.gv-page .gv-gift-preview-top { background: var(--v5-copper) !important; }
.gv-page .gv-gift-preview-top span { color: #fff !important; opacity: .85; }
.gv-page .gv-gift-preview-bottom small { color: var(--v5-copper) !important; }
.gv-page .gv-info {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  padding: clamp(40px, 6vw, 70px) 0 !important;
}
.gv-page .gv-info article {
  position: relative; padding: 24px 22px !important; border: 1px solid var(--v5-line) !important;
  border-radius: 20px; background: #fff;
}
.gv-page .gv-info b { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--v5-sand); color: var(--v5-copper) !important; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }
.gv-page .gv-info h2 { margin: 12px 0 8px !important; color: var(--v5-night); font-family: var(--v5-display); font-size: 1.8rem !important; line-height: 1; text-transform: uppercase; }
.gv-page .gv-info p { color: var(--v5-ink) !important; }
.gv-page .gv-main { gap: 24px !important; padding-bottom: clamp(56px, 8vw, 110px) !important; }
.gv-page .gv-card, .gv-page .gv-summary {
  border: 1px solid var(--v5-line) !important; border-radius: 22px !important; background: #fff !important; box-shadow: none !important;
}
.gv-page .gv-card h2 { color: var(--v5-night); font-family: var(--v5-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem) !important; text-transform: uppercase; }
.gv-page .gv-section h3 { color: var(--v5-night); font-family: var(--v5-display); font-size: 1.4rem !important; text-transform: uppercase; }
.gv-page .gv-field label { color: var(--v5-night) !important; }
.gv-page .gv-field :is(input, textarea, select) {
  border: 1px solid var(--v5-line) !important; border-radius: 12px !important; background: var(--v5-cream) !important;
  min-height: 48px;
}
.gv-page .gv-field :is(input, textarea, select):focus { outline: 2px solid var(--v5-copper) !important; background: #fff !important; }
.gv-page .gv-amounts button { border-color: var(--v5-line) !important; background: var(--v5-cream) !important; color: var(--v5-ink) !important; min-height: 42px; }
.gv-page .gv-amounts button[aria-pressed="true"] { background: var(--v5-copper) !important; border-color: var(--v5-copper) !important; color: #fff !important; }
.gv-page .gv-add { border: 1.5px dashed var(--v5-copper) !important; border-radius: 12px !important; background: transparent !important; color: var(--v5-copper) !important; font-weight: 800; min-height: 48px; padding: 0 18px; }
.gv-page .gv-summary { position: sticky; top: 100px; }
.gv-page .gv-summary h3 { color: var(--v5-night); font-family: var(--v5-display); font-size: 1.8rem; text-transform: uppercase; }
.gv-page .gv-sum-total strong { color: var(--v5-copper) !important; font-family: var(--v5-display); font-size: 2.2rem !important; }
.gv-page .gv-pay { width: 100%; min-height: 54px; border: 0 !important; border-radius: 12px !important; background: var(--v5-copper) !important; color: #fff !important; font: 800 1rem "Sora", sans-serif; cursor: pointer; }
.gv-page .gv-pay:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 860px) {
  .gv-page .gv-info { grid-template-columns: 1fr; }
  .gv-page .gv-summary { position: static; }
}

/* --------------------------------------------------------------------------
   5. Pagine speciali: stessa palette del logo
   -------------------------------------------------------------------------- */
/* Mercatini (Trentino) e Capodanno Abruzzo: variabili --tr-*. */
.trentino-page,
.trentino-page.abruzzo-page {
  --tr-forest: var(--v5-night);
  --tr-pine: var(--v5-choc);
  --tr-berry: var(--v5-copper);
  --tr-gold: var(--v5-copper);
  --tr-cream: var(--v5-cream);
  --tr-ink: var(--v5-ink);
  --tr-line: var(--v5-line);
}
/* Halloween: notte cioccolato, accento rame. */
.halloween-page {
  --night: var(--v5-sand);
  --night-2: var(--v5-cream);
  --line: var(--v5-line);
  --muted: var(--v5-taupe);
  --pumpkin: var(--v5-copper);
  --pumpkin-light: var(--v5-copper-dark);
  --parchment: var(--v5-ink);
}
/* Team building. */
.team-page {
  --tb-pine: var(--v5-choc);
  --tb-clay: var(--v5-copper);
  --tb-cream: var(--v5-cream);
  --tb-line: var(--v5-line);
}
.team-page .tb-hero { background-color: var(--v5-night) !important; }
/* Tromsø: stesse variabili del resto del sito. */
body:has(.route.section-shell) {
  --night: var(--v5-copper-dark);
  --deep: var(--v5-copper);
  --snow: var(--v5-cream);
  --ice: var(--v5-sand);
  --aurora: var(--v5-copper);
  --aurora-2: var(--v5-copper);
  --terracotta: var(--v5-copper);
  --ink: var(--v5-ink);
  --muted: var(--v5-taupe);
  --line: var(--v5-line);
}
body:has(.route.section-shell) .hero:before {
  background:
    radial-gradient(circle at 70% 30%, rgba(180, 95, 63, .2), transparent 38%),
    linear-gradient(120deg, rgba(46, 31, 25, .25), var(--v5-night) 82%) !important;
}
body:has(.route.section-shell) .aurora-break {
  background: linear-gradient(130deg, var(--v5-night), var(--v5-choc) 62%, #6b4636) !important;
}
body:has(.route.section-shell) .site-header { border-bottom-color: var(--v5-line); }

/* Regala un'escursione: colori scritti a mano nella pagina. */
.gv-page { background: var(--v5-cream) !important; }
.gv-page .gv-hero { background: var(--v5-night) !important; }
.gv-page .gv-kicker,
.gv-page .gv-hero h1 em { color: var(--v5-blush) !important; }
.gv-page .gv-gift-preview-top { background: var(--v5-copper) !important; }
.gv-page .gv-hero .gv-hero-actions .cta,
.gv-page .gv-amounts button[aria-pressed="true"] { background: var(--v5-copper) !important; border-color: var(--v5-copper) !important; }

.halloween-page .hw-hero {
  background:
    radial-gradient(circle at 81% 28%, rgba(180, 95, 63, .28), transparent 30%),
    linear-gradient(135deg, var(--v5-night), var(--v5-deep) 65%, #3a2219) !important;
}
.halloween-page .hw-hero:before { background: #26180f !important; }
.halloween-page .hw-hero:after { background: #1f140d !important; }

/* Chi sono: testo editoriale arioso, foto verticale. */
.page-chi-sono .hero-grid { align-items: start; gap: clamp(32px, 5vw, 72px); }
.page-chi-sono .hero-grid > div:first-child { max-width: 62ch; }
.page-chi-sono .section-title { font-size: clamp(2.8rem, 5.4vw, 4.8rem); line-height: .92; margin: 8px 0 22px; }
.page-chi-sono .lead { color: var(--v5-night); font-size: 1.2rem; line-height: 1.6; font-weight: 500; }
.page-chi-sono .hero-grid p { margin: 0 0 1.1em; line-height: 1.75; color: var(--v5-ink); }
.page-chi-sono .about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--v5-radius);
  box-shadow: var(--v5-shadow);
}
.page-chi-sono .hero-card { position: sticky; top: 100px; }

/* Hero delle pagine speciali: chiari, testo scuro. */
.trentino-page .tr-hero,
.halloween-page .hw-hero,
.team-page .tb-hero,
.gv-page .gv-hero,
body:has(.route.section-shell) .hero,
body:has(.route.section-shell) .aurora-break,
.halloween-page {
  background: var(--v5-sand) !important;
  color: var(--v5-ink) !important;
}
.halloween-page .hw-hero::before, .halloween-page .hw-hero::after,
body:has(.route.section-shell) .hero::before { display: none !important; }
.trentino-page .tr-hero :is(h1, h2, h3, p, li, small, strong, span:not([class*="cta"])),
.halloween-page :is(.hw-hero, .hw-story, .hw-interlude, .hw-ticker) :is(h1, h2, h3, p, li, small, strong, span, dt, dd),
.team-page .tb-hero :is(h1, h2, h3, p, li, small, strong, span),
.gv-page .gv-hero :is(h1, h2, p, .gv-hero-lead, .gv-hero-hint),
body:has(.route.section-shell) :is(.hero, .aurora-break) :is(h1, h2, h3, p, li, small, strong, span, dt, dd) {
  color: var(--v5-ink) !important;
}
.trentino-page .tr-hero h1,
.halloween-page .hw-hero h1,
.team-page .tb-hero h1,
.gv-page .gv-hero h1,
body:has(.route.section-shell) .hero h1 { color: var(--v5-night) !important; }
.gv-page .gv-hero h1 em,
.team-page .tb-hero h1 span,
.halloween-page .hw-hero h1 span,
body:has(.route.section-shell) .hero h1 span { color: var(--v5-copper) !important; }

/* Link secondari negli hero chiari. */
.tb-text-link,
.trentino-page .tr-hero a:not(.cta),
.halloween-page .hw-hero a:not(.cta),
.gv-page .gv-hero a:not(.cta),
body:has(.route.section-shell) .hero a:not(.cta):not([class*="sold"]) {
  color: var(--v5-choc) !important;
  border-color: currentColor !important;
}
.gv-page .gv-kicker, .trentino-page .tr-hero [class*="kicker"], .team-page .tb-hero [class*="kicker"] { color: var(--v5-copper) !important; }

/* Team building: niente card verde scuro. */
.team-page .tb-audience-card--team {
  background: #fff !important;
  border: 1px solid var(--v5-line) !important;
}
.team-page .tb-audience-card--team :is(h2, h3, p, span, a, small, strong) { color: var(--v5-ink) !important; }
.team-page .tb-audience-card--team h3 { color: var(--v5-night) !important; }
.team-page .tb-audience-card--private { background: var(--v5-copper) !important; }

/* Sezioni ancora scure nelle pagine speciali: chiare con testo scuro,
   chiusure (finale/CTA) in rame. */
.trentino-page .tr-chapter__body,
.halloween-page :is(.hw-interlude, .hw-practical, .hw-stay),
.team-page .tb-advance {
  background: var(--v5-sand) !important;
  color: var(--v5-ink) !important;
}
.halloween-page :is(.hw-card, .hw-practical-panel, .hw-optional) {
  background: #fff !important;
  border-color: var(--v5-line) !important;
  color: var(--v5-ink) !important;
}
:is(.trentino-page .tr-chapter__body, .halloween-page :is(.hw-interlude, .hw-practical, .hw-stay, .hw-card, .hw-practical-panel, .hw-optional), .team-page .tb-advance)
  :is(h1, h2, h3, h4, p, li, span, small, strong, b, em, dt, dd, label, a:not(.cta)) {
  color: var(--v5-ink) !important;
}
:is(.trentino-page .tr-chapter__body, .halloween-page :is(.hw-interlude, .hw-practical, .hw-stay, .hw-card, .hw-practical-panel), .team-page .tb-advance) :is(h2, h3) {
  color: var(--v5-night) !important;
}
.trentino-page .tr-finale,
.team-page .tb-final {
  background: var(--v5-copper) !important;
  color: #fff !important;
}
:is(.trentino-page .tr-finale, .team-page .tb-final) :is(h2, h3, p, li, span, small, strong, a:not(.cta)) { color: #fff !important; }
:is(.trentino-page .tr-finale, .team-page .tb-final) .cta {
  background: #fff !important;
  color: var(--v5-copper-dark) !important;
}

/* Pagine editoriali (chi sono, recensioni, FAQ, archivio). */
.page-chi-sono main,
.page-reviews main,
.archive-index-page main,
.archive-detail-page main { background: var(--v5-cream); }
.page-chi-sono .section-title,
.page-reviews h1,
.archive-index-page h1,
.archive-detail-page h1 { color: var(--v5-night); }
.page-chi-sono .card,
.page-reviews .card,
.archive-index-page .card {
  border: 1px solid var(--v5-line);
  border-radius: var(--v5-radius);
  box-shadow: none;
}
.page-reviews .reviews-editorial-hero { background: var(--v5-cream); }

/* --------------------------------------------------------------------------
   6. Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hv5 { grid-template-columns: 1fr; gap: 22px; width: calc(100% - 32px); }
  .hv5__frame img, .hv5__frame video { max-height: 58svh; }
  #detail-hero .hv5__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hv5__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hv5__book { flex-direction: column; align-items: stretch; padding: 16px; }
  .hv5__actions .cta { width: 100%; }
  #detail-hero.detail-hero--v5::after { background: rgba(46, 31, 25, .82); }
  .detail-subnav__inner, body.detail-v5 .detail-panels, body.detail-v5 .booking-panel-wrap,
  body.detail-v5 .multiday-page-stack { width: calc(100% - 32px); }
  body.detail-v5 .detail-panels { grid-template-columns: 1fr; }
  body.detail-v5 .detail-story, body.detail-v5 .multiday-intro-card { margin: 0 16px; padding: 22px 18px; }
  body.detail-v5 .multiday-page-stack .multiday-intro-card { margin: 0; }
}

@media (max-width: 700px) {
  .preview-home .hero.hero-v5 { min-height: calc(100svh - 64px); }
  .hero-v5__inner { width: calc(100% - 32px); padding-bottom: 32px; }
  .preview-home .hero-v5 h1 { font-size: clamp(3.3rem, 16vw, 4.8rem); }
  .hero-v5__lead { font-size: 1rem; }
  .hero-v5__actions .cta { width: 100%; }
  .hero-v5__credit { display: none; }
  .hero-v5__photo img { object-position: 40% 30%; }

  #event-grid.event-grid { grid-template-columns: 1fr; gap: 20px; }
  #event-grid .event-card .event-photo { aspect-ratio: 1 / 1; }
  #event-grid .event-card .event-content h3 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .detail-stickybar, .event-card, .event-card .event-photo img { transition: none !important; }
}

/* Menu mobile: la prima voce (Home) non deve finire sotto l'header. */
@media (max-width: 1100px) {
  .side-menu { padding-top: 92px !important; overflow-y: auto; }
}

/* Team building: priorità sugli stili storici della pagina. */
.tb-v5 .tbv-hero { position: relative !important; padding: 0 !important; }
.tb-v5 .tbv-hero > .tbv-hero__img {
  position: absolute !important; inset: 0 !important; z-index: -2 !important;
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover !important; border-radius: 0 !important; margin: 0 !important;
}
.tb-v5 .tbv-section { padding-top: clamp(56px, 8vw, 110px) !important; padding-bottom: clamp(56px, 8vw, 110px) !important; }
.tb-v5 .tb-experience-card { min-height: 0 !important; height: auto !important; display: flex !important; flex-direction: column; }
.tb-v5 .tb-experience-card > svg { max-width: 30px; max-height: 30px; }
.tb-v5 .tbv-lead-block p, .tb-v5 .tb-prose p { margin: 0 0 1em !important; }
.tb-v5 .tb-journey-step::before, .tb-v5 .tb-journey-step::after { display: none !important; }
.tb-v5 .tb-journey-number { border: 0 !important; background: var(--v5-copper) !important; color: #fff !important; }


/* ==========================================================================
   FASE 5c — hero a rotazione, leggibilità, recensioni, IA, cookie
   ========================================================================== */
/* Hero home: dissolvenza tra le foto della galleria. */
.hero-v5__photo img {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-v5__photo img.is-active { opacity: 1; }
.hero-v5__credit { transition: opacity .6s ease; }
.hero-v5__credit.is-hidden { opacity: 0; }
/* Leggibilità: velatura più decisa a sinistra e in basso, testo con ombra. */
.hero-v5::after {
  background:
    linear-gradient(90deg, rgba(20, 18, 17, .62) 0%, rgba(20, 18, 17, .28) 55%, rgba(20, 18, 17, .05) 100%),
    linear-gradient(0deg, rgba(20, 18, 17, .8) 0%, rgba(20, 18, 17, .35) 40%, rgba(20, 18, 17, 0) 70%) !important;
}
.hero-v5__eyebrow { color: #fff !important; text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }
.hero-v5__eyebrow::before { background: #f3c9ad !important; }
.hero-v5__lead { color: #fff !important; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.preview-home .hero-v5 h1 { text-shadow: 0 3px 30px rgba(0, 0, 0, .4); }
.hero-v5__link { text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }

/* Recensioni: testo lungo scorrevole dentro la card. */
#recensioni .home-review-card .review-text {
  display: block !important;
  -webkit-line-clamp: unset !important;
  max-height: 11.5em !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding-right: 8px;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  scrollbar-width: thin;
  scrollbar-color: var(--v5-blush) transparent;
  touch-action: pan-y;
}
#recensioni .home-review-card .review-text::-webkit-scrollbar { width: 5px; }
#recensioni .home-review-card .review-text::-webkit-scrollbar-thumb { background: var(--v5-blush); border-radius: 4px; }
#recensioni .home-review-card .review-card-event { text-transform: none !important; letter-spacing: 0 !important; line-height: 1.35; }

/* Assistente IA */
#etta-ai-root .etta-ai-launcher {
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: 48px !important;
  min-width: 48px;
  padding: 0 18px 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--v5-night, #2b211c) !important;
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25) !important;
  font: 700 .9rem "Sora", system-ui, sans-serif !important;
  transform: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
#etta-ai-root .etta-ai-launcher:hover { transform: translateY(-2px) !important; }
#etta-ai-root .etta-ai-launcher::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3c9ad' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v3M12 18v3M3 12h3M18 12h3M5.6 5.6l2.1 2.1M16.3 16.3l2.1 2.1M5.6 18.4l2.1-2.1M16.3 7.7l2.1-2.1'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
#etta-ai-root .etta-ai-launcher-label { font-size: 0 !important; }
#etta-ai-root .etta-ai-launcher-label::after { content: "Chiedi a Etta"; font-size: .9rem; }
body.has-v5-stickybar #etta-ai-root .etta-ai-launcher { bottom: 92px !important; }

#etta-ai-root .etta-ai-panel {
  left: 16px !important;
  right: auto !important;
  bottom: 76px !important;
  width: min(400px, calc(100vw - 32px)) !important;
  height: min(620px, calc(100vh - 120px)) !important;
  max-height: none !important;
  border: 1px solid var(--v5-line, #e2d6cc) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 30px 80px rgba(30, 24, 20, .28) !important;
  overflow: hidden;
}
#etta-ai-root .etta-ai-header {
  padding: 16px 18px !important;
  border-bottom: 1px solid var(--v5-line, #e2d6cc) !important;
  background: var(--v5-sand, #ece2d8) !important;
  color: var(--v5-night, #2b211c) !important;
}
#etta-ai-root .etta-ai-header * { color: var(--v5-night, #2b211c) !important; }
#etta-ai-root .etta-ai-mark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #fff url("/optimized/ui/logo-240.webp") center / cover no-repeat !important;
  box-shadow: 0 0 0 2px var(--v5-copper, #b45f3f) !important;
}
#etta-ai-root .etta-ai-mark > * { opacity: 0 !important; }
#etta-ai-root .etta-ai-title strong, #etta-ai-root .etta-ai-title b { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 1.35rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
#etta-ai-root .etta-ai-title small, #etta-ai-root .etta-ai-title span { color: var(--v5-taupe, #96705f) !important; font-size: .8rem; }
#etta-ai-root .etta-ai-close {
  width: 34px !important; height: 34px !important; border-radius: 50% !important;
  background: #fff !important; color: var(--v5-night, #2b211c) !important; border: 0 !important;
}
#etta-ai-root .etta-ai-messages { padding: 16px !important; background: var(--v5-cream, #f7f2ec) !important; gap: 10px; }
#etta-ai-root .etta-ai-message {
  max-width: 88% !important;
  padding: 12px 14px !important;
  border-radius: 16px !important;
  font: 400 .93rem/1.55 "Sora", system-ui, sans-serif !important;
  box-shadow: none !important;
}
#etta-ai-root .etta-ai-message.bot {
  border: 1px solid var(--v5-line, #e2d6cc) !important;
  border-bottom-left-radius: 6px !important;
  background: #fff !important;
  color: var(--v5-ink, #33231c) !important;
}
#etta-ai-root .etta-ai-message:not(.bot) {
  margin-left: auto !important;
  border: 0 !important;
  border-bottom-right-radius: 6px !important;
  background: var(--v5-copper, #b45f3f) !important;
  color: #fff !important;
}
#etta-ai-root .etta-ai-message a { color: inherit !important; font-weight: 700; text-decoration: underline; }
#etta-ai-root .etta-ai-quick { gap: 6px !important; }
#etta-ai-root .etta-ai-quick button {
  padding: 8px 12px !important;
  border: 1px solid var(--v5-line, #e2d6cc) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--v5-choc, #5c3f34) !important;
  font: 600 .8rem "Sora", system-ui, sans-serif !important;
}
#etta-ai-root .etta-ai-quick button:hover { border-color: var(--v5-copper, #b45f3f) !important; color: var(--v5-copper, #b45f3f) !important; }
#etta-ai-root .etta-ai-form {
  gap: 8px !important;
  padding: 12px !important;
  border-top: 1px solid var(--v5-line, #e2d6cc) !important;
  background: #fff !important;
}
#etta-ai-root .etta-ai-input {
  min-height: 46px !important;
  padding: 12px 14px !important;
  border: 1px solid var(--v5-line, #e2d6cc) !important;
  border-radius: 14px !important;
  background: var(--v5-cream, #f7f2ec) !important;
  color: var(--v5-ink, #33231c) !important;
  font: 400 .93rem "Sora", system-ui, sans-serif !important;
  resize: none !important;
}
#etta-ai-root .etta-ai-input:focus { outline: 2px solid var(--v5-copper, #b45f3f) !important; background: #fff !important; }
#etta-ai-root .etta-ai-send {
  width: 46px !important; height: 46px !important; flex: 0 0 46px;
  border: 0 !important; border-radius: 14px !important;
  background: var(--v5-copper, #b45f3f) !important; color: #fff !important;
}
@media (max-width: 700px) {
  #etta-ai-root .etta-ai-launcher { width: 48px !important; padding: 0 !important; justify-content: center; }
  #etta-ai-root .etta-ai-launcher-label::after { content: none; }
  #etta-ai-root .etta-ai-panel {
    left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important;
    width: 100vw !important; height: min(88svh, 720px) !important;
    border-radius: 22px 22px 0 0 !important; border-bottom: 0 !important;
  }
}

/* Banner cookie */
#cookie-banner.cookie-banner {
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  top: auto !important;
  width: min(420px, calc(100vw - 32px)) !important;
  max-width: none !important;
  padding: 20px 20px 16px !important;
  border: 1px solid var(--v5-line, #e2d6cc) !important;
  border-radius: 20px !important;
  background: #fff !important;
  color: var(--v5-ink, #33231c) !important;
  box-shadow: 0 24px 60px rgba(30, 24, 20, .22) !important;
  transform: none !important;
  z-index: 150 !important;
}
#cookie-banner .cookie-summary { display: flex; flex-direction: column; gap: 4px; }
#cookie-banner .cookie-eyebrow { color: var(--v5-copper, #b45f3f) !important; font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .14em !important; text-transform: uppercase; }
#cookie-banner #cookie-title { color: var(--v5-night, #2b211c) !important; font-family: "Barlow Condensed", "Arial Narrow", sans-serif !important; font-size: 1.6rem !important; font-weight: 800 !important; text-transform: uppercase; line-height: 1 !important; }
#cookie-banner p { margin: 4px 0 2px !important; color: var(--v5-ink, #33231c) !important; font-size: .9rem !important; line-height: 1.5 !important; }
#cookie-banner .cookie-link { color: var(--v5-copper, #b45f3f) !important; font-size: .84rem !important; font-weight: 700; }
#cookie-banner .cookie-preferences { display: grid; gap: 8px; margin-top: 12px; }
#cookie-banner .cookie-preferences[hidden] { display: none !important; }
#cookie-banner .cookie-preferences label {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
  padding: 10px 12px; border: 1px solid var(--v5-line, #e2d6cc); border-radius: 12px; background: var(--v5-cream, #f7f2ec);
}
#cookie-banner .cookie-preferences input { accent-color: var(--v5-copper, #b45f3f); margin-top: 3px; }
#cookie-banner .cookie-preferences strong { display: block; color: var(--v5-night, #2b211c); font-size: .9rem; }
#cookie-banner .cookie-preferences small { display: block; color: var(--v5-taupe, #96705f); font-size: .78rem; line-height: 1.4; }
#cookie-banner .cookie-actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px !important; margin-top: 14px !important; }
#cookie-banner .cookie-btn {
  min-height: 44px !important; padding: 10px 12px !important; border-radius: 12px !important;
  font: 700 .86rem "Sora", system-ui, sans-serif !important; cursor: pointer; box-shadow: none !important;
}
#cookie-banner .cookie-reject, #cookie-banner .cookie-customize {
  border: 1.5px solid var(--v5-line, #e2d6cc) !important; background: #fff !important; color: var(--v5-night, #2b211c) !important;
}
#cookie-banner .cookie-reject:hover, #cookie-banner .cookie-customize:hover { border-color: var(--v5-copper, #b45f3f) !important; }
#cookie-banner .cookie-accept, #cookie-banner .cookie-save {
  grid-column: 1 / -1; border: 0 !important; background: var(--v5-copper, #b45f3f) !important; color: #fff !important;
}
#cookie-banner .cookie-save:not([hidden]) + .cookie-accept { grid-column: auto; }
#cookie-banner .cookie-btn[hidden] { display: none !important; }
@media (max-width: 600px) {
  #cookie-banner.cookie-banner { left: 8px !important; right: 8px !important; bottom: 8px !important; width: auto !important; }
}

/* Team building: hero chiara con la locandina in alto, accanto al testo (come sul sito ufficiale). */
.tbh { padding: calc(var(--v5-header-h, 76px) + 28px) 0 clamp(40px, 6vw, 72px); background: linear-gradient(180deg, var(--v5-sand, #ece2d8) 0%, var(--v5-cream, #f7f2ec) 100%); }
.tbh__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.tb-v5 .tbh .tagline { color: var(--v5-copper, #b45f3f); }
.tb-v5 .tbh h1 { margin: 10px 0 16px; color: var(--v5-night, #2b211c); font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: clamp(3rem, 7vw, 5.8rem); font-weight: 800; line-height: .92; letter-spacing: 0; text-transform: uppercase; }
.tb-v5 .tbh h1 em { color: var(--v5-copper, #b45f3f); font-style: normal; }
.tb-v5 .tbh p { max-width: 58ch; margin: 0 0 10px; color: var(--v5-ink, #33231c); line-height: 1.6; }
.tb-v5 .tbh .tb-hero-overline { font-weight: 700; font-size: 1.08rem; color: var(--v5-night, #2b211c); }
.tb-v5 .tbh .tb-lead { font-size: 1.25rem; font-weight: 600; color: var(--v5-choc, #5c3f34); }
.tb-v5 .tbh .tb-hero-note { font-size: .88rem; color: var(--v5-taupe, #96705f); }
.tbh__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 22px 0 12px; }
.tbh__actions .cta { display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 14px 26px; border-radius: 10px; font-weight: 800; }
.tbh__actions svg { width: 18px; height: 18px; fill: currentColor; }
.tb-v5 .tbh .tb-text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--v5-night, #2b211c); font-weight: 700; text-decoration: underline; text-decoration-color: var(--v5-copper, #b45f3f); text-underline-offset: 6px; }
.tbh__rail { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tbh__rail span { padding: 7px 14px; border: 1px solid var(--v5-line, #e2d6cc); border-radius: 999px; background: #fff; color: var(--v5-taupe, #96705f); font-size: .8rem; }
.tbh__rail strong { color: var(--v5-night, #2b211c); }
.tbh__poster { margin: 0; justify-self: center; width: min(100%, 460px); }
.tbh__poster img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 60px rgba(43, 33, 28, .22); }
@media (max-width: 860px) {
  .tbh { padding-top: calc(var(--v5-header-h, 68px) + 16px); }
  .tbh__grid { grid-template-columns: 1fr; }
  .tbh__poster { order: -1; width: min(100%, 380px); }
}
.tbv-split__media--story { position: relative; }
.tbv-split__media--story img { aspect-ratio: 4 / 5; object-fit: cover; }
.tbv-split__media--story .tb-photo-story-copy { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .92); color: var(--v5-ink, #33231c); }
.tbv-split__media--story .tb-photo-story-copy span { display: block; color: var(--v5-copper, #b45f3f); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.tbv-split__media--story .tb-photo-story-copy p { margin: 4px 0 0; font-weight: 600; line-height: 1.45; }

/* Card gruppo WhatsApp (infrasettimanali): stesso cerchio verde del pulsante flottante. */
.weekly-group-card__icon.wa-badge {
  display: block; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.17-.17.2-.35.22-.65.07-.3-.15-1.26-.46-2.4-1.48-.89-.79-1.49-1.77-1.66-2.07-.17-.3-.02-.46.13-.61.13-.13.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.02-.52-.07-.15-.67-1.62-.92-2.22-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48 0 1.46 1.07 2.88 1.21 3.08.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.69.63.71.23 1.36.2 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35zM12.04 21.5h-.01a9.45 9.45 0 0 1-4.82-1.32l-.35-.21-3.58.94.96-3.49-.23-.36a9.43 9.43 0 0 1-1.45-5.03c0-5.22 4.25-9.47 9.48-9.47a9.4 9.4 0 0 1 6.7 2.78 9.4 9.4 0 0 1 2.77 6.7c0 5.23-4.25 9.48-9.47 9.48zm8.06-17.54A11.33 11.33 0 0 0 12.04.6C5.76.6.66 5.7.66 11.98c0 2 .52 3.96 1.52 5.69L.57 23.4l5.87-1.54a11.36 11.36 0 0 0 5.6 1.43h.01c6.27 0 11.38-5.1 11.38-11.38 0-3.04-1.18-5.9-3.33-8.05z'/%3E%3C/svg%3E") center / 28px 28px no-repeat;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .28);
}
@media (max-width: 700px) { .weekly-group-card__icon.wa-badge { width: 40px; height: 40px; background-size: 22px 22px; } }
.weekly-group-card .cta { background: #25d366 !important; color: #fff !important; }

/* Correzioni 5w: il contenitore IA è fixed, il pulsante è statico. */
#etta-ai-root { left: 16px !important; bottom: 16px !important; }
body.has-v5-stickybar #etta-ai-root { bottom: 92px !important; }
body:has(#cookie-banner:not(.is-hidden)) #etta-ai-root { display: none !important; }
#etta-ai-root .etta-ai-launcher { position: static !important; border: 0 !important; }
#etta-ai-root .etta-ai-launcher::after { content: none !important; }
#etta-ai-root .etta-ai-launcher svg { display: none !important; }
#etta-ai-root .etta-ai-launcher-label { display: inline !important; font-size: 0 !important; }
#etta-ai-root .etta-ai-launcher-label::after { content: "Chiedi a Etta"; font-size: .9rem; }
#etta-ai-root .etta-ai-launcher[aria-expanded="true"] { visibility: hidden; }
#etta-ai-root .etta-ai-panel { position: absolute !important; left: 0 !important; bottom: 62px !important; }
#etta-ai-root .etta-ai-panel[data-open="true"] { display: grid !important; }
#etta-ai-root .etta-ai-panel:not([data-open="true"]) { display: none !important; }
@media (max-width: 700px) {
  #etta-ai-root .etta-ai-launcher { width: 48px !important; padding: 0 !important; justify-content: center; }
  #etta-ai-root .etta-ai-launcher::before { margin: 0; }
  #etta-ai-root .etta-ai-launcher-label { display: none !important; }
  #etta-ai-root .etta-ai-panel { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
}
#cookie-banner.is-hidden { display: none !important; }
.weekly-group-card .cta { background: #1e9e4d !important; }

body:has(.whatsapp-modal-overlay.is-visible) #etta-ai-root { display: none !important; }

/* Archivio: la hero della scheda conclusa è a blocchi (il CSS d'archivio la metteva in riga). */
.archive-hero-v5 { display: block !important; min-height: 0 !important; padding-top: calc(var(--v5-header-h, 76px) + 12px) !important; background: var(--v5-cream, #f7f2ec) !important; }
.archive-hero-v5::before, .archive-hero-v5::after { content: none !important; display: none !important; }
.archive-hero-v5 .hv5__back { display: block; width: min(1180px, calc(100% - 32px)); margin: 0 auto 12px; }
.archive-hero-v5 .hv5 { width: min(1180px, calc(100% - 32px)) !important; max-width: none !important; }
.archive-hero-v5 .hv5__media .archive-poster, .archive-hero-v5 .hv5__media img { position: static !important; opacity: 1 !important; transform: none !important; width: 100% !important; height: auto !important; max-height: none !important; }
.archive-hero-v5 .hv5__media img { display: block; border-radius: 18px; object-fit: contain !important; }
@media (max-width: 860px) {
  .archive-hero-v5 .hv5 { display: grid !important; grid-template-columns: 1fr !important; gap: 18px !important; }
  .archive-hero-v5 .hv5__media { width: 100% !important; max-width: 440px; margin: 0 auto; }
  .archive-hero-v5 .hv5__panel { width: 100% !important; }
  .archive-hero-v5 .multiday-chip { white-space: normal; }
  .archive-hero-v5 .hv5__actions .cta { width: 100%; justify-content: center; text-align: center; }
}

/* Modale community: foto intera, sopra il testo. */
.whatsapp-modal { grid-template-columns: 1fr !important; width: min(460px, calc(100vw - 32px)) !important; max-height: calc(100svh - 32px); overflow-y: auto; }
.whatsapp-modal-photo { height: auto !important; aspect-ratio: auto !important; background: var(--v5-sand, #ece2d8); }
.whatsapp-modal-photo img { display: block; width: 100% !important; height: auto !important; object-fit: contain !important; }

/* 5z: assistente IA spostato a destra, piccolo tondo impilato sopra WhatsApp: non copre più i contenuti. */
#etta-ai-root { left: auto !important; right: 16px !important; bottom: 80px !important; }
body.has-v5-stickybar #etta-ai-root { bottom: 156px !important; }
#etta-ai-root .etta-ai-launcher { width: 52px !important; height: 52px !important; min-width: 0 !important; padding: 0 !important; justify-content: center; opacity: .96; }
#etta-ai-root .etta-ai-launcher::before { width: 22px; height: 22px; flex-basis: 22px; }
#etta-ai-root .etta-ai-launcher-label { display: none !important; }
#etta-ai-root .etta-ai-panel { left: auto !important; right: 0 !important; bottom: 64px !important; }
@media (max-width: 900px) {
  #etta-ai-root { right: 14px !important; bottom: 74px !important; }
  #etta-ai-root .etta-ai-launcher { width: 44px !important; height: 44px !important; }
  #etta-ai-root .etta-ai-launcher::before { width: 20px; height: 20px; flex-basis: 20px; }
}
@media (max-width: 700px) {
  #etta-ai-root .etta-ai-panel { position: fixed !important; left: 0 !important; right: 0 !important; bottom: 0 !important; }
}

/* 5z2: modale community senza scorrimento: tutto sta nello schermo, foto intera. */
.whatsapp-modal { overflow: hidden !important; max-height: none !important; }
.whatsapp-modal-photo { display: flex; justify-content: center; }
.whatsapp-modal-photo img { width: auto !important; max-width: 100% !important; max-height: 36svh !important; }
.whatsapp-modal-body { padding: 18px 22px 14px !important; }
.whatsapp-modal h3 { margin: 10px 0 8px !important; font-size: 1.7rem !important; }
.whatsapp-modal p { margin: 0 0 14px !important; font-size: .9rem !important; line-height: 1.5 !important; }
.whatsapp-modal-actions { gap: 8px !important; }
.whatsapp-modal-actions .cta, .whatsapp-modal-instagram { min-height: 46px !important; }
@media (max-width: 600px) {
  .whatsapp-modal-photo img { max-height: 30svh !important; }
  .whatsapp-modal-body { padding: 14px 18px 10px !important; }
  .whatsapp-modal h3 { font-size: 1.5rem !important; }
  .whatsapp-modal p { font-size: .86rem !important; }
  .whatsapp-modal .ghost-button { padding: 4px !important; }
}

/* Icona WhatsApp bianca nel pulsante verde del modale. */
.whatsapp-modal-actions .cta img { filter: brightness(0) invert(1) !important; opacity: 1 !important; width: 22px !important; height: 22px !important; }


/* 6c: posti esauriti nella scheda; contenuto SEO pre-caricato nascosto finché la scheda non è pronta. */
.cta.cta--soldout { background: var(--v5-line) !important; border-color: var(--v5-line) !important; color: var(--v5-taupe) !important; cursor: default; pointer-events: none; }
#detail-hero.detail-hero:not(.detail-hero--v5) {
  min-height: min(78vh, 720px);
  background: linear-gradient(100deg, var(--v5-sand) 20%, var(--v5-cream) 45%, var(--v5-sand) 70%) !important;
  background-size: 240% 100% !important;
  animation: v6-hero-loading 1.2s linear infinite;
  border-bottom: 1px solid var(--v5-line);
}
#detail-hero.detail-hero:not(.detail-hero--v5) > * { visibility: hidden; }
@keyframes v6-hero-loading { from { background-position: 100% 0; } to { background-position: -100% 0; } }


/* 6g: riepilogo del cammino — numeri complessivi in una fascia unica + tabella per tappa. */
body.detail-v5 .msum { padding: clamp(22px, 3vw, 34px) !important; }
body.detail-v5 .msum__head { margin-bottom: 18px; }
body.detail-v5 .msum__head h2 { margin: 4px 0 0 !important; }
body.detail-v5 .msum__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--v5-line);
  border-radius: 16px;
  background: var(--v5-line);
}
body.detail-v5 .msum__stat {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
}
body.detail-v5 .msum__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--v5-cream);
  color: var(--v5-copper);
}
body.detail-v5 .msum__icon svg { width: 20px; height: 20px; }
body.detail-v5 .msum__stat dt { margin: 0; color: var(--v5-taupe); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
body.detail-v5 .msum__stat dd { margin: 2px 0 0; color: var(--v5-night); font-family: var(--v5-display); font-size: 1.7rem; font-weight: 800; line-height: 1.05; }
body.detail-v5 .msum__days { margin-top: 16px; overflow: hidden; border: 1px solid var(--v5-line); border-radius: 16px; background: #fff; }
body.detail-v5 .msum__row { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, .8fr); align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--v5-line); }
body.detail-v5 .msum__row--head { border-top: 0; background: var(--v5-cream); padding-block: 10px; }
body.detail-v5 .msum__row--head span { color: var(--v5-taupe); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
body.detail-v5 .msum__row--head span:not(:first-child), body.detail-v5 .msum__val { text-align: right; }
body.detail-v5 .msum__day strong { display: block; color: var(--v5-night); font-size: .98rem; }
body.detail-v5 .msum__day small { display: block; margin-top: 2px; color: var(--v5-taupe); font-size: .84rem; }
body.detail-v5 .msum__val { color: var(--v5-night); font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
  body.detail-v5 .msum__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.detail-v5 .msum__stat { grid-template-columns: 1fr; grid-template-rows: auto; row-gap: 6px; padding: 14px; }
  body.detail-v5 .msum__icon { grid-row: auto; width: 34px; height: 34px; }
  body.detail-v5 .msum__stat dd { font-size: 1.4rem; }
  body.detail-v5 .msum__row { padding: 12px 14px; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr); }
}
@media (max-width: 600px) { body.detail-v5 .msum__row--head span { font-size: .62rem; letter-spacing: .05em; } body.detail-v5 .msum__row { gap: 8px; } }

/* 6i: su mobile la locandina era coperta dal riquadro di caricamento (::before). */
#event-grid .event-photo img,
#home-event-carousel .event-photo img { position: relative !important; z-index: 1 !important; }
#event-grid .event-photo:has(img.is-loaded)::before,
#home-event-carousel .event-photo:has(img.is-loaded)::before { display: none !important; animation: none !important; }


/* 6j: "Prenota ora" sempre nell'header, anche su mobile (piccolo, prima del menu). */
header .navbar > a.cta { display: inline-flex !important; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  header .navbar > .brand { order: 1; min-width: 0; }
  header .navbar > a.cta {
    order: 2;
    margin-left: auto !important;
    margin-right: 8px !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    font-size: .82rem !important;
    line-height: 1 !important;
    white-space: nowrap;
  }
  header .navbar > .menu-toggle { order: 3; margin-left: 0 !important; flex: 0 0 auto; }
}
@media (max-width: 370px) {
  header .navbar > .brand span { display: none !important; }
}


/* 6k: anteprima del calendario in home, su mobile: scorrimento libero che si ferma sempre su una locandina. */
@media (max-width: 900px) {
  #home-event-carousel {
    scroll-snap-type: x mandatory !important;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
  }
  #home-event-carousel > .event-card,
  #home-event-carousel .event-card.live-event-card {
    scroll-snap-align: center !important;
    scroll-snap-stop: normal !important;
  }
}

/* Assistente su mobile con tastiera aperta: suggerimenti su una riga scorrevole, piu' spazio al messaggio. */
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-header { padding: 10px 14px !important; }
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-mark { width: 32px !important; height: 32px !important; }
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-title span,
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-title small { display: none !important; }
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-messages { padding: 10px 12px !important; }
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-quick { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
#etta-ai-root .etta-ai-panel.etta-ai-compact .etta-ai-quick button { flex: 0 0 auto; white-space: nowrap; }

/* 6m: programma giorno per giorno — una tappa per riga, testo leggibile (niente colonne strette). */
body.detail-v5 .multiday-day-grid,
body.detail-v5 .multiday-day-grid.is-horizontal {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-auto-flow: row !important;
  gap: 16px !important;
  overflow: visible !important;
  scroll-snap-type: none !important;
}
body.detail-v5 .multiday-day-card {
  display: grid !important;
  grid-template-columns: 240px minmax(0, 1fr);
  grid-template-areas: "media label" "media title" "media desc" "media meta";
  grid-template-rows: auto auto 1fr auto;
  column-gap: 28px;
  align-items: start;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 22px 24px !important;
}
body.detail-v5 .multiday-day-card:not(:has(.multiday-day-image)) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "label" "title" "desc" "meta";
}
body.detail-v5 .multiday-day-image { grid-area: media; margin: 0 !important; width: 100% !important; height: auto !important; }
body.detail-v5 .multiday-day-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
body.detail-v5 .multiday-day-label { grid-area: label; justify-self: start; width: auto !important; }
body.detail-v5 .multiday-day-card h3 { grid-area: title; margin: 10px 0 8px !important; font-size: clamp(1.25rem, 2vw, 1.5rem) !important; line-height: 1.15; }
body.detail-v5 .multiday-day-description { grid-area: desc; max-width: 72ch; font-size: .97rem !important; line-height: 1.65 !important; }
body.detail-v5 .multiday-day-meta { grid-area: meta; margin-top: 12px; }
@media (max-width: 760px) {
  body.detail-v5 .multiday-day-card,
  body.detail-v5 .multiday-day-card:not(:has(.multiday-day-image)) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "media" "label" "title" "desc" "meta";
    padding: 18px !important;
  }
  body.detail-v5 .multiday-day-image { margin-bottom: 14px !important; }
}


/* 6n: "da" davanti al prezzo quando ci sono piu' tariffe adulto. */
.event-price .event-price-from { margin-right: 2px; color: var(--v5-taupe); font-size: .78em; font-weight: 600; text-transform: none; }

/* 6p: team building, foto del gruppo nella sezione escursioni private: proporzioni corrette, niente stiramenti. */
.tbv-split__media--story { align-self: start !important; height: auto !important; max-height: none !important; overflow: hidden; border-radius: 22px; }
.tbv-split__media--story img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: 640px;
  aspect-ratio: 4 / 5 !important;
  object-fit: cover !important;
  object-position: center 40%;
  border-radius: 22px;
}
@media (min-width: 901px) {
  .tbv-split__media--story { position: sticky; top: calc(var(--v5-header-h, 76px) + 70px); }
}
.tb-v5 .tbv-split__media--story .tb-photo-story-copy {
  position: absolute !important;
  inset: auto 16px 16px 16px !important;
  width: auto !important; height: auto !important; max-width: none !important;
  display: block !important;
  padding: 16px 18px !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: var(--v5-ink) !important;
  transform: none !important;
  backdrop-filter: none !important;
}
.tb-v5 .tbv-split__media--story .tb-photo-story-copy span { display: block; margin: 0 0 4px !important; color: var(--v5-copper) !important; font: 800 .72rem "Sora", sans-serif !important; letter-spacing: .12em !important; text-transform: uppercase; }
.tb-v5 .tbv-split__media--story .tb-photo-story-copy p { margin: 0 !important; color: var(--v5-night) !important; font: 600 1rem/1.45 "Sora", sans-serif !important; text-transform: none !important; letter-spacing: 0 !important; max-width: none !important; }

/* === Hero home su schermi grandi (23/11/2026) ===
   Le foto della galleria sono quadrate (max 1440px). Sopra i 1600px la hero
   a tutta larghezza le ingrandiva fino a 4x e ne mostrava solo una fascia
   (teste e volti tagliati). Qui la foto resta un riquadro nitido a destra,
   con lo sfondo sfocato della stessa foto (--hero-bg, impostato da hero-v5.js). */
@media (min-width: 1600px) {
  .preview-home .hero.hero-v5 { min-height: min(86svh, 980px); background: var(--v5-night); }
  .hero-v5::before { content: ""; position: absolute; inset: -60px; z-index: -3; background: var(--hero-bg, none) center / cover no-repeat; filter: blur(48px) saturate(1.05) brightness(.42); }
  .hero-v5__photo { left: auto; right: 0; width: min(60%, calc(min(86svh, 980px) * 1.3)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
  .hero-v5__photo img { object-position: center 35%; }
  .hero-v5::after { background: linear-gradient(90deg, rgba(20,18,17,.55) 0%, rgba(20,18,17,.25) 45%, rgba(20,18,17,0) 70%), linear-gradient(0deg, rgba(20,18,17,.55) 0%, rgba(20,18,17,0) 35%) !important; }
}
@media (min-width: 2200px) {
  .hero-v5__photo { right: auto; left: calc(50% - 60px); width: calc(min(86svh, 980px) * 1.35); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 82%, transparent 100%); }
}
