:root {
    --ink: #17191a;
    --ink-soft: #242728;
    --paper: #f3f1ec;
    --white: #fff;
    --muted: #777a78;
    --line: rgba(23, 25, 26, .16);
    --orange: #e7662e;
    --container: 1280px;
    --header-height: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "DM Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
    font-family: "Manrope", Arial, sans-serif;
    letter-spacing: -.045em;
    line-height: 1.08;
}
h2 { font-size: clamp(2.4rem, 4.6vw, 5.25rem); font-weight: 500; }
h3 { font-size: 1.45rem; font-weight: 600; }
.container { width: min(calc(100% - 80px), var(--container)); margin-inline: auto; }
.section-space { padding: 150px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--orange);
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 1px; background: currentColor; content: ""; }
.eyebrow.light { color: #fff; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    gap: 32px;
    padding: 17px 20px;
    border: 1px solid currentColor;
    font-family: "Manrope", sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
    transition: color .3s, background .3s, border-color .3s;
}
.button i { font-size: 1.25rem; font-style: normal; font-weight: 400; transition: transform .3s; }
.button:hover i { transform: translateX(5px); }
.button-light { color: #fff; }
.button-light:hover { color: var(--ink); border-color: #fff; background: #fff; }
.button-dark { color: var(--ink); }
.button-dark:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.text-link {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    padding-bottom: 7px;
    border-bottom: 1px solid var(--ink);
    font-weight: 600;
}
.text-link span { color: var(--orange); transition: transform .25s; }
.text-link:hover span { transform: translateX(5px); }

.pad-top { padding-top:110px!important }

/* Header */
.site-header {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    transition: height .35s, color .35s, background .35s, box-shadow .35s, transform .35s;
}
.site-header.is-fixed {
    position: fixed;
    height: 76px;
    color: var(--ink);
    background: rgba(243, 241, 236, .96);
    border-color: transparent;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
    backdrop-filter: blur(12px);
    animation: headerDown .38s ease both;
}
@keyframes headerDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.header-inner {
    display: grid;
    grid-template-columns: 200px 1fr 140px;
    align-items: center;
    width: min(calc(100% - 64px), 1440px);
    height: 100%;
    margin-inline: auto;
}
.brand { position: relative; z-index: 2; width: 156px; }
.brand img { height: 58px; object-fit: contain; object-position: left center; }
.logo-dark { display: none; }
.site-header.is-fixed .brand img { height: 47px; }
.site-header.is-fixed .logo-light { display: none; }
.site-header.is-fixed .logo-dark { display: block; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.2vw, 36px); height: 100%; }
.desktop-nav > a, .nav-dropdown > a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    font-family: "Manrope", sans-serif;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.desktop-nav > a::after, .nav-dropdown > a::after {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--orange);
    content: "";
    transition: width .25s;
}
.desktop-nav a:hover::after, .desktop-nav a.active::after { width: 100%; }
.nav-dropdown { display: flex; height: 100%; align-items: center; }
.nav-dropdown > a span { margin-left: 7px; color: var(--orange); font-size: 1rem; }
.dropdown-panel {
    position: absolute;
    top: 100%;
    left: 50%;
    display: grid;
    grid-template-columns: repeat(2, minmax(230px, 1fr));
    width: 580px;
    padding: 22px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .16);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition: opacity .25s, transform .25s;
}
.dropdown-panel.compact { grid-template-columns: 1fr 1fr; width: 440px; }
.dropdown-panel a { padding: 13px 15px; border-bottom: 1px solid #e8e6e0; font-size: .86rem; line-height: 1.35; }
.dropdown-panel a:hover { color: var(--orange); }
.nav-dropdown:hover .dropdown-panel { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.header-cta {
    justify-self: end;
    padding: 11px 16px;
    border: 1px solid currentColor;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: color .25s, background .25s;
}
.header-cta:hover { color: var(--ink); background: #fff; }
.site-header.is-fixed .header-cta:hover { color: #fff; background: var(--ink); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
.dropdown-panel .icon { display:flex; align-items:center; }
.dropdown-panel .icon img { width:41px; margin:0 10px 0 -10px }

/* Home hero */
.home-hero, .inner-hero { position: relative; min-height: 92vh; color: #fff; background: var(--ink); overflow: hidden; }
.home-hero-image, .inner-hero > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.home-hero-image { object-position: center 45%; transform: scale(1.06); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 9, .82) 0%, rgba(8, 9, 9, .4) 52%, rgba(8, 9, 9, .12) 100%); }
.home-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 92vh;
    padding-top: 80px;
}
.home-hero h1 { max-width: 1000px; margin: 0 0 30px; font-size: clamp(4rem, 8vw, 8.2rem); font-weight: 500; letter-spacing: -.065em; }
.home-hero h1 em { color: var(--orange); font-style: normal; }
.hero-text { max-width: 590px; margin-bottom: 38px; color: rgba(255, 255, 255, .83); font-size: 1.15rem; }
.hero-button { align-self: flex-start; }
.hero-scroll { position: absolute; z-index: 1; right: 40px; bottom: 40px; display: flex; align-items: center; gap: 15px; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll span { width: 1px; height: 55px; background: rgba(255, 255, 255, .7); }

/* Home */
.home-intro { background: var(--paper); }
.home-intro-grid { display: grid; grid-template-columns: .75fr 2fr; gap: 10%; }
.intro-number { margin: 18px 0 0; font-family: "Manrope", sans-serif; font-size: clamp(4rem, 8vw, 8rem); line-height: 1; letter-spacing: -.08em; }
.home-intro small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.home-intro h2 { max-width: 980px; margin-bottom: 45px; font-size: clamp(2.5rem, 4.5vw, 5rem); }
.home-intro-grid > div:last-child > p { max-width: 800px; color: #565957; font-size: 1.08rem; }
.home-intro .text-link { margin-top: 24px; }
.solutions-showcase { padding-top: 40px; background: var(--ink); color: #fff; }
.section-heading { padding-top: 110px; padding-bottom: 80px; }
.section-heading h2 { margin-bottom: 0; }
.solution-list { border-top: 1px solid rgba(255, 255, 255, .15); }
.solution-row { position: relative; display: block; min-height: 175px; border-bottom: 1px solid rgba(255, 255, 255, .15); overflow: hidden; }
.solution-row > img { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .4s, transform .7s; }
.solution-row::after { position: absolute; inset: 0; background: rgba(12, 13, 13, .52); content: ""; opacity: 0; transition: opacity .4s; }
.solution-row:hover > img { opacity: .65; transform: scale(1); }
.solution-row:hover::after { opacity: 1; }
.solution-row-content { position: relative; z-index: 1; display: grid; grid-template-columns: 100px 1fr 70px; align-items: center; min-height: 175px; }
.solution-row-content > span { color: var(--orange); font-family: "Manrope"; font-size: .75rem; }
.solution-row-content h3 { margin: 0 0 7px; font-size: clamp(1.75rem, 3vw, 3.25rem); font-weight: 500; }
.solution-row-content p { margin: 0; color: rgba(255, 255, 255, .58); }
.solution-row-content i { justify-self: end; font-size: 2rem; font-style: normal; transition: transform .3s; }
.solution-row:hover i { transform: translate(5px, -5px); }
.image-statement { position: relative; min-height: 86vh; color: #fff; overflow: hidden; }
.image-statement > img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.image-statement-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 10, 10, .78), rgba(9, 10, 10, .1)); }
.image-statement-copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 86vh; }
.image-statement h2 { max-width: 1000px; }
.image-statement .button { align-self: flex-start; margin-top: 25px; }
.services-home { background: #e9e6df; }
.section-heading.split { display: grid; grid-template-columns: 2fr 1fr; align-items: end; padding: 0 0 80px; gap: 10%; }
.section-heading.split p { margin-bottom: 10px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 285px; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: color .3s, background .3s; }
.service-card span { color: var(--orange); font-size: .7rem; }
.service-card h3 { margin-top: 105px; font-size: 1.4rem; }
.service-card i { position: absolute; right: 25px; bottom: 25px; font-size: 1.3rem; font-style: normal; }
.service-card:hover { color: #fff; background: var(--ink); }
.credentials { padding: 0 0 150px; background: #e9e6df; }
.credentials-grid { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.credentials-image img { height: 100%; min-height: 650px; object-fit: cover; }
.credentials-copy { padding: 85px 7%; background: var(--paper); }
.credentials-copy h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }
.credentials-copy p { color: var(--muted); }
.credentials-tags { display: flex; gap: 9px; flex-wrap: wrap; margin: 35px 0; }
.credentials-tags span { padding: 8px 13px; border: 1px solid var(--line); font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; }

/* Detail pages */
.inner-hero { min-height: 76vh; }
.inner-hero > img { opacity: .75; object-position: center; }
.inner-hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 76vh; padding-bottom: 90px; }
.inner-hero h1 { max-width: 1050px; margin: 0; font-size: clamp(3rem, 5.8vw, 6.3rem); font-weight: 500; }
.hero-index { position: absolute; right: 40px; bottom: 42px; z-index: 2; color: rgba(255, 255, 255, .35); font-family: "Manrope"; font-size: 1rem; letter-spacing: .12em; }
.page-intro { padding: 140px 0; }
.intro-grid { display: grid; grid-template-columns: .72fr 2fr; gap: 9%; }
.intro-copy h2 { margin-bottom: 35px; font-size: clamp(2.2rem, 4vw, 4.4rem); }
.intro-copy h3 { margin-top: 35px; }
.intro-copy p { max-width: 900px; color: #555957; font-size: 1.08rem; }
.intro-copy .button { margin-top: 20px; }
.wide-image { width: min(calc(100% - 80px), 1440px); height: min(70vw, 780px); margin-inline: auto; overflow: hidden; }
.wide-image img { height: 115%; object-fit: cover; }
.copy-content { padding: 110px 0 0; }
.copy-section { padding: 0 0 110px; }
.copy-section:nth-child(even) { padding: 100px 0; background: #e9e6df; }
.copy-inner { width: min(calc(100% - 80px), 900px); margin-inline: auto; }
.copy-inner h2 { margin-bottom: 38px; font-size: clamp(2.2rem, 4vw, 4rem); }
.copy-inner > p { color: #555957; font-size: 1.06rem; }
.copy-inner > .button { margin-top: 26px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 45px 0 25px; background: var(--line); border: 1px solid var(--line); }
.feature-card { position: relative; padding: 36px; background: var(--paper); }
.copy-section:nth-child(even) .feature-card { background: #e9e6df; }
.feature-icon { display: block; width: 44px; height: 44px; margin-bottom: 30px; color: var(--orange); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 14px; font-size: 1.25rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.cms-listing { padding: 110px 0 150px; background: var(--ink); color: #fff; }
.cms-listing .section-heading { padding: 0 0 60px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.content-card { color: var(--ink); background: #fff; overflow: hidden; }
.content-card-image { display: block; aspect-ratio: 4 / 3; background: var(--ink-soft); overflow: hidden; }
.content-card-image img { height: 100%; object-fit: cover; transition: transform .7s ease; }
.content-card:hover .content-card-image img { transform: scale(1.045); }
.content-card-copy { padding: 30px; }
.content-card-category { display: block; margin-bottom: 18px; color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.content-card h3 { margin-bottom: 14px; font-size: clamp(1.35rem, 2vw, 1.8rem); }
.content-card h3 a { transition: color .25s; }
.content-card h3 a:hover { color: var(--orange); }
.content-card p { margin-bottom: 25px; color: var(--muted); font-size: .92rem; }
.content-card-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.content-card-link i { color: var(--orange); font-size: 1rem; font-style: normal; transition: transform .25s; }
.content-card-link:hover i { transform: translateX(4px); }

/* Blog e Case History: pagine dettaglio */
.article-hero { padding: 175px 0 90px; color: #fff; background: var(--ink); }
.article-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 8%; }
.article-cover { aspect-ratio: 4 / 3; overflow: hidden; }
.article-cover img { height: 100%; object-fit: cover; }
.article-back { display: inline-block; margin-bottom: 55px; color: rgba(255,255,255,.55); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: color .25s; }
.article-back:hover { color: var(--orange); }
.article-heading h1 { margin-bottom: 30px; color: #fff; font-size: clamp(2.8rem, 5vw, 5.5rem); font-weight: 500; }
.article-subtitle { max-width: 650px; color: rgba(255,255,255,.68); font-size: 1.12rem; }
.article-meta { display: flex; align-items: center; gap: 12px; margin: 35px 0 0; color: rgba(255,255,255,.45); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.article-meta span { width: 22px; height: 1px; background: var(--orange); }
.article-body-section { padding: 130px 0; }
.article-body { width: min(calc(100% - 40px), 880px); margin-inline: auto; }
.article-body p { color: #555957; font-size: 1.06rem; }
.article-body .article-lead { margin-bottom: 45px; color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.45; }
.article-body h2 { margin: 80px 0 28px; font-size: clamp(2.2rem, 4vw, 3.8rem); }
.article-body blockquote { margin: 80px 0; padding: 15px 0 15px 38px; border-left: 3px solid var(--orange); font-family: "Manrope", sans-serif; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.35; }
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 80px; }
.case-gallery a { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--ink); overflow: hidden; }
.case-gallery a::after { position: absolute; right: 20px; bottom: 20px; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: var(--orange); content: "+"; font-family: "Manrope", sans-serif; font-size: 1.5rem; line-height: 1; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.case-gallery img { height: 100%; object-fit: cover; transition: opacity .35s, transform .65s; }
.case-gallery a:hover img { opacity: .72; transform: scale(1.035); }
.case-gallery a:hover::after { opacity: 1; transform: translateY(0); }
.related-content { padding: 120px 0 150px; color: #fff; background: var(--ink); }
.related-content .section-heading { padding: 0 0 60px; }
.related-grid { grid-template-columns: repeat(2, 1fr); max-width: 920px; }

/* Forms and contacts */
.contact-intro { padding: 140px 0 90px; }
.contact-layout { display: grid; grid-template-columns: .75fr 1.6fr; gap: 10%; }
.contact-layout h2 { font-size: clamp(2.3rem, 4vw, 4.4rem); }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 55px; }
.contact-detail { padding-top: 20px; border-top: 1px solid var(--line); }
.contact-detail span { display: block; margin-bottom: 8px; color: var(--orange); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-form-section { padding: 120px 0; background: #e9e6df; }
.contact-form-grid { display: grid; grid-template-columns: .7fr 1.5fr; gap: 10%; }
.contact-form-grid h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
    width: 100%;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #999b98;
    border-radius: 0;
    outline: none;
    background: transparent;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--orange); }
.privacy-field { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: .83rem; }
.privacy-field input { margin-top: 6px; accent-color: var(--orange); }
.honeypot { position: absolute; left: -9999px; }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border: 1px solid; font-size: .9rem; }
.form-status.success { color: #1e6a44; background: #e4f2ea; }
.form-status.error { color: #9c302c; background: #f8e6e3; }
.contact-form .button { margin-top: 12px; background: transparent; cursor: pointer; }
.map-wrap { height: 520px; background: var(--ink); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9); }

/* Footer */
.prefooter { position: relative; min-height: 620px; color: #fff; overflow: hidden; }
.prefooter-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,11,.85), rgba(10,11,11,.25)), url("../img/team2.jpg") center/cover; }
.prefooter-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; min-height: 620px; }
.prefooter h2 { max-width: 920px; }
.prefooter .button { align-self: flex-start; }
.site-footer { color: #fff; background: #111313; }
.footer-main { display: grid; grid-template-columns: 1.5fr .7fr 1fr 1fr; gap: 6%; padding: 100px 0 70px; }
.footer-brand img { width: 180px; margin-bottom: 30px; }
.footer-brand p { max-width: 360px; color: rgba(255,255,255,.5); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-column h3 { margin-bottom: 20px; color: rgba(255,255,255,.4); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-column a, .footer-column p { color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-column a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 25px 0 35px; border-top: 1px solid rgba(255,255,255,.13); }
.footer-bottom p, .footer-bottom a { margin: 0; color: rgba(255,255,255,.48); font-size: .68rem; }
.footer-bottom div { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* Error */
.error-page { display: flex; align-items: center; min-height: 100vh; color: #fff; background: var(--ink); }
.error-page h1 { margin-bottom: 10px; font-size: clamp(6rem, 18vw, 14rem); color: var(--orange); }

/*splide1*/
.splide .my-arrows { position: absolute; bottom: 50%; width:100%; z-index: 3; margin: 0 auto;}
.splide .my-arrows button:focus {outline: none;}
.splide .my-prev,
.splide .my-next {
  position: absolute;
  background: none;
  color: #000;
  cursor: pointer;
}

.splide .my-prev::before {
  content: "←"; font-size: 30px;
}

.splide .my-next {
  right: 0;
}
.splide__arrow--prev { left:0!important }

.splide .my-next::before {
  content: "→"; font-size: 30px;
}
.splide .my-prev:hover , .splide .my-next:hover { opacity:1 }
.splide .my-prev svg, .splide .my-next svg { display: none; fill:transparent; }
.splide .splide__track { width:calc(100% - 80px); margin:0 auto; }
#splide { margin-bottom:4rem }
#splide img { max-height:5rem; object-fit:contain; }
#splide .splide__slide { display:flex; align-items:center; }

.partner-img { margin-bottom: 4rem; display:flex; gap: 2rem; align-items:center; }
.partner-img img { width:25%; border-right: 1px solid #ccc;}
.partner-img img:last-child { border:0 }
.sponsor-img { display:flex; gap: 1rem; align-items:center; }
.sponsor-img img { width:8%; }
.cert-img { margin-bottom: 4rem; display:flex; gap: 2rem; align-items:center; }
.cert-img img { border-right: 1px solid #ccc; padding-right: 2rem; width:auto; max-height:5rem; object-fit:contain; }
.cert-img img:last-child { border:0 }

.icon-banner { width:60px; margin-bottom:30px }

@media (max-width: 1180px) {
    :root { --header-height: 82px; }
    .desktop-nav, .header-cta { display: none; }
    .header-inner { grid-template-columns: 1fr auto; width: calc(100% - 48px); }
    .menu-toggle { position: relative; z-index: 102; display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 10px; border: 0; color: inherit; background: transparent; cursor: pointer; }
    .menu-toggle span { display: block; width: 100%; height: 1px; background: currentColor; transition: transform .3s; }
    .menu-open .menu-toggle { color: #fff; }
    .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .mobile-menu { position: fixed; z-index: 101; inset: 0; display: grid; grid-template-columns: 1fr .5fr; padding: 120px 7vw 50px; color: #fff; background: var(--ink); opacity: 0; visibility: hidden; overflow-y: auto; transform: translateY(-20px); transition: opacity .35s, visibility .35s, transform .35s; }
    .menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
    .mobile-menu nav { display: flex; flex-direction: column; align-items: flex-start; }
    .mobile-menu nav > a { font-family: "Manrope"; font-size: clamp(2.1rem, 5vw, 4rem); line-height: 1.25; letter-spacing: -.04em; }
    .mobile-menu nav > a:hover { color: var(--orange); }
    .mobile-subnav { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; max-width: 700px; margin: 8px 0 20px 18px; }
    .mobile-subnav a { color: rgba(255,255,255,.5); font-size: .76rem; text-transform: uppercase; }
    .mobile-menu-contact { align-self: end; display: flex; flex-direction: column; align-items: flex-end; }
    .service-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .company-data { grid-column: 2; }
    .mobile-subnav .icon { display:flex; align-items:center; }
    .mobile-subnav .icon img { width:15px; margin: 0 5px 0 -15px }
}

@media (max-width: 820px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 40px); }
    .section-space { padding: 95px 0; }
    .brand { width: 135px; }
    .home-hero, .home-hero-content { min-height: 100svh; }
    .home-hero h1 { font-size: clamp(3.5rem, 14vw, 6rem); }
    .hero-text { max-width: 88%; font-size: 1rem; }
    .hero-scroll { display: none; }
    .home-intro-grid, .intro-grid, .contact-layout, .contact-form-grid { grid-template-columns: 1fr; gap: 55px; }
    .home-intro h2 { font-size: 2.55rem; }
    .section-heading { padding: 80px 0 55px; }
    .solution-row, .solution-row-content { min-height: 150px; }
    .solution-row-content { grid-template-columns: 45px 1fr 35px; }
    .solution-row-content p { display: none; }
    .solution-row > img, .solution-row::after { opacity: .25; }
    .solution-row::after { opacity: .5; }
    .image-statement, .image-statement-copy { min-height: 72vh; }
    .section-heading.split { grid-template-columns: 1fr; gap: 25px; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .credentials-grid { grid-template-columns: 1fr; }
    .credentials-image img { min-height: 450px; max-height: 520px; }
    .credentials-copy { padding: 65px 8%; }
    .inner-hero, .inner-hero-content { min-height: 68vh; }
    .inner-hero-content { padding-bottom: 60px; }
    .inner-hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
    .page-intro { padding: 90px 0; }
    .wide-image { width: calc(100% - 40px); height: 75vw; }
    .copy-content { padding-top: 80px; }
    .copy-section { padding-bottom: 80px; }
    .copy-section:nth-child(even) { padding: 80px 0; }
    .copy-inner { width: calc(100% - 40px); }
    .feature-grid { grid-template-columns: 1fr; }
    .content-grid { grid-template-columns: repeat(2, 1fr); }
    .article-hero { padding: 135px 0 75px; }
    .article-hero-grid { grid-template-columns: 1fr; gap: 55px; }
    .case-detail .article-heading { order: 2; }
    .case-detail .article-cover { order: 1; }
    .article-back { margin-bottom: 35px; }
    .article-heading h1 { font-size: clamp(2.6rem, 8vw, 4.5rem); }
    .article-body-section { padding: 90px 0; }
    .case-gallery { margin-top: 65px; }
    .related-content { padding: 90px 0 110px; }
    .contact-intro { padding: 90px 0 65px; }
    .contact-form-section { padding: 90px 0; }
    .prefooter, .prefooter-content { min-height: 520px; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 55px; }
    .footer-brand { grid-column: 1 / -1; }
    .company-data { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 560px) {
    .header-inner { width: calc(100% - 30px); }
    .mobile-menu { grid-template-columns: 1fr; padding: 105px 25px 30px; overflow-y: auto; }
    .mobile-menu nav > a { font-size: 2rem; }
    .mobile-subnav { gap: 4px; margin: 6px 0 13px 15px; }
    .mobile-menu-contact { align-self: auto; align-items: flex-start; margin-top: 35px; }
    .button { width: 100%; min-width: 0; }
    .home-hero h1 { font-size: 3.5rem; }
    .home-hero-content { padding-top: 70px; }
    .home-hero-image { object-position: 58% center; }
    .home-intro-grid { gap: 45px; }
    .intro-number { font-size: 5rem; }
    .home-intro h2 { font-size: 2.2rem; }
    .solution-row-content { grid-template-columns: 35px 1fr 25px; }
    .solution-row-content h3 { font-size: 1.45rem; }
    .image-statement h2 { font-size: 2.5rem; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card { min-height: 180px; }
    .service-card h3 { margin-top: 50px; }
    .credentials { padding-bottom: 90px; }
    .credentials-image img { min-height: 320px; }
    .inner-hero h1 { font-size: 2.75rem; }
    .hero-index { right: 20px; bottom: 22px; }
    .intro-copy h2, .copy-inner h2 { font-size: 2.15rem; }
    .wide-image { width: 100%; height: 90vw; }
    .feature-card { padding: 28px; }
    .content-grid, .related-grid { grid-template-columns: 1fr; }
    .content-card-copy { padding: 25px; }
    .article-heading h1 { font-size: 2.6rem; }
    .article-subtitle { font-size: 1rem; }
    .article-body blockquote { margin: 55px 0; padding-left: 25px; }
    .case-gallery { grid-template-columns: 1fr; gap: 15px; }
    .contact-details, .form-grid { grid-template-columns: 1fr; }
    .field.full, .privacy-field, .form-status { grid-column: auto; }
    .map-wrap { height: 380px; }
    .footer-main { grid-template-columns: 1fr; padding-top: 75px; }
    .footer-brand, .company-data { grid-column: auto; }

    .sponsor-img img { width:20% }
    .partner-img img { width:48%; border:0; margin-bottom:2% }
    .partner-img { flex-wrap:wrap; gap:4% }
    .cert-img { gap:1rem }
    .cert-img img {width: 33%; max-height: 5rem; padding-right: 1rem}

    .pad-top { padding-top:80px!important }
}

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