/* ==========================================================================
   MACROVERSO 2026
   Fasce: smartphone <600 · tablet 600–1023 · laptop 1024–1439
          desktop 1440–1919 · schermi grandi ≥1920
   ========================================================================== */

/* ---------- Token ---------- */
:root {
  --orange: #FF7A1A;
  --orange-2: #FFB347;
  --orange-deep: #E8620A;
  --gold: #D4A24C;
  --grad: linear-gradient(100deg, var(--orange) 0%, var(--orange-2) 100%);
  --neon: 0 0 10px rgba(255,122,26,.55), 0 0 26px rgba(255,122,26,.28);

  --f-display: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --f-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-sign: 'Mrs Saint Delafield', cursive;

  --fs-hero: clamp(2.6rem, 1.4rem + 5.2vw, 8rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 3.2vw, 5rem);
  --fs-h2-xl: clamp(2.6rem, 1.2rem + 5vw, 7rem);
  --fs-h2-mega: clamp(3.2rem, 1rem + 8vw, 10.5rem);
  --fs-h3: clamp(1.35rem, 1.1rem + .8vw, 1.9rem);
  --fs-lead: clamp(1rem, .94rem + .3vw, 1.2rem);
  --fs-body: clamp(.95rem, .92rem + .15vw, 1.05rem);
  --fs-eyebrow: clamp(.72rem, .7rem + .1vw, .82rem);

  --gutter: clamp(16px, 4vw, 64px);
  --wrap: 1320px;
  --sec: clamp(64px, 4rem + 4.5vw, 140px);
  --radius: clamp(20px, 1.2rem + .6vw, 32px);
  --radius-s: 14px;
  --nav-h: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

:root, :root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080B; --bg-2: #0C0E13; --surface: #12141B; --surface-2: #1A1D27;
  --text: #F5F5F7; --muted: #8A8F98; --line: rgba(255,255,255,.09);
  --glass: rgba(20,22,30,.52); --glass-strong: rgba(16,18,25,.82);
  --glass-border: rgba(255,255,255,.14);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.25);
  --shadow: 0 24px 60px -20px rgba(0,0,0,.7);
  --flash: rgba(255,255,255,.38);
  --diag: #0E1016; --num-stroke: rgba(255,255,255,.16); --shop-bg: #15171E;
  --glow-a: .55;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F5F5F7; --bg-2: #ECECF0; --surface: #FFFFFF; --surface-2: #F0F0F3;
  --text: #1D1D1F; --muted: #6E6E73; --line: rgba(0,0,0,.08);
  --glass: rgba(255,255,255,.58); --glass-strong: rgba(255,255,255,.9);
  --glass-border: rgba(0,0,0,.08);
  --glass-inset: inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(0,0,0,.04);
  --shadow: 0 24px 60px -24px rgba(30,30,50,.28);
  --flash: rgba(255,255,255,.85);
  --diag: #EAEAEE; --num-stroke: rgba(0,0,0,.12); --shop-bg: #FFFFFF;
  --neon: 0 0 10px rgba(255,122,26,.28), 0 0 22px rgba(255,122,26,.12);
  --glow-a: .3;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-body)/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--orange); color: #fff; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--orange); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: calc(var(--sec) * .55); position: relative; }

/* Media solo vetrina: non cliccabili, non trascinabili, niente menu su iPhone */
video { pointer-events: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.hero__frame, .reel, .orbit__media, .holo__tile, .about__frame, .ring__card { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
.holo__tile img, .about__frame img, .ring__card img { pointer-events: none; }

/* Barra di avanzamento dello scroll */
.scroll-bar { position: fixed; z-index: 70; left: 0; right: 0; top: 0; height: 2px; pointer-events: none; }
.scroll-bar span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); box-shadow: var(--neon); }

/* ---------- Tipografia ---------- */
.eyebrow {
  margin: 0 0 1rem;
  font: 700 var(--fs-eyebrow)/1.2 var(--f-display);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  text-shadow: var(--neon);
  animation: neon 3.2s ease-in-out infinite;
}
@keyframes neon {
  0%, 100% { text-shadow: var(--neon); filter: brightness(1); }
  50% { text-shadow: 0 0 14px rgba(255,122,26,var(--glow-a)), 0 0 34px rgba(255,150,60,calc(var(--glow-a) * .6)); filter: brightness(1.15); }
}
.h2, .hero__title, .orbit__title, .hero__work, h3 { font-family: var(--f-display); font-weight: 700; line-height: .98; letter-spacing: -.005em; margin: 0; }
.h2 { font-size: var(--fs-h2); margin-bottom: .45em; text-wrap: balance; }
.h2--xl { font-size: var(--fs-h2-xl); }
.h2--mega { font-size: var(--fs-h2-mega); line-height: .88; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); line-height: 1.1; font-weight: 600; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 60ch; margin: 0 0 1.6rem; line-height: 1.7; }
em {
  font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 14px rgba(255,122,26,calc(var(--glow-a) * .9)));
}

/* ---------- Vetro + flash ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-inset), var(--shadow);
}
.flash { position: relative; overflow: hidden; isolation: isolate; }
.flash::after {
  content: ''; position: absolute; inset: -2px; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, var(--flash) 48%, rgba(255,255,255,.08) 54%, transparent 70%);
  transform: translateX(-120%); opacity: 0;
}
@media (hover: hover) and (pointer: fine) { .flash:hover::after { animation: flash .75s var(--ease); } }
.flash:active::after, .flash.is-flash::after { animation: flash .75s var(--ease); }
@keyframes flash { 0% { transform: translateX(-120%); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(120%); opacity: 0; } }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: 0 1.5em; border-radius: 999px;
  font: 600 .95rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .3s; white-space: nowrap;
}
.btn svg { font-size: 1.15em; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { background: var(--orange); color: #fff; box-shadow: 0 10px 30px -10px rgba(255,122,26,.7), 0 0 24px rgba(255,122,26,.25), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--accent:hover { background: var(--orange-deep); box-shadow: 0 14px 36px -10px rgba(255,122,26,.85), 0 0 34px rgba(255,122,26,.4), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--glass { background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--glass-inset); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.btn--block { width: 100%; justify-content: center; }
.btn--wa svg { font-size: 1.25em; }
.btn--wa:hover svg { transform: none; }
.ctrl { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 1.15rem; color: var(--text); transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.ctrl:hover { transform: scale(1.06); }
.ctrl--line { border: 1px solid var(--line); }
.ctrl--line:hover { border-color: rgba(255,122,26,.5); }

/* ==========================================================================
   MENU
   ========================================================================== */
.nav { position: fixed; z-index: 50; top: calc(12px + var(--safe-t)); left: 0; right: 0; display: flex; justify-content: center; padding-inline: var(--gutter); pointer-events: none; transition: transform .5s var(--ease); }
.nav__bar { pointer-events: auto; display: flex; align-items: center; gap: clamp(8px, 1.5vw, 28px); height: var(--nav-h); padding: 0 8px 0 12px; border-radius: 999px; width: min(100%, 1180px); justify-content: space-between; }
.nav__logo { display: flex; align-items: center; gap: 10px; height: 100%; }
.nav__logo img { height: 40px; width: 40px; border-radius: 11px; box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.12); }
.nav__word { font: 700 1.25rem/1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.nav__links { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(127,127,127,.08); }
.nav__links a { position: relative; z-index: 1; padding: 0 16px; height: 40px; display: grid; place-items: center; border-radius: 999px; font: 600 .88rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: #fff; }
.nav__pill { position: absolute; z-index: 0; top: 5px; left: 0; height: 40px; width: 0; border-radius: 999px; background: var(--orange); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 6px rgba(0,0,0,.18), 0 6px 18px -6px rgba(255,122,26,.8), 0 0 22px rgba(255,122,26,.45); transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; opacity: 0; }
.nav__tools { display: flex; align-items: center; gap: 6px; }
.nav__icon { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--orange); filter: drop-shadow(0 0 8px rgba(255,122,26,.5)); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--orange); color: #fff; font: 700 .7rem/18px var(--f-text); text-align: center; box-shadow: 0 0 10px rgba(255,122,26,.7); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.45); } }

.theme-switch { width: 72px; height: 40px; border-radius: 999px; background: rgba(127,127,127,.16); border: 1px solid var(--glass-border); box-shadow: inset 0 2px 6px rgba(0,0,0,.25); padding: 3px; display: flex; }
.theme-switch__knob { position: relative; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 3px 10px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25); display: grid; place-items: center; color: var(--orange); font-size: 1.05rem; transition: transform .55s var(--ease), background-color .5s; transform: translateX(32px); }
.theme-switch__knob svg { position: absolute; transition: transform .55s var(--ease), opacity .35s; }
.theme-switch .i-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="light"] .theme-switch__knob { transform: translateX(0); background: #fff; }
[data-theme="light"] .theme-switch .i-sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-switch .i-moon { opacity: 0; transform: rotate(90deg) scale(.5); }

.tabbar { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); display: none; justify-content: space-around; height: 66px; padding: 6px; border-radius: 26px; }
.tabbar a { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 20px; min-width: 44px; font: 600 .66rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .3s, background-color .4s var(--ease); }
.tabbar svg { font-size: 1.35rem; color: var(--orange); filter: drop-shadow(0 0 6px rgba(255,122,26,.45)); transition: transform .4s var(--ease); }
.tabbar a.is-active { background: rgba(255,122,26,.14); color: var(--text); }
.tabbar a.is-active svg { transform: translateY(-1px) scale(1.08); }
.tabbar .cart-count { top: 4px; right: calc(50% - 22px); }
/* 6 voci (Home, Servizi, Video, Foto, Shop, Contatti): etichette più strette sui telefoni piccoli */
@media (max-width: 400px) { .tabbar { left: 8px; right: 8px; padding: 6px 4px; } .tabbar a { min-width: 0; letter-spacing: .04em; font-size: .6rem; } }

.dots { position: fixed; z-index: 40; right: clamp(14px, 1.6vw, 34px); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 14px; }
.dots a { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); opacity: .45; transition: opacity .3s, background-color .3s, transform .3s, box-shadow .3s; }
.dots a.is-active { background: var(--orange); opacity: 1; transform: scale(1.25); box-shadow: 0 0 10px rgba(255,122,26,.8); }
.side-label { position: absolute; left: clamp(14px, 1.6vw, 34px); top: 50%; display: none; align-items: center; gap: 16px; font: 600 .78rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.side-label::after { content: ''; width: 1px; height: 46px; background: var(--orange); box-shadow: 0 0 8px var(--orange); }

.glow { position: fixed; z-index: -1; left: 0; top: 0; width: 70vmax; height: 70vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.16), rgba(255,122,26,0) 62%); transform: translate3d(-50%, -50%, 0); pointer-events: none; opacity: 0; transition: opacity 1s; }
[data-theme="light"] .glow { background: radial-gradient(circle, rgba(255,150,60,.16), rgba(255,150,60,0) 62%); }

/* Angoli HUD riutilizzabili */
.hud__c { position: absolute; z-index: 4; width: 26px; height: 26px; border: 2px solid var(--orange); filter: drop-shadow(0 0 6px rgba(255,122,26,.8)); pointer-events: none; }
.hud__c--tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.hud__c--tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.hud__c--bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.hud__c--br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; padding-top: calc(var(--nav-h) + 30px + var(--safe-t)); }
.hero__frame { position: relative; width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; height: clamp(420px, 72vh, 900px); border-radius: var(--radius); overflow: hidden; background: #000; isolation: isolate; box-shadow: var(--shadow); }
.hero__slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__inner { position: absolute; inset: -6% 0; will-change: transform; }
.slide video, .slide__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__poster { transition: opacity .8s; }
.slide.is-playing .slide__poster { opacity: 0; }
.slide.is-active .slide__inner { animation: kenburns 14s linear both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%); }
.hero__controls { position: absolute; z-index: 3; left: 20px; bottom: 22px; display: flex; gap: 10px; }
.hero__controls .ctrl { color: #fff; background: rgba(0,0,0,.28); border-color: rgba(255,255,255,.22); }
.hero__overlay { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 22px 96px; color: #fff; }
.hero__title { font-size: var(--fs-hero); text-wrap: balance; max-width: 12ch; }
.hero__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); }
.hero__progress span { display: block; height: 100%; width: 0; background: var(--orange); box-shadow: 0 0 10px var(--orange); }
.hero__bar { width: min(100% - 2 * var(--gutter), 1600px); margin: 22px auto 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(14px, 2.4vw, 48px); }
.hero__bar .hero__nav { justify-self: end; }
.hero__meta .eyebrow { margin-bottom: .45rem; }
.hero__work { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 3.2rem); transition: opacity .4s; }
.hero__nav { display: flex; align-items: center; gap: 12px; }
.hero__dots { display: flex; gap: 8px; padding: 0 6px; }
.hero__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--muted); opacity: .4; transition: width .5s var(--ease), background-color .3s, opacity .3s; }
.hero__dots i.on { width: 28px; background: var(--orange); opacity: 1; box-shadow: 0 0 10px rgba(255,122,26,.7); }
.hero .side-label { top: calc(var(--nav-h) + 30px + 36vh); }

/* ==========================================================================
   CHI SIAMO
   ========================================================================== */
.about { overflow: hidden; }
.about__diag { position: absolute; inset: 0; z-index: -1; background: var(--diag); clip-path: polygon(62% 0, 100% 0, 100% 100%, 38% 100%); opacity: .9; transition: background-color .6s; }
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 3vw, 44px) clamp(24px, 3vw, 48px); margin-top: clamp(28px, 4vw, 56px); }
.feature { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.feature svg { font-size: 34px; color: var(--orange); margin-top: 2px; filter: drop-shadow(0 0 10px rgba(255,122,26,.55)); }
.feature h3 { margin-bottom: .45rem; }
.feature p { grid-column: 2; margin: 0; color: var(--muted); font-size: .95rem; }
.about__visual { margin: 0; perspective: 1400px; }
.about__frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 941 / 1672; max-height: 86vh; margin-inline: auto; box-shadow: var(--shadow), 0 0 0 1px rgba(255,122,26,.25), 0 0 60px -10px rgba(255,122,26,.35); background: #0a0a0f; }
.about__frame .parallax { position: absolute; inset: -8% 0; }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }

/* ==========================================================================
   NASTRO COMPETENZE
   ========================================================================== */
.ticker { overflow: hidden; padding: clamp(18px, 2vw, 30px) 0; border-block: 1px solid var(--line); background: var(--bg-2); transition: background-color .6s; }
.ticker__track { display: flex; width: max-content; animation: ticker 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__run { display: flex; align-items: center; flex: none; }
.ticker span { font: 700 clamp(1.4rem, 1rem + 1.6vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; padding: 0 clamp(14px, 1.4vw, 26px); white-space: nowrap; }
.ticker span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1.2px var(--text); }
.ticker span:nth-child(6n+3) { color: var(--orange); text-shadow: var(--neon); }
.ticker i { font-style: normal; color: var(--orange); font-size: clamp(.9rem, .7rem + .6vw, 1.4rem); text-shadow: var(--neon); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   NUMERI
   ========================================================================== */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 32px); }
.stat { padding: clamp(22px, 2.4vw, 36px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; transition: background-color .6s, border-color .4s; }
.stat::before { content: ''; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,26,.22), transparent 70%); }
.stat__n { font: 700 clamp(3rem, 2rem + 3vw, 5.6rem)/.9 var(--f-display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -.01em; filter: drop-shadow(0 0 16px rgba(255,122,26,calc(var(--glow-a) * .8))); }
.stat__l { font: 600 1.15rem/1.2 var(--f-display); letter-spacing: .06em; text-transform: uppercase; margin-top: .8rem; }
.stat__s { color: var(--muted); font-size: .88rem; margin-top: .3rem; }

/* ==========================================================================
   SERVIZI
   ========================================================================== */
.services__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.services__head { position: sticky; top: 120px; }
.services__list { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); }
.service { padding: clamp(22px, 2vw, 32px); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s, background-color .6s, box-shadow .4s; }
@media (min-width: 600px) { .services__list > .service:nth-child(even) { margin-top: 40px; margin-bottom: -40px; } }
@media (hover: hover) and (pointer: fine) {
  .service:hover { border-color: rgba(255,122,26,.45); box-shadow: 0 0 40px -12px rgba(255,122,26,.45); }
  .service:hover .service__icon { transform: translateY(-3px) rotate(-6deg); }
}
.service__icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.2rem; background: rgba(255,122,26,.12); color: var(--orange); font-size: 28px; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 22px -6px rgba(255,122,26,.6); transition: transform .5s var(--ease); }
.service__icon svg { filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.service h3 { margin-bottom: .5rem; }
.service p { color: var(--muted); margin: 0; font-size: .95rem; }
.tags, .chips { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li, .chips li { font: 600 .7rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; color: var(--orange); background: rgba(255,122,26,.1); border: 1px solid rgba(255,122,26,.25); text-shadow: 0 0 8px rgba(255,122,26,calc(var(--glow-a) * .7)); }
.chips li { font-size: .78rem; padding: 9px 13px; }

/* ==========================================================================
   REEL
   ========================================================================== */
.work__head { display: flex; justify-content: space-between; align-items: end; gap: 24px 60px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 64px); }
.work__head > div { max-width: 640px; }
.work__head .lead { margin-bottom: .6em; }
.reels { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.4vw, 24px); width: min(100% - 2 * var(--gutter), 1600px); margin-inline: auto; align-items: start; }
.reel { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); transform: translateZ(0); }
@media (min-width: 1024px) { .reels > .reel:nth-child(odd) { margin-top: 70px; } }
.reel::before { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); pointer-events: none; transition: box-shadow .4s; }
@media (hover: hover) and (pointer: fine) { .reel:hover::before { box-shadow: inset 0 0 0 1px rgba(255,122,26,.6), 0 0 40px rgba(255,122,26,.35); } }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel img { transition: opacity .6s; }
.reel__info { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2; padding: 12px 14px; border-radius: 18px; color: #fff; background: rgba(10,10,14,.35); border: 1px solid rgba(255,255,255,.18); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); }
.reel__info h3 { font-size: 1.1rem; }
.reel__info p { margin: 2px 0 0; font-size: .74rem; opacity: .8; }

/* ==========================================================================
   BANNER ROMA (HUD futuristico)
   ========================================================================== */
.orbit__frame { position: relative; height: clamp(320px, 52vh, 560px); border-radius: var(--radius); overflow: hidden; isolation: isolate; background: #000; box-shadow: var(--shadow), 0 0 0 1px rgba(255,122,26,.22), 0 0 80px -20px rgba(255,122,26,.45); }
.orbit__media { position: absolute; inset: -12% 0; z-index: 0; }
.orbit__media video, .orbit__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.orbit__frame::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 30% 50%, rgba(0,0,0,.2), rgba(0,0,0,.6)); pointer-events: none; }
.orbit__grid { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .22; background-image: linear-gradient(rgba(255,122,26,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,122,26,.5) 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%); }
.orbit__scan { position: absolute; left: 0; right: 0; height: 30%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent, rgba(255,122,26,.16), transparent); animation: scan 5s linear infinite; }
@keyframes scan { from { top: -30%; } to { top: 100%; } }
.orbit__hud { position: absolute; z-index: 4; font: 600 .74rem/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.8); display: flex; align-items: center; gap: 8px; }
.orbit__hud b { color: var(--orange); font-weight: 700; text-shadow: var(--neon); font-variant-numeric: tabular-nums; }
.orbit__hud--tl { top: 24px; left: 52px; } .orbit__hud--tr { top: 24px; right: 52px; }
.orbit__hud--bl { bottom: 24px; left: 52px; } .orbit__hud--br { bottom: 24px; right: 52px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 10px #ff3b30; animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.orbit__text { position: absolute; z-index: 5; left: clamp(20px, 5vw, 72px); top: 50%; transform: translateY(-50%); max-width: min(560px, 80%); padding: clamp(18px, 2.2vw, 30px); border-radius: 22px; color: #fff; background: rgba(10,10,16,.38); border-color: rgba(255,255,255,.16); }
.orbit__title { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.4rem); text-wrap: balance; }
.words .w { display: inline-block; opacity: .2; transition: opacity .5s, text-shadow .5s; }
.words .w.on { opacity: 1; }
.words .w.on:last-child { color: var(--orange); text-shadow: var(--neon); }

