/* =========================================================
   GRUPPO ITALIA POSE TECNICHE
   STYLE.CSS
   ========================================================= */


/* =========================================================
   01. VARIABILI
   ========================================================= */

:root {

    /* CREMA */
    --ivory: #F1E9D8;
    --ivory-light: #F8F3E9;

    /* VERDE */
    --olive: #43543A;
    --olive-dark: #30402A;
    --olive-light: #718264;

    /* TESTI */
    --anthracite: #242722;
    --text: #30332D;
    --muted: #686C63;

    /* ACCENTO */
    --terracotta: #A8664F;

    --white: #FFFFFF;

    --line: rgba(48, 51, 45, 0.18);

    --max-width: 1400px;

    --serif: Georgia, "Times New Roman", serif;
    --sans: Arial, Helvetica, sans-serif;

}

/* =========================================================
   02. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ivory);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* =========================================================
   03. HEADER
   ========================================================= */

.site-header {
    width: 100%;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 100;
}

.header-inner {
    width: min(100% - 64px, var(--max-width));
    margin: 0 auto;

    min-height: 94px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--olive);
    color: var(--ivory);

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    letter-spacing: 0.08em;
}

.brand-text span {
    font-size: 11px;
    font-weight: 600;
}

.brand-text strong {
    font-size: 14px;
    font-weight: 700;
}


/* NAV */

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    position: relative;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;

    color: var(--text);

    transition: color 0.25s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--olive);

    transition: width 0.25s ease;
}

.main-nav a:hover {
    color: var(--olive);
}

.main-nav a:hover::after {
    width: 100%;
}


/* MOBILE MENU BUTTON */

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    border: 1px solid var(--line);
    background: transparent;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 1px;

    margin: 4px auto;

    background: var(--olive);
}


/* =========================================================
   04. APERTURA
   ========================================================= */

.intro {
    padding: 80px 0 110px;
}

.intro-inner {
    width: min(100% - 64px, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);

    gap: 80px;

    align-items: center;
}


/* TESTO */

.intro-content {
    padding: 30px 0;
}

.eyebrow {
    margin-bottom: 24px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--olive);
}

.intro h1 {
    max-width: 700px;

    font-family: var(--serif);
    font-size: clamp(52px, 6vw, 92px);

    font-weight: 400;
    line-height: 0.98;

    letter-spacing: -0.045em;

    color: var(--anthracite);
}

.intro h1 em {
    color: var(--olive);
    font-style: normal;
}

.intro-text {
    max-width: 570px;

    margin-top: 36px;
    margin-bottom: 38px;

    font-size: 17px;
    line-height: 1.8;

    color: var(--muted);
}


/* =========================================================
   HERO - NUOVA STRUTTURA
   ========================================================= */

.intro {
    padding: 75px 0 0;
}

.intro-inner {
    width: min(100% - 64px, var(--max-width));
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 0.9fr;

    min-height: 650px;

    align-items: center;
    gap: 80px;
}


/* TESTO */

.intro-content {
    padding: 40px 0;
}

.intro h1 {
    max-width: 720px;

    font-family: var(--serif);
    font-size: clamp(54px, 6.5vw, 94px);

    font-weight: 400;
    line-height: 0.96;

    letter-spacing: -0.05em;

    color: var(--anthracite);
}

.intro h1 em {
    color: var(--olive);
    font-style: normal;
}

.intro-text {
    max-width: 570px;

    margin-top: 38px;
    margin-bottom: 38px;

    font-size: 17px;
    line-height: 1.8;

    color: var(--muted);
}


/* =========================================================
   IMMAGINE HERO - GRUPPO TOSCANA POSE TECNICHE
========================================================= */

.intro-mark {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 580px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto; 
}

.intro-mark img {
    display: block;

    width: 100%;
    max-width: 100%;
    height: auto;

    object-fit: contain;
}


/* =========================================================
   SPECIALIZZAZIONI SOTTO LA HERO
   ========================================================= */

