/* ========== I VIAGGI DI OSCAR — Mockup ========== */
:root {
  --brand: #1f2a8a;          /* blu del logo */
  --brand-deep: #141b5e;
  --brand-soft: #eef0fb;
  --sky: #6FA8DC;             /* azzurro cielo */
  --sky-soft: #e3eef9;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --line: #e6e6e6;
  --bg: #ffffff;
  --footer-bg: #ededed;       /* grigio più chiaro rispetto al sito attuale */
  --footer-ink: #2b2b2b;
  --max: 1240px;
  --pad: 28px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Tipografia: titoli bastoni spesso, sottotitoli/contenuti sottili */
h1, h2, h3, .display, .nav-link, .btn {
  font-family: 'Archivo Black', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* Label/heading piccole — font condensed semibold (più elegante di Archivo Black alle piccole misure) */
.footer-grid h5,
.banner-2026 .banner-eyebrow,
.card-status,
.os-item h4,
.value-card h4,
.value-card .num,
.timeline-item h4,
.timeline-item .year,
.contact-tile .label,
.form-grid label,
.status-pill,
.stat .l,
.scacchiera-row .meta,
.scacchiera-row .status,
.banner-card .ico {
  font-family: 'Barlow Condensed', 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700 !important;
}
.section-eyebrow {
  font-family: 'Inter', sans-serif !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
}
h1 { font-size: clamp(40px, 6vw, 84px); line-height: 1.02; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; margin: 0; }
h3 { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.15; margin: 0; }

p { margin: 0 0 1em 0; font-weight: 300; color: var(--ink-soft); }

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

/* ========== HEADER ========== */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.96);
  /* NOTA: rimosso backdrop-filter + will-change: transform — creavano
     un containing block che faceva collassare il drawer mobile
     (position:fixed) a 32px. L'opacità 0.96 dà già effetto traslucido. */
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow .35s ease;
}
.site-header.scrolled {
  box-shadow: 0 2px 14px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 22px var(--pad) 14px;
  transition: padding .4s cubic-bezier(.4,0,.2,1), gap .4s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled .header-inner {
  padding: 6px var(--pad);
  gap: 0;
}
.header-logo {
  cursor: pointer;
  transition: transform .35s ease, max-height .45s cubic-bezier(.4,0,.2,1), opacity .3s ease, margin .4s cubic-bezier(.4,0,.2,1);
  max-height: 100px;
  overflow: hidden;
  opacity: 1;
}
.header-logo:hover { transform: translateY(-2px) scale(1.02); }
.site-header.scrolled .header-logo {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
.header-logo img {
  height: 78px;
  width: auto;
  object-fit: contain;
  transition: height .35s ease;
}
.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.nav-link {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 10px 22px;
  cursor: pointer;
  transition: color .2s;
  background: none;
  border: 0;
}
.nav-link:hover, .nav-link.active { color: var(--brand); }
.nav-sep {
  width: 1px;
  height: 14px;
  background: #cfcfcf;
}

/* ========== HERO (page-level) ========== */
.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-color: #1a1a1a;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
}

/* Video hero — stesso comportamento di .hero-img ma con tag <video> */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.62);
  z-index: 0;
}
.hero-video > .hero-img {
  /* L'<img> fallback dentro <video> serve solo a browser senza supporto video */
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Overlay scuro sopra il video per leggibilità testi (sovrapposto al filter:brightness) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.35) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-video-wrap .hero-content { z-index: 2; }
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 1100px;
}
.hero-title {
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}
.hero-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px);
  margin-top: 18px;
  letter-spacing: 0.02em;
  color: #f1f1f1;
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}

