.manifesto-left h2,
.C-4 h2,
.C-5 h2,
.C-7 h2,
.C-8 h2 {
    margin-top: 0;
}

/* ------- HERO ------- */
.C-1 {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

.C-1 #L429 {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.C-1 #L429 .hero-img {
    position: absolute;
    opacity: 0.9;
    filter: saturate(0.7);
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 80%;
    z-index: 0;
    animation: heroZoom 8s ease-out infinite;
}

@keyframes heroZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.12);
    }
}
/* 
.C-1 #L429 .hero-video {
    position: absolute;
    opacity: 0.9;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
 */
.C-1 #L429 .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.5);
    z-index: 1;
}

.C-1 #L429>*:not(.hero-img):not(.hero-overlay):not(.hero-scroll) {
    position: relative;
    z-index: 2;
}


.C-1 #L429 .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    transform: translate(-50%, -50%);
    text-align: center;
}

.C-1 #L429 img:not(.hero-img) {
    max-width: 500px;
}

.C-1 #L429 .hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 3;
}

.C-1 #L429 .hero-btns {
    min-height: max-content;
    margin-top: 50px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}


.C-1 #L429 .subtitle {
    text-shadow: 0px 0px 20px #101010;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
}

.C-1 #L429 .subtitle::before,
.C-1 #L429 .subtitle::after {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--color-accent);
    opacity: .55;
}

.C-1 #L429 .hero-claim {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    color: white;
    margin: 30px 0 50px;
    letter-spacing: .02em;
}

.hero-scroll {
    width: max-content;
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: var(--font-title);
    font-size: 8px;
    letter-spacing: .3em;
    color: rgba(255, 255, 255, .2);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, .18);
    animation: pulse 2s ease-in-out infinite;
}


/* ------- STATS ------- */

.C-2 {
    background: var(--color-dark);
    color: var(--color-warm);
}

.C-2 #L432 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.stat {
    padding: 32px 36px;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.stat:last-child {
    border-right: none;
}

.stat-n {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-n sup,
.stat-n span {
    color: var(--color-accent);
    font-size: 18px;
}

.stat-text {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}


/* ------- CHI SIAMO ------- */

.C-3 {
    padding: 108px 20px 96px;
}

.C-3 #L433 {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 88px;
    align-items: start;
}

.C-3 #L433 #chi-siamo {
    position: sticky;
    top: 8rem;
}

.C-3 #L433 #chi-siamo h2 {
    font-family: var(--font-title, var(--TF));
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-dark, var(--dark));
    letter-spacing: -0.02em;
}

.C-3 #L433 #chi-siamo h2 strong {
    font-weight: 700;
}

.C-3 #L433 p {
    font-size: 15px;
    font-weight: 300;
    color: #454540;
    margin-bottom: 18px;
    line-height: 1.82;
}

.C-3 #L433 .about-content {
    max-width: 720px;
}

.C-3 #L433 .about-block {
    margin-top: 34px;
    padding-top: 28px;
}

.C-3 #L433 .about-block:not(:last-of-type) {
    border-top: 1px solid var(--color-mid, var(--mid));
}

.C-3 #L433 .about-block h3 {
    font-family: var(--font-title, var(--TF));
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    color: var(--color-text, var(--text));
}

.C-3 #L433 .about-founder {
    padding-left: 22px;
    border-left: 3px solid var(--color-accent, var(--accent));
}


.C-3 #L433 .about-founder h3 span {
    color: var(--color-accent, var(--accent));
}


.C-3 #L433 .about-quote {
    border-left: 3px solid var(--color-accent, var(--accent));
    padding: 10px 20px;
    margin: 24px 0;
    font-size: 14px;
    font-style: italic;
    color: var(--color-text, var(--text));
    line-height: 1.7;
}


/* ------- MANIFESTO ------- */

.C-11 {
    position: relative;
    padding: 120px 20px;
    background: var(--color-dark);
    color: var(--color-white);
}

.C-11::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(232, 80, 79, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(255,255,255,0.04), transparent 42%);
    pointer-events: none;
}

.C-11 .wrap {
    position: relative;
    z-index: 2;
}

