
:root {
  --bg: #FAF8F5;
  --bg-alt: #F5F1E8;
  --bg-warm: #F0EDE8;
  --fg: #2C1810;
  --fg-soft: #4A3A2E;
  --muted: #75604A;
  --muted-soft: #A69078;
  --border: #E8E2D8;
  --border-soft: #F0EBE1;
  --card: #FFFFFF;
  --sage: #4A7C59;
  --sage-dark: #3A6849;
  --sage-soft: #E8F0EA;
  --terracotta: #C4714A;
  --terracotta-soft: #F7E4DC;
  --gold: #D4A94B;
  --gold-soft: #FBF3E1;
  --shadow-sm: 0 2px 8px -2px rgba(44,24,16,0.06);
  --shadow-card: 0 4px 24px -4px rgba(44,24,16,0.08);
  --shadow-soft: 0 12px 40px -12px rgba(44,24,16,0.15);
  --shadow-hero: 0 24px 80px -16px rgba(44,24,16,0.20);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--fg);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin-bottom: 1rem; color: var(--fg-soft); }
a { color: var(--sage); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--sage-dark); }
img, svg { max-width: 100%; height: auto; display: block; }
em, .italic { font-style: italic; }

/* ─────────── Layout ─────────── */
.container { max-width: 780px; margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }

/* ─────────── Header ─────────── */
.site-header {
  background: rgba(250,248,245,0.85);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--border-soft);
  padding: .9rem 0;
  position: sticky; top: 0; z-index: 50;
}
.site-header nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  color: var(--fg); text-decoration: none;
}
.brand img { height: 36px; width: auto; }
.brand-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600; font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.nav-links {
  display: flex; gap: 1.75rem; font-size: .95rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--fg-soft); text-decoration: none;
  padding: .3rem 0;
  border-bottom: 1px solid transparent;
  transition: all .15s ease;
}
.nav-links a:hover { color: var(--fg); border-bottom-color: var(--gold); }
.nav-cta {
  padding: .55rem 1.1rem !important;
  background: var(--fg);
  color: var(--bg) !important;
  border-radius: 100px;
  font-weight: 500;
  border: none !important;
}
.nav-cta:hover { background: var(--sage-dark); color: var(--bg) !important; border: none !important; }
@media (max-width: 720px) {
  .site-header { padding: .7rem 0; }
  .site-header nav { gap: .6rem 1rem; }
  .brand img { height: 30px; }
  .brand-text { display: none; }
  .nav-links {
    order: 3;
    flex-basis: 100%;
    gap: 1.1rem;
    font-size: .82rem;
    justify-content: center;
    padding-top: .5rem;
    border-top: 1px solid var(--border-soft);
    margin-top: .3rem;
  }
  .nav-cta { padding: .45rem .9rem !important; font-size: .85rem; }
}
@media (max-width: 380px) {
  .nav-links { gap: .8rem; font-size: .78rem; }
}

/* ─────────── Breadcrumbs ─────────── */
.breadcrumbs {
  font-size: .82rem;
  color: var(--muted);
  padding: 1.5rem 0 0;
  letter-spacing: .01em;
}
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--fg); }
.breadcrumbs span.sep { margin: 0 .5rem; opacity: .4; }

/* ─────────── Section headers ─────────── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-number {
  font-family: 'Playfair Display', serif;
  font-size: .9rem;
  font-style: italic;
  color: var(--muted);
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: .75rem;
  margin: 3rem auto;
  color: var(--gold);
  opacity: .7;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 60px;
  background: currentColor;
}

/* ─────────── HOMEPAGE HERO ─────────── */
.home-hero {
  position: relative;
  padding: 5rem 0 3rem;
  text-align: center;
  overflow: hidden;
}
.home-hero .backdrop {
  position: absolute; inset: 0;
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.home-hero > .container { position: relative; z-index: 1; }
.home-hero .kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--terracotta);
  margin-bottom: 1.25rem;
  letter-spacing: .01em;
}
.home-hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  margin-bottom: 1.5rem;
  color: var(--fg);
}
.home-hero h1 em {
  color: var(--sage);
  font-weight: 500;
}
.home-hero .lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--fg-soft);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
}
.home-hero-ctas {
  display: flex; gap: 1rem; justify-content: center;
  flex-wrap: wrap;
}

/* Big CTA button — "the button you can't miss" */
.btn-hero {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1.1rem 2rem;
  background: var(--sage);
  color: white !important;
  border-radius: 100px;
  font-weight: 600; font-size: 1.05rem;
  text-decoration: none !important;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-hero:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hero);
}
.btn-hero .arrow { transition: transform .2s ease; }
.btn-hero:hover .arrow { transform: translateX(4px); }
.btn-hero-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 1.1rem 2rem;
  background: transparent;
  color: var(--fg) !important;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-weight: 500; font-size: 1.05rem;
  text-decoration: none !important;
  transition: all .2s ease;
}
.btn-hero-outline:hover {
  border-color: var(--fg);
  background: var(--card);
}

/* ─────────── Stat strip (homepage) ─────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 4rem 0;
  background: var(--bg-alt);
}
.stat-strip .stat-cell {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-strip .stat-cell:last-child { border-right: none; }
.stat-strip .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
  margin-bottom: .5rem;
}
.stat-strip .stat-num em {
  font-size: .55em;
  color: var(--gold);
  font-style: normal;
  margin-left: .1em;
  vertical-align: super;
}
.stat-strip .stat-lbl {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip .stat-cell:nth-child(2n) { border-right: none; }
  .stat-strip .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .stat-strip .stat-num { font-size: 2.25rem; }
}

/* ─────────── Section headings ─────────── */
.section-title {
  text-align: center;
  margin: 4rem 0 2.5rem;
}
.section-title h2 { margin-bottom: .5rem; }
.section-title .lede {
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ─────────── Valley cards ─────────── */
.valley-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0 4rem;
}
.valley-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all .25s ease;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
}
.valley-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--gold), var(--terracotta));
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.valley-card:hover {
  transform: translateY(-4px);
  border-color: var(--sage);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
}
.valley-card:hover::before { transform: scaleX(1); }
.valley-card .valley-icon {
  color: var(--sage);
  margin-bottom: 1rem;
  opacity: .85;
}
.valley-card h3 {
  font-size: 1.35rem;
  margin-bottom: .35rem;
  color: var(--fg);
}
.valley-card .valley-count {
  font-size: .85rem;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

/* ─────────── Sentiero cards (elenco + featured) ─────────── */
.hike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}
.hike-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
  display: flex; flex-direction: column;
  min-height: 180px;
}
.hike-card:hover {
  transform: translateY(-2px);
  border-color: var(--muted);
  box-shadow: var(--shadow-card);
  text-decoration: none;
}
.hike-card .hike-eyebrow {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .6rem;
}
.hike-card h3 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
  color: var(--fg);
  flex-grow: 1;
}
.hike-card .hike-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .82rem;
  color: var(--muted);
  padding-top: .75rem;
  border-top: 1px dashed var(--border);
}
.hike-card .hike-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.hike-card .hike-meta strong { color: var(--fg); font-weight: 500; }

/* ─────────── HIKE PAGE HERO ─────────── */
.hike-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}
.hike-hero .eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hike-hero .eyebrow .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold);
}
.hike-hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  margin-bottom: 1.25rem;
}
.hike-hero .experience-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--fg-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  padding: 0 2rem;
}
.hike-hero .experience-quote::before,
.hike-hero .experience-quote::after {
  content: "";
  display: inline-block;
  width: 20px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 .75rem;
  opacity: .6;
}

.hike-diff-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .3rem .75rem;
  border-radius: 100px;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .03em;
}
.diff-facile { background: var(--sage-soft); color: var(--sage-dark); }
.diff-medio { background: var(--gold-soft); color: #7A5F14; }
.diff-impegnativo { background: var(--terracotta-soft); color: #8A3D1F; }

/* ─────────── HIKE PAGE STATS ─────────── */
.hike-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}
.hike-stats .cell {
  padding: 1.5rem 1rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.hike-stats .cell:last-child { border-right: none; }
.hike-stats .cell .lbl {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .35rem;
}
.hike-stats .cell .val {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1;
}
.hike-stats .cell .val small {
  font-size: .55em;
  color: var(--muted);
  font-weight: 400;
  margin-left: .15em;
}
@media (max-width: 600px) {
  .hike-stats { grid-template-columns: 1fr 1fr; }
  .hike-stats .cell:nth-child(2n) { border-right: none; }
  .hike-stats .cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}

/* ─────────── HIKE PAGE — content sections ─────────── */
.hike-section {
  margin: 3.5rem 0;
}
.hike-section > h2 {
  margin-bottom: 1.25rem;
  display: flex; align-items: baseline; gap: .75rem;
}
.hike-section > h2::before {
  content: attr(data-num);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: .75em;
  color: var(--gold);
  font-weight: 400;
}
.hike-section p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--fg-soft);
}

