/* CRSL Digital Hub - foglio di stile
   Fondo blu-nero profondo, blu e azzurro del logo, ambra riservata alle agevolazioni.
   Mona Sans (SIL OFL): larghezza estesa per i titoli, normale per il testo.
   Quattro momenti: apertura con selettore, filosofia allo scorrimento,
   metodo in orizzontale, agevolazioni con il reticolo. */

@font-face { font-family: 'Mona Sans'; font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; src: url('../fonts/mona-sans-variable.woff2') format('woff2'); }

:root {
  --bg: #060B16;
  --bg-2: #0A1222;
  --bg-3: #101A2F;
  --line: rgba(148, 178, 230, .12);
  --line-2: rgba(148, 178, 230, .24);
  --fg: #EEF3FB;
  --fg-2: #A6B3C9;
  --fg-3: #7F8DA6;
  --cyan: #7CC6F5;
  --cyan-2: #A9DBFA;
  --blue: #3D7BEA;
  --amber: #FFB547;
  --amber-2: #FFC976;
  --ink: #04101F;
  --amber-ink: #241503;

  --font: 'Mona Sans', 'Segoe UI', system-ui, sans-serif;
  --display: clamp(44px, 8.4vw, 96px);
  --h2: clamp(34px, 4.6vw, 60px);
  --lead: clamp(18px, 1.45vw, 21px);

  --hd: 80px;
  --wrap: 1280px;
  --gut: clamp(20px, 4vw, 44px);
  --edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  --sec: clamp(72px, 8vw, 128px);
  --wide: 1560px;
  --edge-w: max(var(--gut), calc((100vw - var(--wide)) / 2 + var(--gut)));
  --inset: clamp(8px, 1.1vw, 16px);
  --r: 18px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--hd); scrollbar-color: #22314F var(--bg); }
body { margin: 0; background: var(--bg); color: var(--fg-2); font-family: var(--font); font-size: 17px; line-height: 1.6; color-scheme: dark; -webkit-font-smoothing: antialiased; }
::selection { background: var(--cyan); color: var(--ink); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #22314F; border: 3px solid var(--bg); border-radius: 8px; }
img, video, svg { display: block; max-width: 100%; }
a { color: var(--fg); text-underline-offset: .25em; text-decoration-thickness: 1px; text-decoration-color: rgba(124, 198, 245, .5); transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--cyan-2); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; color: var(--fg); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 10px 16px; background: var(--fg); color: var(--ink); border-radius: 6px; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }
.skip:hover { color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-wide { max-width: var(--wide); }
.display { font-size: var(--display); line-height: .95; letter-spacing: -.03em; font-weight: 700; font-stretch: 125%; }
.display-md { font-size: clamp(38px, 5.4vw, 76px); }
.h2 { font-size: var(--h2); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; font-stretch: 118%; }
.lead { font-size: var(--lead); line-height: 1.55; color: var(--fg); }
.link { color: var(--fg); font-size: 16px; font-weight: 500; }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--cyan); color: var(--ink); font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s var(--ease); }
.btn:hover { background: var(--cyan-2); color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-2); color: var(--amber-ink); }

/* Header: logo, voci, pulsante (impostazione originale) */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; background: rgba(6, 11, 22, .5); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.hd.is-scrolled { background: rgba(6, 11, 22, .86); border-bottom-color: var(--line); }
.hd-in { max-width: var(--wrap); height: var(--hd); margin: 0 auto; padding: 0 var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.hd-logo { flex-shrink: 0; }
.hd-logo img { height: 50px; width: auto; }
.hd-nav { display: flex; gap: 36px; }
.hd-nav a { color: var(--fg); font-size: 15.5px; font-weight: 500; text-decoration: none; padding: 10px 0; opacity: .8; transition: opacity .2s, color .2s; }
.hd-nav a:hover { opacity: 1; color: var(--cyan-2); }
.hd-burger { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; cursor: pointer; position: relative; }
.hd-burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease), top .3s var(--ease); }
.hd-burger span:first-child { top: 17px; }
.hd-burger span:last-child { top: 25px; }
.menu-open .hd-burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .hd-burger span:last-child { top: 21px; transform: rotate(-45deg); }
.hd-mobile { display: flex; flex-direction: column; padding: 12px var(--gut) 28px; background: var(--bg); height: calc(100svh - var(--hd)); }
.hd-mobile[hidden] { display: none; }
.hd-mobile a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--fg); font-size: 28px; font-weight: 700; font-stretch: 118%; letter-spacing: -.02em; text-decoration: none; }
.hd-mobile .btn { margin-top: 28px; min-height: 58px; }

