/**
 * Viaggi CSS — Discoverando
 *
 * Usato da: archive-viaggio.php, single-viaggio.php
 *
 * Prefissi:
 *   dh-  →  componenti condivisi (header, bottoni, sezioni)
 *   dv-  →  archive viaggi
 *   dd-  →  dettaglio singolo viaggio
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
    --dh-forest: #1f3a2d;
    --dh-forest-2: #2d4f3e;
    --dh-cream: #f7f3ec;
    --dh-cream-2: #ede5d3;
    --dh-terracotta: #c2622d;
    --dh-terracotta-dark: #a04f1f;
    --dh-charcoal: #1a1714;
    --dh-muted: #6b6358;
    --dh-line: rgba(26, 23, 20, 0.12);
    --dh-font-display: 'Fraunces', Georgia, serif;
    --dh-font-body: 'Outfit', system-ui, sans-serif;
    --dh-radius-md: 14px;
    --dh-radius-lg: 24px;
    --dh-max: 1200px;
    --dh-header-height: 76px;
    --dd-sidebar-w: 340px;
    --dv-status-confirmed: #1e4d34;
    --dv-status-planned: var(--dh-terracotta);
    --dv-status-soldout: #3a1a1a;
}

/* ── BASE ──────────────────────────────────────────────────────────────── */
html, body { overflow-x: hidden; }
html { scroll-behavior: smooth; scroll-padding-top: var(--dh-header-height); }
.dh {
    color: var(--dh-charcoal);
    font-family: var(--dh-font-body);
    font-size: 17px;
    line-height: 1.6;
    background: var(--dh-cream);
    overflow-x: hidden;
}
.dh * { box-sizing: border-box; }
.dh h1, .dh h2, .dh h3, .dh h4 {
    font-family: var(--dh-font-display);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0;
}

