/* =========================================================
   V&D SERVICE — Stylesheet
   Palette dal brand: navy • turchese • ciano • arancio
   ========================================================= */

:root {
  --navy:        #0a1633;
  --navy-2:      #0d1e44;
  --blue:        #2563eb;
  --cyan:        #22d3ee;
  --teal:        #14c9b8;
  --orange:      #ff7a1a;
  --orange-soft: #ff9a4d;
  --ink:         #eaf1ff;
  --ink-soft:    #a9bbe0;
  --line:        rgba(255,255,255,.09);
  --glass:       rgba(255,255,255,.045);
  --glass-2:     rgba(255,255,255,.07);

  --grad-brand:  linear-gradient(120deg, var(--cyan), var(--teal) 45%, var(--blue));
  --grad-warm:   linear-gradient(120deg, var(--orange), var(--orange-soft));
  --grad-text:   linear-gradient(100deg, #67e8f9, #22d3ee 30%, #34d399 60%, #60a5fa);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;

  --ease: cubic-bezier(.16,1,.3,1);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  --font: 'Sora', system-ui, sans-serif;
  --font-alt: 'Space Grotesk', var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--orange); color: #1a0d00; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ============ BACKGROUND AURORA ============ */
.aurora {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(37,99,235,.28), transparent 60%),
    radial-gradient(1000px 700px at 0% 110%, rgba(20,201,184,.20), transparent 60%),
    var(--navy);
}
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55;
  mix-blend-mode: screen; animation: drift 22s var(--ease) infinite alternate;
}
.b1 { width: 560px; height: 560px; background: var(--cyan);   top: -140px; left: -120px; }
.b2 { width: 640px; height: 640px; background: var(--orange); bottom: -220px; right: -140px; animation-delay: -7s; opacity: .35; }
.b3 { width: 520px; height: 520px; background: var(--blue);   top: 40%; left: 55%; animation-delay: -13s; }
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(60px,-50px) scale(1.15); }
}
.grid-overlay {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 75%);
}
.bubbles-canvas { position: fixed; inset: 0; z-index: -2; pointer-events: none; }

/* ============ CUSTOM CURSOR ============ */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; }
.cursor {
  width: 38px; height: 38px; border: 1.5px solid rgba(255,255,255,.5);
  transform: translate(-50%,-50%); transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s;
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--orange); transform: translate(-50%,-50%); }
.cursor.is-hover { width: 66px; height: 66px; background: rgba(255,255,255,.08); border-color: var(--cyan); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ============ PRELOADER ============ */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--navy);
  display: grid; place-items: center; transition: opacity .6s ease, visibility .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; width: min(340px, 80vw); }
.preloader__img { width: 190px; height: auto; margin: 0 auto; display: block; opacity: 0; transform: scale(.7); animation: plPop .8s var(--ease) forwards; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
@keyframes plPop { to { opacity: 1; transform: scale(1); } }
.preloader__bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; margin: 22px 0 12px; overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 0; background: var(--grad-brand); animation: plBar 1.4s var(--ease) forwards; }
@keyframes plBar { to { width: 100%; } }
.preloader__label { font-size: .72rem; letter-spacing: 3px; color: var(--ink-soft); text-transform: uppercase; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; gap: 24px;
  padding: 18px clamp(20px, 5vw, 60px);
  transition: background .4s var(--ease), padding .4s var(--ease), backdrop-filter .4s;
}
.nav.scrolled {
  background: rgba(10,22,51,.72); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); padding-top: 12px; padding-bottom: 12px;
}
.nav__brand { display: flex; align-items: center; line-height: 1; margin-right: auto; }
.brand-logo { height: 54px; width: auto; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); transition: transform .3s var(--ease); }
.nav__brand:hover .brand-logo { transform: scale(1.06) rotate(-2deg); }
.nav.scrolled .brand-logo { height: 46px; }
.brand-mark { font-family: var(--font-alt); font-weight: 700; font-size: 1.5rem; letter-spacing: 1px; }
.brand-mark em { color: var(--orange); font-style: normal; }
.brand-sub { font-size: .6rem; letter-spacing: 5px; color: var(--ink-soft); margin-top: 3px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { font-size: .92rem; color: var(--ink-soft); position: relative; transition: color .3s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad-brand); transition: width .3s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  --pad: 14px 26px;
  display: inline-flex; align-items: center; gap: 10px; padding: var(--pad);
  border-radius: 100px; font-weight: 600; font-size: .95rem; cursor: pointer;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
  font-family: var(--font);
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--grad-warm); color: #1a0d00; box-shadow: 0 12px 30px -8px rgba(255,122,26,.6); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -10px rgba(255,122,26,.75); }
.btn--ghost { background: var(--glass); color: var(--ink); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--glass-2); transform: translateY(-3px); }
.btn--nav { --pad: 11px 20px; background: var(--grad-brand); color: #04121a; font-size: .88rem; box-shadow: 0 10px 26px -10px rgba(34,211,238,.6); }
.btn--nav:hover { transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; margin-top: 6px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: 40px; padding: 140px clamp(20px,5vw,60px) 80px; position: relative;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--glass);
  font-size: .82rem; color: var(--ink-soft); backdrop-filter: blur(6px); margin-bottom: 26px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(20,201,184,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(20,201,184,0); } 100% { box-shadow: 0 0 0 0 rgba(20,201,184,0); } }

