/* =========================================================
   BLUE RIB — foglio di stile
   Tipografia: Exo 2 (titoli) + Outfit (testo)
   ========================================================= */
:root {
  --ink: #0a0c0f;
  --ink-2: #101317;
  --ink-3: #171b20;
  --ink-4: #22272e;
  --paper: #f2f1ed;
  --paper-2: #e7e5df;
  --fg: #f4f3ef;
  --fg-dim: rgba(244, 243, 239, .66);
  --fg-mute: rgba(244, 243, 239, .42);
  --line: rgba(255, 255, 255, .12);
  --blue: #3d7fc1;
  --blue-deep: #0d2a44;
  --it-green: #009246;
  --it-red: #ce2b37;
  --radius: 18px;
  --gutter: clamp(16px, 4vw, 64px);
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  --f-head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --f-body: "Outfit", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
html.reduced-motion { scroll-behavior: auto; }
body {
  margin: 0; background: var(--ink); color: var(--fg);
  font-family: var(--f-body); font-weight: 300; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
address { font-style: normal; }
::selection { background: var(--blue); color: #fff; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.light { background: var(--paper); color: var(--ink); }

.eyebrow {
  font-family: var(--f-body); font-weight: 500; font-size: 12px; letter-spacing: .32em;
  text-transform: uppercase; color: var(--fg-mute); margin: 0 0 22px;
  display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.light .eyebrow { color: rgba(10, 12, 15, .5); }

.h1, .h2 {
  font-family: var(--f-head); font-weight: 700; text-transform: uppercase;
  line-height: .98; letter-spacing: -.01em; margin: 0 0 28px;
}
.h1 { font-size: clamp(44px, 8.2vw, 132px); }
.h2 { font-size: clamp(38px, 6vw, 92px); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: 2px;
  font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.btn:hover::after { transform: scaleY(1); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::after { background: var(--blue); }
.btn--light:hover { color: #fff; }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); background: rgba(255, 255, 255, .06); }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark::after { background: var(--blue); }
.btn--outline-dark { border: 1px solid rgba(10, 12, 15, .3); color: var(--ink); }
.btn--outline-dark::after { background: var(--ink); }
.btn--outline-dark:hover { color: #fff; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 20px; border-radius: 99px;
  font-size: 14px; font-weight: 400; letter-spacing: .02em;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.pill:hover { background: #fff; color: var(--ink); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: all; }
.loader__inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 26px; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.loader__curtain { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); z-index: 1; transition: transform 1.1s var(--ease-in-out); }
.loader__curtain--a { top: 0; }
.loader__curtain--b { bottom: 0; }
.loader__waves { position: absolute; width: min(600px, 90vw); height: 120px; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .5; }
.loader__waves path { fill: none; stroke: var(--blue); stroke-width: 1; stroke-dasharray: 800; stroke-dashoffset: 800; animation: waveDraw 2.4s var(--ease) forwards, waveShift 4s linear infinite; }
.loader__waves path:nth-child(2) { stroke: rgba(255, 255, 255, .35); animation-delay: .15s, 0s; }
.loader__waves path:nth-child(3) { stroke: rgba(255, 255, 255, .15); animation-delay: .3s, 0s; }
@keyframes waveDraw { to { stroke-dashoffset: 0; } }
@keyframes waveShift { from { transform: translateX(0); } to { transform: translateX(-150px); } }
.loader__logo { width: 180px; height: auto; position: relative; opacity: 0; transform: translateY(18px); filter: blur(8px); animation: logoIn 1.2s .2s var(--ease) forwards; }
@keyframes logoIn { to { opacity: 1; transform: none; filter: none; } }
.loader__bar { width: 180px; height: 2px; background: rgba(255, 255, 255, .1); position: relative; overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, var(--it-green) 0 33.3%, #fff 33.3% 66.6%, var(--it-red) 66.6%); transition: transform .3s linear; }
.loader__count { font-family: var(--f-head); font-weight: 300; font-size: 13px; letter-spacing: .3em; color: var(--fg-mute); }
.loader.is-done .loader__inner { opacity: 0; transform: scale(.94); }
.loader.is-done .loader__curtain--a { transform: translateY(-101%); transition-delay: .25s; }
.loader.is-done .loader__curtain--b { transform: translateY(101%); transition-delay: .25s; }
.loader.is-gone { display: none; }

/* ---------- Progress + cursore ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.cursor { position: fixed; top: 0; left: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; z-index: 999; pointer-events: none; display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s; will-change: transform; }
.cursor.is-hover { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; background: rgba(255, 255, 255, .95); }
.cursor__label { font-family: var(--f-head); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); opacity: 0; transition: opacity .3s; }
.cursor.is-hover .cursor__label { opacity: 1; }
.is-touch .cursor, .reduced-motion .cursor { display: none; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gutter);
  transition: transform .6s var(--ease), background .5s, backdrop-filter .5s, height .5s var(--ease);
}
.header::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: var(--line); transform: scaleX(0); transition: transform .8s var(--ease); }
.header.is-scrolled { background: rgba(10, 12, 15, .62); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); height: 68px; }
.header.is-scrolled::after { transform: scaleX(1); }
.header.is-hidden { transform: translateY(-100%); }
.header__menu { display: inline-flex; align-items: center; gap: 14px; justify-self: start; font-size: 15px; letter-spacing: .04em; }
.burger { width: 26px; height: 12px; position: relative; display: block; }
.burger i { position: absolute; left: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), width .5s var(--ease), top .5s var(--ease); }
.burger i:first-child { top: 0; width: 26px; }
.burger i:last-child { top: 10px; width: 18px; }
.header__menu:hover .burger i:last-child { width: 26px; }
.menu-open .burger i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger i:last-child { top: 5px; width: 26px; transform: rotate(-45deg); }
.header__logo { justify-self: center; }
.header__logo img { width: 92px; height: auto; transition: width .5s var(--ease); }
.header.is-scrolled .header__logo img { width: 74px; }
.header__cta { justify-self: end; }

/* ---------- Menu ---------- */
.menu { position: fixed; inset: 0; z-index: 105; visibility: hidden; pointer-events: none; }
.menu__bg { position: absolute; inset: 0; background: var(--ink-2); clip-path: circle(0% at var(--mx, 40px) var(--my, 40px)); transition: clip-path 1s var(--ease-in-out); }
.menu-open .menu { visibility: visible; pointer-events: auto; }
.menu-open .menu__bg { clip-path: circle(150% at var(--mx, 40px) var(--my, 40px)); }
.menu__inner { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 3vh) var(--gutter) 4vh; overflow-y: auto; max-width: 1440px; margin: 0 auto; }
.menu__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.menu__links li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__links a { position: relative; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 18px; padding: clamp(10px, 1.6vh, 18px) 0;
  font-family: var(--f-head); font-weight: 300; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(34px, 5.6vw, 84px); line-height: 1; transform: translateY(110%); transition: transform .9s var(--ease), color .4s, padding .6s var(--ease); }
.menu__links a::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.menu__links a small { font-family: var(--f-body); font-size: 12px; font-weight: 500; letter-spacing: .25em; color: var(--fg-mute); align-self: center; }
.menu__links a span { transition: letter-spacing .6s var(--ease); }
.menu__links a i { font-style: normal; font-size: .5em; opacity: 0; transform: translateX(-20px); transition: opacity .4s, transform .6s var(--ease); }
.menu__links a:hover { padding-left: 14px; }
.menu__links a:hover span { font-weight: 700; }
.menu__links a:hover::before { transform: scaleX(1); }
.menu__links a:hover i { opacity: 1; transform: none; }
.menu-open .menu__links a { transform: none; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: 4vh; font-size: 13px; letter-spacing: .08em; color: var(--fg-dim); opacity: 0; transform: translateY(20px); transition: opacity .8s .6s var(--ease), transform .8s .6s var(--ease); }
.menu-open .menu__foot { opacity: 1; transform: none; }
.menu__foot a:hover { color: #fff; }
.menu__flag { display: inline-flex; align-items: center; }
.menu__flag i { width: 12px; height: 3px; }
.menu__flag i:nth-child(1) { background: var(--it-green); } .menu__flag i:nth-child(2) { background: #fff; } .menu__flag i:nth-child(3) { background: var(--it-red); margin-right: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; transform: scale(calc(1.12 - var(--hp, 0) * .12 + var(--hs, 0) * .0)) ; transform-origin: 50% 60%; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,12,15,.5) 0%, rgba(10,12,15,0) 65%),
              linear-gradient(180deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,.05) 30%, rgba(10,12,15,.1) 55%, rgba(10,12,15,.85) 100%),
              radial-gradient(ellipse at 30% 70%, rgba(10,12,15,.35), transparent 60%); }
.hero__content { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(90px, 14vh, 160px); z-index: 2;
  transform: translateY(calc(var(--hs, 0) * -80px)); opacity: calc(1 - var(--hs, 0) * 1.6); }
.hero__eyebrow { color: rgba(255,255,255,.8); }
.hero__title { font-family: var(--f-head); font-weight: 800; text-transform: uppercase; line-height: .94; letter-spacing: -.015em;
  font-size: clamp(42px, min(7.6vw, 12.5vh), 128px); margin: 0 0 34px; }
.hero__title em { font-style: normal; font-weight: 300; }
.hero__title .line, .reveal-line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span, .reveal-line > span { display: inline-block; transform: translateY(110%); }
.is-ready .hero__title .line > span, .is-ready .reveal-line > span { transform: none; transition: transform 1.3s var(--ease); }
.is-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.is-ready .hero__title .line:nth-child(3) > span { transition-delay: .24s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .hero__actions { opacity: 0; transform: translateY(20px); }
.is-ready .hero .hero__actions { opacity: 1; transform: none; transition: opacity 1s .6s var(--ease), transform 1s .6s var(--ease); }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; z-index: 2; display: flex; justify-content: space-between; align-items: center; opacity: calc(1 - var(--hs, 0) * 3); }
.hero__scroll { display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-dim); }
.hero__scroll i { width: 60px; height: 1px; background: rgba(255,255,255,.25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero__flag, .footer__flag { display: inline-flex; gap: 0; align-items: center; }
.hero__flag i, .footer__flag i { width: 18px; height: 3px; }
.hero__flag i:nth-child(1), .footer__flag i:nth-child(1) { background: var(--it-green); }
.hero__flag i:nth-child(2), .footer__flag i:nth-child(2) { background: #fff; }
.hero__flag i:nth-child(3), .footer__flag i:nth-child(3) { background: var(--it-red); }

/* ---------- About (minimal) ---------- */
.about { position: relative; background: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%); color: var(--fg); padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 10vw, 150px); overflow: hidden; }
.about__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(40px, 6vw, 90px); }
.about__top .eyebrow { margin: 0; }
.about__place { margin: 0; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-mute); }
.about__title { font-family: var(--f-head); font-weight: 300; text-transform: none; letter-spacing: -.035em; line-height: .95;
  font-size: clamp(56px, 10.5vw, 176px); margin: 0 0 clamp(30px, 4vw, 56px); }
.about__title em { font-style: normal; font-weight: 700; color: #9cc3ea; }
.about__lead { max-width: 560px; margin: 0 0 0 auto; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; color: var(--fg-dim); }
.about__sea { position: relative; height: clamp(230px, 27vw, 420px); margin: clamp(30px, 5vw, 70px) 0 clamp(30px, 4vw, 60px); }
.about__line { position: absolute; left: 0; right: 0; top: 72%; height: 1px; background: rgba(255,255,255,.22); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease-in-out); }
.about__sea.in .about__line { transform: scaleX(1); }
.about__boat { position: absolute; left: 50%; top: 72%; width: min(980px, 86vw); transform: translate(calc(-50% + var(--bx, 0px)), -86%); will-change: transform; }
.about__hull { width: 100%; height: auto; opacity: 0; transform: translateY(24px); transition: opacity 1.6s .4s var(--ease), transform 1.6s .4s var(--ease); animation: bob 6s ease-in-out infinite; }
.about__reflex { position: absolute; left: 0; top: 100%; width: 100%; height: auto; transform: scaleY(-1) skewX(-2deg); transform-origin: top; opacity: 0;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 70%);
  filter: blur(2px) saturate(.6); transition: opacity 2s .9s var(--ease); animation: ripple 6s ease-in-out infinite; margin-top: -4%; }
.about__sea.in .about__hull { opacity: 1; transform: none; }
.about__sea.in .about__reflex { opacity: .5; }
@keyframes bob { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -6px; rotate: -.4deg; } }
@keyframes ripple { 0%, 100% { translate: 0 0; } 50% { translate: 0 6px; } }
.about__tag { position: absolute; top: calc(72% + 18px); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-mute); opacity: 0; transition: opacity 1s 1.6s; }
.about__tag--a { left: var(--gutter); }
.about__tag--b { right: var(--gutter); }
.about__sea.in .about__tag { opacity: 1; }
.about__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 70px); }
.pillar { position: relative; padding-top: 28px; }
.pillar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.16); transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease-in-out); transition-delay: var(--d, 0ms); }
.pillar.in::before { transform: scaleX(1); }
.pillar__n { font-family: var(--f-head); font-size: 13px; letter-spacing: .2em; color: #9cc3ea; }
.pillar h3 { font-family: var(--f-head); font-weight: 600; font-size: clamp(22px, 1.9vw, 28px); letter-spacing: -.01em; margin: 14px 0 12px; }
.pillar p { margin: 0; color: var(--fg-dim); font-size: 16px; }

.about .eyebrow { color: var(--fg-mute); }
.about__hull { filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }

/* ---------- 3D ---------- */
.design3d { position: relative; height: 100vh; height: 100svh; background: radial-gradient(ellipse at 50% 35%, #15283b 0%, #0b1119 55%, var(--ink) 100%); }
.design3d__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.design3d__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.design3d__video { object-fit: cover; background: #1b2530; }
.design3d__sticky::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(5,18,30,.62) 0%, rgba(5,18,30,.25) 38%, transparent 60%), linear-gradient(0deg, rgba(5,18,30,.55) 0%, transparent 32%), linear-gradient(180deg, rgba(5,18,30,.35) 0%, transparent 25%); }
.design3d__head, .design3d__callouts, .design3d__steps { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.design3d__fallback { display: none; position: absolute; left: 50%; top: 55%; width: min(900px, 90vw); transform: translate(-50%, -50%); }
.no-webgl .design3d__fallback { display: block; }
.no-webgl .design3d__canvas { display: none; }
.design3d__head { position: absolute; top: calc(var(--header-h) + 4vh); left: var(--gutter); z-index: 2; pointer-events: none; }
.design3d__head .h2 { margin-bottom: 14px; }
.design3d__hint { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0; }
.hint-touch { display: none; }
.is-touch .hint-touch { display: inline; }
.is-touch .hint-desktop { display: none; }
.design3d__callouts { position: absolute; right: var(--gutter); bottom: 12vh; z-index: 2; width: 300px; height: 150px; pointer-events: none; }
.callout { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); border-left: 1px solid rgba(255,255,255,.3); padding-left: 24px; }
.callout.on { opacity: 1; transform: none; }
.callout b { font-family: var(--f-head); font-weight: 300; font-size: 84px; line-height: .9; }
.callout b small { font-size: 22px; margin-left: 6px; font-weight: 500; }
.callout span { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-dim); line-height: 1.5; }
.design3d__steps { position: absolute; left: var(--gutter); bottom: 12vh; display: flex; gap: 8px; z-index: 2; }
.design3d__steps i { width: 36px; height: 2px; background: rgba(255,255,255,.2); position: relative; overflow: hidden; }
.design3d__steps i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--f, 0)); transform-origin: left; }

