/* BlinknGo — sistema di design "Notte & Neon"
   Leggero: solo CSS, nessuna libreria, animazioni disattivate con prefers-reduced-motion. */

:root {
  --ink: #07090F;
  --ink-2: #0D1018;
  --ink-3: #141925;
  --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16);
  --paper: #FFFFFF;
  --text: #B4BECF;
  --muted: #7F8BA0;
  --coral: #FF5A36;
  --coral-2: #FF7D5F;
  --mint: #00D9A6;
  --amber: #FFB703;
  --r: 20px;
  --font-h: 'Sora', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --font-s: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--font-b); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: var(--coral-2); text-decoration: none; }
a:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--mint); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 3000; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Titoli: Sora + una parola in serif corsivo ---------- */
h1, h2, h3 { font-family: var(--font-h); color: var(--paper); letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 6.4vw, 76px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
h1 em, h2 em, h3 em { font-family: var(--font-s); font-style: italic; font-weight: 400; color: var(--coral); letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(0,217,166,.15); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 2000; background: rgba(7,9,15,.92); border-bottom: 1px solid var(--line); }
.header-wrap { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); }
.logo:hover { color: var(--paper); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-plane { fill: var(--coral); } .logo-plane-fold { fill: rgba(0,0,0,.3); }
.logo-dots circle { fill: var(--mint); }
.logo-word { font: 800 21px var(--font-h); letter-spacing: -.03em; }
.logo-accent { color: var(--coral); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { color: var(--text); font: 500 14px var(--font-b); padding: 9px 14px; border-radius: 30px; }
.nav a:hover { color: var(--paper); background: rgba(255,255,255,.06); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--ink); white-space: nowrap; }
.nav a.btn-primary:hover { background: var(--coral-2); }
.lang { font: 600 12px var(--font-b); letter-spacing: .1em; color: var(--muted); padding: 0 6px; }
.lang b { color: var(--paper); font-weight: 600; }
.lang a { color: var(--muted); }
.lang a:hover { color: var(--paper); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  font: 600 15px var(--font-b); padding: 12px 26px; border-radius: 40px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--paper);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); background: rgba(255,255,255,.06); color: var(--paper); }
.btn-primary { background: var(--coral); border-color: var(--coral); color: var(--ink); box-shadow: 0 10px 30px rgba(255,90,54,.28); }
.btn-primary:hover { background: var(--coral-2); border-color: var(--coral-2); color: var(--ink); box-shadow: 0 14px 38px rgba(255,90,54,.4); }
.btn-ghost { background: rgba(255,255,255,.04); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- Card, chip, bento ---------- */
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .25s, transform .25s; }
.card:hover { border-color: var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--font-b); padding: 5px 12px; border-radius: 30px; border: 1px solid var(--line-2); color: var(--text); background: rgba(255,255,255,.03); }
.chip-mint { color: var(--mint); border-color: rgba(0,217,166,.35); background: rgba(0,217,166,.08); }
.chip-coral { color: var(--coral-2); border-color: rgba(255,90,54,.4); background: rgba(255,90,54,.09); }
.chip-amber { color: var(--amber); border-color: rgba(255,183,3,.4); background: rgba(255,183,3,.09); }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(6, 1fr); }
.bento > * { grid-column: span 2; }
.bento .w3 { grid-column: span 3; } .bento .w4 { grid-column: span 4; } .bento .w6 { grid-column: span 6; }
@media (max-width: 860px) { .bento > *, .bento .w3, .bento .w4 { grid-column: span 6; } }
.price { font: 800 clamp(34px, 5vw, 56px)/1 var(--font-h); letter-spacing: -.04em; color: var(--paper); font-variant-numeric: tabular-nums; }
.price small { font: 500 14px var(--font-b); color: var(--muted); letter-spacing: 0; margin-left: 6px; }

/* ---------- Ticker (marquee solo CSS) ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--ink-2); }
.ticker-track { display: flex; width: max-content; gap: 44px; padding: 16px 0; animation: tick 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { font: 700 15px var(--font-h); letter-spacing: -.01em; color: var(--paper); white-space: nowrap; }
.ticker span b { color: var(--mint); font-weight: 700; margin-left: 8px; }
.ticker span::after { content: "✦"; color: var(--coral); margin-left: 44px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Comparsa allo scroll (progressive enhancement) ---------- */
@supports (animation-timeline: view()) {
  .rise { animation: rise both ease-out; animation-timeline: view(); animation-range: entry 0% entry 35%; }
  @keyframes rise { from { transform: translateY(26px); } to { opacity: 1; transform: none; } }
}