.hero__title { font-family: var(--font-alt); font-weight: 700; font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -1.5px; }
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__title .grad > span { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero.play .hero__title .line > span { animation: lineUp .9s var(--ease) forwards; }
.hero.play .hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.hero.play .hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.hero.play .hero__title .line:nth-child(4) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero__lead { max-width: 520px; margin: 26px 0 32px; color: var(--ink-soft); font-size: 1.06rem; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta { display: flex; align-items: center; gap: 22px; margin-top: 42px; flex-wrap: wrap; }
.hero__meta b { font-family: var(--font-alt); font-size: 1.7rem; display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__meta span { font-size: .78rem; color: var(--ink-soft); }
.hero__meta .sep { width: 1px; height: 34px; background: var(--line); }

/* HERO 3D SCENE */
.hero__scene { position: relative; height: 520px; perspective: 1200px; transform-style: preserve-3d; }
.scene__ring {
  position: absolute; inset: 8% 8%; border-radius: 50%;
  border: 1.5px dashed rgba(34,211,238,.35);
  animation: spin 26s linear infinite;
}
.scene__ring::before {
  content: ''; position: absolute; inset: 16%; border-radius: 50%;
  border: 1px dashed rgba(255,122,26,.3); animation: spin 18s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.scene__core { position: absolute; inset: 0; display: grid; place-items: center; }
.core-logo { position: relative; width: 300px; max-width: 60%; animation: floaty 6s ease-in-out infinite; }
.core-logo::before {
  content: ''; position: absolute; inset: -12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,238,.4), rgba(37,99,235,.15) 55%, transparent 72%);
  filter: blur(14px); z-index: -1; animation: pulseGlow 5s ease-in-out infinite;
}
.core-logo img { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
@keyframes pulseGlow { 0%,100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 16px; background: var(--glass-2);
  border: 1px solid var(--line); backdrop-filter: blur(12px);
  box-shadow: var(--shadow); animation: floaty 5s ease-in-out infinite; will-change: transform;
}
.float-card .fc-emoji { font-size: 1.5rem; }
.float-card .fc-txt { font-size: .82rem; font-weight: 500; white-space: nowrap; }
.fc-spray { top: 6%;  left: -4%;  animation-delay: -1s; }
.fc-broom { bottom: 10%; left: 2%;  animation-delay: -2.5s; }
.fc-paint { top: 4%;  right: -2%; animation-delay: -1.8s; }
.fc-build { bottom: 4%; right: 4%; animation-delay: -3.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-16px) rotate(.5deg); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; }
.mouse { width: 22px; height: 36px; border: 1.5px solid var(--ink-soft); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.mouse i { width: 3px; height: 7px; background: var(--cyan); border-radius: 2px; animation: scrollDot 1.6s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(10px); } }

/* ============ MARQUEE ============ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 20px 0; background: rgba(255,255,255,.02); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 26s linear infinite; }
.marquee__track span { font-family: var(--font-alt); font-size: 1.3rem; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.marquee__track span:nth-child(3n) { color: var(--orange); }
.marquee__track span:nth-child(3n+1) { -webkit-text-stroke: 1px rgba(255,255,255,.25); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 60px); position: relative; }
.section__head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 70px); text-align: center; }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: 4px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section__title { font-family: var(--font-alt); font-weight: 700; font-size: clamp(1.9rem, 4vw, 3.2rem); letter-spacing: -1px; line-height: 1.08; }
.section__desc { margin-top: 18px; color: var(--ink-soft); font-size: 1.05rem; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(38px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============ SERVICE CARDS ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1200px; margin: 0 auto; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line); overflow: hidden; transform-style: preserve-3d;
  transition: transform .2s var(--ease), border-color .3s, box-shadow .3s;
}
.card:hover { border-color: rgba(34,211,238,.4); box-shadow: var(--shadow); }
.card.featured { background: linear-gradient(160deg, rgba(34,211,238,.14), rgba(37,99,235,.05)); border-color: rgba(34,211,238,.3); }
.card__glow { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.35), transparent 70%); top: -120px; right: -80px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover .card__glow { opacity: 1; }
.card__tag { position: absolute; top: 22px; right: 22px; font-size: .68rem; letter-spacing: 1px; text-transform: uppercase; background: var(--grad-warm); color: #1a0d00; padding: 5px 11px; border-radius: 100px; font-weight: 700; }
.card__icon { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font-size: 2rem; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 22px; transform: translateZ(30px); }
.card h3 { font-family: var(--font-alt); font-size: 1.42rem; margin-bottom: 12px; transform: translateZ(20px); }
.card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 20px; }
.card__list { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.card__list li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--ink-soft); }
.card__list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(20,201,184,.2); color: var(--teal); font-size: .7rem; display: grid; place-items: center; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--cyan); font-size: .95rem; }
.card__link span { transition: transform .3s var(--ease); }
.card__link:hover span { transform: translateX(5px); }

/* ============ SHOWCASE / LAVORI (pannelli per servizio) ============ */
.showcase__rows { max-width: 1180px; margin: 0 auto; display: grid; gap: clamp(52px, 8vw, 104px); }
.scrow { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 66px); align-items: center; }
.scrow--rev .scrow__text  { order: 2; }
.scrow--rev .scrow__media { order: 1; }

.scrow__kick {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-alt);
  font-size: .82rem; letter-spacing: .5px; color: var(--teal); background: rgba(20,201,184,.1);
  border: 1px solid rgba(20,201,184,.28); padding: 7px 15px; border-radius: 100px; margin-bottom: 18px;
}
.scrow__text h3 { font-family: var(--font-alt); font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -.5px; line-height: 1.1; margin-bottom: 14px; }
.scrow__text > p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 22px; max-width: 46ch; }
.scrow__list { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.scrow__list li { position: relative; padding-left: 30px; font-size: .95rem; color: var(--ink); }
.scrow__list li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--grad-brand); color: #04121a; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }

