/* Rifugiamo — foglio di stile (base: vecchia guida tools/valdaosta, vda.css)
   Independent CSS, no dependency on licalzi.com */

:root {
    --alpine:       #2d5a3d;
    --alpine-dark:  #1a3a24;
    --alpine-deep:  #0e2418;
    --alpine-light: #4a7c59;
    --gold:         #c8a96e;
    --snow:         #f5f3ee;
    --paper:        #fff;
    --dark:         #111a14;
    --slate:        #4a5568;
    --muted:        #718096;
    --border:       #e2e8f0;
    --sky:          #3d6b8a;
    --stone:        #8b7355;
    --font: 'Inter', system-ui, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--dark);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

/* ── HEADER ── */
.vda-header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 48px;
    background: rgba(14, 36, 24, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(200, 169, 110, 0.3);
}

.vda-logo {
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}
.vda-logo em {
    font-style: normal;
    color: var(--gold);
}

.vda-nav {
    display: flex;
    gap: 4px;
    align-items: center;
    margin-left: auto;
}
.vda-nav a {
    color: rgba(255,255,255,0.65);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 7px 14px;
    border-radius: 4px;
    transition: color .15s, background .15s;
}
.vda-nav a:hover,
.vda-nav a.active { color: #fff; background: rgba(255,255,255,0.08); }
.vda-nav a.active { color: var(--gold); }

.vda-nav-home {
    display: block;
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    transition: all .15s;
}
.vda-nav-home:hover { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3); }

/* ── HERO ── */
.vda-hero {
    position: relative;
    /* Stesso formato delle schede (Antonio, 08/11): 60% dello schermo, testo in basso */
    min-height: max(60vh, 420px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        /* Velo solo nella fascia bassa, dove sta il testo, come nelle schede */
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%),
        var(--hero-img, linear-gradient(160deg, #0e2418 0%, #1a3a24 40%, #2d5a3d 75%, #3d7a5a 100%));
    background-size: cover;
    background-position: center; /* centro, come le schede: in alto c era solo cielo */
}

.vda-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.25));
    pointer-events: none;
}

.vda-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 96px 48px 48px;
}

.vda-hero__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 28px;
}
.vda-hero__tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

.vda-hero__title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.vda-hero__sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 520px;
}

.vda-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--alpine-deep);
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: background .2s, transform .2s;
}
.vda-hero__cta:hover { background: #fff; transform: translateX(4px); }
.vda-hero__cta svg { width: 16px; height: 16px; transition: transform .2s; }
.vda-hero__cta:hover svg { transform: translateX(4px); }

.vda-hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,0.45);
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}
.vda-hero__scroll::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.25);
    animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
    0%, 100% { transform: scaleY(1); opacity: 0.4; }
    50% { transform: scaleY(0.3); opacity: 0.1; }
}

/* ── STATS BAR (under hero) ── */
.vda-stats {
    background: var(--alpine-deep);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: center;
    gap: 0;
}
.vda-stat {
    flex: 1;
    max-width: 200px;
    padding: 22px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.06);
}
.vda-stat:last-child { border-right: none; }
.vda-stat__n {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -1px;
    line-height: 1;
}
.vda-stat__label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

/* ── SECTIONS ── */
.vda-section {
    padding: 80px 48px;
    max-width: 1200px;
    margin: 0 auto;
}
.vda-section--full {
    max-width: none;
    padding: 80px 48px;
}
.vda-section--dark {
    background: var(--alpine-deep);
    color: #fff;
    max-width: none;
    padding: 80px 48px;
}
.vda-section--alt {
    background: var(--snow);
    max-width: none;
    padding: 80px 48px;
}

.vda-section__inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── SECTION HEADER ── */
.vda-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--alpine);
    margin-bottom: 12px;
}
.vda-eyebrow::before {
    content: '';
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
}
.vda-section--dark .vda-eyebrow { color: var(--gold); }

.vda-section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 16px;
}
.vda-section--dark .vda-section-title { color: #fff; }

.vda-section-lead {
    font-size: 1.05rem;
    color: var(--slate);
    max-width: 540px;
    margin-bottom: 48px;
}
.vda-section--dark .vda-section-lead { color: rgba(255,255,255,0.6); }

/* ── CARD GRID ── */
.vda-grid {
    display: grid;
    gap: 28px;
}
.vda-grid--3 { grid-template-columns: repeat(3, 1fr); }
.vda-grid--2 { grid-template-columns: repeat(2, 1fr); }
.vda-grid--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ── RIFUGIO CARD ── */
.vda-card {
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
}
.vda-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.12);
}

