:root {
    --navy: #0b3158;
    --blue: #214d72;
    --cyan: #5c982f;
    --green: #5c982f;
    --ink: #142331;
    --muted: #65717d;
    --line: #dce3e8;
    --paper: #f5f7f8;
    --white: #fff;
    --header-h: 84px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter,Arial,sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1200px,calc(100% - 48px));
    margin: auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    margin: 0 0 20px;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--blue);
}

.eyebrow.light {
    color: var(--cyan);
}

.section-title {
    font: 700 clamp(2.3rem,5vw,4.8rem)/1.02 Inter,sans-serif;
    letter-spacing: -.05em;
    margin: 0;
}

.lead {
    font-size: 1.35rem;
    color: var(--ink);
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--header-h);
    padding: 0 24px;
    color: var(--navy);
    background: #f8faf9;
    border-bottom: 1px solid #e5ebef;
    transition: .35s;
}

.header-inner {
    position: relative;
    width: min(100%, 1320px);
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.site-header.scrolled {
    height: 70px;
    background: rgba(248,250,249,.96);
    backdrop-filter: blur(16px);
    color: var(--navy);
    box-shadow: 0 10px 30px rgba(7,35,65,.08);
    border-bottom-color: #e5ebef;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 190px;
    margin-right: 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 190px;
    height: 52px;
    overflow: hidden;
}

.brand-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: left center;
}

.desktop-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: .9rem;
    font-weight: 600;
}

.desktop-nav a,.contact-link {
    position: relative;
}

.desktop-nav a:after,.contact-link:after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--cyan);
    transition: .25s;
}

.desktop-nav a:hover:after,.contact-link:hover:after {
    right: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.lang-btn,.menu-toggle {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.lang-btn {
    font-size: .8rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 30px;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: currentColor;
    margin: 6px 0;
}

.mobile-menu {
    position: fixed;
    z-index: 45;
    inset: 0;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    font: 600 2rem Manrope;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/steel-pipelines-cables-plant2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,13,25,.88),rgba(2,13,25,.18)),linear-gradient(0deg,rgba(2,13,25,.65),transparent 55%);
}

.hero-content {
    position: relative;
    padding-bottom: 110px;
}

.hero h1 {
    font: 700 clamp(3.2rem,8vw,7.4rem)/.92 Manrope;
    margin: 0;
    letter-spacing: -.065em;
    max-width: 950px;
}

.hero-copy {
    max-width: 610px;
    font-size: 1.2rem;
    margin: 28px 0 34px;
    color: rgba(255,255,255,.82);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 23px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    border: 1px solid transparent;
    transition: .25s;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: #0057d8;
    transform: translateY(-2px);
}

.btn-outline {
    border-color: rgba(255,255,255,.65);
    color: #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--navy);
}

.btn-light {
    background: #fff;
    color: var(--navy);
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    margin-top: 16px;
}

.text-link.light {
    color: #fff;
}

.scroll-indicator {
    position: absolute;
    right: 42px;
    bottom: 38px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: .65rem;
    letter-spacing: .15em;
    transform: rotate(90deg);
    transform-origin: right;
}

.scroll-indicator i {
    display: block;
    width: 60px;
    height: 1px;
    background: #fff;
}

.intro {
    background: var(--paper);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 90px;
}

.intro-copy p:not(.lead) {
    color: var(--muted);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    margin-top: 90px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.stat-card {
    padding: 38px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-card strong {
    display: block;
    font: 700 3.2rem Manrope;
    color: var(--blue);
}

.stat-card span {
    color: var(--muted);
}

.dark-section {
    background: var(--navy);
    color: #fff;
}

.split-feature {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 80px;
}

.feature-visual {
    overflow: hidden;
}

.feature-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.feature-visual:before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255,255,255,.04),0 0 0 140px rgba(255,255,255,.03);
}

.image-label {
    font-size: .72rem;
    letter-spacing: .18em;
    color: rgba(255,255,255,.75);
    z-index: 1;
}

.feature-copy h2 {
    font: 700 clamp(2.5rem,5vw,5rem)/1 Manrope;
    margin: 0 0 24px;
    letter-spacing: -.05em;
}

.feature-copy p {
    color: rgba(255,255,255,.68);
    margin-bottom: 30px;
}

