/* ============================================================
   NOTTE GREEN — La notte che cammina
   Avigliano Umbro · 29 agosto 2026
   ============================================================ */

:root {
  --night-900: #0a1220;
  --night-800: #0e1a2e;
  --night-700: #142440;
  --night-card: rgba(255, 255, 255, 0.045);
  --ink: #f2f5ee;
  --cream: #f2ecc9;
  --muted: #a8b7cc;
  --gold: #d9c58a;
  --gold-soft: rgba(217, 197, 138, 0.28);
  --green: #79d98c;
  --green-light: #a5e8a9;
  --green-deep: #3f9e63;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --container: 1140px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(3, 8, 18, 0.45);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--night-900);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
strong { font-weight: 500; color: var(--cream); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}
.container.narrow { max-width: 820px; }

::selection { background: rgba(121, 217, 140, 0.35); color: #fff; }

/* ---------- Cielo stellato ---------- */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.star {
  position: absolute;
  border-radius: 50%;
  background: #e9f1ff;
  animation: twinkle var(--tw, 4s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.12; transform: scale(0.75); }
  50%      { opacity: 0.9;  transform: scale(1); }
}

.shooting {
  position: fixed;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), #dff3e0 60%, #ffffff);
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 0 6px rgba(200, 255, 210, 0.8));
}
.shooting.go { animation: shoot 1.15s ease-out forwards; }
@keyframes shoot {
  0%   { opacity: 0; transform: translate(0, 0) rotate(-32deg); }
  8%   { opacity: 1; }
  100% { opacity: 0; transform: translate(-340px, 200px) rotate(-32deg); }
}

main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 1.1rem;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(9, 16, 30, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 rgba(217, 197, 138, 0.16), 0 12px 32px rgba(3, 8, 18, 0.5);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.brand svg {
  width: 20px; height: 20px;
  fill: var(--green);
  filter: drop-shadow(0 0 6px rgba(121, 217, 140, 0.7));
}
.brand em {
  font-style: normal;
  color: var(--green-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2.2rem);
}
.main-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.35rem;
  position: relative;
  transition: color 0.25s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.main-nav a:hover,
.main-nav a.active { color: var(--cream); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  background: none;
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  z-index: 60;
}
.menu-btn span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(1400px 900px at 50% -12%, #1e3050 0%, #14223c 44%, var(--night-900) 100%);
}

.hero-const {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -52%);
  width: min(78vh, 700px);
  opacity: 0.16;
  pointer-events: none;
}
.hc-line {
  fill: none;
  stroke: #b9e69d;
  stroke-width: 2;
  stroke-dasharray: 7 9;
  stroke-linejoin: round;
}
.hc-dots circle { fill: #d6efc0; }
.hc-sparks path {
  fill: #eef7d9;
  animation: sparkPulse 3.2s ease-in-out infinite;
}
.hc-sparks path:nth-child(2) { animation-delay: 0.9s; }
.hc-sparks path:nth-child(3) { animation-delay: 1.7s; }
.hc-sparks path:nth-child(4) { animation-delay: 2.4s; }
@keyframes sparkPulse {
  0%, 100% { opacity: 0.45; }
  50%      { opacity: 1; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-top: clamp(6.5rem, 12vh, 9rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
}

.hero-copy { text-align: left; }

.hero-art {
  position: relative;
  justify-self: center;
  width: min(100%, 430px, calc((100svh - 230px) * 0.707));
  animation: artFloat 8s ease-in-out infinite;
}
.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  border: 1px solid rgba(217, 197, 138, 0.32);
  box-shadow:
    0 34px 90px rgba(2, 6, 14, 0.7),
    0 0 70px rgba(121, 217, 140, 0.14);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 6% -14%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 55%, rgba(121, 217, 140, 0.18), transparent 70%);
  filter: blur(12px);
}
@keyframes artFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero-kicker {
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}
.hero-title .line {
  display: block;
  font-size: clamp(3.4rem, 7.4vw, 7rem);
  color: var(--cream);
  text-shadow: 0 0 60px rgba(242, 236, 201, 0.18);
}
.hero-title .line-green {
  background: linear-gradient(180deg, #d9eebc 0%, #9ce29d 45%, #57c274 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 34px rgba(121, 217, 140, 0.35));
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 3.4vw, 2.1rem);
  color: var(--ink);
  opacity: 0.94;
  margin-bottom: 1.1rem;
}

.hero-place {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.95rem, 2vw, 1.08rem);
  font-weight: 400;
  color: var(--gold);
  margin-bottom: 2.2rem;
}
.hero-place svg { width: 19px; height: 19px; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.92rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, #93e59e, #45b96c);
  color: #07160d;
  box-shadow: 0 10px 30px rgba(90, 210, 130, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(90, 210, 130, 0.4);
}
.btn-ghost {
  border: 1px solid rgba(217, 197, 138, 0.55);
  color: #ecdfb4;
  background: rgba(217, 197, 138, 0.03);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: rgba(217, 197, 138, 0.1);
}
.btn-small { padding: 0.55rem 1.15rem; font-size: 0.8rem; margin-top: 0.9rem; }

/* ---------- Countdown ---------- */
.cd-label {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.cd-tiles {
  display: flex;
  justify-content: flex-start;
  gap: clamp(0.5rem, 1.6vw, 1rem);
}
.cd-tile {
  min-width: clamp(70px, 9vw, 96px);
  padding: 0.95rem 0.5rem 0.8rem;
  background: var(--night-card);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}
.cd-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 4.6vw, 2.7rem);
  line-height: 1;
  color: var(--cream);
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.cd-unit {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.cd-live {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.5rem);
  color: var(--green-light);
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 26px; height: 42px;
  border: 1.6px solid rgba(242, 236, 201, 0.55);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  transition: border-color 0.25s ease;
}
.scroll-hint span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--cream);
  animation: scrollDot 1.8s ease-in-out infinite;
}
.scroll-hint:hover { border-color: var(--green-light); }
@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Sezioni ---------- */
.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.8vw, 3.1rem);
  line-height: 1.12;
  color: var(--cream);
  margin-bottom: 1.3rem;
}
.accent-green {
  background: linear-gradient(120deg, #b6ecb2, #5fc57a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-weight: 300;
  color: #d4ddea;
  margin-bottom: 1.2rem;
}

.section p + p { margin-top: 0.9rem; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2.6rem, 6vw, 4rem);
}
.section-head .sub { color: var(--muted); }