/* 1. Apertura */
.hero { position: relative; min-height: max(720px, 100svh); padding: calc(var(--hd) + 32px) 0 0; display: flex; flex-direction: column; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 72% 62%, rgba(61, 123, 234, .2), transparent 72%), var(--bg); }
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 11, 22, .82) 0%, rgba(6, 11, 22, .42) 40%, rgba(6, 11, 22, 0) 66%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 11, 22, 0) 24%); }
.hero-in { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 28px; padding-bottom: 48px; }
.hero-title { font-size: var(--display); line-height: .92; letter-spacing: -.03em; font-weight: 700; font-stretch: 125%; }
.mask { display: block; overflow: hidden; padding-bottom: .08em; }
.mask > span { display: block; }
.hero-lead { max-width: 540px; font-size: var(--lead); line-height: 1.5; color: var(--fg); }
.need { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.need-title { font-size: 14px; font-weight: 600; color: var(--fg-2); }
.need-chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 640px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(10, 18, 34, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--fg); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: rgba(124, 198, 245, .55); }
.chip::before { content: ''; width: 14px; height: 14px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--fg-3); transition: border-color .2s, background .2s, box-shadow .2s; }
.chip[aria-pressed="true"], .chip:has(input:checked) { border-color: var(--cyan); background: rgba(124, 198, 245, .14); }
.chip[aria-pressed="true"]::before, .chip:has(input:checked)::before { border-color: var(--cyan); background: var(--cyan); box-shadow: inset 0 0 0 3px var(--bg-2); }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.need-act { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 10px; }
.hero-foot { position: relative; border-top: 1px solid var(--line); }
.hero-foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 32px; padding-top: 20px; padding-bottom: 22px; font-size: 14.5px; }
.hero-foot strong { color: var(--fg); font-weight: 600; }
.amber-link { display: inline-flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 600; text-decoration: none; }
.amber-link:hover { color: var(--amber-2); }
.amber-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.amber-link:hover svg { transform: translateX(3px); }

.is-wait .rise { transform: translateY(105%); }
.is-wait .fade { opacity: 0; }
.is-go .rise { animation: rise 1.15s var(--ease) both; animation-delay: var(--d, 0s); }
.is-go .fade { animation: fade 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }

/* Sezioni */
.sec { padding: var(--sec) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head p { max-width: 480px; font-size: var(--lead); line-height: 1.5; }

/* 2. Filosofia: racconto allo scorrimento */
.phil { padding: var(--sec) 0; background: linear-gradient(180deg, #0B1528 0%, #09111F 100%); }
.phil-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 120px); }
.phil-sticky { position: sticky; top: calc(var(--hd) + 10vh); align-self: start; display: flex; flex-direction: column; gap: 28px; }
.phil-sticky .display { font-size: clamp(40px, 6vw, 84px); }
.phil-lead { max-width: 520px; font-size: var(--lead); line-height: 1.55; color: var(--fg); }
.phil-steps { display: flex; flex-direction: column; }
.phil-step { display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 3vw, 40px) 0; border-top: 1px solid var(--line); }
.phil-step:first-child { border-top: 0; padding-top: 0; }
.phil-step h3 { transition: color .6s var(--ease); }
.js .phil-step:not(.is-on) h3 { color: #5D6B86; }
.phil-step h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; font-stretch: 112%; }
.phil-step p { max-width: 460px; font-size: var(--lead); line-height: 1.55; }