.manifesto {
    position: relative;
}

.manifesto-kicker {
    display: flex;
    align-items: flex-end;
    gap: 22px;
    margin-bottom: 70px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.manifesto-number {
    font-family: var(--font-title);
    font-size: clamp(82px, 12vw, 128px);
    font-weight: 300;
    line-height: 0.75;
    letter-spacing: -0.08em;
    color: var(--color-accent);
}

.manifesto-label {
    max-width: 220px;
    padding-bottom: 4px;
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.42);
}

.manifesto-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.25fr;
    gap: 90px;
    align-items: start;
}

.manifesto-left {
    position: sticky;
    top: 8rem;
}

.C-11 .subtitle {
    color: var(--color-accent);
}

.manifesto-left h2 {
    color: var(--color-white);
}

.manifesto-right {
    max-width: 760px;
}

.manifesto-statement {
    margin-bottom: 44px;
    font-family: var(--font-title);
    font-size: clamp(26px, 3vw, 44px);
    font-weight: 300;
    line-height: 1.16;
    letter-spacing: -0.035em;
    color: var(--color-white);
}

.manifesto-statement::after {
    content: "";
    display: block;
    width: 52px;
    height: 2px;
    margin-top: 28px;
    background: var(--color-accent);
}

.manifesto-text {
    columns: 2;
    column-gap: 46px;
}

.manifesto-text p {
    break-inside: avoid;
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.82;
    color: rgba(255,255,255,0.66);
}

.manifesto-ending {
    margin-top: 48px;
    padding-top: 34px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.manifesto-ending span,
.manifesto-ending strong {
    display: block;
    font-family: var(--font-title);
    font-size: clamp(24px, 2.7vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.035em;
}

.manifesto-ending span {
    font-weight: 300;
    color: rgba(255,255,255,0.62);
    margin-bottom: 8px;
}

.manifesto-ending strong {
    font-weight: 700;
    color: var(--color-accent);
}

.manifesto-signature {
    margin-top: 34px;
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.86);
}

/* ------- STORYTELLING ------- */

.C-4 {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.C-4 .overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 18, 16, 0.7);
    z-index: 1;
}

.C-4 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.C-4 .image-quote {
    z-index: 5;
    position: relative;
}

#L434 {
    z-index: 2;
    max-width: 880px;
    color: var(--white);
}

#L434 .fu {
    position: relative;
    z-index: 5;
}

.C-4 .subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.C-4 h2 {
    margin: 20px 0 24px;
    font-family: var(--font-title);
    font-size: clamp(42px, 6vw, 82px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: -0.045em;
    color: var(--color-white);
}

.C-4 h2 strong {
    color: var(--color-accent);
    font-weight: 400;
}

.C-4 p {
    max-width: 520px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
}


/* ------- SERVIZI ------- */

.C-5 {
    padding: 110px 0;
    background: var(--color-warm);
    overflow: hidden;
}

.C-5 #L435 {
    overflow: visible;
}

.serv-header {
    text-align: center;
    margin-bottom: 64px;
}

.serv-slider {
    position: relative;
}

.serv-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 0 8px;
}

.serv-grid::-webkit-scrollbar {
    display: none;
}

.serv-card {
    flex: 0 0 min(780px, 82vw);
    scroll-snap-align: center;

    background: var(--color-white);
    border: 1px solid var(--color-mid);
    padding: 56px 64px;

    text-align: left;
    transition: transform .25s, background .25s, border-color .25s;
}

.serv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, .14);
}

.serv-icon {
    width: 42px;
    height: 42px;
    display: block;
    margin: 0 0 30px;
    color: var(--color-accent);
}

.serv-name {
    font-family: var(--font-title);
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 300;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--color-dark);
    margin-bottom: 24px;
    line-height: 1.15;
}

.serv-name::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 20px;
}

.serv-desc {
    max-width: 620px;
    font-size: 15px;
    font-weight: 300;
    color: #454540;
    line-height: 1.85;
}

.serv-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;

    width: 48px;
    height: 48px;
    border: 1px solid var(--color-mid);
    border-radius: 50%;
    background: var(--color-white);
    color: var(--color-dark);

    display: grid;
    place-items: center;

    font-size: 18px;
    cursor: pointer;
    transition: background .25s, color .25s, border-color .25s, transform .25s;
}

