:root {
    --ink: #09111f;
    --navy: #0b1528;
    --navy-soft: #111f37;
    --blue: #3659ff;
    --blue-bright: #5576ff;
    --cyan: #56d9ff;
    --paper: #f6f8fc;
    --white: #ffffff;
    --muted: #6e7889;
    --line: #e4e8f0;
    --radius: 24px;
    --shadow: 0 30px 80px rgba(8, 18, 40, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--white);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    background: rgba(9, 17, 31, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -.03em;
    color: white;
    background: linear-gradient(135deg, var(--blue-bright), #754cff);
    box-shadow: 0 10px 30px rgba(62, 90, 255, .34);
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    color: white;
    font-size: 15px;
    letter-spacing: -.01em;
}

.brand small {
    color: #8e9bb0;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #bdc6d5;
    font-size: 13px;
    font-weight: 650;
}

.nav-links > a:not(.nav-cta):hover {
    color: white;
}

.nav-cta {
    padding: 11px 17px;
    border-radius: 12px;
    background: rgba(255,255,255,.09);
    color: white;
    border: 1px solid rgba(255,255,255,.11);
}

.menu-toggle {
    display: none;
}

.hero {
    position: relative;
    overflow: hidden;
    min-height: 760px;
    padding: 170px 0 100px;
    color: white;
    background:
        radial-gradient(circle at 70% 20%, rgba(51,83,255,.19), transparent 27%),
        linear-gradient(145deg, #09111f 0%, #0c182d 54%, #0a1323 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 72px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
    color: #bac6d7;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #56e6ad;
    box-shadow: 0 0 0 5px rgba(86,230,173,.10);
}

.hero h1 {
    max-width: 730px;
    margin: 28px 0 24px;
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;
    background: linear-gradient(100deg, #a7b8ff 0%, #6ae4ff 52%, #a394ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    max-width: 620px;
    margin: 0;
    color: #aeb9ca;
    font-size: 18px;
    line-height: 1.72;
}

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

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 750;
    transition: .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: white;
    background: linear-gradient(135deg, #4968ff, #684cf5);
    box-shadow: 0 16px 34px rgba(64,87,255,.28);
}

.button-secondary {
    color: #d4dbea;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 30px;
    color: #8491a6;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.hero-visual {
    position: relative;
    min-height: 510px;
}

.dashboard-card {
    position: absolute;
    inset: 34px 0 auto 20px;
    min-height: 430px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 26px;
    background: linear-gradient(160deg, rgba(31,49,79,.92), rgba(13,24,43,.97));
    box-shadow: 0 40px 90px rgba(0,0,0,.36);
    transform: perspective(1000px) rotateY(-6deg) rotateX(2deg);
}

.window-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 28px;
}

.window-bar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
}

.mock-header,
.chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mock-header small,
.mock-header strong {
    display: block;
}

.mock-header small {
    color: #76849c;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.mock-header strong {
    margin-top: 4px;
    font-size: 20px;
}

.mock-avatar {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #4d70ff, #6954e8);
    font-size: 11px;
    font-weight: 900;
}

.metric-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 26px;
}

.metric {
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.06);
}

.metric small,
.metric strong,
.metric span {
    display: block;
}

.metric small {
    color: #8390a5;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.metric strong {
    margin: 8px 0 5px;
    font-size: 26px;
}

.metric span {
    color: #7fd9c1;
    font-size: 9px;
}

.chart {
    margin-top: 15px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.06);
}

.chart-head {
    font-size: 11px;
    color: #aab5c6;
}

.chart-head small {
    color: #647188;
}

.bars {
    height: 120px;
    display: flex;
    align-items: end;
    gap: 12px;
    margin-top: 22px;
    padding: 0 8px;
}

.bars i {
    flex: 1;
    min-width: 10px;
    border-radius: 7px 7px 3px 3px;
    background: linear-gradient(to top, #465cff, #55d6ff);
    opacity: .75;
}

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    background: rgba(19,31,54,.88);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,.24);
}

.floating-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: linear-gradient(135deg, #4f6cff, #714de5);
    font-size: 12px;
    font-weight: 900;
}

.floating-card small,
.floating-card strong {
    display: block;
}

.floating-card small {
    color: #77859c;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.floating-card strong {
    margin-top: 2px;
    font-size: 11px;
}

.legal-card {
    left: -28px;
    bottom: 42px;
}

.ai-card {
    right: -20px;
    top: 8px;
}

.section {
    padding: 110px 0;
}

.section-light {
    background: var(--paper);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 54px;
}

.section-kicker {
    display: block;
    margin-bottom: 14px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.section-heading h2,
.method h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(36px, 4.3vw, 58px);
    line-height: 1.05;
    letter-spacing: -.045em;
}

