/* ==========================================================================
   Citrea Group · grafica v2 (chiara con accenti decisi)
   Tutte le classi hanno il prefisso c- per non scontrarsi con Bootstrap,
   che resta caricato solo per banner cookie e finestre privacy/cookie.
   ========================================================================== */

:root {
  --c-bg: #fbfaf4;
  --c-card: #ffffff;
  --c-text: #14231b;
  --c-muted: #55625a;
  --c-line: #e8e5d8;
  --c-deep: #0e3b2a;
  --c-green: #007236;
  --c-yellow: #fae160;
  --c-yellow-soft: #fdf5cf;
  --c-radius: 22px;
  --c-radius-lg: 32px;
  --c-shadow: 0 1px 0 var(--c-line), 0 0 0 1px var(--c-line);
  --c-shadow-hover: 0 14px 34px rgba(20, 35, 27, .10), 0 0 0 1px var(--c-line);
  --c-ease: cubic-bezier(.2, .7, .2, 1);
  --c-font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --c-blur-dur: 1.4s; /* comparsa sfocata della hero (linear.app usa 1s) */
}

/* ---------- Base ---------- */
body.c-body {
  margin: 0;
  font-family: var(--c-font);
  font-size: 17px;
  font-weight: 300; /* testi e sottotitoli in Light; titoli e parole evidenziate in 600 */
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
/* :where() = specificita' zero: qualsiasi regola di componente vince su questa */
:where(.c-body img) { max-width: 100%; height: auto; display: block; }
.c-body a { color: inherit; }
/* con il testo a 300, "bolder" del browser darebbe solo 400: il grassetto va fissato */
.c-body strong, .c-body b { font-weight: 600; }
.c-body h1, .c-body h2, .c-body h3, .c-body h4 {
  font-family: var(--c-font); font-weight: 600; letter-spacing: -0.025em; margin: 0; color: var(--c-text);
}
.c-body h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.08; margin-bottom: 22px; }
.c-body h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin-bottom: 24px; }
.c-body h3 { font-size: 1.3rem; line-height: 1.25; margin-bottom: 8px; }
.c-body h4 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 6px; }
.c-body p { margin: 0 0 16px; }
.c-body :focus-visible { outline: 2px solid var(--c-green); outline-offset: 3px; border-radius: 6px; }

.c-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.c-narrow { max-width: 760px; }
.c-center { text-align: center; }
.c-center .c-lead { margin-left: auto; margin-right: auto; }
.c-muted { color: var(--c-muted); }
.c-lead { font-size: 1.2rem; color: var(--c-muted); max-width: 36em; margin-bottom: 30px; }
.c-kicker { display: inline-block; font-size: 0.92rem; font-weight: 600; color: var(--c-green); margin-bottom: 14px; }
.c-mark { background: linear-gradient(transparent 60%, var(--c-yellow) 60%, var(--c-yellow) 92%, transparent 92%); padding: 0 .08em; }

