/* WeekendGo - style.css - gen-z ✨ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&display=swap');

/* ============================================================
   AUTOCOMPLETE PROVINCE
   ============================================================ */
.province-dropdown {
  position: absolute; z-index: 9999;
  margin: 0; padding: 4px 0;
  background: #1A1A22; border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.6);
  list-style: none; display: none;
  overflow-y: auto; max-height: 280px;
}
.province-dropdown::-webkit-scrollbar { width: 4px; }
.province-dropdown::-webkit-scrollbar-thumb { background: rgba(255,255,255,.15); border-radius: 4px; }
.province-dropdown li { display: flex; flex-direction: column; padding: 11px 16px; cursor: pointer; transition: background .1s; border-bottom: 1px solid rgba(255,255,255,.06); }
.province-dropdown li:last-child { border-bottom: none; }
.province-dropdown li:hover, .province-dropdown li.active { background: rgba(255,107,53,.18); }
.province-dropdown .prov-nome { font-size: 14.5px; font-weight: 600; color: #F0EDE8; }
.province-dropdown .prov-sub  { font-size: 11.5px; color: rgba(255,255,255,.42); margin-top: 2px; }

/* ============================================================
   CITY ROW
   ============================================================ */
.city-row { display: flex; flex-direction: column; gap: 12px; margin-bottom: 4px; }
@media (min-width: 600px) {
  .city-row { flex-direction: row; align-items: flex-start; gap: 10px; }
  .city-field { flex: 1; min-width: 0; }
}
.city-arrow-sep { display: none; }
@media (min-width: 600px) {
  .city-arrow-sep { display: flex; align-items: center; justify-content: center; flex-shrink: 0; padding-top: 44px; }
  .city-arrow-sep svg { width: 20px; height: 20px; stroke: rgba(255,255,255,.3); }
}
.city-input-wrap { position: relative; }
.city-input-wrap input { padding-left: 42px !important; }
.city-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; stroke: rgba(255,255,255,.35); pointer-events: none; z-index: 1; }
.field-optional { font-weight: 400; color: rgba(255,255,255,.3); font-size: 11.5px; }

/* ============================================================
   CHOICE DISABILITATA
   ============================================================ */
.choice--disabled { opacity: .3; cursor: not-allowed; pointer-events: none; position: relative; }

/* ============================================================
   ERROR BOX
   ============================================================ */