.section-heading p {
    max-width: 650px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

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

.solution-card {
    position: relative;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 26px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: white;
    transition: .25s ease;
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: transparent;
}

.solution-card.featured {
    background: linear-gradient(155deg, #10213f, #0a1527);
    color: white;
    border-color: transparent;
}

.card-number {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #aab2c0;
    font-size: 10px;
    font-weight: 800;
}

.card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 42px;
    border-radius: 13px;
    background: #eef1ff;
    color: var(--blue);
    font-weight: 900;
}

.featured .card-icon {
    background: rgba(255,255,255,.08);
    color: #90a7ff;
}

.solution-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    letter-spacing: -.02em;
}

.solution-card p {
    margin: 0;
    color: #778194;
    line-height: 1.62;
    font-size: 13px;
}

.featured p {
    color: #97a6ba;
}

.card-link {
    margin-top: auto;
    padding-top: 24px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
}

.featured .card-link {
    color: #8ba5ff;
}

.sectors {
    color: white;
    background: #09111f;
}

.section-heading-dark p {
    color: #8794a8;
}

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

.sector-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,.08);
    background: #101c30;
}

.sector-legal {
    background:
        radial-gradient(circle at 80% 10%, rgba(73,103,255,.18), transparent 28%),
        linear-gradient(155deg, #182a4c, #0f1a2d);
}

.sector-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #63738b;
    font-size: 10px;
}

.badge-ready {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(82,230,175,.1);
    color: #6fe0b6;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.sector-card small {
    color: #69798f;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .14em;
}

.sector-card h3 {
    margin: 8px 0 12px;
    font-size: 28px;
    letter-spacing: -.035em;
}

.sector-card p {
    margin: 0;
    color: #8e9caf;
    font-size: 12px;
    line-height: 1.65;
}

.sector-card a,
.coming-soon {
    color: #8ea6ff;
    font-size: 11px;
    font-weight: 800;
}

.coming-soon {
    color: #5d6c81;
}

.method {
    background: white;
}

.method-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
}

.method-steps {
    border-top: 1px solid var(--line);
}

.method-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.method-step > span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
}

.method-step h3 {
    margin: 0 0 7px;
    font-size: 17px;
}

.method-step p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.cta-section {
    padding: 0 0 100px;
}

.cta-panel {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    padding: 58px;
    border-radius: 28px;
    color: white;
    background:
        radial-gradient(circle at 90% 10%, rgba(77,214,255,.20), transparent 25%),
        linear-gradient(135deg, #3e59f0, #623fd4);
    box-shadow: 0 30px 70px rgba(69,77,220,.22);
}

.cta-panel .section-kicker {
    color: #cfd7ff;
}

.button-light {
    flex: 0 0 auto;
    background: white;
    color: #293fc8;
}

footer {
    background: #09111f;
    color: #7e8ca2;
}

.footer-inner {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    font-size: 11px;
}

.footer-brand {
    transform: scale(.9);
    transform-origin: left center;
}

@media (max-width: 980px) {
    .hero-grid,
    .method-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .solution-grid,
    .sector-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .method-grid {
        gap: 50px;
    }
}

@media (max-width: 760px) {
    .nav-links {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 16px;
        background: #101b2e;
        box-shadow: 0 20px 50px rgba(0,0,0,.3);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: grid;
        place-content: center;
        gap: 4px;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.07);
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        background: white;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 70px;
    }

    .hero-grid {
        gap: 48px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-points {
        gap: 12px;
        flex-direction: column;
    }

    .hero-visual {
        min-height: 420px;
    }

    .dashboard-card {
        left: 0;
        padding: 18px;
        transform: none;
    }

    .legal-card {
        left: -8px;
        bottom: 0;
    }

    .ai-card {
        right: -8px;
    }

    .section {
        padding: 78px 0;
    }

    .solution-grid,
    .sector-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 280px;
    }

    .sector-card {
        min-height: 300px;
    }

    .cta-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 34px 26px;
    }

    .footer-inner {
        min-height: 170px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 10px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}


/* === CONSULENZAPRO PORTAL V2 START === */

#soluzioni,
#settori,
#progetti,
#workspace,
#metodo {
    scroll-margin-top: 78px;
}

.interface-demo-label,
.workspace-demo-note {
    position: absolute;
    z-index: 10;
    padding: 6px 9px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    color: #77869c;
    background: rgba(9,17,31,.68);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.interface-demo-label {
    right: 20px;
    top: 19px;
}

.scroll-cue {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: max-content;
    text-decoration: none;
}

.scroll-cue-label {
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.scroll-cue-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition: .2s ease;
}

.scroll-cue svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: cpScrollCue 1.8s ease-in-out infinite;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    color: #a8b6cc;
}