/* ---------- Pulsanti ---------- */
.c-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.c-center .c-btns, .c-btns.c-center { justify-content: center; }
.c-btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 0.98rem/1.2 var(--c-font); text-decoration: none; text-align: center;
  transition: background-color .2s var(--c-ease), color .2s var(--c-ease), transform .2s var(--c-ease), box-shadow .2s var(--c-ease);
}
.c-btn:hover { transform: translateY(-1px); }
.c-btn--deep { background: var(--c-deep); color: #fff !important; }
.c-btn--deep:hover { background: var(--c-green); }
.c-btn--line { box-shadow: inset 0 0 0 1.5px var(--c-text); color: var(--c-text) !important; background: transparent; }
.c-btn--line:hover { background: var(--c-text); color: #fff !important; }
/* Pulsante verso NexusPI: al passaggio si riempie con un gradiente leggero dei colori del logo (arancio #fbb040, viola #8753f9).
   Il gradiente sta in un ::before per poter sfumare con l'opacita'; inset 1.5px lascia visibile il bordo. */
.c-btn--nexus { position: relative; z-index: 0; }
.c-btn--nexus::before {
  content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit;
  background: linear-gradient(100deg, rgba(251, 176, 64, .45), rgba(135, 83, 249, .45));
  opacity: 0; transition: opacity .25s var(--c-ease);
}
.c-btn--nexus:hover { background: transparent; color: var(--c-text) !important; }
.c-btn--nexus:hover::before, .c-btn--nexus:focus-visible::before { opacity: 1; }
.c-btn--yellow { background: var(--c-yellow); color: var(--c-text) !important; }
.c-btn--yellow:hover { background: #fff; }
.c-link { color: var(--c-green) !important; font-weight: 600; text-decoration: none; }
.c-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.c-hd { position: sticky; top: 0; z-index: 1030; background: rgba(251, 250, 244, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: box-shadow .25s var(--c-ease); }
.c-hd.is-scrolled { box-shadow: 0 1px 0 var(--c-line), 0 8px 24px rgba(20, 35, 27, .05); }
.c-hd-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.c-logo img { height: 34px; width: auto; }
.c-nav { display: flex; align-items: center; gap: 4px; font-size: 0.95rem; font-weight: 400; }
.c-nav > a, .c-dd-btn {
  color: var(--c-text); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer;
  padding: 8px 14px; border-radius: 999px; transition: background-color .2s var(--c-ease);
}
.c-nav > a:hover, .c-dd-btn:hover { background: #f1eedf; }
.c-nav > a.is-on, .c-dd.is-on > .c-dd-btn { background: var(--c-card); box-shadow: var(--c-shadow); font-weight: 600; }
.c-dd { position: relative; }
.c-dd-btn::after { content: "▾"; font-size: 0.7em; margin-left: 6px; color: var(--c-muted); }
.c-dd-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px;
  background: var(--c-card); border-radius: 16px; box-shadow: 0 16px 40px rgba(20, 35, 27, .12); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s var(--c-ease), transform .18s var(--c-ease), visibility .18s;
}
.c-dd-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.c-dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; text-decoration: none; }
.c-dd-menu a small { display: block; color: var(--c-muted); font-size: 0.85rem; }
.c-dd-menu a:hover, .c-dd-menu a.is-on { background: var(--c-yellow-soft); }
.c-dd:hover .c-dd-menu, .c-dd:focus-within .c-dd-menu, .c-dd.is-open .c-dd-menu { opacity: 1; visibility: visible; transform: none; }
.c-lang { position: relative; }
.c-lang summary { list-style: none; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-size: 0.9rem; font-weight: 500; box-shadow: var(--c-shadow); background: var(--c-card); }
.c-lang summary::-webkit-details-marker { display: none; }
.c-lang summary::after { content: " ▾"; font-size: 0.7em; color: var(--c-muted); }
.c-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--c-card); border-radius: 14px; box-shadow: 0 16px 40px rgba(20, 35, 27, .12); padding: 6px; min-width: 150px; z-index: 5; }
.c-lang-menu a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 0.92rem; }
.c-lang-menu a:hover, .c-lang-menu a.is-on { background: var(--c-yellow-soft); }
.c-hd-right { display: flex; align-items: center; gap: 10px; }
.c-burger { display: none; background: var(--c-card); border: 0; box-shadow: var(--c-shadow); border-radius: 999px; width: 46px; height: 42px; cursor: pointer; }
.c-burger span { display: block; width: 18px; height: 2px; background: var(--c-text); margin: 4px auto; transition: transform .2s var(--c-ease), opacity .2s; }
body.c-nav-open .c-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.c-nav-open .c-burger span:nth-child(2) { opacity: 0; }
body.c-nav-open .c-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Testate di pagina ---------- */
.c-hero { padding: 64px 0 24px; }
.c-hero--center { text-align: center; }
.c-hero--center h1 { max-width: 15em; margin-left: auto; margin-right: auto; }
.c-hero--center .c-lead { margin-left: auto; margin-right: auto; }
.c-hero--center .c-btns { justify-content: center; }
.c-hero-img { width: 100%; height: clamp(260px, 42vw, 520px); object-fit: cover; border-radius: var(--c-radius); margin-top: 52px; }
.c-hero--split .c-wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.c-hero--split .c-hero-img { margin-top: 0; height: auto; aspect-ratio: 4 / 3; }
.c-crumb { font-size: 0.9rem; font-weight: 400; color: var(--c-muted); margin-bottom: 14px; }
.c-crumb a { text-decoration: none; }
.c-crumb a:hover { color: var(--c-green); }