.intro-specializations {
    width: min(100% - 64px, var(--max-width));
    margin: 55px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
}

.intro-specializations > div {
    min-height: 115px;

    padding: 25px 30px;

    display: flex;
    align-items: center;
    gap: 25px;

    border-right: 1px solid var(--line);
}

.intro-specializations > div:first-child {
    border-left: 1px solid var(--line);
}

.intro-specializations span {
    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--olive);
}

.intro-specializations strong {
    font-size: 12px;
    font-weight: 700;

    line-height: 1.45;

    text-transform: uppercase;
    letter-spacing: 0.06em;

    color: var(--anthracite);
}

/* =========================================================
   05. BUTTON
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 0 30px;

    background: var(--olive);
    color: var(--white);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;

    border: 1px solid var(--olive);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.button:hover {
    background: transparent;
    color: var(--olive);
    transform: translateY(-2px);
}

.button-light {
    background: var(--ivory);
    color: var(--olive);
    border-color: var(--ivory);
}

.button-light:hover {
    background: transparent;
    color: var(--ivory);
}


/* =========================================================
   06. SEZIONI GENERALI
   ========================================================= */

.section {
    width: min(100% - 64px, var(--max-width));
    margin: 0 auto;

    padding: 120px 0;
}

.section-label {
    margin-bottom: 28px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: var(--olive);
}

.section h2 {
    font-family: var(--serif);

    font-size: clamp(42px, 5vw, 72px);

    font-weight: 400;
    line-height: 1.05;

    letter-spacing: -0.035em;

    color: var(--anthracite);
}

.section h2 span {
    color: var(--olive-light);
}


/* =========================================================
   07. IL GRUPPO
   ========================================================= */

.section-group {
    border-top: 1px solid var(--line);
}

.group-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.group-text {
    max-width: 610px;
}

.group-text p {
    margin-bottom: 25px;

    font-size: 16px;
    color: var(--muted);
}

.group-text .lead {
    font-size: 22px;
    line-height: 1.55;
    color: var(--text);
}


/* =========================================================
   08. SPECIALIZZAZIONI
   ========================================================= */

.section-services {
    width: 100%;
    max-width: none;

    padding-left: max(32px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(32px, calc((100vw - var(--max-width)) / 2));

    background: var(--olive);
    color: var(--ivory);
}

.section-services .section-label {
    color: #c9d0c2;
}

.section-services h2 {
    color: var(--ivory);
}

.section-services h2 span {
    color: #bdc6b6;
}

.section-heading {
    margin-bottom: 70px;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(243, 240, 232, 0.25);
}

.service-card {
    position: relative;

    min-height: 390px;

    padding: 55px 38px 38px;

    border-right: 1px solid rgba(243, 240, 232, 0.25);
}

.service-card:first-child {
    border-left: 1px solid rgba(243, 240, 232, 0.25);
}


.service-card h3 {
    max-width: 360px;

    font-family: var(--serif);
    font-size: 34px;
    line-height: 1.08;

    font-weight: 400;
}

.service-card p {
    max-width: 380px;

    margin-top: 22px;

    color: #c7cec2;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   09. RETISTI
   ========================================================= */

.section-network {
    border-bottom: 1px solid var(--line);
}

.network-heading {
    display: grid;

    grid-template-columns: 0.7fr 1.3fr;

    gap: 80px;
}

.network-heading > div:last-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
}

.network-heading p {
    max-width: 390px;

    color: var(--muted);
    font-size: 15px;
}

.network-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* CARD */

.network-card {
    min-height: 510px;

    display: flex;
    flex-direction: column;

    background: var(--ivory-light);

    border: 1px solid var(--line);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.network-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 20px 50px rgba(40, 45, 37, 0.09);
}


/* LOGO CONTAINER
   Dimensioni fisse per evitare tagli
*/

.network-logo {
    width: 100%;
    height: 180px;

    padding: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--white);

    border-bottom: 1px solid var(--line);
}