.vda-card__photo {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--hero-img, linear-gradient(135deg, var(--alpine-dark) 0%, var(--alpine-light) 100%));
    background-size: cover;
    background-position: center;
}
.vda-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.vda-card:hover .vda-card__photo img { transform: scale(1.05); }

.vda-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.65);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.vda-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.vda-card__type {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--alpine);
    margin-bottom: 8px;
}

.vda-card__title {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    line-height: 1.25;
    color: var(--dark);
    margin-bottom: 10px;
}

.vda-card__desc {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.vda-card__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.75rem;
    color: var(--muted);
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.vda-card__meta span { display: flex; align-items: center; gap: 5px; }

.vda-card__link {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--alpine);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    transition: gap .15s;
}
.vda-card:hover .vda-card__link { gap: 10px; }

/* ── FEATURE CARD (grande, 2 cols) ── */
.vda-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 4px;
    overflow: hidden;
    background: var(--alpine-dark);
    color: #fff;
    min-height: 480px;
}
.vda-feature__photo {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0e2418, #2d5a3d);
}
.vda-feature__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
    opacity: 0.85;
}
.vda-feature:hover .vda-feature__photo img { transform: scale(1.04); }

.vda-feature__body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vda-feature__tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.vda-feature__tag::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); }

.vda-feature__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 16px;
}
.vda-feature__elev {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    letter-spacing: -3px;
    margin: 16px 0;
    line-height: 1;
}
.vda-feature__desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 32px;
}
.vda-feature__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold);
    color: var(--alpine-deep);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 13px 24px;
    border-radius: 2px;
    width: fit-content;
    transition: background .2s, transform .2s;
}
.vda-feature__cta:hover { background: #fff; transform: translateX(4px); }

/* ── INTRO STRIP ── */
.vda-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: var(--border);
}
.vda-intro-item {
    background: var(--snow);
    padding: 40px;
}
.vda-intro-item__icon {
    font-size: 2rem;
    margin-bottom: 16px;
}
.vda-intro-item__title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}
.vda-intro-item__text {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.65;
}

/* ── RIFUGIO PAGE HERO ── */
.vda-rifugio-hero {
    position: relative;
    height: 60vh;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background:
        /* Velo solo nella fascia bassa, dove stanno nome e quota */
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65) 100%),
        var(--hero-img, linear-gradient(160deg, #0e2418 0%, #2d5a3d 60%, #4a7c59 100%));
    background-size: cover;
    background-position: center;
}
.vda-rifugio-hero__inner {
    padding: 48px;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.vda-rifugio-hero__breadcrumb {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}
.vda-rifugio-hero__breadcrumb a { color: inherit; transition: color .15s; }
.vda-rifugio-hero__breadcrumb a:hover { color: var(--gold); }
.vda-rifugio-hero__name {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #fff;
    line-height: 1.0;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.vda-rifugio-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.vda-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.vda-badge--elev { background: var(--gold); color: var(--alpine-deep); }
.vda-badge--open { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); }
.vda-badge--valle { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.75); backdrop-filter: blur(4px); }

/* ── RIFUGIO LAYOUT ── */
.vda-rifugio-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 48px;
    align-items: start;
}

.vda-content h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-top: 40px;
    margin-bottom: 14px;
    color: var(--dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--alpine);
}
.vda-content h2:first-child { margin-top: 0; }
.vda-content p { font-size: 0.97rem; color: var(--slate); line-height: 1.75; margin-bottom: 16px; }
.vda-content strong { color: var(--dark); }
.vda-content ul { padding-left: 20px; margin-bottom: 16px; }
.vda-content li { font-size: 0.95rem; color: var(--slate); margin-bottom: 6px; line-height: 1.6; }

.vda-pull-quote {
    margin: 32px 0;
    padding: 24px 32px;
    border-left: 4px solid var(--alpine);
    background: var(--snow);
    border-radius: 0 4px 4px 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--alpine-dark);
    line-height: 1.7;
}