.scrow__media { display: grid; gap: 14px; }
.gitem--main  { aspect-ratio: 4 / 3; }
.scrow__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; }
.gitem--thumb { aspect-ratio: 16 / 10; }

/* media tiles (condivisi con la lightbox) */
.gitem {
  position: relative; border-radius: var(--r-md); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--glass);
  transition: transform .45s var(--ease), border-color .35s, box-shadow .35s;
}
.gitem:hover { transform: translateY(-4px); border-color: rgba(34,211,238,.45); box-shadow: var(--shadow); }
.g-media { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); display: block; background: var(--navy-2); }
.gitem:hover .g-media { transform: scale(1.06); }
.gitem::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(6,12,28,.5), transparent 55%); opacity: .65; transition: opacity .4s; }
.gitem:hover::after { opacity: 1; }

.g-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; border-radius: 100px; font-size: .68rem; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; background: rgba(6,12,28,.6); color: var(--cyan);
  border: 1px solid rgba(34,211,238,.35); backdrop-filter: blur(6px);
}
.g-badge svg { display: block; }
.g-badge--photo { color: var(--orange-soft); border-color: rgba(255,154,77,.4); }

.g-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 3;
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(6,12,28,.4); backdrop-filter: blur(6px); color: #fff; cursor: pointer;
  display: grid; place-items: center; transition: transform .35s var(--ease), background .35s, box-shadow .35s;
}
.g-play--sm { width: 46px; height: 46px; }
.g-play::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(34,211,238,.5); animation: pulseRing 2.4s ease-out infinite; }
@keyframes pulseRing { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.gitem:hover .g-play { transform: translate(-50%,-50%) scale(1.1); background: var(--grad-warm); color: #1a0d00; box-shadow: 0 12px 30px -8px rgba(255,122,26,.6); }
.g-play svg { margin-left: 3px; }

/* ============ PRIMA / DOPO ============ */
.ba__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1120px; margin: 0 auto; }
.ba__wrap { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); user-select: none; touch-action: pan-y; }
.ba__img, .ba__before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba__before { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 14px; z-index: 4; font-family: var(--font-alt); font-size: .7rem; letter-spacing: 1px;
  text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: rgba(6,12,28,.62);
  backdrop-filter: blur(6px); border: 1px solid var(--line);
}
.ba__tag--before { left: 14px; color: var(--ink-soft); }
.ba__tag--after  { right: 14px; color: var(--teal); border-color: rgba(20,201,184,.4); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--grad-brand); transform: translateX(-50%); z-index: 5; pointer-events: none; box-shadow: 0 0 20px rgba(34,211,238,.6); }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--navy-2); border: 2px solid var(--cyan); color: var(--cyan); display: grid; place-items: center; font-size: .95rem; font-weight: 700; letter-spacing: -1px; box-shadow: 0 8px 20px rgba(0,0,0,.5); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 6; }
.ba__caption { margin-top: 15px; text-align: center; color: var(--ink-soft); font-size: .92rem; }