.network-logo img {
    max-width: 80%;
    max-height: 105px;

    width: auto;
    height: auto;

    object-fit: contain;
}


/* FALLBACK NEL CASO IL LOGO NON SIA ANCORA DISPONIBILE */

.network-logo:has(img[src$=".svg"]) {
    color: var(--olive);
}

.network-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 34px;
}

.network-type {
    margin-bottom: 16px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.16em;

    color: var(--olive);
}

.network-content h3 {
    font-family: var(--serif);

    font-size: 30px;
    font-weight: 400;

    line-height: 1.08;

    color: var(--anthracite);
}

.network-content p {
    margin-top: 20px;

    font-size: 14px;
    line-height: 1.7;

    color: var(--muted);
}

.network-content a {
    margin-top: auto;
    padding-top: 30px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.1em;
    text-transform: uppercase;

    color: var(--olive);
}

/* =========================================================
ARTIGIANATO 7.0
SEZIONE RIORGANIZZATA
========================================================= */

.section-artigianato {
    width: 100%;
    max-width: none;

    padding: 125px max(32px, calc((100vw - var(--max-width)) / 2));

    background: var(--anthracite);
    color: var(--ivory);

    overflow: hidden;
}


/* CONTENITORE */

.artigianato-inner {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}


/* =========================================================
01. TESTATA
========================================================= */

.artigianato-top {
    display: grid;

    grid-template-columns: 220px minmax(0, 1fr);

    gap: 70px;

    padding-bottom: 75px;

    border-bottom: 1px solid rgba(243, 240, 232, 0.22);
}


/* ETICHETTA IL PROGETTO */

.artigianato-eyebrow {
    padding-top: 12px;

    margin: 0;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #aeb9a7;
}


/* TITOLO */

.artigianato-title {
    min-width: 0;
}


/* ARTIGIANATO 7.0 */

.artigianato-name {
    margin: 0 0 25px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: #b9c3b2;
}


/* TITOLO PRINCIPALE */

.artigianato-title h2 {
    max-width: 950px;

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(50px, 6vw, 86px);

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.045em;

    color: var(--ivory);
}


/* PARTE VERDE DEL TITOLO */

.artigianato-title h2 span {
    color: #aeb9a7;
}


/* =========================================================
02. CORPO CENTRALE
========================================================= */

.artigianato-body {
    display: grid;

    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);

    gap: 110px;

    padding: 80px 0;
}


/* TESTO */

.artigianato-text {
    width: 100%;
    max-width: 720px;
}


.artigianato-text p {
    margin: 0 0 27px;

    font-size: 16px;
    line-height: 1.85;

    color: #c0c3bc;
}


.artigianato-text p:last-child {
    margin-bottom: 0;
}


.artigianato-text strong {
    color: var(--ivory);
    font-weight: 600;
}


/* =========================================================
03. PRINCIPIO CONDIVISO
========================================================= */

.artigianato-side {
    display: flex;

    align-items: center;

    min-width: 0;
}


.artigianato-principle {
    width: 100%;

    padding-left: 45px;

    border-left: 1px solid rgba(243, 240, 232, 0.30);
}


.artigianato-principle span {
    display: block;

    margin-bottom: 25px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.17em;

    color: #aeb9a7;
}


.artigianato-principle p {
    margin: 0;

    font-family: var(--serif);

    font-size: clamp(30px, 3vw, 44px);

    line-height: 1.15;

    color: var(--ivory);
}


/* =========================================================
04. FRASE FINALE
========================================================= */

.artigianato-closing {
    width: 100%;

    padding-top: 42px;

    border-top: 1px solid rgba(243, 240, 232, 0.22);
}


.artigianato-closing p {
    max-width: 1100px;

    margin: 0;

    font-family: var(--serif);

    font-size: clamp(22px, 2.5vw, 38px);

    line-height: 1.25;

    letter-spacing: -0.02em;

    color: #aeb9a7;
}