.serv-arrow:hover {
    background: var(--color-dark);
    color: var(--color-warm);
    border-color: var(--color-dark);
}

.serv-prev {
    left: -24px;
}

.serv-next {
    right: -24px;
}


/* ------- EXPERTISE / AMBITI ------- */

.C-6 {
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

#L436 {
    min-height: 620px;
}

#L436>p {
    margin: 0;
}

#L436 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center top;
    z-index: 0;
}

.C-6 .overlay {
    border-top: 1px solid var(--color-mid);
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

#L436 .perche-content {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 100px;
    align-items: start;
}

#L436 .perche-desc,
#L436 .perche-items {
    position: relative;
    z-index: 2;
}

#L436 .perche-desc h2 {
    font-family: var(--font-title);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.12;
    color: var(--color-dark);
    letter-spacing: -0.02em;
}

#L436 .perche-desc strong {
    color: var(--color-accent);
    font-weight: 700;
}

#L436 .perche-desc p {
    font-size: 15px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.82;
    margin-top: 22px;
    max-width: 620px;
}

#L436 .perche-items {
    display: flex;
    flex-direction: column;
}

#L436 .pi {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    align-items: start;
}

#L436 .pi:first-child {
    padding-top: 0;
}

#L436 .pi:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

#L436 .pi-n {
    font-family: var(--font-title);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--color-accent);
    padding-top: 2px;
}

#L436 .pi-t {
    font-family: var(--font-title);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--color-dark);
    margin-bottom: 7px;
}

#L436 .pi-d {
    font-size: 14px;
    font-weight: 300;
    color: var(--color-dark);
    line-height: 1.72;
}
/* ------- SEDI ------- */

.C-7 {
    padding: 96px 0;
    background: var(--color-dark);
    position: relative;
}

.C-7 h2,
.C-7 h3,
.C-7 h4 {
    color: var(--color-white);
}

#L437 {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr);
    gap: clamp(50px, 7vw, 110px);
    position: relative;
}


/* INTRO */

.office-leads-header {
   /*  position: sticky;
    top: 8rem;
    align-self: start; */
    text-align: center;
}

.office-leads-header > p {
    max-width: 680px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, .55);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
}


/* GRIGLIA SEDI */

.offices-grid {
    display: flex;
    justify-content: center;
    gap: 22px;
}

.office-card {
    width: 100%;
    padding: 34px;
    background: var(--color-dark2);
    border: 1px solid rgba(255, 255, 255, .08);
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease;
}

.office-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .055);
}


/* TESTATA SEDE */

.office-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.office-card-header > div {
    flex: 1;
}

.office-label {
    display: block;
    margin-bottom: 7px;
    font-family: var(--font-title);
    color: var(--color-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.office-card-header h3 {
    margin: 0;
    font-family: var(--font-title);
    font-size: clamp(32px, 3.5vw, 44px);
    line-height: .95;
}

.office-number {
    color: rgba(255, 255, 255, .18);
    font-family: var(--font-title);
    font-size: 13px;
    letter-spacing: .08em;
}


/* RESPONSABILE */

.office-manager {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    align-items: center;
    gap: 25px;
}

.office-manager-avatar {
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
}

.office-manager-avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s ease;
}

.office-card:hover .office-manager-avatar img {
    transform: scale(1.035);
}

.office-manager-content {
    min-width: 0;
}

.office-lead-location {
    display: block;
    margin-bottom: 9px;
    font-family: var(--font-title);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.office-manager-content h4 {
    margin: 0 0 5px;
    font-family: var(--font-title);
    font-size: clamp(19px, 2vw, 24px);
    line-height: 1.2;
}

.office-lead-role {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .4);
    font-size: 12px;
    font-weight: 300;
}


/* CONTATTI */

.office-lead-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.office-lead-contacts a {
    position: relative;
    width: fit-content;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease;
}

.office-lead-contacts a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    height: 1px;
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.office-lead-contacts a:hover {
    color: var(--color-white);
}

.office-lead-contacts a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    #L437 {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .office-leads-header {
        position: static;
    }
    .offices-grid{
        flex-direction: column;
    }

}