/* ---------- Sezioni e griglie ---------- */
.c-sec { padding: 88px 0; }
.c-sec--tight { padding: 56px 0; }
.c-sec--flush-top { padding-top: 0; }
.c-sec-head { max-width: 720px; margin-bottom: 36px; }
.c-center .c-sec-head, .c-sec-head.c-center { margin-left: auto; margin-right: auto; }
.c-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.c-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.c-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.c-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.c-split img { border-radius: var(--c-radius); }

/* ---------- Card ---------- */
.c-card {
  background: var(--c-card); border-radius: var(--c-radius); padding: 32px; box-shadow: var(--c-shadow);
  transition: box-shadow .25s var(--c-ease), transform .25s var(--c-ease);
}
.c-card > p:last-child { margin-bottom: 0; }
.c-card--soft { background: var(--c-yellow-soft); box-shadow: none; }
.c-card--link { text-decoration: none; display: block; }
.c-card--link:hover { box-shadow: var(--c-shadow-hover); transform: translateY(-3px); }
.c-card--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.c-card--row h3 { margin: 0; }
.c-card .c-muted { font-size: 0.97rem; }
.c-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-yellow); font-weight: 600; font-size: 0.95rem; margin-bottom: 16px; }
.c-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-yellow-soft); color: var(--c-deep); font-size: 1.25rem; margin-bottom: 16px; }

/* Righe con freccia */
.c-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0; border-top: 1px solid rgba(20, 35, 27, .1); text-decoration: none;
}
.c-row strong { display: block; font-weight: 600; }
.c-row span span { color: var(--c-muted); font-size: 0.95rem; }
.c-arrow {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-text); color: #fff; font-size: 1rem; transition: background-color .2s var(--c-ease), transform .2s var(--c-ease);
}
.c-row:hover .c-arrow, .c-card--link:hover .c-arrow { background: var(--c-green); transform: translateX(3px); }

/* Elenco con spunte */
.c-checks { list-style: none; padding: 0; margin: 0; }
.c-checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.c-checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--c-yellow); box-shadow: inset 0 0 0 4px var(--c-yellow-soft); }

