@font-face {
    font-family: Poppins;
    src: url('../fonts/poppins-400.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/poppins-500.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/poppins-600.woff2') format('woff2');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: Poppins;
    src: url('../fonts/poppins-700.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --ink: #0a0a0b;
    --ink-2: #27272a;
    --muted: #66666d;
    --line: #e7e7e9;
    --soft: #f5f5f6;
    --paper: #fff;
    --accent: #d92845;
    --accent-dark: #9f304a;
    --accent-soft: #fff0f3;
    --radius: 28px;
    --radius-sm: 18px;
    --shadow: 0 20px 60px rgba(0,0,0,.10);
    --container: min(1180px,calc(100% - 48px));
    --header-h: 92px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Poppins,Arial,sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input,textarea {
    font: inherit;
}

button {
    color: inherit;
}

::selection {
    background: var(--accent);
    color: #fff;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.section {
    padding: 112px 0;
}

.section-sm {
    padding: 72px 0;
}

.section-dark {
    background: #050506;
    color: #fff;
}

.section-soft {
    background: var(--soft);
}

.eyebrow,.chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.chip {
    padding: 10px 16px;
    border: 1px solid currentColor;
    border-radius: 999px;
    letter-spacing: .08em;
}

h1,h2,h3,p {
    margin-top: 0;
}

h1,h2,h3 {
    line-height: 1.12;
    letter-spacing: -.03em;
}

h1 {
    font-size: clamp(2.85rem,6vw,6rem);
    font-weight: 600;
}

h2 {
    font-size: clamp(2rem,4.6vw,4.4rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.25rem,2vw,1.7rem);
    font-weight: 600;
}

.lead {
    font-size: clamp(1.05rem,1.6vw,1.3rem);
    line-height: 1.75;
    color: var(--muted);
}

.section-dark .lead {
    color: #c9c9cd;
}

.max-copy {
    max-width: 760px;
}

.center {
    text-align: center;
    margin-inline: auto;
}

.muted {
    color: var(--muted);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 10000;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fff;
    color: #000;
    transform: translateY(-150%);
    transition: transform .2s;
    box-shadow: var(--shadow);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.88);
    border-bottom: 1px solid rgba(10,10,11,.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    width: var(--container);
    margin: auto;
    display: grid;
    grid-template-columns: 210px 1fr 210px;
    align-items: center;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    width: 154px;
}

.logo img {
    width: 100%;
}

.site-nav {
    justify-self: center;
}

.site-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 42px;
    margin: 0;
    padding: 0;
}

.site-nav a {
    position: relative;
    font-size: .95rem;
    font-weight: 500;
    padding: 10px 0;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--accent);
    transition: right .25s ease;
}

.site-nav a:hover::after,.site-nav a:focus-visible::after,.site-nav a[aria-current="page"]::after {
    right: 0;
}

.header-cta {
    justify-self: end;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 13px 24px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: transform .22s ease,background .22s ease,color .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.btn:hover,.btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

.btn-light {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.btn-outline {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.btn-accent {
    background: linear-gradient(110deg,var(--accent-dark),var(--accent));
    border-color: transparent;
}

.btn-small {
    min-height: 46px;
    padding: 10px 20px;
    font-size: .9rem;
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #080809;
    position: relative;
    cursor: pointer;
}

.nav-toggle span {
    position: absolute;
    left: 15px;
    width: 22px;
    height: 2px;
    background: #fff;
    transition: .25s;
}

.nav-toggle span:first-child {
    top: 21px;
}

.nav-toggle span:last-child {
    top: 29px;
}

.nav-toggle[aria-expanded="true"] span:first-child {
    top: 25px;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
    top: 25px;
    transform: rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    align-items: end;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.34) 58%,rgba(0,0,0,.42));
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.025);
    transition: opacity 1.2s ease,transform 7s linear;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: auto;
    padding: 94px 0 84px;
}

.hero-copy {
    max-width: 930px;
}

.hero h1 {
    max-width: 920px;
    margin-bottom: 24px;
}