/* ── INFO BOX ── */
.vda-infobox {
    background: var(--alpine-deep);
    color: #fff;
    border-radius: 4px;
    padding: 32px;
    position: sticky;
    top: 90px;
}
.vda-infobox__title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.vda-infobox__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.vda-infobox__row:last-child { border-bottom: none; padding-bottom: 0; }
.vda-infobox__key {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.4);
}
.vda-infobox__val {
    font-size: 0.93rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.5;
}
.vda-infobox__cta {
    display: block;
    text-align: center;
    margin-top: 24px;
    background: var(--gold);
    color: var(--alpine-deep);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 13px;
    border-radius: 2px;
    transition: background .2s;
}
.vda-infobox__cta:hover { background: #fff; }

/* ── GALLERY ── */
.vda-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 16px;
}
.vda-gallery__item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2px;
    background: linear-gradient(135deg, var(--alpine-dark), var(--alpine-light));
    cursor: zoom-in;
    position: relative;
}
.vda-gallery__item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}
.vda-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.vda-gallery__item:hover img { transform: scale(1.04); }

/* ── GALLERY PLACEHOLDER ── */
.vda-gallery__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* ── NEAR CARDS ── */
.vda-near {
    padding: 64px 48px;
    background: var(--snow);
}
.vda-near__inner { max-width: 1200px; margin: 0 auto; }

/* ── FOOTER ── */
.vda-footer {
    background: var(--alpine-deep);
    padding: 40px 48px;
    text-align: center;
}
.vda-footer__nav {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.vda-footer__nav a {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 4px;
    transition: color .15s, background .15s;
}
.vda-footer__nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.vda-footer__copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}
.vda-footer__copy a { color: rgba(255,255,255,0.45); transition: color .15s; }
.vda-footer__copy a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
.vda-fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.vda-fade.in-view { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .vda-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .vda-feature { grid-template-columns: 1fr; }
    .vda-feature__photo { height: 280px; }
    .vda-rifugio-layout { grid-template-columns: 1fr; }
    .vda-infobox { position: static; }
}