/* Map + Elevation cards */
.static-map, .elevation-chart {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.static-map svg, .elevation-chart svg { width: 100%; display: block; }
.map-caption {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .75rem;
  text-align: center;
  font-style: italic;
}
.map-legend {
  display: flex; gap: 1.5rem; justify-content: center;
  padding: .75rem 1rem;
  background: var(--bg-alt);
  font-size: .82rem;
  color: var(--muted);
}
.map-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.map-legend .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid white; }
.map-legend .dot.start { background: var(--sage); }
.map-legend .dot.end { background: var(--terracotta); }

/* Foto della community (approvate dall'admin) */
.community-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
@media (min-width: 720px) {
  .community-photos { grid-template-columns: repeat(4, 1fr); gap: .65rem; }
}
.community-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: .75rem;
  background: var(--bg-warm);
}
.community-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.community-photo:hover img { transform: scale(1.04); }
.hike-section .map-caption a { color: var(--sage-dark); font-weight: 600; }

/* Tips list — pull-quote style */
.tips-block {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--card) 100%);
  border-left: 3px solid var(--gold);
  padding: 1.75rem 2rem;
  border-radius: 0 1rem 1rem 0;
  margin: 2.5rem 0;
}
.tips-block .tips-title {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.tips-block ul { list-style: none; padding: 0; }
.tips-block li {
  padding: .6rem 0 .6rem 1.75rem;
  position: relative;
  font-size: 1rem;
  color: var(--fg-soft);
  border-bottom: 1px dashed var(--border);
}
.tips-block li:last-child { border-bottom: none; }
.tips-block li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

/* Food card */
.food-card {
  background: var(--gold-soft);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  display: flex; flex-direction: column; gap: .75rem;
}
.food-card .food-row {
  display: flex; align-items: baseline; gap: .75rem;
}
.food-card .food-label {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #7A5F14;
  font-weight: 700;
  min-width: 90px;
}
.food-card .food-value {
  color: var(--fg);
  font-size: 1rem;
}

/* ─────────── CTA BOX — the unmissable one ─────────── */
.cta-box {
  margin: 4rem 0;
  background: linear-gradient(135deg, #2C1810 0%, #3A2419 60%, var(--sage-dark) 100%);
  color: white;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,169,75,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cta-box .cta-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: .75rem;
  letter-spacing: .02em;
}
.cta-box h2 {
  color: white;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
.cta-box p {
  color: rgba(255,255,255,.85);
  max-width: 500px; margin: 0 auto 2rem;
  font-size: 1.05rem;
}
.cta-button {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--gold);
  color: #2C1810 !important;
  padding: 1.1rem 2.25rem;
  border-radius: 100px;
  font-weight: 700; font-size: 1.1rem;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 24px -4px rgba(212,169,75,0.35);
}
.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -4px rgba(212,169,75,0.5);
  color: #2C1810 !important;
}
.cta-button .arrow { transition: transform .2s ease; display: inline-block; }
.cta-button:hover .arrow { transform: translateX(5px); }
.cta-box .cta-sub {
  margin-top: 1.25rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* Sticky CTA on hike pages (mobile-friendly) */
.sticky-cta {
  position: sticky;
  bottom: 1rem;
  z-index: 40;
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: rgba(74,124,89,0.97);
  backdrop-filter: blur(8px);
  color: white;
  border-radius: 100px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
}
.sticky-cta .sticky-txt {
  font-size: .95rem; font-weight: 500;
}
.sticky-cta a {
  background: white; color: var(--sage-dark) !important;
  padding: .55rem 1.1rem;
  border-radius: 100px;
  font-weight: 600; font-size: .9rem;
  text-decoration: none !important;
  white-space: nowrap;
}

/* Related sentieri */
.related-links {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 1.25rem;
}
.related-link {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--fg) !important;
  font-size: .9rem;
  text-decoration: none !important;
  transition: all .15s ease;
}
.related-link:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}

/* ─────────── How-it-works blocks (homepage) ─────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.feature-block {
  padding: 1.5rem;
  text-align: left;
}
.feature-block .feature-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: .5rem;
  display: block;
}
.feature-block h3 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
  color: var(--fg);
}
.feature-block p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ─────────── Footer ─────────── */
.site-footer {
  background: #2C1810;
  color: rgba(250,248,245,.7);
  padding: 3rem 0 2rem;
  margin-top: 6rem;
  font-size: .92rem;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 960px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .brand-block { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-block img { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.site-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer a { color: rgba(250,248,245,.75); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(250,248,245,.1);
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(250,248,245,.5);
  text-align: center;
}

/* ─────────── Hero trust line ─────────── */
.hero-trust {
  margin-top: 1.75rem;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: .02em;
}

/* ─────────── Hero logo (grande) ─────────── */
.hero-logo {
  display: block;
  margin: 1.5rem auto 2rem;
  width: 100%;
  max-width: 380px;
  height: auto;
}
@media (max-width: 600px) {
  .hero-logo { max-width: 280px; margin: 1rem auto 1.5rem; }
}

/* ─────────── Hero CTA duplicato — sopra il logo e sotto il lead ─────────── */
.hero-cta-top {
  margin: 0 auto 2rem !important;
}
.hero-cta-bottom {
  margin: 1.5rem auto 1.5rem !important;
}

/* ─────────── Mega CTA hero — impossibile da mancare ─────────── */
.btn-hero-mega {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem;
  padding: 1.35rem 2.5rem;
  background: var(--sage);
  color: white !important;
  border-radius: 100px;
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: -.005em;
  text-decoration: none !important;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease, background .2s ease;
  min-width: 280px;
  margin-top: .5rem;
}
.btn-hero-mega:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}
.btn-hero-mega .arrow { transition: transform .2s ease; }
.btn-hero-mega:hover .arrow { transform: translateX(5px); }
.btn-hero-mega-label { display: inline-block; }
@media (max-width: 600px) {
  .btn-hero-mega {
    width: calc(100% - 1rem);
    max-width: 380px;
    padding: 1.25rem 1.5rem;
    font-size: 1.15rem;
    min-width: 0;
  }
}

/* ─────────── Scroll indicator con bounce animation ─────────── */
.scroll-indicator {
  display: inline-flex; flex-direction: column; align-items: center;
  gap: .4rem;
  margin-top: 2.5rem;
  color: var(--muted) !important;
  font-size: .82rem;
  text-decoration: none !important;
  transition: color .15s ease;
}
.scroll-indicator:hover { color: var(--fg) !important; }
.scroll-indicator svg {
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: .7; }
  50%      { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-indicator svg { animation: none; }
}

/* ─────────── Pulse animation sui bottoni "Apri l'app" ─────────── */
/* Verde (btn-hero) */
@keyframes btn-hero-pulse {
  0%, 100% { box-shadow: var(--shadow-soft), 0 0 0 0 rgba(74,124,89,0.55); }
  50%      { box-shadow: var(--shadow-soft), 0 0 0 14px rgba(74,124,89,0); }
}
.btn-hero-pulse {
  animation: btn-hero-pulse 2.4s ease-out infinite;
}
.btn-hero-pulse:hover {
  animation: none;
}
/* Oro (cta-button dentro cta-box scuro) */
@keyframes cta-button-pulse {
  0%, 100% { box-shadow: 0 8px 24px -4px rgba(212,169,75,0.35), 0 0 0 0 rgba(212,169,75,0.7); }
  50%      { box-shadow: 0 8px 24px -4px rgba(212,169,75,0.35), 0 0 0 16px rgba(212,169,75,0); }
}
.cta-button-pulse {
  animation: cta-button-pulse 2.4s ease-out infinite;
}
.cta-button-pulse:hover {
  animation: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn-hero-pulse, .cta-button-pulse { animation: none; }
}

/* ─────────── Counter numbers — inline value span ─────────── */
.stat-num-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ─────────── APP FEATURES GRID (homepage) ─────────── */
.app-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.app-feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all .2s ease;
  position: relative;
}
.app-feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  box-shadow: var(--shadow-soft);
}
.app-feature-card .feature-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.app-feature-card .feature-kicker {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .4rem;
}
.app-feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  color: var(--fg);
  line-height: 1.3;
}
.app-feature-card p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* ─────────── VALLEYS STACK (homepage) ─────────── */
.valleys-stack {
  display: flex; flex-direction: column;
  gap: 1.5rem;
  margin: 2.5rem auto;
  max-width: 880px;
}
.valley-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: box-shadow .2s ease;
}
.valley-block:hover { box-shadow: var(--shadow-card); }
.valley-block-header {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.valley-block-icon {
  width: 60px; height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-soft) 0%, var(--gold-soft) 100%);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.valley-block-header h3 {
  font-size: 1.6rem;
  margin: 0 0 .25rem;
  line-height: 1.1;
}
.valley-block-header h3 a {
  color: var(--fg);
  text-decoration: none;
}
.valley-block-header h3 a:hover {
  color: var(--sage);
}
.valley-block-sub {
  font-size: .9rem;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.valley-hike-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: .5rem;
}
.valley-hike-link {
  display: block;
  padding: .8rem 1rem;
  background: var(--bg-alt);
  border-radius: .6rem;
  text-decoration: none;
  color: inherit;
  transition: all .15s ease;
  border: 1px solid transparent;
}
.valley-hike-link:hover {
  background: var(--card);
  border-color: var(--sage);
  transform: translateX(3px);
  text-decoration: none;
}
.valley-hike-link .valley-hike-name {
  font-weight: 500;
  color: var(--fg);
  font-size: .96rem;
  margin-bottom: .15rem;
}
.valley-hike-link .valley-hike-meta {
  font-size: .78rem;
  color: var(--muted);
}
.valley-block-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .88rem;
  color: var(--sage);
  font-weight: 500;
  text-decoration: none;
}
.valley-block-more:hover { color: var(--sage-dark); text-decoration: underline; }