.hero-scroll-cue .scroll-cue-label {
    color: #63728a;
}

.hero-scroll-cue .scroll-cue-button {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
}

.section-scroll-cue {
    margin: 50px auto 0;
}

.scroll-cue-light {
    color: #3c5bff;
}

.scroll-cue-light .scroll-cue-label {
    color: #8993a5;
}

.scroll-cue-light .scroll-cue-button {
    border: 1px solid #dbe1ec;
    background: white;
    box-shadow: 0 12px 34px rgba(12,25,50,.07);
}

.scroll-cue-dark {
    color: #88a1ff;
}

.scroll-cue-dark .scroll-cue-label {
    color: #60718b;
}

.scroll-cue-dark .scroll-cue-button {
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.045);
}

.scroll-cue:hover .scroll-cue-button {
    transform: scale(1.08);
}

@keyframes cpScrollCue {
    0%, 100% { transform: translateY(-2px); opacity: .62; }
    50% { transform: translateY(4px); opacity: 1; }
}

.projects-section {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(circle at 50% 15%, rgba(41,92,255,.20), transparent 28%),
        linear-gradient(180deg, #08111f, #091628);
}

.projects-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .15;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(90,150,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90,150,255,.04) 1px, transparent 1px);
    background-size: 50px 50px;
}

.projects-heading {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr .7fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 50px;
}

.projects-heading h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 1;
    letter-spacing: -.05em;
}

.projects-heading h2 span {
    color: #57baff;
}

.projects-heading > p {
    max-width: 470px;
    margin: 0;
    color: #8c9aaf;
    line-height: 1.75;
    font-size: 14px;
}

.projects-banner {
    position: relative;
    z-index: 2;
    overflow: hidden;
    min-height: 470px;
    padding: 44px;
    border: 1px solid rgba(94,134,255,.20);
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 20%, rgba(26,90,194,.17), transparent 35%),
        #07101d;
    box-shadow:
        0 45px 100px rgba(0,0,0,.35),
        inset 0 1px rgba(255,255,255,.04);
}

.projects-title-strip {
    margin-bottom: 30px;
    text-align: center;
}

.projects-title-strip strong {
    display: block;
    font-size: clamp(27px, 3vw, 44px);
    letter-spacing: .02em;
}

.projects-title-strip strong span {
    color: #4ab5ff;
}

.projects-title-strip small {
    display: block;
    margin-top: 4px;
    color: #7e8da2;
    font-size: 10px;
    letter-spacing: .22em;
}

.project-demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.project-demo {
    min-height: 310px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 22px;
    background: rgba(12,25,44,.82);
    backdrop-filter: blur(12px);
}

.project-ai {
    border: 1px solid rgba(46,180,255,.55);
    box-shadow: inset 0 0 40px rgba(17,148,255,.06);
}

.project-municipality {
    border: 1px solid rgba(71,232,116,.48);
    box-shadow: inset 0 0 40px rgba(56,211,103,.05);
}

.project-erp {
    border: 1px solid rgba(151,91,255,.52);
    box-shadow: inset 0 0 40px rgba(125,74,255,.06);
}

.project-symbol {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 30px;
    border-radius: 13px;
    background: rgba(255,255,255,.07);
    font-size: 12px;
    font-weight: 900;
}

.project-demo small {
    color: #667891;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
}

.project-demo h3 {
    margin: 7px 0 15px;
    font-size: 23px;
    letter-spacing: -.03em;
}

.project-demo p {
    margin: 0;
    color: #8f9caf;
    line-height: 1.65;
    font-size: 12px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.project-tags span {
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 999px;
    color: #8292aa;
    background: rgba(255,255,255,.035);
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
}

.workspace-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 45%, rgba(61,92,255,.08), transparent 28%),
        #f7f9fd;
}

.workspace-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    align-items: center;
}

.workspace-copy h2 {
    margin: 0;
    font-size: clamp(40px, 4.8vw, 64px);
    line-height: 1;
    letter-spacing: -.05em;
}

.workspace-copy > p {
    max-width: 530px;
    margin: 24px 0 0;
    color: #697589;
    font-size: 15px;
    line-height: 1.75;
}

.workspace-benefits {
    display: grid;
    gap: 11px;
    margin-top: 30px;
}

.workspace-benefits > div {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
}

.workspace-benefits > div > span {
    padding-top: 3px;
    color: #435dff;
    font-size: 9px;
    font-weight: 850;
}

.workspace-benefits p {
    margin: 0;
    color: #788397;
    font-size: 12px;
    line-height: 1.55;
}

