/* ═══════════════════════════════════════════════════════════
   ViaggioWild Manager — Frontend CSS v2.1
   Aesthetic: ViaggioWild — Blu Petrolio + Arancio + Inter
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --vw-primary:   #005e82;
    --vw-primary2:  #3aaeb5;
    --vw-accent:    #ff701e;
    --vw-orange:    #ff701e;   /* alias per retrocompatibilità */
    --vw-dark:      #24282b;
    --vw-mid:       #526068;
    --vw-muted:     #7b8a93;
    --vw-cream:     #f5f2eb;
    --vw-cream2:    #ededed;
    --vw-white:     #FFFFFF;
    --vw-border:    #dde1e4;
    --vw-success:   #2D7A4F;
    --vw-warning:   #B45309;
    --vw-danger:    #9B1C1C;
    --vw-radius:    20px;
    --vw-shadow:    0 6px 18px rgba(0,0,0,.08);
    --vw-shadow-lg: 0 10px 24px rgba(0,0,0,.18);
    --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset & Base ──────────────────────────── */
.vw-wrap, .vw-wrap * { box-sizing: border-box; }
.vw-wrap { font-family: var(--font-body); color: var(--vw-dark); }
.vw-wrap img { max-width: 100%; height: auto; display: block; }
.vw-wrap a { text-decoration: none; color: inherit; }

/* ── Buttons ───────────────────────────────── */
.vw-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 30px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-weight: 600; font-size: 14px; letter-spacing: .3px;
    cursor: pointer; border: none;
    text-decoration: none;
    transition: all .25s cubic-bezier(.25,.46,.45,.94);
    line-height: 1;
}
.vw-btn-primary {
    background: var(--vw-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(255,112,30,.30);
    border-radius: var(--vw-radius);
}
.vw-btn-primary:hover { background: #e5621a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,112,30,.40); color: white; }
.vw-btn-outline {
    background: transparent;
    color: var(--vw-dark);
    border: 1.5px solid var(--vw-border);
}
.vw-btn-outline:hover { border-color: var(--vw-primary); color: var(--vw-primary); }
.vw-btn-dark { background: var(--vw-dark); color: white; }
.vw-btn-dark:hover { background: #2D2521; transform: translateY(-1px); color: white; }
.vw-btn-whatsapp { background: #22C55E; color: white; }
.vw-btn-whatsapp:hover { background: #16A34A; color: white; }
.vw-btn-sm { padding: 9px 20px; font-size: 13px; }
.vw-btn-lg { padding: 16px 40px; font-size: 16px; }
.vw-btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ══════════════════════════════════════════════
   TRIP CARDS GRID
   ══════════════════════════════════════════════ */
.vw-trips-section { padding: 16px 0; }

.vw-trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 1100px) { .vw-trips-grid { grid-template-columns: repeat(2,1fr); gap: 20px; } }
@media (max-width: 640px)  { .vw-trips-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Card ──────────────────────────────────── */
.vw-trip-card {
    display: flex; flex-direction: column;
    background: var(--vw-white);
    border-radius: var(--vw-radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--vw-dark);
    transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s;
    box-shadow: var(--vw-shadow);
    position: relative;
}
.vw-trip-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--vw-shadow-lg);
}

.vw-trip-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--vw-cream2);
}
.vw-trip-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.vw-trip-card:hover .vw-trip-card-img img { transform: scale(1.06); }

.vw-trip-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px;
    background: linear-gradient(135deg, var(--vw-cream2), var(--vw-border));
}

/* Status badge */
.vw-trip-status-badge {
    position: absolute; top: 14px; left: 14px;
    font-family: var(--font-body);
    font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
    z-index: 2;
}
.vw-status-open    { background: rgba(45,122,79,.9); color: white; }
.vw-status-limited { background: rgba(180,83,9,.9); color: white; animation: pulse 2s ease-in-out infinite; }
.vw-status-closed  { background: rgba(28,24,21,.75); color: rgba(255,255,255,.7); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(180,83,9,.4); } 50% { box-shadow: 0 0 0 6px rgba(180,83,9,0); } }

/* Difficulty badge */
.vw-difficulty-badge {
    position: absolute; top: 14px; right: 14px;
    font-family: var(--font-body);
    font-size: 11px; font-weight: 600; letter-spacing: .4px;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(28,24,21,.6);
    backdrop-filter: blur(6px);
    color: white;
    z-index: 2;
}

/* Date overlay */
.vw-trip-date-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 36px 14px 12px;
    background: linear-gradient(to top, rgba(28,24,21,.75), transparent);
    z-index: 2;
}
.vw-trip-date-overlay .vw-date { font-size: 12px; color: rgba(255,255,255,.9); font-weight: 500; }

/* Card body */
.vw-trip-card-body { padding: 18px 18px 12px; flex: 1; }

.vw-trip-card-destination {
    font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
    color: var(--vw-primary);
    margin: 0 0 8px;
}
.vw-trip-card-title {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700; line-height: 1.25;
    color: var(--vw-dark);
    margin: 0 0 12px;
}
.vw-trip-card-meta {
    display: flex; gap: 14px; flex-wrap: wrap;
    font-size: 12px; color: var(--vw-muted);
}
.vw-trip-meta-item { display: flex; align-items: center; gap: 4px; }

/* Card footer */
.vw-trip-card-footer {
    padding: 14px 18px 16px;
    border-top: 1px solid var(--vw-border);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.vw-trip-price-wrap { display: flex; flex-direction: column; gap: 2px; }
.vw-trip-price-label { font-size: 10px; color: var(--vw-muted); font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }
.vw-trip-price {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700; color: var(--vw-primary); line-height: 1;
}
.vw-trip-price span { font-size: 13px; color: var(--vw-muted); font-family: var(--font-body); font-weight: 400; }
.vw-trip-deposit { font-size: 11px; color: var(--vw-muted); }

/* Availability bar */
.vw-availability { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.vw-avail-bar { width: 80px; height: 5px; background: var(--vw-cream2); border-radius: 3px; overflow: hidden; }
.vw-avail-fill { height: 100%; background: var(--vw-success); border-radius: 3px; transition: width .4s; }
.vw-avail-fill.low  { background: var(--vw-warning); }
.vw-avail-fill.full { background: var(--vw-danger); width: 100% !important; }
.vw-avail-text { font-size: 11px; color: var(--vw-muted); font-weight: 500; white-space: nowrap; }

/* ══════════════════════════════════════════════
   UPCOMING TRIPS (compact widget)
   ══════════════════════════════════════════════ */
.vw-upcoming-list { display: flex; flex-direction: column; gap: 12px; padding: 0; }
.vw-upcoming-item {
    display: flex; align-items: center; gap: 16px;
    padding: 12px;
    border-radius: 10px;
    background: var(--vw-cream);
    border: 1px solid var(--vw-border);
    text-decoration: none; color: inherit;
    transition: all .2s;
}
.vw-upcoming-item:hover { border-color: var(--vw-primary); background: white; box-shadow: 0 4px 16px rgba(0,94,130,.1); }
.vw-upcoming-thumb {
    width: 64px; height: 48px;
    border-radius: 8px; overflow: hidden; flex-shrink: 0;
    background: var(--vw-cream2);
}
.vw-upcoming-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vw-upcoming-info { flex: 1; min-width: 0; }
.vw-upcoming-title { font-size: 14px; font-weight: 600; color: var(--vw-dark); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vw-upcoming-meta  { font-size: 12px; color: var(--vw-muted); }
.vw-upcoming-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--vw-primary); flex-shrink: 0; }
.vw-upcoming-dest { font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--vw-muted); margin-bottom: 2px; }
.vw-upcoming-date { font-size: 12px; color: var(--vw-muted); margin-top: 2px; }
.vw-upcoming-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--vw-cream2); font-size: 20px; }

/* ══════════════════════════════════════════════
   BOOKING FORM
   ══════════════════════════════════════════════ */
.vw-booking-section {
    background: var(--vw-cream);
    padding: 72px 60px;
    border-top: 1px solid var(--vw-border);
}
@media (max-width: 768px) { .vw-booking-section { padding: 48px 24px; } }

.vw-booking-section-title {
    font-family: var(--font-display);
    font-size: 40px; font-weight: 700;
    text-align: center; margin: 0 0 8px;
    color: var(--vw-dark);
}
.vw-booking-section-sub { text-align: center; color: var(--vw-muted); font-size: 16px; margin: 0 0 48px; }