/* ---------- Pagine di testo (privacy, cookie, termini) ---------- */
.page { max-width: 1100px; margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.page-hero { max-width: 1100px; margin: 0 auto; padding: 72px 24px 0; }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); margin-top: 16px; }
.page-hero p { margin: 14px 0 0; color: var(--muted); font: italic 400 18px var(--font-s); }
.toc { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); padding-left: 4px; }
.toc a { color: var(--muted); font: 500 14px/1.35 var(--font-b); padding: 8px 12px; border-radius: 8px; border-left: 2px solid transparent; margin-left: -5px; }
.toc a:hover { color: var(--paper); border-left-color: var(--coral); background: rgba(255,255,255,.03); }
.doc { min-width: 0; }
.doc h2 { font-size: 24px; margin: 48px 0 14px; padding-top: 4px; scroll-margin-top: 90px; display: flex; gap: 14px; align-items: baseline; }
.doc h2:first-child { margin-top: 0; }
.doc h2 .n { font: italic 400 22px var(--font-s); color: var(--coral); min-width: 26px; }
.doc p, .doc li { font-size: 16px; color: var(--text); }
.doc ul { padding-left: 20px; } .doc li { margin-bottom: 10px; }
.doc strong { color: var(--paper); font-weight: 600; }
.warn { background: rgba(255,90,54,.07); border: 1px solid rgba(255,90,54,.25); border-left: 3px solid var(--coral); border-radius: 0 14px 14px 0; padding: 18px 22px; margin: 20px 0; font-size: 15px; }
.warn b { color: var(--coral-2); }
.pref-card { display: flex; gap: 20px; align-items: center; justify-content: space-between; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; margin: 8px 0 0; }
.pref-card h2 { margin: 0 0 6px; font-size: 20px; }
.pref-card p { margin: 0; font-size: 15px; color: var(--muted); }
.locked-pill { flex: none; font: 600 12px var(--font-b); color: var(--mint); border: 1px solid rgba(0,217,166,.35); background: rgba(0,217,166,.08); padding: 7px 14px; border-radius: 30px; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; align-items: center; }
#savedMsg { display: none; align-items: center; color: var(--mint); font: 600 14px var(--font-b); background: rgba(0,217,166,.1); border: 1px solid rgba(0,217,166,.3); padding: 10px 18px; border-radius: 30px; }
@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; border: 0; padding: 0; gap: 8px; }
  .toc a { border: 1px solid var(--line); border-radius: 30px; margin: 0; padding: 7px 14px; }
  .pref-card { flex-direction: column; align-items: flex-start; }
  .nav a:not(.btn) { display: none; }
}
@media (max-width: 520px) { .lang { display: none; } .header-wrap { padding: 12px 16px; } .nav a.btn-primary { padding: 8px 14px; font-size: 13px; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 72px; background: var(--ink-2); }
.footer-wrap { max-width: 1200px; margin: 0 auto; padding: 44px 24px 36px; display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-wrap p { margin: 12px 0 0; font-size: 14px; color: var(--muted); max-width: 34ch; }
.footer-wrap h3, .footer-wrap h4 { margin: 0 0 12px; font: 600 12px var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.footer-wrap ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-wrap li a { color: var(--muted); font-size: 14px; }
.footer-wrap li a:hover { color: var(--paper); }
.footer-base { max-width: 1200px; margin: 0 auto; padding: 18px 24px 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer-wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .rise { animation: none; }
  .btn, .card { transition: none; }
}

/* ---------- Pagine città (template SEO) ---------- */
.c-hero { max-width: 1200px; margin: 0 auto; padding: 56px 24px 48px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.c-hero.noimg { grid-template-columns: minmax(0, 820px); }
.c-hero.noimg .c-photo { display: none; }
.c-hero h1 { margin: 18px 0 18px; }
.c-hero .sub { font-size: 19px; color: var(--text); max-width: 52ch; margin: 0 0 26px; }
.c-price { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 28px; }
.c-price .price { color: var(--mint); }
.c-price .c-price-note { color: var(--muted); font-size: 14px; max-width: 26ch; line-height: 1.4; padding-bottom: 6px; }
.c-cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Pulsanti voli e hotel nelle pagine città */
.go { margin: 22px 0 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.03); }
.go-t { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.go-o { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 14px; }
.go-o label { color: var(--muted); }
.go-o select { flex: 1; max-width: 320px; min-height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.05); color: inherit; font: inherit; }
.go-o select option, .go-o select optgroup { color: #111; }
.go-b { display: flex; flex-wrap: wrap; gap: 10px; }
.go-b .btn { flex: 1 1 220px; justify-content: center; text-align: center; min-height: 46px; }
.go-n { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.c-share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.btn-wa, .btn-sh { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; font-family: inherit; }
.btn-wa { background: #25D366; color: #06301A; border: 0; }
.btn-wa svg { width: 20px; height: 20px; }
.btn-sh { background: transparent; color: var(--paper, #fff); border: 1px solid rgba(255,255,255,.2); }
.c-photo { margin: 0; position: relative; justify-self: center; width: 100%; max-width: 440px; transform: rotate(2.2deg); transition: transform .4s ease; }
.c-photo:hover { transform: rotate(0deg) scale(1.01); }
.c-photo .frame { background: #F4F1EA; padding: 12px 12px 54px; border-radius: 6px; box-shadow: 0 30px 70px rgba(0,0,0,.55); }
.c-photo img { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; background: var(--ink-3); border-radius: 2px; }
.c-photo figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font: italic 400 20px var(--font-s); color: #2A2A2A; }
.c-credit { margin: 14px 0 0; font-size: 11px; line-height: 1.4; color: var(--muted, #9aa); text-align: center; transform: rotate(-2.2deg); }
.c-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.c-photo .stamp { position: absolute; top: -14px; right: -10px; transform: rotate(8deg); background: var(--coral); color: var(--ink); font: 800 13px var(--font-h); padding: 8px 14px; border-radius: 30px; letter-spacing: .02em; box-shadow: 0 8px 24px rgba(255,90,54,.4); }
.c-body { max-width: 1200px; margin: 0 auto; padding: 56px 24px 0; }
.c-body .bento { align-items: stretch; }
.c-body .card h2 { font-size: 26px; margin-bottom: 14px; }
.c-body .card p { margin: 0 0 16px; }
.stack { display: flex; height: 14px; border-radius: 14px; overflow: hidden; background: var(--ink-3); margin: 22px 0 10px; gap: 3px; }
.stack i { flex: var(--v) 1 0; min-width: 6px; }
.rows { margin-top: 6px; }
.row-b { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.row-b:last-child { border-bottom: 0; }
.row-b span { display: flex; align-items: center; gap: 10px; color: var(--text); }
.row-b b { color: var(--paper); font: 700 17px var(--font-h); font-variant-numeric: tabular-nums; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.fine { font-size: 14px; color: var(--muted); }
.fine a, .doc p a { text-decoration: underline; text-underline-offset: 2px; }
.bc label { display: block; font: 600 13px var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--mint); margin-bottom: 12px; }
.bc input { width: 100%; background: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; color: var(--paper); font: 700 26px var(--font-h); padding: 14px 16px; }
.bc input:focus { outline: 2px solid var(--mint); outline-offset: 2px; }
.bc-out { margin-top: 14px; min-height: 52px; font-size: 15px; line-height: 1.5; }
.bc-out.ok { color: var(--mint); } .bc-out.no { color: var(--amber); }
.stop { border-left: 3px solid var(--mint); padding: 4px 0 4px 20px; margin-top: 18px; }
.stop h3 { margin-bottom: 8px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 4px; font: 700 18px var(--font-h); letter-spacing: -.02em; color: var(--paper); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--font-b); color: var(--coral); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 22px; padding: 0 4px; max-width: 70ch; }
.band { max-width: 1200px; margin: 72px auto 0; padding: 0 24px; }
.band-in { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(32px, 6vw, 72px); background: linear-gradient(135deg, #1A0F10, #0D1018 55%, #07201D); border: 1px solid var(--line-2); }
.band-in::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,90,54,.28), transparent 65%); }
.band-in > * { position: relative; }
.band-in h2 { max-width: 18ch; margin: 14px 0 14px; }
.band-in p { max-width: 54ch; margin: 0 0 26px; font-size: 18px; }
@media (max-width: 860px) {
  .c-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .c-photo { max-width: 340px; }
}
