/* FabioLeo VanLife: "La isla a tu ritmo". Blu notte atlantico, crema, senape e ruggine del marchio. */
:root {
  --ink: #0F2B40;
  --ink-2: #0F3A4A;
  --ink-3: #164457;
  --teal: #2C7B8E;
  --cream: #FBF3DD;
  --sand: #F3E7CE;
  --sky: #E8F1F5;
  --mustard: #E8B53A;
  --mustard-deep: #B07E1C;
  --rust: #C9633A;
  --text-soft: #4B5E6D;
  --mute: #A8C0CC;
  --line-dark: rgba(251, 243, 221, .14);
  --line-light: rgba(15, 43, 64, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --hand: 'Caveat', 'Segoe Print', cursive;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.lb-open { overflow: hidden; }
img, canvas, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
section[id], main [id] { scroll-margin-top: 76px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; line-height: 1.02; }
h2 { font-size: clamp(40px, 5.4vw, 76px); }
h3 { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
h1 em, h2 em { font-style: italic; color: var(--mustard); }
.light h2 em, .sand h2 em { color: var(--rust); }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--mustard);
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(232, 181, 58, .22); }
.light .eyebrow, .sand .eyebrow { color: var(--rust); }
.light .eyebrow::before, .sand .eyebrow::before { box-shadow: 0 0 0 3px rgba(201, 99, 58, .18); }
.lead { font-size: clamp(17px, 1.45vw, 20px); color: var(--text-soft); max-width: 58ch; }
.dark .lead, .teal .lead { color: var(--mute); }
.fine { font-size: 13px; color: var(--text-soft); margin-top: 12px; }
.dark .fine { color: var(--mute); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; font-size: 15.5px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mustard); color: var(--ink); border-color: var(--ink); box-shadow: 0 14px 34px -14px rgba(232, 181, 58, .8); }
.btn-primary:hover { background: #f0c257; }
.light .btn-primary, .sand .btn-primary { box-shadow: 4px 4px 0 var(--ink); }
.light .btn-primary:hover, .sand .btn-primary:hover { box-shadow: 6px 6px 0 var(--ink); transform: translate(-2px, -2px); }
.btn-ghost { border-color: rgba(251, 243, 221, .55); color: var(--cream); background: rgba(15, 43, 64, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(251, 243, 221, .1); }
.btn-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 4px 4px 0 var(--mustard); }
.btn-dark:hover { box-shadow: 6px 6px 0 var(--mustard); transform: translate(-2px, -2px); }
.btn-light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-light:hover { background: #fff; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, border-color .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(15, 43, 64, .78); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-color: var(--line-dark); }
.nav-inner { max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); margin-right: auto; }
.brand-sun { flex: none; }
.brand-name { font-family: var(--serif); font-size: 22px; line-height: 1; letter-spacing: -0.01em; display: flex; flex-direction: column; }
.brand-name small { font-family: var(--hand); font-size: 17px; color: var(--mustard); margin-top: 2px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: rgba(251, 243, 221, .84); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.nav-links a:hover { color: #fff; }
.lang { display: flex; gap: 2px; background: rgba(251, 243, 221, .12); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: transparent; color: rgba(251, 243, 221, .78); font-weight: 800; font-size: 12px; padding: 6px 10px; border-radius: 999px; min-width: 38px; min-height: 30px; }
.lang button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(251, 243, 221, .08); color: var(--cream); }
.menu-btn svg { margin: auto; }
.mobile-menu { display: none; }

/* ---------- Eroe a scorrimento ---------- */
.hero { position: relative; height: 430vh; background: var(--ink); color: var(--cream); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.hero-poster.hidden { opacity: 0; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 43, 64, .55) 0%, rgba(15, 43, 64, .08) 30%, rgba(15, 43, 64, 0) 55%, rgba(15, 43, 64, .62) 100%);
}
.shade { position: absolute; inset: 0; pointer-events: none; opacity: 0; will-change: opacity; }
.s-mid { background: linear-gradient(270deg, rgba(15, 43, 64, .62) 0%, rgba(15, 43, 64, .2) 32%, rgba(15, 43, 64, 0) 50%); }
.s-end { background: linear-gradient(0deg, rgba(15, 43, 64, .7) 0%, rgba(15, 43, 64, .2) 36%, rgba(15, 43, 64, 0) 55%); }
.glass {
  background: rgba(15, 43, 64, .5);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
  backdrop-filter: blur(14px) saturate(1.25);
  border: 1px solid rgba(251, 243, 221, .16);
  border-radius: 20px;
  padding: clamp(18px, 1.8vw, 28px);
}
.beat {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: calc(84px + 1.2vh) max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) clamp(28px, 5vh, 64px);
  opacity: 0; transform: translateY(24px); will-change: opacity, transform; pointer-events: none;
}
.beat.on { pointer-events: auto; }
.beat p { font-size: clamp(15px, 1.15vw, 17.5px); color: rgba(251, 243, 221, .92); }
.beat .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.b-intro { justify-content: space-between; }
.b-intro .b-top { text-align: center; }
.b-intro .eyebrow { justify-content: center; margin-bottom: 8px; color: var(--cream); text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.b-intro .eyebrow::before { display: none; }
.b-intro h1 { font-size: min(7.4vw, 9vh, 124px); line-height: .98; text-shadow: 0 10px 40px rgba(15, 43, 64, .45); }
.b-intro h1 em { display: inline-block; }
.b-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.b-bottom > p { max-width: min(360px, 28vw); }
.b-cta { width: min(340px, 27vw); display: grid; gap: 12px; }
.b-cta .ctas { flex-direction: column; }
.b-cta .btn { width: 100%; }
.price-line { display: flex; align-items: baseline; gap: 6px; color: rgba(251, 243, 221, .85); font-weight: 700; }
.price-line b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--mustard); }
.price-line small { font-size: 14px; }
.promo-line { font-family: var(--hand); font-size: 21px; line-height: 1.1; color: #ffd98a; }
.b-mid { justify-content: center; align-items: flex-end; }
.b-mid .b-box { max-width: min(420px, 32vw); }
.b-mid h2, .b-end h2 { font-size: clamp(32px, 3.3vw, 54px); }
.b-end { justify-content: flex-end; align-items: flex-end; }
.b-end .b-box { max-width: min(460px, 34vw); display: grid; gap: 14px; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(22px, 3.4vw, 48px); margin-top: 22px; }
.stat b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.6vw, 42px); line-height: 1; color: var(--mustard); }
.stat span { font-size: 13px; color: rgba(251, 243, 221, .78); font-weight: 700; }
.scroll-hint {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 243, 221, .78);
  transition: opacity .4s; white-space: nowrap;
}
.scroll-hint i { width: 22px; height: 34px; border: 2px solid rgba(251, 243, 221, .65); border-radius: 12px; position: relative; }
.scroll-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cream); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
.hero-progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: rgba(251, 243, 221, .1); }
.hero-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--mustard), var(--rust), #7d8fd1); }

