/* =========================================================================
   MONDO VIAGGI — Foglio di stile
   Direzione: vetro (glassmorphism) su fotografia, tipografia editoriale,
   palette ricavata dal logo (blu notte della "M", azzurro della "V",
   arancio del network Sì Travel come accento).
   ========================================================================= */

/* ---------- Font self-hosted (nessuna chiamata a Google: GDPR friendly) ---------- */
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin-wght-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

/* ---------- Token di design ---------- */
/* Layout: sezioni a fascia piena che alternano chiaro, blu notte e fotografia; contenuto su griglia 1240px */
:root {
  --navy-950: #050f2a;
  --navy-900: #0a1c45;
  --navy-800: #10306b;
  --navy-700: #1a3f86;
  --blue-600: #2c64c7;
  --blue-500: #3f80d2;
  --blue-400: #6aa3e8;
  --blue-300: #a8c9f2;
  --blue-200: #cfe0f8;
  --blue-100: #e7effb;
  --blue-50: #f3f7fd;
  --sun-600: #e9661a;
  --sun-500: #ff8a3d;
  --sun-300: #ffc79a;
  --wa-1: #2fe07a;
  --wa-2: #14a64c;
  --wa-dark: #0f7a6c;
  --ink: #0b1a3a;
  --ink-2: #2f3c58;
  --ink-3: #536079;
  --white: #ffffff;
  --line: rgba(11, 26, 58, .1);
  --line-strong: rgba(11, 26, 58, .17);
  --bg: #f4f7fc;
  --surface: #ffffff;
  --ok: #0f8a44;
  --ok-bg: #e3f7ea;
  --warn: #c2510f;
  --warn-bg: #fff0e3;

  --r-xs: 10px;
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 40px;

  --sh-sm: 0 1px 2px rgba(10, 28, 69, .05), 0 6px 18px -8px rgba(10, 28, 69, .14);
  --sh: 0 2px 6px rgba(10, 28, 69, .04), 0 22px 50px -24px rgba(10, 28, 69, .32);
  --sh-lg: 0 50px 100px -40px rgba(5, 15, 42, .55);
  --blur: blur(16px) saturate(160%);

  --serif: "Playfair Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .75, .25, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --em-color: var(--blue-600);
  --sticky-top: calc(100px + env(safe-area-inset-top, 0px));
  --spot: rgba(255, 255, 255, .2);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body:has(dialog[open]), body.no-scroll { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 650; line-height: 1.12; text-wrap: balance; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--blue-500); color: var(--white); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; padding: 12px 18px; border-radius: 12px; background: var(--navy-800); color: var(--white); font-weight: 600; transition: top .3s; }