.workspace-benefits strong {
    display: block;
    margin-bottom: 2px;
    color: #111c2e;
    font-size: 13px;
}

.workspace-dashboard {
    position: relative;
}

.workspace-demo-note {
    right: 18px;
    top: -18px;
    color: #8290a4;
    background: white;
    border-color: #e0e5ef;
    box-shadow: 0 10px 25px rgba(10,25,50,.07);
}

.workspace-window {
    padding: 28px;
    border-radius: 27px;
    color: white;
    background: linear-gradient(155deg, #182945, #0d192d);
    border: 1px solid rgba(24,53,95,.18);
    box-shadow: 0 35px 80px rgba(15,32,65,.18);
}

.workspace-window .metric {
    background: rgba(255,255,255,.055);
}

.workspace-window .chart {
    background: rgba(255,255,255,.035);
}

.hero {
    padding-bottom: 118px;
}

.hero h1 {
    max-width: 760px;
}

.hero-visual {
    min-height: 500px;
}

@media (max-width: 980px) {
    .projects-heading,
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .projects-heading {
        gap: 22px;
    }

    .project-demo-grid {
        grid-template-columns: 1fr;
    }

    .workspace-grid {
        gap: 55px;
    }
}

@media (max-width: 760px) {
    .projects-banner {
        padding: 24px;
        min-height: auto;
    }

    .projects-title-strip {
        text-align: left;
    }

    .project-demo {
        min-height: 260px;
    }

    .workspace-window {
        padding: 18px;
    }

    .hero {
        padding-bottom: 120px;
    }

    .section-scroll-cue {
        margin-top: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-cue svg {
        animation: none;
    }
}

/* === CONSULENZAPRO PORTAL V2 END === */


/* === SCROLL BUTTON V3 START === */

.inline-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: .95em;
}

/* contenitore generale */

.scroll-cue {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: max-content;
    min-width: 96px;
    text-decoration: none;
    user-select: none;
}

/* testo sopra */

.scroll-cue-label {
    font-size: 9px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
    transition:
        color .2s ease,
        opacity .2s ease;
}

/* pulsante circolare */

.scroll-cue-button {
    position: relative;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background .22s ease;
}

/* anello esterno */

.scroll-cue-button::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: inherit;
    pointer-events: none;
    transition:
        border-color .22s ease,
        opacity .22s ease,
        transform .22s ease;
}

/* piccola luce interna */

.scroll-cue-button::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 10px;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    opacity: .28;
    filter: blur(7px);
    pointer-events: none;
}

/* freccia */

.scroll-cue svg {
    position: relative;
    z-index: 2;
    width: 21px;
    height: 21px;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: cpArrowFloat 1.65s ease-in-out infinite;
}

/* ----------------------------------------------------------
   SFONDI SCURI
   ---------------------------------------------------------- */

.hero-scroll-cue,
.scroll-cue-dark {
    color: #dbe7ff;
}

.hero-scroll-cue .scroll-cue-label,
.scroll-cue-dark .scroll-cue-label {
    color: #7f92af;
}

.hero-scroll-cue .scroll-cue-button,
.scroll-cue-dark .scroll-cue-button {
    border: 1px solid rgba(88, 145, 255, .72);

    background:
        radial-gradient(
            circle at 32% 24%,
            rgba(81, 219, 255, .17),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(29, 58, 105, .85),
            rgba(9, 20, 40, .94)
        );

    box-shadow:
        0 12px 32px rgba(0, 0, 0, .28),
        0 0 28px rgba(52, 113, 255, .16),
        inset 0 1px 0 rgba(255,255,255,.06);
}

.hero-scroll-cue .scroll-cue-button::before,
.scroll-cue-dark .scroll-cue-button::before {
    border: 1px solid rgba(83, 140, 255, .18);
}

.hero-scroll-cue .scroll-cue-button::after,
.scroll-cue-dark .scroll-cue-button::after {
    background: #67d9ff;
}

.hero-scroll-cue svg,
.scroll-cue-dark svg {
    stroke: #e2edff;
}

/* hover dark */

