/* =========================================================
   One of Seven — V2 "Nevra"
   Struttura e linguaggio compositivo ispirati al template
   Framer "Nevra"; palette, marchio e font restano del brand.
   ========================================================= */

:root {
  /* Palette brand (ancorata al colore del logo) */
  --clay:       #6a413f;
  --clay-lift:  #8a5148;
  --ink:        #2c1917;   /* nero cacao */
  --ink-soft:   #4a2b28;
  --paper:      #faf7f0;
  --surface:    #f1e9dc;   /* card su carta */
  --surface-2:  #e9dfcd;
  --line:       #e0d5c4;
  --mute:       #8b7a6e;
  --dim:        #6b574f;

  /* Su fondo scuro */
  --on-dark:      #f6f0e9;
  --on-dark-dim:  #c9b6ac;
  --on-dark-mute: #9c8378;
  --dark-line:    rgba(246,240,233,0.14);
  --dark-card:    rgba(246,240,233,0.05);

  --grad-dark: linear-gradient(-39deg, #2c1917 0%, #6a413f 100%);

  /* Type */
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --t-xs:  clamp(0.75rem, 0.72rem + 0.15vw, 0.84rem);
  --t-sm:  clamp(0.86rem, 0.83rem + 0.18vw, 0.96rem);
  --t-md:  clamp(0.98rem, 0.94rem + 0.25vw, 1.1rem);
  --t-lg:  clamp(1.25rem, 1.05rem + 0.9vw, 1.6rem);
  --t-xl:  clamp(1.7rem, 1.25rem + 2.1vw, 2.7rem);
  --t-2xl: clamp(2.3rem, 1.5rem + 3.6vw, 4.4rem);
  --t-3xl: clamp(2.6rem, 1.6rem + 4.1vw, 4.7rem);

  --pad: clamp(1.15rem, 4vw, 5rem);
  --maxw: 1280px;
  --r: 18px;
  --r-lg: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-md);
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
/* i figli di griglia/flex non devono allargare il contenitore oltre il viewport */
.split-head > *, .flow > *, .case > *, .svc > *, .stats > *, .plans > *, .ftr__grid > * { min-width: 0; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--clay); color: var(--paper); }

/* ---------- Primitivi ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.sec { padding-block: clamp(4.5rem, 9vw, 8.5rem); }
.sec--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }

.dark { background: var(--ink); color: var(--on-dark); }
.dark p, .dark .lead { color: var(--on-dark-dim); }
.dark .eyebrow { color: var(--on-dark-mute); }

.mark {
  width: 1.6rem; aspect-ratio: 413/504;
  background-color: currentColor;
  -webkit-mask: url("brand/logo-mask.png") center/contain no-repeat;
  mask: url("brand/logo-mask.png") center/contain no-repeat;
  flex: none;
}

.display {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.display b, .display strong { font-weight: 500; font-style: italic; color: var(--clay); }
.dark .display b, .dark .display strong { color: #d9a89a; }

.eyebrow {
  font-size: var(--t-xs); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mute); font-weight: 500;
}
.lead { color: var(--dim); font-size: var(--t-md); line-height: 1.65; }
.center { text-align: center; }
.center .lead { margin-inline: auto; max-width: 46ch; margin-top: 1.1rem; }
/* l'header è fisso: gli ancoraggi non devono finirci sotto */
section[id], .svc__panel { scroll-margin-top: 84px; }