/* ============ PERCHÉ SCEGLIERCI ============ */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; }
.why-card {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.why-card::before { content: ''; position: absolute; top: -40px; right: -40px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.22), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.why-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.4); box-shadow: var(--shadow); }
.why-card:hover::before { opacity: 1; }
.why-card__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: rgba(255,255,255,.06); border: 1px solid var(--line); margin-bottom: 18px; }
.why-card h3 { font-family: var(--font-alt); font-size: 1.2rem; margin-bottom: 10px; }
.why-card p { color: var(--ink-soft); font-size: .93rem; }

/* ============ WHATSAPP FLOAT ============ */
.wafloat {
  position: fixed; bottom: 26px; right: 26px; z-index: 9400; width: 62px; height: 62px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37,211,102,.6); transition: transform .3s var(--ease);
}
.wafloat:hover { transform: scale(1.08) translateY(-2px); }
.wafloat__ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: waPulse 2.2s ease-out infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 9800; display: grid; place-items: center;
  background: rgba(4,9,22,.9); backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  padding: clamp(16px, 4vw, 50px);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb__stage { max-width: min(1100px, 92vw); width: 100%; text-align: center; }
.lb__media {
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: #000; line-height: 0;
  transform: scale(.96); transition: transform .45s var(--ease);
}
.lightbox.open .lb__media { transform: scale(1); }
.lb__media img, .lb__media video { width: 100%; max-height: 78vh; object-fit: contain; display: block; }
.lb__cap { margin-top: 16px; color: var(--ink-soft); font-family: var(--font-alt); font-size: 1rem; letter-spacing: .3px; }

.lb__close, .lb__nav {
  position: absolute; z-index: 2; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); color: var(--ink);
  font-size: 1.6rem; cursor: pointer; display: grid; place-items: center;
  backdrop-filter: blur(8px); transition: background .3s, transform .3s, border-color .3s;
}
.lb__close:hover, .lb__nav:hover { background: rgba(255,255,255,.16); border-color: var(--cyan); transform: scale(1.08); }
.lb__close { top: clamp(16px, 4vw, 34px); right: clamp(16px, 4vw, 34px); font-size: 1.3rem; }
.lb__nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb__nav:hover { transform: translateY(-50%) scale(1.08); }
.lb__prev { left: clamp(10px, 3vw, 34px); }
.lb__next { right: clamp(10px, 3vw, 34px); }

/* ============ PROCESS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 1200px; margin: 0 auto; }
.step { padding: 30px 26px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); position: relative; transition: transform .3s var(--ease), background .3s; }
.step:hover { transform: translateY(-6px); background: var(--glass-2); }
.step__num { font-family: var(--font-alt); font-size: 2.6rem; font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--ink-soft); }

/* ============ STATS ============ */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto; text-align: center; }
.stat { padding: 34px 18px; border-radius: var(--r-md); background: linear-gradient(160deg, rgba(255,255,255,.05), transparent); border: 1px solid var(--line); }
.stat b { font-family: var(--font-alt); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; display: block; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: .88rem; color: var(--ink-soft); }

/* ============ BOOKING / AGENDA ============ */
.glass { background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); backdrop-filter: blur(14px); border-radius: var(--r-lg); }
.booking__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1120px; margin: 0 auto; }