.hero .lead {
    max-width: 770px;
    color: rgba(255,255,255,.86);
    font-size: clamp(1.08rem,1.7vw,1.35rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: .82rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    font-weight: 600;
}

.hero-kicker span {
    display: inline-block;
    width: 34px;
    height: 2px;
    background: #fff;
}

.hero-progress {
    position: absolute;
    right: max(24px,calc((100vw - 1180px)/2));
    bottom: 46px;
    z-index: 3;
    display: flex;
    gap: 7px;
}

.hero-progress span {
    width: 30px;
    height: 3px;
    border-radius: 20px;
    background: rgba(255,255,255,.34);
    transition: background .3s,width .3s;
}

.hero-progress span.is-active {
    width: 54px;
    background: #fff;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 48px;
    margin-bottom: 56px;
}

.section-heading h2 {
    max-width: 760px;
    margin-bottom: 0;
}

.section-heading p {
    max-width: 470px;
    margin-bottom: 0;
    color: var(--muted);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 16px;
}

.ecosystem-card {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    border-radius: var(--radius-sm);
    background: #0e0e0f;
    color: #fff;
    isolation: isolate;
}

.ecosystem-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.ecosystem-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.03) 68%);
    z-index: 1;
}

.ecosystem-card:hover img {
    transform: scale(1.045);
}

.ecosystem-copy {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
}

.ecosystem-copy h3 {
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.ecosystem-copy p {
    font-size: .83rem;
    line-height: 1.5;
    color: rgba(255,255,255,.78);
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .4s ease,opacity .35s ease;
}

.ecosystem-card:hover .ecosystem-copy p,.ecosystem-card:focus-within .ecosystem-copy p {
    max-height: 170px;
    opacity: 1;
}

.features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.feature-card {
    border: 1px solid #242426;
    border-radius: var(--radius);
    padding: 36px;
    background: #0b0b0c;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-visual {
    height: 205px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
}

.feature-visual img {
    max-width: 82%;
    max-height: 190px;
    object-fit: contain;
    filter: drop-shadow(0 12px 36px rgba(255,255,255,.06));
}

.feature-card h3 {
    font-size: 1.55rem;
    margin-bottom: 18px;
}

.feature-card ul {
    margin: 0;
    padding-left: 20px;
    color: #c9c9cd;
}

.feature-card li+li {
    margin-top: 12px;
}

.predictive {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 70px;
}

.predictive-media {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
}

.predictive-media img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.predictive-copy h2 {
    font-size: clamp(2.2rem,4vw,4.2rem);
    margin-bottom: 22px;
}

.predictive-copy .btn {
    margin-top: 20px;
}

.page-hero {
    padding: 94px 0 66px;
    background: linear-gradient(180deg,#fff,#f7f7f8);
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(2.7rem,5.5vw,5.6rem);
    max-width: 980px;
    margin-bottom: 26px;
}

.page-hero .lead {
    max-width: 850px;
}

.architecture {
    margin-top: 54px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    padding: 26px;
    box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.architecture img {
    width: 100%;
    max-height: 660px;
    object-fit: contain;
}

.component-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 16px;
}

.component-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 28px 24px;
    background: #fff;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease,box-shadow .25s ease;
}

.component-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0,0,0,.08);
}

.component-icon {
    height: 150px;
    display: grid;
    place-items: center;
    margin-bottom: 24px;
}

.component-icon img {
    max-height: 138px;
    max-width: 84%;
}

.component-card h3 {
    font-size: 1.18rem;
}

.component-card p {
    font-size: .92rem;
    color: var(--muted);
    margin-bottom: 0;
}

.security-panel {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.security-panel h2 {
    position: sticky;
    top: calc(var(--header-h) + 30px);
}

.security-copy {
    font-size: 1.08rem;
    color: #c9c9cd;
}

.security-copy p+p {
    margin-top: 24px;
}

.faq-list {
    max-width: 930px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-question {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    gap: 20px;
    padding: 25px 0;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
}

.faq-question span:last-child {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--line);
    position: relative;
}

.faq-question span:last-child::before,.faq-question span:last-child::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 16px;
    height: 1px;
    background: #111;
    transition: transform .2s;
}

.faq-question span:last-child::after {
    transform: rotate(90deg);
}

.faq-question[aria-expanded="true"] span:last-child::after {
    transform: rotate(0);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .28s ease;
}

.faq-answer>div {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 70px 24px 0;
    margin: 0;
    color: var(--muted);
}

.faq-question[aria-expanded="true"]+.faq-answer {
    grid-template-rows: 1fr;
}

.story-intro {
    padding-bottom: 42px;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    margin-top: 34px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
}

.mouse {
    width: 29px;
    height: 48px;
    border: 2px solid #111;
    border-radius: 20px;
    position: relative;
}

