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

:root {
  --verde: #3d5a3e;
  --verde-chiaro: #6b8f6c;
  --terra: #8b6914;
  --sabbia: #f2ead8;
  --ecru: #f7f3ec;
  --fumo: #e8e0d0;
  --testo: #2a2218;
  --testo-light: #6b6050;
  --bianco: #fdfaf5;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bianco);
  color: var(--testo);
  overflow-x: hidden;
}


/* ── NAV ── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(253, 250, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 90, 62, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--testo-light);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--verde);
}

.nav-cta {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bianco);
  background: var(--verde);
  padding: 10px 22px;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--verde-chiaro);
}


/* ── HERO ── */

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 80px;
}

.hero-left {
  background: var(--verde);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
}

.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 20 30 30 Q45 40 60 30' stroke='rgba(255,255,255,0.06)' stroke-width='1.5' fill='none'/%3E%3Cpath d='M0 40 Q15 30 30 40 Q45 50 60 40' stroke='rgba(255,255,255,0.04)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") repeat;
  opacity: 1;
}

.hero-kicker {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
  position: relative;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.05;
  position: relative;
}

.hero-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.hero-subtitle {
  margin-top: 32px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
  max-width: 360px;
  position: relative;
}

.hero-stat-row {
  margin-top: 56px;
  display: flex;
  gap: 40px;
  position: relative;
}

.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.hero-stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.hero-right {
  background: var(--sabbia);
  position: relative;
  overflow: hidden;
}

.river-visual {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.river-svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.placeholder-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(139, 105, 20, 0.1);
  padding: 8px 16px;
}

.placeholder-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--verde);
  text-align: center;
  max-width: 260px;
  line-height: 1.5;
}

.wave-lines {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
}


/* ── STRIP ── */

.strip {
  background: var(--terra);
  padding: 20px 64px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.strip-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.strip-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 8px;
}


/* ── SECTIONS ── */

.section {
  padding: 120px 64px;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--terra);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 560px;
}

.section-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--testo-light);
  max-width: 600px;
  margin-top: 28px;
  margin-bottom: 28px;
}


/* ── TAPPE ── */

.tappe-section {
  background: var(--ecru);
  padding: 100px 0;
}

.tappe-header {
  padding: 0 64px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.tappe-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  padding: 0 64px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.tappe-list {
  border-right: 1px solid rgba(61, 90, 62, 0.15);
  padding-right: 0;
}

.tappe-list-item {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid rgba(61, 90, 62, 0.1);
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.tappe-list-item:hover {
  background: rgba(61, 90, 62, 0.04);
}

.tappe-list-item.active {
  background: rgba(61, 90, 62, 0.08);
}

.tappe-list-item.active::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--verde);
}

.tappe-list-km {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-chiaro);
  margin-bottom: 4px;
}

.tappe-list-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde);
}

.tappe-list-item--arrivo .tappe-list-km,
.tappe-list-item--arrivo .tappe-list-nome {
  color: var(--terra);
}

.tappe-list-item--oltre .tappe-list-km,
.tappe-list-item--oltre .tappe-list-nome {
  color: var(--verde-chiaro);
}

.tappe-map-panel {
  padding-left: 40px;
}

.tappa-detail {
  margin-top: 20px;
  min-height: 80px;
  border-top: 1px solid rgba(61, 90, 62, 0.12);
  padding-top: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.tappa-detail.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.tappa-detail-km {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-chiaro);
  margin-bottom: 6px;
}

.tappa-detail-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--testo);
  margin-bottom: 10px;
}

.tappa-detail-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--testo-light);
  line-height: 1.7;
  max-width: 480px;
}

.tappe-scroll {
  display: flex;
  flex-direction: column;
  padding: 0 64px 32px;
}

.tappe-scroll::-webkit-scrollbar {
  display: none;
}

.tappa-card {
  border-left: 1px solid rgba(61, 90, 62, 0.15);
  padding: 28px 36px;
  position: relative;
  transition: background 0.3s;
  cursor: pointer;
  display: grid;
  grid-template-columns: 80px 160px 1fr;
  align-items: center;
  gap: 24px;
}

.tappa-card:hover {
  background: rgba(61, 90, 62, 0.05);
}

.tappa-km {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde-chiaro);
  margin-bottom: 16px;
}

.tappa-nome {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 12px;
}

.tappa-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--testo-light);
}

.tappa-dot {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--verde);
  border: 2px solid var(--ecru);
}