.section-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
    margin-bottom: 55px;
}

.section-heading-row>p {
    max-width: 430px;
    color: var(--muted);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
}

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    transition: .3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(7,26,45,.12);
}

.card-image {
    height: 300px;
    position: relative;
    background: linear-gradient(145deg,#16445a,#33a5b3);
}

.card-image span {
    position: absolute;
    right: 20px;
    top: 18px;
    color: #fff;
    font: 600 1rem Manrope;
}

.image-two {
    background: linear-gradient(145deg,#384452,#7b8c9e);
}

.image-three {
    background: linear-gradient(145deg,#0b3a73,#00a6c4);
}

.card-body {
    padding: 28px;
}

.card-body h3 {
    font: 700 1.55rem Manrope;
    margin: 0 0 12px;
}

.card-body p {
    color: var(--muted);
}

.card-body a,.news-card a {
    font-weight: 700;
    color: var(--blue);
}

.projects {
    background: #09233c;
    color: #fff;
}

.project-showcase {
    min-height: 650px;
    margin-top: 30px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(110deg,rgba(1,18,35,.88),rgba(1,18,35,.08)),linear-gradient(145deg,#2f7185,#93c5c9);
    padding: 60px;
}

.project-content {
    max-width: 620px;
}

.project-content>span {
    font-size: .72rem;
    letter-spacing: .16em;
    color: var(--cyan);
}

.project-content h2 {
    font: 700 clamp(2.8rem,6vw,5.8rem)/.96 Manrope;
    margin: 16px 0;
    letter-spacing: -.05em;
}

.project-content p {
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.sustainability-copy p {
    color: var(--muted);
}

.goal-list {
    border-top: 1px solid var(--line);
}

.goal-list article {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 18px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}

.goal-list>article>span {
    font-weight: 700;
    color: var(--blue);
}

.goal-list h3 {
    margin: 0;
    font: 700 1.35rem Manrope;
}

.goal-list p {
    margin: 6px 0 0;
    color: var(--muted);
}

.people {
    position: relative;
    min-height: 620px;
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.people-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(3,16,27,.9),rgba(3,16,27,.2)), url("../images/teamwork-mani-ufficio.jpg") center / cover no-repeat;
}

.people-bg:after {
    content: "";
    position: absolute;
    right: 9%;
    bottom: -18%;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
}

.people-content {
    position: relative;
}

.people-content h2 {
    font: 700 clamp(3rem,7vw,6.5rem)/.95 Manrope;
    max-width: 780px;
    margin: 0 0 24px;
    letter-spacing: -.055em;
}

.people-content p {
    max-width: 560px;
    color: rgba(255,255,255,.76);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 26px;
}

.news-image {
    height: 260px;
    background: linear-gradient(145deg,#103650,#2e899b);
    margin-bottom: 20px;
}

.news-image.alt {
    background: linear-gradient(145deg,#8d9da4,#d2d9dc);
}

.news-image.third {
    background: linear-gradient(145deg,#13213f,#49628b);
}

.news-card>span {
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted);
}

.news-card h3 {
    font: 700 1.45rem/1.25 Manrope;
    margin: 12px 0 18px;
}

.cta-section {
    background: var(--blue);
    color: #fff;
    padding: 105px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-inner h2 {
    font: 700 clamp(2.4rem,5vw,4.8rem)/1 Manrope;
    margin: 0;
    letter-spacing: -.05em;
}

.site-footer {
    background: #061524;
    color: rgba(255,255,255,.72);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3,1fr);
    gap: 70px;
}

.footer-brand {
    color: #fff;
    margin-bottom: 22px;
}

.footer-grid h4 {
    color: #fff;
    margin: 0 0 20px;
}

.footer-grid a {
    display: block;
    margin: 10px 0;
}

.footer-grid a:hover {
    color: var(--cyan);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    margin-top: 60px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: .78rem;
}

.footer-bottom div {
    display: flex;
    gap: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease,transform .7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media(max-width:980px) {
    .desktop-nav,.contact-link {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .intro-grid,.split-feature,.sustainability-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .cards-grid,.news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-visual {
        min-height: 420px;
    }

    .section {
        padding: 85px 0;
    }
}

@media(max-width:680px) {
    :root {
        --header-h: 72px;
    }

    .container {
        width: min(100% - 30px,1200px);
    }

    .site-header {
        padding: 0 16px;
    }

    .brand {
        flex-basis: 165px;
    }

    .brand-logo {
        width: 165px;
        height: 46px;
    }

    .hero-content {
        padding-bottom: 88px;
    }

    .hero h1 {
        font-size: clamp(3rem,16vw,4.7rem);
    }

    .scroll-indicator {
        display: none;
    }

    .section {
        padding: 68px 0;
    }

    .section-heading-row,.cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .stats-grid,.cards-grid,.news-grid,.footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        margin-top: 55px;
    }

    .split-feature {
        gap: 35px;
    }

    .feature-visual {
        min-height: 310px;
    }

    .project-showcase {
        min-height: 520px;
        padding: 28px;
    }

    .project-content h2 {
        font-size: 2.8rem;
    }

    .people {
        min-height: 560px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .mobile-menu nav {
        font-size: 1.6rem;
    }
}

/* Pagine interne */
.inner-header {
    position: fixed;
    background: var(--navy);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.inner-main {
    padding-top: 70px;
}

.inner-hero {
    min-height: 570px;
    display: flex;
    align-items: flex-end;
    padding: 110px 0 85px;
    color: #fff;
    background: linear-gradient(110deg,rgba(2,15,29,.88),rgba(2,15,29,.24)), url("../images/steel-pipelines-cables-plant2.jpg") center / cover no-repeat;
}

.inner-hero.company-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.88),rgba(2,15,29,.24)), url("../images/high-voltage-tower-isolated-sky.jpg") center / cover no-repeat;
}

.inner-hero.careers-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.88),rgba(2,15,29,.24)), url("../images/steel-pipelines-cables-plant2.jpg") center / cover no-repeat;
}

.inner-hero h1 {
    font: 700 clamp(3.5rem,8vw,7rem)/.92 Manrope;
    margin: 0;
    letter-spacing: -.065em;
}

.inner-hero p:not(.eyebrow) {
    max-width: 700px;
    font-size: 1.18rem;
    color: rgba(255,255,255,.8);
    margin: 28px 0 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.compact-title {
    font-size: clamp(2.5rem,5vw,4.7rem);
}

.prose p {
    color: var(--muted);
    font-size: 1.05rem;
}

.prose .lead {
    color: var(--ink);
    font-size: 1.35rem;
}

.soft-section {
    background: var(--paper);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px;
    margin-top: 45px;
}

.info-card {
    padding: 34px;
    border: 1px solid var(--line);
    background: #fff;
}

.info-card>span {
    font-weight: 700;
    color: var(--blue);
}

.info-card h3 {
    font: 700 1.5rem Manrope;
    margin: 45px 0 12px;
}

.info-card p {
    color: var(--muted);
}

.job-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 340px;
    gap: 80px;
    align-items: start;
}

.job-block {
    padding-bottom: 55px;
    margin-bottom: 55px;
    border-bottom: 1px solid var(--line);
}

.check-list {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
}

.check-list li {
    position: relative;
    padding: 15px 0 15px 34px;
    border-bottom: 1px solid var(--line);
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 800;
}

.job-sidebar {
    position: sticky;
    top: 100px;
}

.job-summary {
    padding: 30px;
    background: var(--navy);
    color: #fff;
}

.job-summary span {
    display: block;
    margin-top: 22px;
    font-size: .68rem;
    letter-spacing: .15em;
    color: var(--cyan);
}

.job-summary span:first-child {
    margin-top: 0;
}

.job-summary strong {
    display: block;
    margin-top: 5px;
    font: 600 1.05rem Manrope;
}

.full-btn {
    width: 100%;
    margin-top: 12px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 12px;
    margin-top: 35px;
}

.software-grid span {
    display: grid;
    place-items: center;
    min-height: 110px;
    border: 1px solid var(--line);
    font: 700 1.05rem Manrope;
}

.light-prose p {
    color: rgba(255,255,255,.68);
}

.light-prose .lead {
    color: #fff;
}

@media(max-width:980px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .job-layout {
        grid-template-columns: 1fr;
    }

    .job-sidebar {
        position: static;
    }

    .software-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:680px) {
    .cta-section {
        padding: 85px 0;
    }

    .inner-main {
        padding-top: 72px;
    }

    .inner-hero {
        min-height: 500px;
        padding: 80px 0 55px;
    }

    .inner-hero h1 {
        font-size: clamp(3.2rem,17vw,5rem);
    }

    .software-grid {
        grid-template-columns: 1fr 1fr;
    }

    .job-block {
        padding-bottom: 35px;
        margin-bottom: 35px;
    }
}

/* Multipagina estesa */
.services-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.92),rgba(2,15,29,.28)),linear-gradient(135deg,#123b5d,#1f8ea5);
}

.projects-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.92),rgba(2,15,29,.22)),linear-gradient(135deg,#10283f,#4d7688);
}