/* ---------- Fascia verde ---------- */
.c-band { background: var(--c-deep); color: #fff; border-radius: var(--c-radius-lg); margin: 0 16px; }
.c-band .c-wrap { padding-top: 88px; padding-bottom: 88px; }
.c-band h2, .c-band h3 { color: #fff; }
.c-band .c-kicker { color: var(--c-yellow); }
.c-band p { color: rgba(255, 255, 255, .82); }
.c-band .c-muted { color: rgba(255, 255, 255, .6); }
.c-band img.c-shot { border-radius: 18px; }
.c-band .c-card { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #fff; }
.c-nexus-logo { height: 46px; width: auto; margin-bottom: 22px; }

/* ---------- Collage NexusPI (pagina NexusPI): come la hero di nexuspi.app, sul verde Citrea ---------- */
.c-collage { position: relative; max-width: 920px; margin: 0 auto; padding: 10px 44px 92px 28px; }
.c-collage__blob { position: absolute; inset: -6% -1% 2% 5%; border-radius: 58% 42% 50% 50% / 52% 46% 54% 48%; background: rgba(255, 255, 255, .07); }
.c-collage__ring { position: absolute; width: 124px; height: 124px; right: 0; bottom: 44px; border-radius: 50%; border: 10px solid #fbb040; } /* arancio NexusPI */
.c-browser { position: relative; z-index: 1; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 34px 70px -24px rgba(0, 0, 0, .6); }
.c-browser__bar { height: 26px; background: #f1eef8; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.c-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d6d0e8; }
.c-browser img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.c-collage__card { position: absolute; z-index: 2; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .65); }
.c-collage__card img { width: 100%; height: auto; }
.c-collage__card--a { right: 16px; top: 40%; width: 58%; }
.c-collage__card--b { left: 0; bottom: 0; width: 62%; }
@media (max-width: 640px) {
  .c-collage { padding: 0 0 64px; }
  .c-collage__card--a { right: -6px; width: 66%; }
  .c-collage__card--b { left: -6px; width: 72%; }
  .c-collage__ring { width: 80px; height: 80px; border-width: 8px; right: -8px; bottom: 30px; }
}

/* ---------- Tre competenze (home): card ferme, leggermente ruotate, la prima in giallo ---------- */
.c-approach-head { max-width: 860px; margin: 0 auto 64px; text-align: center; }
.c-approach-head h2 { margin-bottom: 14px; text-wrap: balance; }
.c-sparkle { display: inline-block; width: .85em; height: .85em; margin: 0 .3em .12em 0; vertical-align: middle; fill: none; stroke: var(--c-yellow); stroke-width: 1.7; stroke-linejoin: round; }
.c-swoosh { display: block; width: min(320px, 70%); height: auto; margin: 0 auto 30px; fill: none; stroke: var(--c-yellow); stroke-width: 6; stroke-linecap: round; }
.c-approach-head p { font-size: 1.08rem; margin-bottom: 10px; }
.c-approach-head strong { color: #fff; font-weight: 600; }
.c-approach-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.c-band .c-approach-card {
  background: #fff; color: var(--c-text); border-radius: var(--c-radius-lg); padding: 52px 36px; min-height: 300px;
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.c-band .c-approach-card--hi { background: var(--c-yellow); }
.c-band .c-approach-card h3 { color: var(--c-text); font-size: clamp(1.5rem, 2.3vw, 2rem); margin-bottom: 18px; }
.c-band .c-approach-card p { color: #3d4a42; margin: 0; }
.c-approach-card strong { color: var(--c-text); font-weight: 600; }
/* rotate (non transform) cosi' la comparsa data-reveal="zoom" non annulla l'inclinazione */
.c-approach-card:nth-child(1) { rotate: -3.5deg; }
.c-approach-card:nth-child(2) { rotate: 1deg; }
.c-approach-card:nth-child(3) { rotate: -1.5deg; }
/* su desktop la card gialla sta al centro; nel codice resta prima, cosi' su mobile (una colonna) e' la prima */
@media (min-width: 961px) { .c-approach-cards > :nth-child(2) { order: -1; } }
@media (max-width: 960px) {
  .c-approach-head { margin-bottom: 40px; }
  .c-approach-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 20px; }
  .c-band .c-approach-card { min-height: 0; padding: 40px 28px; }
  .c-approach-card:nth-child(n) { rotate: none; }
}

/* ---------- Loghi clienti ---------- */
.c-logos-label { text-align: center; font-size: 0.9rem; font-weight: 600; color: var(--c-muted); margin-bottom: 22px; }
.c-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 34px; }
.c-logos img { height: 58px; width: 96px; object-fit: contain; filter: brightness(0); opacity: .45; transition: opacity .2s var(--c-ease); }
.c-logos img:hover { opacity: .75; }

/* Fascia clienti che scorre lentamente (come su nexuspi.app): grigi, a colori al passaggio, pausa al passaggio */
.c-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.c-marquee-track { display: flex; align-items: center; width: max-content; animation: c-marquee 45s linear infinite; }
.c-marquee:hover .c-marquee-track { animation-play-state: paused; }
/* i file dei clienti hanno margini trasparenti interni (tela 284x190), da qui l'altezza un po' piu' alta di nexuspi */
.c-marquee img {
  height: 50px; width: auto; max-width: 140px; object-fit: contain; margin-right: 64px; flex: none; display: block;
  filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s;
}
.c-marquee img:hover { filter: none; opacity: 1; }
@keyframes c-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 640px) { .c-marquee img { height: 42px; margin-right: 40px; } .c-marquee-track { animation-duration: 35s; } }
@media (prefers-reduced-motion: reduce) {
  .c-marquee { -webkit-mask-image: none; mask-image: none; }
  .c-marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; row-gap: 20px; }
  .c-marquee-dup { display: none !important; }
}

/* ---------- Certificazioni ---------- */
.c-cert { display: flex; align-items: center; justify-content: center; gap: 18px; }
.c-cert img { height: 52px; width: auto; filter: brightness(0); opacity: .7; }
.c-cert p { margin: 0; max-width: 460px; color: var(--c-muted); font-size: 0.95rem; }
.c-cert a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Riquadro contatti ---------- */
.c-cta { background: var(--c-yellow); border-radius: var(--c-radius-lg); text-align: center; padding: 72px 24px; }
.c-cta p { font-size: 1.1rem; margin-bottom: 28px; }

/* ---------- Testo lungo (privacy, descrizioni) ---------- */
.c-prose { max-width: 760px; }
.c-prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.c-prose h3 { font-size: 1.2rem; margin: 28px 0 10px; }
.c-prose p, .c-prose li { color: #2c3a32; }
.c-prose a { color: var(--c-green); }

/* ---------- Moduli ---------- */
.c-form { display: grid; gap: 16px; }
.c-form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.c-field label, .c-label { display: block; font-size: 0.92rem; font-weight: 500; margin-bottom: 6px; }
.c-input, .c-form select, .c-form textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--c-line); background: #fff;
  font: inherit; font-size: 1rem; font-weight: 400; color: var(--c-text); transition: border-color .2s, box-shadow .2s;
}
.c-input:focus, .c-form select:focus, .c-form textarea:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(0, 114, 54, .12); }
.c-form textarea { min-height: 140px; resize: vertical; }
.c-checkgrid { display: flex; flex-wrap: wrap; gap: 8px; }
.c-chip input { position: absolute; opacity: 0; pointer-events: none; }
.c-chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--c-shadow); font-size: 0.93rem; cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.c-chip input:checked + span { background: var(--c-deep); color: #fff; box-shadow: none; }
.c-chip input:focus-visible + span { outline: 2px solid var(--c-green); outline-offset: 2px; }
.c-alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.c-alert--ok { background: #e3f3e8; color: #0e5a2e; }
.c-alert--err { background: #fbe4e1; color: #8a1f12; }
.c-small { font-size: 0.85rem; font-weight: 400; color: var(--c-muted); }

/* ---------- Footer ---------- */
.c-ft { background: var(--c-deep); color: rgba(255, 255, 255, .7); margin-top: 96px; padding: 64px 0 28px; font-size: 0.93rem; font-weight: 400; }
.c-ft-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.c-ft-logo { height: 32px; width: auto; margin-bottom: 16px; }
.c-ft-h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.c-ft ul { list-style: none; margin: 0; padding: 0; }
.c-ft li { margin-bottom: 8px; }
.c-ft a { text-decoration: none; transition: color .2s; }
.c-ft a:hover { color: var(--c-yellow); }
.c-ft-press { height: 30px; width: auto; margin-top: 20px; opacity: .8; }
.c-ft-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 22px; font-size: 0.85rem; }
.c-ft-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Animazioni sobrie ---------- */
/* Gli elementi con data-reveal partono nascosti solo se il JS e' attivo (classe c-js su <html>). */
.c-js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--c-ease), transform .6s var(--c-ease); }
.c-js [data-reveal].is-in { opacity: 1; transform: none; }
.c-js [data-reveal="fade"] { transform: none; }
.c-js [data-reveal="zoom"] { transform: scale(.9); }
/* Comparsa alla linear.app per la hero: da trasparente, sfocato e un po' piu' in basso, a nitido.
   data-reveal="lines" divide il titolo in righe (site.js), data-reveal="blur" anima l'elemento intero. */