.river-line {
  width: 2px;
  margin: 0 64px 0 76px;
  background: linear-gradient(180deg, var(--verde) 0%, var(--verde-chiaro) 50%, rgba(107, 143, 108, 0.3) 100%);
  position: relative;
  min-height: 20px;
}


/* ── NATURA ── */

.natura-section {
  padding: 120px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.fauna-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(61, 90, 62, 0.12);
}

.fauna-card {
  background: var(--bianco);
  padding: 28px 24px;
  transition: background 0.3s;
}

.fauna-card:hover {
  background: var(--ecru);
}

.fauna-icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.fauna-name {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--verde);
  margin-bottom: 4px;
}

.fauna-note {
  font-size: 0.75rem;
  color: var(--testo-light);
  line-height: 1.5;
}


/* ── COMMUNITY ── */

.community-section {
  background: var(--verde);
  padding: 120px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.community-title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.community-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-top: 24px;
}

.community-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-light {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--verde);
  background: #fff;
  padding: 14px 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-light:hover {
  background: var(--sabbia);
}

.btn-outline {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 14px 28px;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
}

.quote-block {
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 32px;
}

.quote-text {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}

.quote-attr {
  margin-top: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}


/* ── EVENTI ── */

.eventi-section {
  padding: 120px 64px;
  background: var(--sabbia);
}

.eventi-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(61, 90, 62, 0.1);
}

.evento-card {
  background: var(--bianco);
  padding: 40px 36px;
  transition: background 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.evento-card:hover {
  background: var(--ecru);
}

.evento-tag {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 20px;
}

.evento-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--testo);
  line-height: 1.3;
  margin-bottom: 16px;
}

.evento-desc {
  font-size: 0.85rem;
  color: var(--testo-light);
  line-height: 1.6;
}

.evento-arrow {
  margin-top: auto;
  padding-top: 32px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--verde);
  display: flex;
  align-items: center;
  gap: 8px;
}


/* ── SOSTIENI ── */

.sostieni-section {
  padding: 100px 64px;
  text-align: center;
  border-top: 1px solid var(--fumo);
}

.sostieni-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.3;
}

.sostieni-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--testo-light);
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.iban-block {
  display: inline-block;
  background: var(--ecru);
  border: 1px solid var(--fumo);
  padding: 20px 40px;
  font-family: 'DM Sans', monospace;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--verde);
}

.iban-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--testo-light);
  margin-bottom: 6px;
}


/* ── FOOTER ── */

footer {
  background: var(--testo);
  padding: 60px 64px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.footer-info {
  text-align: right;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.8;
  letter-spacing: 0.03em;
}


/* ── MODIFIERS ── */

.hero-right--photo {
  background-image: url('public/images/image-1.jpeg');
  background-size: cover;
  background-position: center;
}

.section--no-bottom {
  padding-bottom: 0;
}

.section-label--centered {
  justify-content: center;
  margin-bottom: 16px;
}

.strip-text--meta {
  opacity: 0.65;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.tappe-map {
  padding: 0 64px 40px;
  display: flex;
  justify-content: center;
}

.map-container {
  position: relative;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}

.map-container img {
  display: block;
  width: 100%;
  filter: sepia(15%) brightness(1.03);
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 6%,  black 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%),
    linear-gradient(to right,  transparent 0%, black 6%,  black 94%, transparent 100%);
  mask-composite: intersect;
}

.map-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.map-marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--verde);
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.2s;
}

.map-marker:hover .map-marker-dot,
.map-marker.active .map-marker-dot {
  transform: scale(1.6);
  box-shadow: 0 0 0 4px rgba(61, 90, 62, 0.2);
}

.map-marker--arrivo .map-marker-dot {
  background: var(--terra);
}

.map-marker--oltre .map-marker-dot {
  background: var(--verde-chiaro);
}

.map-tooltip {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--testo);
  color: #fff;
  padding: 6px 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-marker:hover .map-tooltip {
  opacity: 1;
}

