/* =====================================================================
   Grow.80 - Foglio di stile principale
   Palette derivata dal logo: rosa #E9498D e albicocca #F6C06A su indaco #14162B.
   Font self-hosted: Outfit (titoli) e Montserrat (testo).
   ===================================================================== */

@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2-variations"), url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var.woff2") format("woff2-variations"), url("../fonts/montserrat-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #14162B;
  --ink-2: #1B1E3A;
  --ink-3: #262A4F;
  --paper: #FFFFFF;
  --paper-2: #F4F5FA;
  --paper-3: #EBEDF6;
  --text: #2A2D48;
  --muted: #666A8A;
  --line: #E1E3EE;
  --pink: #E9498D;
  --pink-deep: #CF2F75;
  --coral: #EE7C79;
  --apricot: #F6C06A;
  --grad: linear-gradient(120deg, #E9498D 0%, #EE7C79 55%, #F6C06A 100%);
  --grad-soft: linear-gradient(120deg, rgba(233,73,141,.14), rgba(246,192,106,.14));
  --font-head: "Outfit", "Segoe UI", Arial, sans-serif;
  --font-body: "Montserrat", "Segoe UI", Arial, sans-serif;
  --r-xl: 28px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur: .7s;
  --shadow: 0 20px 50px -24px rgba(20, 22, 43, .35);
  --shadow-sm: 0 8px 24px -14px rgba(20, 22, 43, .25);
  --header-h: 78px;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
/* Nessuno scorrimento orizzontale: clip non crea un contenitore di scorrimento, quindi gli elementi sticky continuano a funzionare */
@supports (overflow: clip) { html { overflow-x: clip; } }
img, svg, picture { max-width: 100%; display: block; }
video, iframe, select, textarea, input, table { max-width: 100%; }
/* Le celle delle griglie non possono allargarsi oltre la colonna (immagini, testi lunghi, select) */
.post-grid > *, .services > *, .steps > *, .people > *, .bento > *, .form-row > *, .footer-cols > *, .hero-grid > *, .story-grid > *, .highlight-grid > *, .audience-grid > *, .contact-split > *, .contact-layout > *, .video-grid > *, .related-card > *, .mega-grid > *, .post-layout > * { min-width: 0; }
.prose, .prose-dark, .post-card-body, .summary-box, .faq-item, .footer-note, .contact-side { overflow-wrap: anywhere; }
a { color: var(--pink-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: calc(880px + var(--gutter) * 2); }
.container.narrow-wide { max-width: calc(1120px + var(--gutter) * 2); }

/* ---------------------------------------------------------- Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1;
  border: 1.5px solid transparent; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity .35s; }
.btn-primary:hover::after, .btn-primary:focus-visible::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); }
.btn-sm { padding: 11px 20px; font-size: 15px; }
.text-link { font-weight: 600; color: var(--ink); position: relative; display: inline-block; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--grad); transform: scaleX(.35); transform-origin: left; transition: transform .4s var(--ease); }
.text-link:hover { text-decoration: none; }
.text-link:hover::after { transform: scaleX(1); }
.link-button { background: none; border: 0; color: inherit; padding: 0; font: inherit; cursor: pointer; }
.link-button:hover { text-decoration: underline; }

/* ------------------------------------------------------------- Icone */
.ic { width: 28px; height: 28px; flex: none; color: currentColor; }
.ic-sm { width: 20px; height: 20px; }

/* ------------------------------------------------------------ Header */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s;
}
.site-header.is-scrolled { background: rgba(255,255,255,.82); border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20,22,43,.3); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand-logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-list > li { position: relative; }
.nav-list > li.has-menu { position: static; }
.nav-list > li > a, .nav-toggle-menu {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 15px; background: none; border: 0; transition: background .3s;
}
.nav-list > li > a:hover, .nav-toggle-menu:hover, .nav-list > li > a[aria-current="page"], .nav-toggle-menu[data-current="true"] { background: var(--paper-2); text-decoration: none; }
.nav-toggle-menu .ic { transition: transform .35s var(--ease); }
.nav-toggle-menu[aria-expanded="true"] .ic { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 10px) scale(.98);
  width: min(980px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: 18px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.has-menu.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mega-item { padding: 6px; border-radius: var(--r-md); }
.mega-link { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: var(--r-md); color: var(--ink); transition: background .3s; }
.mega-link:hover, .mega-link[aria-current="page"] { background: var(--paper-2); text-decoration: none; }
.mega-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; color: var(--ink); flex: none; }
.mega-text { display: flex; flex-direction: column; line-height: 1.35; }
.mega-text strong { font-family: var(--font-head); font-size: 16px; }
.mega-text span:not(strong) { font-size: 13px; color: var(--muted); }
.mega-sub { display: flex; align-items: center; gap: 8px; margin: 2px 0 0 12px; padding: 8px 12px 8px 44px; font-size: 13px; color: var(--muted); border-radius: 10px; position: relative; }
.mega-sub .ic { position: absolute; left: 14px; width: 18px; height: 18px; }
.mega-sub:hover, .mega-sub[aria-current="page"] { color: var(--ink); background: var(--paper-2); text-decoration: none; }
.nav-burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }
.nav-burger .ic-close { display: none; }
body.nav-open .nav-burger .ic-open { display: none; }
body.nav-open .nav-burger .ic-close { display: block; }

/* -------------------------------------------------------------- Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 40px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; animation: drift 18s var(--ease) infinite alternate; }
.orb-1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(233,73,141,.55), rgba(233,73,141,0) 70%); }
.orb-2 { width: 460px; height: 460px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(246,192,106,.55), rgba(246,192,106,0) 70%); animation-delay: -6s; animation-duration: 22s; }
.orb-3 { width: 320px; height: 320px; left: 40%; top: 55%; background: radial-gradient(circle, rgba(238,124,121,.35), rgba(238,124,121,0) 70%); animation-delay: -12s; }
@keyframes drift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.08); } }
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero-home { min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; padding: 40px 0; }
.hero-home .hero-grid { width: 100%; }
.hero-tagline { font-family: var(--font-body); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; color: var(--muted); margin-bottom: 18px; }
.hero-title { font-size: clamp(38px, 5vw, 72px); font-weight: 800; max-width: 14ch; margin-bottom: 22px; }
.hero-title.small { font-size: clamp(32px, 4vw, 52px); max-width: 22ch; }
.hero-lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 56ch; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-parent { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.hero-parent a { color: var(--ink); font-weight: 600; }

/* Monogramma animato nella home */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.mono-stage { position: relative; width: min(100%, 460px); aspect-ratio: 1; display: grid; place-items: center; }
.mono-img { width: 74%; height: auto; filter: drop-shadow(0 30px 40px rgba(233,73,141,.22)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.mono-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(20,22,43,.08); }
.mono-ring.r1 { inset: 4%; animation: spin 40s linear infinite; border-style: dashed; }
.mono-ring.r2 { inset: 16%; animation: spin 60s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.mono-spark { position: absolute; width: 44px; height: 44px; color: var(--ink); animation: twinkle 3.6s ease-in-out infinite; }
.mono-spark .ic { width: 100%; height: 100%; }
.mono-spark.s1 { top: 8%; right: 14%; }
.mono-spark.s2 { bottom: 12%; left: 10%; width: 30px; height: 30px; animation-delay: -1.8s; }
@keyframes twinkle { 0%, 100% { transform: scale(.8) rotate(0); opacity: .6; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

/* Sequenza di ingresso: una sola orchestrazione al caricamento (solo con JS attivo) */
.js .hero-copy > * { opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) forwards; }
.js .hero-visual { opacity: 0; transform: scale(.9); animation: pop 1.1s var(--ease) .2s forwards; }
.js .hero-copy > :nth-child(1) { animation-delay: .05s; }
.js .hero-copy > :nth-child(2) { animation-delay: .15s; }
.js .hero-copy > :nth-child(3) { animation-delay: .27s; }
.js .hero-copy > :nth-child(4) { animation-delay: .38s; }
.js .hero-copy > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes pop { to { opacity: 1; transform: none; } }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; padding: 16px 0; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------- Sezioni */
.section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.section-soft { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #C9CCE0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 820px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-title { font-size: clamp(30px, 3.4vw, 50px); margin-bottom: 14px; }
.section-intro { font-size: 18px; color: var(--muted); max-width: 62ch; }
.section-dark .section-intro { color: #B3B7D1; }
.prose-dark p { font-size: 17.5px; line-height: 1.8; }

/* Bento dei progetti */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(230px, auto); gap: 18px;
  grid-template-areas: "webkey webkey realestate finlight" "broadweb shop realestate finlight" "chareighty chareighty chareighty chareighty"; }
.bento-item { position: relative; border-radius: var(--r-xl); background: var(--paper-2); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s; }
.bento-item::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .5s; pointer-events: none; }
.bento-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.bento-item:hover::before { opacity: 1; }
.bento-item.is-webkey { grid-area: webkey; } .bento-item.is-realestate { grid-area: realestate; } .bento-item.is-broadweb { grid-area: broadweb; } .bento-item.is-shop { grid-area: shop; } .bento-item.is-finlight { grid-area: finlight; } .bento-item.is-chareighty { grid-area: chareighty; }
.bento-main { display: flex; flex-direction: column; gap: 10px; padding: 26px; color: var(--ink); flex: 1; position: relative; }
.bento-main:hover { text-decoration: none; }
.bento-icon { width: 52px; height: 52px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); margin-bottom: 4px; transition: transform .5s var(--ease); }
.bento-item:hover .bento-icon { transform: rotate(-6deg) scale(1.06); }
.bento-logo { height: 30px; width: auto; }
.bento-short { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin: 4px 0 0; color: var(--ink); }
.bento-tagline { color: var(--muted); font-size: 15px; margin: 0; max-width: 46ch; }
.bento-arrow { position: absolute; top: 22px; right: 22px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; transition: transform .5s var(--ease), background .3s, color .3s; }
.bento-item:hover .bento-arrow { background: var(--ink); color: #fff; transform: translate(3px, -3px); }
.bento-child { display: flex; align-items: center; gap: 12px; margin: 0 14px 14px; padding: 12px 14px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); color: var(--text); font-size: 14px; transition: border-color .3s, transform .4s var(--ease); }
.bento-child:hover { text-decoration: none; border-color: var(--pink); transform: translateX(3px); }
.bento-child strong { font-family: var(--font-head); color: var(--ink); margin-right: 4px; }
.bento-child-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--grad-soft); display: grid; place-items: center; color: var(--ink); flex: none; }
.bento-item.wide .bento-main { padding: 30px; }
.bento-item.wide .bento-tagline { font-size: 16px; }
.bento-item.is-chareighty { background: var(--ink); border-color: var(--ink); }
.bento-item.is-chareighty .bento-main { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.bento-item.is-chareighty .bento-icon { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; margin: 0; }
.bento-item.is-chareighty .bento-short, .bento-item.is-chareighty .bento-tagline { color: #fff; margin: 0; }
.bento-item.is-chareighty .bento-tagline { color: #B3B7D1; }
.bento-item.is-chareighty .bento-arrow { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.bento-item.is-chareighty:hover .bento-arrow { background: #fff; color: var(--ink); }

/* Storia con pannello fisso */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.story-sticky { position: sticky; top: calc(var(--header-h) + 40px); }
.story-visual { position: relative; width: min(100%, 420px); aspect-ratio: 1; display: grid; place-items: center; margin: 24px 0; }
.story-mono { width: 44%; height: auto; color: #fff; opacity: .9; filter: drop-shadow(0 20px 40px rgba(233,73,141,.35)); transition: transform 1s var(--ease); }
.story-dots { position: absolute; inset: 0; animation: spin 90s linear infinite; }
.story-dot { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; transform: rotate(calc(var(--i) * 45deg)) translateX(190px) rotate(calc(var(--i) * -45deg)); transition: background .5s, border-color .5s; }
.story.stage-1 .story-dot { background: rgba(233,73,141,.25); border-color: rgba(233,73,141,.5); }
.story.stage-2 .story-dot { background: rgba(246,192,106,.25); border-color: rgba(246,192,106,.6); }
.story.stage-1 .story-mono { transform: scale(1.08) rotate(-4deg); }
.story.stage-2 .story-mono { transform: scale(1.15) rotate(4deg); }
.story-progress { display: flex; gap: 8px; list-style: none; }
.story-progress li { width: 34px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.14); transition: background .4s, width .4s var(--ease); }
.story-progress li.is-active { background: var(--grad); width: 56px; }
.story-stages { display: flex; flex-direction: column; }
.story-stage { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; opacity: .28; transform: translateY(12px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.story-stage.is-active { opacity: 1; transform: none; }
.story-stage h3 { font-size: clamp(24px, 2.6vw, 34px); }
.story-stage p { font-size: 18px; line-height: 1.8; max-width: 52ch; }

/* Passaggi (sequenza reale) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.step { padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); position: relative; }
.step-num { display: inline-block; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.step h3 { font-size: 21px; }
.step p { font-size: 15.5px; color: var(--muted); margin: 0; }

/* Persone */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { padding: 30px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.person h3 { font-size: 22px; margin-bottom: 4px; }
.person-role { color: var(--pink-deep); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.person p:not(.person-role) { font-size: 15.5px; color: var(--muted); }
.person-avatar { width: 64px; height: 64px; border-radius: 20px; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 28px; margin-bottom: 18px; }
.person-avatar.large { width: 96px; height: 96px; font-size: 40px; border-radius: 28px; margin: 0; flex: none; }
.person-card { display: flex; gap: 28px; align-items: flex-start; padding: 34px; border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); }
.person-card h2 { font-size: 26px; margin-bottom: 4px; }
.person-langs { font-size: 14px; color: var(--muted); margin: 0; }

/* Blog cards */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h3 { font-size: 20px; margin: 4px 0 0; }
.post-card h3 a { color: var(--ink); }
.post-card p { font-size: 15px; color: var(--muted); margin: 0; }
.post-meta { font-size: 13.5px; color: var(--muted); margin-top: auto; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); font-size: 13px; font-weight: 600; width: fit-content; transition: border-color .3s, background .3s; }
.tag:hover, .tag.is-active { text-decoration: none; border-color: var(--pink); background: var(--grad-soft); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #C9CCE0; padding: clamp(40px, 6vw, 72px); }
.cta-content { position: relative; z-index: 1; max-width: 640px; }
.cta-content h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.cta-content p { font-size: 18px; margin-bottom: 26px; }
.cta-orbs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .7; }
.cta-orbs span:nth-child(1) { width: 380px; height: 380px; right: -80px; top: -140px; background: rgba(233,73,141,.55); animation: drift 16s ease-in-out infinite alternate; }
.cta-orbs span:nth-child(2) { width: 300px; height: 300px; right: 220px; bottom: -180px; background: rgba(246,192,106,.5); animation: drift 20s ease-in-out infinite alternate-reverse; }

/* ----------------------------------------------------- Pagine ramo */
.hero-brand { padding: 24px 0 56px; }
.hero-brand .hero-grid { margin-top: 24px; }
.breadcrumb { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { color: var(--ink); font-weight: 600; }
.brand-mark { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.brand-mark-icon { width: 54px; height: 54px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); box-shadow: var(--shadow-sm); }
.brand-wordmark { height: 40px; width: auto; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.hero-media { position: relative; }
.media-frame { border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); aspect-ratio: 5/4; }
.media-frame.wide { aspect-ratio: 2/1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.summary { padding-top: 0; }
.summary-box { padding: 34px 38px; border-radius: var(--r-xl); background: var(--paper-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.summary-box::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: var(--grad); }
.summary-box h2 { font-size: 22px; margin-bottom: 10px; }
.summary-text, .summary-text p { font-size: 17px; line-height: 1.8; margin: 0; }
.summary-text p + p { margin-top: 1em; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.services.four { grid-template-columns: repeat(4, 1fr); }
.services.three { grid-template-columns: repeat(3, 1fr); }
/* Un settimo servizio occupa tutta la riga: diventa la scheda in evidenza */
.services > .service:last-child:nth-child(3n + 1) { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 24px; align-items: start; background: var(--ink); color: #C9CCE0; border-color: var(--ink); }
.services > .service:last-child:nth-child(3n + 1) .service-icon { grid-row: 1 / 3; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.services > .service:last-child:nth-child(3n + 1) h3 { color: #fff; }
.services > .service:last-child:nth-child(3n + 1) p { color: #C9CCE0; max-width: 78ch; }
.services > .service:last-child:nth-child(3n + 1) .text-link { color: #fff; grid-column: 2; justify-self: start; }
.service { padding: 28px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.service-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--grad-soft); display: grid; place-items: center; color: var(--ink); margin-bottom: 6px; }
.service-icon.small { width: 46px; height: 46px; border-radius: 13px; margin: 0; flex: none; }
.service h3 { font-size: 20px; margin: 0; }
.service p { font-size: 15.5px; color: var(--muted); margin: 0; }
.section-soft .service, .section-soft .person, .section-soft .step { background: #fff; }
.section .service { background: var(--paper-2); }
.section-soft .service { background: #fff; }
.audience-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.audience { list-style: none; display: grid; gap: 12px; }
.audience li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); font-size: 16px; }
.audience-spark { color: var(--ink); flex: none; margin-top: 2px; }
.highlight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.highlight-copy h2 { font-size: clamp(28px, 3.2vw, 40px); }
.highlight-copy p { font-size: 17.5px; line-height: 1.8; }
.related-card { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px; border-radius: var(--r-xl); background: var(--ink); color: #C9CCE0; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.related-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow); }
.related-icon { width: 84px; height: 84px; border-radius: 24px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #fff; }
.related-icon .ic { width: 40px; height: 40px; }
.related-copy h2 { color: #fff; font-size: 26px; margin: 10px 0 8px; }
.related-copy p { margin-bottom: 12px; }
.related-copy .text-link { color: #fff; }
.related-grid { display: grid; gap: 20px; }
.related-grid.is-multi { grid-template-columns: 1fr 1fr; }
.related-grid.is-multi .related-card { grid-template-columns: 1fr; align-content: start; gap: 18px; }
.related-grid.is-multi .related-copy h2 { font-size: 23px; }
.related-grid > * { min-width: 0; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: 17.5px; margin: 0; font-weight: 600; }
.faq-icon { position: relative; width: 26px; height: 26px; border-radius: 50%; background: var(--paper-2); flex: none; transition: transform .45s var(--ease), background .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--ink); left: 50%; top: 50%; transform: translate(-50%, -50%); width: 12px; height: 2px; border-radius: 2px; transition: transform .45s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(180deg); background: var(--grad-soft); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Contatti */
.section-contact { background: var(--paper-2); }
.contact-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.contact-intro h2 { font-size: clamp(28px, 3.2vw, 40px); }
.contact-intro p { color: var(--muted); font-size: 17px; }
.contact-alt a { font-weight: 600; }
.hero-contact { padding-bottom: 72px; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 5vw, 80px); margin-top: 20px; align-items: start; }
.contact-info { display: grid; gap: 18px; margin-top: 28px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-item h2 { font-size: 17px; margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; color: var(--muted); margin: 0; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); padding: 34px; box-shadow: var(--shadow-sm); }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 14px; color: var(--ink); }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15.5px; padding: 13px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--paper-2); color: var(--ink); width: 100%;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(233,73,141,.14); }
.field textarea { resize: vertical; min-height: 150px; }
.field.has-error input, .field.has-error textarea { border-color: var(--pink-deep); }
.field-error { font-size: 13px; color: var(--pink-deep); margin: 0; }
.field-check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.field-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pink); flex: none; }
.form-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.form-help { font-size: 13px; color: var(--muted); margin: 0; max-width: 40ch; }
.form-notice { padding: 16px 20px; border-radius: var(--r-md); background: var(--paper-2); border: 1px solid var(--line); font-size: 15px; margin-bottom: 18px; }
.form-notice.success { background: #EEF9F1; border-color: #BFE6CB; color: #1E5A32; }
.form-notice.error { background: #FCEEF3; border-color: #F3C4D6; color: #8A1F4E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form.is-sending { opacity: .6; pointer-events: none; }

/* Legale e blog */
.hero-legal { padding: 24px 0 24px; }
.hero-blog { padding-bottom: 40px; }
.blog-tools { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.blog-search { display: flex; gap: 8px; }
.blog-search input { font: inherit; font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; min-width: 240px; }
.blog-search input:focus { outline: none; border-color: var(--pink); }
.empty { padding: 40px; border-radius: var(--r-lg); background: var(--paper-2); text-align: center; }
.prose { font-size: 17.5px; line-height: 1.85; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); margin-top: 1.6em; }
.prose h3 { font-size: 23px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 20px 26px; border-radius: var(--r-md); background: var(--paper-2); border-left: 4px solid var(--pink); }
.prose blockquote p { margin: 0; }
.prose code { font-family: ui-monospace, monospace; font-size: .9em; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.prose figure { margin: 2em 0; }
.prose figure img { border-radius: var(--r-lg); }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.legal-date { font-size: 14px; color: var(--muted); margin-top: 3em; }
.post-header { padding: 24px 0 0; }
.post-header .tag { margin-bottom: 14px; }
.post-cover { margin-top: 32px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 820px); gap: 64px; justify-content: center; padding: 56px var(--gutter) 24px; }
.post-layout.has-toc { grid-template-columns: 260px minmax(0, 800px); justify-content: center; }
.post-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: 14px; }
.post-toc-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.post-toc ol { list-style: none; display: grid; gap: 8px; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 2px 0 2px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; transition: color .3s, border-color .3s; }
.post-toc a:hover, .post-toc a.is-active { color: var(--ink); border-left-color: var(--pink); text-decoration: none; }

/* ------------------------------------------------------------ Footer */
.site-footer { background: var(--ink); color: #B3B7D1; padding: 72px 0 32px; margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.1fr 2fr; gap: clamp(40px, 6vw, 96px); padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand img:first-child { width: 56px; height: auto; margin-bottom: 18px; }
.footer-wordmark { width: 200px; height: auto; margin-bottom: 12px; }
.footer-tagline { letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: #8E92B0; }
.footer-note { font-size: 14px; max-width: 46ch; line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-title { font-size: 15px; color: #fff; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col ul { list-style: none; display: grid; gap: 8px; font-size: 15px; }
.footer-col li.sub { padding-left: 14px; font-size: 14px; }
.footer-col a { color: #C9CCE0; }
.footer-col a:hover { color: #fff; }
.footer-social { margin-top: 16px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; gap: 18px; }
.footer-legal a, .footer-legal button { color: #C9CCE0; font-size: 13.5px; }

/* ------------------------------------------------------------- Video */
.section-video { padding-top: 0; }
.section-video.is-compact { padding: clamp(40px, 5vw, 72px) 0 0; }
.video-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(32px, 4vw, 64px); align-items: center; padding: clamp(28px, 3.5vw, 48px); border-radius: var(--r-xl); background: var(--ink); color: #C9CCE0; position: relative; overflow: hidden; }
.video-grid::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(233,73,141,.35), rgba(233,73,141,0) 70%); filter: blur(30px); pointer-events: none; }
.video-grid::after { content: ""; position: absolute; width: 420px; height: 420px; left: -140px; bottom: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(246,192,106,.28), rgba(246,192,106,0) 70%); filter: blur(30px); pointer-events: none; }
.video-copy { position: relative; z-index: 1; }
.video-copy .section-title { color: #fff; font-size: clamp(28px, 3.2vw, 42px); }
.video-copy .section-intro { color: #B3B7D1; margin-bottom: 26px; }
.eyebrow-label { font-family: var(--font-body); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 12.5px; color: #9CA1C6; margin-bottom: 14px; }
.video-frame { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/9; background: #0B0C1A; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); cursor: pointer; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .45s var(--ease), background .3s; }
.video-play svg { margin-left: 4px; }
.video-play-ring { position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.video-frame:hover .video-play { transform: scale(1.08); background: var(--pink); }
.video-badge { position: absolute; right: 14px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; font-size: 12.5px; font-weight: 600; font-family: var(--font-body); }
.video-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(6,7,15,.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.video-modal-box { position: relative; width: min(1280px, 100%); aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: #000; box-shadow: var(--shadow); animation: pop .6s var(--ease); }
.video-modal-box video { width: 100%; height: 100%; display: block; }
.video-modal-close { position: absolute; right: 12px; top: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.video-modal-close:hover { background: var(--pink); }
html.is-locked { overflow: hidden; }
/* Torna in alto */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 140; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow-sm); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s, background .3s, color .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--ink); color: #fff; text-decoration: none; }
.to-top .ic { width: 22px; height: 22px; transform: rotate(180deg); }
body.nav-open .to-top, body.video-open .to-top { opacity: 0; visibility: hidden; }
.cookie-banner:not([hidden]) ~ .to-top { display: none; }

/* ----------------------------------------------------------- Cookie */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 150; display: flex; justify-content: center; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { max-width: 720px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px 26px; animation: rise .7s var(--ease); }
.cookie-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.cookie-inner p:not(.cookie-title) { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* -------------------------------------------------- Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ------------------------------------------------------- Responsive */
@media (max-width: 1080px) {
  .services, .services.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .post-layout.has-toc { grid-template-columns: minmax(0, 820px); }
  .post-toc { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .brand-logo img { height: 34px; }
  .nav-burger { display: grid; }
  /* Il menu è posizionato rispetto all'header (che con backdrop-filter è il suo contenitore): top 100% e altezza pari allo schermo meno la barra */
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 24px 24px 48px; gap: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s; }
  body.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  body.nav-open .site-header { background: #fff; border-bottom-color: var(--line); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-list > li > a, .nav-toggle-menu { width: 100%; justify-content: space-between; padding: 14px 16px; font-size: 17px; border-radius: 12px; }
  .mega, .has-menu.is-open .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; opacity: 1; visibility: visible; pointer-events: auto; transition: none; }
  .mega { display: none; }
  .has-menu.is-open .mega { display: block; }
  .mega-item { padding: 0; }
  .mega-link { padding: 12px 8px; }
  .mega-sub { margin-left: 0; }
  body.nav-open .site-header { z-index: 200; }
  body.nav-open .cookie-banner { display: none; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-cta { width: 100%; }
  .hero-grid, .story-grid, .highlight-grid, .contact-split, .contact-layout, .audience-grid, .video-grid { grid-template-columns: 1fr; }
  .video-frame { order: -1; }
  .video-play { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .hero-home { min-height: auto; padding: 48px 0 24px; }
  .hero-visual { order: -1; }
  .mono-stage { width: min(58%, 260px); margin: 0 auto; }
  .hero-title { max-width: none; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "webkey webkey" "realestate finlight" "broadweb shop" "chareighty chareighty"; }
  .story-sticky { position: static; }
  .story-visual { width: min(60%, 260px); margin: 12px auto 20px; }
  .story-dot { transform: rotate(calc(var(--i) * 45deg)) translateX(120px) rotate(calc(var(--i) * -45deg)); width: 34px; height: 34px; margin: -17px; }
  .story-stage { min-height: auto; padding: 24px 0; opacity: 1; transform: none; }
  .related-card { grid-template-columns: 1fr; }
  .related-grid.is-multi { grid-template-columns: 1fr; }
  .person-card { flex-direction: column; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; }
  .services, .services.four, .services.three, .steps, .post-grid, .form-row, .footer-cols { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "webkey" "realestate" "finlight" "broadweb" "shop" "chareighty"; }
  .bento-item.is-chareighty .bento-main { flex-direction: column; align-items: flex-start; }
  .contact-form-wrap { padding: 22px; }
  .summary-box { padding: 26px 22px; }
  .hero-actions .btn { width: 100%; }
  .marquee-track { animation-duration: 24s; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
}

/* ----------------------------------------------- Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  .video-play-ring { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-copy > *, .hero-visual, [data-reveal] { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
}