.skip-link:focus { top: 16px; }
.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .8rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-600); }
.eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; opacity: .6; }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.08; text-wrap: balance; }
.display em, .em { font-style: italic; font-weight: 500; color: var(--em-color); }
.h-xl { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.h-lg { font-size: clamp(2.1rem, 4.1vw, 3.5rem); }
.h-md { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.lead { font-size: clamp(1.06rem, 1.25vw, 1.18rem); line-height: 1.7; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.on-dark { color: var(--white); --em-color: #a6d1ff; --spot: rgba(255, 255, 255, .16); }
.on-dark .eyebrow { color: var(--blue-300); }
.on-dark .lead { color: rgba(255, 255, 255, .8); }
.on-dark .muted { color: rgba(255, 255, 255, .62); }

/* ---------- Pulsanti ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 650; font-size: .97rem; letter-spacing: .005em; line-height: 1; white-space: nowrap;
  cursor: pointer; text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .3s, border-color .3s, color .3s;
}
.btn .i { width: 1.25em; height: 1.25em; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .38) 50%, transparent 75%); transform: translateX(-130%); transition: transform .9s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue-500) 0%, var(--navy-700) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 14px 30px -14px rgba(26, 63, 134, .9); }
.btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 20px 40px -14px rgba(26, 63, 134, .95); }
.btn-wa { color: var(--white); background: linear-gradient(135deg, var(--wa-1) 0%, var(--wa-2) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 14px 30px -14px rgba(20, 166, 76, .95); }
.btn-wa:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 20px 40px -14px rgba(20, 166, 76, 1); }
.btn-glass { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-light { color: var(--navy-800); background: var(--white); box-shadow: var(--sh-sm); }
.btn-outline { color: var(--ink); background: rgba(255, 255, 255, .7); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--navy-700); color: var(--navy-800); }
.btn-sm { height: 42px; padding: 0 18px; font-size: .9rem; gap: 8px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 1.04rem; }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%;
  color: var(--white); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.icon-btn:hover { background: rgba(255, 255, 255, .24); transform: translateY(-1px); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn--light { color: var(--navy-800); background: var(--white); border-color: var(--line); }
.icon-btn--light:hover { background: var(--blue-50); border-color: var(--blue-300); }

.link-btn { display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 650; color: var(--blue-600); }
.link-btn:hover { color: var(--navy-800); }
.link-btn .i { width: 17px; height: 17px; transition: transform .3s var(--ease-out); }
.link-btn:hover .i { transform: translateX(3px); }

/* ---------- Chip ---------- */
.chip { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: .84rem; font-weight: 650; white-space: nowrap; line-height: 1; }
.chip .i { width: 15px; height: 15px; }
.chip-glass { color: var(--white); background: rgba(5, 15, 42, .34); border: 1px solid rgba(255, 255, 255, .3); }
.chip-dark { color: var(--white); background: rgba(5, 15, 42, .5); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.chip-light { color: var(--navy-800); background: var(--blue-100); }
.chip-sun { color: var(--white); background: linear-gradient(135deg, var(--sun-500), var(--sun-600)); box-shadow: 0 8px 18px -8px rgba(233, 102, 26, .8); }

/* ---------- Vetro ---------- */
.glass {
  background: linear-gradient(140deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .07));
  border: 1px solid rgba(255, 255, 255, .24);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.glass-light {
  background: linear-gradient(140deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .58));
  border: 1px solid rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 var(--white), 0 30px 60px -32px rgba(10, 28, 69, .35);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass, .btn-glass, .chip-glass { background: rgba(10, 28, 69, .78); }
  .glass-light { background: rgba(255, 255, 255, .96); }
}

/* Riflesso che segue il puntatore */
.spot { --mx: 50%; --my: 50%; }
.spot::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; background: radial-gradient(420px circle at var(--mx) var(--my), var(--spot), transparent 45%); opacity: 0; transition: opacity .4s; }
.spot:hover::after { opacity: 1; }
.spot--light { --spot: rgba(63, 128, 210, .09); }

/* ---------- Sfere di luce decorative ---------- */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; opacity: .6; }
.orb--blue { background: radial-gradient(circle, rgba(63, 128, 210, .75), transparent 68%); }
.orb--sky { background: radial-gradient(circle, rgba(140, 196, 255, .85), transparent 68%); }
.orb--sun { background: radial-gradient(circle, rgba(255, 150, 80, .55), transparent 68%); }
.orb--navy { background: radial-gradient(circle, rgba(26, 63, 134, .75), transparent 68%); }

/* ---------- Sezioni ---------- */
.section { position: relative; padding-block: clamp(64px, 8vw, 112px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section > .container { position: relative; z-index: 1; }
.section-dark {
  overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 100% 0%, #14326f 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #0e2a66 0%, transparent 60%), var(--navy-950);
}
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head > div { max-width: 720px; }
.section-head .display { margin-top: 16px; }
.section-head .lead { max-width: 440px; margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head--center .lead { max-width: 620px; }
.head-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Comparsa allo scorrimento: legata allo scroll, a riposo il contenuto resta sempre visibile */
@supports (animation-timeline: view()) {
  [data-reveal] { animation: reveal-up linear none; animation-timeline: view(); animation-range: entry 0% entry 42%; }
  [data-reveal="soft"] { animation-name: reveal-soft; }
}
@keyframes reveal-up { from { opacity: 0; transform: translate3d(0, 46px, 0) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes reveal-soft { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header { position: fixed; inset: 0 0 auto; z-index: 70; padding-top: calc(14px + env(safe-area-inset-top, 0px)); pointer-events: none; }
.site-header .container { pointer-events: auto; }
.nav-shell {
  display: flex; align-items: center; gap: 18px; height: 70px; padding: 0 10px 0 16px; border-radius: 999px;
  color: var(--white); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  transition: background .45s, border-color .45s, box-shadow .45s, color .45s;
}
.is-scrolled .nav-shell { color: var(--ink); background: rgba(255, 255, 255, .76); border-color: rgba(255, 255, 255, .9); box-shadow: 0 20px 50px -28px rgba(10, 28, 69, .45), inset 0 1px 0 var(--white); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { position: relative; width: 60px; height: 44px; }
.brand-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s; }
.brand-mark .logo-color { opacity: 0; }
.is-scrolled .brand-mark .logo-color { opacity: 1; }
.is-scrolled .brand-mark .logo-white { opacity: 0; }
.brand-text { display: flex; flex-direction: column; font-size: .7rem; font-weight: 500; letter-spacing: .42em; line-height: 1.45; text-transform: uppercase; white-space: nowrap; }
.is-scrolled .brand-text { color: var(--navy-700); }
.nav-links { display: flex; align-items: center; gap: 2px; margin: 0 auto; list-style: none; }
.nav-links a { display: block; padding: 10px 15px; border-radius: 999px; font-size: .92rem; font-weight: 560; opacity: .9; transition: background .3s, opacity .3s, color .3s; }
.nav-links a:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.nav-links a[aria-current="page"] { opacity: 1; background: rgba(255, 255, 255, .2); }
.is-scrolled .nav-links a:hover { background: rgba(11, 26, 58, .05); }
.is-scrolled .nav-links a[aria-current="page"] { background: var(--blue-100); color: var(--navy-800); }
.nav-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.is-scrolled .nav-actions .icon-btn { color: var(--navy-800); background: var(--white); border-color: var(--line); }
.menu-btn { display: none; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.site-header.menu-open .nav-shell { color: var(--white); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); box-shadow: none; }
.site-header.menu-open .brand-mark .logo-color { opacity: 0; }
.site-header.menu-open .brand-mark .logo-white { opacity: 1; }
.site-header.menu-open .brand-text { color: var(--white); }
.site-header.menu-open .nav-actions .icon-btn { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 600px) {
  .site-header { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .nav-shell { height: 62px; gap: 10px; padding: 0 8px 0 12px; }
  .brand { gap: 10px; }
  .brand-mark { width: 50px; height: 37px; }
  .brand-text { font-size: .6rem; letter-spacing: .36em; }
  .nav-actions .btn-wa { display: none; }
  .icon-btn { width: 42px; height: 42px; }
  :root { --sticky-top: calc(84px + env(safe-area-inset-top, 0px)); }
}

/* Menu mobile a tutto schermo */
.mobile-menu {
  position: fixed; inset: 0; z-index: 65; display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(110px + env(safe-area-inset-top, 0px)) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  color: var(--white);
  background: radial-gradient(90% 60% at 100% 0%, rgba(63, 128, 210, .45), transparent 60%), radial-gradient(80% 50% at 0% 100%, rgba(255, 138, 61, .25), transparent 60%), rgba(5, 15, 42, .92);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mm-links { list-style: none; }
.mm-links a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 7.5vw, 2.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.mm-links a .i { width: 22px; height: 22px; opacity: .6; }
.mobile-menu.is-open .mm-links a { opacity: 1; transform: none; }
.mm-actions { display: grid; gap: 10px; margin-top: 32px; }
.mm-meta { margin-top: 20px; font-size: .9rem; color: rgba(255, 255, 255, .65); }

/* =========================================================================
   HERO HOME
   ========================================================================= */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(660px, 94svh, 960px); color: var(--white); background: var(--navy-950); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero-slide.is-active img { animation: kenburns 11s ease-out forwards; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.16); } to { transform: scale(1.03) translate3d(-1.2%, -.8%, 0); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5, 15, 42, .62) 0%, rgba(5, 15, 42, .1) 26%, rgba(5, 15, 42, .14) 46%, rgba(5, 15, 42, .88) 100%), radial-gradient(90% 70% at 0% 100%, rgba(10, 28, 69, .72), transparent 65%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); align-items: end; gap: clamp(28px, 5vw, 72px); padding-top: calc(150px + env(safe-area-inset-top, 0px)); }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 7.2vw, 6.4rem); line-height: 1.02; letter-spacing: -.02em; margin: 20px 0 24px; text-shadow: 0 2px 30px rgba(5, 15, 42, .35); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); animation: line-up 1.2s var(--ease-out) forwards; animation-delay: calc(.15s + var(--i, 0) * .12s); will-change: transform; }
.hero-title em { font-style: italic; font-weight: 500; color: #cfe6ff; }
@keyframes line-up { to { transform: none; } }
.hero-lead { max-width: 54ch; font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: rgba(255, 255, 255, .86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.fade-up { opacity: 0; transform: translateY(20px); animation: fade-up 1s var(--ease-out) forwards; animation-delay: var(--d, .5s); }
@keyframes fade-up { to { opacity: 1; transform: none; } }

.hero-card { position: relative; padding: clamp(20px, 2.4vw, 28px); border-radius: var(--r-lg); }
.hero-card h2 { font-size: 1.18rem; font-weight: 700; margin-bottom: 16px; }
.hero-card > p { font-size: .9rem; color: rgba(255, 255, 255, .75); margin-bottom: 18px; }
.qf { display: grid; gap: 10px; }
.qf-field { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 16px; border-radius: 16px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); transition: border-color .3s, background .3s, box-shadow .3s; }
.qf-field:focus-within { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .16); box-shadow: 0 0 0 4px rgba(168, 201, 242, .18); }
.qf-field > .i { width: 20px; height: 20px; opacity: .8; }
.qf-field label { display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.qf-field input, .qf-field select { width: 100%; padding: 2px 0 0; border: 0; outline: 0; background: transparent; color: var(--white); font-size: .98rem; font-weight: 550; letter-spacing: 0; text-transform: none; -webkit-appearance: none; appearance: none; }
.qf-field input::placeholder { color: rgba(255, 255, 255, .55); }
.qf-field select option { color: var(--ink); }
.qf .btn { margin-top: 6px; }
.qf-note { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .8rem; color: rgba(255, 255, 255, .66); }
.qf-note .i { width: 16px; height: 16px; }

.hero-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 28px; margin-top: clamp(36px, 6vh, 64px); padding: 20px 0 28px; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero-dots { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-dot { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; font-size: .86rem; font-weight: 600; color: rgba(255, 255, 255, .74); background: rgba(5, 15, 42, .28); border: 1px solid rgba(255, 255, 255, .18); transition: background .3s, color .3s; }
.hero-dot:hover { color: var(--white); }
.hero-dot .bar { position: relative; width: 24px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.hero-dot.is-active { color: var(--white); background: rgba(255, 255, 255, .18); }
.hero-dot.is-active .bar::after { content: ""; position: absolute; inset: 0; background: var(--white); transform-origin: left; transform: scaleX(0); animation: bar-fill var(--dur, 7s) linear forwards; }
@keyframes bar-fill { to { transform: scaleX(1); } }
.hero-trust { display: flex; align-items: center; gap: 14px; font-size: .86rem; color: rgba(255, 255, 255, .78); line-height: 1.4; }
.hero-trust img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.hero-trust strong { display: block; color: var(--white); font-weight: 650; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: calc(130px + env(safe-area-inset-top, 0px)); }
  .hero-card { max-width: 560px; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; }
  .hero::before { background: linear-gradient(180deg, rgba(5, 15, 42, .62) 0%, rgba(5, 15, 42, .42) 30%, rgba(5, 15, 42, .55) 60%, rgba(5, 15, 42, .9) 100%); }
  .hero-title { font-size: clamp(2.8rem, 13vw, 3.7rem); }
  .hero-ctas .btn { flex: 1 1 auto; }
  .hero-dot { height: 36px; padding: 0 12px 0 10px; font-size: .8rem; }
  .hero-trust { display: none; }
}

/* =========================================================================
   PARTNER
   ========================================================================= */
.partners { position: relative; padding: 42px 0 46px; background: var(--surface); border-bottom: 1px solid var(--line); }
.partners-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; padding-inline: var(--gutter); font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.partners-head::before, .partners-head::after { content: ""; width: 40px; height: 1px; background: var(--line-strong); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; padding-right: 16px; animation: marquee 52s linear infinite; will-change: transform; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.partner-pill { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 84px; min-width: 190px; padding: 0 30px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); font-weight: 750; font-size: 1.05rem; letter-spacing: -.005em; color: var(--navy-800); white-space: nowrap; transition: transform .4s var(--ease-out), box-shadow .4s; }
.partner-pill:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.partner-pill .i { width: 20px; height: 20px; color: var(--blue-500); }
.partner-pill img { display: block; height: var(--h, 32px); width: auto; max-width: 170px; object-fit: contain; }

/* Loghi delle compagnie (crociere) su sfondi fotografici o scuri */
.logo-chip { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border-radius: 999px; background: rgba(255, 255, 255, .94); box-shadow: 0 10px 24px -14px rgba(5, 15, 42, .6); }
.logo-chip img { display: block; height: var(--h, 22px); width: auto; max-width: 130px; object-fit: contain; }
.logo-chip--sm { height: 28px; padding: 0 10px; }
.logo-chip--sm img { height: calc(var(--h, 22px) * .66); max-width: 84px; }

/* =========================================================================
   CHI SIAMO
   ========================================================================= */
.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(40px, 7vw, 110px); }
.about-collage { position: relative; width: 100%; max-width: 620px; aspect-ratio: 1 / 1.05; }
.ph { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-xl); box-shadow: var(--sh-lg); background: var(--blue-100); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-main { inset: 0 18% 12% 0; }
.ph-small { width: 46%; aspect-ratio: 4 / 5; right: 0; bottom: 0; border: 8px solid var(--white); border-radius: calc(var(--r-xl) - 4px); }
.about-badge { position: absolute; left: -12px; bottom: 5%; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px; }
.about-badge img { width: 58px; height: 58px; border-radius: 50%; }
.about-badge strong { display: block; font-size: .95rem; color: var(--navy-800); line-height: 1.3; }
.about-badge span { font-size: .8rem; color: var(--ink-3); }
.about-quote { position: absolute; top: 7%; right: 1%; max-width: 260px; padding: 18px 20px; border-radius: var(--r); font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.25rem; line-height: 1.3; color: var(--navy-800); }
.about-quote span { display: block; margin-top: 10px; font-family: var(--sans); font-size: .78rem; color: var(--ink-3); }
.about-copy .display { margin: 16px 0 22px; }
.about-copy .lead { margin-bottom: 1em; }
.about-copy p { color: var(--ink-2); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0 34px; }
.value { display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.value:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.value-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 14px; color: var(--blue-600); background: var(--blue-100); }
.value-ic .i { width: 21px; height: 21px; }
.value h3 { font-size: 1rem; margin-bottom: 4px; }
.value p { font-size: .87rem; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-collage { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .values { grid-template-columns: 1fr; }
  .about-quote { display: none; }
  .about-badge { left: 8px; }
}

/* =========================================================================
   TIPI DI VIAGGIO (bento)
   ========================================================================= */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(240px, 24vw, 320px); gap: 16px; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); overflow: hidden; color: var(--white); background: var(--navy-900); box-shadow: var(--sh); }
.tile:nth-child(1) { grid-column: span 5; }
.tile:nth-child(2) { grid-column: span 4; }
.tile:nth-child(3) { grid-column: span 3; }
.tile:nth-child(4) { grid-column: span 3; }
.tile:nth-child(5) { grid-column: span 4; }
.tile:nth-child(6) { grid-column: span 5; }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 42, .1) 30%, rgba(5, 15, 42, .82) 100%); }
.tile:hover > img { transform: scale(1.07); }
.tile-tag { position: absolute; top: 18px; left: 18px; }
.tile-label { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.tile h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.55rem, 2.2vw, 2.05rem); line-height: 1.12; }
.tile p { margin: 6px 0 0; max-width: 32ch; font-size: .9rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.tile-arrow { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(5, 15, 42, .3); border: 1px solid rgba(255, 255, 255, .34); transition: background .4s, color .4s, transform .5s var(--ease-out); }
.tile:hover .tile-arrow { background: var(--white); color: var(--navy-800); transform: rotate(-45deg); }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .tile:nth-child(n) { grid-column: span 1; }
  .tile:nth-child(1), .tile:nth-child(6) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-auto-rows: 210px; gap: 12px; }
  .tile p { display: none; }
  .tile h3 { font-size: 1.5rem; }
  .tile-arrow { width: 38px; height: 38px; }
  .tile-tag { display: none; }
}