/* Hero homepage taller */
.hero-home { height: 78vh; min-height: 540px; max-height: 720px; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: #2a6fdb;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn:hover { background: #1f5bc0; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: #2a6fdb;
  border: 2px solid #2a6fdb;
}
.btn-outline:hover { background: #2a6fdb; color: #fff; }
.btn-light {
  background: #fff;
  color: var(--brand);
}
.btn-light:hover { background: #f0f0f0; }

/* ========== SECTION SCAFFOLD ========== */
section { padding: 80px 0; }
.section-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-lead {
  font-size: 17px;
  max-width: 720px;
  color: var(--ink-soft);
}
.section-head {
  margin-bottom: 56px;
  text-align: center;
}
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ========== CARD GRID (homepage gite preview, offerte) ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  cursor: pointer;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: #ddd;
}
.card-body { padding: 18px 4px; }
.card-title {
  text-transform: uppercase;
  font-size: 17px;
  margin-bottom: 6px;
}
.card-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.card-status {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  text-transform: uppercase;
  /* default = iscrizioni aperte → verde */
  background: #16a34a;
  color: #fff;
}
.card-status.full { background: #dc2626; color: #fff; } /* completo → rosso */
.card-status.last { background: #f97316; color: #fff; } /* ultimi posti → arancione */

/* ========== BANNER 2026 ========== */
.banner-2026 {
  background: var(--brand);
  color: #fff;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.banner-2026 .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .banner-2026 .container { grid-template-columns: 1fr; }
}
.banner-2026 h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.banner-2026 p {
  color: #e7e9f7;
  font-size: 17px;
  max-width: 520px;
}
.banner-card {
  background: #fff;
  color: var(--ink);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.2);
}
.banner-card .ico {
  width: 44px; height: 44px;
  background: var(--brand-soft);
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--brand);
  font-family: 'Archivo Black', sans-serif;
}

/* ========== SCACCHIERA (gite page) ========== */
.scacchiera-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.scacchiera-row:last-child { border-bottom: 0; }
.scacchiera-row.reverse .text { order: 2; }
.scacchiera-row.reverse .img { order: 1; }
@media (max-width: 800px) {
  .scacchiera-row { grid-template-columns: 1fr; gap: 24px; }
  .scacchiera-row.reverse .text { order: 1; }
  .scacchiera-row.reverse .img { order: 2; }
}
.scacchiera-row .img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}
.scacchiera-row h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.scacchiera-row .meta {
  font-family: 'Archivo Black', sans-serif;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.scacchiera-row .partenza {
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.scacchiera-row .status {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 10px 18px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.scacchiera-row .status.open { background: #16a34a; color: #fff; } /* iscrizioni aperte → verde */
.scacchiera-row .status.full { background: #dc2626; color: #fff; } /* completo → rosso */
.scacchiera-row .status.last { background: #f97316; color: #fff; } /* ultimi posti → arancione */
.scacchiera-row .status.coming { background: var(--brand); color: #fff; } /* presto disponibile → blu brand */

/* ========== OFFERTE/SERVIZI (3 col grid) ========== */
.os-block { padding: 90px 0; position: relative; background: var(--brand-soft); }
.os-block + .os-block { border-top: 1px solid rgba(31,42,138,0.08); }
.os-block:nth-of-type(even) { background: #fff; }

.os-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(31,42,138,0.15);
}
/* Variante senza numerazione: layout single-column centrato sul testo */
.os-head.os-head--no-num {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
}
.os-head--no-num .os-head-text {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.os-head--no-num .os-title       { text-align: center; }
.os-head--no-num .section-eyebrow { text-align: center; display: block; }
.os-head--no-num .section-lead   { text-align: center; margin-left: auto !important; margin-right: auto; }
.os-head-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(64px, 8vw, 110px);
  line-height: 0.85;
  color: var(--brand);
  -webkit-text-stroke: 2px var(--brand);
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}
.os-head-text { min-width: 0; }
.os-head-text .section-eyebrow { display: block; margin-bottom: 10px; }
.os-head-count {
  font-family: 'Archivo Black', sans-serif;
  font-size: 44px;
  color: var(--brand);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}
.os-head-count span {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 6px;
  font-weight: 500;
}
@media (max-width: 800px) {
  .os-head { grid-template-columns: auto 1fr; }
  .os-head-count { display: none; }
}

.os-title {
  text-transform: uppercase;
  font-weight: 900;
  font-size: clamp(28px, 3.2vw, 44px);
  margin: 0;
  text-align: left;
  line-height: 1;
}
.os-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .os-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .os-grid { grid-template-columns: 1fr; } }
.os-item { transition: transform .35s ease; }
.os-item:hover { transform: translateY(-4px); }
.os-item-imgwrap {
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
}
.os-item-imgwrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .4s ease;
  filter: saturate(0.95);
}
.os-item:hover .os-item-imgwrap img { transform: scale(1.06); filter: saturate(1.05); }
.os-item-num {
  position: absolute;
  top: 12px; left: 12px;
  background: #fff;
  color: var(--brand);
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  line-height: 1;
}
.os-item h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}
.os-item p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}

/* Card che è anche link a brochure (PDF/JPG) */
a.os-item {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
a.os-item:hover h4 { color: var(--brand); }
.os-item--linked .os-item-imgwrap::after {
  content: "↗";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.os-item--linked:hover .os-item-imgwrap::after {
  opacity: 1;
  transform: translateY(0);
}
.os-item-imgwrap { position: relative; }

/* ===== Hero stats striscia sotto l'hero ===== */
.os-hero-stats { background: var(--brand); color: #fff; padding: 38px 0; }
.os-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 700px) { .os-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.os-stat { text-align: center; padding: 0 12px; border-left: 1px solid rgba(255,255,255,0.18); }
.os-stat:first-child { border-left: none; }
@media (max-width: 700px) { .os-stat:nth-child(3) { border-left: none; } }
.os-stat-n {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.os-stat-l {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* ===== Tour Operator ===== */
.os-operators { padding: 100px 0 110px; background: var(--brand-soft); position: relative; }
.os-op-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}
@media (max-width: 900px) { .os-op-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .os-op-grid { grid-template-columns: 1fr; } }
.os-op-card {
  background: #fff;
  padding: 18px 18px 20px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  border-bottom: 3px solid var(--brand);
}
.os-op-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,0.08); }
.os-op-logo {
  aspect-ratio: 16/9;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  padding: 14px;
}
.os-op-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.os-op-card-empty .os-op-logo { border: 1px dashed rgba(31,42,138,0.25); background: transparent; }
.os-op-placeholder {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--brand);
  text-align: center;
  text-transform: uppercase;
  opacity: 0.55;
}
.os-op-card h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0 0 6px;
  letter-spacing: 0.03em;
}
.os-op-card p { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.45; }
.os-op-note {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ========== CONTATTI ========== */
.map-wrap {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.2);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-tile {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: border-color .2s, transform .2s, background .2s;
  text-align: left;
}
.contact-tile:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  background: var(--brand-soft);
}
.contact-tile .label {
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}
/* Icone social fuori dalla grid — centrate, senza rettangolo */
.contact-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 36px;
  padding: 0;
}
.contact-social-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(31, 42, 138, 0.18);
}
.contact-social-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}
.contact-social-icon:hover {
  background: var(--brand-deep);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 20px rgba(31, 42, 138, 0.32);
}
.contact-tile .value {
  font-size: 15px;
  color: var(--ink);
  word-break: break-word;
}

/* ========== FORM ========== */
.form-wrap {
  background: #fafafa;
  padding: 64px 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  border: 1px solid var(--line);
  background: #fff;
  outline: none;
  transition: border-color .2s;
}
.form-grid input:focus, .form-grid textarea:focus {
  border-color: var(--brand);
}
.form-grid textarea { resize: vertical; min-height: 130px; }
.form-grid label {
  display: block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-success {
  margin-top: 14px;
  padding: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ========== CHI SIAMO ========== */
.chisiamo-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .chisiamo-block { grid-template-columns: 1fr; gap: 32px; }
}
.chisiamo-block > div { display: flex; flex-direction: column; justify-content: center; }
.chisiamo-block > div > p { margin: 0 0 14px 0; }
.chisiamo-block > div > p:last-child { margin-bottom: 0; }
.chisiamo-block img {
  width: 100%;
  /* Quadrato + crop dall'alto: con foto di gruppo verticali (persone in piedi)
     evita di tagliare le teste mantenendo un layout pulito a 2 colonne. */
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .5s ease, box-shadow .5s ease;
  filter: saturate(0.95);
  cursor: pointer;
}
.chisiamo-block .reveal-right {
  position: relative;
  overflow: hidden;
}
.chisiamo-block img:hover {
  transform: scale(1.04);
  filter: saturate(1.1);
  box-shadow: 0 24px 48px rgba(31,42,138,0.18);
}
/* photo frame accent that grows on hover */
.chisiamo-block .reveal-right::before,
.chisiamo-block .reveal-right::after {
  content: "";
  position: absolute;
  width: 0; height: 0;
  border: 0 solid var(--sky);
  pointer-events: none;
  transition: width .5s ease, height .5s ease, border-width .5s ease;
  z-index: 2;
}
.chisiamo-block .reveal-right::before { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.chisiamo-block .reveal-right::after  { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }
.chisiamo-block .reveal-right:hover::before,
.chisiamo-block .reveal-right:hover::after {
  width: 56px; height: 56px;
}

/* Section heads centered + consistent rhythm on chi-siamo subsections */
.chi-section { padding: 90px 0; }
.chi-section .section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.chi-section .section-head .section-lead { margin-left: auto; margin-right: auto; }

/* Values grid centered */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 0;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  border-top: 3px solid var(--brand);
  padding: 24px 0 0;
  text-align: left;
}
.value-card .num { margin-bottom: 12px; font-size: 13px; letter-spacing: 0.22em; }
.value-card h4 { margin: 0 0 12px; font-size: 18px; }
.value-card p { font-size: 14px; margin: 0; line-height: 1.6; }

/* Timeline centered column with consistent left rail */
/* Timeline — modern alternating layout */
.timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, var(--brand) 8%, var(--brand) 92%, transparent 100%);
}
.timeline::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, var(--sky), transparent);
  animation: timelinePulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes timelinePulse {
  0%   { top: -10%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 48px 0 0;
  margin-bottom: 56px;
  text-align: right;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 0 48px;
  text-align: left;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  top: 22px;
  right: -9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 5px var(--brand-soft), 0 0 0 6px rgba(31,42,138,0.10);
  transition: transform .35s ease, background .35s ease, box-shadow .45s ease;
  z-index: 2;
}
.timeline-item:nth-child(even)::before {
  right: auto;
  left: -9px;
}
.timeline-item:hover { transform: translateY(-4px); }
.timeline-item:hover::before {
  transform: scale(1.35);
  background: var(--sky);
  box-shadow: 0 0 0 5px var(--brand-soft), 0 0 0 12px rgba(111,168,220,0.25);
}
.timeline-item::after {
  content: "";
  position: absolute;
  top: 30px;
  right: 0;
  height: 2px; width: 0;
  background: var(--sky);
  transition: width .4s ease;
}
.timeline-item:nth-child(even)::after {
  right: auto;
  left: 0;
}
.timeline-item:hover::after { width: 36px; }

.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 24px;
  display: inline-block;
  text-align: left;
  max-width: 100%;
  transition: border-color .35s ease, box-shadow .35s ease;
}
.timeline-item:hover .timeline-card {
  border-color: var(--brand);
  box-shadow: 0 16px 36px rgba(31,42,138,0.14);
}
.timeline-card .year-badge {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  margin-bottom: 12px;
  transition: background .35s ease, color .35s ease;
}
.timeline-item:hover .timeline-card .year-badge { background: var(--sky); color: var(--brand-deep); }
.timeline-card h4 { font-size: 18px; margin: 0 0 8px; line-height: 1.2; text-transform: uppercase; }
.timeline-card p { font-size: 14px; line-height: 1.6; margin: 0; color: var(--ink-soft); }