/* ─────────── CTA "EARLY" — subito dopo lo stat strip ─────────── */
.cta-early {
  margin: 3rem 0 !important;
  padding: 2.5rem 2rem !important;
}
.cta-early h2 { font-size: clamp(1.5rem, 3vw, 1.9rem) !important; }

/* ─────────── HIKE PAGE — feature list contestuali all'app ─────────── */
.hike-features-list {
  display: flex; flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}
.hike-feature-row {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  transition: all .15s ease;
}
.hike-feature-row:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-card);
}
.hike-feature-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hike-feature-body h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  margin: 0 0 .25rem;
  color: var(--fg);
  letter-spacing: -.005em;
}
.hike-feature-body p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* CTA principale della pagina sentiero — più grande della norma */
.cta-hike-primary {
  margin-top: 2rem !important;
  padding: 3.5rem 2rem !important;
}
.cta-hike-primary h2 em {
  color: var(--gold);
  font-style: italic;
}

@media (max-width: 600px) {
  .app-features-grid { grid-template-columns: 1fr; }
  .valley-hike-list { grid-template-columns: 1fr; }
  .valley-block { padding: 1.5rem 1.25rem; }
  .valley-block-header { flex-direction: column; align-items: flex-start; text-align: left; gap: .75rem; }
  .valley-block-icon { width: 48px; height: 48px; }
  .valley-block-header h3 { font-size: 1.35rem; }
  .hike-feature-row { padding: 1rem 1.15rem; gap: 1rem; }
}

/* ─────────── LEAFLET LIVE MAP (pagina sentiero) ─────────── */
.hike-map-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 1rem 0 .5rem;
}
.hike-live-map {
  width: 100%;
  height: 420px;
  background: var(--bg-alt);
  position: relative;
}
.map-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .8rem;
  color: var(--muted);
  z-index: 1;
}
.map-loading-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: mapSpin 0.9s linear infinite;
}
@keyframes mapSpin { to { transform: rotate(360deg); } }
.map-loading-text {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
  font-style: italic;
}
.map-error {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .6rem;
  color: var(--muted);
  padding: 1rem; text-align: center;
}
.map-error-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--terracotta);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; font-weight: 700;
}
.map-error-text {
  font-family: 'Playfair Display', serif;
  font-size: .95rem;
}
.map-error + * { display: none; }
._legacy_hide {
  content: "";
  position: absolute; inset: 0;
  display: none; align-items: center; justify-content: center;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
}
.map-attribution {
  padding: .5rem 1rem;
  background: var(--bg-alt);
  font-size: .72rem;
  color: var(--muted);
  text-align: right;
  border-top: 1px solid var(--border);
}
.map-attribution a {
  color: var(--sage);
  text-decoration: none;
}
.map-attribution a:hover { text-decoration: underline; }
/* Override Leaflet defaults per look coerente col design */
.leaflet-container {
  font-family: 'DM Sans', sans-serif !important;
  background: var(--bg-alt) !important;
}
.leaflet-control-attribution { display: none !important; }
.leaflet-control-zoom a {
  background: white !important;
  color: var(--fg) !important;
  border-color: var(--border) !important;
}
.leaflet-tooltip {
  background: rgba(44,24,16,0.92) !important;
  color: white !important;
  border: 0 !important;
  border-radius: .4rem !important;
  padding: .3rem .6rem !important;
  font-weight: 500 !important;
  box-shadow: 0 4px 12px -2px rgba(44,24,16,0.25) !important;
}
.leaflet-tooltip::before { display: none !important; }
@media (max-width: 600px) {
  .hike-live-map { height: 320px; }
}

/* ─────────── VALLEY BANDS — scroll orizzontale per valle ─────────── */
.valley-band {
  margin-bottom: 3rem;
}
.valley-band-header {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0 1.5rem;
  margin-bottom: 1.25rem;
  max-width: 1200px;
  margin-left: auto; margin-right: auto;
}
.valley-band-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage-soft) 0%, var(--gold-soft) 100%);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.valley-band-title { flex: 1; min-width: 0; }
.valley-band-title h3 {
  font-size: 1.75rem;
  margin: 0 0 .2rem;
  line-height: 1.1;
  color: var(--fg);
}
.valley-band-sub {
  font-size: .88rem;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-style: italic;
}
.valley-band-more {
  font-size: .85rem;
  color: var(--sage) !important;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  padding: .5rem .85rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all .15s ease;
}
.valley-band-more:hover {
  border-color: var(--sage);
  background: var(--sage-soft);
}

/* La riga scroll orizzontale */
.scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: .5rem 1.5rem 1.5rem;
  scroll-padding-left: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--muted-soft) transparent;
}
.scroll-row::-webkit-scrollbar { height: 8px; }
.scroll-row::-webkit-scrollbar-track { background: transparent; }
.scroll-row::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 100px;
}
.scroll-row::-webkit-scrollbar-thumb:hover { background: var(--muted-soft); }

/* Card singola dentro lo scroll */
.scroll-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .2s ease;
  display: flex; flex-direction: column;
  gap: .5rem;
  min-height: 200px;
}
.scroll-card:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.scroll-card:hover .scroll-card-cta { color: var(--sage-dark); }
.scroll-card:hover .scroll-card-cta .arrow { transform: translateX(4px); }
.scroll-card-cat {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .2rem;
}
.scroll-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.25;
  letter-spacing: -.01em;
  flex-grow: 1;
}
.scroll-card-meta {
  display: flex; gap: .75rem; flex-wrap: wrap;
  font-size: .78rem;
  color: var(--muted);
  padding-top: .5rem;
  border-top: 1px dashed var(--border);
}
.scroll-card-meta strong { color: var(--fg); font-weight: 500; }
.scroll-card-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sage);
  margin-top: .5rem;
  transition: color .15s ease;
}
.scroll-card-cta .arrow { transition: transform .2s ease; }

@media (max-width: 600px) {
  .scroll-card { flex-basis: 240px; min-height: 180px; padding: 1.1rem 1.15rem; }
  .valley-band-header { flex-wrap: wrap; padding: 0 1rem; }
  .valley-band-title h3 { font-size: 1.4rem; }
  .valley-band-icon { width: 44px; height: 44px; }
  .scroll-row { padding: .5rem 1rem 1.25rem; scroll-padding-left: 1rem; }
}

/* ─────────── HIKE ROWS — lista compatta scorrevole ─────────── */
.hike-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: .35rem;
}
.hike-row {
  display: flex; align-items: stretch;
  gap: 0;
  border-radius: .7rem;
  overflow: hidden;
  background: var(--bg-alt);
  transition: all .15s ease;
  border: 1px solid transparent;
}
.hike-row:hover {
  background: var(--card);
  border-color: var(--sage);
  transform: translateX(3px);
}
.hike-row-main {
  flex: 1;
  padding: .85rem 1.15rem;
  display: flex; flex-direction: column;
  gap: .15rem;
  text-decoration: none !important;
  color: inherit !important;
  min-width: 0;
}
.hike-row-name {
  font-weight: 600;
  color: var(--fg);
  font-size: 1rem;
  letter-spacing: -.005em;
}
.hike-row-meta {
  font-size: .8rem;
  color: var(--muted);
}
.hike-row-info {
  display: flex; align-items: center; justify-content: center;
  padding: 0 1rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted) !important;
  text-decoration: none !important;
  border-left: 1px solid var(--border);
  transition: all .15s ease;
  min-width: 60px;
  font-weight: 600;
}
.hike-row-info:hover {
  background: var(--sage-soft);
  color: var(--sage-dark) !important;
}
@media (max-width: 600px) {
  .hike-row-info { min-width: 50px; padding: 0 .75rem; font-size: .68rem; }
  .hike-row-main { padding: .75rem 1rem; }
  .hike-row-name { font-size: .95rem; }
  .hike-row-meta { font-size: .75rem; }
}

/* ─────────── 3D Explorer — link nav header ─────────── */
.nav-3d {
  color: var(--fg) !important;
  background: linear-gradient(135deg, var(--sage-soft) 0%, var(--gold-soft) 100%);
  padding: .35rem .8rem !important;
  border-radius: 100px;
  font-weight: 600 !important;
  border-bottom: none !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}