.vw-booking-form-wrap {
    max-width: 700px; margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--vw-shadow-lg);
    overflow: hidden;
}

/* Step progress */
.vw-form-steps-bar {
    display: flex;
    background: var(--vw-dark);
    padding: 0;
}
.vw-form-step {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 16px;
    font-size: 13px; font-weight: 600; color: rgba(255,255,255,.4);
    transition: all .3s;
    border-right: 1px solid rgba(255,255,255,.1);
    cursor: default;
}
.vw-form-step:last-child { border-right: none; }
.vw-form-step.active { color: white; }
.vw-form-step.done   { color: var(--vw-primary2); }
.vw-form-step-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    transition: all .3s;
}
.vw-form-step.active .vw-form-step-num { background: var(--vw-accent); color: white; }
.vw-form-step.done .vw-form-step-num   { background: var(--vw-success); color: white; }

.vw-form-body { padding: 36px 40px; }
@media (max-width: 640px) { .vw-form-body { padding: 28px 22px; } }

.vw-form-section { display: none; }
.vw-form-section.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ── Padding per il <form> in booking-form.php (no .vw-form-body wrapper) ── */
#vw-booking-form { padding: 32px 40px; }
@media (max-width: 640px) { #vw-booking-form { padding: 24px 22px; } }

/* ── Alias per booking-form.php (class names usati nel template) ── */
/* .vw-step-panel = alias di .vw-form-section */
.vw-step-panel { display: none; }
.vw-step-panel.active { display: block; animation: fadeIn .3s ease; }

/* .vw-form-steps = alias di .vw-form-steps-bar */
.vw-form-steps {
    display: flex;
    background: var(--vw-dark);
    padding: 0;
}

/* .vw-step-num = alias di .vw-form-step-num */
.vw-step-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700;
    transition: all .3s;
}
.vw-form-step.active .vw-step-num { background: var(--vw-accent); color: white; }
.vw-form-step.done   .vw-step-num { background: var(--vw-success); color: white; }

/* .vw-step-label */
.vw-step-label { font-size: 12px; }

/* Form header */
.vw-form-header {
    background: var(--vw-dark);
    padding: 28px 40px 24px;
    text-align: center;
}
.vw-form-header h2 {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    color: #fff; margin: 0 0 6px;
}
.vw-form-header p { font-size: 14px; color: rgba(255,255,255,.55); margin: 0; }

/* Trip summary strip */
.vw-form-trip-summary {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 40px;
    background: var(--vw-cream);
    border-bottom: 1px solid var(--vw-border);
}
@media (max-width: 640px) { .vw-form-trip-summary { padding: 12px 22px; flex-wrap: wrap; } }

.vw-form-trip-img {
    width: 72px; height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}
.vw-form-trip-img-ph {
    width: 72px; height: 52px;
    border-radius: 8px;
    background: var(--vw-cream2);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; flex-shrink: 0;
}
.vw-form-trip-info { flex: 1; min-width: 0; }
.vw-form-trip-title {
    font-weight: 700; font-size: 15px;
    color: var(--vw-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vw-form-trip-meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    font-size: 12px; color: var(--vw-muted); margin-top: 4px;
}
.vw-form-trip-price {
    text-align: right; flex-shrink: 0;
}
.vw-form-trip-price .price {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    color: var(--vw-primary); line-height: 1;
}
.vw-form-trip-price small { font-size: 11px; color: var(--vw-muted); }

/* Error box */
.vw-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: var(--vw-danger);
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin: 0 40px 20px;
}
@media (max-width: 640px) { .vw-error-box { margin: 0 22px 16px; } }

/* Field hint */
.vw-field-hint { font-size: 12px; color: var(--vw-muted); margin-top: 5px; }

/* Field group (2-col grid, alias di .vw-field-row) */
.vw-field-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}
@media (max-width: 560px) { .vw-field-group { grid-template-columns: 1fr; } }

/* Pax selector */
.vw-pax-selector {
    display: flex; align-items: center; gap: 12px;
    margin-top: 6px;
}
.vw-pax-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--vw-border);
    background: white;
    font-size: 20px; font-weight: 300;
    cursor: pointer; color: var(--vw-dark);
    display: flex; align-items: center; justify-content: center;
    transition: all .15s;
    line-height: 1;
}
.vw-pax-btn:hover { border-color: var(--vw-primary); color: var(--vw-primary); background: rgba(0,94,130,.06); }
.vw-pax-count {
    font-family: var(--font-display);
    font-size: 22px; font-weight: 700;
    color: var(--vw-dark);
    min-width: 28px; text-align: center;
}

/* Payment tabs */
.vw-payment-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
    margin-bottom: 20px;
}
.vw-payment-tab {
    border: 2px solid var(--vw-border);
    border-radius: 12px;
    padding: 16px 14px;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    background: white;
}
.vw-payment-tab:hover { border-color: var(--vw-primary2); }
.vw-payment-tab.selected {
    border-color: var(--vw-accent);
    background: rgba(255,112,30,.04);
    box-shadow: 0 0 0 3px rgba(255,112,30,.12);
}
.vw-payment-tab-icon { font-size: 22px; margin-bottom: 6px; }
.vw-payment-tab-title { font-size: 13px; font-weight: 700; color: var(--vw-dark); margin-bottom: 4px; }
.vw-payment-tab-amount {
    font-family: var(--font-display);
    font-size: 20px; font-weight: 700;
    color: var(--vw-primary); margin-bottom: 4px;
}
.vw-payment-tab.selected .vw-payment-tab-amount { color: var(--vw-accent); }
.vw-payment-tab-note { font-size: 11px; color: var(--vw-muted); }

/* Price summary */
.vw-price-summary {
    background: var(--vw-cream);
    border: 1.5px solid var(--vw-border);
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.vw-price-summary-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--vw-border);
    font-size: 14px; color: var(--vw-mid);
}
.vw-price-summary-row:last-child {
    border-bottom: none;
    font-weight: 700; font-size: 16px;
    color: var(--vw-dark);
}

.vw-form-section-title {
    font-family: var(--font-display);
    font-size: 26px; font-weight: 700;
    color: var(--vw-dark); margin: 0 0 24px;
}

.vw-field { margin-bottom: 20px; }
.vw-field label {
    display: block;
    font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
    color: var(--vw-muted); margin-bottom: 7px;
}
.vw-field input,
.vw-field select,
.vw-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--vw-border);
    border-radius: 8px;
    font-family: var(--font-body); font-size: 15px; color: var(--vw-dark);
    background: white;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.vw-field input:focus,
.vw-field select:focus,
.vw-field textarea:focus {
    border-color: var(--vw-primary);
    box-shadow: 0 0 0 3px rgba(0,94,130,.12);
}
.vw-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .vw-field-row { grid-template-columns: 1fr; } }

/* Participant card */
.vw-participant-card {
    background: var(--vw-cream);
    border: 1.5px solid var(--vw-border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}
.vw-participant-title {
    font-size: 13px; font-weight: 700; color: var(--vw-dark);
    margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.vw-participant-num {
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--vw-primary); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px;
}

/* Stripe card */
.vw-stripe-card-wrap {
    background: var(--vw-cream);
    border: 1.5px solid var(--vw-border);
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}
#vw-card-element { padding: 4px 0; }
.vw-stripe-secure {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 12px; color: var(--vw-muted); margin-top: 12px;
}

/* Order summary in form */
.vw-order-summary {
    background: var(--vw-cream);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 24px;
    border: 1.5px solid var(--vw-border);
}
.vw-order-summary-title { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--vw-muted); margin-bottom: 14px; }
.vw-order-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--vw-border); font-size: 14px; }
.vw-order-row:last-child { border-bottom: none; font-weight: 700; font-size: 16px; color: var(--vw-primary); }

/* Form nav buttons */
.vw-form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.vw-form-nav .vw-btn { flex: 1; }

/* Error/Success */
#vw-stripe-errors, #vw-card-errors, .vw-form-error { color: var(--vw-danger); font-size: 13px; margin-top: 8px; font-weight: 600; }
.vw-spinner {
    display: inline-block; width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
    border-radius: 50%; animation: vw-spin .6s linear infinite; vertical-align: middle; margin-right: 6px;
}
@keyframes vw-spin { to { transform: rotate(360deg); } }
.vw-form-success {
    text-align: center; padding: 48px 32px;
}
.vw-form-success-icon { font-size: 56px; margin-bottom: 20px; }
.vw-form-success h3 { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--vw-dark); margin: 0 0 12px; }
.vw-form-success p { color: var(--vw-muted); font-size: 16px; line-height: 1.6; }