@media (max-width: 720px) {
  .timeline::before, .timeline::after { left: 16px; transform: none; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 0 48px;
    text-align: left;
  }
  .timeline-item::before,
  .timeline-item:nth-child(even)::before {
    left: 7px;
    right: auto;
  }
  .timeline-item::after,
  .timeline-item:nth-child(even)::after {
    left: 24px;
    right: auto;
  }
}

/* Timeline section background decorations */
.timeline-section {
  position: relative;
  overflow: hidden;
}
.timeline-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  color: var(--brand);
}
.timeline-section .container {
  position: relative;
  z-index: 1;
}
.timeline-section { background: var(--brand-soft); }
/* 7 decorazioni — una per ogni vuoto laterale (opposto a una card) + 2 in alto/basso.
   Card: 1995-sx, 2005-dx, 2015-sx, 2020-dx, 2026-sx (5 card distribuite tra ~22% e ~85%).
   Tutto ai bordi estremi (3-7%) per restare BEN OLTRE la timeline 920px centrata. */
.tdec { position: absolute; height: auto; color: var(--brand); pointer-events: none; }
/* Sopra la sezione, dx — sopra la prima card 1995, niente testo a dx in cima */
.tdec-top    { width: 110px; top: 60px;  right: 4%; animation: tdSpin 90s linear infinite; }
/* Vuoto dx opposto a card 1995 (sx) */
.tdec-r1     { width: 95px;  top: 24%;   right: 5%; transform: rotate(-12deg); }
/* Vuoto sx opposto a card 2005 (dx) */
.tdec-l1     { width: 90px;  top: 38%;   left: 5%;  transform: rotate(8deg); }
/* Vuoto dx opposto a card 2015 (sx) */
.tdec-r2     { width: 95px;  top: 52%;   right: 4%; animation: tdSpin 60s linear infinite; }
/* Vuoto sx opposto a card 2020 (dx) */
.tdec-l2     { width: 88px;  top: 66%;   left: 5%;  transform: rotate(-6deg); }
/* Vuoto dx opposto a card 2026 (sx) */
.tdec-r3     { width: 95px;  top: 80%;   right: 5%; transform: rotate(10deg); }
/* Sotto la sezione, sx — sotto l'ultima card 2026, libero */
.tdec-bottom { width: 100px; bottom: 60px; left: 4%; animation: tdSpin 110s linear infinite reverse; }

@keyframes tdSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .tdec-r1, .tdec-l1, .tdec-r2, .tdec-l2, .tdec-r3 { display: none; }
}
@media (max-width: 900px) {
  .tdec { display: none; }
}