.nav-3d:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
  border-bottom: none !important;
}
@media (max-width: 720px) {
  .nav-3d { display: inline-flex !important; padding: .3rem .65rem !important; font-size: .85rem !important; }
}

/* ─────────── 3D valley grid (homepage) ─────────── */
.valley-3d-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem auto 4rem;
  max-width: 1200px;
  padding: 0 1.5rem;
}
.valley-3d-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #2C1810 0%, #3A2419 50%, #1A0F0A 100%);
  color: white !important;
  border-radius: 1.25rem;
  text-decoration: none !important;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.valley-3d-card::before {
  content: "";
  position: absolute; top: -30%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(212,169,75,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.valley-3d-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.valley-3d-card .valley-3d-icon {
  color: var(--gold);
  opacity: .95;
}
.valley-3d-card .valley-3d-body {
  text-align: center;
  position: relative;
  z-index: 1;
}
.valley-3d-card .valley-3d-kicker {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .35rem;
}
.valley-3d-card h3 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.35rem;
  margin: 0 0 .75rem;
}
.valley-3d-card .valley-3d-cta {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold);
  transition: transform .2s ease;
}
.valley-3d-card:hover .valley-3d-cta .arrow { transform: translateX(4px); }

/* ─────────── 3D banner (pagina valle) ─────────── */
.valle-3d-banner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #2C1810 0%, #3A2419 60%, var(--sage-dark) 100%);
  color: white;
  border-radius: 1rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.valle-3d-banner::before {
  content: "";
  position: absolute; top: -50%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212,169,75,0.20) 0%, transparent 65%);
  pointer-events: none;
}
.valle-3d-banner-body {
  flex: 1;
  position: relative;
  z-index: 1;
}
.valle-3d-banner-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--gold);
  margin-bottom: .35rem;
}
.valle-3d-banner h3 {
  font-family: 'Playfair Display', serif;
  color: white;
  font-size: 1.5rem;
  margin: 0 0 .5rem;
}
.valle-3d-banner p {
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin: 0;
  line-height: 1.5;
}
.valle-3d-banner-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem;
  background: var(--gold);
  color: #2C1810 !important;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  z-index: 1;
  position: relative;
}
.valle-3d-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(212,169,75,0.4);
}
.valle-3d-banner-cta:hover .arrow { transform: translateX(4px); }
@media (max-width: 600px) {
  .valle-3d-banner { flex-direction: column; align-items: flex-start; }
  .valle-3d-banner-cta { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG — hub + articolo singolo
   ═══════════════════════════════════════════════════════════ */
.blog-hero {
  text-align: center;
  max-width: 800px;
  margin: 3rem auto 3.5rem;
  padding: 0 1.5rem;
}
.blog-hero .section-label {
  color: var(--gold);
  margin-bottom: 1rem;
}
.blog-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 1.5rem;
  line-height: 1.1;
}
.blog-hero h1 em {
  color: var(--sage);
  font-weight: 500;
}
.blog-hero-lede {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto 6rem;
  padding: 0 1.5rem;
}
.blog-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .25s ease;
  box-shadow: var(--shadow-card);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.blog-card-cover {
  aspect-ratio: 9/4;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-card-cover svg { width: 100%; height: 100%; display: block; }
.blog-card-body {
  padding: 1.5rem;
  display: flex; flex-direction: column;
  flex: 1;
}
.blog-card-cat {
  font-size: .72rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .5rem;
}
.blog-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 .75rem;
  color: var(--fg);
}
.blog-card-excerpt {
  font-size: .95rem;
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.55;
  flex: 1;
}
.blog-card-meta {
  display: flex; gap: .5rem;
  font-size: .82rem;
  color: var(--muted-soft);
  padding-top: .75rem;
  border-top: 1px dashed var(--border);
}

/* ───────── Articolo singolo ───────── */
.post-container {
  max-width: 100%;
}
.post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
.post-header {
  text-align: center;
  padding: 2rem 0 2.5rem;
}
.post-category {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: white;
  background: var(--sage-dark);
  font-weight: 700;
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.post-header h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: var(--fg);
  letter-spacing: -.02em;
}
.post-meta {
  color: var(--muted);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  gap: .5rem;
}
.post-meta .dot-sep { opacity: .5; }
.post-cover {
  aspect-ratio: 9/4;
  border-radius: 1.25rem;
  overflow: hidden;
  margin: 0 auto 2.5rem;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
}
.post-cover svg { width: 100%; height: 100%; display: block; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Body dell'articolo — massima leggibilità */
.post-body {
  font-family: 'DM Sans', -apple-system, sans-serif;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--fg-soft);
  max-width: 65ch;
  margin: 0 auto;
}
.post-body p { margin: 0 0 1.25rem; }
.post-body p:first-of-type {
  font-size: 1.25rem;
  color: var(--fg);
  font-weight: 400;
}
.post-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--fg);
  margin: 2.5rem 0 1rem;
  letter-spacing: -.01em;
  line-height: 1.25;
}
.post-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--fg);
  margin: 2rem 0 .75rem;
}
.post-body ul, .post-body ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}
.post-body li {
  margin-bottom: .5rem;
}
.post-body a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: .2em;
  text-decoration-thickness: .1em;
}
.post-body a:hover { color: var(--sage); }
.post-body strong { color: var(--fg); font-weight: 600; }
.post-body code {
  background: var(--bg-alt);
  padding: .1em .4em;
  border-radius: .3em;
  font-size: .9em;
  font-family: 'SF Mono', Menlo, monospace;
  color: var(--terracotta);
}
.post-body hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 2.5rem auto;
  max-width: 200px;
}
.post-body blockquote {
  border-left: 3px solid var(--gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
}
.post-body img {
  border-radius: .75rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-card);
}
.post-pullquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.35;
  color: var(--fg);
  text-align: center;
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.post-callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--sage);
  padding: 1.25rem 1.5rem;
  border-radius: 0 .75rem .75rem 0;
  margin: 2rem 0;
  font-size: 1.05rem;
  color: var(--fg-soft);
}

/* CTA fine articolo */
.cta-post-end {
  max-width: 720px;
  margin: 4rem auto 3rem !important;
}

/* Post correlati */
.post-related {
  max-width: 720px;
  margin: 0 auto;
}
.post-related .section-label {
  color: var(--gold);
  display: block;
  text-align: center;
  margin-bottom: 1.5rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.related-post {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-decoration: none !important;
  color: inherit !important;
  transition: all .15s ease;
}
.related-post:hover {
  border-color: var(--sage);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.related-post .related-cat {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: .5rem;
}
.related-post h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--fg);
  margin: 0 0 .5rem;
}
.related-post .related-meta {
  font-size: .78rem;
  color: var(--muted);
}

@media (max-width: 600px) {
  .post-body { font-size: 1.05rem; }
  .post-body p:first-of-type { font-size: 1.15rem; }
  .post-pullquote { font-size: 1.3rem; }
  .blog-hero { margin-top: 2rem; }
}

/* ─────────── Blog: sezioni per categoria ─────────── */
.blog-section {
  margin: 3.5rem auto 2rem;
  max-width: 1200px;
  padding: 0 1.5rem;
}
.blog-section-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
}
.blog-section-header h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--fg);
  margin: .5rem 0 .8rem;
  letter-spacing: -0.02em;
}
.blog-section-intro {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .blog-section { margin: 2.5rem auto 1.5rem; padding: 0 1rem; }
  .blog-section-header { padding-top: 1rem; margin-bottom: 1.25rem; }
}

/* ─────────── Blog cover con foto reale ─────────── */
.blog-card-cover.has-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-alt);
}
.blog-card-cover.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-cover.has-photo img { transform: scale(1.04); }

/* ─────────── Carosello foto (stile Instagram con peek) ─────────── */
.post-carousel {
  position: relative;
  max-width: 780px;              /* più stretto: contenitore complessivo */
  margin: 2rem auto 2.5rem;
  padding: 0;
}
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 1rem;
  padding: 0 12%;                /* mostra ~12% di ciascun lato: peek prev/next */
  scroll-padding: 0 12%;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 76%;                 /* slide centrale ~76% del contenitore */
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 4/5;
  max-height: 70vh;              /* non superare mai il 70% della finestra */
  overflow: hidden;
  background: #000;
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: filter .3s ease, transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}
/* Blur laterali attivo solo quando JS ha inizializzato il carosello.
   Se JS fallisce, tutte le foto restano nitide (fallback graceful). */
.post-carousel.is-js-ready .carousel-slide {
  filter: blur(5px) brightness(0.8);
  transform: scale(0.94);
  opacity: 0.85;
  cursor: pointer;
}
.post-carousel.is-js-ready .carousel-slide.is-current {
  filter: none;
  transform: scale(1);
  opacity: 1;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
  cursor: zoom-in;
}