.hero-scroll-cue:hover .scroll-cue-button,
.scroll-cue-dark:hover .scroll-cue-button {
    transform: translateY(2px) scale(1.055);

    border-color: rgba(91, 192, 255, .92);

    box-shadow:
        0 15px 36px rgba(0,0,0,.34),
        0 0 34px rgba(63, 133, 255, .30),
        0 0 12px rgba(81, 217, 255, .16),
        inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-scroll-cue:hover .scroll-cue-label,
.scroll-cue-dark:hover .scroll-cue-label {
    color: #b6c8e5;
}

/* ----------------------------------------------------------
   SFONDI CHIARI
   ---------------------------------------------------------- */

.scroll-cue-light {
    color: #4360ff;
}

.scroll-cue-light .scroll-cue-label {
    color: #8894a8;
}

.scroll-cue-light .scroll-cue-button {
    border: 1px solid rgba(74, 102, 255, .26);

    background:
        radial-gradient(
            circle at 32% 24%,
            rgba(76, 213, 255, .17),
            transparent 39%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f2f5ff
        );

    box-shadow:
        0 12px 30px rgba(40, 63, 140, .11),
        0 0 24px rgba(75, 112, 255, .10),
        inset 0 1px 0 rgba(255,255,255,.9);
}

.scroll-cue-light .scroll-cue-button::before {
    border: 1px solid rgba(74, 102, 255, .11);
}

.scroll-cue-light .scroll-cue-button::after {
    background: #5ccfff;
}

.scroll-cue-light svg {
    stroke: #4966ff;
}

.scroll-cue-light:hover .scroll-cue-button {
    transform: translateY(2px) scale(1.055);

    border-color: rgba(74, 102, 255, .45);

    box-shadow:
        0 15px 34px rgba(54, 73, 150, .16),
        0 0 30px rgba(75, 112, 255, .17);
}

.scroll-cue-light:hover .scroll-cue-label {
    color: #53627b;
}

/* ----------------------------------------------------------
   3 PALLINI SOTTO
   ---------------------------------------------------------- */

.scroll-cue-dots {
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: -1px;
}

.scroll-cue-dots i {
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: cpDotPulse 1.55s ease-in-out infinite;
}

.scroll-cue-dots i:nth-child(2) {
    animation-delay: .16s;
    opacity: .72;
}

.scroll-cue-dots i:nth-child(3) {
    animation-delay: .32s;
    opacity: .45;
}

.hero-scroll-cue .scroll-cue-dots i,
.scroll-cue-dark .scroll-cue-dots i {
    background: linear-gradient(
        180deg,
        #65dfff,
        #526fff
    );

    box-shadow:
        0 0 9px rgba(76, 157, 255, .38);
}

.scroll-cue-light .scroll-cue-dots i {
    background: linear-gradient(
        180deg,
        #536eff,
        #5acfff
    );

    box-shadow:
        0 0 8px rgba(74, 115, 255, .20);
}

/* ----------------------------------------------------------
   ANIMAZIONI
   ---------------------------------------------------------- */

@keyframes cpArrowFloat {
    0%,
    100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(4px);
    }
}

@keyframes cpDotPulse {
    0%,
    100% {
        transform: scale(.78);
        opacity: .34;
    }

    50% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .scroll-cue svg,
    .scroll-cue-dots i {
        animation: none;
    }

}

/* === SCROLL BUTTON V3 END === */


/* === PROJECTS VISUAL V4 START === */

.projects-heading-visual {
    margin-bottom: 38px;
}

.projects-visual {
    position: relative;
    z-index: 2;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(82, 134, 255, .24);
    background: #07101d;
    box-shadow:
        0 40px 90px rgba(0, 0, 0, .34),
        0 0 50px rgba(37, 99, 235, .08);
}

.projects-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.projects-visual-caption {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 13px 18px 15px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #71839d;
    background:
        linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
}

.projects-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow:
        inset 0 0 60px rgba(30, 92, 190, .06);
}

@media (max-width: 760px) {
    .projects-visual {
        border-radius: 18px;
    }

    .projects-showcase-image {
        aspect-ratio: auto;
    }

    .projects-visual-caption {
        grid-template-columns: 1fr;
        gap: 5px;
        text-align: left;
    }
}

/* === PROJECTS VISUAL V4 END === */


/* === SECTORS VISUAL V5 START === */

.sector-card {
    overflow: hidden;
    padding: 0;
}

.sector-card .sector-top {
    padding: 22px 22px 0;
    position: relative;
    z-index: 3;
}

.sector-media {
    position: relative;
    height: 170px;
    margin: 16px 0 0;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,.04);
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #0b1729;
}

.sector-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(8,17,31,.02) 0%,
            rgba(8,17,31,.10) 58%,
            rgba(8,17,31,.78) 100%
        );
}

.sector-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform .45s ease,
        filter .45s ease;
}

.sector-card:hover .sector-media img {
    transform: scale(1.045);
    filter: saturate(1.08) contrast(1.03);
}

.sector-card > div:not(.sector-top):not(.sector-media) {
    padding: 22px 22px 0;
}

.sector-card > a,
.sector-card > .coming-soon {
    margin: auto 22px 22px;
    padding-top: 24px;
}