/* ── HEADER ────────────────────────────────────────────────────────────── */
.dh-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; height: var(--dh-header-height);
    transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
    background: rgba(31, 58, 45, 0);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(0);
}
.dh-header.is-scrolled {
    background: rgba(247, 243, 236, .95);
    backdrop-filter: blur(12px);
    border-bottom-color: var(--dh-line);
    box-shadow: 0 2px 12px rgba(26, 23, 20, .04);
}
.dh-header__inner {
    height: 100%; max-width: var(--dh-max); margin: 0 auto;
    padding: 0 6vw; display: flex; align-items: center;
    justify-content: space-between; gap: 2rem;
}
.dh-header__logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--dh-cream); transition: color .35s ease; }
.dh-header.is-scrolled .dh-header__logo { color: var(--dh-forest); }
.dh-header__logo-img { height: 46px; width: auto; display: block; flex-shrink: 0; filter: none; transition: filter .35s ease; }
.dh-header.is-scrolled .dh-header__logo-img { filter: invert(1); }
.dh-header__nav { flex: 1; display: flex; justify-content: center; }
.dh-header__nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2.25rem; }
.dh-header__nav a { color: var(--dh-cream); text-decoration: none; font-size: .95rem; font-weight: 500; letter-spacing: .01em; position: relative; padding: .35rem 0; transition: color .2s ease; }
.dh-header.is-scrolled .dh-header__nav a { color: var(--dh-charcoal); }
.dh-header__nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px; background: var(--dh-terracotta); transition: width .25s ease; }
.dh-header__nav a:hover::after, .dh-header__nav a.is-current::after { width: 100%; }
.dh-header__nav a:hover, .dh-header__nav a.is-current { color: var(--dh-terracotta); }
.dh-header.is-scrolled .dh-header__nav a.is-current { color: var(--dh-terracotta); }
.dh-header__socials { display: flex; align-items: center; gap: .75rem; }
.dh-header__socials a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--dh-cream); transition: all .2s ease; border: 1px solid rgba(247, 243, 236, .25); }
.dh-header.is-scrolled .dh-header__socials a { color: var(--dh-forest); border-color: var(--dh-line); }
.dh-header__socials a:hover { color: var(--dh-terracotta); border-color: var(--dh-terracotta); transform: translateY(-2px); }
.dh-header__socials svg { width: 18px; height: 18px; }
.dh-header__toggle { display: none; background: transparent; border: none; cursor: pointer; width: 36px; height: 36px; padding: 0; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.dh-header__toggle span { display: block; width: 22px; height: 2px; background: var(--dh-cream); border-radius: 2px; transition: all .3s ease; }
.dh-header.is-scrolled .dh-header__toggle span { background: var(--dh-charcoal); }
.dh-header__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dh-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.dh-header__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.dh-mobile-menu { position: fixed; top: var(--dh-header-height); left: 0; right: 0; bottom: 0; background: var(--dh-forest); z-index: 99; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease; overflow-y: auto; }
.dh-mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dh-mobile-menu nav { padding: 3rem 2rem; }
.dh-mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.dh-mobile-menu ul a { display: block; padding: 1rem 0; color: var(--dh-cream); text-decoration: none; font-family: var(--dh-font-display); font-size: 1.75rem; font-weight: 500; border-bottom: 1px solid rgba(247, 243, 236, .1); font-variation-settings: "opsz" 144; }
.dh-mobile-menu__socials { display: flex; gap: 1.5rem; margin-top: 2.5rem; }
.dh-mobile-menu__socials a { color: rgba(247, 243, 236, .7); text-decoration: none; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid rgba(247, 243, 236, .3); padding-bottom: 2px; }
@media (max-width: 900px) {
    .dh-header__nav, .dh-header__socials { display: none; }
    .dh-header__toggle { display: flex; }
    .dh-header__inner { padding: 0 1.25rem; }
}

/* ── SHARED COMPONENTS ─────────────────────────────────────────────────── */
.dh-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .95rem 1.75rem; border-radius: 999px; font-family: var(--dh-font-body); font-size: .95rem; font-weight: 500; text-decoration: none; transition: all .25s ease; cursor: pointer; border: none; }
.dh-btn--primary { background: var(--dh-terracotta); color: var(--dh-cream); }
.dh-btn--primary:hover { background: var(--dh-terracotta-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(194, 98, 45, .3); }
.dh-btn--ghost { background: transparent; color: var(--dh-cream); border: 1px solid rgba(247, 243, 236, .5); }
.dh-btn--ghost:hover { background: rgba(247, 243, 236, .12); border-color: var(--dh-cream); }
.dh-btn--outline { background: transparent; color: var(--dh-forest); border: 1.5px solid var(--dh-forest); }
.dh-btn--outline:hover { background: var(--dh-forest); color: var(--dh-cream); transform: translateY(-2px); }
.dh-btn--full { width: 100%; }

.dh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.dh-reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════════════════════════════════════
   ARCHIVE — dv-*
   ══════════════════════════════════════════════════════════════════════════ */

/* hero */
.dv-hero {
    position: relative; min-height: 34vh; display: flex; align-items: flex-end;
    background-color: var(--dh-forest);
    background-size: cover; background-position: center 40%;
    color: var(--dh-cream);
    padding: calc(var(--dh-header-height) + 3rem) 6vw 4rem;
    overflow: hidden;
}
.dv-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,23,20,.2) 0%, rgba(26,23,20,.35) 40%, rgba(26,23,20,.72) 100%); z-index: 1; }
.dv-hero__inner { position: relative; z-index: 2; max-width: 680px; }
.dv-hero__eyebrow { display: inline-block; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; opacity: .85; padding-bottom: .4rem; border-bottom: 1px solid rgba(247,243,236,.4); margin-bottom: 1.25rem; }
.dv-hero__title { font-size: clamp(2.2rem, 5.5vw, 4.5rem); color: var(--dh-cream); font-weight: 400; margin-bottom: 1rem; font-variation-settings: "opsz" 144; }
.dv-hero__sub { font-size: clamp(1rem, 1.5vw, 1.15rem); opacity: .9; max-width: 500px; margin: 0; line-height: 1.6; }