/* ---------- Sezioni ---------- */
section { position: relative; }
.sec { padding: clamp(84px, 11vw, 150px) 0; }
.dark { background: var(--ink); color: var(--cream); }
.teal { background: var(--ink-2); color: var(--cream); }
.light { background: var(--cream); color: var(--ink); }
.sand { background: var(--sand); color: var(--ink); }
.sec-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5.5vw, 68px); }
.sec-head h2 { margin-top: 16px; }
.sec-head.split { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 3D ---------- */
#carioca { background: radial-gradient(90% 60% at 30% 0%, rgba(201, 99, 58, .16), rgba(201, 99, 58, 0) 60%), var(--ink); }
.viewer-wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: stretch; }
.viewer {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 600px;
  background:
    radial-gradient(70% 55% at 50% 60%, rgba(232, 181, 58, .22), rgba(232, 181, 58, 0) 70%),
    linear-gradient(180deg, #1d4a66 0%, #123650 55%, #0b2335 100%);
  border: 1px solid var(--line-dark);
}
.viewer canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: none; cursor: grab; }
.viewer canvas:active { cursor: grabbing; }
.viewer-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.viewer-status { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; font-weight: 700; color: var(--mute); font-size: 15px; pointer-events: none; }
.viewer-status .bar { width: 180px; height: 4px; border-radius: 4px; background: rgba(251, 243, 221, .14); margin: 12px auto 0; overflow: hidden; }
.viewer-status .bar span { display: block; height: 100%; width: 0; background: var(--mustard); transition: width .2s; }
.viewer-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; pointer-events: none; z-index: 3; }
.viewer-ui > * { pointer-events: auto; }
.viewer-hint { font-size: 13px; font-weight: 700; color: rgba(251, 243, 221, .82); background: rgba(15, 43, 64, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.viewer-btns { display: flex; gap: 8px; }
.chip-btn { border: 1px solid rgba(251, 243, 221, .28); background: rgba(15, 43, 64, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--cream); font-weight: 800; font-size: 13px; padding: 0 14px; min-height: 40px; border-radius: 999px; }
.chip-btn[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hs {
  position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--mustard); color: var(--ink); font-weight: 800; font-size: 14px;
  display: grid; place-items: center; pointer-events: auto; opacity: 0; transition: opacity .3s, background .2s, transform .2s;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .6);
}
.hs::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(232, 181, 58, .7); animation: ping 2.2s var(--ease) infinite; }
.hs.vis { opacity: 1; }
.hs:hover, .hs[aria-pressed="true"] { background: var(--rust); color: var(--cream); }
.hs[aria-pressed="true"]::before { border-color: rgba(201, 99, 58, .8); }
.hs .tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap;
  background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 10px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.hs:hover .tip, .hs:focus-visible .tip { opacity: 1; }