.cal { padding: 26px; }
.cal__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal__month { font-family: var(--font-alt); font-weight: 600; font-size: 1.25rem; text-transform: capitalize; }
.cal__nav { width: 42px; height: 42px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); color: var(--ink); font-size: 1.4rem; cursor: pointer; transition: background .3s, transform .3s; }
.cal__nav:hover { background: var(--glass-2); transform: scale(1.06); }
.cal__week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 8px; }
.cal__week span { text-align: center; font-size: .72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 1px; }
.cal__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal__day {
  aspect-ratio: 1; border-radius: 12px; border: 1px solid var(--line); background: var(--glass);
  display: grid; place-items: center; font-size: .92rem; cursor: pointer; position: relative;
  transition: background .25s, transform .2s, border-color .25s; font-family: var(--font-alt);
}
.cal__day:hover:not(.is-off):not(.is-full) { background: rgba(34,211,238,.18); border-color: var(--cyan); transform: translateY(-2px); }
.cal__day.is-empty { background: transparent; border: 0; cursor: default; }
.cal__day.is-off { color: rgba(255,255,255,.25); cursor: not-allowed; background: transparent; border-style: dashed; }
.cal__day.is-full { color: rgba(255,255,255,.3); cursor: not-allowed; text-decoration: line-through; }
.cal__day.is-full::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.cal__day.has-free::after { content: ''; position: absolute; top: 6px; right: 6px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.cal__day.is-today { border-color: var(--orange); }
.cal__day.is-selected { background: var(--grad-brand); color: #04121a; border-color: transparent; font-weight: 700; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(34,211,238,.6); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: .76rem; color: var(--ink-soft); }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: middle; }
.lg-free { background: var(--teal); } .lg-sel { background: var(--cyan); } .lg-busy { background: var(--orange); }

.bform { padding: 26px; display: flex; flex-direction: column; }
.bform__label { font-size: .72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }
.bform__selected { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.bform__selected strong { display: block; font-family: var(--font-alt); font-size: 1.3rem; margin-top: 4px; text-transform: capitalize; }
.bform__slots-wrap { margin-bottom: 18px; }
.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; min-height: 44px; }
.slots__empty { font-size: .88rem; color: var(--ink-soft); }
.slot {
  padding: 10px 16px; border-radius: 100px; border: 1px solid var(--line); background: var(--glass);
  font-size: .88rem; cursor: pointer; transition: .25s var(--ease); font-family: var(--font-alt); color: var(--ink);
}
.slot:hover:not(.is-busy) { border-color: var(--cyan); transform: translateY(-2px); }
.slot.is-busy { opacity: .35; cursor: not-allowed; text-decoration: line-through; }
.slot.is-active { background: var(--grad-warm); color: #1a0d00; border-color: transparent; font-weight: 700; }

.bform__fields { display: grid; gap: 14px; margin-top: auto; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: .78rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.05);
  border: 1px solid var(--line); color: var(--ink); font-family: var(--font); font-size: .92rem;
  transition: border-color .25s, background .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,.08); }
.field select option { background: var(--navy-2); }
.bform__hint { font-size: .76rem; color: var(--ink-soft); text-align: center; margin-top: 4px; }

/* ============ QUOTES ============ */
.quotes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1150px; margin: 0 auto; }
.quote { padding: 30px; border-radius: var(--r-md); background: var(--glass); border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s; }
.quote:hover { transform: translateY(-6px); background: var(--glass-2); }
.stars { color: var(--orange); letter-spacing: 3px; margin-bottom: 14px; }
.quote p { font-size: 1rem; margin-bottom: 16px; }
.quote footer { font-size: .85rem; color: var(--ink-soft); }

/* ============ CTA FINAL ============ */
.cta-final { display: grid; place-items: center; }
.cta-box { text-align: center; padding: clamp(40px, 6vw, 70px); max-width: 820px; width: 100%; }
.cta-box h2 { font-family: var(--font-alt); font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -1px; margin-bottom: 14px; }
.cta-box p { color: var(--ink-soft); margin-bottom: 28px; }
.cta-box__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { border-top: 1px solid var(--line); padding: 60px clamp(20px,5vw,60px) 28px; background: rgba(0,0,0,.2); }
.footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer__brand p { color: var(--ink-soft); font-size: .9rem; margin-top: 14px; max-width: 320px; }
.footer__logo { height: 96px; width: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.footer__col h4 { font-size: .9rem; margin-bottom: 16px; letter-spacing: 1px; }
.footer__col a { display: block; color: var(--ink-soft); font-size: .9rem; margin-bottom: 10px; transition: color .25s; }
.footer__col a:hover { color: var(--cyan); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--ink-soft); }
.footer__bottom .piva { font-family: var(--font-alt); letter-spacing: 1px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 100px; background: var(--glass); }