/* ══════════════════════════════════════════════
   BALANCE PAYMENT PAGE
   ══════════════════════════════════════════════ */
.vw-pay-balance-wrap {
    max-width: 540px; margin: 0 auto;
    padding: 48px 24px;
}
.vw-pay-balance-card {
    background: white;
    border: 1.5px solid var(--vw-border);
    border-radius: 16px;
    box-shadow: var(--vw-shadow-lg);
    overflow: hidden;
}
.vw-pay-balance-header {
    background: var(--vw-dark);
    padding: 28px 32px;
    text-align: center;
}
.vw-pay-balance-header h2 {
    font-family: var(--font-display);
    font-size: 28px; font-weight: 700;
    color: white; margin: 0 0 6px;
}
.vw-pay-balance-header p { font-size: 14px; color: rgba(255,255,255,.5); margin: 0; }
.vw-pay-balance-body { padding: 32px; }

/* Balance info box */
.vw-balance-info-box {
    background: white; border: 1.5px solid var(--vw-border); border-radius: 16px;
    box-shadow: var(--vw-shadow-lg); padding: 32px; overflow: hidden;
}
.vw-balance-trip-name {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--vw-dark); margin: 0 0 20px;
}
.vw-booking-info-list {
    list-style: none; padding: 0; margin: 0 0 24px;
}
.vw-booking-info-list li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 0; border-bottom: 1px solid var(--vw-border); font-size: 14px;
}
.vw-booking-info-list li:last-child { border-bottom: none; }
.vw-balance-amount-box {
    text-align: center; background: var(--vw-cream); border-radius: 12px;
    padding: 24px; margin-bottom: 24px;
}
.vw-balance-amount-box .label {
    font-size: 12px; font-weight: 600; letter-spacing: .8px;
    text-transform: uppercase; color: var(--vw-muted); margin-bottom: 4px;
}
.vw-balance-amount-box .amount {
    font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--vw-primary);
}

/* Booking success confirmation */
.vw-booking-success {
    text-align: center; padding: 48px 24px;
}
.vw-success-icon { font-size: 56px; margin-bottom: 16px; }
.vw-booking-success h2 {
    font-family: var(--font-display); font-size: 28px; font-weight: 700;
    color: var(--vw-dark); margin: 0 0 12px;
}
.vw-booking-success p { color: var(--vw-muted); font-size: 15px; line-height: 1.6; }
.vw-booking-ref-box {
    display: inline-block; background: var(--vw-cream); border: 1.5px solid var(--vw-border);
    border-radius: 10px; padding: 16px 28px; margin-top: 16px;
    font-size: 14px; color: var(--vw-muted);
}
.vw-booking-ref-box code {
    display: block; font-size: 22px; font-weight: 700; color: var(--vw-primary);
    margin-top: 6px; letter-spacing: 1px;
}

/* Participant blocks */
.vw-participant-block {
    background: var(--vw-cream); border: 1.5px solid var(--vw-border);
    border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.vw-participant-block h4 {
    font-size: 15px; font-weight: 700; margin: 0 0 14px; color: var(--vw-dark);
}
.vw-field-full { width: 100% !important; }
.vw-required { color: var(--vw-danger); }

/* Balance lookup form */
.vw-balance-lookup {
    max-width: 440px; margin: 0 auto; text-align: center;
    padding: 40px 24px;
}
.vw-balance-lookup h3 {
    font-family: var(--font-display); font-size: 24px; font-weight: 700;
    color: var(--vw-dark); margin: 0 0 8px;
}
.vw-balance-lookup p { color: var(--vw-muted); font-size: 14px; margin: 0 0 24px; }
.vw-balance-lookup .vw-field { text-align: left; margin-bottom: 16px; }
.vw-error-box {
    max-width: 440px; margin: 0 auto 24px; padding: 16px 20px;
    background: #FFF1F2; border: 1px solid #FECDD3; border-radius: 10px;
    color: #9B1C1C; font-size: 14px; text-align: center;
}
.vw-success-box {
    max-width: 440px; margin: 0 auto 24px; padding: 16px 20px;
    background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px;
    color: #14532D; font-size: 14px; text-align: center;
}

/* ══════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════ */
.vw-lightbox-overlay {
    position: fixed; inset: 0; z-index: 99999;
    background: rgba(28,24,21,.96);
    display: flex; align-items: center; justify-content: center;
    padding: 24px;
    animation: fadeIn .2s;
    cursor: zoom-out;
}
.vw-lightbox-overlay img {
    max-width: 90vw; max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.vw-lightbox-close {
    position: fixed; top: 20px; right: 24px;
    font-size: 28px; color: white; cursor: pointer;
    opacity: .7; transition: opacity .2s;
    background: none; border: none;
    font-family: var(--font-body);
}
.vw-lightbox-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 768px) {
    .vw-trip-facts-bar { flex-wrap: wrap; }
    .vw-trip-fact { border-right: none; border-bottom: 1px solid var(--vw-border); flex: 1; min-width: 100px; }
    .vw-trip-gallery { grid-template-columns: repeat(2,1fr); }
    .vw-trip-gallery img:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .vw-trip-status-bar { flex-direction: column; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   SCHEDA VIAGGIO — v2.2 (stile editoriale premium)
   ═══════════════════════════════════════════════════════════════ */

/* ── Body override quando è la pagina standalone ────────────── */
body.vw-trip-single-body {
    margin: 0; padding: 0;
    background: #fff;
    font-family: var(--font-body);
}

/* ── Topbar ──────────────────────────────────────────────────── */
.vw-trip-topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background .3s, box-shadow .3s;
    height: 64px;
}
.vw-trip-topbar.scrolled {
    background: rgba(28,24,21,.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
.vw-trip-topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.vw-trip-topbar-logo { text-decoration: none; flex-shrink: 0; }
.vw-logo-img { height: 36px; width: auto; }
.vw-logo-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
}
.vw-trip-topbar-nav { display: flex; align-items: center; }
.vw-topbar-back {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(255,255,255,.25);
    transition: all .15s;
}
.vw-topbar-back:hover {
    background: rgba(255,255,255,.12);
    color: #fff;
}
.vw-topbar-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--vw-accent);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s, transform .15s;
    white-space: nowrap;
}
.vw-topbar-cta:hover { background: #e5621a; transform: translateY(-1px); color: #fff; }

/* ── Hero ────────────────────────────────────────────────────── */
.vw-trip-hero {
    position: relative;
    height: 82vh;
    min-height: 540px;
    max-height: 880px;
    overflow: hidden;
    background: var(--vw-dark);
    display: flex;
    align-items: flex-end;
}
.vw-trip-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroKenBurns 12s ease-out forwards;
}
.vw-hero-no-img {
    background: linear-gradient(155deg, #003d57 0%, #005e82 50%, #3aaeb5 100%);
    animation: none;
}
@keyframes heroKenBurns {
    from { transform: scale(1.08); }
    to   { transform: scale(1.0); }
}
.vw-trip-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(28,24,21,.25) 0%,
        rgba(28,24,21,.05) 35%,
        rgba(28,24,21,.55) 65%,
        rgba(28,24,21,.88) 100%
    );
}
.vw-trip-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 60px 60px;
    max-width: 1000px;
    animation: fadeUpHero .8s .1s cubic-bezier(.25,.46,.45,.94) both;
}
@keyframes fadeUpHero {
    from { opacity:0; transform: translateY(28px); }
    to   { opacity:1; transform: translateY(0); }
}
@media (max-width: 768px) { .vw-trip-hero-content { padding: 0 20px 40px; } }

.vw-hero-dest {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--vw-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}
.vw-hero-dest::before {
    content: '';
    display: block;
    width: 24px; height: 1.5px;
    background: var(--vw-accent);
}
.vw-hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 24px;
    letter-spacing: -.02em;
}
.vw-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.vw-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    font-size: 12.5px;
    color: rgba(255,255,255,.92);
    font-weight: 500;
}
.vw-hero-scroll {
    position: absolute;
    bottom: 24px;
    right: 40px;
    z-index: 2;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.6);
    font-size: 16px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* ── Early Bird badge ────────────────────────────────────────── */