.artigianato-closing strong {
    color: var(--ivory);

    font-weight: 400;
}


/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .section-artigianato {
        padding: 90px 20px;
    }

    .artigianato-top {
        grid-template-columns: 1fr;

        gap: 25px;

        padding-bottom: 60px;
    }

    .artigianato-body {
        grid-template-columns: 1fr;

        gap: 55px;

        padding: 60px 0;
    }

    .artigianato-side {
        justify-content: flex-start;
    }

    .artigianato-principle {
        padding-left: 25px;
    }

}


@media (max-width: 520px) {

    .artigianato-closing {
        padding-top: 40px;
    }

    .artigianato-closing p {
        font-size: 24px;
    }

}

.brand-logo {
    width: 190px;
}

/* =========================================================
   11. VALORI
   ========================================================= */

.section-values {
    border-bottom: 1px solid var(--line);
}

.values-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--line);
}

.values-grid article {
    min-height: 260px;

    padding: 35px;

    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.values-grid article:nth-child(3n + 1) {
    border-left: 1px solid var(--line);
}

.values-grid span {
    display: block;

    margin-bottom: 55px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.15em;

    color: var(--olive);
}

.values-grid h3 {
    margin-bottom: 14px;

    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
}

.values-grid p {
    max-width: 310px;

    color: var(--muted);

    font-size: 14px;
}

/* =========================================================
   INVITO A ENTRARE NELLA RETE
   ========================================================= */

.artigianato-recruit {
    position: relative;

    margin-top: 70px;
    padding: 58px 60px 55px;

    background: #20241f;

    border: 1px solid rgba(243, 240, 232, 0.28);

    overflow: hidden;
}


/* =========================================================
   CORNICE INTERNA
   ========================================================= */

.artigianato-recruit::before {
    content: "";

    position: absolute;
    inset: 20px;

    border: 1px solid rgba(174, 185, 167, 0.32);

    pointer-events: none;
}


/* =========================================================
   ANGOLI TERRACOTTA
   ========================================================= */

.artigianato-recruit::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:

        /* ANGOLO ALTO SINISTRA */
        linear-gradient(
            to right,
            var(--terracotta),
            var(--terracotta)
        ) top left / 70px 3px no-repeat,

        linear-gradient(
            to bottom,
            var(--terracotta),
            var(--terracotta)
        ) top left / 3px 70px no-repeat,

        /* ANGOLO BASSO DESTRA */
        linear-gradient(
            to left,
            var(--terracotta),
            var(--terracotta)
        ) bottom right / 70px 3px no-repeat,

        linear-gradient(
            to top,
            var(--terracotta),
            var(--terracotta)
        ) bottom right / 3px 70px no-repeat;
}


/* =========================================================
   ETICHETTA
   ========================================================= */

.artigianato-recruit-label {
    position: relative;
    z-index: 5;

    display: flex;
    align-items: center;

    width: fit-content;

    margin: 0 0 20px;

    gap: 18px;
}


.artigianato-recruit-label span {
    font-family: var(--sans);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;

    color: #aeb9a7;
}


.artigianato-recruit-label i {
    display: block;

    width: 190px;
    height: 1px;

    background: rgba(174, 185, 167, 0.55);
}


/* =========================================================
   TITOLO
   ========================================================= */

.artigianato-recruit h3 {
    position: relative;
    z-index: 5;

    max-width: 900px;

    margin: 0 0 28px;

    font-family: var(--serif);

    font-size: clamp(38px, 4vw, 58px);

    font-weight: 400;

    line-height: 1.08;

    letter-spacing: -0.04em;

    color: var(--ivory);
}


/* PAROLE IN EVIDENZA */

.artigianato-recruit h3 em {
    color: #d39a7d;

    font-style: normal;
}


/* =========================================================
   TESTO
   ========================================================= */