/* ==========================================================================
   SITI WEB: GALLERIA 3D
   ========================================================================== */
.carousel3d { position: relative; --card-w: clamp(260px, 34vw, 560px); --card-h: calc(var(--card-w) * .625); height: calc(var(--card-h) * 1.7); overflow: hidden; touch-action: pan-y; cursor: grab; }
.carousel3d.dragging { cursor: grabbing; }
.carousel3d__stage { position: absolute; inset: 0; perspective: 1800px; perspective-origin: 50% 40%; }
.carousel3d__ring { position: absolute; left: 50%; top: 38%; width: var(--card-w); height: var(--card-h); margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2); transform-style: preserve-3d; will-change: transform; }
.ring__card { position: absolute; inset: 0; margin: 0; border-radius: 18px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,122,26,.25); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 40px -10px rgba(255,122,26,.35); backface-visibility: hidden; transition: filter .5s, border-color .5s; -webkit-box-reflect: below 14px linear-gradient(transparent 60%, rgba(255,255,255,.18)); }
.ring__card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ring__card.is-front { border-color: rgba(255,122,26,.8); box-shadow: 0 30px 70px -20px rgba(0,0,0,.6), 0 0 60px -6px rgba(255,122,26,.6); }
.ring__card:not(.is-front) { filter: brightness(.55) saturate(.8); }
.carousel3d__floor { position: absolute; left: 10%; right: 10%; bottom: 14%; height: 40%; background: radial-gradient(ellipse at center, rgba(255,122,26,.25), transparent 65%); filter: blur(30px); pointer-events: none; }
.carousel3d__ui { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; gap: 18px; }
.carousel3d__label { min-width: 220px; text-align: center; display: grid; gap: 4px; }
.carousel3d__label b { font: 700 1.5rem/1 var(--f-display); }
.carousel3d__label span { font: 600 .74rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); text-shadow: var(--neon); }

/* ==========================================================================
   DIETRO LE QUINTE: GALLERY OLOGRAFICA
   ========================================================================== */
.holo__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); perspective: 1600px; }
.holo__col { display: grid; gap: clamp(10px, 1.2vw, 18px); align-content: start; will-change: transform; }
.holo__tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4.4; background: var(--surface); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .5s; box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); }
.holo__tile--wide { aspect-ratio: 3 / 2.2; }
.holo__tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) contrast(1.05); }
.holo__tile::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.holo__tile::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .5s; }
.holo__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,170,90,.32), transparent 45%); opacity: 0; transition: opacity .4s; }
.holo__label { position: absolute; z-index: 4; left: 10px; bottom: 10px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-radius: 99px; background: rgba(8,8,12,.5); border: 1px solid rgba(255,122,26,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 .66rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.holo__label i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.holo__idx { position: absolute; z-index: 4; top: 10px; right: 12px; font: 700 .7rem/1 var(--f-display); letter-spacing: .2em; color: rgba(255,255,255,.75); text-shadow: 0 0 6px rgba(0,0,0,.8); }
@media (hover: hover) and (pointer: fine) {
  .holo__tile:hover { box-shadow: 0 30px 70px -20px rgba(0,0,0,.7), 0 0 50px -8px rgba(255,122,26,.55); }
  .holo__tile:hover::after { box-shadow: inset 0 0 0 1px rgba(255,122,26,.75); }
  .holo__tile:hover img { transform: scale(1.12); filter: saturate(1.1) contrast(1.08); }
  .holo__tile:hover .holo__shine { opacity: 1; }
}

/* ==========================================================================
   SETTORI
   ========================================================================== */
.sectors__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); margin-top: clamp(24px, 3vw, 48px); }
.sector { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(360px, 36vw, 580px); color: #fff; isolation: isolate; }
.sector .parallax { position: absolute; inset: -14% 0; z-index: -2; }
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sector::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.75)); }
@media (hover: hover) and (pointer: fine) { .sector:hover img { transform: scale(1.06); } }
.sector__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2vw, 32px); display: flex; align-items: end; gap: 14px; }
.sector__body svg { font-size: 30px; color: var(--orange); filter: drop-shadow(0 0 10px rgba(255,122,26,.7)); }
.sector__body h3 { font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.8rem); font-weight: 700; }
.sector__body p { margin: .3rem 0 0; opacity: .85; font-size: .92rem; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 90px); align-items: start; }
.team__duo { margin: 8px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; position: relative; }
.team__duo .parallax { position: absolute; inset: -14% 0; }
.team__duo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.team__people { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.person { margin: 0; }
.person:nth-child(2) { margin-top: 90px; }
.person__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); box-shadow: 0 0 0 1px rgba(255,122,26,.2); }
.person__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
@media (hover: hover) and (pointer: fine) { .person:hover img { transform: scale(1.05); } }
.person figcaption { padding: 16px 4px 0; }
.person h3 { font-size: 1.6rem; }
.person p { margin: .35rem 0 0; color: var(--orange); font: 600 .78rem/1.45 var(--f-display); letter-spacing: .12em; text-transform: uppercase; text-shadow: 0 0 10px rgba(255,122,26,calc(var(--glow-a) * .7)); }

/* ==========================================================================
   SHOP DEMO
   ========================================================================== */