@media (max-width: 900px) {
  .tbg { display: none; }
  .tbg-waves { opacity: 0.6; }
}
.timeline-deco {
  position: absolute;
  top: 14px;
  width: 110px;
  height: 90px;
  color: var(--brand);
  opacity: 0.18;
  pointer-events: none;
  transition: opacity .5s ease, transform .5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* odd items (1,3,5) have card on the LEFT — deco goes on the RIGHT (past the rail) */
.timeline-item:nth-child(odd) .timeline-deco {
  left: calc(100% + 36px);
}
/* even items (2,4) have card on the RIGHT — deco goes on the LEFT (past the rail) */
.timeline-item:nth-child(even) .timeline-deco {
  right: calc(100% + 36px);
}
.timeline-item:hover .timeline-deco {
  opacity: 0.55;
  transform: scale(1.06);
}
.timeline-deco .td-svg { width: 100%; height: 100%; display: block; }
.td-spin { animation: tdSpin 28s linear infinite; transform-origin: center; }
.td-spin-slow { animation: tdSpin 50s linear infinite; transform-origin: center; }
.td-float { animation: tdFloat 5s ease-in-out infinite; transform-origin: center; }
.td-tilt { animation: tdTilt 6s ease-in-out infinite; transform-origin: center; }
@keyframes tdSpin { to { transform: rotate(360deg); } }
@keyframes tdFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes tdTilt {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
@media (max-width: 1080px) {
  .timeline-deco { display: none; }
}

/* Gallery: cleaner uniform 4-column */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 500px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-grid .gi {
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1/1;
}
.gallery-grid .gi img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery-grid .gi:hover img { transform: scale(1.08); }
.gallery-grid .gi-tall { display: none; } /* not used in new layout */

/* ========== VALORI SECTION ========== */
.valori-section { background: #fff; }
.valori-content {
  padding: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.valori-content .section-head { margin-bottom: 56px; }

.valori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}
@media (max-width: 900px) { .valori-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .valori-grid { grid-template-columns: 1fr; } }
.valori-item {
  display: block;
  border-top: 3px solid var(--brand);
  padding-top: 22px;
}
.valori-item .num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  color: var(--brand);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
  line-height: 1;
}
.valori-item h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.2;
}
.valori-item p {
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
  color: #555;
}

/* ========== HOMEPAGE GITE PREVIEW ========== */
.gite-preview {
  background: #fff;
}
.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 64px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h5 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: var(--brand);
}
.footer-grid p, .footer-grid li {
  font-size: 14px;
  color: #444;
  margin: 0 0 8px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { cursor: pointer; }
.footer-grid li:hover { color: var(--brand); }
.footer-logo img { height: 64px; margin-bottom: 14px; }
.socials {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.socials a {
  width: 38px; height: 38px;
  background: var(--brand);
  color: #fff;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}
.socials a:hover { background: var(--brand-deep); transform: translateY(-2px); }
.socials a svg {
  width: 18px;
  height: 18px;
  display: block;
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid #d6d6d6;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #6c6c6c;
  flex-wrap: wrap;
  gap: 8px;
}

/* tiny utilities */
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 14px; }

/* page transitions */
.page-fade {
  animation: fadein .35s ease;
}
@keyframes fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left  { transform: translateX(-50px); }
.reveal-left.in { transform: translateX(0); }
.reveal-right { transform: translateX(50px); }
.reveal-right.in { transform: translateX(0); }
.reveal-zoom  { transform: scale(.94); }
.reveal-zoom.in { transform: scale(1); }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
.reveal-d4 { transition-delay: .32s; }
.reveal-d5 { transition-delay: .40s; }

/* hero parallax inner */
.hero-img.parallax { will-change: transform; transition: transform .1s linear; }

/* ========== BG DECORATIONS — wavy lines + globe-inspired circles ========== */
.deco {
  display: none !important;
}

/* ========== GLOBAL HOVER + SCROLL MICRO-INTERACTIONS ========== */
.btn { transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(31,42,138,0.18); }
.btn:active { transform: translateY(0); }

.card, .scacchiera-row .img img, .gi img, .chisiamo-block img,
.contact-tile, .os-item, .valori-item, .timeline-item, .footer-grid img {
  transition: transform .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }
.contact-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(31,42,138,0.10); }
.os-item:hover { transform: translateY(-3px); }
.scacchiera-row:hover .img img { transform: scale(1.04); }
.scacchiera-row .img { overflow: hidden; }
.scacchiera-row .img img { transition: transform .6s ease; }

.nav-link { transition: color .2s ease, transform .2s ease; }
.nav-link:hover { transform: translateY(-1px); }

.socials a { transition: background .25s ease, color .25s ease, transform .25s ease; }
.socials a:hover { transform: translateY(-2px) scale(1.05); }

a, .footer-grid li { transition: color .2s ease, transform .2s ease; }
.footer-grid li:hover { transform: translateX(3px); }

img { transition: transform .4s ease; }

/* ========== GITE PAGE EXTRA SECTIONS ========== */
.dest-section { padding: 90px 0; background: var(--brand-soft); }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .dest-grid { grid-template-columns: 1fr; } }
.dest-card {
  background: #fff;
  padding: 32px 24px;
  text-align: left;
  border-top: 3px solid var(--brand);
  transition: transform .3s ease, box-shadow .3s ease;
}
.dest-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,0.08); }
.dest-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 48px;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 14px;
}
.dest-area {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}
.dest-desc { font-size: 14px; color: #555; margin: 0; line-height: 1.5; }

.incluso-section { padding: 90px 0; }
.incluso-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-top: 40px;
}
@media (max-width: 900px) { .incluso-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .incluso-grid { grid-template-columns: 1fr; } }
.incluso-item { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.incluso-bullet {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
  border-radius: 50%;
  font-size: 14px;
}
.incluso-item h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  margin: 0 0 6px;
}
.incluso-item p { margin: 0; font-size: 14px; line-height: 1.6; color: #555; }

.faq-section { padding: 90px 0; background: var(--brand-soft); }
.faq-list { max-width: 820px; margin: 40px auto 0; }
.faq-item {
  background: #fff;
  border-left: 3px solid var(--brand);
  margin-bottom: 12px;
  padding: 0;
  transition: box-shadow .25s ease;
}
.faq-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.05); }
.faq-item summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 24px 22px; margin: 0; color: #555; line-height: 1.6; font-size: 14.5px; }

.gite-cta { padding: 90px 0; background: var(--brand); }
.btn-light {
  background: #fff;
  color: var(--brand);
  border: 0;
}
.btn-light:hover { background: rgba(255,255,255,0.92); }

/* ========== CALENDARIO 2026 (gite) ========== */
.cal-section { padding: 90px 0; background: var(--brand-soft); position: relative; }
.cal-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
  position: relative;
}
@media (max-width: 1100px) { .cal-track { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .cal-track { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px)  { .cal-track { grid-template-columns: 1fr; } }
.cal-card {
  background: #fff;
  padding: 16px 16px 40px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--brand);
  transition: transform .35s ease, box-shadow .35s ease, opacity .35s ease;
}
.cal-card.cal-past   { opacity: 0.4; }
.cal-card.cal-empty  { opacity: 0.45; background: transparent; border-bottom-color: rgba(31,42,138,0.25); }
.cal-card.cal-empty .cal-month { color: rgba(31,42,138,0.55); }
.cal-empty-note { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; letter-spacing: .2em; color: rgba(31,42,138,0.45); margin-top: 6px; }
.cal-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--cal-color, var(--brand));
}
.cal-card.cal-empty::before { background: rgba(31,42,138,0.2); }
.cal-card:hover {
  transform: translateY(-4px) rotate(-0.3deg);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}
.cal-card.cal-past:hover  { opacity: 0.7; }
.cal-card.cal-empty:hover { opacity: 0.7; }
.cal-month {
  font-family: 'Archivo Black', sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  color: var(--cal-color, var(--brand));
  line-height: 1;
  margin-bottom: 4px;
}
.cal-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 10px;
}
.cal-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: var(--ink);
}
.cal-tag {
  position: absolute;
  bottom: 14px; left: 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cal-color, var(--brand));
  font-weight: 700;
}
.cal-primary   { --cal-color: var(--brand); }
.cal-secondary { --cal-color: var(--sky); }

/* ========== HOMEPAGE — INSPIRATION MOSAIC ========== */
.inspire-section { padding: 90px 0; }
.inspire-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
.inspire-tile {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--brand-soft);
}
.inspire-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1), filter .4s ease;
  filter: saturate(0.92);
}
.inspire-tile:hover img { transform: scale(1.08); filter: saturate(1.05); }
.inspire-tall { grid-row: span 2; }
.inspire-wide { grid-column: span 2; }
.inspire-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(20,27,94,0.78) 0%, rgba(20,27,94,0.20) 50%, rgba(20,27,94,0) 100%);
  color: #fff;
  transition: background .35s ease;
}
.inspire-tile:hover .inspire-overlay {
  background: linear-gradient(to top, rgba(20,27,94,0.88) 0%, rgba(20,27,94,0.35) 60%, rgba(20,27,94,0.05) 100%);
}
.inspire-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 6px;
  font-weight: 700;
}
.inspire-overlay h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  transform: translateY(0);
  transition: transform .35s ease;
}
.inspire-tile:hover .inspire-overlay h3 { transform: translateY(-3px); }