@media (max-width: 600px) {

    .C-7 {
        padding: 70px 0;
    }

    .office-card {
        padding: 24px;
    }

    .office-card-header {
        padding-bottom: 24px;
        margin-bottom: 24px;
    }

    .office-manager {
        grid-template-columns: 80px minmax(0, 1fr);
        align-items: start;
        gap: 18px;
    }

    .office-lead-contacts {
        flex-direction: column;
        gap: 7px;
    }

}

/* ─── APPROCCIO ─── */
.C-8 {
    padding: 110px 0;
    background: var(--color-white);
}

#L438 {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 72px;
    align-items: center;
}

.approccio-text {
    max-width: 560px;
}

.approccio-text .stitle {
    margin-bottom: 28px;
}

.approccio-text>p {
    font-weight: 300;
    line-height: 1.85;
    color: #454540;
    margin-bottom: 18px;
}

.approccio-list {
    margin-top: 38px;
    border-top: 1px solid var(--color-mid);
}

.approccio-list div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-mid);
}

.approccio-list span {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--color-accent);
}

.approccio-list p {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-dark);
}

.approccio-image {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.approccio-image::before {
    content: "";
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    z-index: 2;
    pointer-events: none;
}

.approccio-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    display: block;
    filter: saturate(0.88) contrast(0.96);
    transition: transform .8s ease;
}

.approccio-image:hover img {
    transform: scale(1.035);
}


/* ─── CLIENTI ─── */
.C-9 {
    padding: 96px 0;
    background: var(--color-white);
}

.clienti-header {
    text-align: center;
    margin-bottom: 56px;
}

.clienti-header p {
    font-weight: 300;
    color: #454540;
    line-height: 1.82;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.logo-cell {
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    padding: 10px;
    transition: background .2s;
}


.logo-cell img {
    max-width: 100%;
    max-height: 90px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(0.7);
    opacity: .55;
    transition: opacity .25s, filter .25s;
}

.logo-cell:hover img {
    filter: grayscale(0) contrast(1);
    opacity: 1;
}

.logo-fb {
    font-family: var(--font-title);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-muted);
}


/* ─── CONTATTI ─── */
.C-10 {
    background: var(--color-warm);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}

.C-10::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--color-accent);
}

.C-10 .container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

.cta-sub {
    font-weight: 300;
    color: #454540;
    line-height: 1.82;
    margin-bottom: 36px;
}

.ci-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ci-label {
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 3px;
}

.ci-val {
    font-weight: 300;
    color: var(--color-dark);
    text-decoration: none;
    display: block;
    transition: color .2s;
}

.ci-val:hover {
    color: var(--color-accent);
}

.ci-val small {
    font-size: 13px;
    color: var(--color-muted);
    display: block;
}

.ci-div {
    width: 36px;
    height: 1px;
    background: var(--color-mid);
    margin: 2px 0;
}


/* form */
#L441 form {
    display: flex;
    flex-direction: column;
    gap: 0;
}

#L441 fieldset {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--color-mid);
    margin-bottom: 1px;
    border: none;
}

#L441 fieldset legend {
    display: none;
}

#L441 .nomeazienda {
    order: 0;
}

#L441 .emailtelefono {
    order: 1;
}

#L441 .what-are-you-interested-in {
    order: 2;
    margin-bottom: 2px;
}

#L441 .message {
    order: 3;
}

#L441 .privacy {
    order: 4;
}

#L441 .actions {
    order: 5;
}

.form-group {
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    transition: background .2s;
}

.form-group:focus-within {
    background: #fff;
    outline: 2px solid var(--color-accent);
    outline-offset: -2px;
}

.form-group label {
    font-family: var(--font-title);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 300;
    color: var(--color-dark);
    width: 100%;
    resize: none;
}

.form-group textarea {
    min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, .25);
}

#L441 .actions a {
    display: block;
    background: var(--color-accent);
    border: none;
    cursor: pointer;
    font-family: var(--font-title);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--color-white);
    padding: 18px 32px;
    text-align: center;
    transition: background .2s, transform .2s;
    margin-top: 1px;
    width: 100%;
}