/* Intro */
.intro { text-align: center; }
.intro .lead { margin-inline: auto; max-width: 46em; }

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3rem;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Divisore "cammino" */
.walk-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-block: 0.5rem;
}
.walk-divider::before {
  content: "";
  width: 2px;
  height: 74px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(217, 197, 138, 0.55) 0 7px,
    transparent 7px 17px
  );
}
.walk-divider span {
  width: 9px; height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(121, 217, 140, 0.8);
}

/* ---------- Card esperienze ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}

.card {
  position: relative;
  background: var(--night-card);
  border: 1px solid rgba(217, 197, 138, 0.22);
  border-radius: var(--radius);
  padding: 2rem 1.7rem 1.9rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.card:hover {
  transform: translateY(-7px);
  border-color: rgba(121, 217, 140, 0.55);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 50px rgba(3, 8, 18, 0.55), 0 0 0 1px rgba(121, 217, 140, 0.12);
}

.card-badge {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(121, 217, 140, 0.45);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  background: rgba(121, 217, 140, 0.07);
}
.card-badge.badge-gold {
  color: var(--gold);
  border-color: rgba(217, 197, 138, 0.5);
  background: rgba(217, 197, 138, 0.07);
}

.card-icon {
  width: 58px; height: 58px;
  border: 1.4px solid rgba(217, 197, 138, 0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.3rem;
  background: radial-gradient(circle at 50% 35%, rgba(217, 197, 138, 0.12), transparent 70%);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.card:hover .card-icon {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--green-light);
}
.card-icon svg {
  width: 27px; height: 27px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}
.card:hover .card-icon svg { stroke: var(--green-light); }

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.42rem;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* ---------- Il Cammino ---------- */
.cammino-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.cammino-art { text-align: center; }
.const-svg {
  width: min(100%, 540px);
  margin-inline: auto;
  filter: drop-shadow(0 0 30px rgba(121, 217, 140, 0.12));
}
.const-path {
  fill: none;
  stroke: #c8ec9f;
  stroke-width: 2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 3.5s ease 0.3s;
  filter: drop-shadow(0 0 5px rgba(180, 235, 160, 0.5));
}
.cammino.drawn .const-path { stroke-dashoffset: 0; }

/* Tappe del Cammino */
.stops {
  opacity: 0;
  transition: opacity 1.2s ease 1s;
}
.cammino.drawn .stops { opacity: 1; }