@media (max-width: 900px) {
  .inspire-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .inspire-wide { grid-column: span 2; }
  .inspire-tall { grid-row: span 1; }
}
@media (max-width: 540px) {
  .inspire-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .inspire-wide { grid-column: span 1; }
}

/* ========== HOMEPAGE — SCEGLI LA TUA PROSSIMA META (3 card con testo + CTA su foto) ========== */
.prossima-section {
  position: relative;
  padding: 90px 0;
}
/* Grid asimmetrico: hero card in alto a tutta larghezza, 2 card secondarie sotto. */
.prossima-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-top: 40px;
}
.prossima-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: 420px;
  background: var(--brand-soft);
  text-decoration: none;
  color: #fff;
  border-radius: 4px;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s ease;
}
/* Card secondarie (NON featured): orizzontali allineate alla hero */
.prossima-card:not(.prossima-card--featured) {
  aspect-ratio: 16 / 9;
  min-height: 280px;
  width: 100%;
}

/* === Card in evidenza: HERO full-width in alto, banner brochure-style === */
.prossima-card--featured {
  grid-column: 1 / -1;          /* prende tutta la riga */
  aspect-ratio: 21 / 9;         /* orizzontale cinematografica */
  min-height: 380px;
  outline: 3px solid var(--brand);
  box-shadow: 0 16px 48px rgba(31, 42, 138, 0.32);
  z-index: 2;
  background: #eef0fb;          /* fallback se il banner ha trasparenza */
}
.prossima-card--featured:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(31, 42, 138, 0.42);
}
/* Banner intero senza crop + leggera desaturazione per leggibilità testi sopra */
.prossima-card--featured img {
  object-fit: contain;
  filter: none;
}
.prossima-card--featured:hover img {
  transform: none;
  filter: none;
}
/* Overlay scuro leggero solo in basso a sinistra per area testi */
.prossima-card--featured .prossima-overlay {
  background: linear-gradient(110deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.42) 35%, rgba(0,0,0,0) 60%);
  padding: 36px 38px;
}
/* Titolo + descrizione GRANDI nella card hero */
.prossima-card--featured .prossima-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  max-width: 520px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.prossima-card--featured .prossima-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.prossima-card--featured .prossima-meta {
  font-size: 13px;
  letter-spacing: 0.28em;
}
.prossima-card--featured .prossima-cta {
  font-size: 15px;
}

/* Badge "In evidenza" */
.prossima-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 3;
  background: var(--brand);
  color: #fff;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(31, 42, 138, 0.4);
  pointer-events: none;
}

/* Tablet: hero comunque full-width, secondarie 2-col */
@media (max-width: 900px) {
  .prossima-card--featured { aspect-ratio: 16 / 9; min-height: 320px; }
}
/* Mobile: tutto stacked verticale */
@media (max-width: 580px) {
  .prossima-grid { grid-template-columns: 1fr; gap: 16px; }
  .prossima-card--featured {
    grid-column: 1 / -1;
    aspect-ratio: 3 / 4;
    min-height: 420px;
  }
  .prossima-card--featured:hover { transform: translateY(-3px); }
}
.prossima-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.4,0,.2,1), filter .4s ease;
  filter: saturate(0.92);
}
.prossima-card:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}
.prossima-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  background: linear-gradient(to top,
    rgba(20,27,94,0.95) 0%,
    rgba(20,27,94,0.75) 35%,
    rgba(20,27,94,0.15) 70%,
    rgba(20,27,94,0) 100%);
  transition: background .35s ease;
}
.prossima-card:hover .prossima-overlay {
  background: linear-gradient(to top,
    rgba(20,27,94,0.97) 0%,
    rgba(20,27,94,0.85) 45%,
    rgba(20,27,94,0.3) 80%,
    rgba(20,27,94,0.05) 100%);
}
.prossima-meta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
  font-weight: 600;
}
.prossima-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #fff;
  transition: transform .35s ease;
}
.prossima-card:hover .prossima-title {
  transform: translateY(-3px);
}
.prossima-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.88);
  margin: 0 0 18px;
}
.prossima-cta {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.6);
  align-self: flex-start;
  transition: border-color .25s ease, transform .25s ease;
}
.prossima-card:hover .prossima-cta {
  border-bottom-color: #fff;
  transform: translateX(4px);
}
/* I breakpoint .prossima-grid sono ora gestiti sopra (hero layout asimmetrico) */

/* ========== HOMEPAGE — NUMERI ========== */
.numeri-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #fff;
}
.numeri-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: numeriZoom 22s ease-in-out infinite alternate;
}
.numeri-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,42,138,0.92) 0%, rgba(20,27,94,0.88) 100%);
}
.numeri-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}
@keyframes numeriZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

.numeri-orbits {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.numeri-orbits .orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111,168,220,0.22);
  display: block;
}
.orbit-1 {
  width: 480px; height: 480px;
  top: -160px; left: -120px;
  animation: orbitFloat 14s ease-in-out infinite;
}
.orbit-2 {
  width: 320px; height: 320px;
  bottom: -100px; right: -60px;
  border-color: rgba(111,168,220,0.30);
  animation: orbitFloat 18s ease-in-out infinite reverse;
}
.orbit-3 {
  width: 180px; height: 180px;
  top: 20%; right: 12%;
  border-style: dashed;
  border-color: rgba(111,168,220,0.18);
  animation: orbitSpin 30s linear infinite;
}
@keyframes orbitFloat {
  0%,100% { transform: translate(0,0); }
  50%     { transform: translate(20px,-20px); }
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.numeri-content { position: relative; z-index: 1; }
.numeri-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 800px) { .numeri-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; } }
@media (max-width: 440px) { .numeri-grid { grid-template-columns: 1fr; } }
.numeri-item {
  text-align: center;
  padding: 24px 12px;
  border-top: 1px solid rgba(255,255,255,0.10);
  border-bottom: 1px solid rgba(255,255,255,0.10);
  position: relative;
  transition: transform .4s cubic-bezier(.4,0,.2,1), background .35s ease;
}
.numeri-item::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width .5s cubic-bezier(.4,0,.2,1), left .5s cubic-bezier(.4,0,.2,1);
}
.numeri-item:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.04);
}
.numeri-item:hover::before {
  width: 60%;
  left: 20%;
}
.numeri-num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  color: var(--sky);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  display: inline-block;
  transition: transform .35s ease, text-shadow .35s ease;
}
.numeri-item:hover .numeri-num {
  transform: scale(1.08);
  text-shadow: 0 0 28px rgba(111,168,220,0.45);
}
.numeri-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.numeri-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
}

/* concentric circles — globe motif from logo */
.deco-circle {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(31,42,138,0.16);
}
.deco-circle::before,
.deco-circle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(31,42,138,0.12);
  inset: 18%;
}
.deco-circle::after { inset: 36%; border-color: rgba(31,42,138,0.20); }
.deco-circle.dashed { border-style: dashed; }