#L441 .actions a:hover {
    background: #d94140;
    transform: translateY(-1px);
}

.form-note {
    order: 6;
    font-size: 11px;
    font-weight: 300;
    color: var(--color-muted);
    margin-top: 12px;
}

/* ─── FIX animazioni card servizi/team ───
   Il JS aggiunge .in agli elementi .fu. Queste regole fanno animare
   anche le card, e funzionano anche se il CMS restituisce già la classe .in. */
@keyframes presswayFadeUp {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

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

.serv-card.fu,
.team-card.fu {
    opacity: 0;
    transform: translateY(26px);
}

.serv-card.fu.in,
.team-card.fu.in {
    opacity: 1;
    transform: translateY(0);
    animation: presswayFadeUp .7s ease both;
}

.serv-card.fu.d1.in,
.team-card.fu.d1.in {
    animation-delay: .1s;
}

.serv-card.fu.d2.in,
.team-card.fu.d2.in {
    animation-delay: .2s;
}

.serv-card.fu.d3.in,
.team-card.fu.d3.in {
    animation-delay: .3s;
}

.serv-card.fu.d4.in,
.team-card.fu.d4.in {
    animation-delay: .4s;
}

/* ─── FIX clienti + scrollbar servizi ─── */

/* Lo slider servizi deve scrollare solo in orizzontale.
   La translateY dell'animazione poteva generare una piccola scrollbar verticale. */
.serv-grid {
    overflow-x: auto;
    overflow-y: hidden;
}

/* Per le card servizi tengo l'animazione, ma senza spostamento verticale,
   così non cambia l'area scrollabile del contenitore. */
.serv-card.fu {
    opacity: 0;
    transform: none;
}

.serv-card.fu.in {
    opacity: 1;
    transform: none;
    animation: presswayFadeOnly .55s ease both;
}

@keyframes presswayFadeOnly {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* I loghi clienti hanno già .fu nell'HTML, quindi vanno agganciati
   alla stessa logica JS che aggiunge .in. */
.logo-cell.fu {
    opacity: 0;
    transform: translateY(22px);
}

.logo-cell.fu.in {
    opacity: 1;
    transform: translateY(0);
    animation: presswayFadeUp .7s ease both;
}

.logo-cell.fu.d1.in {
    animation-delay: .08s;
}

.logo-cell.fu.d2.in {
    animation-delay: .16s;
}

.logo-cell.fu.d3.in {
    animation-delay: .24s;
}

.logo-cell.fu.d4.in {
    animation-delay: .32s;
}


/* =========================================================
   RESPONSIVE HOME
   ========================================================= */


/* =========================================================
   RESPONSIVE
   Breakpoint ordinati dal più grande al più piccolo.
   Le regole più specifiche per schermi piccoli vengono dopo.
   ========================================================= */

/* ---------------------------------------------------------
   DESKTOP / LAPTOP PICCOLI — max-width: 1180px
   --------------------------------------------------------- */
@media (max-width: 1180px) {
    .C-3 #L433,
        #L436 .perche-content,
        #L438,
        .C-10 .container {
            gap: 52px;
        }

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

}

/* ---------------------------------------------------------
   TABLET ORIZZONTALE — max-width: 991px
   --------------------------------------------------------- */
@media (max-width: 991px) {
    #L437 {
            display: block;
        }
        .office-leads-header {
            grid-template-columns: 1fr;
            row-gap: 24px;
            position: static;
        }

        .office-leads-header .subtitle {
            grid-column: auto;
        }

        .office-leads-grid {
            grid-template-columns: 1fr;
        }

        .office-lead-card {
            grid-template-columns: 210px minmax(0, 1fr);
        }

}

/* ---------------------------------------------------------
   TABLET — max-width: 980px
   --------------------------------------------------------- */
@media (max-width: 980px) {
    .C-3,
        .C-5,
        .C-6,
        .C-7,
        .C-8,
        .C-9,
        .C-10 {
            padding-top: 78px;
            padding-bottom: 78px;
        }

        .C-1 #L429 .hero-content {
            max-width: 760px;
            padding-left: 28px;
            padding-right: 28px;
        }

        .C-1 #L429 img:not(.hero-img) {
            max-width: min(430px, 78vw);
            height: auto;
        }

        .C-1 #L429 .subtitle {
            font-size: 9px;
            letter-spacing: .2em;
            line-height: 1.7;
            flex-wrap: wrap;
        }

        .C-2 #L432 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            width: 100%;
        }

        .stat {
            border-right: 1px solid rgba(255, 255, 255, .07);
            border-bottom: 1px solid rgba(255, 255, 255, .07);
        }

        .stat:nth-child(2n) {
            border-right: none;
        }

        .stat:nth-last-child(-n + 2) {
            border-bottom: none;
        }

        .C-3 #L433,
        #L436 .perche-content,
        #L438,
        .C-10 .container {
            grid-template-columns: 1fr;
            gap: 44px;
        }
         .C-3 #L433 #chi-siamo {
            position: static;
        }

        .C-4 {
            min-height: 460px;
            padding: 92px 24px;
        }

        .C-4 h2 {
            font-size: clamp(38px, 8vw, 68px);
        }

        .serv-card {
            flex-basis: calc((100% - 1px) / 2);
        }

        .serv-prev {
            left: 10px;
        }

        .serv-next {
            right: 10px;
        }

        #L436 .perche-content {
            position: relative;
            z-index: 2;
        }

        .approccio-image,
        .approccio-image img {
            min-height: 440px;
        }

        .logo-grid {
            grid-template-columns: repeat(3, 1fr);
        }

}