/* =========================================================================
   CARD VIAGGI DI GRUPPO
   ========================================================================= */
.trip-card {
  position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 4 / 5; min-height: 470px; max-width: 100%; padding: 14px; border-radius: var(--r-lg); overflow: hidden;
  color: var(--white); background: var(--navy-900); box-shadow: var(--sh-lg); transition: transform .6s var(--ease-out);
}
.trip-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.trip-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 42, .38) 0%, transparent 28%, transparent 42%, rgba(5, 15, 42, .78) 100%); }
.trip-card:hover { transform: translateY(-6px); }
.trip-card:hover > img { transform: scale(1.07); }
.trip-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.trip-panel { position: relative; padding: 18px 18px 16px; border-radius: calc(var(--r-lg) - 8px); }
.trip-dest { display: flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.trip-dest .i { width: 15px; height: 15px; }
.trip-title { margin: 8px 0 12px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 1.7vw, 1.6rem); line-height: 1.18; }
.trip-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); font-size: .86rem; color: rgba(255, 255, 255, .86); }
.trip-meta span { display: inline-flex; align-items: center; gap: 6px; }
.trip-meta .i { width: 16px; height: 16px; opacity: .85; }
.trip-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.trip-go { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--navy-800); transition: transform .5s var(--ease-out); }
.trip-card:hover .trip-go { transform: rotate(-45deg); }

.price { display: flex; flex-direction: column; line-height: 1.12; }
.price small { font-size: .74rem; font-weight: 600; letter-spacing: .03em; opacity: .78; }
.price strong { font-size: 1.55rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price s { font-size: .86rem; opacity: .62; }

.trips-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 22px; }

/* Carosello orizzontale a tutta larghezza */
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(286px, 30%, 390px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  --bleed: max(var(--gutter), calc((100vw - var(--container)) / 2));
  margin-inline: calc(var(--bleed) * -1); padding: 6px var(--bleed) 34px; scroll-padding-inline: var(--bleed);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; }
.carousel-nav .icon-btn[disabled] { opacity: .35; pointer-events: none; }

/* =========================================================================
   CARD OFFERTE
   ========================================================================= */