.design3d__new { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.design3d__badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 99px; background: #fff; color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .2em; }
.design3d__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--it-red); box-shadow: 0 0 0 0 rgba(206,43,55,.6); animation: newPulse 2s infinite; }
@keyframes newPulse { 70% { box-shadow: 0 0 0 9px rgba(206,43,55,0); } 100% { box-shadow: 0 0 0 0 rgba(206,43,55,0); } }

/* ---------- Accesso alla collezione ---------- */
.collect { background: var(--ink); padding: clamp(100px, 12vw, 180px) 0 clamp(60px, 7vw, 100px); }
.collect__inner { display: grid; justify-items: center; text-align: center; }
.collect__inner .h2 { margin-bottom: clamp(36px, 4vw, 56px); }
.collect__btn { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 40px; row-gap: 4px; text-align: left;
  width: min(640px, 100%); padding: 26px 28px 26px 34px; border: 1px solid rgba(255,255,255,.28); border-radius: 2px; overflow: hidden; isolation: isolate; transition: color .6s var(--ease), border-color .6s; }
.collect__btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-in-out); }
.collect__btn:hover { color: var(--ink); border-color: #fff; }
.collect__btn:hover::before { transform: scaleX(1); }
.collect__btn-label { font-family: var(--f-head); font-weight: 700; font-size: clamp(22px, 2.4vw, 32px); text-transform: uppercase; letter-spacing: .04em; }
.collect__btn-meta { grid-row: 2; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-mute); transition: color .6s; }
.collect__btn:hover .collect__btn-meta { color: rgba(10,12,15,.6); }
.collect__btn-arrow { grid-row: 1 / 3; grid-column: 2; width: 60px; height: 60px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .8s var(--ease); }
.collect__btn-arrow svg { width: 22px; height: 22px; }
.collect__btn:hover .collect__btn-arrow { transform: rotate(-45deg); }

/* ---------- Collezione ---------- */
.models { position: relative; background: var(--ink); padding-top: clamp(100px, 12vw, 180px); }
.models__intro { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.models__intro .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.models__intro .h2 { margin: 0; }
.models__lead { color: var(--fg-dim); max-width: 460px; margin: 0 0 8px auto; }
.models__pin { position: relative; }
.models__track { display: flex; gap: 28px; padding: 0 var(--gutter); will-change: transform; }
.is-desktop .models__pin { height: var(--pin-h, 300vh); }
.is-desktop .models__pin .models__sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.model-card {
  position: relative; flex: 0 0 auto; width: min(76vw, 1080px); height: min(72vh, 680px); min-height: 460px; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%); border: 1px solid rgba(255,255,255,.07);
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(24px, 3vw, 44px); isolation: isolate; cursor: pointer;
}
.model-card__bg { position: absolute; inset: 0; z-index: -2; opacity: 0; transition: opacity 1s var(--ease), transform 1.4s var(--ease); transform: scale(1.08); }
.model-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.model-card__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,15,.7), rgba(10,12,15,.2) 40%, rgba(10,12,15,.9)); }
.model-card:hover .model-card__bg { opacity: 1; transform: none; }
.model-card__num { position: absolute; right: -2%; top: 50%; transform: translateY(-58%); z-index: -1; font-family: var(--f-head); font-weight: 800;
  font-size: clamp(200px, 30vw, 460px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.1); letter-spacing: -.04em; transition: -webkit-text-stroke-color .6s; }