@media (max-width: 768px) {
    .vda-header { padding: 14px 20px; }
    .vda-nav { display: none; }
    .vda-hero__inner { padding: 80px 24px 32px; }
    .vda-hero__scroll { left: 24px; bottom: 28px; }
    .vda-section { padding: 56px 24px; }
    .vda-section--dark,
    .vda-section--alt,
    .vda-section--full { padding: 56px 24px; }
    .vda-grid--3,
    .vda-grid--2 { grid-template-columns: 1fr; }
    .vda-stats { flex-wrap: wrap; }
    .vda-stat { min-width: 50%; }
    .vda-intro-grid { grid-template-columns: 1fr; }
    .vda-rifugio-layout { padding: 40px 24px; }
    .vda-rifugio-hero__inner { padding: 32px 24px; }
    .vda-gallery { grid-template-columns: repeat(2, 1fr); }
    .vda-gallery__item:first-child { grid-column: span 2; }
    .vda-near { padding: 40px 24px; }
    .vda-footer { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    .vda-fade { opacity: 1; transform: none; transition: none; }
}

/* ══ Rifugiamo: aggiunte al foglio della vecchia guida (tools/valdaosta/_inc/vda.css) ══ */

/* Menu anche sul telefono: scorre in orizzontale invece di sparire */
@media (max-width: 768px) {
    .vda-header { flex-wrap: wrap; gap: 8px; }
    .vda-nav { display: flex; width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 2px; }
    .vda-nav a { white-space: nowrap; }
}

.rf-locale { background: #fef3c7; color: #78350f; font-size: .75rem; font-weight: 700; text-align: center; padding: 4px 12px; }
.rf-dubbi { background: #fffbeb; border: 1px solid #f59e0b; border-left-width: 5px; border-radius: 6px; padding: 14px 18px; margin-bottom: 28px; font-size: .9rem; color: #78350f; }
.rf-dubbi strong { font-weight: 800; }
.rf-dubbi span { font-size: .75rem; opacity: .75; }
.rf-dubbi ul { margin: 8px 0 0 18px; }
.rf-dubbi li { margin-bottom: 4px; }
.rf-dubbi p { margin-top: 6px; }

.rf-link { color: var(--alpine); font-weight: 700; }
.rf-link:hover { text-decoration: underline; }
.rf-hero-sub { color: rgba(255,255,255,.8); font-size: 1.05rem; margin-top: 12px; max-width: 640px; }
.rf-testo { max-width: 820px; }
.rf-testo p { color: var(--slate); margin-bottom: 1em; font-size: 1.02rem; }
.rf-gruppo { font-size: 1.25rem; font-weight: 800; margin: 48px 0 20px; color: var(--alpine-dark); }
.rf-gruppo a:hover { text-decoration: underline; }
.rf-gruppo span { font-size: .8rem; font-weight: 600; color: var(--muted); margin-left: 8px; }
.vda-infobox__val a { color: var(--alpine); font-weight: 600; }
.vda-infobox__cta.rf-cta-2 { background: transparent; color: var(--alpine); border: 1px solid var(--alpine); margin-top: 8px; }
.vda-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.vda-card__photo { position: relative; }

/* Valle: i posti dal basso verso l'alto */
.vda-valley-map { background: var(--alpine-deep); padding: 64px 48px; color: #fff; }
.vda-valley-map__inner { max-width: 1200px; margin: 0 auto; }
.vda-valley-map .vda-section-title { color: #fff; }
.vda-timeline { position: relative; padding-left: 32px; margin-top: 40px; }
.vda-timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(200,169,110,.2)); }
.vda-timeline-item { position: relative; margin-bottom: 28px; display: grid; grid-template-columns: 80px 1fr; gap: 20px; align-items: start; }
.vda-timeline-item::before { content: ''; position: absolute; left: -24px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 2px solid var(--alpine-deep); }
.vda-timeline-item__elev { font-size: 1.1rem; font-weight: 900; color: var(--gold); letter-spacing: -.5px; white-space: nowrap; padding-top: 2px; }
.vda-timeline-item__elev span { display: block; font-size: .65rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.35); margin-top: 2px; }
.vda-timeline-item__name { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
.vda-timeline-item__name a { color: var(--gold); }
.vda-timeline-item__name a:hover { opacity: .75; }
.vda-timeline-item__desc { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.55; }
@media (max-width: 768px) { .vda-valley-map { padding: 48px 24px; } }

/* Mappa */
#map { width: 100%; height: 72vh; min-height: 480px; background: #0d1f14; }
.vda-map-header { background: var(--alpine-deep); padding: 40px 32px 32px; }
.vda-map-header h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 900; color: #fff; margin: 0 0 8px; letter-spacing: -.5px; }
.vda-map-header p { font-size: .9rem; color: rgba(255,255,255,.6); margin: 0; }
.vda-pin { filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.leaflet-popup-content-wrapper { background: #0d1f14; border: 1px solid rgba(200,169,110,.4); border-radius: 8px; padding: 0; overflow: hidden; }
.leaflet-popup-content { margin: 0; line-height: 1.4; }
.leaflet-popup-tip { background: #0d1f14; }
.leaflet-container a.leaflet-popup-close-button { color: rgba(255,255,255,.6); }
.vdapop { font-family: var(--font); }
.vdapop__img { width: 100%; height: 140px; object-fit: cover; display: block; }
.vdapop__body { padding: 14px 16px 16px; }
.vdapop__valle { font-size: .65rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin-bottom: 4px; }
.vdapop__name { font-size: .95rem; font-weight: 700; color: #fff; display: block; margin-bottom: 4px; }
.vdapop__quota { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.leaflet-container a.vdapop__cta { display: inline-block; background: var(--gold); color: #0e2418; font-size: .75rem; font-weight: 700; padding: 6px 14px; border-radius: 4px; }

/* Hero più luminose (08/11): il velo copre solo la zona del testo, l'ombra sotto le lettere
   tiene leggibile il bianco anche su neve e cielo chiaro. */
.vda-hero__title, .vda-hero__sub, .vda-hero__tag, .vda-hero__scroll,
.vda-rifugio-hero__name, .vda-rifugio-hero__breadcrumb, .vda-rifugio-hero__inner p {
    text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 2px 18px rgba(0,0,0,.35);
}
.vda-hero__sub { color: rgba(255,255,255,0.92); }
.vda-rifugio-hero__breadcrumb { color: rgba(255,255,255,0.8); }
/* Testata della home bassa come le schede: "Scorri" non serve più */
.vda-hero__scroll, .vda-hero::after { display: none; }
.vda-hero__tag { margin-bottom: 16px; }
.vda-hero__title { margin-bottom: 14px; letter-spacing: -1.5px; }
.vda-hero__sub { margin-bottom: 24px; font-size: 1.05rem; }