@keyframes ping { 0% { transform: scale(.7); opacity: 1; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
.hs-panel { display: grid; gap: 14px; align-content: start; }
.hs-tabs { display: grid; gap: 6px; }
.hs-tab { display: flex; align-items: center; gap: 12px; text-align: left; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-dark); background: rgba(251, 243, 221, .04); color: var(--cream); font-weight: 700; font-size: 14.5px; transition: background .2s, border-color .2s; }
.hs-tab .n { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(232, 181, 58, .16); color: var(--mustard); font-size: 13px; font-weight: 800; }
.hs-tab:hover { background: rgba(251, 243, 221, .08); }
.hs-tab[aria-pressed="true"] { border-color: rgba(232, 181, 58, .6); background: rgba(232, 181, 58, .1); }
.hs-tab[aria-pressed="true"] .n { background: var(--mustard); color: var(--ink); }
.hs-card { margin: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); }
.hs-photo { display: block; width: 100%; padding: 0; border: 0; background: #0b2335; cursor: zoom-in; }
.hs-photo img { width: 100%; height: 210px; object-fit: cover; }
.hs-card figcaption { padding: 16px 18px 18px; }
.hs-card h3 { font-size: 24px; color: var(--cream); }
.hs-card p { color: var(--mute); font-size: 15px; margin-top: 6px; }
.specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.specs div { padding: 12px 14px; border-radius: 12px; background: rgba(251, 243, 221, .05); border: 1px solid var(--line-dark); }
.specs dt { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.specs dd { margin: 2px 0 0; font-weight: 800; font-size: 15px; color: var(--cream); }

/* ---------- Galleria foto vere ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 16vw, 210px); gap: 14px; grid-auto-flow: dense; }
.ph { position: relative; padding: 0; border: 2px solid var(--ink); border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); cursor: zoom-in; box-shadow: 5px 5px 0 var(--ink); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.ph:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ph:hover img { transform: scale(1.04); }
.ph-cap { position: absolute; left: 10px; right: 10px; bottom: 10px; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--cream); background: rgba(15, 43, 64, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 7px 11px; border-radius: 10px; line-height: 1.3; }
.b-wide, .b-wide2 { grid-column: span 2; grid-row: span 2; }
.b-tall { grid-row: span 2; }

/* ---------- Inclusi ---------- */
.inc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inc { background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
.inc-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--mustard); color: var(--ink); margin-bottom: 16px; border: 2px solid var(--ink); }
.inc:nth-child(3n+2) .inc-ic { background: #9fd3c0; }
.inc:nth-child(3n) .inc-ic { background: #f2a47e; }
.inc h3 { font-size: 24px; }
.inc p { margin-top: 8px; color: var(--text-soft); font-size: 15.5px; }

/* ---------- Rotte ---------- */
.teal { background: radial-gradient(80% 60% at 85% 20%, rgba(44, 123, 142, .35), rgba(44, 123, 142, 0) 65%), var(--ink-2); }
.routes { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.routes-text h2 { margin: 16px 0 18px; }
.route-list { list-style: none; padding: 0; margin: 30px 0 28px; display: grid; gap: 10px; }
.route button { width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 16px 18px; border-radius: var(--radius-sm); border: 1px solid var(--line-dark); background: rgba(251, 243, 221, .03); transition: background .25s, border-color .25s; }
.route button:hover { background: rgba(251, 243, 221, .07); }
.route.on button { border-color: var(--c); background: rgba(251, 243, 221, .08); }
.rn { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-weight: 600; font-size: 13px; color: var(--ink); background: var(--c); }
.rb { display: grid; gap: 4px; }
.rt-t { font-family: var(--serif); font-size: 22px; line-height: 1.15; color: var(--cream); }
.rt-d { font-size: 14.5px; color: var(--mute); }
.rt-m { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--c); }
.map { margin: 0; position: relative; border-radius: var(--radius); padding: clamp(14px, 2vw, 28px); background: radial-gradient(70% 70% at 50% 50%, #1b5569, #113d50); border: 1px solid var(--line-dark); isolation: isolate; }
.map svg { width: 100%; height: auto; overflow: visible; }
.map figcaption { font-size: 13px; color: var(--mute); margin-top: 10px; text-align: center; }
.m-lbl { font-family: var(--sans); font-weight: 700; font-size: 25px; fill: var(--cream); paint-order: stroke; stroke: rgba(15, 58, 74, .85); stroke-width: 6px; stroke-linejoin: round; }
.m-teide { font-size: 22px; fill: rgba(251, 243, 221, .8); }
.m-pick { font-size: 24px; fill: var(--cream); }
.m-pick-a { fill: #ffb592; }
.rt { opacity: .32; transition: opacity .4s; }
.rt.on { opacity: 1; }
.rt-line { fill: none; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map.drawn .rt-line { transition: stroke-dashoffset 1.8s var(--ease); stroke-dashoffset: 0; }
.map.drawn .rt:nth-of-type(2) .rt-line { transition-delay: .25s; }
.map.drawn .rt:nth-of-type(3) .rt-line { transition-delay: .5s; }
.rt-lbl { opacity: 0; transition: opacity .3s; }
.rt.on .rt-lbl { opacity: 1; }
.pickup .pulse { fill: rgba(201, 99, 58, .35); transform-box: fill-box; transform-origin: center; animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Tariffe ---------- */
.promo-banner { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: -20px 0 28px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--rust); color: var(--cream); font-weight: 700; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.promo-badge { font-family: var(--hand); font-size: 26px; line-height: 1; color: #ffe2a3; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; background: #fff8e8; border: 2px solid var(--ink); border-radius: var(--radius); padding: 28px 26px; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; }
.plan.featured { background: var(--ink); color: var(--cream); box-shadow: 6px 6px 0 var(--mustard); }
.plan-badge { position: absolute; top: -14px; right: 20px; background: var(--mustard); color: var(--ink); border: 2px solid var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.plan h3 { font-size: 34px; }
.plan-desc { margin-top: 4px; color: var(--text-soft); font-weight: 600; }
.plan.featured .plan-desc { color: var(--mute); }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: 58px; line-height: 1; color: var(--rust); }
.plan.featured .plan-price b { color: var(--mustard); }
.plan-price s { font-weight: 700; color: var(--text-soft); opacity: .8; }
.plan.featured .plan-price s { color: var(--mute); }
.plan-price small { font-weight: 700; color: var(--text-soft); }
.plan.featured .plan-price small { color: var(--mute); }
.plan-note { margin-top: 12px; font-family: var(--hand); font-size: 22px; line-height: 1.1; color: var(--mustard-deep); }
.rates-bottom { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin-top: 30px; align-items: start; }
.always h3 { font-size: 28px; margin-bottom: 16px; }
.incl { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.incl li { display: flex; gap: 10px; font-weight: 700; }
.incl li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--ink); background: var(--mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230F2B40' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.estimator { background: #fff8e8; border: 2px solid var(--ink); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); box-shadow: 6px 6px 0 var(--ink); }
.estimator h3 { font-size: 28px; margin-bottom: 18px; }
.field-top { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; }
.field-top output { font-family: var(--serif); font-size: 34px; line-height: 1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 8px 0 14px; --p: 20%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--mustard) var(--p), rgba(15, 43, 64, .15) var(--p)); border: 2px solid var(--ink); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: rgba(15, 43, 64, .15); border: 2px solid var(--ink); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--mustard); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--rust); border: 3px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--rust); border: 3px solid var(--ink); }
.est-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-light); font-weight: 700; color: var(--text-soft); }
.est-row b { color: var(--ink); }
.est-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--cream); margin-top: 4px; font-weight: 700; }
.est-total b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; color: var(--mustard); }
.estimator .btn { margin-top: 18px; width: 100%; }