/* meridian curves — soft elliptical "globe slices" */
.deco-lines {
  width: 320px; height: 320px;
  background:
    radial-gradient(ellipse 50% 100% at 50% 50%, transparent 49%, rgba(31,42,138,0.18) 49.5%, rgba(31,42,138,0.18) 50.5%, transparent 51%),
    radial-gradient(ellipse 30% 100% at 50% 50%, transparent 49%, rgba(31,42,138,0.14) 49.5%, rgba(31,42,138,0.14) 50.5%, transparent 51%),
    radial-gradient(ellipse 80% 100% at 50% 50%, transparent 49%, rgba(31,42,138,0.10) 49.5%, rgba(31,42,138,0.10) 50.5%, transparent 51%);
  border-radius: 50%;
  border: 1px solid rgba(31,42,138,0.14);
}

/* wavy line — modern, soft motion */
.deco-dot-grid {
  width: 380px; height: 80px;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 380 80' fill='none' stroke='%231f2a8a' stroke-opacity='0.22' stroke-width='1.5'><path d='M0,40 Q47.5,5 95,40 T190,40 T285,40 T380,40'/><path d='M0,55 Q47.5,20 95,55 T190,55 T285,55 T380,55' stroke-opacity='0.14'/><path d='M0,25 Q47.5,-10 95,25 T190,25 T285,25 T380,25' stroke-opacity='0.10'/></svg>") no-repeat center/contain;
}

/* soft radial glow */
.deco-blob {
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31,42,138,0.08) 0%, rgba(31,42,138,0) 70%);
}

section { position: relative; overflow: hidden; }
section .container { position: relative; z-index: 2; }

/* full-bleed banner without card */
.banner-2026 {
  background: var(--brand);
  color: #fff;
  padding: 0;
  overflow: hidden;
}
.banner-2026 .banner-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 460px;
  align-items: center;
}
@media (max-width: 800px) {
  .banner-2026 .banner-inner { grid-template-columns: 1fr; }
}
.banner-2026 .banner-text {
  padding: 80px clamp(28px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.banner-2026 .banner-img {
  position: relative;
  padding: 60px clamp(28px, 5vw, 70px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-2026 .banner-img img {
  width: 100%;
  max-width: 460px;
  height: 280px;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  transition: transform .8s ease;
}
.banner-2026:hover .banner-img img { transform: translateY(-6px); }
.banner-2026 h2 {
  font-size: clamp(32px, 4vw, 56px);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.banner-2026 p {
  color: #e7e9f7;
  font-size: 17px;
  max-width: 520px;
}
.banner-2026 .banner-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #b8bdf0;
  margin-bottom: 18px;
}
.banner-2026 .pdf-row {
  display: flex; gap: 14px; flex-wrap: wrap; margin-top: 18px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
  padding: 60px clamp(24px, 4vw, 60px);
  background: var(--brand);
  color: #fff;
  align-items: center;
  justify-items: center;
}
@media (max-width: 700px) { .stats-row { grid-template-columns: repeat(2, 1fr); padding: 50px 24px; } }
.stat { width: 100%; }
.stat .n {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
}
.stat .l {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c5cbf3;
  margin-top: 10px;
}

.testimonial {
  background: var(--brand-soft);
  padding: 64px 0;
  text-align: center;
}
/* Testimonial grid — specificità alta + !important per battere eventuali stili plugin
   che potrebbero forzare uppercase/font-size grossi sui <blockquote>. */
.testimonial-grid,
.testimonial .testimonial-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  max-width: none !important;
  margin: 0 auto !important;
}
blockquote.testimonial-card,
.testimonial blockquote.testimonial-card,
.testimonial-grid > blockquote.testimonial-card {
  background: #fff !important;
  border-radius: 8px !important;
  padding: 36px 28px !important;
  margin: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-align: left !important;
  color: var(--ink) !important;
  position: relative !important;
  box-shadow: 0 4px 18px rgba(31, 42, 138, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  quotes: none !important;
}
blockquote.testimonial-card::before {
  content: "\201C" !important;
  display: block !important;
  font-family: 'Archivo Black', sans-serif !important;
  font-size: 56px !important;
  line-height: 0.6 !important;
  color: var(--brand) !important;
  margin-bottom: 14px !important;
  text-transform: none !important;
}
blockquote.testimonial-card::after { content: none !important; }
blockquote.testimonial-card cite {
  display: block !important;
  margin-top: 22px !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--line) !important;
  font-family: 'Archivo Black', sans-serif !important;
  font-style: normal !important;
  font-size: 12px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--brand) !important;
}
/* Stack solo su mobile vero (< 640px). Tablet e desktop restano 3 colonne. */
@media (max-width: 640px) {
  .testimonial-grid,
  .testimonial .testimonial-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    max-width: 680px !important;
  }
}

/* ========== STATUS PILL (no btn) ========== */
.status-pill {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  padding: 10px 18px;
  text-transform: uppercase;
  background: var(--brand);
  color: #fff;
}

/* ========== IUBENDA COOKIE BANNER — BRAND OVERRIDE ========== */
#iubenda-cs-banner .iubenda-cs-container,
#iubenda-cs-banner .iubenda-cs-rationale {
  background: #ffffff !important;
  color: #1a1a1a !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(20, 27, 94, 0.25) !important;
}
#iubenda-cs-banner .iub-cs-rationale-text,
#iubenda-cs-banner .iubenda-cs-rationale,
#iubenda-cs-banner h3,
#iubenda-cs-banner p,
#iubenda-cs-banner a:not(.iubenda-cs-btn) {
  color: #1a1a1a !important;
}
#iubenda-cs-banner a:not(.iubenda-cs-btn) {
  color: #1f2a8a !important;
  text-decoration: underline;
}
/* Pulsante "Accetta" → brand navy (specificity-boosted per battere defaults Iubenda) */
#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-opt-group button.iubenda-cs-accept-btn,
#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-opt-group button.iubenda-cs-btn-primary,
#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn,
#iubenda-cs-banner .iubenda-cs-accept-btn,
body #iubenda-cs-banner .iubenda-cs-btn-primary {
  background-color: #1f2a8a !important;
  background: #1f2a8a !important;
  color: #ffffff !important;
  border: none !important;
}
#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-opt-group button.iubenda-cs-accept-btn:hover,
#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn:hover {
  background-color: #141b5e !important;
}
/* Pulsanti "Rifiuta" / "Personalizza" → outlined navy */
#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-opt-group button.iubenda-cs-reject-btn,
#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn,
#iubenda-cs-banner .iubenda-cs-customize-btn,
body #iubenda-cs-banner button.iubenda-cs-customize-btn {
  background-color: transparent !important;
  background: transparent !important;
  color: #1f2a8a !important;
  border: 1px solid #1f2a8a !important;
}
#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn:hover,
#iubenda-cs-banner .iubenda-cs-customize-btn:hover {
  background-color: #eef0fb !important;
}
/* Modal preferences (quando clicchi "Scopri di più e personalizza") */
.iubenda-tp-btn[data-tp-event] {
  background: #1f2a8a !important;
  color: #fff !important;
}