.wizard-error-slot { width: 100%; max-width: 100%; overflow: hidden; }
.error-box { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #FCA5A5; padding: 13px 15px; border-radius: var(--radius-sm); font-size: 13.5px; margin-top: 14px; word-break: break-word; overflow-wrap: break-word; }
.wizard-info-box { margin: 4px 0 16px; padding: 13px 15px; border-radius: 14px; background: rgba(79,140,255,.09); border: 1px solid rgba(79,140,255,.22); color: rgba(240,237,232,.78); font-size: 12.8px; line-height: 1.55; }
.wizard-info-box strong { color: #AFC8FF; }
.error-box--furbo { background: rgba(226,112,58,.12); border-color: rgba(226,112,58,.4); color: #FBD0B0; font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; padding: 16px 18px; }
.furbo-icon { font-size: 24px; flex-shrink: 0; }

/* ============================================================
   WARNING BOX (viaggio lungo)
   ============================================================ */
.warning-box { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.28); color: #FDE68A; padding: 16px 18px; border-radius: var(--radius-md); font-size: 13px; margin: 18px auto 0; line-height:1.6; max-width: 680px; box-shadow: 0 14px 36px rgba(0,0,0,.18); }
.warning-box strong { color:#F59E0B; }
.warning-box .warning-title { display:block; margin-bottom:8px; font-size:14px; }
.warning-box .return-note-inline { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(43,156,130,.1); border: 1px solid rgba(43,156,130,.24); color: rgba(220,241,234,.9); text-align: center; }
.warning-box .warning-actions { display:flex; gap:10px; margin-top:14px; flex-wrap:wrap; justify-content:center; }
.warning-box .btn-confirm { background:rgba(245,158,11,.25); border:1px solid rgba(245,158,11,.4); color:#FDE68A; padding:8px 16px; border-radius:8px; font-size:13px; cursor:pointer; font-weight:600; }
.warning-box .btn-confirm:hover { background:rgba(245,158,11,.4); }
.warning-box .btn-back { background:none; border:1px solid rgba(255,255,255,.2); color:rgba(255,255,255,.6); padding:8px 14px; border-radius:8px; font-size:13px; cursor:pointer; }
.wizard-modal-backdrop { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(6,6,8,.72); backdrop-filter: blur(10px); }
.wizard-modal-backdrop .warning-box { width: min(620px, 100%); margin: 0; background: rgba(24,24,28,.96); border-color: rgba(245,158,11,.38); text-align: left; }
.wizard-modal-backdrop .return-note-inline { text-align: left; }
@media (max-width: 640px) { .wizard-modal-backdrop { align-items: flex-end; padding: 16px; } .wizard-modal-backdrop .warning-actions { flex-direction: column; } .wizard-modal-backdrop .warning-actions button { width: 100%; } }

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

:root {
  --cream: #F0EEFF; --paper: #FFFFFF; --ink: #1a1030; --ink-soft: #5a4a7a;
  --ink-faint: #9080b0; --coral: #FF6B35; --coral-deep: #EA580C;
  --coral-tint: rgba(255,107,53,.12); --coral-tint-2: rgba(255,107,53,.08); --teal: #06FFA5;
  --teal-tint: rgba(6,255,165,.1); --border: rgba(255,107,53,.2);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.12);
  --shadow-md: 0 8px 24px rgba(0,0,0,.18);
  --shadow-coral: 0 10px 28px rgba(255,107,53,.32);
  --radius-lg: 22px; --radius-md: 16px; --radius-sm: 10px;
  --font-display: 'Space Grotesk','Inter',sans-serif;
  --font-body: 'Inter',-apple-system,sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
body { background: #07070F; color: var(--ink); font-family: var(--font-body); min-height: 100vh; -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin: 0; }
a { color: var(--coral); text-decoration: none; }

.app-shell { min-height: 100vh; background: #0D0D0F; display: flex; flex-direction: column; }
.navbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: rgba(13,13,15,.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 30; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #F0EDE8; }
.logo span { background: linear-gradient(135deg,#FF6B35,#FCD34D); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
.nav-link { font-size: 13px; color: rgba(255,255,255,.55); }
.container { flex: 1; padding: 28px 18px 60px; max-width: 100%; box-sizing: border-box; }
@media (min-width: 700px) {
  .container { width: 640px; max-width: 640px; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
  .step.active { min-height: 580px; }
}
@media (min-width: 1280px) {
  .container { width: 1200px; max-width: 1200px; }
}
.card { background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }

@media (max-width: 768px) {
  .card {
    background: #252525;
  }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px 20px; border-radius: 14px; background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15.5px; border: none; cursor: pointer; box-shadow: var(--shadow-coral); transition: transform .12s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn.secondary { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); box-shadow: none; color: rgba(255,255,255,.85); }
.btn.paypal { background: #FFC439; color: #1a1a1a; box-shadow: 0 10px 24px rgba(255,196,57,.3); }
.btn:disabled { opacity: .55; cursor: not-allowed; }

.progress { display: flex; gap: 6px; margin: 22px 0 24px; }
.progress .dot { flex: 1; height: 5px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background .3s; }
.progress .dot.done { background: var(--coral); }
.step { display: none; } .step.active { display: block; }
.step h2 { font-size: 23px; margin-bottom: 8px; color: #F0EEFF; font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
label.field-label { display: block; font-size: 13px; color: rgba(255,255,255,.55); font-weight: 600; margin: 18px 0 8px; }
input[type="text"],input[type="email"],input[type="datetime-local"],input[type="date"],input[type="time"],input[type="number"],select,textarea { width: 100%; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.12); color: #F0EDE8; padding: 14px 15px; border-radius: var(--radius-sm); font-size: 15px; font-family: var(--font-body); color-scheme: dark; }
input:focus,select:focus,textarea:focus { outline: none; border-color: var(--coral); }
input::placeholder { color: rgba(255,255,255,.28); }
.choice-grid { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 6px; }
.choice-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.choice-grid.cols-3 { grid-template-columns: repeat(2,1fr); }
@media (min-width: 480px) { .choice-grid.cols-3 { grid-template-columns: repeat(3,1fr); } }
.choice { background: rgba(255,255,255,.09); border: 1.5px solid rgba(255,255,255,.18); border-radius: var(--radius-md); padding: 16px; cursor: pointer; display: flex; align-items: center; gap: 14px; transition: border-color .12s, background .12s; position: relative; }
.choice-grid.cols-2 .choice,.choice-grid.cols-3 .choice { flex-direction: column; align-items: flex-start; }
.choice .icon-badge { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,107,53,.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.choice .icon-badge svg { width: 20px; height: 20px; stroke: #FF6B35; fill: none; }
.choice .label-group strong { display: block; font-size: 15px; font-weight: 600; color: #F0EDE8; margin-bottom: 2px; }
.choice .label-group span   { display: block; font-size: 12.5px; color: rgba(255,255,255,.45); }
.choice.selected { border-color: var(--coral); background: rgba(255,107,53,.12); }
.choice.selected .icon-badge { background: rgba(255,107,53,.3); }
.interests-grid { grid-template-columns: repeat(2, 1fr); }
.interests-grid > .interest-card { min-width: 0; overflow: hidden; }
.choice-grid > .choice { min-width: 0; }
.interest-card { flex-direction: row; align-items: center; padding: 13px 14px; gap: 12px; border-radius: 16px; transition: border-color .15s, background .15s, transform .12s; }
.interest-card:hover { transform: translateY(-1px); }
.interest-emoji { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; line-height: 1; flex-shrink: 0; transition: transform .15s; }
.interest-card:hover .interest-emoji { transform: scale(1.1) rotate(-4deg); }
.interest-card.selected { border-color: var(--ic, var(--coral)); background: rgba(255,255,255,.1); }
.interest-card.selected .interest-emoji { transform: scale(1.08); filter: brightness(1.2) saturate(1.15); }
.interest-card .label-group strong { font-size: 13px; margin-bottom: 2px; font-weight: 700; }
.interest-card .label-group span { font-size: 11px; color: rgba(255,255,255,.42); }
/* Checkmark bubble on each interest card */
.interest-card::before { content: ''; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); pointer-events: none; z-index: 2; text-align: center; line-height: 18px; font-size: 11px; font-weight: 900; color: transparent; transition: border-color .15s, background .15s, color .15s; }
.interest-card.selected::before { content: '✓'; background: var(--ic, var(--coral)); border-color: var(--ic, var(--coral)); color: #fff; }
/* Beach (gold) card: gold checkmark when selected */
.interest-card--mare.selected::before { background: #FFD700; border-color: #FFD700; color: #5a3e00; }
/* Make the beach card selected state more visually distinct */
.interest-card--mare.selected { border-color: rgba(255,215,0,.9)!important; background: rgba(255,215,0,.22)!important; box-shadow: 0 4px 28px rgba(255,215,0,.55)!important; outline: 2px solid rgba(255,215,0,.6); outline-offset: 2px; }
.datetime-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 8px 0 22px; }
.datetime-field { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius-md); padding: 14px; min-width: 0; }
.datetime-field label.field-label { margin-top: 0; }
.package-subtitle { color: rgba(255,255,255,.48); font-size: 14px; margin: -2px 0 20px; }
.package-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 8px; }
.package-card { position: relative; min-height: 240px; padding: 22px 20px; border-radius: var(--radius-md); background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.12); color: #F0EDE8; cursor: pointer; transition: border-color .14s, background .14s, transform .14s, box-shadow .14s; user-select: none; }
.package-card:hover { border-color: rgba(255,107,53,.45); background: rgba(255,255,255,.08); }
.package-card.selected { border-color: var(--coral); background: rgba(255,107,53,.13); box-shadow: 0 16px 38px rgba(255,107,53,.18); }
.package-card h3 { font-size: 19px; margin: 0 0 8px; color: #F0EDE8; }
.package-price { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: #fff; margin-bottom: 14px; }
.package-price span { font-family: var(--font-body); font-size: 12px; font-weight: 500; color: rgba(255,255,255,.5); margin-left: 2px; }
.package-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.package-card li { color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.35; padding-left: 18px; position: relative; }
.package-card li:before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--teal); font-weight: 700; }
.package-badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; justify-content: center; min-width: 92px; padding: 4px 10px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 700; }
.wizard-nav { display: flex; gap: 10px; margin-top: 28px; }
.wizard-nav .btn { width: auto; flex: 1; }

.trip-header { padding: 18px 0 20px; }
.trip-header h1 { font-size: 24px; margin: 0 0 6px; color: #F0EDE8; }
.trip-header p { color: rgba(255,255,255,.5); font-size: 13.5px; margin: 0; }
.unlock-box { text-align: center; padding: 28px 20px; }
.unlock-box .price { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--coral); margin: 6px 0 2px; }
.unlock-box p.muted { color: rgba(255,255,255,.5); font-size: 13px; margin: 0 0 22px; }
.pay-buttons { display: flex; flex-direction: column; gap: 10px; }
.loader { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 70px 20px; text-align: center; color: rgba(255,255,255,.5); }
.spinner { width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.1); border-top-color: var(--coral); border-radius: 50%; animation: spin .9s linear infinite; margin-bottom: 16px; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-box { text-align: center; padding: 50px 20px; }
/* Date quick-pick buttons (Oggi / Domani) */
.datetime-quickpick { display: flex; gap: 8px; margin: 8px 0 0; }
.qp-btn { background: rgba(255,107,53,.1); border: 1px solid rgba(255,107,53,.28); color: #FB923C; border-radius: 8px; padding: 6px 14px; font-size: 12px; font-weight: 600; cursor: pointer; transition: background .15s; line-height: 1.4; }
.qp-btn:hover { background: rgba(255,107,53,.22); border-color: rgba(255,107,53,.55); }
/* Return date label in duration choices */
.return-date { display: block; font-size: 10.5px; color: rgba(255,255,255,.35); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terms-accept-box { margin: 18px 0 0; padding: 13px 14px; border-radius: 14px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); text-align: left; }
.terms-accept-box.terms-attention { border-color: rgba(239,68,68,.55); box-shadow: 0 0 0 3px rgba(239,68,68,.12); }
.terms-check { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,.68); font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.terms-check input { width: auto; margin-top: 2px; accent-color: var(--coral); flex-shrink: 0; }
.link-button { display: inline; padding: 0; border: 0; background: none; color: #F0925A; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.terms-modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(5,5,8,.74); backdrop-filter: blur(10px); }
.terms-modal.is-open { display: flex; }
.terms-modal-card { width: min(760px, 100%); max-height: min(760px, 88vh); overflow: auto; position: relative; border-radius: 18px; background: #18181D; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.45); padding: 24px; color: rgba(255,255,255,.72); text-align: left; }
.terms-close { position: sticky; top: 0; float: right; width: 34px; height: 34px; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 24px; cursor: pointer; }
.terms-content h3 { margin: 0 42px 12px 0; color: #fff; font-size: 22px; }
.terms-content p, .terms-content li { font-size: 13px; line-height: 1.6; }
.terms-content ol { padding-left: 20px; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0 6px; }
.coupon-row input { flex: 1; padding: 11px 13px; font-size: 13.5px; }
.coupon-row .btn { width: auto; padding: 0 18px; font-size: 13.5px; box-shadow: none; }
#coupon-message .success-msg { color: var(--teal); font-size: 12.5px; margin: 4px 0 0; font-weight: 600; }
#coupon-message .error-msg { color: #FCA5A5; font-size: 12.5px; margin: 4px 0 0; }
#price-original { font-size: 14px !important; margin-bottom: 2px !important; }
.weather-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 4px 10px; margin-left: 8px; }
.weather-badge.bad { color: #FCA5A5; background: rgba(239,68,68,.12); border-color: transparent; }
.weather-alt-box { background: rgba(226,112,58,.1); border: 1px solid rgba(226,112,58,.25); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 12.5px; color: #FBD0B0; margin-bottom: 12px; display: flex; gap: 8px; align-items: flex-start; }
.weather-alt-box svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; stroke: currentColor; fill: none; }

/* ── Day section card ── */
.day-section {
  margin-bottom: 18px;
  background: rgba(255,255,255,.038);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  padding: 0 18px 18px;
  position: relative;
  overflow: hidden;
}
.day-section::before {
  content: '';
  display: block;
  height: 3px;
  margin: 0 -18px 18px;
  background: linear-gradient(90deg, var(--coral, #E26E3A) 0%, rgba(245,158,11,.5) 100%);
}
.day-locked-section::before { background: rgba(255,255,255,.07); }
.day-locked-section { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.07); }

.day-header-row { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.day-badge { width: 38px; height: 38px; border-radius: 50%; background: var(--coral); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; font-family: var(--font-display); box-shadow: 0 4px 14px rgba(226,110,58,.3); }
.day-badge.locked { background: rgba(255,255,255,.10); color: rgba(255,255,255,.28); box-shadow: none; }
.day-badge.locked svg { width: 15px; height: 15px; }
.day-header-text h3 { font-size: 17px; margin: 0 0 2px; color: #F2EFE9; font-family: var(--font-display); font-weight: 700; }
.day-header-text .day-date { font-size: 11.5px; color: rgba(255,255,255,.38); letter-spacing: .01em; }
.timeline-card-wrap { display: flex; gap: 11px; margin-bottom: 12px; align-items: flex-start; }
.timeline-icon-circle { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.timeline-icon-circle svg { width: 19px; height: 19px; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cat-trasporto { background: rgba(59,111,217,.2);  } .cat-trasporto svg { stroke: #6BA3FF; }
.cat-alloggio  { background: rgba(194,83,31,.2);   } .cat-alloggio svg  { stroke: #F0925A; }
.cat-ristorante{ background: rgba(214,72,107,.2);  } .cat-ristorante svg{ stroke: #F27AA0; }
.cat-bar       { background: rgba(124,79,204,.2);  } .cat-bar svg       { stroke: #B07FE8; }
.cat-spa       { background: rgba(43,156,130,.2);  } .cat-spa svg       { stroke: #2B9C82; }
.cat-monumento { background: rgba(111,106,99,.2);  } .cat-monumento svg { stroke: #B8B2AA; }
.cat-evento    { background: rgba(184,134,11,.2);  } .cat-evento svg    { stroke: #E8C84A; }
.cat-altro     { background: rgba(116,105,92,.2);  } .cat-altro svg     { stroke: #C0B4A8; }
.timeline-card { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-md); padding: 14px 16px; backdrop-filter: blur(4px); }
.timeline-card .pills { display: flex; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.pill-time { background: rgba(255,107,53,.2); color: #FDBA74; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.why-btn { display: inline-flex; align-items: center; gap: 3px; padding: 2px 9px; border-radius: 999px; background: rgba(255,107,53,.2); border: 1px solid rgba(255,107,53,.45); color: #FDBA74; font-size: 11px; font-weight: 700; cursor: pointer; vertical-align: middle; margin-left: 7px; transition: background .12s; line-height: 1.6; }
.why-btn:hover { background: rgba(255,107,53,.38); }
.why-popup { position: fixed; z-index: 250; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(380px, calc(100vw - 28px)); background: #130E20; border: 1.5px solid rgba(255,107,53,.55); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 24px 64px rgba(0,0,0,.7), 0 0 40px rgba(255,107,53,.15); display: none; text-align: left; }
.why-popup.is-open { display: block; animation: wg-popup-in .22s cubic-bezier(.22,1,.36,1) both; }
@keyframes wg-popup-in { from { opacity:0; transform: translateX(-50%) translateY(14px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
.why-popup-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; gap: 10px; }
.why-popup-title { font-family: var(--font-display); font-size: 14px; font-weight: 800; color: #FDBA74; letter-spacing: -.01em; }
.why-popup-close { background: rgba(255,255,255,.1); border: 0; color: rgba(255,255,255,.55); font-size: 16px; width: 26px; height: 26px; border-radius: 999px; cursor: pointer; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.why-popup p { font-size: 13px; line-height: 1.65; color: rgba(255,255,255,.72); margin: 0; }
.why-popup strong { color: #FDBA74; }
.pill-cat  { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.timeline-card h4 { font-size: 14.5px; font-weight: 600; margin: 0 0 4px; color: #F0EDE8; }
.timeline-card p.desc { font-size: 13px; color: rgba(255,255,255,.5); margin: 0 0 9px; line-height: 1.5; }
.booking-link { font-size: 12.5px; font-weight: 600; color: var(--coral); display: inline-flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.booking-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; }
.timeline-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.42); padding-top: 9px; border-top: 1px solid rgba(255,255,255,.08); align-items: center; }
.timeline-meta .meta-item { display: inline-flex; align-items: center; gap: 4px; }
.timeline-meta .meta-price  { color: var(--teal); font-weight: 700; }
.timeline-meta .meta-rating { color: #E8C84A; font-weight: 600; }
.timeline-card.featured { border-color: rgba(226,112,58,.35); }
.day-locked-card { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius-md); padding: 18px 16px; }
.skeleton-line { height: 11px; border-radius: 6px; margin-bottom: 9px; background: linear-gradient(90deg,rgba(255,255,255,.05) 25%,rgba(255,255,255,.1) 37%,rgba(255,255,255,.05) 63%); background-size: 400% 100%; animation: wg-shimmer 1.6s infinite linear; }
.skeleton-line.w60 { width: 60%; } .skeleton-line.w80 { width: 80%; } .skeleton-line.w40 { width: 40%; }
@keyframes wg-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.floating-unlock { position: fixed; top: 14px; right: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; background: var(--coral); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow-coral); border: none; cursor: pointer; }
.floating-unlock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ── Trasporto card ── */
.timeline-card-transport { padding-bottom: 14px; }
.transport-times { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 12px 14px; margin: 10px 0 6px; }
.t-dep, .t-arr { display: flex; flex-direction: column; gap: 2px; min-width: 56px; }
.t-arr { align-items: flex-end; }
.t-arrow { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255,255,255,.3); }
.t-arrow svg { width: 20px; height: 20px; }
.t-dur { font-size: 11px; color: rgba(255,255,255,.4); }
.t-time { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #F0EDE8; line-height: 1; }
.t-time.t-real { color: #2B9C82; }
.t-time.t-est  { color: rgba(240,237,232,.5); }
.t-label { font-size: 10px; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .06em; }
.t-loc { font-size: 11px; color: rgba(255,255,255,.55); line-height: 1.3; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill-addr { font-size: 11px; color: rgba(255,255,255,.4); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.06); margin-left: 4px; }
.badge-real-time { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(43,156,130,.25); color: #2B9C82; font-size: 9px; font-weight: 700; margin-left: 3px; vertical-align: middle; flex-shrink: 0; }
.badge-est-time  { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: rgba(255,255,255,.08); color: rgba(255,255,255,.35); font-size: 10px; margin-left: 3px; vertical-align: middle; flex-shrink: 0; }
.data-source-badge { font-size: 10.5px; color: rgba(255,255,255,.3); padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); }
.transport-meta { margin-top: 8px; }
.transport-meta span { font-size: 12px; color: rgba(255,255,255,.42); }

/* ── Blocco trasferimento tra tappe ── */
.transfer-block { display:flex; align-items:center; gap:10px; margin:4px 0 4px 51px; padding:7px 12px; border-radius:8px; background:rgba(255,255,255,.03); border:1px dashed rgba(255,255,255,.1); font-size:12px; color:rgba(255,255,255,.45); }
.transfer-icon { width:16px; height:16px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.8; }
.transfer-text { display:flex; align-items:center; gap:5px; }

/* ── Disclaimer trasporto ── */
.transport-disclaimer { display:flex; gap:8px; align-items:flex-start; background:rgba(245,158,11,.08); border:1px solid rgba(245,158,11,.2); border-radius:8px; padding:10px 13px; margin-top:10px; font-size:12px; color:rgba(245,158,11,.9); line-height:1.5; }
.transport-disclaimer svg { width:15px; height:15px; flex-shrink:0; margin-top:1px; stroke:currentColor; fill:none; }

/* ── Nota arrivo aeroporto/stazione in altra città ── */
.arrival-transfer-note { background:rgba(6,182,212,.08); border:1px solid rgba(6,182,212,.22); border-radius:8px; padding:12px 14px; margin-top:10px; font-size:12.5px; color:rgba(255,255,255,.82); line-height:1.55; }
.arrival-transfer-head { display:flex; align-items:center; gap:7px; font-weight:700; color:rgba(6,182,212,.95); margin-bottom:7px; font-size:12px; text-transform:uppercase; letter-spacing:.04em; }
.arrival-transfer-head svg { width:14px; height:14px; flex-shrink:0; stroke:currentColor; fill:none; }
.arrival-transfer-note ul { margin:0; padding-left:16px; }
.arrival-transfer-note li { margin-bottom:4px; }
.arrival-transfer-note li:last-child { margin-bottom:0; }

/* Alternative per slot */
.slot-alternatives { margin-bottom: 16px; }
.slot-alternatives > .alt-panel-hidden { display: none; }
.alt-slider-shell { margin: 0 0 10px 51px; padding: 10px; border: 1px solid rgba(255,255,255,.10); border-radius: 14px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.alt-slider-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 2px 9px; }
.alt-slider-head span { color: rgba(255,255,255,.88); font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.alt-slider-head small { color: rgba(255,255,255,.46); font-size: 11px; font-weight: 650; text-align:right; }
.alt-tabs.alt-choice-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(132px, 1fr)); gap: 8px; }
.alt-tab.alt-choice-tile { min-height: 58px; display: flex; align-items: center; justify-content: flex-start; gap: 9px; text-align: left; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; padding: 9px 10px; border-radius: 12px; cursor: pointer; transition: background .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s; }
.alt-tab.alt-choice-tile:hover:not(.active) { background: rgba(255,255,255,.12); color: rgba(255,255,255,.88); transform: translateY(-1px); }
.alt-tab.alt-choice-tile.active { background: linear-gradient(135deg, rgba(168,85,247,.26), rgba(255,107,53,.22)); color: #fff; border-color: rgba(168,85,247,.48); box-shadow: 0 10px 24px rgba(168,85,247,.18); }
.alt-index { width: 24px; height: 24px; border-radius: 999px; flex: 0 0 24px; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,.22); color: inherit; font-size: 11px; }
.alt-tile-copy { min-width: 0; display: grid; gap: 2px; line-height: 1.15; }
.alt-tile-copy strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.alt-tile-copy small { display: block; color: rgba(255,255,255,.52); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; font-weight: 700; }
.alt-tab.active .alt-tile-copy small { color: rgba(255,255,255,.72); }
@media (max-width: 640px) {
  .alt-slider-shell { margin-left: 0; }
  .alt-tabs.alt-choice-tiles { grid-template-columns: 1fr; }
}

/* Disclaimer globale ── */
.global-disclaimer { display:flex; gap:12px; align-items:flex-start; background:rgba(79,140,255,.07); border:1px solid rgba(79,140,255,.2); border-radius:10px; padding:14px 16px; margin:14px 0; font-size:12.5px; color:rgba(255,255,255,.65); line-height:1.6; }
.global-disclaimer svg { width:18px; height:18px; flex-shrink:0; margin-top:2px; stroke:var(--accent,#4f8cff); fill:none; }
.global-disclaimer p { margin:0; }
.global-disclaimer strong { color:rgba(255,255,255,.85); }

/* ── Label stimato / circa ── */
.est-label { font-size:10px; opacity:.55; font-style:italic; margin-left:2px; font-weight:400; }
.auto-return-note { font-size:11.5px; color:#2B9C82; font-weight:500; }
#auto-return-note { display: none; max-width: 660px; margin: 14px auto 0; padding: 13px 15px; background: rgba(43,156,130,.1); border: 1px solid rgba(43,156,130,.24); border-radius: 12px; color: rgba(220,241,234,.9); font-size: 12.5px; line-height: 1.55; text-align: center; }
#auto-return-note strong { color: #78D6C1; }

@media (min-width: 768px) {
  .container { padding: 36px 28px 60px; max-width: 760px; margin: 0 auto; }
  .datetime-grid { grid-template-columns: 1fr 1fr; align-items: end; }
  .app-shell { background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(140,60,200,.25), transparent 60%), radial-gradient(ellipse 50% 35% at 10% 90%, rgba(226,112,58,.18), transparent 55%), #0D0D0F; }
}

@media (min-width: 1100px) {
  .navbar { padding: 18px 56px; }
  .container { max-width: 980px; padding: 52px 56px 72px; margin: 0 auto; }
  .app-shell.wide .container { max-width: 1040px; }
  .step.active, .progress { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 36px 40px; box-shadow: 0 20px 60px rgba(0,0,0,.3); backdrop-filter: blur(16px); }
  .progress { padding: 22px 40px; border-bottom: none; border-radius: 18px 18px 0 0; margin-bottom: 0; }
  .step.active { border-top: none; border-radius: 0 0 18px 18px; padding-top: 28px; }
  .step h2 { font-size: 28px; }
  .trip-header { padding: 0 0 24px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 18px; }
  .trip-header h1 { font-size: 32px; }
  .package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .package-card.is-highlight { transform: translateY(-6px); }
  .day-section { max-width: 760px; margin: 0 auto 22px; padding: 0 24px 22px; }
  .day-section::before { margin: 0 -24px 20px; }
  .unlock-box, #paid-box { max-width: 520px; margin: 32px auto 0; }
  .unlock-box { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; }
  #paid-box { background: rgba(43,156,130,.12); border: 1px solid rgba(43,156,130,.25); border-radius: 20px; }
}

@media (min-width: 1440px) {
  .container { max-width: 1080px; padding: 60px 72px 80px; }
  .app-shell.wide .container { max-width: 1080px; }
}

.report-box { max-width:520px;margin:18px auto 0;text-align:center; }
.report-box .btn { width:auto; }
#report-result .success-msg { display:block;margin-top:10px;color:var(--teal);font-size:13px;font-weight:700; }
.loader { min-height: 360px; gap: 18px; }
.loader p { color: rgba(240,237,232,.72); font-size: 18px; font-weight: 700; max-width: 560px; line-height: 1.45; }
.loader .spinner { width: 46px; height: 46px; }
@media (min-width:1100px){ .loader { background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.09); border-radius:0 0 18px 18px; box-shadow:0 20px 60px rgba(0,0,0,.26); } }

/* ============================================================
   INSIDER TIPS (local_tip, best_time, nearby_tip)
   ============================================================ */
.insider-tips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 5px; background: rgba(255,107,53,.06); border: 1px solid rgba(255,107,53,.14); border-radius: 10px; padding: 10px 12px; }
.insider-tips li { display: flex; gap: 7px; align-items: flex-start; font-size: 12px; color: rgba(255,255,255,.58); line-height: 1.45; }
.itip-icon { flex-shrink: 0; font-size: 13px; line-height: 1.3; }
.transport-tips { background: rgba(59,111,217,.07); border-color: rgba(59,111,217,.18); margin-top: 10px; }

/* ── Navigazione auto ── */
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.nav-links-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,.38); text-transform: uppercase; letter-spacing: .06em; width: 100%; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; text-decoration: none; border: 1px solid transparent; transition: opacity .15s; }
.nav-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-btn:active { opacity: .7; }
.nav-gmaps { background: rgba(66,133,244,.15); border-color: rgba(66,133,244,.3); color: #7BAEF8; }
.nav-gmaps svg { stroke: #7BAEF8; fill: none; }
.nav-apple { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.75); }
.nav-apple svg { fill: rgba(255,255,255,.75); }
.nav-waze { background: rgba(0,210,255,.10); border-color: rgba(0,210,255,.22); color: #47D9FF; }
.nav-waze svg { fill: #47D9FF; }

/* ============================================================
   WEATHER SENSITIVE BOX
   ============================================================ */
.weather-sensitive-box { display: flex; gap: 8px; align-items: flex-start; background: rgba(245,158,11,.08); border: 1px solid rgba(245,158,11,.22); border-radius: 8px; padding: 9px 12px; margin: 8px 0 0; font-size: 12px; color: rgba(245,158,11,.9); line-height: 1.45; }
.weather-sensitive-box svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 1px; stroke: currentColor; fill: none; }
.weather-sensitive-box strong { color: #F59E0B; }

/* ============================================================
   DAY SUMMARY BRIEFING
   ============================================================ */
.day-summary { background: rgba(6,255,165,.06); border: 1px solid rgba(6,255,165,.14); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.day-summary-stats { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: rgba(6,255,165,.8); font-weight: 600; margin-bottom: 8px; }
.day-summary-stats span { display: flex; align-items: center; gap: 4px; }
.day-summary-tips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.day-summary-tips li { font-size: 12px; color: rgba(255,255,255,.52); padding-left: 14px; position: relative; line-height: 1.45; }
.day-summary-tips li::before { content: "›"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* ============================================================
   TRIP META "INFO PRATICHE" COLLAPSIBLE
   ============================================================ */
.trip-meta-box { margin-top: 28px; border: 1px solid rgba(79,140,255,.22); border-radius: 14px; overflow: hidden; background: rgba(79,140,255,.05); }
.trip-meta-toggle { width: 100%; background: none; border: none; color: rgba(255,255,255,.72); font-family: var(--font-display); font-size: 14px; font-weight: 600; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; gap: 8px; }
.trip-meta-toggle:hover { background: rgba(79,140,255,.08); }
.trip-meta-toggle.is-open .trip-meta-chevron { transform: rotate(180deg); }
.trip-meta-chevron { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s; }
.trip-meta-body { padding: 4px 14px 14px; }
.trip-meta-list { background: transparent !important; border: none !important; padding: 0 !important; }
.trip-meta-list li { color: rgba(255,255,255,.62) !important; }
.trip-meta-list a { color: var(--coral); font-weight: 600; }

/* ── Mobile overflow fixes ── */
@media (max-width: 420px) {
  .step h2 { font-size: 20px; }
  .interest-card .label-group strong { font-size: 11.5px; }
  .interest-card .label-group span { font-size: 10px; }
  .interest-emoji { width: 36px; height: 36px; font-size: 18px; }
  .choice .label-group strong { font-size: 13.5px; }
  .container { padding: 22px 14px 52px; }
}