.model-card:hover .model-card__num { -webkit-text-stroke-color: rgba(255,255,255,.25); }
.model-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.model-card__line { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-mute); }
.model-card__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(34px, 4.4vw, 66px); text-transform: uppercase; line-height: 1; margin: 10px 0 0; }
.model-card__cat { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; font-family: var(--f-head); font-size: 13px; text-align: center; line-height: 1.1; }
.model-card__cat small { display: block; font-size: 8px; letter-spacing: .15em; color: var(--fg-mute); }
.model-card__boat { align-self: center; justify-self: center; width: 92%; transform: translateX(calc(var(--cp, 0) * 18%)) rotate(calc(var(--cp, 0) * -2deg)); will-change: transform; }
.model-card__boat img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); transition: transform 1.2s var(--ease); }
.model-card:hover .model-card__boat img { transform: scale(1.04) translateX(-1%); }
.model-card__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.model-card__specs { display: flex; gap: clamp(18px, 3vw, 46px); }
.model-card__specs div { display: grid; gap: 2px; }
.model-card__specs b { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 2vw, 28px); }
.model-card__specs span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); }
.arrow-btn { flex: none; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; backdrop-filter: blur(10px); transition: background .4s, color .4s, transform .6s var(--ease); }
.arrow-btn svg { width: 20px; height: 20px; }
.model-card:hover .arrow-btn { background: #fff; color: var(--ink); transform: rotate(-45deg); }
.models__end { flex: 0 0 auto; width: min(40vw, 460px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: var(--gutter); }
.models__end p { font-family: var(--f-head); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; text-transform: uppercase; font-weight: 600; margin: 0; }
.models__dots { display: none; }

/* mobile/tablet: carosello con swipe */
html:not(.is-desktop) .models__track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 10px; scroll-padding: 0 var(--gutter); }
html:not(.is-desktop) .models__track::-webkit-scrollbar { display: none; }
html:not(.is-desktop) .model-card { scroll-snap-align: start; width: 84vw; height: auto; min-height: 520px; }
html:not(.is-desktop) .models__end { width: 70vw; }
html:not(.is-desktop) .models__dots { display: flex; justify-content: center; gap: 8px; padding: 26px 0 0; }
.models__dots button { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .4s var(--ease), background .4s; }
.models__dots button.on { width: 28px; background: #fff; }

/* ---------- Configuratore 3D ---------- */
.cfg { background: #e4e4e2; color: var(--ink); }
.cfg__hero { background: #16191d; color: var(--fg); padding: clamp(110px, 12vw, 170px) 0 clamp(50px, 6vw, 80px); }
.cfg__hero .h2 { margin-bottom: 16px; text-transform: none; font-size: clamp(44px, 6vw, 88px); }
.cfg__sub { margin: 0; max-width: 560px; color: var(--fg-dim); }
.cfg__body { padding: 34px 0 40px; }
.cfg__models { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 28px; }
.cfg-model { background: #fff; border-radius: 10px; padding: 14px 14px 12px; text-align: left; display: grid; gap: 4px; border: 1.5px solid transparent; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.cfg-model:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0,0,0,.08); }
.cfg-model.on { border-color: var(--ink); }
.cfg-model img { width: 100%; height: 56px; object-fit: contain; margin-bottom: 6px; }
.cfg-model b { font-family: var(--f-head); font-size: 17px; }
.cfg-model span { font-size: 12px; color: rgba(10,12,15,.55); }
.cfg__app { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.cfg__title { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.cfg__title h3 { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3vw, 44px); }
.cfg__title p { margin: 0; font-weight: 500; color: rgba(10,12,15,.6); }
.cfg__stage { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(#9cc2e4, #0f3a5a); }
.cfg__stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; opacity: 0; transition: opacity 1s var(--ease); }
.cfg__stage.ready canvas { opacity: 1; }
.cfg__stage canvas:active { cursor: grabbing; }
.cfg__loading { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; transition: opacity .6s; }
.cfg__loading span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cfg__stage.ready .cfg__loading, .cfg__stage.no-3d .cfg__loading { opacity: 0; pointer-events: none; }
.cfg__fallback { display: none; position: absolute; inset: 0; place-content: center; padding: 30px; text-align: center; color: #fff; }
.cfg__stage.no-3d .cfg__fallback { display: grid; }
.cfg__hint { position: absolute; left: 16px; bottom: 12px; margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.4); pointer-events: none; }
.cfg__full { position: absolute; right: 12px; top: 12px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.85); color: var(--ink); display: grid; place-items: center; backdrop-filter: blur(8px); }
.cfg__full svg { width: 18px; height: 18px; }
.cfg__views { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 10px; }
.cfg-view { position: relative; border-radius: 6px; overflow: hidden; background: #cfd6dc; border: 2px solid transparent; transition: border-color .3s; }
.cfg-view.on { border-color: var(--ink); }
.cfg-view canvas { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.cfg-view span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.55)); text-align: left; }
.cfg__panel { display: grid; gap: 10px; max-height: calc(100vh - 120px); overflow-y: auto; position: sticky; top: 90px; padding-right: 4px; scrollbar-width: thin; }
.cfg-sec { background: #fff; border-radius: 10px; }
.cfg-sec__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 18px; text-align: left; }
.cfg-sec__head b { display: block; font-family: var(--f-head); font-size: 21px; font-weight: 700; }
.cfg-sec__val { display: block; margin-top: 3px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(10,12,15,.8); }
.cfg-sec__head i { width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .4s var(--ease); margin-right: 4px; }
.cfg-sec.open .cfg-sec__head i { transform: rotate(-135deg); }
.cfg-sec__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.cfg-sec.open .cfg-sec__body { grid-template-rows: 1fr; }
.cfg-grid { overflow: hidden; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 12px; padding: 0 18px; }
.cfg-sec.open .cfg-grid { padding-bottom: 18px; }
.cfg-sw { display: grid; gap: 6px; text-align: left; }
.cfg-sw__chip { display: block; height: 46px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .25s, transform .3s var(--ease); }
.cfg-grid--finish .cfg-sw__chip { height: 60px; }
.cfg-sw:hover .cfg-sw__chip { transform: scale(1.03); }
.cfg-sw.on .cfg-sw__chip { outline-color: var(--ink); }
.cfg-sw__name { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(10,12,15,.75); }
.cfg__bar { position: sticky; bottom: 14px; z-index: 20; margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 8px; background: #16191d; color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.cfg__bar p { margin: 0; font-size: 14px; color: rgba(255,255,255,.8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg__bar p b { color: #fff; }
.cfg__bar-actions { display: flex; gap: 8px; flex: none; }
.cfg-btn { height: 40px; padding: 0 18px; border-radius: 5px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; transition: background .3s, color .3s; }
.cfg-btn:hover { background: var(--blue); color: #fff; }
.cfg-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.7); }
.cfg-btn--ghost:hover { background: #fff; color: var(--ink); }
.cfg--full .cfg__stage { position: fixed; inset: 0; z-index: 300; border-radius: 0; aspect-ratio: auto; }
@media (max-width: 1100px) {
  .cfg__app { grid-template-columns: minmax(0, 1fr); }
  .cfg__main { min-width: 0; }
  .cfg__panel { position: static; max-height: none; overflow: visible; }
  .cfg__models { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 2px var(--gutter); }
  .cfg__views { grid-template-columns: repeat(7, 118px); overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 760px) {
  .cfg__main { position: sticky; top: 0; z-index: 6; background: #e4e4e2; padding: 10px 0 8px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .cfg__title { margin-bottom: 6px; gap: 10px; }
  .cfg__title h3 { font-size: 24px; }
  .cfg__title p { font-size: 12px; }
  .cfg__stage { aspect-ratio: 16 / 11; }
  .cfg__views { grid-template-columns: repeat(7, 96px); gap: 6px; margin-top: 6px; }
  .cfg-view span { font-size: 9px; padding-top: 10px; }
  .cfg__hint { font-size: 9px; }
  .cfg-sec__head b { font-size: 18px; }
  .cfg__bar { flex-direction: column; align-items: stretch; bottom: 8px; padding: 12px; gap: 10px; }
  .cfg__bar-actions { display: grid; grid-template-columns: 1fr 1fr 1.2fr; }
  .cfg-btn { padding: 0 8px; font-size: 12px; }
  .cfg__bar p { font-size: 12px; }
}

/* ---------- Marquee ---------- */
.marquee { padding: clamp(70px, 10vw, 140px) 0; overflow: hidden; background: var(--ink); }
.marquee__row { display: flex; white-space: nowrap; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; font-size: clamp(56px, 10vw, 170px); line-height: 1.05; will-change: transform; }
.marquee__row span { padding-right: .3em; }
.marquee__row--outline { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); font-weight: 700; }

/* ---------- Artigiani ---------- */
.craft { padding: clamp(40px, 6vw, 90px) 0 clamp(110px, 14vw, 190px); background: var(--ink); }
.craft__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 120px); align-items: end; border-top: 1px solid var(--line); padding-top: clamp(50px, 6vw, 90px); }
.craft__head .h2 { margin: 0; font-size: clamp(48px, 7vw, 112px); }
.craft__text { display: grid; gap: 22px; }
.craft__text p { margin: 0; color: var(--fg-dim); max-width: 620px; }
.craft__text .craft__lead { font-family: var(--f-head); font-weight: 300; font-size: clamp(22px, 2.1vw, 32px); line-height: 1.3; color: var(--fg); }

/* ---------- Numeri ---------- */
.stats { padding: clamp(80px, 10vw, 140px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { border-top: 1px solid rgba(10,12,15,.15); padding-top: 28px; }
.stat b { display: block; font-family: var(--f-head); font-weight: 300; font-size: clamp(56px, 7vw, 110px); line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; }
.stat span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: rgba(10,12,15,.6); }

/* ---------- Zoom immersivo ---------- */
.zoom { position: relative; height: 260vh; background: var(--paper); }
.zoom__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom__frame { position: absolute; left: 50%; top: calc(50% + (1 - var(--z, 0)) * 7vh); width: calc(34vw + var(--z, 0) * 66vw); height: calc(44vh + var(--z, 0) * 56vh);
  transform: translate(-50%, -50%); border-radius: calc(var(--radius) * (1 - var(--z, 0))); overflow: hidden; will-change: width, height; }
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.3 - var(--z, 0) * .3)); }
.zoom__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.8), rgba(10,12,15,.1) 70%); opacity: var(--z, 0); }
.zoom__intro { position: absolute; top: calc(var(--header-h) + 3vh); left: 0; right: 0; text-align: center; color: var(--ink); opacity: calc(1 - var(--z, 0) * 2.2); transform: translateY(calc(var(--z, 0) * -60px)); z-index: 1; padding: 0 var(--gutter); }
.zoom__intro .h2 { margin: 0; font-size: clamp(30px, 4.4vw, 64px); }
.zoom__intro .eyebrow { color: rgba(10,12,15,.5); }
.zoom__text { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter); max-width: 1440px; opacity: var(--zt, 0); transform: translateY(calc((1 - var(--zt, 0)) * 60px)); }
.zoom__text p:not(.eyebrow) { max-width: 420px; color: var(--fg-dim); }
.zoom__text .eyebrow { color: rgba(255,255,255,.7); }

