:root {
    --blue: #2753A6;
    --blue-dark: #183878;
    --orange: #F38A0D;
    --black: #050608;
    --text: #15171A;
    --muted: #5F6673;
    --bg: #F7F8FA;
    --white: #FFFFFF;
    --card: #F1F3F6;
    --border: #E5E8EF;
    --whatsapp: #25D366;
    --container: 1180px;
    --radius: 24px;
    --shadow: 0 18px 50px rgba(12,18,28,.12);
    --shadow-soft: 0 12px 34px rgba(12,18,28,.08);
}

* {
    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;
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

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

a:hover {
    color: var(--blue);
}

p {
    margin: 0 0 1.15rem;
}

ul,
ol {
    padding-left: 1.25rem;
}

li {
    margin: .35rem 0;
}

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

.container--narrow {
    width: min(100% - 40px,880px);
}

.skip-link {
    position: absolute;
    left: 20px;
    top: -60px;
    background: var(--blue);
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    z-index: 1000;
}

.skip-link:focus {
    top: 14px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(229,232,239,.9);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand img {
    display: block;
    max-width: 180px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:not(.btn) {
    font-weight: 700;
    font-size: 15px;
    padding: 10px 13px;
    border-radius: 999px;
    color: #20242a;
}

.main-nav a:not(.btn):hover,
.main-nav a.is-active {
    background: #eef3ff;
    color: var(--blue);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--border);
    padding: 10px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    border-radius: 4px;
    transition: .2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 800;
    line-height: 1.1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease,border .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    color: inherit;
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(243,138,13,.5);
    outline-offset: 3px;
}

.btn--primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 14px 30px rgba(39,83,166,.26);
}

.btn--primary:hover {
    background: var(--blue-dark);
    color: #fff;
}

.btn--secondary {
    background: #fff;
    color: var(--blue);
    border-color: rgba(39,83,166,.22);
}

.btn--secondary:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-soft);
    color: var(--blue);
}

.btn--on-dark {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.22);
    color: #fff;
}

.btn--on-dark:hover {
    background: #fff;
    color: var(--blue);
}

.btn--small {
    padding: 10px 16px;
    font-size: 14px;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.hero {
    position: relative;
    overflow: hidden;
    background: var(--black);
    color: #fff;
    padding: 92px 0;
}

.hero--home {
    padding: 118px 0 104px;
}

.hero--compact {
    padding: 82px 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 14%,rgba(39,83,166,.64),transparent 34%),
    radial-gradient(circle at 22% 84%,rgba(243,138,13,.32),transparent 30%),
    linear-gradient(135deg,#050608 0%,#111827 52%,#050608 100%);
}

.hero:after {
    content: "";
    position: absolute;
    inset: auto -12% -40% 45%;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 50%;
    filter: blur(.2px);
    opacity: .8;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
    align-items: center;
    gap: 52px;
    z-index: 1;
}

.hero__content h1 {
    font-size: clamp(2.25rem,7vw,4rem);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 14px 0 22px;
    max-width: 850px;
}

.hero__lead {
    font-size: clamp(1.08rem,2.3vw,1.34rem);
    color: rgba(255,255,255,.82);
    max-width: 760px;
    margin-bottom: 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--orange);
}

.eyebrow:before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 18px currentColor;
}

.proof-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.proof-bar span {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.86);
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
}

.hero-device {
    position: relative;
    min-height: 410px;
    border-radius: 32px;
    background: linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.16);
    padding: 18px;
    box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.device-toolbar {
    height: 38px;
    display: flex;
    gap: 7px;
    align-items: center;
    padding-left: 6px;
}

.device-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.44);
}