.artigianato-recruit p {
    position: relative;
    z-index: 5;

    max-width: 850px;

    margin: 0 0 20px;

    font-family: var(--sans);

    font-size: 15px;

    line-height: 1.75;

    color: #c0c3bc;
}


.artigianato-recruit p strong {
    color: var(--ivory);

    font-weight: 700;
}


/* =========================================================
   PULSANTE
   ========================================================= */

.artigianato-recruit-button {
    position: relative;
    z-index: 5;

    display: inline-flex;

    align-items: stretch;
    justify-content: center;

    margin-top: 12px;

    min-height: 52px;

    padding: 0;

    border: 1px solid var(--ivory);

    color: var(--ivory);

    font-family: var(--sans);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;

    text-transform: uppercase;

    transition: transform 0.25s ease;
}


.artigianato-recruit-button span {
    display: flex;

    align-items: center;

    padding: 0 25px;
}


.artigianato-recruit-button b {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;

    background: var(--terracotta);

    color: var(--ivory);

    font-family: Arial, Helvetica, sans-serif;

    font-size: 24px;

    font-weight: 300;

    line-height: 1;
}


.artigianato-recruit-button:hover {
    transform: translateY(-2px);
}


.artigianato-recruit-button:hover b {
    background: #c27a5d;
}


/* =========================================================
   RICHIAMO GRAFICO DEL LOGO
   ========================================================= */

.artigianato-recruit-mark {
    position: absolute;

    z-index: 1;

    right: 40px;
    top: 45px;

    width: 270px;
    height: 270px;

    opacity: 0.55;

    pointer-events: none;
}


/* =========================================================
   I TRE PIANI / PARETI
   ========================================================= */

.mark-plane {
    position: absolute;

    display: block;

    width: 105px;
    height: 135px;

    border: 1px solid rgba(174, 185, 167, 0.55);

    transform: skewY(-30deg);
}


/* PIANO SINISTRO */

.mark-plane-1 {
    right: 115px;
    top: 55px;

    background: rgba(67, 84, 58, 0.16);
}


/* PIANO CENTRALE */

.mark-plane-2 {
    right: 65px;
    top: 35px;

    border-color: rgba(243, 240, 232, 0.48);

    background: rgba(243, 240, 232, 0.07);
}


/* PIANO DESTRO */

.mark-plane-3 {
    right: 15px;
    top: 15px;

    border-color: rgba(168, 102, 79, 0.50);

    background: rgba(168, 102, 79, 0.12);
}


/* =========================================================
   PIANO DEL PAVIMENTO
   ========================================================= */

.mark-floor {
    position: absolute;

    right: 35px;
    bottom: 45px;

    width: 190px;
    height: 95px;

    border: 1px solid rgba(243, 240, 232, 0.45);

    transform: skewX(-35deg) rotate(-8deg);

    background: rgba(67, 84, 58, 0.10);
}


/* =========================================================
   ARCHI CHE RICHIAMANO IL LOGO
   ========================================================= */

.mark-arc {
    position: absolute;

    border: 2px solid transparent;

    border-top-color: var(--terracotta);

    border-radius: 50%;

    transform: rotate(-18deg);
}


.mark-arc-1 {
    width: 260px;
    height: 110px;

    right: -10px;
    bottom: 25px;
}


.mark-arc-2 {
    width: 250px;
    height: 105px;

    right: 0;
    bottom: 45px;

    border-top-color: rgba(174, 185, 167, 0.8);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .artigianato-recruit {
        margin-top: 50px;

        padding: 45px 28px 40px;
    }


    .artigianato-recruit::before {
        inset: 12px;
    }


    .artigianato-recruit-label {
        gap: 12px;
    }


    .artigianato-recruit-label i {
        width: 70px;
    }


    .artigianato-recruit h3 {
        font-size: 35px;

        max-width: 100%;
    }


    .artigianato-recruit p {
        font-size: 14px;
    }


    .artigianato-recruit-mark {
        right: -20px;
        top: 100px;

        width: 190px;
        height: 190px;

        opacity: 0.28;
    }


    .mark-plane {
        width: 70px;
        height: 90px;
    }


    .mark-floor {
        width: 140px;
        height: 70px;
    }


    .mark-arc-1,
    .mark-arc-2 {
        width: 190px;
        height: 80px;
    }


    .artigianato-recruit-button span {
        padding: 0 17px;

        font-size: 9px;
    }


    .artigianato-recruit-button b {
        width: 48px;
    }

}