/* ---------- Galleria (scorrimento continuo) ---------- */
.gallery { padding: clamp(110px, 14vw, 200px) 0 clamp(90px, 10vw, 150px); background: var(--ink); overflow: hidden; }
.gallery__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: clamp(30px, 4vw, 60px); }
.gallery__head .h2 { margin: 0; }
.gallery__hint { margin: 0 0 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-mute); }
.gallery__hint b { color: #fff; font-weight: 500; }
.gallery__rows { display: grid; gap: 14px; }
.gallery__row { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.gallery__row.is-drag { cursor: grabbing; }
.gallery__track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.gi { position: relative; flex: none; height: clamp(220px, 30vw, 440px); margin: 0; border-radius: 10px; overflow: hidden; background: var(--ink-3);
  opacity: 0; transform: translateY(40px) scale(.96); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.gallery__rows.in .gi { opacity: 1; transform: none; }
.gallery__row:nth-child(2) .gi { height: clamp(180px, 24vw, 350px); }
.gi img { height: 100%; width: auto; max-width: none; pointer-events: none; transition: transform 1.2s var(--ease), filter .8s var(--ease); }
.gi:hover img { transform: scale(1.06); }
.gallery__row:hover .gi:not(:hover) img { filter: brightness(.55) saturate(.8); }
.gi figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 11px; letter-spacing: .25em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--ease); }
.gi::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); opacity: 0; transition: opacity .5s; }
.gi:hover figcaption, .gi:hover::after { opacity: 1; transform: none; }
.is-touch .gi figcaption, .is-touch .gi::after { opacity: 1; transform: none; }

/* ---------- Sede / mappa ---------- */
.location { padding: clamp(80px, 10vw, 140px) 0; background: var(--ink-2); }
.location__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.location address { font-size: 19px; line-height: 1.7; margin-bottom: 34px; color: var(--fg-dim); }
.location address strong { color: #fff; font-weight: 500; }
.contact-list { list-style: none; padding: 0; margin: 0 0 40px; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg-mute); align-self: center; }
.contact-list a { font-size: 18px; transition: color .3s; word-break: break-all; text-align: right; }
.contact-list a:hover { color: var(--blue); }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; background: #12161b; border: 1px solid var(--line); }
.map__preview { position: absolute; inset: 0; cursor: pointer; z-index: 2; transition: opacity .8s var(--ease), transform 1s var(--ease); }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__road { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 3; stroke-dasharray: 1400; stroke-dashoffset: 1400; transition: stroke-dashoffset 2.6s var(--ease); }
.map__road--thin { stroke-width: 1.5; stroke: rgba(255,255,255,.12); }
.map.in .map__road { stroke-dashoffset: 0; }
.map__label { fill: rgba(255,255,255,.35); font-family: var(--f-body); font-size: 14px; letter-spacing: 3px; text-transform: uppercase; }
.map__sea { opacity: .9; }
.map__pin { position: absolute; left: 50%; top: 50%; width: 0; height: 0; }
.map__dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(61,127,193,.25); }
.map__pulse { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(7); opacity: 0; } }
.map__card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 26px)); display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.4); white-space: nowrap; }
.map__card img { width: 40px; height: 40px; border-radius: 8px; background: var(--ink); padding: 4px; }
.map__card b { display: block; font-family: var(--f-head); font-size: 15px; }
.map__card small { font-size: 13px; color: rgba(10,12,15,.6); }
.map__card::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; margin-left: -7px; background: rgba(255,255,255,.96); transform: rotate(45deg); }
.map__cta { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; }
.map__preview:hover .map__cta { background: #fff; color: var(--ink); }
.map__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map__close { position: absolute; top: 14px; right: 14px; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .4s; background: rgba(10,12,15,.8); }
.map.is-open .map__preview { opacity: 0; transform: scale(1.08); pointer-events: none; }
.map.is-open .map__close { opacity: 1; pointer-events: auto; }
.map__ext { position: absolute; left: 14px; top: 14px; z-index: 3; opacity: 0; pointer-events: none; transition: opacity .4s; background: rgba(10,12,15,.8); }
.map.is-open .map__ext { opacity: 1; pointer-events: auto; }

/* ---------- CTA ---------- */
.cta { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.cta__bg { position: absolute; inset: -10% 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,12,15,.85), rgba(10,12,15,.25)); }
.cta__content { position: relative; z-index: 1; }
.cta__content p { color: var(--fg-dim); font-size: 19px; max-width: 480px; margin: 0 0 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); padding: clamp(70px, 8vw, 110px) 0 30px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 150px; height: auto; margin-bottom: 20px; }
.footer p { color: var(--fg-dim); font-size: 15px; margin: 0; }
.footer p.eyebrow { font-size: 12px; color: var(--fg-mute); margin-bottom: 18px; }
.footer a:hover { color: #fff; }
.footer__models a { display: block; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--fg-mute); }
.footer__flag { gap: 0; }
.footer__flag i { width: 12px; }
.footer__flag i:last-child { margin-right: 10px; }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; pointer-events: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,7,9,.7); backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s; }
.modal__panel { position: relative; width: min(1180px, 100%); max-height: calc(100svh - 40px); overflow: auto; background: var(--paper); color: var(--ink); border-radius: var(--radius);
  display: grid; grid-template-columns: 1.1fr 1fr; transform: translateY(60px) scale(.96); opacity: 0; transition: transform .8s var(--ease), opacity .5s; }
.modal.is-open { visibility: visible; pointer-events: auto; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__media { min-height: 320px; background: var(--ink); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: clamp(28px, 4vw, 56px); }
.modal__body .h2 { font-size: clamp(34px, 4vw, 60px); margin-bottom: 18px; }
.modal .eyebrow { color: rgba(10,12,15,.5); }
.modal__body > p:not(.eyebrow) { color: rgba(10,12,15,.7); margin: 0 0 26px; }
.modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); font-size: 26px; line-height: 1; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 0 0 32px; }
.specs div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(10,12,15,.1); font-size: 15px; }
.specs dt { color: rgba(10,12,15,.55); }
.specs dd { margin: 0; font-weight: 500; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(5,7,9,.96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 4px; transform: scale(.94); transition: transform .7s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__close { position: absolute; top: 18px; right: 22px; font-size: 40px; line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 54px; padding: 20px; opacity: .7; }
.lightbox__nav:hover { opacity: 1; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__cap { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-dim); }

/* =========================================================
   Pagine interne
   ========================================================= */
.page { background: var(--ink); }
.page main { opacity: 0; transition: opacity .8s var(--ease); }
.is-ready .page main, .page.is-ready main { opacity: 1; }
html.is-ready body.page main { opacity: 1; }
.tag-new { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 99px; background: #fff; color: var(--ink); font-style: normal; font-family: var(--f-head); font-weight: 700; font-size: 10px; letter-spacing: .18em; vertical-align: middle; }
.phero { padding: calc(var(--header-h) + clamp(70px, 9vw, 130px)) 0 clamp(50px, 6vw, 90px); background: radial-gradient(ellipse at 80% 0%, #1b2a38 0%, var(--ink) 60%); }
.phero__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(46px, 7.6vw, 124px); line-height: .96; letter-spacing: -.015em; margin: 0 0 28px; }
.phero__sub { max-width: 560px; margin: 0; color: var(--fg-dim); font-size: 18px; }
.phero__jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.phero__jump a { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 20px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; letter-spacing: .06em; transition: background .4s, color .4s, border-color .4s; }
.phero__jump a span { font-family: var(--f-head); font-size: 12px; color: var(--fg-mute); }
.phero__jump a:hover { background: #fff; color: var(--ink); border-color: #fff; }

section.line { padding: clamp(50px, 6vw, 90px) 0; scroll-margin-top: 60px; }
.line__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; padding-bottom: 26px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.line__title { margin: 0; font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 64px); }
.line__head p { margin: 0; max-width: 440px; color: var(--fg-dim); }
.line__list { display: grid; gap: 22px; }

.vcard { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 30px; padding: clamp(28px, 3.4vw, 54px);
  border-radius: var(--radius); overflow: hidden; isolation: isolate; cursor: pointer; scroll-margin-top: 90px;
  background: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%); border: 1px solid rgba(255,255,255,.07);
  opacity: 0; transform: translateY(60px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), border-color .5s; transition-delay: var(--d, 0ms); }
.vcard.in { opacity: 1; transform: none; }
.vcard:hover { border-color: rgba(255,255,255,.2); }
.vcard__num { position: absolute; right: 2%; top: 50%; transform: translateY(-55%); z-index: -1; font-family: var(--f-head); font-weight: 800; font-size: clamp(180px, 26vw, 400px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.09); letter-spacing: -.04em; transition: -webkit-text-stroke-color .6s; }
.vcard:hover .vcard__num { -webkit-text-stroke-color: rgba(255,255,255,.22); }
.vcard__line { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--fg-mute); }
.vcard__name { font-family: var(--f-head); font-weight: 700; font-size: clamp(38px, 4.6vw, 70px); text-transform: uppercase; line-height: 1; margin: 12px 0 16px; }
.vcard__desc { margin: 0 0 24px; color: var(--fg-dim); max-width: 460px; font-size: 16px; }
.vcard__specs { display: flex; flex-wrap: wrap; gap: 14px clamp(20px, 3vw, 44px); margin-bottom: 28px; }
.vcard__specs div { display: grid; gap: 2px; }
.vcard__specs b { font-family: var(--f-head); font-weight: 500; font-size: clamp(20px, 2vw, 28px); }
.vcard__specs span { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); }
.vcard__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vcard__boat { transform: translateX(calc(8% + var(--vp, 0) * 10%)); opacity: 0; transition: opacity 1.2s .2s var(--ease); }
.vcard.in .vcard__boat { opacity: 1; }
.vcard__boat img { width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); transition: transform 1.2s var(--ease); }
.vcard:hover .vcard__boat img { transform: scale(1.04) translateX(-2%); }
.vcard__cat { position: absolute; top: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-content: center; text-align: center; font-family: var(--f-head); font-size: 14px; line-height: 1.1; }
.vcard__cat small { display: block; font-size: 8px; letter-spacing: .15em; color: var(--fg-mute); }