.shop__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.shop__head .h2--mega { margin-bottom: 0; }
.shop__head .h2--mega .w:last-child > span { color: var(--orange); text-shadow: 0 0 24px rgba(255,122,26,calc(var(--glow-a) * .9)), 0 0 60px rgba(255,122,26,calc(var(--glow-a) * .45)); }
.shop__head .h2--mega .w:last-child { overflow: visible; }
.demo-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px dashed rgba(255,122,26,.5); color: var(--orange); font: 600 .74rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(16px, 2vw, 28px); position: sticky; top: calc(var(--nav-h) + 22px); z-index: 20; }
.filters { display: flex; gap: 6px; padding: 5px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--glass-inset); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 40px; padding: 0 16px; border-radius: 99px; font: 600 .82rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .3s, background-color .4s var(--ease), box-shadow .4s; }
.filters button[aria-selected="true"] { background: var(--orange); color: #fff; box-shadow: 0 0 20px rgba(255,122,26,.5), inset 0 1px 0 rgba(255,255,255,.3); }
.shop__count { font: 600 .8rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; padding: 8px 12px; border-radius: 99px; background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.shop__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 22px); }
.product { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--shop-bg); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background-color .6s; }
.product.is-hidden { display: none; }
.product.pop { animation: pop .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 50ms); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.94); } }
@media (hover: hover) and (pointer: fine) { .product:hover { transform: translateY(-6px); border-color: rgba(255,122,26,.45); box-shadow: 0 0 40px -12px rgba(255,122,26,.5); } .product:hover .product__img img { transform: scale(1.06); } }
.product__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #fff; }
.product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); pointer-events: none; }
.product__new { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 99px; background: var(--orange); color: #fff; font: 700 .66rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 0 14px rgba(255,122,26,.6); }
.product__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__top { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.product__cat { font: 600 .68rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.product__body h3 { font-size: 1.25rem; margin-top: 4px; }
.product__price { font: 700 1.3rem/1 var(--f-display); color: var(--orange); text-shadow: 0 0 10px rgba(255,122,26,calc(var(--glow-a) * .8)); white-space: nowrap; }
.product__color { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.product__color i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 2px var(--shop-bg), 0 0 0 3px rgba(255,122,26,.5); }
.sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sizes button { min-width: 40px; min-height: 36px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); font: 600 .8rem/1 var(--f-display); letter-spacing: .08em; transition: border-color .3s, background-color .3s, color .3s; }
.sizes button[aria-pressed="true"] { border-color: var(--orange); background: rgba(255,122,26,.14); color: var(--orange); }
.product__add { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border-radius: 99px; background: var(--text); color: var(--bg); font: 600 .8rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s, color .3s, box-shadow .3s; }
.product__add:hover { background: var(--orange); color: #fff; box-shadow: 0 0 24px rgba(255,122,26,.5); }
.product__add.added { background: var(--orange); color: #fff; }

/* Carrello */
.cart { position: fixed; inset: 0; z-index: 95; }
.cart__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .35s var(--ease); }
.cart__panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(440px, calc(100% - 24px)); border-radius: 26px; display: flex; flex-direction: column; background: var(--glass-strong); animation: slideIn .5s var(--ease); overflow: hidden; }
@keyframes slideIn { from { transform: translateX(105%); } }
@keyframes fade { from { opacity: 0; } }
.cart__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 12px 22px; border-bottom: 1px solid var(--line); }
.cart__head h2 { font: 700 1.6rem/1 var(--f-display); margin: 0; }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 18px; overscroll-behavior: contain; }
.cart__empty { text-align: center; color: var(--muted); padding: 48px 12px; }
.cart__empty svg { font-size: 42px; color: var(--orange); margin: 0 auto 12px; filter: drop-shadow(0 0 10px rgba(255,122,26,.6)); }
.cart-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 64px; height: 80px; object-fit: cover; border-radius: 10px; background: #fff; }
.cart-item h4 { margin: 0; font: 600 1.05rem/1.1 var(--f-display); }
.cart-item p { margin: 3px 0 0; font-size: .78rem; color: var(--muted); }
.cart-item__price { font: 700 1.05rem/1 var(--f-display); color: var(--orange); text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 2px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem; }
.qty button:hover { background: rgba(255,122,26,.14); color: var(--orange); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart__foot { padding: 16px 18px calc(18px + var(--safe-b)); border-top: 1px solid var(--line); display: grid; gap: 10px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; font: 600 1rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.cart__total b { font-size: 1.8rem; color: var(--orange); text-shadow: var(--neon); letter-spacing: 0; }
.cart__clear { font-size: .82rem; color: var(--muted); padding: 6px; }
.cart__clear:hover { color: var(--orange); }
.cart__note { margin: 0; font-size: .74rem; color: var(--muted); text-align: center; }
.cart.is-empty #cartOrder { opacity: .4; pointer-events: none; }

.toast { position: fixed; z-index: 96; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 12px 18px; border-radius: 99px; background: var(--orange); color: #fff; font: 600 .86rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 10px 30px -8px rgba(255,122,26,.8); transition: opacity .35s, transform .45s var(--ease); display: flex; align-items: center; gap: 8px; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ==========================================================================
   CONTATTI E FOOTER
   ========================================================================== */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 110px); align-items: center; }
.contact__links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--glass-border); background: var(--glass); font-weight: 500; }
.contact__links svg { color: var(--orange); font-size: 1.2rem; filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.form { padding: clamp(22px, 3vw, 40px); border-radius: var(--radius); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font: 600 .78rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--text); width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, box-shadow .3s, background-color .6s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255,122,26,.18), 0 0 20px rgba(255,122,26,.2); }
.field.is-error input, .field.is-error textarea { border-color: #ff4d4d; }
.form__note { margin: 0; font-size: .88rem; color: var(--muted); min-height: 1.3em; }
.footer { background: #07080B; color: #F5F5F7; padding: 56px 0 calc(40px + var(--safe-b)); border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.footer__logo { width: 130px; height: auto; border-radius: 12px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; font: 600 .9rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.footer__nav a { color: #8A8F98; padding: 10px 0; transition: color .3s; }
.footer__nav a:hover { color: var(--orange); }
.footer__copy { margin: 0; color: #8A8F98; font-size: .85rem; line-height: 1.7; text-align: right; }
.footer__copy a { color: var(--orange); }

/* ==========================================================================
   ANIMAZIONI IMMERSIVE ALLO SCROLL
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .reveal-mask { clip-path: inset(18% 8% 18% 8% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js .reveal-mask.in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js .split .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js .split.in .w > span { transform: none; }

/* figli in sequenza: varianti */
.js [data-anim] > * { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-anim="up"] > * { transform: translateY(60px); }
.js [data-anim="rise"] > * { transform: translateY(90px) scale(.94); }
.js [data-anim="left"] > * { transform: translateX(-50px); }
.js [data-anim="zoom"] > * { transform: scale(.82); filter: blur(8px); }
.js [data-anim="tilt"] > * { transform: perspective(900px) rotateX(28deg) translateY(50px); transform-origin: 50% 100%; }
.js [data-anim="blur"] { opacity: 0; filter: blur(14px); transform: translateY(20px); transition: opacity 1.2s var(--ease), filter 1.2s var(--ease), transform 1.2s var(--ease); }
.js [data-anim="blur"] > * { opacity: 1; }
.js [data-anim].in > *, .js [data-anim="blur"].in { opacity: 1; transform: none; filter: none; }
.js form[data-anim] > * { opacity: 1; transform: none; filter: none; }
.js form[data-anim="zoom"] { opacity: 0; transform: scale(.92); filter: blur(8px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.js form[data-anim="zoom"].in { opacity: 1; transform: none; filter: none; }
.js .services__list.in > .service:nth-child(even) { transform: none; }

/* effetti legati alla posizione di scroll (--p da 0 a 1) */
.scrub { --p: 1; }
.js [data-scrub="tilt"] .about__frame { transform: rotateY(calc((1 - var(--p)) * -18deg)) rotateX(calc((1 - var(--p)) * 8deg)) scale(calc(.86 + var(--p) * .14)); opacity: calc(.3 + var(--p) * .7); }
.js [data-scrub="zoom"] { transform: scale(calc(.88 + var(--p) * .12)); opacity: calc(.4 + var(--p) * .6); }
.js [data-scrub="rise"] .carousel3d__stage { transform: translateY(calc((1 - var(--p)) * 80px)) rotateX(calc((1 - var(--p)) * 18deg)); opacity: calc(.3 + var(--p) * .7); }
.parallax { will-change: transform; }

/* ==========================================================================
   FASCE DI SCHERMO
   ========================================================================== */
@media (min-width: 1920px) {
  :root { --wrap: 1600px; --nav-h: 72px; }
  .nav__bar { width: min(100%, 1400px); }
  .nav__links a { padding: 0 20px; font-size: .95rem; }
  .hero__frame { width: min(100% - 2 * var(--gutter), 1840px); height: min(76vh, 1040px); }
  .hero__bar, .reels { width: min(100% - 2 * var(--gutter), 1840px); }
  .lead { max-width: 64ch; }
  .shop__grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 1024px) { .hero__overlay { display: none; } }
@media (min-width: 1280px) { .dots { display: flex; } .side-label { display: flex; } }
@media (min-width: 1024px) and (max-width: 1279px) {
  .reels { grid-template-columns: repeat(3, 1fr); width: min(100% - 2 * var(--gutter), 900px); }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  :root { --wrap: 1180px; }
  .nav__links a { padding: 0 12px; font-size: .82rem; }
  .nav__word { display: none; }
}

/* Sotto 1024: tablet e smartphone */
@media (max-width: 1023px) {
  :root { --nav-h: 58px; }
  html { scroll-padding-top: 80px; }
  .nav__links { display: none; }
  .nav__bar { width: auto; gap: 10px; padding: 0 6px 0 8px; }
  .tabbar { display: flex; max-width: 560px; margin-inline: auto; }
  body { padding-bottom: calc(86px + var(--safe-b)); }
  .glow { display: none; }

  .hero { padding-top: 0; }
  .hero__frame { width: 100%; height: 100vh; height: 100svh; border-radius: 0 0 var(--radius) var(--radius); }
  .hero__controls { left: auto; right: 16px; bottom: 96px; flex-direction: column; }
  .hero__overlay { padding-bottom: 104px; }
  .hero__bar { grid-template-columns: 1fr auto; gap: 14px 18px; margin-top: 18px; }
  .hero__meta { grid-column: 1 / -1; }
  #heroWa { justify-self: start; }
  .hero__nav { justify-self: end; }

  .about__grid, .services__grid, .team__grid, .contact__grid, .shop__head { grid-template-columns: 1fr; }
  .about__diag { clip-path: polygon(0 55%, 100% 40%, 100% 100%, 0 100%); }
  .about__frame { max-width: 460px; max-height: none; }
  .services__head { position: static; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  .reels { width: 100%; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 10px; scroll-padding-inline: var(--gutter); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 clamp(220px, 42vw, 340px); scroll-snap-align: start; }

  .orbit__hud--tr, .orbit__hud--br { display: none; }
  .orbit__frame { height: clamp(360px, 60vh, 520px); }
  .orbit__text { left: 16px; right: 16px; top: auto; bottom: 56px; transform: none; max-width: none; }
  .orbit__hud--bl { bottom: auto; top: 48px; left: 22px; }
  .orbit__hud--tl { left: 22px; }
  .words .w { opacity: 1; }

  .carousel3d { --card-w: clamp(240px, 62vw, 460px); }
  .holo__grid { grid-template-columns: repeat(2, 1fr); }
  .sectors__grid { grid-template-columns: 1fr 1fr; }
  .shop__grid { grid-template-columns: repeat(3, 1fr); }
  .person:nth-child(2) { margin-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer__copy { text-align: center; }
  .shop__bar { top: calc(10px + var(--safe-t) + 54px + 10px); }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: landscape) { .hero__frame { height: 86svh; } }

/* Smartphone <600 */
@media (max-width: 599px) {
  :root { --radius: 22px; }
  .nav { top: calc(10px + var(--safe-t)); justify-content: space-between; }
  .nav__bar { width: 100%; height: 54px; }
  .nav__logo img { height: 36px; width: 36px; border-radius: 10px; }
  .theme-switch { width: 64px; height: 38px; }
  .theme-switch__knob { width: 30px; height: 30px; transform: translateX(26px); }
  .hero__title { font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero__bar { grid-template-columns: 1fr; }
  #heroWa { width: 100%; justify-content: center; }
  .hero__bar .hero__nav { justify-self: stretch; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
  .hero__work { font-size: 1.9rem; }

  .features { grid-template-columns: 1fr; gap: 24px; }
  .feature svg { font-size: 30px; }
  .stats__grid { gap: 10px; }
  .stat { padding: 20px 18px; }
  .stat__l { font-size: 1rem; }
  .stat__s { display: none; }

  .services__list { grid-template-columns: 1fr; gap: 10px; }
  .service { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 18px; }
  .service__icon { grid-row: span 2; width: 48px; height: 48px; font-size: 24px; border-radius: 15px; margin: 0; }
  .service h3 { font-size: 1.25rem; margin-bottom: .2rem; }
  .service p { font-size: .9rem; }
  .service .tags { grid-column: 2; margin-top: .7rem; }
  .tags li { font-size: .64rem; padding: 6px 8px; }
  .reel { flex-basis: 70vw; }

  .orbit__hud { font-size: .64rem; }
  .orbit__title { font-size: 1.7rem; }
  .carousel3d { --card-w: 74vw; }
  .carousel3d__label { min-width: 0; }
  .carousel3d__label b { font-size: 1.2rem; }
  .holo__label { font-size: .58rem; padding: 6px 8px; }

  .sectors__grid { grid-template-columns: 1fr; }
  .sector { min-height: 300px; }
  .team__people { gap: 10px; }
  .person:nth-child(2) { margin-top: 32px; }
  .person h3 { font-size: 1.3rem; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product__body { padding: 12px; gap: 8px; }
  .product__top { flex-direction: column; gap: 4px; }
  .product__body h3 { font-size: 1.05rem; }
  .product__price { font-size: 1.15rem; }
  .sizes button { min-width: 34px; min-height: 34px; padding: 0 6px; font-size: .74rem; }
  .shop__bar { flex-direction: column; align-items: stretch; gap: 8px; }
  .shop__count { align-self: flex-end; }
  .cart__panel { top: auto; left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 86vh; animation-name: sheetUp; }
  .contact__links a { flex: 1 1 100%; justify-content: center; }
}
@keyframes sheetUp { from { transform: translateY(105%); } }

@media (min-width: 1024px) and (max-height: 760px) { .hero__frame { height: calc(100vh - var(--nav-h) - 170px); min-height: 380px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js [data-anim] > *, .js [data-anim="blur"], .js form[data-anim], .js .split .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .reveal-mask { clip-path: none !important; }
  .js [data-scrub] .about__frame, .js [data-scrub="zoom"], .js [data-scrub="rise"] .carousel3d__stage { transform: none !important; opacity: 1 !important; }
  .words .w { opacity: 1; }
}

/* ==========================================================================
   PAGINE GALLERIA (video.html · foto.html)
   ========================================================================== */
.gpage { padding-top: calc(var(--nav-h) + 56px + var(--safe-t)); }
.gpage__hero { position: relative; padding-bottom: clamp(28px, 4vw, 56px); }
.gpage__hero .h2--mega { margin-bottom: .25em; }
.gpage__hero .h2--mega em { display: inline; }
.gpage__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gpage__meta span { padding: 9px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-border); font: 600 .78rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; }
.gpage__meta b { color: var(--orange); text-shadow: var(--neon); }
.gfilters { position: sticky; top: calc(var(--nav-h) + 22px + var(--safe-t)); z-index: 30; margin-bottom: clamp(20px, 3vw, 40px); }
.gfilters .filters { width: max-content; max-width: 100%; }
.gfilters .filters button { display: inline-flex; align-items: center; gap: 8px; }
.gfilters .filters button svg { font-size: 1rem; color: var(--orange); }
.gfilters .filters button[aria-selected="true"] svg { color: #fff; }
.gfilters .filters small { font: 700 .7rem/1 var(--f-text); opacity: .7; }
.gsec { margin-bottom: clamp(48px, 6vw, 96px); scroll-margin-top: calc(var(--nav-h) + 110px); }
.gsec[hidden] { display: none !important; }
.gsec__head { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(16px, 2vw, 26px); }
.gsec__icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; color: var(--orange); background: rgba(255,122,26,.12); box-shadow: 0 0 22px -6px rgba(255,122,26,.6); flex: none; }
.gsec__icon svg { filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.gsec__head h2 { font: 700 clamp(1.7rem, 1.2rem + 1.6vw, 2.8rem)/1 var(--f-display); margin: 0; }
.gsec__head span { font: 600 .74rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); text-shadow: var(--neon); white-space: nowrap; }
.gsec__head::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255,122,26,.5), transparent); }
/* mosaico: le righe vengono calcolate in JS dall'altezza reale di ogni scheda */
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 18vw, 260px), 1fr)); grid-auto-rows: 4px; grid-auto-flow: dense; column-gap: clamp(10px, 1.2vw, 18px); }
.mosaic > * { margin: 0 0 clamp(10px, 1.2vw, 18px); align-self: start; }
.vcard { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); aspect-ratio: 9 / 16; -webkit-touch-callout: none; user-select: none; }
.vcard--h { grid-column: span 2; aspect-ratio: 16 / 9; }
.vcard img, .vcard video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vcard img { transition: opacity .6s; }
.vcard.is-playing img { opacity: 0; }
.vcard::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
@media (hover: hover) and (pointer: fine) { .vcard:hover::after, .pcard:hover::after { box-shadow: inset 0 0 0 1px rgba(255,122,26,.7), 0 0 40px rgba(255,122,26,.35); } }
.vcard__info { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; padding: 11px 13px; border-radius: 16px; color: #fff; background: rgba(10,10,14,.38); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.vcard__info b { display: block; font: 600 1.08rem/1.1 var(--f-display); }
.vcard__info span { display: block; margin-top: 3px; font-size: .74rem; opacity: .8; }
.vcard__live { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; background: rgba(8,8,12,.45); font: 700 .62rem/1 var(--f-display); letter-spacing: .16em; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.vcard__live i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 8px var(--orange); }
.vcard.is-playing .vcard__live i { animation: blink 1.2s steps(2) infinite; }
.pcard { position: relative; border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: 0 18px 44px -24px rgba(0,0,0,.7); transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .5s; -webkit-touch-callout: none; user-select: none; }
.pcard img { width: 100%; height: auto; display: block; pointer-events: none; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; }
.pcard::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.pcard::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
@media (hover: hover) and (pointer: fine) { .pcard:hover img { transform: scale(1.1); } .pcard:hover .holo__shine { opacity: 1; } }
.js .gcard { opacity: 0; transform: translateY(50px) scale(.95); transition: opacity .8s var(--ease), transform 1s var(--ease); }
.js .gcard.in { opacity: 1; transform: none; }
.gcta { margin: clamp(20px, 4vw, 60px) 0 var(--sec); padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.gcta h2 { font: 700 clamp(1.8rem, 1.2rem + 2vw, 3.2rem)/1 var(--f-display); margin: 0 0 .4rem; }
.gcta p { margin: 0; color: var(--muted); }
.nav__links a.is-page { color: #fff; }

/* YouTube Shorts (pagina video): anteprima, il player si carica solo al clic */
.yts { margin-top: clamp(40px, 6vw, 90px); }
.yts__title { font: 700 clamp(1.8rem, 1.2rem + 2vw, 3.2rem)/1 var(--f-display); margin: 0 0 .6rem; }
.yts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(45%, 200px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.yts__grid h3 { margin: .7rem 0 0; font: 600 .95rem/1.3 var(--f-text); color: var(--text); }
.yts__item, .yts__frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: var(--radius-s); overflow: hidden; background: #000; }
.yts__item { cursor: pointer; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.yts__item:hover, .yts__item:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255,122,26,.5), 0 0 40px -12px rgba(255,122,26,.6); }
.yts__item img { width: 100%; height: 100%; object-fit: cover; }
.yts__play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font-size: 1.4rem; box-shadow: 0 10px 30px -8px rgba(255,122,26,.8); }
.yts__play svg { width: 1em; height: 1em; }
.yts__note { margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); }
.yts__note a { color: var(--orange); }

/* Link "vedi tutto" nelle sezioni della home */
.more { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(28px, 4vw, 52px); }
.sector { cursor: pointer; }
.sector__more { position: absolute; z-index: 2; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,14,.4); border: 1px solid rgba(255,255,255,.2); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .3s, transform .4s var(--ease); }
.sector:hover .sector__more { background: var(--orange); transform: rotate(-45deg); }

/* Muro di siti (sezione Siti web) */
.sitewall { position: relative; height: clamp(260px, 34vw, 480px); overflow: hidden; border-radius: var(--radius); margin-bottom: clamp(24px, 4vw, 56px); perspective: 1400px; background: #050608; isolation: isolate; box-shadow: 0 0 0 1px rgba(255,122,26,.18), 0 0 70px -24px rgba(255,122,26,.5); }
.sitewall__plane { position: absolute; left: 50%; top: 50%; width: 200%; display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; transform: translate(-50%, -50%) rotateX(32deg) rotateZ(-14deg); transform-style: preserve-3d; }
.sitewall__row { display: contents; }
.sitewall__tile { aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); animation: wallFloat 9s ease-in-out infinite; animation-delay: calc(var(--d) * -1s); }
.sitewall__tile img { width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.sitewall__tile:nth-child(3n) { filter: brightness(.7); }
@keyframes wallFloat { 50% { transform: translateZ(26px); } }
.sitewall::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(80% 90% at 50% 50%, transparent 30%, rgba(5,6,8,.85) 100%), linear-gradient(0deg, rgba(5,6,8,.75), transparent 45%); pointer-events: none; }
.sitewall__label { position: absolute; z-index: 2; left: clamp(18px, 3vw, 40px); bottom: clamp(18px, 3vw, 36px); color: #fff; }
.sitewall__label b { display: block; font: 700 clamp(1.6rem, 1rem + 2vw, 3rem)/1 var(--f-display); }
.sitewall__label span { font: 600 .76rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); text-shadow: var(--neon); }

@media (max-width: 1023px) {
  .gpage { padding-top: calc(var(--nav-h) + 34px + var(--safe-t)); }
  .gfilters { top: calc(10px + var(--safe-t) + 54px + 8px); }
  .gcta { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .vcard__info b { font-size: .95rem; }
  .vcard__info span { font-size: .68rem; }
  .gsec__head { gap: 10px; }
  .gsec__icon { width: 40px; height: 40px; font-size: 20px; border-radius: 12px; }
  .sitewall__plane { width: 300%; }
}
@media (prefers-reduced-motion: reduce) { .js .gcard { opacity: 1 !important; transform: none !important; } }

/* ==========================================================================
   TENDINA SERVIZI (menu)
   ========================================================================== */
.nav__drop { position: static; display: flex; }
.nav__links .drop__toggle { display: inline-flex; align-items: center; gap: 6px; }
.drop__chev { font-size: .85em; transition: transform .4s var(--ease); }
.nav__drop:hover .drop__chev, .nav__drop:focus-within .drop__chev, .nav__drop.open .drop__chev { transform: rotate(180deg); color: var(--orange); }
.drop__panel {
  position: absolute; z-index: 60; top: calc(100% + 18px); left: 50%;
  width: min(640px, 92vw); padding: 10px; border-radius: 26px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--glass-strong);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translate(-50%, 12px) scale(.97); transform-origin: 50% 0;
  transition: opacity .3s var(--ease), transform .45s var(--ease), visibility .3s;
  box-shadow: var(--glass-inset), var(--shadow), 0 0 50px -16px rgba(255,122,26,.45);
}
.drop__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.nav__drop:hover .drop__panel, .nav__drop:focus-within .drop__panel, .nav__drop.open .drop__panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); }
.nav__links .drop__item {
  display: flex; align-items: center; gap: 12px; height: auto; padding: 10px 12px; border-radius: 16px;
  font: 400 .9rem/1.3 var(--f-text); letter-spacing: 0; text-transform: none; color: var(--text);
  opacity: 0; transform: translateY(8px); transition: background-color .3s, transform .5s var(--ease), opacity .4s;
}
.nav__drop:hover .drop__item, .nav__drop:focus-within .drop__item, .nav__drop.open .drop__item { opacity: 1; transform: none; }
.nav__drop .drop__item:nth-child(2) { transition-delay: 30ms; } .nav__drop .drop__item:nth-child(3) { transition-delay: 60ms; }
.nav__drop .drop__item:nth-child(4) { transition-delay: 90ms; } .nav__drop .drop__item:nth-child(5) { transition-delay: 120ms; }
.nav__drop .drop__item:nth-child(6) { transition-delay: 150ms; } .nav__drop .drop__item:nth-child(7) { transition-delay: 180ms; }
.nav__links .drop__item:hover, .nav__links .drop__item:focus-visible { background: rgba(255,122,26,.12); color: var(--text); }
.drop__icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; font-size: 21px; color: var(--orange); background: rgba(255,122,26,.12); box-shadow: 0 0 18px -6px rgba(255,122,26,.6); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.drop__icon svg { filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.drop__item:hover .drop__icon { transform: rotate(-8deg) scale(1.06); background: var(--orange); color: #fff; }
.drop__item b { display: block; font: 600 1.05rem/1.1 var(--f-display); letter-spacing: .06em; text-transform: uppercase; }
.drop__item small { display: block; margin-top: 2px; font-size: .78rem; color: var(--muted); }
.nav__links .drop__all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; margin-top: 4px; border-radius: 16px; border: 1px solid var(--line); color: var(--orange); font: 600 .82rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; text-shadow: var(--neon); }
.nav__links .drop__all:hover { border-color: rgba(255,122,26,.5); color: var(--orange); }

/* Stessi settori nella sezione Servizi (visibili anche su mobile) */
.svc-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6rem; }
.svc-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(255,122,26,.3); background: rgba(255,122,26,.08); font: 600 .8rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; transition: background-color .3s, border-color .3s, transform .4s var(--ease); }
.svc-links a svg { font-size: 1.05rem; color: var(--orange); filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.svc-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.svc-links a:hover svg { color: #fff; }
@media (prefers-reduced-motion: reduce) { .nav__links .drop__item { opacity: 1; transform: none; } }
.drop__panel { background: rgba(12,14,20,.92); }
[data-theme="light"] .drop__panel { background: rgba(255,255,255,.95); }

/* ==========================================================================
   TORNA SU · COOKIE · FOOTER SOCIAL
   ========================================================================== */
/* Torna su: a sinistra, cerchio con freccia (l'anello mostra quanto hai scorso) + scritta */
.totop {
  position: fixed; z-index: 55; left: clamp(16px, 2vw, 32px); bottom: calc(24px + var(--safe-b));
  height: 56px; padding: 0 20px 0 0; border-radius: 99px; display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%);
  box-shadow: var(--glass-inset), 0 14px 34px -12px rgba(0,0,0,.6), 0 0 26px -6px rgba(255,122,26,.55);
  color: var(--text);
  opacity: 0; transform: translateY(24px) scale(.8); transform-origin: 0 100%; pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease), box-shadow .4s;
}
.totop.on { opacity: 1; transform: none; pointer-events: auto; }
.totop__ico { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--orange); font-size: 1.45rem; }
.totop__txt { font: 600 .82rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.totop svg { position: relative; z-index: 1; filter: drop-shadow(0 0 6px rgba(255,122,26,.9)) drop-shadow(0 0 14px rgba(255,150,60,.6)); animation: arrowUp 2.2s var(--ease) infinite; }
@keyframes arrowUp { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }
.totop__ring { position: absolute; inset: 2px; border-radius: 50%; padding: 2px; background: conic-gradient(var(--orange) calc(var(--p, 0) * 360deg), rgba(255,122,26,.15) 0); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; filter: drop-shadow(0 0 6px rgba(255,122,26,.8)); }
@media (hover: hover) and (pointer: fine) { .totop:hover { transform: translateY(-4px); box-shadow: var(--glass-inset), 0 18px 40px -12px rgba(0,0,0,.6), 0 0 40px -4px rgba(255,122,26,.8); } }

.cookie {
  position: fixed; z-index: 97; left: clamp(12px, 2vw, 28px); bottom: calc(24px + var(--safe-b));
  width: min(440px, calc(100% - 24px)); padding: 20px 20px 18px; border-radius: 24px;
  background: var(--glass-strong);
  opacity: 0; transform: translateY(30px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.cookie.on { opacity: 1; transform: none; }
.cookie__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cookie__head b { font: 700 1.3rem/1 var(--f-display); letter-spacing: .02em; }
.cookie__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--orange); background: rgba(255,122,26,.12); box-shadow: 0 0 18px -6px rgba(255,122,26,.6); }
.cookie__icon svg { filter: drop-shadow(0 0 6px rgba(255,122,26,.6)); }
.cookie p { margin: 0 0 14px; font-size: .86rem; line-height: 1.6; color: var(--muted); }
.cookie p a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; gap: 8px; }
.cookie__actions .btn { flex: 1; justify-content: center; min-height: 44px; padding: 0 12px; font-size: .82rem; }