/* ---------- Chi siamo e video ---------- */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-text h2 { margin: 16px 0 18px; }
.about-body { margin-top: 16px; color: rgba(251, 243, 221, .86); max-width: 58ch; }
.about-text .stats { margin: 28px 0 30px; }
.quote { margin: 0; position: relative; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--radius); background: linear-gradient(160deg, rgba(232, 181, 58, .16), rgba(201, 99, 58, .12)); border: 1px solid rgba(232, 181, 58, .3); }
.quote::before { content: "\201C"; position: absolute; top: -18px; left: 22px; font-family: var(--serif); font-size: 120px; line-height: 1; color: var(--mustard); }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.2; color: var(--cream); }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--hand); font-size: 24px; color: var(--mustard); }
.videos-head { margin: clamp(64px, 8vw, 110px) 0 26px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.videos-head h3 { font-size: clamp(30px, 3vw, 42px); }
.videos-head p { color: var(--mute); max-width: 52ch; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video h4 { font-family: var(--serif); font-size: 22px; margin-top: 14px; }
.video p { color: var(--mute); font-size: 15px; margin-top: 4px; }
.yt, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius-sm); overflow: hidden; background: #000; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.yt:hover img { transform: scale(1.05); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); }
.play::after { content: ""; position: absolute; left: 25px; top: 19px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--ink); }