.vw-early-bird-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(45, 122, 79, .9);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

/* ── Quick Facts Bar ─────────────────────────────────────────── */
.vw-facts-bar {
    background: var(--vw-cream);
    border-bottom: 1px solid var(--vw-border);
    overflow-x: auto;
}
.vw-facts-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: stretch;
}
@media (max-width: 768px) { .vw-facts-bar-inner { padding: 0 20px; } }
.vw-fact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 28px;
    border-right: 1px solid var(--vw-border);
    min-width: 120px;
    flex-shrink: 0;
}
.vw-fact:last-child { border-right: none; }
.vw-fact-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--vw-muted);
    margin-bottom: 5px;
}
.vw-fact-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--vw-dark);
}
.vw-fact-value.highlight {
    color: var(--vw-primary);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}
@media (max-width: 768px) {
    .vw-facts-bar-inner { flex-wrap: wrap; }
    .vw-fact { flex: 1; min-width: 100px; border-bottom: 1px solid var(--vw-border); }
}

/* ── Status / Availability Bar ───────────────────────────────── */
.vw-status-bar {
    padding: 12px 0;
}
.vw-status-bar-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.vw-status-bar.bar-open { background: var(--vw-success); }
.vw-status-bar.bar-limited { background: #92400E; }
.vw-status-bar.bar-closed { background: var(--vw-dark); }
.vw-status-bar-text {
    font-size: 14px;
    font-weight: 600;
    color: white;
}
.vw-status-bar-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: white;
    color: var(--vw-primary);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .15s;
}
.vw-status-bar-cta:hover { transform: translateY(-1px); }
@media (max-width: 768px) {
    .vw-status-bar-inner { padding: 0 20px; flex-direction: column; text-align: center; }
}

/* ── Anchor Nav ──────────────────────────────────────────────── */
.vw-anchor-nav {
    position: sticky;
    top: 64px;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--vw-border);
    box-shadow: 0 2px 12px rgba(28,24,21,.06);
}
.vw-anchor-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.vw-anchor-nav-inner::-webkit-scrollbar { display: none; }
@media (max-width: 768px) { .vw-anchor-nav-inner { padding: 0 20px; } }

.vw-anchor-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--vw-muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: all .15s;
}
.vw-anchor-link:hover { color: var(--vw-primary); }
.vw-anchor-link.active {
    color: var(--vw-primary);
    border-bottom-color: var(--vw-primary);
}
.vw-anchor-cta {
    margin-left: auto;
    background: var(--vw-accent);
    color: #fff !important;
    border-radius: 20px;
    padding: 8px 18px;
    border-bottom: none !important;
}
.vw-anchor-cta:hover { background: #e5621a; }
.vw-anchor-cta.active { background: #e5621a; border-bottom: none; }

/* ── Body 2-col layout ───────────────────────────────────────── */
.vw-trip-body {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 0;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 60px 80px;
    align-items: start;
}
@media (max-width: 1100px) {
    .vw-trip-body { grid-template-columns: 1fr; padding: 40px 24px 60px; }
}
@media (max-width: 768px) {
    .vw-trip-body { padding: 24px 16px 40px; }
}

/* ── Main content ────────────────────────────────────────────── */
.vw-trip-main { padding-right: 60px; }
@media (max-width: 1100px) { .vw-trip-main { padding-right: 0; } }

.vw-section {
    margin-bottom: 56px;
    padding-top: 8px;
    scroll-margin-top: 130px;
}
.vw-section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--vw-dark);
    margin: 0 0 24px;
    letter-spacing: -.02em;
    line-height: 1.15;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--vw-cream2);
}

.vw-trip-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--vw-mid);
}
.vw-trip-description p { margin: 0 0 20px; }
.vw-trip-description p:last-child { margin-bottom: 0; }

/* ── Itinerary timeline ──────────────────────────────────────── */
.vw-itinerary { display: flex; flex-direction: column; gap: 0; }

.vw-itinerary-day {
    display: grid;
    grid-template-columns: 40px 2px 1fr;
    gap: 0 16px;
    padding-bottom: 32px;
}
.vw-itinerary-day:last-child { padding-bottom: 0; }
.vw-itinerary-day:last-child .vw-itinerary-line { background: transparent; }

.vw-itinerary-num {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--vw-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
    box-shadow: 0 4px 12px rgba(0,94,130,.3);
}
.vw-itinerary-line {
    width: 2px;
    background: var(--vw-cream2);
    margin: 40px auto 0;
    justify-self: center;
}
.vw-itinerary-body {
    padding-top: 8px;
    padding-bottom: 8px;
}
.vw-itinerary-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--vw-dark);
    margin-bottom: 8px;
    text-transform: capitalize;
}
.vw-itinerary-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--vw-mid);
}

/* ── Included / Excluded ─────────────────────────────────────── */
.vw-inc-exc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 640px) { .vw-inc-exc-grid { grid-template-columns: 1fr; } }