.footer { padding: clamp(40px, 5vw, 64px) 0 calc(32px + var(--safe-b)); }
.footer__grid { grid-template-columns: auto 1fr; gap: 28px 48px; align-items: center; }
.footer__social { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.social-tile { display: flex; align-items: center; gap: 14px; min-width: 250px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #F5F5F7; transition: border-color .4s, background-color .4s, transform .5s var(--ease), box-shadow .4s; }
.social-tile__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; background: var(--orange); box-shadow: 0 0 22px -4px rgba(255,122,26,.7); flex: none; }
.social-tile__txt { flex: 1; }
.social-tile b { display: block; font: 700 1.25rem/1 var(--f-display); letter-spacing: .04em; }
.social-tile small { display: block; margin-top: 4px; font-size: .78rem; color: #8A8F98; }
.social-tile__go { color: var(--orange); font-size: 1.1rem; transition: transform .4s var(--ease); }
.social-tile:hover { border-color: rgba(255,122,26,.55); background: rgba(255,122,26,.08); transform: translateY(-3px); box-shadow: 0 0 40px -14px rgba(255,122,26,.7); }
.social-tile:hover .social-tile__go { transform: translateX(4px) rotate(-45deg); }
.footer__bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); }
.footer__copy { text-align: left; font-size: .84rem; color: #8A8F98; }
.footer__copy span { color: var(--orange); }
.footer__legal { display: flex; gap: 18px; font-size: .82rem; }
.footer__legal a { color: #8A8F98; transition: color .3s; }
.footer__legal a:hover { color: var(--orange); }

/* Pagina cookie */
.legal { max-width: 820px; }
.legal h2 { font: 700 clamp(1.5rem, 1.2rem + 1vw, 2.1rem)/1.1 var(--f-display); margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { font: 600 .78rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.legal code { font-size: .85em; padding: 2px 6px; border-radius: 6px; background: var(--surface); }

@media (max-width: 1023px) {
  .totop { bottom: calc(90px + var(--safe-b)); left: 14px; height: 50px; padding-right: 16px; gap: 6px; }
  .totop__ico { width: 48px; height: 48px; font-size: 1.3rem; }
  .totop__txt { font-size: .74rem; }
  .cookie { left: 12px; right: 12px; width: auto; bottom: calc(88px + var(--safe-b)); }
  .footer__grid { grid-template-columns: 1fr; justify-items: center; }
  .footer__social { justify-content: center; }
  .footer__bottom { justify-content: center; text-align: center; }
  .footer__copy { text-align: center; }
}
@media (max-width: 599px) {
  .social-tile { min-width: 0; flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .totop svg { animation: none; } }

/* Claim e motto di Chi siamo */
.about__claim { margin: -.1em 0 1rem; font: 600 clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem)/1.15 var(--f-display); letter-spacing: .01em; color: var(--text); }
.about__claim span { font-size: .9em; filter: drop-shadow(0 0 10px rgba(255,122,26,.5)); }
.about__motto { margin: -.4rem 0 0; font: 600 clamp(1.05rem, .95rem + .4vw, 1.3rem)/1.3 var(--f-display); letter-spacing: .06em; color: var(--orange); text-shadow: var(--neon); animation: neon 3.2s ease-in-out infinite; }
.about__motto b { letter-spacing: .14em; }
.social-tile { text-align: left; }
.footer__legal { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.footer__legal a { white-space: nowrap; }

/* ==========================================================================
   LINGUE (Google Translate)
   ========================================================================== */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; min-width: 44px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(127,127,127,.1); color: var(--text); font: 700 .8rem/1 var(--f-display); letter-spacing: .12em; transition: border-color .3s, background-color .3s; }
.lang__btn svg { width: 17px; height: 17px; color: var(--orange); filter: drop-shadow(0 0 5px rgba(255,122,26,.6)); }
.lang__btn:hover, .lang.open .lang__btn { border-color: rgba(255,122,26,.55); background: rgba(255,122,26,.1); }
.lang__menu {
  position: absolute; z-index: 70; top: calc(100% + 14px); right: 0; width: 220px; margin: 0; padding: 8px; list-style: none;
  border-radius: 22px; background: rgba(12,14,20,.95); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  box-shadow: var(--glass-inset), var(--shadow), 0 0 40px -16px rgba(255,122,26,.5);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.97); transform-origin: 100% 0;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s;
}
[data-theme="light"] .lang__menu { background: rgba(255,255,255,.96); }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { width: 100%; min-height: 46px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 14px; color: var(--text); text-align: left; transition: background-color .25s; }
.lang__menu button:hover, .lang__menu button:focus-visible { background: rgba(255,122,26,.12); }
.lang__menu b { width: 30px; font: 700 .78rem/1 var(--f-display); letter-spacing: .12em; color: var(--orange); }
.lang__menu span { flex: 1; font-size: .92rem; }
.lang__menu svg { width: 16px; height: 16px; color: var(--orange); opacity: 0; }
.lang__menu [aria-selected="true"] { background: rgba(255,122,26,.1); }
.lang__menu [aria-selected="true"] svg { opacity: 1; }
.lang-toast { position: fixed; z-index: 98; left: 50%; top: 90px; transform: translateX(-50%); padding: 10px 16px; border-radius: 99px; background: var(--surface-2); color: var(--text); font-size: .85rem; box-shadow: var(--shadow); }

/* interfaccia di Google Translate: nascosta, il selettore è il nostro */
.gt-host { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
iframe.skiptranslate, .skiptranslate > iframe, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip,
.VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-l4eHX-hSRGPd { display: none !important; visibility: hidden !important; }
html, body { top: 0 !important; }
.goog-text-highlight, .VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; }

/* testi tradotti: spesso più lunghi dell'italiano */
[data-lang]:not([data-lang="it"]) .h2, [data-lang]:not([data-lang="it"]) h3, [data-lang]:not([data-lang="it"]) .hero__title { overflow-wrap: anywhere; hyphens: auto; }
[data-lang]:not([data-lang="it"]) .btn { white-space: normal; text-align: center; line-height: 1.15; padding-block: 10px; }
[data-lang]:not([data-lang="it"]) .tabbar span, [data-lang]:not([data-lang="it"]) .drop__item small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-lang]:not([data-lang="it"]) .tabbar a { min-width: 0; padding: 0 2px; }
[data-lang]:not([data-lang="it"]) .nav__links a { letter-spacing: .1em; white-space: nowrap; }
[data-lang]:not([data-lang="it"]) .stat__l, [data-lang]:not([data-lang="it"]) .tags li, [data-lang]:not([data-lang="it"]) .chips li { overflow-wrap: anywhere; }
[data-lang="ru"] { --f-display: 'Roboto Condensed', 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif; }
[data-lang="zh-CN"] { --f-display: system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
[data-lang="zh-CN"] .h2, [data-lang="zh-CN"] h3, [data-lang="zh-CN"] .hero__title, [data-lang="zh-CN"] .nav__links a, [data-lang="zh-CN"] .btn { letter-spacing: 0; text-transform: none; }
@media (min-width: 1024px) and (max-width: 1439px) {
  [data-lang]:not([data-lang="it"]) .nav__links a { padding: 0 9px; font-size: .76rem; letter-spacing: .07em; }
  [data-lang]:not([data-lang="it"]) .nav__bar { gap: 10px; }
}
@media (min-width: 1440px) { [data-lang]:not([data-lang="it"]) .nav__links a { padding: 0 13px; } }
@media (max-width: 1023px) {
  .lang__btn { height: 38px; padding: 0 9px; }
  .lang__btn b { font-size: .74rem; }
}
@media (max-width: 599px) {
  .nav__tools { gap: 4px; }
  .lang__btn { padding: 0 8px; gap: 4px; }
  .lang__menu { position: fixed; top: calc(70px + var(--safe-t)); right: 12px; width: min(260px, calc(100vw - 24px)); }
}
@media (max-width: 380px) { .nav__word { display: none; } }

/* ================= SITI WEB: GALLERIA SITI REALIZZATI ================= */
.sites { position: relative; }
.sites__track { --card: min(880px, 72vw); list-style: none; margin: 0; padding: 10px calc((100% - var(--card)) / 2) 34px; display: flex; gap: clamp(16px, 2.4vw, 40px); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.sites__track::-webkit-scrollbar { display: none; }
.sites__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.sites__track.is-dragging .site__link { pointer-events: none; }
.site { flex: 0 0 var(--card); scroll-snap-align: center; transform: scale(.9); opacity: .45; filter: saturate(.7); transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease); }
.site.is-active { transform: none; opacity: 1; filter: none; }
.site__link { display: block; color: inherit; text-decoration: none; -webkit-user-drag: none; }
.site__frame { border-radius: 20px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,122,26,.22); box-shadow: 0 34px 70px -34px rgba(0,0,0,.7); transition: border-color .6s, box-shadow .6s; }
.site.is-active .site__frame { border-color: rgba(255,122,26,.6); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 70px -14px rgba(255,122,26,.5); }
.site__bar { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.site__lights { display: flex; gap: 6px; flex: none; }
.site__lights i { width: 10px; height: 10px; border-radius: 50%; background: #FF5F57; }
.site__lights i:nth-child(2) { background: #FEBC2E; } .site__lights i:nth-child(3) { background: #28C840; }
.site__url { flex: 1; min-width: 0; max-width: 340px; margin-inline: auto; padding: 5px 12px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: .78rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform: translateX(-23px); }
.site__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; container-type: size; background: var(--bg); }
.site__screen img { display: block; width: 100%; height: auto; will-change: transform; }
/* il sito "scorre" dentro lo schermo: quello al centro in automatico, gli altri al passaggio del mouse */
@keyframes sitePan { 0%, 12% { transform: translateY(0); } 88%, 100% { transform: translateY(calc(100cqh - 100%)); } }
.site.is-active .site__screen img { animation: sitePan var(--dur, 6s) cubic-bezier(.45, 0, .55, 1) .8s infinite alternate; }
.site__info { display: flex; align-items: center; gap: 16px; padding: 18px 6px 0; }
.site__n { font: 700 clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem)/1 var(--f-display); color: var(--orange); opacity: .35; }
.site__txt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.site__txt b { font: 700 clamp(1.25rem, 1rem + .8vw, 1.7rem)/1.05 var(--f-display); letter-spacing: .02em; text-transform: uppercase; }
.site__txt small { font: 600 .72rem/1.2 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.site__go { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid rgba(255,122,26,.35); color: var(--orange); font: 600 .74rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; transition: background-color .3s, color .3s, border-color .3s; }
.site__go svg { font-size: .95rem; transform: rotate(-45deg); }
.sites__ui { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.sites__progress { flex: 1; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sites__progress span { display: block; height: 100%; background: var(--orange); box-shadow: 0 0 10px rgba(255,122,26,.7); transform-origin: left; transform: scaleX(.04); transition: transform .25s linear; }
.sites__count { font: 600 .82rem/1 var(--f-display); letter-spacing: .16em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) {
  .site:not(.is-active):hover { opacity: .75; }
  .site.is-active .site__link:hover .site__go { background: var(--orange); border-color: var(--orange); color: #fff; }
  .site.is-active .site__link:hover .site__screen img { animation-duration: calc(var(--dur, 6s) * .6); }
}
@media (max-width: 599px) {
  .sites__track { --card: 86vw; gap: 12px; }
  .site { transform: scale(.94); }
  .site__frame { border-radius: 14px; }
  .site__bar { height: 30px; gap: 8px; padding: 0 10px; }
  .site__lights i { width: 8px; height: 8px; }
  .site__url { font-size: .68rem; padding: 3px 8px; transform: none; }
  .site__info { gap: 10px; padding-top: 14px; }
  .site__go { width: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .site__go svg { font-size: 1rem; }
  .sites__ui { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .site.is-active .site__screen img { animation: none; } .site { transition: none; } }
.site--short .site__screen img { height: 100%; object-fit: cover; object-position: top; animation: none !important; }
.glow-lead { margin: 0; font: 500 .82rem/1.5 var(--f-display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--orange); text-shadow: 0 0 8px rgba(255,122,26,.7), 0 0 22px rgba(255,122,26,.35); }
@media (max-width: 899px) { .glow-lead { white-space: normal; font-size: .74rem; letter-spacing: .14em; } }

/* Servizi: solo i riquadri, a tutta larghezza */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.services__grid--solo { display: block; }
.services__grid--solo .services__list { grid-template-columns: repeat(4, 1fr); }
.services__grid--solo .services__list > .service:nth-child(even) { margin: 0; }
@media (max-width: 1099px) { .services__grid--solo .services__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .services__grid--solo .services__list { grid-template-columns: 1fr; } }

/* Barra mobile: foglio con l'elenco dei servizi */
.svc-sheet { position: fixed; z-index: 49; left: 12px; right: 12px; bottom: calc(86px + var(--safe-b)); max-width: 560px; margin-inline: auto; padding: 8px; border-radius: 24px; display: grid; gap: 2px; max-height: calc(100vh - 180px); overflow: auto; background: var(--glass-strong); box-shadow: 0 20px 50px -10px rgba(0,0,0,.6), var(--glass-inset); animation: sheetIn .35s var(--ease); }
.svc-sheet[hidden] { display: none; }
.svc-sheet .drop__item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 16px; color: var(--text); text-decoration: none; }
.svc-sheet .drop__item:active { background: rgba(255,122,26,.12); }
.svc-sheet .drop__icon { width: 38px; height: 38px; border-radius: 12px; font-size: 19px; }
.svc-sheet .drop__item b { font-size: 1rem; }
.tabbar a.is-open { background: rgba(255,122,26,.14); color: var(--text); }
@keyframes sheetIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .svc-sheet { animation: none; } }

/* Titolo arancione su una riga con lampo bianco che lo attraversa */
.h2--flash { position: relative; font-size: clamp(1.3rem, 7vw, var(--fs-h2)); white-space: nowrap; text-wrap: nowrap; color: var(--orange); -webkit-font-smoothing: antialiased; }
/* lampo bianco: una copia del testo in bianco, visibile solo dentro una banda che scorre (il testo arancione sotto resta sempre nitido) */
.h2--flash::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(100deg, transparent 0 43%, rgba(255,226,180,.35) 47.5%, rgba(255,255,255,.98) 50%, rgba(255,226,180,.35) 52.5%, transparent 57% 100%) no-repeat; background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; animation: h2Flash 6.5s linear .6s infinite paused; }
.h2--flash.in::after { animation-play-state: running; }
@keyframes h2Flash { 0% { background-position: 100% 0; } 38% { background-position: 38% 0; } 46%, 100% { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .h2--flash::after { display: none; } }
.work__head > div:has(> .h2--flash) { flex: 1 1 100%; min-width: 0; max-width: none; }
.js .h2--flash.reveal, .js .h2--flash.reveal.in { filter: none; transform: none; }
/* Barra sotto il video iniziale: solo le frecce, a destra */
.hero__bar { grid-template-columns: 1fr; }
.hero__bar .hero__nav { justify-self: end; }
@media (max-width: 599px) { .hero__bar .hero__nav { justify-self: stretch; } }
/* Banner iniziale: nessuna scritta sopra il video (anche su telefono e tablet).
   Il titolo resta nel codice, invisibile, per Google e per i lettori di schermo. */
.hero__overlay { display: block !important; position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Banner iniziale: niente tasti audio/pausa sopra il video, su nessun dispositivo */
.hero__controls { display: none !important; }
[data-lang]:not([data-lang="it"]) .h2--flash::after { display: none; }

/* ==========================================================================
   LANDING SERVIZI (/videomaker-roma/ · /fotografo-matrimonio-roma/ · /siti-web-a-roma/)
   e testi SEO delle gallerie
   ========================================================================== */
.svcpage__crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; font-size: .82rem; color: var(--muted); }
.svcpage__crumbs a { color: var(--muted); transition: color .3s; }
.svcpage__crumbs a:hover { color: var(--orange); }
.svcpage__crumbs span:last-child { color: var(--text); }
.svcpage__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.svcpage__media { margin-bottom: clamp(20px, 3vw, 40px); }
.svcpage__video { margin: 0 0 clamp(14px, 2vw, 24px); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(0,0,0,.75); }
.svcpage__video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.svcpage__video figcaption { padding: 12px 16px; font-size: .84rem; color: var(--muted); }
.svcpage__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 18px); }
.svcpage__grid--wide { grid-template-columns: repeat(3, 1fr); }
.svcpage__grid--sites { grid-template-columns: repeat(4, 1fr); }
.svcpage__fig { position: relative; margin: 0; display: block; border-radius: 16px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 5; box-shadow: 0 18px 44px -24px rgba(0,0,0,.7); -webkit-touch-callout: none; user-select: none; }
.svcpage__grid--wide .svcpage__fig { aspect-ratio: 16 / 10; }
.svcpage__fig img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; transition: transform 1.2s var(--ease); }
.svcpage__fig figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; border-radius: 12px; color: #fff; font: 600 .82rem/1.2 var(--f-display); letter-spacing: .04em; background: rgba(10,10,14,.42); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.svcpage__fig::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
@media (hover: hover) and (pointer: fine) {
  .svcpage__fig--link:hover img { transform: scale(1.06); }
  .svcpage__fig--link:hover::after, .svcpage__site:hover .svcpage__shot { box-shadow: inset 0 0 0 1px rgba(255,122,26,.7), 0 0 40px rgba(255,122,26,.35); }
}
.svcpage__site { display: block; color: inherit; }
.svcpage__shot { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--surface); box-shadow: 0 18px 44px -24px rgba(0,0,0,.7), inset 0 0 0 1px rgba(255,255,255,.08); transition: box-shadow .4s; }
.svcpage__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; pointer-events: none; }
.svcpage__shot--wide { aspect-ratio: 4 / 3; }
.svcpage__sitecap { display: block; padding: 12px 4px 0; }
.svcpage__sitecap b { display: block; font: 600 1.15rem/1.1 var(--f-display); }
.svcpage__sitecap small { display: block; margin-top: 4px; font-size: .78rem; color: var(--muted); }
.svcpage__text { padding-bottom: clamp(10px, 2vw, 24px); }
.svcpage__text h3 { font: 600 clamp(1.15rem, 1rem + .5vw, 1.45rem)/1.15 var(--f-display); margin: 1.6rem 0 .4rem; color: var(--text); }
.svcpage__text ul, .svcpage__text ol { padding-left: 1.2em; }
.svcpage__text li { margin-bottom: .5rem; }
.svcpage__text b { color: var(--text); }
.svcpage__text a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.gpage__text { margin-top: clamp(10px, 2vw, 30px); }
.faq { display: grid; gap: 10px; margin-top: 1rem; }
.faq details { border-radius: var(--radius-s); background: var(--glass); border: 1px solid var(--glass-border); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; position: relative; font: 600 1.05rem/1.3 var(--f-display); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 600 1.4rem/1 var(--f-text); color: var(--orange); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; }
.svcpage__more { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-bottom: var(--sec); font-size: .9rem; color: var(--muted); }
.svcpage__more a { padding: 9px 14px; border-radius: 99px; background: var(--glass); border: 1px solid var(--glass-border); color: var(--text); transition: border-color .3s, color .3s; }
.svcpage__more a:hover { border-color: rgba(255,122,26,.6); color: var(--orange); }
@media (max-width: 1023px) {
  .svcpage__grid { grid-template-columns: repeat(2, 1fr); }
  .svcpage__grid--wide { grid-template-columns: repeat(2, 1fr); }
  .svcpage__grid--sites { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .svcpage__grid--sites { grid-template-columns: 1fr 1fr; }
  .svcpage__grid--sites .svcpage__site:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .svcpage__actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   HOME · presentazione sotto il video iniziale (chi siamo e cosa facciamo)
   Il video resta pulito, senza scritte; il testo si vede subito sotto.
   ========================================================================== */
@media (min-width: 1024px) { .hero__frame { height: clamp(320px, 54vh, 760px); } }
.hero__bar { grid-template-columns: 1fr auto; align-items: start; gap: 16px clamp(20px, 3vw, 56px); margin-top: clamp(18px, 2.4vh, 28px); }
.hero__bar .hero__nav { justify-self: end; align-self: start; }
.hero__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; min-width: 0; }
/* presentazione a tutta larghezza sotto il titolo; servizi e pulsanti sulla stessa riga sotto */
.hero__intro-body { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.hero__intro-body .hero__lead { flex: 1 1 100%; max-width: none; }
.hero__intro-body .hero__tags, .hero__intro-body .hero__cta { margin-top: 0; }
.hero__intro .eyebrow { margin-bottom: .6rem; }
/* titolo su una sola riga (da tablet in su) */
.hero__intro .hero__title { font-size: clamp(1.5rem, .2rem + 3.25vw, 4.6rem); max-width: none; line-height: 1; white-space: nowrap; }
.hero__lead { margin: .2rem 0 0; max-width: 54ch; font-size: clamp(.96rem, .88rem + .3vw, 1.15rem); line-height: 1.6; color: var(--muted); }
.hero__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin: .9rem 0 0; padding: 0; }
.hero__tags a { display: inline-block; padding: 8px 12px; border-radius: 99px; color: var(--text); font: 600 .72rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; background: var(--glass); border: 1px solid var(--glass-border); transition: border-color .3s, color .3s; }
.hero__tags a:hover { border-color: rgba(255,122,26,.7); color: var(--orange); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.1rem; }
@media (min-width: 1920px) { .hero__frame { height: min(56vh, 860px); } }
@media (min-width: 1024px) and (max-height: 760px) { .hero__frame { height: calc(100vh - var(--nav-h) - 290px); min-height: 300px; } }
@media (max-width: 1023px) {
  .hero__bar { grid-template-columns: 1fr; }

  .hero__bar .hero__nav { justify-self: stretch; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
}
@media (max-width: 599px) {
  .hero__intro .hero__title { font-size: clamp(1.9rem, 8.6vw, 2.6rem); white-space: normal; }
  .hero__lead { font-size: .94rem; }
  .hero__tags a { padding: 7px 10px; font-size: .66rem; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
}

/* Barra laterale del video iniziale: scritta verticale + icone social e WhatsApp (da 1280px) */
.hero__rail { position: absolute; z-index: 5; left: clamp(12px, 1.4vw, 30px); top: calc(var(--nav-h) + 30px + 27vh); transform: translateY(-50%); display: none; flex-direction: column; align-items: center; gap: 18px; }
.hero__rail .side-label { position: static; display: flex; transform: rotate(180deg); }
.side-social { display: flex; flex-direction: column; gap: 8px; }
.side-social a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--glass); border: 1px solid var(--glass-border); transition: color .3s, border-color .3s, box-shadow .3s; }
.side-social a svg { width: 15px; height: 15px; }
.side-social a:hover { color: var(--orange); border-color: rgba(255,122,26,.6); box-shadow: 0 0 16px rgba(255,122,26,.35); }
@media (min-width: 1280px) { .hero__rail { display: flex; } }

/* ==========================================================================
   HOME · centro del video: logo MacroVerso con bagliore "da cinema" lento
   (lama di luce sul logo + riflesso orizzontale anamorfico), sotto i servizi.
   ========================================================================== */
.hero__claim { --claim-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  position: absolute; z-index: 3; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.4vh, 26px); padding: 0 16px; text-align: center; pointer-events: none; }
.hero__claim::before { content: ''; position: absolute; inset: 30% 14%; z-index: -1; background: radial-gradient(closest-side, rgba(5,4,3,.55), rgba(5,4,3,0)); filter: blur(18px); }
.hero__logo { position: relative; width: min(84vw, clamp(300px, 14rem + 22vw, 620px)); opacity: 0; filter: blur(14px); transform: scale(.97); animation: logoIn 1.6s cubic-bezier(.2,.8,.2,1) .3s forwards; }
@keyframes logoIn { to { opacity: 1; filter: blur(0); transform: none; } }
.hero__logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 4px 22px rgba(0,0,0,.5)); }
/* lama di luce che scorre solo sopra il logo */
.hero__logo::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../../media/logo/web/macroverso-wide-1200.webp) center / 100% 100% no-repeat; mask: url(../../media/logo/web/macroverso-wide-1200.webp) center / 100% 100% no-repeat;
  background: linear-gradient(100deg, transparent 0 40%, rgba(255,240,215,.25) 45%, rgba(255,255,255,.95) 50%, rgba(255,226,180,.25) 55%, transparent 60% 100%) no-repeat;
  background-size: 260% 100%; background-position: 140% 0; mix-blend-mode: screen; animation: logoSheen 7s linear 2s infinite; }