/* ---------- Recensioni ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: var(--cream); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 22px; box-shadow: 5px 5px 0 var(--ink); }
.stars { color: var(--mustard-deep); letter-spacing: 2px; }
.review blockquote { margin: 10px 0 12px; font-size: 16px; }
.review figcaption { font-weight: 800; font-size: 14px; color: var(--text-soft); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-wrap h2 { margin-top: 16px; }
.faq { display: grid; gap: 12px; }
.qa { border: 2px solid var(--ink); border-radius: var(--radius-sm); background: #fff8e8; box-shadow: 4px 4px 0 var(--ink); }
.qa summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; font-weight: 800; font-size: 17px; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--mustard); border: 2px solid var(--ink); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--ink); transition: transform .25s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 20px 20px; color: var(--text-soft); }

/* ---------- Contatti ---------- */
.contact { position: relative; min-height: 92vh; display: flex; align-items: center; color: var(--cream); overflow: hidden; isolation: isolate; padding: 120px 0 80px; }
.contact-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 43, 64, .78) 0%, rgba(15, 43, 64, .35) 55%, rgba(15, 43, 64, .1) 100%); }
.contact .wrap { width: 100%; }
.contact-card { max-width: 560px; padding: clamp(24px, 3vw, 40px); }
.contact-card h2 { margin: 16px 0 14px; }
.contact-card .lead { color: rgba(251, 243, 221, .86); }
.contact-btns { display: grid; gap: 10px; margin-top: 26px; }
.contact-btns .btn { justify-content: flex-start; width: 100%; }
.contact-btns .btn-primary { background: #25D366; border-color: var(--ink); box-shadow: 0 14px 34px -14px rgba(37, 211, 102, .8); }
.contact-btns .btn-primary:hover { background: #3ee07b; }
.pickup { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 14.5px; color: rgba(251, 243, 221, .85); }
.pickup svg { flex: none; margin-top: 3px; color: var(--mustard); }

/* ---------- Footer ---------- */
footer { background: #0a2031; color: rgba(251, 243, 221, .78); padding: 64px 0 40px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .brand { margin-bottom: 14px; }
.foot-tag { max-width: 44ch; }
.foot h4 { margin: 0 0 12px; color: var(--cream); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.foot a:not(.brand) { color: rgba(251, 243, 221, .78); text-decoration: none; display: block; padding: 5px 0; font-size: 15px; }
.foot a:not(.brand):hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }

/* ---------- WhatsApp fisso e lightbox ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 55; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: #fff; border: 2px solid var(--ink); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; background: rgba(8, 22, 33, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); display: grid; gap: 10px; justify-items: center; }
.lightbox img { max-height: 82vh; width: auto; border-radius: 12px; }
.lightbox figcaption { color: var(--cream); font-weight: 700; text-align: center; }
.lb-close { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 20px; font-weight: 800; }
.lb-nav { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(251, 243, 221, .35); background: rgba(251, 243, 221, .08); color: var(--cream); font-size: 30px; line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 13.5px; }
}
@media (max-width: 1080px) {
  .viewer-wrap { grid-template-columns: 1fr; }
  .hs-panel { grid-template-columns: 1fr 1fr; }
  .hs-panel .specs { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .inc-grid { grid-template-columns: 1fr 1fr; }
  .routes, .about { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 560px; }
  .rates-bottom { grid-template-columns: 1fr; }
  .videos { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links, .nav .nav-cta { display: none; }
  .menu-btn { display: flex; }
  .mobile-menu { position: fixed; inset: 72px 12px auto 12px; z-index: 59; background: rgba(15, 43, 64, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-dark); border-radius: 18px; padding: 10px; }
  .mobile-menu.open { display: grid; }
  .mobile-menu a { color: var(--cream); text-decoration: none; font-weight: 800; font-size: 18px; padding: 14px 12px; border-radius: 10px; }
  .mobile-menu a:hover { background: rgba(251, 243, 221, .06); }
  .mobile-menu .btn { margin-top: 6px; color: var(--ink); }
  .sec-head.split, .faq-wrap, .foot { grid-template-columns: 1fr; }
  .hero { height: 380vh; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(130px, 34vw, 220px); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand-name { font-size: 19px; }
  .brand-name small { font-size: 15px; }
  .brand-sun { width: 34px; height: 34px; }
  .nav-inner { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .lang button { min-width: 34px; padding: 6px 8px; }
  .viewer { min-height: 440px; }
  .hs-panel { grid-template-columns: 1fr; }
  .hs-panel .specs { grid-template-columns: 1fr 1fr; }
  .inc-grid { grid-template-columns: 1fr; }
  .incl { grid-template-columns: 1fr; }
  .videos, .reviews { grid-template-columns: 1fr; }
  .plan-price b { font-size: 50px; }
  .viewer-hint { display: none; }
  .contact { min-height: auto; }
  .contact::after { background: linear-gradient(180deg, rgba(15, 43, 64, .45) 0%, rgba(15, 43, 64, .85) 100%); }
  .lb-nav { display: none; }
}
/* Telefono e schermi verticali: stessa storia, riquadri in alto e in basso */
@media (max-aspect-ratio: 9/10) {
  .beat { padding-top: calc(70px + 1vh); padding-bottom: clamp(18px, 3.5vh, 40px); }
  .b-intro h1 { font-size: clamp(44px, 13vw, 76px); }
  .b-intro .eyebrow { font-size: 10.5px; letter-spacing: .12em; }
  .b-bottom > p { display: none; }
  .b-cta { width: 100%; }
  .b-cta .ctas { flex-direction: row; }
  .b-cta .btn { flex: 1 1 0; width: auto; padding: 0 14px; }
  .b-mid { justify-content: flex-start; align-items: stretch; }
  .b-end { align-items: stretch; }
  .b-mid .b-box, .b-end .b-box { max-width: none; width: 100%; }
  .b-mid h2, .b-end h2 { font-size: clamp(28px, 8vw, 40px); }
  .b-mid .stats { gap: 16px; margin-top: 14px; }
  .b-end .ctas .btn { flex: 1 1 100%; }
  .s-mid { background: linear-gradient(180deg, rgba(15, 43, 64, .65) 0%, rgba(15, 43, 64, 0) 45%); }
  .s-end { background: linear-gradient(0deg, rgba(15, 43, 64, .78) 0%, rgba(15, 43, 64, 0) 55%); }
  .scroll-hint { bottom: 8px; }
}
@media (max-aspect-ratio: 9/10) and (max-height: 700px) {
  .b-end p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint i::after, .hs::before, .pickup .pulse { animation: none; }
  .map .rt-line { stroke-dashoffset: 0; }
}
.ph-cta { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 20px; border-radius: var(--radius-sm); border: 2px solid var(--ink); background: var(--mustard); box-shadow: 5px 5px 0 var(--ink); }
.ph-cta p { font-family: var(--hand); font-size: clamp(28px, 2.6vw, 36px); line-height: 1.05; color: var(--ink); }
.ph-cta .btn { width: 100%; padding: 0 14px; white-space: normal; text-align: center; line-height: 1.2; }
.hs-pop { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 4; display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 12px 12px 16px; border-radius: 16px; background: rgba(15, 43, 64, .78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(232, 181, 58, .35); color: var(--cream); }
.hs-pop b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.15; }
.hs-pop span { display: block; font-size: 13px; color: var(--mute); line-height: 1.35; margin-top: 2px; }
.hs-pop .chip-btn { flex: none; background: var(--mustard); color: var(--ink); border-color: var(--ink); }
@media (min-width: 1081px) { .hs-pop { display: none !important; } }
@media (max-width: 640px) { .wa-float { width: 52px; height: 52px; right: 14px; } }
@media (max-width: 640px) {
  .m-lbl { font-size: 36px; stroke-width: 8px; }
  .m-teide { font-size: 32px; }
  .m-pick { font-size: 32px; }
}
/* sul telefono l'indicatore di scroll sta sotto il riquadro del prezzo, non sopra */
@media (max-aspect-ratio: 9/10) {
  .b-intro { padding-bottom: 54px; }
}
