/* MKgroup Rete – palette ricavata dal file Illustrator della brochure
   (Brochure_MK_NUOVO_3_ANTE_24x17_PPT.ai, campioni CMYK convertiti in sRGB) */
:root {
  --green: #05a34a;          /* verde brand (C75 M10 Y96 K1) */
  --green-bright: #46bb79;   /* onde chiare sul verde */
  --green-soft: #88cca7;
  --green-pale: #9cd7b6;     /* fondo Activation */
  --green-mist: #ebf5ed;     /* fondo GAIA (C7 M0 Y7) */
  --green-strip: #ecfcf2;    /* fascia numeri */
  --green-dark: #026b30;
  --green-ink: #024d23;
  --blue: #003a7a;           /* hover */
  --blue-brand: #004990;     /* BLU MK (C100 M72 K18) */
  --blue-sky: #468ac3;       /* azzurro MKnowledge */
  --blue-pale: #c1dbef;      /* fondo Insight */
  --indigo: #004990;
  --purple: #9f4c9c;         /* viola titoli (C42 M86) */
  --purple-net: #99206e;     /* MK Network (C0 M79 Y28 K40) */
  --purple-soft: #b46a8f;    /* lilla (C32 M73 Y24) */
  --gaia-blue: #085387;      /* GAIA: blu del robot */
  --gaia-teal: #0a7a7d;      /* GAIA: petrolio del logo */
  --gaia-green: #1e934c;     /* GAIA: verde del logo */
  --ink: #0b1640;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 18px 40px -18px rgba(0, 66, 137, .35);
  --header-h: 76px;
  --brands-h: 80px;           /* altezza fascia "La rete" in fondo all'apertura */
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
ul { list-style: none; margin: 0; padding: 0; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.6em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-blue { background: var(--blue-brand); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 66, 137, .6); }
.btn-blue:hover { background: var(--blue); box-shadow: 0 14px 28px -10px rgba(0, 66, 137, .7); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--blue-brand); }
.btn-sm { padding: .6em 1.2em; font-size: .85rem; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }

.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--blue-brand); margin-bottom: 1.2rem; }
.eyebrow-light { color: #fff; opacity: .9; }
.about .eyebrow { font-size: .8rem; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -16px rgba(11, 22, 64, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; padding: 4px 0; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .nav-reserved { color: var(--purple-net) !important; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--blue-brand); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--green); color: #fff; overflow: hidden; isolation: isolate; }
.hero-wave { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: end;
  /* l'apertura entra sempre nella prima schermata, fascia "La rete" compresa */
  height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h));
  min-height: 470px; max-height: 900px;
}
.hero-copy { padding: clamp(24px, 5vh, 72px) 0 calc(var(--brands-h) + clamp(20px, 4vh, 48px)); position: relative; z-index: 2; align-self: center; }
.hero h1 { display: flex; flex-direction: column; gap: clamp(10px, 2.4vh, 28px); }
.hero-match {
  color: var(--purple); font-weight: 800; font-style: italic;
  font-size: clamp(3rem, min(8vw, 11vh), 7.2rem); line-height: .92; letter-spacing: -.02em;
}
.hero-match .indent { padding-left: .35em; display: inline-block; white-space: nowrap; }
.hero-sub {
  color: #fff; font-weight: 800; font-style: italic; font-size: clamp(1.8rem, min(4.6vw, 6.4vh), 4.1rem);
  line-height: 1; padding-left: clamp(1.5rem, 9vw, 7rem);
}
.hero-sub .amp { font-size: .62em; margin-right: .12em; vertical-align: .18em; }
.hero-lead { max-width: 32em; font-size: clamp(.98rem, 2vh, 1.12rem); font-weight: 500; margin: clamp(14px, 3vh, 34px) 0 clamp(14px, 3vh, 30px); color: #fff; }
.hero-lead strong { color: #fff; font-weight: 800; font-style: italic; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { align-self: stretch; }
.hero-visual img {
  position: absolute; right: 0; bottom: 0; height: 100%; width: auto; max-width: none; z-index: 1;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
          mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
.hero-brands { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; }
.hero-brands-card {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 28px; flex-wrap: nowrap;
  background: #fff; height: var(--brands-h); padding: 0 56px 0 24px; margin-left: -24px;
  border-radius: 0 140px 0 0; box-shadow: 0 -10px 40px -20px rgba(0, 0, 0, .25);
}
.hero-brands-card .label { font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; color: var(--blue-brand); }
.hero-brands-card img { height: 28px; width: auto; transition: transform .25s var(--ease); }
.hero-brands-card a:hover img { transform: translateY(-3px); }

/* ---------- Video ---------- */
.video-section { background: var(--green-mist); padding: 90px 0; }
.video-head { text-align: center; margin-bottom: 36px; }
.video-head .eyebrow { color: var(--green); }
.video-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; font-style: italic; color: var(--blue-brand); }
.video-head h2 em { color: var(--green); }
.video-frame {
  position: relative; max-width: 1040px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: #dfeee4; aspect-ratio: 16 / 9; box-shadow: 0 40px 70px -40px rgba(0, 73, 144, .45);
}
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-play {
  /* in basso a sinistra, nello spazio libero dell'anteprima: non copre la frase */
  position: absolute; left: 7%; bottom: 9%;
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 14px;
  border: 0; border-radius: 999px; background: var(--blue-brand); color: #fff; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; white-space: nowrap; box-shadow: 0 16px 36px -12px rgba(0, 73, 144, .7);
  transition: transform .25s var(--ease), background .25s;
}
.video-play svg { width: 44px; height: 44px; padding: 10px 9px 10px 11px; border-radius: 50%; background: var(--green); }
.video-play:hover { transform: scale(1.05); background: var(--blue); }
.video-frame.playing .video-play { opacity: 0; pointer-events: none; }

/* ---------- About ---------- */
.about { background: var(--green); color: #fff; position: relative; overflow: hidden; }
.about::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: -380px; top: -520px;
  border-radius: 50%; background: var(--green-bright); opacity: .55;
}
.about-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; padding-top: 110px; }
.about-copy { padding-bottom: 110px; max-width: 640px; }
.about h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.25; margin-bottom: 1.4rem; }
.about p { font-size: 1.12rem; font-weight: 500; color: #fff; }
.about em { font-style: italic; font-weight: 800; color: var(--blue-brand); }
.about-visual img { width: 100%; max-width: 440px; margin-left: auto; }
.stats { background: var(--green-strip); color: var(--green); position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat img { width: 76px; height: 76px; flex: none; }
.stat strong { display: block; font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 800; line-height: 1.05; white-space: nowrap; }
.stat span { display: block; font-style: italic; font-weight: 700; font-size: .92rem; color: var(--green-dark); line-height: 1.3; }

/* ---------- Pillars (Insight / Activation) ---------- */
.pillar { position: relative; overflow: hidden; padding: 110px 0 90px; }
.pillar-insight { background: var(--blue-pale); color: var(--blue-brand); }
.pillar-activation { background: var(--green-pale); color: var(--green-ink); }
.pillar::before {
  content: ""; position: absolute; width: 44px; height: 110px; left: max(8px, calc(50% - 650px)); top: 104px;
  background-image: radial-gradient(circle, currentColor 4px, transparent 4.5px); background-size: 22px 22px; opacity: .6;
}
.pillar-insight::before { color: var(--blue-brand); }
.pillar-activation::before { color: var(--green); }
.pillar-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.pillar-title { font-size: clamp(3rem, 6.5vw, 5.4rem); font-weight: 800; font-style: italic; letter-spacing: -.02em; display: flex; align-items: center; gap: 28px; margin-bottom: 24px; }
.pillar-insight .pillar-title { color: var(--blue-sky); }
.pillar-activation .pillar-title { color: var(--green); }
.arrow { display: inline-block; flex: 1; max-width: 300px; height: 3px; background: currentColor; position: relative; }
.pillar-insight .arrow { color: var(--blue-brand); }
.pillar-activation .arrow { color: var(--green); }
.arrow::after {
  content: ""; position: absolute; right: -1px; top: 50%; width: 16px; height: 16px;
  border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: translateY(-50%) rotate(45deg);
}
.pillar-text { font-size: 1.12rem; max-width: 36em; margin-bottom: 44px; }
.pillar-text strong { font-weight: 800; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 14px; font-style: italic; font-weight: 600; font-size: .98rem; line-height: 1.3; }
.tile-icon {
  width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 26px; display: grid; place-items: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.tile-icon img { width: 56%; height: 56%; object-fit: contain; }
.pillar-insight .tile-icon { background: #d4e6f5; box-shadow: 0 14px 28px -14px rgba(0, 66, 137, .35), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.pillar-activation .tile-icon { background: #b7e3ca; box-shadow: 0 14px 28px -14px rgba(20, 107, 52, .4), inset 0 0 0 1px rgba(255, 255, 255, .6); }
.tile:hover .tile-icon { transform: translateY(-6px) rotate(-3deg); }
.pillar-side { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pillar-logo { width: 100%; max-width: 440px; }
.brand-pill {
  background: #fff; border-radius: 16px; padding: 14px 20px; box-shadow: var(--shadow); width: 100%; max-width: 480px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand-pill img { height: 34px; width: auto; max-width: 25%; object-fit: contain; }
.pillar-figure { width: 100%; max-width: 420px; margin-top: 10px; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* ---------- MKnetwork ---------- */
/* sfumatura della fascia MKnetwork della brochure: prugna a sinistra, chiaro dove stanno le tessere */
.network { background: linear-gradient(100deg, var(--purple-net) 0%, #b5638e 32%, #ead0de 55%, #f8f0f4 100%); padding: 90px 0; color: var(--purple-net); }
.network-inner { display: grid; grid-template-columns: .9fr 1.6fr; gap: 48px; align-items: center; }
.network-head h2 img { width: 100%; max-width: 330px; filter: brightness(0) invert(1); }
.network-head p { color: #fff; font-weight: 600; font-size: 1.05rem; margin-top: 18px; max-width: 24em; }
/* stesse tessere di Insight e Activation, nei colori MKnetwork */
.network-tiles { color: var(--purple-net); }
.network-tiles .tile-icon { background: #fff; box-shadow: 0 14px 28px -14px rgba(153, 32, 110, .55), inset 0 0 0 1px rgba(153, 32, 110, .12); }

/* ---------- GAIA ---------- */
.gaia { background: var(--green-mist); position: relative; overflow: hidden; padding: 110px 0 80px; }
.gaia::before {
  content: ""; position: absolute; right: -220px; top: -260px; width: 900px; height: 820px;
  background: #fff; border-radius: 48% 52% 40% 60% / 55% 45% 55% 45%;
}
.gaia-inner { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.gaia-logo { width: 100%; max-width: 420px; margin-bottom: 26px; }
.gaia h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 800; font-style: italic; color: var(--gaia-blue); letter-spacing: -.01em; }
.gaia h2 span { color: var(--gaia-green); }
.arrow-green { color: var(--gaia-teal); max-width: 260px; width: 260px; margin: 28px 0 30px; }
.gaia p { font-size: 1.08rem; color: #234a66; max-width: 38em; }
.gaia p strong { color: var(--gaia-teal); font-weight: 700; }
.gaia-visual img { width: 100%; max-width: 320px; margin: 0 auto; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 30px rgba(8, 83, 135, .18)); }
.products { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 64px; padding-top: 44px; border-top: 2px dashed rgba(10, 122, 125, .22); }
.products li img { height: 54px; width: auto; transition: transform .3s var(--ease); }
.products li:nth-child(2) img { height: 92px; }
.products li:hover img { transform: scale(1.06); }

/* ---------- Partners ---------- */
.partners { padding: 72px 0; background: #fff; text-align: center; }
.partner-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.partner-row li { flex: 1 1 150px; display: flex; justify-content: center; }
.partner-row img { max-height: 70px; width: auto; max-width: 220px; transition: transform .3s var(--ease); }
.partner-row img:hover { transform: scale(1.05); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--green); padding: 110px 0; }
.contact::before {
  content: ""; position: absolute; left: -10%; bottom: -30%; width: 75%; height: 90%;
  background: var(--green-bright); border-radius: 0 60% 0 0 / 0 70% 0 0;
}
.contact::after {
  content: ""; position: absolute; right: -140px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
  background: rgba(255, 255, 255, .3);
}
.contact-inner { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info { color: #fff; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; font-style: italic; margin-bottom: 20px; }
.contact-info h2 em { color: var(--blue-brand); }
.contact-info p { font-weight: 500; font-size: 1.08rem; max-width: 28em; color: #fff; }
.contact-info address { font-size: 1.15rem; font-weight: 500; margin: 30px 0 18px; line-height: 1.5; color: #fff; }
.contact-info address strong { font-size: 1.3rem; }
.contact-links li { margin-bottom: 8px; }
.contact-links a { color: #fff; font-weight: 700; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, .4); }
.contact-links a:hover { border-color: var(--blue-brand); color: var(--blue-brand); }
.site-pill { display: inline-block; margin-top: 26px; background: var(--blue-brand); color: #fff; font-weight: 700; padding: 10px 22px; border-radius: 999px; }

.contact-form { background: #fff; border-radius: 28px; padding: 36px; box-shadow: 0 30px 60px -30px rgba(0, 60, 25, .55); }
.contact-form h3 { font-size: 1.4rem; font-weight: 800; font-style: italic; color: var(--blue-brand); margin-bottom: 22px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.contact-form input:not([type="checkbox"]), .contact-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: .95rem; font-weight: 500;
  border: 2px solid #dfe6f5; border-radius: 12px; background: #f7f9fe; color: var(--ink); transition: border-color .2s, background .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue-brand); background: #fff; }
.contact-form .invalid { border-color: #e0245e !important; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .8rem; line-height: 1.45; color: #3d4a70; }
.contact-form .check input { margin-top: 2px; width: 18px; height: 18px; flex: none; accent-color: var(--blue-brand); }
.contact-form .check.invalid span { color: #e0245e; }
.contact-form .check a { color: var(--blue-brand); font-weight: 700; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { margin-top: 8px; width: 100%; }
.contact-form button[disabled] { opacity: .6; cursor: wait; transform: none; }
.form-status { margin: 14px 0 0; font-weight: 600; font-size: .92rem; min-height: 1.4em; }
.form-status.ok { color: var(--green); }
.form-status.err { color: #e0245e; }

/* ---------- Footer ---------- */
.site-footer { background: #003366; color: rgba(255, 255, 255, .72); padding: 64px 0 30px; font-size: .88rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer-brand { display: flex; flex-direction: column; gap: 22px; }
/* loghi in versione monocromatica bianca sul blu */
.footer-brand img { filter: brightness(0) invert(1); }
.footer-network { display: flex; gap: 26px; align-items: center; }
.footer-network img { height: 20px; width: auto; opacity: .7; transition: opacity .2s; }
.footer-network img:hover { opacity: 1; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--green-bright); }
.legal { padding-top: 22px; font-size: .78rem; }
.legal p { margin: 0 0 6px; }

/* ---------- Reveal animations ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > *:nth-child(2) { animation-delay: .15s; }
.hero-copy > *:nth-child(3) { animation-delay: .3s; }
.hero-visual img { animation: fadein 1.2s var(--ease) both .1s; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes fadein { from { opacity: 0; transform: translateX(30px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .nav a:not(.btn) { font-size: .86rem; }
  .tiles { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .network-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 24px 26px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .3);
    transform: translateY(-110%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid #eef1f8; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; height: auto; max-height: none; }
  .hero-copy { padding-bottom: 24px; }
  .hero-wave { display: none; }
  .hero-match { background: #93d8b1; margin: -56px -24px 0; padding: 48px 24px 28px; border-radius: 0 0 160px 0; }
  .hero-copy { padding: 56px 0 24px; }
  .hero-brands { position: relative; }
  .hero-brands-card { margin: 0 -24px; border-radius: 40px 40px 0 0; width: calc(100% + 48px); justify-content: center; padding: 22px 24px; gap: 20px; }
  .hero-brands-card .label { width: 100%; text-align: center; }
  .hero-brands-card img { height: 20px; }
  .brand-pill img { height: 26px; }

  .video-section { padding: 56px 0; }
  .video-head { text-align: left; margin-bottom: 22px; }
  .video-frame { border-radius: 18px; }
  /* su mobile solo il cerchio, per non coprire il video */
  .video-play { padding: 6px; background: rgba(0, 73, 144, .9); }
  .video-play span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .video-play { left: 5%; bottom: 7%; }
  .video-play svg { width: 46px; height: 46px; padding: 12px 10px 12px 14px; }
  .about-inner { grid-template-columns: 1fr; padding-top: 72px; }
  .about-copy { padding-bottom: 10px; }
  .about-visual img { max-width: 360px; margin: 0 auto; }

  .pillar { padding: 72px 0 64px; }
  .pillar-inner { grid-template-columns: 1fr; gap: 40px; }
  .pillar-side { order: -1; }
  .pillar-figure { max-width: 320px; }
  .pillar::before { display: none; }

  .gaia { padding: 72px 0 60px; }
  .gaia-inner { grid-template-columns: 1fr; }
  .gaia-visual img { max-width: 240px; }
  .products { justify-content: center; }

  .contact { padding: 72px 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .hero-brands-card { margin: 0 -16px; width: calc(100% + 32px); }
  .hero-match { margin: -56px -16px 0; padding: 44px 16px 24px; }
  .stats-grid { grid-template-columns: 1fr; gap: 18px; }
  .stat img { width: 60px; height: 60px; }
  .tiles { gap: 16px; }
  .tile { font-size: .9rem; }
  .products { gap: 24px 36px; }
  .products li img { height: 44px; }
  .products li:nth-child(2) img { height: 66px; }
  .partner-row { gap: 28px; }
  .partner-row li { flex-basis: 40%; }
  .partner-row img { max-height: 54px; }
  .contact-form { padding: 24px 18px; border-radius: 22px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
  .footer-network { gap: 16px; flex-wrap: wrap; }
  .footer-network img { height: 16px; }
}

/* ---------- Mobile: allineamento unico sul margine sinistro ---------- */
@media (max-width: 920px) {
  /* apertura: titolo, sottotitolo e testo partono dallo stesso margine */
  .hero h1 { gap: 22px; }
  .hero-match .indent, .hero-sub { padding-left: 0; }
  .hero-lead { margin: 22px 0 26px; }
  /* foto a tutta larghezza che sfuma nel verde, niente riquadro */
  .hero-visual { position: relative; height: auto; margin: 8px -24px 0; }
  .hero-visual img {
    position: static; width: 100%; height: auto; transform: none; animation: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
  .hero-brands-card {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center;
    gap: 14px 12px; margin: -1px -24px 0; width: calc(100% + 48px); height: auto; padding: 22px 24px; border-radius: 32px 32px 0 0;
  }
  .hero-brands-card .label { grid-column: 1 / -1; text-align: left; }
  .hero-brands-card img { height: 18px; }

  .eyebrow, .about .eyebrow { letter-spacing: .14em; font-size: .68rem; }
  .about-copy, .pillar-copy, .gaia-copy, .contact-info { min-width: 0; }
  .about-visual img { max-width: 320px; margin: 0 auto; }

  /* icone: stessa misura, centrate nella colonna, testo centrato sotto */
  .tiles { max-width: none; grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .tile { align-items: center; text-align: center; gap: 12px; }
  .tile-icon { width: 104px; max-width: none; flex: none; }
  .tile-icon img { width: 54px; height: 54px; }
  .stat img { width: 60px; height: 60px; }

  .products { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; align-items: center; justify-items: start; }
  .products li img { height: 44px; }
  .products li:nth-child(2) img { height: 70px; }

  .partners { text-align: left; }
  .partner-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; justify-items: start; }
  .partner-row li { justify-content: flex-start; }
  .partner-row li { width: 100%; }
  .partner-row img { width: auto; max-width: 100%; height: 48px; object-fit: contain; object-position: left center; }
  .partner-row li:first-child img { width: 100%; max-width: 170px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 28px; }
  .footer-nav { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 12px 28px; }
  .legal { padding-top: 20px; }
}
@media (max-width: 560px) {
  .hero-visual { margin: 8px -16px 0; }
  .hero-brands-card { margin: -1px -16px 0; width: calc(100% + 32px); padding: 20px 16px; }
  .hero-brands-card img { height: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

@media (max-width: 920px) {
  /* su mobile la sfumatura scende dall'alto: prugna dietro logo e testo, chiaro dietro le tessere */
  .network { background: linear-gradient(180deg, var(--purple-net) 0%, #b0598a 30%, #e6c7d8 48%, #f8f0f4 62%, #f8f0f4 100%); }
}