/* riflesso anamorfico (striscia di luce orizzontale) che accompagna la lama */
.hero__logo::before { content: ''; position: absolute; z-index: 1; top: 50%; left: 0; width: 46%; height: 3px; margin-top: -1.5px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.95), rgba(255,200,140,.55) 40%, rgba(255,160,80,0)); filter: blur(1.5px); box-shadow: 0 0 22px 4px rgba(255,190,120,.35);
  opacity: 0; transform: translateX(-60%); mix-blend-mode: screen; animation: logoStreak 7s linear 2s infinite; }
@keyframes logoSheen { 0% { background-position: 140% 0; } 40% { background-position: 25% 0; } 48%, 100% { background-position: -40% 0; } }
@keyframes logoStreak { 0% { opacity: 0; transform: translateX(-60%); } 4% { opacity: .9; } 40% { opacity: .9; transform: translateX(60%); } 48%, 100% { opacity: 0; transform: translateX(230%); } }
.hero__services { pointer-events: auto; display: flex; align-items: center; gap: .7em; font: 500 clamp(.8rem, .72rem + .3vw, 1rem)/1 var(--claim-font); letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: servIn 1.2s ease 1.4s forwards; }
@keyframes servIn { to { opacity: 1; } }
.hero__services a { color: rgba(255,255,255,.88); text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 1px 14px rgba(0,0,0,.5); transition: color .3s, text-shadow .3s; }
.hero__services a:hover { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.5), 0 0 16px rgba(255,200,140,.7); }
.hero__services .sep { color: rgba(255,190,120,.85); font-weight: 400; }
@media (max-width: 599px) {
  .hero__claim { padding-bottom: 8vh; }
  .hero__services { font-size: .74rem; letter-spacing: .12em; gap: .55em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__logo, .hero__services { animation: none; opacity: 1; filter: none; transform: none; }
  .hero__logo::after, .hero__logo::before { display: none; }
}

/* Logo del menu: simbolo MV trasparente con un bagliore che passa sempre */
.nav__logo .nav__mv { position: relative; display: block; width: 52px; }
.nav__logo .nav__mv img { display: block; width: 100%; height: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.nav__logo .nav__mv::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url(../../media/logo/web/mv-mark-160.webp) center / 100% 100% no-repeat; mask: url(../../media/logo/web/mv-mark-160.webp) center / 100% 100% no-repeat;
  background: linear-gradient(105deg, transparent 0 38%, rgba(255,255,255,.95) 50%, transparent 62% 100%) no-repeat; background-size: 280% 100%; background-position: 140% 0;
  mix-blend-mode: screen; animation: logoSheen 5s linear 1s infinite; }
@media (max-width: 599px) { .nav__logo .nav__mv { width: 46px; } }
@media (prefers-reduced-motion: reduce) { .nav__logo .nav__mv::after { display: none; } }

/* ==========================================================================
   MENU A TENDINA (telefono e tablet) · pulsante ☰ nella barra in alto
   ========================================================================== */
.nav__burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); cursor: pointer; padding: 0; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .25s, top .35s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
.nav__burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; z-index: 60; top: calc(var(--nav-h) + 22px + var(--safe-t)); left: 12px; right: 12px; max-width: 560px; margin-inline: auto; max-height: calc(100svh - var(--nav-h) - 130px); overflow: auto; padding: 10px; border-radius: 24px; display: grid; gap: 2px; background: var(--glass-strong); animation: mnavIn .35s var(--ease); }
.mnav[hidden] { display: none; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } }
.mnav__link { display: flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 16px; font: 600 .95rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.mnav__link:active, .mnav__link:hover { background: rgba(255,122,26,.12); color: var(--orange); }
.mnav__head { margin: 8px 16px 2px; font: 600 .7rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.mnav__svc { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0 4px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.mnav__svc .drop__item { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 14px; color: var(--text); }
.mnav__svc .drop__item:active, .mnav__svc .drop__item:hover { background: rgba(255,122,26,.12); }
.mnav__svc .drop__icon { width: 34px; height: 34px; border-radius: 11px; font-size: 17px; }
.mnav__svc .drop__item b { font-size: .88rem; font-weight: 600; }
@media (max-width: 1023px) { .nav__burger { display: inline-block; } }
@media (max-width: 340px) { .mnav__svc { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .mnav { animation: none; } }

/* ==========================================================================
   HOME · servizi sotto il titolo in stile menu del sito (barra vetro con voci)
   ========================================================================== */
.hero__tags { display: inline-flex; flex-wrap: nowrap; gap: 2px; margin: .9rem 0 0; padding: 5px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--glass-inset); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hero__tags::-webkit-scrollbar { display: none; }
.hero__tags li { flex: none; }
.hero__tags a { display: flex; align-items: center; height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font: 600 .82rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: color .3s, background-color .3s; }
.hero__tags a:hover, .hero__tags a:focus-visible { color: var(--text); background: rgba(255,122,26,.14); border-color: transparent; }
.hero__intro-body .hero__tags { flex: 0 1 auto; }
@media (max-width: 599px) {
  .hero__tags a { height: 34px; padding: 0 12px; font-size: .72rem; }
}

/* Shop: intestazione con foto (capo indossato) */
.shop__head--look { grid-template-columns: 1.2fr minmax(260px, 420px); align-items: center; }
.shop__intro .lead { margin-top: 1.4rem; }
.shop__look { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); box-shadow: 0 0 0 1px rgba(255,122,26,.2), 0 30px 70px -30px rgba(0,0,0,.7); -webkit-touch-callout: none; user-select: none; }
.shop__look img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; pointer-events: none; }
@media (max-width: 1023px) { .shop__head--look { grid-template-columns: 1fr; } .shop__look { max-width: 520px; } }

/* ==========================================================================
   AGENTE AI · chat in basso a destra (assets/js/chat.js)
   ========================================================================== */
.mvchat-fab {
  --fab: 68px;
  position: fixed; z-index: 56; right: clamp(16px, 2vw, 32px); bottom: calc(24px + var(--safe-b));
  width: var(--fab); height: var(--fab); padding: 0; border: 0; border-radius: 50%; background: #000; cursor: pointer;
  display: grid; place-items: center; isolation: isolate; perspective: 400px;
  animation: mvAgentGlow 2.4s ease-in-out infinite;
  transition: transform .45s var(--ease);
}
/* logo MV che ruota su sé stesso */
.mvchat-fab__coin { position: absolute; inset: 0; border-radius: 50%; transform-style: preserve-3d; animation: mvAgentSpin 6s linear infinite; }
.mvchat-fab__coin > span { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #000; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.mvchat-fab__coin > span + span { transform: rotateY(180deg); }
.mvchat-fab__coin img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.1); }
/* faccina dell'agente: lampeggia sempre e ogni tanto trema */
.mvchat-fab__face { position: absolute; z-index: 2; left: -8px; top: -8px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff;
  box-shadow: 0 0 0 2px #75AEFF, 0 0 14px 2px rgba(117,174,255,.9);
  animation: mvAgentBlink 1.2s ease-in-out infinite, mvAgentShake 4s ease-in-out infinite; }
.mvchat-fab__face img { width: 26px; height: 26px; display: block; }
/* onda dorata che si allarga per richiamare l'attenzione */
.mvchat-fab__ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); z-index: -1; animation: mvAgentPing 2.4s ease-out infinite; pointer-events: none; }
.mvchat-fab:focus-visible { outline: 2px solid var(--text); outline-offset: 5px; }
@media (hover: hover) and (pointer: fine) { .mvchat-fab:hover { transform: scale(1.08); } }
.mvchat-fab.is-open .mvchat-fab__ping { animation: none; opacity: 0; }
@keyframes mvAgentSpin { to { transform: rotateY(360deg); } }
@keyframes mvAgentGlow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(212,162,76,.9), 0 0 12px 2px rgba(212,162,76,.5); }
  50% { box-shadow: 0 0 0 2px #F3D08A, 0 0 26px 8px rgba(255,190,90,.75); }
}
@keyframes mvAgentPing { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
@keyframes mvAgentBlink { 0%, 100% { opacity: 1; filter: brightness(1); } 50% { opacity: .55; filter: brightness(1.4); } }
@keyframes mvAgentShake {
  0%, 78%, 100% { transform: translate(0, 0) rotate(0); }
  80% { transform: translate(-2px, 0) rotate(-14deg); } 82% { transform: translate(2px, 0) rotate(12deg); }
  84% { transform: translate(-2px, 0) rotate(-10deg); } 86% { transform: translate(2px, 0) rotate(8deg); }
  88% { transform: translate(-1px, 0) rotate(-4deg); } 90% { transform: translate(0, 0) rotate(0); }
}

.mvchat {
  position: fixed; z-index: 90; right: clamp(16px, 2vw, 32px); bottom: calc(24px + 68px + 16px + var(--safe-b));
  width: min(390px, calc(100vw - 32px)); height: min(560px, calc(100svh - 200px)); min-height: 320px;
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%);
  box-shadow: var(--glass-inset), var(--shadow), 0 0 0 1px rgba(255,122,26,.12);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: 100% 100%;
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.mvchat.on { opacity: 1; transform: none; }
.mvchat[hidden] { display: none; }
.mvchat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.mvchat__avatar { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 2px #75AEFF, 0 0 16px -2px rgba(117,174,255,.9); }
.mvchat__avatar img { width: 32px; height: 32px; display: block; }
.mvchat__id { flex: 1; display: grid; gap: 3px; min-width: 0; }
.mvchat__id b { font: 700 1.25rem/1 var(--f-display); letter-spacing: .02em; }
.mvchat__id small { font: 600 .7rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.mvchat__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; transition: color .3s, background-color .3s; }
.mvchat__close svg { width: 20px; height: 20px; }
.mvchat__close:hover, .mvchat__close:focus-visible { color: var(--text); background: var(--line); }
.mvchat__sound { color: var(--orange); }
.mvchat__sound .off, .mvchat__sound.is-off .on { display: none; }
.mvchat__sound.is-off .off { display: inline; }
.mvchat__sound.is-off { color: var(--muted); }

.mvchat__log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.mvchat__msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; line-height: 1.55; overflow-wrap: anywhere; animation: mvchatIn .35s var(--ease); }
.mvchat__msg--tu { align-self: flex-end; color: #fff; background: var(--grad); border-bottom-right-radius: 6px; }
.mvchat__msg--ai { align-self: flex-start; color: var(--text); background: var(--surface-2); border-bottom-left-radius: 6px; }
.mvchat__msg--ai a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.mvchat__wa { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; min-height: 44px; padding: 0 16px; border-radius: 99px; background: #25D366; color: #fff !important; font: 600 .82rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important; box-shadow: 0 10px 24px -10px rgba(37,211,102,.8); }
.mvchat__wa svg { width: 18px; height: 18px; }
.mvchat__wa:hover { filter: brightness(1.08); }
.mvchat__more { display: flex; width: fit-content; align-items: center; gap: 6px; margin-top: 8px; font: 600 .78rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important; }
.mvchat__more svg { width: 14px; height: 14px; }
.mvchat__chips { display: flex; flex-wrap: wrap; gap: 8px; max-height: 45%; overflow-y: auto; overscroll-behavior: contain; padding: 12px 12px 14px; border-top: 1px solid var(--line); }
.mvchat__chip { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 8px 14px; border-radius: 18px; border: 1px solid rgba(255,122,26,.45); background: rgba(255,122,26,.08); color: var(--text); font: 500 .86rem/1.3 var(--f-text); text-align: left; cursor: pointer; transition: background-color .3s, border-color .3s; }
.mvchat__chip:hover, .mvchat__chip:focus-visible { background: rgba(255,122,26,.18); border-color: var(--orange); outline: 0; }
.mvchat__chip svg { width: 16px; height: 16px; flex: none; }
.mvchat__chip--back { border-color: var(--line); background: transparent; color: var(--muted); }
@keyframes mvchatIn { from { opacity: 0; transform: translateY(6px); } }


@media (max-width: 1023px) {
  .mvchat-fab { --fab: 60px; right: 14px; bottom: calc(90px + var(--safe-b)); }
  .mvchat { right: 14px; bottom: calc(90px + 60px + 14px + var(--safe-b)); height: min(540px, calc(100svh - 260px)); }
}
@media (max-width: 599px) {
  .mvchat { left: 10px; right: 10px; width: auto; top: calc(10px + var(--safe-t)); bottom: calc(10px + var(--safe-b)); height: auto; min-height: 0; transform-origin: 50% 100%; }
  .mvchat-open .mvchat-fab, .mvchat-open .totop { opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .mvchat, .mvchat__msg, .mvchat-fab__face { animation: none; transition: none; } .mvchat-fab__coin { animation-duration: 14s; } }

/* Pagina di errore (404.html) */
.err { min-height: 70svh; display: flex; flex-direction: column; justify-content: center; }
.err__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Blog ---------- */
.blog-sec { margin-bottom: clamp(28px, 4vw, 56px); }
.blog-sec__title, .bpost__reltitle { font: 700 clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem)/1 var(--f-display); margin: 0 0 clamp(14px, 2vw, 24px); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(14px, 1.8vw, 26px); }
.bcard { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--glass); border: 1px solid var(--glass-border); color: inherit; transition: transform .5s var(--ease), border-color .4s, box-shadow .4s; }
.bcard:hover { transform: translateY(-4px); border-color: rgba(255,122,26,.55); box-shadow: 0 0 40px -14px rgba(255,122,26,.6); }
.bcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: transform 1.2s var(--ease); }
.bcard:hover .bcard__img img { transform: scale(1.05); }
.bcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 18px 20px 22px; }
.bcard__cat { font: 600 .72rem/1 var(--f-display); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.bcard h2, .bcard h3 { font: 700 clamp(1.3rem, 1.1rem + .5vw, 1.6rem)/1.05 var(--f-display); margin: 0; color: var(--text); }
.bcard p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.bcard__more { margin-top: auto; padding-top: 6px; color: var(--orange); font-weight: 600; font-size: .86rem; }
.bpost__title { font: 700 clamp(2.2rem, 1.2rem + 3.4vw, 4.6rem)/1 var(--f-display); letter-spacing: -.005em; margin: 0 0 .4em; max-width: 22ch; text-wrap: balance; }
.bpost__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; color: var(--muted); font-size: .86rem; }
.bpost__meta b { color: var(--text); font-weight: 600; }
.bpost__cover { max-width: 640px; margin: 0 auto clamp(24px, 4vw, 40px); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface); box-shadow: 0 24px 60px -28px rgba(0,0,0,.75); }
.bpost__cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; display: block; }
.bpost__body a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.bpost__author { display: flex; gap: 18px; align-items: center; margin: 2.4rem 0 0; padding: 18px 20px; border-radius: 20px; }
.bpost__author img { width: 64px; height: auto; flex: none; }
.bpost__author b { font: 700 1.2rem/1 var(--f-display); color: var(--text); }
.bpost__author p { margin: .35rem 0 0; font-size: .9rem; }
.bpost__related { margin: 0 0 clamp(24px, 4vw, 48px); }
@media (max-width: 599px) { .bpost__author { flex-direction: column; align-items: flex-start; } }

