:root {
    --bg: #080808;
    --bg-soft: #111111;
    --panel: #151515;
    --panel-light: #1b1b1b;
    --text: #f7f7f7;
    --muted: #a8a8a8;
    --line: rgba(255,255,255,.11);
    --red: #18BFF2;
    --red-deep: #087FAF;
    --white: #ffffff;
    --shadow: 0 30px 80px rgba(0,0,0,.35);
    --radius: 28px;
    --radius-sm: 16px;
    --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 85% 8%, rgba(24,191,242,.12), transparent 24rem),
        radial-gradient(circle at 8% 42%, rgba(24,191,242,.07), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: "Segoe UI", Inter, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--red); color: #fff; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: 12px;
    transform: translateY(-140%);
    background: #fff;
    color: #000;
    padding: 10px 16px;
    z-index: 9999;
    border-radius: 10px;
}
.skip-link:focus { transform: translateY(0); }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }
.section { padding: 104px 0; position: relative; }
.section-tight { padding: 70px 0; }
.section-light { background: #f5f5f3; color: #121212; }
.section-dark { background: #0b0b0b; }
.section-border { border-block: 1px solid var(--line); }

.cursor-glow {
    position: fixed;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(circle, rgba(24,191,242,.09), transparent 68%);
    transform: translate(-50%, -50%);
    transition: opacity .3s ease;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-header.is-scrolled {
    background: rgba(8,8,8,.84);
    border-color: var(--line);
    backdrop-filter: blur(20px);
}
.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-wordmark {
    display: block;
    width: 235px;
    line-height: 0;
    flex: 0 0 auto;
}
.brand-wordmark img {
    display: block;
    width: 100%;
    height: auto;
}
.main-nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
    color: #d5d5d5;
    font-size: .92rem;
    font-weight: 650;
    position: relative;
    padding: 10px 0;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 3px;
    height: 2px;
    background: var(--red);
    transition: right .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    padding: 12px;
}
.menu-toggle span:not(.sr-only) {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: .25s ease;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 750;
    letter-spacing: .01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--red), #55D8FF);
    color: #fff;
    box-shadow: 0 12px 34px rgba(24,191,242,.25);
}
.btn-primary:hover { box-shadow: 0 18px 42px rgba(24,191,242,.38); }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.045); color: #fff; }
.btn-secondary:hover { background: rgba(255,255,255,.09); }
.btn-dark { background: #111; color: #fff; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; }
.btn-link::after { content: "→"; color: var(--red); transition: transform .2s ease; }
.btn-link:hover::after { transform: translateX(5px); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 800;
    font-size: .72rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display-title {
    margin: 20px 0 24px;
    font-size: clamp(3.2rem, 8vw, 7.7rem);
    line-height: .91;
    letter-spacing: -.07em;
    font-weight: 850;
}
.display-title .outline {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,.56);
}
.display-title .red { color: var(--red); }
.section-title {
    margin: 12px 0 20px;
    max-width: 760px;
    font-size: clamp(2.25rem, 4.7vw, 4.9rem);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 840;
}
.section-title.small { font-size: clamp(2rem, 3.8vw, 3.7rem); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: #c8c8c8; max-width: 760px; }
.section-light .lead, .section-light .muted { color: #555; }
.muted { color: var(--muted); }
.text-red { color: var(--red); }

.hero {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    width: 780px;
    height: 780px;
    right: -280px;
    top: -210px;
    border: 1px solid rgba(24,191,242,.2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 130px rgba(24,191,242,.018), inset 0 0 0 260px rgba(24,191,242,.018);
}
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 50px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy p { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    border-top: 1px solid var(--line);
    max-width: 720px;
}
.hero-meta div { padding: 20px 20px 0 0; }
.hero-meta strong { display: block; font-size: 1.55rem; }
.hero-meta span { color: var(--muted); font-size: .9rem; }
.hero-visual {
    position: relative;
    min-height: 590px;
    display: grid;
    place-items: center;
}
.hero-logo-card {
    width: min(100%, 500px);
    aspect-ratio: 1 / 1.05;
    border-radius: 40px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.01)),
        #101010;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}
.hero-logo-card::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 90deg, transparent, rgba(24,191,242,.28), transparent 25%);
    animation: rotate 12s linear infinite;
}
.hero-logo-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: #0e0e0e;
}
.logo-lockup {
    position: relative;
    z-index: 2;
    width: min(88%, 720px);
    text-align: center;
}
.logo-lockup-image {
    display: block;
    width: 100%;
    height: auto;
}
.logo-wordmark {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .065em;
    font-size: clamp(2.2rem, 5.8vw, 5.4rem);
    font-weight: 300;
    line-height: .95;
    letter-spacing: .075em;
    white-space: nowrap;
}
.logo-letter.accent { color: var(--red); }
.logo-letter.neutral { color: #d7d7d7; }
.logo-a { display: inline-block; transform: translateY(-.015em); }
.logo-tagline {
    margin-top: 22px;
    color: #c9c9c9;
    font-size: clamp(.64rem, 1.1vw, .94rem);
    font-weight: 650;
    letter-spacing: .32em;
    line-height: 1.5;
    white-space: nowrap;
}
.logo-tagline span { color: var(--red); padding-inline: .45em; }
.logo-lockup-hero { width: 86%; }
.logo-lockup-hero .logo-wordmark { font-size: clamp(2.05rem, 4.8vw, 4.8rem); }
.floating-pill {
    position: absolute;
    z-index: 4;
    padding: 10px 16px;
    border: 1px solid var(--line);
    background: rgba(10,10,10,.82);
    backdrop-filter: blur(12px);
    border-radius: 999px;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 750;
}
.pill-one { left: -30px; top: 18%; }
.pill-two { right: -30px; bottom: 26%; }
.pill-three { left: 5%; bottom: 4%; }
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    color: var(--muted);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.hero-scroll::after { content: ""; display: block; width: 1px; height: 48px; margin: 10px auto 0; background: linear-gradient(var(--red), transparent); }

.logo-strip {
    border-block: 1px solid var(--line);
    overflow: hidden;
    background: rgba(255,255,255,.015);
}
.marquee { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.marquee span {
    padding: 24px 34px;
    color: #cfcfcf;
    font-weight: 760;
    text-transform: uppercase;
    letter-spacing: .12em;
    white-space: nowrap;
}
.marquee span::after { content: "✦"; color: var(--red); margin-left: 34px; }


/* ===== HERO TECH PREMIUM V9 ===== */
.hero-tech-premium {
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 150px 0 82px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-tech-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        radial-gradient(circle at 78% 40%, rgba(24,191,242,.16), transparent 27rem),
        radial-gradient(circle at 12% 72%, rgba(24,191,242,.07), transparent 30rem),
        linear-gradient(120deg, #080808 0%, #090c0e 60%, #061118 100%);
}
.hero-tech-premium::after {
    content: "";
    position: absolute;
    z-index: -2;
    width: 720px;
    height: 720px;
    right: -290px;
    top: -260px;
    border-radius: 50%;
    border: 1px solid rgba(24,191,242,.16);
    box-shadow: inset 0 0 0 115px rgba(24,191,242,.018), inset 0 0 0 235px rgba(24,191,242,.018);
}
.hero-tech-layout {
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(500px,.96fr);
    align-items: center;
    gap: clamp(42px, 5vw, 86px);
}
.hero-tech-copy { position: relative; z-index: 4; }
.hero-tech-title {
    max-width: 900px;
    font-size: clamp(3.35rem, 6.1vw, 6.85rem);
    line-height: .92;
    margin-bottom: 28px;
}
.hero-title-light { color: #f5f7f8; }
.hero-tech-copy .lead { max-width: 760px; }
.hero-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}
.hero-tech-tags span {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(24,191,242,.26);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(24,191,242,.13), rgba(255,255,255,.025));
    color: #dcebf1;
    font-size: .86rem;
    font-weight: 720;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.hero-tech-graphic {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
}
.tech-canvas {
    position: relative;
    width: min(100%, 610px);
    height: 570px;
    border: 1px solid rgba(24,191,242,.17);
    border-radius: 42px;
    background:
        radial-gradient(circle at center, rgba(24,191,242,.085), transparent 29%),
        linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
        #0b0f12;
    box-shadow: 0 44px 110px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
    overflow: hidden;
}
.tech-canvas::before {
    content: "DIGITAL ECOSYSTEM";
    position: absolute;
    left: 30px;
    bottom: 22px;
    color: rgba(255,255,255,.22);
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .24em;
}
.tech-canvas::after {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255,255,255,.045);
    border-radius: 30px;
    pointer-events: none;
}
.tech-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .22;
    -webkit-mask-image: radial-gradient(circle at center, #000 22%, rgba(0,0,0,.72) 58%, transparent 92%);
    mask-image: radial-gradient(circle at center, #000 22%, rgba(0,0,0,.72) 58%, transparent 92%);
}
.tech-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    border: 1px solid rgba(24,191,242,.16);
}
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 290px; height: 290px; border-style: dashed; animation: orbitSpin 26s linear infinite; }
.tech-line {
    position: absolute;
    z-index: 1;
    height: 1px;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(24,191,242,.68), rgba(24,191,242,.08));
    box-shadow: 0 0 16px rgba(24,191,242,.18);
}
.line-web { width: 164px; left: 188px; top: 170px; transform: rotate(19deg); }
.line-marketing { width: 158px; left: 353px; top: 171px; transform: rotate(-22deg); }
.line-video { width: 145px; left: 292px; top: 327px; transform: rotate(72deg); }
.tech-sector {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 13px;
    width: 226px;
    min-height: 100px;
    padding: 18px;
    border: 1px solid rgba(24,191,242,.17);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.02));
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 46px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
}
.tech-sector-web { left: 26px; top: 38px; }
.tech-sector-marketing { right: 26px; top: 38px; }
.tech-sector-video { left: 50%; bottom: 36px; transform: translateX(-50%); }
.tech-sector-icon {
    flex: 0 0 47px;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(24,191,242,.25), rgba(24,191,242,.08));
    color: #52d4ff;
    font-weight: 850;
    font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.tech-sector strong { display: block; color: #fff; font-size: 1.13rem; letter-spacing: -.02em; }
.tech-sector small { display: block; color: #9caeb7; font-size: .73rem; line-height: 1.35; margin-top: 4px; }
.tech-hub {
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 50%;
    width: 225px;
    height: 225px;
    transform: translate(-50%,-50%);
    display: grid;
    place-items: center;
}
.tech-hub-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(24,191,242,.24); }
.ring-a { inset: 0; box-shadow: 0 0 38px rgba(24,191,242,.08), inset 0 0 32px rgba(24,191,242,.06); }
.ring-b { inset: 18px; border-color: rgba(255,255,255,.12); animation: ringPulse 5s ease-in-out infinite; }
.ring-c { inset: 38px; border-style: dashed; border-color: rgba(24,191,242,.38); animation: orbitSpin 18s linear infinite reverse; }
.tech-hub-core {
    position: relative;
    z-index: 2;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.12), rgba(255,255,255,.018)), #0c1013;
    border: 1px solid rgba(24,191,242,.24);
    box-shadow: 0 16px 42px rgba(0,0,0,.32), inset 0 0 26px rgba(24,191,242,.055);
}
.tech-hub-core small { color: #80cce7; font-size: .56rem; font-weight: 850; letter-spacing: .2em; }
.tech-hub-core strong { margin-top: 8px; color: #fff; font-size: 1.18rem; line-height: 1.05; letter-spacing: -.03em; }
.tech-data { position: absolute; z-index: 2; display: flex; align-items: end; gap: 5px; opacity: .55; }
.tech-data span { width: 4px; border-radius: 999px; background: #25c8fa; box-shadow: 0 0 12px rgba(24,191,242,.25); }
.data-one { left: 40px; bottom: 42px; }
.data-one span:nth-child(1) { height: 12px; }.data-one span:nth-child(2) { height: 28px; }.data-one span:nth-child(3) { height: 19px; }.data-one span:nth-child(4) { height: 38px; }
.data-two { right: 42px; bottom: 48px; }
.data-two span:nth-child(1) { height: 32px; }.data-two span:nth-child(2) { height: 17px; }.data-two span:nth-child(3) { height: 42px; }
@keyframes orbitSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes ringPulse { 0%,100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.07); opacity: .48; } }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 52px; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.service-card {
    min-height: 410px;
    padding: 34px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(24,191,242,.55); background: linear-gradient(145deg, rgba(24,191,242,.11), rgba(255,255,255,.018)); }
.service-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(24,191,242,.12);
    color: var(--red);
    font-size: 1.8rem;
    margin-bottom: 70px;
}
.service-card h3 { margin: 0 0 14px; font-size: 2rem; letter-spacing: -.04em; }
.service-card p { color: var(--muted); margin: 0 0 26px; }
.service-card .btn-link { margin-top: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.split-media {
    min-height: 560px;
    border-radius: 36px;
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
    background: #101010;
}
.grid-art {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 40px 40px;
}
.grid-art::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    background: radial-gradient(circle at 35% 30%, #55D8FF, #0F8FC2 52%, #042B3A 100%);
    box-shadow: 0 40px 100px rgba(24,191,242,.35);
}
.grid-art::after {
    content: "WMV";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    font-size: 4.2rem;
    letter-spacing: -.1em;
    font-weight: 900;
    color: white;
}
.fact-list { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.fact-row { display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.fact-row strong { color: var(--red); }
.fact-row span { color: #d7d7d7; }
.section-light .fact-row span { color: #333; }
.section-light .fact-row { border-color: rgba(0,0,0,.12); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.process-card { background: #0f0f0f; padding: 30px; min-height: 310px; }
.process-number { font-size: 3rem; color: var(--red); font-weight: 850; letter-spacing: -.06em; }
.process-card h3 { font-size: 1.35rem; margin: 60px 0 10px; }
.process-card p { color: var(--muted); margin: 0; }

.project-info { padding: 28px; display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.project-info h3 { margin: 0 0 6px; font-size: 1.55rem; }
.project-info p { margin: 0; color: var(--muted); }
.project-tag { white-space: nowrap; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; }

.quote-band {
    margin: 0 20px;
    border-radius: 42px;
    background: linear-gradient(135deg, #18BFF2, #086B92);
    color: #fff;
    overflow: hidden;
    position: relative;
}
.quote-band::before { content: "WEMAVI"; position: absolute; right: -20px; bottom: -58px; font-size: clamp(6rem, 18vw, 18rem); font-weight: 900; color: rgba(255,255,255,.08); letter-spacing: -.08em; }
.quote-band .container { padding-block: 90px; position: relative; z-index: 2; }
.quote-band h2 { font-size: clamp(2.6rem, 5.6vw, 6rem); line-height: .95; letter-spacing: -.06em; max-width: 900px; margin: 0 0 30px; }
.quote-band p { max-width: 640px; font-size: 1.15rem; }

.page-hero { padding: 180px 0 90px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero::after { content: attr(data-word); position: absolute; right: -20px; bottom: -60px; font-size: clamp(7rem, 22vw, 20rem); font-weight: 900; letter-spacing: -.09em; color: rgba(255,255,255,.025); white-space: nowrap; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 50px; }
.page-hero h1 { font-size: clamp(3.8rem, 8vw, 8rem); line-height: .9; letter-spacing: -.075em; margin: 18px 0 0; }
.page-hero p { color: #c5c5c5; font-size: 1.18rem; margin: 0; max-width: 520px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.feature-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: rgba(255,255,255,.025); }
.feature-card strong { color: var(--red); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.feature-card h3 { font-size: 1.4rem; margin: 18px 0 10px; }
.feature-card p { color: var(--muted); margin: 0; }

.price-note { padding: 26px; border-left: 3px solid var(--red); background: rgba(24,191,242,.08); border-radius: 0 18px 18px 0; }
.list-check { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.list-check li::before { content: "✓"; color: var(--red); font-weight: 900; }

.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.metric { padding: 28px; border: 1px solid var(--line); border-radius: 22px; }
.metric strong { display: block; font-size: 2.7rem; letter-spacing: -.06em; }
.metric span { color: var(--muted); }

.profile-card { display: grid; grid-template-columns: .8fr 1.2fr; border: 1px solid var(--line); border-radius: 36px; overflow: hidden; background: #101010; }
.profile-visual { min-height: 560px; background: linear-gradient(145deg, #1a1a1a, #050505); display: grid; place-items: center; position: relative; }
.profile-visual .logo-lockup { width: 84%; }
.profile-visual .logo-wordmark { font-size: clamp(2.1rem, 4.7vw, 4.7rem); }
.profile-visual .logo-tagline { font-size: clamp(.58rem, .92vw, .82rem); }
.profile-copy { padding: 60px; }
.profile-copy h2 { font-size: clamp(2.2rem,4vw,4rem); line-height: 1; letter-spacing: -.055em; }

.form-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: start; }
.form-sidebar { position: sticky; top: 120px; }
.form-card { padding: 40px; border: 1px solid var(--line); border-radius: 30px; background: #101010; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: grid; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .86rem; font-weight: 750; color: #d7d7d7; }
.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #0b0b0b;
    color: #fff;
    padding: 15px 16px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(24,191,242,.1); }
.check-row { display: flex; gap: 12px; align-items: center; flex-wrap: nowrap; font-size: .9rem; color: var(--muted); }
.check-row input { width: auto; min-width: 18px; max-width: 18px; height: 18px; flex: 0 0 18px; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; accent-color: var(--red); }
.check-row span { display: block; line-height: 1.45; }
.form-note { color: var(--muted); font-size: .86rem; margin-top: 16px; }
.honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.contact-list { display: grid; gap: 18px; margin-top: 34px; }
.contact-item { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.contact-item span { color: var(--muted); display: block; font-size: .82rem; margin-bottom: 4px; }
.contact-item strong { font-size: 1.12rem; }

.legal-content { color: #d0d0d0; }
.legal-content h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.06em; line-height: 1; }
.legal-content h2 { color: #fff; margin-top: 42px; font-size: 1.6rem; }
.legal-content h3 { color: #fff; margin-top: 28px; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content ul { padding-left: 22px; }
.notice { padding: 20px 22px; border-radius: 16px; background: rgba(24,191,242,.08); border: 1px solid rgba(24,191,242,.22); }

.status-page { min-height: 75svh; display: grid; place-items: center; padding: 150px 20px 80px; text-align: center; }
.status-card { width: min(680px, 100%); padding: 50px; border: 1px solid var(--line); border-radius: 30px; background: #101010; }
.status-icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(24,191,242,.12); color: var(--red); font-size: 2rem; margin: 0 auto 24px; }
.status-card h1 { font-size: clamp(2.3rem,5vw,4.2rem); line-height: 1; letter-spacing: -.05em; }

.site-footer { border-top: 1px solid var(--line); padding-top: 90px; position: relative; overflow: hidden; background: #070707; }
.footer-orbit { position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 1px solid rgba(24,191,242,.15); right: -280px; top: -280px; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .65fr 1.15fr; gap: 48px; position: relative; z-index: 2; }
.logo-lockup-footer { width: min(100%, 320px); text-align: left; margin-bottom: 22px; }
.logo-lockup-footer .logo-wordmark { justify-content: flex-start; font-size: 2rem; letter-spacing: .07em; }
.logo-lockup-footer .logo-tagline { margin-top: 11px; font-size: .56rem; letter-spacing: .21em; color: #a9a9a9; }
.logo-lockup-footer .logo-tagline span { padding-inline: .2em; }
.footer-brand p { color: var(--muted); max-width: 360px; }
.footer-email { display: inline-block; margin-top: 10px; font-weight: 800; color: var(--red); }
.footer-title { font-size: .83rem; text-transform: uppercase; letter-spacing: .16em; color: #fff; margin: 10px 0 20px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; color: var(--muted); }
.footer-links a:hover { color: #fff; }
.footer-cta { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: rgba(255,255,255,.025); }
.footer-cta-accent {
    border-color: rgba(24,191,242,.58);
    background: linear-gradient(145deg, rgba(24,191,242,.085), rgba(255,255,255,.018));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 18px 48px rgba(0,0,0,.16);
}
.footer-cta-accent h2 { margin-top: 0; }
.footer-cta h2 { margin: 14px 0 10px; font-size: 1.55rem; line-height: 1.1; }
.footer-cta p { color: var(--muted); font-size: .9rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 70px; padding: 24px 0 34px; display: flex; justify-content: space-between; gap: 30px; color: #777; font-size: .82rem; }


.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1050px) {
    .main-nav { gap: 16px; }
    .hero-grid, .page-hero-grid, .split, .form-layout { grid-template-columns: 1fr; }
    .hero-visual { min-height: 500px; }
    .hero-logo-card { width: 430px; max-width: 100%; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .services-grid .service-card:last-child { grid-column: 1 / -1; min-height: 330px; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
    .footer-cta { grid-column: 1 / -1; }
    .profile-card { grid-template-columns: 1fr; }
    .profile-visual { min-height: 420px; }
    .form-sidebar { position: static; }
}

@media (max-width: 860px) {
    .header-inner { min-height: 76px; }
    .brand-wordmark { width: 200px; }
    .menu-toggle { display: block; }
    .main-nav {
        position: fixed;
        inset: 76px 0 0;
        background: rgba(8,8,8,.98);
        flex-direction: column;
        align-items: stretch;
        padding: 34px 24px;
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }
    .main-nav.is-open { transform: none; }
    .nav-link { font-size: 1.4rem; padding: 12px 0; }
    .main-nav .btn { margin-top: 14px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .section { padding: 78px 0; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .feature-grid, .metrics { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand, .footer-cta { grid-column: 1 / -1; }
    .page-hero { padding-top: 140px; }
}

@media (max-width: 620px) {
    .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
    .hero { padding-top: 125px; }
    .display-title { font-size: clamp(3.15rem, 17vw, 5rem); }
    .hero-meta { grid-template-columns: 1fr; }
    .hero-meta div { border-bottom: 1px solid var(--line); padding: 14px 0; }
    .hero-visual { min-height: 390px; }
    .hero-logo-card { border-radius: 28px; }
    .floating-pill { display: none; }
    .hero-scroll { display: none; }
    .services-grid, .feature-grid, .metrics, .form-grid { grid-template-columns: 1fr; }
    .services-grid .service-card:last-child { grid-column: auto; }
    .service-card { min-height: 350px; padding: 28px; }
    .process-grid { grid-template-columns: 1fr; }
    .project-info { flex-direction: column; align-items: flex-start; }
    .quote-band { margin: 0 10px; border-radius: 28px; }
    .quote-band .container { padding-block: 65px; }
    .page-hero h1 { font-size: 3.4rem; }
    .profile-copy, .form-card { padding: 28px; }

    .logo-lockup-hero { width: 94%; }
    .logo-lockup-hero .logo-wordmark { font-size: clamp(1.8rem, 10.5vw, 3.2rem); gap: .045em; letter-spacing: .045em; }
    .logo-lockup-hero .logo-tagline { white-space: normal; font-size: .58rem; letter-spacing: .17em; margin-top: 16px; }
    .brand-wordmark { width: 180px; }
    .profile-visual { min-height: 320px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-cta { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .status-card { padding: 34px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .cursor-glow { display: none; }
}


/* ===== HERO TECH PREMIUM RESPONSIVE ===== */
@media (max-width: 1100px) {
    .hero-tech-layout { grid-template-columns: 1fr; }
    .hero-tech-copy { max-width: 900px; }
    .hero-tech-graphic { min-height: 590px; }
    .tech-canvas { width: min(100%, 610px); }
}
@media (max-width: 720px) {
    .hero-tech-premium { padding: 128px 0 62px; min-height: auto; }
    .hero-tech-title { font-size: clamp(2.75rem, 11vw, 4.1rem); }
    .hero-tech-tags { display: grid; grid-template-columns: 1fr; }
    .hero-tech-tags span { justify-content: center; }
    .hero-tech-graphic { min-height: auto; margin-top: 16px; }
    .tech-canvas { height: auto; min-height: 610px; padding: 22px; border-radius: 30px; display: flex; flex-direction: column; gap: 14px; }
    .tech-canvas::before { left: 24px; bottom: 15px; }
    .tech-canvas::after { inset: 14px; border-radius: 22px; }
    .tech-grid-bg, .tech-orbit, .tech-line, .tech-data { display: none; }
    .tech-sector { position: relative; inset: auto; width: 100%; min-height: 94px; transform: none; flex: 0 0 auto; }
    .tech-sector-web, .tech-sector-marketing, .tech-sector-video { left: auto; right: auto; top: auto; bottom: auto; transform: none; }
    .tech-hub { position: relative; left: auto; top: auto; transform: none; width: 190px; height: 190px; margin: 4px auto 34px; }
    .tech-hub-core { width: 122px; height: 122px; }
}

/* WEMAVI V10 - HERO CINEMATICO TECH */
.hero-cinematic {
    min-height: 100svh;
    padding: 145px 0 70px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.hero-cinematic::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(90deg, rgba(8,8,8,.98) 0%, rgba(8,8,8,.94) 37%, rgba(8,8,8,.64) 62%, rgba(8,8,8,.96) 100%),
        radial-gradient(circle at 75% 40%, rgba(24,191,242,.13), transparent 34%);
}
.hero-cinematic::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24,191,242,.28), transparent);
}
.hero-cinematic-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 38px;
    width: 100%;
}
.hero-cinematic-copy {
    position: relative;
    z-index: 3;
    padding-block: 25px;
}
.hero-cinematic-title {
    margin: 0 0 28px;
    max-width: 780px;
    font-size: clamp(3.8rem, 6.65vw, 7.25rem);
    line-height: .89;
    letter-spacing: -.075em;
    font-weight: 880;
}
.hero-cinematic-title span,
.hero-cinematic-title strong {
    display: block;
}
.hero-cinematic-title span {
    color: #f2f5f6;
}
.hero-cinematic-title strong {
    margin-top: .11em;
    color: var(--red);
    text-shadow: 0 0 45px rgba(24,191,242,.18);
}
.hero-cinematic-copy .lead {
    max-width: 680px;
    color: #bbc5cb;
    font-size: clamp(1.05rem, 1.35vw, 1.26rem);
}
.hero-cinematic-copy .hero-actions {
    margin-top: 34px;
}
.hero-art {
    position: relative;
    z-index: 2;
    min-width: 0;
    margin-right: -8vw;
}
.hero-art::before {
    content: "";
    position: absolute;
    inset: 12% 12% 10% 15%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24,191,242,.18), rgba(24,191,242,.05) 42%, transparent 72%);
    filter: blur(24px);
}
.hero-art img {
    display: block;
    width: min(920px, 62vw);
    max-width: none;
    height: auto;
    filter: drop-shadow(0 40px 70px rgba(0,0,0,.38));
    transform: translateX(-1%);
}
.hero-cinematic-glow {
    position: absolute;
    z-index: -2;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}
.hero-cinematic-glow-one {
    width: 360px;
    height: 360px;
    right: 13%;
    top: 10%;
    background: rgba(24,191,242,.12);
}
.hero-cinematic-glow-two {
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: 2%;
    background: rgba(24,191,242,.06);
}

@media (max-width: 1120px) {
    .hero-cinematic-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px;
    }
    .hero-art { margin-right: -14vw; }
    .hero-art img { width: min(850px, 66vw); }
}

@media (max-width: 860px) {
    .hero-cinematic {
        min-height: auto;
        padding: 130px 0 70px;
    }
    .hero-cinematic-grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .hero-cinematic-copy {
        padding-bottom: 0;
    }
    .hero-cinematic-title {
        max-width: 720px;
        font-size: clamp(3.4rem, 10vw, 5.9rem);
    }
    .hero-art {
        margin: -12px -13vw -80px -6vw;
        overflow: hidden;
    }
    .hero-art img {
        width: 118vw;
        max-width: 930px;
        margin-inline: auto;
        transform: none;
    }
}

@media (max-width: 560px) {
    .hero-cinematic {
        padding-top: 115px;
        padding-bottom: 42px;
    }
    .hero-cinematic-title {
        font-size: clamp(3rem, 14vw, 4.45rem);
        line-height: .91;
        margin-bottom: 22px;
    }
    .hero-cinematic-copy .lead {
        font-size: 1rem;
    }
    .hero-cinematic-copy .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 28px;
    }
    .hero-art {
        margin: 4px -34vw -62px -24vw;
    }
    .hero-art img {
        width: 156vw;
        max-width: none;
    }
}


/* V11 hero full image + footer email adjustment */
.hero-full-banner {
    min-height: auto;
    display: block;
    padding: 88px 0 0;
    overflow: hidden;
}
.hero-full-banner::before,
.hero-full-banner::after { display: none; }
.hero-banner-media {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: hidden;
}
.hero-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.footer-email {
    display: inline-block;
    margin-top: 10px;
    font-weight: 400;
    color: #ffffff;
}
.footer-email:hover { color: #ffffff; opacity: .9; }
@media (max-width: 1200px) {
    .hero-banner-media { height: 680px; }
}
@media (max-width: 991px) {
    .hero-full-banner { padding-top: 76px; }
    .hero-banner-media { height: 560px; }
}
@media (max-width: 767px) {
    .hero-banner-media { height: 420px; }
}
@media (max-width: 575px) {
    .hero-banner-media { height: 340px; }
}


/* V13 hero headline */
.hero-banner-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(2,8,13,.80) 0%, rgba(2,8,13,.48) 38%, rgba(2,8,13,.08) 70%, rgba(2,8,13,.10) 100%),
        linear-gradient(0deg, rgba(2,8,13,.28), transparent 42%);
    pointer-events: none;
}
.hero-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}
.hero-banner-content h1 {
    max-width: 920px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.3rem, 6.2vw, 7.2rem);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 560;
    text-shadow: 0 10px 42px rgba(0,0,0,.68);
}
.hero-banner-content h1 .hero-banner-accent {
    color: var(--red);
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    display: inline-block;
}
@media (max-width: 991px) {
    .hero-banner-content h1 {
        max-width: 760px;
        font-size: clamp(3rem, 8vw, 5.5rem);
    }
}
@media (max-width: 767px) {
    .hero-banner-shade {
        background: linear-gradient(90deg, rgba(2,8,13,.82), rgba(2,8,13,.30));
    }
    .hero-banner-content { align-items: flex-end; padding-bottom: 44px; }
    .hero-banner-content h1 {
        max-width: 92%;
        font-size: clamp(2.35rem, 9vw, 4rem);
        line-height: .98;
    }
}
@media (max-width: 575px) {
    .hero-banner-content { padding-bottom: 28px; }
    .hero-banner-content h1 {
        font-size: clamp(2rem, 9.2vw, 3.05rem);
        letter-spacing: -.05em;
    }
}


/* V15 browser scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #18BFF2 #05080B;
}
body::-webkit-scrollbar {
    width: 12px;
}
body::-webkit-scrollbar-track {
    background: #05080B;
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #39D1FF 0%, #18BFF2 55%, #0D9FD8 100%);
    border-radius: 999px;
    border: 2px solid #05080B;
}
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #58DBFF 0%, #20C7F8 55%, #12A7E0 100%);
}
body::-webkit-scrollbar-corner {
    background: #05080B;
}


/* V17 - introduzione servizi centrata */
.section-head.section-head-centered {
    display: block;
    text-align: center;
    margin-bottom: 52px;
}
.section-head.section-head-centered .section-title {
    margin-left: auto;
    margin-right: auto;
}
.section-head.section-head-centered p {
    max-width: 760px;
    margin: 18px auto 0;
    text-align: center;
}
@media (max-width: 720px) {
    .section-head.section-head-centered {
        display: block;
        align-items: initial;
        text-align: center;
    }
    .section-head.section-head-centered p {
        margin: 15px auto 0;
    }
}


/* V18: titolo prima sezione su una sola riga */
.page-home .section:first-of-type .section-title {
    white-space: nowrap;
}
@media (max-width: 900px) {
    .page-home .section:first-of-type .section-title {
        white-space: normal;
    }
}


/* V19 - introduzione servizi con una sola frase */
.page-home .section-intro-only {
    margin-bottom: 48px;
}
.page-home .section-intro-only p {
    max-width: none;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.15vw, 2.15rem);
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.025em;
    white-space: nowrap;
}
@media (max-width: 900px) {
    .page-home .section-intro-only p {
        white-space: normal;
        max-width: 720px;
    }
}
@media (max-width: 575px) {
    .page-home .section-intro-only {
        margin-bottom: 36px;
    }
    .page-home .section-intro-only p {
        font-size: 1.25rem;
        line-height: 1.35;
    }
}


/* V21 compact service cards */
.service-card {
    min-height: 300px;
    padding: 30px;
}
.service-card-heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.service-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    border-radius: 15px;
    font-size: 1.45rem;
    margin: 0;
}
.service-card-heading h3 {
    margin: 0;
}
.service-card p {
    margin-bottom: 22px;
}
@media (max-width: 1050px) {
    .services-grid .service-card:last-child { min-height: 280px; }
}
@media (max-width: 620px) {
    .service-card { min-height: 270px; padding: 26px; }
    .service-card-heading { margin-bottom: 20px; }
    .service-icon { width: 46px; height: 46px; flex-basis: 46px; border-radius: 14px; font-size: 1.3rem; }
    .service-card-heading h3 { font-size: 1.75rem; }
}


/* V24 home essenziale */
.section-strategy-minimal {
    border-top: 1px solid var(--line);
    padding-block: 110px;
}
.strategy-minimal {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.strategy-minimal h2 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(2.4rem, 4.5vw, 4.8rem);
    line-height: 1;
    letter-spacing: -.055em;
}
.strategy-minimal p {
    max-width: 760px;
    margin: 0 auto 28px;
    color: var(--muted);
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}
.strategy-minimal .btn-link {
    display: inline-flex;
}
.quote-band-minimal {
    text-align: center;
}
.quote-band-minimal::before {
    display: none;
}
.quote-band-minimal .container {
    padding-block: 78px;
}
.quote-band-minimal h2 {
    max-width: none;
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 5vw, 5rem);
}
.quote-band-minimal p {
    max-width: 680px;
    margin: 0 auto 30px;
}
@media (max-width: 767px) {
    .section-strategy-minimal { padding-block: 78px; }
    .strategy-minimal { text-align: left; }
    .strategy-minimal p { margin-left: 0; }
    .quote-band-minimal .container { padding-block: 58px; }
}


/* V25 sezione distintiva con grafica di sfondo */
.section-home-advantage {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: 118px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
        radial-gradient(circle at 18% 50%, rgba(24,191,242,.12), transparent 29%),
        radial-gradient(circle at 88% 16%, rgba(24,191,242,.07), transparent 24%),
        #080a0d;
    background-size: 64px 64px, 64px 64px, auto, auto, auto;
}
.section-home-advantage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(8,10,13,.88), rgba(8,10,13,.35) 48%, rgba(8,10,13,.82));
}
.advantage-graphic {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
.advantage-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(24,191,242,.19);
    border-radius: 50%;
    box-shadow: inset 0 0 70px rgba(24,191,242,.025), 0 0 80px rgba(24,191,242,.025);
}
.advantage-orbit-one {
    width: 520px;
    height: 520px;
    right: -155px;
    top: -235px;
}
.advantage-orbit-two {
    width: 300px;
    height: 300px;
    left: -115px;
    bottom: -170px;
}
.advantage-node {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #18bff2;
    box-shadow: 0 0 0 7px rgba(24,191,242,.08), 0 0 30px rgba(24,191,242,.7);
}
.advantage-node-one { right: 18%; top: 22%; }
.advantage-node-two { left: 10%; bottom: 28%; }
.advantage-node-three { right: 8%; bottom: 20%; width: 6px; height: 6px; opacity: .7; }
.advantage-content {
    position: relative;
    z-index: 2;
}
.advantage-intro {
    max-width: 980px;
    margin: 0 auto 58px;
    text-align: center;
}
.advantage-intro h2 {
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(2.7rem, 5vw, 5.4rem);
    line-height: .98;
    letter-spacing: -.06em;
}
.advantage-intro h2 span { color: var(--red); }
.advantage-intro > p {
    max-width: 820px;
    margin: 0 auto;
    color: #aeb8bf;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.72;
}
.advantage-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1120px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.advantage-points article {
    position: relative;
    padding: 31px 34px 34px;
    min-height: 150px;
}
.advantage-points article + article { border-left: 1px solid rgba(255,255,255,.12); }
.advantage-points article::before {
    content: "";
    position: absolute;
    left: 34px;
    top: -2px;
    width: 46px;
    height: 3px;
    background: var(--red);
    box-shadow: 0 0 18px rgba(24,191,242,.45);
}
.advantage-points h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.22rem;
    letter-spacing: -.025em;
}
.advantage-points p {
    margin: 0;
    color: #939da4;
    line-height: 1.62;
    font-size: .94rem;
}
@media (max-width: 900px) {
    .section-home-advantage { padding-block: 88px; }
    .advantage-intro { margin-bottom: 42px; }
    .advantage-points { grid-template-columns: 1fr; border-bottom: 0; }
    .advantage-points article { min-height: 0; padding: 28px 24px 29px; border-bottom: 1px solid rgba(255,255,255,.12); }
    .advantage-points article + article { border-left: 0; }
    .advantage-points article::before { left: 24px; }
}
@media (max-width: 620px) {
    .section-home-advantage { padding-block: 70px; background-size: 44px 44px, 44px 44px, auto, auto, auto; }
    .advantage-intro { text-align: left; margin-bottom: 34px; }
    .advantage-intro h2 { font-size: clamp(2.35rem, 12vw, 3.7rem); }
    .advantage-intro > p { margin-left: 0; }
    .advantage-orbit-one { width: 360px; height: 360px; right: -220px; top: -130px; }
    .advantage-node-one, .advantage-node-three { display: none; }
}


/* V26 photographic service strip */
.section-service-visuals {
    padding-top: 10px;
    padding-bottom: 110px;
}
.service-visuals-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.service-visual {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.05;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.10);
    background: #0b0f12;
}
.service-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(0,0,0,.22) 100%);
    pointer-events: none;
}
.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .55s ease, filter .55s ease;
}
.service-visual:hover img {
    transform: scale(1.035);
    filter: brightness(1.06);
}
@media (max-width: 900px) {
    .service-visuals-grid { gap: 14px; }
    .service-visual { border-radius: 18px; }
}
@media (max-width: 700px) {
    .section-service-visuals { padding-bottom: 78px; }
    .service-visuals-grid { grid-template-columns: 1fr; }
    .service-visual { aspect-ratio: 16 / 10; }
}


/* V27 home essenziale: card, presentazione WEMAVI, footer */
.home-services-section {
    padding-bottom: 92px;
}
.home-startup-intro {
    max-width: 1040px;
    margin: 58px auto 0;
    padding-top: 42px;
    border-top: 1px solid rgba(255,255,255,.10);
    text-align: center;
}
.home-startup-tagline {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    line-height: 1.35;
    font-weight: 500;
    letter-spacing: -.02em;
}
.home-startup-copy {
    max-width: 900px;
    margin: 20px auto 0;
    color: #aeb7bd;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.75;
}
@media (max-width: 767px) {
    .home-services-section { padding-bottom: 68px; }
    .home-startup-intro { margin-top: 42px; padding-top: 32px; }
}


/* V28 animazioni di entrata leggere */
@keyframes wemaviHeroImageIn {
    from { opacity: .45; transform: scale(1.035); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes wemaviHeroTextIn {
    from { opacity: 0; transform: translate3d(0, 30px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes wemaviHeroAccentIn {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.hero-banner-media > img {
    animation: wemaviHeroImageIn 1.35s cubic-bezier(.2,.72,.2,1) both;
    transform-origin: center center;
}
.hero-entry-title {
    overflow: visible;
}
.hero-entry-main,
.hero-entry-accent {
    display: block;
    will-change: opacity, transform;
}
.hero-entry-main {
    animation: wemaviHeroTextIn .82s cubic-bezier(.2,.75,.25,1) .18s both;
}
.hero-entry-accent {
    animation: wemaviHeroAccentIn .82s cubic-bezier(.2,.75,.25,1) .38s both;
}
.services-grid .service-card.reveal {
    transform: translate3d(0, 34px, 0) scale(.985);
    transition: opacity .72s ease, transform .72s cubic-bezier(.2,.75,.25,1), border-color .25s ease, background .25s ease;
}
.services-grid .service-card.reveal:nth-child(2) { transition-delay: .12s; }
.services-grid .service-card.reveal:nth-child(3) { transition-delay: .24s; }
.services-grid .service-card.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}
.home-startup-intro.reveal {
    transform: translate3d(0, 28px, 0);
    transition-duration: .78s;
}
.home-startup-intro.reveal.is-visible {
    transform: translate3d(0, 0, 0);
}
.home-startup-intro .home-startup-tagline,
.home-startup-intro .home-startup-copy {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity .62s ease, transform .62s cubic-bezier(.2,.75,.25,1);
}
.home-startup-intro.is-visible .home-startup-tagline {
    opacity: 1;
    transform: none;
    transition-delay: .16s;
}
.home-startup-intro.is-visible .home-startup-copy {
    opacity: 1;
    transform: none;
    transition-delay: .30s;
}
@media (prefers-reduced-motion: reduce) {
    .hero-banner-media > img,
    .hero-entry-main,
    .hero-entry-accent {
        animation: none !important;
    }
    .services-grid .service-card.reveal,
    .home-startup-intro.reveal,
    .home-startup-intro .home-startup-tagline,
    .home-startup-intro .home-startup-copy {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}


/* V32 - Software service and featured home card */
.software-feature-card {
    margin-top: 22px;
    min-height: 360px;
    border: 1px solid rgba(24,191,242,.32);
    border-radius: var(--radius);
    background:
        radial-gradient(circle at 82% 30%, rgba(24,191,242,.16), transparent 26rem),
        linear-gradient(135deg, rgba(24,191,242,.09), rgba(255,255,255,.018) 52%, rgba(255,255,255,.035));
    padding: clamp(30px, 5vw, 58px);
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
    align-items: center;
    gap: clamp(36px, 6vw, 78px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.software-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, transparent, #000 48%, #000);
    pointer-events: none;
}
.software-feature-copy,
.software-feature-visual { position: relative; z-index: 1; }
.software-feature-copy h2 {
    margin: 14px 0 18px;
    font-size: clamp(2.2rem, 4vw, 4.8rem);
    line-height: .96;
    letter-spacing: -.06em;
    max-width: 660px;
}
.software-feature-copy p {
    color: #bdc6cb;
    max-width: 620px;
    font-size: 1.05rem;
    margin: 0 0 22px;
}
.software-feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
}
.software-feature-tags span {
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(4,12,18,.56);
    border-radius: 999px;
    padding: 7px 12px;
    color: #d8e3e8;
    font-size: .78rem;
    letter-spacing: .03em;
}
.software-feature-visual {
    min-height: 270px;
    display: grid;
    place-items: center;
    perspective: 1100px;
}
.software-window {
    background: rgba(5,13,19,.88);
    border: 1px solid rgba(82,211,255,.35);
    box-shadow: 0 35px 80px rgba(0,0,0,.45), 0 0 45px rgba(24,191,242,.08);
}
.software-window-main {
    width: min(100%, 540px);
    height: 300px;
    border-radius: 20px;
    transform: rotateY(-7deg) rotateX(2deg);
    overflow: hidden;
}
.software-window-bar {
    height: 35px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 14px;
}
.software-window-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(82,211,255,.72);
}
.software-dashboard {
    height: calc(100% - 35px);
    display: grid;
    grid-template-columns: 82px 1fr;
}
.software-side {
    border-right: 1px solid rgba(255,255,255,.07);
    background:
        linear-gradient(rgba(24,191,242,.34) 0 0) 18px 22px / 46px 7px no-repeat,
        linear-gradient(rgba(255,255,255,.12) 0 0) 18px 50px / 38px 5px no-repeat,
        linear-gradient(rgba(255,255,255,.12) 0 0) 18px 72px / 44px 5px no-repeat,
        linear-gradient(rgba(255,255,255,.12) 0 0) 18px 94px / 31px 5px no-repeat;
}
.software-content { padding: 24px; }
.software-chart {
    height: 116px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    align-items: flex-end;
    gap: 13px;
    background: rgba(255,255,255,.018);
}
.software-chart i {
    flex: 1;
    min-width: 8px;
    border-radius: 5px 5px 2px 2px;
    background: linear-gradient(180deg, #5be0ff, #0c8bbd);
    box-shadow: 0 0 18px rgba(24,191,242,.18);
}
.software-chart i:nth-child(1) { height: 34%; }
.software-chart i:nth-child(2) { height: 58%; }
.software-chart i:nth-child(3) { height: 44%; }
.software-chart i:nth-child(4) { height: 82%; }
.software-chart i:nth-child(5) { height: 68%; }
.software-row {
    display: grid;
    grid-template-columns: 1.2fr .8fr .6fr;
    gap: 10px;
    margin-top: 15px;
}
.software-row.short { grid-template-columns: 1.3fr .7fr; }
.software-row b {
    height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,.065);
    border: 1px solid rgba(255,255,255,.04);
}
.software-window-mobile {
    position: absolute;
    right: 1%;
    bottom: 1%;
    width: 120px;
    height: 218px;
    border-radius: 24px;
    padding: 18px 14px;
    transform: rotate(5deg);
}
.software-mobile-dot {
    width: 31px;
    height: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,.15);
    margin: 0 auto 18px;
}
.software-mobile-card {
    height: 78px;
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(24,191,242,.48), rgba(24,191,242,.08));
    border: 1px solid rgba(82,211,255,.28);
}
.software-mobile-line {
    height: 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    margin-top: 15px;
}
.software-mobile-line.short { width: 68%; }

.software-page-visual {
    min-height: 560px;
    border-radius: var(--radius);
    border: 1px solid rgba(24,191,242,.25);
    background:
        radial-gradient(circle at 70% 22%, rgba(24,191,242,.18), transparent 42%),
        linear-gradient(145deg, #0b151c, #071017);
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 54px);
    overflow: hidden;
    position: relative;
}
.software-page-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
    background-size: 38px 38px;
}
.software-page-screen {
    width: min(100%, 620px);
    height: 390px;
    border: 1px solid rgba(82,211,255,.34);
    border-radius: 22px;
    background: rgba(5,13,19,.92);
    overflow: hidden;
    box-shadow: 0 42px 100px rgba(0,0,0,.48), 0 0 65px rgba(24,191,242,.1);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    position: relative;
    z-index: 1;
}
.software-page-layout {
    height: calc(100% - 35px);
    display: grid;
    grid-template-columns: 105px 1fr;
}
.software-page-layout aside {
    border-right: 1px solid rgba(255,255,255,.07);
    background:
        linear-gradient(rgba(24,191,242,.35) 0 0) 22px 26px / 58px 8px no-repeat,
        linear-gradient(rgba(255,255,255,.11) 0 0) 22px 62px / 46px 6px no-repeat,
        linear-gradient(rgba(255,255,255,.11) 0 0) 22px 88px / 54px 6px no-repeat,
        linear-gradient(rgba(255,255,255,.11) 0 0) 22px 114px / 39px 6px no-repeat;
}
.software-page-layout main { padding: 28px; }
.software-page-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.software-page-stats i {
    height: 78px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.07);
    background: linear-gradient(145deg, rgba(24,191,242,.18), rgba(255,255,255,.02));
}
.software-page-table {
    height: 92px;
    border-radius: 12px;
    margin-top: 18px;
    border: 1px solid rgba(255,255,255,.07);
    background:
        repeating-linear-gradient(0deg, transparent 0 21px, rgba(255,255,255,.055) 22px 23px),
        rgba(255,255,255,.018);
}
.software-page-table.small { height: 64px; }

@media (max-width: 991px) {
    .software-feature-card {
        grid-template-columns: 1fr;
    }
    .software-feature-visual { min-height: 310px; }
    .software-window-main { width: min(92%, 560px); }
}
@media (max-width: 767px) {
    .software-feature-card { padding: 30px; min-height: auto; }
    .software-feature-copy h2 { font-size: clamp(2.15rem, 10vw, 3.8rem); }
    .software-feature-visual { min-height: 250px; }
    .software-window-main { height: 238px; }
    .software-window-mobile { width: 94px; height: 176px; }
    .software-dashboard { grid-template-columns: 62px 1fr; }
    .software-content { padding: 16px; }
    .software-chart { height: 86px; padding: 13px; gap: 8px; }
    .software-page-visual { min-height: 390px; }
    .software-page-screen { height: 280px; }
    .software-page-layout { grid-template-columns: 72px 1fr; }
    .software-page-layout main { padding: 16px; }
    .software-page-stats i { height: 56px; }
}
@media (max-width: 480px) {
    .software-feature-tags { gap: 7px; }
    .software-feature-tags span { padding: 6px 9px; font-size: .72rem; }
    .software-feature-visual { min-height: 215px; }
    .software-window-main { height: 205px; transform: none; width: 100%; }
    .software-window-mobile { display: none; }
    .software-page-screen { transform: none; height: 245px; }
    .software-page-layout { grid-template-columns: 58px 1fr; }
}


/* V33 - Four distinct software solution visuals on home */
.software-category-grid {
    width: min(100%, 570px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    transform: perspective(1100px) rotateY(-4deg) rotateX(1.5deg);
    transform-origin: center;
}
.software-category-card {
    min-height: 142px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(82,211,255,.24);
    background: linear-gradient(145deg, rgba(8,20,28,.93), rgba(4,12,18,.79));
    box-shadow: 0 20px 45px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.025);
    position: relative;
    overflow: hidden;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.software-category-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -58px;
    top: -66px;
    border-radius: 50%;
    background: rgba(24,191,242,.11);
    filter: blur(2px);
}
.software-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(82,211,255,.48);
    box-shadow: 0 24px 50px rgba(0,0,0,.34), 0 0 28px rgba(24,191,242,.07);
}
.software-category-title {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e8f8ff;
    font-size: .82rem;
    letter-spacing: .02em;
    position: relative;
    z-index: 2;
}
.software-category-title strong { font-weight: 700; }
.software-category-icon {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #57d9ff;
    background: rgba(24,191,242,.1);
    border: 1px solid rgba(82,211,255,.22);
}
.software-category-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Gestionali */
.category-management-ui {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 13px;
    height: 74px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    background: rgba(255,255,255,.018);
    overflow: hidden;
}
.management-side {
    position: absolute;
    inset: 0 auto 0 0;
    width: 31px;
    border-right: 1px solid rgba(255,255,255,.06);
    background:
        linear-gradient(rgba(24,191,242,.43) 0 0) 8px 13px / 16px 4px no-repeat,
        linear-gradient(rgba(255,255,255,.13) 0 0) 8px 27px / 13px 3px no-repeat,
        linear-gradient(rgba(255,255,255,.13) 0 0) 8px 38px / 16px 3px no-repeat,
        linear-gradient(rgba(255,255,255,.13) 0 0) 8px 49px / 11px 3px no-repeat;
}
.management-chart {
    position: absolute;
    left: 42px;
    right: 10px;
    top: 10px;
    height: 32px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
}
.management-chart i {
    flex: 1;
    border-radius: 3px 3px 1px 1px;
    background: linear-gradient(180deg, #5be0ff, #0c8bbd);
    box-shadow: 0 0 10px rgba(24,191,242,.16);
}
.management-chart i:nth-child(1) { height: 45%; }
.management-chart i:nth-child(2) { height: 77%; }
.management-chart i:nth-child(3) { height: 58%; }
.management-chart i:nth-child(4) { height: 92%; }
.management-row {
    position: absolute;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    left: 42px;
}
.management-row.row-one { right: 14px; bottom: 19px; }
.management-row.row-two { width: 55%; bottom: 8px; }

/* Web app */
.category-webapp-ui { position: absolute; inset: 47px 12px 11px; }
.webapp-browser {
    position: absolute;
    left: 0;
    top: 0;
    width: 78%;
    height: 76px;
    border-radius: 9px;
    border: 1px solid rgba(82,211,255,.2);
    background: rgba(255,255,255,.02);
    overflow: hidden;
}
.webapp-browser::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 18px;
    border-top: 1px solid rgba(255,255,255,.07);
}
.webapp-browser i,
.webapp-browser em {
    position: absolute;
    top: 7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(82,211,255,.7);
}
.webapp-browser i { left: 9px; }
.webapp-browser em { left: 17px; }
.webapp-browser b {
    position: absolute;
    left: 10px;
    right: 10px;
    top: 29px;
    height: 33px;
    border-radius: 6px;
    background:
        linear-gradient(90deg, rgba(24,191,242,.38), rgba(24,191,242,.08)) 0 0 / 48% 100% no-repeat,
        linear-gradient(rgba(255,255,255,.075) 0 0) 58% 3px / 38% 7px no-repeat,
        linear-gradient(rgba(255,255,255,.055) 0 0) 58% 18px / 30% 5px no-repeat;
}
.webapp-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 39px;
    height: 69px;
    border-radius: 10px;
    border: 1px solid rgba(82,211,255,.32);
    background: rgba(5,13,19,.94);
    transform: rotate(4deg);
    box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.webapp-phone i {
    position: absolute;
    width: 12px;
    height: 2px;
    border-radius: 99px;
    background: rgba(255,255,255,.15);
    top: 5px;
    left: 13px;
}
.webapp-phone b {
    position: absolute;
    left: 5px;
    right: 5px;
    top: 13px;
    height: 27px;
    border-radius: 5px;
    background: linear-gradient(145deg, rgba(24,191,242,.5), rgba(24,191,242,.09));
}
.webapp-phone em {
    position: absolute;
    left: 6px;
    right: 9px;
    bottom: 13px;
    height: 4px;
    border-radius: 99px;
    background: rgba(255,255,255,.11);
}

/* Automazioni */
.category-automation-ui { position: absolute; inset: 48px 17px 12px; }
.automation-node {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    border: 1px solid rgba(82,211,255,.34);
    background: linear-gradient(145deg, rgba(24,191,242,.28), rgba(24,191,242,.07));
    box-shadow: 0 0 16px rgba(24,191,242,.08);
    z-index: 2;
}
.automation-node::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #57d9ff;
    box-shadow: 0 0 9px rgba(82,211,255,.55);
}
.automation-node.node-a { left: 0; top: 18px; }
.automation-node.node-b { left: calc(50% - 12px); top: 0; }
.automation-node.node-c { left: calc(50% - 12px); bottom: 0; }
.automation-node.node-d { right: 0; top: 18px; }
.automation-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, rgba(82,211,255,.15), rgba(82,211,255,.68), rgba(82,211,255,.15));
    transform-origin: left center;
}
.automation-line.line-a { left: 22px; top: 30px; width: calc(50% - 27px); transform: rotate(-20deg); }
.automation-line.line-b { left: 22px; top: 31px; width: calc(50% - 27px); transform: rotate(20deg); }
.automation-line.line-c { left: calc(50% + 10px); top: 30px; width: calc(50% - 31px); }
.automation-pulse {
    position: absolute;
    left: 22%;
    top: 28px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8beaff;
    box-shadow: 0 0 13px #57d9ff;
    animation: automationPulse 2.3s ease-in-out infinite;
}
@keyframes automationPulse {
    0%,100% { transform: translateX(0); opacity: .3; }
    50% { transform: translateX(66px); opacity: 1; }
}

/* Aree riservate */
.category-private-ui { position: absolute; inset: 47px 13px 11px; }
.private-lock {
    position: absolute;
    left: 3px;
    top: 8px;
    width: 58px;
    height: 62px;
}
.private-lock i {
    position: absolute;
    width: 26px;
    height: 25px;
    left: 16px;
    top: 0;
    border: 4px solid rgba(82,211,255,.48);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
}
.private-lock b {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 0;
    height: 39px;
    border-radius: 10px;
    border: 1px solid rgba(82,211,255,.3);
    background: linear-gradient(145deg, rgba(24,191,242,.34), rgba(24,191,242,.07));
}
.private-lock b::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    width: 5px;
    height: 11px;
    border-radius: 99px;
    background: #79e4ff;
    transform: translateX(-50%);
}
.private-user {
    position: absolute;
    left: 73px;
    right: 0;
    top: 7px;
    height: 61px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    background: rgba(255,255,255,.018);
}
.private-user i {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: rgba(82,211,255,.35);
}
.private-user b,
.private-user em {
    position: absolute;
    left: 39px;
    right: 10px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
}
.private-user b { top: 12px; }
.private-user em { top: 26px; right: 25px; }
.private-user::after {
    content: "ACCESSO";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 13px;
    border-radius: 4px;
    background: rgba(24,191,242,.18);
    color: rgba(121,228,255,.78);
    font-size: 6px;
    line-height: 13px;
    text-align: center;
    letter-spacing: .14em;
}

@media (prefers-reduced-motion: reduce) {
    .automation-pulse { animation: none; }
}
@media (max-width: 767px) {
    .software-category-grid {
        max-width: 560px;
        transform: none;
        gap: 11px;
    }
    .software-category-card { min-height: 132px; padding: 12px; }
    .software-category-title { font-size: .76rem; }
    .category-management-ui { left: 12px; right: 12px; bottom: 11px; height: 67px; }
}
@media (max-width: 480px) {
    .software-feature-visual { min-height: auto; }
    .software-category-grid { grid-template-columns: 1fr; }
    .software-category-card { min-height: 142px; }
}


/* V34 - Home software section: centered heading above larger categories */
.software-feature-card {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: clamp(34px, 4vw, 54px);
    padding: clamp(38px, 5vw, 66px);
}
.software-feature-copy {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.software-feature-copy h2 {
    max-width: none;
    margin: 14px 0 18px;
    font-size: clamp(2.65rem, 5.2vw, 5.4rem);
    line-height: .95;
    white-space: nowrap;
}
.software-feature-copy p {
    max-width: 820px;
    margin: 0 0 24px;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
}
.software-feature-copy .btn-link { justify-content: center; }
.software-feature-tags { display: none !important; }
.software-feature-visual {
    min-height: 0;
    width: 100%;
    display: block;
    perspective: none;
}
.software-category-grid {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 1.8vw, 24px);
    transform: none;
}
.software-category-card {
    min-height: 250px;
    padding: 22px;
    border-radius: 21px;
}
.software-category-card::before {
    width: 180px;
    height: 180px;
    right: -78px;
    top: -95px;
}
.software-category-title {
    gap: 12px;
    font-size: clamp(1.05rem, 1.35vw, 1.32rem);
}
.software-category-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex: 0 0 42px;
}
.software-category-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}
.category-management-ui {
    left: 22px;
    right: 22px;
    bottom: 22px;
    height: 145px;
    border-radius: 13px;
}
.management-side { width: 48px; }
.management-chart {
    left: 64px;
    right: 15px;
    top: 18px;
    height: 66px;
    gap: 9px;
}
.management-row { left: 64px; height: 10px; }
.management-row.row-one { right: 18px; bottom: 36px; }
.management-row.row-two { bottom: 17px; }
.category-webapp-ui { inset: 76px 20px 20px; }
.webapp-browser {
    width: 82%;
    height: 142px;
    border-radius: 13px;
}
.webapp-browser::before { top: 28px; }
.webapp-browser i,
.webapp-browser em { top: 11px; width: 6px; height: 6px; }
.webapp-browser i { left: 13px; }
.webapp-browser em { left: 24px; }
.webapp-browser b {
    left: 15px;
    right: 15px;
    top: 43px;
    height: 78px;
    border-radius: 9px;
}
.webapp-phone {
    width: 62px;
    height: 116px;
    border-radius: 15px;
}
.webapp-phone i { width: 20px; height: 3px; top: 8px; left: 20px; }
.webapp-phone b { left: 8px; right: 8px; top: 20px; height: 51px; border-radius: 8px; }
.webapp-phone em { left: 9px; right: 14px; bottom: 19px; height: 6px; }
.category-automation-ui { inset: 83px 25px 24px; }
.automation-node {
    width: 38px;
    height: 38px;
    border-radius: 11px;
}
.automation-node::after { inset: 13px; }
.automation-node.node-a { top: 33px; }
.automation-node.node-b { left: calc(50% - 19px); }
.automation-node.node-c { left: calc(50% - 19px); }
.automation-node.node-d { top: 33px; }
.automation-line.line-a { left: 35px; top: 51px; width: calc(50% - 42px); }
.automation-line.line-b { left: 35px; top: 53px; width: calc(50% - 42px); }
.automation-line.line-c { left: calc(50% + 16px); top: 51px; width: calc(50% - 50px); }
.automation-pulse { top: 48px; width: 7px; height: 7px; }
.category-private-ui { inset: 77px 20px 20px; }
.private-lock {
    left: 2px;
    top: 20px;
    width: 88px;
    height: 112px;
}
.private-lock i {
    width: 42px;
    height: 43px;
    left: 23px;
    border-width: 5px;
    border-bottom: 0;
    border-radius: 20px 20px 0 0;
}
.private-lock b {
    left: 7px;
    right: 7px;
    height: 72px;
    border-radius: 13px;
}
.private-lock b::after { top: 23px; width: 7px; height: 18px; }
.private-user {
    left: 104px;
    top: 20px;
    height: 112px;
    border-radius: 12px;
}
.private-user i { left: 14px; top: 17px; width: 28px; height: 28px; }
.private-user b,
.private-user em { left: 54px; right: 14px; height: 8px; }
.private-user b { top: 19px; }
.private-user em { top: 39px; right: 34px; }
.private-user::after {
    left: 14px;
    right: 14px;
    bottom: 14px;
    height: 22px;
    line-height: 22px;
    font-size: 7px;
}

@media (max-width: 1180px) {
    .software-feature-copy h2 { white-space: normal; max-width: 980px; }
    .software-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .software-category-card { min-height: 260px; }
}
@media (max-width: 767px) {
    .software-feature-card { padding: 34px 22px; gap: 32px; }
    .software-feature-copy h2 { font-size: clamp(2.35rem, 10vw, 4rem); }
    .software-category-grid { grid-template-columns: 1fr; gap: 14px; }
    .software-category-card { min-height: 245px; padding: 20px; }
    .software-category-title { font-size: 1.08rem; }
}
@media (max-width: 480px) {
    .software-feature-card { padding: 30px 17px; }
    .software-feature-copy h2 { font-size: clamp(2.15rem, 11.5vw, 3.25rem); }
    .software-feature-copy p { font-size: .98rem; }
    .software-category-card { min-height: 225px; }
    .category-management-ui { height: 125px; }
    .webapp-browser { height: 123px; }
    .private-user { left: 94px; }
}


/* V35 - Correzione titolo e icone della sezione software in home */
.software-feature-card {
    padding: clamp(34px, 3.7vw, 48px);
    gap: clamp(28px, 3.2vw, 42px);
}
.software-feature-copy {
    max-width: 100%;
    min-width: 0;
}
.software-feature-copy h2 {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 16px;
    font-size: clamp(2.3rem, 4.05vw, 3.55rem);
    line-height: 1.02;
    letter-spacing: -.052em;
    white-space: nowrap;
    text-align: center;
}
.software-feature-visual {
    width: auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.software-category-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: clamp(12px, 1.25vw, 18px);
}
.software-category-card {
    width: 100%;
    min-width: 0;
    min-height: 238px;
    padding: 18px;
}
.software-category-title {
    justify-content: center;
    gap: 10px;
    min-width: 0;
    font-size: clamp(.93rem, 1.12vw, 1.1rem);
    white-space: nowrap;
    text-align: center;
}
.software-category-title strong {
    min-width: 0;
}
.software-category-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
}
.software-category-icon svg {
    width: 22px;
    height: 22px;
}
.category-management-ui {
    left: 18px;
    right: 18px;
    bottom: 18px;
    height: 132px;
}
.management-side { width: 44px; }
.management-chart {
    left: 58px;
    right: 14px;
    top: 17px;
    height: 60px;
}
.management-row { left: 58px; }
.category-webapp-ui { inset: 70px 17px 18px; }
.webapp-browser {
    width: 80%;
    height: 132px;
}
.webapp-phone {
    width: 56px;
    height: 104px;
}
.webapp-phone i { left: 18px; }
.category-automation-ui { inset: 78px 22px 22px; }
.automation-node {
    width: 34px;
    height: 34px;
}
.automation-node::after { inset: 11px; }
.automation-node.node-b,
.automation-node.node-c { left: calc(50% - 17px); }
.automation-line.line-a,
.automation-line.line-b { left: 31px; width: calc(50% - 38px); }
.automation-line.line-c { left: calc(50% + 14px); width: calc(50% - 44px); }
.category-private-ui { inset: 70px 16px 18px; }
.private-lock {
    left: 0;
    top: 17px;
    width: 78px;
    height: 100px;
}
.private-lock i {
    width: 38px;
    height: 39px;
    left: 20px;
}
.private-user {
    left: 91px;
    top: 17px;
    height: 100px;
}

@media (max-width: 1180px) {
    .software-feature-copy h2 {
        max-width: 920px;
        white-space: normal;
        font-size: clamp(2.55rem, 6.1vw, 4.25rem);
    }
    .software-feature-visual { overflow: visible; }
    .software-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .software-category-card { min-height: 250px; }
}
@media (max-width: 767px) {
    .software-feature-card { padding: 32px 20px; }
    .software-feature-copy h2 {
        font-size: clamp(2.25rem, 10vw, 3.8rem);
        line-height: .98;
    }
    .software-category-grid { grid-template-columns: 1fr; }
    .software-category-title { font-size: 1.08rem; }
}

/* V36 - Home software section: remove decorative line before eyebrow */
.software-feature-copy .eyebrow::before {
    content: none;
    display: none;
}

/* V40 - Mobile refinement: centered header, centered navigation and stronger hero */
@media (max-width: 860px) {
    .site-header {
        background: rgba(8,8,8,.88);
        border-bottom-color: rgba(255,255,255,.08);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }
    .header-inner {
        min-height: 78px;
        position: relative;
        justify-content: center;
        padding-inline: 58px;
    }
    .brand-wordmark {
        width: min(220px, 62vw);
        margin-inline: auto;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        z-index: 3;
    }
    .menu-toggle[aria-expanded="true"] {
        background: rgba(24,191,242,.10);
        border-color: rgba(82,211,255,.35);
    }
    .main-nav {
        inset: 78px 0 0;
        align-items: center;
        justify-content: flex-start;
        gap: 4px;
        padding: 50px 24px 42px;
        text-align: center;
        background:
            radial-gradient(circle at 50% 0, rgba(24,191,242,.11), transparent 22rem),
            rgba(6,8,10,.985);
    }
    .main-nav .nav-link {
        width: min(100%, 420px);
        padding: 15px 18px;
        font-size: clamp(1.38rem, 5.5vw, 1.72rem);
        line-height: 1.2;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }
    .main-nav .nav-link::after {
        left: 50%;
        right: 50%;
        bottom: -1px;
    }
    .main-nav .nav-link:hover::after,
    .main-nav .nav-link.is-active::after {
        left: 28%;
        right: 28%;
    }
    .main-nav .btn {
        width: min(100%, 320px);
        min-height: 54px;
        margin: 24px auto 0;
        font-size: 1rem;
    }

    .hero-full-banner { padding-top: 78px; }
    .hero-banner-media { height: 590px; }
    .hero-banner-media img {
        object-position: 60% center;
    }
    .hero-banner-shade {
        background:
            linear-gradient(0deg, rgba(2,8,13,.91) 0%, rgba(2,8,13,.42) 58%, rgba(2,8,13,.17) 100%),
            linear-gradient(90deg, rgba(2,8,13,.56), rgba(2,8,13,.12));
    }
    .hero-banner-content {
        align-items: flex-end;
        justify-content: center;
        padding-bottom: 58px;
        text-align: center;
    }
    .hero-banner-content h1 {
        width: 100%;
        max-width: 780px;
        margin-inline: auto;
        font-size: clamp(3.15rem, 11.8vw, 5.5rem);
        line-height: .91;
        letter-spacing: -.058em;
        text-wrap: balance;
    }
    .hero-banner-content h1 .hero-banner-accent {
        margin-top: .12em;
    }

    .home-services-section { padding-top: 68px; }
    .services-grid { gap: 16px; }
    .service-card {
        min-height: auto;
        padding: 30px 26px;
        text-align: center;
        border-radius: 24px;
    }
    .service-card-heading {
        justify-content: center;
        margin-bottom: 18px;
    }
    .service-card-heading h3 { font-size: 1.85rem; }
    .service-card p {
        max-width: 520px;
        margin: 0 auto 22px;
        font-size: 1.03rem;
        line-height: 1.65;
    }
    .service-card .btn-link { justify-content: center; }

    .software-feature-card {
        border-radius: 24px;
        padding: 38px 22px 26px;
    }
    .software-feature-copy .eyebrow {
        justify-content: center;
        font-size: .78rem;
        letter-spacing: .15em;
    }
    .software-feature-copy h2 {
        max-width: 680px;
        font-size: clamp(2.7rem, 10.7vw, 4.2rem);
        line-height: .94;
        text-wrap: balance;
    }
    .software-feature-copy p {
        max-width: 590px;
        font-size: 1.04rem;
        line-height: 1.65;
    }
    .software-category-grid { gap: 16px; }
    .software-category-card {
        min-height: 250px;
        padding: 20px;
        border-radius: 20px;
    }
    .software-category-title {
        justify-content: center;
        font-size: 1.16rem;
    }

    .home-startup-intro {
        margin-top: 48px;
        padding-top: 36px;
    }
    .home-startup-tagline { font-size: 1.42rem; }
    .home-startup-copy { font-size: 1.03rem; }

    .site-footer { text-align: center; }
    .footer-grid { gap: 38px; }
    .footer-brand,
    .footer-grid > div { text-align: center; }
    .logo-lockup-footer,
    .footer-brand .logo-lockup-image {
        margin-inline: auto;
    }
    .footer-brand p {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-links {
        display: grid;
        justify-items: center;
    }
    .footer-links a { display: inline-block; padding-block: 5px; }
    .footer-cta { padding: 30px 24px; }
    .footer-cta .btn { width: min(100%, 300px); }
    .footer-bottom {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 620px) {
    .container, .narrow { width: min(calc(100% - 30px), var(--max)); }
    .header-inner {
        min-height: 74px;
        padding-inline: 54px;
    }
    .brand-wordmark { width: min(205px, 61vw); }
    .menu-toggle {
        right: 0;
        width: 46px;
        height: 46px;
    }
    .main-nav { inset: 74px 0 0; padding-top: 42px; }

    .hero-full-banner { padding-top: 74px; }
    .hero-banner-media { height: 545px; }
    .hero-banner-media img { object-position: 63% center; }
    .hero-banner-content { padding-bottom: 48px; }
    .hero-banner-content h1 {
        max-width: 100%;
        font-size: clamp(3rem, 13.4vw, 4.45rem);
        line-height: .9;
    }

    .home-services-section { padding-top: 58px; }
    .service-card {
        padding: 28px 22px;
        border-radius: 22px;
    }
    .service-card-heading {
        flex-direction: column;
        gap: 12px;
    }
    .service-card-heading h3 { font-size: 1.9rem; }
    .service-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .software-feature-card {
        margin-inline: -1px;
        padding: 34px 16px 20px;
        gap: 30px;
    }
    .software-feature-copy h2 {
        font-size: clamp(2.55rem, 12.1vw, 3.6rem);
        line-height: .92;
    }
    .software-feature-copy p { font-size: 1rem; }
    .software-category-card { min-height: 235px; padding: 18px; }
    .software-category-title { font-size: 1.14rem; }

    .home-startup-intro { text-align: center; }
    .home-startup-tagline { font-size: 1.35rem; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand, .footer-cta { grid-column: auto; }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        margin-top: 48px;
    }
}

@media (max-width: 420px) {
    .header-inner { padding-inline: 50px; }
    .brand-wordmark { width: min(190px, 58vw); }
    .hero-banner-media { height: 510px; }
    .hero-banner-content { padding-bottom: 40px; }
    .hero-banner-content h1 {
        font-size: clamp(2.82rem, 13.5vw, 3.65rem);
        line-height: .91;
    }
    .software-feature-copy h2 { font-size: clamp(2.38rem, 12vw, 3.1rem); }
    .software-category-card { min-height: 220px; }
}

@media (max-width: 360px) {
    .header-inner { padding-inline: 46px; }
    .brand-wordmark { width: 176px; }
    .menu-toggle { width: 44px; height: 44px; }
    .hero-banner-content h1 { font-size: 2.72rem; }
}

/* V41 - Mobile header/menu and full-height hero refinements */
@media (max-width: 860px) {
    .header-inner {
        min-height: 80px;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 62px;
    }
    .brand-wordmark {
        position: absolute;
        left: 50%;
        top: 50%;
        width: min(214px, 58vw);
        margin: 0;
        transform: translate(-50%, -50%);
        z-index: 2;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 0;
        transform: translateY(-50%);
        overflow: hidden;
        z-index: 4;
    }
    .menu-toggle span:not(.sr-only) {
        position: absolute;
        left: 50%;
        width: 22px;
        height: 2px;
        margin: 0;
        border-radius: 999px;
        transform: translateX(-50%);
        transform-origin: center;
    }
    .menu-toggle span:nth-child(1) { top: 16px; }
    .menu-toggle span:nth-child(2) { top: 23px; }
    .menu-toggle span:nth-child(3) { top: 30px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1) {
        top: 23px;
        transform: translateX(-50%) rotate(45deg);
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
        transform: translateX(-50%) scaleX(0);
    }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) {
        top: 23px;
        transform: translateX(-50%) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: 80px;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        min-height: calc(100vh - 80px);
        height: calc(100dvh - 80px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0;
        padding: clamp(34px, 7vh, 62px) 22px 42px;
        background:
            radial-gradient(circle at 50% 0, rgba(24,191,242,.12), transparent 25rem),
            #07090b;
        transform: translate3d(100%, 0, 0);
        transition: transform .3s cubic-bezier(.22,.7,.2,1);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        text-align: center;
    }
    .main-nav.is-open { transform: translate3d(0, 0, 0); }
    .main-nav .nav-link {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        width: min(100%, 430px);
        min-height: 58px;
        padding: 12px 18px;
        border-bottom: 1px solid rgba(255,255,255,.08);
        font-size: clamp(1.42rem, 5vw, 1.72rem);
        line-height: 1.1;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }
    .main-nav .nav-link::after { display: none; }
    .main-nav .btn {
        flex: 0 0 auto;
        width: min(100%, 330px);
        min-height: 56px;
        margin: 26px auto 0;
        white-space: nowrap;
    }

    .hero-full-banner { padding-top: 80px; }
    .hero-banner-media {
        height: clamp(640px, calc(100svh - 80px), 780px);
        min-height: 640px;
    }
    .hero-banner-content {
        align-items: center;
        justify-content: center;
        padding-top: 34px;
        padding-bottom: 34px;
        text-align: center;
    }
    .hero-banner-content h1 {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        font-size: clamp(4rem, 12.5vw, 6.25rem);
        line-height: .86;
        letter-spacing: -.065em;
        text-align: center;
        text-wrap: initial;
    }
    .hero-entry-main,
    .hero-entry-accent {
        width: 100%;
        margin-inline: auto;
    }
    .hero-banner-content h1 .hero-banner-accent { margin-top: .13em; }
}

@media (max-width: 620px) {
    .header-inner {
        min-height: 76px;
        padding: 0 56px;
    }
    .brand-wordmark { width: min(206px, 60vw); }
    .menu-toggle {
        width: 46px;
        height: 46px;
    }
    .menu-toggle span:nth-child(1) { top: 15px; }
    .menu-toggle span:nth-child(2) { top: 22px; }
    .menu-toggle span:nth-child(3) { top: 29px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1),
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 22px; }

    .main-nav {
        top: 76px;
        min-height: calc(100vh - 76px);
        height: calc(100dvh - 76px);
        padding: clamp(30px, 6vh, 50px) 18px 36px;
    }
    .main-nav .nav-link {
        width: min(100%, 390px);
        min-height: 56px;
        font-size: clamp(1.42rem, 6.2vw, 1.72rem);
    }

    .hero-full-banner { padding-top: 76px; }
    .hero-banner-media {
        height: clamp(640px, calc(100svh - 76px), 740px);
        min-height: 640px;
    }
    .hero-banner-media img { object-position: 64% center; }
    .hero-banner-shade {
        background:
            linear-gradient(0deg, rgba(2,8,13,.82), rgba(2,8,13,.40) 52%, rgba(2,8,13,.28)),
            linear-gradient(90deg, rgba(2,8,13,.45), rgba(2,8,13,.12));
    }
    .hero-banner-content {
        padding-top: 24px;
        padding-bottom: 24px;
    }
    .hero-banner-content h1 {
        font-size: clamp(4.35rem, 18.2vw, 5.35rem);
        line-height: .82;
        letter-spacing: -.072em;
    }
    .hero-entry-main { max-width: 7.8ch; }
    .hero-entry-accent { max-width: 8.25ch; }
    .hero-banner-content h1 .hero-banner-accent { margin-top: .18em; }
}

@media (max-width: 420px) {
    .header-inner { padding: 0 52px; }
    .brand-wordmark { width: min(194px, 59vw); }
    .hero-banner-media {
        height: clamp(630px, calc(100svh - 76px), 700px);
        min-height: 630px;
    }
    .hero-banner-content h1 {
        font-size: clamp(4.15rem, 18.7vw, 4.9rem);
        line-height: .81;
    }
}

@media (max-width: 360px) {
    .header-inner { padding: 0 48px; }
    .brand-wordmark { width: 180px; }
    .menu-toggle { width: 44px; height: 44px; }
    .menu-toggle span:nth-child(1) { top: 14px; }
    .menu-toggle span:nth-child(2) { top: 21px; }
    .menu-toggle span:nth-child(3) { top: 28px; }
    .menu-toggle[aria-expanded="true"] span:nth-child(1),
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; }
    .hero-banner-content h1 {
        font-size: 4.02rem;
        line-height: .80;
    }
}

/* V42 - Hero mobile piu compatta e titoli con maggiore spaziatura */
@media (max-width: 860px) {
    .hero-banner-media {
        height: clamp(540px, 74svh, 620px);
        min-height: 0;
    }
    .hero-banner-content h1 {
        letter-spacing: .015em;
    }
}

@media (max-width: 620px) {
    .hero-banner-media {
        height: clamp(510px, 70svh, 560px);
        min-height: 0;
    }
    .hero-banner-content h1 {
        font-size: clamp(3.9rem, 17vw, 4.95rem);
        line-height: .86;
        letter-spacing: .018em;
    }
}

@media (max-width: 420px) {
    .hero-banner-media {
        height: clamp(485px, 68svh, 525px);
        min-height: 0;
    }
    .hero-banner-content h1 {
        font-size: clamp(3.68rem, 17.3vw, 4.45rem);
        line-height: .86;
        letter-spacing: .02em;
    }
}

@media (max-width: 360px) {
    .hero-banner-media {
        height: 470px;
        min-height: 0;
    }
    .hero-banner-content h1 {
        font-size: 3.55rem;
        line-height: .86;
        letter-spacing: .018em;
    }
}


/* Marketing hero specific */
.marketing-hero-content h1 {
    max-width: 1180px;
}
.marketing-hero-title .hero-entry-main,
.marketing-hero-title .hero-entry-accent {
    max-width: none;
}
.marketing-hero-title .hero-entry-main br,
.marketing-hero-title .hero-entry-accent br {
    display: block;
}
@media (max-width: 991px) {
    .marketing-hero-content h1 {
        max-width: 920px;
    }
}
@media (max-width: 767px) {
    .marketing-hero-content h1 {
        max-width: 96%;
    }
}


/* ==========================================================
   V54 - Fullscreen forms overlay
   ========================================================== */
body.form-overlay-open {
    overflow: hidden;
}
.service-form-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    grid-template-rows: auto 1fr;
    background:
        radial-gradient(circle at 88% 8%, rgba(24,191,242,.16), transparent 26rem),
        radial-gradient(circle at 8% 88%, rgba(24,191,242,.08), transparent 30rem),
        rgba(3,5,7,.985);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}
.service-form-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.service-form-overlay-header {
    min-height: 86px;
    padding: 16px clamp(20px, 4vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    background: rgba(4,7,9,.88);
    backdrop-filter: blur(18px);
}
.service-form-overlay-brand {
    width: min(230px, 52vw);
    line-height: 0;
}
.service-form-overlay-brand img {
    width: 100%;
    height: auto;
}
.service-form-overlay-close {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(255,255,255,.045);
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.service-form-overlay-close:hover {
    transform: rotate(90deg);
    background: rgba(24,191,242,.12);
    border-color: rgba(24,191,242,.45);
}
.service-form-overlay-scroll {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #18BFF2 #05080B;
}
.service-form-overlay-scroll::-webkit-scrollbar { width: 11px; }
.service-form-overlay-scroll::-webkit-scrollbar-track { background: #05080B; }
.service-form-overlay-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #39D1FF, #18BFF2 60%, #0D9FD8);
    border-radius: 999px;
    border: 2px solid #05080B;
}
.service-form-overlay-inner {
    width: min(calc(100% - 40px), 1260px);
    min-height: 100%;
    margin-inline: auto;
    padding: clamp(48px, 7vw, 94px) 0 clamp(58px, 8vw, 110px);
    display: grid;
    grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr);
    gap: clamp(34px, 6vw, 86px);
    align-items: start;
}
.service-form-overlay-copy {
    position: sticky;
    top: 42px;
}
.service-form-overlay-copy .eyebrow { margin-bottom: 18px; }
.service-form-overlay-copy h2,
.service-form-overlay-copy .overlay-hero-title {
    max-width: 920px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(3.3rem, 6.2vw, 7.2rem);
    line-height: .94;
    letter-spacing: -.065em;
    font-weight: 560;
    text-shadow: 0 10px 42px rgba(0,0,0,.68);
}
.overlay-title-main,
.overlay-title-accent {
    display: block;
}
.overlay-title-accent {
    color: var(--red);
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}
.service-form-overlay-copy p {
    max-width: 540px;
    margin: 0;
    color: #b5bbc0;
    font-size: clamp(1.05rem, 1.45vw, 1.28rem);
    line-height: 1.65;
}
.service-form-overlay-points {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}
.service-form-overlay-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #eef2f4;
    font-weight: 700;
}
.service-form-overlay-points li::before {
    content: "";
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 18px rgba(24,191,242,.65);
}
.service-form-overlay .form-card {
    position: relative;
    padding: clamp(26px, 4vw, 48px);
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.12);
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01)),
        #0a0d0f;
    box-shadow: 0 34px 90px rgba(0,0,0,.42);
}
.service-form-overlay .form-field input,
.service-form-overlay .form-field textarea,
.service-form-overlay .form-field select {
    background: #05080a;
    color: #fff;
    border-color: rgba(255,255,255,.14);
}
.service-form-overlay .form-field input::placeholder,
.service-form-overlay .form-field textarea::placeholder { color: #737c83; }
.service-form-overlay .form-field select option {
    color: #fff;
    background: #0a0d0f;
}
.service-form-overlay .form-note {
    margin: 12px 0 0;
    color: #8f989f;
    font-size: .88rem;
}
.service-form-overlay .btn[type="submit"] {
    min-width: 220px;
}
.service-form-overlay[aria-hidden="true"] { display: grid; }

@media (max-width: 900px) {
    .service-form-overlay-inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .service-form-overlay-copy {
        position: static;
    }
    .service-form-overlay-copy h2,
    .service-form-overlay-copy .overlay-hero-title {
        max-width: 12ch;
        font-size: clamp(3rem, 8vw, 5.5rem);
    }
}

@media (max-width: 620px) {
    .service-form-overlay-header {
        min-height: 72px;
        padding: 12px 16px;
    }
    .service-form-overlay-brand { width: 180px; }
    .service-form-overlay-close {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        font-size: 1.7rem;
    }
    .service-form-overlay-inner {
        width: min(calc(100% - 28px), 1260px);
        padding: 38px 0 64px;
    }
    .service-form-overlay-copy h2,
    .service-form-overlay-copy .overlay-hero-title {
        max-width: 100%;
        font-size: clamp(2.35rem, 9vw, 4rem);
        line-height: .98;
        letter-spacing: -.055em;
    }
    .service-form-overlay-copy p {
        font-size: 1rem;
    }
    .service-form-overlay .form-card {
        padding: 22px 18px;
        border-radius: 24px;
    }
    .service-form-overlay .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-form-overlay .form-field.full { grid-column: auto; }
    .service-form-overlay .btn[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}


/* ==========================================================
   V56 - Privacy e Cookie fullscreen
   ========================================================== */
.legal-overlay-inner {
    grid-template-columns: minmax(260px,.56fr) minmax(0,1.44fr);
    width: min(calc(100% - 40px), 1320px);
}
.legal-overlay-copy .legal-overlay-date {
    margin-top: 22px;
    color: #7f8990;
    font-size: .9rem;
}
.legal-overlay-card {
    padding: clamp(28px, 4.5vw, 58px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.01)),
        #0a0d0f;
    box-shadow: 0 34px 90px rgba(0,0,0,.42);
}
.legal-overlay-card h3 {
    margin: 38px 0 12px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.09);
    color: #fff;
    font-size: clamp(1.18rem, 1.8vw, 1.48rem);
    line-height: 1.25;
}
.legal-overlay-card h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.legal-overlay-card p {
    margin: 0;
    color: #b9c0c5;
    font-size: 1rem;
    line-height: 1.75;
}
.legal-overlay-card strong { color: #fff; }
.legal-overlay-card a {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-page-shell {
    padding: 150px 0 100px;
    background:
        radial-gradient(circle at 88% 6%, rgba(24,191,242,.12), transparent 28rem),
        #050709;
}
.legal-page-layout {
    width: min(calc(100% - 40px), 1120px);
    margin: 0 auto;
}
.legal-page-layout > .eyebrow { margin-bottom: 18px; }
.legal-page-layout > h1 {
    max-width: 920px;
    margin: 0 0 24px;
    font-size: clamp(3.3rem, 7vw, 7rem);
    line-height: .92;
    letter-spacing: -.065em;
}
.legal-page-layout > .lead {
    margin-bottom: 48px;
}

@media (max-width: 900px) {
    .legal-overlay-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .legal-overlay-card {
        padding: 24px 20px;
        border-radius: 24px;
    }
    .legal-overlay-card h3 {
        margin-top: 30px;
        padding-top: 24px;
    }
    .legal-page-shell { padding: 120px 0 72px; }
}


/* ==========================================================
   V60 - Correzioni hero mobile pagine interne
   ========================================================== */
@media (max-width: 620px) {
    .software-hero .hero-banner-content h1,
    .marketing-hero .hero-banner-content h1 {
        width: 100%;
        max-width: 100%;
        padding-inline: 2px;
        font-size: clamp(2.08rem, 9.3vw, 2.82rem);
        line-height: .96;
        letter-spacing: -.018em;
        overflow: visible;
    }
    .software-hero .hero-entry-main,
    .software-hero .hero-entry-accent,
    .marketing-hero .hero-entry-main,
    .marketing-hero .hero-entry-accent {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }
    .video-hero .hero-banner-content {
        align-items: center;
        justify-content: center;
        padding-inline: 0;
        text-align: center;
    }
    .video-hero .hero-banner-content h1 {
        width: 100%;
        max-width: 100%;
        margin-inline: auto;
        text-align: center;
    }
    .video-hero .hero-entry-main,
    .video-hero .hero-entry-accent {
        width: 100%;
        max-width: none;
        margin-inline: auto;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .software-hero .hero-banner-content h1,
    .marketing-hero .hero-banner-content h1 {
        font-size: clamp(1.96rem, 9.1vw, 2.45rem);
        line-height: .98;
        letter-spacing: -.012em;
    }
    .video-hero .hero-banner-content h1 {
        font-size: clamp(2.7rem, 13.2vw, 3.35rem);
        line-height: .88;
    }
}

@media (max-width: 360px) {
    .software-hero .hero-banner-content h1,
    .marketing-hero .hero-banner-content h1 {
        font-size: 1.92rem;
    }
    .video-hero .hero-banner-content h1 {
        font-size: 2.62rem;
    }
}
/* ==========================================================
   V62 - SEO, pagine dirette e rifiniture responsive
   ========================================================== */
.hero-seo-kicker {
    margin: 0 0 18px;
    color: rgba(255,255,255,.82);
    font-size: clamp(.74rem, 1vw, .92rem);
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
    text-shadow: 0 4px 20px rgba(0,0,0,.7);
}
.page-home .hero-banner-content {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.page-home .hero-banner-content h1 { width: 100%; }

.page-title-hero {
    max-width: 980px;
    margin: 18px 0 0;
    color: #fff;
    font-size: clamp(3.3rem, 7vw, 7rem);
    font-weight: 560;
    letter-spacing: -.065em;
    line-height: .94;
}
.page-title-hero > span { display: block; }
.page-title-hero > span:last-child { color: var(--red); }
.page-hero-split { background: radial-gradient(circle at 85% 20%, rgba(24,191,242,.11), transparent 30rem), #080a0c; }
.page-hero-split .page-hero-grid { position: relative; z-index: 1; }
.page-hero-split p { line-height: 1.7; }

.direct-form-section { background: radial-gradient(circle at 10% 100%, rgba(24,191,242,.06), transparent 32rem); }
.form-sidebar h2 {
    margin: 18px 0 20px;
    font-size: clamp(2.15rem, 4.2vw, 4rem);
    line-height: 1;
    letter-spacing: -.055em;
}
.form-sidebar > p { color: var(--muted); line-height: 1.7; }
.form-submit-row { align-items: start; }
.form-submit-row .form-note { margin-bottom: 0; }
.contact-item a { color: inherit; }
.contact-item a:hover { color: var(--red); }

.service-seo-section {
    margin-top: clamp(58px, 8vw, 100px);
    padding-top: clamp(48px, 7vw, 82px);
    border-top: 1px solid var(--line);
}
.service-seo-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: clamp(34px, 7vw, 90px);
    align-items: start;
}
.service-seo-copy h2 {
    margin: 16px 0 22px;
    font-size: clamp(2.4rem, 5vw, 5rem);
    line-height: .98;
    letter-spacing: -.06em;
}
.service-seo-copy p { color: #bdc3c7; font-size: 1.06rem; line-height: 1.75; }
.service-seo-copy p + p { margin-top: 16px; }
.service-seo-panel {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid rgba(24,191,242,.25);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(24,191,242,.09), rgba(255,255,255,.018));
}
.service-seo-panel h3 { margin: 0 0 20px; font-size: 1.45rem; }
.service-seo-panel .list-check { margin: 0 0 28px; }
.service-seo-panel .btn { width: 100%; }

.project-info > div { min-width: 0; }
.project-info p { line-height: 1.55; }

.status-card p { color: var(--muted); max-width: 560px; margin: 18px auto 28px; line-height: 1.7; }
.status-eyebrow { justify-content: center; }
.status-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.status-code { color: var(--red); font-size: clamp(4.5rem, 12vw, 8rem); font-weight: 850; line-height: .8; letter-spacing: -.08em; margin-bottom: 26px; }
.status-icon-error { color: #fff; background: rgba(24,191,242,.14); }

.legal-page-layout .page-title-hero { margin-bottom: 24px; }
.legal-page-layout > .lead { color: #bac1c6; line-height: 1.7; max-width: 780px; }

@media (max-width: 900px) {
    .service-seo-grid { grid-template-columns: 1fr; }
    .form-layout { grid-template-columns: 1fr; gap: 38px; }
    .form-sidebar { position: static; }
    .project-info { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767px) {
    .page-home .hero-banner-content {
        align-items: flex-start;
        justify-content: flex-end;
        padding-bottom: 34px;
    }
    .hero-seo-kicker { margin-bottom: 11px; letter-spacing: .11em; }
    .page-hero { padding: 132px 0 66px; }
    .page-hero-grid { grid-template-columns: 1fr; gap: 28px; }
    .page-title-hero { font-size: clamp(2.65rem, 12vw, 4.25rem); line-height: .96; }
    .form-card { padding: 26px 20px; }
    .quote-band { margin-inline: 12px; border-radius: 28px; }
    .quote-band .container { padding-block: 64px; }
}

@media (max-width: 620px) {
    .page-home .hero-banner-content h1 { max-width: 100%; }
    .page-home .hero-seo-kicker { max-width: 92%; }
    .status-card { padding: 38px 22px; }
    .status-actions { display: grid; }
    .status-actions .btn { width: 100%; }
    .check-row span { line-height: 1.45; }
}


/* V67 - Mobile home header and footer refinements */
@media (max-width: 860px) {
    .main-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .page-home .hero-seo-kicker {
        display: none;
    }
    .footer-company-line,
    .footer-rights {
        display: block;
    }
    .footer-rights {
        margin-top: 4px;
    }
    .footer-rights-separator {
        display: none;
    }
}

/* ==========================================================
   V74 - Titolo hero Siti web piu equilibrato su smartphone
   ========================================================== */
@media (max-width: 620px) {
    .web-hero .hero-banner-content h1 {
        font-size: clamp(3.15rem, 14.6vw, 4.15rem);
        line-height: .90;
        letter-spacing: .012em;
    }
    .web-hero .hero-entry-main,
    .web-hero .hero-entry-accent {
        max-width: 10.8ch;
    }
}

@media (max-width: 420px) {
    .web-hero .hero-banner-content h1 {
        font-size: clamp(2.92rem, 14vw, 3.52rem);
        line-height: .91;
        letter-spacing: .014em;
    }
}

@media (max-width: 360px) {
    .web-hero .hero-banner-content h1 {
        font-size: 2.78rem;
    }
}