.sector-card {
    min-height: 430px;
    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.sector-card:hover {
    transform: translateY(-5px);
    border-color: rgba(91,133,255,.20);
    box-shadow:
        0 24px 55px rgba(0,0,0,.18),
        0 0 30px rgba(64,110,255,.06);
}

.sector-legal:hover {
    border-color: rgba(67,175,255,.34);
    box-shadow:
        0 24px 55px rgba(0,0,0,.20),
        0 0 34px rgba(34,148,255,.12);
}

.sector-media-legal {
    box-shadow: inset 0 0 35px rgba(31,146,255,.06);
}

.sector-media-business {
    box-shadow: inset 0 0 35px rgba(45,113,255,.05);
}

.sector-media-retail {
    box-shadow: inset 0 0 35px rgba(53,166,255,.05);
}

.sector-media-public {
    box-shadow: inset 0 0 35px rgba(61,112,255,.05);
}

@media (max-width: 980px) {
    .sector-media {
        height: 190px;
    }
}

@media (max-width: 760px) {
    .sector-card {
        min-height: 410px;
    }

    .sector-media {
        height: 185px;
    }
}

/* === SECTORS VISUAL V5 END === */


/* === SOLUTION PHOTO V6 START === */

.solution-card-photo {
    min-height: 430px;
    padding: 0 0 24px;
    overflow: hidden;
}

.solution-card-photo .card-number {
    z-index: 5;
    top: 18px;
    right: 18px;
    min-width: 28px;
    padding: 6px 8px;
    border-radius: 999px;
    text-align: center;
    background: rgba(255,255,255,.82);
    box-shadow: 0 7px 20px rgba(15,30,65,.08);
    backdrop-filter: blur(8px);
}

.solution-card-photo.featured .card-number {
    color: #b7c7ff;
    background: rgba(10,22,42,.72);
    border: 1px solid rgba(255,255,255,.09);
}

.solution-media-photo {
    position: relative;
    height: 160px;
    margin: 0 0 24px;
    overflow: hidden;
    border-bottom: 1px solid rgba(15,31,62,.08);
    background: #edf2fa;
}

.solution-media-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        transparent 58%,
        rgba(7,20,42,.08) 100%
    );
}

.featured .solution-media-photo::after {
    background: linear-gradient(
        180deg,
        transparent 52%,
        rgba(5,14,30,.50) 100%
    );
}

.solution-media-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform .42s ease,
        filter .42s ease;
}

.solution-card-photo:hover .solution-media-photo img {
    transform: scale(1.045);
    filter: saturate(1.06) contrast(1.025);
}

.solution-card-photo h3,
.solution-card-photo p,
.solution-card-photo .card-link {
    margin-left: 24px;
    margin-right: 24px;
}

.solution-card-photo h3 {
    margin-bottom: 12px;
}

.solution-card-photo .card-link {
    margin-top: auto;
}

@media (max-width: 980px) {
    .solution-media-photo {
        height: 190px;
    }
}

@media (max-width: 760px) {
    .solution-card-photo {
        min-height: 390px;
    }

    .solution-media-photo {
        height: 180px;
    }
}

/* === SOLUTION PHOTO V6 END === */


/* === PROJECTS TEAM V7 START === */

.projects-visual {
    overflow: hidden;
}

.projects-showcase-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.projects-visual-caption {
    position: relative;
    z-index: 2;
}

/* Avoid extra internal overlays on top of the already-composed banner. */
.projects-visual::after {
    opacity: .18;
}

@media (max-width: 760px) {
    .projects-showcase-image {
        aspect-ratio: auto;
    }
}

/* === PROJECTS TEAM V7 END === */


/* === BRAND FOOTER V8 START === */

/* ----------------------------------------------------------
   COMPANY / LEGAL MARKS
   ---------------------------------------------------------- */

.brand-mark-logo {
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible;
}

.brand-mark-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter:
        drop-shadow(0 0 8px rgba(120, 165, 255, .18));
}

.mock-avatar-logo {
    padding: 5px;
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.08);
}

.mock-avatar-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-icon-legal {
    padding: 4px !important;
    background:
        linear-gradient(
            145deg,
            rgba(59,95,255,.22),
            rgba(70,202,255,.08)
        ) !important;
    border: 1px solid rgba(95,150,255,.20);
}

.floating-icon-legal img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ----------------------------------------------------------
   FOOTER
   ---------------------------------------------------------- */

.site-footer {
    position: relative;
    overflow: hidden;
    color: #8e9db3;
    background:
        radial-gradient(
            circle at 12% 0%,
            rgba(64,92,255,.10),
            transparent 30%
        ),
        #08111f;
    border-top: 1px solid rgba(255,255,255,.06);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .12;
    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: 48px 48px;
}

.footer-shell {
    position: relative;
    z-index: 2;
    padding-top: 62px;
}