/* ============ TOAST ============ */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(140px);
  background: var(--navy-2); border: 1px solid var(--teal); color: var(--ink);
  padding: 16px 24px; border-radius: 14px; z-index: 9500; box-shadow: var(--shadow);
  max-width: 90vw; font-size: .92rem; transition: transform .5s var(--ease); display: flex; gap: 10px; align-items: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__scene { height: 380px; margin-top: 20px; order: 2; }
  .cards, .quotes__grid { grid-template-columns: 1fr; }
  .steps, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .booking__wrap { grid-template-columns: 1fr; }
  .scrow { grid-template-columns: 1fr; gap: 26px; }
  .scrow--rev .scrow__text  { order: 1; }
  .scrow--rev .scrow__media { order: 2; }
  .ba__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; right: 20px; left: 20px;
    background: rgba(10,22,51,.96); backdrop-filter: blur(16px); padding: 22px; border-radius: 18px;
    border: 1px solid var(--line); gap: 18px;
  }
}
@media (max-width: 560px) {
  .steps, .stats__grid, .footer__top { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .lb__nav { width: 44px; height: 44px; }
  .hero__meta { gap: 14px; } .hero__meta .sep { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .float-card .fc-txt { display: none; }
  .float-card { padding: 12px; }
}

/* ===== NAVBAR MOBILE: pill flottante ===== */
@media (max-width: 720px) {
  .nav {
    top: 12px; left: 12px; right: 12px; width: auto;
    padding: 8px 10px 8px 16px; gap: 12px;
    border-radius: 100px;
    background: rgba(10, 22, 51, .8);
    backdrop-filter: blur(18px) saturate(1.2);
    border: 1px solid var(--line);
    box-shadow: 0 12px 34px -14px rgba(0, 0, 0, .7);
  }
  .nav.scrolled {
    padding: 8px 10px 8px 16px; /* niente salto di dimensione allo scroll */
    background: rgba(10, 22, 51, .9);
    border-bottom: 1px solid var(--line);
  }
  .brand-logo, .nav.scrolled .brand-logo { height: 42px; }
  .nav__burger {
    width: 42px; height: 42px; padding: 0; border-radius: 50%;
    align-items: center; justify-content: center; gap: 5px;
    background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
  }
  /* il menu a tendina segue la pill */
  .nav__links.open { top: calc(100% + 10px); left: 0; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; transition-duration: .1s !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   COOKIE CONSENT (GDPR) — banner + pannello preferenze
   ========================================================= */
#vdc-root { position: relative; z-index: 9200; }
body.vdc-lock { overflow: hidden; }

/* ---- Banner (primo livello) ---- */
.vdc-banner {
  position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 140%);
  width: min(920px, calc(100vw - 32px)); z-index: 9200;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px 20px;
  padding: 20px 24px;
  background: rgba(10, 22, 51, .86);
  border: 1px solid var(--line); border-radius: var(--r-md);
  backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden;
  transition: transform .6s var(--ease), opacity .5s var(--ease), visibility .5s;
  overflow: hidden;
}
.vdc-banner.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.vdc-banner__glow {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background: radial-gradient(420px 160px at 0% 0%, rgba(34,211,238,.18), transparent 70%),
              radial-gradient(420px 160px at 100% 100%, rgba(255,122,26,.14), transparent 70%);
}
.vdc-banner__icon {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: var(--grad-brand); color: #041225; flex: none;
  box-shadow: 0 8px 22px -6px rgba(34,211,238,.5);
}
.vdc-banner__title { font-size: 1.02rem; font-weight: 700; margin-bottom: 3px; }
.vdc-banner__text { font-size: .86rem; color: var(--ink-soft); line-height: 1.55; }
.vdc-banner__text a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.vdc-banner__text a:hover { color: var(--teal); }
.vdc-banner__actions { display: flex; gap: 10px; align-items: center; flex: none; }

/* ---- Bottoni consenso ---- */
.vdc-btn {
  font-family: var(--font); font-size: .84rem; font-weight: 600;
  padding: 11px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.vdc-btn:hover { transform: translateY(-2px); }
.vdc-btn--primary {
  background: var(--grad-warm); color: #1a0d00;
  box-shadow: 0 10px 26px -8px rgba(255,122,26,.6);
}
.vdc-btn--ghost {
  background: rgba(255,255,255,.05); color: var(--ink); border-color: var(--line);
}
.vdc-btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); }

/* ---- Modal preferenze (secondo livello) ---- */
.vdc-modal { position: fixed; inset: 0; z-index: 9600; display: none; }
.vdc-modal.open { display: block; }
.vdc-modal__overlay {
  position: absolute; inset: 0; background: rgba(4, 10, 26, .72);
  backdrop-filter: blur(6px); animation: vdcFade .3s var(--ease);
}
@keyframes vdcFade { from { opacity: 0; } to { opacity: 1; } }
.vdc-modal__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(620px, calc(100vw - 32px)); max-height: min(86vh, 720px); overflow-y: auto;
  padding: 26px clamp(20px, 4vw, 34px);
  background: rgba(11, 24, 56, .96); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); animation: vdcPop .4s var(--ease);
}
@keyframes vdcPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.vdc-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.vdc-modal__brand { display: flex; align-items: center; gap: 10px; }
.vdc-modal__brand svg { color: var(--cyan); }
.vdc-modal__brand h2 { font-size: 1.25rem; font-weight: 700; }
.vdc-modal__close {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: var(--ink); font-size: 1rem; cursor: pointer;
  transition: background .3s, transform .2s;
}
.vdc-modal__close:hover { background: rgba(255,255,255,.12); transform: rotate(90deg); }
.vdc-modal__intro { font-size: .87rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 18px; }

.vdc-cats { display: flex; flex-direction: column; gap: 12px; }
.vdc-cat {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: rgba(255,255,255,.03);
}
.vdc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.vdc-cat__title { font-weight: 600; font-size: .98rem; }
.vdc-cat__control { display: flex; align-items: center; gap: 10px; flex: none; }
.vdc-cat__always { font-size: .72rem; color: var(--teal); font-weight: 600; letter-spacing: .3px; }
.vdc-cat__desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.55; margin-top: 8px; }