/* Badge pill (✦ Servizi) */
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 100px; padding: .4rem .95rem;
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--dim); font-weight: 500;
}
.badge i { color: var(--clay); font-style: normal; }
.dark .badge { background: var(--dark-card); border-color: var(--dark-line); color: var(--on-dark-dim); }
.dark .badge i { color: #d9a89a; }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 100px; padding: .95rem 1.7rem;
  font-size: var(--t-sm); font-weight: 500; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  min-height: 48px; touch-action: manipulation;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--fill { background: var(--grad-dark); color: var(--on-dark); box-shadow: 0 10px 30px -14px rgba(44,25,23,.7); }
.btn--fill:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(106,65,63,.75); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); background: var(--surface); }
.dark .btn--line { border-color: var(--dark-line); color: var(--on-dark); }
.dark .btn--line:hover { background: var(--dark-card); border-color: var(--on-dark); }
.btn--ghost { color: var(--dim); padding-inline: .4rem; }
.btn--ghost:hover { color: var(--clay); }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad);
  transition: background .45s var(--ease), backdrop-filter .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.hdr.stuck {
  background: rgba(250,247,240,.86);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.logo { display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; }
.logo__badge {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--grad-dark); color: var(--on-dark);
  display: grid; place-items: center; flex: none;
}
.logo__badge .mark { width: 1rem; }
.logo__wm {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 1.4rem; letter-spacing: -0.035em; color: var(--ink);
}
.hdr-nav { display: flex; gap: clamp(.9rem, 2vw, 2rem); }
.hdr-nav a { font-size: var(--t-sm); color: var(--dim); transition: color .3s var(--ease); }
.hdr-nav a:hover { color: var(--ink); }
.burger {
  display: none; background: none; border: 0; color: var(--ink);
  padding: .4rem; cursor: pointer;
  min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  touch-action: manipulation;
}
.burger svg { width: 26px; height: 26px; }

.msheet {
  position: fixed; inset: 0; z-index: 90; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: max(4.5rem, env(safe-area-inset-top)) 1.15rem max(1.5rem, env(safe-area-inset-bottom));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-101%); transition: transform .6s var(--ease);
}
.msheet.open { transform: none; }
.msheet a {
  font-family: var(--display); font-style: italic; font-size: var(--t-xl); color: var(--ink);
  display: flex; align-items: center; min-height: 48px; padding-inline: .6rem;
  touch-action: manipulation;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(8rem, 17vh, 12rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: center; position: relative;
}
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: 50%; width: 100vw; transform: translateX(-50%);
  background:
    radial-gradient(75% 62% at 50% -12%, rgba(106,65,63,.13), transparent 62%),
    radial-gradient(65% 55% at 6% 112%, rgba(224,213,196,.55), transparent 62%);
  z-index: -1; pointer-events: none;
}
.hero h1 { font-size: var(--t-3xl); margin-top: 1.6rem; margin-inline: auto; }
@media (max-width: 760px) { .hero h1 br { display: none; } }
.hero .lead { margin-top: 1.6rem; }
.hero__cta { margin-top: 2.4rem; display: flex; gap: 1.2rem; align-items: center; justify-content: center; flex-wrap: wrap; }
.proof { display: flex; align-items: center; gap: .8rem; }
.proof__pile { display: flex; }
.proof__pile span {
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  border: 2px solid var(--paper); margin-left: -.6rem;
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: .62rem; letter-spacing: -0.02em; color: var(--on-dark);
  background: var(--grad-dark);
}
.proof__pile span:first-child { margin-left: 0; }
.proof p { font-size: var(--t-xs); color: var(--dim); text-align: left; line-height: 1.35; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: slide 44s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee--slow .marquee__track { animation-duration: 34s; gap: clamp(2.2rem, 5vw, 4.5rem); }

.tile {
  width: clamp(150px, 17vw, 210px); aspect-ratio: 9/16;
  border-radius: var(--r); position: relative; overflow: hidden;
  background: var(--tile, linear-gradient(160deg, #6a413f, #2c1917));
  display: flex; align-items: flex-end; padding: .8rem;
  border: 1px solid rgba(246,240,233,.1);
}
.tile img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(28,15,14,.72) 4%, rgba(28,15,14,.15) 45%, rgba(28,15,14,.35)); }
.tile span {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(246,240,233,.14); backdrop-filter: blur(6px);
  border-radius: 100px; padding: .3rem .65rem;
  font-size: var(--t-xs); color: var(--on-dark); font-weight: 500;
}
.tile span.v::before { content: "◉"; font-size: .7em; opacity: .8; }
.tile b {
  position: absolute; left: .9rem; top: .9rem; z-index: 2;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: var(--t-sm); color: var(--on-dark); letter-spacing: -0.02em;
  text-shadow: 0 1px 12px rgba(28,15,14,.75);
}

.wordmark {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.4vw, 2rem); letter-spacing: -0.03em;
  color: var(--on-dark-mute); white-space: nowrap;
  transition: color .4s var(--ease);
}
.marquee--slow:hover .wordmark { color: var(--on-dark-dim); }