.offers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.offer-card { position: relative; display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.offer-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 11; border-radius: calc(var(--r-lg) - 8px); overflow: hidden; background: var(--blue-100); }
.offer-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.offer-card:hover .offer-media img { transform: scale(1.06); }
.offer-media .chip { position: absolute; top: 12px; left: 12px; }
.badge-discount { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font-weight: 800; font-size: .98rem; letter-spacing: -.02em; color: var(--white); background: linear-gradient(135deg, var(--sun-500), #f0502a); box-shadow: 0 10px 24px -8px rgba(240, 80, 42, .7); transform: rotate(-8deg); }
.offer-body { display: flex; flex-direction: column; flex: 1; padding: 18px 12px 8px; }
.offer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 30px; }
.offer-dest { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.offer-dest .i { width: 16px; height: 16px; flex: none; }
.op-logo { flex: none; display: block; height: var(--h, 22px); width: auto; max-width: 100px; object-fit: contain; }
.op-name { flex: none; font-size: .82rem; font-weight: 700; color: var(--ink-3); }
.offer-op { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: .8rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); }
.offer-op span { color: var(--ink-3); }
.offer-title { margin: 10px 0 14px; font-size: 1.22rem; font-weight: 750; letter-spacing: -.01em; line-height: 1.28; color: var(--ink); }
.offer-title button { text-align: left; font-weight: inherit; line-height: inherit; }
.offer-title button:hover { color: var(--blue-600); }
.offer-facts { display: grid; gap: 9px; list-style: none; margin-bottom: 18px; }
.offer-facts li { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }
.offer-facts .i { width: 18px; height: 18px; margin-top: 1px; color: var(--blue-500); }
.offer-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.offer-foot .price strong { color: var(--navy-800); }
.offer-foot .price small { color: var(--ink-3); opacity: 1; }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; }
/* Home: offerte raggruppate a schede */
.offer-tabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; margin-bottom: 26px; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.offer-tabs::-webkit-scrollbar { display: none; }
.offers-grid--home { transition: opacity .35s var(--ease); }
.offers-grid--home.is-switching { opacity: 0; }
.offers-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding: 18px 22px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--blue-100); font-weight: 650; color: var(--navy-800); }
.offers-more span { color: var(--ink-2); font-weight: 600; }

/* Pagina offerte: gruppi per categoria */
.offer-groups { display: grid; gap: clamp(44px, 6vw, 72px); }
.offer-group { scroll-margin-top: calc(var(--sticky-top) + 84px); }
.group-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.group-ic { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 12px 24px -12px rgba(26, 63, 134, .8); }
.group-ic .i { width: 24px; height: 24px; }
.group-head h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.12; }
.group-head p { margin: 4px 0 0; font-size: .98rem; color: var(--ink-3); }
.group-count { flex: none; margin-left: auto; padding: 7px 14px; border-radius: 999px; background: var(--blue-100); font-size: .85rem; font-weight: 750; color: var(--navy-800); white-space: nowrap; }
.group-head .link-btn { margin-top: 10px; }
@media (min-width: 1100px) {
  .offer-group { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 26px; align-items: start; }
  .offer-group .group-head { position: sticky; top: calc(var(--sticky-top) + 80px); flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--sh-sm); }
  .offer-group .group-count { margin-left: 0; }
  .offer-group .offers-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
}
@media (max-width: 600px) {
  .group-head { flex-wrap: wrap; }
  .group-count { margin-left: 70px; }
}

@media (max-width: 700px) {
  .offer-group .offers-grid, .offers-grid--scroll { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 20px; scroll-padding-inline: var(--gutter); }
  .offer-group .offers-grid::-webkit-scrollbar, .offers-grid--scroll::-webkit-scrollbar { display: none; }
  .offer-group .offers-grid > *, .offers-grid--scroll > * { scroll-snap-align: start; }
}

/* =========================================================================
   CROCIERE (home: fascia fotografica)
   ========================================================================= */
.cruise-band { position: relative; isolation: isolate; overflow: hidden; color: var(--white); padding-block: clamp(90px, 12vw, 160px); background: var(--navy-950); }
.cruise-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cruise-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 15, 42, .86) 0%, rgba(5, 15, 42, .5) 55%, rgba(5, 15, 42, .25) 100%); }
.cruise-grid { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 48px; align-items: center; }
.cruise-grid .display { margin: 16px 0 20px; }
.companies { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.cruise-panel { position: relative; padding: clamp(14px, 2vw, 22px); border-radius: var(--r-xl); }
.cruise-row { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 12px; border-radius: 22px; transition: background .3s; text-align: left; width: 100%; }
.cruise-row:hover { background: rgba(255, 255, 255, .1); }
.cruise-row > img { width: 78px; height: 78px; border-radius: 16px; object-fit: cover; }
.cruise-row h3 { font-size: 1.02rem; font-weight: 700; margin: 3px 0; }
.cruise-row .company { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.cruise-row .sub { font-size: .84rem; color: rgba(255, 255, 255, .72); }
.cruise-row .price { text-align: right; }
.cruise-row .price strong { font-size: 1.22rem; }
.company-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--c, var(--white)); box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); }
.cruise-panel-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 10px; padding: 16px 12px 4px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: .88rem; color: rgba(255, 255, 255, .75); }
@media (max-width: 960px) { .cruise-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .cruise-row { grid-template-columns: 62px minmax(0, 1fr); gap: 12px; }
  .cruise-row > img { width: 62px; height: 62px; }
  .cruise-row .price { grid-column: 2; flex-direction: row; align-items: baseline; gap: 6px; text-align: left; }
}

/* Crociere (pagina dedicata) */
.cruise-list { display: grid; gap: 24px; }
.cruise-card { position: relative; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 8px; padding: 10px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: box-shadow .5s, transform .5s var(--ease-out); scroll-margin-top: 180px; }
.cruise-card:hover { box-shadow: var(--sh); transform: translateY(-4px); }
.cruise-media { position: relative; display: block; width: 100%; min-height: 330px; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: var(--blue-100); }
.cruise-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.cruise-card:hover .cruise-media img { transform: scale(1.05); }
.cruise-media .chip { position: absolute; top: 14px; left: 14px; }
.cruise-body { display: flex; flex-direction: column; min-width: 0; padding: clamp(16px, 2.4vw, 30px); }
.cruise-company { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cruise-company .company-dot { box-shadow: 0 0 0 3px var(--blue-100); }
.cruise-company .op-logo { height: var(--h, 26px); max-width: 130px; }
.cruise-title { margin: 12px 0 16px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; color: var(--navy-900); }
.ports { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; list-style: none; margin-bottom: 20px; font-size: .86rem; font-weight: 650; color: var(--ink-2); }
.ports li { display: inline-flex; align-items: center; }
.ports li + li::before { content: ""; width: 22px; height: 2px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--blue-400) 0 4px, transparent 4px 7px); }
.date-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.date-chip { display: inline-flex; flex-direction: column; padding: 8px 12px; border-radius: 12px; background: var(--blue-50); border: 1px solid var(--blue-100); font-size: .8rem; font-weight: 700; color: var(--navy-800); line-height: 1.3; font-variant-numeric: tabular-nums; }
.date-chip small { font-weight: 600; color: var(--ink-3); }
.cruise-foot { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-strong); }
.cruise-foot .price strong { color: var(--navy-800); }
.cruise-foot .price small { color: var(--ink-3); opacity: 1; }
@media (max-width: 860px) {
  .cruise-card { grid-template-columns: 1fr; }
  .cruise-media { min-height: 230px; }
}