/* filter bar */
.dv-filters {
    background: var(--dh-cream-2);
    border-bottom: 1px solid var(--dh-line);
    padding: 1.25rem 6vw;
    position: sticky; top: var(--dh-header-height); z-index: 50;
}
.dv-filters__inner { max-width: var(--dh-max); margin: 0 auto; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.dv-filters__label { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dh-muted); font-weight: 500; margin-right: .5rem; white-space: nowrap; }
.dv-filters__pills { display: flex; gap: .6rem; flex-wrap: wrap; }
.dv-filter-pill { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border-radius: 999px; font-size: .85rem; font-weight: 500; cursor: pointer; border: 1.5px solid var(--dh-line); background: transparent; color: var(--dh-charcoal); transition: all .2s ease; font-family: var(--dh-font-body); white-space: nowrap; }
.dv-filter-pill:hover { border-color: var(--dh-forest); color: var(--dh-forest); }
.dv-filter-pill.is-active { background: var(--dh-forest); border-color: var(--dh-forest); color: var(--dh-cream); }
.dv-filter-pill__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dv-filter-pill[data-dv-filter="confermato"] .dv-filter-pill__dot { background: #4caf7d; }
.dv-filter-pill[data-dv-filter="pianificato"] .dv-filter-pill__dot { background: var(--dh-terracotta); }
.dv-filter-pill[data-dv-filter="soldout"] .dv-filter-pill__dot { background: #b04a4a; }
.dv-filter-pill.is-active .dv-filter-pill__dot { opacity: .85; }
.dv-filters__count { font-size: .85rem; color: var(--dh-muted); font-style: italic; white-space: nowrap; }

/* search — wrapper funge da "input visivo" per evitare override di Blocksy */
.dv-filters__search {
    display: flex; align-items: center; gap: .55rem;
    margin-left: auto;
    padding: .28rem .95rem;
    border-radius: 999px;
    border: 1.5px solid rgba(26,23,20,.28);
    background: #f4ede2;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.dv-filters__search:focus-within {
    border-color: var(--dh-forest);
    box-shadow: 0 0 0 3px rgba(31,58,45,.1);
    background: #fff;
}
.dv-filters__search-icon { width: 15px; height: 15px; flex-shrink: 0; color: var(--dh-muted); display: block; }
.dv-search-input {
    border: none; background: transparent; padding: 0;
    outline: none; outline: 0;
    box-shadow: none;
    font-family: var(--dh-font-body); font-size: .85rem; color: var(--dh-charcoal);
    width: 190px; appearance: none; -webkit-appearance: none;
    margin: 0; min-height: 0; border-radius: 0;
}
.dv-search-input::placeholder { color: var(--dh-muted); opacity: 1; }
.dv-filters .dv-filters__search input[type="search"],
.dv-filters .dv-filters__search input[type="search"]:focus,
.dv-filters .dv-filters__search input[type="search"]:focus-visible,
.dv-filters .dv-filters__search input[type="search"]:active {
    outline: 0 !important;
    outline-width: 0 !important;
    outline-style: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 0 !important;
}
.dv-search-input::-webkit-search-cancel-button { cursor: pointer; }

@media (max-width: 768px) { .dv-search-input { width: 150px; } }
@media (max-width: 600px) {
    .dv-filters { padding: 1rem 1.25rem; }
    .dv-filters__inner { flex-wrap: wrap; gap: .75rem; }
    .dv-filters__search { margin-left: 0; width: 100%; }
    .dv-search-input { width: 100%; flex: 1; }
    .dv-filters__count { display: none; }
}

/* trips grid */
.dv-trips { padding: 5rem 0 7rem; background: var(--dh-cream); }
.dv-trips__grid { max-width: var(--dh-max); margin: 0 auto; padding: 0 6vw; display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2.25rem; }
@media (max-width: 780px) { .dv-trips__grid { grid-template-columns: 1fr; gap: 1.75rem; padding: 0 1.25rem; } }

/* trip card */
.dv-trip-card { background: #fff; border-radius: var(--dh-radius-lg); overflow: hidden; box-shadow: 0 2px 16px rgba(26,23,20,.07); transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.dv-trip-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(26,23,20,.13); }
.dv-trip-card[data-status="soldout"] { opacity: .72; }
.dv-trip-card[data-status="soldout"]:hover { transform: translateY(-3px); }
.dv-trip-card.is-hidden { display: none; }

.dv-trip-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--dh-forest); }
.dv-trip-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; display: block; }
.dv-trip-card:hover .dv-trip-card__media img { transform: scale(1.05); }
.dv-trip-card[data-status="soldout"] .dv-trip-card__media img { filter: saturate(.3); }
.dv-trip-card[data-status="soldout"] .dv-trip-card__media::after { content: ''; position: absolute; inset: 0; background: rgba(26,23,20,.35); }

