/* 3Esse V2 — layout: fondo scuro, fasce chiare per i contenuti, arancio usato solo per azioni e urgenza.
   Display: Barlow Condensed (come le grafiche social), testo: Barlow. */
:root {
  --ink: #0B0D0F;
  --graphite: #14181B;
  --steel: #1D2227;
  --white: #FFFFFF;
  --paper: #F3F4F5;
  --accent: #FF6A13;
  --accent-text: #FF8438;
  --accent-deep: #B03C00;

  /* token attivi (le fasce chiare ridefiniscono solo questi) */
  --bg: var(--ink);
  --fg: #E8EBED;
  --muted: #A3ACB4;
  --card: var(--graphite);
  --line: #2A3036;
  --link: var(--accent-text);
  --band-bg: var(--ink);

  --font-display: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --gutter: 20px;
  --radius: 3px;
  color-scheme: dark;
}
.band-light {
  --bg: var(--paper); --fg: #101315; --muted: #566069; --card: var(--white); --line: #D8DCDF; --link: var(--accent-deep);
  background: var(--bg); color: var(--fg);
}
.band-dark { --bg: var(--ink); background: var(--bg); color: var(--fg); }
.band-steel { --bg: var(--graphite); --card: var(--steel); --line: #2F363C; background: var(--bg); color: var(--fg); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ink); color: var(--fg); font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-text-size-adjust: 100%; padding-bottom: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); text-wrap: balance; margin: 0; }
h1 { overflow-wrap: break-word; font-weight: 800; font-size: clamp(2.5rem, 7.4vw, 5rem); line-height: .95; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-weight: 800; font-size: clamp(2.1rem, 5.6vw, 3.5rem); line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
h3 { font-weight: 700; font-size: 1.55rem; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; }
p { margin: 0; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--link); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(30px, 5vw, 56px); max-width: 780px; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.num { font-variant-numeric: tabular-nums; }

/* barra anteprima */
.preview-bar { background: #FFD84D; color: #1B1500; font-size: .86rem; line-height: 1.35; text-align: center; font-weight: 600; padding: 8px max(16px, env(safe-area-inset-left, 0px)) 8px max(16px, env(safe-area-inset-right, 0px)); }

/* header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--ink); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); border-bottom: 1px solid #23282D; }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-width: 0; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.brand-name span { font-weight: 500; letter-spacing: .12em; font-size: 1rem; opacity: .75; margin-left: 4px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav a.nav-link { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; color: #E8EBED; padding: 12px 9px; border-bottom: 3px solid transparent; white-space: nowrap; }
.nav a.nav-link:hover { color: var(--accent-text); }
.nav a.nav-link[aria-current="page"] { border-bottom-color: var(--accent); }
.nav .btn { margin-left: 8px; }
.menu-btn { flex: none; display: none; margin-left: auto; background: none; border: 1px solid #343B42; color: #fff; width: 48px; height: 48px; border-radius: var(--radius); cursor: pointer; font: inherit; }
.menu-btn span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; }
@media (max-width: 1230px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-bottom: 1px solid #23282D; flex-direction: column; align-items: stretch; gap: 0; padding: 6px max(var(--gutter), env(safe-area-inset-left, 0px)) 22px; }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: 16px 2px; border-bottom: 1px solid #23282D; font-size: 1.3rem; }
  .nav .btn { margin: 16px 0 0; }
}
@media (max-width: 440px) { .brand img { height: 40px; } .brand-name { font-size: 1.3rem; } .brand-name span { display: none; } }

/* pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; background: var(--accent); color: #0B0D0F; transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-2px); background: #FF7F33; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-ghost { background: transparent; color: #fff; border-color: #5A636B; }
.btn-ghost:hover { background: transparent; border-color: var(--accent); }
.band-light .btn-ghost { color: #101315; border-color: #8B949B; }
.btn-dark { background: #0B0D0F; color: #fff; }
.btn-dark:hover { background: #1D2227; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: 1.08rem; }
.btn-lg { min-height: 64px; padding: 14px 30px; font-size: 1.4rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* hero */
.hero { background: var(--ink); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -8%; top: -30%; width: 55vw; height: 140%; background: linear-gradient(105deg, transparent 0 40%, rgba(255,106,19,.07) 40% 41.2%, transparent 41.2% 46%, rgba(255,255,255,.035) 46% 47%, transparent 47%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 84px); position: relative; z-index: 1; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-top: 24px; color: #B8C0C7; }
.hero .btn-row { margin-top: 32px; }
.hero-note { margin-top: 22px; color: #9AA4AC; font-size: .98rem; }
.hero-note a { color: var(--accent-text); }
.hero-photo { position: relative; margin: 0; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--accent); border-radius: var(--radius); z-index: 0; }
.hero-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); }
.hero-photo figcaption { position: absolute; z-index: 2; left: 0; bottom: 0; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .95rem; padding: 9px 16px 9px 14px; border-top-right-radius: var(--radius); }
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { margin-right: 18px; }
  .hero-photo img { aspect-ratio: 4 / 4.3; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .wrap > div:first-child > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero .wrap > div:first-child > :nth-child(2) { animation-delay: .08s; }
  .hero .wrap > div:first-child > :nth-child(3) { animation-delay: .16s; }
  .hero .wrap > div:first-child > :nth-child(4) { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* striscia punti di forza */
.strip { background: var(--accent); color: #0B0D0F; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.strip-item { padding: 18px 18px 18px 0; display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.05; text-transform: uppercase; letter-spacing: .03em; }
.strip-item + .strip-item { padding-left: 20px; border-left: 1px solid rgba(11,13,15,.28); }
.strip-item svg { width: 34px; height: 34px; flex: none; }
@media (max-width: 860px) { .strip .wrap { grid-template-columns: 1fr 1fr; } .strip-item { padding: 14px 8px 14px 0; font-size: 1.1rem; } .strip-item + .strip-item { padding-left: 0; border-left: 0; } .strip-item:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(11,13,15,.28); } .strip-item:nth-child(n+3) { border-top: 1px solid rgba(11,13,15,.28); } }
@media (max-width: 420px) { .strip-item svg { width: 28px; height: 28px; } .strip-item { gap: 10px; font-size: 1rem; } }

/* problema -> soluzione */
.solve { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: stretch; }
.solve-old { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.trade { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .05em; display: flex; align-items: center; gap: 10px; }
.trade svg { width: 24px; height: 24px; flex: none; color: var(--link); }
.solve-arrow { align-self: center; width: 54px; height: 54px; color: var(--accent); }
.solve-new { background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; justify-content: center; border: 2px solid var(--accent); }
.solve-new img { height: 150px; width: auto; align-self: flex-start; }
.solve-new p { color: #B8C0C7; }
.solve-label { font-family: var(--font-display); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .95rem; color: var(--muted); margin-bottom: 12px; }
@media (max-width: 900px) { .solve { grid-template-columns: 1fr; } .solve-arrow { transform: rotate(90deg); justify-self: center; } }

/* servizi */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: border-color .15s, transform .15s; }
.svc-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--accent); transition: width .25s; }
.svc-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.svc-card:hover::after { width: 100%; }
.svc-card .ico { width: 46px; height: 46px; color: var(--accent); }
.band-light .svc-card .ico { color: var(--accent-deep); }
.svc-card p { color: var(--muted); font-size: 1rem; }
.svc-card .more { margin-top: auto; padding-top: 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 1.02rem; color: var(--link); }
.svc-card.hot { background: var(--accent); border-color: var(--accent); color: #0B0D0F; }
.svc-card.hot p, .svc-card.hot .more { color: #0B0D0F; }
.svc-card.hot .ico { color: #0B0D0F; }
.svc-card.hot::after { background: #0B0D0F; }

/* metodo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; }
.steps-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { padding: 22px 22px 0 0; border-top: 3px solid var(--accent); counter-increment: s; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; color: var(--accent); line-height: 1; display: block; margin-bottom: 6px; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.4rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .steps, .steps-3 { grid-template-columns: 1fr; } .steps li { padding: 18px 0 20px; display: grid; grid-template-columns: 60px 1fr; column-gap: 10px; } .steps li::before { grid-row: 1 / 3; font-size: 3rem; } }

/* destinatari / principi */
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.audience div { padding: 26px 22px; border-left: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em; background: var(--card); }
.audience div:first-child { border-left: 0; }
.audience small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .98rem; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 6px; }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr 1fr; } .audience div:nth-child(3) { border-left: 0; } .audience div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.principle { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 8px; border-top: 4px solid var(--accent); }
.principle p { color: var(--muted); font-size: 1rem; }

/* banda H24 */
.h24-band { background: var(--accent); color: #0B0D0F; }
.h24-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding-block: clamp(34px, 5vw, 60px); }
.h24-band .eyebrow { color: #0B0D0F; }
.h24-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.h24-band p { margin-top: 8px; max-width: 56ch; }
.h24-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; margin-bottom: 14px; user-select: all; }
.h24-band .btn { background: #0B0D0F; color: #fff; }
.h24-band .btn:hover { background: #20262B; }
.h24-band .btn-ghost { background: transparent; color: #0B0D0F; border-color: #0B0D0F; }
.h24-band .btn-ghost:hover { background: transparent; border-color: #0B0D0F; }
@media (max-width: 760px) { .h24-band .wrap { grid-template-columns: 1fr; } }

/* intestazione pagine interne */
.page-head { background: var(--ink); position: relative; overflow: hidden; border-bottom: 1px solid #23282D; }
.page-head::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 38%; background: linear-gradient(105deg, transparent 0 55%, rgba(255,106,19,.10) 55% 57%, transparent 57% 70%, rgba(255,255,255,.04) 70% 71%, transparent 71%); pointer-events: none; }
.page-head .wrap { padding-block: clamp(44px, 8vw, 96px) clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.page-head .eyebrow { color: var(--accent-text); }
.page-head .lead { color: #B8C0C7; }

/* servizi: indice a chip e sezioni */
.chipnav { position: sticky; top: calc(72px + env(safe-area-inset-top, 0px)); z-index: 40; background: var(--graphite); border-bottom: 1px solid #23282D; }
.chipnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.chipnav .wrap::-webkit-scrollbar { display: none; }
.chipnav a { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #E8EBED; border: 1px solid #343B42; border-radius: 999px; padding: 7px 16px; white-space: nowrap; }
.chipnav a:hover { border-color: var(--accent); color: var(--accent-text); }
.svc { scroll-margin-top: 140px; }
.svc .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.svc.rev .svc-media { order: 2; }
.svc-copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.svc-copy h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.svc-copy p { color: var(--muted); }
.svc-copy .lead { font-size: 1.12rem; }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.band-light .ticks li::before { border-color: var(--accent-deep); }
.svc-media { min-width: 0; margin: 0; }
.svc-media > img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.svc-media.wide > img { aspect-ratio: 4 / 3.4; }
.svc-panel { border-radius: var(--radius); background: var(--ink); border: 1px solid #2A3036; padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; min-height: 280px; justify-content: center; }
.svc-panel .big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 3.2rem); line-height: .98; color: #fff; }
.svc-panel .big em { font-style: normal; color: var(--accent); display: block; }
.svc-panel p { color: #AEB7BE; }
.svc-panel .phone { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums; }
.svc .src-note { margin-top: 10px; font-size: .86rem; color: var(--muted); }
@media (max-width: 860px) { .svc .wrap { grid-template-columns: 1fr; } .svc.rev .svc-media { order: 0; } .svc-media > img { aspect-ratio: 4 / 3.6; } }

/* confronto prima / dopo */
.cmp { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; --pos: 50%; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cmp > img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.cmp .cmp-after { position: absolute; inset: 0; }
.cmp .cmp-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); pointer-events: none; }
.cmp-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0D0F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 26px no-repeat; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.cmp input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.cmp:focus-within .cmp-handle::after { outline: 3px solid #fff; outline-offset: 2px; }
.cmp-lab { position: absolute; bottom: 10px; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; background: rgba(11,13,15,.82); color: #fff; pointer-events: none; }
.cmp-lab.l { left: 10px; }
.cmp-lab.r { right: 10px; background: var(--accent); color: #0B0D0F; }
.side { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; border-radius: var(--radius); overflow: hidden; margin: 0; position: relative; background: #000; }
.side > div { position: relative; }
.side img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar); }
.side .cmp-lab { bottom: 10px; }
.photo { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: #000; }
.photo img { width: 100%; aspect-ratio: var(--ar, 4 / 5); object-fit: cover; object-position: 50% 35%; }

/* etichette di controllo (visibili solo nelle bozze) */
.src-tag { position: absolute; z-index: 5; top: 10px; left: 10px; background: #FFD84D; color: #1B1500; font-family: var(--font-body); font-weight: 700; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; pointer-events: none; display: none; }
body.flags .src-tag { display: block; }

/* lavori */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; background: transparent; color: var(--fg); border: 1px solid #8B949B; border-radius: 999px; padding: 9px 18px; cursor: pointer; min-height: 44px; }
.band-light .filter { border-color: #9AA3AA; }
.filter[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #0B0D0F; }
.filter .n { opacity: .65; margin-left: 6px; font-variant-numeric: tabular-nums; }
.work-grid { column-count: 3; column-gap: 22px; }
.work-grid > .work { break-inside: avoid; margin-bottom: 22px; }
@media (max-width: 980px) { .work-grid { column-count: 2; } }
@media (max-width: 600px) { .work-grid { column-count: 1; } }
.work { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; position: relative; }
.work-copy { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.work-copy h3 { font-size: 1.4rem; }
.work-copy p { color: var(--muted); font-size: .98rem; }
.cat { align-self: flex-start; font-family: var(--font-display); font-weight: 600; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--link); }
.empty-cat { column-span: all; border: 2px dashed var(--line); border-radius: var(--radius); padding: 38px 24px; text-align: center; color: var(--muted); }
.hint { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.hint svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.feat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 900px) { .feat { grid-template-columns: 1fr; } }

/* H24 */
.h24-hero { background: var(--accent); color: #0B0D0F; }
.h24-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.h24-hero .eyebrow { color: #0B0D0F; }
.h24-hero h1 { margin-top: 12px; }
.h24-hero .lead { color: #1A1C1E; margin-top: 18px; }
.h24-huge { white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 11vw, 4.8rem); line-height: .95; font-variant-numeric: tabular-nums; margin: 22px 0 6px; user-select: all; letter-spacing: .005em; }
.h24-hero .btn-row { margin-top: 22px; }
.h24-hero .btn { background: #0B0D0F; color: #fff; min-height: 66px; font-size: 1.45rem; flex: 1 1 220px; }
.h24-hero .btn:hover { background: #22282D; }
.h24-hero .btn-wa { background: transparent; color: #0B0D0F; border-color: #0B0D0F; }
.h24-hero .btn-wa:hover { background: transparent; }
.h24-photo { margin: 0; }
.h24-photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 50% 25%; border-radius: var(--radius); box-shadow: 12px 12px 0 #0B0D0F; }
@media (max-width: 860px) { .h24-hero .wrap { grid-template-columns: 1fr; } .h24-photo { margin-right: 12px; } .h24-photo img { aspect-ratio: 4 / 3.4; } }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.panel h3 { font-size: 1.7rem; }
.safety { border: 2px solid var(--ink); background: var(--white); border-left-width: 10px; padding: 22px 24px; border-radius: var(--radius); }
.safety strong { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; font-size: 1.3rem; display: block; margin-bottom: 6px; }
.safety p { color: #2B3238; }

/* contatti */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts dd strong { font-family: var(--font-display); font-size: 1.9rem; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
@media (max-width: 460px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
form.req { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: #101315; background: #fff; border: 1px solid #B7BEC3; border-radius: var(--radius); padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note, .fine { font-size: .92rem; color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.site-footer { background: #07090A; color: #D5DADE; padding-top: clamp(40px, 6vw, 70px); border-top: 4px solid var(--accent); }
.site-footer .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.site-footer a { color: #E8EBED; }
.site-footer h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer .brand { margin-bottom: 16px; }
.site-footer .small { color: #98A2AA; font-size: .98rem; max-width: 46ch; }
.legal { border-top: 1px solid #1E2327; padding-block: 18px; color: #8A949C; font-size: .88rem; }
.site-footer .legal { display: block; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } .site-footer { padding-bottom: 92px; } }

/* barra azioni mobile */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; display: none; gap: 8px; padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px)); background: #0B0D0F; border-top: 1px solid #2A3036; }
.dock .btn { flex: 1; min-height: 50px; padding: 8px 6px; font-size: 1.08rem; gap: 7px; letter-spacing: .04em; }
.dock .btn svg { width: 20px; height: 20px; }
@media (max-width: 760px) { .dock { display: flex; } }

/* comparsa discreta */
.js .reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .reveal.pre { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal.pre { opacity: 1; transform: none; } * { animation: none !important; transition: none !important; } }

/* anteprima a pagina singola */
.view { display: none; }
.view.active { display: block; }

/* etichette di controllo aggiuntive */
.src-flag { display: none; font-family: var(--font-body); font-weight: 700; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 2px; background: #FFD84D; color: #1B1500; vertical-align: middle; margin-left: 6px; }
body.flags .src-flag { display: inline-block; }
.work .cmp, .work .side, .work .photo { border-radius: 0; }
.work .photo img { aspect-ratio: 4 / 4.2; }
.work .src-tag { top: 8px; left: 8px; max-width: calc(100% - 16px); }
.work[hidden], .empty-cat[hidden] { display: none; }
.brand-name { display: inline-flex; align-items: baseline; gap: 6px; }
.brand-name span { margin-left: 0; }
.site-footer .brand-name { color: #fff; }
.site-footer li .small { color: #98A2AA; }
.site-footer strong { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.cmp:focus-within { outline: 3px solid var(--accent); outline-offset: 2px; }
.fine { font-size: .92rem; color: var(--muted); }
.svc-media .cmp { max-width: 520px; }
.svc-media .photo { max-width: 560px; }
.svc.rev .svc-media .cmp, .svc.rev .svc-media .photo { margin-left: auto; }
@media (max-width: 860px) { .svc-media .cmp, .svc-media .photo { max-width: 100%; } }

/* robustezza mobile */
.solve > * { min-width: 0; }
.solve-old { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.trade { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .trade { font-size: 1.05rem; padding: 12px 10px; gap: 8px; letter-spacing: .03em; }
  .trade svg { width: 20px; height: 20px; }
  .dock { gap: 6px; }
  .dock .btn { flex: 1 1 0; min-width: 0; font-size: .95rem; letter-spacing: 0; padding: 8px 4px; gap: 5px; }
  .dock .btn:last-child { flex: 1.35 1 0; }
  .dock .btn svg { width: 17px; height: 17px; }
  .btn-lg { font-size: 1.25rem; letter-spacing: .04em; padding: 12px 18px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 380px) { .dock .btn svg { display: none; } }
.audience div { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) { .audience div { font-size: 1.2rem; padding: 20px 14px; } }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
@media (max-width: 860px) { .svc .wrap { grid-template-columns: minmax(0, 1fr); } .svc-copy h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); } }
@media (max-width: 480px) { h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); } }

/* V2.1 copertina panoramica */
.hero .wrap.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: var(--maxw); padding-block: clamp(32px, 4.5vw, 64px) clamp(28px, 3.5vw, 44px); grid-template-columns: none; }
.hero-copy h1 { max-width: 22ch; font-size: clamp(2.4rem, 5.8vw, 4.6rem); }
.hero-copy h1 em { display: block; }
.hero-copy .lead { max-width: 62ch; margin-top: 18px; }
.hero-copy .btn-row { margin-top: 26px; }
.hero-shield { position: absolute; right: max(2%, env(safe-area-inset-right, 0px)); top: 6%; height: min(78%, 520px); width: auto; opacity: .08; pointer-events: none; z-index: 0; }
.hero-strip { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 3px; height: clamp(300px, 30vw, 440px); background: var(--ink); border-top: 4px solid var(--accent); }
.tile { position: relative; margin: 0; overflow: hidden; background: var(--graphite); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(11,13,15,.92), rgba(11,13,15,0)); pointer-events: none; }
.tile figcaption { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; line-height: 1.05; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.tile figcaption::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 8px; }
.tile-ph { background: linear-gradient(160deg, #1D2227, #14181B 60%), var(--steel); }
.tile-ph::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); }
.tile-ph .tile-ico { position: absolute; left: 50%; top: 38%; width: 54px; height: 54px; margin: -27px 0 0 -27px; color: var(--accent); opacity: .9; }
.tile .src-tag { top: 8px; left: 8px; right: 8px; font-size: .6rem; }
@media (max-width: 880px) {
  .hero-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 3px; height: 340px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 0; }
  .hero-strip::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 62vw; max-width: 300px; scroll-snap-align: start; }
}
@media (max-width: 480px) { .hero-copy .btn-row .btn { flex: 1 1 100%; } .hero-shield { height: 260px; top: 2%; } }
.hero-copy .eyebrow { margin-bottom: 16px; }
@media (max-width: 760px) {
  .hero-copy .btn-row .btn-ghost + .btn-ghost { display: none; }
  .hero-copy .btn-row { flex-wrap: nowrap; width: 100%; }
  .hero-copy .btn-row .btn { flex: 1 1 0; min-width: 0; font-size: 1.1rem; padding: 10px 8px; letter-spacing: .02em; }
  .hero-copy .btn-row .btn svg { display: none; }
  .hero-copy .lead { font-size: 1.05rem; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 2.9rem); }
  .hero-strip { height: 300px; }
}
.hn { white-space: nowrap; }
@media (max-width: 760px) { .hero-copy .btn-row .btn:first-child { flex: 1.7 1 0; font-size: 1.02rem; } .hero-copy .btn-row .btn:first-child .hn { margin-left: 2px; } }

/* ===== V2.2 copertina: un'unica organizzazione, sei competenze ===== */
.hero-org { position: relative; z-index: 1; }
.hero-strip { height: auto; border-top: 0; padding-top: 12px; align-items: stretch; background: var(--ink); }
.tile { overflow: visible; background: none; height: clamp(280px, 28vw, 420px); }
.tile::after, .tile-ph::before { content: none; }
.tile::before { content: ""; position: absolute; top: 0; left: 0; right: -3px; height: 4px; background: var(--accent); z-index: 4; }
.tile:last-child::before { right: 0; }
.tile-img { position: absolute; inset: 4px 0 0; overflow: hidden; background: var(--graphite); }
.tile-img::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, rgba(11,13,15,.92), rgba(11,13,15,0)); pointer-events: none; }
.tile-ph .tile-img::after { inset: 55% 0 0; }
.tile .node { position: absolute; z-index: 5; top: -5px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--ink); border: 3px solid var(--accent); }
.tile figcaption { z-index: 3; }
.tile-ph .tile-img { background: linear-gradient(160deg, #262D33, #14181B 65%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 14px 14px 78px; text-align: center; }
.tile-ph .tile-img::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); pointer-events: none; }
.tile-ph .tile-ico { position: static; width: 54px; height: 54px; margin: 0; color: var(--accent); opacity: 1; }
.tile-txt { position: relative; max-width: 20ch; font-size: .9rem; line-height: 1.35; color: #AEB7BE; }
.tile-hub { display: none; }
.org-hub { position: absolute; z-index: 6; left: 50%; top: -12px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; background: var(--ink); border: 3px solid var(--accent); padding: 6px 18px 6px 12px; border-radius: 3px; white-space: nowrap; }
.org-hub img { height: 34px; width: auto; }
.org-hub span { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.strip-next, .strip-hint { display: none; }
@media (max-width: 880px) {
  .org-hub { display: none; }
  .hero-strip { height: auto; padding-top: 12px; }
  .tile { flex: 0 0 62vw; max-width: 300px; height: 330px; }
  .tile-hub { display: flex; flex-direction: column; justify-content: center; gap: 8px; flex: 0 0 54vw; max-width: 240px; padding: 22px 18px; background: var(--graphite); border-left: 4px solid var(--accent); }
  .tile-hub::before { display: none; }
  .tile-hub img { position: static; width: 78px; height: auto; object-fit: contain; transition: none; }
  .hub-t { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin-top: 6px; }
  .hub-s { font-size: .98rem; line-height: 1.35; color: #C3CBD1; }
  .hub-go { margin-top: 6px; font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
  .hub-go span { display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
  .strip-next { display: flex; position: absolute; z-index: 8; right: 10px; top: 150px; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; border: 3px solid #fff; background: var(--accent); color: #0B0D0F; cursor: pointer; box-shadow: 0 3px 14px rgba(0,0,0,.5); padding: 0; transition: opacity .2s; }
  .strip-next svg { width: 24px; height: 24px; }
  .hero-org::after { content: ""; position: absolute; right: 0; top: 12px; bottom: 56px; width: 56px; background: linear-gradient(to left, rgba(11,13,15,.9), rgba(11,13,15,0)); pointer-events: none; z-index: 7; transition: opacity .2s; }
  .hero-org.at-end::after, .hero-org.at-end .strip-next { opacity: 0; pointer-events: none; }
  .strip-hint { display: flex; align-items: center; gap: 14px; padding: 12px max(20px, env(safe-area-inset-left, 0px)) 14px; background: var(--ink); }
  .strip-hint-t { flex: none; font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; color: #D5DADE; }
  .strip-hint-a { display: inline-block; color: var(--accent-text); animation: nudge 1.4s ease-in-out infinite; }
  .strip-track { position: relative; flex: 1; height: 4px; border-radius: 2px; background: #2A3036; }
  .strip-thumb { position: absolute; left: 0; top: 0; height: 100%; width: 40%; border-radius: 2px; background: var(--accent); transition: left .1s linear; }
  @keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
}
@media (max-width: 880px) and (prefers-reduced-motion: reduce) { .hub-go span, .strip-hint-a { animation: none; } }
/* barra anteprima: pulsante etichette */
.preview-bar button { font: inherit; font-weight: 700; margin-left: 10px; padding: 3px 10px; border: 1px solid #1B1500; background: transparent; color: #1B1500; border-radius: 3px; cursor: pointer; }
.tile figcaption { font-size: clamp(.95rem, 1.15vw, 1.12rem); letter-spacing: .03em; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 880px) { .tile figcaption { font-size: 1.15rem; } }

/* posizionamento: tre componenti nella Home */
.ops { margin-top: clamp(34px, 5vw, 56px); }
.band-light .ops .principle { border-color: var(--line); border-top-color: var(--accent); }

/* documentazione tecnica: Servizi + richiamo Home */
.docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(26px, 4vw, 44px); }
@media (max-width: 1100px) { .docs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .docs-grid { grid-template-columns: 1fr; } }
.docs-grid .principle h3 { font-size: 1.35rem; }
.docs-use { margin-top: clamp(26px, 4vw, 44px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; max-width: 62ch; }
.docs-use-t { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1.15rem; color: var(--accent-text, var(--accent)); }
.docs .section-head .lead { max-width: 64ch; }
.principle .doc-call { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); }
.principle .doc-link { margin-top: auto; padding-top: 6px; font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1.02rem; color: var(--link, var(--accent-deep)); text-decoration: none; }
.principle .doc-link:hover { text-decoration: underline; }

/* informativa privacy */
.privacy-text { display: flex; flex-direction: column; gap: 12px; font-size: 1rem; color: var(--muted); line-height: 1.6; }
.privacy-text strong { color: var(--fg); font-weight: 600; }
.privacy-text a { color: var(--link); }

/* ===== Versione 3: galleria per categorie, confronti affiancati, video su richiesta (nessun cambio di palette o di identità grafica) ===== */
.side.s3 { gap: 3px; }
.side.s3 .pan { position: relative; margin: 0; overflow: hidden; min-width: 0; }
.side.s3 .pan img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: var(--ar, 3 / 4); }
.side.s3 .cmp-lab { left: 8px; right: auto; bottom: 8px; font-size: .78rem; letter-spacing: .1em; padding: 3px 8px; }
.svc-media .side { max-width: 560px; }
.svc.rev .svc-media .side { margin-left: auto; }
@media (max-width: 860px) { .svc-media .side { max-width: 100%; } }
.work .photo img { aspect-ratio: auto; height: auto; max-height: 520px; object-fit: cover; }
.work .side.s3 { border-radius: 0; }

.cat-block { margin-top: clamp(34px, 5vw, 56px); scroll-margin-top: 90px; }
.cat-block:first-child { margin-top: 0; }
.cat-block[hidden] { display: none; }
.cat-title { display: flex; align-items: baseline; gap: 12px; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 3px solid var(--accent); }
.cat-title .n { font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.work-wide-list { display: grid; gap: 22px; margin-top: 22px; }
.work-grid + .work-wide-list { margin-top: 26px; }
.work { break-inside: avoid; margin-bottom: 22px; }
.work-wide-list .work { margin-bottom: 0; }
.seq { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 3px; background: #000; }
.seq figure { margin: 0; position: relative; min-width: 0; }
.seq img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.seq figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; font-size: .86rem; line-height: 1.2; color: #fff; background: linear-gradient(to top, rgba(11,13,15,.88), rgba(11,13,15,0)); }
@media (max-width: 600px) { .seq { grid-template-columns: 1fr; } .seq img { aspect-ratio: 4 / 3; } }
.vbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-top: 1px solid var(--line); background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; padding: 13px 16px; cursor: pointer; }
.vbtn svg { width: 20px; height: 20px; color: var(--accent); }
.vbtn:hover { background: #1D2227; }
.vbtn:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vwrap video { display: block; width: 100%; max-height: 70vh; background: #000; }
.vwrap[hidden] { display: none; }

/* V3 finale: gruppi di fotografie (righe giustificate: nessun ritaglio, rapporti d'aspetto naturali) */
.mosaic { display: flex; flex-wrap: wrap; gap: 3px; background: #000; }
.mosaic figure { margin: 0; position: relative; min-width: 0; flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 230px); }
.mosaic img { display: block; width: 100%; height: auto; }
.mosaic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 9px; font-size: .86rem; line-height: 1.2; color: #fff; background: linear-gradient(to top, rgba(11,13,15,.88), rgba(11,13,15,0)); }
@media (max-width: 600px) { .mosaic figure { flex-basis: calc(var(--ar) * 190px); } .mosaic figcaption { font-size: .78rem; padding: 18px 8px 7px; } }

/* manutenzione programmata (sezione in servizi.html) */
.prev-compare { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); align-items: stretch; gap: 0; margin-bottom: clamp(30px, 5vw, 56px); }
.prev-card { background: var(--card); border: 1px solid var(--line); border-top: 4px solid #8B949B; border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; }
.prev-card h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.prev-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.prev-card li { position: relative; padding-left: 22px; line-height: 1.45; color: var(--muted); }
.prev-card li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 9px; height: 3px; background: #8B949B; }
.prev-card.on { background: var(--ink); color: #fff; border: 2px solid var(--accent); border-top-width: 4px; }
.prev-card.on h3 { color: #fff; }
.prev-card.on li { color: #E8EBED; }
.prev-card.on li::before { top: .5em; width: 9px; height: 9px; background: var(--accent); }
.prev-arrow { align-self: center; justify-self: center; width: 40px; height: 40px; color: var(--accent); }
.prev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.prev-cta { background: var(--accent); color: #0B0D0F; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; justify-content: space-between; }
.prev-cta h3 { font-size: 1.5rem; text-transform: uppercase; letter-spacing: .03em; line-height: 1.1; }
.prev-cta p { margin: 0; }
.prev-cta .btn { background: #0B0D0F; color: #fff; align-self: flex-start; }
.prev-cta .btn:hover { background: #1D2227; }
.prev-scope { margin-top: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.prev-scope h3 { font-size: 1.7rem; }
.prev-scope .ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.prev-fine { margin-top: 18px; max-width: 62ch; }
.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(34px, 5vw, 60px); }
.prev-end { margin-top: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
@media (max-width: 900px) {
  .prev-compare { grid-template-columns: 1fr; gap: 12px; }
  .prev-arrow { transform: rotate(90deg); }
  .prev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prev-scope { grid-template-columns: 1fr; }
}
@media (max-width: 860px) { .steps-4 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .prev-grid { grid-template-columns: 1fr; } .prev-scope .ticks { grid-template-columns: 1fr; } }
.prev-card h3, .prev-cta h3, .prev-scope h3 { hyphens: manual; -webkit-hyphens: manual; }
