/* Oltremodo Srl — stile principale */
:root {
  --ink: #141416;
  --ink-2: #1e1e22;
  --paper: #f6f4ef;
  --tint: #ebe7de;
  --line: rgba(20, 20, 22, .12);
  --muted: #5f5e66;
  --accent: #e45cc9;        /* rosa del logo */
  --accent-ink: #b8329e;
  --brass: #c09a52;         /* ottone */
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Tight", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.6 var(--font); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 650; }
em { font-style: normal; color: var(--accent-ink); }
.dark em, .hero em { color: var(--accent); }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head p:last-child { color: var(--muted); font-size: 1.1rem; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 1rem; display: flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
/* nascosto senza spostarlo fuori schermo (in arabo uno spostamento a sinistra allargherebbe la pagina) */
.skip { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; top: 16px; inset-inline-start: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
  font-family: inherit; will-change: transform;
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(228, 92, 201, .7); }
.btn-accent:hover { background: var(--accent-ink); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-ghost-dark { border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; color: #fff;
  transition: background .4s, color .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(246, 244, 239, .86); color: var(--ink);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.hide { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; transition: height .4s var(--ease); }
.scrolled .header-inner { height: 74px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand .logo { height: 62px; width: auto; aspect-ratio: 99.3 / 118.7; transition: height .4s var(--ease); color: currentColor; overflow: visible; }
.scrolled .brand .logo { height: 50px; }
.brand-name { font-family: var(--display); font-weight: 800; letter-spacing: .14em; font-size: 1.3rem; line-height: 1; }
.brand-name small { font-weight: 500; letter-spacing: .05em; margin-left: .35em; opacity: .7; font-size: .75em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.brand { margin-inline-end: 20px; }
@media (max-width: 1440px) { .nav > a:not(.btn) { font-size: .88rem; } .nav-cta { padding: .65em 1.05em; font-size: .88rem; } }
.nav > a.nav-extra { color: inherit; }
.nav > a, .nav .lang, .brand-name { white-space: nowrap; }
.nav > a:not(.nav-extra) + a.nav-extra { padding-left: 24px; border-left: 1px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }
.nav > a:not(.btn) { text-decoration: none; font-size: .93rem; font-weight: 500; position: relative; }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav > a:not(.btn):hover::after, .nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.lang { display: flex; gap: 6px; font-size: .85rem; opacity: .85; }
.lang a { text-decoration: none; }
.lang a[aria-current] { font-weight: 700; color: var(--accent); }
.nav-cta { padding: .7em 1.2em; }
.burger { display: none; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Menu lingue ---------- */
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: transparent; color: inherit; cursor: pointer;
  border: 1px solid rgba(127,127,127,.45); border-radius: 99px; padding: 6px 11px; font: 600 .8rem var(--font); letter-spacing: .04em;
  transition: border-color .3s, color .3s;
}
.lang-btn:hover, .lang-menu.open .lang-btn { border-color: var(--accent); color: var(--accent); }
.lang-btn { padding: 6px 10px 6px 7px; }
.lang-btn .caret { width: 9px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.lang-menu.open .lang-btn .caret { transform: rotate(180deg); }
.flag { width: 22px; height: 15px; flex: none; display: block; border-radius: 3px; box-shadow: 0 0 0 1px rgba(127,127,127,.35); }
.lang-list {
  position: absolute; top: calc(100% + 12px); inset-inline-end: 0; z-index: 70; min-width: 290px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin: 0; padding: 8px; list-style: none;
  background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.lang-menu.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; text-decoration: none; font-size: .9rem; }
.lang-list a:hover { background: var(--paper); }
.lang-list a[aria-current] { color: var(--accent-ink); font-weight: 600; }
.lang-list a[aria-current] .flag { box-shadow: 0 0 0 2px var(--accent); }

/* ---------- Lingue con alfabeti diversi ---------- */
:lang(zh) { --font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", system-ui, sans-serif; --display: var(--font); }
:lang(ar) { --font: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; --display: var(--font); }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3, :lang(ar) .eyebrow, :lang(ar) .brand-name small,
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3, :lang(zh) .eyebrow { letter-spacing: 0; text-transform: none; }
:lang(ar) .hero-title, :lang(zh) .hero-title { line-height: 1.2; }

/* ---------- Arabo: lettura da destra a sinistra ---------- */
[dir="rtl"] .brand-name { direction: ltr; }
[dir="rtl"] .hero-media::after {
  background: linear-gradient(180deg, rgba(20,20,22,.55) 0%, rgba(20,20,22,.05) 35%, rgba(20,20,22,.75) 100%),
              linear-gradient(270deg, rgba(20,20,22,.6), transparent 70%);
}
[dir="rtl"] .scroll-hint { right: auto; left: max(16px, calc((100% - 1200px) / 2)); }
[dir="rtl"] .nav > a:not(.nav-extra) + a.nav-extra { padding-left: 0; border-left: 0; padding-right: 24px; border-right: 1px solid rgba(127,127,127,.4); }
[dir="rtl"] .split-media figcaption { left: auto; right: 16px; }
[dir="rtl"] .g-item span { left: auto; right: 14px; }
[dir="rtl"] .faq summary { padding: 22px 0 22px 48px; }
[dir="rtl"] .faq summary::before, [dir="rtl"] .faq summary::after { right: auto; left: 8px; }
[dir="rtl"] .faq details p { padding-right: 0; padding-left: 40px; }
[dir="rtl"] .field > span { left: auto; right: 17px; }
[dir="rtl"] .field select { background-position: 22px 55%, 16px 55%; }
[dir="rtl"] .lb-prev { left: auto; right: 16px; } [dir="rtl"] .lb-next { right: auto; left: 16px; }
[dir="rtl"] .legal ul { padding-left: 0; padding-right: 1.2em; }
[dir="rtl"] .legal-box { border-left: 0; border-right: 4px solid var(--accent); }
[dir="rtl"] .legal th, [dir="rtl"] .legal td { text-align: right; }
[dir="rtl"] .soon-progress span { animation-direction: reverse; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate; padding-bottom: clamp(80px, 12vh, 140px);
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media picture { display: contents; }
.hero-img {
  width: 100%; height: 115%; object-fit: cover; object-position: 40% 50%;
  animation: kenburns 18s var(--ease) both;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,20,22,.55) 0%, rgba(20,20,22,.05) 35%, rgba(20,20,22,.75) 100%),
    linear-gradient(90deg, rgba(20,20,22,.6), transparent 70%);
}
@keyframes kenburns { from { transform: scale(1.18); } to { transform: scale(1); } }
.hero .eyebrow { color: #fff; }
.hero-title { font-size: clamp(3rem, 10vw, 7.5rem); font-weight: 800; margin-bottom: .35em; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .15s; }
@keyframes rise { to { transform: none; } }
.hero-lead { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.scroll-hint {
  position: absolute; right: max(16px, calc((100% - 1200px) / 2)); bottom: 40px;
  width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.7); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Azienda ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-text > p { color: var(--muted); font-size: 1.08rem; }
.split-text strong { color: var(--ink); }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.values li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.values b { font-family: var(--display); }
.values span { color: var(--muted); }
.split-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease); }
.split-media.in img { transform: scale(1); }
.split-media::before {
  content: ""; position: absolute; inset: 0; background: var(--accent); z-index: 1;
  transform-origin: top; transition: transform 1.1s var(--ease);
}
.split-media.in::before { transform: scaleY(0); }
.split-media figcaption {
  position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(20,20,22,.75); color: #fff;
  font-size: .82rem; padding: 6px 12px; border-radius: 99px; backdrop-filter: blur(6px);
}

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
}
.stat { padding: 28px 20px 0 0; }
.stat b {
  display: block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1;
  font-weight: 800; letter-spacing: -.04em;
  background: linear-gradient(120deg, var(--ink) 30%, var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat > span { color: var(--muted); font-size: .95rem; }

/* ---------- Lavorazioni (dark) ---------- */
.dark { background: var(--ink); color: #f2f0eb; }
.dark .eyebrow { color: var(--accent); }
.dark .section-head p:last-child { color: #a9a7b0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; } /* 9 lavorazioni: griglia 3 x 3 */
.cards .card-media { aspect-ratio: 16 / 10; }
.card {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color .4s, box-shadow .4s, transform .5s var(--ease);
  transform-style: preserve-3d;
}
.card:hover { border-color: rgba(228, 92, 201, .5); box-shadow: 0 30px 60px -30px rgba(228, 92, 201, .45); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: #2a2a30; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.card:hover .card-media img { transform: scale(1.08); filter: saturate(1.05); }
.card-media.round { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #34343c, #1e1e22 70%); }
.card-media.round img { width: 72%; height: auto; aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.icon-media { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2a38, #1e1e22 70%); }
.icon-media svg { width: 42%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.icon-media svg path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.card.in .icon-media svg path { stroke-dashoffset: 0; }
.card-body { padding: 22px 22px 26px; }
.card-body p { color: #a9a7b0; font-size: .95rem; margin: 0; }
.num { display: block; font-size: .78rem; font-weight: 700; color: var(--brass); letter-spacing: .1em; margin-bottom: 10px; }

/* ---------- Processo ---------- */
.steps {
  list-style: none; margin: 0; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; counter-reset: s;
}
.steps::before, .steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line);
}
.steps::after { background: linear-gradient(90deg, var(--brass), var(--accent)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-top: 44px; counter-increment: s; }
.step .dot {
  position: absolute; top: 0; left: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line); z-index: 1; transition: border-color .4s, background .4s, transform .4s var(--ease);
}
.step.lit .dot { border-color: var(--accent); background: var(--accent); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(228,92,201,.18); }
.step h3::before { content: "0" counter(s); display: block; font-size: .78rem; color: var(--brass); letter-spacing: .1em; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- Conto terzi ---------- */
/* domanda su una riga, risposta ("La facciamo noi.") sulla riga sotto */
#conto-terzi .section-head h2 em, #subcontracting .section-head h2 em { display: block; }
.ct-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ct-card {
  display: flex; flex-direction: column; background: #fff; border-radius: calc(var(--radius) + 4px);
  overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s;
}
.ct-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(20,20,22,.35); border-color: rgba(228,92,201,.45); }
.ct-media { overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.ct-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ct-card:hover .ct-media img { transform: scale(1.06); }
.ct-media.cad { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #3a2a38, #141416 70%); }
.ct-media.cad svg { width: 46%; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; }
.ct-media.cad svg path { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 2.2s var(--ease) .3s; }
.ct-card.in .ct-media.cad svg path { stroke-dashoffset: 0; }
.ct-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; }
.ct-body p { color: var(--muted); font-size: .98rem; }
.ct-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 8px; font-size: .93rem; }
.ct-list li { display: flex; gap: 10px; align-items: baseline; }
.ct-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; transform: translateY(-1px); }
.ct-btn { margin-top: auto; align-self: flex-start; }
.ct-note { margin: 28px 0 0; color: var(--muted); text-align: center; }
@media (max-width: 1080px) { .ct-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .ct-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .ct-btn { align-self: stretch; } }

/* ---------- Galleria stabilimento ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius); display: block; background: var(--tint); }
.g-item.g-tall { grid-row: span 2; }
.g-item.g-wide { grid-column: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.g-item:hover img { transform: scale(1.06); }
.g-item span {
  position: absolute; left: 14px; bottom: 14px; color: #fff; font-size: .85rem; font-weight: 600;
  background: rgba(20,20,22,.6); backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 99px;
  transform: translateY(6px); opacity: .9; transition: transform .4s var(--ease), opacity .4s, background .3s;
}
.g-item:hover span { transform: none; opacity: 1; background: var(--accent); }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(12,12,14,.94); display: grid; place-items: center;
  padding: 56px 16px; animation: lbIn .35s var(--ease);
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; animation: lbZoom .45s var(--ease); }
@keyframes lbZoom { from { transform: scale(.94); opacity: 0; } }
.lightbox figcaption { color: #d8d6de; margin-top: 12px; font-size: .95rem; }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.08); color: #fff; border: 0; cursor: pointer;
  width: 52px; height: 52px; border-radius: 50%; font-size: 1.9rem; line-height: 1; display: grid; place-items: center;
  transition: background .3s;
}
.lightbox button:hover { background: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Settori ---------- */
.tint { background: var(--tint); }
.sectors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; } /* 7 settori: 4 + 3 */
.sectors li {
  display: flex; align-items: center; gap: 18px; background: var(--paper); border-radius: var(--radius);
  padding: 26px 24px; font-family: var(--display); font-weight: 650; font-size: 1.15rem;
  border: 1px solid transparent; transition: border-color .3s, transform .4s var(--ease);
}
.sectors li:hover { border-color: var(--accent); transform: translateY(-4px); }
.sectors svg { width: 44px; flex: none; fill: none; stroke: var(--accent-ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }

/* ---------- CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent-ink), var(--accent) 55%, #f39ae0);
  color: #fff; text-align: center; padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35);
  width: 520px; aspect-ratio: 1; left: -160px; top: -260px; animation: float 14s ease-in-out infinite alternate;
}
.cta-band::after { left: auto; right: -200px; top: auto; bottom: -300px; width: 640px; animation-duration: 18s; }
@keyframes float { to { transform: translate(60px, 40px) rotate(20deg); } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { font-size: 1.15rem; opacity: .9; margin-bottom: 2rem; }

/* ---------- FAQ ---------- */
#faq { padding-bottom: 0; }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--display); font-weight: 650; font-size: 1.12rem; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-ink); }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: currentColor;
  transition: transform .4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { color: var(--muted); padding-right: 40px; margin: 0 0 22px; animation: faqIn .5s var(--ease); }
.faq details a { color: var(--accent-ink); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section-head { margin-bottom: 8px; } }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
address { font-style: normal; color: var(--muted); margin: 1.4rem 0; }
address b { color: var(--ink); }
.contact-list { list-style: none; padding: 0; margin: 0 0 2rem; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list a, .contact-list .plain { font-family: var(--display); font-weight: 650; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-ink); }
.contact-list li > span:last-child { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }

.form { background: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 80px -50px rgba(20,20,22,.35); display: grid; gap: 14px; }
.hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid transparent;
  border-radius: 12px; padding: 24px 16px 10px; outline: none; transition: border-color .3s, background .3s; resize: vertical;
  appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); background: #fff; }
.field > span {
  position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none;
  transition: transform .25s var(--ease), font-size .25s, top .25s; font-size: 1rem;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field > span.static { top: 7px; font-size: .74rem; letter-spacing: .04em; }
.field.invalid input, .field.invalid textarea { border-color: #d6455d; }
.file { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border: 1.5px dashed var(--line); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .3s; }
.file:hover { border-color: var(--accent); }
.file input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-btn { font-weight: 600; font-size: .9rem; padding: .55em 1em; border-radius: 99px; background: var(--ink); color: #fff; }
.file-name { font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.check { display: flex; gap: 10px; font-size: .86rem; color: var(--muted); align-items: flex-start; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-size: .92rem; min-height: 1.4em; }
.form-msg.ok { color: #1f8a5b; } .form-msg.err { color: #d6455d; }

/* ---------- Pagine in allestimento (catalogo, shop) ---------- */
.soon {
  min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 120px 0 80px;
  background: radial-gradient(ellipse at 70% 45%, #2a2430 0%, #151518 55%, #0e0e10 100%);
}
.soon-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.soon .eyebrow { color: var(--accent); }
.soon h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; letter-spacing: -.03em; }
.soon h1 em { color: var(--accent); }
.soon-text > p:not(.eyebrow):not(.soon-note) { color: #c3c1c9; font-size: 1.12rem; max-width: 560px; }
.soon-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 2.6rem; }
.soon-progress { width: min(360px, 100%); height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.1); }
.soon-progress span {
  display: block; height: 100%; width: 62%; border-radius: 6px;
  background: repeating-linear-gradient(-45deg, var(--accent) 0 10px, var(--accent-ink) 10px 20px);
  background-size: 28px 28px; animation: stripes 1s linear infinite;
}
@keyframes stripes { to { background-position: 28px 0; } }
.soon-note { margin-top: 10px; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: #8e8c95; }
/* il logo viene "inciso" da un raggio laser che lo scorre dall'alto */
.soon-mark { position: relative; width: min(340px, 70%); justify-self: center; color: #fff; }
.soon-mark svg { width: 100%; display: block; animation: engrave 4.5s var(--ease) infinite; filter: drop-shadow(0 0 30px rgba(228,92,201,.25)); }
.soon-laser {
  position: absolute; left: -8%; right: -8%; top: 0; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ffb0dc 20%, #fff 50%, #ffb0dc 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(228,92,201,.7); animation: laser 4.5s var(--ease) infinite;
}
@keyframes engrave { 0% { clip-path: inset(0 0 100% 0); opacity: .9; } 70% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 0); opacity: 1; } }
@keyframes laser { 0% { top: 0; opacity: 1; } 70% { top: 100%; opacity: 1; } 80%, 100% { top: 100%; opacity: 0; } }
@media (max-width: 900px) {
  .soon-inner { grid-template-columns: 1fr; }
  .soon-mark { order: -1; width: 46%; margin-bottom: 8px; }
}

/* ---------- Pagine legali (privacy, cookie) ---------- */
.page-legal .site-header:not(.scrolled) { color: var(--ink); }
.page-legal.menu-open .site-header { color: #fff; }
.legal { padding: 140px 0 100px; }
.legal-inner { max-width: 820px; }
/* parole lunghe (tedesco, russo…) vanno a capo con il trattino invece di uscire dallo schermo */
.legal p, .legal li, .legal td, .legal th, .legal-toc a { overflow-wrap: break-word; hyphens: auto; }
/* titoli: niente trattini; righe bilanciate; una parola si spezza solo se da sola non entra nello schermo */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; text-wrap: balance; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; }
.legal h2 { font-size: 1.45rem; margin: 2.6em 0 .7em; padding-top: 1.4em; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; }
.legal p, .legal li { color: #3d3c42; }
.legal a { color: var(--accent-ink); }
.legal ul { padding-left: 1.2em; } .legal li { margin-bottom: .5em; }
.legal-lead { font-size: 1.15rem; }
.legal-date { font-size: .85rem; color: var(--muted) !important; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.legal-toc a { text-decoration: none; font-size: .85rem; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink) !important; transition: border-color .3s, color .3s; }
.legal-toc a:hover { border-color: var(--accent); color: var(--accent-ink) !important; }
.legal-table { overflow-x: auto; margin: 1em 0; }
.legal table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; font-size: .95rem; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--ink); color: #fff; font-weight: 600; }
.legal-box { display: grid; gap: 6px; margin: 28px 0 8px; padding: 20px 22px; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--accent); }
.legal-box span { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9b7bf; padding: 56px 0 28px; font-size: .9rem; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.foot-brand { color: #fff; }
.footer p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-right { display: grid; gap: 14px; justify-items: end; }
.social { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-weight: 600; }
.social svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255,255,255,.08); fill: #fff; transition: background .3s, transform .4s var(--ease); }
.social:hover svg { background: #1877f2; transform: translateY(-2px); }
@media (max-width: 900px) { .foot-right { justify-items: start; } }
.foot-links a { text-decoration: none; } .foot-links a:hover { color: var(--accent); }
.copy { margin-top: 36px !important; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; }

/* ---------- Animazioni di comparsa ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { animation: fadeUp 1s var(--ease) var(--d, .35s) forwards; transition: none; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .steps::before, .steps::after { display: none; }
}
/* Menu a scomparsa: con 8 voci (e i testi inglesi) serve già sotto i 1280px */
@media (max-width: 1279px) {
  .header-inner { height: 76px; } .scrolled .header-inner { height: 66px; }
  .brand .logo { height: 50px; } .scrolled .brand .logo { height: 44px; }
  .brand-name { font-size: 1.1rem; }
  .burger {
    display: grid; place-items: center; width: 46px; height: 46px; border: 0; background: transparent;
    cursor: pointer; position: relative; z-index: 60; color: inherit;
  }
  .burger span { position: absolute; width: 24px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
  .burger span:first-child { transform: translateY(-4px); }
  .burger span:last-child { transform: translateY(4px); }
  .menu-open .burger span:first-child { transform: rotate(45deg); }
  .menu-open .burger span:last-child { transform: rotate(-45deg); }
  .menu-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav {
    position: fixed; inset: 0; background: var(--ink); color: #fff; flex-direction: column; align-items: flex-start;
    justify-content: center; gap: 18px; padding: 90px 28px 40px;
    clip-path: circle(0 at calc(100% - 39px) 38px); transition: clip-path .7s var(--ease); visibility: hidden;
  }
  .menu-open .nav { clip-path: circle(150% at calc(100% - 39px) 38px); visibility: visible; }
  .nav { gap: 12px; overflow-y: auto; }
  .nav > a:not(.btn) { font-family: var(--display); font-size: clamp(1.6rem, 4.6vh, 2.2rem); font-weight: 700; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease); }
  .nav > a.nav-extra, .nav > a:not(.nav-extra) + a.nav-extra { border-left: 0; padding-left: 0; color: var(--accent); }
  .menu-open .nav > a:not(.btn) { opacity: 1; transform: none; }
  .menu-open .nav > a:nth-child(2) { transition-delay: .05s; } .menu-open .nav > a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav > a:nth-child(4) { transition-delay: .15s; } .menu-open .nav > a:nth-child(5) { transition-delay: .2s; }
  .menu-open .nav > a:nth-child(6) { transition-delay: .25s; } .menu-open .nav > a:nth-child(7) { transition-delay: .3s; }
  .menu-open .nav > a:nth-child(8) { transition-delay: .35s; }
  .nav-cta { margin-top: 12px; font-size: 1rem; padding: 1em 1.6em; }
  .lang { font-size: 1rem; margin-top: 8px; }
  /* nel menu a tutto schermo le lingue diventano una griglia di sigle sempre visibile */
  .lang-menu { margin-top: 10px; width: 100%; }
  .lang-btn { display: none; }
  .lang-list {
    position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; box-shadow: none;
    background: transparent; color: #fff; padding: 0; display: flex; flex-wrap: wrap; gap: 8px;
  }
  .lang-list { gap: 10px; }
  .lang-list a { padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
  .lang-list a span { display: none; }
  .lang-list a .flag { width: 30px; height: 20px; }
  .lang-list a:hover { background: rgba(255,255,255,.08); }
  .lang-list a[aria-current] { border-color: var(--accent); background: rgba(228,92,201,.18); }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 900px) {

  .split, .contact { grid-template-columns: 1fr; }
  .split-media { aspect-ratio: 4 / 3; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px 24px 0; border-bottom: 1px solid var(--line); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 10px; }
  .g-item.g-wide { grid-column: span 2; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card { flex-direction: row; }
  .cards .card-media { width: 38%; aspect-ratio: auto; flex: none; }
  .card-media.round img { width: 84%; }
  .card-body { padding: 18px; }
  .card-body h3 { font-size: 1.08rem; }
  .card-body p { font-size: .88rem; }
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 4px; }
  .steps::before, .steps::after { display: block; left: 15px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .step { padding: 0 0 28px 48px; }
  .step .dot { left: 0; top: 2px; }
  .sectors { grid-template-columns: 1fr; }
  .sectors li { padding: 18px 20px; }
  .row2 { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 2px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .form .btn { justify-self: stretch; }
  .scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