.dv-trip-card__dates { position: absolute; top: 1rem; left: 1rem; background: rgba(247,243,236,.96); color: var(--dh-forest); padding: .35rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; box-shadow: 0 2px 8px rgba(0,0,0,.12); backdrop-filter: blur(4px); }
.dv-trip-card__status { position: absolute; top: 1rem; right: 1rem; padding: .35rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dh-cream); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.dv-trip-card__status--confermato { background: var(--dv-status-confirmed); }
.dv-trip-card__status--pianificato { background: var(--dv-status-planned); }
.dv-trip-card__status--soldout { background: var(--dv-status-soldout); }

.dv-trip-card__body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.dv-trip-card__dest { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dh-terracotta); font-weight: 500; margin-bottom: .4rem; }
.dv-trip-card__title { font-size: 1.45rem; color: var(--dh-forest); font-weight: 500; line-height: 1.2; margin-bottom: 1.1rem; }
.dv-trip-card__coordinator { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--dh-muted); margin-bottom: 1.25rem; }
.dv-trip-card__coordinator svg { width: 15px; height: 15px; flex-shrink: 0; }

.dv-trip-card__itinerary { background: var(--dh-cream-2); border-radius: 10px; padding: .9rem 1rem; margin-bottom: 1.5rem; }
.dv-trip-card__itinerary-label { display: block; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dh-muted); font-weight: 600; margin-bottom: .5rem; }
.dv-trip-card__stops { margin: 0; font-size: .88rem; color: var(--dh-charcoal); line-height: 1.5; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 0; }
.dv-trip-card__stop { white-space: nowrap; }
.dv-trip-card__arrow { color: var(--dh-terracotta); font-size: .75rem; margin: 0 .3rem; flex-shrink: 0; }

/* flight badge — card */
.dv-trip-card__flight {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .875rem; font-weight: 500; letter-spacing: .01em;
    padding: .35rem .85rem; border-radius: 999px;
    margin-bottom: .75rem;
}
.dv-trip-card__flight svg { width: 15px; height: 15px; flex-shrink: 0; }
.dv-trip-card__flight--included { background: rgba(31,58,45,.09); color: var(--dh-forest); }
.dv-trip-card__flight--excluded { background: rgba(26,23,20,.06); color: var(--dh-muted); }

.dv-trip-card__footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--dh-line); }
.dv-trip-card__price { font-family: var(--dh-font-display); font-size: 1.35rem; color: var(--dh-forest); font-weight: 500; font-variation-settings: "opsz" 60; line-height: 1; }
.dv-trip-card__price small { font-family: var(--dh-font-body); font-size: .75rem; color: var(--dh-muted); font-weight: 400; display: block; margin-bottom: .15rem; }
.dv-trip-card__cta { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--dh-terracotta); text-decoration: none; border-bottom: 1.5px solid transparent; transition: all .2s ease; white-space: nowrap; padding-bottom: 1px; }
.dv-trip-card__cta:hover { border-color: var(--dh-terracotta); }
.dv-trip-card[data-status="soldout"] .dv-trip-card__cta { color: var(--dh-muted); pointer-events: none; }
.dv-trip-card__cta svg { width: 14px; height: 14px; transition: transform .2s ease; }
.dv-trip-card__cta:hover svg { transform: translateX(3px); }

.dv-trips__empty { grid-column: 1 / -1; text-align: center; padding: 4rem 2rem; display: none; }
.dv-trips__empty.is-visible { display: block; }
.dv-trips__empty p { font-family: var(--dh-font-display); font-size: 1.35rem; font-style: italic; color: var(--dh-muted); margin: 0 0 1.5rem; }

/* archive CTA */
.dv-cta { padding: 7rem 6vw; background: var(--dh-forest); text-align: center; color: var(--dh-cream); }
.dv-cta__wrap { max-width: 680px; margin: 0 auto; }
.dv-cta__eyebrow { display: inline-block; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(247,243,236,.6); margin-bottom: 1.25rem; font-weight: 500; }
.dv-cta__title { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--dh-cream); margin-bottom: 1.25rem; font-variation-settings: "opsz" 144; }
.dv-cta__sub { font-size: 1.1rem; color: rgba(247,243,236,.75); margin: 0 0 2.5rem; line-height: 1.6; }
.dv-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }


/* ══════════════════════════════════════════════════════════════════════════
   SINGLE TRIP — dd-*
   ══════════════════════════════════════════════════════════════════════════ */

/* hero */
.dd-hero {
    position: relative; height: 72vh; min-height: 480px;
    background-color: var(--dh-forest);
    background-size: cover; background-position: center 30%;
    display: flex; flex-direction: column; justify-content: flex-end;
    color: var(--dh-cream);
    padding: calc(var(--dh-header-height) + 2rem) 6vw 3.5rem;
}
.dd-hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,23,20,.15) 0%, rgba(26,23,20,.3) 45%, rgba(26,23,20,.78) 100%); z-index: 1; }
.dd-hero__inner { position: relative; z-index: 2; max-width: var(--dh-max); width: 100%; margin: 0 auto; }

.dd-breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; font-size: .83rem; font-weight: 500; color: rgba(247,243,236,.7); }
.dd-breadcrumb a { color: inherit; text-decoration: none; transition: color .2s ease; }
.dd-breadcrumb a:hover { color: var(--dh-cream); }
.dd-breadcrumb__sep { opacity: .5; font-size: .75rem; }
.dd-breadcrumb__current { color: var(--dh-cream); }

.dd-hero__meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dd-hero__dest { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,243,236,.8); font-weight: 500; }
.dd-status-badge { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dh-cream); }
.dd-status-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.dd-status-badge--confermato { background: rgba(30,77,52,.9); backdrop-filter: blur(4px); }
.dd-status-badge--confermato .dd-status-badge__dot { background: #6ee0a0; }
.dd-status-badge--pianificato { background: rgba(194,98,45,.85); backdrop-filter: blur(4px); }
.dd-status-badge--pianificato .dd-status-badge__dot { background: #ffd899; }
.dd-status-badge--soldout { background: rgba(58,26,26,.9); backdrop-filter: blur(4px); }
.dd-hero__title { font-size: clamp(2.2rem, 5vw, 4rem); color: var(--dh-cream); font-weight: 400; margin-bottom: .85rem; font-variation-settings: "opsz" 144; max-width: 760px; }
.dd-hero__dates { display: flex; align-items: center; gap: .55rem; font-size: 1rem; color: rgba(247,243,236,.85); }
.dd-hero__dates svg { width: 16px; height: 16px; opacity: .7; flex-shrink: 0; }

/* meta strip */
.dd-meta-strip { background: var(--dh-forest); border-bottom: 1px solid rgba(247,243,236,.1); color: var(--dh-cream); padding: 0 6vw; }
.dd-meta-strip__inner { max-width: var(--dh-max); margin: 0 auto; display: flex; align-items: stretch; flex-wrap: wrap; }
.dd-meta-item { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 2rem 1.1rem 0; margin-right: 2rem; border-right: 1px solid rgba(247,243,236,.12); font-size: .9rem; }
.dd-meta-item:last-child { border-right: none; margin-right: 0; }
.dd-meta-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--dh-terracotta); }
.dd-meta-item__label { font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(247,243,236,.5); display: block; margin-bottom: .1rem; }
.dd-meta-item__value { font-weight: 500; color: var(--dh-cream); line-height: 1.2; }
/* meta strip: wrapping su schermi medi */
@media (max-width: 768px) {
    .dd-meta-item { padding: .9rem 1rem .9rem 0; margin-right: 1rem; }
}
@media (max-width: 500px) {
    .dd-meta-strip__inner { gap: 0; }
    .dd-meta-item { flex: 1 1 calc(50% - 1rem); border-right: none; border-bottom: 1px solid rgba(247,243,236,.1); padding: .9rem 0; margin: 0; }
    .dd-meta-item:nth-child(odd) { padding-right: 1rem; }
}

/* testo lungo: previene overflow su mobile */
.dd-main, .dd-day__body, .dd-day__desc, .dd-day__title,
.dd-intro__body, .dd-booking-card { overflow-wrap: break-word; word-break: break-word; }

/* immagini: mai più larghe del contenitore */
.dd-main img, .dd-booking-card img { max-width: 100%; height: auto; }