.pcta { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 10vw, 150px); }
.pcta__inner { display: grid; justify-items: center; text-align: center; }

.picker { padding: 0 0 clamp(90px, 10vw, 150px); }
.picker__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pick { position: relative; display: grid; gap: 6px; padding: 28px 26px 24px; min-height: 330px; align-content: start; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%); border: 1px solid rgba(255,255,255,.07); transition: border-color .5s, transform .6s var(--ease); }
.pick:hover { border-color: rgba(255,255,255,.3); transform: translateY(-4px); }
.pick__num { position: absolute; right: -2%; bottom: -8%; z-index: -1; font-family: var(--f-head); font-weight: 800; font-size: 200px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); }
.pick__line { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--fg-mute); }
.pick__name { font-family: var(--f-head); font-weight: 700; font-size: 34px; text-transform: uppercase; }
.pick img { width: 100%; height: 120px; object-fit: contain; margin: 18px 0 10px; filter: drop-shadow(0 18px 18px rgba(0,0,0,.5)); transition: transform 1s var(--ease); }
.pick:hover img { transform: translateX(-3%) scale(1.04); }
.pick__meta { font-size: 13px; color: var(--fg-dim); }
.pick__go { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.pick__go svg { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.pick:hover .pick__go svg { transform: translateX(6px); }

.modal__media--card { position: relative; display: grid; place-items: center; min-height: 360px; overflow: hidden; background: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%); }
.modal__media--card img { position: relative; width: 94%; height: auto; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(0,0,0,.55)); transform: translateX(10%); opacity: 0; transition: transform 1.2s .15s var(--ease), opacity 1s .15s; }
.modal.is-open .modal__media--card img { transform: none; opacity: 1; }
.modal__num { position: absolute; right: 4%; top: 50%; transform: translateY(-55%); font-family: var(--f-head); font-weight: 800; font-size: clamp(160px, 20vw, 320px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); }
.modal .tag-new { background: var(--ink); color: #fff; }
.phero { position: relative; overflow: hidden; }
.phero .wrap { position: relative; z-index: 2; }
.phero__boat { position: absolute; right: -5%; bottom: 3%; width: min(44vw, 780px); z-index: 1; opacity: 0; transform: translateX(8%); animation: pheroBoat 1.6s .3s var(--ease) forwards; filter: drop-shadow(0 40px 40px rgba(0,0,0,.5)); pointer-events: none; }
@keyframes pheroBoat { to { opacity: 1; transform: none; } }
@media (max-width: 1024px) { .phero__boat { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 30px; } }
.specs dd.tbd { color: rgba(10,12,15,.45); font-style: italic; font-weight: 400; }

.cfg__hero--compact { padding: calc(var(--header-h) + clamp(40px, 5vw, 70px)) 0 clamp(34px, 4vw, 56px); }
.cfg__hero--compact .h2 { font-size: clamp(36px, 4.6vw, 66px); }
.crumbs { margin: 0 0 18px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-mute); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; }
.cfg__change { margin-left: auto; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; color: rgba(10,12,15,.7); }
.cfg__change:hover { color: var(--ink); }
@media (max-width: 1024px) {
  .vcard { grid-template-columns: 1fr; }
  .vcard__boat { order: -1; transform: translateX(calc(4% + var(--vp, 0) * 6%)); }
  .picker__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .line__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .vcard { padding: 24px 20px 26px; gap: 14px; }
  .vcard__num { font-size: 58vw; top: 30%; }
  .vcard__cat { width: 46px; height: 46px; font-size: 12px; }
  .vcard__actions .btn { flex: 1 1 auto; }
  .picker__grid { grid-template-columns: 1fr; }
  .pick { min-height: 0; }
  .menu__links a { grid-template-columns: 34px 1fr auto; font-size: clamp(28px, 8.6vw, 40px); gap: 10px; }
  .menu__foot { flex-direction: column; gap: 6px; }
  .collect__btn { padding: 20px 18px 20px 22px; column-gap: 16px; }
  .collect__btn-arrow { width: 48px; height: 48px; }
  .cfg__change { margin-left: 0; }
}

/* =========================================================
   Animazioni allo scroll
   ========================================================= */
.js [data-anim="fade-up"] { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-anim="fade-up"].in { opacity: 1; transform: none; }
.js [data-anim="clip"] { clip-path: inset(100% 0 0 0 round 6px); transition: clip-path 1.4s var(--ease-in-out); transition-delay: var(--d, 0ms); }
.js [data-anim="clip"].in { clip-path: inset(0 0 0 0 round 6px); }
.js .map[data-anim="clip"].in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-anim="zoom"] { clip-path: inset(12% 12% 12% 12% round 6px); opacity: 0; transition: clip-path 1.4s var(--ease), opacity 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-anim="zoom"] img { transform: scale(1.35); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-anim="zoom"].in { clip-path: inset(0 0 0 0 round 6px); opacity: 1; }
.js [data-anim="zoom"].in img { transform: none; }
.js [data-anim="zoom"].in:hover img { transform: scale(1.06); transition-delay: 0ms; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; transform: translateY(105%) rotate(3deg); transform-origin: left top; transition: transform 1.2s var(--ease); }
[data-anim="split"].in .split-line > span { transform: none; }
[data-anim="split"].in .split-line:nth-child(2) > span { transition-delay: .1s; }
[data-anim="split"].in .split-line:nth-child(3) > span { transition-delay: .2s; }
.model-card { opacity: 1; }
.js .model-card.pre { opacity: 0; transform: translateY(80px); }
.js .model-card.in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .menu__links { align-self: start; }
  .models__intro { grid-template-columns: 1fr; }
  .models__lead { margin: 0; }
  .craft__inner, .location__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; --radius: 14px; }
  body { font-size: 16px; }
  .header__menu-label { display: none; }
  .header__logo img { width: 72px; }
  .header.is-scrolled .header__logo img { width: 62px; }
  .header__cta { height: 38px; padding: 0 16px; font-size: 13px; }
  .hero__content { bottom: 96px; }
  .hero__title { font-size: clamp(40px, 12.5vw, 72px); }
  .hero .btn { flex: 1 1 auto; }
  .btn { min-height: 50px; padding: 0 22px; font-size: 12px; }
  .about__pillars { grid-template-columns: 1fr; gap: 34px; }
  .about__top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .about__sea { height: 200px; }
  .about__boat { width: 110vw; }
  .about__lead { margin: 0; }
  .gallery__head { flex-direction: column; align-items: flex-start; }
  .design3d { height: 100vh; height: 100svh; }
  .design3d__head { top: calc(var(--header-h) + 20px); }
  .design3d__callouts { left: var(--gutter); right: auto; bottom: 9vh; width: 240px; height: 130px; }
  .callout b { font-size: 60px; }
  .design3d__steps { left: auto; right: var(--gutter); bottom: 9vh; }
  .model-card__specs { gap: 16px; }
  .model-card__specs div:nth-child(3) { display: none; }
  .model-card { min-height: 480px; }
  .model-card__num { font-size: 58vw; }
  .arrow-btn { width: 48px; height: 48px; }
  .zoom { height: 220vh; }
  .zoom__frame { width: calc(70vw + var(--z, 0) * 30vw); height: calc(40vh + var(--z, 0) * 60vh); }
  .gi { height: 58vw; }
  .gallery__row:nth-child(2) .gi { height: 46vw; }
  .gallery__rows, .gallery__track { gap: 8px; }
  .contact-list li { flex-direction: column; gap: 4px; }
  .contact-list span { align-self: flex-start; }
  .model-card__name { font-size: 32px; }
  .contact-list a { text-align: left; }
  .map { aspect-ratio: 4 / 4.4; }
  .map__card { padding: 8px 14px 8px 8px; }
  .map__card img { width: 32px; height: 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .specs { grid-template-columns: 1fr; }
  .lightbox__nav { font-size: 40px; padding: 10px; }
}

/* Modalità calma (solo con ?calm): animazioni più brevi, contenuti sempre visibili */
.reduced-motion *, .reduced-motion *::before, .reduced-motion *::after { animation-duration: .3s !important; transition-duration: .3s !important; }

/* Righe dei titoli animati: interlinea fissa anche quando il font reale ha metriche ampie */
.hero__title .line, .reveal-line, .split-line { line-height: inherit; }
.hero__title .line > span, .reveal-line > span, .split-line > span { vertical-align: top; line-height: inherit; }
.hero__title { line-height: .94; }

/* =========================================================
   TEMA UNICO — stessi colori delle card della collezione ovunque (niente fondi bianchi)
   ========================================================= */