.vw-inc-box, .vw-exc-box {
    border-radius: 12px;
    padding: 20px;
}
.vw-inc-box { background: #f0fdf4; border: 1px solid #bbf7d0; }
.vw-exc-box { background: #fef2f2; border: 1px solid #fecaca; }

.vw-inc-title { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #166534; }
.vw-exc-title { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #991b1b; }

.vw-inc-list, .vw-exc-list { margin: 0; padding: 0; list-style: none; }
.vw-inc-list li, .vw-exc-list li {
    font-size: 13.5px;
    line-height: 1.6;
    padding: 5px 0 5px 24px;
    position: relative;
    color: var(--vw-mid);
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.vw-inc-list li:last-child, .vw-exc-list li:last-child { border-bottom: none; }
.vw-inc-list li::before { content: '✓'; position:absolute;left:0; color:#16a34a; font-weight:700; }
.vw-exc-list li::before { content: '✕'; position:absolute;left:0; color:#dc2626; font-weight:700; }

/* ── Gallery masonry ─────────────────────────────────────────── */
.vw-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (max-width: 640px) { .vw-gallery-masonry { grid-template-columns: repeat(2,1fr); } }

.vw-gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--vw-cream2);
}
.vw-gallery-masonry > .vw-gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}
.vw-gallery-item img {
    width:100%; height:100%;
    object-fit:cover;
    transition: transform .4s ease;
    display: block;
}
.vw-gallery-item:hover img { transform: scale(1.05); }
.vw-gallery-overlay {
    position:absolute; inset:0;
    background:rgba(28,24,21,.4);
    display:flex; align-items:center; justify-content:center;
    opacity:0; transition:opacity .2s;
    color:#fff; font-size:24px;
}
.vw-gallery-item:hover .vw-gallery-overlay { opacity:1; }

/* ── Lightbox ────────────────────────────────────────────────── */
.vw-lightbox {
    position:fixed; inset:0; z-index:9999;
    display:flex; align-items:center; justify-content:center;
    gap:16px;
}
.vw-lightbox-backdrop {
    position:absolute; inset:0;
    background:rgba(0,0,0,.9);
    backdrop-filter:blur(4px);
}
.vw-lightbox-img-wrap {
    position:relative; z-index:1;
    max-width:90vw; max-height:90vh;
}
.vw-lightbox-img-wrap img {
    max-width:90vw; max-height:90vh;
    object-fit:contain; border-radius:8px;
    display:block;
}
.vw-lightbox-close {
    position:absolute; top:20px; right:20px; z-index:2;
    width:40px; height:40px; border-radius:50%;
    background:rgba(255,255,255,.15); border:none;
    color:#fff; font-size:18px; cursor:pointer;
    transition:background .15s;
}
.vw-lightbox-close:hover { background:rgba(255,255,255,.3); }
.vw-lightbox-prev, .vw-lightbox-next {
    position:relative; z-index:1;
    width:48px; height:48px; border-radius:50%;
    background:rgba(255,255,255,.12); border:1.5px solid rgba(255,255,255,.2);
    color:#fff; font-size:22px; cursor:pointer;
    transition:background .15s; flex-shrink:0;
}
.vw-lightbox-prev:hover, .vw-lightbox-next:hover { background:rgba(255,255,255,.25); }


/* ════════════════════════════════════════════════════════════════════
   TRIP DETAIL — v4.0 Premium redesign
   White canvas · Black type · Blue conversion · Frictionless UX
   Font: Plus Jakarta Sans · 8pt grid · Swiss precision
   ════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ── Tokens ──────────────────────────────────────────────────────── */
.vw-td {
    --td-bg:       #ffffff;
    --td-surface:  #ffffff;
    --td-surface2: #f7f7f8;
    --td-text:     #0d0d0d;
    --td-muted:    #5c5c5c;
    --td-light:    #999999;
    --td-blue:     #1a56db;
    --td-blue2:    #1444b0;
    --td-blue-bg:  #eef2ff;
    --td-accent:   #e8622c;
    --td-border:   #e5e5e5;
    --td-ok:       #15803d;
    --td-warn:     #b45309;
    --td-err:      #dc2626;
    --td-dark:     #0d0d0d;
    --td-r:        10px;
    --td-font:     'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --td-max:      1200px;
    --td-gap:      56px;
    --td-side:     360px;
}
.vw-td, .vw-td * { box-sizing: border-box; }
.vw-td {
    font-family: var(--td-font);
    color: var(--td-text);
    background: var(--td-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.vw-td img { max-width: 100%; height: auto; display: block; }
.vw-td a { color: inherit; text-decoration: none; transition: color .2s ease; }

/* ── Entrance animations ─────────────────────────────────────── */
@keyframes td-fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes td-fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes td-scaleIn {
    from { opacity: 0; transform: scale(.95); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes td-slideRight {
    from { opacity: 0; transform: translateX(-12px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes td-fillBar {
    from { width: 0; }
}

.td-sec {
    animation: td-fadeUp .5s ease both;
}
.td-sec:nth-child(2) { animation-delay: .05s; }
.td-sec:nth-child(3) { animation-delay: .1s; }
.td-sec:nth-child(4) { animation-delay: .15s; }
.td-sec:nth-child(5) { animation-delay: .2s; }

/* ════════════════════════════════
   TITLE BAR (replaces hero)
   ════════════════════════════════ */
.td-title-bar {
    padding: 48px 0 40px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--td-border);
    text-align: center !important;
}
.td-title-inner {
    max-width: var(--td-max);
    margin: 0 auto !important;
    padding: 0 48px;
    text-align: center !important;
}
.td-title-dest {
    display: inline-block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .25em !important;
    color: var(--td-blue) !important;
    margin: 0 auto 12px !important;
}
.td-title-main {
    font-size: clamp(32px, 5vw, 52px) !important;
    font-weight: 800 !important;
    color: var(--td-text) !important;
    line-height: 1.1 !important;
    letter-spacing: -.04em !important;
    margin: 0 auto 20px !important;
    text-align: center !important;
    max-width: none !important;
    padding: 0 !important;
    float: none !important;
}
.td-title-chips {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center !important;
    position: relative;
    z-index: 1;
}
.td-chip {
    padding: 6px 16px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    background: var(--td-surface2);
    color: var(--td-text) !important;
    border: 1px solid var(--td-border);
    display: inline-flex !important;
    align-items: center;
    line-height: 1.4;
}
.td-chip-price {
    background: var(--td-blue) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    font-weight: 700;
}

@media (max-width: 640px) {
    .td-title-bar { padding: 28px 0 24px !important; }
    .td-title-inner { padding: 0 20px; }
}

/* ════════════════════════════════
   PHOTO STRIP
   ════════════════════════════════ */
.td-photo-strip {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    position: relative;
}
.td-photo-strip::-webkit-scrollbar { display: none; }
.td-ps-item {
    flex: 0 0 auto;
    width: 360px;
    height: 260px;
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}
.td-ps-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.td-ps-item:hover img { transform: scale(1.05); }
.td-ps-main { width: 480px; }
@media (max-width: 640px) { .td-ps-main { width: 320px; } }
.td-ps-more {
    flex: 0 0 auto;
    width: 120px;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--td-dark);
    color: #fff;
    font-family: var(--td-font);
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .2s;
}
.td-ps-more:hover { background: #333; }

@media (max-width: 640px) {
    .td-ps-item { width: 260px; height: 200px; }
    .td-ps-more { width: 80px; height: 200px; font-size: 14px; }
}

/* ════════════════════════════════
   NAV — sticky with subtle reveal
   ════════════════════════════════ */
.td-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s ease;
}
.td-nav.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,.06);
}
.td-nav-inner {
    max-width: var(--td-max);
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
}
.td-nav-links {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}
.td-nav-links::-webkit-scrollbar { display: none; }
.td-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--td-muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color .2s, border-color .2s;
    position: relative;
}
.td-nav-link:hover { color: var(--td-text); }
.td-nav-link.active {
    color: var(--td-blue);
    border-bottom-color: var(--td-blue);
}
.td-nav-cta {
    display: none; /* Rimosso dalla nav */
}

@media (max-width: 640px) {
    .td-nav-inner { padding: 0 16px; }
    .td-nav-link { padding: 14px 12px; font-size: 12px; }
    .td-nav-cta { padding: 8px 16px; font-size: 12px; margin: 6px 0; }
}

/* ════════════════════════════════
   BODY — 2-column grid
   ════════════════════════════════ */
.td-body {
    max-width: var(--td-max);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr var(--td-side);
    gap: var(--td-gap);
    align-items: start;
}
@media (max-width: 1024px) {
    .td-body { grid-template-columns: 1fr; gap: 32px; padding: 0 24px; }
}
@media (max-width: 640px) { .td-body { padding: 0 16px; } }

/* ════════════════════════════════
   MAIN sections — 8pt rhythm
   ════════════════════════════════ */
.td-sec:not(.td-sec--animated) {
    padding: 48px 0;
    border-bottom: 1px solid var(--td-border);
}
.td-sec:last-child { border-bottom: none; }
.td-h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--td-text);
    letter-spacing: -.03em;
    margin: 0 0 28px;
    line-height: 1.2;
    position: relative;
}

/* Prose */
.td-prose {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    max-width: 65ch;
}
.td-prose h2, .td-prose h3 { color: var(--td-text); font-weight: 700; margin-top: 24px; }

/* ════════════════════════════════
   DL — definition list rows
   ════════════════════════════════ */
.td-dl { margin: 0 0 24px; }
.td-dl-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid var(--td-border);
    gap: 16px;
}
.td-dl-row:first-child { border-top: 1px solid var(--td-border); }
.td-dl-row dt {
    font-size: 14px;
    font-weight: 500;
    color: var(--td-muted);
    flex-shrink: 0;
}
.td-dl-row dd {
    font-size: 15px;
    font-weight: 600;
    color: var(--td-text);
    text-align: right;
    margin: 0;
}

@media (max-width: 480px) {
    .td-dl-row { flex-direction: column; gap: 2px; }
    .td-dl-row dd { text-align: left; }
}

/* ════════════════════════════════
   LEVELS
   ════════════════════════════════ */
.td-levels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0 24px;
    padding: 28px;
    background: var(--td-surface2);
    border-radius: var(--td-r);
}
@media (max-width: 480px) { .td-levels { grid-template-columns: 1fr; gap: 16px; padding: 20px; } }

.td-lv {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: td-slideRight .4s ease both;
}
.td-lv:nth-child(2) { animation-delay: .05s; }
.td-lv:nth-child(3) { animation-delay: .1s; }
.td-lv:nth-child(4) { animation-delay: .15s; }
.td-lv:nth-child(5) { animation-delay: .2s; }
.td-lv:nth-child(6) { animation-delay: .25s; }
.td-lv-head { display: flex; align-items: center; gap: 6px; }
.td-lv-icon { font-size: 14px; }
.td-lv-name { font-size: 13px; font-weight: 700; color: var(--td-text); flex: 1; }
.td-lv-val  { font-size: 12px; font-weight: 600; color: var(--td-muted); }
.td-lv-track {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
}
.td-lv-fill {
    height: 100%;
    background: var(--td-blue);
    border-radius: 3px;
    animation: td-fillBar .8s cubic-bezier(.22,1,.36,1) both;
}

/* Skyscanner */
.td-sky-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 24px;
    background: #0770e3;
    color: #ffffff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background .2s, transform .15s;
}
.td-sky-btn:hover { background: #0558b5; color: #ffffff !important; transform: translateY(-1px); }
.td-sky-btn svg { stroke: #fff; }

/* ════════════════════════════════
   PRICE HERO
   ════════════════════════════════ */
.td-price-hero {
    padding: 32px;
    background: var(--td-surface);
    border: 1px solid var(--td-border);
    border-radius: var(--td-r);
    margin-bottom: 32px;
    text-align: center;
}
.td-price-label { font-size: 12px; font-weight: 600; color: var(--td-muted); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.td-price-amount { font-size: 48px; font-weight: 900; color: var(--td-text); letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.td-price-sub { font-size: 14px; color: var(--td-muted); }
.td-price-note { font-size: 13px; color: var(--td-light); margin-top: 8px; font-style: italic; }

/* Include/Exclude */
.td-incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .td-incl-grid { grid-template-columns: 1fr; } }

.td-incl-card {
    padding: 24px;
    border-radius: var(--td-r);
    background: var(--td-surface2);
    border: none;
    border-left: 3px solid transparent;
}
.td-incl-yes { border-left-color: var(--td-ok); }
.td-incl-no  { border-left-color: var(--td-err); }
.td-incl-title { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 16px; }
.td-incl-yes .td-incl-title { color: var(--td-ok); }
.td-incl-no .td-incl-title  { color: var(--td-err); }

.td-incl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.td-incl-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    line-height: 1.5;
}
.td-incl-list li svg { flex-shrink: 0; margin-top: 2px; stroke: var(--td-ok); }
.td-excl-list li svg { stroke: var(--td-err); }

/* ════════════════════════════════
   TIMELINE / ITINERARY
   ════════════════════════════════ */
.td-itin-intro { margin-bottom: 24px; }
.td-route {
    border-radius: var(--td-r);
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--td-border);
}
.td-route img { width: 100%; max-height: 320px; object-fit: cover; }

.td-timeline { position: relative; padding-left: 40px; }
.td-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: var(--td-border);
}
.td-tl-item { position: relative; margin-bottom: 0; }
.td-tl-dot {
    position: absolute;
    left: -40px;
    top: 16px;
    width: 32px;
    height: 32px;
    background: var(--td-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.td-tl-dot span { color: #fff; font-size: 12px; font-weight: 800; }
.td-tl-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--td-border);
    cursor: pointer;
    text-align: left;
    font-family: var(--td-font);
}
.td-tl-day { font-size: 15px; font-weight: 700; color: var(--td-text); }
.td-tl-chev { color: var(--td-light); transition: transform .25s; flex-shrink: 0; }
.td-tl-trigger[aria-expanded="true"] .td-tl-chev { transform: rotate(180deg); }
.td-tl-trigger:hover .td-tl-day { color: var(--td-accent); }
.td-tl-body { padding: 16px 0 24px; }
.td-tl-body p { font-size: 15px; line-height: 1.8; color: #555; margin: 0; }

@media (max-width: 480px) {
    .td-timeline { padding-left: 32px; }
    .td-tl-dot { left: -32px; width: 26px; height: 26px; }
    .td-tl-dot span { font-size: 11px; }
    .td-timeline::before { left: 12px; }
}

/* ════════════════════════════════
   FAQ
   ════════════════════════════════ */
.td-faq-item { padding: 20px 0; border-bottom: 1px solid var(--td-border); }
.td-faq-item:first-child { border-top: 1px solid var(--td-border); }
.td-faq-item h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--td-text); }
.td-faq-item p { font-size: 15px; line-height: 1.75; color: #555; margin: 0; }

/* ════════════════════════════════
   GALLERY
   ════════════════════════════════ */
.td-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
@media (max-width: 640px) { .td-gallery { grid-template-columns: repeat(2, 1fr); } }
.vw-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.vw-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vw-gallery-item:hover img { transform: scale(1.05); }

/* ════════════════════════════════
   SIDEBAR — sticky desktop only
   ════════════════════════════════ */
.td-aside {
    position: relative;
}
@media (min-width: 1025px) {
    .td-aside {
        position: sticky;
        top: 72px; /* nav height ~52px + 20px spacing */
        align-self: start;
        max-height: calc(100vh - 88px);
        overflow-y: auto;
        scrollbar-width: none;
    }
    .td-aside::-webkit-scrollbar { display: none; }
}
@media (max-width: 1024px) {
    .td-aside { order: -1; }
}

.td-card {
    background: var(--td-surface);
    border: 1px solid var(--td-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.05);
    animation: td-scaleIn .4s ease both;
    animation-delay: .1s;
    transition: box-shadow .3s ease;
}
.td-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.td-card-badge {
    padding: 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.td-badge-open   { background: #f0faf4; color: var(--td-ok); }
.td-badge-warn   { background: #fef3cd; color: var(--td-warn); }
.td-badge-closed { background: #f5f5f5; color: var(--td-muted); }

/* Price */
.td-card-price {
    padding: 24px 24px 4px;
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
}
.td-card-from { font-size: 12px; color: var(--td-muted); font-weight: 500; }
.td-card-amount { font-size: 44px; font-weight: 900; letter-spacing: -.04em; color: var(--td-text); line-height: 1; }
.td-card-pp { font-size: 14px; color: var(--td-muted); font-weight: 400; }
.td-card-deposit { padding: 0 24px 16px; font-size: 13px; color: var(--td-muted); }

/* Info rows */
.td-card-info { border-top: 1px solid var(--td-border); }
.td-ci {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 13px;
    border-bottom: 1px solid #f0ece5;
}
.td-ci:last-child { border-bottom: none; }
.td-ci span { color: var(--td-muted); }
.td-ci strong { color: var(--td-text); font-weight: 600; }

/* Availability */
.td-card-avail { padding: 12px 24px; border-top: 1px solid var(--td-border); }
.td-avail-text { font-size: 12px; color: var(--td-muted); font-weight: 500; margin-bottom: 6px; }
.td-avail-bar { height: 4px; background: #ede9e3; border-radius: 2px; overflow: hidden; }
.td-avail-fill { height: 100%; background: var(--td-ok); border-radius: 2px; transition: width .4s; }
.td-avail-fill.critical { background: var(--td-warn); }

/* CTA */
.td-card-cta {
    display: block;
    margin: 16px 20px 0;
    padding: 16px;
    background: var(--td-blue) !important;
    color: #ffffff !important;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .01em;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
    box-shadow: 0 4px 16px rgba(26,86,219,.2);
    width: calc(100% - 40px);
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
}
.td-card-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,.1) 0%, transparent 50%);
    pointer-events: none;
}
.td-card-cta:hover {
    background: var(--td-blue2) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26,86,219,.3);
    color: #ffffff !important;
}
.td-card-cta:visited, .td-card-cta:active, .td-card-cta:focus {
    color: #ffffff !important;
}
.td-card-cta:active { transform: translateY(0); }
.td-cta-off { background: #e5e5e5 !important; color: #999 !important; cursor: not-allowed; box-shadow: none; }
.td-cta-off::after { display: none; }
.td-cta-off:hover { background: #e5e5e5 !important; transform: none; box-shadow: none; color: #999 !important; }

/* Sky + WA */
.td-card-sky, .td-card-wa {
    display: block;
    margin: 8px 20px 0;
    padding: 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    width: calc(100% - 40px);
    transition: background .15s;
}
.td-card-sky { background: #0770e3; color: #ffffff !important; }
.td-card-sky:hover { background: #0558b5; color: #ffffff !important; }
.td-card-wa { background: #22c55e; color: #ffffff !important; }
.td-card-wa:hover { background: #16a34a; color: #ffffff !important; }

/* Trust */
.td-card-trust {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 24px;
    margin-top: 8px;
    border-top: 1px solid #f0ece5;
}
.td-card-trust span { font-size: 12px; color: var(--td-muted); }

/* Coordinator mini */
.td-card-coord {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--td-border);
    transition: background .15s;
}
.td-card-coord:hover { background: #faf8f5; }
.td-card-coord img { width: 40px; height: 40px; border-radius: 50% !important; object-fit: cover; flex-shrink: 0; }
.td-card-coord small { font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--td-blue); display: block; }
.td-card-coord strong { font-size: 14px; font-weight: 700; color: var(--td-text); display: block; }

/* ════════════════════════════════
   COORDINATOR FULL — editorial
   ════════════════════════════════ */
.td-coord {
    background: var(--td-surface2);
    padding: 80px 0;
    border-top: 1px solid var(--td-border);
}
.td-coord-inner {
    max-width: var(--td-max);
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 56px;
    align-items: center;
}
.td-coord-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.td-coord-avatar {
    grid-column: 1 / -1;
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 16px !important;
    transition: transform .4s ease;
}
.td-coord-avatar:hover { transform: scale(1.02); }

/* Override per avatar gravatar/default */
.td-coord-avatar[src*="gravatar"],
.td-coord-avatar[src*="wp-content/plugins"] {
    border-radius: 50% !important;
    height: auto;
    aspect-ratio: 1;
    max-height: 200px;
    margin: 0 auto;
}
.td-coord-extra {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform .4s ease;
}
.td-coord-extra:hover { transform: scale(1.03); }
.td-coord-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--td-blue);
    margin-bottom: 8px;
    display: block;
}
.td-coord-text h2 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    color: var(--td-text);
    margin: 0 0 20px;
    letter-spacing: -.03em;
}
.td-coord-text h2 a { color: var(--td-text); }
.td-coord-text h2 a:hover { color: var(--td-blue); }
.td-coord-text p {
    font-size: 16px;
    line-height: 1.85;
    color: var(--td-muted);
    margin: 0 0 24px;
}
.td-coord-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    background: var(--td-blue) !important;
    border-radius: 8px;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none !important;
}
.td-coord-link:hover, .td-coord-link:visited, .td-coord-link:active {
    background: var(--td-blue2) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,86,219,.2);
}

@media (max-width: 768px) {
    .td-coord { padding: 56px 0; }
    .td-coord-inner { grid-template-columns: 1fr; padding: 0 24px; gap: 32px; }
    .td-coord-media { max-width: 280px; }
}

/* ════════════════════════════════
   WHY US
   ════════════════════════════════ */
.td-why {
    background: var(--td-dark);
    padding: 80px 48px;
    text-align: center;
}
.td-why-inner { max-width: 680px; margin: 0 auto; }
.td-why h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -.03em;
}
.td-why h2 em { font-style: normal; color: #6b9fff; }
.td-why p { font-size: 17px; line-height: 1.85; color: rgba(255,255,255,.7); margin: 0 0 36px; }
.td-why-pills { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.td-why-pills span {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    transition: background .2s;
}
.td-why-pills span:hover { background: rgba(255,255,255,.18); }
@media (max-width: 640px) { .td-why { padding: 56px 20px; } }

/* ════════════════════════════════
   RELATED
   ════════════════════════════════ */
.td-related { padding: 72px 0; background: #fff; border-top: 1px solid var(--td-border); }
.td-related-inner { max-width: var(--td-max); margin: 0 auto; padding: 0 48px; }
.td-related h2 { font-size: 24px; font-weight: 800; margin: 0 0 32px; color: var(--td-text); }
.td-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .td-related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .td-related-grid { grid-template-columns: 1fr; } .td-related-inner { padding: 0 16px; } }

.td-rcard {
    display: flex;
    flex-direction: column;
    background: var(--td-surface);
    border: 1px solid var(--td-border);
    border-radius: var(--td-r);
    overflow: hidden;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
    color: inherit;
}
.td-rcard:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.td-rcard img { width: 100%; height: 180px; object-fit: cover; }
.td-rcard-ph { height: 180px; background: #ede9e3; display: flex; align-items: center; justify-content: center; font-size: 36px; }
.td-rcard-body { padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.td-rcard-dest { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--td-blue); }
.td-rcard h3 { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }
.td-rcard-price { font-size: 15px; font-weight: 700; margin-top: 4px; }

/* ════════════════════════════════
   MOBILE CTA BAR
   ════════════════════════════════ */
.td-mob-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: #fff;
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--td-border);
    box-shadow: 0 -2px 16px rgba(0,0,0,.06);
}
@media (max-width: 1024px) { .td-mob-cta { display: flex; } }
.td-mob-price { color: var(--td-text); font-size: 20px; font-weight: 800; }
.td-mob-price small { font-size: 12px; font-weight: 400; color: var(--td-muted); }
.td-mob-btn {
    padding: 12px 28px;
    background: var(--td-blue) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    transition: background .2s, transform .15s;
    text-decoration: none !important;
}
.td-mob-btn:hover, .td-mob-btn:visited, .td-mob-btn:active { background: var(--td-blue2) !important; color: #ffffff !important; }
.td-mob-btn:active { transform: scale(.97); }

/* ════════════════════════════════
   BOOKING MODAL
   ════════════════════════════════ */
.vw-booking-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center; padding: 24px;
}
.vw-booking-modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    opacity: 0; transition: opacity .3s;
}
.vw-booking-modal.open .vw-booking-modal-backdrop { opacity: 1; }
.vw-booking-modal-container {
    position: relative; z-index: 1;
    width: 100%; max-width: 720px; max-height: 90vh;
    overflow-y: auto; border-radius: 16px;
    background: #fff; box-shadow: 0 24px 64px rgba(0,0,0,.25);
    transform: translateY(20px); opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
}
.vw-booking-modal.open .vw-booking-modal-container { transform: translateY(0); opacity: 1; }
.vw-booking-modal-close {
    position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,.06); border: none; color: #333;
    font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.vw-booking-modal-close:hover { background: rgba(0,0,0,.12); }
.vw-booking-modal-body { padding: 0; }
.vw-booking-modal-body .vw-booking-form-wrap { box-shadow: none; border-radius: 0; }
@media (max-width: 640px) {
    .vw-booking-modal { padding: 0; align-items: flex-end; }
    .vw-booking-modal-container { max-width: 100%; border-radius: 16px 16px 0 0; max-height: 95vh; }
}

/* ════════════════════════════════
   LIGHTBOX
   ════════════════════════════════ */
.vw-lightbox {
    position: fixed; inset: 0; z-index: 11000;
    display: flex; align-items: center; justify-content: center; gap: 16px; padding: 48px;
    background: rgba(0,0,0,.92);
}
.vw-lightbox-backdrop { position: absolute; inset: 0; }
.vw-lightbox-close {
    position: absolute; top: 16px; right: 16px; z-index: 1;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none; color: #fff;
    font-size: 24px; cursor: pointer;
}
.vw-lightbox-close:hover { background: rgba(255,255,255,.2); }
.vw-lightbox-img-wrap { position: relative; z-index: 1; max-width: 90vw; max-height: 80vh; }
.vw-lightbox-img-wrap img { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 8px; }
.vw-lightbox-prev, .vw-lightbox-next {
    position: relative; z-index: 1;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.1); border: none;
    color: #fff; font-size: 22px; cursor: pointer; flex-shrink: 0;
}
.vw-lightbox-prev:hover, .vw-lightbox-next:hover { background: rgba(255,255,255,.2); }

/* ════════════════════════════════
   MOBILE bottom safe area
   ════════════════════════════════ */
@media (max-width: 1024px) {
    .td-related { padding-bottom: 120px; }
    .td-why + .td-related { padding-bottom: 120px; }
}

/* ── DL row hover micro-interaction ─────────────── */
.td-dl-row {
    transition: background .15s;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
    border-radius: 6px;
}
.td-dl-row:hover { background: var(--td-surface2); }

/* ── Photo strip hover ──────────────────────────── */
.td-ps-item { transition: opacity .2s; }
.td-photo-strip:hover .td-ps-item { opacity: .8; }
.td-photo-strip:hover .td-ps-item:hover { opacity: 1; }

/* ── Gallery hover ──────────────────────────────── */
.vw-gallery-item { transition: transform .3s ease, box-shadow .3s ease; }
.vw-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* ── Price hero in white context ────────────────── */
.td-price-hero {
    background: var(--td-surface2);
    border: none;
}

/* ── FAQ item hover ─────────────────────────────── */
.td-faq-item {
    transition: background .15s;
    padding-left: 12px;
    padding-right: 12px;
    margin-left: -12px;
    margin-right: -12px;
    border-radius: 8px;
}
.td-faq-item:hover { background: var(--td-surface2); }

/* ── Accordion trigger hover ────────────────────── */
.td-tl-trigger:hover .td-tl-day { color: var(--td-blue); }

/* ── Related card border on white bg ────────────── */
.td-rcard { border: 1px solid #eee; }

/* ════════════════════════════════════════════════════════════════════
   COORDINATOR PROFILE — [vw_coordinatore]
   ════════════════════════════════════════════════════════════════════ */
.vw-coord-profile {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #0d0d0d;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
.vw-coord-profile *, .vw-coord-profile *::before, .vw-coord-profile *::after { box-sizing: border-box; }
.vw-coord-profile img { max-width: 100%; height: auto; display: block; }
.vw-coord-profile a { color: inherit; text-decoration: none; }

/* Hero */
.cp-hero {
    background: #f7f7f8;
    padding: 64px 0;
    border-bottom: 1px solid #e5e5e5;
}
.cp-hero-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: center;
}
.cp-hero-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}
.cp-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cp-hero-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #1a56db;
    margin-bottom: 12px;
}
.cp-hero-name {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.1;
    margin: 0 0 24px;
    color: #0d0d0d;
}
.cp-hero-stats {
    display: flex;
    gap: 32px;
}
.cp-stat {
    display: flex;
    flex-direction: column;
}
.cp-stat-num {
    font-size: 28px;
    font-weight: 800;
    color: #1a56db;
    line-height: 1;
}
.cp-stat-label {
    font-size: 12px;
    font-weight: 500;
    color: #5c5c5c;
    margin-top: 4px;
}