.device-screen {
    height: 320px;
    border-radius: 24px;
    background: linear-gradient(160deg,#fff 0%,#edf3ff 58%,#ffe8cc 100%);
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.screen-line {
    height: 12px;
    border-radius: 999px;
    background: #cbd6ee;
    width: 52%;
    margin-bottom: 12px;
}

.screen-line--wide {
    height: 26px;
    width: 78%;
    background: #1b2e56;
    margin-bottom: 16px;
}

.screen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 28px;
}

.screen-grid span {
    height: 78px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(39,83,166,.12);
    border: 1px solid rgba(39,83,166,.12);
}

.screen-panel {
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 46%;
    background: #0b1020;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 18px 50px rgba(5,6,8,.25);
}

.screen-panel div {
    height: 9px;
    background: rgba(255,255,255,.22);
    border-radius: 999px;
    margin: 10px 0;
}

.screen-panel div:first-child {
    width: 82%;
    background: var(--orange);
}

.device-card {
    position: absolute;
    background: #fff;
    color: var(--text);
    border-radius: 18px;
    padding: 13px 16px;
    font-weight: 900;
    box-shadow: var(--shadow);
}

.device-card--one {
    left: -12px;
    bottom: 54px;
    color: var(--blue);
}

.device-card--two {
    right: -10px;
    top: 92px;
    color: #087b3a;
}

.hero-aside {
    border-radius: 30px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    padding: 30px;
    box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.hero-aside ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.hero-aside li {
    position: relative;
    padding-left: 28px;
    margin: 12px 0;
    color: rgba(255,255,255,.84);
}

.hero-aside li:before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--orange);
}

.section {
    padding: 60px 0;
}

.section--muted {
    background: #fff;
}

.section--dark {
    background: var(--black);
    color: #fff;
}

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

.section-heading h2,
.final-cta h2 {
    font-size: clamp(1.9rem,4vw,2.8rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    margin: 12px 0 16px;
}

.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
}

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

.service-card {
    display: flex;
    flex-direction: column;
    min-height: 278px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 1px 0 rgba(12,18,28,.04);
    transition: .22s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(39,83,166,.35);
    color: var(--text);
}

.service-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: linear-gradient(135deg,var(--blue),var(--orange));
    margin-bottom: 20px;
    position: relative;
}

.service-card__icon:after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,.85);
}

.service-card h3 {
    font-size: 1.25rem;
    line-height: 1.2;
    margin: 0 0 12px;
    letter-spacing: -.02em;
}

.service-card p {
    color: var(--muted);
    margin: 0 0 22px;
}

.service-card__link {
    margin-top: auto;
    color: var(--blue);
    font-weight: 900;
}

.prose {
    font-size: 1.06rem;
    background: #fff;
    border: 1px solid rgba(229,232,239,.8);
    border-radius: 30px;
    padding: clamp(26px,4vw,52px);
    box-shadow: 0 20px 70px rgba(12,18,28,.06);
}

.prose h2 {
    font-size: clamp(1.65rem,3.5vw,2.35rem);
    line-height: 1.14;
    letter-spacing: -.032em;
    margin: 2.4rem 0 1rem;
    color: #101318;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose h3 {
    font-size: 1.28rem;
    line-height: 1.25;
    margin: 1.7rem 0 .7rem;
    color: #15171A;
}

.prose p {
    color: #313743;
}

.prose a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.prose strong {
    color: #111827;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    display: block;
}

.prose thead,
.prose tbody,
.prose tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.prose th,
.prose td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.prose th {
    background: #edf3ff;
    color: #142d62;
}

.prose tr:last-child td {
    border-bottom: 0;
}

.prose ul li::marker {
    color: var(--orange);
}

.faq-block {
    margin-top: 2.2rem;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #fbfcff;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 900;
    color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:after {
    content: "+";
    font-size: 1.4rem;
    color: var(--blue);
}

.faq-item[open] summary:after {
    content: "–";
}

.faq-answer {
    padding: 0 22px 18px;
    color: var(--muted);
}

.final-cta {
    background: radial-gradient(circle at 80% 10%,rgba(39,83,166,.52),transparent 32%),
    radial-gradient(circle at 18% 100%,rgba(243,138,13,.35),transparent 30%),
    var(--black);
    color: #fff;
}

.final-cta__inner {
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 34px;
    padding: clamp(30px,5vw,58px);
    background: rgba(255,255,255,.06);
    box-shadow: 0 30px 80px rgba(0,0,0,.26);
}

.final-cta p {
    max-width: 760px;
    color: rgba(255,255,255,.78);
    font-size: 1.12rem;
}

.site-footer {
    background: #050608;
    color: rgba(255,255,255,.78);
    padding: 72px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr .9fr 1.15fr;
    gap: 36px;
}

.footer-logo {
    filter: brightness(0) invert(1);
    max-width: 170px;
    margin-bottom: 18px;
}

.site-footer h2 {
    font-size: 1rem;
    color: #fff;
    margin: 0 0 16px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin: 9px 0;
}

.site-footer a {
    color: rgba(255,255,255,.78);
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 44px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: .92rem;
}

.whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--whatsapp);
    color: #083b1d;
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 900;
    box-shadow: 0 14px 34px rgba(37,211,102,.34);
}