:root {
  --card-bg: radial-gradient(ellipse at 70% 30%, #1d2833 0%, #12171d 55%, #0d1014 100%);
  --surface: #141a20;
  --surface-2: #1b232b;
  --edge: rgba(255, 255, 255, .08);
  --edge-strong: rgba(255, 255, 255, .22);
  --sky: #9cc3ea;
}
.light { background: var(--card-bg); color: var(--fg); }
.light .eyebrow { color: var(--fg-mute); }

/* Numeri */
.stats { background: var(--card-bg); color: var(--fg); }
.stat { border-top-color: var(--edge-strong); }
.stat span { color: var(--fg-mute); }

/* Ogni particolare conta */
.zoom { background: var(--card-bg); }
.zoom__intro { color: var(--fg); }
.zoom__intro .eyebrow { color: var(--fg-mute); }

/* Scheda tecnica */
.modal__panel { background: var(--surface); color: var(--fg); border: 1px solid var(--edge); }
.modal .eyebrow { color: var(--fg-mute); }
.modal__body > p:not(.eyebrow) { color: var(--fg-dim); }
.modal__close { background: rgba(255,255,255,.08); color: var(--fg); border: 1px solid var(--edge-strong); }
.modal__close:hover { background: #fff; color: var(--ink); }
.specs div { border-bottom-color: var(--edge); }
.specs dt { color: var(--fg-mute); }
.specs dd.tbd { color: var(--fg-mute); }
.modal .tag-new { background: #fff; color: var(--ink); }
.modal .btn--dark { background: #fff; color: var(--ink); }
.modal .btn--dark::after { background: var(--blue); }
.modal .btn--dark:hover { color: #fff; }
.modal .btn--outline-dark { border-color: rgba(255,255,255,.45); color: #fff; }
.modal .btn--outline-dark::after { background: #fff; }
.modal .btn--outline-dark:hover { color: var(--ink); }

/* Mappa */
.map__card { background: rgba(20,26,32,.92); color: var(--fg); border: 1px solid var(--edge-strong); backdrop-filter: blur(10px); }
.map__card::after { background: rgba(20,26,32,.92); border-right: 1px solid var(--edge-strong); border-bottom: 1px solid var(--edge-strong); }
.map__card small { color: var(--fg-mute); }

/* Configuratore */
.cfg { background: var(--ink); color: var(--fg); }
.cfg__hero, .cfg__hero--compact { background: radial-gradient(ellipse at 80% 0%, #1b2a38 0%, var(--ink) 60%); }
.cfg__title p { color: var(--fg-dim); }
.cfg__change { color: var(--fg-dim); }
.cfg__change:hover { color: #fff; }
.cfg-model { background: var(--card-bg); border-color: var(--edge); color: var(--fg); }
.cfg-model.on { border-color: #fff; }
.cfg-model span { color: var(--fg-mute); }
.cfg__stage { border: 1px solid var(--edge); background: var(--card-bg); }
.cfg__full { background: rgba(20,26,32,.8); color: #fff; border: 1px solid var(--edge-strong); }
.cfg-view { background: var(--surface-2); border-color: var(--edge); }
.cfg-view.on { border-color: #fff; }
.cfg-sec { background: var(--card-bg); border: 1px solid var(--edge); color: var(--fg); transition: border-color .4s; }
.cfg-sec.open { border-color: var(--edge-strong); }
.cfg-sec__val { color: var(--sky); }
.cfg-sec__head i { border-color: var(--fg); }
.cfg-sw__chip { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.cfg-sw.on .cfg-sw__chip { outline-color: #fff; }
.cfg-sw__name { color: var(--fg-dim); }
.cfg-sw.on .cfg-sw__name { color: #fff; }
.cfg__bar { background: rgba(20,26,32,.9); border: 1px solid var(--edge-strong); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.cfg__panel { scrollbar-color: rgba(255,255,255,.2) transparent; }
@media (max-width: 760px) { .cfg__main { background: var(--ink); } }

/* Telefono e tablet: la barra "Copia link / Scarica immagine / Invia richiesta" non resta sopra il 3D,
   compare solo in fondo, dopo tutte le opzioni */
@media (max-width: 1100px) {
  .cfg__bar { position: static; margin-top: 26px; box-shadow: none; }
}

/* giro automatico del Design 3D: pagina ferma per 7 secondi */
html.is-tour, html.is-tour body { overscroll-behavior: none; }

/* campioni dei tubolari con trama (stesso fornitore di tessuti di Joker Boat) */
.cfg-sw__chip--carbon { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.14) 0 3px, rgba(0,0,0,.18) 3px 6px), repeating-linear-gradient(-45deg, rgba(0,0,0,.12) 0 3px, transparent 3px 6px) !important; }
.cfg-sw__chip--fabric { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.12) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 1px, transparent 1px 3px) !important; }
.cfg-sw__chip--perlage { background-image: radial-gradient(circle, rgba(255,255,255,.28) 1.2px, transparent 1.7px) !important; background-size: 6px 6px !important; }


/* ============ Mappa della rete (concessionari e noleggiatori) ============ */
.netmap { --nm-dealer: #ffc629; --nm-rent: #ffffff; --nm-hq: var(--blue); background: radial-gradient(120% 90% at 60% 40%, #0f2438 0%, #0a1826 55%, #081320 100%); user-select: none; -webkit-user-select: none; }
.netmap__stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-y pinch-zoom; }
.netmap.is-drag .netmap__stage { cursor: grabbing; }
.netmap__svg { position: absolute; left: 0; top: 0; display: block; }
.nm-land { fill: #1a232d; fill-rule: evenodd; stroke: none; }
.nm-coast { fill: none; stroke: rgba(126, 178, 228, .42); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.nm-border { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.netmap__layer { position: absolute; inset: 0; pointer-events: none; }
.nm-label { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--f-body); font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .26); pointer-events: none; }
.nm-label--sea { font-style: italic; letter-spacing: .22em; color: rgba(126, 178, 228, .38); text-transform: none; font-size: 12px; }
.nm-pin { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: auto; color: var(--nm-rent); z-index: 1; }
.nm-pin--dealer { color: var(--nm-dealer); }
.nm-pin:hover, .nm-pin:focus-visible { z-index: 3; outline: none; }
.nm-pin__badge { position: absolute; left: -19px; top: -46px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 14, 20, .94); border: 1.5px solid currentColor; box-shadow: 0 8px 18px rgba(0, 0, 0, .45); transition: transform .35s var(--ease), background .25s, color .25s; transform-origin: 50% 130%; }
.nm-pin__badge::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 9px; height: 9px; margin-left: -4.5px; background: inherit; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nm-b { width: 21px; height: auto; display: block; overflow: visible; }
.nm-b path { fill: none; stroke: currentColor; stroke-width: 9; stroke-linejoin: miter; }
.nm-pin:hover .nm-pin__badge, .nm-pin:focus-visible .nm-pin__badge { transform: scale(1.14); background: currentColor; }
.nm-pin:hover .nm-b path, .nm-pin:focus-visible .nm-b path { stroke: #0a0f15; }
.nm-hq { position: absolute; left: 0; top: 0; }
.nm-hq__dot { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--nm-hq); border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(61, 127, 193, .25); transition: transform .3s var(--ease); }
.nm-hq__pulse { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--nm-hq); animation: pulse 2.4s var(--ease) infinite; }
.nm-pin--hq:hover .nm-hq__dot { transform: scale(1.25); }
.netmap__tip { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; padding: 8px 14px; border-radius: 10px; background: rgba(20, 26, 32, .94); border: 1px solid rgba(255, 255, 255, .16); color: var(--fg); font-family: var(--f-head); font-size: 14px; white-space: nowrap; box-shadow: 0 14px 30px rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s; backdrop-filter: blur(8px); }
.netmap.tip-on .netmap__tip { opacity: 1; }
.netmap__head { position: absolute; left: 14px; top: 14px; z-index: 5; pointer-events: none; }
.netmap__title { display: inline-block; padding: 8px 14px; border-radius: 999px; background: rgba(10, 12, 15, .72); border: 1px solid var(--line); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg); backdrop-filter: blur(8px); }
.netmap__ctrl { position: absolute; right: 14px; top: 14px; z-index: 5; display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: rgba(10, 12, 15, .78); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.netmap__ctrl button { width: 40px; height: 40px; display: grid; place-items: center; color: var(--fg); font-size: 22px; line-height: 1; font-weight: 300; transition: background .2s, color .2s; }
.netmap__ctrl button + button { border-top: 1px solid var(--line); }
.netmap__ctrl button:hover { background: #fff; color: var(--ink); }
.netmap__ctrl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.netmap__ctrl .nm-shut, .netmap__ctrl .is-on .nm-open { display: none; }
.netmap__ctrl .is-on .nm-shut { display: inline; }
.netmap__close { position: absolute; right: 68px; top: 14px; z-index: 5; display: none; background: rgba(10, 12, 15, .8); }
.netmap__legend { position: absolute; left: 14px; bottom: 14px; z-index: 5; list-style: none; margin: 0; padding: 10px 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; border-radius: 12px; background: rgba(10, 12, 15, .72); border: 1px solid var(--line); font-size: 12px; color: var(--fg); backdrop-filter: blur(8px); max-width: calc(100% - 28px); }
.netmap__legend li { display: flex; align-items: center; gap: 8px; }
.nm-key { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(9, 14, 20, .94); border: 1.3px solid currentColor; }
.nm-key .nm-b { width: 12px; }
.nm-key--dealer { color: var(--nm-dealer); }
.nm-key--rent { color: var(--nm-rent); }
.nm-key--hq { width: 12px; height: 12px; margin: 5px; background: var(--nm-hq); border: 2px solid #fff; }
.netmap__hint { position: absolute; right: 14px; bottom: 14px; z-index: 5; margin: 0; padding: 7px 12px; border-radius: 999px; background: rgba(10, 12, 15, .72); border: 1px solid var(--line); font-size: 11px; color: var(--fg-mute); opacity: .9; transition: opacity .3s, color .3s; pointer-events: none; }
.netmap.hint-on .netmap__hint { color: #fff; border-color: rgba(255, 255, 255, .5); }
.netmap__holder { width: 100%; }
/* schermo intero */
.netmap.is-full { position: fixed; inset: 0; z-index: 300; width: auto; height: auto; aspect-ratio: auto; border-radius: 0; border: 0; clip-path: none !important; }
.netmap.is-full .netmap__stage { touch-action: none; }
.netmap.is-full .netmap__close { display: inline-flex; }
.netmap.is-full .netmap__hint { display: none; }
.netmap.is-full .netmap__head { top: 18px; left: 18px; }
html.nm-lock, html.nm-lock body { overflow: hidden; }
@media (max-width: 760px) {
  .netmap__legend { font-size: 11px; gap: 6px 12px; padding: 8px 10px; left: 10px; bottom: 10px; }
  .netmap__hint { display: none; }
  .is-touch .netmap:not(.is-full) .netmap__hint { display: block; right: auto; left: 50%; bottom: auto; top: 14px; transform: translateX(-50%); }
  .is-touch .netmap:not(.is-full) .netmap__head { display: none; }
  .netmap__close { right: 64px; }
}
.netmap__lines { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.netmap__lines path { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1; }
.netmap__lines circle { fill: #fff; stroke: rgba(9, 14, 20, .9); stroke-width: 1.5; }
@media (max-width: 560px) {
  .nm-pin__badge { left: -15px; top: -37px; width: 30px; height: 30px; }
  .nm-pin__badge::after { width: 7px; height: 7px; margin-left: -3.5px; bottom: -5px; }
  .nm-pin .nm-b { width: 16px; }
  .netmap__ctrl button { width: 36px; height: 36px; font-size: 20px; }
  .netmap__legend { font-size: 10.5px; }
  .nm-key { width: 18px; height: 18px; }
  .nm-key .nm-b { width: 10px; }
  .nm-label { font-size: 9px; }
  .nm-label--sea { font-size: 10px; }
}
@media (min-width: 761px) { .netmap__hint { right: auto; left: 50%; bottom: auto; top: 20px; transform: translateX(-50%); } .netmap.is-full .netmap__hint { display: none; } }
@media (min-width: 761px) and (max-width: 1100px) { .netmap__hint { display: none; } }
@media (min-width: 761px) { .netmap__hint { left: 14px; top: 60px; transform: none; } }
@media (min-width: 761px) { .netmap__hint { left: auto; right: 14px; top: auto; bottom: 14px; } }
@media (min-width: 761px) and (max-width: 1100px) { .netmap__hint { display: none; } }

/* ============ Home su telefono: scritta "Gommoni artigianali · Made in Italy" sempre intera ============ */
@media (max-width: 760px) {
  .hero__eyebrow { font-size: 11px; letter-spacing: .24em; gap: 10px; align-items: flex-start; margin-bottom: 16px; max-width: 100%; }
  .hero__eyebrow::before { width: 18px; flex: 0 0 auto; margin-top: .55em; }
  .hero__eyebrow.reveal-line { display: flex; }
  .hero__eyebrow > span { white-space: normal; }
  .hero__ebsep { display: none; }
  .hero__eb { display: block; }
  .hero__title { font-size: clamp(34px, min(12.5vw, 7.6vh), 72px); margin-bottom: 26px; }
}
@media (max-width: 760px) and (max-height: 720px) {
  .hero__content { bottom: 80px; }
  .hero .btn { min-height: 46px; }
  .hero .hero__actions { gap: 10px; }
  .hero__foot { bottom: 22px; }
}

/* Loader: barra e percentuale più vicine al logo */
.loader__inner { gap: 0; }
.loader__bar { margin-top: 10px; }
.loader__count { margin-top: 6px; line-height: 1; }

/* Home: testo e pulsanti in alto, vicino a menu, logo e Contatti */
.hero__content { top: calc(var(--header-h) + clamp(18px, 4vh, 48px)); bottom: auto; }
@media (max-width: 760px) { .hero__content { top: calc(var(--header-h) + 18px); bottom: auto; } }
@media (max-width: 760px) and (max-height: 720px) { .hero__content { top: calc(var(--header-h) + 10px); bottom: auto; } }

/* Home: pulsanti in basso, vicino a "Scroll" */
.hero__title { margin-bottom: 0; }
.hero__bottom { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 78px; z-index: 2; opacity: calc(1 - var(--hs, 0) * 3); }
@media (max-width: 760px) {
  .hero__bottom { bottom: 70px; }
  .hero__bottom .hero__actions { gap: 10px; }
}
@media (max-width: 760px) and (max-height: 720px) { .hero__bottom { bottom: 56px; } }

/* ============ Scheda tecnica (pagina scheda-<modello>.html) ============ */
.shero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(34px, 5vw, 80px)) 0 clamp(50px, 6vw, 90px); background: radial-gradient(ellipse at 70% 35%, #1b2a38 0%, var(--ink) 65%); }
.shero__head { position: relative; z-index: 2; }
.shero__head .eyebrow { margin-bottom: 14px; }
.shero__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(46px, 8vw, 132px); line-height: .92; letter-spacing: -.015em; margin: 0; }
.shero__boat { position: relative; margin: clamp(-10px, -1vw, 0px) auto 0; width: min(100%, 1180px); display: grid; place-items: center; }
.shero__boat img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 40px 36px rgba(0, 0, 0, .55)); opacity: 0; transform: translateX(6%); animation: pheroBoat 1.6s .25s var(--ease) forwards; }
.shero__num { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); z-index: 0; font-family: var(--f-head); font-weight: 800; font-size: clamp(170px, 34vw, 520px); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .13); pointer-events: none; user-select: none; }
.shero__foot { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px 60px; margin-top: clamp(10px, 2vw, 30px); }
.shero__desc { margin: 0; max-width: 620px; color: var(--fg-dim); font-size: 17px; line-height: 1.6; }
.sheet { padding: clamp(60px, 8vw, 120px) 0 clamp(60px, 7vw, 110px); background: #0d1014; border-top: 1px solid var(--line); }
.sheet__head { margin-bottom: clamp(34px, 5vw, 64px); }
.sheet__head .h2 { margin: 0; }
.sheet__grid { columns: 2; column-gap: clamp(40px, 6vw, 110px); }
.sheet__group { break-inside: avoid; margin: 0 0 clamp(40px, 5vw, 60px); }
.sheet__gt { display: flex; align-items: baseline; gap: 14px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .38); font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--fg); }
.sheet__gt span { font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.sheet__group dl { margin: 0; }
.sheet__row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; min-height: 56px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sheet__row dt { color: var(--fg-dim); font-size: 15px; line-height: 1.35; }
.sheet__row dt small { color: var(--fg-mute); font-size: 12px; letter-spacing: .04em; }
.sheet__row dd { margin: 0; flex: 0 0 auto; max-width: 55%; text-align: right; font-family: var(--f-head); font-weight: 500; font-size: 17px; color: var(--fg); }
.sheet__row dd:empty { width: 56px; height: 1px; align-self: center; background: rgba(255, 255, 255, .16); }
.snav { border-top: 1px solid var(--line); background: #0d1014; }
.snav__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 30px; padding-bottom: 30px; }
.snav__link { display: inline-flex; align-items: center; gap: 16px; font-family: var(--f-head); font-size: 20px; font-weight: 600; text-transform: uppercase; transition: color .3s; }
.snav__link small { display: block; font-family: var(--f-body); font-size: 11px; font-weight: 500; letter-spacing: .24em; color: var(--fg-mute); margin-bottom: 4px; }
.snav__link svg { width: 26px; height: 26px; flex: 0 0 auto; transition: transform .4s var(--ease); }
.snav__link:hover { color: var(--blue); }
.snav__link:hover svg { transform: translateX(-4px); }
.snav__link--next { justify-self: end; text-align: right; }
.snav__link--next:hover svg { transform: translateX(4px); }
.snav__all { height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; letter-spacing: .08em; transition: background .3s, color .3s; }
.snav__all:hover { background: #fff; color: var(--ink); }
@media (max-width: 900px) {
  .shero__foot { grid-template-columns: 1fr; }
  .sheet__grid { columns: 1; }
}
@media (max-width: 760px) {
  .shero__desc { font-size: 15.5px; }
  .shero .hero__actions .btn { flex: 1 1 auto; }
  .sheet__row { min-height: 52px; padding: 14px 0; gap: 16px; }
  .sheet__row dt { font-size: 14px; }
  .sheet__row dd { font-size: 15.5px; }
  .sheet__gt { font-size: 12.5px; letter-spacing: .18em; }
  .snav__inner { grid-template-columns: 1fr 1fr; }
  .snav__all { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .snav__link { font-size: 15px; gap: 10px; }
  .snav__link small { font-size: 9.5px; letter-spacing: .18em; }
  .snav__link svg { width: 20px; height: 20px; }
}
@media (max-width: 760px) { .shero__boat { width: 114%; margin-left: -7%; margin-top: 8px; } .shero__title { font-size: clamp(42px, 13vw, 72px); } }

/* Dettagli (foto volante): testo al centro, senza "Miami 23" */
.zoom__text { text-align: center; }
.zoom__text p:not(.eyebrow) { margin-left: auto; margin-right: auto; }

/* Configuratore: "Cambia modello" sopra il nome, stesso carattere in grassetto ma piccolo */
.cfg__title .cfg__change { order: -1; flex: 0 0 100%; margin: 0 0 -8px; font-family: var(--f-head); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.cfg__title .cfg__change::before { content: "\2190\00a0"; }
.cfg__title .cfg__change:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Numeri: tre voci al centro */
.stats__grid { grid-template-columns: repeat(3, 1fr); text-align: center; }
@media (max-width: 760px) { .stats__grid { grid-template-columns: 1fr; gap: 34px; } }
/* Mappa su telefono: primo tocco = nome + "Visitare il sito?" */
.netmap.tip-armed .netmap__tip { pointer-events: auto; text-align: center; padding: 10px 16px 12px; }
.netmap__tip b { display: block; font-weight: 600; }
.nm-ask { display: inline-block; margin-top: 6px; padding: 6px 12px; border-radius: 99px; background: #fff; color: var(--ink); font-family: var(--f-body); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.netmap.tip-armed .netmap__tip { z-index: 7; }
.netmap__tip { max-width: calc(100% - 16px); white-space: normal; }
.nm-pin { cursor: pointer; } .nm-pin:focus-visible .nm-pin__badge { outline: 2px solid currentColor; outline-offset: 3px; }

/* Home: scritta a sinistra, subito sopra i pulsanti (in basso, vicino a "Scroll") */
.hero__bottom .hero__content { position: static; left: auto; right: auto; top: auto; bottom: auto; transform: none; opacity: 1; margin: 0 0 clamp(22px, 3vh, 32px); }
@media (max-width: 760px) { .hero__bottom .hero__content { margin-bottom: 20px; } }
/* Home: blocco (scritta + pulsanti) al centro tra la barra in alto e "Scroll", con lo stesso spazio sopra e sotto */
.hero__bottom { top: var(--header-h); bottom: 70px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 760px) { .hero__bottom { top: var(--header-h); bottom: 64px; } }
@media (max-width: 760px) and (max-height: 720px) { .hero__bottom { bottom: 56px; } }

/* ============ Richiedi informazioni: scelta WhatsApp / Email ============ */
.ask { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + clamp(30px, 5vw, 70px)) 0 clamp(60px, 8vw, 110px); background: radial-gradient(ellipse at 75% 20%, #1b2a38 0%, var(--ink) 62%); }
.ask__wrap { width: 100%; max-width: 980px; }
.ask__back { display: flex; width: fit-content; align-items: center; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); padding: 10px 18px 10px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-dim); transition: background .3s, color .3s, border-color .3s; }
.ask__back svg { width: 18px; height: 18px; }
.ask__back:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ask__title { font-family: var(--f-head); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 96px); line-height: .95; letter-spacing: -.015em; margin: 0 0 18px; }
.ask__sub { margin: 0 0 clamp(30px, 4vw, 48px); color: var(--fg-dim); font-size: 17px; }
.ask__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ask__card { position: relative; display: flex; align-items: center; gap: 20px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255, 255, 255, .03); transition: background .35s, border-color .35s, transform .5s var(--ease); }
.ask__card:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); }
.ask__icon { flex: 0 0 auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.ask__card--wa .ask__icon { background: #25d366; color: #fff; }
.ask__card--mail .ask__icon { background: var(--blue); color: #fff; }
.ask__icon svg { width: 32px; height: 32px; }
.ask__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ask__text b { font-family: var(--f-head); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.ask__text small { font-size: 14px; color: var(--fg-dim); line-height: 1.45; overflow-wrap: anywhere; }
.ask__go { margin-left: auto; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s; }
.ask__go svg { width: 20px; height: 20px; }
.ask__card:hover .ask__go { background: #fff; color: var(--ink); }
.ask__alt { margin: 26px 0 0; font-size: 14px; color: var(--fg-mute); }
.ask__alt a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .ask { align-items: flex-start; }
  .ask__grid { grid-template-columns: 1fr; gap: 14px; }
  .ask__card { gap: 16px; padding: 20px; }
  .ask__icon { width: 52px; height: 52px; }
  .ask__icon svg { width: 27px; height: 27px; }
  .ask__go { width: 38px; height: 38px; }
}

/* Indicazioni stradali: menu Mappe / Google Maps */
.dir { position: relative; }
.dir__menu { position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20; width: 290px; max-width: calc(100vw - 2 * var(--gutter)); padding: 14px; border-radius: 16px; background: rgba(20, 26, 32, .97); border: 1px solid var(--edge-strong, rgba(255,255,255,.18)); box-shadow: 0 24px 50px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); animation: dirIn .25s var(--ease); }
.dir__menu[hidden] { display: none; }
@keyframes dirIn { from { opacity: 0; transform: translateY(8px); } }
.dir__title { margin: 2px 4px 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--fg-mute); }
.dir__opt { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .25s; }
.dir__opt + .dir__opt { margin-top: 4px; }
.dir__opt:hover { background: rgba(255, 255, 255, .07); }
.dir__opt b { display: block; font-family: var(--f-head); font-size: 16px; }
.dir__opt small { font-size: 12px; color: var(--fg-mute); }
.dir__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.dir__ic svg { width: 22px; height: 22px; }
.dir__ic--apple { background: linear-gradient(160deg, #4fc3f7, #1e88e5); color: #fff; }
.dir__ic--google { background: #fff; color: #ea4335; }
.dir__close { width: 100%; margin-top: 8px; padding: 11px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; letter-spacing: .08em; color: var(--fg-dim); }
.dir__close:hover { background: #fff; color: var(--ink); }

/* asterisco "elementi optional" nelle schede tecniche */
.sheet__star { display: inline-block; margin-left: 3px; color: var(--blue); font-weight: 700; font-size: 1.05em; line-height: 1; text-decoration: none; transform: translateY(-2px); }
.sheet__star:hover { color: #fff; }
.sheet__note { display: inline-flex; align-items: center; gap: 12px; margin-top: clamp(4px, 1vw, 14px); padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px; color: var(--fg-dim); font-size: 14.5px; line-height: 1.4; text-decoration: none; transition: border-color .3s, color .3s, background .3s; }
.sheet__note:hover { color: var(--fg); border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .04); }
.sheet__note-star { color: var(--blue); font-weight: 700; font-size: 20px; line-height: 1; }
.sheet__note svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: .7; }
.opt-star { color: var(--blue); font-weight: 700; }

/* avviso "work in progress" sui colori del configuratore */
.cfg-wip { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 10px; border: 1px dashed rgba(243, 180, 60, .55); background: rgba(243, 180, 60, .08); }
.cfg-wip__tag { align-self: flex-start; padding: 3px 9px; border-radius: 99px; background: #f3b43c; color: #1a1305; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.cfg-wip p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--fg-dim); }
.cfg-wip-badge { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 5px 11px; border-radius: 99px; background: rgba(20, 24, 30, .72); border: 1px solid rgba(243, 180, 60, .7); color: #f3b43c; font-family: var(--f-head); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(4px); }
.wip-tag { display: table; margin-bottom: 14px; }

/* video: mai il tasto "play" del telefono. La hero mostra la sua immagine finché il video non parte davvero */
.hero__media { background: #0d141b center / cover no-repeat; }
.hero__video { opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-playing .hero__video { opacity: 1; }
video.hero__video::-webkit-media-controls,
video.hero__video::-webkit-media-controls-panel,
video.hero__video::-webkit-media-controls-overlay-play-button,
video.hero__video::-webkit-media-controls-start-playback-button,
video.design3d__video::-webkit-media-controls,
video.design3d__video::-webkit-media-controls-panel,
video.design3d__video::-webkit-media-controls-overlay-play-button,
video.design3d__video::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; opacity: 0 !important; }

/* Miami 26: foto che scorrono da sole al posto del giro 3D */
.design3d__gal { position: absolute; inset: 0; overflow: hidden; background: #0b1016; }
.design3d__gal figure { position: absolute; inset: 0; margin: 0; background-size: 0 0; opacity: 0; animation: galFade 24s infinite; overflow: hidden; }
.design3d__gal figure:nth-child(2) { animation-delay: 6s; } .design3d__gal figure:nth-child(3) { animation-delay: 12s; } .design3d__gal figure:nth-child(4) { animation-delay: 18s; }
.design3d__gal img { position: relative; display: block; width: 100%; height: 100%; object-fit: cover; animation: galZoom 24s infinite; animation-delay: inherit; }
.design3d__gal::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(8,11,15,.6) 0%, rgba(8,11,15,.08) 38%, rgba(8,11,15,.1) 62%, rgba(8,11,15,.72) 100%); }
@keyframes galFade { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 31% { opacity: 0; } 100% { opacity: 0; } }
@keyframes galZoom { 0% { transform: scale(1.06); } 31% { transform: scale(1); } 100% { transform: scale(1); } }
.design3d--gallery .callout { opacity: 0; visibility: visible !important; transform: none !important; animation: galText 24s infinite; }
.design3d--gallery .callout:nth-child(2) { animation-delay: 6s; } .design3d--gallery .callout:nth-child(3) { animation-delay: 12s; } .design3d--gallery .callout:nth-child(4) { animation-delay: 18s; }
@keyframes galText { 0% { opacity: 0; } 5% { opacity: 1; } 24% { opacity: 1; } 28% { opacity: 0; } 100% { opacity: 0; } }
/* le 4 linee si riempiono una per foto */
.design3d--gallery .design3d__steps i::after { animation: 24s linear infinite; }
.design3d--gallery .design3d__steps i:nth-child(1)::after { animation-name: galBar1; }
@keyframes galBar1 { 0%, 0% { transform: scaleX(0); } 25%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.design3d--gallery .design3d__steps i:nth-child(2)::after { animation-name: galBar2; }
@keyframes galBar2 { 0%, 25% { transform: scaleX(0); } 50%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.design3d--gallery .design3d__steps i:nth-child(3)::after { animation-name: galBar3; }
@keyframes galBar3 { 0%, 50% { transform: scaleX(0); } 75%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.design3d--gallery .design3d__steps i:nth-child(4)::after { animation-name: galBar4; }
@keyframes galBar4 { 0%, 75% { transform: scaleX(0); } 100%, 99.5% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* telefono: riquadro foto normale (ritagliata, senza sfocature) con le scritte dentro la foto */
@media (max-width: 820px) {
  .design3d--gallery { height: auto; }
  .design3d--gallery .design3d__sticky { position: relative; height: 118vw; min-height: 430px; max-height: 620px; }
  .design3d--gallery .design3d__gal img { object-fit: cover; animation: none; transform: none; }
  .design3d--gallery .design3d__gal figure:nth-child(1) img { object-position: 30% 38%; }
  .design3d--gallery .design3d__gal figure:nth-child(2) img { object-position: 58% 30%; }
  .design3d--gallery .design3d__gal figure:nth-child(3) img { object-position: 50% 68%; }
  .design3d--gallery .design3d__gal figure:nth-child(4) img { object-position: 56% 50%; }
  .design3d--gallery .design3d__gal::after { background: linear-gradient(180deg, rgba(8,11,15,.7) 0%, rgba(8,11,15,.15) 34%, rgba(8,11,15,0) 55%, rgba(8,11,15,.7) 100%); }
  .design3d--gallery .design3d__head { top: 22px; }
  .design3d--gallery .design3d__head .h2 { font-size: 30px; margin-bottom: 10px; }
  .design3d--gallery .design3d__callouts { bottom: 18px; height: 96px; }
  .design3d--gallery .callout b { font-size: 44px; }
  .design3d--gallery .callout span { font-size: 11px; }
  .design3d--gallery .design3d__steps { bottom: 22px; }
}