/* ---------- Shop demo: vetrina animata, schede, carrello e checkout (19/11/2026) ---------- */
.shop__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 18px; }
.lookshow { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 0 0 1px rgba(255,122,26,.25), 0 30px 70px -30px rgba(0,0,0,.75); -webkit-touch-callout: none; user-select: none; isolation: isolate; }
.lookshow__slides { position: absolute; inset: 0; }
.lookshow__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.lookshow__slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; pointer-events: none; transform: scale(1.12) translate3d(0, 1.5%, 0); transition: transform 7s linear; }
.lookshow__slide.is-on { opacity: 1; z-index: 1; }
.lookshow__slide.is-on img { transform: scale(1.02) translate3d(0, -1%, 0); }
.lookshow::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(5,6,9,.78) 100%); }
.lookshow__bar { position: absolute; top: 14px; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.18); z-index: 3; overflow: hidden; }
.lookshow__bar i { display: block; height: 100%; width: 100%; background: var(--orange); box-shadow: 0 0 10px rgba(255,122,26,.8); transform: scaleX(0); transform-origin: left; }
.lookshow.run .lookshow__bar i { animation: lookbar var(--dur, 5s) linear forwards; }
.lookshow.paused .lookshow__bar i { animation-play-state: paused; }
@keyframes lookbar { to { transform: scaleX(1); } }
.lookshow__cap { position: absolute; left: 14px; right: 14px; bottom: 46px; z-index: 3; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 18px; color: #fff; background: rgba(10,10,14,.42); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lookshow__cap.in { animation: capin .7s var(--ease) both; }
@keyframes capin { from { opacity: 0; transform: translateY(14px); } }
.lookshow__n { font: 700 1.6rem/1 var(--f-display); color: var(--orange); text-shadow: var(--neon); }
.lookshow__txt { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.lookshow__txt small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.lookshow__txt b { font: 700 1.15rem/1 var(--f-display); }
.lookshow__price { font: 700 1.2rem/1 var(--f-display); color: var(--orange); }
.lookshow__go { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px; background: #fff; color: #111; font: 600 .82rem/1 var(--f-text); }
.lookshow__go svg { width: 1em; height: 1em; }
.lookshow__go:hover { background: var(--orange); color: #fff; }
.lookshow__dots { position: absolute; left: 0; right: 0; bottom: 14px; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.lookshow__dots button { width: 28px; height: 20px; display: grid; place-items: center; }
.lookshow__dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.45); transition: width .4s var(--ease), background-color .4s; }
.lookshow__dots [aria-current] i { width: 22px; background: var(--orange); box-shadow: 0 0 10px rgba(255,122,26,.8); }

.shop__perks { list-style: none; margin: 0 0 clamp(20px, 3vw, 36px); padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.shop__perks li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-border); font-size: .84rem; color: var(--muted); }
.shop__perks svg { width: 18px; height: 18px; flex: none; color: var(--orange); }
.shop__perks b { color: var(--text); font-weight: 600; }
.shop__pitch { margin-top: clamp(28px, 4vw, 56px); }

/* schede prodotto: comparsa, zoom, riflesso */
.reveal-prod { opacity: 0; transform: translateY(34px) scale(.96); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.reveal-prod.in { opacity: 1; transform: none; }
.product__img img { animation: none; }
.product:hover .product__img img { transform: scale(1.08); }
.product__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 48%, transparent 66%); transform: translateX(-120%); }
.product:hover .product__shine { transition: transform 1.1s var(--ease); transform: translateX(120%); }
.product.flashme { animation: flashme 1.6s var(--ease); }
@keyframes flashme { 0%, 100% { box-shadow: none; } 25%, 60% { box-shadow: 0 0 0 2px var(--orange), 0 0 40px rgba(255,122,26,.6); } }
.fly-img { position: fixed; z-index: 120; object-fit: cover; border-radius: 16px; pointer-events: none; transition: transform .75s cubic-bezier(.5,-.2,.6,1), opacity .75s; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.toast.on { pointer-events: auto; }
.toast__link { margin-left: 10px; color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* carrello: spedizione gratis, coupon, righe */
.cart__free { padding: 10px 22px 0; font-size: .8rem; color: var(--muted); }
.cart__free:empty { display: none; }
.cart__free span { display: flex; align-items: center; gap: 6px; }
.cart__free svg { width: 14px; height: 14px; color: var(--orange); }
.cart__free b { color: var(--text); }
.cart__free i { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--orange) var(--p, 0%), var(--line) var(--p, 0%)); transition: background .5s; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); background: transparent; color: var(--text); font: inherit; font-size: .88rem; text-transform: uppercase; }
.coupon input:focus { outline: none; border-color: var(--orange); }
.coupon button { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font: 600 .82rem/1 var(--f-text); }
.coupon button:hover { border-color: var(--orange); color: var(--orange); }
.coupon__msg { margin: -2px 0 0; min-height: 1em; font-size: .76rem; color: var(--orange); }
.cart__row { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.cart__row.is-disc span:last-child { color: var(--orange); }
.cart__wa { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .84rem; color: var(--muted); }
.cart__wa svg { width: 1em; height: 1em; }
.cart__wa:hover { color: var(--orange); }
.cart.is-empty #cartCheckout, .cart.is-empty #cartOrder, .cart.is-empty .coupon { opacity: .4; pointer-events: none; }

/* checkout */
.co { position: fixed; inset: 0; z-index: 97; }
.co__panel { position: absolute; inset: clamp(0px, 3vw, 28px); margin: auto; max-width: 1080px; max-height: calc(100% - 2 * clamp(0px, 3vw, 28px)); border-radius: clamp(0px, 3vw, 28px); background: var(--glass-strong); border: 1px solid var(--glass-border); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; animation: coin .5s var(--ease); }
@keyframes coin { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.co__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--line); background: var(--glass-strong); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.co__head h2 { font: 700 1.7rem/1 var(--f-display); margin: 0; }
.co__head .co__close { margin-left: auto; }
.co__steps { list-style: none; margin: 0; padding: 16px 22px 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: none; }
.co__steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; border: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.co__steps i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 .78rem/1 var(--f-display); font-style: normal; background: var(--surface-2); }
.co__steps li.is-on { color: var(--text); border-color: rgba(255,122,26,.6); }
.co__steps li.is-on i, .co__steps li.is-done i { background: var(--orange); color: #fff; }
.co__body { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 18px 22px 26px; }
.co__main h3, .co__aside h3 { font: 700 1.35rem/1 var(--f-display); margin: 8px 0 14px; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: .78rem; color: var(--muted); }
.fld--full { grid-column: 1 / -1; }
.fld input, .fld select { height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; }
.fld input:focus, .fld select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,26,.18); }
.fld input:user-invalid { border-color: #e5484d; }
.opts { display: grid; gap: 10px; margin-bottom: 18px; }
.opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.opt input { accent-color: var(--orange); width: 18px; height: 18px; flex: none; }
.opt:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,122,26,.15); }
.opt__box { display: flex; flex-direction: column; gap: 3px; margin-right: auto; }
.opt__box b { font-weight: 600; font-size: .95rem; color: var(--text); }
.opt__box small { font-size: .78rem; color: var(--muted); }
.opt__price { font: 700 1.05rem/1 var(--f-display); color: var(--orange); }
.opt__tag { font: 600 .66rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; border: 1px dashed rgba(255,122,26,.5); color: var(--orange); }
.co__secure { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); line-height: 1.55; margin: 0 0 18px; }
.co__secure svg { width: 18px; height: 18px; flex: none; color: var(--orange); margin-top: 1px; }
.co__nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.co__nav .btn:only-child { margin-left: auto; }
.co__back { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.co__back svg { width: 1em; height: 1em; }
.co__back:hover { color: var(--orange); }
.co__review { display: grid; gap: 12px; margin-bottom: 20px; }
.co__review > div { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.co__review small { font: 600 .7rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.co__review p { margin: 6px 0 0; font-size: .9rem; color: var(--muted); line-height: 1.6; }
.co__review b { color: var(--text); }
#coConfirm.is-busy { pointer-events: none; opacity: .75; }
#coConfirm.is-busy svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.co__aside { align-self: start; position: sticky; top: 84px; padding: 16px 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.co__lines .cart-item { grid-template-columns: 52px 1fr auto; }
.co__lines .cart-item img { width: 52px; height: 64px; }
.co__totals { display: grid; gap: 8px; padding-top: 12px; }
.co__totals div { display: flex; justify-content: space-between; font-size: .88rem; color: var(--muted); }
.co__totals .is-disc b { color: var(--orange); }
.co__totals .is-tot { padding-top: 10px; border-top: 1px solid var(--line); color: var(--text); font: 600 1rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.co__totals .is-tot b { font-size: 1.7rem; color: var(--orange); text-shadow: var(--neon); letter-spacing: 0; }
.co__done { grid-column: 1 / -1; text-align: center; padding: 20px 0 10px; }
.co__done h2 { font: 700 clamp(2rem, 1.4rem + 2.4vw, 3.4rem)/1 var(--f-display); margin: 6px 0 12px; }
.co__done .lead { margin: 0 auto 20px; }
.co__ok { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; box-shadow: 0 0 0 10px rgba(255,122,26,.15), 0 0 50px rgba(255,122,26,.6); animation: okpop .8s var(--ease) both; }
.co__ok svg { width: 40px; height: 40px; }
@keyframes okpop { from { transform: scale(.3); opacity: 0; } }
.co__done-actions { display: flex; justify-content: center; margin-bottom: 22px; }
.co__pitch { max-width: 560px; margin: 0 auto; padding: 22px; border-radius: 22px; text-align: center; }
.co__pitch b { font: 700 1.5rem/1.05 var(--f-display); }
.co__pitch p { color: var(--muted); font-size: .9rem; margin: 8px 0 16px; }
.co:has(.co__done:not([hidden])) .co__body { grid-template-columns: 1fr; }

@media (max-width: 1023px) {
  .shop__perks { grid-template-columns: repeat(2, 1fr); }
  .co__body { grid-template-columns: 1fr; }
  .co__aside { position: static; order: -1; }
}
@media (max-width: 599px) {
  .shop__perks { grid-template-columns: 1fr; }
  .co__grid { grid-template-columns: 1fr; }
  .lookshow__go { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lookshow__slide img, .lookshow__slide.is-on img { transform: none; transition: none; }
  .reveal-prod { opacity: 1; transform: none; transition: none; }
}
.co__steps[hidden], .co__aside[hidden], .co__step[hidden], .cart__row[hidden], .co[hidden], .cart[hidden] { display: none !important; }

/* ---------- Shop: foto indossata, scheda prodotto 3D, icone pagamento ---------- */
button.product__img { display: block; width: 100%; padding: 0; border: 0; cursor: pointer; text-align: left; }
.product__img .product__pic, .product__img .product__worn { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.product__img .product__worn { object-position: 50% 22%; z-index: 1; }
.product:hover .product__img.has-worn .product__worn { opacity: 0; }
.product__who { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: rgba(10,10,14,.55); color: #fff; font: 600 .7rem/1 var(--f-text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: opacity .4s; }
.product:hover .product__who { opacity: 0; }
.product__new { z-index: 2; }
.product__3d { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 6px 10px; border-radius: 99px; background: var(--orange); color: #fff; font: 700 .66rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.product:hover .product__3d, .product__img:focus-visible .product__3d { opacity: 1; transform: none; }
.product__shine { z-index: 3; }
.product__body h3 a { color: inherit; }
.product__body h3 a:hover { color: var(--orange); }
.pay-icons { display: block; width: 100%; max-width: 420px; height: auto; margin: 4px auto; }
.shop__pay { margin: -10px 0 clamp(20px, 3vw, 36px); display: flex; justify-content: center; }
.shop__pay .pay-icons { max-width: 560px; }

.pdp { position: fixed; inset: 0; z-index: 98; }
.pdp[hidden] { display: none !important; }
.pdp__panel { position: absolute; inset: clamp(0px, 3vw, 28px); margin: auto; max-width: 1180px; max-height: calc(100% - 2 * clamp(0px, 3vw, 28px)); border-radius: clamp(0px, 3vw, 28px); background: var(--glass-strong); border: 1px solid var(--glass-border); overflow-y: auto; overscroll-behavior: contain; animation: coin .5s var(--ease); }
.pdp__close { position: absolute; top: 14px; right: 14px; z-index: 5; }
.pdp__body { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 44px); padding: clamp(16px, 2.4vw, 32px); }
.pdp__stage { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: radial-gradient(120% 80% at 50% 30%, #2a2d38 0%, #0b0c10 70%); }
.pdp__stage[data-view="3d"] { touch-action: pan-y; }
.pdp__photo { margin: 0; position: absolute; inset: 0; animation: fade .5s var(--ease); }
.pdp__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; }
.spin3d { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1400px; cursor: grab; user-select: none; -webkit-user-select: none; }
.spin3d:active { cursor: grabbing; }
.spin3d__obj { position: relative; width: 70%; aspect-ratio: 4 / 5; transform-style: preserve-3d; animation: float 5s ease-in-out infinite; }
.spin3d__obj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; pointer-events: none; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); background: #fff; }
.spin3d__back { transform: rotateY(180deg) scaleX(-1); filter: brightness(.82); }
.spin3d__shadow { position: absolute; left: 22%; right: 22%; bottom: 7%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,122,26,.45), transparent); filter: blur(4px); }
@keyframes float { 50% { translate: 0 -10px; } }
.pdp__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(10,10,14,.55); color: #fff; font-size: .74rem; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.pdp__hint svg { width: 12px; height: 12px; }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pdp__thumbs button { position: relative; width: 78px; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface); padding: 0; }
.pdp__thumbs button[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 16px rgba(255,122,26,.5); }
.pdp__thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.pdp__thumbs span { position: absolute; left: 4px; right: 4px; bottom: 4px; padding: 3px 0; border-radius: 6px; background: rgba(10,10,14,.6); color: #fff; font: 700 .6rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; text-align: center; }
.pdp__info { display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.pdp__info h2 { font: 700 clamp(2rem, 1.4rem + 2vw, 3.2rem)/1 var(--f-display); margin: 0; }
.pdp__price { font: 700 2rem/1 var(--f-display); color: var(--orange); text-shadow: var(--neon); }
.pdp__worn { margin: 0; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(255,122,26,.35); background: rgba(255,122,26,.08); font-size: .88rem; color: var(--muted); }
.pdp__worn b { color: var(--text); }
.pdp__descr { margin: 0; color: var(--muted); line-height: 1.65; }
.pdp__label { margin: 4px 0 -4px; font: 600 .72rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pdp__add.added { background: #1fa855; }
.pdp__list, .pdp__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; color: var(--muted); }
.pdp__list li { display: flex; gap: 8px; align-items: center; }
.pdp__list svg { width: 14px; height: 14px; color: var(--orange); flex: none; }
.pdp__perks { padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pdp__perks li::before { content: '•'; color: var(--orange); margin-right: 8px; }
.pdp__info .pay-icons { margin: 4px 0; }
.pdp__demo { margin: 0; font-size: .74rem; color: var(--muted); }
@media (max-width: 899px) { .pdp__body { grid-template-columns: 1fr; } .pdp__panel { inset: 0; max-height: 100%; border-radius: 0; } }
@media (prefers-reduced-motion: reduce) { .spin3d__obj { animation: none; } }
.pay-icons { background: #fff; border-radius: 10px; padding: 6px 8px; box-sizing: border-box; }

/* AGENTE AI: mascotte con MV sul petto (video) al posto del logo che gira */
.mvchat-fab { --fab: 76px; background: #07080B; }
.mvchat-fab__mascot { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #07080B; }
.mvchat-fab__mascot video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.3) translateY(4%); pointer-events: none; }
.mvchat__avatar--video { background: #07080B; overflow: hidden; box-shadow: 0 0 0 2px rgba(212,162,76,.9), 0 0 16px -2px rgba(255,150,50,.8); }
.mvchat__avatar--video video { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.3) translateY(4%); }
@media (max-width: 599px) { .mvchat-fab { --fab: 68px; } }

/* Scritta vicino al logo MV: MACRO bianco, VERSO arancio (come nella hero) */
.nav__word span { color: var(--orange); }

/* FOOTER: mascotte libera, senza riquadro né sfondo (il nero del video si fonde con il footer) */
.footer__mascotte { grid-column: 1 / -1; width: min(400px, 78vw); margin: 0 auto -6px; background: transparent; border-radius: 0; box-shadow: none; cursor: default;
  mix-blend-mode: screen; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 74%); mask-image: radial-gradient(circle at 50% 50%, #000 52%, transparent 74%); }
.footer__mascotte video { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; filter: brightness(.96) contrast(1.32); pointer-events: none; }

/* FOOTER: fila dei loghi clienti su piccole lastre chiare (in bianco e nero, a colori al passaggio) */
.footer__clients { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(10px, 1.6vw, 18px); padding: 18px 0 6px; }
.footer__clients img { height: clamp(40px, 3.6vw, 50px); width: auto; max-width: 130px; object-fit: contain; padding: 7px 12px; border-radius: 12px;
  background: linear-gradient(160deg, rgba(255,255,255,.95), rgba(236,232,228,.86)); box-shadow: inset 0 1px 1px #fff, 0 6px 16px rgba(0,0,0,.4);
  filter: grayscale(1); opacity: .7; transition: opacity .3s, filter .3s, transform .3s; }
.footer__clients img.is-round { padding: 0; background: none; box-shadow: none; border-radius: 50%; }
.footer__clients img:hover { filter: none; opacity: 1; transform: translateY(-3px) scale(1.06); }

/* ===== Scritte su UNA riga, bianco + arancione MacroVerso, con bagliore che passa ===== */
.fit { --c: var(--orange); }
.fit .ol { position: relative; display: block; width: max-content; max-width: none; white-space: nowrap; color: var(--c); }
.fit .ol::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-fill-color: transparent; background: linear-gradient(100deg, transparent 0 43%, rgba(255,226,180,.35) 47.5%, rgba(255,255,255,.98) 50%, rgba(255,226,180,.35) 52.5%, transparent 57% 100%) no-repeat; background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; animation: h2Flash 6.5s linear .6s infinite paused; }
.fit.in .ol::after { animation-play-state: running; }
.fit .ol:nth-child(2)::after { animation-delay: 1s; }
@media (prefers-reduced-motion: reduce) { .fit .ol::after { display: none; } }
h2.fit, h1.fit { font-weight: 600; letter-spacing: .012em; line-height: 1.18; margin-bottom: .5em; text-shadow: 0 0 26px rgba(255,122,26,.28); }
h2.fit .ol:first-child, h1.fit .ol:first-child { color: #fff; }
h2.fit .ol:first-child em, h1.fit .ol:first-child em { font-style: normal; color: var(--orange); }
p.fit { font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.6; white-space: normal; }
.work__head > div:has(> h2.fit), .work__head > p.fit { flex: 1 1 100%; min-width: 0; max-width: none; }

/* scritta MacroVerso del menu: stesso lampo sottile del simbolo */
.nav__word { position: relative; }
.nav__word::after { content: 'MacroVerso'; position: absolute; inset: 0; pointer-events: none; color: transparent; -webkit-text-fill-color: transparent; letter-spacing: inherit; white-space: nowrap;
  background: linear-gradient(100deg, transparent 0 43%, rgba(255,226,180,.35) 47.5%, rgba(255,255,255,.98) 50%, rgba(255,226,180,.35) 52.5%, transparent 57% 100%) no-repeat; background-size: 260% 100%; background-position: 140% 0;
  -webkit-background-clip: text; background-clip: text; animation: logoSheen 5s linear 1s infinite; }
@media (prefers-reduced-motion: reduce) { .nav__word::after { display: none; } }

/* ===== Menu in alto: stesso vetro liquido delle piastrine (Meta, TikTok) del banner ===== */
.nav__bar.glass { position: relative; isolation: isolate; border: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 55%, rgba(255,255,255,.08));
  -webkit-backdrop-filter: blur(20px) saturate(140%) brightness(.95); backdrop-filter: blur(20px) saturate(140%) brightness(.95);
  box-shadow: 0 20px 50px rgba(20,6,0,.28), inset 0 0 30px rgba(255,255,255,.05); }
.nav__bar.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,255,255,.18) 28%, rgba(255,255,255,.06) 55%, rgba(255,255,255,.24) 85%, rgba(255,255,255,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.nav__bar.glass::after { content: ""; position: absolute; left: 12%; right: 30%; top: -1px; height: 2px; border-radius: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.95), transparent); filter: blur(.4px); box-shadow: 0 0 12px rgba(255,255,255,.7); }
.nav__bar.glass > * { position: relative; z-index: 1; }
.nav__bar.glass .nav__links { background: rgba(255,255,255,.05); }
:root[data-theme="light"] .nav__bar.glass { background: linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.4) 55%, rgba(255,255,255,.55)); box-shadow: 0 16px 40px rgba(20,20,40,.14), inset 0 0 24px rgba(255,255,255,.5); }
:root[data-theme="light"] .nav__bar.glass::before { background: linear-gradient(140deg, rgba(255,255,255,1), rgba(255,255,255,.5) 30%, rgba(0,0,0,.05) 60%, rgba(255,255,255,.8)); }
:root:not([data-theme="light"]) .nav__bar.glass .nav__links a:not(.is-active) { color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(20,6,0,.55); }
:root:not([data-theme="light"]) .nav__bar.glass .nav__links a:not(.is-active):hover { color: #fff; }
:root:not([data-theme="light"]) .nav__bar.glass .nav__word { text-shadow: 0 1px 8px rgba(20,6,0,.5); }

/* ===== Menu in alto: al passaggio del mouse compare una "finestra" di vetro liquido dietro la voce ===== */
.nav__links > a, .nav__links .drop__toggle { isolation: isolate; }
.nav__links > a.flash::after, .nav__links .drop__toggle.flash::after { display: none; }
.nav__links > a::before, .nav__links .drop__toggle::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 999px; pointer-events: none;
  opacity: 0; transform: scale(.82); transition: opacity .35s var(--ease), transform .45s var(--ease);
  background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.07) 55%, rgba(255,255,255,.14));
  -webkit-backdrop-filter: blur(14px) saturate(190%) brightness(1.1); backdrop-filter: blur(14px) saturate(190%) brightness(1.1);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.8), inset 0 -1px 1px rgba(255,255,255,.25), inset 0 0 0 1px rgba(255,255,255,.26), inset 0 10px 16px -10px rgba(255,255,255,.65), inset 0 -10px 16px -12px rgba(255,170,90,.45), 0 8px 18px -8px rgba(20,6,0,.45); }
@media (hover: hover) and (pointer: fine) {
  .nav__links > a:hover:not(.is-active)::before, .nav__links .drop__toggle:hover::before { opacity: 1; transform: scale(1); }
}
.nav__links > a:focus-visible::before { opacity: 1; transform: scale(1); }
.nav__links > a.is-active::before { display: none; }

/* ===== Fine del banner hero: sfuma nella pagina, senza riga nera ===== */
#top { background: transparent !important; }
#top iframe { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 60%, rgba(0,0,0,.85) 72%, rgba(0,0,0,.5) 84%, rgba(0,0,0,.18) 93%, transparent 100%); mask-image: linear-gradient(180deg, #000 0, #000 60%, rgba(0,0,0,.85) 72%, rgba(0,0,0,.5) 84%, rgba(0,0,0,.18) 93%, transparent 100%); }

/* =====================================================================
   MENU LIQUID GLASS UNICO: barra, tendina Servizi, menu e barra mobile
   ===================================================================== */
.nav__bar.glass:has(> .nav__glass) { -webkit-backdrop-filter: none; backdrop-filter: none; background: none; }
.nav__bar.glass > .nav__glass { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 55%, rgba(255,255,255,.09)), rgba(24,12,5,.30);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); }
:root[data-theme="light"] .nav__bar.glass > .nav__glass { background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.4) 55%, rgba(255,255,255,.6)); }