.const-svg text {
  font-family: var(--font-body);
  paint-order: stroke;
  stroke: rgba(10, 18, 32, 0.85);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.stop-ring {
  fill: rgba(10, 18, 32, 0.85);
  stroke: rgba(205, 235, 158, 0.85);
  stroke-width: 1.5;
  transition: stroke 0.25s ease, fill 0.25s ease;
}
.stop-num {
  fill: #d6efc0;
  font-size: 11.5px;
  font-weight: 500;
  text-anchor: middle;
  stroke: none !important;
}
.stop-name {
  fill: #c8d3e2;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: fill 0.25s ease;
}
.stop:hover .stop-ring {
  stroke: var(--green-light);
  fill: rgba(121, 217, 140, 0.16);
}
.stop:hover .stop-name { fill: var(--cream); }

.stop-star {
  fill: var(--cream);
  filter: drop-shadow(0 0 7px rgba(242, 236, 201, 0.85));
  animation: sparkPulse 3s ease-in-out infinite;
}
.stop-halo {
  fill: none;
  stroke: rgba(121, 217, 140, 0.55);
  stroke-width: 1.4;
  transform-box: fill-box;
  transform-origin: center;
  animation: haloPulse 2.8s ease-out infinite;
}
@keyframes haloPulse {
  0%   { transform: scale(0.55); opacity: 0.95; }
  100% { transform: scale(2.1);  opacity: 0; }
}
.start-name {
  fill: var(--gold);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.stop-sub {
  fill: var(--green-light);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.const-caption {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.chip {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(121, 217, 140, 0.4);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  background: rgba(121, 217, 140, 0.06);
}

/* ---------- Info ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}
.info-card {
  background: var(--night-card);
  border: 1px solid rgba(217, 197, 138, 0.22);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  text-align: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(121, 217, 140, 0.5);
}
.info-card .card-icon { margin-inline: auto; }
.info-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.info-card p { font-size: 0.98rem; color: var(--muted); }
.info-card p + p { margin-top: 0.25rem; }
.info-card .note {
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--gold);
}

/* ---------- Partner ---------- */
.partners { padding-bottom: clamp(5rem, 10vw, 8rem); }
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 880px;
  margin-inline: auto;
}
.partner-list li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #e6dcb4;
  border: 1px solid rgba(217, 197, 138, 0.35);
  border-radius: 999px;
  padding: 0.7rem 1.5rem;
  background: rgba(217, 197, 138, 0.045);
  transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.partner-list li:hover {
  transform: translateY(-3px);
  border-color: rgba(121, 217, 140, 0.6);
  color: var(--green-light);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px dashed rgba(217, 197, 138, 0.28);
  padding-block: 3.4rem 2.6rem;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.65));
}
.footer-star {
  width: 22px; height: 22px;
  margin: 0 auto 1rem;
  fill: var(--green);
  filter: drop-shadow(0 0 8px rgba(121, 217, 140, 0.7));
  animation: sparkPulse 3.6s ease-in-out infinite;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
}
.footer-title em { font-style: normal; color: var(--green-light); }
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.1rem;
}
.footer-meta { font-size: 0.88rem; color: var(--muted); }
.footer-copy {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(168, 183, 204, 0.6);
}

/* ---------- Torna su ---------- */
.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: rgba(12, 20, 36, 0.85);
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.totop svg { width: 20px; height: 20px; }
.totop.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.totop:hover { border-color: var(--green-light); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .menu-btn { display: flex; }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 55;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: rgba(7, 12, 24, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    color: var(--cream);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.8rem;
    padding-top: clamp(6rem, 12vh, 8rem);
    padding-bottom: 4.5rem;
  }
  .hero-copy { text-align: center; }
  .hero-cta { justify-content: center; }
  .cd-tiles { justify-content: center; }
  .hero-art { width: min(74%, 360px); }
  .hero-const {
    top: 46%;
    width: min(92vw, 560px);
    transform: translate(-50%, -50%);
    opacity: 0.12;
  }

  .cammino-grid { grid-template-columns: 1fr; }
  .cammino-art { order: 2; margin-top: 1rem; }
  .cammino-text { order: 1; text-align: center; }
  .cammino-text .chips { justify-content: center; }
}

@media (max-width: 640px) {
  .cd-tiles { flex-wrap: wrap; }
  .cd-tile { min-width: 74px; flex: 0 1 calc(25% - 0.5rem); }
  .hero-cta .btn { width: min(100%, 320px); }
  .hero-art { width: min(82%, 330px); }
  .stats { gap: 1.6rem 2.4rem; }
  .scroll-hint { display: none; }
  .const-svg text { stroke-width: 5px; }
  .stop-name { font-size: 19px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .const-path { stroke-dashoffset: 0; }
  .stops { opacity: 1; }
}