.whatsapp-widget:hover {
    color: #083b1d;
    transform: translateY(-2px);
}

.whatsapp-widget span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
}

.cookie-banner {
    position: fixed;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 120;
    max-width: 980px;
    margin-inline: auto;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 22px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-banner p {
    margin: 0;
    color: var(--muted);
    font-size: .95rem;
}

.cookie-banner a {
    color: var(--blue);
    font-weight: 800;
}

.cookie-banner>div {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-banner.is-hidden {
    display: none;
}

@media (max-width: 980px){
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 78px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 22px;
        box-shadow: var(--shadow);
        padding: 14px;
        z-index: 110;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a:not(.btn) {
        padding: 14px 16px;
    }

    .main-nav .btn {
        width: 100%;
        margin-top: 6px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .hero--home {
        padding: 84px 0 76px;
    }

    .hero--compact {
        padding: 72px 0;
    }

    .hero__visual {
        order: 2;
    }

    .hero-device {
        min-height: 300px;
    }

    .device-screen {
        height: 230px;
        padding: 20px;
    }

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

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

    .cookie-banner {
        align-items: flex-start;
        flex-direction: column;
        bottom: 14px;
        left: 14px;
        right: 14px;
    }
}

@media (max-width: 680px){
    .container,
    .container--narrow {
        width: min(100% - 32px, var(--container));
    }

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        max-width: 150px;
    }

    .main-nav {
        top: 70px;
        left: 16px;
        right: 16px;
    }

    .hero__content h1 {
        font-size: clamp(2.15rem,12vw,2.85rem);
    }

    .hero__lead {
        font-size: 1.02rem;
    }

    .cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        padding: 15px 18px;
    }

    .proof-bar span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .section {
        padding: 66px 0;
    }

    .prose {
        border-radius: 24px;
        padding: 24px;
    }

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

    .service-card {
        min-height: auto;
    }

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

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

    .whatsapp-widget {
        right: 16px;
        bottom: 16px;
        padding: 13px 15px;
    }

    .whatsapp-widget strong {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after {
        scroll-behavior: auto!important;
        transition: none!important;
        animation: none!important;
    }
}

/* Aggiornamenti CTA, visual e icone servizi */
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-card__icon::after {
    content: none;
}

.service-card__icon svg {
    width: 42px;
    height: 42px;
    display: block;
    flex: 0 0 auto;
}

.section-visual {
    margin: 36px 0 44px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: var(--white);
    border: 1px solid var(--border);
}

.section-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.content-visual {
    margin: 38px 0 42px;
}

.content-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1200/520;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(229,232,239,.9);
    background: #13264A;
}

.contact-actions {
    margin: 28px 0 34px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.contact-actions .cta-row {
    margin-bottom: 18px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list--inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.contact-list li {
    margin: 0;
    color: var(--muted);
}

.contact-list a {
    color: var(--blue);
    font-weight: 800;
}

.contact-card {
    margin: 34px 0;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin-top: 18px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--bg);
}

.contact-method span {
    color: var(--orange);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px;
    font-weight: 900;
}

.contact-method strong {
    color: var(--text);
    font-size: 18px;
}

.contact-method small {
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width:760px){
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .contact-list--inline {
        display: block;
    }

    .contact-list--inline li {
        margin: .45rem 0;
    }

    .contact-actions {
        padding: 20px;
    }

    .section-visual {
        margin: 28px 0 36px;
        border-radius: 22px;
    }
}

/* Aggiornamento CTA, visual SEO e icone servizi */
.service-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: transparent;
    margin-bottom: 20px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(39,83,166,.14);
}

.service-card__icon:after {
    display: none;
}

.service-card__icon img {
    width: 48px;
    height: 48px;
    display: block;
}

.contact-actions {
    margin: 32px 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.contact-actions__buttons {
    margin-bottom: 18px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
}

.contact-list li {
    margin: 0;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f7f8fa;
    border: 1px solid var(--border);
    color: var(--muted);
}

.contact-list strong {
    color: var(--text);
}

.contact-list a {
    color: var(--blue);
    font-weight: 800;
}

.preventivo-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 22px;
    align-items: start;
}

.preventivo-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.preventivo-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
    line-height: 1.25;
}