.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { padding: 24px; border-radius: var(--r-lg); }
.perk .value-ic { margin-bottom: 18px; }
.perk h3 { font-size: 1.04rem; margin-bottom: 8px; }
.perk p { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }
@media (max-width: 980px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } }

/* =========================================================================
   SERVIZI
   ========================================================================= */
.services { overflow: hidden; background: linear-gradient(180deg, var(--bg), #e9f0fb); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { position: relative; padding: 26px; border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease-out); }
.service:hover { transform: translateY(-4px); }
.service-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 16px; color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 12px 24px -12px rgba(26, 63, 134, .8); }
.service-ic .i { width: 24px; height: 24px; }
.service h3 { font-size: 1.08rem; margin-bottom: 8px; }
.service p { font-size: .9rem; color: var(--ink-3); line-height: 1.55; }
.service--feature { grid-column: span 2; grid-row: span 2; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; color: var(--white); background: var(--navy-900); }
.service--feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.service--feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 42, .05), rgba(5, 15, 42, .82)); }
.service--feature:hover > img { transform: scale(1.05); }
.service--feature .feature-panel { padding: 24px; border-radius: var(--r); }
.service--feature h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; margin-bottom: 10px; }
.service--feature p { color: rgba(255, 255, 255, .84); font-size: .96rem; margin-bottom: 18px; }
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service--feature { grid-row: auto; min-height: 340px; }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .service--feature { grid-column: auto; }
}

/* =========================================================================
   COME FUNZIONA (dentro la CTA finale)
   ========================================================================= */
.cta-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0 4px; list-style: none; text-align: left; counter-reset: passo; }
.cta-steps li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .16); font-size: .92rem; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.cta-steps li::before { counter-increment: passo; content: counter(passo); display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white); color: var(--navy-800); font-weight: 800; font-size: .9rem; }
.cta-steps strong { display: block; margin-bottom: 2px; color: var(--white); font-size: .98rem; }
@media (max-width: 760px) { .cta-steps { grid-template-columns: 1fr; } }

/* =========================================================================
   CTA FINALE
   ========================================================================= */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(72px, 10vw, 130px); color: var(--white); background: var(--navy-950); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(5, 15, 42, .25), rgba(5, 15, 42, .72)); }
.cta-card { position: relative; max-width: 840px; margin-inline: auto; padding: clamp(30px, 5vw, 64px); border-radius: var(--r-xl); text-align: center; }
.cta-card .display { margin: 16px 0 18px; }
.cta-card .lead { margin-inline: auto; max-width: 52ch; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.cta-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 24px; font-size: .88rem; color: rgba(255, 255, 255, .78); }
.cta-meta span { display: inline-flex; align-items: center; gap: 8px; }
.cta-meta .i { width: 17px; height: 17px; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 110px) 0 104px; color: rgba(255, 255, 255, .78); background: radial-gradient(80% 60% at 100% 0%, #13306b 0%, transparent 60%), var(--navy-950); }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1fr; gap: 40px; }
.footer-brand img { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 22px; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .5); }
.footer-brand p { max-width: 34ch; font-size: .94rem; }
.site-footer h4 { margin-bottom: 18px; font-size: .74rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--white); }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--white); }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; line-height: 1.5; }
.contact-list .i { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-300); }
.contact-list a:hover { color: var(--white); }
.contact-list small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .55); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-word { position: relative; z-index: 1; margin-top: clamp(36px, 5vw, 60px); font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 11.5vw, 10.5rem); line-height: .9; letter-spacing: -.03em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-bottom { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .6); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.credit { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 8px 10px 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .62); transition: background .3s, border-color .3s; }
.credit:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.credit img { display: block; height: 30px; width: auto; }
.credit { white-space: nowrap; }
@media (max-width: 860px) { .credit { margin-left: 0; } }
@media (max-width: 600px) { .credit { gap: 10px; font-size: .72rem; } .credit img { height: 24px; } }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* =========================================================================
   HERO PAGINE INTERNE
   ========================================================================= */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(480px, 64svh, 700px); padding: calc(150px + env(safe-area-inset-top, 0px)) 0 clamp(78px, 9vw, 112px); color: var(--white); overflow: hidden; background: var(--navy-950); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: hero-zoom 16s ease-out forwards; will-change: transform; backface-visibility: hidden; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 15, 42, .62) 0%, rgba(5, 15, 42, .16) 35%, rgba(5, 15, 42, .84) 100%); }
.page-hero--plain { min-height: 0; padding-bottom: clamp(70px, 8vw, 100px); background: radial-gradient(70% 120% at 100% 0%, #1b3f86 0%, transparent 60%), radial-gradient(60% 100% at 0% 100%, #102c66 0%, transparent 60%), var(--navy-950); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font-size: .84rem; font-weight: 600; color: rgba(255, 255, 255, .76); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .i { width: 14px; height: 14px; opacity: .6; }
.page-hero .display { max-width: 16ch; }
.page-hero .lead { max-width: 58ch; margin-top: 18px; color: rgba(255, 255, 255, .86); }
.page-hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.page-hero-chips .chip { height: 38px; padding: 0 16px; font-size: .86rem; }

/* Barra filtri */
.list-section { position: relative; padding: 0 0 clamp(80px, 10vw, 130px); }
.filter-wrap { position: sticky; top: var(--sticky-top); z-index: 30; display: flex; justify-content: center; margin: -34px 0 clamp(36px, 5vw, 56px); pointer-events: none; }
.filter-bar { pointer-events: auto; display: flex; gap: 4px; max-width: 100%; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.chip-filter { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 18px; border-radius: 999px; font-size: .9rem; font-weight: 650; color: var(--ink-2); transition: background .3s, color .3s, box-shadow .3s; }
.chip-filter:hover { background: rgba(11, 26, 58, .05); color: var(--ink); }
.chip-filter[aria-pressed="true"] { color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 10px 22px -12px rgba(26, 63, 134, .9); }
.chip-filter .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: .72rem; background: rgba(11, 26, 58, .07); font-variant-numeric: tabular-nums; }
.chip-filter[aria-pressed="true"] .count { background: rgba(255, 255, 255, .22); }
.chip-filter .i { width: 17px; height: 17px; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--ink-3); }
.result-note { margin: -20px 0 26px; text-align: center; font-size: .9rem; color: var(--ink-3); }

/* Calendario partenze */
.calendar { display: grid; gap: 10px; }
.cal-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; align-items: center; gap: 18px; padding: 12px 14px 12px 12px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.cal-row:hover { border-color: var(--blue-300); box-shadow: var(--sh-sm); }
.cal-row h3 { font-size: 1rem; margin-bottom: 2px; }
.cal-row h3 a:hover { color: var(--blue-600); }
.cal-row p { font-size: .85rem; color: var(--ink-3); }
.cal-row .price { text-align: right; }
.cal-row .price strong { font-size: 1.15rem; color: var(--navy-800); }
@media (max-width: 700px) {
  .cal-row { grid-template-columns: 56px minmax(0, 1fr); }
  .cal-row .price { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
  .cal-row .btn { grid-column: 1 / -1; }
}

/* =========================================================================
   DETTAGLIO VIAGGIO DI GRUPPO
   ========================================================================= */
.trip-hero { min-height: clamp(560px, 80svh, 840px); }
.trip-hero .display { max-width: 18ch; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 34px; border-radius: var(--r-lg); overflow: hidden; }
.fact { padding: 18px 20px; }
.fact + .fact { border-left: 1px solid rgba(255, 255, 255, .14); }
.fact small { display: block; margin-bottom: 6px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.fact strong { font-size: 1.02rem; font-weight: 650; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}

.subnav-wrap { position: sticky; top: var(--sticky-top); z-index: 30; display: flex; justify-content: center; margin: -32px 0 40px; pointer-events: none; }
.subnav { pointer-events: auto; display: flex; gap: 2px; max-width: 100%; padding: 6px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
.subnav::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 10px 16px; border-radius: 999px; font-size: .88rem; font-weight: 650; color: var(--ink-2); transition: background .3s, color .3s; }
.subnav a:hover { color: var(--ink); background: rgba(11, 26, 58, .05); }
.subnav a.is-active { color: var(--white); background: var(--navy-800); }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(70px, 9vw, 120px); }
.trip-main { min-width: 0; }
.trip-aside { position: sticky; top: calc(var(--sticky-top) + 74px); }
.trip-aside::before { content: ""; position: absolute; inset: 8% 0 auto; height: 70%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(63, 128, 210, .35), transparent 65%), radial-gradient(circle at 80% 80%, rgba(255, 138, 61, .25), transparent 60%); filter: blur(40px); }
.block { padding: clamp(24px, 3vw, 40px); margin-bottom: 22px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); scroll-margin-top: 190px; }
.block-title { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.12; }
.block-ic { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; color: var(--blue-600); background: var(--blue-100); }
.block-ic .i { width: 22px; height: 22px; }
.prose p { color: var(--ink-2); font-size: 1.02rem; }
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; list-style: none; }
.highlights li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--blue-50); font-weight: 600; font-size: .93rem; line-height: 1.45; color: var(--navy-800); }
.highlights .i { color: var(--blue-500); margin-top: 1px; }
@media (max-width: 640px) { .highlights { grid-template-columns: 1fr; } }