/* 3. Soluzioni */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(280px, auto)) auto; gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; border-radius: var(--r); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; isolation: isolate; }
.card-body { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 480px; }
.card h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; font-stretch: 112%; }
.card p { font-size: 16px; line-height: 1.55; }
.card-eco { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.eco { width: 100%; height: auto; max-height: 440px; margin: 0 auto; overflow: visible; }
.eco-lines use { fill: none; stroke: var(--line-2); stroke-width: 1.5; stroke-dasharray: 4 6; }
.eco-pulse circle { fill: var(--cyan); }
.eco-node rect { fill: var(--bg-3); stroke: var(--line-2); stroke-width: 1; }
.eco-node text { fill: var(--fg); font-family: var(--font); font-size: 15px; font-weight: 600; text-anchor: middle; }
.eco-hub rect { fill: var(--cyan); stroke: none; }
.eco-hub text { fill: var(--ink); font-size: 15.5px; font-weight: 700; }
.card-video { justify-content: flex-end; min-height: 300px; }
.card-video video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.card-video .card-body { z-index: 1; }
.card-video::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 11, 22, .95) 10%, rgba(6, 11, 22, .4) 55%, rgba(6, 11, 22, 0) 85%); }
.card-video p { color: var(--fg); }
.flow { position: relative; height: 96px; }
.flow svg { position: absolute; left: 0; right: 0; top: 50%; width: 100%; height: 24px; margin-top: -12px; overflow: visible; }
.flow path { fill: none; stroke: var(--cyan); stroke-width: 1.5; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.2s var(--ease) .5s; }
.flow span { position: absolute; top: 50%; z-index: 1; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-3); color: var(--fg); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: transform 1s var(--ease), border-color .6s; }
.flow span:nth-child(1) { left: 0; transform: translateY(-140%) rotate(-6deg); }
.flow span:nth-child(2) { left: 50%; transform: translate(-50%, 20%) rotate(4deg); }
.flow span:nth-child(3) { right: 0; transform: translateY(-120%) rotate(7deg); }
.card-flow.is-in .flow span:nth-child(1), .card-flow:not(.rv) .flow span:nth-child(1) { transform: translateY(-50%); border-color: rgba(124, 198, 245, .6); }
.card-flow.is-in .flow span:nth-child(2), .card-flow:not(.rv) .flow span:nth-child(2) { transform: translate(-50%, -50%); border-color: rgba(124, 198, 245, .6); }
.card-flow.is-in .flow span:nth-child(3), .card-flow:not(.rv) .flow span:nth-child(3) { transform: translateY(-50%); border-color: rgba(124, 198, 245, .6); }
.card-flow.is-in .flow path, .card-flow:not(.rv) .flow path { stroke-dashoffset: 0; }
.sol-head { display: flex; flex-direction: column; gap: 20px; max-width: 920px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sol-head .lead { max-width: 560px; }
.wrap-wide .sol-head { padding-left: calc(var(--edge) - var(--edge-w)); }
.card-more { grid-column: 3; grid-row: 3; justify-content: flex-start; gap: 0; padding-top: 10px; padding-bottom: 10px; }
.more-item { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; }
.more-item + .more-item { border-top: 1px solid var(--line); }
.more-item h3 { font-size: 20px; }
.card-tech { grid-column: 1 / span 2; grid-row: 3; justify-content: flex-start; gap: 26px; }
.card-tech > h3 { font-size: 20px; }
.tech-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 2.4vw, 36px); }
.tech-groups h4 { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--cyan); }
.tech-groups ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.tech-groups li { color: var(--fg); font-size: 16.5px; line-height: 1.4; }