@media (max-width: 640px) {
    .cp-hero { padding: 48px 0; }
    .cp-hero-inner {
        grid-template-columns: 1fr;
        padding: 0 24px;
        gap: 24px;
        text-align: center;
    }
    .cp-hero-photo {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }
    .cp-hero-stats { justify-content: center; }
}

/* Sections */
.cp-section {
    padding: 56px 0;
    border-bottom: 1px solid #e5e5e5;
}
.cp-section-flush { padding: 0; border-bottom: none; }
.cp-section-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 48px;
}
@media (max-width: 640px) {
    .cp-section { padding: 40px 0; }
    .cp-section-inner { padding: 0 24px; }
}
.cp-h2 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 24px;
    color: #0d0d0d;
}
.cp-bio {
    font-size: 16px;
    line-height: 1.85;
    color: #333;
    max-width: 640px;
}

/* Extra photos */
.cp-photos {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.cp-photos::-webkit-scrollbar { display: none; }
.cp-photo-item {
    flex: 0 0 auto;
    width: 320px;
    height: 220px;
    overflow: hidden;
}
.cp-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.cp-photo-item:hover img { transform: scale(1.04); }
@media (max-width: 640px) {
    .cp-photo-item { width: 260px; height: 180px; }
}

/* Trip cards */
.cp-trips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 900px) { .cp-trips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cp-trips-grid { grid-template-columns: 1fr; } }