/* contact tile decoration */
.contact-tile { position: relative; overflow: hidden; }
.contact-tile::after {
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(31,42,138,0.05);
  transition: transform .3s ease;
}
.contact-tile:hover::after { transform: scale(1.6); }

/* form decoration */
.form-wrap { position: relative; overflow: hidden; }

/* ===== Extra micro-interactions sito-wide ===== */

/* Hover lift su cont-orari + cont-whatsapp già esiste — aggiungo entrata animata icona */
.cont-orari { transition: transform .35s ease, box-shadow .35s ease; }
.cont-orari:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(31,42,138,0.10); }
.cont-orari-list li { transition: padding .25s ease, color .25s ease; }
.cont-orari-list li:hover { padding-left: 8px; }
.cont-orari-list li:hover strong { color: var(--ink); }
.cont-wa-icon { transition: transform .4s ease; }
.cont-whatsapp:hover .cont-wa-icon { transform: rotate(-8deg) scale(1.08); }
.cont-wa-cta { transition: letter-spacing .3s ease; }
.cont-whatsapp:hover .cont-wa-cta { letter-spacing: 0.14em; }

/* Link nav: underline animata */
.nav a, .footer-grid a { position: relative; transition: color .25s ease; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .35s ease;
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left center; }

/* Card image: leggero zoom on hover, contenuto nel box */
.card { overflow: hidden; }
.card .card-img-wrap, .card > .card-img { overflow: hidden; }
.card .card-img { transition: transform .5s ease; display: block; }
.card:hover .card-img { transform: scale(1.04); }

/* Inspire tile: parallax-like overlay on hover */
.inspire-tile img { transition: transform .6s ease; }
.inspire-tile:hover img { transform: scale(1.06); }
.inspire-overlay { transition: background .35s ease; }

/* Timeline cards: tilt sutile */
.timeline-card { transition: transform .35s ease, box-shadow .35s ease; }
.timeline-card:hover { transform: translateY(-3px) rotate(-0.4deg); box-shadow: 0 18px 38px rgba(31,42,138,0.14); }

/* Numeri: scale on hover */
.numeri-item { transition: transform .35s ease; }
.numeri-item:hover { transform: translateY(-4px) scale(1.02); }

/* Form fields focus glow */
.form-grid input, .form-grid textarea, .form-grid select {
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  box-shadow: 0 0 0 4px rgba(31,42,138,0.10);
}

/* Footer images zoom */
.footer-grid img { transition: transform .4s ease, opacity .25s ease; }
.footer-grid img:hover { transform: scale(1.03); opacity: 1; }

/* Scroll progress bar in alto */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: var(--sp, 0%);
  background: linear-gradient(90deg, var(--brand), #4a5fd6);
  z-index: 999;
  transition: width .08s linear;
}

/* Parallax helper class — il JS aggiorna --py */
.parallax-y { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Section transitions: fade-in più morbido per qualunque section */
section { animation: sectionFade .9s ease both; }
@keyframes sectionFade {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

/* Hover su map-wrap */
.map-wrap { transition: filter .35s ease, transform .4s ease; }
.map-wrap:hover { filter: saturate(1.1); }

/* Chi siamo gallery zoom on hover (se non già) */
.gi { overflow: hidden; }
.gi img { transition: transform .55s ease; }
.gi:hover img { transform: scale(1.08); }

/* Logo footer pulse */
.footer-logo { transition: transform .35s ease; }
.footer-logo:hover { transform: scale(1.04); }

/* ===== Contatti — orari + WhatsApp ===== */
.cont-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 800px) { .cont-extra-grid { grid-template-columns: 1fr; } }

.cont-orari {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 32px 28px;
  position: relative;
}
.cont-orari .section-eyebrow { display: block; margin-bottom: 8px; }
.cont-orari-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.15;
}
.cont-orari-list {
  list-style: none;
  padding: 0; margin: 0 0 18px;
}
.cont-orari-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(31,42,138,0.18);
  font-size: 14px;
}
.cont-orari-list li:last-child { border-bottom: none; }
.cont-orari-list li span {
  color: var(--ink-soft);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}
.cont-orari-list li strong {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.cont-orari-note {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cont-whatsapp {
  background: #25D366;
  color: #fff;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.cont-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(37,211,102,0.35);
}
.cont-whatsapp::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cont-wa-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.cont-wa-body { position: relative; z-index: 1; }
.cont-wa-eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
}
.cont-wa-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  line-height: 1.15;
}
.cont-whatsapp p {
  color: rgba(255,255,255,0.95);
  font-size: 14px;
  margin: 0 0 14px;
  line-height: 1.5;
  font-weight: 400;
}
.cont-wa-cta {
  display: inline-block;
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
 * CONTATTI — Sezione COMMUNITY (Rimani aggiornato su WhatsApp)
 * Coerente con palette e font del brand: --brand, --brand-deep, --sky,
 * Archivo Black, Barlow Condensed. Stesso linguaggio visivo delle altre sezioni.
 * ============================================================ */
.vo-community-section {
  position: relative;
  background: var(--brand-deep);
  color: #fff;
  padding: 100px 0 110px;
  overflow: hidden;
}
.vo-community-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 6% 12%, rgba(255,255,255,0.05) 0 220px, transparent 260px),
    radial-gradient(circle at 94% 88%, rgba(255,255,255,0.05) 0 220px, transparent 260px);
  pointer-events: none;
}
.vo-community-container {
  position: relative;
  text-align: center;
  z-index: 1;
}
.vo-community-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
  color: var(--sky);
}
.vo-community-h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 64px;
  color: #fff;
}
.vo-community-card {
  background: #fff;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 56px 48px;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.vo-community-icon {
  width: 64px;
  height: 64px;
  background: #25d366; /* verde WhatsApp ufficiale */
  color: #fff;
  border-radius: 50%;
  margin: -88px auto 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37,211,102,0.35);
  line-height: 0; /* elimina spazio inline del wrapper SVG */
}
.vo-community-icon svg {
  display: block;
}
.vo-community-card-title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 2.6vw, 32px);
  text-transform: uppercase;
  margin: 0 0 22px;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--brand-deep);
}
.vo-community-desc {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 28px;
  font-weight: 300;
}
.vo-community-number {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  color: var(--brand-deep);
}
.vo-community-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 38px;
  background: #25d366; /* verde WhatsApp ufficiale */
  color: #fff;
  text-decoration: none;
  font-family: 'Archivo Black', sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.vo-community-cta:hover {
  background: #1ebe5d; /* verde WhatsApp scuro */
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,211,102,0.35);
}
.vo-community-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(31,42,138,0.12);
  text-align: left;
}
.vo-community-step h4 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 6px 0 8px;
}
.vo-community-step p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
  font-weight: 300;
}
.vo-step-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .vo-community-section { padding: 70px 0 80px; }
  .vo-community-card { padding: 44px 28px 36px; }
  .vo-community-steps { grid-template-columns: 1fr; gap: 20px; }
}