/* ---------- Split heading (titolo sx / testo dx) ---------- */
.split-head {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.split-head h2 { font-size: var(--t-2xl); max-width: 16ch; }
.split-head .lead { max-width: 40ch; }

/* ---------- Stat cards ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.stat {
  background: var(--dark-card); border: 1px solid var(--dark-line);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2rem);
  display: flex; flex-direction: column; gap: 1rem; min-height: 260px;
  transition: background .5s var(--ease), transform .5s var(--ease);
}
.stat:hover { background: rgba(246,240,233,.08); transform: translateY(-4px); }
.stat__dots { color: #d9a89a; letter-spacing: .3em; font-size: .8rem; }
.stat__dots i { opacity: .3; font-style: normal; }
.stat p { font-size: var(--t-sm); line-height: 1.5; }
.stat__num {
  margin-top: auto;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(2.6rem, 1.6rem + 3.4vw, 4.4rem); line-height: .9;
  letter-spacing: -0.05em; color: var(--on-dark);
}
.stat__num small { font-size: .38em; font-style: italic; color: var(--on-dark-dim); letter-spacing: -0.01em; margin-left: .4rem; }

/* ---------- Flow (metodo) ---------- */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.flow__media {
  position: sticky; top: 6.5rem;
  aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden;
  background: var(--grad-dark);
  display: grid; place-items: center;
}
.flow__media .mark { width: 38%; color: var(--on-dark); opacity: .85; }
.flow__media img, .svc__fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc__fig img { transition: opacity .4s var(--ease); }
.svc__fig img.swap { opacity: 0; }
.flow__steps { display: grid; gap: clamp(2rem, 4vw, 3.4rem); padding-block: 1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; position: relative; }
.step::after {
  content: ""; position: absolute; left: 1.65rem; top: 3.6rem; bottom: -3.4rem;
  width: 1px; background: repeating-linear-gradient(to bottom, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step__n {
  width: 3.3rem; height: 3.3rem; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: var(--t-md); color: var(--clay);
  flex: none;
}
.step h3 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: var(--t-lg); letter-spacing: -0.035em; }
.step p { margin-top: .5rem; color: var(--dim); font-size: var(--t-sm); max-width: 38ch; }

/* ---------- Pacchetti ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1rem; align-items: stretch; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.5rem, 2.8vw, 2.2rem);
  display: flex; flex-direction: column; gap: 1.1rem;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: 0 26px 60px -34px rgba(44,25,23,.5); }
.plan h3 { font-size: var(--t-lg); font-weight: 500; letter-spacing: -0.03em; }
.plan__desc { font-size: var(--t-sm); color: var(--dim); min-height: 3.2em; }
.plan__price { font-family: var(--display); font-style: italic; font-size: var(--t-lg); letter-spacing: -0.04em; color: var(--clay); white-space: nowrap; }
.plan__price small { font-family: var(--sans); font-style: normal; font-size: .5em; color: var(--dim); letter-spacing: 0; margin-left: .3rem; }
.plan ul { list-style: none; display: grid; gap: .7rem; margin-top: .3rem; }
.plan li { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: var(--t-sm); color: var(--dim); }
.plan li::before {
  content: "✓"; width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--surface-2); color: var(--clay);
  display: grid; place-items: center; font-size: .68rem; margin-top: .15rem;
}
.plan li.off { color: var(--mute); }
.plan li.off::before { content: "–"; color: var(--mute); }
.plan .btn { margin-top: auto; width: 100%; }
.plan--hi { background: var(--grad-dark); border-color: transparent; color: var(--on-dark); }
.plan--hi .plan__desc, .plan--hi li { color: var(--on-dark-dim); }
.plan--hi .plan__price { color: #e3b3a3; }
.plan--hi .plan__price small { color: var(--on-dark-dim); }
.plan--hi li::before { background: rgba(246,240,233,.14); color: #e3b3a3; }
.plan--hi li.off, .plan--hi li.off::before { color: var(--on-dark-mute); }
.plan--hi .btn--line { border-color: rgba(246,240,233,.35); color: var(--on-dark); }
.plan--hi .btn--line:hover { background: rgba(246,240,233,.12); border-color: var(--on-dark); }
.plan__tag {
  align-self: flex-start; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(246,240,233,.14); border-radius: 100px; padding: .25rem .7rem; color: #e3b3a3;
}

/* ---------- Case ---------- */
.case { display: grid; grid-template-columns: .9fr 1.5fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.case__block + .case__block { margin-top: 2rem; }
.case__block dt { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: .6rem; }
.case__block dd { color: var(--dim); font-size: var(--t-sm); line-height: 1.6; }
.case__block dd a { display: inline-flex; align-items: center; min-height: 44px; word-break: break-word; touch-action: manipulation; }
.dark .case__block dt { color: var(--on-dark-mute); }
.dark .case__block dd { color: var(--on-dark-dim); }
.dark .case__block dd a { transition: color .3s var(--ease); }
.dark .case__block dd a:hover { color: #e3b3a3; }
.case__nums { display: flex; gap: clamp(1.5rem, 4vw, 3rem); flex-wrap: wrap; margin-top: 2.6rem; }
.case__nums div b {
  display: block; font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); line-height: .9; letter-spacing: -0.05em; color: var(--ink);
}
.case__nums div span { font-size: var(--t-xs); color: var(--dim); }
.case__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.case--split { grid-template-columns: 1fr 1fr; }

/* ---------- Form contatti ---------- */
.form { gap: .9rem; }
.field { display: grid; gap: .4rem; }
.field__lbl { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px; /* sotto i 16px iOS zooma al focus e sfonda il viewport */
  line-height: 1.4;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px;
  padding: .75rem 1rem; min-height: 48px;
  width: 100%; max-width: 100%;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.6rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 1.25rem) 55%, calc(100% - 1rem) 55%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(106,65,63,.18);
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.form__submit { width: 100%; min-height: 48px; }

/* Mockup profilo social */
.mock {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: 0 26px 60px -40px rgba(44,25,23,.55);
}
.mock__top { padding: 1.1rem 1.1rem .9rem; display: grid; gap: .8rem; }
.mock__id { display: flex; align-items: center; gap: .8rem; }
.mock__av { width: 3rem; height: 3rem; border-radius: 50%; background: var(--grad-dark); display: grid; place-items: center; color: var(--on-dark); flex: none; }
.mock__av .mark { width: 1.15rem; }
.mock__av--rsm { background: #000; overflow: hidden; }
.mock__av--rsm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mock__id b { display: block; font-size: var(--t-sm); }
.mock__id span { font-size: var(--t-xs); color: var(--mute); }
.mock__stats { display: flex; gap: 1.2rem; }
.mock__stats div { font-size: var(--t-xs); color: var(--mute); }
.mock__stats b { display: block; font-size: var(--t-sm); color: var(--ink); }
.mock__bio { font-size: var(--t-xs); color: var(--dim); line-height: 1.5; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border-top: 1px solid var(--line); }
.mock__grid i { aspect-ratio: 1; display: block; background: linear-gradient(150deg, #6a413f, #2c1917) center/cover no-repeat; }
.mock__post { aspect-ratio: 4/5; background: linear-gradient(150deg, #8a5148, #2c1917) center/cover no-repeat; }
.mock__bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; font-size: var(--t-xs); color: var(--dim); }
.mock__bar b { color: var(--ink); }
.mock__bar em { color: var(--clay); font-style: normal; }

/* ---------- Servizi interattivi ---------- */
.svc { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.8rem, 4vw, 4rem); align-items: start; }
.svc__list { display: grid; }
.svc__item {
  display: flex; align-items: baseline; gap: 1rem; justify-content: space-between;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  border-top: 1px solid var(--line); padding: clamp(1.1rem, 2.2vw, 1.7rem) 0;
  font-family: var(--sans); color: var(--mute);
  transition: color .4s var(--ease), padding-left .4s var(--ease);
}
.svc__item:last-child { border-bottom: 1px solid var(--line); }
.svc__item h3 { font-size: var(--t-xl); font-weight: 500; letter-spacing: -0.035em; line-height: 1.05; }
.svc__item em { font-style: normal; font-size: var(--t-xs); letter-spacing: .1em; }
.svc__item:hover { color: var(--ink-soft); padding-left: .5rem; }
.svc__item[aria-selected="true"] { color: var(--ink); padding-left: .5rem; }
.svc__item[aria-selected="true"] em { color: var(--clay); }
.svc__panel { position: sticky; top: 6.5rem; display: grid; gap: 1.2rem; }
.svc__fig {
  aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden;
  background: var(--grad-dark); display: grid; place-items: center;
  transition: background .6s var(--ease);
}
.svc__fig .mark { width: 26%; color: var(--on-dark); opacity: .8; }
.svc__panel dt { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: .5rem; }
.svc__panel dd { color: var(--dim); font-size: var(--t-sm); line-height: 1.6; }
.svc__claim { font-family: var(--display); font-style: italic; font-size: var(--t-lg); letter-spacing: -0.035em; color: var(--clay); line-height: 1.2; }

/* ---------- Clienti ---------- */
.clients { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.client {
  background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: var(--r);
  padding: clamp(1.2rem, 2.2vw, 1.7rem); min-height: 150px;
  display: flex; flex-direction: column; gap: .4rem; justify-content: flex-end;
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.client:hover { background: rgba(246,240,233,.09); transform: translateY(-4px); }
.client b { font-family: var(--display); font-style: italic; font-weight: 500; font-size: var(--t-lg); letter-spacing: -0.035em; line-height: 1.1; }
.client span { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-mute); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 860px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 clamp(1rem, 2vw, 1.6rem);
  transition: background .4s var(--ease);
}
.faq details[open] { background: var(--surface-2); }
.faq summary {
  list-style: none; cursor: pointer; padding-block: 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: var(--t-md); font-weight: 500; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--clay); font-size: 1.05rem;
  transition: transform .4s var(--ease);
}
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); }
.faq p { padding-bottom: 1.3rem; color: var(--dim); font-size: var(--t-sm); max-width: 68ch; }

/* ---------- CTA finale ---------- */
.endcta { text-align: center; }
.endcta h2 { font-size: var(--t-2xl); max-width: 18ch; margin-inline: auto; }
.endcta .btn { margin-top: 2.2rem; }

/* ---------- Footer ---------- */
.ftr { background: var(--paper); padding-top: clamp(3.5rem, 6vw, 5.5rem); overflow: hidden; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr repeat(3, .8fr); gap: 2rem; }
.ftr__tag { margin-top: 1.1rem; color: var(--dim); font-size: var(--t-sm); line-height: 1.5; }
.ftr h4 { font-size: var(--t-md); font-weight: 500; margin-bottom: 1.1rem; letter-spacing: -0.02em; }
.ftr a.lnk { display: flex; align-items: center; min-height: 44px; padding-block: .35rem; color: var(--dim); font-size: var(--t-sm); transition: color .3s var(--ease); }
.ftr a.lnk:hover { color: var(--clay); }
.ftr__bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: var(--t-xs); color: var(--mute);
}
.ftr__wm {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(4rem, 15vw, 13rem); line-height: .8; letter-spacing: -0.06em;
  color: var(--surface-2); text-align: center; user-select: none;
  margin-bottom: -.12em; padding-top: 1.5rem;
}

/* ---------- Reveal ---------- */
[data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-rv].in { opacity: 1; transform: none; }
[data-rv][data-d="1"] { transition-delay: .07s; }
[data-rv][data-d="2"] { transition-delay: .14s; }
[data-rv][data-d="3"] { transition-delay: .21s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hdr-nav, .hdr .btn { display: none; }
  .burger { display: inline-flex; }
  .split-head, .flow, .case, .case--split, .svc { grid-template-columns: 1fr; }
  .flow__media, .svc__panel { position: static; }
  .flow__media { aspect-ratio: 16/10; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .case__media { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; }
}