/* ---------------------------------------------------------
   TABLET — max-width: 960px
   --------------------------------------------------------- */
@media (max-width: 960px) {
    .C-3 #L433 {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .C-3 #L433 .about-content {
            max-width: none;
        }

        .C-3 #L433 .about-founder {
            padding-left: 18px;
        }

    .C-11 {
            padding: 96px 20px;
        }

        .manifesto-kicker {
            margin-bottom: 54px;
        }

        .manifesto-layout {
            grid-template-columns: 1fr;
            gap: 44px;
        }

        .manifesto-left {
            position: static;
        }

        .manifesto-text {
            columns: 1;
        }

        .manifesto-right {
            max-width: none;
        }

    .C-5 {
            padding: 88px 0;
        }

        .serv-header {
            margin-bottom: 48px;
        }

        .serv-card {
            flex: 0 0 86vw;
            padding: 46px 42px;
        }

        .serv-prev {
            left: 10px;
        }

        .serv-next {
            right: 10px;
        }

    .C-6 {
            padding: 84px 0;
        }

        #L436 {
            min-height: auto;
        }

        #L436 img {
            min-height: 100%;
        }

        #L436 .perche-content {
            grid-template-columns: 1fr;
            gap: 48px;
        }

        #L436 .perche-desc p {
            max-width: none;
        }

}

/* ---------------------------------------------------------
   MOBILE / TABLET PICCOLI — max-width: 720px
   --------------------------------------------------------- */
@media (max-width: 720px) {
    .C-1 {
            min-height: 720px;
            height: 100svh;
        }

        .C-1 #L429 .hero-content {
            top: 52%;
            padding-left: 20px;
            padding-right: 20px;
        }

        .C-1 #L429 .subtitle {
            max-width: 340px;
            margin-left: auto;
            margin-right: auto;
            gap: 10px;
        }

        .C-1 #L429 .subtitle::before,
        .C-1 #L429 .subtitle::after {
            width: 20px;
        }

        .C-1 #L429 .hero-btns {
            margin-top: 34px;
            flex-direction: column;
            align-items: center;
        }

        .C-1 #L429 .hero-btns .btn {
            width: min(100%, 280px);
            text-align: center;
        }

        .C-2 #L432 {
            grid-template-columns: 1fr;
        }

        .stat,
        .stat:nth-child(2n),
        .stat:nth-last-child(-n + 2) {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, .07);
            text-align: center;
        }

        .stat:last-child {
            border-bottom: none;
        }

        .serv-card {
            flex-basis: 86%;
            padding: 34px 28px;
        }

        .serv-arrow {
            display: none;
        }

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

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

        #L441 fieldset {
            grid-template-columns: 1fr;
        }

}