.itinerary-tools { display: flex; justify-content: flex-end; margin: -6px 0 12px; }
.itinerary { position: relative; display: grid; gap: 10px; list-style: none; }
.itinerary::before { content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(var(--blue-300), var(--blue-100)); }
.day details { position: relative; border-radius: 20px; }
.day summary { display: flex; align-items: center; gap: 16px; padding: 6px 12px 6px 0; list-style: none; cursor: pointer; border-radius: 20px; }
.day summary::-webkit-details-marker { display: none; }
.day summary:hover .day-title { color: var(--blue-600); }
.day-num { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-200); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); line-height: 1.1; text-align: center; transition: background .3s, border-color .3s, color .3s; }
.day-num b { display: block; font-family: var(--serif); font-weight: 700; font-size: 1.4rem; letter-spacing: 0; color: var(--navy-800); }
.day details[open] .day-num { background: var(--navy-800); border-color: var(--navy-800); color: rgba(255, 255, 255, .72); }
.day details[open] .day-num b { color: var(--white); }
.day-title { flex: 1; font-size: 1.05rem; font-weight: 700; color: var(--ink); transition: color .3s; }
.day .chev { width: 20px; height: 20px; color: var(--ink-3); transition: transform .4s var(--ease-out); }
.day details[open] .chev { transform: rotate(180deg); }
.day-body { padding: 2px 12px 14px 80px; color: var(--ink-2); }
@media (max-width: 560px) {
  .itinerary::before { left: 25px; }
  .day-num { width: 52px; height: 52px; }
  .day-num b { font-size: 1.3rem; }
  .day-body { padding-left: 68px; }
}