.mouse::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #111;
    left: 10px;
    top: 9px;
    animation: mouse 1.5s infinite;
}

@keyframes mouse {
    0%,100% {
        transform: translateY(0);
        opacity: 1;
    }

    60% {
        transform: translateY(18px);
        opacity: .25;
    }

}

.story-list {
    display: flex;
    flex-direction: column;
}

.story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
    border-top: 1px solid var(--line);
}

.story:nth-child(even) .story-media {
    order: 2;
}

.story-media {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background: #eee;
}

.story-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.story:hover .story-media img {
    transform: scale(1.035);
}

.story-content {
    padding: 70px clamp(34px,6vw,88px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-label {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
}

.story-content h2 {
    font-size: clamp(1.9rem,3.2vw,3.4rem);
    margin-bottom: 24px;
}

.story-content>p {
    color: var(--muted);
}

.benefits {
    list-style: none;
    margin: 26px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid var(--line);
}

.benefits li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-2);
}

.benefits li+li {
    margin-top: 13px;
}

.benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent);
}

.contact-hero {
    padding-bottom: 34px;
}

.contact-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    min-height: 720px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
}

.contact-info {
    padding: 58px;
    background: linear-gradient(140deg,rgba(6,6,7,.96),rgba(30,10,14,.90)),url('../images/contatti/contact-background.webp') center/cover;
    color: #fff;
}

.contact-info h2 {
    font-size: clamp(2rem,3.5vw,3.7rem);
    margin-bottom: 24px;
}

.contact-info .lead {
    color: #d7d7da;
}

.contact-methods {
    display: grid;
    gap: 16px;
    margin-top: 42px;
}

.contact-method {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    align-items: center;
    padding: 15px 0;
    border-top: 1px solid rgba(255,255,255,.14);
}

.contact-method img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-method small {
    display: block;
    color: #aeb0b5;
    margin-bottom: 2px;
}

.contact-method strong {
    font-size: .98rem;
    font-weight: 500;
}

.contact-form-wrap {
    background: #fff;
    padding: 58px;
}

.contact-form-wrap h2 {
    font-size: clamp(1.9rem,3vw,3rem);
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-full {
    grid-column: 1/-1;
}

.field label {
    font-size: .86rem;
    font-weight: 600;
}

.field input,.field textarea {
    width: 100%;
    border: 1px solid #d8d8dc;
    border-radius: 14px;
    background: #fff;
    padding: 14px 16px;
    color: #111;
    outline: none;
    transition: border-color .2s,box-shadow .2s;
}

.field textarea {
    min-height: 170px;
    resize: vertical;
}

.field input:focus,.field textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,.07);
}

.consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 11px;
    align-items: start;
    font-size: .82rem;
    color: var(--muted);
    margin-top: 4px;
}

.consent input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--accent);
}

.consent a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.form-status {
    font-size: .88rem;
    font-weight: 500;
    min-height: 1.4em;
}

.form-status.success {
    color: #197445;
}

.form-status.error {
    color: #b42318;
}

.hp-field {
    position: absolute!important;
    left: -10000px!important;
    width: 1px!important;
    height: 1px!important;
    overflow: hidden!important;
}

.privacy-shell {
    max-width: 900px;
    margin-inline: auto;
}