.sustainability-hero {
    background: linear-gradient(110deg,rgba(2,23,28,.92),rgba(2,23,28,.18)),linear-gradient(135deg,#174c4b,#5c9c83);
}

.news-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.92),rgba(2,15,29,.24)),linear-gradient(135deg,#18304d,#6a8096);
}

.contact-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.94),rgba(2,15,29,.2)),linear-gradient(135deg,#0a3555,#168899);
}

.service-detail h2 {
    font: 700 clamp(2.3rem,4.5vw,4.3rem)/1 Manrope;
    margin: 8px 0 24px;
    letter-spacing: -.045em;
}

.detail-number {
    font: 700 clamp(5rem,12vw,10rem)/.8 Manrope;
    color: rgba(0,103,255,.12);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.case-card {
    border: 1px solid var(--line);
    background: #fff;
}

.case-visual {
    height: 360px;
    background: linear-gradient(145deg,#173b52,#4ca6ac);
}

.case-b {
    background: linear-gradient(145deg,#3c4954,#a5bac0);
}

.case-c {
    background: linear-gradient(145deg,#14305e,#4774a0);
}

.case-d {
    background: linear-gradient(145deg,#335b51,#8ab4a2);
}

.case-card>div:last-child {
    padding: 30px;
}

.case-card span {
    font-size: .68rem;
    letter-spacing: .13em;
    color: var(--muted);
    font-weight: 700;
}

.case-card h3 {
    font: 700 1.75rem Manrope;
    margin: 12px 0;
}

.case-card p {
    color: var(--muted);
}

.case-card a {
    color: var(--blue);
    font-weight: 700;
}

.dark-goals {
    border-color: rgba(255,255,255,.15);
}

.dark-goals article {
    border-color: rgba(255,255,255,.15);
}

.dark-goals p {
    color: rgba(255,255,255,.62);
}

.expanded-news {
    row-gap: 60px;
}

.news-card p {
    color: var(--muted);
}

.news-image.fourth {
    background: linear-gradient(145deg,#37535c,#8eb0b6);
}

.news-image.fifth {
    background: linear-gradient(145deg,#1e554d,#75a98c);
}

.news-image.sixth {
    background: linear-gradient(145deg,#342e48,#7b709a);
}

.contact-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 90px;
}

.contact-copy>p {
    color: var(--muted);
}

.contact-lines {
    margin-top: 45px;
    border-top: 1px solid var(--line);
}

.contact-lines div {
    padding: 23px 0;
    border-bottom: 1px solid var(--line);
}

.contact-lines span {
    display: block;
    font-size: .67rem;
    letter-spacing: .15em;
    color: var(--muted);
    margin-bottom: 8px;
}

.contact-lines a,.contact-lines strong {
    font: 600 1.1rem Manrope;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding: 38px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.contact-form label {
    font-size: .78rem;
    font-weight: 700;
}

.contact-form input,.contact-form select,.contact-form textarea {
    width: 100%;
    margin-top: 9px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 14px;
    font: inherit;
}

.full-field {
    grid-column: 1/-1;
}

.privacy-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400!important;
    color: var(--muted);
}

.privacy-check input {
    width: auto;
    margin-top: 2px;
}

@media(max-width:980px) {
    .project-grid,.contact-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width:680px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .case-visual {
        height: 270px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .full-field {
        grid-column: auto;
    }
}

/* Pagina clienti */
.clients-hero {
    background: linear-gradient(110deg,rgba(2,15,29,.93),rgba(2,15,29,.24)), url("../images/handshake.jpg") center / cover no-repeat;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.client-card {
    min-height: 220px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

.client-card img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 115px;
    object-fit: contain;
    filter: saturate(.92);
}

.client-card span {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

@media(max-width:980px) {
    .clients-grid {
        grid-template-columns: repeat(3,1fr);
    }
}

@media(max-width:680px) {
    .clients-grid {
        grid-template-columns: 1fr 1fr;
    }

    .client-card {
        min-height: 170px;
        padding: 20px;
    }

    .client-card img {
        max-height: 85px;
    }
}


/* Elaborati tecnici */
.deliverables-hero {
    background:
        linear-gradient(110deg, rgba(2, 15, 29, .94), rgba(2, 15, 29, .42)),
        url("../images/steel-pipelines-cables-plant2.jpg") center / cover no-repeat;
}

.deliverables-intro .section-heading {
    max-width: 820px;
    margin-bottom: 48px;
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(10, 42, 66, .12);
    border: 1px solid rgba(10, 42, 66, .12);
}

.deliverable-card {
    background: #fff;
    padding: 38px 34px;
    min-height: 250px;
}

.deliverable-num {
    display: block;
    margin-bottom: 34px;
    color: #00a9c7;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.deliverable-card h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.deliverable-card p {
    margin: 0;
    line-height: 1.7;
    color: #52616d;
}

.deliverables-process {
    background: #061b2c;
    color: #fff;
}

.process-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.deliverables-process .section-heading h2,
.deliverables-process .process-copy {
    color: #fff;
}

.process-copy p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.8;
}

.software-band {
    background: #f4f8fa;
}

.software-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.software-pills span {
    padding: 11px 17px;
    border: 1px solid rgba(6, 27, 44, .18);
    background: #fff;
    font-size: .86rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .deliverables-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .deliverables-grid {
        grid-template-columns: 1fr;
    }

    .deliverable-card {
        min-height: 0;
        padding: 30px 24px;
    }
}

/* V5 updates */

.years-number{display:flex;align-items:baseline;gap:8px;flex-shrink:0}.years-number strong{font-family:Inter,sans-serif;font-size:clamp(54px,7vw,88px);line-height:1;color:#5c982e}.years-number span{font-size:20px;font-weight:700}.years-copy h3{font-family:Inter,sans-serif;font-size:clamp(20px,2.5vw,28px);margin:8px 0}.years-copy p{margin:0;color:rgba(255,255,255,.76);max-width:600px}.years-copy .eyebrow{color:#85b95a}
.work-progress-section{padding-top:55px}.work-progress-card{max-width:850px;margin:auto;text-align:center;padding:clamp(35px,6vw,72px) 24px;border:1px solid rgba(10,48,83,.1);border-radius:24px;background:linear-gradient(140deg,#f7fafc,#fff);box-shadow:0 16px 48px rgba(10,40,70,.07)}.work-progress-card h2{font-family:Inter,sans-serif;font-size:clamp(32px,5vw,52px);line-height:1.12;margin:12px 0 18px;color:#0b2f53}.work-progress-card>p:not(.eyebrow){max-width:560px;margin:0 auto 26px;color:#647487}.progress-mark{display:flex;justify-content:center;gap:8px;margin-bottom:28px}.progress-mark span{width:42px;height:7px;border-radius:10px;background:#5c982e}.progress-mark span:nth-child(2){background:#0b2f53}.progress-mark span:nth-child(3){background:#9bc36d}.contact-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:stretch;margin-top:12px}
.contact-map-card,.contact-info-box{background:#f7f9fa;border:1px solid #e2e9ee;border-radius:22px;padding:clamp(22px,3vw,34px);box-shadow:0 12px 36px rgba(11,49,88,.06)}
.contact-map-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.contact-map-heading h2{font:700 clamp(1.5rem,2.6vw,2.25rem)/1.1 Inter,sans-serif;color:var(--navy);margin:0}
.contact-map{display:block;width:100%;height:340px;border:0;border-radius:14px}
.map-address{font-size:.9rem;color:var(--muted);margin:16px 0 0}
.contact-info-box h2{font:700 clamp(1.8rem,3vw,2.6rem)/1.1 Inter,sans-serif;color:var(--navy);margin:0 0 12px}
.contact-intro{color:var(--muted);margin:0 0 24px}
.contact-detail{padding:18px 0;border-top:1px solid var(--line)}
.contact-detail span{display:block;font-size:.68rem;font-weight:700;letter-spacing:.15em;color:var(--muted);margin-bottom:7px}
.contact-detail a,.contact-detail strong{font:600 1.08rem Inter,sans-serif;color:var(--navy)}
.contact-cta{margin-top:22px;display:inline-flex}
@media(max-width:980px){.contact-layout{grid-template-columns:1fr}.contact-map{height:360px}}
@media(max-width:650px){.contact-map-heading{align-items:flex-start;flex-direction:column}.contact-map{height:300px}.contact-map-card,.contact-info-box{padding:22px}}

/* Language selector */
.language-switcher{position:relative;display:inline-flex;align-items:center}
.lang-btn{display:flex;align-items:center;gap:5px;padding:9px 11px;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:rgba(255,255,255,.07);font-size:.78rem;letter-spacing:.04em;transition:.2s}
.lang-btn:hover{background:rgba(255,255,255,.14)}
.lang-chevron{font-size:.9rem;transition:transform .2s}
.language-switcher.open .lang-chevron{transform:rotate(180deg)}
.language-dropdown{position:absolute;right:0;top:calc(100% + 10px);min-width:145px;padding:6px;background:#fff;color:#173858;border:1px solid rgba(15,45,75,.12);border-radius:12px;box-shadow:0 12px 35px rgba(4,25,45,.18);opacity:0;transform:translateY(-6px);pointer-events:none;transition:.18s;z-index:80}
.language-switcher.open .language-dropdown{opacity:1;transform:translateY(0);pointer-events:auto}
.language-dropdown a{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:8px;font-size:.9rem;font-weight:600;white-space:nowrap}
.language-dropdown a:hover,.language-dropdown a[aria-current=page]{background:#f0f5f8}
.language-dropdown a[aria-current=page]{color:#4f9127}

/* Responsive refinement V13.3 — desktop, tablet, mobile and small devices */
:root { --header-h: 82px; }
html { scroll-padding-top: calc(var(--header-h) + 16px); }
body { overflow-x: clip; }
img, video, iframe { max-width: 100%; }
.container, .header-inner, .section-heading, .content-grid, .intro-grid,
.split-feature, .contact-layout, .job-layout, .project-grid, .process-layout,
.sustainability-grid, .deliverables-grid, .clients-grid { min-width: 0; }
.grid, [class*="-grid"] > * { min-width: 0; }
button, .btn, .lang-btn, .menu-toggle, .text-link { -webkit-tap-highlight-color: transparent; }
.btn, button { min-height: 44px; }
.hero h1, .inner-hero h1, .section-title, .project-content h2 { overflow-wrap: anywhere; }
.hero, .inner-hero { background-position: center; }
.hero-content, .inner-hero .container { width: min(100% - 48px, 1200px); margin-inline: auto; }

@media (max-width: 1100px) {
  .desktop-nav { gap: clamp(12px, 1.7vw, 22px); font-size: .82rem; }
  .brand { flex-basis: 165px; }
  .brand-logo { width: 165px; }
  .header-actions { gap: 12px; }
  .section-title { font-size: clamp(2.2rem, 5.2vw, 4.2rem); }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .site-header { padding-inline: 22px; }
  .header-inner { justify-content: space-between; }
  .brand { flex: 0 1 175px; }
  .brand-logo { width: 175px; max-width: 100%; }
  .header-actions { margin-left: auto; }
  .section { padding-block: clamp(64px, 8vw, 88px); }
  .hero-content, .inner-hero .container { width: min(100% - 44px, 1200px); }
  .contact-layout, .content-grid, .job-layout, .process-layout { grid-template-columns: 1fr; }
  .contact-map { width: 100%; }
  .project-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .deliverables-grid, .clients-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .software-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { gap: 28px; }
}
@media (max-width: 680px) {
  :root { --header-h: 70px; }
  html { scroll-padding-top: 82px; }
  .site-header { padding-inline: 14px; }
  .brand { flex: 0 1 148px; }
  .brand-logo { width: 148px; height: 43px; }
  .header-actions { gap: 8px; }
  .lang-btn { padding: 8px 9px; font-size: .75rem; }
  .menu-toggle { width: 42px; min-width: 42px; min-height: 42px; display: grid; place-items: center; }
  .container { width: calc(100% - 32px); }
  .hero-content, .inner-hero .container { width: calc(100% - 32px); }
  .hero h1 { font-size: clamp(2.65rem, 13.5vw, 4.4rem); line-height: .98; letter-spacing: -.055em; }
  .inner-hero h1 { font-size: clamp(2.7rem, 13vw, 4.5rem); line-height: .98; }
  .section-title { font-size: clamp(2rem, 9vw, 3.25rem); line-height: 1.04; }
  .lead { font-size: clamp(1.05rem, 4.5vw, 1.22rem); }
  .eyebrow { font-size: .68rem; letter-spacing: .14em; margin-bottom: 14px; }
  .section { padding-block: 58px; }
  .section-heading-row, .section-heading, .cta-inner { gap: 18px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .btn { width: auto; max-width: 100%; padding: 12px 18px; white-space: normal; }
  .stats-grid, .cards-grid, .news-grid, .footer-grid, .project-grid,
  .deliverables-grid, .clients-grid, .info-cards, .software-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 12px; margin-top: 36px; }
  .feature-visual { min-height: clamp(260px, 70vw, 340px); }
  .project-showcase { min-height: 440px; padding: 22px; }
  .project-content h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .people { min-height: 420px; }
  .inner-main { padding-top: var(--header-h); }
  .inner-hero { min-height: 430px; padding: 76px 0 48px; }
  .contact-map { height: 290px; }
  .contact-map-card, .contact-info-box { padding: 18px; }
  .contact-map-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-bottom { align-items: flex-start; gap: 12px; flex-direction: column; }
  .mobile-menu nav { font-size: clamp(1.25rem, 6vw, 1.6rem); }
  .mobile-menu { padding-inline: 20px; }
  .language-dropdown { min-width: 130px; }
  .job-sidebar { padding: 22px; }
  .job-block { padding-bottom: 28px; margin-bottom: 28px; }
  .work-progress-card { padding: 32px 18px; border-radius: 18px; }
  .work-progress-card h2 { font-size: clamp(1.8rem, 8vw, 2.7rem); }
  .years-number strong { font-size: clamp(46px, 14vw, 70px); }
  .years-number span { font-size: 16px; }
}
@media (max-width: 430px) {
  .brand { flex-basis: 128px; }
  .brand-logo { width: 128px; height: 38px; }
  .site-header { padding-inline: 10px; }
  .header-actions { gap: 5px; }
  .lang-btn { padding: 7px 7px; }
  .menu-toggle { width: 38px; min-width: 38px; }
  .container, .hero-content, .inner-hero .container { width: calc(100% - 24px); }
  .hero h1, .inner-hero h1 { font-size: clamp(2.45rem, 12.5vw, 3.5rem); }
  .section { padding-block: 48px; }
  .btn { padding: 11px 14px; font-size: .92rem; }
  .card-body { padding: 20px; }
  .project-showcase { min-height: 400px; padding: 18px; }
  .contact-map { height: 260px; }
  .contact-map-card, .contact-info-box { padding: 16px; }
  .privacy-check { align-items: flex-start; }
}
@media (max-width: 360px) {
  .brand { flex-basis: 112px; }
  .brand-logo { width: 112px; }
  .lang-btn { font-size: .7rem; }
  .hero h1, .inner-hero h1 { font-size: 2.35rem; }
  .container, .hero-content, .inner-hero .container { width: calc(100% - 20px); }
}
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .inner-hero { min-height: 420px; }
  .mobile-menu { overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Company legal details in footer */
.footer-company-details { margin-top: 18px; font-size: .82rem; line-height: 1.65; color: rgba(255,255,255,.68); }
.footer-company-details strong { color: #fff; display: inline-block; margin-bottom: 4px; }
@media (max-width: 680px) { .footer-company-details { font-size: .8rem; } }