.departures { display: grid; gap: 10px; }
.dep-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 14px 14px 16px; border-radius: 20px; border: 1px solid var(--line); background: var(--blue-50); transition: border-color .3s, background .3s; }
.dep-row:hover { border-color: var(--blue-300); background: var(--white); }
.dep-date { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dep-cal { display: grid; place-items: center; align-content: center; flex: none; width: 56px; height: 60px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); line-height: 1.05; text-align: center; box-shadow: var(--sh-sm); }
.dep-cal small { display: block; font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--sun-600); }
.dep-cal strong { font-size: 1.35rem; font-weight: 750; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.dep-range { font-weight: 700; line-height: 1.35; }
.dep-range .status { margin-top: 6px; }
.dep-price { text-align: right; }
.dep-price strong { color: var(--navy-800); }
.dep-row.is-soldout { opacity: .62; }
@media (max-width: 600px) {
  .dep-row { grid-template-columns: minmax(0, 1fr) auto; }
  .dep-row .btn { grid-column: 1 / -1; }
}

.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-disponibile { color: var(--ok); background: var(--ok-bg); }
.s-ultimi-posti { color: var(--warn); background: var(--warn-bg); }
.s-confermata { color: var(--blue-600); background: var(--blue-100); }
.s-sold-out { color: var(--ink-3); background: #eef0f5; }

.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.incl-card { padding: 22px; border-radius: 22px; background: var(--blue-50); }
.incl-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 1.02rem; }
.incl-card ul { list-style: none; display: grid; gap: 10px; }
.incl-card li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.incl-card li .i { width: 18px; height: 18px; margin-top: 2px; }
.incl-yes .i { color: #13a150; }
.incl-no { background: #f8f5f1; }
.incl-no .i { color: #d0592a; }
@media (max-width: 700px) { .incl-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; display: grid; gap: 12px; }
.info-list li { display: flex; gap: 12px; color: var(--ink-2); }
.info-list .i { color: var(--blue-500); margin-top: 4px; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 150px; gap: 10px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 18px; cursor: zoom-in; grid-column: span 2; background: var(--blue-100); }
.gallery-item:first-child { grid-column: span 4; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 600px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .gallery-item { grid-column: span 1; }
  .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
}

/* Box prenotazione */
.booking-card { position: relative; padding: 24px; border-radius: var(--r-xl); scroll-margin-top: 140px; }
.bc-price { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.bc-price span { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bc-price strong { display: block; margin: 4px 0 2px; font-size: 2.4rem; font-weight: 750; letter-spacing: -.03em; color: var(--navy-800); line-height: 1.1; font-variant-numeric: tabular-nums; }
.bc-price small { color: var(--ink-3); font-size: .85rem; }
.bc-label { margin-bottom: 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bc-dates { display: grid; gap: 8px; margin-bottom: 16px; }
.date-option { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .7); cursor: pointer; transition: border-color .25s, background .25s; }
.date-option input { position: absolute; opacity: 0; pointer-events: none; }
.date-option .radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid var(--line-strong); background: var(--white); transition: border .2s; }
.date-option:has(input:checked) { border-color: var(--blue-500); background: var(--blue-50); }
.date-option:has(input:checked) .radio { border: 6px solid var(--blue-500); }
.date-option:has(input:focus-visible) { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.date-option.is-disabled { opacity: .5; cursor: not-allowed; }
.do-body { flex: 1; min-width: 0; }
.do-date { display: block; font-weight: 700; font-size: .92rem; }
.do-body .status { height: 22px; font-size: .68rem; margin-top: 4px; }
.do-price { font-weight: 750; color: var(--navy-800); font-variant-numeric: tabular-nums; }
.bc-people { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; padding: 10px 10px 10px 16px; border-radius: 16px; background: var(--blue-50); font-weight: 650; font-size: .92rem; }
.stepper { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); }
.stepper button { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy-800); background: var(--blue-50); transition: background .2s; }
.stepper button:hover { background: var(--blue-100); }
.stepper button .i { width: 18px; height: 18px; }
.stepper output { min-width: 30px; text-align: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.booking-card .btn + .btn { margin-top: 10px; }
.bc-note { display: flex; gap: 10px; margin-top: 16px; font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.bc-note .i { color: var(--blue-500); margin-top: 1px; }
.bc-phone { margin-top: 12px; text-align: center; font-size: .86rem; color: var(--ink-3); }
.bc-phone strong { color: var(--navy-800); user-select: all; }

@media (max-width: 1020px) {
  .trip-layout { grid-template-columns: 1fr; }
  .trip-aside { position: static; }
}

/* Barra prenotazione mobile */
.booking-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.booking-bar-inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 24px; }
.booking-bar .price strong { font-size: 1.3rem; color: var(--navy-800); }
.booking-bar .price small { color: var(--ink-3); opacity: 1; }
@media (max-width: 860px) {
  .has-booking-bar .booking-bar { display: block; }
  .has-booking-bar .mobile-bar { display: none !important; }
}

/* =========================================================================
   MODALI
   ========================================================================= */
.modal { width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink); box-shadow: var(--sh-lg); overflow: hidden; }
.modal::backdrop { background: rgba(5, 15, 42, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open] { animation: modal-in .55s var(--ease-out); }
@keyframes modal-in { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-grid { display: grid; grid-template-columns: .9fr 1.1fr; max-height: calc(100dvh - 48px); }
.modal-media { position: relative; min-height: 100%; background: var(--navy-900); }
.modal-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal-media .chips { position: absolute; left: 16px; top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.modal-body { position: relative; min-width: 0; padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 3; }
.modal-title { margin: 10px 48px 14px 0; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.12; color: var(--navy-900); }
.modal-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0 6px; }
.modal-fact { padding: 12px 14px; border-radius: 14px; background: var(--blue-50); }
.modal-fact small { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.modal-fact strong { font-size: .94rem; line-height: 1.35; }
.modal h4 { margin: 22px 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.check-list { list-style: none; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; font-size: .93rem; color: var(--ink-2); line-height: 1.5; }
.check-list .i { width: 18px; height: 18px; margin-top: 2px; color: #13a150; }
.expiry { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .84rem; font-weight: 600; color: var(--warn); }
.expiry .i { width: 17px; height: 17px; }
.port-timeline { list-style: none; display: grid; gap: 0; }
.port-timeline li { position: relative; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 8px 0; }
.port-timeline li::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; background: var(--blue-100); }
.port-timeline li:first-child::before { top: 50%; }
.port-timeline li:last-child::before { bottom: 50%; }
.port-day { position: relative; z-index: 1; display: grid; place-items: center; align-self: center; width: 54px; height: 30px; border-radius: 999px; background: var(--blue-100); font-size: .72rem; font-weight: 800; color: var(--navy-800); }
.port-name { font-weight: 700; font-size: .95rem; }
.port-name small { display: block; font-weight: 500; color: var(--ink-3); font-size: .82rem; }
.port-timeline li.is-sea .port-day { background: var(--white); border: 1.5px dashed var(--blue-300); }
.dep-list { display: grid; gap: 8px; }
.dep-mini { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 14px; border: 1px solid var(--line); font-size: .92rem; }
.dep-mini strong { font-variant-numeric: tabular-nums; }
.modal-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--blue-50), var(--white)); border: 1px solid var(--blue-100); }
.modal-price .price strong { color: var(--navy-800); font-size: 1.8rem; }
.modal-price .price small { color: var(--ink-3); opacity: 1; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.modal-phone { margin-top: 12px; font-size: .84rem; color: var(--ink-3); text-align: center; }
.modal-phone strong { color: var(--navy-800); user-select: all; }
@media (max-width: 760px) {
  .modal { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 28px 28px 0 0; }
  .modal[open] { animation: sheet-in .5s var(--ease-out); }
  .modal-grid { grid-template-columns: 1fr; max-height: 92dvh; overflow-y: auto; }
  .modal-media { min-height: 220px; height: 220px; }
  .modal-body { overflow: visible; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .modal-actions { grid-template-columns: 1fr; }
  .modal-facts { grid-template-columns: 1fr; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }

/* Lightbox galleria */
.lightbox { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(5, 15, 42, .94); color: var(--white); }
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: reveal-soft .3s ease; }
.lb-img { max-width: min(1400px, 92vw); max-height: 82dvh; border-radius: 18px; object-fit: contain; box-shadow: var(--sh-lg); }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-btn:hover { transform: translateY(-50%); }
.lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
.lb-next { right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-close { position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lb-count { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* Anteprima messaggio WhatsApp / chiamata (modalità demo) */
.modal--sm { width: min(440px, calc(100vw - 32px)); }
.wap-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; color: var(--white); background: linear-gradient(135deg, var(--wa-dark), #1fb35a); }
.wap-head img { width: 44px; height: 44px; border-radius: 50%; background: var(--white); }
.wap-head strong { display: block; font-size: 1rem; line-height: 1.3; }
.wap-head small { font-size: .78rem; opacity: .9; }
.wap-head .icon-btn { margin-left: auto; }
.wap-chat { padding: 22px 16px; max-height: 46dvh; overflow-y: auto; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .5), transparent 40%), #ece5dd; }
.wap-bubble { position: relative; margin-left: auto; max-width: 92%; padding: 10px 14px 22px; border-radius: 14px 4px 14px 14px; background: #dcf8c6; font-size: .92rem; line-height: 1.5; color: #111b21; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.wap-bubble::after { content: "adesso ✓✓"; position: absolute; right: 10px; bottom: 4px; font-size: .66rem; color: #4fa3d6; }
.wap-call { display: grid; justify-items: center; gap: 6px; padding: 30px 20px 10px; text-align: center; }
.wap-call .i { width: 34px; height: 34px; color: var(--wa-2); }
.wap-call strong { font-size: 1.5rem; letter-spacing: .02em; color: var(--navy-800); user-select: all; font-variant-numeric: tabular-nums; }
.wap-foot { padding: 16px 18px 18px; }
.wap-foot p { display: flex; gap: 10px; margin-bottom: 14px; font-size: .86rem; color: var(--ink-2); line-height: 1.5; }
.wap-foot p .i { color: var(--blue-500); margin-top: 2px; }

/* =========================================================================
   RICHIEDI PREVENTIVO
   ========================================================================= */
.quote-section { position: relative; overflow: hidden; padding: clamp(56px, 7vw, 90px) 0 clamp(90px, 11vw, 140px); }
.quote-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.form-card { padding: clamp(22px, 3.4vw, 44px); border-radius: var(--r-xl); }
.form-step { padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.form-step:last-of-type { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.form-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step-badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; color: var(--white); background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 8px 18px -8px rgba(26, 63, 134, .8); }
.form-step-head h2 { font-size: 1.22rem; }
.form-step-head p { margin: 2px 0 0; font-size: .88rem; color: var(--ink-3); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field-label { font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.field-label em { font-style: normal; color: var(--sun-600); }
.field input, .field select, .field textarea { width: 100%; height: 52px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .88); font-size: 1rem; color: var(--ink); outline: 0; transition: border-color .25s, box-shadow .25s, background .25s; -webkit-appearance: none; appearance: none; }
.field input[type="date"] { min-height: 52px; }
.field textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.field select { padding-right: 42px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366748f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue-500); background: var(--white); box-shadow: 0 0 0 4px rgba(63, 128, 210, .15); }
.field [aria-invalid="true"] { border-color: #e0452b; box-shadow: 0 0 0 4px rgba(224, 69, 43, .12); }
.field-hint { font-size: .8rem; color: var(--ink-3); }
.choice-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .85); font-size: .92rem; font-weight: 600; color: var(--ink-2); transition: color .25s, background .25s, border-color .25s, box-shadow .25s; pointer-events: none; }
.choice span .i { width: 17px; height: 17px; }
.choice:hover span { border-color: var(--blue-400); }
.choice input:checked + span { color: var(--white); border-color: transparent; background: linear-gradient(135deg, var(--blue-500), var(--navy-700)); box-shadow: 0 8px 18px -10px rgba(26, 63, 134, .9); }
.choice input:focus-visible + span { outline: 3px solid var(--blue-300); outline-offset: 2px; }
.check-inline { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .92rem; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.check-inline input { width: 20px; height: 20px; accent-color: var(--blue-600); }
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.people { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: rgba(255, 255, 255, .88); }
.people strong { display: block; font-size: .98rem; line-height: 1.3; }
.people small { color: var(--ink-3); font-size: .8rem; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.form-note { display: flex; gap: 10px; margin-top: 16px; font-size: .84rem; color: var(--ink-3); line-height: 1.5; }
.form-note .i { color: var(--blue-500); margin-top: 1px; }
.form-error { margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: #fdecea; color: #b3261e; font-size: .9rem; font-weight: 600; }
.form-ok { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; background: var(--ok-bg); color: var(--ok); font-size: .92rem; font-weight: 600; }
.quote-aside { position: sticky; top: calc(var(--sticky-top) + 6px); display: grid; gap: 16px; }
.aside-card { position: relative; padding: 26px; border-radius: var(--r-xl); }
.aside-dark { color: var(--white); background: radial-gradient(90% 70% at 100% 0%, #1b4590 0%, transparent 60%), var(--navy-900); box-shadow: var(--sh-lg); }
.aside-card h3 { font-size: 1.1rem; }
.mini-steps { list-style: none; display: grid; gap: 16px; margin-top: 18px; }
.mini-steps li { display: flex; gap: 14px; font-size: .92rem; line-height: 1.5; color: rgba(255, 255, 255, .84); }
.mini-steps strong { display: block; color: var(--white); }
.mini-steps b { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; }
.aside-card .contact-list li { color: var(--ink-2); }
.aside-card .contact-list .i { color: var(--blue-500); }
.aside-card .contact-list strong { color: var(--ink); }
.aside-card .contact-list small { color: var(--ink-3); }
@media (max-width: 1020px) {
  .quote-layout { grid-template-columns: 1fr; }
  .quote-aside { position: static; }
}
@media (max-width: 600px) {
  .field-grid, .people-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   WHATSAPP FLOTTANTE, BARRA MOBILE, AVVISI
   ========================================================================= */
.wa-float { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: var(--white); background: linear-gradient(135deg, var(--wa-1), var(--wa-2)); box-shadow: 0 18px 40px -12px rgba(20, 166, 76, .85), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .4s var(--ease-out); }
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa-1); animation: wa-pulse 2.4s var(--ease-out) infinite; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-float .wa-close-ic { display: none; }
.wa-open .wa-float .wa-ic { display: none; }
.wa-open .wa-float .wa-close-ic { display: block; }
.wa-open .wa-float::before { display: none; }
.wa-pop { position: fixed; right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(102px + env(safe-area-inset-bottom, 0px)); z-index: 55; width: min(370px, calc(100vw - 32px)); border-radius: 26px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right; transition: opacity .35s var(--ease-out), transform .45s var(--ease-out), visibility .35s; box-shadow: var(--sh-lg); }
.wa-open .wa-pop { opacity: 1; visibility: visible; transform: none; }
.wa-pop-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; color: var(--white); background: linear-gradient(135deg, var(--wa-dark), #1fb35a); }
.wa-pop-head img { width: 46px; height: 46px; border-radius: 50%; background: var(--white); }
.wa-pop-head strong { display: block; font-size: 1rem; line-height: 1.3; }
.wa-pop-head small { display: flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .92; }
.wa-pop-head small::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8dffb4; }
.wa-pop-body { padding: 18px 16px 16px; background: linear-gradient(180deg, rgba(236, 229, 221, .7), rgba(255, 255, 255, .75)); }
.wa-bubble { max-width: 88%; margin-bottom: 14px; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--white); font-size: .92rem; line-height: 1.45; box-shadow: var(--sh-sm); }
.wa-options { display: grid; gap: 8px; }
.wa-option { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 650; color: var(--ink); transition: border-color .25s, transform .25s; }
.wa-option:hover { border-color: var(--wa-1); transform: translateX(3px); }
.wa-option .i { width: 18px; height: 18px; color: var(--wa-2); }
.wa-call { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: .86rem; font-weight: 650; color: var(--navy-800); }
.wa-call .i { width: 16px; height: 16px; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.mobile-bar-inner { pointer-events: auto; display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; padding: 8px; border-radius: 24px; }
.mobile-bar .btn { height: 52px; padding: 0 14px; }

@media (max-width: 860px) {
  .wa-float, .wa-pop { display: none; }
  .mobile-bar { display: block; }
  .site-footer { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}

.demo-ribbon { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 56; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100vw - 120px); padding: 9px 12px 9px 14px; border-radius: 999px; font-size: .78rem; font-weight: 650; color: var(--navy-800); cursor: pointer; }
.demo-ribbon .i { width: 16px; height: 16px; color: var(--sun-600); }
.demo-ribbon .i:last-child { width: 14px; height: 14px; color: var(--ink-3); }
@media (max-width: 860px) {
  .demo-ribbon { left: 50%; transform: translateX(-50%); bottom: calc(86px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 32px); white-space: nowrap; font-size: .72rem; }
}

.cookie-banner { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(420px, calc(100vw - 32px)); padding: 20px; border-radius: 22px; }
.cookie-banner h3 { font-size: 1rem; margin-bottom: 6px; }
.cookie-banner p { font-size: .86rem; color: var(--ink-2); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
@media (max-width: 860px) { .cookie-banner { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* Riquadro promozionale a fine pagina */
.promo { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 4.5vw, 56px); border-radius: var(--r-xl); color: var(--white); background: radial-gradient(80% 120% at 100% 0%, #1d4a99 0%, transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(255, 138, 61, .32), transparent 60%), var(--navy-900); box-shadow: var(--sh-lg); --em-color: #a6d1ff; }
.promo > div:first-child { flex: 1 1 380px; min-width: 0; }
.promo h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; max-width: 22ch; }
.promo p { margin-top: 14px; max-width: 54ch; color: rgba(255, 255, 255, .8); }
.promo .cta-actions { margin-top: 0; justify-content: flex-start; }

.dep-mini span { display: inline-flex; align-items: center; gap: 8px; }
.dep-mini .i { width: 16px; height: 16px; color: var(--blue-500); }
.dep-mini .btn .i { color: inherit; }
.notice .i { flex: none; margin-top: 2px; }
.form-ok .i, .form-note .i { flex: none; }

/* =========================================================================
   PAGINE DI SERVIZIO (privacy, 404)
   ========================================================================= */
.legal { padding: clamp(50px, 7vw, 90px) 0 clamp(80px, 10vw, 120px); }
.legal .prose { max-width: 780px; margin-inline: auto; padding: clamp(24px, 4vw, 52px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.prose h2 { margin: 30px 0 10px; font-size: 1.25rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 20px; margin-bottom: 1em; display: grid; gap: 6px; }
.prose a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.notice { display: flex; gap: 12px; margin-bottom: 26px; padding: 14px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn); font-size: .9rem; font-weight: 600; }

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { animation: none !important; }
  .hero-title .line > span, .fade-up { transform: none; opacity: 1; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-inline: var(--gutter); }
}

/* ---------- Fluidità ----------
   Le card che compaiono in molte copie usano un vetro "dipinto" (trasparenza + bordo luminoso)
   invece della sfocatura reale, che il browser ricalcola a ogni fotogramma durante lo scorrimento.
   La sfocatura vera resta su header, scheda preventivo, pannello crociere, box finale e barre fisse. */
.trip-panel.glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(160deg, rgba(10, 28, 69, .62), rgba(10, 28, 69, .38)); }
.service.glass-light, .perk.glass-light { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .84); }
/* Le sezioni lontane dallo schermo non vengono disegnate finché non servono */
.section, .cruise-band, .cta-band { content-visibility: auto; contain-intrinsic-size: auto 900px; }