.policy-card {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.policy-card p {
    color: var(--muted);
}

.policy-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.cta-band {
    background: linear-gradient(110deg,#161617,#050506);
    color: #fff;
    padding: 70px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
}

.cta-inner h2 {
    font-size: clamp(2rem,3.7vw,3.8rem);
    margin: 0;
    max-width: 780px;
}

.site-footer {
    background: #050506;
    color: #fff;
    padding: 76px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.35fr .65fr .65fr .95fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand img {
    width: 190px;
    margin-bottom: 24px;
}

.footer-brand p {
    max-width: 420px;
    color: #aaaab0;
    font-size: .9rem;
}

.footer-col h3 {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 22px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    color: #bfbfc3;
    font-size: .9rem;
}

.footer-col a:hover,.footer-col a:focus-visible {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    border-top: 1px solid #222225;
    padding-top: 26px;
    color: #8f8f94;
    font-size: .78rem;
}

.footer-legal {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-legal a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease,transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

:focus-visible {
    outline: 3px solid rgba(217,40,69,.35);
    outline-offset: 4px;
}

.error-page {
    min-height: calc(100vh - var(--header-h));
    display: grid;
    place-items: center;
    text-align: center;
    padding: 70px 24px;
}

.error-page h1 {
    font-size: clamp(5rem,18vw,12rem);
    margin-bottom: 8px;
    color: #e8e8ea;
}

.error-page h2 {
    font-size: clamp(1.8rem,4vw,3rem);
}

@media(max-width:1100px) {
    :root {
        --container: min(100% - 36px,960px);
    }

    .header-inner {
        grid-template-columns: 170px 1fr 170px;
    }

    .site-nav ul {
        gap: 26px;
    }

    .ecosystem-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .ecosystem-card:nth-child(4),.ecosystem-card:nth-child(5) {
        min-height: 360px;
    }

    .features {
        grid-template-columns: 1fr 1fr;
    }

    .feature-card:last-child {
        grid-column: 1/-1;
        min-height: 420px;
    }

    .component-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .footer-top {
        grid-template-columns: 1.2fr .8fr .8fr;
    }

    .footer-col:last-child {
        grid-column: 1/-1;
    }

    .story {
        min-height: 620px;
    }

    .story-media {
        min-height: 560px;
    }

}

@media(max-width:800px) {
    :root {
        --header-h: 78px;
        --container: calc(100% - 30px);
    }

    .section {
        padding: 84px 0;
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .logo {
        width: 132px;
    }

    .nav-toggle {
        display: block;
        justify-self: end;
    }

    .header-cta {
        display: none;
    }

    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0;
        background: #080809;
        color: #fff;
        display: grid;
        place-items: center;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: .25s;
    }

    .site-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .site-nav ul {
        display: flex;
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .site-nav a {
        font-size: clamp(1.6rem,7vw,2.3rem);
        font-weight: 500;
    }

    .hero {
        min-height: calc(100svh - var(--header-h));
    }

    .hero-content {
        padding: 76px 0 64px;
    }

    .hero-progress {
        right: 18px;
        bottom: 24px;
    }

    .section-heading {
        display: block;
        margin-bottom: 38px;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .ecosystem-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin-right: -15px;
    }

    .ecosystem-card {
        flex: 0 0 min(82vw, 340px);
        scroll-snap-align: start;
        min-height: 450px;
    }

    .ecosystem-copy p {
        max-height: 170px;
        opacity: 1;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .feature-card:last-child {
        grid-column: auto;
    }

    .predictive,.security-panel,.contact-layout {
        grid-template-columns: 1fr;
    }

    .predictive {
        gap: 42px;
    }

    .security-panel h2 {
        position: static;
    }

    .component-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        margin-right: -15px;
        padding-bottom: 12px;
    }

    .component-card {
        flex: 0 0 min(82vw, 330px);
        scroll-snap-align: start;
    }

    .story,.story:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .story:nth-child(even) .story-media {
        order: 0;
    }

    .story-media {
        min-height: 480px;
    }

    .story-content {
        padding: 54px 24px;
    }

    .contact-layout {
        min-height: 0;
    }

    .contact-info,.contact-form-wrap {
        padding: 40px 26px;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1/-1;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .cta-inner {
        display: block;
    }

    .cta-inner .btn {
        margin-top: 28px;
    }

    .footer-bottom {
        display: block;
    }

    .footer-legal {
        margin-top: 14px;
    }

}

@media(max-width:560px) {
    h1 {
        font-size: clamp(2.5rem,12vw,4rem);
    }

    .page-hero {
        padding-top: 66px;
    }

    .hero-actions {
        display: grid;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .features {
        gap: 14px;
    }

    .feature-card {
        padding: 28px;
        min-height: 0;
    }

    .feature-visual {
        height: 150px;
    }

    .ecosystem-card {
        flex-basis: 86vw;
    }

    .component-card {
        flex-basis: 86vw;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .contact-info,.contact-form-wrap {
        padding: 34px 22px;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        font-size: .74rem;
    }

    .policy-card {
        padding: 26px 20px;
    }

    .cta-band {
        padding: 54px 0;
    }

    .architecture {
        padding: 12px;
    }

    .story-media {
        min-height: 380px;
    }

}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }

    *,*::before,*::after {
        animation-duration: .001ms!important;
        animation-iteration-count: 1!important;
        transition-duration: .001ms!important;
        scroll-behavior: auto!important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-slide {
        transform: none!important;
    }

}

/* Footer unificato NextView — comune a tutte le pagine */
.site-footer.unified-footer {
    position: relative;
    z-index: 20;
    background: #fff!important;
    color: #fff!important;
    padding: 30px 18px 18px!important;
}

.unified-footer-shell {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: #0d0d0e;
    border-radius: 31px;
    padding: 106px 84px 82px;
    overflow: hidden;
}

.unified-footer-top {
    display: grid;
    grid-template-columns: minmax(520px,2.15fr) minmax(150px,.62fr) minmax(150px,.62fr) minmax(230px,.92fr);
    gap: 64px;
    align-items: start;
}

.unified-footer-claim h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px,2.55vw,49px);
    font-weight: 600;
    line-height: 1.32;
    letter-spacing: -.035em;
}

.unified-footer-claim a {
    color: #ff5863;
    text-decoration: none;
}

.unified-footer-col h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.unified-footer-col ul {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #d2d2d6;
    font-size: 18px;
    line-height: 1.42;
}

.unified-footer-col a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease,opacity .2s ease;
}

.unified-footer-col a:hover,.unified-footer-col a:focus-visible {
    color: #fff;
    opacity: 1;
}

.unified-footer-divider {
    height: 1px;
    margin: 82px 0 55px;
    background: #4b4b4d;
}

.unified-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.unified-footer-brand {
    display: grid;
    grid-template-columns: 118px minmax(0,700px);
    align-items: center;
    gap: 34px;
    min-width: 0;
}

.unified-footer-brand img {
    display: block;
    width: 118px;
    height: auto;
    margin: 0;
    opacity: .88;
}

.unified-footer-brand p {
    margin: 0;
    color: #f0f0f2;
    font-size: 17px;
    line-height: 1.52;
}

.unified-footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    flex-wrap: wrap;
    white-space: nowrap;
}

.unified-footer-legal a {
    color: #8f8f94;
    font-size: 17px;
    text-decoration: none;
    transition: color .2s ease;
}

.unified-footer-legal a:hover,.unified-footer-legal a:focus-visible {
    color: #fff;
}

@media(max-width:1350px) {
    .unified-footer-shell {
        padding: 84px 62px 66px;
    }

    .unified-footer-top {
        grid-template-columns: minmax(410px,1.9fr) minmax(120px,.62fr) minmax(120px,.62fr) minmax(200px,.92fr);
        gap: 42px;
    }

    .unified-footer-col h3 {
        font-size: 17px;
    }

    .unified-footer-col ul {
        font-size: 15px;
        gap: 14px;
    }

    .unified-footer-brand {
        grid-template-columns: 100px minmax(0,560px);
        gap: 26px;
    }

    .unified-footer-brand img {
        width: 100px;
    }

    .unified-footer-brand p {
        font-size: 14px;
    }

    .unified-footer-legal a {
        font-size: 14px;
    }

}

@media(max-width:980px) {
    .site-footer.unified-footer {
        padding: 22px 14px 14px!important;
    }

    .unified-footer-shell {
        padding: 64px 40px 48px;
        border-radius: 27px;
    }

    .unified-footer-top {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 42px 28px;
    }

    .unified-footer-claim {
        grid-column: 1/-1;
    }

    .unified-footer-claim h2 {
        font-size: clamp(30px,5vw,42px);
    }

    .unified-footer-divider {
        margin: 56px 0 38px;
    }

    .unified-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .unified-footer-legal {
        justify-content: flex-start;
    }

}

@media(max-width:620px) {
    .site-footer.unified-footer {
        padding: 15px 10px 10px!important;
    }

    .unified-footer-shell {
        padding: 46px 24px 34px;
        border-radius: 23px;
    }

    .unified-footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .unified-footer-claim {
        grid-column: auto;
    }

    .unified-footer-claim h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .unified-footer-col h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .unified-footer-col ul {
        font-size: 14px;
        gap: 10px;
    }

    .unified-footer-divider {
        margin: 42px 0 30px;
    }

    .unified-footer-brand {
        grid-template-columns: 82px 1fr;
        gap: 18px;
    }

    .unified-footer-brand img {
        width: 82px;
    }

    .unified-footer-brand p {
        font-size: 12px;
    }

    .unified-footer-desktop-break {
        display: none;
    }

    .unified-footer-legal {
        gap: 20px;
    }

    .unified-footer-legal a {
        font-size: 12px;
    }

}