.preventivo-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preventivo-list li {
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #f7f8fa;
}

.preventivo-list a {
    color: var(--blue);
    font-weight: 900;
}

@media (max-width: 860px){
    .contact-list {
        grid-template-columns: 1fr;
    }

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

    .content-visual {
        margin: 30px 0 34px;
    }
}

/* Fix estetico CTA finali - revisione post feedback */
.contact-actions {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 22px;
    margin: 34px 0 40px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: radial-gradient(circle at 12% 0%, rgba(243,138,13,.22), transparent 32%),
    radial-gradient(circle at 95% 15%, rgba(39,83,166,.36), transparent 38%),
    linear-gradient(135deg, #071020 0%, #101f3a 48%, #15336a 100%);
    box-shadow: 0 26px 70px rgba(8,15,29,.22);
    color: #fff;
}

.contact-actions::before {
    content: "CONTATTO DIRETTO";
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(243,138,13,.13);
    color: #ffb35a;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.contact-actions__buttons,
.contact-actions .cta-row {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 0;
}

.contact-actions .btn {
    min-height: 50px;
    padding: 15px 22px;
    text-decoration: none;
    white-space: normal;
}

.contact-actions .btn--primary {
    background: var(--orange);
    color: #071020;
    border-color: var(--orange);
    box-shadow: 0 16px 34px rgba(243,138,13,.24);
}

.contact-actions .btn--primary:hover {
    background: #ff9f2f;
    color: #071020;
    border-color: #ff9f2f;
}

.contact-actions .btn--secondary {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.26);
    box-shadow: none;
}

.contact-actions .btn--secondary:hover {
    background: #fff;
    color: var(--blue-dark);
    border-color: #fff;
}

.contact-actions .contact-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-actions .contact-list li {
    position: relative;
    margin: 0;
    padding: 18px 18px 18px 46px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.76);
    line-height: 1.45;
    backdrop-filter: blur(10px);
}

.contact-actions .contact-list li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 22px;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: var(--orange);
    box-shadow: 0 0 0 6px rgba(243,138,13,.12);
}