/* ─────────── Lightbox fullscreen per foto blog ─────────── */
.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
  cursor: zoom-out;
  -webkit-tap-highlight-color: transparent;
}
.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.photo-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border-radius: .3rem;
}
.photo-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  z-index: 2;
}
.photo-lightbox-close:hover { background: rgba(255,255,255,0.3); }
.photo-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  z-index: 2;
}
.photo-lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.photo-lightbox-prev { left: 1rem; }
.photo-lightbox-next { right: 1rem; }
.photo-lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: .9rem;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  z-index: 2;
}
@media (max-width: 600px) {
  .photo-lightbox-nav { width: 40px; height: 40px; }
  .photo-lightbox-prev { left: .5rem; }
  .photo-lightbox-next { right: .5rem; }
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--fg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
  transition: background .15s ease, transform .15s ease;
  z-index: 3;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.carousel-nav:hover { background: white; transform: translateY(-50%) scale(1.08); }
.carousel-prev { left: 4%; }
.carousel-next { right: 4%; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .9rem;
  pointer-events: none;
}
.carousel-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}
.carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.4);
}
@media (max-width: 600px) {
  .post-carousel { margin: 1.25rem 0 2rem; max-width: 100%; }
  .carousel-track { padding: 0 10%; scroll-padding: 0 10%; gap: .6rem; }
  .carousel-slide { flex-basis: 80%; border-radius: .8rem; max-height: 78vh; }
  .carousel-nav { display: none; }
}

/* ─────────── Box "Il sentiero completo" (doppio CTA) ─────────── */
.hike-link-box {
  max-width: 780px;
  margin: 3rem auto 2rem;
  padding: 0 1.5rem;
}
.hike-link-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .4rem;
  text-align: center;
}
.hike-link-title-main {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 600;
  color: var(--fg);
  text-align: center;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}
.hike-link-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hike-link-actions-single {
  grid-template-columns: 1fr;
  max-width: 480px;
  margin: 0 auto;
}
.hike-link-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .35rem;
  padding: 1.4rem 3rem 1.4rem 1.4rem;
  border-radius: 1rem;
  text-decoration: none;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: hidden;
}
.hike-link-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}
.hike-link-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.hike-link-cta-primary {
  background: linear-gradient(135deg, var(--fg) 0%, #3a2418 100%);
  color: var(--bg);
  box-shadow: 0 4px 14px rgba(44,24,16,0.25);
  animation: cta-button-pulse 2.4s ease-out infinite;
}
.hike-link-cta-secondary {
  background: var(--card);
  color: var(--fg);
  border: 1px solid var(--border);
}
.hike-link-cta-kicker {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: .82rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
}
.hike-link-cta-primary .hike-link-cta-kicker { color: var(--gold); opacity: 1; }
.hike-link-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
}
.hike-link-cta-hint {
  font-size: .85rem;
  opacity: 0.8;
  line-height: 1.4;
  margin-top: .15rem;
}
.hike-link-arrow {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.hike-link-cta-primary .hike-link-arrow { color: var(--gold); }
.hike-link-cta-secondary .hike-link-arrow { color: var(--gold); }
.hike-link-cta:hover .hike-link-arrow { transform: translateY(-50%) translateX(4px); }
.hike-link-arrow svg { display: block; }

@media (max-width: 640px) {
  .hike-link-actions { grid-template-columns: 1fr; gap: .75rem; }
  .hike-link-cta { padding: 1.15rem 2.75rem 1.15rem 1.15rem; }
  .hike-link-cta-title { font-size: 1.1rem; }
}

/* ─────────── Contatti ─────────── */
.contact-links { display: grid; gap: .75rem; }
@media (min-width: 640px) { .contact-links { grid-template-columns: 1fr 1fr; } }
.contact-card {
  display: block; padding: 1rem 1.25rem; border-radius: 1rem;
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--fg); transition: border-color .2s;
}
.contact-card:hover { border-color: var(--sage); }
.contact-label { display: block; font-size: .8rem; color: var(--muted); }
.contact-value { display: block; font-weight: 600; word-break: break-word; }
.contact-form { display: grid; gap: 1rem; max-width: 36rem; }
.contact-form h2 { margin-bottom: .25rem; }
.contact-form label { display: grid; gap: .35rem; font-size: .9rem; color: var(--muted); }
.contact-form input, .contact-form textarea {
  font: inherit; font-size: 1rem; color: var(--fg); background: var(--card);
  border: 1px solid var(--border); border-radius: .75rem; padding: .75rem .9rem; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.contact-form textarea { resize: vertical; min-height: 9rem; }
.contact-form .cta-button { justify-self: start; border: 0; cursor: pointer; }
.contact-form .cta-button[disabled] { opacity: .6; cursor: wait; }
.contact-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-status { min-height: 1.4em; font-size: .95rem; }
.contact-status.ok { color: var(--sage-dark); }
.contact-status.err { color: #9c3d2b; }
.contact-note { font-size: .8rem; color: var(--muted); }

/* ─────────── Fonts ───────────
   Le regole @font-face sono in /fonts/fonts.css (font ospitati sul sito).
   Qui c'era un @font-face con src: local() che, venendo dopo, poteva
   "coprire" il Playfair vero su chi non lo ha installato nel computer. */

/* ─────────── v5: disegni delle tracce, hero con mappa, tempi ─────────── */
.home-hero.has-map { text-align: left; }
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  position: relative; z-index: 1;
}
.home-hero.has-map .home-hero-text .lead { margin-left: 0; margin-right: 0; }
.home-hero.has-map .hero-trust { text-align: left; }
.home-hero.has-map h1 { text-align: left; font-size: clamp(2.4rem, 4.4vw, 3.9rem); }
.home-hero-map {
  margin: 0;
  background:
    radial-gradient(circle at 1px 1px, rgba(117,96,74,.16) 1px, transparent 0) 0 0 / 18px 18px,
    rgba(255,255,255,.75);
  border: 1px solid var(--border);
  border-radius: 2rem;
  padding: 1rem;
  box-shadow: var(--shadow-card);
}
.tracks-label {
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 17px;
  paint-order: stroke; stroke: rgba(255,255,255,.92); stroke-width: 5px; stroke-linejoin: round;
  opacity: 0; animation: label-in .6s ease 1.2s forwards;
}
@keyframes label-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tracks-label { animation: none; opacity: 1; } }
.home-hero.has-map .scroll-indicator { display: flex; width: max-content; margin: 2.5rem auto 0; position: relative; z-index: 1; }
.home-hero-map svg { width: 100%; height: auto; display: block; }
.hero-map-legend {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem .9rem;
  margin-top: .5rem; font-size: .82rem;
}
.hero-map-legend a { color: var(--fg) !important; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; }
.hero-map-legend a:hover { text-decoration: underline; }
.hero-map-legend span { width: .7rem; height: .7rem; border-radius: 50%; display: inline-block; }
@media (max-width: 860px) {
  .home-hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-hero.has-map, .home-hero.has-map h1, .home-hero.has-map .hero-trust { text-align: center; }
  .home-hero.has-map .home-hero-text .lead { margin-left: auto; margin-right: auto; }
  .home-hero-map { max-width: 460px; margin: 0 auto; }
}

/* Linee che si disegnano */
.tracks-animate path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: track-draw 1.6s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes track-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .tracks-animate path { animation: none; stroke-dashoffset: 0; }
}

/* Schede sentiero con il disegno della traccia */
.scroll-card.has-art { padding-top: .9rem; min-height: 0; }
.scroll-card-art {
  position: relative;
  margin: 0 -.45rem .35rem;
  border-radius: .75rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(117,96,74,.16) 1px, transparent 0) 0 0 / 12px 12px,
    var(--bg-alt);
  aspect-ratio: 5 / 3;
  overflow: hidden;
}
.scroll-card-art .track-thumb { width: 100%; height: 100%; display: block; }
.scroll-card:hover .track-thumb path { stroke-width: 6; }
.scroll-card-diff {
  position: absolute; top: .5rem; right: .5rem;
  font-size: .66rem; font-weight: 700; letter-spacing: .04em;
  padding: .2rem .5rem; border-radius: 100px;
}

/* Valle: mappa di tutte le tracce + righe con miniatura */
.valle-map {
  margin: 1rem auto 2rem;
  padding: 1rem;
  background:
    radial-gradient(circle at 1px 1px, rgba(117,96,74,.14) 1px, transparent 0) 0 0 / 16px 16px,
    var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
}
.valle-map svg { width: 100%; height: auto; display: block; max-height: 420px; }
.valle-map figcaption { text-align: center; font-size: .8rem; color: var(--muted); margin-top: .5rem; font-style: italic; }
.hike-row { align-items: center; }
.hike-row-art {
  flex: 0 0 64px; width: 64px; height: 40px;
  border-radius: .5rem; overflow: hidden; background: var(--bg-alt); margin-right: .75rem;
}
.hike-row-art .track-thumb { width: 100%; height: 100%; display: block; }