/* ---------------------------------------------------------
   MOBILE — max-width: 600px
   --------------------------------------------------------- */
@media (max-width: 600px) {
    .C-7 {
            padding: 72px 0;
        }

        .office-leads-header {
            margin-bottom: 40px;
        }


        .office-lead-avatar {
            height: 300px;
            min-height: 0;
        }

        .office-lead-content {
            padding: 28px 24px 32px;
        }

        .office-lead-role {
            margin-bottom: 24px;
        }

}

/* ---------------------------------------------------------
   MOBILE — max-width: 560px
   --------------------------------------------------------- */
@media (max-width: 560px) {
    .C-3 {
            padding: 72px 20px;
        }

        .C-3 #L433 {
            gap: 32px;
        }

        .C-3 #L433 .about-block {
            margin-top: 28px;
            padding-top: 24px;
        }

    .C-11 {
            padding: 76px 20px;
        }

        .manifesto-kicker {
            align-items: flex-start;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 42px;
            padding-bottom: 26px;
        }

        .manifesto-number {
            font-size: 96px;
        }

        .manifesto-label {
            max-width: none;
        }


        .manifesto-statement {
            font-size: 28px;
            margin-bottom: 34px;
        }

        .manifesto-text p {
            font-size: 14px;
            line-height: 1.76;
        }

        .manifesto-ending {
            margin-top: 38px;
            padding-top: 28px;
        }

    .C-5 {
            padding: 72px 0;
        }

        .serv-grid {
            gap: 16px;
        }

        .serv-card {
            flex: 0 0 88vw;
            padding: 38px 28px;
        }

        .serv-icon {
            width: 36px;
            height: 36px;
            margin-bottom: 24px;
        }

        .serv-name {
            font-size: 24px;
            margin-bottom: 22px;
        }

        .serv-desc {
            font-size: 14px;
            line-height: 1.78;
        }

        .serv-arrow {
            width: 42px;
            height: 42px;
        }

    .C-6 {
            padding: 72px 0;
        }

        .C-6 .overlay {
            background: rgba(255, 255, 255, 0.84);
        }

        #L436 .perche-content {
            gap: 38px;
        }

        #L436 .perche-desc h2 {
            font-size: 34px;
        }

        #L436 .pi {
            grid-template-columns: 36px 1fr;
            gap: 14px;
            padding: 22px 0;
        }

        #L436 .pi-d {
            font-size: 13px;
            line-height: 1.68;
        }

}

/* ---------------------------------------------------------
   MOBILE PICCOLO — max-width: 520px
   --------------------------------------------------------- */
@media (max-width: 520px) {
    h1,
        h2,
        .stitle {
            font-size: clamp(30px, 10vw, 40px);
        }

        .subtitle {
            font-size: 8px;
            letter-spacing: .2em;
        }

        .C-3,
        .C-5,
        .C-6,
        .C-7,
        .C-8,
        .C-9,
        .C-10 {
            padding-top: 64px;
            padding-bottom: 64px;
        }

        .C-4 {
            min-height: 420px;
            padding: 72px 20px;
        }

        .C-4 h2 {
            font-size: 40px;
        }

        .C-4 p {
            font-size: 15px;
        }

        #L436 .perche-desc p,
        .approccio-text>p,
        .cta-sub,
        .C-3 #L433 p {
            font-size: 14px;
            line-height: 1.76;
        }

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

        .approccio-list div {
            grid-template-columns: 34px 1fr;
            gap: 14px;
        }

        .approccio-image,
        .approccio-image img {
            min-height: 340px;
        }

        .logo-cell {
            min-height: 82px;
            padding: 8px 12px;
        }

        .logo-cell img {
            max-height: 42px;
        }

        .form-group {
            padding: 18px 18px;
        }

}

/* ---------------------------------------------------------
   MOBILE PICCOLO — max-width: 500px
   --------------------------------------------------------- */
@media (max-width: 500px) {
    .office-lead-card {
            grid-template-columns: 1fr;
        }

}