.contact-actions .contact-list strong {
    display: block;
    margin-bottom: 4px;
    color: #fff;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.contact-actions .contact-list a {
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-actions .contact-list a:hover {
    color: #ffb35a;
}

@media (max-width:860px){
    .contact-actions {
        padding: 24px;
        border-radius: 24px;
        gap: 18px;
    }

    .contact-actions .contact-list {
        grid-template-columns: 1fr;
    }

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

/* Rifinitura CTA finali: testi più compatti e contatti su una riga dove possibile */
.contact-actions .contact-list li {
    padding: 16px 16px 16px 42px;
    line-height: 1.35;
}

.contact-actions .contact-list li::before {
    left: 16px;
    top: 20px;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 0 5px rgba(243,138,13,.12);
}

.contact-actions .contact-list strong {
    font-size: 10.5px;
    letter-spacing: .08em;
    margin-bottom: 5px;
}

.contact-actions .contact-list a {
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: .01em;
    font-weight: 850;
    overflow-wrap: normal;
    word-break: normal;
    white-space: nowrap;
}

@media (min-width:980px){
    .contact-actions .contact-list {
        grid-template-columns: 1fr 1fr 1.16fr;
    }
}

@media (max-width:1120px) and (min-width:861px){
    .contact-actions .contact-list a {
        font-size: 14px;
    }

    .contact-actions .contact-list strong {
        font-size: 10px;
    }
}

@media (max-width:420px){
    .contact-actions .contact-list a {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Dati legali nel footer */
.footer-legal {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.55;
}

.footer-legal p {
    margin: 0 0 8px;
}

.footer-legal p:last-child {
    margin-bottom: 0;
}

.footer-legal strong {
    color: #fff;
    font-weight: 850;
}

/* Portfolio slideshow */
.portfolio-stats {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    margin: 30px 0 8px;
}

.portfolio-stats div {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.portfolio-stats strong {
    display: block;
    color: var(--blue);
    font-size: clamp(1.55rem,3vw,2.1rem);
    line-height: 1;
    letter-spacing: -.04em;
}

.portfolio-stats span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.35;
}

.portfolio-showcase {
    padding-top: 24px;
    padding-bottom: 72px;
}

.portfolio-showcase + .portfolio-showcase {
    padding-top: 0;
}

.portfolio-showcase__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.portfolio-showcase__head h2 {
    max-width: 820px;
    margin: 10px 0 10px;
    font-size: clamp(1.85rem,4vw,2.7rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.portfolio-showcase__head p {
    max-width: 820px;
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
}

.portfolio-showcase__meta {
    min-width: 138px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.portfolio-showcase__meta strong {
    display: block;
    color: var(--orange);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.portfolio-showcase__meta span {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.portfolio-slider {
    position: relative;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 32px;
    background: radial-gradient(circle at 8% 0%, rgba(243,138,13,.10), transparent 32%),
    linear-gradient(180deg,#fff 0%,#f7f8fa 100%);
    box-shadow: var(--shadow-soft);
}

.portfolio-slider__viewport {
    overflow: hidden;
    border-radius: 24px;
}

.portfolio-slide {
    display: none;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    animation: portfolioFade .45s ease;
}

.portfolio-slide.is-active {
    display: grid;
}

.portfolio-slide--single {
    grid-template-columns: 1fr;
}

.portfolio-slide--single .portfolio-item {
    max-width: 720px;
    margin-inline: auto;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(229,232,239,.95);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(12,18,28,.08);
}

.portfolio-item img {
    display: block;
    width: 100%;
    aspect-ratio: 768/613;
    object-fit: cover;
    object-position: top center;
    background: #eef2f8;
    transition: transform .35s ease;
}

.portfolio-item:hover img {
    transform: scale(1.025);
}

.portfolio-item figcaption {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    width: max-content;
    max-width: calc(100% - 28px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(5,6,8,.72);
    color: #fff;
    font-size: .86rem;
    font-weight: 850;
    line-height: 1.2;
    backdrop-filter: blur(10px);
}

.portfolio-slider__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
}

.portfolio-slider__arrow {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(39,83,166,.20);
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(12,18,28,.08);
    transition: transform .2s ease, background .2s ease, color .2s ease, border .2s ease;
}

.portfolio-slider__arrow:hover {
    transform: translateY(-2px);
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.portfolio-slider__counter {
    min-width: 72px;
    color: var(--muted);
    font-weight: 850;
    text-align: center;
}

@keyframes portfolioFade{
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width:860px){
    .portfolio-showcase__head {
        display: block;
    }

    .portfolio-showcase__meta {
        width: max-content;
        margin-top: 18px;
    }

    .portfolio-slide {
        grid-template-columns: 1fr;
    }

    .portfolio-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width:560px){
    .portfolio-slider {
        padding: 14px;
        border-radius: 24px;
    }

    .portfolio-slider__viewport,
    .portfolio-item {
        border-radius: 18px;
    }

    .portfolio-item figcaption {
        position: static;
        width: auto;
        max-width: none;
        border-radius: 0;
        background: #071020;
    }

    .portfolio-showcase {
        padding-bottom: 54px;
    }
}

/* Reviews section */
.reviews-section {
    background: radial-gradient(circle at 10% 0%, rgba(39,83,166,.08), transparent 34%),
    linear-gradient(180deg,#fff 0%,#f7f8fa 100%);
}

.reviews-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.reviews-heading .btn {
    margin-top: 4px;
}

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

.review-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(229,232,239,.96);
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(12,18,28,.06);
}

.review-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.review-stars {
    color: var(--orange);
    letter-spacing: .08em;
    font-size: .98rem;
    line-height: 1;
}

.review-source {
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef3ff;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 850;
}

.review-card blockquote {
    margin: 0;
    color: #28303b;
    font-size: .98rem;
    line-height: 1.65;
}

.review-author {
    margin: auto 0 0;
    padding-top: 18px;
    font-weight: 850;
    color: var(--text);
}

.reviews-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: .95rem;
}

@media (max-width:980px){
    .reviews-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:680px){
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card {
        padding: 20px;
        border-radius: 20px;
    }
}

/* Correzione titolo box IN QUESTA PAGINA */
.hero-aside .eyebrow::before,
.hero-aside .eyebrow:before {
    display: none;
}