.c-js [data-reveal="blur"], .c-js [data-reveal="lines"] .c-line {
  opacity: 0; filter: blur(10px); transform: translateY(20%);
  transition: opacity var(--c-blur-dur) ease, filter var(--c-blur-dur) ease, transform var(--c-blur-dur) ease;
}
.c-js [data-reveal="blur"].is-in, .c-js [data-reveal="lines"].is-in .c-line { opacity: 1; filter: blur(0); transform: translateY(0); }
.c-js [data-reveal="lines"].is-split { opacity: 1; transform: none; transition: none; }
.c-line { display: inline-block; }
@media (prefers-reduced-motion: reduce) {
  .c-js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .c-btn, .c-card, .c-arrow, .c-dd-menu, .c-hd { transition: none !important; }
  .c-btn:hover, .c-card--link:hover { transform: none; }
}

/* ---------- Giapponese (/ja/) ----------
   Poppins non ha i caratteri giapponesi: le lettere latine restano in Poppins, kana e kanji passano a Noto Sans JP
   (caricato solo sulle pagine /ja/). Il Light 300 sui kanji si legge male, quindi il testo corrente va a 400;
   niente spaziatura negativa nei titoli, interlinea piu' ampia e "palt" per la spaziatura proporzionale dei kana. */
html[lang="ja"] { --c-font: "Poppins", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif; }
html[lang="ja"] body.c-body { font-weight: 400; line-height: 1.85; line-break: strict; }
html[lang="ja"] .c-body h1, html[lang="ja"] .c-body h2, html[lang="ja"] .c-body h3, html[lang="ja"] .c-body h4 {
  letter-spacing: 0; font-feature-settings: "palt"; word-break: auto-phrase;
}
html[lang="ja"] .c-body h1 { line-height: 1.3; }
html[lang="ja"] .c-body h2 { line-height: 1.4; }
html[lang="ja"] .c-body h3 { line-height: 1.45; }