.cp-trip-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    transition: transform .25s, box-shadow .25s;
    background: #fff;
}
.cp-trip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0,0,0,.08);
}
.cp-trip-img {
    height: 180px;
    overflow: hidden;
    background: #f7f7f8;
}
.cp-trip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.cp-trip-card:hover .cp-trip-img img { transform: scale(1.05); }
.cp-trip-ph {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}
.cp-trip-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cp-trip-dest {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #1a56db;
}
.cp-trip-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: #0d0d0d;
}
.cp-trip-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: #5c5c5c;
    margin-top: 4px;
}
.cp-trip-price {
    font-weight: 700;
    color: #0d0d0d;
}
.cp-trip-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    background: #fef3cd;
    color: #b45309;
    border-radius: 4px;
    width: fit-content;
}

/* CTA */
.cp-cta-section {
    padding: 64px 0;
    background: #f7f7f8;
}
.cp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: #1a56db !important;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    transition: background .2s, transform .15s, box-shadow .2s;
    text-decoration: none !important;
}
.cp-cta-btn:hover, .cp-cta-btn:visited, .cp-cta-btn:active {
    background: #1444b0 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,86,219,.25);
}

/* ════════════════════════════════
   GLOBAL — force white text on blue bg
   ════════════════════════════════ */
.vw-td [style*="background"][style*="blue"],
.vw-td .td-card-cta,
.vw-td .td-card-sky,
.vw-td .td-card-wa,
.vw-td .td-mob-btn,
.vw-td .td-coord-link,
.vw-td .td-sky-btn,
.vw-td .td-chip-price,
.vw-coord-profile .cp-cta-btn {
    color: #ffffff !important;
}
.vw-td .td-card-cta *,
.vw-td .td-card-sky *,
.vw-td .td-card-wa *,
.vw-td .td-mob-btn *,
.vw-td .td-coord-link *,
.vw-td .td-sky-btn *,
.vw-coord-profile .cp-cta-btn * {
    color: #ffffff !important;
}