/* =========================================================
   12. REALIZZAZIONI
========================================================= */

.section-projects {
    background: var(--ivory-light);
}

.projects-grid {
    display: grid;

    grid-template-columns: 1.3fr 0.7fr;
    grid-template-rows: repeat(2, 320px);

    gap: 18px;

    align-items: stretch;
}

.project-placeholder {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #ddd;
}

.project-placeholder img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* PRIMA REALIZZAZIONE GRANDE A SINISTRA */

.project-placeholder:first-child {
    grid-row: 1 / span 2;
}

/* =========================================================
   REALIZZAZIONI - TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 280px);
    }

    .project-placeholder:first-child {
        grid-row: auto;
    }

}

@media (max-width: 520px) {

    .projects-grid {
        grid-template-rows: repeat(3, 250px);
    }

}


/* =========================================================
   13. CONTATTI
   ========================================================= */

.section-contact {
    width: 100%;
    max-width: none;

    padding-left: max(32px, calc((100vw - var(--max-width)) / 2));
    padding-right: max(32px, calc((100vw - var(--max-width)) / 2));

    background: var(--olive);
    color: var(--ivory);
}

.contact-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-contact .section-label {
    color: #c5cec0;
}

.section-contact h2 {
    color: var(--ivory);

    font-size: clamp(46px, 5vw, 76px);

    line-height: 1.05;
}

.section-contact p {
    max-width: 600px;

    margin: 30px 0 40px;

    color: #c5cbc0;

    font-size: 17px;
}


/* =========================================================
   14. FOOTER
   ========================================================= */

.site-footer {
    background: var(--anthracite);
    color: var(--ivory);
}

.footer-inner {
    width: min(100% - 64px, var(--max-width));
    margin: 0 auto;

    min-height: 140px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    line-height: 1.1;

    letter-spacing: 0.08em;
}

.footer-brand strong {
    font-size: 13px;
}

.footer-brand span {
    font-size: 11px;
    color: #aeb3aa;
}

.footer-copy {
    font-size: 10px;
    color: #969b92;
}