.footer-grid {
    display: grid;
    grid-template-columns:
        minmax(230px, 1.05fr)
        minmax(150px, .65fr)
        minmax(290px, 1.25fr)
        minmax(180px, .75fr);
    gap: 48px;
    padding-bottom: 46px;
}

.footer-brand {
    transform: none;
    transform-origin: initial;
}

.footer-logo {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.footer-brand strong {
    font-size: 17px;
}

.footer-brand small {
    font-size: 9px;
}

.footer-tagline {
    max-width: 310px;
    margin: 22px 0 0;
    color: #718098;
    font-size: 12px;
    line-height: 1.75;
}

.footer-column h3 {
    margin: 6px 0 20px;
    color: #e2e8f3;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-contact-list {
    list-style: none;
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
}

.footer-contact-list li {
    display: grid;
    gap: 4px;
}

.footer-contact-list li > span {
    color: #5e708a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.footer-contact-list a {
    width: fit-content;
    max-width: 100%;
    color: #aab7ca;
    font-size: 12px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    transition:
        color .18s ease,
        transform .18s ease;
}

.footer-contact-list a:hover {
    color: #6fd6ff;
}

.footer-social-column p {
    max-width: 240px;
    margin: 0 0 20px;
    color: #687991;
    font-size: 11px;
    line-height: 1.65;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #8ea3c2;
    border: 1px solid rgba(255,255,255,.08);
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.022)
        );
    transition:
        color .2s ease,
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.social-link:hover {
    color: white;
    transform: translateY(-3px);
    border-color: rgba(81,151,255,.42);
    background: rgba(60,91,255,.14);
    box-shadow:
        0 10px 28px rgba(0,0,0,.22),
        0 0 22px rgba(57,124,255,.12);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link svg rect,
.social-link svg circle {
    fill: none;
}

.social-link:first-child svg path,
.social-link:nth-child(3) svg path {
    fill: currentColor;
    stroke: none;
}

.footer-bottom {
    min-height: 76px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.07);
    color: #596a82;
    font-size: 10px;
}

.footer-bottom span:nth-child(2) {
    text-align: center;
}

.footer-bottom a {
    justify-self: end;
    color: #7387a5;
    font-weight: 750;
    transition: color .18s ease;
}

.footer-bottom a:hover {
    color: #6ed6ff;
}


@media (max-width: 1050px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 650px) {
    .footer-shell {
        padding-top: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 38px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 22px 0;
    }

    .footer-bottom span:nth-child(2) {
        text-align: left;
    }

    .footer-bottom a {
        justify-self: start;
    }
}

/* === BRAND FOOTER V8 END === */


/* === RESPONSIVE FIX V1 PORTAL START === */

.hero-copy,
.hero-visual,
.dashboard-card,
.solution-card,
.sector-card,
.method-grid > *,
.cta-panel > *,
.footer-grid > * {
    min-width: 0;
}

@media (max-width: 1120px) {
    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

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

    .hero-visual {
        width: min(100%, 720px);
        max-width: 720px;
        min-height: 510px;
        margin-inline: auto;
    }

    .dashboard-card {
        left: 0;
        right: 0;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }
}