/* ---- Switch ---- */
.vdc-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; cursor: pointer; }
.vdc-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.vdc-switch__slider {
  position: absolute; inset: 0; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.vdc-switch__slider::before {
  content: ''; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  transition: transform .3s var(--ease);
}
.vdc-switch input:checked + .vdc-switch__slider { background: var(--grad-brand); border-color: transparent; }
.vdc-switch input:checked + .vdc-switch__slider::before { transform: translate(20px, -50%); }
.vdc-switch--locked { opacity: .6; cursor: not-allowed; }

.vdc-modal__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap;
}
.vdc-modal__policy { font-size: .82rem; color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.vdc-modal__btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- Bottone flottante riapri ---- */
.vdc-float {
  position: fixed; left: 20px; bottom: 20px; z-index: 880;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10, 22, 51, .82); border: 1px solid var(--line); color: var(--cyan);
  display: grid; place-items: center; cursor: pointer;
  backdrop-filter: blur(10px); box-shadow: 0 10px 28px -10px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: scale(.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, background .3s, color .3s;
}
.vdc-float.show { opacity: 1; visibility: visible; transform: scale(1); }
.vdc-float:hover { background: var(--grad-brand); color: #041225; transform: scale(1.08) rotate(-8deg); }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .vdc-banner {
    grid-template-columns: auto 1fr; bottom: 12px; padding: 18px; gap: 12px 14px;
    width: calc(100vw - 20px);
  }
  .vdc-banner__actions { grid-column: 1 / -1; flex-wrap: wrap; }
  .vdc-banner__actions .vdc-btn { flex: 1 1 auto; text-align: center; }
  .vdc-float { left: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* =========================================================
   PAGINE LEGALI (cookie-policy / privacy-policy)
   ========================================================= */
.legal-page { min-height: 100vh; }
.legal-page .nav { background: rgba(10,22,51,.72); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.legal {
  max-width: 820px; margin: 0 auto; padding: clamp(28px, 6vw, 60px) clamp(20px, 5vw, 40px) 80px;
}
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin: 8px 0 6px; line-height: 1.1; }
.legal__updated { color: var(--ink-soft); font-size: .85rem; margin-bottom: 26px; }
.legal h2 {
  font-size: 1.4rem; font-weight: 700; margin: 34px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.08rem; font-weight: 600; margin: 20px 0 8px; color: var(--cyan); }
.legal p { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.7; }
.legal strong { color: var(--ink); }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--teal); }
.legal__note {
  background: rgba(255,122,26,.08); border: 1px solid rgba(255,122,26,.35);
  border-radius: var(--r-sm); padding: 14px 18px; margin: 18px 0; font-size: .88rem;
  color: var(--ink-soft); line-height: 1.6;
}
.legal__note strong { color: var(--orange-soft); }
.legal__table {
  width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: .84rem;
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
}
.legal__table th, .legal__table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal__table th { background: rgba(255,255,255,.05); color: var(--ink); font-weight: 600; }
.legal__table td { color: var(--ink-soft); }
.legal__table tr:last-child td { border-bottom: none; }
.legal__back { margin-top: 34px; }

/* link cookie nel footer */
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer__legal a, .footer__legal button {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: var(--font); font-size: inherit; color: inherit; text-align: left;
}

/* Mentre il banner/pannello cookie è aperto, nascondi il float WhatsApp
   così non si sovrappone (è uno stato temporaneo di prima visita) */
body.vdc-banner-open .wafloat {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s var(--ease), visibility .4s;
}

/* Nascondi il float WhatsApp mentre il pannello preferenze è aperto */
body.vdc-lock .wafloat { opacity: 0; visibility: hidden; pointer-events: none; }

/* =========================================================
   CUSTOM SELECT — dropdown moderno
   ========================================================= */
.cselect { position: relative; }
/* il <select> nativo resta per il valore ma è nascosto quando il JS lo migliora */
.cselect__native { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cselect__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-sm); background: rgba(255,255,255,.05);
  border: 1px solid var(--line); color: var(--ink); font-family: var(--font); font-size: .92rem;
  cursor: pointer; text-align: left; transition: border-color .25s, background .25s;
}
.cselect.open .cselect__btn, .cselect__btn:focus { outline: none; border-color: var(--cyan); background: rgba(34,211,238,.08); }
.cselect__chev { color: var(--ink-soft); flex: none; transition: transform .3s var(--ease), color .3s; }
.cselect.open .cselect__chev { transform: rotate(180deg); color: var(--cyan); }
.cselect__list {
  position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0;
  list-style: none; margin: 0; padding: 6px;
  background: rgba(11,24,56,.98); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow); backdrop-filter: blur(16px);
  opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.cselect.open .cselect__list { opacity: 1; transform: translateY(0); visibility: visible; }