.drop__panel, .svc-sheet.glass, .mnav.glass, .tabbar.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.05) 55%, rgba(255,255,255,.10)), rgba(24,12,5,.34);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border: 0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 1px 1px rgba(255,255,255,.7), inset 0 -1px 1px rgba(255,255,255,.18), inset 0 14px 24px -16px rgba(255,255,255,.45), 0 24px 60px -12px rgba(20,6,0,.5); }
:root[data-theme="light"] .drop__panel, :root[data-theme="light"] .svc-sheet.glass, :root[data-theme="light"] .mnav.glass, :root[data-theme="light"] .tabbar.glass {
  background: linear-gradient(135deg, rgba(255,255,255,.8), rgba(255,255,255,.45) 55%, rgba(255,255,255,.65)); }

/* icone tonde, vetro arancio, come quelle del banner */
.drop__icon { width: 46px; height: 46px; border-radius: 50%; color: #fff; will-change: transform; transform-origin: 50% 50%;
  background: linear-gradient(180deg, rgba(255,170,90,.78), rgba(255,110,20,.55) 55%, rgba(255,140,50,.72));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 -1px 1px rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,220,180,.5), inset 0 10px 16px -10px rgba(255,255,255,.7), inset 0 -12px 18px -10px rgba(255,90,0,.55), 0 8px 18px rgba(255,110,20,.35);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.drop__icon svg { filter: drop-shadow(0 0 4px rgba(255,255,255,.45)); }
.drop__item:hover .drop__icon, .drop__item:focus-visible .drop__icon { transform: none; background: linear-gradient(180deg, rgba(255,170,90,.78), rgba(255,110,20,.55) 55%, rgba(255,140,50,.72)); color: #fff; box-shadow: inset 0 1px 1px rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,230,200,.6), 0 0 22px rgba(255,150,60,.6); }
.svc-sheet .drop__icon, .mnav__svc .drop__icon { width: 40px; height: 40px; border-radius: 50%; }
.nav__links .drop__item:hover, .nav__links .drop__item:focus-visible, .svc-sheet .drop__item:active, .mnav__svc .drop__item:active, .mnav__svc .drop__item:hover { background: rgba(255,255,255,.10); }
:root:not([data-theme="light"]) .drop__item b, :root:not([data-theme="light"]) .mnav__link { color: #fff; text-shadow: 0 1px 8px rgba(20,6,0,.45); }
.nav__links .drop__all, .svc-sheet .drop__all { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.tabbar a.is-active, .tabbar a.is-open { background: rgba(255,255,255,.12); box-shadow: inset 0 1px 1px rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.18); }
:root:not([data-theme="light"]) .tabbar a { color: rgba(255,255,255,.88); text-shadow: 0 1px 8px rgba(20,6,0,.55); }

.mnav__link { gap: 14px; padding: 4px 10px; min-height: 52px; }
.mnav__link .drop__icon { width: 40px; height: 40px; font-size: 18px; border-radius: 50%; }

/* Menu mobile in ordine: Servizi e Menu in due colonne, stessa icona, stesso carattere, allineati */
.mnav { padding: 12px; gap: 4px; }
.mnav__head { margin: 6px 8px 4px; }
.mnav__svc { gap: 4px 6px; padding: 0 0 8px; }
.mnav__svc .drop__item, .mnav__svc .mnav__link { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 6px 8px; border-radius: 16px; }
.mnav__svc .drop__icon, .mnav__link .drop__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; font-size: 19px; }
.mnav__svc .drop__item b, .mnav__svc .mnav__link span:last-child { display: block; font: 600 .86rem/1.15 var(--f-display); letter-spacing: .08em; text-transform: uppercase; }
.mnav__grid { border-bottom: 0; margin-bottom: 0; }

/* pagina Shop */
.shop__intro .fit--soft { text-transform: none; letter-spacing: 0; font-weight: 400; line-height: 1.45; margin: 0 0 16px; }
.shop__intro .fit--soft .ol { color: rgba(255,255,255,.9); }
:root[data-theme="light"] .shop__intro .fit--soft .ol { color: var(--text); }
.shopfeat { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shopfeat li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 .74rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); box-shadow: inset 0 1px 1px rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,255,255,.18); }
.shopfeat li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px rgba(255,122,26,.9); flex: none; }
:root[data-theme="light"] .shopfeat li { color: var(--text); }
.shopdemo { margin: 0 0 14px; font-size: .9rem; color: var(--muted); }

.shop__techlabel { margin: 0 0 10px; font: 600 .7rem/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); }
.shop__tech li { align-items: center; gap: 12px; }
.tech__ic { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 700 .82rem/1 var(--f-display); letter-spacing: .02em; color: #fff;
  background: linear-gradient(180deg, rgba(255,170,90,.78), rgba(255,110,20,.55) 55%, rgba(255,140,50,.72));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,220,180,.5), inset 0 -10px 14px -10px rgba(255,90,0,.55), 0 6px 14px rgba(255,110,20,.3); }
@media (max-width: 899px) { .shop__tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shop__tech { grid-template-columns: 1fr; } .shop__tech li { padding: 10px 12px; } }
@media (max-width: 520px) {
  .nav, .nav__bar { max-width: 100vw; box-sizing: border-box; }
  .nav__bar { width: auto; min-width: 0; }
  .nav__tools { gap: 2px; min-width: 0; flex: 0 1 auto; }
  .nav__tools .nav__icon, .nav__tools .nav__burger { width: 38px; height: 38px; }
  .nav__tools .theme-switch { transform: scale(.88); transform-origin: center; margin: 0 -4px; }
  .nav__logo { flex: 0 0 auto; }
}
@media (max-width: 1023px) { .shop__head--look { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 1024px) { .shop__head--look { grid-template-columns: minmax(0, 1.2fr) minmax(260px, 420px); } }
.shop__intro, .shop__intro > * { min-width: 0; max-width: 100%; }
.shop__intro .demo-badge, .shop__intro .shopdemo { white-space: normal; }
@media (max-width: 520px) { .nav__bar { width: calc(100vw - 32px); justify-content: space-between; } }
/* barra pagamenti liquid glass */
.shop__pay { position: relative; }
.shop__pay { justify-content: center; }
.shop__pay::before { content: ""; position: absolute; inset: 0 auto 0 50%; transform: translateX(-50%); width: min(100%, 640px); border-radius: 999px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05) 55%, rgba(255,255,255,.10));
  -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.55), inset 0 0 0 1px rgba(255,255,255,.14), inset 0 -10px 18px -12px rgba(255,140,50,.28), 0 10px 30px rgba(0,0,0,.35); }
.shop__pay .pay-icons { position: relative; width: min(100%, 560px); height: auto; padding: 12px 22px; box-sizing: content-box; max-width: calc(100% - 36px); }
@media (max-width: 520px) { .shop__pay .pay-icons { padding: 10px 14px; max-width: calc(100% - 28px); } }
:root[data-theme="light"] .shop__pay::before { background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.35)); box-shadow: inset 0 1px 1px #fff, inset 0 0 0 1px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.1); }
.pay-icons { background: transparent !important; border-radius: 0; }
.shop__pay .pay-icons { padding: 12px 22px; }
@media (max-width: 520px) { .shop__pay .pay-icons { padding: 10px 14px; } }

/* ===== FOOTER liquid glass (desktop riordinato; mobile invariato) ===== */
.footer__mascotte { display: none !important; }
.social-tile { background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04) 55%, rgba(255,255,255,.08)); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  border: 0; box-shadow: inset 0 1px 1px rgba(255,255,255,.45), inset 0 0 0 1px rgba(255,255,255,.12), 0 10px 26px rgba(0,0,0,.35); }
.social-tile__icon { border-radius: 50%; background: linear-gradient(180deg, rgba(255,170,90,.85), rgba(255,110,20,.6) 55%, rgba(255,140,50,.8));
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,220,180,.5), 0 6px 16px rgba(255,110,20,.35); }
.social-tile:hover { box-shadow: inset 0 1px 1px rgba(255,255,255,.6), inset 0 0 0 1px rgba(255,122,26,.5), 0 14px 34px -10px rgba(255,122,26,.55); }
.footer__clients { position: relative; }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo social" "clients clients" "bottom bottom"; gap: 28px 40px; align-items: center; }
  .footer__logo { grid-area: logo; width: 112px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 12px 30px rgba(0,0,0,.45); }
  .footer__social { grid-area: social; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; justify-content: stretch; }
  .social-tile { min-width: 0; padding: 14px 16px; }
  .footer__clients { grid-area: clients; flex-wrap: nowrap; justify-content: space-between; gap: 12px; padding: 16px 22px; border-radius: 28px;
    background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03) 55%, rgba(255,255,255,.07)); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    box-shadow: inset 0 1px 1px rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.1), 0 10px 26px rgba(0,0,0,.35); }
  .footer__clients img, .footer__clients img.is-round { flex: 1 1 0; min-width: 0; height: 58px; max-width: 120px; width: auto; object-fit: contain; padding: 8px 12px; border-radius: 16px;
    background: linear-gradient(160deg, rgba(255,255,255,.93), rgba(236,232,228,.82)); box-shadow: inset 0 1px 1px #fff, 0 6px 16px rgba(0,0,0,.35); filter: grayscale(1); opacity: .78; }
  .footer__clients img.is-round { object-fit: cover; padding: 0; border-radius: 50%; width: 58px; flex: 0 0 58px; background: #000; }
  .footer__clients img:hover { filter: none; opacity: 1; transform: translateY(-3px) scale(1.05); }
  .footer__bottom { grid-area: bottom; }
}

/* ===== LIQUID GLASS GLOBALE: pulsanti, form, contatti, social, riquadri ===== */
:root { --lq-bg: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04) 55%, rgba(255,255,255,.09)); --lq-blur: blur(18px) saturate(1.6);
  --lq-edge: inset 0 1px 1px rgba(255,255,255,.5), inset 0 0 0 1px rgba(255,255,255,.13), inset 0 -10px 18px -12px rgba(255,140,50,.22); --lq-drop: 0 10px 28px rgba(0,0,0,.34); }