/* Orari versione centrata (sostituisce ex layout 2 colonne con whatsapp box) */
.cont-orari--centered {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.cont-orari--centered .cont-orari-list li {
  justify-content: center;
  gap: 18px;
}

/* Form WPForms (homepage + contatti) — centrato e limitato in larghezza */
.vo-mailto-form {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.vo-mailto-form .wpforms-container { max-width: 100%; }
.vo-mailto-form .wpforms-submit-container { text-align: center; }

/* Form WPForms — forza tutti i campi a width: 100% del container,
   in modo che Email, Textarea, ecc. siano allineati alla stessa larghezza.
   Senza questo, WPForms applica size diverse (medium/large) e i bordi non combaciano. */
.vo-mailto-form input[type="text"],
.vo-mailto-form input[type="email"],
.vo-mailto-form input[type="tel"],
.vo-mailto-form input[type="url"],
.vo-mailto-form input[type="number"],
.vo-mailto-form textarea,
.vo-mailto-form select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
.vo-mailto-form .wpforms-field { width: 100%; box-sizing: border-box; }

/* ============================================================
 * MOBILE RESPONSIVE — refinements globali per ≤768px (smartphone/tablet)
 * Tutte le grid sono già responsive nel CSS sopra; qui riduciamo paddings,
 * font sizes display, sticky header e regoliamo dettagli (mappa, form,
 * community card, footer).
 * ============================================================ */
@media (max-width: 768px) {
  /* Container padding più compatto */
  :root { --pad: 18px; }

  /* ---- Header / nav ---- */
  .header-inner { padding: 12px var(--pad) 8px; gap: 10px; }
  .header-logo img { height: 54px; }
  .header-nav { gap: 4px; }
  .nav-link { padding: 6px 9px; font-size: 11px; letter-spacing: 0.08em; }
  .nav-sep { display: none; }
  .site-header.scrolled .header-inner { padding: 4px var(--pad); }

  /* ---- Hero ---- */
  .hero { height: 360px; }
  .hero-home { min-height: 420px; height: 60vh; max-height: 560px; }
  .hero-title { font-size: clamp(28px, 9vw, 52px); padding: 0 8px; }
  .hero-sub { font-size: 14px; padding: 0 16px; }

  /* ---- Section titles + spacing ---- */
  .section-title,
  .vo-community-h2 {
    font-size: clamp(26px, 7.5vw, 42px) !important;
  }
  .os-title { font-size: clamp(24px, 7vw, 38px) !important; }
  .section-eyebrow,
  .banner-eyebrow,
  .vo-community-eyebrow { letter-spacing: 0.18em; }
  .section-head { margin-bottom: 32px; }

  /* ---- Section paddings ---- */
  .chi-section,
  .form-wrap,
  .gite-cta,
  .os-block,
  .prossima-section,
  .inspire-section,
  .numeri-section,
  .os-hero-stats,
  .os-operators,
  .cal-section,
  .incluso-section,
  .faq-section,
  .timeline-section { padding-top: 60px; padding-bottom: 60px; }

  /* ---- Form WPForms ---- */
  .map-wrap { height: 320px; }
  .vo-mailto-form .wpforms-field-row-block {
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    float: none !important;
    margin-bottom: 12px;
  }
  .vo-mailto-form .wpforms-field-row { margin-left: 0; margin-right: 0; }
  .vo-mailto-form { padding: 0 4px; }

  /* ---- Community section ---- */
  .vo-community-section { padding: 60px 0 70px; }
  .vo-community-h2 { margin-bottom: 32px; }
  .vo-community-card { padding: 40px 22px 32px; }
  .vo-community-icon { width: 56px; height: 56px; margin-top: -76px; }
  .vo-community-icon svg { width: 26px; height: 26px; }
  .vo-community-number { font-size: clamp(24px, 7vw, 36px); }
  .vo-community-steps { margin-top: 30px; padding-top: 24px; }
  .vo-community-cta { padding: 14px 28px; font-size: 11px; }

  /* ---- Footer ---- */
  .footer-logo img { max-width: 200px; }

  /* ---- Bottoni globali ---- */
  .btn { padding: 12px 22px; font-size: 11px; }
}

/* Smartphone piccoli (≤480px) */
@media (max-width: 480px) {
  .header-logo img { height: 48px; }
  .nav-link { padding: 5px 7px; font-size: 10.5px; }
  .vo-community-card { padding: 36px 18px 28px; }
  .map-wrap { height: 260px; }
  .hero { height: 320px; }
  .hero-home { min-height: 380px; height: 65vh; }
}

/* ============================================================
 * HAMBURGER MOBILE MENU
 * Bottone hamburger visibile solo su mobile, drawer fullscreen,
 * animazione hamburger → X, blocco scroll body quando aperto.
 * ============================================================ */
.header-burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 36px;
  padding: 8px 6px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  z-index: 51;
  position: relative;
}
.header-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform .3s cubic-bezier(.4,0,.2,1), opacity .2s ease, background .2s ease;
  transform-origin: center;
}
.header-burger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.header-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header-burger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  /* Header layout: logo a sinistra, hamburger a destra */
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px var(--pad);
    gap: 12px;
  }
  .header-logo { flex: 0 1 auto; margin: 0; }
  .header-burger { display: inline-flex; flex: 0 0 auto; }

  /* Mantieni il logo visibile anche con scroll su mobile (no collapse) */
  .site-header.scrolled .header-logo {
    max-height: 100px;
    opacity: 1;
    margin: 0;
    pointer-events: auto;
  }
  .site-header.scrolled .header-inner { padding: 8px var(--pad); }

  /* Drawer: nav diventa overlay fullscreen sotto al header */
  .header-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 24px var(--pad);
    overflow-y: auto;
    transform: translateY(-110%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
    z-index: 49;
    border-top: 1px solid var(--line);
  }
  .header-nav.is-open { transform: translateY(0); }

  /* Voci menu nel drawer: blocchi grandi cliccabili */
  .header-nav .nav-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 22px 12px;
    font-size: 15px;
    letter-spacing: 0.22em;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .header-nav .nav-link:hover,
  .header-nav .nav-link.active {
    background: var(--brand-soft);
    color: var(--brand);
    transform: none;
  }
  .header-nav .nav-sep { display: none; }

  /* Quando drawer aperto: blocca scroll della pagina */
  body.vo-menu-open { overflow: hidden; }
}

@media (max-width: 480px) {
  .header-nav { top: 56px; padding: 16px var(--pad); }
  .header-nav .nav-link { padding: 18px 10px; font-size: 14px; }
}