/* layout content + sidebar */
.dd-layout {
    max-width: calc(var(--dh-max) + 4rem); margin: 0 auto;
    padding: 4rem 6vw 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--dd-sidebar-w);
    gap: 4rem;
    align-items: start;
}
@media (max-width: 1024px) { .dd-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 3rem; } }
@media (max-width: 600px) { .dd-layout { padding: 2.5rem 1.25rem 3rem; } }

/* cover photo */
.dd-cover { margin: 0 0 3rem; border-radius: var(--dh-radius-lg); overflow: hidden; aspect-ratio: 16/9; }
.dd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* intro */
.dd-intro { margin-bottom: 3.5rem; }
.dd-intro__eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dh-terracotta); font-weight: 500; margin-bottom: .9rem; }
.dd-intro__title { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--dh-forest); margin-bottom: 1.25rem; font-variation-settings: "opsz" 80; }
.dd-intro__body { color: var(--dh-charcoal); line-height: 1.78; }
.dd-intro__body p { margin: 0 0 1rem; }

/* section divider title */
.dd-section-title { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dh-muted); font-weight: 600; margin-bottom: 2rem; display: flex; align-items: center; gap: 1rem; font-family: var(--dh-font-body); }
.dd-section-title::after { content: ''; flex: 1; height: 1px; background: var(--dh-line); }

/* itinerary timeline */
.dd-day { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 0 1.5rem; position: relative; padding-bottom: 2.5rem; }
.dd-day:last-child { padding-bottom: 0; }
.dd-day__line { display: flex; flex-direction: column; align-items: center; position: relative; }
.dd-day__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dh-cream); border: 2.5px solid var(--dh-forest); flex-shrink: 0; margin-top: .2rem; position: relative; z-index: 1; transition: background .2s ease, border-color .2s ease; }
.dd-day:hover .dd-day__dot { background: var(--dh-terracotta); border-color: var(--dh-terracotta); }
.dd-day__connector { flex: 1; width: 2px; background: var(--dh-line); margin-top: .35rem; min-height: 1.5rem; }
.dd-day:last-child .dd-day__connector { display: none; }
.dd-day__num { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dh-muted); font-weight: 600; font-family: var(--dh-font-body); text-align: center; margin-top: -.05rem; line-height: 1; }
.dd-day__body { padding-bottom: .5rem; }
.dd-day__header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: .6rem; flex-wrap: wrap; }
.dd-day__title { font-size: 1.15rem; color: var(--dh-forest); font-weight: 500; line-height: 1.2; }
.dd-day__location { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dh-terracotta); font-weight: 500; font-family: var(--dh-font-body); }
.dd-day__desc { color: var(--dh-charcoal); font-size: .95rem; line-height: 1.7; margin: 0 0 .75rem; text-align: justify; }
.dd-day__tags { display: flex; flex-wrap: wrap; gap: .4rem; }

/* inclusioni / esclusioni — dettaglio viaggio */
.dd-inclusions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
    margin-top: 2.5rem;
}
.dd-inclusions__list {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: .65rem;
}
.dd-inclusions__list li {
    display: flex; align-items: flex-start; gap: .55rem;
    font-size: .95rem; line-height: 1.45; color: var(--dh-charcoal);
}
.dd-inclusions__icon {
    flex-shrink: 0; font-size: .85rem; font-weight: 700;
    margin-top: .1em; line-height: 1;
}
.dd-inclusions__col--yes .dd-inclusions__icon { color: var(--dh-forest); }
.dd-inclusions__col--no  .dd-inclusions__icon { color: var(--dh-terracotta); }
@media (max-width: 540px) {
    .dd-inclusions { grid-template-columns: 1fr; }
}
.dd-day__tag { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .7rem; border-radius: 999px; background: var(--dh-cream-2); border: 1px solid var(--dh-line); font-size: .78rem; color: var(--dh-muted); }

/* sidebar */
.dd-sidebar { position: sticky; top: calc(var(--dh-header-height) + 1.5rem); }
@media (max-width: 1024px) { .dd-sidebar { position: static; order: -1; margin-bottom: 3rem; } }