.map-tooltip-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.map-tooltip-km {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tappa-dot--arrivo {
  background: var(--terra);
}

.tappa-km--arrivo,
.tappa-nome--arrivo {
  color: var(--terra);
}

.tappa-card--oltre {
  border-right: 1px solid rgba(61, 90, 62, 0.15);
}

.tappa-dot--oltre {
  background: var(--verde-chiaro);
}

.tappa-km--oltre,
.tappa-nome--oltre {
  color: var(--verde-chiaro);
}

.eventi-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

.evento-card--placeholder {
  grid-column: 1 / -1;
  cursor: default;
  border: 1.5px dashed rgba(61, 90, 62, 0.25);
  background: transparent;
  max-width: 480px;
}

.evento-card--placeholder:hover {
  background: transparent;
}

.sostieni-actions {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--verde);
  color: #fff;
  padding: 14px 32px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--verde-chiaro);
}

.btn-secondary {
  display: inline-block;
  border: 1px solid var(--fumo);
  color: var(--testo-light);
  padding: 14px 32px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--testo-light);
  color: var(--testo);
}

.btn-light--soon,
.btn-primary--soon,
.btn-outline--soon,
.btn-secondary--soon {
  opacity: 0.5;
  cursor: not-allowed;
  position: relative;
}

.btn-light--soon::after,
.btn-primary--soon::after,
.btn-outline--soon::after,
.btn-secondary--soon::after {
  content: 'Prossimamente';
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--testo);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 14px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.btn-light--soon:hover::after,
.btn-primary--soon:hover::after,
.btn-outline--soon:hover::after,
.btn-secondary--soon:hover::after,
.btn-light--soon.tooltip-visible::after,
.btn-primary--soon.tooltip-visible::after,
.btn-outline--soon.tooltip-visible::after,
.btn-secondary--soon.tooltip-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ── APP SECTION ── */

.app-section {
  background: #1a2e1a;
  padding: 80px 24px;
  text-align: center;
}

.app-inner {
  max-width: 560px;
  margin: 0 auto;
}

.app-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.app-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #f5f0e8;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.app-body {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.app-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-input {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #f5f0e8;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.app-input:focus {
  border-color: rgba(255, 255, 255, 0.5);
}

.app-btn {
  padding: 14px 28px;
  background: #4a7c59;
  color: #fff;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.app-btn:hover {
  background: #3d6b4a;
}

.app-disclaimer {
  margin-top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}

.app-signup-success {
  color: #a8d5b5;
  font-size: 1rem;
}


/* ── FOOTER SOCIAL ── */

.footer-social {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.footer-social-link:hover {
  color: #a8d5b5;
}

.footer-social-link--soon {
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
  pointer-events: none;
}

.footer-info a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.footer-credits {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.7rem;
  margin-top: 8px;
  display: block;
}


/* ── GALLERY / CAROUSEL ── */

.gallery-section {
  background: var(--fumo);
  padding: 80px 0;
}

.gallery-header {
  padding: 0 64px 48px;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  flex: 0 0 25%;
  aspect-ratio: 1;
  padding: 0 8px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

@media (max-width: 900px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 700px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.10);
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  border-radius: 0 0 12px 12px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 10px 14px;
  color: #000;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--testo);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.carousel-btn--prev {
  left: 16px;
}

.carousel-btn--next {
  right: 16px;
}


/* ── ANIMATIONS ── */

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

.hero-left > * { animation: fadeUp 0.8s ease both; }
.hero-kicker   { animation-delay: 0.1s; }
.hero-title    { animation-delay: 0.25s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-stat-row { animation-delay: 0.55s; }


/* ── RESPONSIVE ── */

@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-right {
    min-height: 300px;
  }

  .hero-left {
    padding: 80px 32px 60px;
  }

  .section,
  .sostieni-section {
    padding: 80px 32px;
  }

  .natura-section,
  .community-section {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px 32px;
  }

  .eventi-section {
    padding: 80px 32px;
  }

  .eventi-grid {
    grid-template-columns: 1fr;
  }

  .tappe-header {
    padding: 0 32px 48px;
  }

  .tappe-layout {
    grid-template-columns: 1fr;
    padding: 0 32px;
  }

  .tappe-list {
    border-right: none;
    border-bottom: 1px solid rgba(61, 90, 62, 0.15);
    padding-bottom: 24px;
    margin-bottom: 32px;
  }

  .tappe-map-panel {
    padding-left: 0;
  }

  .map-container {
    max-width: 100%;
  }

  .tappe-scroll {
    padding: 0 32px 24px;
  }

  .river-line {
    margin: 0 32px;
  }

  .strip {
    padding: 20px 32px;
    flex-wrap: wrap;
  }

  footer {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding: 48px 32px;
  }

  .footer-info {
    text-align: left;
  }
}