/* ---------- Banner cookie e finestre Bootstrap in versione chiara ---------- */
body.c-body #cookie-banner { background: #fff !important; color: var(--c-text) !important; box-shadow: 0 20px 50px rgba(20, 35, 27, .18) !important; border-radius: 20px !important; }
body.c-body #cookie-banner p, body.c-body #cookie-banner .banner-title { color: var(--c-text) !important; }
body.c-body .modal-content { border-radius: 20px; }
body.c-body #modalPrivacy, body.c-body #modalCookie, body.c-body #modalCustomcookie { color: var(--c-text) !important; }
body.c-body #cookie-banner .btn-outline-light { color: var(--c-text) !important; border-color: var(--c-text) !important; background: transparent !important; }
body.c-body #cookie-banner .btn-outline-light:hover { background: var(--c-text) !important; color: #fff !important; }

/* ---------- Mobile ---------- */
@media (max-width: 1080px) {
  .c-burger { display: block; }
  .c-nav {
    display: none; position: absolute; top: 76px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-card); border-radius: 18px; box-shadow: 0 16px 40px rgba(20, 35, 27, .14); padding: 10px;
    max-height: calc(100vh - 96px); overflow-y: auto;
  }
  body.c-nav-open .c-nav { display: flex; }
  .c-nav > a, .c-dd-btn { text-align: left; width: 100%; padding: 12px 14px; }
  .c-nav > a.is-on, .c-dd.is-on > .c-dd-btn { box-shadow: none; background: var(--c-yellow-soft); }
  .c-dd-btn::after { display: none; }
  .c-dd-btn { font-weight: 600; }
  .c-dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 14px; min-width: 0; }
  .c-dd-menu::before { display: none; }
}
@media (max-width: 960px) {
  .c-hero { padding-top: 40px; }
  .c-hero-img { margin-top: 36px; }
  .c-hero--split .c-wrap, .c-grid-2, .c-split { grid-template-columns: 1fr; gap: 28px; }
  .c-grid-3, .c-grid-4 { grid-template-columns: 1fr 1fr; }
  .c-sec { padding: 64px 0; }
  .c-band { margin: 0 8px; border-radius: 24px; }
  .c-band .c-wrap { padding-top: 56px; padding-bottom: 56px; }
  .c-cert { flex-wrap: wrap; }
  .c-cert p { text-align: center; }
  .c-ft { margin-top: 64px; }
  .c-ft-grid { grid-template-columns: 1fr 1fr; }
  .c-ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .c-wrap { padding: 0 16px; }
  .c-grid-3, .c-grid-4, .c-form-2 { grid-template-columns: 1fr; }
  .c-btns .c-btn { width: 100%; }
  .c-card { padding: 26px 22px; }
  .c-logos { gap: 8px 20px; }
  .c-logos img { width: 80px; height: 48px; }
  .c-cta { border-radius: 24px; padding: 56px 20px; }
  .c-hd-right .c-lang summary { padding: 8px 10px; }
}