/* Card 3D: le tracce della valle in oro */
.valley-3d-card .valley-3d-icon { width: 100%; }
.valley-3d-tracks { width: 100%; height: auto; max-height: 120px; display: block; opacity: .9; }
.valley-3d-card:hover .valley-3d-tracks { opacity: 1; }
@media (min-width: 1100px) { .valley-3d-grid { grid-template-columns: repeat(5, 1fr); max-width: 1320px; } }

/* Funzioni dell'app: 3 colonne su schermo largo (niente card orfana) */
@media (min-width: 980px) { .app-features-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pagina sentiero: quota e tempi */
.elev-range { color: var(--muted); margin: -.25rem 0 .75rem; }
.elev-range strong { color: var(--fg); }
.pace-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 .5rem; }
.pace-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 1rem;
  padding: 1rem .9rem; text-align: center;
}
.pace-card.is-main { background: #2C1810; border-color: #2C1810; color: white; box-shadow: var(--shadow-card); }
.pace-name { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.pace-time { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; margin: .25rem 0; color: var(--fg); font-variant-numeric: tabular-nums; }
.pace-card.is-main .pace-time { color: white; }
.pace-sub { font-size: .74rem; color: var(--muted); }
.pace-card.is-main .pace-sub { color: rgba(255,255,255,.75); }
@media (max-width: 560px) {
  .pace-grid { grid-template-columns: 1fr; }
  .pace-card { display: grid; grid-template-columns: 1fr auto; text-align: left; align-items: center; column-gap: .75rem; }
  .pace-time { grid-row: span 2; margin: 0; font-size: 1.5rem; }
}

/* ─────────── v6: rilievo vero sotto le tracce ─────────── */
.relief-map { display: block; width: 100%; height: auto; background: #7e9668; }
.relief-label {
  font-family: 'Playfair Display', serif; font-weight: 700;
  paint-order: stroke; stroke: rgba(255,255,255,.95); stroke-linejoin: round;
  opacity: 0; animation: label-in .6s ease 1.4s forwards;
}
@media (prefers-reduced-motion: reduce) { .relief-label { animation: none; opacity: 1; } }
.home-hero-map:has(.relief-map) {
  padding: 0; overflow: hidden; background: #7e9668;
  border: 0; border-radius: 2rem;
  box-shadow: 0 30px 80px -24px rgba(44,24,16,.45), 0 0 0 1px rgba(44,24,16,.06);
  transform: rotate(-1deg);
}
.home-hero-map:has(.relief-map) .hero-map-legend {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem; margin: 0;
  padding: .5rem .75rem; border-radius: 100px;
  background: rgba(250,248,245,.92); backdrop-filter: blur(6px);
  box-shadow: 0 4px 16px rgba(44,24,16,.15);
}
.home-hero-map { position: relative; }
.home-hero-map .relief-caption {
  position: absolute; top: .9rem; left: .9rem;
  padding: .3rem .7rem; border-radius: 100px;
  background: rgba(44,24,16,.72); color: #FAF8F5; font-size: .74rem; font-weight: 600; letter-spacing: .02em;
}
@media (max-width: 860px) { .home-hero-map:has(.relief-map) { transform: none; max-width: 520px; } }
.valle-map:has(.relief-map) { padding: 0; overflow: hidden; background: #7e9668; border: 0; box-shadow: var(--shadow-card); }
.valle-map:has(.relief-map) svg { max-height: none; }
.valle-map:has(.relief-map) figcaption { background: var(--bg-alt); margin: 0; padding: .6rem 1rem; }
.valley-3d-card .valley-3d-relief {
  border-radius: .9rem; box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .3s ease;
}
.valley-3d-card:hover .valley-3d-relief { transform: scale(1.04) rotate(-1deg); }


/* Header: una riga sola anche sul telefono, bottone che non va a capo */
.site-header .brand { flex-shrink: 0; }
.nav-cta { white-space: nowrap; display: inline-flex !important; align-items: center; gap: .35rem; }
.nav-cta svg { flex: 0 0 auto; }
@media (max-width: 720px) {
  .site-header nav { flex-wrap: nowrap; }
  .nav-links {
    order: 0; flex-basis: auto; padding-top: 0; border-top: 0; margin-top: 0;
    gap: .85rem; align-items: center; justify-content: flex-end;
  }
}
@media (max-width: 360px) { .nav-links > a[href="/blog/"] { display: none; } }
@media (max-width: 440px) { .nav-links .nav-ig { display: none !important; } .nav-links { gap: .7rem; } }
@media (max-width: 400px) {
  .nav-cta { padding: .45rem .8rem !important; }
}
/* Con il rilievo non serve la sagoma di montagne dietro al titolo */
.home-hero.has-map .backdrop { display: none; }
.home-hero.has-map { padding-top: 3.5rem; }
@media (max-width: 860px) {
  .home-hero-map:has(.relief-map) .hero-map-legend {
    position: static; border-radius: 0; box-shadow: none; backdrop-filter: none;
    background: var(--card); padding: .6rem .75rem;
  }
}

/* Sentiero: il percorso sul rilievo, sotto il titolo */
.hike-relief-wrap { margin: 0 0 1.5rem; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 18px 50px -20px rgba(44,24,16,.45); background: #7e9668; }
.hike-relief-wrap figcaption { background: var(--bg-alt); font-size: .78rem; color: var(--muted); text-align: center; padding: .5rem 1rem; font-style: italic; }

/* Homepage: invito al pianificatore */
.planner-teaser {
  display: grid; gap: .35rem; margin: 0 auto 3rem; max-width: 780px; padding: 1.4rem 1.6rem;
  border-radius: 1.5rem; text-decoration: none !important; color: var(--fg) !important;
  background: linear-gradient(120deg, rgba(250,248,245,.94) 30%, rgba(250,248,245,.55)), url(/img/rilievo-cuneo.webp) center / cover;
  border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.planner-teaser:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.planner-teaser .pt-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--terracotta); }
.planner-teaser .pt-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.6rem; line-height: 1.15; }
.planner-teaser .pt-text { color: var(--fg-soft); max-width: 560px; }
.planner-teaser .pt-cta { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--sage-dark); }

/* ─────────── v7: app ovunque sulla scheda sentiero ─────────── */
.nav-ig { display: inline-flex !important; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border-bottom: none !important; color: var(--fg) !important; transition: background .2s ease, color .2s ease; }
.nav-ig:hover { background: var(--bg-alt); color: #C13584 !important; }
.nav-ig .ig-ico { display: block; }
.hike-hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1.4rem; }
.hike-hero-ctas .btn-hero { padding: .95rem 1.6rem; }
.hike-hero-sub { font-size: .85rem; color: var(--muted); }
a.hike-stats { text-decoration: none !important; color: inherit !important; position: relative; transition: background .2s ease, box-shadow .2s ease; }
a.hike-stats .cell, a.hike-stats .lbl, a.hike-stats .val { display: block; }
a.hike-stats:hover { background: #EFE9DF; box-shadow: inset 0 0 0 2px var(--sage); }
a.hike-stats::after { content: "Apri nell'app →"; position: absolute; right: .6rem; bottom: -1.55rem; font-size: .76rem; font-weight: 700; color: var(--sage-dark); }
.map-with-cta { position: relative; }
.map-open-app { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 500; display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1.2rem; border-radius: 100px; background: var(--sage); color: #fff !important; font-weight: 700; font-size: .92rem; text-decoration: none !important; box-shadow: 0 6px 20px rgba(44,24,16,.28); white-space: nowrap; }
.map-open-app:hover { background: var(--sage-dark); }
.app-hint { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .85rem; padding: .75rem 1rem; border-radius: 14px; background: #EEF5EF; border: 1px solid #CFE2D3; color: var(--fg) !important; text-decoration: none !important; font-size: .9rem; line-height: 1.4; transition: background .2s ease, border-color .2s ease; }
.app-hint:hover { background: #E2EFE5; border-color: var(--sage); }
.app-hint b { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .3rem; color: var(--sage-dark); white-space: nowrap; }
.app-hint b .arrow { width: 16px; height: 16px; }
.inline-app { display: inline-flex; align-items: center; gap: .25rem; font-weight: 700; color: var(--sage-dark) !important; white-space: nowrap; }
.inline-app .arrow { width: 15px; height: 15px; }
.hike-tools { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-top: .8rem; }
.hike-tool { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: 16px; background: var(--card); border: 1px solid var(--border); color: var(--fg) !important; text-decoration: none !important; transition: border-color .2s ease, transform .2s ease; }
.hike-tool:hover { border-color: var(--terracotta); transform: translateY(-1px); }
.hike-tool svg { flex: 0 0 auto; color: var(--terracotta); }
.hike-tool b { display: block; font-size: .95rem; }
.hike-tool small { display: block; font-size: .78rem; color: var(--muted); }
@media (max-width: 600px) { .hike-tools { grid-template-columns: 1fr; } }
.app-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(250,248,245,.96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(44,24,16,.12); transform: translateY(110%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.app-sticky.on { transform: none; }
.app-sticky-in { max-width: 780px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.app-sticky-txt { min-width: 0; }
.app-sticky-txt b { display: block; font-family: 'Playfair Display', serif; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-sticky-txt small { display: block; font-size: .78rem; color: var(--muted); }
.app-sticky-btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .4rem; padding: .7rem 1.15rem; border-radius: 100px; background: var(--sage); color: #fff !important; font-weight: 700; font-size: .92rem; text-decoration: none !important; }
@media (prefers-reduced-motion: reduce) { .app-sticky { transition: none; } }

/* Anteprime delle schede: traccia sul rilievo vero */
.scroll-card-art .relief-thumb { width: 100%; height: 100%; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); filter: saturate(1.05) contrast(1.04); }
.scroll-card:hover .relief-thumb { transform: scale(1.05); }
.relief-thumb-lazy { display: block; width: 100%; overflow: hidden; background: #E9ECE6 url(/img/rilievo-cuneo.webp) no-repeat; }
.relief-thumb-lazy img { display: block; width: 100%; height: 100%; object-fit: cover; }
.scroll-card-art:has(.relief-thumb)::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(44,24,16,.08), inset 0 -30px 40px -30px rgba(44,24,16,.25); border-radius: inherit; }
.scroll-card-art .scroll-card-diff { z-index: 1; box-shadow: 0 1px 4px rgba(0,0,0,.15); }

/* Homepage: assaggio del pianificatore */
.plan-try { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; margin: 2.5rem 0; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.plan-try-form { padding: 2rem 2rem 1.6rem; }
.plan-try .pt-kicker { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); }
.plan-try h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: .4rem 0 .5rem; line-height: 1.15; }
.plan-try-lede { color: var(--fg-soft); font-size: .98rem; margin: 0 0 1.1rem; }
.ptf { display: flex; align-items: center; gap: .6rem; margin-bottom: .55rem; }
.ptf-dot { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: #fff; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }
.ptf-dot.a { background: #4A7C59; } .ptf-dot.b { background: #2C1810; }
.ptf-in { position: relative; flex: 1; min-width: 0; }
.ptf-in input { width: 100%; height: 50px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg); padding: 0 1rem; font: inherit; font-size: 1rem; color: var(--fg); outline: none; }
.ptf-in input:focus { border-color: var(--sage); box-shadow: 0 0 0 3px rgba(74,124,89,.15); background: #fff; }
.ptf-res { position: absolute; left: 0; right: 0; top: 54px; z-index: 50; background: var(--card); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-soft); max-height: 300px; overflow-y: auto; }
.ptf-res[hidden] { display: none; }
.ptf-res button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: .6rem .9rem; cursor: pointer; font: inherit; color: var(--fg); }
.ptf-res button:hover, .ptf-res button.on { background: var(--bg-alt); }
.ptf-res b { display: block; font-size: .95rem; font-weight: 600; }
.ptf-res small { display: block; font-size: .76rem; color: var(--muted); }
.ptf-res .sep { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .5rem .9rem .15rem; }
.plan-try-go { margin-top: .5rem; width: 100%; justify-content: center; }
.plan-try-go[disabled] { opacity: .55; cursor: default; transform: none !important; }
.plan-try-ex { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .82rem; color: var(--muted); }
.plan-try-ex button { border: 1px solid var(--border); background: var(--bg); color: var(--fg); border-radius: 100px; padding: .3rem .75rem; font: inherit; font-size: .8rem; cursor: pointer; }
.plan-try-ex button:hover { border-color: var(--sage); }
.pt-found[hidden], .pt-step-a[hidden] { display: none; }
.pt-found { margin: .7rem 0 .2rem; border: 1.5px solid rgba(74,124,89,.35); background: linear-gradient(180deg, rgba(74,124,89,.08), rgba(74,124,89,.03)); border-radius: 18px; padding: .95rem 1rem 1rem; animation: ptin .35s ease both; }
.pt-found .k { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sage); display: flex; align-items: center; gap: .4rem; }
.pt-found .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 4px rgba(74,124,89,.18); }
.pt-hk { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid rgba(74,124,89,.15); }
.pt-hk:last-of-type { border-bottom: 0; }
.pt-hk .t { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.08rem; line-height: 1.2; color: var(--fg); }
.pt-hk .m { grid-column: 1; font-size: .8rem; color: var(--muted); }
.pt-hk .go { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: .35rem; background: var(--sage); color: #fff; text-decoration: none; font-weight: 700; font-size: .86rem; padding: .62rem .95rem; border-radius: 100px; white-space: nowrap; box-shadow: 0 6px 16px -8px rgba(74,124,89,.8); transition: transform .15s; }
.pt-hk .go:hover { transform: translateY(-1px); }
.pt-hk .sk { font-size: .78rem; color: var(--sage); text-decoration: underline; text-underline-offset: 2px; }
.pt-found .alt { display: block; width: 100%; margin-top: .6rem; border: 1px dashed var(--border); background: var(--bg); color: var(--fg-soft); border-radius: 12px; padding: .6rem .8rem; font: inherit; font-size: .86rem; cursor: pointer; text-align: center; }
.pt-found .alt:hover { border-color: var(--sage); color: var(--fg); }
.pt-step-a { margin-top: .5rem; animation: ptin .35s ease both; }
.pt-note { font-size: .88rem; color: var(--fg-soft); margin: .2rem 0 .6rem; padding: .6rem .8rem; background: var(--bg-alt); border-radius: 12px; }
.pt-note:empty { display: none; }
.pt-all { display: inline-block; margin-top: 1.1rem; font-weight: 700; font-size: .92rem; line-height: 1.5; color: var(--terracotta); text-decoration: underline; text-decoration-color: rgba(196,113,74,.35); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.pt-all svg { display: inline; width: 1em; height: 1em; vertical-align: -.15em; margin-left: .2rem; }
.pt-all:hover { text-decoration-color: var(--terracotta); }
@keyframes ptin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .pt-found, .pt-step-a { animation: none; } }
@media (max-width: 420px) { .pt-hk { grid-template-columns: 1fr; } .pt-hk .go { grid-row: auto; grid-column: 1; justify-content: center; margin-top: .35rem; } }
.plan-try-map { position: relative; min-height: 320px; background: #E9ECE6; }
.plan-try-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plan-try-map #pt-line { animation: ptdash 1.2s linear infinite; }
@keyframes ptdash { to { stroke-dashoffset: -36; } }
.pt-mk text { font: 800 18px 'DM Sans', sans-serif; fill: #fff; }
.plan-try-badge { position: absolute; left: 1rem; bottom: 1rem; background: rgba(250,248,245,.92); border-radius: 100px; padding: .35rem .8rem; font-size: .76rem; font-weight: 600; color: var(--fg-soft); }
@media (max-width: 820px) {
  .plan-try { grid-template-columns: 1fr; }
  .plan-try-map { min-height: 220px; order: -1; }
  .plan-try-badge { top: .7rem; bottom: auto; left: .7rem; font-size: .7rem; }
  .plan-try-form { padding: 1.4rem 1.2rem 1.3rem; }
}
@media (prefers-reduced-motion: reduce) { .plan-try-map #pt-line { animation: none; } }

/* Blog: passaggi con immagine a fianco, video, pulsanti */
.post-step { display: grid; grid-template-columns: 220px 1fr; gap: 1.6rem; align-items: center; margin: 2rem 0; }
.post-step.flip { grid-template-columns: 1fr 220px; }
.post-step.flip .post-step-img { order: 2; }
.post-step-img { margin: 0; }
.post-step-img img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 14px 34px rgba(44,24,16,.18), 0 0 0 1px rgba(44,24,16,.06); background: var(--bg-alt); }
.post-step-body h3 { margin-top: 0 !important; }
.post-step-body p:first-of-type { font-size: inherit !important; color: inherit !important; }
.post-step-body p:last-child, .post-step-body ul:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  .post-step, .post-step.flip { grid-template-columns: 1fr; gap: 1rem; }
  .post-step.flip .post-step-img { order: 0; }
  .post-step-img { max-width: 260px; margin: 0 auto; }
}
.post-video { margin: 2rem auto; max-width: 340px; }
.post-video video { display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: #1d1410; box-shadow: 0 14px 34px rgba(44,24,16,.22); }
.post-video figcaption { text-align: center; font-size: .88rem; color: var(--muted); margin-top: .6rem; }
.post-cta { text-align: center; margin: 2rem 0; }
.post-cta-btn { display: inline-flex; align-items: center; gap: .4rem; padding: .9rem 1.6rem; border-radius: 100px; background: var(--sage); color: #fff !important; font-weight: 700; text-decoration: none !important; box-shadow: var(--shadow-soft); }
.post-cta-btn:hover { background: var(--sage-dark); }
/* "Sentieri vicini" nella pagina sentiero: stesse schede dei caroselli, allineate al testo */
.nearby-row { padding-left: 0; padding-right: 0; scroll-padding-left: 0; margin-top: 1rem; }
.nearby-row .scroll-card { text-decoration: none; }

/* ─────────── Pagine guida (home "Da dove cominciare", hub, guide) ─────────── */
.guide-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 1.5rem 0 1.25rem; }
@media (max-width: 960px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guide-grid { grid-template-columns: 1fr; } }
.guide-card { display: flex; flex-direction: column; gap: .4rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem 1.25rem 1.1rem; color: var(--fg); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.guide-card:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -16px rgba(44,24,16,.35); color: var(--fg); }
.guide-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; line-height: 1.2; margin: 0; }
.guide-card p { color: var(--fg-soft); font-size: .95rem; line-height: 1.45; margin: 0; flex: 1; }
.guide-kicker { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.guide-cta { color: var(--sage); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .35rem; }
.guide-cta svg, .text-link svg { width: 16px; height: 16px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.cat-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border: 1px solid var(--border); border-radius: 100px; background: var(--card); color: var(--fg); font-size: .92rem; font-weight: 500; }
.cat-chip span { color: var(--muted); font-size: .82rem; }
.cat-chip:hover { border-color: var(--sage); color: var(--sage-dark); }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: .35rem; }
.post-body table, .guide-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.post-body th, .post-body td, .guide-body th, .guide-body td { text-align: left; padding: .55rem .7rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.post-body th, .guide-body th { font-weight: 600; color: var(--fg); background: #F3EEE6; white-space: nowrap; }
.guide-of { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; background: var(--sage-soft); color: var(--sage-dark); padding: .35rem .8rem; border-radius: 100px; margin-bottom: 1rem; }
.guide-of a { color: var(--sage-dark); font-weight: 600; }
.valle-guide { max-width: 760px; margin: 0 auto 2rem; }
.valle-guide h2 { font-family: 'Playfair Display', Georgia, serif; margin-top: 2rem; }
.valle-guide ul { padding-left: 1.2rem; }
.hike-guides { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.hike-safety { display: flex; gap: .9rem; align-items: flex-start; background: var(--terracotta-soft); border-radius: 16px; padding: 1rem 1.1rem; margin: 1.5rem 0; }
.hike-safety b { display: block; color: var(--fg); margin-bottom: .2rem; }
.hike-safety p { margin: 0; color: var(--fg-soft); font-size: .95rem; }
.blog-group { margin-top: 2.5rem; }
.blog-group > h2 { font-family: 'Playfair Display', Georgia, serif; margin-bottom: .25rem; }
.blog-group > p { color: var(--fg-soft); margin: 0 0 1rem; }
.valley-short { color: var(--fg-soft); font-size: .92rem; line-height: 1.45; margin: .5rem 0 0; }
.valley-list-h { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; margin: 0 0 1rem; }
.valli-sec { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.valli-sec h2 { margin: 0 0 .4rem; font-size: 1.4rem; }
.valli-sec h2 a { color: var(--fg); }
.valli-sec p { margin: .35rem 0; color: var(--fg-soft); }

/* Menu "Dove camminare": si apre in Valli e Sentieri (hover sul computer, tocco sul telefono) */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-top { display: inline-flex !important; align-items: center; gap: .3rem; white-space: nowrap; }
.nav-chev { transition: transform .2s ease; display: inline-block !important; flex: 0 0 auto; }
.nav-drop-menu { position: absolute; top: calc(100% + .55rem); left: 50%; transform: translate(-50%, -4px); min-width: 240px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(44,24,16,.35); padding: .4rem; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60; }
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.7rem; height: .7rem; }
.nav-drop-menu a { display: block; padding: .6rem .8rem; border-radius: 11px; border-bottom: none !important; color: var(--fg) !important; }
.nav-drop-menu a:hover, .nav-drop-menu a:focus { background: var(--bg-alt, #F3EEE6); }
.nav-drop-menu b { display: block; font-weight: 600; font-size: .95rem; }
.nav-drop-menu small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; margin-top: .1rem; }
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop:hover .nav-chev, .nav-drop.open .nav-chev, .nav-drop:focus-within .nav-chev { transform: rotate(180deg); }
@media (max-width: 720px) { .nav-drop-menu { left: 0; transform: translate(0, -4px); } .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { transform: translate(0, 0); } }


/* ─────────── Menu: su telefono "Blog" e "Racconti" entrano nel menu a tendina ─────────── */
.nav-label-narrow { display: none; }
.nav-drop-menu a.nav-narrow-only { display: none; }
@media (max-width: 640px) {
  .nav-links > a.nav-wide-only { display: none !important; }
  .nav-label-wide { display: none; }
  .nav-label-narrow { display: inline; }
  .nav-drop-menu a.nav-narrow-only { display: block; }
  .site-header nav { position: relative; }
  .nav-drop { position: static; }
  .nav-drop-menu { left: auto; right: 0; top: calc(100% + .2rem); transform: translate(0, -4px); min-width: 0; width: min(280px, calc(100vw - 2rem)); }
  .nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu, .nav-drop.open .nav-drop-menu { transform: translate(0, 0); }
}

/* ─────────── Blog: indice, sezioni, gruppi e righe compatte ─────────── */
.blog-toc { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; max-width: 1100px; margin: 0 auto 1rem; padding: 0 1.5rem; }
@media (max-width: 960px) { .blog-toc { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .blog-toc { grid-template-columns: 1fr; padding: 0 1rem; gap: .6rem; } }
.blog-toc-item { display: flex; flex-direction: column; gap: .25rem; background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 1.1rem 1.15rem; color: var(--fg); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.blog-toc-item:hover { transform: translateY(-2px); border-color: var(--sage); box-shadow: 0 12px 30px -16px rgba(44,24,16,.35); color: var(--fg); }
.blog-toc-count { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sage); font-weight: 700; }
.blog-toc-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; line-height: 1.2; }
.blog-toc-desc { color: var(--muted); font-size: .86rem; line-height: 1.45; }
.blog-toc-racconti { background: var(--terracotta-soft); border-color: transparent; }
.blog-toc-racconti .blog-toc-count { color: var(--terracotta); }
.blog-section { scroll-margin-top: 80px; }
.blog-guide-link { display: inline-block; margin-top: .9rem; color: var(--sage-dark); font-weight: 500; font-size: .95rem; line-height: 1.5; }
.blog-guide-link svg { width: 16px; height: 16px; vertical-align: -3px; margin-left: .2rem; }
.blog-group { max-width: 1100px; margin: 0 auto 1.75rem; }
.blog-group-title { font-family: 'DM Sans', sans-serif; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin: 0 0 .7rem; padding-bottom: .45rem; border-bottom: 1px solid var(--border); }
.blog-rows { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
@media (max-width: 760px) { .blog-rows { grid-template-columns: 1fr; } }
.blog-row { display: flex; gap: .9rem; align-items: flex-start; background: var(--card); border: 1px solid var(--border-soft); border-radius: 14px; padding: .7rem; color: var(--fg); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.blog-row:hover { border-color: var(--sage); box-shadow: var(--shadow-sm); color: var(--fg); }
.blog-row-thumb { flex: 0 0 72px; width: 72px; height: 90px; border-radius: 10px; overflow: hidden; background: var(--bg-alt); }
.blog-row-thumb img, .blog-row-thumb svg { width: 100%; height: 100%; object-fit: cover; object-position: 88% 50%; display: block; }
.blog-row-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.blog-row-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; line-height: 1.25; font-weight: 600; }
.blog-row-excerpt { color: var(--fg-soft); font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-row-meta { color: var(--muted-soft); font-size: .78rem; }
.blog-chips { margin-bottom: 0; }
.blog-top { display: block; max-width: 1100px; margin: .5rem auto 0; font-size: .88rem; color: var(--muted); }
.guide-articles .blog-group { margin-bottom: 1.25rem; }
.guide-articles .blog-rows { grid-template-columns: 1fr; }

/* ─────────── Racconti dai sentieri: striscia con le foto (home, blog, articoli, guide) ─────────── */
.racconti-strip { max-width: 1100px; margin: 3rem auto; padding: 0 1.5rem; }
.racconti-strip .section-label { color: var(--terracotta); }
.racconti-strip h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.5rem, 3.5vw, 2.1rem); line-height: 1.15; margin: .3rem 0 .4rem; }
.racconti-strip > p { color: var(--fg-soft); margin: 0 0 1.2rem; max-width: 640px; }
.racconti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 760px) { .racconti-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; } .racconti-grid > a { scroll-snap-align: start; } }
.racconto-card { position: relative; display: block; border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 5; background: #2C1810; color: #fff !important; text-decoration: none !important; box-shadow: var(--shadow-card); }
.racconto-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.racconto-card:hover img { transform: scale(1.04); }
.racconto-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,12,8,0) 40%, rgba(20,12,8,.82) 100%); }
.racconto-card-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .25rem; }
.racconto-card-kicker { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: #F3D9A4; }
.racconto-card-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.25rem; line-height: 1.15; }
.racconto-card-meta { font-size: .8rem; opacity: .85; }
.racconti-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: 1rem; font-weight: 600; color: var(--terracotta); }
.racconti-more svg { width: 16px; height: 16px; }
.post-article .racconti-strip, .post-container .racconti-strip { padding: 0; }