@media (max-width: 900px) {
    .site-header .nav {
        position: relative;
    }

    .nav-links {
        position: absolute;
        top: 78px;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        border: 1px solid rgba(255,255,255,.10);
        border-radius: 16px;
        background: #101b2e;
        box-shadow: 0 20px 50px rgba(0,0,0,.30);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block !important;
        width: 100%;
        padding: 12px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        display: grid;
        place-content: center;
        gap: 4px;
        flex: 0 0 42px;
        border: 0;
        border-radius: 12px;
        background: rgba(255,255,255,.07);
    }

    .menu-toggle span {
        width: 18px;
        height: 2px;
        background: white;
    }

    .hero {
        padding-top: 135px;
    }

    .solution-grid,
    .sector-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .nav {
        height: 70px;
    }

    .brand-mark {
        width: 39px;
        height: 39px;
    }

    .brand strong {
        font-size: 13px;
    }

    .hero {
        padding-top: 112px;
        padding-bottom: 72px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 55px);
        line-height: 1.01;
        overflow-wrap: normal;
        word-break: normal;
    }

    .hero-text {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .button {
        width: 100%;
    }

    .hero-points {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-visual {
        width: 100%;
        min-height: 390px;
        overflow: hidden;
    }

    .dashboard-card {
        inset: 10px 0 auto 0;
        min-height: 350px;
        padding: 16px;
        transform: none;
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }

    .metric {
        padding: 13px;
    }

    .metric strong {
        font-size: 22px;
    }

    .chart {
        padding: 13px;
    }

    .bars {
        height: 90px;
        gap: 8px;
    }

    .floating-card {
        transform: scale(.88);
    }

    .legal-card {
        left: -12px;
        bottom: 2px;
    }

    .ai-card {
        right: -12px;
        top: 0;
    }

    .section {
        padding-block: 72px;
    }

    .section-heading h2,
    .method h2,
    .cta-panel h2 {
        font-size: clamp(34px, 10vw, 45px);
    }

    .solution-grid,
    .sector-grid {
        grid-template-columns: 1fr;
    }

    .solution-card {
        min-height: 275px;
    }

    .sector-card {
        min-height: 290px;
    }

    .cta-panel {
        padding: 30px 22px;
    }

    .projects-showcase-image {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .footer-bottom {
        grid-template-columns: 1fr !important;
        gap: 8px;
        padding-block: 18px;
    }

    .footer-bottom span:nth-child(2) {
        text-align: left !important;
    }

    .footer-bottom a {
        justify-self: start !important;
    }
}

@media (max-width: 430px) {
    .hero h1 {
        font-size: 41px;
    }

    .hero-visual {
        min-height: 360px;
    }

    .dashboard-card {
        min-height: 330px;
    }

    .mock-header strong {
        font-size: 18px;
    }

    .floating-card {
        transform: scale(.78);
    }
}

/* === RESPONSIVE FIX V1 PORTAL END === */
/* === SOFTWARE PORTAL SECTOR CAROUSEL 03B START === */
.sector-heading-with-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 32px;
    align-items: end;
}

.sector-heading-with-controls > div:first-child {
    min-width: 0;
}

.sector-carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 6px;
}

.sector-carousel-button {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(137, 171, 230, .28);
    border-radius: 50%;
    background: rgba(19, 42, 76, .88);
    color: #f7fbff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    transition:
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        opacity .22s ease;
}

.sector-carousel-button span {
    font-size: 1.25rem;
    line-height: 1;
    transform: translateY(-1px);
}

.sector-carousel-button:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(82, 221, 186, .72);
    background: rgba(27, 58, 101, .98);
}

.sector-carousel-button:focus-visible,
.sector-carousel-track:focus-visible {
    outline: 2px solid #58e0bb;
    outline-offset: 4px;
}

.sector-carousel-button:disabled {
    opacity: .28;
    cursor: default;
    transform: none;
}

.sector-carousel-shell {
    position: relative;
    min-width: 0;
}

.sector-grid.sector-carousel-track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 18px;
    margin-inline: -2px;
    scrollbar-width: thin;
    scrollbar-color: rgba(86, 224, 186, .5) rgba(255, 255, 255, .06);
}

.sector-grid.sector-carousel-track::-webkit-scrollbar {
    height: 7px;
}

.sector-grid.sector-carousel-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .05);
    border-radius: 999px;
}

.sector-grid.sector-carousel-track::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(70, 117, 255, .72), rgba(77, 226, 188, .72));
    border-radius: 999px;
}

.sector-grid.sector-carousel-track .sector-card {
    flex: 0 0 calc((100% - 48px) / 4);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.sector-grid.sector-carousel-track .sector-media {
    overflow: hidden;
}

.sector-grid.sector-carousel-track .sector-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-carousel-progress {
    height: 2px;
    margin-top: 8px;
    background: rgba(255, 255, 255, .07);
    border-radius: 999px;
    overflow: hidden;
}

.sector-carousel-progress > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #537bff, #55dfbb);
    transition: width .18s ease;
}

@media (max-width: 1120px) {
    .sector-grid.sector-carousel-track .sector-card {
        flex-basis: calc((100% - 16px) / 2);
    }
}

@media (max-width: 760px) {
    .sector-heading-with-controls {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 18px;
        align-items: end;
    }

    .sector-carousel-controls {
        gap: 8px;
    }

    .sector-carousel-button {
        width: 42px;
        height: 42px;
    }

    .sector-grid.sector-carousel-track {
        gap: 14px;
        padding-bottom: 14px;
    }

    .sector-grid.sector-carousel-track .sector-card {
        flex-basis: min(86vw, 360px);
    }
}

@media (max-width: 520px) {
    .sector-heading-with-controls {
        grid-template-columns: 1fr;
    }

    .sector-carousel-controls {
        justify-content: flex-end;
        padding-bottom: 0;
    }

    .sector-grid.sector-carousel-track .sector-card {
        flex-basis: min(88vw, 342px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sector-grid.sector-carousel-track {
        scroll-behavior: auto;
    }

    .sector-carousel-button,
    .sector-carousel-progress > span {
        transition: none;
    }
}
/* === SOFTWARE PORTAL SECTOR CAROUSEL 03B END === */