.cselect__opt {
  padding: 11px 12px; border-radius: 9px; cursor: pointer; font-size: .92rem; color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.cselect__opt:hover { background: rgba(255,255,255,.06); color: var(--ink); }
.cselect__opt.is-active { color: #04121a; background: var(--grad-brand); font-weight: 600; }

/* =========================================================
   RECENSIONI — carosello stile Google
   ========================================================= */
.reviews__rating {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-top: 16px;
}
.reviews__score { font-family: var(--font-alt); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.reviews__stars { color: #ffc107; letter-spacing: 2px; font-size: 1.1rem; }
.reviews__meta { font-size: .9rem; color: var(--ink-soft); }
.reviews__meta b { color: var(--ink); }

.rev-carousel {
  position: relative; display: flex; align-items: center; gap: 12px;
  max-width: 1180px; margin: 40px auto 0; padding: 0 clamp(20px, 5vw, 60px);
}
.rev-viewport { overflow: hidden; flex: 1; margin: 0 -8px; padding: 8px; }
.rev-track {
  display: flex; gap: 20px;
  scroll-snap-type: x mandatory; overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rev-track::-webkit-scrollbar { display: none; }
.rev-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  background: rgba(255,255,255,.045); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
}
.rev-card:hover { transform: translateY(-6px); border-color: rgba(34,211,238,.4); background: rgba(255,255,255,.07); }
.rev-card__top { display: flex; align-items: center; gap: 12px; }
.rev-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--c, var(--blue)); color: #fff; font-weight: 700; font-size: 1.15rem;
  font-family: var(--font-alt); box-shadow: 0 6px 16px -6px rgba(0,0,0,.5);
}
.rev-who { display: flex; flex-direction: column; line-height: 1.3; margin-right: auto; }
.rev-who strong { font-size: .98rem; font-weight: 600; }
.rev-who span { font-size: .8rem; color: var(--ink-soft); }
.rev-g { flex: none; opacity: .95; }
.rev-stars { color: #ffc107; letter-spacing: 1px; font-size: 1.05rem; }
.rev-text { color: var(--ink-soft); font-size: .93rem; line-height: 1.65; }

.rev-arrow {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s, transform .2s var(--ease), color .3s, opacity .3s;
}
.rev-arrow:hover { background: var(--grad-brand); color: #04121a; transform: scale(1.08); border-color: transparent; }
.rev-arrow:disabled { opacity: .3; cursor: default; }
.rev-arrow:disabled:hover { background: rgba(255,255,255,.05); color: var(--ink); transform: none; }

.rev-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.rev-dot {
  width: 8px; height: 8px; border-radius: 999px; border: none; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.22); transition: background .3s, width .3s var(--ease);
}
.rev-dot.is-active { background: var(--cyan); width: 26px; }

@media (max-width: 980px) {
  .rev-card { flex-basis: calc((100% - 20px) / 2); }
}
@media (max-width: 680px) {
  .rev-carousel { padding: 0 14px; gap: 6px; }
  .rev-arrow { display: none; }               /* su mobile si scorre con lo swipe */
  .rev-card { flex-basis: 86%; padding: 20px; }
}

/* =========================================================
   PERFORMANCE — scroll fluido SENZA togliere gli effetti
   Bolle, aloni e griglia RESTANO. Il problema dello scroll a
   scatti sui telefoni non erano le bolle (su mobile sono ~14),
   ma il ricalcolo dei livelli fissi + gli aloni sfocati.
   Soluzione: isoliamo i livelli sulla GPU così lo scroll non li
   ridipinge, e su mobile rendiamo l'animazione degli aloni
   "solo spostamento" (niente scale/blend che ri-rasterizzano il blur).
   ========================================================= */
/* I livelli decorativi fissi diventano layer GPU dedicati:
   scrollare il contenuto sopra non li fa più ridipingere. */
.aurora, .bubbles-canvas { transform: translateZ(0); backface-visibility: hidden; }

@media (hover: none), (pointer: coarse) {
  .blob {
    /* stesso look, ma animazione componibile dalla sola GPU */
    animation-name: driftLite;
    filter: blur(60px);          /* blur un filo più leggero: metà area da sfocare */
    mix-blend-mode: normal;      /* 'screen' impedisce l'isolamento del layer → jank */
    will-change: transform;
  }
}
/* drift alternativo: solo translate (lo scale ri-rasterizza il blur ad ogni frame) */
@keyframes driftLite {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(48px, -40px); }
}