.dd-booking-card { background: #fff; border-radius: var(--dh-radius-lg); box-shadow: 0 4px 24px rgba(26,23,20,.09), 0 1px 4px rgba(26,23,20,.05); overflow: hidden; border: 1px solid var(--dh-line); }
.dd-booking-card__top { padding: 1.75rem 1.75rem 1.5rem; border-bottom: 1px solid var(--dh-line); }
.dd-booking-card__price-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dh-muted); font-weight: 500; margin: 0 0 .3rem; }
.dd-booking-card__price { font-family: var(--dh-font-display); font-size: 2.5rem; font-weight: 500; color: var(--dh-forest); line-height: 1; font-variation-settings: "opsz" 100; margin: 0; }
.dd-booking-card__price-note { font-size: .82rem; color: var(--dh-muted); margin: .35rem 0 0; }
.dd-booking-card__status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .45rem 1rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--dh-cream); }
.dd-booking-card__status--confermato { background: var(--dv-status-confirmed); }
.dd-booking-card__status--pianificato { background: var(--dv-status-planned); }
.dd-booking-card__status--soldout { background: var(--dv-status-soldout); }
.dd-booking-card__status-dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee0a0; }
.dd-booking-card__status--pianificato .dd-booking-card__status-dot { background: #ffd899; }
.dd-booking-card__status--soldout .dd-booking-card__status-dot { background: #f5a5a5; }

.dd-booking-card__details { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--dh-line); display: flex; flex-direction: column; gap: 1rem; }
.dd-booking-detail { display: flex; align-items: flex-start; gap: .85rem; }
.dd-booking-detail__icon { width: 34px; height: 34px; border-radius: 8px; background: var(--dh-cream-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dd-booking-detail__icon svg { width: 16px; height: 16px; color: var(--dh-forest); }
.dd-booking-detail__label { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dh-muted); font-weight: 500; margin: 0 0 .15rem; }
.dd-booking-detail__value { font-size: .95rem; font-weight: 500; color: var(--dh-charcoal); line-height: 1.3; margin: 0; }
.dd-booking-detail__sub { font-size: .8rem; color: var(--dh-muted); margin: .1rem 0 0; }

.dd-coordinator { display: flex; align-items: center; gap: .9rem; margin-top: .35rem; }
.dd-coordinator__avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: var(--dh-forest); flex-shrink: 0; border: 2px solid var(--dh-cream-2); }
.dd-coordinator__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dd-coordinator__name { font-size: .95rem; font-weight: 500; color: var(--dh-charcoal); line-height: 1.2; margin: 0; }
.dd-coordinator__role { font-size: .78rem; color: var(--dh-muted); font-style: italic; margin: 0; }

.dd-booking-card__actions { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .65rem; }
.dd-booking-card__note { font-size: .78rem; color: var(--dh-muted); text-align: center; line-height: 1.5; margin: .25rem 0 0; }
.dd-booking-card__note a { color: var(--dh-forest); font-weight: 500; }

/* mobile sticky bar */
.dd-sticky-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: rgba(247,243,236,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--dh-line); padding: .9rem 1.25rem; align-items: center; justify-content: space-between; gap: 1rem; box-shadow: 0 -4px 20px rgba(26,23,20,.08); }
@media (max-width: 1024px) { .dd-sticky-bar { display: flex; } main.dh { padding-bottom: 76px; } }
.dd-sticky-bar__price { font-family: var(--dh-font-display); font-size: 1.6rem; font-weight: 500; color: var(--dh-forest); line-height: 1; font-variation-settings: "opsz" 80; }
.dd-sticky-bar__price small { font-family: var(--dh-font-body); font-size: .75rem; color: var(--dh-muted); font-weight: 400; display: block; }

/* single CTA */
.dd-cta { padding: 6rem 6vw; background: var(--dh-cream-2); text-align: center; }
.dd-cta__wrap { max-width: 600px; margin: 0 auto; }
.dd-cta__eyebrow { display: inline-block; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dh-terracotta); font-weight: 500; margin-bottom: 1rem; }
.dd-cta__title { font-size: clamp(1.75rem, 4vw, 2.8rem); color: var(--dh-forest); margin-bottom: 1rem; font-variation-settings: "opsz" 100; }
.dd-cta__sub { color: var(--dh-muted); font-size: 1.05rem; line-height: 1.65; margin: 0 0 2.25rem; }
.dd-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem; }

/* footer */
.dh-footer { background: #0a0806; padding: .85rem 6vw; text-align: center; }
.dh-footer__text {
    font-family: var(--dh-font-body); font-size: .78rem;
    color: rgba(255,255,255,.45); margin: 0; letter-spacing: .03em;
}