/* 4. Metodo: i numeri nei cerchi uniti da una linea, in orizzontale */
.method { position: relative; background: radial-gradient(ellipse 70% 60% at 15% 0%, rgba(61, 123, 234, .32), transparent 70%), radial-gradient(ellipse 50% 50% at 100% 100%, rgba(124, 198, 245, .12), transparent 70%), #081631; }
.method-pin { padding: var(--sec) 0; display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.method.is-h .method-pin { position: sticky; top: 0; height: 100vh; padding: calc(var(--hd) + 24px) 0 40px; justify-content: center; overflow: hidden; }
.method-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 48px; }
.method-head .display { max-width: 11ch; }
.method-head p { max-width: 380px; font-size: var(--lead); line-height: 1.5; }
.method-view { overflow: visible; }
.method.is-h .method-view { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent 0, transparent calc(var(--edge-w) - 28px), #000 calc(var(--edge-w) - 4px), #000 calc(100% - var(--edge-w) - 24px), transparent calc(100% - var(--edge-w)), transparent 100%); mask: linear-gradient(90deg, transparent 0, transparent calc(var(--edge-w) - 28px), #000 calc(var(--edge-w) - 4px), #000 calc(100% - var(--edge-w) - 24px), transparent calc(100% - var(--edge-w)), transparent 100%); }
.method-track { list-style: none; margin: 0; padding: 0 var(--edge-w); display: flex; width: max-content; will-change: transform; }
.mstep { width: calc((min(100vw, var(--wide)) - 2 * var(--gut)) / 3); display: flex; flex-direction: column; gap: 22px; padding-right: 56px; }
.mstep:last-child { padding-right: 0; }
.mstep-top { display: flex; align-items: center; }
.step-n { flex-shrink: 0; position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 50%; border: 2px solid #2B4374; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--fg-2); font-variant-numeric: tabular-nums; background: transparent; transition: border-color .5s var(--ease), color .5s var(--ease), background .5s var(--ease); }
.mstep.is-on .step-n { border-color: var(--cyan); color: var(--cyan); }
.mstep.is-on .step-n-last { background: var(--cyan); color: var(--ink); }
.step-line { position: relative; flex-grow: 1; height: 2px; margin-right: -56px; background: #1C3260; overflow: hidden; }
.step-line::after { content: ''; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(var(--fill, 0)); transform-origin: left; transition: transform .2s linear; }
.mstep h3 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1; letter-spacing: -.03em; font-weight: 700; font-stretch: 118%; color: var(--fg-2); transition: color .5s var(--ease); }
.mstep.is-on h3 { color: var(--fg); }
.mstep p { max-width: 340px; font-size: 17px; }


/* 6. Agevolazioni */
.inc { position: relative; overflow: hidden; padding: var(--sec) 0; background: radial-gradient(ellipse 60% 60% at 70% 70%, rgba(255, 181, 71, .1), transparent 70%), #080A12; }
.mesh-inc { opacity: .75; }
.inc-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #080A12 0%, rgba(8, 10, 18, .55) 30%, rgba(8, 10, 18, .2) 60%, rgba(8, 10, 18, .85) 100%), linear-gradient(90deg, rgba(8, 10, 18, .7), rgba(8, 10, 18, 0) 60%); }
.inc-in { position: relative; }
.inc .display { max-width: 12ch; }
.inc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px clamp(40px, 6vw, 96px); margin-top: clamp(48px, 6vw, 80px); align-items: start; }
.inc-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.inc-lead { font-size: var(--lead); line-height: 1.5; color: var(--fg); }
.inc-text .btn { margin-top: 10px; }
.inc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.inc-list li { padding-top: 20px; border-top: 2px solid var(--amber); }
.inc-list h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; font-stretch: 108%; }
.inc-list p { font-size: 16px; color: var(--fg-2); }

/* 7. Contatti */
.contact { margin: var(--inset) var(--inset) 0; border-radius: 36px 36px 0 0; background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(124, 198, 245, .1), transparent 70%), linear-gradient(180deg, #101C36 0%, #0B1427 100%); box-shadow: inset 0 1px 0 rgba(148, 178, 230, .16); }
.contact .form { padding: 0; background: none; box-shadow: none; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px clamp(40px, 6vw, 96px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-info .display { font-size: clamp(40px, 5.6vw, 80px); }
.dl { margin: 8px 0 0; }
.dl div { display: flex; gap: 24px; padding: 15px 0; border-top: 1px solid var(--line); }
.dl div:last-child { border-bottom: 1px solid var(--line); }
.dl dt { width: 92px; flex-shrink: 0; font-size: 15px; }
.dl dd { margin: 0; color: var(--fg); font-weight: 600; }
.dl a { text-decoration: none; }
.form { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3.4vw, 44px); border-radius: 24px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0, 0, 0, .7); }
.form-needs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.form-needs legend { width: 100%; margin-bottom: 10px; padding: 0; font-size: 14px; font-weight: 600; color: var(--fg); }
.form-needs .chip { position: relative; background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--fg); }
.field input, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); color: var(--fg); font: inherit; font-size: 16px; caret-color: var(--cyan); transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: rgba(148, 178, 230, .4); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(124, 198, 245, .15); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #FF8A80; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.form-status { color: var(--fg); font-size: 15px; font-weight: 500; }
.form-error { color: #FFB4AC; font-size: 15px; font-weight: 500; }
.form-privacy { margin-top: -6px; font-size: 14px; color: var(--fg-2); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

/* Footer */
.ft { padding: clamp(48px, 6vw, 72px) 0 32px; background: #04080F; font-size: 15.5px; }
.ft-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.ft-brand { display: flex; flex-direction: column; gap: 20px; max-width: 400px; }
.ft-brand img { height: 60px; width: auto; align-self: flex-start; }
.ft-col { display: flex; flex-direction: column; gap: 2px; }
.ft-col a, .ft-col span { padding: 7px 0; color: var(--fg-2); text-decoration: none; }
.ft-col a:hover { color: var(--fg); }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; }

/* Comparse */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rv-delay, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .is-go .rise, .is-go .fade { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .phil-step h3 { transition: none; }
  .flow span, .flow path { transition: none; }
  .step-line::after { transition: none; }
}

/* Metodo senza scorrimento orizzontale su schermi larghi (animazioni ridotte) */
@media (min-width: 981px) {
  .method:not(.is-h) .method-track { width: auto; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 var(--edge-w); }
  .method:not(.is-h) .mstep { width: auto; padding-right: 32px; }
  .method:not(.is-h) .step-line { margin-right: -32px; }
  .method:not(.is-h) .mstep h3 { font-size: clamp(24px, 2.2vw, 32px); }
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .card-eco, .card-tech { grid-column: 1 / -1; grid-row: auto; }
  .card-more { grid-column: auto; grid-row: auto; }
  .tech-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hd-nav, .hd-cta { display: none; }
  .hd-burger { display: block; }
  .head, .phil-in, .inc-row, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .phil-sticky { position: static; }
  .phil-step { padding: 32px 0; }
  .js .phil-step:not(.is-on) h3 { color: var(--fg); }
  .method-track { width: auto; flex-direction: column; padding: 0 var(--gut); }
  .mstep { width: auto; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; row-gap: 6px; padding: 0 0 36px; }
  .mstep-top { grid-row: span 2; flex-direction: column; align-self: stretch; }
  .step-n { width: 56px; height: 56px; font-size: 20px; }
  .step-line { width: 2px; height: auto; flex-grow: 1; margin: 0 0 -36px; }
  .step-line::after { transform: scaleY(var(--fill, 0)); transform-origin: top; transition: transform .6s var(--ease); }
  .mstep h3 { padding-top: 12px; font-size: clamp(26px, 6vw, 32px); }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .card { padding: 24px; }
  .eco-node text { font-size: 21px; }
  .eco-hub text { font-size: 16.5px; }
  .eco-ai text { font-size: 17px; }
  .inc-list, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .need-act .btn { width: 100%; }
  .dl div { flex-direction: column; gap: 2px; }
}