:root[data-theme="light"] { --lq-bg: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.4) 55%, rgba(255,255,255,.6)); --lq-edge: inset 0 1px 1px #fff, inset 0 0 0 1px rgba(0,0,0,.07); --lq-drop: 0 8px 24px rgba(0,0,0,.1); }
.glass, .form, .btn--glass, .contact__links a, .social-tile { background: var(--lq-bg); -webkit-backdrop-filter: var(--lq-blur); backdrop-filter: var(--lq-blur); border: 0; box-shadow: var(--lq-edge), var(--lq-drop); }
.btn--accent { background: linear-gradient(180deg, rgba(255,172,96,.98), rgba(255,112,24,.96) 52%, rgba(255,138,46,.98)); border: 0;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,220,180,.4), inset 0 -10px 16px -10px rgba(190,60,0,.55), 0 12px 30px -10px rgba(255,110,20,.7), 0 0 26px rgba(255,122,26,.22); }
.btn--accent:hover { background: linear-gradient(180deg, rgba(255,184,112,1), rgba(255,122,30,1) 52%, rgba(255,148,56,1)); box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,230,200,.5), inset 0 -10px 16px -10px rgba(190,60,0,.5), 0 16px 36px -10px rgba(255,110,20,.85), 0 0 34px rgba(255,122,26,.38); }
.btn--glass:hover, .contact__links a:hover { box-shadow: var(--lq-edge), 0 14px 32px -10px rgba(255,122,26,.5), 0 0 0 1px rgba(255,122,26,.35); }
.contact__links a { color: inherit; }
.contact__links svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: linear-gradient(180deg, rgba(255,170,90,.85), rgba(255,110,20,.6) 55%, rgba(255,140,50,.8)); color: #fff;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,220,180,.5), 0 4px 12px rgba(255,110,20,.35); filter: none; margin-left: -10px; box-sizing: content-box; }
.field input, .field select, .field textarea { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.1)); border: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14), 0 1px 0 rgba(255,255,255,.12); }
:root[data-theme="light"] .field input, :root[data-theme="light"] .field select, :root[data-theme="light"] .field textarea { background: rgba(255,255,255,.55); box-shadow: inset 0 1px 2px rgba(0,0,0,.08), inset 0 0 0 1px rgba(0,0,0,.08); }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 1px 2px rgba(0,0,0,.3), inset 0 0 0 1.5px var(--orange), 0 0 0 4px rgba(255,122,26,.16), 0 0 22px rgba(255,122,26,.25); }
.field.is-error input, .field.is-error textarea { box-shadow: inset 0 0 0 1.5px #ff4d4d; }
/* flare a lama (lento in entrata, veloce in uscita) su tutti i pulsanti e riquadri .flash */
.flash::after { background: linear-gradient(100deg, transparent 0 43%, rgba(255,226,180,.32) 47.5%, rgba(255,255,255,.9) 50%, rgba(255,226,180,.32) 52.5%, transparent 57% 100%); transform: translateX(-130%); }
@keyframes flash { 0% { transform: translateX(-130%); opacity: 0; } 6% { opacity: 1; } 55% { transform: translateX(-10%); opacity: 1; animation-timing-function: cubic-bezier(.5,0,.9,.3); } 100% { transform: translateX(130%); opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .flash:hover::after { animation: flash 1.1s cubic-bezier(.3,.1,.5,1); } }
.flash:active::after, .flash.is-flash::after { animation: flash 1.1s cubic-bezier(.3,.1,.5,1); }
/* loghi clienti: solo il logo, senza tondo/lastra */
.footer__clients img, .footer__clients img.is-round { background: none !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important;
  filter: brightness(0) invert(1) !important; opacity: .72; transition: opacity .3s, transform .3s, filter .3s; }
.footer__clients img.is-round { filter: none !important; mix-blend-mode: screen; border-radius: 50% !important; }
.footer__clients img:hover { opacity: 1; transform: translateY(-3px) scale(1.06); filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,160,80,.7)) !important; }
.footer__clients img.is-round:hover { filter: drop-shadow(0 0 10px rgba(255,160,80,.7)) !important; }
@media (min-width: 900px) { .footer__clients img, .footer__clients img.is-round { height: 52px; } .footer__clients img.is-round { width: 52px; flex: 0 0 52px; object-fit: contain; border-radius: 50% !important; } }
.footer__clients img.is-round { filter: contrast(2.2) brightness(.95) !important; }
.footer__clients img.is-round:hover { filter: contrast(2.2) brightness(1.1) drop-shadow(0 0 10px rgba(255,160,80,.7)) !important; }
.field select { padding-right: 34px; text-overflow: ellipsis; }
/* controlli, filtri, tag: stesso liquid glass */
.ctrl--line { border: 0; background: var(--lq-bg); -webkit-backdrop-filter: var(--lq-blur); backdrop-filter: var(--lq-blur); box-shadow: var(--lq-edge), var(--lq-drop); }
.ctrl--line:hover { box-shadow: var(--lq-edge), 0 10px 26px -8px rgba(255,122,26,.55), 0 0 0 1px rgba(255,122,26,.4); }
.filters { border: 0; background: var(--lq-bg); -webkit-backdrop-filter: var(--lq-blur); backdrop-filter: var(--lq-blur); box-shadow: var(--lq-edge), var(--lq-drop); }
.filters button[aria-selected="true"] { background: linear-gradient(180deg, rgba(255,172,96,.98), rgba(255,112,24,.96) 52%, rgba(255,138,46,.98)); box-shadow: inset 0 1px 1px rgba(255,255,255,.75), inset 0 0 0 1px rgba(255,220,180,.4), 0 6px 18px rgba(255,110,20,.45); }
.tags li, .chips li { border: 0; background: linear-gradient(180deg, rgba(255,160,80,.2), rgba(255,122,26,.08)); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 1px rgba(255,255,255,.3), inset 0 0 0 1px rgba(255,160,80,.3); }
/* shop: pulsanti bianchi pieni -> vetro liquido */
.lookshow__go, .product__add { background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.12) 55%, rgba(255,255,255,.22)) !important; color: #fff !important; -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.3) !important; border: 0 !important; }
.lookshow__go:hover, .product__add:hover { background: linear-gradient(180deg, rgba(255,172,96,.95), rgba(255,112,24,.92) 55%, rgba(255,138,46,.95)) !important; box-shadow: inset 0 1px 1px rgba(255,255,255,.75), 0 10px 26px -6px rgba(255,110,20,.6) !important; }
:root[data-theme="light"] .product__add { color: #1d1d1f !important; background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.55)) !important; }
/* Ale Dia: logo oro/argento trasparente, colori originali */
.footer__clients img.is-round, .footer__clients img.is-round:hover { filter: none !important; mix-blend-mode: normal; border-radius: 0 !important; background: none !important; }
.footer__clients img.is-round:hover { filter: drop-shadow(0 0 10px rgba(255,190,100,.6)) !important; }
@media (min-width: 900px) { .footer__clients img.is-round { height: 64px; width: 64px; flex: 0 0 64px; object-fit: contain; opacity: .95; } }
@media (max-width: 899px) {
  .footer__logo { width: 92px; border-radius: 18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), 0 10px 26px rgba(0,0,0,.4); }
  .footer__clients { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 10px; align-items: center; justify-items: center; padding: 18px 14px; border-radius: 26px;
    background: var(--lq-bg); -webkit-backdrop-filter: var(--lq-blur); backdrop-filter: var(--lq-blur); box-shadow: var(--lq-edge), var(--lq-drop); }
  .footer__clients img, .footer__clients img.is-round { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
  .footer__clients img.is-round { height: 52px; width: 52px; }
}
@media (max-width: 1023px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .contact__grid > * { min-width: 0; } }
@media (max-width: 520px) { .contact__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .contact__links a { flex: none; min-width: 0; padding: 0 12px; justify-content: flex-start; font-size: .9rem; } .contact__links a:nth-child(2) { grid-column: 1 / -1; } }
@media (max-width: 520px) { .contact__links a:nth-child(2) { order: -1; } }
@media (max-width: 899px) {
  .footer__clients::before { content: "I nostri clienti"; grid-column: 1 / -1; justify-self: center; margin-bottom: 2px; font: 600 .72rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
}
/* sfumature continue: fine del banner hero e inizio footer, senza righe nette */
#top iframe { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 46%, rgba(0,0,0,.95) 54%, rgba(0,0,0,.84) 62%, rgba(0,0,0,.66) 70%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.25) 86%, rgba(0,0,0,.1) 93%, rgba(0,0,0,.03) 97%, transparent 100%) !important;
  mask-image: linear-gradient(180deg, #000 0, #000 46%, rgba(0,0,0,.95) 54%, rgba(0,0,0,.84) 62%, rgba(0,0,0,.66) 70%, rgba(0,0,0,.45) 78%, rgba(0,0,0,.25) 86%, rgba(0,0,0,.1) 93%, rgba(0,0,0,.03) 97%, transparent 100%) !important; }
.footer { border-top: 0 !important; position: relative; background: #07080B; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: -140px; height: 140px; pointer-events: none; z-index: 0;
  background: linear-gradient(180deg, rgba(7,8,11,0) 0, rgba(7,8,11,.05) 20%, rgba(7,8,11,.16) 38%, rgba(7,8,11,.36) 56%, rgba(7,8,11,.62) 74%, rgba(7,8,11,.86) 90%, #07080B 100%); }
.footer::after { content: ""; position: absolute; left: 50%; top: 0; width: min(900px, 90%); height: 1px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,140,50,.28), transparent); opacity: .7; }
.footer > * { position: relative; z-index: 1; }
.footer::after { display: none !important; }
/* alleggerimento: niente sfocatura sugli elementi piccoli e numerosi (tag, campi): stesso aspetto, meno lavoro per la GPU dei telefoni */
.tags li, .chips li, .field input, .field select, .field textarea { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* ==========================================================================
   TEMA CINEMATIC MACROVERSO (30/11/2026)
   Stesso colore e stesse finestre della nuova home su tutte le pagine.
   Per tornare indietro: cancellare da qui alla fine del file.
   ========================================================================== */
:root,:root[data-theme="dark"]{
  --bg:#071113; --bg-2:#0A171A; --surface:#0E1B1E; --surface-2:#142428;
  --text:#EEF2F2; --muted:#8E9EA2; --line:rgba(150,205,215,.10);
  --glass:rgba(10,26,29,.55); --glass-strong:rgba(8,20,23,.86); --glass-border:rgba(170,220,228,.14);
  --diag:#0B181B; --shop-bg:#0E1B1E;
}
:root:not([data-theme="light"]) body{background:
  radial-gradient(60% 40% at 15% 0%,rgba(20,60,66,.35),transparent 70%),
  radial-gradient(50% 35% at 90% 55%,rgba(255,122,26,.05),transparent 70%),
  var(--bg)}
:root:not([data-theme="light"]) .footer{background:#051012!important}

/* Finestre: tutte come le card dei reel */
.bcard,.vcard,.pcard,.product,.site__frame,.ring__card,.yts__item{border-radius:18px;border:1px solid var(--line);background:var(--surface);box-shadow:0 24px 50px -30px rgba(0,0,0,.7);transition:border-color .4s,box-shadow .4s,transform .5s var(--ease)}
.bcard:hover,.vcard:hover,.pcard:hover,.product:hover,.yts__item:hover{border-color:rgba(255,122,26,.6);box-shadow:0 0 0 1px rgba(255,122,26,.25),0 0 34px rgba(255,122,26,.18);transform:translateY(-4px)}
.site__frame{border-color:rgba(255,122,26,.3)}
.bcard__cat{display:inline-block;align-self:flex-start;padding:5px 9px;border-radius:6px;font:700 .6rem/1 var(--f-display);letter-spacing:.18em;text-transform:uppercase;color:var(--orange);border:1px solid rgba(255,122,26,.5);background:none}
.social-tile{background:var(--surface);border-color:var(--line)}
.social-tile:hover{border-color:rgba(255,122,26,.6)}
.drop__panel,.tabbar,.nav__bar{background:var(--glass);border-color:var(--glass-border)}

/* Logo MACROVERSO sempre trasparente: niente riquadri */
.nav__logo img{border-radius:0;box-shadow:none;object-fit:contain}
.footer__logo{border-radius:0!important;box-shadow:none!important;background:none!important}

/* Menu "Servizi" della barra in basso e menu ☰: pannello pieno, sopra a tutto, sfondo oscurato (30/11) */
.svc-sheet,.mnav{z-index:96!important;background:rgba(8,20,23,.96)!important;-webkit-backdrop-filter:blur(24px) saturate(160%);backdrop-filter:blur(24px) saturate(160%);box-shadow:0 -10px 40px rgba(0,0,0,.6),0 0 0 1px rgba(255,122,26,.18)!important}
:root[data-theme="light"] .svc-sheet,:root[data-theme="light"] .mnav{background:rgba(255,255,255,.97)!important}
.tabbar{z-index:97!important}
body:has(.svc-sheet:not([hidden]))::after,body:has(.mnav:not([hidden]))::after{content:"";position:fixed;inset:0;z-index:95;background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
body:has(.svc-sheet:not([hidden])) .mvchat-fab,body:has(.svc-sheet:not([hidden])) .totop,body:has(.svc-sheet:not([hidden])) .mvchat,
body:has(.mnav:not([hidden])) .mvchat-fab,body:has(.mnav:not([hidden])) .totop{opacity:0!important;pointer-events:none!important}
body:has(.mnav:not([hidden])) .nav{z-index:97!important}


/* galleria e video negli articoli */
.bpost__gal, .bpost__vid { margin: clamp(32px,5vw,56px) 0 0; }
.bpost__galgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bpost__galgrid figure { margin: 0; }
.bpost__galgrid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; background: var(--surface); }
.bpost__galgrid figcaption { font-size: .78rem; line-height: 1.35; opacity: .72; margin-top: 6px; }
@media (max-width: 700px) { .bpost__galgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
.bpost__vids { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.bpost__video { margin: 0; width: min(100%, 300px); }
.bpost__yt { aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 18px 50px -24px rgba(0,0,0,.8); }
.bpost__yt iframe { width: 100%; height: 100%; border: 0; display: block; }
.bpost__video figcaption { font-size: .8rem; line-height: 1.4; opacity: .8; margin-top: 8px; text-align: center; }

/* ===== blog: impaginazione editoriale ===== */
.bpost__hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(28px,4vw,64px);align-items:center;padding-bottom:clamp(24px,4vw,48px)}
.bpost__title{font-size:clamp(2rem,1rem + 2.6vw,3.5rem);line-height:1.04;max-width:none;text-wrap:balance}
.bpost__hero .lead{max-width:62ch;font-size:clamp(1rem,.95rem + .3vw,1.2rem)}
.bpost__hero .bpost__cover{max-width:none;width:100%;margin:0;aspect-ratio:16/9}
.bpost__hero .bpost__cover img{object-position:center 45%}
.bpost__body.legal{max-width:1120px}
.bpost__body>p,.bpost__body>h2,.bpost__body>h3,.bpost__body>ul,.bpost__body>ol,.bpost__body>table,.bpost__body>blockquote{max-width:760px}
.bpost__body>p,.bpost__body li{font-size:1.04rem;line-height:1.8}
.bpost__strip{display:grid;gap:14px;margin:clamp(28px,4vw,48px) 0}
.bpost__strip--3{grid-template-columns:repeat(3,1fr)}
.bpost__strip--2{grid-template-columns:repeat(2,1fr)}
.bpost__strip--1{grid-template-columns:minmax(0,760px)}
.bpost__strip--4{grid-template-columns:repeat(4,1fr)}
.bpost__strip figure{margin:0}
.bpost__strip img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block;background:var(--surface);box-shadow:0 18px 44px -26px rgba(0,0,0,.8)}
.bpost__strip figcaption{font-size:.78rem;line-height:1.35;opacity:.7;margin-top:7px}
.bpost__vrow{display:grid;grid-template-columns:300px minmax(0,1fr);gap:clamp(24px,4vw,56px);align-items:center;margin:clamp(32px,5vw,56px) 0;padding:clamp(18px,3vw,32px);border-radius:24px;border:1px solid var(--line);background:var(--surface)}
.bpost__vrow .bpost__video{width:100%}
.bpost__vtxt h3{margin:.2rem 0 .6rem;font-size:clamp(1.3rem,1.1rem + .8vw,1.8rem);line-height:1.12}
.bpost__vtxt p:not(.eyebrow){margin:0 0 1.1rem}
@media (max-width:900px){
 .bpost__hero{grid-template-columns:1fr}
 .bpost__hero .bpost__cover{order:-1;aspect-ratio:16/9}
 .bpost__strip--3,.bpost__strip--4{grid-template-columns:repeat(2,1fr)}
 .bpost__vrow{grid-template-columns:1fr;justify-items:center;text-align:left}
 .bpost__vrow .bpost__video{max-width:300px}
}