/* ════════════════════════════════
   FOCUS / ACCESSIBILITY
   ════════════════════════════════ */
.vw-td a:focus-visible,
.vw-td button:focus-visible,
.vw-coord-profile a:focus-visible,
.vw-coord-profile button:focus-visible {
    outline: 2px solid var(--td-blue, #1a56db);
    outline-offset: 2px;
    border-radius: 4px;
}
.td-nav-link:focus-visible,
.td-card-cta:focus-visible,
.td-mob-btn:focus-visible {
    outline: 2px solid var(--td-blue);
    outline-offset: 2px;
}

/* ════════════════════════════════
   REDUCED MOTION
   ════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .td-sec, .td-lv, .td-card, .td-lv-fill {
        animation: none !important;
    }
    .vw-td *, .vw-coord-profile * {
        transition-duration: 0.01ms !important;
    }
}

/* ════════════════════════════════════════════════════════════════════
   SEARCH WIDGET — [vw_cerca]
   Copia esatta del design di riferimento
   ════════════════════════════════════════════════════════════════════ */
.vw-search-widget {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 0 24px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.vw-sw-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 12px 48px rgba(0,0,0,.14), 0 2px 6px rgba(0,0,0,.05);
    width: 100%;
    max-width: 720px;
    padding: 20px 28px 28px;
}

/* ── Tabs ── */
.vw-sw-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.vw-sw-tabs-inner {
    display: inline-flex;
    background: #e8eaef;
    border-radius: 10px;
    padding: 4px;
    gap: 0;
}
.vw-sw-tab {
    padding: 10px 28px;
    border-radius: 8px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #3c3c43;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    z-index: 1;
}
.vw-sw-tab:hover { color: #1a1a1a; }
.vw-sw-tab.active {
    background: #0f2b5b;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15,43,91,.3);
}

/* ── Panels ── */
.vw-sw-panel { display: none; }
.vw-sw-panel.active { display: block; }

/* ── Fields ── */
.vw-sw-fields {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.vw-sw-field {
    flex: 1;
    min-width: 0;
    background: #eef0f4;
    border-radius: 14px;
    padding: 14px 18px;
    position: relative;
    transition: background .2s;
}
.vw-sw-field:hover { background: #e6e8ed; }

.vw-sw-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #8e8e93;
    margin-bottom: 4px;
    letter-spacing: 0;
    text-transform: none;
}
.vw-sw-select {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent !important;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    color: #0f2b5b;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    background-image: none !important;
}
.vw-sw-select:focus {
    outline: none;
    box-shadow: none;
}
/* Hide default select arrow */
.vw-sw-select::-ms-expand { display: none; }

/* ── Search button ── */
.vw-sw-btn {
    flex-shrink: 0;
    width: 56px;
    height: auto;
    min-height: 56px;
    border-radius: 50%;
    border: none;
    background: #0f2b5b !important;
    color: #ffffff !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transition: background .2s, transform .2s, box-shadow .2s;
}
.vw-sw-btn:hover {
    background: #0a1f42 !important;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(15,43,91,.35);
}
.vw-sw-btn:active { transform: scale(.95); }
.vw-sw-btn svg { stroke: #ffffff !important; }

/* ── Mobile ── */
@media (max-width: 640px) {
    .vw-search-widget { padding: 0 16px; }
    .vw-sw-card { border-radius: 20px; padding: 16px 20px 20px; }
    .vw-sw-fields {
        flex-direction: column;
        gap: 8px;
    }
    .vw-sw-field { padding: 12px 16px; }
    .vw-sw-btn {
        width: 100%;
        height: 52px;
        border-radius: 14px;
        min-height: 52px;
    }
    .vw-sw-tab { padding: 8px 20px; font-size: 13px; }
    .vw-sw-select { font-size: 15px; }
}

/* ── Overlay mode — sopra immagine hero ── */
.vw-search-widget--overlay {
    margin-top: -60px;
}