/* =========================================================
   15. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 20px;
    }

    .intro-inner {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .intro-image img {
        height: 540px;
    }

    .group-grid {
        gap: 50px;
    }

    .network-heading {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .network-heading > div:last-child {
        justify-content: space-between;
    }

    .network-grid {
        grid-template-columns: 1fr 1fr;
    }

    .network-card:last-child {
        grid-column: 1 / -1;
    }

    .artigianato-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width: 800px) {

    .intro-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-mark {
        min-height: auto;
    }

    .intro-mark-box {
        max-width: 500px;
    }

    .intro-specializations {
        grid-template-columns: 1fr;
    }

    .intro-specializations > div {
        border-left: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 800px) {

    .header-inner,
    .intro-inner,
    .section,
    .footer-inner {
        width: min(100% - 40px, var(--max-width));
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .intro {
        padding: 60px 0 80px;
    }

    .intro-inner {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .intro-image img {
        height: 500px;
    }

    .group-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 330px;
        border-left: 1px solid rgba(243, 240, 232, 0.25);
        border-bottom: 1px solid rgba(243, 240, 232, 0.25);
    }

    .network-grid {
        grid-template-columns: 1fr;
    }

    .network-card:last-child {
        grid-column: auto;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }

    .values-grid article:nth-child(3n + 1) {
        border-left: 0;
    }

    .values-grid article:nth-child(odd) {
        border-left: 1px solid var(--line);
    }

    .projects-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 280px);
    }

    .project-placeholder:first-child {
        grid-row: auto;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        padding: 35px 0;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .header-inner {
        min-height: 78px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
    }

    .brand-text span {
        font-size: 9px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .intro {
        padding-top: 45px;
    }

    .intro h1 {
        font-size: 50px;
    }

    .intro-text {
        font-size: 15px;
    }

    .intro-image img {
        height: 390px;
    }

    .image-caption {
        flex-direction: column;
        gap: 5px;
    }

    .section {
        padding: 85px 0;
    }

    .section h2 {
        font-size: 44px;
    }

    .section-services,
    .section-artigianato,
    .section-contact {
        padding-left: 20px;
        padding-right: 20px;
    }

    .service-card {
        padding: 30px;
    }

   
    .service-card h3 {
        font-size: 30px;
    }

    .network-heading > div:last-child {
        display: block;
    }

    .network-heading p {
        margin-top: 25px;
    }

    .network-logo {
        height: 160px;
    }

    .network-content {
        padding: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .values-grid article,
    .values-grid article:nth-child(odd) {
        border-left: 1px solid var(--line);
    }

    .section-contact h2 {
        font-size: 60px;
    }

}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    .artigianato-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .artigianato-body {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .artigianato-side {
        justify-content: flex-start;
    }

}


@media (max-width: 520px) {

    .section-artigianato {
        padding: 90px 20px;
    }

    .artigianato-top {
        padding-bottom: 60px;
    }

    .artigianato-body {
        padding: 60px 0;
    }

    .artigianato-principle {
        padding-left: 25px;
    }

    .artigianato-closing {
        padding-top: 50px;
    }

}

@media (max-width: 800px) {

    .artigianato-closing p {
        white-space: normal;
    }

}

/* =========================================================
   FOOTER - CONTATTI
   ========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;

    gap: 14px;

    padding-top: 2px;
}

.footer-contact a {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.04em;

    color: var(--ivory);

    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #b9c3b2;
}


/* ICONE */

.footer-contact svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   FOOTER - CONTATTI E LINK LEGALI
========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 2px;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;

    color: var(--ivory);

    transition: color 0.25s ease;
}

.footer-contact a:hover {
    color: #b9c3b2;
}


/* ICONE TELEFONO E MAIL */

.footer-contact svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* LINK PRIVACY / COOKIE */

.footer-legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;

    font-size: 10px;
    letter-spacing: 0.04em;
}

.footer-legal a {
    color: #aeb3aa;

    transition: color 0.25s ease;
}

.footer-legal a:hover {
    color: var(--ivory);
}

.footer-legal span {
    margin-top: 5px;

    color: #777c74;
}


/* =========================================================
   FOOTER RESPONSIVE
========================================================= */

@media (max-width: 800px) {

    .footer-inner {
        align-items: flex-start;
        gap: 30px;
    }

    .footer-legal {
        align-items: flex-start;
    }

}

/* =========================================================
   PULSANTI CONTATTI
========================================================= */

.contact-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-buttons .button {
    min-width: 150px;
    border: 1px solid var(--ivory);
}

/* SCRIVICI */
.contact-buttons .button:not(.button-whatsapp) {
    background: transparent;
    color: var(--ivory);
}

/* WHATSAPP */
.contact-buttons .button-whatsapp {
    background: var(--ivory);
    color: var(--olive);
    border-color: var(--ivory);
}

/* EFFETTO AL PASSAGGIO */
.contact-buttons .button:hover {
    transform: translateY(-2px);
}

.contact-buttons .button:not(.button-whatsapp):hover {
    background: var(--ivory);
    color: var(--olive);
}

.contact-buttons .button-whatsapp:hover {
    background: transparent;
    color: var(--ivory);
}